@orangelogic/design-system 2.0.0-29DUO2-beta-2 → 2.0.0-29DUO2-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -362,7 +362,7 @@ function j(r, e) {
362
362
  if (!r)
363
363
  throw new Error(e);
364
364
  }
365
- function Ar(r) {
365
+ function Mr(r) {
366
366
  return r == null ? null : typeof r.trim == "function" ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
367
367
  }
368
368
  var wD = "__ec_primitive__";
@@ -521,7 +521,7 @@ function Ss(r, e) {
521
521
  function Jd(r, e) {
522
522
  return Math.sqrt((r[0] - e[0]) * (r[0] - e[0]) + (r[1] - e[1]) * (r[1] - e[1]));
523
523
  }
524
- var yn = Jd;
524
+ var mn = Jd;
525
525
  function oN(r, e) {
526
526
  return (r[0] - e[0]) * (r[0] - e[0]) + (r[1] - e[1]) * (r[1] - e[1]);
527
527
  }
@@ -533,10 +533,10 @@ function ne(r, e, t) {
533
533
  var a = e[0], n = e[1];
534
534
  return r[0] = t[0] * a + t[2] * n + t[4], r[1] = t[1] * a + t[3] * n + t[5], r;
535
535
  }
536
- function mn(r, e, t) {
536
+ function _n(r, e, t) {
537
537
  return r[0] = Math.min(e[0], t[0]), r[1] = Math.min(e[1], t[1]), r;
538
538
  }
539
- function _n(r, e, t) {
539
+ function Sn(r, e, t) {
540
540
  return r[0] = Math.max(e[0], t[0]), r[1] = Math.max(e[1], t[1]), r;
541
541
  }
542
542
  var ho = /* @__PURE__ */ function() {
@@ -564,7 +564,7 @@ var ho = /* @__PURE__ */ function() {
564
564
  var t = this._draggingTarget;
565
565
  t && (t.dragging = !1), this.handler.dispatchToElement(new ho(t, e), "dragend", e.event), this._dropTarget && this.handler.dispatchToElement(new ho(this._dropTarget, e), "drop", e.event), this._draggingTarget = null, this._dropTarget = null;
566
566
  }, r;
567
- }(), Pr = function() {
567
+ }(), Nr = function() {
568
568
  function r(e) {
569
569
  e && (this._$eventProcessor = e);
570
570
  }
@@ -786,7 +786,7 @@ function P_(r, e, t) {
786
786
  function dm(r) {
787
787
  return r || window.event;
788
788
  }
789
- function _r(r, e, t) {
789
+ function Sr(r, e, t) {
790
790
  if (e = dm(e), e.zrX != null)
791
791
  return e;
792
792
  var a = e.type, n = a && a.indexOf("touch") >= 0;
@@ -898,7 +898,7 @@ function da(r, e, t) {
898
898
  function Sa(r, e, t) {
899
899
  return r[0] = e[0], r[1] = e[1], r[2] = e[2], r[3] = e[3], r[4] = e[4] + t[0], r[5] = e[5] + t[1], r;
900
900
  }
901
- function Gn(r, e, t, a) {
901
+ function Fn(r, e, t, a) {
902
902
  a === void 0 && (a = [0, 0]);
903
903
  var n = e[0], i = e[2], o = e[4], s = e[1], l = e[3], u = e[5], f = Math.sin(t), v = Math.cos(t);
904
904
  return r[0] = n * v + s * f, r[1] = -n * f + s * v, r[2] = i * v + l * f, r[3] = -i * f + v * l, r[4] = v * (o - a[0]) + f * (u - a[1]) + a[0], r[5] = v * (u - a[1]) - f * (o - a[0]) + a[1], r;
@@ -983,7 +983,7 @@ var st = function() {
983
983
  var i = 1 - n;
984
984
  e.x = i * t.x + n * a.x, e.y = i * t.y + n * a.y;
985
985
  }, r;
986
- }(), Li = Math.min, Yo = Math.max, ag = Math.abs, k_ = ["x", "y"], bN = ["width", "height"], Yn = new st(), Zn = new st(), Xn = new st(), $n = new st(), sr = AD(), gl = sr.minTv, ng = sr.maxTv, El = [0, 0], ut = function() {
986
+ }(), Li = Math.min, Yo = Math.max, ag = Math.abs, k_ = ["x", "y"], bN = ["width", "height"], Zn = new st(), Xn = new st(), $n = new st(), qn = new st(), sr = AD(), gl = sr.minTv, ng = sr.maxTv, El = [0, 0], ut = function() {
987
987
  function r(e, t, a, n) {
988
988
  r.set(this, e, t, a, n);
989
989
  }
@@ -1045,8 +1045,8 @@ var st = function() {
1045
1045
  e.x = t.x * n + o, e.y = t.y * i + s, e.width = t.width * n, e.height = t.height * i, e.width < 0 && (e.x += e.width, e.width = -e.width), e.height < 0 && (e.y += e.height, e.height = -e.height);
1046
1046
  return;
1047
1047
  }
1048
- Yn.x = Xn.x = t.x, Yn.y = $n.y = t.y, Zn.x = $n.x = t.x + t.width, Zn.y = Xn.y = t.y + t.height, Yn.transform(a), $n.transform(a), Zn.transform(a), Xn.transform(a), e.x = Li(Yn.x, Zn.x, Xn.x, $n.x), e.y = Li(Yn.y, Zn.y, Xn.y, $n.y);
1049
- var l = Yo(Yn.x, Zn.x, Xn.x, $n.x), u = Yo(Yn.y, Zn.y, Xn.y, $n.y);
1048
+ Zn.x = $n.x = t.x, Zn.y = qn.y = t.y, Xn.x = qn.x = t.x + t.width, Xn.y = $n.y = t.y + t.height, Zn.transform(a), qn.transform(a), Xn.transform(a), $n.transform(a), e.x = Li(Zn.x, Xn.x, $n.x, qn.x), e.y = Li(Zn.y, Xn.y, $n.y, qn.y);
1049
+ var l = Yo(Zn.x, Xn.x, $n.x, qn.x), u = Yo(Zn.y, Xn.y, $n.y, qn.y);
1050
1050
  e.width = l - e.x, e.height = u - e.y;
1051
1051
  }, r;
1052
1052
  }(), wN = new ut(0, 0, 0, 0), TN = new ut(0, 0, 0, 0);
@@ -1116,7 +1116,7 @@ var AN = function(r) {
1116
1116
  return e.prototype.dispose = function() {
1117
1117
  }, e.prototype.setCursor = function() {
1118
1118
  }, e;
1119
- }(Pr), Vs = /* @__PURE__ */ function() {
1119
+ }(Nr), Vs = /* @__PURE__ */ function() {
1120
1120
  function r(e, t) {
1121
1121
  this.x = e, this.y = t;
1122
1122
  }
@@ -1196,7 +1196,7 @@ var AN = function(r) {
1196
1196
  s.target = i.target, this.dispatchToElement(s, o, i.event);
1197
1197
  }
1198
1198
  }, e;
1199
- }(Pr);
1199
+ }(Nr);
1200
1200
  D(["click", "mousedown", "mouseup", "mousewheel", "dblclick", "contextmenu"], function(r) {
1201
1201
  LD.prototype[r] = function(e) {
1202
1202
  var t = e.zrX, a = e.zrY, n = ID(this, t, a), i, o;
@@ -1205,7 +1205,7 @@ D(["click", "mousedown", "mouseup", "mousewheel", "dblclick", "contextmenu"], fu
1205
1205
  else if (r === "mouseup")
1206
1206
  this._upEl = o;
1207
1207
  else if (r === "click") {
1208
- if (this._downEl !== this._upEl || !this._downPoint || yn(this._downPoint, [e.zrX, e.zrY]) > 4)
1208
+ if (this._downEl !== this._upEl || !this._downPoint || mn(this._downPoint, [e.zrX, e.zrY]) > 4)
1209
1209
  return;
1210
1210
  this._downPoint = null;
1211
1211
  }
@@ -1696,8 +1696,8 @@ var Pl = {
1696
1696
  bounceInOut: function(r) {
1697
1697
  return r < 0.5 ? Pl.bounceIn(r * 2) * 0.5 : Pl.bounceOut(r * 2 - 1) * 0.5 + 0.5;
1698
1698
  }
1699
- }, ku = Math.pow, Dn = Math.sqrt, _v = 1e-8, PD = 1e-4, H_ = Dn(3), Ou = 1 / 3, oa = eo(), wr = eo(), Jo = eo();
1700
- function Sn(r) {
1699
+ }, ku = Math.pow, An = Math.sqrt, _v = 1e-8, PD = 1e-4, H_ = An(3), Ou = 1 / 3, oa = eo(), Tr = eo(), Jo = eo();
1700
+ function xn(r) {
1701
1701
  return r > -_v && r < _v;
1702
1702
  }
1703
1703
  function ND(r) {
@@ -1713,8 +1713,8 @@ function W_(r, e, t, a, n) {
1713
1713
  }
1714
1714
  function Sv(r, e, t, a, n, i) {
1715
1715
  var o = a + 3 * (e - t) - r, s = 3 * (t - e * 2 + r), l = 3 * (e - r), u = r - n, f = s * s - 3 * o * l, v = s * l - 9 * o * u, h = l * l - 3 * s * u, c = 0;
1716
- if (Sn(f) && Sn(v))
1717
- if (Sn(s))
1716
+ if (xn(f) && xn(v))
1717
+ if (xn(s))
1718
1718
  i[0] = 0;
1719
1719
  else {
1720
1720
  var p = -l / s;
@@ -1722,16 +1722,16 @@ function Sv(r, e, t, a, n, i) {
1722
1722
  }
1723
1723
  else {
1724
1724
  var d = v * v - 4 * f * h;
1725
- if (Sn(d)) {
1725
+ if (xn(d)) {
1726
1726
  var g = v / f, p = -s / o + g, y = -g / 2;
1727
1727
  p >= 0 && p <= 1 && (i[c++] = p), y >= 0 && y <= 1 && (i[c++] = y);
1728
1728
  } else if (d > 0) {
1729
- var m = Dn(d), _ = f * s + 1.5 * o * (-v + m), S = f * s + 1.5 * o * (-v - m);
1729
+ var m = An(d), _ = f * s + 1.5 * o * (-v + m), S = f * s + 1.5 * o * (-v - m);
1730
1730
  _ < 0 ? _ = -ku(-_, Ou) : _ = ku(_, Ou), S < 0 ? S = -ku(-S, Ou) : S = ku(S, Ou);
1731
1731
  var p = (-s - (_ + S)) / (3 * o);
1732
1732
  p >= 0 && p <= 1 && (i[c++] = p);
1733
1733
  } else {
1734
- var x = (2 * f * s - 3 * o * v) / (2 * Dn(f * f * f)), b = Math.acos(x) / 3, w = Dn(f), T = Math.cos(b), p = (-s - 2 * w * T) / (3 * o), y = (-s + w * (T + H_ * Math.sin(b))) / (3 * o), C = (-s + w * (T - H_ * Math.sin(b))) / (3 * o);
1734
+ var x = (2 * f * s - 3 * o * v) / (2 * An(f * f * f)), b = Math.acos(x) / 3, w = An(f), T = Math.cos(b), p = (-s - 2 * w * T) / (3 * o), y = (-s + w * (T + H_ * Math.sin(b))) / (3 * o), C = (-s + w * (T - H_ * Math.sin(b))) / (3 * o);
1735
1735
  p >= 0 && p <= 1 && (i[c++] = p), y >= 0 && y <= 1 && (i[c++] = y), C >= 0 && C <= 1 && (i[c++] = C);
1736
1736
  }
1737
1737
  }
@@ -1739,23 +1739,23 @@ function Sv(r, e, t, a, n, i) {
1739
1739
  }
1740
1740
  function RD(r, e, t, a, n) {
1741
1741
  var i = 6 * t - 12 * e + 6 * r, o = 9 * e + 3 * a - 3 * r - 9 * t, s = 3 * e - 3 * r, l = 0;
1742
- if (Sn(o)) {
1742
+ if (xn(o)) {
1743
1743
  if (ND(i)) {
1744
1744
  var u = -s / i;
1745
1745
  u >= 0 && u <= 1 && (n[l++] = u);
1746
1746
  }
1747
1747
  } else {
1748
1748
  var f = i * i - 4 * o * s;
1749
- if (Sn(f))
1749
+ if (xn(f))
1750
1750
  n[0] = -i / (2 * o);
1751
1751
  else if (f > 0) {
1752
- var v = Dn(f), u = (-i + v) / (2 * o), h = (-i - v) / (2 * o);
1752
+ var v = An(f), u = (-i + v) / (2 * o), h = (-i - v) / (2 * o);
1753
1753
  u >= 0 && u <= 1 && (n[l++] = u), h >= 0 && h <= 1 && (n[l++] = h);
1754
1754
  }
1755
1755
  }
1756
1756
  return l;
1757
1757
  }
1758
- function Pn(r, e, t, a, n, i) {
1758
+ function Nn(r, e, t, a, n, i) {
1759
1759
  var o = (e - r) * n + r, s = (t - e) * n + e, l = (a - t) * n + t, u = (s - o) * n + o, f = (l - s) * n + s, v = (f - u) * n + u;
1760
1760
  i[0] = r, i[1] = o, i[2] = u, i[3] = v, i[4] = v, i[5] = f, i[6] = l, i[7] = a;
1761
1761
  }
@@ -1763,11 +1763,11 @@ function kD(r, e, t, a, n, i, o, s, l, u, f) {
1763
1763
  var v, h = 5e-3, c = 1 / 0, p, d, g, y;
1764
1764
  oa[0] = l, oa[1] = u;
1765
1765
  for (var m = 0; m < 1; m += 0.05)
1766
- wr[0] = xe(r, t, n, o, m), wr[1] = xe(e, a, i, s, m), g = ki(oa, wr), g < c && (v = m, c = g);
1766
+ Tr[0] = xe(r, t, n, o, m), Tr[1] = xe(e, a, i, s, m), g = ki(oa, Tr), g < c && (v = m, c = g);
1767
1767
  c = 1 / 0;
1768
1768
  for (var _ = 0; _ < 32 && !(h < PD); _++)
1769
- p = v - h, d = v + h, wr[0] = xe(r, t, n, o, p), wr[1] = xe(e, a, i, s, p), g = ki(wr, oa), p >= 0 && g < c ? (v = p, c = g) : (Jo[0] = xe(r, t, n, o, d), Jo[1] = xe(e, a, i, s, d), y = ki(Jo, oa), d <= 1 && y < c ? (v = d, c = y) : h *= 0.5);
1770
- return f && (f[0] = xe(r, t, n, o, v), f[1] = xe(e, a, i, s, v)), Dn(c);
1769
+ p = v - h, d = v + h, Tr[0] = xe(r, t, n, o, p), Tr[1] = xe(e, a, i, s, p), g = ki(Tr, oa), p >= 0 && g < c ? (v = p, c = g) : (Jo[0] = xe(r, t, n, o, d), Jo[1] = xe(e, a, i, s, d), y = ki(Jo, oa), d <= 1 && y < c ? (v = d, c = y) : h *= 0.5);
1770
+ return f && (f[0] = xe(r, t, n, o, v), f[1] = xe(e, a, i, s, v)), An(c);
1771
1771
  }
1772
1772
  function RN(r, e, t, a, n, i, o, s, l) {
1773
1773
  for (var u = r, f = e, v = 0, h = 1 / l, c = 1; c <= l; c++) {
@@ -1785,18 +1785,18 @@ function ig(r, e, t, a) {
1785
1785
  }
1786
1786
  function kN(r, e, t, a, n) {
1787
1787
  var i = r - 2 * e + t, o = 2 * (e - r), s = r - a, l = 0;
1788
- if (Sn(i)) {
1788
+ if (xn(i)) {
1789
1789
  if (ND(o)) {
1790
1790
  var u = -s / o;
1791
1791
  u >= 0 && u <= 1 && (n[l++] = u);
1792
1792
  }
1793
1793
  } else {
1794
1794
  var f = o * o - 4 * i * s;
1795
- if (Sn(f)) {
1795
+ if (xn(f)) {
1796
1796
  var u = -o / (2 * i);
1797
1797
  u >= 0 && u <= 1 && (n[l++] = u);
1798
1798
  } else if (f > 0) {
1799
- var v = Dn(f), u = (-o + v) / (2 * i), h = (-o - v) / (2 * i);
1799
+ var v = An(f), u = (-o + v) / (2 * i), h = (-o - v) / (2 * i);
1800
1800
  u >= 0 && u <= 1 && (n[l++] = u), h >= 0 && h <= 1 && (n[l++] = h);
1801
1801
  }
1802
1802
  }
@@ -1814,15 +1814,15 @@ function VD(r, e, t, a, n, i, o, s, l) {
1814
1814
  var u, f = 5e-3, v = 1 / 0;
1815
1815
  oa[0] = o, oa[1] = s;
1816
1816
  for (var h = 0; h < 1; h += 0.05) {
1817
- wr[0] = Ae(r, t, n, h), wr[1] = Ae(e, a, i, h);
1818
- var c = ki(oa, wr);
1817
+ Tr[0] = Ae(r, t, n, h), Tr[1] = Ae(e, a, i, h);
1818
+ var c = ki(oa, Tr);
1819
1819
  c < v && (u = h, v = c);
1820
1820
  }
1821
1821
  v = 1 / 0;
1822
1822
  for (var p = 0; p < 32 && !(f < PD); p++) {
1823
1823
  var d = u - f, g = u + f;
1824
- wr[0] = Ae(r, t, n, d), wr[1] = Ae(e, a, i, d);
1825
- var c = ki(wr, oa);
1824
+ Tr[0] = Ae(r, t, n, d), Tr[1] = Ae(e, a, i, d);
1825
+ var c = ki(Tr, oa);
1826
1826
  if (d >= 0 && c < v)
1827
1827
  u = d, v = c;
1828
1828
  else {
@@ -1831,7 +1831,7 @@ function VD(r, e, t, a, n, i, o, s, l) {
1831
1831
  g <= 1 && y < v ? (u = g, v = y) : f *= 0.5;
1832
1832
  }
1833
1833
  }
1834
- return l && (l[0] = Ae(r, t, n, u), l[1] = Ae(e, a, i, u)), Dn(v);
1834
+ return l && (l[0] = Ae(r, t, n, u), l[1] = Ae(e, a, i, u)), An(v);
1835
1835
  }
1836
1836
  function ON(r, e, t, a, n, i, o) {
1837
1837
  for (var s = r, l = e, u = 0, f = 1 / o, v = 1; v <= o; v++) {
@@ -1844,7 +1844,7 @@ var VN = /cubic-bezier\(([0-9,\.e ]+)\)/;
1844
1844
  function ym(r) {
1845
1845
  var e = r && VN.exec(r);
1846
1846
  if (e) {
1847
- var t = e[1].split(","), a = +Ar(t[0]), n = +Ar(t[1]), i = +Ar(t[2]), o = +Ar(t[3]);
1847
+ var t = e[1].split(","), a = +Mr(t[0]), n = +Mr(t[1]), i = +Mr(t[2]), o = +Mr(t[3]);
1848
1848
  if (isNaN(a + n + i + o))
1849
1849
  return;
1850
1850
  var s = [];
@@ -2088,14 +2088,14 @@ function Cc(r) {
2088
2088
  var e = r;
2089
2089
  return e.length && e.charAt(e.length - 1) === "%" ? Gr(parseFloat(e) / 100 * 255) : Gr(parseInt(e, 10));
2090
2090
  }
2091
- function An(r) {
2091
+ function Mn(r) {
2092
2092
  var e = r;
2093
2093
  return e.length && e.charAt(e.length - 1) === "%" ? Yl(parseFloat(e) / 100) : Yl(parseFloat(e));
2094
2094
  }
2095
2095
  function Dc(r, e, t) {
2096
2096
  return t < 0 ? t += 1 : t > 1 && (t -= 1), t * 6 < 1 ? r + (e - r) * t * 6 : t * 2 < 1 ? e : t * 3 < 2 ? r + (e - r) * (2 / 3 - t) * 6 : r;
2097
2097
  }
2098
- function xn(r, e, t) {
2098
+ function bn(r, e, t) {
2099
2099
  return r + (e - r) * t;
2100
2100
  }
2101
2101
  function mr(r, e, t, a, n) {
@@ -2144,10 +2144,10 @@ function ar(r, e) {
2144
2144
  case "rgba":
2145
2145
  if (u.length !== 4)
2146
2146
  return u.length === 3 ? mr(e, +u[0], +u[1], +u[2], 1) : mr(e, 0, 0, 0, 1);
2147
- f = An(u.pop());
2147
+ f = Mn(u.pop());
2148
2148
  case "rgb":
2149
2149
  if (u.length >= 3)
2150
- return mr(e, Cc(u[0]), Cc(u[1]), Cc(u[2]), u.length === 3 ? f : An(u[3])), co(r, e), e;
2150
+ return mr(e, Cc(u[0]), Cc(u[1]), Cc(u[2]), u.length === 3 ? f : Mn(u[3])), co(r, e), e;
2151
2151
  mr(e, 0, 0, 0, 1);
2152
2152
  return;
2153
2153
  case "hsla":
@@ -2155,7 +2155,7 @@ function ar(r, e) {
2155
2155
  mr(e, 0, 0, 0, 1);
2156
2156
  return;
2157
2157
  }
2158
- return u[3] = An(u[3]), sg(u, e), co(r, e), e;
2158
+ return u[3] = Mn(u[3]), sg(u, e), co(r, e), e;
2159
2159
  case "hsl":
2160
2160
  if (u.length !== 3) {
2161
2161
  mr(e, 0, 0, 0, 1);
@@ -2170,7 +2170,7 @@ function ar(r, e) {
2170
2170
  }
2171
2171
  }
2172
2172
  function sg(r, e) {
2173
- var t = (parseFloat(r[0]) % 360 + 360) % 360 / 360, a = An(r[1]), n = An(r[2]), i = n <= 0.5 ? n * (a + 1) : n + a - n * a, o = n * 2 - i;
2173
+ var t = (parseFloat(r[0]) % 360 + 360) % 360 / 360, a = Mn(r[1]), n = Mn(r[2]), i = n <= 0.5 ? n * (a + 1) : n + a - n * a, o = n * 2 - i;
2174
2174
  return e = e || [], mr(e, Gr(Dc(o, i, t + 1 / 3) * 255), Gr(Dc(o, i, t) * 255), Gr(Dc(o, i, t - 1 / 3) * 255), 1), r.length === 4 && (e[3] = r[3]), e;
2175
2175
  }
2176
2176
  function FN(r) {
@@ -2199,16 +2199,16 @@ function Ac(r, e, t) {
2199
2199
  if (!(!(e && e.length) || !(r >= 0 && r <= 1))) {
2200
2200
  t = t || [];
2201
2201
  var a = r * (e.length - 1), n = Math.floor(a), i = Math.ceil(a), o = e[n], s = e[i], l = a - n;
2202
- return t[0] = Gr(xn(o[0], s[0], l)), t[1] = Gr(xn(o[1], s[1], l)), t[2] = Gr(xn(o[2], s[2], l)), t[3] = Yl(xn(o[3], s[3], l)), t;
2202
+ return t[0] = Gr(bn(o[0], s[0], l)), t[1] = Gr(bn(o[1], s[1], l)), t[2] = Gr(bn(o[2], s[2], l)), t[3] = Yl(bn(o[3], s[3], l)), t;
2203
2203
  }
2204
2204
  }
2205
2205
  function HN(r, e, t) {
2206
2206
  if (!(!(e && e.length) || !(r >= 0 && r <= 1))) {
2207
2207
  var a = r * (e.length - 1), n = Math.floor(a), i = Math.ceil(a), o = ar(e[n]), s = ar(e[i]), l = a - n, u = ga([
2208
- Gr(xn(o[0], s[0], l)),
2209
- Gr(xn(o[1], s[1], l)),
2210
- Gr(xn(o[2], s[2], l)),
2211
- Yl(xn(o[3], s[3], l))
2208
+ Gr(bn(o[0], s[0], l)),
2209
+ Gr(bn(o[1], s[1], l)),
2210
+ Gr(bn(o[2], s[2], l)),
2211
+ Yl(bn(o[3], s[3], l))
2212
2212
  ], "rgba");
2213
2213
  return t ? {
2214
2214
  color: u,
@@ -2218,10 +2218,10 @@ function HN(r, e, t) {
2218
2218
  } : u;
2219
2219
  }
2220
2220
  }
2221
- function Mn(r, e, t, a) {
2221
+ function Ln(r, e, t, a) {
2222
2222
  var n = ar(r);
2223
2223
  if (r)
2224
- return n = FN(n), e != null && (n[0] = GN(et(e) ? e(n[0]) : e)), t != null && (n[1] = An(et(t) ? t(n[1]) : t)), a != null && (n[2] = An(et(a) ? a(n[2]) : a)), ga(sg(n), "rgba");
2224
+ return n = FN(n), e != null && (n[0] = GN(et(e) ? e(n[0]) : e)), t != null && (n[1] = Mn(et(t) ? t(n[1]) : t)), a != null && (n[2] = Mn(et(a) ? a(n[2]) : a)), ga(sg(n), "rgba");
2225
2225
  }
2226
2226
  function xv(r, e) {
2227
2227
  var t = ar(r);
@@ -2269,7 +2269,7 @@ function Zl(r) {
2269
2269
  };
2270
2270
  }
2271
2271
  var Z_ = 1e-4;
2272
- function bn(r) {
2272
+ function wn(r) {
2273
2273
  return r < Z_ && r > -Z_;
2274
2274
  }
2275
2275
  function Bu(r) {
@@ -2769,7 +2769,7 @@ var eR = function(r) {
2769
2769
  var n = new _m(t, a.loop);
2770
2770
  return this.addAnimator(n), n;
2771
2771
  }, e;
2772
- }(Pr), rR = 300, Lc = Tt.domSupported, Ic = function() {
2772
+ }(Nr), rR = 300, Lc = Tt.domSupported, Ic = function() {
2773
2773
  var r = [
2774
2774
  "click",
2775
2775
  "dblclick",
@@ -2815,7 +2815,7 @@ function Ec(r) {
2815
2815
  r && (r.zrByTouch = !0);
2816
2816
  }
2817
2817
  function nR(r, e) {
2818
- return _r(r.dom, new iR(r, e), !0);
2818
+ return Sr(r.dom, new iR(r, e), !0);
2819
2819
  }
2820
2820
  function XD(r, e) {
2821
2821
  for (var t = e, a = !1; t && t.nodeType !== 9 && !(a = t.domBelongToZr || t !== e && t === r.painterRoot); )
@@ -2829,35 +2829,35 @@ var iR = /* @__PURE__ */ function() {
2829
2829
  return r;
2830
2830
  }(), kr = {
2831
2831
  mousedown: function(r) {
2832
- r = _r(this.dom, r), this.__mayPointerCapture = [r.zrX, r.zrY], this.trigger("mousedown", r);
2832
+ r = Sr(this.dom, r), this.__mayPointerCapture = [r.zrX, r.zrY], this.trigger("mousedown", r);
2833
2833
  },
2834
2834
  mousemove: function(r) {
2835
- r = _r(this.dom, r);
2835
+ r = Sr(this.dom, r);
2836
2836
  var e = this.__mayPointerCapture;
2837
2837
  e && (r.zrX !== e[0] || r.zrY !== e[1]) && this.__togglePointerCapture(!0), this.trigger("mousemove", r);
2838
2838
  },
2839
2839
  mouseup: function(r) {
2840
- r = _r(this.dom, r), this.__togglePointerCapture(!1), this.trigger("mouseup", r);
2840
+ r = Sr(this.dom, r), this.__togglePointerCapture(!1), this.trigger("mouseup", r);
2841
2841
  },
2842
2842
  mouseout: function(r) {
2843
- r = _r(this.dom, r);
2843
+ r = Sr(this.dom, r);
2844
2844
  var e = r.toElement || r.relatedTarget;
2845
2845
  XD(this, e) || (this.__pointerCapturing && (r.zrEventControl = "no_globalout"), this.trigger("mouseout", r));
2846
2846
  },
2847
2847
  wheel: function(r) {
2848
- j_ = !0, r = _r(this.dom, r), this.trigger("mousewheel", r);
2848
+ j_ = !0, r = Sr(this.dom, r), this.trigger("mousewheel", r);
2849
2849
  },
2850
2850
  mousewheel: function(r) {
2851
- j_ || (r = _r(this.dom, r), this.trigger("mousewheel", r));
2851
+ j_ || (r = Sr(this.dom, r), this.trigger("mousewheel", r));
2852
2852
  },
2853
2853
  touchstart: function(r) {
2854
- r = _r(this.dom, r), Ec(r), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(r, "start"), kr.mousemove.call(this, r), kr.mousedown.call(this, r);
2854
+ r = Sr(this.dom, r), Ec(r), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(r, "start"), kr.mousemove.call(this, r), kr.mousedown.call(this, r);
2855
2855
  },
2856
2856
  touchmove: function(r) {
2857
- r = _r(this.dom, r), Ec(r), this.handler.processGesture(r, "change"), kr.mousemove.call(this, r);
2857
+ r = Sr(this.dom, r), Ec(r), this.handler.processGesture(r, "change"), kr.mousemove.call(this, r);
2858
2858
  },
2859
2859
  touchend: function(r) {
2860
- r = _r(this.dom, r), Ec(r), this.handler.processGesture(r, "end"), kr.mouseup.call(this, r), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < rR && kr.click.call(this, r);
2860
+ r = Sr(this.dom, r), Ec(r), this.handler.processGesture(r, "end"), kr.mouseup.call(this, r), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < rR && kr.click.call(this, r);
2861
2861
  },
2862
2862
  pointerdown: function(r) {
2863
2863
  kr.mousedown.call(this, r);
@@ -2874,7 +2874,7 @@ var iR = /* @__PURE__ */ function() {
2874
2874
  };
2875
2875
  D(["click", "dblclick", "contextmenu"], function(r) {
2876
2876
  kr[r] = function(e) {
2877
- e = _r(this.dom, e), this.trigger(r, e);
2877
+ e = Sr(this.dom, e), this.trigger(r, e);
2878
2878
  };
2879
2879
  });
2880
2880
  var dg = {
@@ -2948,13 +2948,13 @@ var J_ = /* @__PURE__ */ function() {
2948
2948
  t ? sR(this, a) : Pc(a);
2949
2949
  }
2950
2950
  }, e;
2951
- }(Pr), $D = 1;
2951
+ }(Nr), $D = 1;
2952
2952
  Tt.hasGlobalWindow && ($D = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
2953
2953
  var Tv = $D, gg = 0.4, yg = "#333", mg = "#ccc", uR = "#eee", Q_ = Ph, t1 = 5e-5;
2954
- function qn(r) {
2954
+ function Kn(r) {
2955
2955
  return r > t1 || r < -t1;
2956
2956
  }
2957
- var Kn = [], po = [], Nc = Le(), Rc = Math.abs, Oa = function() {
2957
+ var jn = [], po = [], Nc = Le(), Rc = Math.abs, Oa = function() {
2958
2958
  function r() {
2959
2959
  }
2960
2960
  return r.prototype.getLocalTransform = function(e) {
@@ -2968,7 +2968,7 @@ var Kn = [], po = [], Nc = Le(), Rc = Math.abs, Oa = function() {
2968
2968
  }, r.prototype.setOrigin = function(e) {
2969
2969
  this.originX = e[0], this.originY = e[1];
2970
2970
  }, r.prototype.needLocalTransform = function() {
2971
- return qn(this.rotation) || qn(this.x) || qn(this.y) || qn(this.scaleX - 1) || qn(this.scaleY - 1) || qn(this.skewX) || qn(this.skewY);
2971
+ return Kn(this.rotation) || Kn(this.x) || Kn(this.y) || Kn(this.scaleX - 1) || Kn(this.scaleY - 1) || Kn(this.skewX) || Kn(this.skewY);
2972
2972
  }, r.prototype.updateTransform = function() {
2973
2973
  var e = this.parent && this.parent.transform, t = this.needLocalTransform(), a = this.transform;
2974
2974
  if (!(t || e)) {
@@ -2979,8 +2979,8 @@ var Kn = [], po = [], Nc = Le(), Rc = Math.abs, Oa = function() {
2979
2979
  }, r.prototype._resolveGlobalScaleRatio = function(e) {
2980
2980
  var t = this.globalScaleRatio;
2981
2981
  if (t != null && t !== 1) {
2982
- this.getGlobalScale(Kn);
2983
- var a = Kn[0] < 0 ? -1 : 1, n = Kn[1] < 0 ? -1 : 1, i = ((Kn[0] - a) * t + a) / Kn[0] || 0, o = ((Kn[1] - n) * t + n) / Kn[1] || 0;
2982
+ this.getGlobalScale(jn);
2983
+ var a = jn[0] < 0 ? -1 : 1, n = jn[1] < 0 ? -1 : 1, i = ((jn[0] - a) * t + a) / jn[0] || 0, o = ((jn[1] - n) * t + n) / jn[1] || 0;
2984
2984
  e[0] *= i, e[1] *= i, e[2] *= o, e[3] *= o;
2985
2985
  }
2986
2986
  this.invTransform = this.invTransform || Le(), Ur(this.invTransform, e);
@@ -3024,7 +3024,7 @@ var Kn = [], po = [], Nc = Le(), Rc = Math.abs, Oa = function() {
3024
3024
  t[4] = -p * i - h * d * o, t[5] = -d * o - c * p * i;
3025
3025
  } else
3026
3026
  t[4] = t[5] = 0;
3027
- return t[0] = i, t[3] = o, t[1] = c * i, t[2] = h * o, u && Gn(t, t, u), t[4] += a + f, t[5] += n + v, t;
3027
+ return t[0] = i, t[3] = o, t[1] = c * i, t[2] = h * o, u && Fn(t, t, u), t[4] += a + f, t[5] += n + v, t;
3028
3028
  }, r.initDefaultProps = function() {
3029
3029
  var e = r.prototype;
3030
3030
  e.scaleX = e.scaleY = e.globalScaleRatio = 1, e.x = e.y = e.originX = e.originY = e.skewX = e.skewY = e.rotation = e.anchorX = e.anchorY = 0;
@@ -3495,7 +3495,7 @@ var Oc = "__zr_normal__", Vc = xa.concat(["ignore"]), vR = _a(xa, function(r, e)
3495
3495
  Object.defineProperty && (n("position", "_legacyPos", "x", "y"), n("scale", "_legacyScale", "scaleX", "scaleY"), n("origin", "_legacyOrigin", "originX", "originY"));
3496
3496
  }(), r;
3497
3497
  }();
3498
- ce(Oh, Pr);
3498
+ ce(Oh, Nr);
3499
3499
  ce(Oh, Oa);
3500
3500
  function Bc(r, e, t, a, n) {
3501
3501
  t = t || {};
@@ -3866,7 +3866,7 @@ function Av(r, e, t) {
3866
3866
  function se(r, e, t) {
3867
3867
  return e == null && (e = 10), e = Math.min(Math.max(0, e), JD), r = (+r).toFixed(e), t ? r : +r;
3868
3868
  }
3869
- function Mr(r) {
3869
+ function Lr(r) {
3870
3870
  return r.sort(function(e, t) {
3871
3871
  return e - t;
3872
3872
  }), r;
@@ -4370,7 +4370,7 @@ function fA(r, e, t, a, n) {
4370
4370
  return s;
4371
4371
  }
4372
4372
  }
4373
- var Ln = (
4373
+ var In = (
4374
4374
  /** @class */
4375
4375
  function() {
4376
4376
  function r() {
@@ -4385,7 +4385,7 @@ var Ln = (
4385
4385
  function Fc(r) {
4386
4386
  r.option = r.parentModel = r.ecModel = null;
4387
4387
  }
4388
- var ZR = ".", jn = "___EC__COMPONENT__CONTAINER___", vA = "___EC__EXTENDED_CLASS___";
4388
+ var ZR = ".", Jn = "___EC__COMPONENT__CONTAINER___", vA = "___EC__EXTENDED_CLASS___";
4389
4389
  function va(r) {
4390
4390
  var e = {
4391
4391
  main: "",
@@ -4451,7 +4451,7 @@ function zh(r) {
4451
4451
  var i = va(n);
4452
4452
  if (!i.sub)
4453
4453
  process.env.NODE_ENV !== "production" && e[i.main] && console.warn(i.main + " exists."), e[i.main] = a;
4454
- else if (i.sub !== jn) {
4454
+ else if (i.sub !== Jn) {
4455
4455
  var o = t(i);
4456
4456
  o[i.sub] = a;
4457
4457
  }
@@ -4459,13 +4459,13 @@ function zh(r) {
4459
4459
  return a;
4460
4460
  }, r.getClass = function(a, n, i) {
4461
4461
  var o = e[a];
4462
- if (o && o[jn] && (o = n ? o[n] : null), i && !o)
4462
+ if (o && o[Jn] && (o = n ? o[n] : null), i && !o)
4463
4463
  throw new Error(n ? "Component " + a + "." + (n || "") + " is used but not imported." : a + ".type should be specified.");
4464
4464
  return o;
4465
4465
  }, r.getClassesByMainType = function(a) {
4466
4466
  var n = va(a), i = [], o = e[n.main];
4467
- return o && o[jn] ? D(o, function(s, l) {
4468
- l !== jn && i.push(s);
4467
+ return o && o[Jn] ? D(o, function(s, l) {
4468
+ l !== Jn && i.push(s);
4469
4469
  }) : i.push(o), i;
4470
4470
  }, r.hasClass = function(a) {
4471
4471
  var n = va(a);
@@ -4477,11 +4477,11 @@ function zh(r) {
4477
4477
  }), a;
4478
4478
  }, r.hasSubTypes = function(a) {
4479
4479
  var n = va(a), i = e[n.main];
4480
- return i && i[jn];
4480
+ return i && i[Jn];
4481
4481
  };
4482
4482
  function t(a) {
4483
4483
  var n = e[a.main];
4484
- return (!n || !n[jn]) && (n = e[a.main] = {}, n[jn] = !0), n;
4484
+ return (!n || !n[Jn]) && (n = e[a.main] = {}, n[Jn] = !0), n;
4485
4485
  }
4486
4486
  }
4487
4487
  function Xi(r, e) {
@@ -4797,7 +4797,7 @@ var Tg = "__zr_style_" + Math.round(Math.random() * 10), Vi = {
4797
4797
  }
4798
4798
  };
4799
4799
  Vi[Tg] = !0;
4800
- var m1 = ["z", "z2", "invisible"], pk = ["invisible"], Ir = function(r) {
4800
+ var m1 = ["z", "z2", "invisible"], pk = ["invisible"], Er = function(r) {
4801
4801
  Xt(e, r);
4802
4802
  function e(t) {
4803
4803
  return r.call(this, t) || this;
@@ -4916,7 +4916,7 @@ var m1 = ["z", "z2", "invisible"], pk = ["invisible"], Ir = function(r) {
4916
4916
  function dk(r, e, t) {
4917
4917
  return Uc.copy(r.getBoundingRect()), r.transform && Uc.applyTransform(r.transform), Yc.width = e, Yc.height = t, !Uc.intersect(Yc);
4918
4918
  }
4919
- var tr = Math.min, er = Math.max, Zc = Math.sin, Xc = Math.cos, Jn = Math.PI * 2, Uu = eo(), Yu = eo(), Zu = eo();
4919
+ var tr = Math.min, er = Math.max, Zc = Math.sin, Xc = Math.cos, Qn = Math.PI * 2, Uu = eo(), Yu = eo(), Zu = eo();
4920
4920
  function Hh(r, e, t) {
4921
4921
  if (r.length !== 0) {
4922
4922
  for (var a = r[0], n = a[0], i = a[0], o = a[1], s = a[1], l = 1; l < r.length; l++)
@@ -4947,12 +4947,12 @@ function yk(r, e, t, a, n, i, o, s) {
4947
4947
  o[0] = tr(r, n, h), o[1] = tr(e, i, c), s[0] = er(r, n, h), s[1] = er(e, i, c);
4948
4948
  }
4949
4949
  function mk(r, e, t, a, n, i, o, s, l) {
4950
- var u = mn, f = _n, v = Math.abs(n - i);
4951
- if (v % Jn < 1e-4 && v > 1e-4) {
4950
+ var u = _n, f = Sn, v = Math.abs(n - i);
4951
+ if (v % Qn < 1e-4 && v > 1e-4) {
4952
4952
  s[0] = r - t, s[1] = e - a, l[0] = r + t, l[1] = e + a;
4953
4953
  return;
4954
4954
  }
4955
- if (Uu[0] = Xc(n) * t + r, Uu[1] = Zc(n) * a + e, Yu[0] = Xc(i) * t + r, Yu[1] = Zc(i) * a + e, u(s, Uu, Yu), f(l, Uu, Yu), n = n % Jn, n < 0 && (n = n + Jn), i = i % Jn, i < 0 && (i = i + Jn), n > i && !o ? i += Jn : n < i && o && (n += Jn), o) {
4955
+ if (Uu[0] = Xc(n) * t + r, Uu[1] = Zc(n) * a + e, Yu[0] = Xc(i) * t + r, Yu[1] = Zc(i) * a + e, u(s, Uu, Yu), f(l, Uu, Yu), n = n % Qn, n < 0 && (n = n + Qn), i = i % Qn, i < 0 && (i = i + Qn), n > i && !o ? i += Qn : n < i && o && (n += Qn), o) {
4956
4956
  var h = i;
4957
4957
  i = n, n = h;
4958
4958
  }
@@ -4967,16 +4967,16 @@ var Ht = {
4967
4967
  A: 5,
4968
4968
  Z: 6,
4969
4969
  R: 7
4970
- }, Qn = [], ti = [], Kr = [], an = [], jr = [], Jr = [], $c = Math.min, qc = Math.max, ei = Math.cos, ri = Math.sin, Ma = Math.abs, Cg = Math.PI, cn = Cg * 2, Kc = typeof Float32Array < "u", Gs = [];
4970
+ }, ti = [], ei = [], Kr = [], an = [], jr = [], Jr = [], $c = Math.min, qc = Math.max, ri = Math.cos, ai = Math.sin, Ma = Math.abs, Cg = Math.PI, pn = Cg * 2, Kc = typeof Float32Array < "u", Gs = [];
4971
4971
  function jc(r) {
4972
4972
  var e = Math.round(r / Cg * 1e8) / 1e8;
4973
4973
  return e % 2 * Cg;
4974
4974
  }
4975
4975
  function Wh(r, e) {
4976
4976
  var t = jc(r[0]);
4977
- t < 0 && (t += cn);
4977
+ t < 0 && (t += pn);
4978
4978
  var a = t - r[0], n = r[1];
4979
- n += a, !e && n - t >= cn ? n = t + cn : e && t - n >= cn ? n = t - cn : !e && t > n ? n = t + (cn - jc(t - n)) : e && t < n && (n = t - (cn - jc(n - t))), r[0] = t, r[1] = n;
4979
+ n += a, !e && n - t >= pn ? n = t + pn : e && t - n >= pn ? n = t - pn : !e && t > n ? n = t + (pn - jc(t - n)) : e && t < n && (n = t - (pn - jc(n - t))), r[0] = t, r[1] = n;
4980
4980
  }
4981
4981
  var wa = function() {
4982
4982
  function r(e) {
@@ -5016,7 +5016,7 @@ var wa = function() {
5016
5016
  }, r.prototype.arc = function(e, t, a, n, i, o) {
5017
5017
  this._drawPendingPt(), Gs[0] = n, Gs[1] = i, Wh(Gs, o), n = Gs[0], i = Gs[1];
5018
5018
  var s = i - n;
5019
- return this.addData(Ht.A, e, t, a, a, n, s, 0, o ? 0 : 1), this._ctx && this._ctx.arc(e, t, a, n, i, o), this._xi = ei(i) * a + e, this._yi = ri(i) * a + t, this;
5019
+ return this.addData(Ht.A, e, t, a, a, n, s, 0, o ? 0 : 1), this._ctx && this._ctx.arc(e, t, a, n, i, o), this._xi = ri(i) * a + e, this._yi = ai(i) * a + t, this;
5020
5020
  }, r.prototype.arcTo = function(e, t, a, n, i) {
5021
5021
  return this._drawPendingPt(), this._ctx && this._ctx.arcTo(e, t, a, n, i), this;
5022
5022
  }, r.prototype.rect = function(e, t, a, n) {
@@ -5096,7 +5096,7 @@ var wa = function() {
5096
5096
  var u = e[o++], f = e[o++], v = e[o++], h = e[o++], c = e[o++], p = e[o++] + c;
5097
5097
  o += 1;
5098
5098
  var d = !e[o++];
5099
- l && (n = ei(c) * v + u, i = ri(c) * h + f), mk(u, f, v, h, c, p, d, jr, Jr), t = ei(p) * v + u, a = ri(p) * h + f;
5099
+ l && (n = ri(c) * v + u, i = ai(c) * h + f), mk(u, f, v, h, c, p, d, jr, Jr), t = ri(p) * v + u, a = ai(p) * h + f;
5100
5100
  break;
5101
5101
  case Ht.R:
5102
5102
  n = t = e[o++], i = a = e[o++];
@@ -5107,7 +5107,7 @@ var wa = function() {
5107
5107
  t = n, a = i;
5108
5108
  break;
5109
5109
  }
5110
- mn(Kr, Kr, jr), _n(an, an, Jr);
5110
+ _n(Kr, Kr, jr), Sn(an, an, Jr);
5111
5111
  }
5112
5112
  return o === 0 && (Kr[0] = Kr[1] = an[0] = an[1] = 0), new ut(Kr[0], Kr[1], an[0] - Kr[0], an[1] - Kr[1]);
5113
5113
  }, r.prototype._calculateLength = function() {
@@ -5138,7 +5138,7 @@ var wa = function() {
5138
5138
  }
5139
5139
  case Ht.A:
5140
5140
  var T = e[h++], C = e[h++], A = e[h++], M = e[h++], I = e[h++], L = e[h++], E = L + I;
5141
- h += 1, p && (s = ei(I) * A + T, l = ri(I) * M + C), d = qc(A, M) * $c(cn, Math.abs(L)), i = ei(E) * A + T, o = ri(E) * M + C;
5141
+ h += 1, p && (s = ri(I) * A + T, l = ai(I) * M + C), d = qc(A, M) * $c(pn, Math.abs(L)), i = ri(E) * A + T, o = ai(E) * M + C;
5142
5142
  break;
5143
5143
  case Ht.R: {
5144
5144
  s = i = e[h++], l = o = e[h++];
@@ -5190,7 +5190,7 @@ var wa = function() {
5190
5190
  var M = p[y++];
5191
5191
  if (g + M > m) {
5192
5192
  var I = (m - g) / M;
5193
- Pn(u, E, P, R, I, Qn), Pn(f, N, k, V, I, ti), e.bezierCurveTo(Qn[1], ti[1], Qn[2], ti[2], Qn[3], ti[3]);
5193
+ Nn(u, E, P, R, I, ti), Nn(f, N, k, V, I, ei), e.bezierCurveTo(ti[1], ei[1], ti[2], ei[2], ti[3], ei[3]);
5194
5194
  break t;
5195
5195
  }
5196
5196
  g += M;
@@ -5204,7 +5204,7 @@ var wa = function() {
5204
5204
  var M = p[y++];
5205
5205
  if (g + M > m) {
5206
5206
  var I = (m - g) / M;
5207
- Ul(u, E, P, I, Qn), Ul(f, N, k, I, ti), e.quadraticCurveTo(Qn[1], ti[1], Qn[2], ti[2]);
5207
+ Ul(u, E, P, I, ti), Ul(f, N, k, I, ei), e.quadraticCurveTo(ti[1], ei[1], ti[2], ei[2]);
5208
5208
  break t;
5209
5209
  }
5210
5210
  g += M;
@@ -5220,7 +5220,7 @@ var wa = function() {
5220
5220
  }
5221
5221
  if (rt && e.ellipse ? e.ellipse(z, F, H, Y, Et, K, dt, Vt) : e.arc(z, F, ht, K, dt, Vt), tt)
5222
5222
  break t;
5223
- T && (s = ei(K) * H + z, l = ri(K) * Y + F), u = ei(dt) * H + z, f = ri(dt) * Y + F;
5223
+ T && (s = ri(K) * H + z, l = ai(K) * Y + F), u = ri(dt) * H + z, f = ai(dt) * Y + F;
5224
5224
  break;
5225
5225
  case Ht.R:
5226
5226
  s = u = a[b], l = f = a[b + 1], v = a[b++], h = a[b++];
@@ -5259,7 +5259,7 @@ var wa = function() {
5259
5259
  e._saveData = !0, e._ux = 0, e._uy = 0, e._pendingPtDist = 0, e._version = 0;
5260
5260
  }(), r;
5261
5261
  }();
5262
- function dn(r, e, t, a, n, i, o) {
5262
+ function gn(r, e, t, a, n, i, o) {
5263
5263
  if (n === 0)
5264
5264
  return !1;
5265
5265
  var s = n, l = 0, u = r;
@@ -5322,14 +5322,14 @@ function Ra(r, e, t, a, n, i) {
5322
5322
  var l = o * (t - r) + r;
5323
5323
  return l === n ? 1 / 0 : l > n ? s : 0;
5324
5324
  }
5325
- var nn = wa.CMD, ai = Math.PI * 2, xk = 1e-4;
5325
+ var nn = wa.CMD, ni = Math.PI * 2, xk = 1e-4;
5326
5326
  function bk(r, e) {
5327
5327
  return Math.abs(r - e) < xk;
5328
5328
  }
5329
- var He = [-1, -1, -1], xr = [-1, -1];
5329
+ var He = [-1, -1, -1], br = [-1, -1];
5330
5330
  function wk() {
5331
- var r = xr[0];
5332
- xr[0] = xr[1], xr[1] = r;
5331
+ var r = br[0];
5332
+ br[0] = br[1], br[1] = r;
5333
5333
  }
5334
5334
  function Tk(r, e, t, a, n, i, o, s, l, u) {
5335
5335
  if (u > e && u > a && u > i && u > s || u < e && u < a && u < i && u < s)
@@ -5339,7 +5339,7 @@ function Tk(r, e, t, a, n, i, o, s, l, u) {
5339
5339
  return 0;
5340
5340
  for (var v = 0, h = -1, c = void 0, p = void 0, d = 0; d < f; d++) {
5341
5341
  var g = He[d], y = g === 0 || g === 1 ? 0.5 : 1, m = xe(r, t, n, o, g);
5342
- m < l || (h < 0 && (h = RD(e, a, i, s, xr), xr[1] < xr[0] && h > 1 && wk(), c = xe(e, a, i, s, xr[0]), h > 1 && (p = xe(e, a, i, s, xr[1]))), h === 2 ? g < xr[0] ? v += c < e ? y : -y : g < xr[1] ? v += p < c ? y : -y : v += s < p ? y : -y : g < xr[0] ? v += c < e ? y : -y : v += s < c ? y : -y);
5342
+ m < l || (h < 0 && (h = RD(e, a, i, s, br), br[1] < br[0] && h > 1 && wk(), c = xe(e, a, i, s, br[0]), h > 1 && (p = xe(e, a, i, s, br[1]))), h === 2 ? g < br[0] ? v += c < e ? y : -y : g < br[1] ? v += p < c ? y : -y : v += s < p ? y : -y : g < br[0] ? v += c < e ? y : -y : v += s < c ? y : -y);
5343
5343
  }
5344
5344
  return v;
5345
5345
  }
@@ -5369,8 +5369,8 @@ function Dk(r, e, t, a, n, i, o, s) {
5369
5369
  var u = Math.abs(a - n);
5370
5370
  if (u < 1e-4)
5371
5371
  return 0;
5372
- if (u >= ai - 1e-4) {
5373
- a = 0, n = ai;
5372
+ if (u >= ni - 1e-4) {
5373
+ a = 0, n = ni;
5374
5374
  var f = i ? 1 : -1;
5375
5375
  return o >= He[0] + r && o <= He[1] + r ? f : 0;
5376
5376
  }
@@ -5378,12 +5378,12 @@ function Dk(r, e, t, a, n, i, o, s) {
5378
5378
  var v = a;
5379
5379
  a = n, n = v;
5380
5380
  }
5381
- a < 0 && (a += ai, n += ai);
5381
+ a < 0 && (a += ni, n += ni);
5382
5382
  for (var h = 0, c = 0; c < 2; c++) {
5383
5383
  var p = He[c];
5384
5384
  if (p + r > o) {
5385
5385
  var d = Math.atan2(s, p), f = i ? 1 : -1;
5386
- d < 0 && (d = ai + d), (d >= a && d <= n || d + ai >= a && d + ai <= n) && (d > Math.PI / 2 && d < Math.PI * 1.5 && (f = -f), h += f);
5386
+ d < 0 && (d = ni + d), (d >= a && d <= n || d + ni >= a && d + ni <= n) && (d > Math.PI / 2 && d < Math.PI * 1.5 && (f = -f), h += f);
5387
5387
  }
5388
5388
  }
5389
5389
  return h;
@@ -5397,7 +5397,7 @@ function mA(r, e, t, a, n) {
5397
5397
  break;
5398
5398
  case nn.L:
5399
5399
  if (t) {
5400
- if (dn(l, u, i[p], i[p + 1], e, a, n))
5400
+ if (gn(l, u, i[p], i[p + 1], e, a, n))
5401
5401
  return !0;
5402
5402
  } else
5403
5403
  s += Ra(l, u, i[p], i[p + 1], a, n) || 0;
@@ -5436,14 +5436,14 @@ function mA(r, e, t, a, n) {
5436
5436
  f = l = i[p++], v = u = i[p++];
5437
5437
  var C = i[p++], A = i[p++];
5438
5438
  if (h = f + C, c = v + A, t) {
5439
- if (dn(f, v, h, v, e, a, n) || dn(h, v, h, c, e, a, n) || dn(h, c, f, c, e, a, n) || dn(f, c, f, v, e, a, n))
5439
+ if (gn(f, v, h, v, e, a, n) || gn(h, v, h, c, e, a, n) || gn(h, c, f, c, e, a, n) || gn(f, c, f, v, e, a, n))
5440
5440
  return !0;
5441
5441
  } else
5442
5442
  s += Ra(h, v, h, c, a, n), s += Ra(f, c, f, v, a, n);
5443
5443
  break;
5444
5444
  case nn.Z:
5445
5445
  if (t) {
5446
- if (dn(l, u, f, v, e, a, n))
5446
+ if (gn(l, u, f, v, e, a, n))
5447
5447
  return !0;
5448
5448
  } else
5449
5449
  s += Ra(l, u, f, v, a, n);
@@ -5660,7 +5660,7 @@ var Mv = lt({
5660
5660
  var t = e.prototype;
5661
5661
  t.type = "path", t.strokeContainThreshold = 5, t.segmentIgnoreThreshold = 0, t.subPixelOptimize = !1, t.autoBatch = !1, t.__dirty = lr | yl | Fo;
5662
5662
  }(), e;
5663
- }(Ir), Ik = lt({
5663
+ }(Er), Ik = lt({
5664
5664
  strokeFirst: !0,
5665
5665
  font: Ua,
5666
5666
  x: 0,
@@ -5688,7 +5688,7 @@ var Mv = lt({
5688
5688
  var t = e.prototype;
5689
5689
  t.dirtyRectTolerance = 10;
5690
5690
  }(), e;
5691
- }(Ir);
5691
+ }(Er);
5692
5692
  os.prototype.type = "tspan";
5693
5693
  var Ek = lt({
5694
5694
  x: 0,
@@ -5734,7 +5734,7 @@ var Ee = function(r) {
5734
5734
  var t = this.style;
5735
5735
  return this._rect || (this._rect = new ut(t.x || 0, t.y || 0, this.getWidth(), this.getHeight())), this._rect;
5736
5736
  }, e;
5737
- }(Ir);
5737
+ }(Er);
5738
5738
  Ee.prototype.type = "image";
5739
5739
  function Rk(r, e) {
5740
5740
  var t = e.x, a = e.y, n = e.width, i = e.height, o = e.r, s, l, u, f;
@@ -5950,9 +5950,9 @@ var w1 = {
5950
5950
  t.fontWeight,
5951
5951
  SA(t.fontSize),
5952
5952
  t.fontFamily || "sans-serif"
5953
- ].join(" ")), a && Ar(a) || t.textFont || t.font;
5953
+ ].join(" ")), a && Mr(a) || t.textFont || t.font;
5954
5954
  }, e;
5955
- }(Ir), Bk = { left: !0, right: 1, center: 1 }, zk = { top: 1, bottom: 1, middle: 1 }, C1 = ["fontStyle", "fontWeight", "fontSize", "fontFamily"];
5955
+ }(Er), Bk = { left: !0, right: 1, center: 1 }, zk = { top: 1, bottom: 1, middle: 1 }, C1 = ["fontStyle", "fontWeight", "fontSize", "fontFamily"];
5956
5956
  function SA(r) {
5957
5957
  return typeof r == "string" && (r.indexOf("px") !== -1 || r.indexOf("rem") !== -1 || r.indexOf("em") !== -1) ? r : isNaN(+r) ? um + "px" : r + "px";
5958
5958
  }
@@ -6236,7 +6236,7 @@ function Em(r, e, t, a) {
6236
6236
  if (!o || !o.findHighDownDispatchers)
6237
6237
  return n;
6238
6238
  for (var s = o.findHighDownDispatchers(t), l, u = 0; u < s.length; u++)
6239
- if (process.env.NODE_ENV !== "production" && !Nn(s[u]) && At("param should be highDownDispatcher"), ft(s[u]).focus === "self") {
6239
+ if (process.env.NODE_ENV !== "production" && !Rn(s[u]) && At("param should be highDownDispatcher"), ft(s[u]).focus === "self") {
6240
6240
  l = !0;
6241
6241
  break;
6242
6242
  }
@@ -6246,14 +6246,14 @@ function Em(r, e, t, a) {
6246
6246
  };
6247
6247
  }
6248
6248
  function qk(r, e, t) {
6249
- process.env.NODE_ENV !== "production" && !Nn(r) && At("param should be highDownDispatcher");
6249
+ process.env.NODE_ENV !== "production" && !Rn(r) && At("param should be highDownDispatcher");
6250
6250
  var a = ft(r), n = Em(a.componentMainType, a.componentIndex, a.componentHighDownName, t), i = n.dispatchers, o = n.focusSelf;
6251
6251
  i ? (o && Lg(a.componentMainType, a.componentIndex, t), D(i, function(s) {
6252
6252
  return k1(s, e);
6253
6253
  })) : (Mg(a.seriesIndex, a.focus, a.blurScope, t), a.focus === "self" && Lg(a.componentMainType, a.componentIndex, t), k1(r, e));
6254
6254
  }
6255
6255
  function Kk(r, e, t) {
6256
- process.env.NODE_ENV !== "production" && !Nn(r) && At("param should be highDownDispatcher"), IA(t);
6256
+ process.env.NODE_ENV !== "production" && !Rn(r) && At("param should be highDownDispatcher"), IA(t);
6257
6257
  var a = ft(r), n = Em(a.componentMainType, a.componentIndex, a.componentHighDownName, t).dispatchers;
6258
6258
  n ? D(n, function(i) {
6259
6259
  return O1(i, e);
@@ -6320,7 +6320,7 @@ function Ii(r, e) {
6320
6320
  var t = e === !1, a = r;
6321
6321
  r.highDownSilentOnTouch && (a.__highDownSilentOnTouch = r.highDownSilentOnTouch), (!t || a.__highDownDispatcher) && (a.__highByOuter = a.__highByOuter || 0, a.__highDownDispatcher = !t);
6322
6322
  }
6323
- function Nn(r) {
6323
+ function Rn(r) {
6324
6324
  return !!(r && r.__highDownDispatcher);
6325
6325
  }
6326
6326
  function eO(r, e, t) {
@@ -6567,10 +6567,10 @@ var hO = /* @__PURE__ */ function() {
6567
6567
  }, e;
6568
6568
  }(wt);
6569
6569
  Xh.prototype.type = "ellipse";
6570
- var OA = Math.PI, rp = OA * 2, ni = Math.sin, _o = Math.cos, cO = Math.acos, ke = Math.atan2, U1 = Math.abs, kl = Math.sqrt, Sl = Math.max, ta = Math.min, Nr = 1e-4;
6570
+ var OA = Math.PI, rp = OA * 2, ii = Math.sin, _o = Math.cos, cO = Math.acos, ke = Math.atan2, U1 = Math.abs, kl = Math.sqrt, Sl = Math.max, ta = Math.min, Rr = 1e-4;
6571
6571
  function pO(r, e, t, a, n, i, o, s) {
6572
6572
  var l = t - r, u = a - e, f = o - n, v = s - i, h = v * l - f * u;
6573
- if (!(h * h < Nr))
6573
+ if (!(h * h < Rr))
6574
6574
  return h = (f * (e - i) - v * (r - n)) / h, [r + h * l, e + h * u];
6575
6575
  }
6576
6576
  function qu(r, e, t, a, n, i, o) {
@@ -6605,34 +6605,34 @@ function gO(r, e) {
6605
6605
  var l = e.startAngle, u = e.endAngle;
6606
6606
  if (!(isNaN(l) || isNaN(u))) {
6607
6607
  var f = e.cx, v = e.cy, h = !!e.clockwise, c = U1(u - l), p = c > rp && c % rp;
6608
- if (p > Nr && (c = p), !(a > Nr))
6608
+ if (p > Rr && (c = p), !(a > Rr))
6609
6609
  r.moveTo(f, v);
6610
- else if (c > rp - Nr)
6611
- r.moveTo(f + a * _o(l), v + a * ni(l)), r.arc(f, v, a, l, u, !h), n > Nr && (r.moveTo(f + n * _o(u), v + n * ni(u)), r.arc(f, v, n, u, l, h));
6610
+ else if (c > rp - Rr)
6611
+ r.moveTo(f + a * _o(l), v + a * ii(l)), r.arc(f, v, a, l, u, !h), n > Rr && (r.moveTo(f + n * _o(u), v + n * ii(u)), r.arc(f, v, n, u, l, h));
6612
6612
  else {
6613
- var d = void 0, g = void 0, y = void 0, m = void 0, _ = void 0, S = void 0, x = void 0, b = void 0, w = void 0, T = void 0, C = void 0, A = void 0, M = void 0, I = void 0, L = void 0, E = void 0, N = a * _o(l), P = a * ni(l), k = n * _o(u), R = n * ni(u), V = c > Nr;
6613
+ var d = void 0, g = void 0, y = void 0, m = void 0, _ = void 0, S = void 0, x = void 0, b = void 0, w = void 0, T = void 0, C = void 0, A = void 0, M = void 0, I = void 0, L = void 0, E = void 0, N = a * _o(l), P = a * ii(l), k = n * _o(u), R = n * ii(u), V = c > Rr;
6614
6614
  if (V) {
6615
6615
  var z = e.cornerRadius;
6616
6616
  z && (t = dO(z), d = t[0], g = t[1], y = t[2], m = t[3]);
6617
6617
  var F = U1(a - n) / 2;
6618
- if (_ = ta(F, y), S = ta(F, m), x = ta(F, d), b = ta(F, g), C = w = Sl(_, S), A = T = Sl(x, b), (w > Nr || T > Nr) && (M = a * _o(u), I = a * ni(u), L = n * _o(l), E = n * ni(l), c < OA)) {
6618
+ if (_ = ta(F, y), S = ta(F, m), x = ta(F, d), b = ta(F, g), C = w = Sl(_, S), A = T = Sl(x, b), (w > Rr || T > Rr) && (M = a * _o(u), I = a * ii(u), L = n * _o(l), E = n * ii(l), c < OA)) {
6619
6619
  var H = pO(N, P, L, E, M, I, k, R);
6620
6620
  if (H) {
6621
- var Y = N - H[0], K = P - H[1], vt = M - H[0], Et = I - H[1], Vt = 1 / ni(cO((Y * vt + K * Et) / (kl(Y * Y + K * K) * kl(vt * vt + Et * Et))) / 2), ht = kl(H[0] * H[0] + H[1] * H[1]);
6621
+ var Y = N - H[0], K = P - H[1], vt = M - H[0], Et = I - H[1], Vt = 1 / ii(cO((Y * vt + K * Et) / (kl(Y * Y + K * K) * kl(vt * vt + Et * Et))) / 2), ht = kl(H[0] * H[0] + H[1] * H[1]);
6622
6622
  C = ta(w, (a - ht) / (Vt + 1)), A = ta(T, (n - ht) / (Vt - 1));
6623
6623
  }
6624
6624
  }
6625
6625
  }
6626
6626
  if (!V)
6627
6627
  r.moveTo(f + N, v + P);
6628
- else if (C > Nr) {
6628
+ else if (C > Rr) {
6629
6629
  var rt = ta(y, C), dt = ta(m, C), tt = qu(L, E, N, P, a, rt, h), ct = qu(M, I, k, R, a, dt, h);
6630
6630
  r.moveTo(f + tt.cx + tt.x0, v + tt.cy + tt.y0), C < w && rt === dt ? r.arc(f + tt.cx, v + tt.cy, C, ke(tt.y0, tt.x0), ke(ct.y0, ct.x0), !h) : (rt > 0 && r.arc(f + tt.cx, v + tt.cy, rt, ke(tt.y0, tt.x0), ke(tt.y1, tt.x1), !h), r.arc(f, v, a, ke(tt.cy + tt.y1, tt.cx + tt.x1), ke(ct.cy + ct.y1, ct.cx + ct.x1), !h), dt > 0 && r.arc(f + ct.cx, v + ct.cy, dt, ke(ct.y1, ct.x1), ke(ct.y0, ct.x0), !h));
6631
6631
  } else
6632
6632
  r.moveTo(f + N, v + P), r.arc(f, v, a, l, u, !h);
6633
- if (!(n > Nr) || !V)
6633
+ if (!(n > Rr) || !V)
6634
6634
  r.lineTo(f + k, v + R);
6635
- else if (A > Nr) {
6635
+ else if (A > Rr) {
6636
6636
  var rt = ta(d, A), dt = ta(g, A), tt = qu(k, R, M, I, n, -dt, h), ct = qu(N, P, L, E, n, -rt, h);
6637
6637
  r.lineTo(f + tt.cx + tt.x0, v + tt.cy + tt.y0), A < T && rt === dt ? r.arc(f + tt.cx, v + tt.cy, A, ke(tt.y0, tt.x0), ke(ct.y0, ct.x0), !h) : (dt > 0 && r.arc(f + tt.cx, v + tt.cy, dt, ke(tt.y0, tt.x0), ke(tt.y1, tt.x1), !h), r.arc(f, v, n, ke(tt.cy + tt.y1, tt.cx + tt.x1), ke(ct.cy + ct.y1, ct.cx + ct.x1), h), rt > 0 && r.arc(f + ct.cx, v + ct.cy, rt, ke(ct.y1, ct.x1), ke(ct.y0, ct.x0), !h));
6638
6638
  } else
@@ -6684,8 +6684,8 @@ function _O(r, e, t, a) {
6684
6684
  if (a) {
6685
6685
  f = [1 / 0, 1 / 0], v = [-1 / 0, -1 / 0];
6686
6686
  for (var h = 0, c = r.length; h < c; h++)
6687
- mn(f, f, r[h]), _n(v, v, r[h]);
6688
- mn(f, f, a[0]), _n(v, v, a[1]);
6687
+ _n(f, f, r[h]), Sn(v, v, r[h]);
6688
+ _n(f, f, a[0]), Sn(v, v, a[1]);
6689
6689
  }
6690
6690
  for (var h = 0, c = r.length; h < c; h++) {
6691
6691
  var p = r[h];
@@ -6700,7 +6700,7 @@ function _O(r, e, t, a) {
6700
6700
  var d = Jd(p, l), g = Jd(p, u), y = d + g;
6701
6701
  y !== 0 && (d /= y, g /= y), qf(o, i, -d), qf(s, i, g);
6702
6702
  var m = I_([], p, o), _ = I_([], p, s);
6703
- a && (_n(m, m, f), mn(m, m, v), _n(_, _, f), mn(_, _, v)), n.push(m), n.push(_);
6703
+ a && (Sn(m, m, f), _n(m, m, v), Sn(_, _, f), _n(_, _, v)), n.push(m), n.push(_);
6704
6704
  }
6705
6705
  return t && n.push(n.shift()), n;
6706
6706
  }
@@ -6826,7 +6826,7 @@ var Su = function(r) {
6826
6826
  return new TO();
6827
6827
  }, e.prototype.buildPath = function(t, a) {
6828
6828
  var n = a.x1, i = a.y1, o = a.x2, s = a.y2, l = a.cpx1, u = a.cpy1, f = a.cpx2, v = a.cpy2, h = a.percent;
6829
- h !== 0 && (t.moveTo(n, i), f == null || v == null ? (h < 1 && (Ul(n, l, o, h, Je), l = Je[1], o = Je[2], Ul(i, u, s, h, Je), u = Je[1], s = Je[2]), t.quadraticCurveTo(l, u, o, s)) : (h < 1 && (Pn(n, l, f, o, h, Je), l = Je[1], f = Je[2], o = Je[3], Pn(i, u, v, s, h, Je), u = Je[1], v = Je[2], s = Je[3]), t.bezierCurveTo(l, u, f, v, o, s)));
6829
+ h !== 0 && (t.moveTo(n, i), f == null || v == null ? (h < 1 && (Ul(n, l, o, h, Je), l = Je[1], o = Je[2], Ul(i, u, s, h, Je), u = Je[1], s = Je[2]), t.quadraticCurveTo(l, u, o, s)) : (h < 1 && (Nn(n, l, f, o, h, Je), l = Je[1], f = Je[2], o = Je[3], Nn(i, u, v, s, h, Je), u = Je[1], v = Je[2], s = Je[3]), t.bezierCurveTo(l, u, f, v, o, s)));
6830
6830
  }, e.prototype.pointAt = function(t) {
6831
6831
  return Y1(this.shape, t, !1);
6832
6832
  }, e.prototype.tangentAt = function(t) {
@@ -6905,7 +6905,7 @@ var qh = function(r) {
6905
6905
  return s.x = t ?? 0.5, s.y = a ?? 0.5, s.r = n ?? 0.5, s.type = "radial", s.global = o || !1, s;
6906
6906
  }
6907
6907
  return e;
6908
- }(BA), ap = Math.min, DO = Math.max, Ku = Math.abs, ii = [0, 0], oi = [0, 0], De = AD(), ju = De.minTv, Ju = De.maxTv, GA = function() {
6908
+ }(BA), ap = Math.min, DO = Math.max, Ku = Math.abs, oi = [0, 0], si = [0, 0], De = AD(), ju = De.minTv, Ju = De.maxTv, GA = function() {
6909
6909
  function r(e, t) {
6910
6910
  this._corners = [], this._axes = [], this._origin = [0, 0];
6911
6911
  for (var a = 0; a < 4; a++)
@@ -6928,13 +6928,13 @@ var qh = function(r) {
6928
6928
  }, r.prototype._intersectCheckOneSide = function(e, t, a, n) {
6929
6929
  for (var i = !0, o = 0; o < 2; o++) {
6930
6930
  var s = e._axes[o];
6931
- if (e._getProjMinMaxOnAxis(o, e._corners, ii), e._getProjMinMaxOnAxis(o, t._corners, oi), De.negativeSize || ii[1] < oi[0] || ii[0] > oi[1]) {
6931
+ if (e._getProjMinMaxOnAxis(o, e._corners, oi), e._getProjMinMaxOnAxis(o, t._corners, si), De.negativeSize || oi[1] < si[0] || oi[0] > si[1]) {
6932
6932
  if (i = !1, De.negativeSize || a)
6933
6933
  return i;
6934
- var l = Ku(oi[0] - ii[1]), u = Ku(ii[0] - oi[1]);
6934
+ var l = Ku(si[0] - oi[1]), u = Ku(oi[0] - si[1]);
6935
6935
  ap(l, u) > Ju.len() && (l < u ? st.scale(Ju, s, -l * n) : st.scale(Ju, s, u * n));
6936
6936
  } else if (!a) {
6937
- var l = Ku(oi[0] - ii[1]), u = Ku(ii[0] - oi[1]);
6937
+ var l = Ku(si[0] - oi[1]), u = Ku(oi[0] - si[1]);
6938
6938
  (De.useDir || ap(l, u) < ju.len()) && ((l < u || !De.bidirectional) && (st.scale(ju, s, l * n), De.useDir && De.calcDirMTV()), (l >= u || !De.bidirectional) && (st.scale(ju, s, -u * n), De.useDir && De.calcDirMTV()));
6939
6939
  }
6940
6940
  }
@@ -7008,7 +7008,7 @@ var qh = function(r) {
7008
7008
  }
7009
7009
  return !1;
7010
7010
  }, e;
7011
- }(Ir), FA = xt();
7011
+ }(Er), FA = xt();
7012
7012
  function Cs(r, e, t, a, n) {
7013
7013
  var i;
7014
7014
  if (e && e.ecModel) {
@@ -7067,11 +7067,11 @@ function ts(r) {
7067
7067
  }
7068
7068
  return !1;
7069
7069
  }
7070
- function Rn(r, e, t, a, n, i) {
7070
+ function kn(r, e, t, a, n, i) {
7071
7071
  ts(r) || Nm("leave", r, e, t, a, n, i);
7072
7072
  }
7073
7073
  function Z1(r, e, t, a) {
7074
- r.removeTextContent(), r.removeTextGuideLine(), Rn(r, {
7074
+ r.removeTextContent(), r.removeTextGuideLine(), kn(r, {
7075
7075
  style: {
7076
7076
  opacity: 0
7077
7077
  }
@@ -7085,7 +7085,7 @@ function za(r, e, t) {
7085
7085
  n.isGroup || Z1(n, e, t, a);
7086
7086
  }) : Z1(r, e, t, a);
7087
7087
  }
7088
- function Er(r) {
7088
+ function Pr(r) {
7089
7089
  FA(r).oldStyle = r.style;
7090
7090
  }
7091
7091
  function LO(r) {
@@ -7142,7 +7142,7 @@ function WA(r, e) {
7142
7142
  height: n
7143
7143
  };
7144
7144
  }
7145
- var Cr = fO;
7145
+ var Dr = fO;
7146
7146
  function UA(r, e) {
7147
7147
  if (r.applyTransform) {
7148
7148
  var t = r.getBoundingRect(), a = t.calculateTransform(e);
@@ -7295,7 +7295,7 @@ function Rg(r, e) {
7295
7295
  var t;
7296
7296
  r.isGroup && (t = e(r)), t || r.traverse(e);
7297
7297
  }
7298
- function Fn(r, e) {
7298
+ function Hn(r, e) {
7299
7299
  if (r)
7300
7300
  if (W(r))
7301
7301
  for (var t = 0; t < r.length; t++)
@@ -7417,9 +7417,9 @@ const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7417
7417
  linePolygonIntersect: xl,
7418
7418
  makeImage: HA,
7419
7419
  makePath: ql,
7420
- mergePath: Cr,
7420
+ mergePath: Dr,
7421
7421
  registerShape: Xr,
7422
- removeElement: Rn,
7422
+ removeElement: kn,
7423
7423
  removeElementWithFadeOut: za,
7424
7424
  resizePath: UA,
7425
7425
  retrieveZInfo: Ki,
@@ -7428,7 +7428,7 @@ const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7428
7428
  subPixelOptimizeLine: ss,
7429
7429
  subPixelOptimizeRect: NO,
7430
7430
  transformDirection: Kh,
7431
- traverseElements: Fn,
7431
+ traverseElements: Hn,
7432
7432
  traverseUpdateZ: jh,
7433
7433
  updateProps: Pt
7434
7434
  }, Symbol.toStringTag, { value: "Module" }));
@@ -7580,7 +7580,7 @@ function J1(r, e, t, a, n, i, o, s, l, u) {
7580
7580
  }
7581
7581
  function Om(r, e) {
7582
7582
  var t = e && e.getModel("textStyle");
7583
- return Ar([
7583
+ return Mr([
7584
7584
  // FIXME in node-canvas fontWeight is before fontStyle
7585
7585
  r.fontStyle || t && t.getShallow("fontStyle") || "",
7586
7586
  r.fontWeight || t && t.getShallow("fontWeight") || "",
@@ -7814,7 +7814,7 @@ function XO(r, e) {
7814
7814
  }), s;
7815
7815
  }
7816
7816
  }
7817
- function Hn(r, e) {
7817
+ function Wn(r, e) {
7818
7818
  return mt(mt({}, r, !0), e, !0);
7819
7819
  }
7820
7820
  const $O = {
@@ -8070,7 +8070,7 @@ function JO(r) {
8070
8070
  function ue() {
8071
8071
  return Vg;
8072
8072
  }
8073
- var zm = 1e3, Gm = zm * 60, Ol = Gm * 60, Dr = Ol * 24, Q1 = Dr * 365, QO = {
8073
+ var zm = 1e3, Gm = zm * 60, Ol = Gm * 60, Ar = Ol * 24, Q1 = Ar * 365, QO = {
8074
8074
  year: /({yyyy}|{yy})/,
8075
8075
  month: /({MMMM}|{MMM}|{MM}|{M})/,
8076
8076
  day: /({dd}|{d})/,
@@ -8248,7 +8248,7 @@ var wu = Ih;
8248
8248
  function zg(r, e, t) {
8249
8249
  var a = "{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";
8250
8250
  function n(f) {
8251
- return f && Ar(f) ? f : "-";
8251
+ return f && Mr(f) ? f : "-";
8252
8252
  }
8253
8253
  function i(f) {
8254
8254
  return !!(f != null && !isNaN(f) && isFinite(f));
@@ -8746,14 +8746,14 @@ G(te, {
8746
8746
  axisSplitLine: te.neutral15,
8747
8747
  axisMinorSplitLine: te.neutral05
8748
8748
  });
8749
- for (var si in te)
8750
- if (te.hasOwnProperty(si)) {
8751
- var rS = te[si];
8752
- si === "theme" ? O.darkColor.theme = te.theme.slice() : si === "highlight" ? O.darkColor.highlight = "rgba(255,231,130,0.4)" : si.indexOf("accent") === 0 ? O.darkColor[si] = Mn(rS, null, function(r) {
8749
+ for (var li in te)
8750
+ if (te.hasOwnProperty(li)) {
8751
+ var rS = te[li];
8752
+ li === "theme" ? O.darkColor.theme = te.theme.slice() : li === "highlight" ? O.darkColor.highlight = "rgba(255,231,130,0.4)" : li.indexOf("accent") === 0 ? O.darkColor[li] = Ln(rS, null, function(r) {
8753
8753
  return r * 0.5;
8754
8754
  }, function(r) {
8755
8755
  return Math.min(1, 1.3 - r);
8756
- }) : O.darkColor[si] = Mn(rS, null, function(r) {
8756
+ }) : O.darkColor[li] = Ln(rS, null, function(r) {
8757
8757
  return r * 0.9;
8758
8758
  }, function(r) {
8759
8759
  return 1 - Math.pow(r, 1.5);
@@ -8771,7 +8771,7 @@ O.size = {
8771
8771
  };
8772
8772
  var _M = "";
8773
8773
  typeof navigator < "u" && (_M = navigator.platform || "");
8774
- var So = "rgba(0, 0, 0, 0.2)", SM = O.color.theme[0], yV = Mn(SM, null, null, 0.9);
8774
+ var So = "rgba(0, 0, 0, 0.2)", SM = O.color.theme[0], yV = Ln(SM, null, null, 0.9);
8775
8775
  const mV = {
8776
8776
  darkMode: "auto",
8777
8777
  // backgroundColor: 'rgba(0,0,0,0)',
@@ -9540,38 +9540,38 @@ function ie(r, e) {
9540
9540
  }
9541
9541
  }
9542
9542
  }
9543
- function Sr(r) {
9543
+ function xr(r) {
9544
9544
  r && (wl(r), ie(r, "label"), r.emphasis && ie(r.emphasis, "label"));
9545
9545
  }
9546
9546
  function BV(r) {
9547
9547
  if (Jl(r)) {
9548
9548
  fp(r), wl(r), ie(r, "label"), ie(r, "upperLabel"), ie(r, "edgeLabel"), r.emphasis && (ie(r.emphasis, "label"), ie(r.emphasis, "upperLabel"), ie(r.emphasis, "edgeLabel"));
9549
9549
  var e = r.markPoint;
9550
- e && (fp(e), Sr(e));
9550
+ e && (fp(e), xr(e));
9551
9551
  var t = r.markLine;
9552
- t && (fp(t), Sr(t));
9552
+ t && (fp(t), xr(t));
9553
9553
  var a = r.markArea;
9554
- a && Sr(a);
9554
+ a && xr(a);
9555
9555
  var n = r.data;
9556
9556
  if (r.type === "graph") {
9557
9557
  n = n || r.nodes;
9558
9558
  var i = r.links || r.edges;
9559
9559
  if (i && !$e(i))
9560
9560
  for (var o = 0; o < i.length; o++)
9561
- Sr(i[o]);
9561
+ xr(i[o]);
9562
9562
  D(r.categories, function(u) {
9563
9563
  wl(u);
9564
9564
  });
9565
9565
  }
9566
9566
  if (n && !$e(n))
9567
9567
  for (var o = 0; o < n.length; o++)
9568
- Sr(n[o]);
9568
+ xr(n[o]);
9569
9569
  if (e = r.markPoint, e && e.data)
9570
9570
  for (var s = e.data, o = 0; o < s.length; o++)
9571
- Sr(s[o]);
9571
+ xr(s[o]);
9572
9572
  if (t = r.markLine, t && t.data)
9573
9573
  for (var l = t.data, o = 0; o < l.length; o++)
9574
- W(l[o]) ? (Sr(l[o][0]), Sr(l[o][1])) : Sr(l[o]);
9574
+ W(l[o]) ? (xr(l[o][0]), xr(l[o][1])) : xr(l[o]);
9575
9575
  r.type === "gauge" ? (ie(r, "axisLabel"), ie(r, "title"), ie(r, "detail")) : r.type === "treemap" ? (Oe(r.breadcrumb, "itemStyle"), D(r.levels, function(u) {
9576
9576
  wl(u);
9577
9577
  })) : r.type === "tree" && wl(r.leaves);
@@ -9602,11 +9602,11 @@ function zV(r, e) {
9602
9602
  n.text && oe("text", "name", "radar.indicator");
9603
9603
  });
9604
9604
  }), pr(La(r.geo), function(a) {
9605
- Jl(a) && (Sr(a), pr(La(a.regions), function(n) {
9606
- Sr(n);
9605
+ Jl(a) && (xr(a), pr(La(a.regions), function(n) {
9606
+ xr(n);
9607
9607
  }));
9608
9608
  }), pr(La(r.timeline), function(a) {
9609
- Sr(a), Oe(a, "label"), Oe(a, "itemStyle"), Oe(a, "controlStyle", !0);
9609
+ xr(a), Oe(a, "label"), Oe(a, "itemStyle"), Oe(a, "controlStyle", !0);
9610
9610
  var n = a.data;
9611
9611
  W(n) && D(n, function(i) {
9612
9612
  it(i) && (Oe(i, "label"), Oe(i, "itemStyle"));
@@ -9887,7 +9887,7 @@ function EM(r) {
9887
9887
  var e = r.sourceFormat;
9888
9888
  return e === cr || e === $r;
9889
9889
  }
9890
- var li, ui, fi, vi, gS, yS, PM = (
9890
+ var ui, fi, vi, hi, gS, yS, PM = (
9891
9891
  /** @class */
9892
9892
  function() {
9893
9893
  function r(e, t) {
@@ -9985,56 +9985,56 @@ var li, ui, fi, vi, gS, yS, PM = (
9985
9985
  }()
9986
9986
  ), rf = function(r) {
9987
9987
  W(r) || At("series.data or dataset.source must be an array.");
9988
- }, KV = (li = {}, li[Ie + "_" + Hr] = rf, li[Ie + "_" + io] = rf, li[cr] = rf, li[$r] = function(r, e) {
9988
+ }, KV = (ui = {}, ui[Ie + "_" + Hr] = rf, ui[Ie + "_" + io] = rf, ui[cr] = rf, ui[$r] = function(r, e) {
9989
9989
  for (var t = 0; t < e.length; t++) {
9990
9990
  var a = e[t].name;
9991
9991
  a == null && At("dimension name must not be null/undefined.");
9992
9992
  }
9993
- }, li[hr] = rf, li), mS = function(r, e, t, a) {
9993
+ }, ui[hr] = rf, ui), mS = function(r, e, t, a) {
9994
9994
  return r[a];
9995
- }, jV = (ui = {}, ui[Ie + "_" + Hr] = function(r, e, t, a) {
9995
+ }, jV = (fi = {}, fi[Ie + "_" + Hr] = function(r, e, t, a) {
9996
9996
  return r[a + e];
9997
- }, ui[Ie + "_" + io] = function(r, e, t, a, n) {
9997
+ }, fi[Ie + "_" + io] = function(r, e, t, a, n) {
9998
9998
  a += e;
9999
9999
  for (var i = n || [], o = r, s = 0; s < o.length; s++) {
10000
10000
  var l = o[s];
10001
10001
  i[s] = l ? l[a] : null;
10002
10002
  }
10003
10003
  return i;
10004
- }, ui[cr] = mS, ui[$r] = function(r, e, t, a, n) {
10004
+ }, fi[cr] = mS, fi[$r] = function(r, e, t, a, n) {
10005
10005
  for (var i = n || [], o = 0; o < t.length; o++) {
10006
10006
  var s = t[o].name, l = s != null ? r[s] : null;
10007
10007
  i[o] = l ? l[a] : null;
10008
10008
  }
10009
10009
  return i;
10010
- }, ui[hr] = mS, ui);
10010
+ }, fi[hr] = mS, fi);
10011
10011
  function NM(r, e) {
10012
10012
  var t = jV[Vv(r, e)];
10013
10013
  return process.env.NODE_ENV !== "production" && j(t, 'Do not support get item on "' + r + '", "' + e + '".'), t;
10014
10014
  }
10015
10015
  var _S = function(r, e, t) {
10016
10016
  return r.length;
10017
- }, JV = (fi = {}, fi[Ie + "_" + Hr] = function(r, e, t) {
10017
+ }, JV = (vi = {}, vi[Ie + "_" + Hr] = function(r, e, t) {
10018
10018
  return Math.max(0, r.length - e);
10019
- }, fi[Ie + "_" + io] = function(r, e, t) {
10019
+ }, vi[Ie + "_" + io] = function(r, e, t) {
10020
10020
  var a = r[0];
10021
10021
  return a ? Math.max(0, a.length - e) : 0;
10022
- }, fi[cr] = _S, fi[$r] = function(r, e, t) {
10022
+ }, vi[cr] = _S, vi[$r] = function(r, e, t) {
10023
10023
  var a = t[0].name, n = a != null ? r[a] : null;
10024
10024
  return n ? n.length : 0;
10025
- }, fi[hr] = _S, fi);
10025
+ }, vi[hr] = _S, vi);
10026
10026
  function RM(r, e) {
10027
10027
  var t = JV[Vv(r, e)];
10028
10028
  return process.env.NODE_ENV !== "production" && j(t, 'Do not support count on "' + r + '", "' + e + '".'), t;
10029
10029
  }
10030
10030
  var hp = function(r, e, t) {
10031
10031
  return r[e];
10032
- }, QV = (vi = {}, vi[Ie] = hp, vi[cr] = function(r, e, t) {
10032
+ }, QV = (hi = {}, hi[Ie] = hp, hi[cr] = function(r, e, t) {
10033
10033
  return r[t];
10034
- }, vi[$r] = hp, vi[hr] = function(r, e, t) {
10034
+ }, hi[$r] = hp, hi[hr] = function(r, e, t) {
10035
10035
  var a = xs(r);
10036
10036
  return a instanceof Array ? a[e] : a;
10037
- }, vi[Ga] = hp, vi);
10037
+ }, hi[Ga] = hp, hi);
10038
10038
  function kM(r) {
10039
10039
  var e = QV[r];
10040
10040
  return process.env.NODE_ENV !== "production" && j(e, 'Do not support get value on "' + r + '".'), e;
@@ -10206,7 +10206,7 @@ var eB = (
10206
10206
  return e++, u;
10207
10207
  }
10208
10208
  }();
10209
- function In(r, e) {
10209
+ function En(r, e) {
10210
10210
  var t = e && e.type;
10211
10211
  return t === "ordinal" ? r : (t === "time" && !Mt(r) && r != null && r !== "-" && (r = +ro(r)), r == null || r === "" ? NaN : Number(r));
10212
10212
  }
@@ -10218,7 +10218,7 @@ var rB = Q({
10218
10218
  return +ro(r);
10219
10219
  },
10220
10220
  trim: function(r) {
10221
- return X(r) ? Ar(r) : r;
10221
+ return X(r) ? Mr(r) : r;
10222
10222
  }
10223
10223
  });
10224
10224
  function OM(r) {
@@ -10302,7 +10302,7 @@ var oB = (
10302
10302
  }, r.prototype.retrieveValue = function(e, t) {
10303
10303
  }, r.prototype.retrieveValueFromItem = function(e, t) {
10304
10304
  }, r.prototype.convertValue = function(e, t) {
10305
- return In(e, t);
10305
+ return En(e, t);
10306
10306
  }, r;
10307
10307
  }()
10308
10308
  );
@@ -10838,17 +10838,17 @@ var Zg = (
10838
10838
  this.getRawIndex = this._indices ? this._getRawIdx : this._getRawIdxIdentity;
10839
10839
  }, r.internalField = function() {
10840
10840
  function e(t, a, n, i) {
10841
- return In(t[i], this._dimensions[i]);
10841
+ return En(t[i], this._dimensions[i]);
10842
10842
  }
10843
10843
  cp = {
10844
10844
  arrayRows: e,
10845
10845
  objectRows: function(t, a, n, i) {
10846
- return In(t[a], this._dimensions[i]);
10846
+ return En(t[a], this._dimensions[i]);
10847
10847
  },
10848
10848
  keyedColumns: e,
10849
10849
  original: function(t, a, n, i) {
10850
10850
  var o = t && (t.value == null ? t : t.value);
10851
- return In(o instanceof Array ? o[i] : o, this._dimensions[i]);
10851
+ return En(o instanceof Array ? o[i] : o, this._dimensions[i]);
10852
10852
  },
10853
10853
  typedArray: function(t, a, n, i) {
10854
10854
  return t[i];
@@ -11181,7 +11181,7 @@ function KM(r) {
11181
11181
  name: _,
11182
11182
  // name dimension might be auto assigned, where the name might
11183
11183
  // be not readable. So we check trim here.
11184
- noName: !Ar(_),
11184
+ noName: !Mr(_),
11185
11185
  value: f,
11186
11186
  valueType: v,
11187
11187
  dataIndex: t
@@ -11505,7 +11505,7 @@ var jM = xt(), NB = Ls(), Bt = (
11505
11505
  }, r.prototype.updateVisual = function(e, t, a, n) {
11506
11506
  this.render(e, t, a, n);
11507
11507
  }, r.prototype.eachRendered = function(e) {
11508
- Fn(this.group, e);
11508
+ Hn(this.group, e);
11509
11509
  }, r.markUpdateMethod = function(e, t) {
11510
11510
  jM(e).updateMethod = t;
11511
11511
  }, r.protoInitialize = function() {
@@ -11515,7 +11515,7 @@ var jM = xt(), NB = Ls(), Bt = (
11515
11515
  }()
11516
11516
  );
11517
11517
  function LS(r, e, t) {
11518
- r && Nn(r) && (e === "emphasis" ? Xa : $a)(r, t);
11518
+ r && Rn(r) && (e === "emphasis" ? Xa : $a)(r, t);
11519
11519
  }
11520
11520
  function IS(r, e, t) {
11521
11521
  var a = Zi(r, e), n = e && e.highlightKey != null ? rO(e.highlightKey) : null;
@@ -13024,7 +13024,7 @@ function M5(r, e) {
13024
13024
  }
13025
13025
  });
13026
13026
  }
13027
- var Or = new Pr(), Wv = {};
13027
+ var Or = new Nr(), Wv = {};
13028
13028
  function L5(r, e) {
13029
13029
  process.env.NODE_ENV !== "production" && Wv[r] && At("Already has an implementation of " + r + "."), Wv[r] = e;
13030
13030
  }
@@ -13076,7 +13076,7 @@ function mL(r) {
13076
13076
  };
13077
13077
  }
13078
13078
  function _L(r, e, t) {
13079
- return t[0] = t[0] && t[0].toLowerCase(), Pr.prototype[e].apply(r, t);
13079
+ return t[0] = t[0] && t[0].toLowerCase(), Nr.prototype[e].apply(r, t);
13080
13080
  }
13081
13081
  var SL = (
13082
13082
  /** @class */
@@ -13086,11 +13086,11 @@ var SL = (
13086
13086
  return r !== null && r.apply(this, arguments) || this;
13087
13087
  }
13088
13088
  return e;
13089
- }(Pr)
13089
+ }(Nr)
13090
13090
  ), xL = SL.prototype;
13091
13091
  xL.on = mL("on");
13092
13092
  xL.off = mL("off");
13093
- var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do, wL = (
13093
+ var ci, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do, wL = (
13094
13094
  /** @class */
13095
13095
  function(r) {
13096
13096
  B(e, r);
@@ -13137,7 +13137,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13137
13137
  var a = this[Ce].silent;
13138
13138
  this[pe] = !0, Do(this);
13139
13139
  try {
13140
- hi(this), Ia.update.call(this, null, this[Ce].updateParams);
13140
+ ci(this), Ia.update.call(this, null, this[Ce].updateParams);
13141
13141
  } catch (l) {
13142
13142
  throw this[pe] = !1, this[Ce] = null, l;
13143
13143
  }
@@ -13188,7 +13188,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13188
13188
  }, this[pe] = !1, this.getZr().wakeUp();
13189
13189
  else {
13190
13190
  try {
13191
- hi(this), Ia.update.call(this, null, v);
13191
+ ci(this), Ia.update.call(this, null, v);
13192
13192
  } catch (h) {
13193
13193
  throw this[Ce] = null, this[pe] = !1, h;
13194
13194
  }
@@ -13208,7 +13208,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13208
13208
  var i = a && a.silent, o = null;
13209
13209
  this[Ce] && (i == null && (i = this[Ce].silent), o = this[Ce].updateParams, this[Ce] = null), this[pe] = !0, Do(this);
13210
13210
  try {
13211
- this._updateTheme(t), n.setTheme(this._theme), hi(this), Ia.update.call(this, {
13211
+ this._updateTheme(t), n.setTheme(this._theme), ci(this), Ia.update.call(this, {
13212
13212
  type: "setTheme"
13213
13213
  }, o);
13214
13214
  } catch (s) {
@@ -13430,7 +13430,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13430
13430
  var n = a.resetOption("media"), i = t && t.silent;
13431
13431
  this[Ce] && (i == null && (i = this[Ce].silent), n = !0, this[Ce] = null), this[pe] = !0, Do(this);
13432
13432
  try {
13433
- n && hi(this), Ia.update.call(this, {
13433
+ n && ci(this), Ia.update.call(this, {
13434
13434
  type: "resize",
13435
13435
  animation: G({
13436
13436
  // Disable animation
@@ -13493,7 +13493,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13493
13493
  var a = t.seriesIndex, n = this.getModel(), i = n.getSeriesByIndex(a);
13494
13494
  process.env.NODE_ENV !== "production" && j(t.data && i), i.appendData(t), this._scheduler.unfinished = !0, this.getZr().wakeUp();
13495
13495
  }, e.internalField = function() {
13496
- hi = function(v) {
13496
+ ci = function(v) {
13497
13497
  var h = v._scheduler;
13498
13498
  h.restorePipelines(v._model), h.prepareStageTasks(), mp(v, !0), mp(v, !1), h.plan();
13499
13499
  }, mp = function(v, h) {
@@ -13565,7 +13565,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13565
13565
  }
13566
13566
  }, Ia = {
13567
13567
  prepareAndUpdate: function(v) {
13568
- hi(this), Ia.update.call(this, v, v && {
13568
+ ci(this), Ia.update.call(this, v, v && {
13569
13569
  // Needs to mark option changed if newOption is given.
13570
13570
  // It's from MagicType.
13571
13571
  // TODO If use a separate flag optionChanged in payload?
@@ -13672,7 +13672,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13672
13672
  } else M ? (lf(c, _, P, "series"), dr(c)) : S && lf(c, _, P, S.main, S.sub);
13673
13673
  }), _ !== "none" && !I && !M && !S)
13674
13674
  try {
13675
- this[Ce] ? (hi(this), Ia.update.call(this, v), this[Ce] = null) : Ia[_].call(this, v);
13675
+ this[Ce] ? (ci(this), Ia.update.call(this, v), this[Ce] = null) : Ia[_].call(this, v);
13676
13676
  } catch (P) {
13677
13677
  throw this[pe] = !1, P;
13678
13678
  }
@@ -13707,10 +13707,10 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13707
13707
  });
13708
13708
  }, JS = function(v, h) {
13709
13709
  v.on("mouseover", function(c) {
13710
- var p = c.target, d = Pi(p, Nn);
13710
+ var p = c.target, d = Pi(p, Rn);
13711
13711
  d && (qk(d, c, h._api), dr(h));
13712
13712
  }).on("mouseout", function(c) {
13713
- var p = c.target, d = Pi(p, Nn);
13713
+ var p = c.target, d = Pi(p, Rn);
13714
13714
  d && (Kk(d, c, h._api), dr(h));
13715
13715
  }).on("click", function(c) {
13716
13716
  var p = c.target, d = Pi(p, function(m) {
@@ -13916,7 +13916,7 @@ var hi, mp, lf, Ia, uf, _p, Sp, To, Co, jS, JS, xp, QS, ff, tx, bL, dr, ex, Do,
13916
13916
  });
13917
13917
  };
13918
13918
  }(), e;
13919
- }(Pr)
13919
+ }(Nr)
13920
13920
  ), i0 = wL.prototype;
13921
13921
  i0.on = yL("on");
13922
13922
  i0.off = yL("off");
@@ -14879,11 +14879,11 @@ function _z(r, e, t) {
14879
14879
  function Sz(r) {
14880
14880
  return !IL(r.schema);
14881
14881
  }
14882
- function kn(r, e) {
14882
+ function On(r, e) {
14883
14883
  return !!e && e === r.getCalculationInfo("stackedDimension");
14884
14884
  }
14885
14885
  function RL(r, e) {
14886
- return kn(r, e) ? r.getCalculationInfo("stackResultDimension") : e;
14886
+ return On(r, e) ? r.getCalculationInfo("stackResultDimension") : e;
14887
14887
  }
14888
14888
  function xz(r, e) {
14889
14889
  var t = r.get("coordinateSystem"), a = Ms.get(t), n;
@@ -14997,7 +14997,7 @@ function ny(r, e, t) {
14997
14997
  Math.log(t ? e[1] : Math.max(0, e[1])) / a
14998
14998
  ];
14999
14999
  }
15000
- var Wn = (
15000
+ var Un = (
15001
15001
  /** @class */
15002
15002
  function() {
15003
15003
  function r(e) {
@@ -15039,7 +15039,7 @@ var Wn = (
15039
15039
  }, r;
15040
15040
  }()
15041
15041
  );
15042
- zh(Wn);
15042
+ zh(Un);
15043
15043
  var Lz = 0, au = (
15044
15044
  /** @class */
15045
15045
  function() {
@@ -15135,9 +15135,9 @@ var fs = (
15135
15135
  }, e.prototype.calcNiceTicks = function() {
15136
15136
  }, e.prototype.calcNiceExtent = function() {
15137
15137
  }, e.type = "ordinal", e;
15138
- }(Wn)
15138
+ }(Un)
15139
15139
  );
15140
- Wn.registerClass(fs);
15140
+ Un.registerClass(fs);
15141
15141
  var un = se, Ka = (
15142
15142
  /** @class */
15143
15143
  function(r) {
@@ -15242,9 +15242,9 @@ var un = se, Ka = (
15242
15242
  }, e.prototype.setNiceExtent = function(t, a) {
15243
15243
  this._niceExtent = [t, a];
15244
15244
  }, e.type = "interval", e;
15245
- }(Wn)
15245
+ }(Un)
15246
15246
  );
15247
- Wn.registerClass(Ka);
15247
+ Un.registerClass(Ka);
15248
15248
  var kL = typeof Float32Array < "u", Ez = kL ? Float32Array : Array;
15249
15249
  function ha(r) {
15250
15250
  return W(r) ? kL ? new Float32Array(r) : r : new Ez(r);
@@ -15421,7 +15421,7 @@ function FL(r) {
15421
15421
  plan: Ls(),
15422
15422
  reset: function(e) {
15423
15423
  if (HL(e)) {
15424
- var t = e.getData(), a = e.coordinateSystem, n = a.getBaseAxis(), i = a.getOtherAxis(n), o = t.getDimensionIndex(t.mapDimension(i.dim)), s = t.getDimensionIndex(t.mapDimension(n.dim)), l = e.get("showBackground", !0), u = t.mapDimension(i.dim), f = t.getCalculationInfo("stackResultDimension"), v = kn(t, u) && !!t.getCalculationInfo("stackedOnSeries"), h = i.isHorizontal(), c = kz(n, i), p = WL(e), d = e.get("barMinHeight") || 0, g = f && t.getDimensionIndex(f), y = t.getLayout("size"), m = t.getLayout("offset");
15424
+ var t = e.getData(), a = e.coordinateSystem, n = a.getBaseAxis(), i = a.getOtherAxis(n), o = t.getDimensionIndex(t.mapDimension(i.dim)), s = t.getDimensionIndex(t.mapDimension(n.dim)), l = e.get("showBackground", !0), u = t.mapDimension(i.dim), f = t.getCalculationInfo("stackResultDimension"), v = On(t, u) && !!t.getCalculationInfo("stackedOnSeries"), h = i.isHorizontal(), c = kz(n, i), p = WL(e), d = e.get("barMinHeight") || 0, g = f && t.getDimensionIndex(f), y = t.getLayout("size"), m = t.getLayout("offset");
15425
15425
  return {
15426
15426
  progress: function(_, S) {
15427
15427
  for (var x = _.count, b = p && ha(x * 3), w = p && l && ha(x * 3), T = p && ha(x), C = a.master.getRect(), A = h ? C.width : C.height, M, I = S.getStore(), L = 0; (M = _.next()) != null; ) {
@@ -15540,9 +15540,9 @@ var Oz = function(r, e, t, a) {
15540
15540
  }), o;
15541
15541
  }, e.prototype.calcNiceExtent = function(t) {
15542
15542
  var a = this.getExtent();
15543
- if (a[0] === a[1] && (a[0] -= Dr, a[1] += Dr), a[1] === -1 / 0 && a[0] === 1 / 0) {
15543
+ if (a[0] === a[1] && (a[0] -= Ar, a[1] += Ar), a[1] === -1 / 0 && a[0] === 1 / 0) {
15544
15544
  var n = /* @__PURE__ */ new Date();
15545
- a[1] = +new Date(n.getFullYear(), n.getMonth(), n.getDate()), a[0] = a[1] - Dr;
15545
+ a[1] = +new Date(n.getFullYear(), n.getMonth(), n.getDate()), a[0] = a[1] - Ar;
15546
15546
  }
15547
15547
  this._innerSetExtent(a[0], a[1]), this.calcNiceTicks(t.splitNumber, t.minInterval, t.maxInterval);
15548
15548
  }, e.prototype.calcNiceTicks = function(t, a, n) {
@@ -15568,11 +15568,11 @@ var Oz = function(r, e, t, a) {
15568
15568
  ["hour", Ol],
15569
15569
  ["quarter-day", Ol * 6],
15570
15570
  ["half-day", Ol * 12],
15571
- ["day", Dr * 1.2],
15572
- ["half-week", Dr * 3.5],
15573
- ["week", Dr * 7],
15574
- ["month", Dr * 31],
15575
- ["quarter", Dr * 95],
15571
+ ["day", Ar * 1.2],
15572
+ ["half-week", Ar * 3.5],
15573
+ ["week", Ar * 7],
15574
+ ["month", Ar * 31],
15575
+ ["quarter", Ar * 95],
15576
15576
  ["half-year", Q1 / 2],
15577
15577
  ["year", Q1]
15578
15578
  // 1Y
@@ -15581,10 +15581,10 @@ function UL(r, e, t, a) {
15581
15581
  return Bg(new Date(e), r, a).getTime() === Bg(new Date(t), r, a).getTime();
15582
15582
  }
15583
15583
  function Vz(r, e) {
15584
- return r /= Dr, r > 16 ? 16 : r > 7.5 ? 7 : r > 3.5 ? 4 : r > 1.5 ? 2 : 1;
15584
+ return r /= Ar, r > 16 ? 16 : r > 7.5 ? 7 : r > 3.5 ? 4 : r > 1.5 ? 2 : 1;
15585
15585
  }
15586
15586
  function Bz(r) {
15587
- var e = 30 * Dr;
15587
+ var e = 30 * Ar;
15588
15588
  return r /= e, r > 6 ? 6 : r > 3 ? 3 : r > 2 ? 2 : 1;
15589
15589
  }
15590
15590
  function zz(r) {
@@ -15644,7 +15644,7 @@ function Wz(r, e, t, a, n, i) {
15644
15644
  var F = void 0, H = void 0, Y = void 0, K = !1;
15645
15645
  switch (L) {
15646
15646
  case "year":
15647
- F = Math.max(1, Math.round(e / Dr / 365)), H = rM(t), Y = sV(t);
15647
+ F = Math.max(1, Math.round(e / Ar / 365)), H = rM(t), Y = sV(t);
15648
15648
  break;
15649
15649
  case "half-year":
15650
15650
  case "quarter":
@@ -15728,7 +15728,7 @@ function Wz(r, e, t, a, n, i) {
15728
15728
  (d === 0 || w[d].value !== w[d - 1].value) && I.push(w[d]);
15729
15729
  return I;
15730
15730
  }
15731
- Wn.registerClass(h0);
15731
+ Un.registerClass(h0);
15732
15732
  var oy = se, Uz = Math.floor, Yz = Math.ceil, cf = Math.pow, pf = Math.log, YL = (
15733
15733
  /** @class */
15734
15734
  function(r) {
@@ -15798,7 +15798,7 @@ var oy = se, Uz = Math.floor, Yz = Math.ceil, cf = Math.pow, pf = Math.log, YL =
15798
15798
  function df(r, e) {
15799
15799
  return oy(r, fa(e));
15800
15800
  }
15801
- Wn.registerClass(YL);
15801
+ Un.registerClass(YL);
15802
15802
  var Zz = (
15803
15803
  /** @class */
15804
15804
  function() {
@@ -15931,7 +15931,7 @@ function ic(r, e) {
15931
15931
  useUTC: r.ecModel.get("useUTC")
15932
15932
  });
15933
15933
  default:
15934
- return new (Wn.getClass(e) || Ka)();
15934
+ return new (Un.getClass(e) || Ka)();
15935
15935
  }
15936
15936
  }
15937
15937
  function Kz(r) {
@@ -16051,7 +16051,7 @@ function Dp(r, e) {
16051
16051
  function cx(r, e, t, a) {
16052
16052
  for (var n = 0; n < r.length; n++) {
16053
16053
  var i = r[n];
16054
- a && (i = a.project(i)), i && isFinite(i[0]) && isFinite(i[1]) && (mn(e, e, i), _n(t, t, i));
16054
+ a && (i = a.project(i)), i && isFinite(i[0]) && isFinite(i[1]) && (_n(e, e, i), Sn(t, t, i));
16055
16055
  }
16056
16056
  }
16057
16057
  function eG(r) {
@@ -16551,7 +16551,7 @@ function yG(r, e, t, a) {
16551
16551
  return c = se(c), p = se(p), v ? c > p : c < p;
16552
16552
  }
16553
16553
  }
16554
- var Js = Math.PI * 2, ci = wa.CMD, mG = ["top", "right", "bottom", "left"];
16554
+ var Js = Math.PI * 2, pi = wa.CMD, mG = ["top", "right", "bottom", "left"];
16555
16555
  function _G(r, e, t, a, n) {
16556
16556
  var i = t.width, o = t.height;
16557
16557
  switch (r) {
@@ -16612,19 +16612,19 @@ function bG(r, e, t) {
16612
16612
  c === 1 && (a = f[c], n = f[c + 1], i = a, o = n);
16613
16613
  var d = u;
16614
16614
  switch (p) {
16615
- case ci.M:
16615
+ case pi.M:
16616
16616
  i = f[c++], o = f[c++], a = i, n = o;
16617
16617
  break;
16618
- case ci.L:
16618
+ case pi.L:
16619
16619
  d = jv(a, n, f[c], f[c + 1], v, h, Vr, !0), a = f[c++], n = f[c++];
16620
16620
  break;
16621
- case ci.C:
16621
+ case pi.C:
16622
16622
  d = kD(a, n, f[c++], f[c++], f[c++], f[c++], f[c], f[c + 1], v, h, Vr), a = f[c++], n = f[c++];
16623
16623
  break;
16624
- case ci.Q:
16624
+ case pi.Q:
16625
16625
  d = VD(a, n, f[c++], f[c++], f[c], f[c + 1], v, h, Vr), a = f[c++], n = f[c++];
16626
16626
  break;
16627
- case ci.A:
16627
+ case pi.A:
16628
16628
  var g = f[c++], y = f[c++], m = f[c++], _ = f[c++], S = f[c++], x = f[c++];
16629
16629
  c += 1;
16630
16630
  var b = !!(1 - f[c++]);
@@ -16632,12 +16632,12 @@ function bG(r, e, t) {
16632
16632
  var w = (v - g) * _ / m + g;
16633
16633
  d = SG(g, y, _, S, S + x, b, w, h, Vr), a = Math.cos(S + x) * m + g, n = Math.sin(S + x) * _ + y;
16634
16634
  break;
16635
- case ci.R:
16635
+ case pi.R:
16636
16636
  i = a = f[c++], o = n = f[c++];
16637
16637
  var T = f[c++], C = f[c++];
16638
16638
  d = o2(i, o, T, C, v, h, Vr);
16639
16639
  break;
16640
- case ci.Z:
16640
+ case pi.Z:
16641
16641
  d = jv(a, n, i, o, v, h, Vr, !0), a = i, n = o;
16642
16642
  break;
16643
16643
  }
@@ -16722,7 +16722,7 @@ function TG(r, e) {
16722
16722
  var t = e.smooth, a = e.points;
16723
16723
  if (a)
16724
16724
  if (r.moveTo(a[0][0], a[0][1]), t > 0 && a.length >= 3) {
16725
- var n = yn(a[0], a[1]), i = yn(a[1], a[2]);
16725
+ var n = mn(a[0], a[1]), i = mn(a[1], a[2]);
16726
16726
  if (!n || !i) {
16727
16727
  r.lineTo(a[1][0], a[1][1]), r.lineTo(a[2][0], a[2][1]);
16728
16728
  return;
@@ -17147,7 +17147,7 @@ function PG(r) {
17147
17147
  }), n.updateLayoutConfig(t), n.layout(t), n.processLabelsOverall();
17148
17148
  });
17149
17149
  }
17150
- var Pp = Math.sin, Np = Math.cos, h2 = Math.PI, pi = Math.PI * 2, NG = 180 / h2, c2 = function() {
17150
+ var Pp = Math.sin, Np = Math.cos, h2 = Math.PI, di = Math.PI * 2, NG = 180 / h2, c2 = function() {
17151
17151
  function r() {
17152
17152
  }
17153
17153
  return r.prototype.reset = function(e) {
@@ -17163,13 +17163,13 @@ var Pp = Math.sin, Np = Math.cos, h2 = Math.PI, pi = Math.PI * 2, NG = 180 / h2,
17163
17163
  }, r.prototype.arc = function(e, t, a, n, i, o) {
17164
17164
  this.ellipse(e, t, a, a, 0, n, i, o);
17165
17165
  }, r.prototype.ellipse = function(e, t, a, n, i, o, s, l) {
17166
- var u = s - o, f = !l, v = Math.abs(u), h = bn(v - pi) || (f ? u >= pi : -u >= pi), c = u > 0 ? u % pi : u % pi + pi, p = !1;
17167
- h ? p = !0 : bn(v) ? p = !1 : p = c >= h2 == !!f;
17166
+ var u = s - o, f = !l, v = Math.abs(u), h = wn(v - di) || (f ? u >= di : -u >= di), c = u > 0 ? u % di : u % di + di, p = !1;
17167
+ h ? p = !0 : wn(v) ? p = !1 : p = c >= h2 == !!f;
17168
17168
  var d = e + a * Np(o), g = t + n * Pp(o);
17169
17169
  this._start && this._add("M", d, g);
17170
17170
  var y = Math.round(i * NG);
17171
17171
  if (h) {
17172
- var m = 1 / this._p, _ = (f ? 1 : -1) * (pi - m);
17172
+ var m = 1 / this._p, _ = (f ? 1 : -1) * (di - m);
17173
17173
  this._add("A", a, n, y, 1, +f, e + a * Np(o + _), t + n * Pp(o + _)), m > 0.01 && this._add("A", a, n, y, 0, +f, d, g);
17174
17174
  } else {
17175
17175
  var S = e + a * Np(s), x = t + n * Pp(s);
@@ -17418,8 +17418,8 @@ function sc(r, e, t, a) {
17418
17418
  var Ot = Lt.keyframes, Gt = Lt.propName;
17419
17419
  if (dt && (Gt = dt(Gt)), Gt)
17420
17420
  for (var Se = 0; Se < Ot.length; Se++) {
17421
- var nr = Ot[Se], je = Math.round(nr.time / ct * 100) + "%", Un = Dx(nr.easing), vo = nr.rawValue;
17422
- (X(vo) || Mt(vo)) && (rt[je] = rt[je] || {}, rt[je][Gt] = nr.rawValue, Un && (rt[je][T] = Un));
17421
+ var nr = Ot[Se], je = Math.round(nr.time / ct * 100) + "%", Yn = Dx(nr.easing), vo = nr.rawValue;
17422
+ (X(vo) || Mt(vo)) && (rt[je] = rt[je] || {}, rt[je][Gt] = nr.rawValue, Yn && (rt[je][T] = Yn));
17423
17423
  }
17424
17424
  }
17425
17425
  }
@@ -17539,10 +17539,10 @@ function _0(r, e) {
17539
17539
  }), e.isSilent() && (r[bx + "silent"] = "true"));
17540
17540
  }
17541
17541
  function Mx(r) {
17542
- return bn(r[0] - 1) && bn(r[1]) && bn(r[2]) && bn(r[3] - 1);
17542
+ return wn(r[0] - 1) && wn(r[1]) && wn(r[2]) && wn(r[3] - 1);
17543
17543
  }
17544
17544
  function KG(r) {
17545
- return bn(r[4]) && bn(r[5]);
17545
+ return wn(r[4]) && wn(r[5]);
17546
17546
  }
17547
17547
  function S0(r, e, t) {
17548
17548
  if (e && !(KG(e) && Mx(e))) {
@@ -18092,7 +18092,7 @@ var kp = function(r) {
18092
18092
  p(d.x * v, d.y * v, d.width * v, d.height * v);
18093
18093
  });
18094
18094
  }, e;
18095
- }(Pr), Bx = 1e5, di = 314159, _f = 0.01, cF = 1e-3;
18095
+ }(Nr), Bx = 1e5, gi = 314159, _f = 0.01, cF = 1e-3;
18096
18096
  function pF(r) {
18097
18097
  return r ? r.__builtin__ ? !0 : !(typeof r.resize != "function" || typeof r.refresh != "function") : !1;
18098
18098
  }
@@ -18121,7 +18121,7 @@ var gF = function() {
18121
18121
  var f = e, v = f.width, h = f.height;
18122
18122
  a.width != null && (v = a.width), a.height != null && (h = a.height), this.dpr = a.devicePixelRatio || 1, f.width = v * this.dpr, f.height = h * this.dpr, this._width = v, this._height = h;
18123
18123
  var c = new kp(f, this, this.dpr);
18124
- c.__builtin__ = !0, c.initContext(), l[di] = c, c.zlevel = di, s.push(di), this._domRoot = e;
18124
+ c.__builtin__ = !0, c.initContext(), l[gi] = c, c.zlevel = gi, s.push(gi), this._domRoot = e;
18125
18125
  } else {
18126
18126
  this._width = Ko(e, 0, a), this._height = Ko(e, 1, a);
18127
18127
  var u = this._domRoot = dF(this._width, this._height);
@@ -18187,7 +18187,7 @@ var gF = function() {
18187
18187
  }
18188
18188
  }
18189
18189
  }, r.prototype._compositeManually = function() {
18190
- var e = this.getLayer(di).ctx, t = this._domRoot.width, a = this._domRoot.height;
18190
+ var e = this.getLayer(gi).ctx, t = this._domRoot.width, a = this._domRoot.height;
18191
18191
  e.clearRect(0, 0, t, a), this.eachBuiltinLayer(function(n) {
18192
18192
  n.virtual && e.drawImage(n.dom, 0, 0, t, a);
18193
18193
  });
@@ -18250,7 +18250,7 @@ var gF = function() {
18250
18250
  } else
18251
18251
  Ri(s, e, i, o);
18252
18252
  }, r.prototype.getLayer = function(e, t) {
18253
- this._singleCanvas && !this._needsManuallyCompositing && (e = di);
18253
+ this._singleCanvas && !this._needsManuallyCompositing && (e = gi);
18254
18254
  var a = this._layers[e];
18255
18255
  return a || (a = new kp("zr_" + e, this, this.dpr), a.zlevel = e, a.__builtin__ = !0, this._layerConfig[e] ? mt(a, this._layerConfig[e], !0) : this._layerConfig[e - _f] && mt(a, this._layerConfig[e - _f], !0), t && (a.virtual = t), this.insertLayer(e, a), a.initContext()), a;
18256
18256
  }, r.prototype.insertLayer = function(e, t) {
@@ -18353,7 +18353,7 @@ var gF = function() {
18353
18353
  } else {
18354
18354
  if (e == null || t == null)
18355
18355
  return;
18356
- this._width = e, this._height = t, this.getLayer(di).resize(e, t);
18356
+ this._width = e, this._height = t, this.getLayer(gi).resize(e, t);
18357
18357
  }
18358
18358
  return this;
18359
18359
  }, r.prototype.clearLayer = function(e) {
@@ -18363,7 +18363,7 @@ var gF = function() {
18363
18363
  this.root.innerHTML = "", this.root = this.storage = this._domRoot = this._layers = null;
18364
18364
  }, r.prototype.getRenderedCanvas = function(e) {
18365
18365
  if (e = e || {}, this._singleCanvas && !this._compositeManually)
18366
- return this._layers[di].dom;
18366
+ return this._layers[gi].dom;
18367
18367
  var t = new kp("image", this, e.pixelRatio || this.dpr);
18368
18368
  t.initContext(), t.clear(!1, e.backgroundColor || this._backgroundColor);
18369
18369
  var a = t.ctx;
@@ -18542,7 +18542,7 @@ var Mu = (
18542
18542
  scaleX: l[0] / 2,
18543
18543
  scaleY: l[1] / 2
18544
18544
  };
18545
- v ? c.attr(p) : Pt(c, p, s, a), Er(c);
18545
+ v ? c.attr(p) : Pt(c, p, s, a), Pr(c);
18546
18546
  }
18547
18547
  if (this._updateCommon(t, a, l, n, i), f) {
18548
18548
  var c = this.childAt(0);
@@ -18606,7 +18606,7 @@ var Mu = (
18606
18606
  var i = this.childAt(0), o = ft(this).dataIndex, s = n && n.animation;
18607
18607
  if (this.silent = i.silent = !0, n && n.fadeLabel) {
18608
18608
  var l = i.getTextContent();
18609
- l && Rn(l, {
18609
+ l && kn(l, {
18610
18610
  style: {
18611
18611
  opacity: 0
18612
18612
  }
@@ -18619,7 +18619,7 @@ var Mu = (
18619
18619
  });
18620
18620
  } else
18621
18621
  i.removeTextContent();
18622
- Rn(i, {
18622
+ kn(i, {
18623
18623
  style: {
18624
18624
  opacity: 0
18625
18625
  },
@@ -18726,7 +18726,7 @@ var Lu = (
18726
18726
  }
18727
18727
  }
18728
18728
  }, r.prototype.eachRendered = function(e) {
18729
- Fn(this._progressiveEls || this.group, e);
18729
+ Hn(this._progressiveEls || this.group, e);
18730
18730
  }, r.prototype.remove = function(e) {
18731
18731
  var t = this.group, a = this._data;
18732
18732
  a && e ? a.eachItemGraphicEl(function(n) {
@@ -18741,11 +18741,11 @@ function M2(r, e, t) {
18741
18741
  var a = r.getBaseAxis(), n = r.getOtherAxis(a), i = SF(n, t), o = a.dim, s = n.dim, l = e.mapDimension(s), u = e.mapDimension(o), f = s === "x" || s === "radius" ? 1 : 0, v = U(r.dimensions, function(p) {
18742
18742
  return e.mapDimension(p);
18743
18743
  }), h = !1, c = e.getCalculationInfo("stackResultDimension");
18744
- return kn(
18744
+ return On(
18745
18745
  e,
18746
18746
  v[0]
18747
18747
  /* , dims[1] */
18748
- ) && (h = !0, v[0] = c), kn(
18748
+ ) && (h = !0, v[0] = c), On(
18749
18749
  e,
18750
18750
  v[1]
18751
18751
  /* , dims[0] */
@@ -19041,7 +19041,7 @@ function Iu(r, e, t, a, n) {
19041
19041
  } else return null;
19042
19042
  return null;
19043
19043
  }
19044
- function On(r, e) {
19044
+ function Vn(r, e) {
19045
19045
  return r.type === e;
19046
19046
  }
19047
19047
  function Fx(r, e) {
@@ -19229,7 +19229,7 @@ function R2(r) {
19229
19229
  return !1;
19230
19230
  }
19231
19231
  function Vp(r, e, t, a) {
19232
- if (On(e, "cartesian2d")) {
19232
+ if (Vn(e, "cartesian2d")) {
19233
19233
  var n = a.getModel("endLabel"), i = n.get("valueAnimation"), o = a.getData(), s = {
19234
19234
  lastFrameIndex: 0
19235
19235
  }, l = R2(a) ? function(c, p) {
@@ -19560,7 +19560,7 @@ function Eu(r, e) {
19560
19560
  var s = U(n.dimensions, function(c) {
19561
19561
  return a.mapDimension(c);
19562
19562
  }).slice(0, 2), l = s.length, u = a.getCalculationInfo("stackResultDimension");
19563
- kn(a, s[0]) && (s[0] = u), kn(a, s[1]) && (s[1] = u);
19563
+ On(a, s[0]) && (s[0] = u), On(a, s[1]) && (s[1] = u);
19564
19564
  var f = a.getStore(), v = a.getDimensionIndex(s[0]), h = a.getDimensionIndex(s[1]);
19565
19565
  return l && {
19566
19566
  progress: function(c, p) {
@@ -19726,7 +19726,7 @@ var BF = (
19726
19726
  return a > t && (t = a), t;
19727
19727
  }, e.prototype.brushSelector = function(t, a, n) {
19728
19728
  return n.rect(a.getItemLayout(t));
19729
- }, e.type = "series.bar", e.dependencies = ["grid", "polar"], e.defaultOption = Hn(su.defaultOption, {
19729
+ }, e.type = "series.bar", e.dependencies = ["grid", "polar"], e.defaultOption = Wn(su.defaultOption, {
19730
19730
  // If clipped
19731
19731
  // Only available on cartesian2d
19732
19732
  clip: !0,
@@ -19884,7 +19884,7 @@ function pa(r, e, t) {
19884
19884
  var Bp = Math.max, zp = Math.min;
19885
19885
  function HF(r, e) {
19886
19886
  var t = r.getArea && r.getArea();
19887
- if (On(r, "cartesian2d")) {
19887
+ if (Vn(r, "cartesian2d")) {
19888
19888
  var a = r.getBaseAxis();
19889
19889
  if (a.type !== "category" || !a.onBand) {
19890
19890
  var n = e.getLayout("bandWidth");
@@ -19910,7 +19910,7 @@ var WF = (
19910
19910
  }, e.prototype.incrementalRender = function(t, a) {
19911
19911
  this._progressiveEls = [], this._incrementalRenderLarge(t, a);
19912
19912
  }, e.prototype.eachRendered = function(t) {
19913
- Fn(this._progressiveEls || this.group, t);
19913
+ Hn(this._progressiveEls || this.group, t);
19914
19914
  }, e.prototype._updateDrawMode = function(t) {
19915
19915
  var a = t.pipelineContext.large;
19916
19916
  (this._isLargeDraw == null || a !== this._isLargeDraw) && (this._isLargeDraw = a, this._clear());
@@ -19960,7 +19960,7 @@ var WF = (
19960
19960
  var V = !1;
19961
19961
  p && (V = Zx[u.type](d, E), V && o.remove(R));
19962
19962
  var z = R && (R.type === "sector" && g || R.type === "sausage" && !g);
19963
- if (z && (R && za(R, t, I), R = null), R ? Er(R) : R = Xx[u.type](t, s, M, E, v, h, f.model, !0, g), c && (R.forceLabelAnimation = !0), w) {
19963
+ if (z && (R && za(R, t, I), R = null), R ? Pr(R) : R = Xx[u.type](t, s, M, E, v, h, f.model, !0, g), c && (R.forceLabelAnimation = !0), w) {
19964
19964
  var F = R.getTextContent();
19965
19965
  if (F) {
19966
19966
  var H = Ds(F);
@@ -20317,7 +20317,7 @@ function KF(r, e, t) {
20317
20317
  return -1;
20318
20318
  }
20319
20319
  function V2(r, e, t) {
20320
- if (On(t, "cartesian2d")) {
20320
+ if (Vn(t, "cartesian2d")) {
20321
20321
  var a = e, n = t.getArea();
20322
20322
  return {
20323
20323
  x: r ? a.x : n.x,
@@ -20582,8 +20582,8 @@ function a3(r) {
20582
20582
  } else if (Se === "tangential" && L !== "outside" && L !== "outer") {
20583
20583
  var je = Math.atan2(H, Y);
20584
20584
  je < 0 && (je = Ot * 2 + je);
20585
- var Un = Y > 0;
20586
- Un && (je = Ot + je), Gt = je - Ot;
20585
+ var Yn = Y > 0;
20586
+ Yn && (je = Ot + je), Gt = je - Ot;
20587
20587
  }
20588
20588
  if (i = !!Gt, C.x = K, C.y = vt, C.rotation = Gt, C.setStyle({
20589
20589
  verticalAlign: "middle"
@@ -20682,7 +20682,7 @@ var n3 = (
20682
20682
  }
20683
20683
  }, s, a));
20684
20684
  } else
20685
- Er(o), Pt(o, {
20685
+ Pr(o), Pt(o, {
20686
20686
  shape: v
20687
20687
  }, s, a);
20688
20688
  o.useStyle(t.getItemVisual(a, "style")), ye(o, l);
@@ -21627,7 +21627,7 @@ function C3(r) {
21627
21627
  };
21628
21628
  }
21629
21629
  }
21630
- var wn = Math.PI, D3 = [[1, 2, 1, 2], [5, 3, 5, 3], [8, 3, 8, 3]], A3 = [[0, 1, 0, 1], [0, 3, 0, 3], [0, 3, 0, 3]], ds = xt(), q2 = xt(), K2 = (
21630
+ var Tn = Math.PI, D3 = [[1, 2, 1, 2], [5, 3, 5, 3], [8, 3, 8, 3]], A3 = [[0, 1, 0, 1], [0, 3, 0, 3], [0, 3, 0, 3]], ds = xt(), q2 = xt(), K2 = (
21631
21631
  /** @class */
21632
21632
  function() {
21633
21633
  function r(e) {
@@ -21735,7 +21735,7 @@ var Xe = (
21735
21735
  }), this;
21736
21736
  }, r.innerTextLayout = function(e, t, a) {
21737
21737
  var n = tA(t - e), i, o;
21738
- return Xl(n) ? (o = a > 0 ? "top" : "bottom", i = "center") : Xl(n - wn) ? (o = a > 0 ? "bottom" : "top", i = "center") : (o = "middle", n > 0 && n < wn ? i = a > 0 ? "right" : "left" : i = a > 0 ? "left" : "right"), {
21738
+ return Xl(n) ? (o = a > 0 ? "top" : "bottom", i = "center") : Xl(n - Tn) ? (o = a > 0 ? "bottom" : "top", i = "center") : (o = "middle", n > 0 && n < Tn ? i = a > 0 ? "right" : "left" : i = a > 0 ? "left" : "right"), {
21739
21739
  rotation: n,
21740
21740
  textAlign: i,
21741
21741
  textVerticalAlign: o
@@ -21852,9 +21852,9 @@ var Xe = (
21852
21852
  var v = r.nameLocation, h = r.nameDirection, c = a.getModel("nameTextStyle"), p = a.get("nameGap") || 0, d = a.axis.getExtent(), g = a.axis.inverse ? -1 : 1, y = new st(0, 0), m = new st(0, 0);
21853
21853
  v === "start" ? (y.x = d[0] - g * p, m.x = -g) : v === "end" ? (y.x = d[1] + g * p, m.x = g) : (y.x = (d[0] + d[1]) / 2, y.y = r.labelOffset + h * p, m.y = h);
21854
21854
  var _ = Le();
21855
- m.transform(Gn(_, _, r.rotation));
21855
+ m.transform(Fn(_, _, r.rotation));
21856
21856
  var S = a.get("nameRotate");
21857
- S != null && (S = S * wn / 180);
21857
+ S != null && (S = S * Tn / 180);
21858
21858
  var x, b;
21859
21859
  hs(v) ? x = Xe.innerTextLayout(
21860
21860
  r.rotation,
@@ -21917,7 +21917,7 @@ function ob(r, e, t, a, n, i, o, s) {
21917
21917
  }
21918
21918
  function E3(r, e, t, a) {
21919
21919
  var n = tA(t - r), i, o, s = a[0] > a[1], l = e === "start" && !s || e !== "start" && s;
21920
- return Xl(n - wn / 2) ? (o = l ? "bottom" : "top", i = "center") : Xl(n - wn * 1.5) ? (o = l ? "top" : "bottom", i = "center") : (o = "middle", n < wn * 1.5 && n > wn / 2 ? i = l ? "left" : "right" : i = l ? "right" : "left"), {
21920
+ return Xl(n - Tn / 2) ? (o = l ? "bottom" : "top", i = "center") : Xl(n - Tn * 1.5) ? (o = l ? "top" : "bottom", i = "center") : (o = "middle", n < Tn * 1.5 && n > Tn / 2 ? i = l ? "left" : "right" : i = l ? "right" : "left"), {
21921
21921
  rotation: n,
21922
21922
  textAlign: i,
21923
21923
  textVerticalAlign: o
@@ -22036,7 +22036,7 @@ function O3(r, e, t, a, n, i) {
22036
22036
  my(e, [], l, u);
22037
22037
  return;
22038
22038
  }
22039
- var f = n.getModel("axisLabel"), v = o.getViewLabels(u), h = (de(r.raw.labelRotate, f.get("rotate")) || 0) * wn / 180, c = Xe.innerTextLayout(r.rotation, h, r.labelDirection), p = n.getCategories && n.getCategories(!0), d = [], g = n.get("triggerEvent"), y = 1 / 0, m = -1 / 0;
22039
+ var f = n.getModel("axisLabel"), v = o.getViewLabels(u), h = (de(r.raw.labelRotate, f.get("rotate")) || 0) * Tn / 180, c = Xe.innerTextLayout(r.rotation, h, r.labelDirection), p = n.getCategories && n.getCategories(!0), d = [], g = n.get("triggerEvent"), y = 1 / 0, m = -1 / 0;
22040
22040
  D(v, function(S, x) {
22041
22041
  var b, w = o.scale.type === "ordinal" ? o.scale.getRawOrdinalNumber(S.tickValue) : S.tickValue, T = S.formattedLabel, C = S.rawLabel, A = f;
22042
22042
  if (p && p[w]) {
@@ -23081,7 +23081,7 @@ var dH = (
23081
23081
  points: s.getItemLayout(h)
23082
23082
  }
23083
23083
  };
23084
- m.shape.points && (f(d.shape.points, m.shape.points, y, s, h, !1), Er(g), Er(d), Pt(d, m, t), Pt(g, m, t), s.setItemGraphicEl(h, p));
23084
+ m.shape.points && (f(d.shape.points, m.shape.points, y, s, h, !1), Pr(g), Pr(d), Pt(d, m, t), Pt(g, m, t), s.setItemGraphicEl(h, p));
23085
23085
  }).remove(function(h) {
23086
23086
  o.remove(l.getItemGraphicEl(h));
23087
23087
  }).execute(), s.eachItemGraphicEl(function(h, c) {
@@ -23367,7 +23367,7 @@ var yH = (
23367
23367
  }
23368
23368
  var L = l.getLineStyle(), E = u.getAreaStyle();
23369
23369
  D(y, function(N, P) {
23370
- this.group.add(Cr(N, {
23370
+ this.group.add(Dr(N, {
23371
23371
  style: lt({
23372
23372
  stroke: "none",
23373
23373
  fill: d[P % d.length]
@@ -23375,7 +23375,7 @@ var yH = (
23375
23375
  silent: !0
23376
23376
  }));
23377
23377
  }, this), D(g, function(N, P) {
23378
- this.group.add(Cr(N, {
23378
+ this.group.add(Dr(N, {
23379
23379
  style: lt({
23380
23380
  fill: "none",
23381
23381
  stroke: p[P % p.length]
@@ -23635,7 +23635,7 @@ var uo = (
23635
23635
  }, e.prototype._checkTriggerMoveZoom = function(t, a, n, i, o) {
23636
23636
  t._checkPointer(i, o.originX, o.originY) && (Ya(i.event), i.__ecRoamConsumed = !0, Sb(t, a, n, i, o));
23637
23637
  }, e;
23638
- }(Pr)
23638
+ }(Nr)
23639
23639
  );
23640
23640
  function el(r) {
23641
23641
  return r.__ecRoamConsumed;
@@ -23995,7 +23995,7 @@ function Db(r, e) {
23995
23995
  var o = i.stopColor || t.getAttribute("stop-color") || "#000000", s = i.stopOpacity || t.getAttribute("stop-opacity");
23996
23996
  if (s) {
23997
23997
  var l = ar(o), u = l && l[3];
23998
- u && (l[3] *= An(s), o = ga(l, "rgba"));
23998
+ u && (l[3] *= Mn(s), o = ga(l, "rgba"));
23999
23999
  }
24000
24000
  e.colorStops.push({
24001
24001
  offset: n,
@@ -24056,7 +24056,7 @@ var EH = /^url\(\s*#(.*?)\)/;
24056
24056
  function Mb(r, e, t, a) {
24057
24057
  var n = t && t.match(EH);
24058
24058
  if (n) {
24059
- var i = Ar(n[1]);
24059
+ var i = Mr(n[1]);
24060
24060
  a.push([r, e, i]);
24061
24061
  return;
24062
24062
  }
@@ -24091,7 +24091,7 @@ function kH(r, e) {
24091
24091
  gm(n, n, [parseFloat(l[0]), parseFloat(l[1] || l[0])]);
24092
24092
  break;
24093
24093
  case "rotate":
24094
- Gn(n, n, -parseFloat(l[0]) * Yp, [
24094
+ Fn(n, n, -parseFloat(l[0]) * Yp, [
24095
24095
  parseFloat(l[1] || "0"),
24096
24096
  parseFloat(l[2] || "0")
24097
24097
  ]);
@@ -24246,9 +24246,9 @@ function FH(r) {
24246
24246
  };
24247
24247
  }
24248
24248
  var wy = [126, 25], Ib = "南海诸岛", _i = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];
24249
- for (var gi = 0; gi < _i.length; gi++)
24250
- for (var Lo = 0; Lo < _i[gi].length; Lo++)
24251
- _i[gi][Lo][0] /= 10.5, _i[gi][Lo][1] /= -10.5 / 0.75, _i[gi][Lo][0] += wy[0], _i[gi][Lo][1] += wy[1];
24249
+ for (var yi = 0; yi < _i.length; yi++)
24250
+ for (var Lo = 0; Lo < _i[yi].length; Lo++)
24251
+ _i[yi][Lo][0] /= 10.5, _i[yi][Lo][1] /= -10.5 / 0.75, _i[yi][Lo][0] += wy[0], _i[yi][Lo][1] += wy[1];
24252
24252
  function HH(r, e) {
24253
24253
  if (r === "china") {
24254
24254
  for (var t = 0; t < e.length; t++)
@@ -24518,7 +24518,7 @@ var yI = (
24518
24518
  var n = this._svgDispatcherMap = Q(), i = !1;
24519
24519
  D(this._svgGraphicRecord.named, function(o) {
24520
24520
  var s = o.name, l = e.mapOrGeoModel, u = e.data, f = o.svgNodeTagLower, v = o.el, h = u ? u.indexOfName(s) : null, c = l.getRegionModel(s);
24521
- jH.get(f) != null && v instanceof Ir && Pb(e, v, h, c), v instanceof Ir && (v.culling = !0);
24521
+ jH.get(f) != null && v instanceof Er && Pb(e, v, h, c), v instanceof Er && (v.culling = !0);
24522
24522
  var p = c.get("silent", !0);
24523
24523
  if (p != null && (v.silent = p), v.z2EmphasisLift = 0, !o.namedFrom && (QH.get(f) != null && Nb(e, v, s, c, l, h, null), Rb(e, v, s, c, l, h), kb(e, v, s, c, l), JH.get(f) != null)) {
24524
24524
  var d = Ob(e, v, s, c, l);
@@ -25146,7 +25146,7 @@ function Fb(r, e) {
25146
25146
  var f = function(x, b, w, T) {
25147
25147
  for (var C = w - x, A = T - b, M = 0; M <= 100; M++) {
25148
25148
  var I = M / 100, L = i.project([x + C * I, b + A * I]);
25149
- mn(a, a, L), _n(n, n, L);
25149
+ _n(a, a, L), Sn(n, n, L);
25150
25150
  }
25151
25151
  };
25152
25152
  f(o, s, l, s), f(l, s, l, u), f(l, u, o, u), f(o, u, l, s);
@@ -25744,7 +25744,7 @@ function Yb(r, e, t, a, n) {
25744
25744
  var i = e.tree.root, o = xI(i, r), s = o.source, l = o.sourceLayout, u = e.getItemGraphicEl(r.dataIndex);
25745
25745
  if (u) {
25746
25746
  var f = e.getItemGraphicEl(s.dataIndex), v = f.__edge, h = u.__edge || (s.isExpand === !1 || s.children.length === 1 ? v : void 0), c = a.get("edgeShape"), p = a.get("layout"), d = a.get("orient"), g = a.get(["lineStyle", "curveness"]);
25747
- h && (c === "curve" ? Rn(h, {
25747
+ h && (c === "curve" ? kn(h, {
25748
25748
  shape: Cy(p, d, g, l, l),
25749
25749
  style: {
25750
25750
  opacity: 0
@@ -25754,7 +25754,7 @@ function Yb(r, e, t, a, n) {
25754
25754
  t.remove(h);
25755
25755
  },
25756
25756
  removeOpt: n
25757
- }) : c === "polyline" && a.get("layout") === "orthogonal" && Rn(h, {
25757
+ }) : c === "polyline" && a.get("layout") === "orthogonal" && kn(h, {
25758
25758
  shape: {
25759
25759
  parentPoint: [l.x, l.y],
25760
25760
  childPoints: [[l.x, l.y]]
@@ -25783,7 +25783,7 @@ function Zb(r, e, t, a, n) {
25783
25783
  duration: n.get("animationDurationUpdate"),
25784
25784
  easing: n.get("animationEasingUpdate")
25785
25785
  };
25786
- Rn(t, {
25786
+ kn(t, {
25787
25787
  x: s.x + 1,
25788
25788
  y: s.y + 1
25789
25789
  }, n, {
@@ -25826,7 +25826,7 @@ function Cy(r, e, t, a, n) {
25826
25826
  cpy2: l
25827
25827
  };
25828
25828
  }
25829
- var Lr = xt();
25829
+ var Ir = xt();
25830
25830
  function bI(r) {
25831
25831
  var e = r.mainData, t = r.datas;
25832
25832
  t || (t = {
@@ -25843,45 +25843,45 @@ function bI(r) {
25843
25843
  }
25844
25844
  function T4(r, e) {
25845
25845
  if (L4(this)) {
25846
- var t = G({}, Lr(this).datas);
25846
+ var t = G({}, Ir(this).datas);
25847
25847
  t[this.dataType] = e, wI(e, t, r);
25848
25848
  } else
25849
- P0(e, this.dataType, Lr(this).mainData, r);
25849
+ P0(e, this.dataType, Ir(this).mainData, r);
25850
25850
  return e;
25851
25851
  }
25852
25852
  function C4(r, e) {
25853
25853
  return r.struct && r.struct.update(), e;
25854
25854
  }
25855
25855
  function D4(r, e) {
25856
- return D(Lr(e).datas, function(t, a) {
25856
+ return D(Ir(e).datas, function(t, a) {
25857
25857
  t !== e && P0(t.cloneShallow(), a, e, r);
25858
25858
  }), e;
25859
25859
  }
25860
25860
  function A4(r) {
25861
- var e = Lr(this).mainData;
25862
- return r == null || e == null ? e : Lr(e).datas[r];
25861
+ var e = Ir(this).mainData;
25862
+ return r == null || e == null ? e : Ir(e).datas[r];
25863
25863
  }
25864
25864
  function M4() {
25865
- var r = Lr(this).mainData;
25865
+ var r = Ir(this).mainData;
25866
25866
  return r == null ? [{
25867
25867
  data: r
25868
- }] : U(Ct(Lr(r).datas), function(e) {
25868
+ }] : U(Ct(Ir(r).datas), function(e) {
25869
25869
  return {
25870
25870
  type: e,
25871
- data: Lr(r).datas[e]
25871
+ data: Ir(r).datas[e]
25872
25872
  };
25873
25873
  });
25874
25874
  }
25875
25875
  function L4(r) {
25876
- return Lr(r).mainData === r;
25876
+ return Ir(r).mainData === r;
25877
25877
  }
25878
25878
  function wI(r, e, t) {
25879
- Lr(r).datas = {}, D(e, function(a, n) {
25879
+ Ir(r).datas = {}, D(e, function(a, n) {
25880
25880
  P0(a, n, r, t);
25881
25881
  });
25882
25882
  }
25883
25883
  function P0(r, e, t, a) {
25884
- Lr(t).datas[e] = r, Lr(r).mainData = t, r.dataType = e, a.struct && (r[a.structAttr] = a.struct, a.struct[a.datasAttr[e]] = r), r.getLinkedData = A4, r.getLinkedDataAll = M4;
25884
+ Ir(t).datas[e] = r, Ir(r).mainData = t, r.dataType = e, a.struct && (r[a.structAttr] = a.struct, a.struct[a.datasAttr[e]] = r), r.getLinkedData = A4, r.getLinkedDataAll = M4;
25885
25885
  }
25886
25886
  var I4 = (
25887
25887
  /** @class */
@@ -26932,10 +26932,10 @@ function J4(r, e, t, a, n, i, o, s, l, u) {
26932
26932
  I && z(M, I, x && f.upperLabelHeight);
26933
26933
  var L = h.getModel("emphasis"), E = L.get("focus"), N = L.get("blurScope"), P = L.get("disabled"), k = E === "ancestor" ? o.getAncestorsIndices() : E === "descendant" ? o.getDescendantIndices() : E;
26934
26934
  if (x)
26935
- Nn(M) && Ii(M, !1), I && (Ii(I, !P), v.setItemGraphicEl(o.dataIndex, I), Ig(I, k, N));
26935
+ Rn(M) && Ii(M, !1), I && (Ii(I, !P), v.setItemGraphicEl(o.dataIndex, I), Ig(I, k, N));
26936
26936
  else {
26937
26937
  var R = vt("content", qb, u, K4);
26938
- R && F(M, R), I.disableMorphing = !0, I && Nn(I) && Ii(I, !1), Ii(M, !P), v.setItemGraphicEl(o.dataIndex, M);
26938
+ R && F(M, R), I.disableMorphing = !0, I && Rn(I) && Ii(I, !1), Ii(M, !P), v.setItemGraphicEl(o.dataIndex, M);
26939
26939
  var V = h.getShallow("cursor");
26940
26940
  V && R.attr("cursor", V), Ig(M, k, N);
26941
26941
  }
@@ -27018,10 +27018,10 @@ function J4(r, e, t, a, n, i, o, s, l, u) {
27018
27018
  tt && (ht.setTextConfig({
27019
27019
  layoutRect: tt
27020
27020
  }), Ot.disableLabelLayout = !0), Ot.beforeUpdate = function() {
27021
- var je = Math.max((tt ? tt.width : ht.shape.width) - Se[1] - Se[3], 0), Un = Math.max((tt ? tt.height : ht.shape.height) - Se[0] - Se[2], 0);
27022
- (Gt.width !== je || Gt.height !== Un) && Ot.setStyle({
27021
+ var je = Math.max((tt ? tt.width : ht.shape.width) - Se[1] - Se[3], 0), Yn = Math.max((tt ? tt.height : ht.shape.height) - Se[0] - Se[2], 0);
27022
+ (Gt.width !== je || Gt.height !== Yn) && Ot.setStyle({
27023
27023
  width: je,
27024
- height: Un
27024
+ height: Yn
27025
27025
  });
27026
27026
  }, Gt.truncateMinChar = 2, Gt.lineOverflow = "truncate", K(Gt, tt, f);
27027
27027
  var nr = Ot.getState("emphasis");
@@ -27037,7 +27037,7 @@ function J4(r, e, t, a, n, i, o, s, l, u) {
27037
27037
  }
27038
27038
  function vt(ht, rt, dt, tt) {
27039
27039
  var ct = m != null && t[ht][m], zt = n[ht];
27040
- return ct ? (t[ht][m] = null, Et(zt, ct)) : g || (ct = new rt(), ct instanceof Ir && (ct.z2 = Q4(dt, tt)), Vt(zt, ct)), e[ht][y] = ct;
27040
+ return ct ? (t[ht][m] = null, Et(zt, ct)) : g || (ct = new rt(), ct instanceof Er && (ct.z2 = Q4(dt, tt)), Vt(zt, ct)), e[ht][y] = ct;
27041
27041
  }
27042
27042
  function Et(ht, rt) {
27043
27043
  var dt = ht[y] = {};
@@ -27160,13 +27160,13 @@ var fu = D, tW = it, lh = -1, we = (
27160
27160
  }
27161
27161
  },
27162
27162
  colorHue: Af(function(e, t) {
27163
- return Mn(e, t);
27163
+ return Ln(e, t);
27164
27164
  }),
27165
27165
  colorSaturation: Af(function(e, t) {
27166
- return Mn(e, null, t);
27166
+ return Ln(e, null, t);
27167
27167
  }),
27168
27168
  colorLightness: Af(function(e, t) {
27169
- return Mn(e, null, null, t);
27169
+ return Ln(e, null, null, t);
27170
27170
  }),
27171
27171
  colorAlpha: Af(function(e, t) {
27172
27172
  return xv(e, t);
@@ -27361,11 +27361,11 @@ function ew(r) {
27361
27361
  var e = Kp(r, "color");
27362
27362
  if (e) {
27363
27363
  var t = Kp(r, "colorAlpha"), a = Kp(r, "colorSaturation");
27364
- return a && (e = Mn(e, null, null, a)), t && (e = xv(e, t)), e;
27364
+ return a && (e = Ln(e, null, null, a)), t && (e = xv(e, t)), e;
27365
27365
  }
27366
27366
  }
27367
27367
  function sW(r, e) {
27368
- return e != null ? Mn(e, null, null, r) : null;
27368
+ return e != null ? Ln(e, null, null, r) : null;
27369
27369
  }
27370
27370
  function Kp(r, e) {
27371
27371
  var t = r[e];
@@ -28294,7 +28294,7 @@ var z0 = (
28294
28294
  }, r.prototype.remove = function() {
28295
28295
  this.group.removeAll();
28296
28296
  }, r.prototype.eachRendered = function(e) {
28297
- Fn(this._progressiveEls || this.group, e);
28297
+ Hn(this._progressiveEls || this.group, e);
28298
28298
  }, r.prototype._doAdd = function(e, t, a) {
28299
28299
  var n = e.getItemLayout(t);
28300
28300
  if (rd(n)) {
@@ -29091,7 +29091,7 @@ var dw = (
29091
29091
  g.setShape(d);
29092
29092
  return;
29093
29093
  }
29094
- o ? (g.setShape(d), gw(g, l, t, h)) : (Er(g), gw(g, l, t, h), Pt(g, {
29094
+ o ? (g.setShape(d), gw(g, l, t, h)) : (Pr(g), gw(g, l, t, h), Pt(g, {
29095
29095
  shape: d
29096
29096
  }, s, n)), qt(this, p === "adjacency" ? l.getAdjacentDataIndices() : p, c.get("blurScope"), c.get("disabled")), ye(g, v, "lineStyle"), a.setItemGraphicEl(l.dataIndex, g);
29097
29097
  }, e;
@@ -29832,7 +29832,7 @@ var rU = ["itemStyle", "opacity"], aU = (
29832
29832
  }
29833
29833
  return e.prototype.updateData = function(t, a, n) {
29834
29834
  var i = this, o = t.hostModel, s = t.getItemModel(a), l = t.getItemLayout(a), u = s.getModel("emphasis"), f = s.get(rU);
29835
- f = f ?? 1, n || Er(i), i.useStyle(t.getItemVisual(a, "style")), i.style.lineJoin = "round", n ? (i.setShape({
29835
+ f = f ?? 1, n || Pr(i), i.useStyle(t.getItemVisual(a, "style")), i.style.lineJoin = "round", n ? (i.setShape({
29836
29836
  points: l.points
29837
29837
  }), i.style.opacity = 0, Zt(i, {
29838
29838
  style: {
@@ -30104,7 +30104,7 @@ var fU = 0.3, vU = (
30104
30104
  shape: {
30105
30105
  points: _
30106
30106
  }
30107
- }, t, g), Er(m), ud(m, s, g, v);
30107
+ }, t, g), Pr(m), ud(m, s, g, v);
30108
30108
  }
30109
30109
  function p(g) {
30110
30110
  var y = l.getItemGraphicEl(g);
@@ -30404,7 +30404,7 @@ var CU = (
30404
30404
  }, e;
30405
30405
  }(qr)
30406
30406
  );
30407
- function Vn(r, e, t, a, n, i) {
30407
+ function Bn(r, e, t, a, n, i) {
30408
30408
  r = r || 0;
30409
30409
  var o = t[1] - t[0];
30410
30410
  if (n != null && (n = No(n, [0, o])), i != null && (i = Math.max(i, n ?? 0)), a === "all") {
@@ -30509,7 +30509,7 @@ var hd = D, UI = Math.min, YI = Math.max, _w = Math.floor, AU = Math.ceil, Sw =
30509
30509
  horizontal: MU / 2,
30510
30510
  vertical: 0
30511
30511
  }, v = [u[i].x + e.x, u[i].y + e.y], h = f[i], c = Le();
30512
- Gn(c, c, h), Sa(c, c, v), this._axesLayout[o] = {
30512
+ Fn(c, c, h), Sa(c, c, v), this._axesLayout[o] = {
30513
30513
  position: v,
30514
30514
  rotation: h,
30515
30515
  transform: c,
@@ -30564,7 +30564,7 @@ var hd = D, UI = Math.min, YI = Math.max, _w = Math.floor, AU = Math.ceil, Sw =
30564
30564
  };
30565
30565
  var s = e[a] - t.layoutBase - t.axisExpandWindow0Pos, l, u = "slide", f = t.axisCollapseWidth, v = this._model.get("axisExpandSlideTriggerArea"), h = v[0] != null;
30566
30566
  if (f)
30567
- h && f && s < i * v[0] ? (u = "jump", l = s - i * v[2]) : h && f && s > i * (1 - v[0]) ? (u = "jump", l = s - i * (1 - v[2])) : (l = s - i * v[1]) >= 0 && (l = s - i * (1 - v[1])) <= 0 && (l = 0), l *= t.axisExpandWidth / f, l ? Vn(l, n, o, "all") : u = "none";
30567
+ h && f && s < i * v[0] ? (u = "jump", l = s - i * v[2]) : h && f && s > i * (1 - v[0]) ? (u = "jump", l = s - i * (1 - v[2])) : (l = s - i * v[1]) >= 0 && (l = s - i * (1 - v[1])) <= 0 && (l = 0), l *= t.axisExpandWidth / f, l ? Bn(l, n, o, "all") : u = "none";
30568
30568
  else {
30569
30569
  var c = n[1] - n[0], p = o[1] * s / c;
30570
30570
  n = [YI(0, p - c / 2)], n[1] = UI(o[1], n[0] + c), n[0] = n[1] - c;
@@ -30632,7 +30632,7 @@ var NU = {
30632
30632
  var a = this.activeIntervals = nt(t);
30633
30633
  if (a)
30634
30634
  for (var n = a.length - 1; n >= 0; n--)
30635
- Mr(a[n]);
30635
+ Lr(a[n]);
30636
30636
  }, e.prototype.getActiveState = function(t) {
30637
30637
  var a = this.activeIntervals;
30638
30638
  if (!a.length)
@@ -30746,7 +30746,7 @@ var Ji = !0, cu = Math.min, gs = Math.max, RU = Math.pow, kU = 1e4, OU = 6, VU =
30746
30746
  }, e.prototype.dispose = function() {
30747
30747
  this.unmount(), this.off();
30748
30748
  }, e;
30749
- }(Pr)
30749
+ }(Nr)
30750
30750
  );
30751
30751
  function ZI(r, e) {
30752
30752
  var t = pc[e.brushType].createCover(r, e);
@@ -31555,7 +31555,7 @@ function u6(r, e, t, a, n, i, o, s, l) {
31555
31555
  }
31556
31556
  function f6(r) {
31557
31557
  D(r, function(e) {
31558
- var t = En(e.outEdges, fh), a = En(e.inEdges, fh), n = e.getValue() || 0, i = Math.max(t, a, n);
31558
+ var t = Pn(e.outEdges, fh), a = Pn(e.inEdges, fh), n = e.getValue() || 0, i = Math.max(t, a, n);
31559
31559
  e.setLayout({
31560
31560
  value: i
31561
31561
  }, !0);
@@ -31713,18 +31713,18 @@ function m6(r, e, t) {
31713
31713
  D(r.slice().reverse(), function(a) {
31714
31714
  D(a, function(n) {
31715
31715
  if (n.outEdges.length) {
31716
- var i = En(n.outEdges, _6, t) / En(n.outEdges, fh);
31716
+ var i = Pn(n.outEdges, _6, t) / Pn(n.outEdges, fh);
31717
31717
  if (isNaN(i)) {
31718
31718
  var o = n.outEdges.length;
31719
- i = o ? En(n.outEdges, S6, t) / o : 0;
31719
+ i = o ? Pn(n.outEdges, S6, t) / o : 0;
31720
31720
  }
31721
31721
  if (t === "vertical") {
31722
- var s = n.getLayout().x + (i - Bn(n, t)) * e;
31722
+ var s = n.getLayout().x + (i - zn(n, t)) * e;
31723
31723
  n.setLayout({
31724
31724
  x: s
31725
31725
  }, !0);
31726
31726
  } else {
31727
- var l = n.getLayout().y + (i - Bn(n, t)) * e;
31727
+ var l = n.getLayout().y + (i - zn(n, t)) * e;
31728
31728
  n.setLayout({
31729
31729
  y: l
31730
31730
  }, !0);
@@ -31734,24 +31734,24 @@ function m6(r, e, t) {
31734
31734
  });
31735
31735
  }
31736
31736
  function _6(r, e) {
31737
- return Bn(r.node2, e) * r.getValue();
31737
+ return zn(r.node2, e) * r.getValue();
31738
31738
  }
31739
31739
  function S6(r, e) {
31740
- return Bn(r.node2, e);
31740
+ return zn(r.node2, e);
31741
31741
  }
31742
31742
  function x6(r, e) {
31743
- return Bn(r.node1, e) * r.getValue();
31743
+ return zn(r.node1, e) * r.getValue();
31744
31744
  }
31745
31745
  function b6(r, e) {
31746
- return Bn(r.node1, e);
31746
+ return zn(r.node1, e);
31747
31747
  }
31748
- function Bn(r, e) {
31748
+ function zn(r, e) {
31749
31749
  return e === "vertical" ? r.getLayout().x + r.getLayout().dx / 2 : r.getLayout().y + r.getLayout().dy / 2;
31750
31750
  }
31751
31751
  function fh(r) {
31752
31752
  return r.getValue();
31753
31753
  }
31754
- function En(r, e, t) {
31754
+ function Pn(r, e, t) {
31755
31755
  for (var a = 0, n = r.length, i = -1; ++i < n; ) {
31756
31756
  var o = +e(r[i], t);
31757
31757
  isNaN(o) || (a += o);
@@ -31762,18 +31762,18 @@ function w6(r, e, t) {
31762
31762
  D(r, function(a) {
31763
31763
  D(a, function(n) {
31764
31764
  if (n.inEdges.length) {
31765
- var i = En(n.inEdges, x6, t) / En(n.inEdges, fh);
31765
+ var i = Pn(n.inEdges, x6, t) / Pn(n.inEdges, fh);
31766
31766
  if (isNaN(i)) {
31767
31767
  var o = n.inEdges.length;
31768
- i = o ? En(n.inEdges, b6, t) / o : 0;
31768
+ i = o ? Pn(n.inEdges, b6, t) / o : 0;
31769
31769
  }
31770
31770
  if (t === "vertical") {
31771
- var s = n.getLayout().x + (i - Bn(n, t)) * e;
31771
+ var s = n.getLayout().x + (i - zn(n, t)) * e;
31772
31772
  n.setLayout({
31773
31773
  x: s
31774
31774
  }, !0);
31775
31775
  } else {
31776
- var l = n.getLayout().y + (i - Bn(n, t)) * e;
31776
+ var l = n.getLayout().y + (i - zn(n, t)) * e;
31777
31777
  n.setLayout({
31778
31778
  y: l
31779
31779
  }, !0);
@@ -31976,7 +31976,7 @@ var A6 = (
31976
31976
  return;
31977
31977
  }
31978
31978
  var h = i.getItemLayout(u);
31979
- v ? (Er(v), fE(h, v, i, u)) : v = Mw(h, i, u, l), o.add(v), i.setItemGraphicEl(u, v);
31979
+ v ? (Pr(v), fE(h, v, i, u)) : v = Mw(h, i, u, l), o.add(v), i.setItemGraphicEl(u, v);
31980
31980
  }).remove(function(u) {
31981
31981
  var f = s.getItemGraphicEl(u);
31982
31982
  f && o.remove(f);
@@ -32107,7 +32107,7 @@ function R6(r, e, t) {
32107
32107
  function k6(r, e) {
32108
32108
  e = e || {};
32109
32109
  for (var t = [], a = [], n = e.boundIQR, i = n === "none" || n === 0, o = 0; o < r.length; o++) {
32110
- var s = Mr(r[o].slice()), l = Gc(s, 0.25), u = Gc(s, 0.5), f = Gc(s, 0.75), v = s[0], h = s[s.length - 1], c = (n ?? 1.5) * (f - l), p = i ? v : Math.max(v, l - c), d = i ? h : Math.min(h, f + c), g = e.itemNameFormatter, y = et(g) ? g({
32110
+ var s = Lr(r[o].slice()), l = Gc(s, 0.25), u = Gc(s, 0.5), f = Gc(s, 0.75), v = s[0], h = s[s.length - 1], c = (n ?? 1.5) * (f - l), p = i ? v : Math.max(v, l - c), d = i ? h : Math.min(h, f + c), g = e.itemNameFormatter, y = et(g) ? g({
32111
32111
  value: o
32112
32112
  }) : X(g) ? g.replace("{value}", o + "") : o + "";
32113
32113
  t.push([y, p, l, u, f, d]);
@@ -32186,7 +32186,7 @@ var W6 = {
32186
32186
  }, e.prototype.incrementalRender = function(t, a, n, i) {
32187
32187
  this._progressiveEls = [], this._isLargeDraw ? this._incrementalRenderLarge(t, a) : this._incrementalRenderNormal(t, a);
32188
32188
  }, e.prototype.eachRendered = function(t) {
32189
- Fn(this._progressiveEls || this.group, t);
32189
+ Hn(this._progressiveEls || this.group, t);
32190
32190
  }, e.prototype._updateDrawMode = function(t) {
32191
32191
  var a = t.pipelineContext.large;
32192
32192
  (this._isLargeDraw == null || a !== this._isLargeDraw) && (this._isLargeDraw = a, this._clear());
@@ -32219,7 +32219,7 @@ var W6 = {
32219
32219
  shape: {
32220
32220
  points: c.ends
32221
32221
  }
32222
- }, t, f), Er(h)) : h = pd(c), dd(h, a, f, o), i.add(h), a.setItemGraphicEl(f, h);
32222
+ }, t, f), Pr(h)) : h = pd(c), dd(h, a, f, o), i.add(h), a.setItemGraphicEl(f, h);
32223
32223
  }).remove(function(f) {
32224
32224
  var v = n.getItemGraphicEl(f);
32225
32225
  v && i.remove(v);
@@ -32704,7 +32704,7 @@ var hE = (
32704
32704
  }), l.start();
32705
32705
  }
32706
32706
  }, e.prototype._getLineLength = function(t) {
32707
- return yn(t.__p1, t.__cp1) + yn(t.__cp1, t.__p2);
32707
+ return mn(t.__p1, t.__cp1) + mn(t.__cp1, t.__p2);
32708
32708
  }, e.prototype._updateAnimationPoints = function(t, a) {
32709
32709
  t.__p1 = a[0], t.__p2 = a[1], t.__cp1 = a[2] || [(a[0][0] + a[1][0]) / 2, (a[0][1] + a[1][1]) / 2];
32710
32710
  }, e.prototype.updateData = function(t, a, n) {
@@ -32713,7 +32713,7 @@ var hE = (
32713
32713
  var a = t.__p1, n = t.__p2, i = t.__cp1, o = t.__t < 1 ? t.__t : 2 - t.__t, s = [t.x, t.y], l = s.slice(), u = Ae, f = ig;
32714
32714
  s[0] = u(a[0], i[0], n[0], o), s[1] = u(a[1], i[1], n[1], o);
32715
32715
  var v = t.__t < 1 ? f(a[0], i[0], n[0], o) : f(n[0], i[0], a[0], 1 - o), h = t.__t < 1 ? f(a[1], i[1], n[1], o) : f(n[1], i[1], a[1], 1 - o);
32716
- t.rotation = -Math.atan2(h, v) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = yn(l, s) * 1.05, o === 1 && (s[0] = l[0] + (s[0] - l[0]) / 2, s[1] = l[1] + (s[1] - l[1]) / 2)) : t.__lastT === 1 ? t.scaleY = 2 * yn(a, s) : t.scaleY = this._symbolScale[1]), t.__lastT = t.__t, t.ignore = !1, t.x = s[0], t.y = s[1];
32716
+ t.rotation = -Math.atan2(h, v) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = mn(l, s) * 1.05, o === 1 && (s[0] = l[0] + (s[0] - l[0]) / 2, s[1] = l[1] + (s[1] - l[1]) / 2)) : t.__lastT === 1 ? t.scaleY = 2 * mn(a, s) : t.scaleY = this._symbolScale[1]), t.__lastT = t.__t, t.ignore = !1, t.x = s[0], t.y = s[1];
32717
32717
  }, e.prototype.updateLayout = function(t, a) {
32718
32718
  this.childAt(0).updateLayout(t, a);
32719
32719
  var n = t.getItemModel(a).getModel("effect");
@@ -32770,7 +32770,7 @@ var hE = (
32770
32770
  this._points = a;
32771
32771
  for (var n = [0], i = 0, o = 1; o < a.length; o++) {
32772
32772
  var s = a[o - 1], l = a[o];
32773
- i += yn(s, l), n.push(i);
32773
+ i += mn(s, l), n.push(i);
32774
32774
  }
32775
32775
  if (i === 0) {
32776
32776
  this._length = 0;
@@ -32856,7 +32856,7 @@ var hE = (
32856
32856
  if (f > 0)
32857
32857
  for (var v = i[u++], h = i[u++], c = 1; c < f; c++) {
32858
32858
  var p = i[u++], d = i[u++];
32859
- if (dn(v, h, p, d, s, t, a))
32859
+ if (gn(v, h, p, d, s, t, a))
32860
32860
  return l;
32861
32861
  }
32862
32862
  l++;
@@ -32868,7 +32868,7 @@ var hE = (
32868
32868
  var g = (v + p) / 2 - (h - d) * o, y = (h + d) / 2 - (p - v) * o;
32869
32869
  if (yA(v, h, g, y, p, d, s, t, a))
32870
32870
  return l;
32871
- } else if (dn(v, h, p, d, s, t, a))
32871
+ } else if (gn(v, h, p, d, s, t, a))
32872
32872
  return l;
32873
32873
  l++;
32874
32874
  }
@@ -33311,9 +33311,9 @@ var m8 = (
33311
33311
  var o = a.coordinateSystem;
33312
33312
  o && (Rw(o) ? this.render(a, n, i) : (this._progressiveEls = [], this._renderOnGridLike(a, i, t.start, t.end, !0)));
33313
33313
  }, e.prototype.eachRendered = function(t) {
33314
- Fn(this._progressiveEls || this.group, t);
33314
+ Hn(this._progressiveEls || this.group, t);
33315
33315
  }, e.prototype._renderOnGridLike = function(t, a, n, i, o) {
33316
- var s = t.coordinateSystem, l = On(s, "cartesian2d"), u = On(s, "matrix"), f, v, h, c;
33316
+ var s = t.coordinateSystem, l = Vn(s, "cartesian2d"), u = Vn(s, "matrix"), f, v, h, c;
33317
33317
  if (l) {
33318
33318
  var p = s.getAxis("x"), d = s.getAxis("y");
33319
33319
  if (process.env.NODE_ENV !== "production") {
@@ -33695,7 +33695,7 @@ function zw(r, e, t, a) {
33695
33695
  j0(a, function(o) {
33696
33696
  i.push(o);
33697
33697
  }), a.__pictorialMainPath && i.push(a.__pictorialMainPath), a.__pictorialClipPath && (t = null), D(i, function(o) {
33698
- Rn(o, {
33698
+ kn(o, {
33699
33699
  scaleX: 0,
33700
33700
  scaleY: 0
33701
33701
  }, t, e, function() {
@@ -33756,7 +33756,7 @@ var I8 = (
33756
33756
  }
33757
33757
  return e.prototype.getInitialData = function(t) {
33758
33758
  return t.stack = null, r.prototype.getInitialData.apply(this, arguments);
33759
- }, e.type = "series.pictorialBar", e.dependencies = ["grid"], e.defaultOption = Hn(su.defaultOption, {
33759
+ }, e.type = "series.pictorialBar", e.dependencies = ["grid"], e.defaultOption = Wn(su.defaultOption, {
33760
33760
  symbol: "circle",
33761
33761
  symbolSize: null,
33762
33762
  symbolRotate: null,
@@ -33839,7 +33839,7 @@ var P8 = (
33839
33839
  points: S,
33840
33840
  stackedOnPoints: x
33841
33841
  }
33842
- }, t), Er(L);
33842
+ }, t), Pr(L);
33843
33843
  }
33844
33844
  Te(L, me(t), {
33845
33845
  labelDataIndex: w[T - 1],
@@ -34086,7 +34086,7 @@ var B8 = 2, z8 = 4, Ww = (
34086
34086
  }
34087
34087
  }, n, a.dataIndex)) : (Pt(s, {
34088
34088
  shape: v
34089
- }, n), Er(s)), s.useStyle(h), this._updateLabel(n);
34089
+ }, n), Pr(s)), s.useStyle(h), this._updateLabel(n);
34090
34090
  var d = l.getShallow("cursor");
34091
34091
  d && s.attr("cursor", d), this._seriesModel = n || this._seriesModel, this._ecModel = i || this._ecModel;
34092
34092
  var g = u.get("focus"), y = g === "relative" ? Wl(a.getAncestorsIndices(), a.getDescendantIndices()) : g === "ancestor" ? a.getAncestorsIndices() : g === "descendant" ? a.getDescendantIndices() : g;
@@ -34796,7 +34796,7 @@ function s7(r, e, t, a, n) {
34796
34796
  }
34797
34797
  }
34798
34798
  function l7(r, e) {
34799
- q(e, "silent") && (r.silent = e.silent), q(e, "ignore") && (r.ignore = e.ignore), r instanceof Ir && q(e, "invisible") && (r.invisible = e.invisible), r instanceof wt && q(e, "autoBatch") && (r.autoBatch = e.autoBatch);
34799
+ q(e, "silent") && (r.silent = e.silent), q(e, "ignore") && (r.ignore = e.ignore), r instanceof Er && q(e, "invisible") && (r.invisible = e.invisible), r instanceof wt && q(e, "autoBatch") && (r.autoBatch = e.autoBatch);
34800
34800
  }
34801
34801
  var aa = {}, u7 = {
34802
34802
  // Usually other props do not need to be changed in animation during.
@@ -34988,7 +34988,7 @@ function ch(r, e, t) {
34988
34988
  }
34989
34989
  }
34990
34990
  }
34991
- var Ha = "emphasis", Tn = "normal", Q0 = "blur", t_ = "select", zn = [Tn, Ha, Q0, t_], bd = {
34991
+ var Ha = "emphasis", Cn = "normal", Q0 = "blur", t_ = "select", Gn = [Cn, Ha, Q0, t_], bd = {
34992
34992
  normal: ["itemStyle"],
34993
34993
  emphasis: [Ha, "itemStyle"],
34994
34994
  blur: [Q0, "itemStyle"],
@@ -35015,7 +35015,7 @@ function ph(r) {
35015
35015
  return r instanceof wt;
35016
35016
  }
35017
35017
  function zy(r) {
35018
- return r instanceof Ir;
35018
+ return r instanceof Er;
35019
35019
  }
35020
35020
  function m7(r, e) {
35021
35021
  e.copyTransform(r), zy(e) && zy(r) && (e.setStyle(r.style), e.z = r.z, e.z2 = r.z2, e.zlevel = r.zlevel, e.invisible = r.invisible, e.ignore = r.ignore, ph(e) && ph(r) && e.setShape(r.shape));
@@ -35054,7 +35054,7 @@ var _7 = (
35054
35054
  h && (h.traverse(f), u.push(h));
35055
35055
  }
35056
35056
  }, e.prototype.eachRendered = function(t) {
35057
- Fn(this._progressiveEls || this.group, t);
35057
+ Hn(this._progressiveEls || this.group, t);
35058
35058
  }, e.prototype.filterForExposedEvent = function(t, a, n, i) {
35059
35059
  var o = a.element;
35060
35060
  if (o == null || n.name === o)
@@ -35154,12 +35154,12 @@ function S7(r, e, t) {
35154
35154
  a.z = n, a.zlevel = i;
35155
35155
  var o = e.z2;
35156
35156
  o != null && (a.z2 = o || 0);
35157
- for (var s = 0; s < zn.length; s++)
35158
- x7(a, e, zn[s]);
35157
+ for (var s = 0; s < Gn.length; s++)
35158
+ x7(a, e, Gn[s]);
35159
35159
  }
35160
35160
  }
35161
35161
  function x7(r, e, t) {
35162
- var a = t === Tn, n = a ? e : dh(e, t), i = n ? n.z2 : null, o;
35162
+ var a = t === Cn, n = a ? e : dh(e, t), i = n ? n.z2 : null, o;
35163
35163
  i != null && (o = a ? r : r.ensureState(t), o.z2 = i || 0);
35164
35164
  }
35165
35165
  function rT(r, e, t, a) {
@@ -35196,8 +35196,8 @@ function rT(r, e, t, a) {
35196
35196
  dataInsideLength: e.count(),
35197
35197
  encode: b7(r.getData()),
35198
35198
  itemPayload: r.get("itemPayload") || {}
35199
- }, f, v, h = {}, c = {}, p = {}, d = {}, g = 0; g < zn.length; g++) {
35200
- var y = zn[g];
35199
+ }, f, v, h = {}, c = {}, p = {}, d = {}, g = 0; g < Gn.length; g++) {
35200
+ var y = Gn[g];
35201
35201
  p[y] = r.getModel(bd[y]), d[y] = r.getModel(wd[y]);
35202
35202
  }
35203
35203
  function m(N) {
@@ -35232,19 +35232,19 @@ function rT(r, e, t, a) {
35232
35232
  }
35233
35233
  function w(N, P) {
35234
35234
  process.env.NODE_ENV !== "production" && jw("api.style", "Please write literal style directly instead."), P == null && (P = f);
35235
- var k = e.getItemVisual(P, "style"), R = k && k.fill, V = k && k.opacity, z = _(P, Tn).getItemStyle();
35235
+ var k = e.getItemVisual(P, "style"), R = k && k.fill, V = k && k.opacity, z = _(P, Cn).getItemStyle();
35236
35236
  R != null && (z.fill = R), V != null && (z.opacity = V);
35237
35237
  var F = {
35238
35238
  inheritColor: X(R) ? R : O.color.neutral99
35239
- }, H = S(P, Tn), Y = Wt(H, null, F, !1, !0);
35240
- Y.text = H.getShallow("show") ? J(r.getFormattedLabel(P, Tn), cs(e, P)) : null;
35239
+ }, H = S(P, Cn), Y = Wt(H, null, F, !1, !0);
35240
+ Y.text = H.getShallow("show") ? J(r.getFormattedLabel(P, Cn), cs(e, P)) : null;
35241
35241
  var K = Nv(H, F, !1);
35242
35242
  return A(N, z), z = qw(z, Y, K), N && C(z, N), z.legacy = !0, z;
35243
35243
  }
35244
35244
  function T(N, P) {
35245
35245
  process.env.NODE_ENV !== "production" && jw("api.styleEmphasis", "Please write literal style directly instead."), P == null && (P = f);
35246
35246
  var k = _(P, Ha).getItemStyle(), R = S(P, Ha), V = Wt(R, null, null, !0, !0);
35247
- V.text = R.getShallow("show") ? Ye(r.getFormattedLabel(P, Ha), r.getFormattedLabel(P, Tn), cs(e, P)) : null;
35247
+ V.text = R.getShallow("show") ? Ye(r.getFormattedLabel(P, Ha), r.getFormattedLabel(P, Cn), cs(e, P)) : null;
35248
35248
  var z = Nv(R, null, !0);
35249
35249
  return A(N, k), k = qw(k, V, z), N && C(k, N), k.legacy = !0, k;
35250
35250
  }
@@ -35302,9 +35302,9 @@ function a_(r, e, t, a, n, i) {
35302
35302
  e && EE(e, a, n) && (o = yt(i.childrenRef(), e), e = null);
35303
35303
  var l = !e, u = e;
35304
35304
  u ? u.clearStates() : (u = e_(a), s && m7(s, u)), a.morph === !1 ? u.disableMorphing = !0 : u.disableMorphing && (u.disableMorphing = !1), a.tooltipDisabled && (u.tooltipDisabled = !0), yr.normal.cfg = yr.normal.conOpt = yr.emphasis.cfg = yr.emphasis.conOpt = yr.blur.cfg = yr.blur.conOpt = yr.select.cfg = yr.select.conOpt = null, yr.isLegacy = !1, T7(u, t, a, n, l, yr), w7(u, t, a, n, l), r_(r, u, t, a, yr, n, l), q(a, "info") && (Fa(u).info = a.info);
35305
- for (var f = 0; f < zn.length; f++) {
35306
- var v = zn[f];
35307
- if (v !== Tn) {
35305
+ for (var f = 0; f < Gn.length; f++) {
35306
+ var v = Gn[f];
35307
+ if (v !== Cn) {
35308
35308
  var h = dh(a, v), c = n_(a, h, v);
35309
35309
  IE(v, u, h, c, yr);
35310
35310
  }
@@ -35340,9 +35340,9 @@ function T7(r, e, t, a, n, i) {
35340
35340
  o = i.normal.conOpt = o || {
35341
35341
  type: "text"
35342
35342
  }, f ? f.clearStates() : (f = e_(o), r.setTextContent(f)), r_(null, f, e, o, null, a, n);
35343
- for (var v = o && o.style, h = 0; h < zn.length; h++) {
35344
- var c = zn[h];
35345
- if (c !== Tn) {
35343
+ for (var v = o && o.style, h = 0; h < Gn.length; h++) {
35344
+ var c = Gn[h];
35345
+ if (c !== Cn) {
35346
35346
  var p = i[c].conOpt;
35347
35347
  IE(c, f, p, n_(o, p, c), null);
35348
35348
  }
@@ -35658,7 +35658,7 @@ function kE(r, e, t, a, n) {
35658
35658
  }
35659
35659
  function s_(r, e, t) {
35660
35660
  var a = Le();
35661
- return Gn(a, a, t.rotation), Sa(a, a, t.position), Fr([r.dataToCoord(e), (t.labelOffset || 0) + (t.labelDirection || 1) * (t.labelMargin || 0)], a);
35661
+ return Fn(a, a, t.rotation), Sa(a, a, t.position), Fr([r.dataToCoord(e), (t.labelOffset || 0) + (t.labelDirection || 1) * (t.labelMargin || 0)], a);
35662
35662
  }
35663
35663
  function OE(r, e, t, a, n, i) {
35664
35664
  var o = Xe.innerTextLayout(t.rotation, 0, t.labelDirection);
@@ -36173,7 +36173,7 @@ function j7(r, e, t, a, n) {
36173
36173
  var l = a.getRadiusAxis().getExtent(), u, f, v;
36174
36174
  if (i.dim === "radius") {
36175
36175
  var h = Le();
36176
- Gn(h, h, s), Sa(h, h, [a.cx, a.cy]), u = Fr([o, -n], h);
36176
+ Fn(h, h, s), Sa(h, h, [a.cx, a.cy]), u = Fr([o, -n], h);
36177
36177
  var c = e.getModel("axisLabel").get("rotate") || 0, p = Xe.innerTextLayout(s, c * Math.PI / 180, -1);
36178
36178
  f = p.textAlign, v = p.textVerticalAlign;
36179
36179
  } else {
@@ -36525,7 +36525,7 @@ var uY = (
36525
36525
  shape: Nf(t, [l, l + s], f.coord)
36526
36526
  });
36527
36527
  });
36528
- r.add(Cr(u, {
36528
+ r.add(Dr(u, {
36529
36529
  style: lt(o.getModel("lineStyle").getLineStyle(), {
36530
36530
  stroke: e.get(["axisLine", "lineStyle", "color"])
36531
36531
  })
@@ -36538,7 +36538,7 @@ var uY = (
36538
36538
  f.push(new le({
36539
36539
  shape: Nf(t, [u, u + l], n[v][h].coord)
36540
36540
  }));
36541
- r.add(Cr(f, {
36541
+ r.add(Dr(f, {
36542
36542
  style: lt(s.getModel("lineStyle").getLineStyle(), lt(o.getLineStyle(), {
36543
36543
  stroke: e.get(["axisLine", "lineStyle", "color"])
36544
36544
  }))
@@ -36591,7 +36591,7 @@ var uY = (
36591
36591
  }));
36592
36592
  }
36593
36593
  for (var v = 0; v < f.length; v++)
36594
- r.add(Cr(f[v], {
36594
+ r.add(Dr(f[v], {
36595
36595
  style: lt({
36596
36596
  stroke: l[v % l.length]
36597
36597
  }, s.getLineStyle()),
@@ -36606,7 +36606,7 @@ var uY = (
36606
36606
  l.push(new le({
36607
36607
  shape: Nf(t, i, n[u][f].coord)
36608
36608
  }));
36609
- r.add(Cr(l, {
36609
+ r.add(Dr(l, {
36610
36610
  style: s.getLineStyle(),
36611
36611
  silent: !0,
36612
36612
  z: e.get("z")
@@ -36633,7 +36633,7 @@ var uY = (
36633
36633
  })), h = -m * v;
36634
36634
  }
36635
36635
  for (var g = 0; g < f.length; g++)
36636
- r.add(Cr(f[g], {
36636
+ r.add(Dr(f[g], {
36637
36637
  style: lt({
36638
36638
  fill: l[g % l.length]
36639
36639
  }, s.getAreaStyle()),
@@ -36679,7 +36679,7 @@ var uY = (
36679
36679
  }));
36680
36680
  }
36681
36681
  for (var d = 0; d < p.length; d++)
36682
- r.add(Cr(p[d], {
36682
+ r.add(Dr(p[d], {
36683
36683
  style: lt({
36684
36684
  stroke: l[d % l.length],
36685
36685
  fill: null
@@ -36698,7 +36698,7 @@ var uY = (
36698
36698
  r: o[f][v].coord
36699
36699
  }
36700
36700
  }));
36701
- r.add(Cr(u, {
36701
+ r.add(Dr(u, {
36702
36702
  style: lt({
36703
36703
  fill: null
36704
36704
  }, l.getLineStyle()),
@@ -36725,7 +36725,7 @@ var uY = (
36725
36725
  })), v = i[h].coord;
36726
36726
  }
36727
36727
  for (var h = 0; h < f.length; h++)
36728
- r.add(Cr(f[h], {
36728
+ r.add(Dr(f[h], {
36729
36729
  style: lt({
36730
36730
  fill: l[h % l.length]
36731
36731
  }, s.getAreaStyle()),
@@ -36760,7 +36760,7 @@ function dY(r, e, t) {
36760
36760
  if (i.coordinateSystem.type === "polar") {
36761
36761
  var o = i.getData(), s = i.coordinateSystem, l = s.getBaseAxis(), u = HE(s, l), f = FE(i), v = n[u][f], h = v.offset, c = v.width, p = s.getOtherAxis(l), d = i.coordinateSystem.cx, g = i.coordinateSystem.cy, y = i.get("barMinHeight") || 0, m = i.get("barMinAngle") || 0;
36762
36762
  a[f] = a[f] || [];
36763
- for (var _ = o.mapDimension(p.dim), S = o.mapDimension(l.dim), x = kn(
36763
+ for (var _ = o.mapDimension(p.dim), S = o.mapDimension(l.dim), x = On(
36764
36764
  o,
36765
36765
  _
36766
36766
  /* , baseDim */
@@ -36940,7 +36940,7 @@ var xY = ["splitArea", "splitLine", "breakArea"], bY = (
36940
36940
  h[S] = h[S] || [], h[S].push(_);
36941
36941
  }
36942
36942
  for (var x = s.getLineStyle(["color"]), y = 0; y < h.length; ++y)
36943
- e.add(Cr(h[y], {
36943
+ e.add(Dr(h[y], {
36944
36944
  style: lt({
36945
36945
  stroke: l[y % l.length]
36946
36946
  }, x),
@@ -37832,7 +37832,7 @@ var LT = (
37832
37832
  }, r.prototype.shouldShow = function() {
37833
37833
  return !!this._model.getShallow("show", !0);
37834
37834
  }, r.prototype.resetLayoutIterator = function(e, t, a, n) {
37835
- if (e = e || new Ln(), t === this.dimIdx) {
37835
+ if (e = e || new In(), t === this.dimIdx) {
37836
37836
  var i = this._leavesCount, o = a != null ? Math.max(0, a) : 0;
37837
37837
  n = n != null ? Math.min(n, i) : i, e.reset(this._cells, o, o + n);
37838
37838
  } else {
@@ -37841,9 +37841,9 @@ var LT = (
37841
37841
  }
37842
37842
  return e;
37843
37843
  }, r.prototype.resetCellIterator = function(e) {
37844
- return (e || new Ln()).reset(this._cells, 0);
37844
+ return (e || new In()).reset(this._cells, 0);
37845
37845
  }, r.prototype.resetLevelIterator = function(e) {
37846
- return (e || new Ln()).reset(this._levels, 0);
37846
+ return (e || new In()).reset(this._levels, 0);
37847
37847
  }, r.prototype.getLayout = function(e, t, a) {
37848
37848
  var n = this.getUnitLayoutInfo(t, a);
37849
37849
  e[pt[t]] = n ? n.xy : NaN, e[fe[t]] = n ? n.wh : NaN;
@@ -38119,7 +38119,7 @@ function jY(r, e, t) {
38119
38119
  function JY(r, e, t, a, n) {
38120
38120
  i("body", e.getBody(), t, a), t.shouldShow() && a.shouldShow() && i("corner", e.getCorner(), a, t);
38121
38121
  function i(o, s, l, u) {
38122
- var f = new Dt(e.getShallow(o, !0)), v = f.getModel("itemStyle"), h = f.getModel("label"), c = new Ln(), p = new Ln(), d = [], g = e.getShallow("tooltip", !0);
38122
+ var f = new Dt(e.getShallow(o, !0)), v = f.getModel("itemStyle"), h = f.getModel("label"), c = new In(), p = new In(), d = [], g = e.getShallow("tooltip", !0);
38123
38123
  for (u.resetLayoutIterator(p, 1); p.next(); )
38124
38124
  for (l.resetLayoutIterator(c, 0); c.next(); ) {
38125
38125
  var y = c.item, m = p.item;
@@ -38279,7 +38279,7 @@ var QY = (
38279
38279
  }()
38280
38280
  ), ul = {
38281
38281
  rect: yh()
38282
- }, zf = new Ln(), Ed = new Ln();
38282
+ }, zf = new In(), Ed = new In();
38283
38283
  function kT(r, e, t, a) {
38284
38284
  for (var n = 1 - a, i = e[pt[a]], o = e[pt[n]], s = o.shouldShow(), l = i.resetCellIterator(); l.next(); )
38285
38285
  l.item.wh = l.item.xy = NaN;
@@ -38293,7 +38293,7 @@ function kT(r, e, t, a) {
38293
38293
  var C = t9(T, a, t);
38294
38294
  Me(C) || (w.wh = Uy(C, f), f = Uy(f - w.wh), v--);
38295
38295
  }
38296
- var y = v ? f / v : 0, m = !v && f >= 1, _ = t[pt[a]], S = i.getLocatorCount(a) - 1, x = new Ln();
38296
+ var y = v ? f / v : 0, m = !v && f >= 1, _ = t[pt[a]], S = i.getLocatorCount(a) - 1, x = new In();
38297
38297
  for (o.resetLayoutIterator(x, a); x.next(); )
38298
38298
  b(x.item);
38299
38299
  for (i.resetLayoutIterator(x, a); x.next(); )
@@ -38497,7 +38497,7 @@ var s9 = (
38497
38497
  group: at,
38498
38498
  image: Ee,
38499
38499
  text: It
38500
- }, br = xt(), l9 = (
38500
+ }, wr = xt(), l9 = (
38501
38501
  /** @class */
38502
38502
  function(r) {
38503
38503
  B(e, r);
@@ -38526,7 +38526,7 @@ var s9 = (
38526
38526
  var _ = l.$action || "merge", S = _ === "merge", x = _ === "replace";
38527
38527
  if (S) {
38528
38528
  var b = !f, w = f;
38529
- b ? w = UT(u, h, l.type, n) : (w && (br(w).isNew = !1), LE(w)), w && (fv(w, m, t, {
38529
+ b ? w = UT(u, h, l.type, n) : (w && (wr(w).isNew = !1), LE(w)), w && (fv(w, m, t, {
38530
38530
  isInit: b
38531
38531
  }), YT(w, l, o, s));
38532
38532
  } else if (x) {
@@ -38548,13 +38548,13 @@ var s9 = (
38548
38548
  var I = M.type, L = void 0, b = !1;
38549
38549
  if (S) {
38550
38550
  var E = C.getClipPath();
38551
- b = !E || br(E).type !== I, L = b ? Yy(I) : E;
38551
+ b = !E || wr(E).type !== I, L = b ? Yy(I) : E;
38552
38552
  } else x && (b = !0, L = Yy(I));
38553
38553
  C.setClipPath(L), fv(L, M, t, {
38554
38554
  isInit: b
38555
38555
  }), ch(L, M.keyframeAnimation, t);
38556
38556
  }
38557
- var N = br(C);
38557
+ var N = wr(C);
38558
38558
  C.setTextConfig(g), N.option = l, f9(C, t, l), en({
38559
38559
  el: C,
38560
38560
  componentModel: t,
@@ -38568,14 +38568,14 @@ var s9 = (
38568
38568
  for (var n = t.option.elements, i = this.group, o = this._elMap, s = a.getWidth(), l = a.getHeight(), u = ["x", "y"], f = 0; f < n.length; f++) {
38569
38569
  var v = n[f], h = ge(v.id, null), c = h != null ? o.get(h) : null;
38570
38570
  if (!(!c || !c.isGroup)) {
38571
- var p = c.parent, d = p === i, g = br(c), y = br(p);
38571
+ var p = c.parent, d = p === i, g = wr(c), y = wr(p);
38572
38572
  g.width = Z(g.option.width, d ? s : y.width) || 0, g.height = Z(g.option.height, d ? l : y.height) || 0;
38573
38573
  }
38574
38574
  }
38575
38575
  for (var f = n.length - 1; f >= 0; f--) {
38576
38576
  var v = n[f], h = ge(v.id, null), c = h != null ? o.get(h) : null;
38577
38577
  if (c) {
38578
- var p = c.parent, y = br(p), m = p === i ? {
38578
+ var p = c.parent, y = wr(p), m = p === i ? {
38579
38579
  width: s,
38580
38580
  height: l
38581
38581
  } : {
@@ -38585,7 +38585,7 @@ var s9 = (
38585
38585
  hv: v.hv,
38586
38586
  boundingMode: v.bounding
38587
38587
  }, _);
38588
- if (!br(c).isNew && S) {
38588
+ if (!wr(c).isNew && S) {
38589
38589
  for (var x = v.transition, b = {}, w = 0; w < u.length; w++) {
38590
38590
  var T = u[w], C = _[T];
38591
38591
  x && (Wi(x) || yt(x, T) >= 0) ? b[T] = C : c[T] = C;
@@ -38598,7 +38598,7 @@ var s9 = (
38598
38598
  }, e.prototype._clear = function() {
38599
38599
  var t = this, a = this._elMap;
38600
38600
  a.each(function(n) {
38601
- cv(n, br(n).option, a, t._lastGraphicModel);
38601
+ cv(n, wr(n).option, a, t._lastGraphicModel);
38602
38602
  }), this._elMap = Q();
38603
38603
  }, e.prototype.dispose = function() {
38604
38604
  this._clear();
@@ -38610,21 +38610,21 @@ function Yy(r) {
38610
38610
  var e = q(WT, r) ? WT[r] : Pv(r);
38611
38611
  process.env.NODE_ENV !== "production" && j(e, "graphic type " + r + " can not be found");
38612
38612
  var t = new e({});
38613
- return br(t).type = r, t;
38613
+ return wr(t).type = r, t;
38614
38614
  }
38615
38615
  function UT(r, e, t, a) {
38616
38616
  var n = Yy(t);
38617
- return e.add(n), a.set(r, n), br(n).id = r, br(n).isNew = !0, n;
38617
+ return e.add(n), a.set(r, n), wr(n).id = r, wr(n).isNew = !0, n;
38618
38618
  }
38619
38619
  function cv(r, e, t, a) {
38620
38620
  var n = r && r.parent;
38621
38621
  n && (r.type === "group" && r.traverse(function(i) {
38622
38622
  cv(i, e, t, a);
38623
- }), dc(r, e, a), t.removeKey(br(r).id));
38623
+ }), dc(r, e, a), t.removeKey(wr(r).id));
38624
38624
  }
38625
38625
  function YT(r, e, t, a) {
38626
38626
  r.isGroup || D([
38627
- ["cursor", Ir.prototype.cursor],
38627
+ ["cursor", Er.prototype.cursor],
38628
38628
  // We should not support configure z and zlevel in the element level.
38629
38629
  // But seems we didn't limit it previously. So here still use it to avoid breaking.
38630
38630
  ["zlevel", a || 0],
@@ -38669,7 +38669,7 @@ function c9(r) {
38669
38669
  var e = r.get("coordinateSystem");
38670
38670
  return yt(h9, e) >= 0;
38671
38671
  }
38672
- function Cn(r) {
38672
+ function Dn(r) {
38673
38673
  return process.env.NODE_ENV !== "production" && j(r), r + "Axis";
38674
38674
  }
38675
38675
  function p9(r, e) {
@@ -38710,7 +38710,7 @@ function $E(r) {
38710
38710
  infoMap: Q()
38711
38711
  };
38712
38712
  return r.eachTargetAxis(function(a, n) {
38713
- var i = e.getComponent(Cn(a), n);
38713
+ var i = e.getComponent(Dn(a), n);
38714
38714
  if (i) {
38715
38715
  var o = i.getCoordSysModel();
38716
38716
  if (o) {
@@ -38762,7 +38762,7 @@ var Nd = (
38762
38762
  }, e.prototype._fillSpecifiedTargetAxis = function(t) {
38763
38763
  var a = !1;
38764
38764
  return D(ZT, function(n) {
38765
- var i = this.getReferringComponents(Cn(n), WR);
38765
+ var i = this.getReferringComponents(Dn(n), WR);
38766
38766
  if (i.specified) {
38767
38767
  a = !0;
38768
38768
  var o = new Nd();
@@ -38803,7 +38803,7 @@ var Nd = (
38803
38803
  i && D(ZT, function(u) {
38804
38804
  if (i) {
38805
38805
  var f = n.findComponents({
38806
- mainType: Cn(u),
38806
+ mainType: Dn(u),
38807
38807
  filter: function(h) {
38808
38808
  return h.get("type", !0) === "category";
38809
38809
  }
@@ -38835,7 +38835,7 @@ var Nd = (
38835
38835
  }, e.prototype.getFirstTargetAxisModel = function() {
38836
38836
  var t;
38837
38837
  return this.eachTargetAxis(function(a, n) {
38838
- t == null && (t = this.ecModel.getComponent(Cn(a), n));
38838
+ t == null && (t = this.ecModel.getComponent(Dn(a), n));
38839
38839
  }, this), t;
38840
38840
  }, e.prototype.eachTargetAxis = function(t, a) {
38841
38841
  this._targetAxisInfoMap.each(function(n, i) {
@@ -38851,7 +38851,7 @@ var Nd = (
38851
38851
  process.env.NODE_ENV !== "production" && j(t && a != null);
38852
38852
  var n = this._targetAxisInfoMap.get(t);
38853
38853
  if (n && n.indexMap[a])
38854
- return this.ecModel.getComponent(Cn(t), a);
38854
+ return this.ecModel.getComponent(Dn(t), a);
38855
38855
  }, e.prototype.setRawRange = function(t) {
38856
38856
  var a = this.option, n = this.settledOption;
38857
38857
  D([["start", "startValue"], ["end", "endValue"]], function(i) {
@@ -38935,7 +38935,7 @@ var d9 = (
38935
38935
  }
38936
38936
  return e.type = "dataZoom.select", e;
38937
38937
  }(p_)
38938
- ), Wo = D, $T = Mr, y9 = (
38938
+ ), Wo = D, $T = Lr, y9 = (
38939
38939
  /** @class */
38940
38940
  function() {
38941
38941
  function r(e, t, a, n) {
@@ -38951,7 +38951,7 @@ var d9 = (
38951
38951
  var e = [];
38952
38952
  return this.ecModel.eachSeries(function(t) {
38953
38953
  if (c9(t)) {
38954
- var a = Cn(this._dimName), n = t.getReferringComponents(a, Qt).models[0];
38954
+ var a = Dn(this._dimName), n = t.getReferringComponents(a, Qt).models[0];
38955
38955
  n && this._axisIndex === n.componentIndex && e.push(t);
38956
38956
  }
38957
38957
  }, this), e;
@@ -38969,7 +38969,7 @@ var d9 = (
38969
38969
  u ? v(l, s, t, o, !1) : v(s, l, o, t, !0);
38970
38970
  function v(h, c, p, d, g) {
38971
38971
  var y = g ? "Span" : "ValueSpan";
38972
- Vn(0, h, p, "all", f["min" + y], f["max" + y]);
38972
+ Bn(0, h, p, "all", f["min" + y], f["max" + y]);
38973
38973
  for (var m = 0; m < 2; m++)
38974
38974
  c[m] = Rt(h[m], p, d, !0), g && (c[m] = n.parse(c[m]));
38975
38975
  }
@@ -39058,7 +39058,7 @@ var _9 = {
39058
39058
  function e(n) {
39059
39059
  r.eachComponent("dataZoom", function(i) {
39060
39060
  i.eachTargetAxis(function(o, s) {
39061
- var l = r.getComponent(Cn(o), s);
39061
+ var l = r.getComponent(Dn(o), s);
39062
39062
  n(o, s, l, i);
39063
39063
  });
39064
39064
  });
@@ -39123,7 +39123,7 @@ function d_(r) {
39123
39123
  function x9(r) {
39124
39124
  r.registerComponentModel(d9), r.registerComponentView(g9), d_(r);
39125
39125
  }
39126
- var Tr = (
39126
+ var Cr = (
39127
39127
  /** @class */
39128
39128
  /* @__PURE__ */ function() {
39129
39129
  function r() {
@@ -39240,7 +39240,7 @@ var w9 = (
39240
39240
  } else if (T = f[x], !T)
39241
39241
  return;
39242
39242
  T.uid = As("toolbox-feature"), T.model = w, T.ecModel = a, T.api = n;
39243
- var A = T instanceof Tr;
39243
+ var A = T instanceof Cr;
39244
39244
  if (!S && x) {
39245
39245
  A && T.dispose && T.dispose(a, n);
39246
39246
  return;
@@ -39252,10 +39252,10 @@ var w9 = (
39252
39252
  c(w, T, S), w.setIconStatus = function(M, I) {
39253
39253
  var L = this.option, E = this.iconPaths;
39254
39254
  L.iconStatus = L.iconStatus || {}, L.iconStatus[M] = I, E[M] && (I === "emphasis" ? Xa : $a)(E[M]);
39255
- }, T instanceof Tr && T.render && T.render(w, a, n, i);
39255
+ }, T instanceof Cr && T.render && T.render(w, a, n, i);
39256
39256
  }
39257
39257
  function c(m, _, S) {
39258
- var x = m.getModel("iconStyle"), b = m.getModel(["emphasis", "iconStyle"]), w = _ instanceof Tr && _.getIcons ? _.getIcons() : m.get("icon"), T = m.get("title") || {}, C, A;
39258
+ var x = m.getModel("iconStyle"), b = m.getModel(["emphasis", "iconStyle"]), w = _ instanceof Cr && _.getIcons ? _.getIcons() : m.get("icon"), T = m.get("title") || {}, C, A;
39259
39259
  X(w) ? (C = {}, C[S] = w) : C = w, X(T) ? (A = {}, A[S] = T) : A = T;
39260
39260
  var M = m.iconPaths = {};
39261
39261
  D(C, function(I, L) {
@@ -39316,15 +39316,15 @@ var w9 = (
39316
39316
  });
39317
39317
  }, e.prototype.updateView = function(t, a, n, i) {
39318
39318
  D(this._features, function(o) {
39319
- o instanceof Tr && o.updateView && o.updateView(o.model, a, n, i);
39319
+ o instanceof Cr && o.updateView && o.updateView(o.model, a, n, i);
39320
39320
  });
39321
39321
  }, e.prototype.remove = function(t, a) {
39322
39322
  D(this._features, function(n) {
39323
- n instanceof Tr && n.remove && n.remove(t, a);
39323
+ n instanceof Cr && n.remove && n.remove(t, a);
39324
39324
  }), this.group.removeAll();
39325
39325
  }, e.prototype.dispose = function(t, a) {
39326
39326
  D(this._features, function(n) {
39327
- n instanceof Tr && n.dispose && n.dispose(t, a);
39327
+ n instanceof Cr && n.dispose && n.dispose(t, a);
39328
39328
  });
39329
39329
  }, e.type = "toolbox", e;
39330
39330
  }($t)
@@ -39393,7 +39393,7 @@ var C9 = (
39393
39393
  };
39394
39394
  return a;
39395
39395
  }, e;
39396
- }(Tr)
39396
+ }(Cr)
39397
39397
  ), KT = "__ec_magicType_stack__", D9 = [["line", "bar"], ["stack"]], A9 = (
39398
39398
  /** @class */
39399
39399
  function(r) {
@@ -39467,7 +39467,7 @@ var C9 = (
39467
39467
  });
39468
39468
  }
39469
39469
  }, e;
39470
- }(Tr)
39470
+ }(Cr)
39471
39471
  ), jT = {
39472
39472
  line: function(r, e, t, a) {
39473
39473
  if (r === "bar")
@@ -39730,7 +39730,7 @@ var O9 = (
39730
39730
  };
39731
39731
  return a;
39732
39732
  }, e;
39733
- }(Tr)
39733
+ }(Cr)
39734
39734
  );
39735
39735
  function V9(r, e) {
39736
39736
  return U(r, function(t, a) {
@@ -39839,7 +39839,7 @@ var H9 = (
39839
39839
  };
39840
39840
  return a;
39841
39841
  }, e;
39842
- }(Tr)
39842
+ }(Cr)
39843
39843
  );
39844
39844
  Aa({
39845
39845
  type: "restore",
@@ -40072,7 +40072,7 @@ var $y = D, Z9 = BR("toolbox-dataZoom_"), X9 = (
40072
40072
  }), B9(i, n), this._dispatchZoomAction(n);
40073
40073
  function s(u, f, v) {
40074
40074
  var h = f.getAxis(u), c = h.model, p = l(u, c, i), d = p.findRepresentativeAxisProxy(c).getMinMaxSpan();
40075
- (d.minValueSpan != null || d.maxValueSpan != null) && (v = Vn(0, v.slice(), h.scale.getExtent(), 0, d.minValueSpan, d.maxValueSpan)), p && (n[p.id] = {
40075
+ (d.minValueSpan != null || d.maxValueSpan != null) && (v = Bn(0, v.slice(), h.scale.getExtent(), 0, d.minValueSpan, d.maxValueSpan)), p && (n[p.id] = {
40076
40076
  dataZoomId: p.id,
40077
40077
  startValue: v[0],
40078
40078
  endValue: v[1]
@@ -40115,7 +40115,7 @@ var $y = D, Z9 = BR("toolbox-dataZoom_"), X9 = (
40115
40115
  };
40116
40116
  return a;
40117
40117
  }, e;
40118
- }(Tr)
40118
+ }(Cr)
40119
40119
  ), $9 = {
40120
40120
  zoom: function() {
40121
40121
  var r = !this._isZoomActive;
@@ -40354,7 +40354,7 @@ var lZ = (
40354
40354
  }, a.onmousemove = function(l) {
40355
40355
  if (l = l || window.event, !s._enterable) {
40356
40356
  var u = n.handler, f = n.painter.getViewportRoot();
40357
- _r(f, l, !0), u.dispatch("mousemove", l);
40357
+ Sr(f, l, !0), u.dispatch("mousemove", l);
40358
40358
  }
40359
40359
  }, a.onmouseleave = function() {
40360
40360
  s._inContent = !1, s._enterable && s._show && s.hideLater(s._hideDelay);
@@ -40479,7 +40479,7 @@ var lZ = (
40479
40479
  if (a) {
40480
40480
  var n = this._styleCoord;
40481
40481
  lC(n, this._zr, e, t), e = n[0], t = n[1];
40482
- var i = a.style, o = pn(i.borderWidth || 0), s = sC(i);
40482
+ var i = a.style, o = dn(i.borderWidth || 0), s = sC(i);
40483
40483
  a.x = e + o + s.left, a.y = t + o + s.top, a.markRedraw();
40484
40484
  }
40485
40485
  }, r.prototype._moveIfResized = function() {
@@ -40496,16 +40496,16 @@ var lZ = (
40496
40496
  }, r;
40497
40497
  }()
40498
40498
  );
40499
- function pn(r) {
40499
+ function dn(r) {
40500
40500
  return Math.max(0, r);
40501
40501
  }
40502
40502
  function sC(r) {
40503
- var e = pn(r.shadowBlur || 0), t = pn(r.shadowOffsetX || 0), a = pn(r.shadowOffsetY || 0);
40503
+ var e = dn(r.shadowBlur || 0), t = dn(r.shadowOffsetX || 0), a = dn(r.shadowOffsetY || 0);
40504
40504
  return {
40505
- left: pn(e - t),
40506
- right: pn(e + t),
40507
- top: pn(e - a),
40508
- bottom: pn(e + a)
40505
+ left: dn(e - t),
40506
+ right: dn(e + t),
40507
+ top: dn(e - a),
40508
+ bottom: dn(e + a)
40509
40509
  };
40510
40510
  }
40511
40511
  function lC(r, e, t, a) {
@@ -40667,7 +40667,7 @@ var fZ = new St({
40667
40667
  if (!(!S || x == null)) {
40668
40668
  var b = kE(x, S.axis, n, _.seriesDataIndices, _.valueLabelOpt), w = ve("section", {
40669
40669
  header: b,
40670
- noHeader: !Ar(b),
40670
+ noHeader: !Mr(b),
40671
40671
  sortBlocks: !0,
40672
40672
  blocks: []
40673
40673
  });
@@ -41353,7 +41353,7 @@ var IZ = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], EZ = (
41353
41353
  };
41354
41354
  return a;
41355
41355
  }, e;
41356
- }(Tr)
41356
+ }(Cr)
41357
41357
  );
41358
41358
  function PZ(r) {
41359
41359
  r.registerComponentView(MZ), r.registerComponentModel(LZ), r.registerPreprocessor(mZ), r.registerVisual(r.PRIORITY.VISUAL.BRUSH, wZ), r.registerAction({
@@ -41560,7 +41560,7 @@ var _C = (
41560
41560
  var t = r !== null && r.apply(this, arguments) || this;
41561
41561
  return t.type = e.type, t;
41562
41562
  }
41563
- return e.type = "timeline.slider", e.defaultOption = Hn(_C.defaultOption, {
41563
+ return e.type = "timeline.slider", e.defaultOption = Wn(_C.defaultOption, {
41564
41564
  backgroundColor: "rgba(0,0,0,0)",
41565
41565
  borderColor: O.color.border,
41566
41566
  borderWidth: 0,
@@ -41757,7 +41757,7 @@ var OZ = (
41757
41757
  var n = this._mainGroup, i = this._labelGroup, o = t.viewRect;
41758
41758
  if (t.orient === "vertical") {
41759
41759
  var s = Le(), l = o.x, u = o.y + o.height;
41760
- Sa(s, s, [-l, -u]), Gn(s, s, -Od / 2), Sa(s, s, [l, u]), o = o.clone(), o.applyTransform(s);
41760
+ Sa(s, s, [-l, -u]), Fn(s, s, -Od / 2), Sa(s, s, [l, u]), o = o.clone(), o.applyTransform(s);
41761
41761
  }
41762
41762
  var f = m(o), v = m(n.getBoundingRect()), h = m(i.getBoundingRect()), c = [n.x, n.y], p = [i.x, i.y];
41763
41763
  p[0] = c[0] = f[0][0];
@@ -41899,7 +41899,7 @@ var OZ = (
41899
41899
  }, e.prototype._handlePointerDragend = function(t) {
41900
41900
  this._pointerChangeTimeline([t.offsetX, t.offsetY], !0);
41901
41901
  }, e.prototype._pointerChangeTimeline = function(t, a) {
41902
- var n = this._toAxisCoord(t)[0], i = this._axis, o = Mr(i.getExtent().slice());
41902
+ var n = this._toAxisCoord(t)[0], i = this._axis, o = Lr(i.getExtent().slice());
41903
41903
  n > o[1] && (n = o[1]), n < o[0] && (n = o[0]), this._currentPointer.x = n, this._currentPointer.markRedraw();
41904
41904
  var s = this._progressLine;
41905
41905
  s && (s.shape.x2 = n, s.dirty());
@@ -42188,7 +42188,7 @@ function XZ(r) {
42188
42188
  return !isNaN(parseFloat(r.x)) && !isNaN(parseFloat(r.y));
42189
42189
  }
42190
42190
  function Wf(r, e, t, a, n, i, o) {
42191
- var s = [], l = kn(
42191
+ var s = [], l = On(
42192
42192
  e,
42193
42193
  n
42194
42194
  /* , otherDataDim */
@@ -42244,9 +42244,9 @@ function qZ(r, e, t) {
42244
42244
  function lP(r, e) {
42245
42245
  return r ? function(t, a, n, i) {
42246
42246
  var o = i < 2 ? t.coord && t.coord[i] : t.value;
42247
- return In(o, e[i]);
42247
+ return En(o, e[i]);
42248
42248
  } : function(t, a, n, i) {
42249
- return In(t.value, e[i]);
42249
+ return En(t.value, e[i]);
42250
42250
  };
42251
42251
  }
42252
42252
  function Sh(r, e, t) {
@@ -42478,7 +42478,7 @@ function Bd(r, e, t, a, n) {
42478
42478
  var f = i.dimensions, v = r.get(f[0], e), h = r.get(f[1], e);
42479
42479
  s = i.dataToPoint([v, h]);
42480
42480
  }
42481
- if (On(i, "cartesian2d")) {
42481
+ if (Vn(i, "cartesian2d")) {
42482
42482
  var c = i.getAxis("x"), p = i.getAxis("y"), f = i.dimensions;
42483
42483
  xh(r.get(f[0], e)) ? s[0] = c.toGlobalCoord(c.getExtent()[t ? 0 : 1]) : xh(r.get(f[1], e)) && (s[1] = p.toGlobalCoord(p.getExtent()[t ? 0 : 1]));
42484
42484
  }
@@ -42652,7 +42652,7 @@ function lX(r, e) {
42652
42652
  x: e.x1,
42653
42653
  y: e.y1
42654
42654
  };
42655
- return On(r, "cartesian2d") ? t && a && (DC(1, t, a) || DC(0, t, a)) ? !0 : qZ(r, n, i) : gu(r, n) || gu(r, i);
42655
+ return Vn(r, "cartesian2d") ? t && a && (DC(1, t, a) || DC(0, t, a)) ? !0 : qZ(r, n, i) : gu(r, n) || gu(r, i);
42656
42656
  }
42657
42657
  function AC(r, e, t, a, n) {
42658
42658
  var i = a.coordinateSystem, o = r.getItemModel(e), s, l = Z(o.get(t[0]), n.getWidth()), u = Z(o.get(t[1]), n.getHeight());
@@ -42666,7 +42666,7 @@ function AC(r, e, t, a, n) {
42666
42666
  var d = r.get(t[0], e), g = r.get(t[1], e), y = [d, g];
42667
42667
  i.clampData && i.clampData(y, y), s = i.dataToPoint(y, !0);
42668
42668
  }
42669
- if (On(i, "cartesian2d")) {
42669
+ if (Vn(i, "cartesian2d")) {
42670
42670
  var m = i.getAxis("x"), _ = i.getAxis("y"), d = r.get(t[0], e), g = r.get(t[1], e);
42671
42671
  bh(d) ? s[0] = m.toGlobalCoord(m.getExtent()[t[0] === "x0" ? 0 : 1]) : bh(g) && (s[1] = _.toGlobalCoord(_.getExtent()[t[1] === "y0" ? 0 : 1]));
42672
42672
  }
@@ -42707,7 +42707,7 @@ var MC = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], uX = (
42707
42707
  var c = U(MC, function(A) {
42708
42708
  return AC(v, h, A, t, i);
42709
42709
  }), p = o.getAxis("x").scale, d = o.getAxis("y").scale, g = p.getExtent(), y = d.getExtent(), m = [p.parse(v.get("x0", h)), p.parse(v.get("x1", h))], _ = [d.parse(v.get("y0", h)), d.parse(v.get("y1", h))];
42710
- Mr(m), Mr(_);
42710
+ Lr(m), Lr(_);
42711
42711
  var S = !(g[0] > m[1] || g[1] < m[0] || y[0] > _[1] || y[1] < _[0]), x = !S;
42712
42712
  v.setItemLayout(h, {
42713
42713
  points: c,
@@ -42779,9 +42779,9 @@ function fX(r, e, t) {
42779
42779
  r && (s = kt(s, gt(lX, r)));
42780
42780
  var l = r ? function(u, f, v, h) {
42781
42781
  var c = u.coord[Math.floor(h / 2)][h % 2];
42782
- return In(c, n[h]);
42782
+ return En(c, n[h]);
42783
42783
  } : function(u, f, v, h) {
42784
- return In(u.value, n[h]);
42784
+ return En(u.value, n[h]);
42785
42785
  };
42786
42786
  return a.initData(s, null, l), a.hasItemOption = !0, a;
42787
42787
  }
@@ -43286,7 +43286,7 @@ var yX = (
43286
43286
  r.prototype.init.call(this, t, a, n), EC(this, t, i);
43287
43287
  }, e.prototype.mergeOption = function(t, a) {
43288
43288
  r.prototype.mergeOption.call(this, t, a), EC(this, this.option, t);
43289
- }, e.type = "legend.scroll", e.defaultOption = Hn(Jy.defaultOption, {
43289
+ }, e.type = "legend.scroll", e.defaultOption = Wn(Jy.defaultOption, {
43290
43290
  scrollDataIndex: 0,
43291
43291
  pageButtonItemGap: 5,
43292
43292
  pageButtonGap: null,
@@ -43511,7 +43511,7 @@ var bX = (
43511
43511
  var t = r !== null && r.apply(this, arguments) || this;
43512
43512
  return t.type = e.type, t;
43513
43513
  }
43514
- return e.type = "dataZoom.inside", e.defaultOption = Hn(pu.defaultOption, {
43514
+ return e.type = "dataZoom.inside", e.defaultOption = Wn(pu.defaultOption, {
43515
43515
  disabled: !1,
43516
43516
  zoomLock: !1,
43517
43517
  zoomOnMouseWheel: !0,
@@ -43675,7 +43675,7 @@ var IX = (
43675
43675
  var s = Hd[e](null, [a.originX, a.originY], o, t, r), l = (s.signal > 0 ? s.pixelStart + s.pixelLength - s.pixel : s.pixel - s.pixelStart) / s.pixelLength * (i[1] - i[0]) + i[0], u = Math.max(1 / a.scale, 0);
43676
43676
  i[0] = (i[0] - l) * u + l, i[1] = (i[1] - l) * u + l;
43677
43677
  var f = this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();
43678
- if (Vn(0, i, [0, 100], 0, f.minSpan, f.maxSpan), this.range = i, n[0] !== i[0] || n[1] !== i[1])
43678
+ if (Bn(0, i, [0, 100], 0, f.minSpan, f.maxSpan), this.range = i, n[0] !== i[0] || n[1] !== i[1])
43679
43679
  return i;
43680
43680
  }
43681
43681
  },
@@ -43693,7 +43693,7 @@ function NC(r) {
43693
43693
  var i = this.range, o = i.slice(), s = e.axisModels[0];
43694
43694
  if (s) {
43695
43695
  var l = r(o, s, e, t, a, n);
43696
- if (Vn(l, o, [0, 100], "all"), this.range = o, i[0] !== o[0] || i[1] !== o[1])
43696
+ if (Bn(l, o, [0, 100], "all"), this.range = o, i[0] !== o[0] || i[1] !== o[1])
43697
43697
  return o;
43698
43698
  }
43699
43699
  };
@@ -43723,7 +43723,7 @@ var EX = (
43723
43723
  var t = r !== null && r.apply(this, arguments) || this;
43724
43724
  return t.type = e.type, t;
43725
43725
  }
43726
- return e.type = "dataZoom.slider", e.layoutMode = "box", e.defaultOption = Hn(pu.defaultOption, {
43726
+ return e.type = "dataZoom.slider", e.layoutMode = "box", e.defaultOption = Wn(pu.defaultOption, {
43727
43727
  show: !0,
43728
43728
  // deault value can only be drived in view stage.
43729
43729
  right: "ph",
@@ -43960,7 +43960,7 @@ var EX = (
43960
43960
  var l = t.getAxisProxy(o, s).getTargetSeriesModels();
43961
43961
  D(l, function(u) {
43962
43962
  if (!n && !(a !== !0 && yt(kX, u.get("type")) < 0)) {
43963
- var f = i.getComponent(Cn(o), s).axis, v = BX(o), h, c = u.coordinateSystem;
43963
+ var f = i.getComponent(Dn(o), s).axis, v = BX(o), h, c = u.coordinateSystem;
43964
43964
  v != null && c.getOtherAxis && (h = c.getOtherAxis(f).inverse), v = u.getData().mapDimension(v);
43965
43965
  var p = u.getData().mapDimension(o);
43966
43966
  n = {
@@ -44072,11 +44072,11 @@ var EX = (
44072
44072
  this._handleEnds = [Rt(t[0], [0, 100], a, !0), Rt(t[1], [0, 100], a, !0)];
44073
44073
  }, e.prototype._updateInterval = function(t, a) {
44074
44074
  var n = this.dataZoomModel, i = this._handleEnds, o = this._getViewExtent(), s = n.findRepresentativeAxisProxy().getMinMaxSpan(), l = [0, 100];
44075
- Vn(a, i, o, n.get("zoomLock") ? "all" : t, s.minSpan != null ? Rt(s.minSpan, l, o, !0) : null, s.maxSpan != null ? Rt(s.maxSpan, l, o, !0) : null);
44076
- var u = this._range, f = this._range = Mr([Rt(i[0], o, l, !0), Rt(i[1], o, l, !0)]);
44075
+ Bn(a, i, o, n.get("zoomLock") ? "all" : t, s.minSpan != null ? Rt(s.minSpan, l, o, !0) : null, s.maxSpan != null ? Rt(s.maxSpan, l, o, !0) : null);
44076
+ var u = this._range, f = this._range = Lr([Rt(i[0], o, l, !0), Rt(i[1], o, l, !0)]);
44077
44077
  return !u || u[0] !== f[0] || u[1] !== f[1];
44078
44078
  }, e.prototype._updateView = function(t) {
44079
- var a = this._displayables, n = this._handleEnds, i = Mr(n.slice()), o = this._size;
44079
+ var a = this._displayables, n = this._handleEnds, i = Lr(n.slice()), o = this._size;
44080
44080
  D([0, 1], function(c) {
44081
44081
  var p = a.handles[c], d = this._handleHeight;
44082
44082
  p.attr({
@@ -44120,7 +44120,7 @@ var EX = (
44120
44120
  s = [this._formatLabel(v[0], u), this._formatLabel(v[1], u)];
44121
44121
  }
44122
44122
  }
44123
- var h = Mr(this._handleEnds.slice());
44123
+ var h = Lr(this._handleEnds.slice());
44124
44124
  c.call(this, 0), c.call(this, 1);
44125
44125
  function c(p) {
44126
44126
  var d = Gi(n.handles[p].parent, this.group), g = Kh(p === 0 ? "right" : "left", d), y = this._handleWidth / 2 + RX, m = Fr([h[p] + (p === 0 ? -y : y), this._size[1] / 2], d);
@@ -44167,7 +44167,7 @@ var EX = (
44167
44167
  var n = a.shape, i = +/* @__PURE__ */ new Date();
44168
44168
  if (!(i - this._brushStartTime < 200 && Math.abs(n.width) < 5)) {
44169
44169
  var o = this._getViewExtent(), s = [0, 100], l = this._handleEnds = [n.x, n.x + n.width], u = this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();
44170
- Vn(0, l, o, 0, u.minSpan != null ? Rt(u.minSpan, s, o, !0) : null, u.maxSpan != null ? Rt(u.maxSpan, s, o, !0) : null), this._range = Mr([Rt(l[0], o, s, !0), Rt(l[1], o, s, !0)]), this._updateView(), this._dispatchZoomAction(!1);
44170
+ Bn(0, l, o, 0, u.minSpan != null ? Rt(u.minSpan, s, o, !0) : null, u.maxSpan != null ? Rt(u.maxSpan, s, o, !0) : null), this._range = Lr([Rt(l[0], o, s, !0), Rt(l[1], o, s, !0)]), this._updateView(), this._dispatchZoomAction(!1);
44171
44171
  }
44172
44172
  }
44173
44173
  }
@@ -44274,7 +44274,7 @@ var dP = {
44274
44274
  active: [10, 50],
44275
44275
  inactive: [0, 0]
44276
44276
  }
44277
- }, kC = we.mapVisual, HX = we.eachVisual, WX = W, OC = D, UX = Mr, YX = Rt, wh = (
44277
+ }, kC = we.mapVisual, HX = we.eachVisual, WX = W, OC = D, UX = Lr, YX = Rt, wh = (
44278
44278
  /** @class */
44279
44279
  function(r) {
44280
44280
  B(e, r);
@@ -44459,7 +44459,7 @@ var dP = {
44459
44459
  }, e.prototype.setSelected = function(t) {
44460
44460
  this.option.range = t.slice(), this._resetRange();
44461
44461
  }, e.prototype.getSelected = function() {
44462
- var t = this.getExtent(), a = Mr((this.get("range") || []).slice());
44462
+ var t = this.getExtent(), a = Lr((this.get("range") || []).slice());
44463
44463
  return a[0] > t[1] && (a[0] = t[1]), a[1] > t[1] && (a[1] = t[1]), a[0] < t[0] && (a[0] = t[0]), a[1] < t[0] && (a[1] = t[0]), a;
44464
44464
  }, e.prototype.getValueState = function(t) {
44465
44465
  var a = this.option.range, n = this.getExtent(), i = J(this.option.unboundedRange, !0);
@@ -44494,7 +44494,7 @@ var dP = {
44494
44494
  stops: i,
44495
44495
  outerColors: [h ? i[0].color : "transparent", h ? i[h - 1].color : "transparent"]
44496
44496
  };
44497
- }, e.type = "visualMap.continuous", e.defaultOption = Hn(wh.defaultOption, {
44497
+ }, e.type = "visualMap.continuous", e.defaultOption = Wn(wh.defaultOption, {
44498
44498
  align: "auto",
44499
44499
  calculable: !1,
44500
44500
  hoverLink: !0,
@@ -44747,7 +44747,7 @@ var na = Rt, XX = D, GC = Math.min, Ud = Math.max, $X = 12, qX = 6, KX = (
44747
44747
  }, e.prototype._updateInterval = function(t, a) {
44748
44748
  a = a || 0;
44749
44749
  var n = this.visualMapModel, i = this._handleEnds, o = [0, n.itemSize[1]];
44750
- Vn(
44750
+ Bn(
44751
44751
  a,
44752
44752
  i,
44753
44753
  o,
@@ -45178,7 +45178,7 @@ var a$ = (
45178
45178
  stops: a,
45179
45179
  outerColors: n
45180
45180
  };
45181
- }, e.type = "visualMap.piecewise", e.defaultOption = Hn(wh.defaultOption, {
45181
+ }, e.type = "visualMap.piecewise", e.defaultOption = Wn(wh.defaultOption, {
45182
45182
  selected: null,
45183
45183
  minOpen: !1,
45184
45184
  maxOpen: !1,
@@ -46055,7 +46055,7 @@ function nm(r, e, t, a, n, i, o, s, l, u) {
46055
46055
  return;
46056
46056
  }
46057
46057
  var C = [], A = [];
46058
- Pn(r, t, n, o, 0.5, C), Pn(e, a, i, s, 0.5, A), nm(C[0], A[0], C[1], A[1], C[2], A[2], C[3], A[3], l, u), nm(C[4], A[4], C[5], A[5], C[6], A[6], C[7], A[7], l, u);
46058
+ Nn(r, t, n, o, 0.5, C), Nn(e, a, i, s, 0.5, A), nm(C[0], A[0], C[1], A[1], C[2], A[2], C[3], A[3], l, u), nm(C[4], A[4], C[5], A[5], C[6], A[6], C[7], A[7], l, u);
46059
46059
  }
46060
46060
  function P$(r, e) {
46061
46061
  var t = am(r), a = [];
@@ -46251,7 +46251,7 @@ function F$(r, e) {
46251
46251
  }
46252
46252
  for (var b = Math.min(h, f - 1) + 1, w = 1; w <= b; w++) {
46253
46253
  var T = w / b;
46254
- Pn(p, g, m, S, T, n), Pn(d, y, _, x, T, i), p = n[3], d = i[3], v.push(n[1], i[1], n[2], i[2], p, d), g = n[5], y = i[5], m = n[6], _ = i[6];
46254
+ Nn(p, g, m, S, T, n), Nn(d, y, _, x, T, i), p = n[3], d = i[3], v.push(n[1], i[1], n[2], i[2], p, d), g = n[5], y = i[5], m = n[6], _ = i[6];
46255
46255
  }
46256
46256
  h -= b - 1;
46257
46257
  }
@@ -46708,7 +46708,7 @@ function Go(r) {
46708
46708
  function tq(r, e, t) {
46709
46709
  var a = Cs("update", t, e);
46710
46710
  a && r.traverse(function(n) {
46711
- if (n instanceof Ir) {
46711
+ if (n instanceof Er) {
46712
46712
  var i = LO(n);
46713
46713
  i && n.animateFrom({
46714
46714
  style: i
@@ -46828,7 +46828,7 @@ function fD(r) {
46828
46828
  function vD(r) {
46829
46829
  return W(r) ? r.sort().join(",") : r;
46830
46830
  }
46831
- function gn(r) {
46831
+ function yn(r) {
46832
46832
  if (r.hostModel)
46833
46833
  return r.hostModel.getModel("universalTransition").get("divideShape");
46834
46834
  }
@@ -46857,12 +46857,12 @@ function rq(r, e) {
46857
46857
  process.env.NODE_ENV !== "production" && i(f), t.set(f, {
46858
46858
  oldSeries: [{
46859
46859
  dataGroupId: v.dataGroupId,
46860
- divide: gn(v.data),
46860
+ divide: yn(v.data),
46861
46861
  data: v.data
46862
46862
  }],
46863
46863
  newSeries: [{
46864
46864
  dataGroupId: s,
46865
- divide: gn(l),
46865
+ divide: yn(l),
46866
46866
  data: l
46867
46867
  }]
46868
46868
  });
@@ -46873,7 +46873,7 @@ function rq(r, e) {
46873
46873
  var g = a.get(d);
46874
46874
  g.data && h.push({
46875
46875
  dataGroupId: g.dataGroupId,
46876
- divide: gn(g.data),
46876
+ divide: yn(g.data),
46877
46877
  data: g.data
46878
46878
  });
46879
46879
  }), h.length && t.set(f, {
@@ -46881,7 +46881,7 @@ function rq(r, e) {
46881
46881
  newSeries: [{
46882
46882
  dataGroupId: s,
46883
46883
  data: l,
46884
- divide: gn(l)
46884
+ divide: yn(l)
46885
46885
  }]
46886
46886
  });
46887
46887
  } else {
@@ -46892,13 +46892,13 @@ function rq(r, e) {
46892
46892
  oldSeries: [{
46893
46893
  dataGroupId: c.dataGroupId,
46894
46894
  data: c.data,
46895
- divide: gn(c.data)
46895
+ divide: yn(c.data)
46896
46896
  }],
46897
46897
  newSeries: []
46898
46898
  }, t.set(c.key, p)), p.newSeries.push({
46899
46899
  dataGroupId: s,
46900
46900
  data: l,
46901
- divide: gn(l)
46901
+ divide: yn(l)
46902
46902
  });
46903
46903
  }
46904
46904
  }
@@ -46920,7 +46920,7 @@ function aq(r, e, t, a) {
46920
46920
  dataGroupId: e.oldDataGroupIds[s],
46921
46921
  data: e.oldData[s],
46922
46922
  // TODO can specify divideShape in transition.
46923
- divide: gn(e.oldData[s]),
46923
+ divide: yn(e.oldData[s]),
46924
46924
  groupIdDim: o.dimension
46925
46925
  });
46926
46926
  }), D(Ft(r.to), function(o) {
@@ -46930,7 +46930,7 @@ function aq(r, e, t, a) {
46930
46930
  i.push({
46931
46931
  dataGroupId: e.oldDataGroupIds[s],
46932
46932
  data: l,
46933
- divide: gn(l),
46933
+ divide: yn(l),
46934
46934
  groupIdDim: o.dimension
46935
46935
  });
46936
46936
  }
@@ -47142,7 +47142,7 @@ function om(r, e, t) {
47142
47142
  if (o.gap != null) {
47143
47143
  var l = !1;
47144
47144
  if (X(o.gap)) {
47145
- var u = Ar(o.gap);
47145
+ var u = Mr(o.gap);
47146
47146
  if (u.match(/%$/)) {
47147
47147
  var f = parseFloat(u) / 100;
47148
47148
  n(f, "Percent gap") || (f = 0), s.gapParsed.type = "tpPrct", s.gapParsed.val = f, l = !0;
@@ -47462,7 +47462,7 @@ function xq(r, e, t) {
47462
47462
  }))
47463
47463
  return;
47464
47464
  var n = Le();
47465
- Gn(n, n, -e);
47465
+ Fn(n, n, -e);
47466
47466
  var i = U(t, function(m) {
47467
47467
  return m.transform ? da(Le(), n, m.transform) : n;
47468
47468
  });
@@ -47751,8 +47751,6 @@ class Iq {
47751
47751
  };
47752
47752
  }
47753
47753
  buildSpecificOption(e, t) {
47754
- if (!e?.length || !t)
47755
- return {};
47756
47754
  let a = {};
47757
47755
  switch (t.type) {
47758
47756
  case "xy":
@@ -47800,28 +47798,32 @@ var Eq = Object.defineProperty, Pq = Object.getOwnPropertyDescriptor, MP = (r) =
47800
47798
  for (var n = a > 1 ? void 0 : a ? Pq(e, t) : e, i = r.length - 1, o; i >= 0; i--)
47801
47799
  (o = r[i]) && (n = (a ? o(e, t, n) : o(n)) || n);
47802
47800
  return a && n && Eq(e, t, n), n;
47803
- }, LP = (r, e, t) => e.has(r) || MP("Cannot " + t), yi = (r, e, t) => (LP(r, e, "read from private field"), e.get(r)), Nq = (r, e, t) => e.has(r) ? MP("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), yD = (r, e, t, a) => (LP(r, e, "write to private field"), e.set(r, t), t), Rr;
47801
+ }, LP = (r, e, t) => e.has(r) || MP("Cannot " + t), cn = (r, e, t) => (LP(r, e, "read from private field"), e.get(r)), Nq = (r, e, t) => e.has(r) ? MP("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), yD = (r, e, t, a) => (LP(r, e, "write to private field"), e.set(r, t), t), _r;
47804
47802
  let Ja = class extends PP {
47805
47803
  constructor() {
47806
- super(), this.localize = new kP(this), this.eChartController = new Iq(this), this.data = [], this.loading = !1, Nq(this, Rr, null), this.handleChartDrillDown = this.handleChartDrillDown.bind(this);
47804
+ super(), this.localize = new kP(this), this.eChartController = new Iq(this), this.data = [], this.loading = !1, Nq(this, _r, null), this.handleChartDrillDown = this.handleChartDrillDown.bind(this);
47807
47805
  }
47808
47806
  connectedUpdatedCallback() {
47809
- yD(this, Rr, q5(this.chartDiv)), this.handleUpdate();
47807
+ yD(this, _r, q5(this.chartDiv)), this.handleUpdate();
47810
47808
  }
47811
47809
  disconnectedCallback() {
47812
- super.disconnectedCallback(), yi(this, Rr)?.dispose(), yD(this, Rr, null);
47810
+ super.disconnectedCallback(), cn(this, _r)?.dispose(), yD(this, _r, null);
47813
47811
  }
47814
47812
  handleUpdate() {
47815
- if (yi(this, Rr) && this.spec) {
47813
+ if (cn(this, _r)) {
47814
+ if (!this.data?.length || !this.spec) {
47815
+ cn(this, _r).clear();
47816
+ return;
47817
+ }
47816
47818
  const r = this.eChartController.buildSpecificOption(
47817
47819
  this.data,
47818
47820
  this.spec
47819
47821
  );
47820
- yi(this, Rr).setOption(r), yi(this, Rr).on("click", this.handleChartDrillDown), this.emit("cx-e-chart-rendered");
47822
+ cn(this, _r).setOption(r), cn(this, _r).on("click", this.handleChartDrillDown), this.emit("cx-e-chart-rendered");
47821
47823
  }
47822
47824
  }
47823
47825
  handleResize() {
47824
- yi(this, Rr) && yi(this, Rr).resize();
47826
+ cn(this, _r) && cn(this, _r).resize();
47825
47827
  }
47826
47828
  handleChartDrillDown(r) {
47827
47829
  let e = null;
@@ -47845,7 +47847,7 @@ let Ja = class extends PP {
47845
47847
  }
47846
47848
  this.emit("cx-e-chart-drill-down", {
47847
47849
  detail: {
47848
- chart: yi(this, Rr),
47850
+ chart: cn(this, _r),
47849
47851
  data: e,
47850
47852
  name: r.name,
47851
47853
  raw: r,
@@ -47877,7 +47879,7 @@ let Ja = class extends PP {
47877
47879
  `;
47878
47880
  }
47879
47881
  };
47880
- Rr = /* @__PURE__ */ new WeakMap();
47882
+ _r = /* @__PURE__ */ new WeakMap();
47881
47883
  Ja.styles = [NP, Mq];
47882
47884
  Ja.dependencies = {
47883
47885
  "cx-resize-observer": IP,