@perses-dev/status-history-chart-plugin 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/__mf/js/StatusHistoryChart.5b8469b5.js +6 -0
  2. package/__mf/js/async/{964.69ec877e.js → 121.17e95c0f.js} +2 -2
  3. package/__mf/js/async/153.a05b947a.js +2 -0
  4. package/__mf/js/async/{488.f8727193.js → 177.8e51631b.js} +1 -1
  5. package/__mf/js/async/{882.d579a0a9.js → 189.fb5828be.js} +2 -2
  6. package/__mf/js/async/192.8fa94a82.js +1 -0
  7. package/__mf/js/async/2.7f4594b1.js +1 -0
  8. package/__mf/js/async/235.59e4cd91.js +1 -0
  9. package/__mf/js/async/274.6a9f4c88.js +2 -0
  10. package/__mf/js/async/283.94f964e7.js +1 -0
  11. package/__mf/js/async/356.dfb4c773.js +1 -0
  12. package/__mf/js/async/392.0b29b077.js +2 -0
  13. package/__mf/js/async/470.a6095e83.js +2 -0
  14. package/__mf/js/async/490.74645007.js +39 -0
  15. package/__mf/js/async/501.1e94e650.js +22 -0
  16. package/__mf/js/async/525.9b8b1f1d.js +2 -0
  17. package/__mf/js/async/{62.bfb773d9.js → 558.df5de61b.js} +1 -1
  18. package/__mf/js/async/{214.b0f929ef.js → 587.4f01f05a.js} +1 -1
  19. package/__mf/js/async/588.3d58e41b.js +1 -0
  20. package/__mf/js/async/616.1c080169.js +1 -0
  21. package/__mf/js/async/623.a8ebcf5c.js +1 -0
  22. package/__mf/js/async/644.cbae4105.js +110 -0
  23. package/__mf/js/async/71.a42c00bc.js +1 -0
  24. package/__mf/js/async/790.6a647c6c.js +7 -0
  25. package/__mf/js/async/873.937a61ba.js +1 -0
  26. package/__mf/js/async/941.2e8dd304.js +2 -0
  27. package/__mf/js/async/{738.4ab65b65.js → 968.c21f2475.js} +1 -1
  28. package/__mf/js/async/978.563a3078.js +1 -0
  29. package/__mf/js/async/__federation_expose_StatusHistoryChart.8d3d006b.js +23 -0
  30. package/__mf/js/async/lib-router.9ccc993b.js +2 -0
  31. package/__mf/js/main.e25dd75c.js +6 -0
  32. package/lib/StatusHistoryChartBase.d.ts.map +1 -1
  33. package/lib/StatusHistoryChartBase.js +13 -4
  34. package/lib/StatusHistoryChartBase.js.map +1 -1
  35. package/lib/StatusHistoryChartOptionsEditorSettings.js +1 -1
  36. package/lib/StatusHistoryChartOptionsEditorSettings.js.map +1 -1
  37. package/lib/StatusHistoryPanel.d.ts.map +1 -1
  38. package/lib/StatusHistoryPanel.js +2 -5
  39. package/lib/StatusHistoryPanel.js.map +1 -1
  40. package/lib/bootstrap.js +1 -1
  41. package/lib/bootstrap.js.map +1 -1
  42. package/lib/cjs/StatusHistoryChartBase.js +11 -2
  43. package/lib/cjs/StatusHistoryPanel.js +1 -4
  44. package/lib/cjs/index-federation.js +12 -12
  45. package/lib/cjs/utils/get-color.js +6 -6
  46. package/mf-manifest.json +34 -34
  47. package/mf-stats.json +34 -34
  48. package/package.json +4 -4
  49. package/__mf/js/StatusHistoryChart.fe2d194a.js +0 -5
  50. package/__mf/js/async/168.acdd5953.js +0 -2
  51. package/__mf/js/async/173.2ad23420.js +0 -2
  52. package/__mf/js/async/178.f17e88a4.js +0 -22
  53. package/__mf/js/async/224.e11df4e6.js +0 -1
  54. package/__mf/js/async/238.9bd2d0b1.js +0 -1
  55. package/__mf/js/async/292.e14321fa.js +0 -1
  56. package/__mf/js/async/409.ada82acc.js +0 -1
  57. package/__mf/js/async/47.1ab6c914.js +0 -39
  58. package/__mf/js/async/491.a1482b95.js +0 -110
  59. package/__mf/js/async/651.2ea2eabf.js +0 -1
  60. package/__mf/js/async/679.04e9e73d.js +0 -1
  61. package/__mf/js/async/694.901f7598.js +0 -1
  62. package/__mf/js/async/740.d6f90a72.js +0 -1
  63. package/__mf/js/async/75.f12728d5.js +0 -1
  64. package/__mf/js/async/750.03619521.js +0 -2
  65. package/__mf/js/async/770.2717fe6a.js +0 -1
  66. package/__mf/js/async/85.752697a3.js +0 -7
  67. package/__mf/js/async/863.a96e3b8c.js +0 -2
  68. package/__mf/js/async/960.fb944311.js +0 -2
  69. package/__mf/js/async/980.d85dbf86.js +0 -1
  70. package/__mf/js/async/981.f9bb8f5d.js +0 -2
  71. package/__mf/js/async/__federation_expose_StatusHistoryChart.ed6afeef.js +0 -23
  72. package/__mf/js/async/lib-router.c60b631c.js +0 -2
  73. package/__mf/js/main.a792e1da.js +0 -5
  74. /package/__mf/css/async/{263.d3010b86.css → 442.d3010b86.css} +0 -0
  75. /package/__mf/css/async/{341.d3010b86.css → 61.d3010b86.css} +0 -0
  76. /package/__mf/css/async/{759.d3010b86.css → 823.d3010b86.css} +0 -0
  77. /package/__mf/js/async/{964.69ec877e.js.LICENSE.txt → 121.17e95c0f.js.LICENSE.txt} +0 -0
  78. /package/__mf/js/async/{168.acdd5953.js.LICENSE.txt → 153.a05b947a.js.LICENSE.txt} +0 -0
  79. /package/__mf/js/async/{882.d579a0a9.js.LICENSE.txt → 189.fb5828be.js.LICENSE.txt} +0 -0
  80. /package/__mf/js/async/{960.fb944311.js.LICENSE.txt → 274.6a9f4c88.js.LICENSE.txt} +0 -0
  81. /package/__mf/js/async/{981.f9bb8f5d.js.LICENSE.txt → 392.0b29b077.js.LICENSE.txt} +0 -0
  82. /package/__mf/js/async/{173.2ad23420.js.LICENSE.txt → 470.a6095e83.js.LICENSE.txt} +0 -0
  83. /package/__mf/js/async/{47.1ab6c914.js.LICENSE.txt → 490.74645007.js.LICENSE.txt} +0 -0
  84. /package/__mf/js/async/{178.f17e88a4.js.LICENSE.txt → 501.1e94e650.js.LICENSE.txt} +0 -0
  85. /package/__mf/js/async/{750.03619521.js.LICENSE.txt → 525.9b8b1f1d.js.LICENSE.txt} +0 -0
  86. /package/__mf/js/async/{491.a1482b95.js.LICENSE.txt → 644.cbae4105.js.LICENSE.txt} +0 -0
  87. /package/__mf/js/async/{85.752697a3.js.LICENSE.txt → 790.6a647c6c.js.LICENSE.txt} +0 -0
  88. /package/__mf/js/async/{863.a96e3b8c.js.LICENSE.txt → 941.2e8dd304.js.LICENSE.txt} +0 -0
  89. /package/__mf/js/async/{lib-router.c60b631c.js.LICENSE.txt → lib-router.9ccc993b.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 525.9b8b1f1d.js.LICENSE.txt */
2
+ "use strict";(self.chunk_StatusHistoryChart=self.chunk_StatusHistoryChart||[]).push([["525"],{31831:function(t,e,i){i.d(e,{C6:()=>r});var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}},74915:function(t,e,i){i.d(e,{C6:()=>r});var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}},68532:function(t,e,i){i.d(e,{Jw:()=>o,LR:()=>u,LW:()=>l,Nz:()=>h,Xr:()=>d,ap:()=>f,oi:()=>s,t5:()=>p});var n=i(4884),r=(0,i(84124).$r)();function o(t,e,i,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var h=void 0,c=void 0,p=void 0;return r?(h=(0,n.retrieve2)(r.duration,200),c=(0,n.retrieve2)(r.easing,"cubicOut"),p=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(p=a.delay)),(0,n.isFunction)(p)&&(p=p(i,o)),(0,n.isFunction)(h)&&(h=h(i)),{duration:h||0,delay:p,easing:c}}function a(t,e,i,r,a,s,l){var u,h=!1;(0,n.isFunction)(a)?(l=s,s=a,a=null):(0,n.isObject)(a)&&(s=a.cb,l=a.during,h=a.isFrom,u=a.removeOpt,a=a.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var p=o(t,r,a,c?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var f={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!c,scope:t,during:l};h?e.animateFrom(i,f):e.animateTo(i,f)}else e.stopAnimation(),h||e.attr(i),l&&l(1),s&&s()}function s(t,e,i,n,r,o){a("update",t,e,i,n,r,o)}function l(t,e,i,n,r,o){a("enter",t,e,i,n,r,o)}function u(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function h(t,e,i,n,r,o){u(t)||a("leave",t,e,i,n,r,o)}function c(t,e,i,n){t.removeTextContent(),t.removeTextGuideLine(),h(t,{style:{opacity:0}},e,i,n)}function p(t,e,i){function n(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||c(t,e,i,n)}):c(t,e,i,n)}function f(t){r(t).oldStyle=t.style}function d(t){return r(t).oldStyle}},9356:function(t,e,i){i.d(e,{a:()=>x});var n=i(31831),r=i(59033),o=i(63811),a=i(64586),s=i(72059),l=i(46979),u=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=l.yh.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,i,n,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=i;for(var f=0;f<p;++f){var d=t[f],g=d[0],y=d[1],v=n(d[2]);c.globalAlpha=v,c.drawImage(a,g-u,y-u)}if(!h.width||!h.height)return h;for(var m=c.getImageData(0,0,h.width,h.height),_=m.data,x=0,w=_.length,b=this.minOpacity,S=this.maxOpacity-b;x<w;){var v=_[x+3]/256,M=4*Math.floor(255*v);if(v>0){var A=o(v)?s:l;v>0&&(v=v*S+b),_[x++]=A[M],_[x++]=A[M+1],_[x++]=A[M+2],_[x++]=A[M+3]*v*256}else x+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=l.yh.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var n=t.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-e,e,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),t},t.prototype._getGradient=function(t,e){for(var i=this._gradientPixels,n=i[e]||(i[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),n[o++]=r[0],n[o++]=r[1],n[o++]=r[2],n[o++]=r[3];return n},t}(),h=i(4884),c=i(31440),p=i(43139),f=i(73394);function d(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var g=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.prototype.render=function(t,e,i){e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),this._progressiveEls=null,this.group.removeAll();var n,r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):d(r)&&this._renderOnGeo(r,t,n,i)},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,i,n){var r=e.coordinateSystem;r&&(d(r)?this.render(e,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){r.traverseElements(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,i,n,r){var a,l,u,h,c=t.coordinateSystem,d=(0,p.g)(c,"cartesian2d");if(d){var g=c.getAxis("x"),y=c.getAxis("y");a=g.getBandWidth()+.5,l=y.getBandWidth()+.5,u=g.scale.getExtent(),h=y.scale.getExtent()}for(var v=this.group,m=t.getData(),_=t.getModel(["emphasis","itemStyle"]).getItemStyle(),x=t.getModel(["blur","itemStyle"]).getItemStyle(),w=t.getModel(["select","itemStyle"]).getItemStyle(),b=t.get(["itemStyle","borderRadius"]),S=(0,f.lx)(t),M=t.getModel("emphasis"),A=M.get("focus"),T=M.get("blurScope"),C=M.get("disabled"),I=d?[m.mapDimension("x"),m.mapDimension("y"),m.mapDimension("value")]:[m.mapDimension("time"),m.mapDimension("value")],k=i;k<n;k++){var D=void 0,O=m.getItemVisual(k,"style");if(d){var P=m.get(I[0],k),L=m.get(I[1],k);if(isNaN(m.get(I[2],k))||isNaN(P)||isNaN(L)||P<u[0]||P>u[1]||L<h[0]||L>h[1])continue;var R=c.dataToPoint([P,L]);D=new o.A({shape:{x:R[0]-a/2,y:R[1]-l/2,width:a,height:l},style:O})}else{if(isNaN(m.get(I[1],k)))continue;D=new o.A({z2:1,shape:c.dataToRect([m.get(I[0],k)]).contentShape,style:O})}if(m.hasItemOption){var z=m.getItemModel(k),E=z.getModel("emphasis");_=E.getModel("itemStyle").getItemStyle(),x=z.getModel(["blur","itemStyle"]).getItemStyle(),w=z.getModel(["select","itemStyle"]).getItemStyle(),b=z.get(["itemStyle","borderRadius"]),A=E.get("focus"),T=E.get("blurScope"),C=E.get("disabled"),S=(0,f.lx)(z)}D.shape.r=b;var B=t.getRawValue(k),N="-";B&&null!=B[2]&&(N=B[2]+""),(0,f.qM)(D,S,{labelFetcher:t,labelDataIndex:k,defaultOpacity:O.opacity,defaultText:N}),D.ensureState("emphasis").style=_,D.ensureState("blur").style=x,D.ensureState("select").style=w,(0,s.Lm)(D,A,T,C),D.incremental=r,r&&(D.states.emphasis.hoverLayer=!0),v.add(D),m.setItemGraphicEl(k,D),this._progressiveEls&&this._progressiveEls.push(D)}},e.prototype._renderOnGeo=function(t,e,i,n){var r,o,s,l,c,p,f,d=i.targetVisuals.inRange,g=i.targetVisuals.outOfRange,y=e.getData(),v=this._hmLayer||this._hmLayer||new u;v.blurSize=e.get("blurSize"),v.pointSize=e.get("pointSize"),v.minOpacity=e.get("minOpacity"),v.maxOpacity=e.get("maxOpacity");var m=t.getViewRect().clone(),_=t.getRoamTransform();m.applyTransform(_);var x=Math.max(m.x,0),w=Math.max(m.y,0),b=Math.min(m.width+m.x,n.getWidth()),S=Math.min(m.height+m.y,n.getHeight()),M=b-x,A=S-w,T=[y.mapDimension("lng"),y.mapDimension("lat"),y.mapDimension("value")],C=y.mapArray(T,function(e,i,n){var r=t.dataToPoint([e,i]);return r[0]-=x,r[1]-=w,r.push(n),r}),I=i.getExtent(),k="visualMap.continuous"===i.type?(r=i.option.range,o=I[1]-I[0],r=[(r[0]-I[0])/o,(r[1]-I[0])/o],function(t){return t>=r[0]&&t<=r[1]}):(s=i.getPieceList(),l=i.option.selected,c=I[1]-I[0],p=(s=h.map(s,function(t){return{interval:[(t.interval[0]-I[0])/c,(t.interval[1]-I[0])/c]}})).length,f=0,function(t){var e;for(e=f;e<p;e++){var i=s[e].interval;if(i[0]<=t&&t<=i[1]){f=e;break}}if(e===p)for(e=f-1;e>=0;e--){var i=s[e].interval;if(i[0]<=t&&t<=i[1]){f=e;break}}return e>=0&&e<p&&l[e]});v.update(C,M,A,d.color.getNormalizer(),{inRange:d.color.getColorMapper(),outOfRange:g.color.getColorMapper()},k);var D=new a.Ay({style:{width:M,height:A,x:x,y:w,image:v.canvas},silent:!0});this.group.add(D)},e.type="heatmap",e}(c.A),y=i(55785),v=i(43059),m=i(51907),_=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.prototype.getInitialData=function(t,e){return(0,v.A)(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=m.A.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(y.A);function x(t){t.registerChartView(g),t.registerSeriesModel(_)}},65132:function(t,e,i){i.d(e,{A:()=>r});var n=i(84124);function r(){var t=(0,n.$r)();return function(e){var i=t(e),n=e.pipelineContext,r=!!i.large,o=!!i.progressiveRender,a=i.large=!!(n&&n.large),s=i.progressiveRender=!!(n&&n.progressiveRender);return(r!==a||o!==s)&&"reset"}}},43059:function(t,e,i){i.d(e,{A:()=>y});var n=i(4884),r=i(15764),o=i(85337),a=i(1122),s=i(84124),l=i(51907),u=function(t){this.coordSysDims=[],this.axisMap=(0,n.createHashMap)(),this.categoryAxisMap=(0,n.createHashMap)(),this.coordSysName=t},h={cartesian2d:function(t,e,i,n){var r=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],i.set("x",r),i.set("y",o),c(r)&&(n.set("x",r),e.firstCategoryDimIndex=0),c(o)&&(n.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,i,n){var r=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],i.set("single",r),c(r)&&(n.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var r=t.getReferringComponents("polar",s.US).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",o),i.set("angle",a),c(o)&&(n.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(n.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,n.each)(a.parallelAxisIndex,function(t,n){var a=o.getComponent("parallelAxis",t),l=s[n];i.set(l,a),c(a)&&(r.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=n))})}};function c(t){return"category"===t.get("type")}var p=i(79576),f=i(41402),d=i(88569),g=i(95056);let y=function(t,e,i){i=i||{};var c,y,v,m,_,x,w,b,S=e.getSourceManager(),M=!1;t?(M=!0,b=(0,p.AF)(t)):M=(b=S.getSource()).sourceFormat===g.mK;var A=function(t){var e=t.get("coordinateSystem"),i=new u(e),n=h[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}(e),T=(y=e.get("coordinateSystem"),v=l.A.get(y),A&&A.coordSysDims&&(c=n.map(A.coordSysDims,function(t){var e={name:t},i=A.axisMap.get(t);if(i){var n=i.get("type");e.type=(0,a.B)(n)}return e})),c||(c=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),c),C=i.useEncodeDefaulter,I=n.isFunction(C)?C:C?n.curry(d.OC,T,e):null,k={coordDimensions:T,generateCoord:i.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:I,canOmitUnusedDimensions:!M},D=(0,o.A)(b,k),O=(m=D.dimensions,_=i.createInvertedIndices,A&&n.each(m,function(t,e){var i=t.coordDim,n=A.categoryAxisMap.get(i);n&&(null==x&&(x=e),t.ordinalMeta=n.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(w=!0)}),w||null==x||(m[x].otherDims.itemName=0),x),P=M?null:S.getSharedDataStore(D),L=(0,f.iJ)(e,{schema:D,store:P}),R=new r.A(D,e);R.setCalculationInfo(L);var z=null!=O&&function(t){if(t.sourceFormat===g.mK){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!n.isArray((0,s.vj)(e))}}(b)?function(t,e,i,n){return n===O?i:this.defaultDimValueGetter(t,e,i,n)}:null;return R.hasItemOption=!1,R.initData(M?b:P,null,z),R}},79132:function(t,e,i){i.d(e,{A:()=>M});var n=i(4884),r=i(79620),o=i(28887),a=i(59033),s=i(52384),l=i(35032),u=i(73394),h=i(25744),c=i(21916),p=i(60253),f=i(37817),d=i(28535),g=i(93530),y=i(6417),v=Math.PI,m=function(){function t(t,e){this.group=new r.A,this.opt=e,this.axisModel=t,(0,n.defaults)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var i=new r.A({x:e.position[0],y:e.position[1],rotation:e.rotation});i.updateTransform(),this._transformGroup=i}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,i){var n,r,o=(0,c._7)(e-t);return(0,c.dh)(o)?(r=i>0?"top":"bottom",n="center"):(0,c.dh)(o-v)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=o>0&&o<v?i>0?"right":"left":i>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,i,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=r.transform,h=[l[0],0],c=[l[1],0],f=h[0]>c[0];u&&((0,d.applyTransform)(h,h,u),(0,d.applyTransform)(c,c,u));var g=(0,n.extend)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.A({shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",i.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,n.isString)(v)&&(v=[v,v]),((0,n.isString)(m)||(0,n.isNumber)(m))&&(m=[m,m]);var _=(0,p.hV)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],w=m[1];(0,n.each)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((h[0]-c[0])*(h[0]-c[0])+(h[1]-c[1])*(h[1]-c[1]))}],function(e,n){if("none"!==v[n]&&null!=v[n]){var r=(0,p.v5)(v[n],-x/2,-w/2,x,w,g.stroke,!0),o=e.r+e.offset,a=f?c:h;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),i.add(r)}})}}},axisTickLabel:function(t,e,i,r){var o=function(t,e,i,r){var o=i.axis,a=i.getModel("axisTick"),s=a.get("show");if("auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),h=S(o.getTicksCoords(),e.transform,u,(0,n.defaults)(l.getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<h.length;c++)t.add(h[c]);return h}}(i,r,e,t),a=function(t,e,i,r){var o=i.axis;if(!(!(0,n.retrieve)(r.axisLabelShow,i.get(["axisLabel","show"]))||o.scale.isBlank())){var a=i.getModel("axisLabel"),c=a.get("margin"),p=o.getViewLabels(),f=((0,n.retrieve)(r.labelRotate,a.get("rotate"))||0)*v/180,d=m.innerTextLayout(r.rotation,f,r.labelDirection),g=i.getCategories&&i.getCategories(!0),y=[],_=m.isLabelSilent(i),x=i.get("triggerEvent");return(0,n.each)(p,function(f,v){var w="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(f.tickValue):f.tickValue,b=f.formattedLabel,S=f.rawLabel,M=a;if(g&&g[w]){var A=g[w];(0,n.isObject)(A)&&A.textStyle&&(M=new h.A(A.textStyle,a,i.ecModel))}var T=M.getTextColor()||i.get(["axisLine","lineStyle","color"]),C=o.dataToCoord(w),I=M.getShallow("align",!0)||d.textAlign,k=(0,n.retrieve2)(M.getShallow("alignMinLabel",!0),I),D=(0,n.retrieve2)(M.getShallow("alignMaxLabel",!0),I),O=M.getShallow("verticalAlign",!0)||M.getShallow("baseline",!0)||d.textVerticalAlign,P=(0,n.retrieve2)(M.getShallow("verticalAlignMinLabel",!0),O),L=(0,n.retrieve2)(M.getShallow("verticalAlignMaxLabel",!0),O),R=new s.Ay({x:C,y:r.labelOffset+r.labelDirection*c,rotation:d.rotation,silent:_,z2:10+(f.level||0),style:(0,u.VB)(M,{text:b,align:0===v?k:v===p.length-1?D:I,verticalAlign:0===v?P:v===p.length-1?L:O,fill:(0,n.isFunction)(T)?T("category"===o.type?S:"value"===o.type?w+"":w,v):T})});if(R.anid="label_"+w,x){var z=m.makeAxisEventDataBase(i);z.targetType="axisLabel",z.value=S,z.tickIndex=v,"category"===o.type&&(z.dataIndex=w),(0,l.z)(R).eventData=z}e.add(R),R.updateTransform(),y.push(R),t.add(R),R.decomposeTransform()}),y}}(i,r,e,t);if(function(t,e,i){if(!(0,g.PJ)(t.axis)){var n=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);i=i||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],h=i[1],c=i[i.length-1],p=i[i.length-2];!1===n?(x(o),x(u)):w(o,a)&&(n?(x(a),x(h)):(x(o),x(u))),!1===r?(x(s),x(c)):w(l,s)&&(r?(x(l),x(p)):(x(s),x(c)))}}(e,a,o),function(t,e,i,r){var o=i.axis,a=i.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=r*a.get("length"),h=(0,n.defaults)(l.getLineStyle(),(0,n.defaults)(i.getModel("axisTick").getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var p=S(s[c],e.transform,u,h,"minorticks_"+c),f=0;f<p.length;f++)t.add(p[f])}}(i,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var c=(0,y.os)((0,n.map)(a,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));(0,y.If)(c)}},axisName:function(t,e,i,r){var o,h,p=(0,n.retrieve)(t.axisName,e.get("name"));if(p){var f,d,g,y,_,x,w,S,M,A=e.get("nameLocation"),T=t.nameDirection,C=e.getModel("nameTextStyle"),I=e.get("nameGap")||0,k=e.axis.getExtent(),D=k[0]>k[1]?-1:1,O=["start"===A?k[0]-D*I:"end"===A?k[1]+D*I:(k[0]+k[1])/2,b(A)?t.labelOffset+T*I:0],P=e.get("nameRotate");null!=P&&(P=P*v/180),b(A)?o=m.innerTextLayout(t.rotation,null!=P?P:t.rotation,T):(f=t.rotation,d=A,g=P||0,y=k,w=(0,c._7)(g-f),S=y[0]>y[1],M="start"===d&&!S||"start"!==d&&S,(0,c.dh)(w-v/2)?(x=M?"bottom":"top",_="center"):(0,c.dh)(w-1.5*v)?(x=M?"top":"bottom",_="center"):(x="middle",_=w<1.5*v&&w>v/2?M?"left":"right":M?"right":"left"),o={rotation:w,textAlign:_,textVerticalAlign:x},null!=(h=t.axisNameAvailableWidth)&&(isFinite(h=Math.abs(h/Math.sin(o.rotation)))||(h=null)));var L=C.getFont(),R=e.get("nameTruncate",!0)||{},z=R.ellipsis,E=(0,n.retrieve)(t.nameTruncateMaxWidth,R.maxWidth,h),B=new s.Ay({x:O[0],y:O[1],rotation:o.rotation,silent:m.isLabelSilent(e),style:(0,u.VB)(C,{text:p,font:L,overflow:"truncate",width:E,ellipsis:z,fill:C.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:C.get("align")||o.textAlign,verticalAlign:C.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:B,componentModel:e,itemName:p}),B.__fullText=p,B.anid="name",e.get("triggerEvent")){var N=m.makeAxisEventDataBase(e);N.targetType="axisName",N.name=p,(0,l.z)(B).eventData=N}r.add(B),B.updateTransform(),i.add(B),B.decomposeTransform()}}};function x(t){t&&(t.ignore=!0)}function w(t,e){var i=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(i&&n){var r=f.identity([]);return f.rotate(r,r,-t.rotation),i.applyTransform(f.mul([],r,t.getLocalTransform())),n.applyTransform(f.mul([],r,e.getLocalTransform())),i.intersect(n)}}function b(t){return"middle"===t||"center"===t}function S(t,e,i,n,r){for(var s=[],l=[],u=[],h=0;h<t.length;h++){var c=t[h].coord;l[0]=c,l[1]=0,u[0]=c,u[1]=i,e&&((0,d.applyTransform)(l,l,e),(0,d.applyTransform)(u,u,e));var p=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:n,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[h].tickValue,s.push(p)}return s}let M=m},8642:function(t,e,i){i.d(e,{A:()=>s});var n=i(31831),r=i(33828),o=i(43583),a={};let s=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.prototype.render=function(e,i,n,o){this.axisPointerClass&&r.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,n,!0)},e.prototype.updateAxisPointer=function(t,e,i,n){this._doUpdateAxisPointerClass(t,i,!1)},e.prototype.remove=function(t,e){var i=this._axisPointer;i&&i.remove(e)},e.prototype.dispose=function(e,i){this._disposeAxisPointer(i),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,i,n){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,i,n):this._disposeAxisPointer(i)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},28767:function(t,e,i){i.d(e,{V:()=>s,Y:()=>a});var n=i(4884),r=i(63811),o=(0,i(84124).$r)();function a(t,e,i,a){var s=i.axis;if(!s.scale.isBlank()){var l=i.getModel("splitArea"),u=l.getModel("areaStyle"),h=u.get("color"),c=a.coordinateSystem.getRect(),p=s.getTicksCoords({tickModel:l,clamp:!0});if(p.length){var f=h.length,d=o(t).splitAreaColors,g=n.createHashMap(),y=0;if(d)for(var v=0;v<p.length;v++){var m=d.get(p[v].tickValue);if(null!=m){y=(m+(f-1)*v)%f;break}}var _=s.toGlobalCoord(p[0].coord),x=u.getAreaStyle();h=n.isArray(h)?h:[h];for(var v=1;v<p.length;v++){var w=s.toGlobalCoord(p[v].coord),b=void 0,S=void 0,M=void 0,A=void 0;s.isHorizontal()?(b=_,S=c.y,M=w-b,A=c.height,_=b+M):(b=c.x,S=_,M=c.width,A=w-S,_=S+A);var T=p[v-1].tickValue;null!=T&&g.set(T,y),e.add(new r.A({anid:null!=T?"area_"+T:null,shape:{x:b,y:S,width:M,height:A},style:n.defaults({fill:h[y]},x),autoBatch:!0,silent:!0})),y=(y+1)%f}o(t).splitAreaColors=g}}}function s(t){o(t).splitAreaColors=null}},86132:function(t,e,i){i.d(e,{A:()=>m});var n=i(4884),r=i(79620),o=i(59033),a=i(52384),s=i(68532),l=i(33828),u=i(77250),h=i(89425),c=(0,i(84124).$r)(),p=n.clone,f=n.bind;function d(t,e,i,r){!function t(e,i){if(!(n.isObject(e)&&n.isObject(i)))return e===i;var r=!0;return n.each(i,function(i,n){r=r&&t(e[n],i)}),!!r}(c(i).lastProp,r)&&(c(i).lastProp=r,e?s.oi(i,r,t):(i.stopAnimation(),i.attr(r)))}function g(t,e){t[e.get(["label","show"])?"show":"hide"]()}function y(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function v(t,e,i){var n=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r),t.silent=i)})}let m=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,i,o){var a=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,o||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var h={};this.makeElOption(h,a,t,e,i);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var f=n.curry(d,e,p);this.updatePointerEl(l,h,f),this.updateLabelEl(l,h,f,e)}else l=this._group=new r.A,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),i.getZr().add(l);v(l,e,!0),this._renderHandle(a)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var i=e.get("animation"),n=t.axis,r="category"===n.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===i||null==i){var a=this.animationThreshold;if(r&&n.getBandWidth()>a)return!0;if(o){var s=l.Yc(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/s>a}return!1}return!0===i},t.prototype.makeElOption=function(t,e,i,n,r){},t.prototype.createPointerEl=function(t,e,i,n){var r=e.pointer;if(r){var a=c(t).pointerEl=new o[r.type](p(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,i,n){if(e.label){var r=c(t).labelEl=new a.Ay(p(e.label));t.add(r),g(r,n)}},t.prototype.updatePointerEl=function(t,e,i){var n=c(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,i,n){var r=c(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{x:e.label.x,y:e.label.y}),g(r,n))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,r=this._api.getZr(),a=this._handle,s=i.getModel("handle"),l=i.get("status");if(!s.get("show")||!l||"hide"===l){a&&r.remove(a),this._handle=null;return}this._handle||(e=!0,a=this._handle=o.createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){u.ds(t.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),r.add(a)),v(a,i,!1),a.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var c=s.get("size");n.isArray(c)||(c=[c,c]),a.scaleX=c[0]/2,a.scaleY=c[1]/2,h.N(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){d(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),c(i).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),h.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}},t}()},8927:function(t,e,i){i.d(e,{A:()=>o});var n=i(4884),r=i(84124);function o(t,e){var i,o=[],a=t.seriesIndex;if(null==a||!(i=e.getSeriesByIndex(a)))return{point:[]};var s=i.getData(),l=r.le(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=i.coordinateSystem;if(i.getTooltipPosition)o=i.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)if(t.isStacked){var c=h.getBaseAxis(),p=h.getOtherAxis(c).dim,f=c.dim,d=+("x"===p||"radius"===p),g=s.mapDimension(f),y=[];y[d]=s.get(g,l),y[1-d]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(n.map(h.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},27462:function(t,e,i){i.d(e,{h:()=>h,k:()=>s});var n=i(4884),r=i(35209),o=(0,i(84124).$r)(),a=n.each;function s(t,e,i){if(!r.A.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,i("click",n.curry(u,"click")),i("mousemove",n.curry(u,"mousemove")),i("globalout",l));function i(i,n){t.on(i,function(i){var r,s,l,u,h,c,p,f,d=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&n(t,i,d.dispatchAction)}),u=d.pendings,h=e,p=u.showTip.length,f=u.hideTip.length,p?c=u.showTip[p-1]:f&&(c=u.hideTip[f-1]),c&&(c.dispatchAction=null,h.dispatchAction(c))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=i}}function l(t,e,i){t.handler("leave",null,i)}function u(t,e,i,n){e.handler(t,i,n)}function h(t,e){if(!r.A.node){var i=e.getZr();(o(i).records||{})[t]&&(o(i).records[t]=null)}}},11652:function(t,e,i){i.d(e,{a:()=>T});var n=i(8642),r=i(31831),o=i(86132),a=i(49024),s=i(45660),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis,l=o.grid,c=n.get("type"),p=u(l,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(e,!0));if(c&&"none"!==c){var d=a.bY(n),g=h[c](o,f,p);g.style=d,t.graphicKey=g.type,t.pointer=g}var y=s.Zp(l.model,i);a.DA(e,t,y,i,n,r)},e.prototype.getHandleTransform=function(t,e,i){var n=s.Zp(e.axis.grid.model,e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=a.Tc(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,n){var r=i.axis,o=r.grid,a=r.getGlobalExtent(!0),s=u(o,r).getOtherAxis(r).getGlobalExtent(),l=+("x"!==r.dim),h=[t.x,t.y];h[l]+=e[l],h[l]=Math.min(a[1],h[l]),h[l]=Math.max(a[0],h[l]);var c=(s[1]+s[0])/2,p=[c,c];return p[l]=h[l],{x:h[0],y:h[1],rotation:t.rotation,cursorPoint:p,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(o.A);function u(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var h={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:a.MU([e,i[0]],[e,i[1]],c(t))}},shadow:function(t,e,i){var n=Math.max(1,t.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:a.cU([e-n/2,i[0]],[n,r],c(t))}}};function c(t){return+("x"!==t.dim)}var p=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,r.C6)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(i(36805).A),f=i(27462),d=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,r.C6)(e,t),e.prototype.render=function(t,e,i){var n=e.getComponent("tooltip"),r=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";f.k("axisPointer",i,function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){f.h("axisPointer",e)},e.prototype.dispose=function(t,e){f.h("axisPointer",e)},e.type="axisPointer",e}(i(43583).A),g=i(4884),y=i(33828),v=i(84124),m=i(8927),_=(0,v.$r)();function x(t,e,i){var n=t.currTrigger,r=[t.x,t.y],o=t.dispatchAction||(0,g.bind)(i.dispatchAction,i),a=e.getComponent("axisPointer").coordSysAxesInfo;if(a){A(r)&&(r=(0,m.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var s,l,u,h,c,p,f,d,y,v,x,T=A(r),C=t.axesInfo,I=a.axesInfo,k="leave"===n||A(r),D={},O={},P={list:[],map:{}},L={showPointer:(0,g.curry)(b,O),showTooltip:(0,g.curry)(S,P)};(0,g.each)(a.coordSysMap,function(t,e){var i=T||t.containPoint(r);(0,g.each)(a.coordSysAxesInfo[e],function(t,e){var n=t.axis,o=function(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(C,t);if(!k&&i&&(!C||o)){var a=o&&o.value;null!=a||T||(a=n.pointToData(r)),null!=a&&w(t,a,L,!1,D)}})});var R={};return(0,g.each)(I,function(t,e){var i=t.linkGroup;i&&!O[e]&&(0,g.each)(i.axesInfo,function(e,n){var r=O[n];if(e!==t&&r){var o=r.value;i.mapper&&(o=t.axis.scale.parse(i.mapper(o,M(e),M(t)))),R[t.key]=o}})}),(0,g.each)(R,function(t,e){w(I[e],t,L,!0,D)}),s=O,l=I,u=D.axesInfo=[],(0,g.each)(l,function(t,e){var i=t.axisPointerModel.option,n=s[e];n?(t.useHandle||(i.status="show"),i.value=n.value,i.seriesDataIndices=(n.payloadBatch||[]).slice()):t.useHandle||(i.status="hide"),"show"===i.status&&u.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}),function(t,e,i,n){if(A(e)||!t.list.length)return n({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(P,r,t,o),h=I,p=(c=i).getZr(),f="axisPointerLastHighlights",d=_(p)[f]||{},y=_(p)[f]={},(0,g.each)(h,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&t.triggerEmphasis&&(0,g.each)(i.seriesDataIndices,function(t){y[t.seriesIndex+" | "+t.dataIndex]=t})}),v=[],x=[],(0,g.each)(d,function(t,e){y[e]||x.push(t)}),(0,g.each)(y,function(t,e){d[e]||v.push(t)}),x.length&&c.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:x}),v.length&&c.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:v}),D}}function w(t,e,i,n,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e)){if(!t.involveSeries)return void i.showPointer(t,e);var a,s,l,u,h,c,p,f,d=(a=e,u=(l=(s=t).axis).dim,h=a,c=[],p=Number.MAX_VALUE,f=-1,(0,g.each)(s.seriesModels,function(t,e){var i,n,r=t.getData().mapDimensionsAll(u);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(r,a,l);n=o.dataIndices,i=o.nestestValue}else{if(!(n=t.getData().indicesOfNearest(r[0],a,"category"===l.type?.5:null)).length)return;i=t.getData().get(r[0],n[0])}if(null!=i&&isFinite(i)){var s=a-i,d=Math.abs(s);d<=p&&((d<p||s>=0&&f<0)&&(p=d,f=s,h=i,c.length=0),(0,g.each)(n,function(e){c.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:c,snapToValue:h}),y=d.payloadBatch,v=d.snapToValue;y[0]&&null==r.seriesIndex&&(0,g.extend)(r,y[0]),!n&&t.snap&&o.containData(v)&&null!=v&&(e=v),i.showPointer(t,e,y),i.showTooltip(t,d,v)}}function b(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function S(t,e,i,n){var r=i.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=y.og(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function M(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function A(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function T(t){n.A.registerAxisPointerClass("CartesianAxisPointer",l),t.registerComponentModel(p),t.registerComponentView(d),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,g.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,y.Fo)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},x)}},33828:function(t,e,i){i.d(e,{Fo:()=>o,Yc:()=>l,h_:()=>s,mg:()=>u,og:()=>c});var n=i(25744),r=i(4884);function o(t,e){var i,o,s,l,u,p,f,d,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return i=g,o=t,s=e,l=o.getComponent("tooltip"),p=(u=o.getComponent("axisPointer")).get("link",!0)||[],f=[],(0,r.each)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=c(t.model),s=i.coordSysAxesInfo[e]={};i.coordSysMap[e]=t;var d=t.model.getModel("tooltip",l);if((0,r.each)(t.getAxes(),(0,r.curry)(m,!1,null)),t.getTooltipAxes&&l&&d.get("show")){var g="axis"===d.get("trigger"),y="cross"===d.get(["axisPointer","type"]),v=t.getTooltipAxes(d.get(["axisPointer","axis"]));(g||y)&&(0,r.each)(v.baseAxes,(0,r.curry)(m,!y||"cross",g)),y&&(0,r.each)(v.otherAxes,(0,r.curry)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||h(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,i,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.clone)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get(["label","show"]);if(h.show=null==c||c,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.defaults)(h,p.textStyle)}}return t.model.getModel("axisPointer",new n.A(u,i,o))}(g,d,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),x=c(g.model),w=l||m||"category"===g.type,b=i.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:w,snap:m,useHandle:h(y),seriesModels:[],linkGroup:null};s[x]=b,i.seriesInvolved=i.seriesInvolved||w;var S=function(t,e){for(var i=e.model,n=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[n+"AxisId"],i.id)||a(o[n+"AxisIndex"],i.componentIndex)||a(o[n+"AxisName"],i.name))return r}}(p,g);if(null!=S){var M=f[S]||(f[S]={axesInfo:{}});M.axesInfo[x]=b,M.mapper=p[S].mapper,b.linkGroup=M}}}}),g.seriesInvolved&&(d=g,t.eachSeries(function(t){var e=t.coordinateSystem,i=t.get(["tooltip","trigger"],!0),n=t.get(["tooltip","show"],!0);e&&"none"!==i&&!1!==i&&"item"!==i&&!1!==n&&!1!==t.get(["axisPointer","show"],!0)&&(0,r.each)(d.coordSysAxesInfo[c(e.model)],function(i){var n=i.axis;e.getAxis(n.dim)===n&&(i.seriesModels.push(t),null==i.seriesDataCount&&(i.seriesDataCount=0),i.seriesDataCount+=t.getData().count())})})),g}function a(t,e){return"all"===t||(0,r.isArray)(t)&&(0,r.indexOf)(t,e)>=0||t===e}function s(t){var e=l(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i.option,o=i.get("status"),a=i.get("value");null!=a&&(a=n.parse(a));var s=h(i);null==o&&(r.status=s?"show":"hide");var u=n.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function h(t){return!!t.get(["handle","show"])}function c(t){return t.type+"||"+t.id}},49024:function(t,e,i){i.d(e,{DA:()=>g,MU:()=>y,T8:()=>p,Tc:()=>d,_F:()=>f,bY:()=>c,cU:()=>v,u7:()=>m});var n=i(4884),r=i(59033),o=i(23960),a=i(3306),s=i(37817),l=i(93530),u=i(79132),h=i(73394);function c(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle()).fill=null:"shadow"===i&&((e=n.getAreaStyle()).stroke=null),e}function p(t,e,i,n,r){var s,l,u,c,p,d,g=f(i.get("value"),e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),y=i.getModel("label"),v=a.QX(y.get("padding")||0),m=y.getFont(),_=o.NO(g,m),x=r.position,w=_.width+v[1]+v[3],b=_.height+v[0]+v[2],S=r.align;"right"===S&&(x[0]-=w),"center"===S&&(x[0]-=w/2);var M=r.verticalAlign;"bottom"===M&&(x[1]-=b),"middle"===M&&(x[1]-=b/2),s=x,l=w,u=b,p=(c=n).getWidth(),d=c.getHeight(),s[0]=Math.min(s[0]+l,p)-l,s[1]=Math.min(s[1]+u,d)-u,s[0]=Math.max(s[0],0),s[1]=Math.max(s[1],0);var A=y.get("backgroundColor");A&&"auto"!==A||(A=e.get(["axisLine","lineStyle","color"])),t.label={x:x[0],y:x[1],style:(0,h.VB)(y,{text:g,font:m,fill:y.getTextColor(),padding:v,backgroundColor:A}),z2:10}}function f(t,e,i,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.each(r,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&u.seriesData.push(r)}),n.isString(s)?a=s.replace("{value}",a):n.isFunction(s)&&(a=s(u))}return a}function d(t,e,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),r.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(t,e,i,n,r,o){var a=u.A.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=r.get(["label","margin"]),p(e,n,r,o,{position:d(n.axis,t,i),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function y(t,e,i){return{x1:t[i=i||0],y1:t[1-i],x2:e[i],y2:e[1-i]}}function v(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}function m(t,e,i,n,r,o){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:o,clockwise:!0}}},90652:function(t,e,i){i.d(e,{a:()=>h});var n=i(31831),r=i(36805),o=i(43583),a=i(95056),s=i(66282),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,n.C6)(e,t),e.prototype.init=function(e,i,n){t.prototype.init.call(this,e,i,n),this._sourceManager=new s.R(this),(0,s.A)(this)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),(0,s.A)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.i_},e}(r.A),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,n.C6)(e,t),e.type="dataset",e}(o.A);function h(t){t.registerComponentModel(l),t.registerComponentView(u)}},59738:function(t,e,i){i.d(e,{a:()=>a});var n=i(50926),r=i(11652),o=i(74653);function a(t){(0,o.Y)(n.a),(0,o.Y)(r.a)}},50926:function(t,e,i){i.d(e,{a:()=>U});var n=i(31831),r=i(43583),o=i(36805),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(o.A),s=i(63811),l=i(4884),u=i(54648),h=i(84124),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",h.US).models[0]},e.type="cartesian2dAxis",e}(o.A);l.mixin(c,u.L);var p=i(96833),f=i(10675),d=i(93530),g=i(51690),y=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return l.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),v=i(37817),m=i(28535),_=["x","y"];function x(t){return"interval"===t.type||"time"===t.type}var w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=_,e}return(0,n.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(x(t)&&x(e)){var i=t.getExtent(),n=e.getExtent(),r=this.dataToPoint([i[0],n[0]]),o=this.dataToPoint([i[1],n[1]]),a=i[1]-i[0],s=n[1]-n[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-i[0]*l,c=r[1]-n[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=(0,v.invert)([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var i=this.dataToPoint(t),n=this.dataToPoint(e),r=this.getArea(),o=new g.A(i[0],i[1],n[0]-i[0],n[1]-i[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,i){i=i||[];var n=t[0],r=t[1];if(this._transform&&null!=n&&isFinite(n)&&null!=r&&isFinite(r))return(0,m.applyTransform)(i,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.toGlobalCoord(o.dataToCoord(n,e)),i[1]=a.toGlobalCoord(a.dataToCoord(r,e)),i},e.prototype.clampData=function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,r=i.getExtent(),o=n.getExtent(),a=i.parse(t[0]),s=n.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var i=[];if(this._invTransform)return(0,m.applyTransform)(i,t,this._invTransform);var n=this.getAxis("x"),r=this.getAxis("y");return i[0]=n.coordToData(n.toLocalCoord(t[0]),e),i[1]=r.coordToData(r.toLocalCoord(t[1]),e),i},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1])-t,r=Math.min(i[0],i[1])-t,o=Math.max(e[0],e[1])-n+t,a=Math.max(i[0],i[1])-r+t;return new g.A(n,r,o,a)},e}(y),b=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,n.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(i(71335).A),S=i(45660),M=i(48497),A=i(10108),T=function(){function t(t,e,i){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=_,this._initCartesian(t,e,i),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var i=this._axesMap;function n(t){var e,i=(0,l.keys)(t),n=i.length;if(n){for(var r=[],o=n-1;o>=0;o--){var a=t[+i[o]],s=a.model,u=a.scale;(0,M.rf)(u)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):((0,d.af)(u,s),(0,M.rf)(u)&&(e=a))}r.length&&(e||(e=r.pop(),(0,d.af)(e.scale,e.model)),(0,l.each)(r,function(t){(0,A.m)(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),n(i.x),n(i.y);var r={};(0,l.each)(i.x,function(t){I(i,"y",t,r)}),(0,l.each)(i.y,function(t){I(i,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,i){var n=t.getBoxLayoutParams(),r=!i&&t.get("containLabel"),o=(0,f.dV)(n,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.each)(a,function(t){var e,i,n,r,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,i=a?o.x:o.y,r=(n=e.getExtent())[0]+n[1],e.toGlobalCoord="x"===e.dim?function(t){return t+i}:function(t){return r-t+i},e.toLocalCoord="x"===e.dim?function(t){return t-i}:function(t){return r-t+i}})}s(),r&&((0,l.each)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,d.Og)(t);if(e){var i=t.isHorizontal()?"height":"width",n=t.model.get(["axisLabel","margin"]);o[i]-=e[i]+n,"top"===t.position?o.y+=e.height+n:"left"===t.position&&(o.x+=e.width+n)}}}),s()),(0,l.each)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i)return i[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}(0,l.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,r=this._coordsList;n<r.length;n++)if(r[n].getAxis("x").index===t||r[n].getAxis("y").index===e)return r[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,i){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},t.prototype.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},t.prototype._findConvertTarget=function(t){var e,i,n=t.seriesModel,r=t.xAxisModel||n&&n.getReferringComponents("xAxis",h.US).models[0],o=t.yAxisModel||n&&n.getReferringComponents("yAxis",h.US).models[0],a=t.gridModel,s=this._coordsList;return n?(e=n.coordinateSystem,0>(0,l.indexOf)(s,e)&&(e=null)):r&&o?e=this.getCartesian(r.componentIndex,o.componentIndex):r?i=this.getAxis("x",r.componentIndex):o?i=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:i}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,i){var n=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(i,n){if(C(i,t)){var l=i.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new b(e,(0,d.f$)(i),[0,0],i.get("type"),l),h="category"===u.type;u.onBand=h&&i.get("boundaryGap"),u.inverse=i.get("inverse"),i.axis=u,u.model=i,u.grid=r,u.index=n,r._axesList.push(u),a[e][n]=u,s[e]++}}}this._axesMap=a,(0,l.each)(a.x,function(e,i){(0,l.each)(a.y,function(r,o){var a="x"+i+"y"+o,s=new w(a);s.master=n,s.model=t,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function i(t,e){(0,l.each)((0,d.wq)(t,e.dim),function(i){e.scale.unionExtentFromData(t,i)})}(0,l.each)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,S.gO)(t)){var n=(0,S.LR)(t),r=n.xAxisModel,o=n.yAxisModel;if(C(r,e)&&C(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");i(s,l),i(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],i=[];return(0,l.each)(this.getCartesians(),function(n){var r=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),o=n.getOtherAxis(r);0>(0,l.indexOf)(e,r)&&e.push(r),0>(0,l.indexOf)(i,o)&&i.push(o)}),{baseAxes:e,otherAxes:i}},t.create=function(e,i){var n=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,i);a.name="grid_"+o,a.resize(r,i,!0),r.coordinateSystem=a,n.push(a)}),e.eachSeries(function(t){if((0,S.gO)(t)){var e=(0,S.LR)(t),i=e.xAxisModel,n=e.yAxisModel;t.coordinateSystem=i.getCoordSysModel().coordinateSystem.getCartesian(i.componentIndex,n.componentIndex)}}),n},t.dimensions=_,t}();function C(t,e){return t.getCoordSysModel()===e}function I(t,e,i,n){i.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=i.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)k(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&k(o[u])&&!n[h(o[u])]){r=o[u];break}r&&(n[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function k(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,d.JJ)(t)}var D=i(79620),O=i(59033),P=i(28887),L=i(79132),R=i(8642),z=i(28767),E=["axisLine","axisTickLabel","axisName"],B=["splitArea","splitLine","minorSplitLine"],N=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="CartesianAxisPointer",i}return(0,n.C6)(e,t),e.prototype.render=function(e,i,n,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new D.A,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=S.Zp(a,e),u=new L.A(e,l.extend({handleAutoShown:function(t){for(var i=a.coordinateSystem.getCartesians(),n=0;n<i.length;n++)if((0,M.rf)(i[n].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.each(E,u.add,u),this._axisGroup.add(u.getGroup()),l.each(B,function(t){e.get([t,"show"])&&V[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||O.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,i,n,r)}},e.prototype.remove=function(){(0,z.V)(this)},e.type="cartesianAxis",e}(R.A),V={splitLine:function(t,e,i,n){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=l.isArray(s)?s:[s];for(var u=n.coordinateSystem.getRect(),h=r.isHorizontal(),c=0,p=r.getTicksCoords({tickModel:o}),f=[],d=[],g=a.getLineStyle(),y=0;y<p.length;y++){var v=r.toGlobalCoord(p[y].coord);h?(f[0]=v,f[1]=u.y,d[0]=v,d[1]=u.y+u.height):(f[0]=u.x,f[1]=v,d[0]=u.x+u.width,d[1]=v);var m=c++%s.length,_=p[y].tickValue,x=new P.A({anid:null!=_?"line_"+p[y].tickValue:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:l.defaults({stroke:s[m]},g),silent:!0});O.subPixelOptimizeLine(x.shape,g.lineWidth),e.add(x)}}},minorSplitLine:function(t,e,i,n){var r=i.axis,o=i.getModel("minorSplitLine").getModel("lineStyle"),a=n.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],h=[],c=o.getLineStyle(),p=0;p<l.length;p++)for(var f=0;f<l[p].length;f++){var d=r.toGlobalCoord(l[p][f].coord);s?(u[0]=d,u[1]=a.y,h[0]=d,h[1]=a.y+a.height):(u[0]=a.x,u[1]=d,h[0]=a.x+a.width,h[1]=d);var g=new P.A({anid:"minor_line_"+l[p][f].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,silent:!0});O.subPixelOptimizeLine(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,i,n){(0,z.Y)(t,e,i,n)}},F=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.type="xAxis",e}(N),H=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=F.type,e}return(0,n.C6)(e,t),e.type="yAxis",e}(N),W=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,n.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.A({shape:t.coordinateSystem.getRect(),style:(0,l.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.A),G={offset:0};function U(t){t.registerComponentView(W),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",T),(0,p.A)(t,"x",c,G),(0,p.A)(t,"y",c,G),t.registerComponentView(F),t.registerComponentView(H),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}},91365:function(t,e,i){function n(t,e,i,n,a,s){t=t||0;var l,u=i[1]-i[0];if(null!=a&&(a=o(a,[0,u])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===n){var h=Math.abs(e[1]-e[0]);h=o(h,[0,u]),a=s=o(h,[a,s]),n=0}e[0]=o(e[0],i),e[1]=o(e[1],i);var c=r(e,n);e[n]+=t;var p=a||0,f=i.slice();return c.sign<0?f[0]+=p:f[1]-=p,e[n]=o(e[n],f),l=r(e,n),null!=a&&(l.sign!==c.sign||l.span<a)&&(e[1-n]=e[n]+c.sign*a),l=r(e,n),null!=s&&l.span>s&&(e[1-n]=e[n]+l.sign*s),e}function r(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function o(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}i.d(e,{A:()=>n})},72106:function(t,e,i){i.d(e,{a:()=>g});var n=i(31831),r=i(4884),o=i(52384),a=i(63811),s=i(35032),l=i(73394),u=i(10675),h=i(36805),c=i(43583),p=i(3306),f=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode={type:"box",ignoreSize:!0},i}return(0,n.C6)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(h.A),d=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.prototype.render=function(t,e,i){if(this.group.removeAll(),t.get("show")){var n=this.group,h=t.getModel("textStyle"),c=t.getModel("subtextStyle"),f=t.get("textAlign"),d=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.Ay({style:(0,l.VB)(h,{text:t.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.Ay({style:(0,l.VB)(c,{text:v,fill:c.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),w=t.get("triggerEvent",!0);g.silent=!_&&!w,m.silent=!x&&!w,_&&g.on("click",function(){(0,p.JW)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.JW)(x,"_"+t.get("subtarget"))}),(0,s.z)(g).eventData=(0,s.z)(m).eventData=w?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(g),v&&n.add(m);var b=n.getBoundingRect(),S=t.getBoxLayoutParams();S.width=b.width,S.height=b.height;var M=(0,u.dV)(S,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));f||("middle"===(f=t.get("left")||t.get("right"))&&(f="center"),"right"===f?M.x+=M.width:"center"===f&&(M.x+=M.width/2)),d||("center"===(d=t.get("top")||t.get("bottom"))&&(d="middle"),"bottom"===d?M.y+=M.height:"middle"===d&&(M.y+=M.height/2),d=d||"top"),n.x=M.x,n.y=M.y,n.markRedraw();var A={align:f,verticalAlign:d};g.setStyle(A),m.setStyle(A),b=n.getBoundingRect();var T=M.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var I=new a.A({shape:{x:b.x-T[3],y:b.y-T[0],width:b.width+T[1]+T[3],height:b.height+T[0]+T[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});n.add(I)}},e.type="title",e}(c.A);function g(t){t.registerComponentModel(f),t.registerComponentView(d)}},55875:function(t,e,i){i.d(e,{a:()=>K});var n=i(11652),r=i(74653),o=i(31831),a=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,o.C6)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(i(36805).A),s=i(4884),l=i(35209),u=i(77250),h=i(26776),c=i(3306);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function f(t){if(l.A.domSupported){for(var e=document.documentElement.style,i=0,n=t.length;i<n;i++)if(t[i]in e)return t[i]}}var d=f(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=f(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,c.Cb)(e,!0);var i=t.indexOf(e);return(t=-1===i?e:"-"+t.slice(0,i)+"-"+e).toLowerCase()}var v=i(56803),m=y(g,"transition"),_=y(d,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.A.transform3dSupported?"will-change:transform;":"");function w(t,e,i){var n=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.A.transformSupported)return i?"top:"+r+";left:"+n+";":[["top",r],["left",n]];var o=l.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+n+","+r+(o?",0":"")+")";return i?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[d,a]]}function b(t,e,i,n,r){var o=e&&e.painter;if(i){var a=o&&o.getViewportRoot();a&&(0,h.lJ)(t,a,i,n,r)}else{t[0]=n,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var S=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.A.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var n=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,s.isString)(r)?document.querySelector(r):(0,s.isDom)(r)?r:(0,s.isFunction)(r)&&r(t.getDom()));b(this._styleCoord,n,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(i),this._api=t,this._container=o;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=n.handler,i=n.painter.getViewportRoot();(0,u.e0)(i,t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,i,n=this._api.getDom(),r=(e="position",(i=n.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(n))?e?i[e]:i:null),o=n.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var i,n,r,o,a,u,h,p,f,d,g,y,b,S,M,A,T,C,I,k,D,O=this.el,P=O.style,L=this._styleCoord;O.innerHTML?P.cssText=x+(i=!this._firstShow,n=this._longHide,r=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),f=t.get("shadowOffsetY"),d=t.getModel("textStyle"),g=(0,v.CO)(t,"html"),y=p+"px "+f+"px "+u+"px "+h,r.push("box-shadow:"+y),i&&o&&r.push((S="opacity"+(b=" "+o/2+"s cubic-bezier(0.23,1,0.32,1)")+",visibility"+b,n||(b=" "+o+"s cubic-bezier(0.23,1,0.32,1)",S+=l.A.transformSupported?","+_+b:",left"+b+",top"+b),m+":"+S)),a&&r.push("background-color:"+a),(0,s.each)(["width","color","radius"],function(e){var i="border-"+e,n=(0,c.Cb)(i),o=t.get(n);null!=o&&r.push(i+":"+o+("color"===e?"":"px"))}),r.push((M=[],A=d.get("fontSize"),(T=d.getTextColor())&&M.push("color:"+T),M.push("font:"+d.getFont()),A&&M.push("line-height:"+Math.round(3*A/2)+"px"),C=d.get("textShadowColor"),I=d.get("textShadowBlur")||0,k=d.get("textShadowOffsetX")||0,D=d.get("textShadowOffsetY")||0,C&&I&&M.push("text-shadow:"+k+"px "+D+"px "+I+"px "+C),(0,s.each)(["decoration","align"],function(t){var e=d.get(t);e&&M.push("text-"+t+":"+e)}),M.join(";"))),null!=g&&r.push("padding:"+(0,c.QX)(g).join("px ")+"px"),r.join(";")+";")+w(L[0],L[1],!0)+"border-color:"+(0,c.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):P.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,i,n,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.isString)(r)&&"item"===i.get("trigger")&&!p(i)&&(a=function(t,e,i){if(!(0,s.isString)(i)||"inside"===i)return"";var n,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,c.he)(e);var l=n="left"===(n=i)?"right":"right"===n?"left":"top"===n?"bottom":"top",u=Math.max(1.5*Math.round(a),6),h="",p=_+":";(0,s.indexOf)(["left","right"],l)>-1?(h+="top:50%",p+="translateY(-50%) rotate("+(r="left"===l?-225:-45)+"deg)"):(h+="left:50%",p+="translateX(-50%) rotate("+(r="top"===l?225:45)+"deg)");var f=r*Math.PI/180,d=u+a,g=d*Math.abs(Math.cos(f))+d*Math.abs(Math.sin(f));h+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-d)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",h+";"+p+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(i,n,r)),(0,s.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.isArray)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.isDom)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var i=this._styleCoord;if(b(i,this._zr,this._container,t,e),null!=i[0]&&null!=i[1]){var n=this.el.style,r=w(i[0],i[1]);(0,s.each)(r,function(t){n[t[0]]=t[1]})}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),M=i(52384),A=i(58391),T=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),k(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,i,n,r){var o=this;s.isObject(t)&&(0,A.$8)(""),this.el&&this._zr.remove(this.el);var a=i.getModel("textStyle");this.el=new M.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:a.get("textShadowColor"),fill:i.get(["textStyle","color"]),padding:(0,v.CO)(i,"richText"),verticalAlign:"top",align:"left"},z:i.get("z")}),s.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=i.get(t)}),s.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),i=I(t.style);return[e.width+i.left+i.right,e.height+i.top+i.bottom]},t.prototype.moveTo=function(t,e){var i=this.el;if(i){var n=this._styleCoord;k(n,this._zr,t,e),t=n[0],e=n[1];var r=i.style,o=C(r.borderWidth||0),a=I(r);i.x=t+o+a.left,i.y=e+o+a.top,i.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function C(t){return Math.max(0,t)}function I(t){var e=C(t.shadowBlur||0),i=C(t.shadowOffsetX||0),n=C(t.shadowOffsetY||0);return{left:C(e-i),right:C(e+i),top:C(e-n),bottom:C(e+n)}}function k(t,e,i,n){t[0]=i,t[1]=n,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var D=i(21916),O=i(63811),P=i(8927),L=i(10675),R=i(25744),z=i(27462),E=i(93530),B=i(49024),N=i(84124),V=i(43583),F=i(29456),H=i(35032),W=i(42345),G=i(26889),U=i(89425),Y=new O.A({shape:{x:-1,y:-1,width:2,height:2}}),X=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,o.C6)(e,t),e.prototype.init=function(t,e){if(!l.A.node&&e.getDom()){var i=t.getComponent("tooltip"),n=this._renderMode=(0,N.XJ)(i.get("renderMode"));this._tooltipContent="richText"===n?new T(e):new S(e,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},e.prototype.render=function(t,e,i){if(!l.A.node&&i.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i;var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,U.N)(this,"_updatePosition",50,"fixRate"):(0,U.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");z.k("itemTooltip",this._api,(0,s.bind)(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,i=this._api,n=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==n&&"click"!==n){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){i.isDisposed()||r.manuallyShowTip(t,e,i,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,i,n){if(n.from!==this.uid&&!l.A.node&&i.getDom()){var r=q(n,i);this._ticket="";var o=n.dataByCoordSys,a=function(t,e,i){var n,r=(0,N.HB)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,N.JO)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(i.getViewOfComponentModel(a).group.traverse(function(e){var i=(0,H.z)(e).tooltipConfig;if(i&&i.name===t.name)return n=e,!0}),n))return{componentMainType:o,componentIndex:a.componentIndex,el:n}}}(n,e,i);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:n.position,positionDefault:"bottom"},r)}else if(n.tooltip&&null!=n.x&&null!=n.y)Y.x=n.x,Y.y=n.y,Y.update(),(0,H.z)(Y).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:Y},r);else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:o,tooltipOption:n.tooltipOption},r);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var u=(0,P.A)(n,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:n.position,positionDefault:"bottom"},r)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,i,n){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(q(n,i))},e.prototype._manuallyAxisShowTip=function(t,e,i,n){var r=n.seriesIndex,o=n.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===j([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:n.position}),!0}},e.prototype._tryShow=function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n,r,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(i){if("legend"===(0,H.z)(i).ssrType)return;this._lastDataByCoordSys=null,(0,G.R)(i,function(t){return null!=(0,H.z)(t).dataIndex?(n=t,!0):null!=(0,H.z)(t).tooltipConfig?(r=t,!0):void 0},!0),n?this._showSeriesItemTooltip(t,n,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var i=t.get("showDelay");e=(0,s.bind)(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},e.prototype._showAxisTooltip=function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=j([e.tooltipOption],n),a=this._renderMode,l=[],u=(0,v.Qx)("section",{blocks:[],noHeader:!0}),h=[],p=new v.lb;(0,s.each)(t,function(t){(0,s.each)(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=B._F(r,e.axis,i,t.seriesDataIndices,t.valueLabelOpt),f=(0,v.Qx)("section",{header:o,noHeader:!(0,s.trim)(o),sortBlocks:!0,blocks:[]});u.blocks.push(f),(0,s.each)(t.seriesDataIndices,function(u){var d=i.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=d.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=E.Dt(e.axis,{value:r}),y.axisValueLabel=o,y.marker=p.makeTooltipMarker("item",(0,c.he)(y.color),a);var v=(0,W.L)(d.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=j([d],n).get("valueFormatter");f.blocks.push(_?(0,s.extend)({valueFormatter:_},m):m)}v.text&&h.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),h.reverse();var f=e.position,d=o.get("order"),g=(0,v.Yu)(u,p,a,d,i.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=h.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,f,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],f,null,p)})},e.prototype._showSeriesItemTooltip=function(t,e,i){var n=this._ecModel,r=(0,H.z)(e),o=r.seriesIndex,a=n.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,h=r.dataType,p=l.getData(h),f=this._renderMode,d=t.positionDefault,g=j([p.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,h),_=new v.lb;m.marker=_.makeTooltipMarker("item",(0,c.he)(m.color),f);var x=(0,W.L)(l.formatTooltip(u,!1,h)),w=g.get("order"),b=g.get("valueFormatter"),S=x.frag,M=S?(0,v.Yu)(b?(0,s.extend)({valueFormatter:b},S):S,_,f,w,n.get("useUTC"),g.get("textStyle")):x.text,A="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,M,m,A,t.offsetX,t.offsetY,t.position,t.target,_)}),i({type:"showTip",dataIndexInside:u,dataIndex:p.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,i){var n=(0,H.z)(e),r=n.tooltipConfig.option||{};if((0,s.isString)(r)){var o=r;r={content:o,formatter:o}}var a=[r],l=this._ecModel.getComponent(n.componentMainType,n.componentIndex);l&&a.push(l),a.push({formatter:r.content});var u=t.positionDefault,h=j(a,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",f=new v.lb;this._showOrMove(h,function(){var i=(0,s.clone)(h.get("formatterParams")||{});this._showTooltipContent(h,c,i,p,t.offsetX,t.offsetY,t.position,e,f)}),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,i,n,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var p=t.get("formatter");a=a||t.get("position");var f=e,d=this._getNearestPoint([r,o],i,t.get("trigger"),t.get("borderColor")).color;if(p)if((0,s.isString)(p)){var g=t.ecModel.get("useUTC"),y=(0,s.isArray)(i)?i[0]:i,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=p,v&&(f=(0,F.GP)(y.axisValue,f,g)),f=(0,c.YK)(f,i,!0)}else if((0,s.isFunction)(p)){var m=(0,s.bind)(function(e,n){e===this._ticket&&(h.setContent(n,u,t,d,a),this._updatePosition(t,a,r,o,h,i,l))},this);this._ticket=n,f=p(i,n,m)}else f=p;h.setContent(f,u,t,d,a),h.show(t,d),this._updatePosition(t,a,r,o,h,i,l)}},e.prototype._getNearestPoint=function(t,e,i,n){return"axis"===i||(0,s.isArray)(e)?{color:n||("html"===this._renderMode?"#fff":"none")}:(0,s.isArray)(e)?void 0:{color:n||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,i,n,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),f=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,s.isFunction)(e)&&(e=e([i,n],o,r.el,d,{viewSize:[l,u],contentSize:h.slice()})),(0,s.isArray)(e))i=(0,D.lo)(e[0],l),n=(0,D.lo)(e[1],u);else if((0,s.isObject)(e)){var g=e;g.width=h[0],g.height=h[1];var y=(0,L.dV)(g,{width:l,height:u});i=y.x,n=y.y,c=null,f=null}else if((0,s.isString)(e)&&a){var v=function(t,e,i,n){var r=i[0],o=i[1],a=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,h,t.get("borderWidth"));i=v[0],n=v[1]}else{var m,_,x,w,b,S,M,A,T,C,v=(m=i,_=n,x=r,w=l,b=u,S=c?null:20,M=f?null:20,T=(A=x.getSize())[0],C=A[1],null!=S&&(m+T+S+2>w?m-=T+S:m+=S),null!=M&&(_+C+M>b?_-=C+M:_+=M),[m,_]);i=v[0],n=v[1]}if(c&&(i-=Z(c)?h[0]/2:"right"===c?h[0]:0),f&&(n-=Z(f)?h[1]/2:"bottom"===f?h[1]:0),p(t)){var I,k,O,P,R,z,E,B,v=(I=i,k=n,O=r,P=l,R=u,E=(z=O.getSize())[0],B=z[1],I=Math.min(I+E,P)-E,k=Math.min(k+B,R)-B,[I=Math.max(I,0),k=Math.max(k,0)]);i=v[0],n=v[1]}r.moveTo(i,n)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var i=this._lastDataByCoordSys,n=this._cbParamsList,r=!!i&&i.length===t.length;return r&&(0,s.each)(i,function(i,o){var a=i.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(r=r&&a.length===l.length)&&(0,s.each)(a,function(t,i){var o=l[i]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.each)(a,function(t,e){var i=u[e];r=r&&t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}),n&&(0,s.each)(t.seriesDataIndices,function(t){var i=t.seriesIndex,o=e[i],a=n[i];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.A.node&&e.getDom()&&((0,U.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),z.h("itemTooltip",e))},e.type="tooltip",e}(V.A);function j(t,e,i){var n,r=e.ecModel;i?(n=new R.A(i,r,r),n=new R.A(e.option,n,r)):n=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof R.A&&(a=a.get("tooltip",!0)),(0,s.isString)(a)&&(a={formatter:a}),a&&(n=new R.A(a,n,r)))}return n}function q(t,e){return t.dispatchAction||(0,s.bind)(e.dispatchAction,e)}function Z(t){return"center"===t||"middle"===t}function K(t){(0,r.Y)(n.a),t.registerComponentModel(a),t.registerComponentView(X),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.noop)}},6941:function(t,e,i){i.d(e,{J:()=>s});var n=i(4884),r=i(56803),o=i(98609),a=i(84124);function s(t){var e,i,s,l,u=t.series,h=t.dataIndex,c=t.multipleSeries,p=u.getData(),f=p.mapDimensionsAll("defaultedTooltip"),d=f.length,g=u.getRawValue(h),y=(0,n.isArray)(g),v=(0,r.aw)(u,h);if(d>1||y&&!d){var m=function(t,e,i,a,s){var l=e.getData(),u=(0,n.reduce)(t,function(t,e,i){var n=l.getDimensionInfo(i);return t||n&&!1!==n.tooltip&&null!=n.displayName},!1),h=[],c=[],p=[];function f(t,e){var i=l.getDimensionInfo(e);i&&!1!==i.otherDims.tooltip&&(u?p.push((0,r.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:i.displayName,value:t,valueType:i.type})):(h.push(t),c.push(i.type)))}return a.length?(0,n.each)(a,function(t){f((0,o.QE)(l,i,t),t)}):(0,n.each)(t,f),{inlineValues:h,inlineValueTypes:c,blocks:p}}(g,u,h,f,v);e=m.inlineValues,i=m.inlineValueTypes,s=m.blocks,l=m.inlineValues[0]}else if(d){var _=p.getDimensionInfo(f[0]);l=e=(0,o.QE)(p,h,f[0]),i=_.type}else l=e=y?g[0]:g;var x=(0,a.O0)(u),w=x&&u.name||"",b=p.getName(h),S=c?w:b;return(0,r.Qx)("section",{header:w,noHeader:c||!x,sortParam:l,blocks:[(0,r.Qx)("nameValue",{markerType:"item",markerColor:v,name:S,noName:!(0,n.trim)(S),value:e,valueType:i,dataIndex:h})].concat(s||[])})}},56803:function(t,e,i){i.d(e,{CO:()=>x,Qx:()=>p,Yu:()=>y,aw:()=>_,lb:()=>w});var n=i(26776),r=i(3306),o=i(4884),a=i(47163),s=i(21916),l="line-height:1";function u(t,e){var i=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,n.Me)(r+"")+"px;color:"+(0,n.Me)(i)+";font-weight:"+(0,n.Me)(o+""),valueStyle:"font-size:"+(0,n.Me)(s+"")+"px;color:"+(0,n.Me)(a)+";font-weight:"+(0,n.Me)(l+"")}:{nameStyle:{fontSize:r,fill:i,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function f(t){return"section"===t.type}function d(t,e,i,s){var p,y=e.noHeader,_={html:h[p=function t(e){if(f(e)){var i=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return(0,o.each)(e.blocks,function(e){var n=t(e);n>=i&&(i=n+ +(r&&(!n||f(e)&&!e.noHeader)))}),i}return 0}(e)],richText:c[p]},x=[],w=e.blocks||[];(0,o.assert)(!w||(0,o.isArray)(w)),w=w||[];var b=t.orderMode;if(e.sortBlocks&&b){w=w.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,b)){var M=new a.Fl(S[b],null);w.sort(function(t,e){return M.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===b&&w.reverse()}(0,o.each)(w,function(i,n){var r=e.valueFormatter,a=(f(i)?d:g)(r?(0,o.extend)((0,o.extend)({},t),{valueFormatter:r}):t,i,n>0?_.html:0,s);null!=a&&x.push(a)});var A="richText"===t.renderMode?x.join(_.richText):v(x.join(""),y?i:_.html);if(y)return A;var T=(0,r.yC)(e.header,"ordinal",t.useUTC),C=u(s,t.renderMode).nameStyle;return"richText"===t.renderMode?m(t,T,C)+_.richText+A:v('<div style="'+C+";"+l+';">'+(0,n.Me)(T)+"</div>"+A,i)}function g(t,e,i,a){var s=t.renderMode,l=e.noName,h=e.noValue,c=!e.markerType,p=e.name,f=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,r.yC)(t,(0,o.isArray)(k)?k[e]:k,f)})};if(!l||!h){var g,y,_,x,w,b,S,M,A,T,C=c?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),I=l?"":(0,r.yC)(p,"ordinal",f),k=e.valueType,D=h?[]:d(e.value,e.dataIndex),O=!c||!l,P=!c&&l,L=u(a,s),R=L.nameStyle,z=L.valueStyle;return"richText"===s?(c?"":C)+(l?"":m(t,I,R))+(h?"":(g=t,y=D,_=O,x=P,w=[z],_&&w.push({padding:[0,0,0,x?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(y)?y.join(" "):y,w))):v((c?"":C)+(l?"":(b=I,'<span style="'+R+";"+(c?"":"margin-left:2px")+'">'+(0,n.Me)(b)+"</span>"))+(h?"":(S=D,M=O,A=P,T=z,S=(0,o.isArray)(S)?S:[S],'<span style="'+(M?"float:right;margin-left:"+(A?"10px":"20px"):"")+";"+T+'">'+(0,o.map)(S,function(t){return(0,n.Me)(t)}).join("&nbsp;&nbsp;")+"</span>")),i)}}function y(t,e,i,n,r,o){if(t)return(f(t)?d:g)({useUTC:r,renderMode:i,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e){return'<div style="margin: '+e+"px 0 0;"+l+';">'+t+'<div style="clear:both"></div></div>'}function m(t,e,i){return t.markupStyleCreator.wrapRichTextStyle(e,i)}function _(t,e){var i=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.he)(i)}function x(t,e){var i=t.get("padding");return null!=i?i:"richText"===e?[8,10]:10}var w=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,i){var n="richText"===i?this._generateStyleName():null,a=(0,r.qg)({color:e,type:t,renderMode:i,markerId:n});return(0,o.isString)(a)?a:(this.richTextStyles[n]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var i={};(0,o.isArray)(e)?(0,o.each)(e,function(t){return(0,o.extend)(i,t)}):(0,o.extend)(i,e);var n=this._generateStyleName();return this.richTextStyles[n]=i,"{"+n+"|"+t+"}"},t}()},882:function(t,e,i){i.d(e,{A:()=>v});var n=i(31831),r=i(4884),o=i(74664),a=i(39111),s=i(88526),l=i(84124),u=i(21916),h=i(36805),c=a.A.mapVisual,p=a.A.eachVisual,f=r.isArray,d=r.each,g=u.Y6,y=u.Cb;let v=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.stateList=["inRange","outOfRange"],i.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],i.layoutMode={type:"box",ignoreSize:!0},i.dataBound=[-1/0,1/0],i.targetVisuals={},i.controllerVisuals={},i}return(0,n.C6)(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},e.prototype.optionUpdated=function(t,e){var i=this.option;e||s.St(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=r.bind(t,this),this.controllerVisuals=s.u1(this.option.controller,e,t),this.targetVisuals=s.u1(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,i){e.push(i)}):e=l.qB(t),e},e.prototype.eachTargetSeries=function(t,e){r.each(this.getTargetSeriesIndices(),function(i){var n=this.ecModel.getSeriesByIndex(i);n&&t.call(e,n)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,i){var n,o=this.option,a=o.precision,s=this.dataBound,l=o.formatter;i=i||["<",">"],r.isArray(t)&&(t=t.slice(),n=!0);var u=e?t:n?[h(t[0]),h(t[1])]:h(t);if(r.isString(l))return l.replace("{value}",n?u[0]:u).replace("{value2}",n?u[1]:u);if(r.isFunction(l))return n?l(t[0],t[1]):l(t);if(!n)return u;if(t[0]===s[0])return i[0]+" "+u[1];if(t[1]===s[1])return i[1]+" "+u[0];return u[0]+" - "+u[1];function h(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var i=t.dimensions,n=i.length-1;n>=0;n--){var r=i[n],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),s=e.controller||(e.controller={});r.merge(n,i),r.merge(s,i);var l=this.isCategory();function u(i){f(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")}}u.call(this,n),u.call(this,s),(function(t,e,i){var n=t[e],r=t[i];n&&!r&&(r=t[i]={},d(n,function(t,e){if(a.A.isValidType(e)){var i=o.A.get(e,"inactive",l);null!=i&&(r[e]=i,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}).call(this,n,"inRange","outOfRange"),(function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor"),o=this.getItemSymbol()||"roundRect";d(this.stateList,function(a){var s=this.itemSize,u=t[a];u||(u=t[a]={color:l?n:[n]}),null==u.symbol&&(u.symbol=e&&r.clone(e)||(l?o:[o])),null==u.symbolSize&&(u.symbolSize=i&&r.clone(i)||(l?s[0]:[s[0],s[0]])),u.symbol=c(u.symbol,function(t){return"none"===t?o:t});var h=u.symbolSize;if(null!=h){var f=-1/0;p(h,function(t){t>f&&(f=t)}),u.symbolSize=c(h,function(t){return y(t,[0,f],[0,s[0]],!0)})}},this)}).call(this,s)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(h.A)},79006:function(t,e,i){i.d(e,{A:()=>u});var n=i(31831),r=i(4884),o=i(63811),a=i(3306),s=i(10675),l=i(39111);let u=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.autoPositionValues={left:1,right:1,top:1,bottom:1},i}return(0,n.C6)(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,i,n){(this.visualMapModel=t,!1===t.get("show"))?this.group.removeAll():this.doRender(t,e,i,n)},e.prototype.renderBackground=function(t){var e=this.visualMapModel,i=a.QX(e.get("padding")||0),n=t.getBoundingRect();t.add(new o.A({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,i){var n=(i=i||{}).forceState,o=this.visualMapModel,a={};function s(t){return a[t]}function u(t,e){a[t]=e}"color"===e&&(a.color=o.get("contentColor"));var h=o.controllerVisuals[n||o.getValueState(t)],c=l.A.prepareVisualTypes(h);return r.each(c,function(n){var r=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=h.__alphaForOpacity),l.A.dependsOn(n,e)&&r&&r.applyVisual(t,s,u)}),a[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,i=this.api;s.m$(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},e.prototype.doRender=function(t,e,i,n){},e.type="visualMap",e}(i(43583).A)},89085:function(t,e,i){i.d(e,{J:()=>a,l:()=>s});var n=i(4884),r=i(10675),o=[["left","right","width"],["top","bottom","height"]];function a(t,e,i){var n=t.option,a=n.align;if(null!=a&&"auto"!==a)return a;for(var s={width:e.getWidth(),height:e.getHeight()},l=+("horizontal"===n.orient),u=o[l],h=[0,null,10],c={},p=0;p<3;p++)c[o[1-l][p]]=h[p],c[u[p]]=2===p?i[0]:n[u[p]];var f=[["x","width",3],["y","height",0]][l],d=(0,r.dV)(c,s,n.padding);return u[(d.margin[f[2]]||0)+d[f[0]]+.5*d[f[1]]<.5*s[f[1]]?0:1]}function s(t,e){return n.each(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}},46182:function(t,e,i){i.d(e,{a:()=>a});var n=i(74653),r=i(97310),o=i(12836);function a(t){(0,n.Y)(r.a),(0,n.Y)(o.a)}},12793:function(t,e,i){i.d(e,{A:()=>g});var n={type:"selectDataRange",event:"dataRangeSelected",update:"update"},r=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})},o=i(4884),a=i(88526),s=i(39111),l=i(80153),u=[{createOnAllSeries:!0,reset:function(t,e){var i=[];return e.eachComponent("visualMap",function(e){var n=t.pipelineContext;!e.isTargetSeries(t)||n&&n.large||i.push(a.dS(e.stateList,e.targetVisuals,o.bind(e.getValueState,e),e.getDataDimensionIndex(t.getData())))}),i}},{createOnAllSeries:!0,reset:function(t,e){var i=t.getData(),n=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(o.bind(h,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimensionIndex(i);a>=0&&(r.dimension=a,n.push(r))}}),t.getData().setVisual("visualMeta",n)}}];function h(t,e,i,n){for(var r=e.targetVisuals[n],o=s.A.prepareVisualTypes(r),a={color:(0,l.rI)(t.getData(),"color")},u=0,h=o.length;u<h;u++){var c=o[u],p=r["opacity"===c?"__alphaForOpacity":c];p&&p.applyVisual(i,f,d)}return a.color;function f(t){return a[t]}function d(t,e){a[t]=e}}var c=o.each;function p(t){var e=t&&t.visualMap;o.isArray(e)||(e=e?[e]:[]),c(e,function(t){if(t){f(t,"splitList")&&!f(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&o.isArray(e)&&c(e,function(t){o.isObject(t)&&(f(t,"start")&&!f(t,"min")&&(t.min=t.start),f(t,"end")&&!f(t,"max")&&(t.max=t.end))})}})}function f(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var d=!1;function g(t){d||(d=!0,t.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(n,r),(0,o.each)(u,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(p))}},97310:function(t,e,i){i.d(e,{a:()=>B});var n=i(31831),r=i(4884),o=i(882),a=i(21916),s=i(3818),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.prototype.optionUpdated=function(e,i){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=20),(null==e[1]||isNaN(e[1]))&&(e[1]=140)},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):r.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=a.Y6((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],r=i.getData();r.each(this.getDataDimensionIndex(r),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},e.prototype.getVisualMeta=function(t){var e=u(this,"outOfRange",this.getExtent()),i=u(this,"inRange",this.option.range.slice()),n=[];function r(e,i){n.push({value:e,color:t(e,i)})}for(var o=0,a=0,s=i.length,l=e.length;a<l&&(!i.length||e[a]<=i[0]);a++)e[a]<i[o]&&r(e[a],"outOfRange");for(var h=1;o<s;o++,h=0)h&&n.length&&r(i[o],"outOfRange"),r(i[o],"inRange");for(var h=1;a<l;a++)(!i.length||i[i.length-1]<e[a])&&(h&&(n.length&&r(n[n.length-1].value,"outOfRange"),h=0),r(e[a],"outOfRange"));var c=n.length;return{stops:n,outerColors:[c?n[0].color:"transparent",c?n[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=(0,s.G_)(o.A.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(o.A);function u(t,e,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,r=i[0],o=[],a=0;a<=200&&r<i[1];a++)o.push(r),r+=n;return o.push(i[1]),o}var h=i(87142),c=i(77250),p=i(79006),f=i(52384),d=i(79620),g=i(63811),y=i(59033),v=i(97451),m=i(91365),_=i(89085),x=i(84124),w=i(23960),b=i(72059),S=i(60253),M=i(64586),A=i(35032),T=i(73394),C=i(26889),I=a.Cb,k=r.each,D=Math.min,O=Math.max,P=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._shapes={},i._dataInterval=[],i._handleEnds=[],i._hoverLinkDataIndices=[],i}return(0,n.C6)(e,t),e.prototype.init=function(e,i){t.prototype.init.call(this,e,i),this._hoverLinkFromSeriesMouseOver=r.bind(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=r.bind(this._hideIndicator,this)},e.prototype.doRender=function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===i?-o:a[1]+o],s),u=this._applyTransform(0===i?"bottom":"top",s),h=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new f.Ay({style:(0,T.VB)(c,{x:l[0],y:l[1],verticalAlign:"horizontal"===h?"middle":u,align:"horizontal"===h?u:"center",text:n})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,i=this._shapes,n=e.itemSize,o=this._orient,a=this._useHandle,s=_.J(e,this.api,n),l=i.mainGroup=this._createBarGroup(s),u=new d.A;l.add(u),u.add(i.outOfRange=L()),u.add(i.inRange=L(null,a?z(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0))),u.setClipPath(new g.A({shape:{x:0,y:0,width:n[0],height:n[1],r:3}}));var h=e.textStyleModel.getTextRect("国"),c=O(h.width,h.height);a&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(e,l,0,n,c,o),this._createHandle(e,l,1,n,c,o)),this._createIndicator(e,l,n,c,o),t.add(l)},e.prototype._createHandle=function(t,e,i,n,o,a){var s=r.bind(this._dragHandle,this,i,!1),l=r.bind(this._dragHandle,this,i,!0),u=(0,w.lo)(t.get("handleSize"),n[0]),h=(0,S.v5)(t.get("handleIcon"),-u/2,-u/2,u,u,null,!0),p=z(this._orient);h.attr({cursor:p,draggable:!0,drift:s,ondragend:l,onmousemove:function(t){c.ds(t.event)}}),h.x=n[0]/2,h.useStyle(t.getModel("handleStyle").getItemStyle()),h.setStyle({strokeNoScale:!0,strokeFirst:!0}),h.style.lineWidth*=2,h.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,b.ix)(h,!0),e.add(h);var d=this.visualMapModel.textStyleModel,g=new f.Ay({cursor:p,draggable:!0,drift:s,onmousemove:function(t){c.ds(t.event)},ondragend:l,style:(0,T.VB)(d,{x:0,y:0,text:""})});g.ensureState("blur").style={opacity:.1},g.stateTransition={duration:200},this.group.add(g);var y=[u,0],v=this._shapes;v.handleThumbs[i]=h,v.handleLabelPoints[i]=y,v.handleLabels[i]=g},e.prototype._createIndicator=function(t,e,i,n,o){var a=(0,w.lo)(t.get("indicatorSize"),i[0]),s=(0,S.v5)(t.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(s instanceof M.Ay){var u=s.style;s.useStyle(r.extend({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l);e.add(s);var h=this.visualMapModel.textStyleModel,c=new f.Ay({silent:!0,invisible:!0,style:(0,T.VB)(h,{x:0,y:0,text:""})});this.group.add(c);var p=[("horizontal"===o?n/2:6)+i[0]/2,0],d=this._shapes;d.indicator=s,d.indicatorLabel=c,d.indicatorLabelPoint=p,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([i,n],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}!this.visualMapModel.get("realtime")===e&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?this._hovering||this._clearHoverLinkToSeries():R(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[I(e[0],i,n,!0),I(e[1],i,n,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,r=[0,i.itemSize[1]];(0,m.A)(e,n,r,t,0);var o=i.getExtent();this._dataInterval=[I(n[0],r,o,!0),I(n[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,i,o,"inRange"),s=this._createBarVisual(i,i,r,"outOfRange");n.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),n.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(i,a);return{barColor:new h.A(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var i=[],n=(t[1]-t[0])/100;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+n*r;if(o>t[1])break;i.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new d.A("horizontal"===e&&!i?{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2}:"horizontal"===e&&i?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"===e&&!i?{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"left"===t?1:-1})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,o=i.handleLabels,a=n.itemSize,s=n.getExtent();k([0,1],function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=I(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=y.applyTransform(i.handleLabelPoints[l],y.getTransform(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:n.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",i.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,i,n){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=I(t,o,s,!0),f=a[0]-c/2,d={x:u.x,y:u.y};u.y=p,u.x=f;var g=y.applyTransform(l.indicatorLabelPoint,y.getTransform(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),_="horizontal"===this._orient;v.setStyle({text:(i||"")+r.formatValueText(e),verticalAlign:_?m:"middle",align:_?"center":m});var x={x:f,y:p,style:{fill:h}},w={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=d.x,u.y=d.y,u.animateTo(x,b),v.animateTo(w,b)}else u.attr(x),v.attr(w);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var M=0;M<S.length;M++)this.api.enterBlur(S[M])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);n[1]=D(O(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){t._hovering=!1,t._dragging||t._clearHoverLinkToSeries()})},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var r,o,a,s,l,u=[0,n[1]],h=i.getExtent();t=D(O(u[0],t),u[1]);var c=(r=i,o=h,a=u,s=6,(l=r.get("hoverLinkDataSize"))&&(s=I(l,o,a,!0)/2),s),p=[t-c,t+c],f=I(t,u,h,!0),d=[I(p[0],u,h,!0),I(p[1],u,h,!0)];p[0]<u[0]&&(d[0]=-1/0),p[1]>u[1]&&(d[1]=1/0),e&&(d[0]===-1/0?this._showIndicator(f,d[1],"< ",c):d[1]===1/0?this._showIndicator(f,d[0],"> ",c):this._showIndicator(f,f,"≈ ",c));var g=this._hoverLinkDataIndices,y=[];(e||R(i))&&(y=this._hoverLinkDataIndices=i.findTargetDataIndices(d));var v=x.D6(g,y);this._dispatchHighDown("downplay",_.l(v[0],i)),this._dispatchHighDown("highlight",_.l(v[1],i))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){if((0,C.R)(t.target,function(t){var i=(0,A.z)(t);if(null!=i.dataIndex)return e=i,!0},!0),e){var e,i=this.ecModel.getSeriesByIndex(e.seriesIndex),n=this.visualMapModel;if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.getStore().get(n.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var i=0;i<e.length;i++)this.api.leaveBlur(e[i])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",_.l(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,i,n){var o=y.getTransform(e,n?null:this.group);return r.isArray(t)?y.applyTransform(t,o,i):y.transformDirection(t,o,i)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(p.A);function L(t,e,i,n){return new v.A({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){c.ds(t.event)},ondragend:n})}function R(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function z(t){return"vertical"===t?"ns-resize":"ew-resize"}var E=i(12793);function B(t){t.registerComponentModel(l),t.registerComponentView(P),(0,E.A)(t)}},12836:function(t,e,i){i.d(e,{a:()=>b});var n=i(31831),r=i(4884),o=i(882),a=i(39111),s=i(74664),l=i(21916),u=i(3818),h=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._pieceList=[],i}return(0,n.C6)(e,t),e.prototype.optionUpdated=function(e,i){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],c[this._mode].call(this,this._pieceList),this._resetSelected(e,i);var o=this.option.categories;this.resetVisual(function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=r.clone(o)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=r.map(this._pieceList,function(t){return t=r.clone(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,i={},n=a.A.listVisualTypes(),o=this.isCategory();function l(t,e,i){return t&&t[e]&&t[e].hasOwnProperty(i)}r.each(e.pieces,function(t){r.each(n,function(e){t.hasOwnProperty(e)&&(i[e]=1)})}),r.each(i,function(t,i){var n=!1;r.each(this.stateList,function(t){n=n||l(e,t,i)||l(e.target,t,i)},this),n||r.each(this.stateList,function(t){(e[t]||(e[t]={}))[i]=s.A.get(i,"inRange"===t?"active":"inactive",o)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var i=this.option,n=this._pieceList,o=(e?i:t).selected||{};if(i.selected=o,r.each(n,function(t,e){var i=this.getSelectedMapKey(t);o.hasOwnProperty(i)||(o[i]=!0)},this),"single"===i.selectedMode){var a=!1;r.each(n,function(t,e){var i=this.getSelectedMapKey(t);o[i]&&(a?o[i]=!1:a=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=r.clone(t)},e.prototype.getValueState=function(t){var e=a.A.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],i=this._pieceList;return this.eachTargetSeries(function(n){var r=[],o=n.getData();o.each(this.getDataDimensionIndex(o),function(e,n){a.A.findPieceIndex(e,i)===t&&r.push(n)},this),e.push({seriesId:n.id,dataIndex:r})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],i=["",""],n=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(o,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:i}}function l(r,o){var a=n.getRepresentValue({interval:r});o||(o=n.getValueState(a));var s=t(a,o);r[0]===-1/0?i[0]=s:r[1]===1/0?i[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=(0,u.G_)(o.A.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(o.A),c={splitNumber:function(t){var e=this.option,i=Math.min(e.precision,20),n=this.getExtent(),o=e.splitNumber;e.splitNumber=o=Math.max(parseInt(o,10),1);for(var a=(n[1]-n[0])/o;+a.toFixed(i)!==a&&i<5;)i++;e.precision=i,a=+a.toFixed(i),e.minOpen&&t.push({interval:[-1/0,n[0]],close:[0,0]});for(var s=0,u=n[0];s<o;u+=a,s++){var h=s===o-1?n[1]:u+a;t.push({interval:[u,h],close:[1,1]})}e.maxOpen&&t.push({interval:[n[1],1/0],close:[0,0]}),(0,l.sL)(t),r.each(t,function(t,e){t.index=e,t.text=this.formatValueText(t.interval)},this)},categories:function(t){var e=this.option;r.each(e.categories,function(e){t.push({text:this.formatValueText(e,!0),value:e})},this),p(e,t)},pieces:function(t){var e=this.option;r.each(e.pieces,function(e,i){r.isObject(e)||(e={value:e});var n={text:"",index:i};if(null!=e.label&&(n.text=e.label),e.hasOwnProperty("value")){var o=n.value=e.value;n.interval=[o,o],n.close=[1,1]}else{for(var s=n.interval=[],l=n.close=[0,0],u=[1,0,1],h=[-1/0,1/0],c=[],p=0;p<2;p++){for(var f=[["gte","gt","min"],["lte","lt","max"]][p],d=0;d<3&&null==s[p];d++)s[p]=e[f[d]],l[p]=u[d],c[p]=2===d;null==s[p]&&(s[p]=h[p])}c[0]&&s[1]===1/0&&(l[0]=0),c[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(n.value=s[0])}n.visual=a.A.retrieveVisuals(e),t.push(n)},this),p(e,t),(0,l.sL)(t),r.each(t,function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};function p(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var f=i(79006),d=i(79620),g=i(52384),y=i(60253),v=i(10675),m=i(89085),_=i(73394),x=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return(0,n.C6)(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),n=e.textStyleModel,o=n.getFont(),a=n.getTextColor(),s=this._getItemAlign(),l=e.itemSize,u=this._getViewData(),h=u.endsText,c=r.retrieve(e.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],l,c,s),r.each(u.viewPieceList,function(n){var u=n.piece,h=new d.A;h.onclick=r.bind(this._onItemClick,this,u),this._enableHoverLink(h,n.indexInModelPieceList);var p=e.getRepresentValue(u);if(this._createItemSymbol(h,p,[0,0,l[0],l[1]]),c){var f=this.visualMapModel.getValueState(p);h.add(new g.Ay({style:{x:"right"===s?-i:l[0]+i,y:l[1]/2,text:u.text,verticalAlign:"middle",align:s,font:o,fill:a,opacity:"outOfRange"===f?.5:1}}))}t.add(h)},this),h&&this._renderEndsText(t,h[1],l,c,s),v.aP(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var i=this;t.on("mouseover",function(){return n("highlight")}).on("mouseout",function(){return n("downplay")});var n=function(t){var n=i.visualMapModel;n.option.hoverLink&&i.api.dispatchAction({type:t,batch:m.l(n.findTargetDataIndices(e),n)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return m.J(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},e.prototype._renderEndsText=function(t,e,i,n,r){if(e){var o=new d.A,a=this.visualMapModel.textStyleModel;o.add(new g.Ay({style:(0,_.VB)(a,{x:n?"right"===r?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=r.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),n=t.get("orient"),o=t.get("inverse");return("horizontal"===n?o:!o)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},e.prototype._createItemSymbol=function(t,e,i){t.add((0,y.v5)(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,i=e.option,n=i.selectedMode;if(n){var o=r.clone(i.selected),a=e.getSelectedMapKey(t);"single"===n||!0===n?(o[a]=!0,r.each(o,function(t,e){o[e]=e===a})):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},e.type="visualMap.piecewise",e}(f.A),w=i(12793);function b(t){t.registerComponentModel(h),t.registerComponentView(x),(0,w.A)(t)}},71335:function(t,e,i){i.d(e,{A:()=>v});var n=i(4884),r=i(21916),o=i(23960),a=i(84124),s=i(93530),l=(0,a.$r)();function u(t,e){var i,r,o,a,u=h(t,"labels"),g=(0,s.j2)(e),y=c(u,g);return y||(n.isFunction(g)?o=d(t,g):(a="auto"===g?null!=(r=l(i=t).autoInterval)?r:l(i).autoInterval=i.calculateCategoryInterval():g,o=f(t,a)),p(u,g,{labels:o,labelCategoryInterval:a}))}function h(t,e){return l(t)[e]||(l(t)[e]=[])}function c(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function p(t,e,i){return t.push({key:e,value:i}),i}function f(t,e,i){var n=(0,s.ry)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),h=o[0],c=r.count();0!==h&&u>1&&c/u>2&&(h=Math.round(Math.ceil(h/u)*u));var p=(0,s.PJ)(t),f=a.get("showMinLabel")||p,d=a.get("showMaxLabel")||p;f&&h!==o[0]&&y(o[0]);for(var g=h;g<=o[1];g+=u)y(g);function y(t){var e={value:t};l.push(i?t:{formattedLabel:n(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&g-u!==o[1]&&y(o[1]),l}function d(t,e,i){var r=t.scale,o=(0,s.ry)(t),a=[];return n.each(r.getTicks(),function(t){var n=r.getLabel(t),s=t.value;e(t.value,n)&&a.push(i?s:{formattedLabel:o(t),rawLabel:n,tickValue:s})}),a}var g=[0,1];function y(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}let v=function(){function t(t,e,i){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=i||[0,0]}return t.prototype.contain=function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,r.hb)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var i=this._extent;i[0]=t,i[1]=e},t.prototype.dataToCoord=function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&y(i=i.slice(),n.count()),(0,r.Cb)(t,g,i,e)},t.prototype.coordToData=function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&y(i=i.slice(),n.count());var o=(0,r.Cb)(t,i,g,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),i=("category"===this.type?function(t,e){var i,r,o=h(t,"ticks"),a=(0,s.j2)(e),l=c(o,a);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(i=[]),n.isFunction(a))i=d(t,a,!0);else if("auto"===a){var g=u(t,t.getLabelModel());r=g.labelCategoryInterval,i=n.map(g.labels,function(t){return t.tickValue})}else i=f(t,r=a,!0);return p(o,a,{ticks:i,tickCategoryInterval:r})}(this,e):{ticks:n.map(this.scale.getTicks(),function(t){return t.value})}).ticks,o=(0,n.map)(i,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,i,o){var a,s,l=e.length;if(t.onBand&&!i&&l){var u=t.getExtent();if(1===l)e[0].coord=u[0],a=e[1]={coord:u[1]};else{var h=e[l-1].tickValue-e[0].tickValue,c=(e[l-1].coord-e[0].coord)/h;(0,n.each)(e,function(t){t.coord-=c/2}),s=1+t.scale.getExtent()[1]-e[l-1].tickValue,a={coord:e[l-1].coord+c*s},e.push(a)}var p=u[0]>u[1];f(e[0].coord,u[0])&&(o?e[0].coord=u[0]:e.shift()),o&&f(u[0],e[0].coord)&&e.unshift({coord:u[0]}),f(u[1],a.coord)&&(o?a.coord=u[1]:e.pop()),o&&f(a.coord,u[1])&&e.push({coord:u[1]})}function f(t,e){return t=(0,r.LI)(t),e=(0,r.LI)(e),p?t>e:t<e}}(this,o,e.get("alignWithLabel"),t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,n.map)(e,function(t){return(0,n.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){var t,e,i,r,o,a;return("category"===this.type?(t=this,e=t.getLabelModel(),i=u(t,e),!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i):(r=this,o=r.scale.getTicks(),a=(0,s.ry)(r),{labels:n.map(o,function(t,e){return{level:t.level,formattedLabel:a(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value}})})).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+ +!!this.onBand;return 0===i&&(i=1),Math.abs(Math.abs(t[1]-t[0]))/i},t.prototype.calculateCategoryInterval=function(){return function(t){var e,i,n=(i=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:i.get("rotate")||0,font:i.getFont()}),r=(0,s.ry)(t),a=(n.axisRotate-n.labelRotate)/180*Math.PI,u=t.scale,h=u.getExtent(),c=u.count();if(h[1]-h[0]<1)return 0;var p=1;c>40&&(p=Math.max(1,Math.floor(c/40)));for(var f=h[0],d=t.dataToCoord(f+1)-t.dataToCoord(f),g=Math.abs(d*Math.cos(a)),y=Math.abs(d*Math.sin(a)),v=0,m=0;f<=h[1];f+=p){var _=0,x=0,w=o.NO(r({value:f}),n.font,"center","top");_=1.3*w.width,x=1.3*w.height,v=Math.max(v,_,7),m=Math.max(m,x,7)}var b=v/g,S=m/y;isNaN(b)&&(b=1/0),isNaN(S)&&(S=1/0);var M=Math.max(0,Math.floor(Math.min(b,S))),A=l(t.model),T=t.getExtent(),C=A.lastAutoInterval,I=A.lastTickCount;return null!=C&&null!=I&&1>=Math.abs(C-M)&&1>=Math.abs(I-c)&&C>M&&A.axisExtent0===T[0]&&A.axisExtent1===T[1]?M=C:(A.lastTickCount=c,A.lastAutoInterval=M,A.axisExtent0=T[0],A.axisExtent1=T[1]),M}(this)},t}()},43139:function(t,e,i){i.d(e,{g:()=>n});function n(t,e){return t.type===e}},10108:function(t,e,i){i.d(e,{m:()=>l});var n=i(21916),r=i(37396),o=i(93530),a=i(48497),s=Math.log;function l(t,e,i){var l=r.A.prototype,u=l.getTicks.call(i),h=l.getTicks.call(i,!0),c=u.length-1,p=l.getInterval.call(i),f=(0,o.Rx)(t,e),d=f.extent,g=f.fixMin,y=f.fixMax;if("log"===t.type){var v=s(t.base);d=[s(d[0])/v,s(d[1])/v]}t.setExtent(d[0],d[1]),t.calcNiceExtent({splitNumber:c,fixMin:g,fixMax:y});var m=l.getExtent.call(t);g&&(d[0]=m[0]),y&&(d[1]=m[1]);var _=l.getInterval.call(t),x=d[0],w=d[1];if(g&&y)_=(w-x)/c;else if(g)for(w=d[0]+_*c;w<d[1]&&isFinite(w)&&isFinite(d[1]);)_=(0,a.kH)(_),w=d[0]+_*c;else if(y)for(x=d[1]-_*c;x>d[0]&&isFinite(x)&&isFinite(d[0]);)_=(0,a.kH)(_),x=d[1]-_*c;else{t.getTicks().length-1>c&&(_=(0,a.kH)(_));var b=_*c;w=Math.ceil(d[1]/_)*_,(x=(0,n.LI)(w-b))<0&&d[0]>=0?(x=0,w=(0,n.LI)(b)):w>0&&d[1]<=0&&(w=0,x=-(0,n.LI)(b))}var S=(u[0].value-h[0].value)/p,M=(u[c].value-h[c].value)/p;l.setExtent.call(t,x+_*S,w+_*M),l.setInterval.call(t,_),(S||M)&&l.setNiceExtent.call(t,x+_,w-_)}},2296:function(t,e,i){i.d(e,{A:()=>u});var n=i(4884),r={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},o=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),a=n.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},r),s=n.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},a),l=n.defaults({logBase:10},a);let u={category:o,value:a,time:s,log:l}},93530:function(t,e,i){i.d(e,{f$:()=>C,PN:()=>z,Dt:()=>D,wq:()=>R,Rx:()=>A,ry:()=>k,Og:()=>O,JJ:()=>I,j2:()=>P,af:()=>T,PJ:()=>L});var n=i(4884),r=i(55724),o=i(37396),a=i(47799),s=i(30730),l=i(51690),u=i(16264),h=i(31831),c=i(21916),p=i(48497),f=a.A.prototype,d=o.A.prototype,g=c.LI,y=Math.floor,v=Math.ceil,m=Math.pow,_=Math.log,x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new o.A,e._interval=0,e}return(0,h.C6)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,i=this._extent,r=e.getExtent(),o=d.getTicks.call(this,t);return n.map(o,function(t){var e=t.value,n=c.LI(m(this.base,e));return n=e===i[0]&&this._fixMin?b(n,r[0]):n,{value:n=e===i[1]&&this._fixMax?b(n,r[1]):n}},this)},e.prototype.setExtent=function(t,e){var i=_(this.base);t=_(Math.max(0,t))/i,e=_(Math.max(0,e))/i,d.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=f.getExtent.call(this);e[0]=m(t,e[0]),e[1]=m(t,e[1]);var i=this._originalScale.getExtent();return this._fixMin&&(e[0]=b(e[0],i[0])),this._fixMax&&(e[1]=b(e[1],i[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=_(t[0])/_(e),t[1]=_(t[1])/_(e),f.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(i!==1/0&&!(i<=0)){var n=c.au(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&1>Math.abs(n)&&Math.abs(n)>0;)n*=10;var r=[c.LI(v(e[0]/n)*n),c.LI(y(e[1]/n)*n)];this._interval=n,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){d.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=_(t)/_(this.base),p.lP(t,this._extent)},e.prototype.normalize=function(t){return t=_(t)/_(this.base),p.S8(t,this._extent)},e.prototype.scale=function(t){return t=p.hs(t,this._extent),m(this.base,t)},e.type="log",e}(a.A),w=x.prototype;function b(t,e){return g(t,c.XV(e))}w.getMinorTicks=d.getMinorTicks,w.getLabel=d.getLabel,a.A.registerClass(x);var S=i(41402),M=i(89972);function A(t,e){var i=t.type,r=(0,M.Tc)(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,l=e.ecModel;if(l&&"time"===i){var u=(0,s.GL)("bar",l),h=!1;if(n.each(u,function(t){h=h||t.getBaseAxis()===e.axis}),h){var c=function(t,e,i,r){var o=i.axis.getExtent(),a=o[1]-o[0],l=(0,s.VA)(r,i.axis);if(void 0===l)return{min:t,max:e};var u=1/0;n.each(l,function(t){u=Math.min(t.offset,u)});var h=-1/0;n.each(l,function(t){h=Math.max(t.offset+t.width,h)});var c=(u=Math.abs(u))+(h=Math.abs(h)),p=e-t,f=p/(1-(u+h)/a)-p;return e+=h/c*f,{min:t-=u/c*f,max:e}}(o,a,e,(0,s.vq)(u));o=c.min,a=c.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function T(t,e){var i=A(t,e),n=i.extent,r=e.get("splitNumber");t instanceof x&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(n[0],n[1]),t.calcNiceExtent({splitNumber:r,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function C(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r.A({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new u.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a.A.getClass(e)||o.A)}}function I(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function k(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(i,n){return t.scale.getFormattedLabel(i,n,e)}:n.isString(e)?function(i){var n=t.scale.getLabel(i);return e.replace("{value}",null!=n?n:"")}:n.isFunction(e)?function(n,r){return null!=i&&(r=n.value-i),e(D(t,n),r,null!=n.level?{level:n.level}:null)}:function(e){return t.scale.getLabel(e)}}function D(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function O(t){var e,i,n,o=t.model,a=t.scale;if(!(!o.get(["axisLabel","show"])||a.isBlank())){var s=a.getExtent();i=a instanceof r.A?a.count():(e=a.getTicks()).length;var u=t.getLabelModel(),h=k(t),c=1;i>40&&(c=Math.ceil(i/40));for(var p=0;p<i;p+=c){var f=h(e?e[p]:{value:s[0]+p},p),d=function(t,e){var i=e*Math.PI/180,n=t.width,r=t.height,o=n*Math.abs(Math.cos(i))+Math.abs(r*Math.sin(i)),a=n*Math.abs(Math.sin(i))+Math.abs(r*Math.cos(i));return new l.A(t.x,t.y,o,a)}(u.getTextRect(f),u.get("rotate")||0);n?n.union(d):n=d}return n}}function P(t){var e=t.get("interval");return null==e?"auto":e}function L(t){return"category"===t.type&&0===P(t.getLabelModel())}function R(t,e){var i={};return n.each(t.mapDimensionsAll(e),function(e){i[(0,S.me)(t,e)]=!0}),n.keys(i)}function z(t,e,i){e&&n.each(R(e,i),function(i){var n=e.getApproximateExtent(i);n[0]<t[0]&&(t[0]=n[0]),n[1]>t[1]&&(t[1]=n[1])})}},54648:function(t,e,i){i.d(e,{L:()=>n});var n=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},96833:function(t,e,i){i.d(e,{A:()=>u});var n=i(31831),r=i(2296),o=i(10675),a=i(44513),s={value:1,category:1,time:1,log:1},l=i(4884);function u(t,e,i,u){(0,l.each)(s,function(s,c){var p=(0,l.merge)((0,l.merge)({},r.A[c],!0),u,!0),f=function(t){function i(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e+"Axis."+c,i}return(0,n.C6)(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var i=(0,o.ad)(this),n=i?(0,o.vs)(t):{},r=e.getTheme();(0,l.merge)(t,r.get(c+"Axis")),(0,l.merge)(t,this.getDefaultOption()),t.type=h(t),i&&(0,o.YA)(t,n,i)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=a.A.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+c,i.defaultOption=p,i}(i);t.registerComponentModel(f)}),t.registerSubTypeDefaulter(e+"Axis",h)}function h(t){return t.type||(t.data?"category":"value")}},45660:function(t,e,i){i.d(e,{LR:()=>s,Zp:()=>o,gO:()=>a});var n=i(4884),r=i(84124);function o(t,e,i){i=i||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,h=o.dim,c=r.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],f={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,g="x"===h?[p[2]-d,p[3]+d]:[p[0]-d,p[1]+d];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===h?g[f[u]]:p[0],"x"===h?g[f[u]]:p[3]],a.rotation=Math.PI/2*("x"!==h),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[f[l]]-g[f.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),n.retrieve(i.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return n.each(e,function(i,n){var o=n.replace(/Model$/,""),a=t.getReferringComponents(o,r.US).models[0];e[n]=a}),e}},89972:function(t,e,i){i.d(e,{Tc:()=>l});var n=i(4884),r=i(23960),o=function(){function t(t,e,i){this._prepareParams(t,e,i)}return t.prototype._prepareParams=function(t,e,i){i[1]<i[0]&&(i=[NaN,NaN]),this._dataMin=i[0],this._dataMax=i[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=this._modelMinRaw=e.get("min",!0);(0,n.isFunction)(a)?this._modelMinNum=u(t,a({min:i[0],max:i[1]})):"dataMin"!==a&&(this._modelMinNum=u(t,a));var s=this._modelMaxRaw=e.get("max",!0);if((0,n.isFunction)(s)?this._modelMaxNum=u(t,s({min:i[0],max:i[1]})):"dataMax"!==s&&(this._modelMaxNum=u(t,s)),o)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),h=(0,n.isArray)(l)?l:[l||0,l||0];"boolean"==typeof h[0]||"boolean"==typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,r.lo)(h[0],1),(0,r.lo)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,i=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:i-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?i:this._modelMaxNum,u=null!=s,h=null!=l;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==l&&(l=t?r?r-1:NaN:i+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var c=(0,n.eqNaN)(s)||(0,n.eqNaN)(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var p=this._determinedMin,f=this._determinedMax;return null!=p&&(s=p,u=!0),null!=f&&(l=f,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,i){var n=t.rawExtentInfo;return n||(n=new o(t,e,i),t.rawExtentInfo=n),n}function u(t,e){return null==e?null:(0,n.eqNaN)(e)?NaN:t.parse(e)}},51907:function(t,e,i){i.d(e,{A:()=>o});var n=i(4884),r={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var i=[];n.each(r,function(n,r){var o=n.create(t,e);i=i.concat(o||[])}),this._coordinateSystems=i},t.prototype.update=function(t,e){n.each(this._coordinateSystems,function(i){i.update&&i.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},31950:function(t,e,i){i.d(e,{AS:()=>eW,El:()=>ec,OH:()=>e$,aQ:()=>eU,E:()=>er.E,mz:()=>e8,qg:()=>ej,ZB:()=>e6,bf:()=>eY,zm:()=>eH,lP:()=>eX,rE:()=>eh,xV:()=>eK,cf:()=>eq,Ej:()=>e3,Ng:()=>eV,Oh:()=>e0,Bo:()=>eJ,AF:()=>e1,Ts:()=>eN,iY:()=>e9,FQ:()=>ep,pX:()=>eQ,vV:()=>e4,p5:()=>e7,tb:()=>eZ,FP:()=>eG,Zf:()=>eF});var n,r,o,a,s,l,u,h,c,p,f,d,g,y,v,m,_,x,w,b,S,M,A=i(31831),T=i(66726),C=i(4884),I=i(35209),k=i(24952),D=i(16419),O=i(84124),P=i(25744),L=i(36805),R="";"undefined"!=typeof navigator&&(R=navigator.platform||"");var z="rgba(0, 0, 0, 0.2)";let E={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:z,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:z,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:z,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:z,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:z,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:z,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:R.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var B=i(88569),N=i(20020),V=i(57699),F="\0_ec_inner",H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,A.C6)(e,t),e.prototype.init=function(t,e,i,n,r,o){n=n||{},this.option=null,this._theme=new P.A(n),this._locale=new P.A(r),this._optionManager=o},e.prototype.setOption=function(t,e,i){var n=U(e);this._optionManager.setOption(t,i,n),this._resetOption(null,n)},e.prototype.resetOption=function(t,e){return this._resetOption(t,U(e))},e.prototype._resetOption=function(t,e){var i=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):o(this,r),i=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(i=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=n.getMediaOption(this);s.length&&(0,C.each)(s,function(t){i=!0,this._mergeOption(t,e)},this)}return i},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var i=this.option,r=this._componentsMap,o=this._componentsCount,a=[],s=(0,C.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,B.ps)(this),(0,C.each)(t,function(t,e){null!=t&&(L.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):i[e]=null==i[e]?(0,C.clone)(t):(0,C.merge)(i[e],t,!0))}),l&&l.each(function(t,e){L.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),L.A.topologicalTravel(a,L.A.getAllClassMainTypes(),function(e){var a,s=(0,N.a)(this,e,O.qB(t[e])),u=r.get(e),h=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=O.O2(u,s,h);O.GX(c,e,L.A),i[e]=null,r.set(e,null),o.set(e,0);var p=[],f=[],d=0;(0,C.each)(c,function(t,i){var n=t.existing,r=t.newOption;if(r){var o="series"===e,s=L.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(n&&n.constructor===s)n.name=t.keyInfo.name,n.mergeOption(r,this),n.optionUpdated(r,!1);else{var l=(0,C.extend)({componentIndex:i},t.keyInfo);n=new s(r,this,this,l),(0,C.extend)(n,l),t.brandNew&&(n.__requireNewView=!0),n.init(r,this,this),n.optionUpdated(null,!0)}}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(p.push(n.option),f.push(n),d++):(p.push(void 0),f.push(void 0))},this),i[e]=p,r.set(e,f),o.set(e,d),"series"===e&&n(this)},this),this._seriesIndices||n(this)},e.prototype.getOption=function(){var t=(0,C.clone)(this.option);return(0,C.each)(t,function(e,i){if(L.A.hasClass(i)){for(var n=O.qB(e),r=n.length,o=!1,a=r-1;a>=0;a--)n[a]&&!O.oh(n[a])?o=!0:(n[a]=null,!o&&r--);n.length=r,t[i]=n}}),delete t[F],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var i=this._componentsMap.get(t);if(i){var n=i[e||0];if(n)return n;if(null==e){for(var r=0;r<i.length;r++)if(i[r])return i[r]}}},e.prototype.queryComponents=function(t){var e,i=t.mainType;if(!i)return[];var n=t.index,r=t.id,o=t.name,a=this._componentsMap.get(i);return a&&a.length?(null!=n?(e=[],(0,C.each)(O.qB(n),function(t){a[t]&&e.push(a[t])})):e=null!=r?W("id",r,a):null!=o?W("name",o,a):(0,C.filter)(a,function(t){return!!t}),G(e,t)):[]},e.prototype.findComponents=function(t){var e,i,n,r,o,a=t.query,s=t.mainType,l=(e=a,i=s+"Index",n=s+"Id",r=s+"Name",e&&(null!=e[i]||null!=e[n]||null!=e[r])?{mainType:s,index:e[i],id:e[n],name:e[r]}:null);return o=G(l?this.queryComponents(l):(0,C.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,C.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,i){var n=this._componentsMap;if((0,C.isFunction)(t))n.each(function(i,n){for(var r=0;i&&r<i.length;r++){var o=i[r];o&&t.call(e,n,o,o.componentIndex)}});else for(var r=(0,C.isString)(t)?n.get(t):(0,C.isObject)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(i,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=O.vS(t,null);return(0,C.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,C.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,C.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){r(this),(0,C.each)(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},e.prototype.eachRawSeries=function(t,e){(0,C.each)(this._componentsMap.get("series"),function(i){i&&t.call(e,i,i.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,i){r(this),(0,C.each)(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];r.subType===t&&e.call(i,r,n)},this)},e.prototype.eachRawSeriesByType=function(t,e,i){return(0,C.each)(this.getSeriesByType(t),e,i)},e.prototype.isSeriesFiltered=function(t){return r(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){r(this);var i=[];(0,C.each)(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)&&i.push(n)},this),this._seriesIndices=i,this._seriesIndicesMap=(0,C.createHashMap)(i)},e.prototype.restoreData=function(t){n(this);var e=this._componentsMap,i=[];e.each(function(t,e){L.A.hasClass(e)&&i.push(e)}),L.A.topologicalTravel(i,L.A.getAllClassMainTypes(),function(i){(0,C.each)(e.get(i),function(e){e&&("series"!==i||!function(t,e){if(e){var i=e.seriesIndex,n=e.seriesId,r=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(n=function(t){var e=t._seriesIndices=[];(0,C.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,C.createHashMap)(e)},r=function(t){},o=function(t,e){t.option={},t.option[F]=1,t._componentsMap=(0,C.createHashMap)({series:[]}),t._componentsCount=(0,C.createHashMap)();var i,n,r,o=e.aria;(0,C.isObject)(o)&&null==o.enabled&&(o.enabled=!0),i=e,n=t._theme.option,r=i.color&&!i.colorLayer,(0,C.each)(n,function(t,e){("colorLayer"!==e||!r)&&(L.A.hasClass(e)||("object"==typeof t?i[e]=i[e]?(0,C.merge)(i[e],t,!1):(0,C.clone)(t):null==i[e]&&(i[e]=t)))}),(0,C.merge)(e,E,!1),t._mergeOption(e,null)}),e}(P.A);function W(t,e,i){if((0,C.isArray)(e)){var n=(0,C.createHashMap)();return(0,C.each)(e,function(t){null!=t&&null!=O.vS(t,null)&&n.set(t,!0)}),(0,C.filter)(i,function(e){return e&&n.get(e[t])})}var r=O.vS(e,null);return(0,C.filter)(i,function(e){return e&&null!=r&&e[t]===r})}function G(t,e){return e.hasOwnProperty("subType")?(0,C.filter)(t,function(t){return t&&t.subType===e.subType}):t}function U(t){var e=(0,C.createHashMap)();return t&&(0,C.each)(O.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,C.mixin)(H,V.X);var Y=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let X=function(t){C.each(Y,function(e){this[e]=C.bind(t[e],t)},this)};var j=i(51907),q=/^(min|max)?(.+)$/,Z=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,i){t&&((0,C.each)((0,O.qB)(t.series),function(t){t&&t.data&&(0,C.isTypedArray)(t.data)&&(0,C.setAsPrimitive)(t.data)}),(0,C.each)((0,O.qB)(t.dataset),function(t){t&&t.source&&(0,C.isTypedArray)(t.source)&&(0,C.setAsPrimitive)(t.source)})),t=(0,C.clone)(t);var n=this._optionBackup,r=function(t,e,i){var n,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);function p(t){(0,C.each)(e,function(e){e(t,i)})}return a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t),h&&(0,C.isArray)(u)&&(0,C.each)(u,function(t){t&&t.option&&(t.query?o.push(t):n||(n=t))}),p(r),(0,C.each)(l,function(t){return p(t)}),(0,C.each)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:n,mediaList:o}}(t,e,!n);this._newBaseOption=r.baseOption,n?(r.timelineOptions.length&&(n.timelineOptions=r.timelineOptions),r.mediaList.length&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,C.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=(0,C.clone)(i[n.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,i,n=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)(function(t,e,i){var n={width:e,height:i,aspectratio:e/i},r=!0;return(0,C.each)(t,function(t,e){var i=e.match(q);if(i&&i[1]&&i[2]){var o,a,s,l=i[1];o=n[i[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,n,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,i=this._currentMediaIndices,e.join(",")!==i.join(","))&&(l=(0,C.map)(s,function(t){return(0,C.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),K=C.each,$=C.isObject,Q=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function J(t){var e=t&&t.itemStyle;if(e)for(var i=0,n=Q.length;i<n;i++){var r=Q[i],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?C.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?C.merge(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function tt(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,r=t[e].emphasis;n&&(i?(t[e].normal=t[e].emphasis=null,C.defaults(t[e],n)):t[e]=n),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function te(t){tt(t,"itemStyle"),tt(t,"lineStyle"),tt(t,"areaStyle"),tt(t,"label"),tt(t,"labelLine"),tt(t,"upperLabel"),tt(t,"edgeLabel")}function ti(t,e){var i=$(t)&&t[e],n=$(i)&&i.textStyle;if(n)for(var r=0,o=O.JS.length;r<o;r++){var a=O.JS[r];n.hasOwnProperty(a)&&(i[a]=n[a])}}function tn(t){t&&(te(t),ti(t,"label"),t.emphasis&&ti(t.emphasis,"label"))}function tr(t){return C.isArray(t)?t:t?[t]:[]}function to(t){return(C.isArray(t)?t[0]:t)||{}}function ta(t){t&&(0,C.each)(ts,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var ts=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tl=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tu=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function th(t){var e=t&&t.itemStyle;if(e)for(var i=0;i<tu.length;i++){var n=tu[i][1],r=tu[i][0];null!=e[n]&&(e[r]=e[n])}}function tc(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tp(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tf(t,e){var i;K(tr(t.series),function(t){$(t)&&function(t){if($(t)){J(t),te(t),ti(t,"label"),ti(t,"upperLabel"),ti(t,"edgeLabel"),t.emphasis&&(ti(t.emphasis,"label"),ti(t.emphasis,"upperLabel"),ti(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(J(e),tn(e));var i=t.markLine;i&&(J(i),tn(i));var n=t.markArea;n&&tn(n);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!C.isTypedArray(o))for(var a=0;a<o.length;a++)tn(o[a]);C.each(t.categories,function(t){te(t)})}if(r&&!C.isTypedArray(r))for(var a=0;a<r.length;a++)tn(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tn(s[a]);if((i=t.markLine)&&i.data)for(var l=i.data,a=0;a<l.length;a++)C.isArray(l[a])?(tn(l[a][0]),tn(l[a][1])):tn(l[a]);"gauge"===t.type?(ti(t,"axisLabel"),ti(t,"title"),ti(t,"detail")):"treemap"===t.type?(tt(t.breadcrumb,"itemStyle"),C.each(t.levels,function(t){te(t)})):"tree"===t.type&&te(t.leaves)}}(t)}),i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),K(i,function(e){K(tr(t[e]),function(t){t&&(ti(t,"axisLabel"),ti(t.axisPointer,"label"))})}),K(tr(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ti(e,"axisLabel"),ti(e&&e.axisPointer,"label")}),K(tr(t.calendar),function(t){tt(t,"itemStyle"),ti(t,"dayLabel"),ti(t,"monthLabel"),ti(t,"yearLabel")}),K(tr(t.radar),function(t){ti(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),K(tr(t.geo),function(t){$(t)&&(tn(t),K(tr(t.regions),function(t){tn(t)}))}),K(tr(t.timeline),function(t){tn(t),tt(t,"label"),tt(t,"itemStyle"),tt(t,"controlStyle",!0);var e=t.data;C.isArray(e)&&C.each(e,function(t){C.isObject(t)&&(tt(t,"label"),tt(t,"itemStyle"))})}),K(tr(t.toolbox),function(t){tt(t,"iconStyle"),K(t.feature,function(t){tt(t,"iconStyle")})}),ti(to(t.axisPointer),"label"),ti(to(t.tooltip).axisPointer,"label"),t.series=(0,O.qB)(t.series),(0,C.each)(t.series,function(t){if((0,C.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),tc(t.label);var i=t.data;if(i&&!(0,C.isTypedArray)(i))for(var n=0;n<i.length;n++)tc(i[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var r=function(t,e){for(var i=e.split(","),n=t,r=0;r<i.length&&null!=(n=n&&n[i[r]]);r++);return n}(t,"pointer.color");null!=r&&function(t,e,i,n){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];null==a[o[s]]&&(a[o[s]]=i)}(t,"itemStyle.color",r)}else if("bar"===e){th(t),th(t.backgroundStyle),th(t.emphasis);var i=t.data;if(i&&!(0,C.isTypedArray)(i))for(var n=0;n<i.length;n++)"object"==typeof i[n]&&(th(i[n]),th(i[n]&&i[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tp(t),function t(e,i){if(e)for(var n=0;n<e.length;n++)i(e[n]),e[n]&&t(e[n].children,i)}(t.data,tp)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,C.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),ta(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,C.each)(tl,function(e){var i=t[e];i&&((0,C.isArray)(i)||(i=[i]),(0,C.each)(i,function(t){ta(t)}))})}var td=i(21916);function tg(t){(0,C.each)(t,function(e,i){var n=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,h){var c,p,f=a.get(e.stackedDimension,h);if(isNaN(f))return r;s?p=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var d=NaN,g=i-1;g>=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=(0,td.Tr)(f,v),d=v;break}}}return n[0]=f,n[1]=d,n})})}var ty=i(55785),tv=i(43583),tm=i(31440),t_=i(63811),tx=i(64586),tw=i(68532),tb=i(30070),tS=i(35032),tM=i(72059),tA=i(89425),tT=i(80266),tC=i(52228),tI=i(81275),tk=(0,O.$r)(),tD={itemStyle:(0,tT.A)(tC.L,!0),lineStyle:(0,tT.A)(tI.m,!0)},tO={lineStyle:"stroke",itemStyle:"fill"};function tP(t,e){var i=t.visualStyleMapper||tD[e];return i||(console.warn("Unknown style type '"+e+"'."),tD.itemStyle)}function tL(t,e){var i=t.visualDrawType||tO[e];return i||(console.warn("Unknown style type '"+e+"'."),"fill")}var tR=new P.A,tz=i(79620),tE=i(52384),tB=i(76265),tN=Math.PI,tV=i(87189),tF=i(3818),tH=function(){function t(t,e,i,n){this._stageTaskMap=(0,C.createHashMap)(),this.ecInstance=t,this.api=e,i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=i.concat(n)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,r=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex?i.step:null,o=n&&n.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData().count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,o=t.get("large")&&n>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,i=e._pipelineMap=(0,C.createHashMap)();t.eachSeries(function(t){var n=t.getProgressive(),r=t.uid;i.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),i=this.api;(0,C.each)(this._allHandlers,function(n){var r=t.get(n.uid)||t.set(n.uid,{});(0,C.assert)(!(n.reset&&n.overallReset),""),n.reset&&this._createSeriesStageTask(n,r,e,i),n.overallReset&&this._createOverallStageTask(n,r,e,i)},this)},t.prototype.prepareView=function(t,e,i,n){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=i,o.api=n,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,i){this._performStageTasks(this._visualHandlers,t,e,i)},t.prototype._performStageTasks=function(t,e,i,n){n=n||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,C.each)(t,function(t,s){if(!n.visualType||n.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each(function(t){a(n,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),o.updatePayload(h,i);var f=o.getPerformArgs(h,n.block);p.each(function(t){t.perform(f)}),h.perform(f)&&(r=!0)}else u&&u.each(function(s,l){a(n,s)&&s.dirty();var u=o.getPerformArgs(s,n.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,i),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,i,n){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,C.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tV.U)({plan:tX,reset:tj,count:tK}));l.context={model:e,ecModel:i,api:n,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?i.eachRawSeries(u):s?i.eachRawSeriesByType(s,u):l&&l(i,n).each(u)},t.prototype._createOverallStageTask=function(t,e,i,n){var r=this,o=e.overallTask=e.overallTask||(0,tV.U)({reset:tW});o.context={ecModel:i,api:n,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,C.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,i=s.set(e,a&&a.get(e)||(c=!0,(0,tV.U)({reset:tG,onDirty:tY})));i.context={model:t,overallProgress:h},i.agent=o,i.__block=h,r._pipe(t,i)}(0,C.assert)(!t.createOnAllSeries,""),l?i.eachRawSeriesByType(l,p):u?u(i,n).each(p):(h=!1,(0,C.each)(i.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var i=t.uid,n=this._pipelineMap.get(i);n.head||(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return(0,C.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){a=null;try{t(t$,tQ)}catch(t){}return a}(t)}),t.uid=(0,tF.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tW(t){t.overallReset(t.ecModel,t.api,t.payload)}function tG(t){return t.overallProgress&&tU}function tU(){this.agent.dirty(),this.getDownstream().dirty()}function tY(){this.agent&&this.agent.dirty()}function tX(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tj(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,O.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,C.map)(e,function(t,e){return tZ(e)}):tq}var tq=tZ(0);function tZ(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(n,o);else r&&r.progress&&r.progress(e,n)}}function tK(t){return t.data.count()}var t$={},tQ={};function tJ(t,e){for(var i in e.prototype)t[i]=C.noop}tJ(t$,H),tJ(tQ,X),t$.eachSeriesByType=t$.eachRawSeriesByType=function(t){a=t},t$.eachComponent=function(t){"series"===t.mainType&&t.subType&&(a=t.subType)};var t0=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t1="#B9B8CE",t2="#100C2A",t5=function(){return{axisLine:{lineStyle:{color:t1}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t3=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t4={darkMode:!0,color:t3,backgroundColor:t2,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t1}},textStyle:{color:t1},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t1}},dataZoom:{borderColor:"#71708A",textStyle:{color:t1},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t1}},timeline:{lineStyle:{color:t1},label:{color:t1},controlStyle:{color:t1,borderColor:t1}},calendar:{itemStyle:{color:t2},dayLabel:{color:t1},monthLabel:{color:t1},yearLabel:{color:t1}},timeAxis:t5(),logAxis:t5(),valueAxis:t5(),categoryAxis:t5(),line:{symbol:"circle"},graph:{color:t3},gauge:{title:{color:t1},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t1},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t4.categoryAxis.splitLine.show=!1;var t8=i(18191),t6=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},i={},n={};if(C.isString(t)){var r=(0,t8.CC)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};C.each(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(i[r]=t,s=!0),s||(n[r]=t)})}return{cptQuery:e,dataQuery:i,otherQuery:n}},t.prototype.filter=function(t,e){var i=this.eventInfo;if(!i)return!0;var n=i.targetEl,r=i.packedEvent,o=i.model,a=i.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,n,r));function u(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),t9=["symbol","symbolSize","symbolRotate","symbolOffset"],t7=t9.concat(["symbolKeepAspect"]),et=i(80153),ee=i(58391),ei=i(1514),en=i(41194),er=i(35396),eo=i(26889),ea=i(34780),es=new D.A,el=i(46979),eu=i(2158),eh="5.5.0",ec={zrender:"5.5.0"},ep={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ef="__flagInMainProcess",ed="__pendingUpdate",eg="__needsUpdateStatus",ey=/^[a-zA-Z0-9_]+$/,ev="__connectUpdateStatus";function em(t){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return this.isDisposed()?void this.id:ex(this,t,e)}}function e_(t){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return ex(this,t,e)}}function ex(t,e,i){return i[0]=i[0]&&i[0].toLowerCase(),D.A.prototype[e].apply(t,i)}var ew=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,A.C6)(e,t),e}(D.A),eb=ew.prototype;eb.on=e_("on"),eb.off=e_("off");var eS=function(t){function e(e,i,n){var r=t.call(this,new t6)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],n=n||{},(0,C.isString)(i)&&(i=eO[i]),r._dom=e,n.ssr&&T.registerSSRDataGetter(function(t){var e=(0,tS.z)(t),i=e.dataIndex;if(null!=i){var n=(0,C.createHashMap)();return n.set("series_index",e.seriesIndex),n.set("data_index",i),e.ssrType&&n.set("ssr_type",e.ssrType),n}});var o=r._zr=T.init(e,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:(0,C.retrieve2)(n.useDirtyRect,!1),useCoarsePointer:(0,C.retrieve2)(n.useCoarsePointer,"auto"),pointerSize:n.pointerSize});r._ssr=n.ssr,r._throttledZrFlush=(0,tA.nF)((0,C.bind)(o.flush,o),17),(i=(0,C.clone)(i))&&tf(i,!0),r._theme=i,r._locale=(0,er.A$)(n.locale||er.Lv),r._coordSysMgr=new j.A;var a=r._api=w(r);function s(t,e){return t.__prio-e.__prio}return(0,k.A)(eD,s),(0,k.A)(eI,s),r._scheduler=new tH(r,a,eI,eD),r._messageCenter=new ew,r._initEvents(),r.resize=(0,C.bind)(r.resize,r),o.animation.on("frame",r._onframe,r),y(o,r),v(o,r),(0,C.setAsPrimitive)(r),r}return(0,A.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){M(this);var t=this._scheduler;if(this[ed]){var e=this[ed].silent;this[ef]=!0;try{s(this),h.update.call(this,null,this[ed].updateParams)}catch(t){throw this[ef]=!1,this[ed]=null,t}this._zr.flush(),this[ef]=!1,this[ed]=null,d.call(this,e),g.call(this,e)}else if(t.unfinished){var i=1,n=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),p(this,n),t.performVisualTasks(n),x(this,this._model,r,"remain",{}),i-=new Date-o}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,i){if(!this[ef]){if(this._disposed)return void this.id;if((0,C.isObject)(e)&&(i=e.lazyUpdate,n=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[ef]=!0,!this._model||e){var n,r,o,a=new Z(this._api),l=this._theme,u=this._model=new H;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:r},ek);var c={seriesTransition:o,optionChanged:!0};if(i)this[ed]={silent:n,updateParams:c},this[ef]=!1,this.getZr().wakeUp();else{try{s(this),h.update.call(this,null,c)}catch(t){throw this[ed]=null,this[ef]=!1,t}this._ssr||this._zr.flush(),this[ed]=null,this[ef]=!1,d.call(this,n),g.call(this,n)}}},e.prototype.setTheme=function(){(0,ee.aT)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||I.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(I.A.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,C.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,i=this._model,n=[],r=this;(0,C.each)(e,function(t){i.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,C.each)(n,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,i=this.group,n=Math.min,r=Math.max,o=1/0;if(!eR[i])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,C.each)(eL,function(o,c){if(o.group===i){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,C.clone)(t)),f=o.getDom().getBoundingClientRect();a=n(f.left,a),s=n(f.top,s),l=r(f.right,l),u=r(f.bottom,u),h.push({dom:p,left:f.left,top:f.top})}}),a*=c,s*=c,l*=c,u*=c;var p=l-a,f=u-s,d=el.yh.createCanvas(),g=T.init(d,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:f}),!e)return t.connectedBackgroundColor&&g.add(new t_.A({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),(0,C.each)(h,function(t){var e=new tx.Ay({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,C.each)(h,function(t){var e=t.left-a,i=t.top-s;y+='<g transform="translate('+e+","+i+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return c(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return c(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var i,n=this._model,r=O._e(n,t);return(0,C.each)(r,function(t,n){n.indexOf("Models")>=0&&(0,C.each)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)i=i||!!r.containPoint(e);else if("seriesModels"===n){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i=i||o.containPoint(e,t))}},this)},this),!!i},e.prototype.getVisual=function(t,e){var i=this._model,n=O._e(i,t,{defaultMainType:"series"}),r=n.seriesModel.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?(0,et.Ez)(r,o,e):(0,et.rI)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,C.each)(eA,function(e){var i=function(i){var n,r=t.getModel(),o=i.target;if("globalout"===e?n={}:o&&(0,eo.R)(o,function(t){var e=(0,tS.z)(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=(0,C.extend)({},e.eventData),!0},!0),n){var a=n.componentType,s=n.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=i,n.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},t.trigger(e,n)}};i.zrEventfulCallAtLast=!0,t._zr.on(e,i,t)}),(0,C.each)(eC,function(e,i){t._messageCenter.on(i,function(t){this.trigger(i,t)},t)}),(0,C.each)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),(0,ei.l)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&O.Bq(this.getDom(),eB,"");var t=this._api,e=this._model;(0,C.each)(this._componentsViews,function(i){i.dispose(e,t)}),(0,C.each)(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eL[this.id]},e.prototype.resize=function(t){if(!this[ef]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[ed]&&(null==n&&(n=this[ed].silent),i=!0,this[ed]=null),this[ef]=!0;try{i&&s(this),h.update.call(this,{type:"resize",animation:(0,C.extend)({duration:0},t&&t.animation)})}catch(t){throw this[ef]=!1,t}this[ef]=!1,d.call(this,n),g.call(this,n)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,C.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eP[t]){var i=eP[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,C.extend)({},t);return e.type=eC[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,C.isObject)(e)||(e={silent:!!e}),eT[t.type])&&this._model){if(this[ef])return void this._pendingActions.push(t);var i=e.silent;f.call(this,t,i);var n=e.flush;n?this._zr.flush():!1!==n&&I.A.browser.weChat&&this._throttledZrFlush(),d.call(this,i),g.call(this,i)}},e.prototype.updateLabelLayout=function(){es.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],i=t.currentStates,n=0;n<i.length;n++){var r=i[n];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tM.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tM.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function i(t,e){if(!t.preventAutoZ){var i=t.get("z")||0,n=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,i,n,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(t(s[l],i,n,r),r);else e.z=i,e.zlevel=n,r=Math.max(e.z2,r);if(o&&(o.z=i,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=i,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,i,n,-1/0),!0})}}function n(t,e){e.eachRendered(function(t){if(!tw.LR(t)){var e=t.getTextContent(),i=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),i&&i.stateTransition&&(i.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,i){var n=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=n.get("duration"),a=o>0?{duration:o,delay:n.get("delay"),easing:n.get("easing")}:null;i.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tw.LR(t)){if(t instanceof tb.Ay&&(0,tM.fz)(t),t.__dirty){var i=t.prevStates;i&&t.useStates(i)}if(r){t.stateTransition=a;var n=t.getTextContent(),o=t.getTextGuideLine();n&&(n.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}s=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),l(t,!0),l(t,!1),e.plan()},l=function(t,e){for(var i=t._model,n=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,t8.CC)(t.type);(h=new(e?tv.A.getClass(c.main,c.sub):tm.A.getClass(c.sub))).init(i,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||n.prepareView(h,t,i,s)}e?i.eachComponent(function(t,e){"series"!==t&&u(e)}):i.eachSeries(u);for(var l=0;l<r.length;){var h=r[l];h.__alive?l++:(e||h.renderTask.dispose(),a.remove(h.group),h.dispose(i,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},u=function(t,e,i,n,r){var o,a=t._model;if(a.setUpdatePayload(i),!n)return void(0,C.each)([].concat(t._componentsViews).concat(t._chartsViews),h);var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};r&&(l.subType=r);var u=i.excludeSeriesId;function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,i)}null!=u&&(o=(0,C.createHashMap)(),(0,C.each)(O.qB(u),function(t){var e=O.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tM.T$)(i))if(e instanceof ty.A)i.type!==tM.h5||i.notBlur||e.get(["emphasis","disabled"])||(0,tM.lV)(e,i,t._api);else{var n=(0,tM.Tl)(e.mainType,e.componentIndex,i.name,t._api),r=n.focusSelf,a=n.dispatchers;i.type===tM.h5&&r&&!i.notBlur&&(0,tM.Du)(e.mainType,e.componentIndex,t._api),a&&(0,C.each)(a,function(t){i.type===tM.h5?(0,tM.HY)(t):(0,tM.SD)(t)})}else(0,tM.Lx)(i)&&e instanceof ty.A&&((0,tM.t6)(e,i,t._api),(0,tM.jA)(e),S(t))},t),a&&a.eachComponent(l,function(e){o&&null!=o.get(e.id)||h(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){s(this),h.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,i){var n=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(n){n.setUpdatePayload(e),s.restoreData(n,e),s.performSeriesTasks(n),a.create(n,r),s.performDataProcessorTasks(n,e),p(this,n),a.update(n,r),t(n),s.performVisualTasks(n,e),m(this,n,r,e,i);var l=n.get("backgroundColor")||"transparent",u=n.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),es.trigger("afterupdate",n,r)}},updateTransform:function(e){var i=this,n=this._model,r=this._api;if(n){n.setUpdatePayload(e);var o=[];n.eachComponent(function(t,a){if("series"!==t){var s=i.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,r,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=(0,C.createHashMap)();n.eachSeries(function(t){var o=i._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,n,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0,dirtyMap:a}),x(this,n,r,e,{},a),es.trigger("afterupdate",n,r)}},updateView:function(e){var i=this._model;i&&(i.setUpdatePayload(e),tm.A.markUpdateMethod(e,"updateView"),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0}),m(this,i,this._api,e,{}),es.trigger("afterupdate",i,this._api))},updateVisual:function(e){var i=this,n=this._model;n&&(n.setUpdatePayload(e),n.eachSeries(function(t){t.getData().clearAllVisual()}),tm.A.markUpdateMethod(e,"updateVisual"),t(n),this._scheduler.performVisualTasks(n,e,{visualType:"visual",setDirty:!0}),n.eachComponent(function(t,r){if("series"!==t){var o=i.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,n,i._api,e)}}),n.eachSeries(function(t){i._chartsMap[t.__viewId].updateVisual(t,n,i._api,e)}),es.trigger("afterupdate",n,this._api))},updateLayout:function(t){h.update.call(this,t)}},c=function(t,e,i,n){if(t._disposed)return void t.id;for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=O._e(o,i),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,n)))return r}},p=function(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})},f=function(t,e){var i,n=this,r=this.getModel(),o=t.type,a=t.escapeConnect,l=eT[o],c=l.actionInfo,p=(c.update||"update").split(":"),f=p.pop(),d=null!=p[0]&&(0,t8.CC)(p[0]);this[ef]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,C.map)(t.batch,function(e){return(e=(0,C.defaults)((0,C.extend)({},e),t)).batch=null,e}));var v=[],m=(0,tM.Lx)(t),_=(0,tM.T$)(t);if(_&&(0,tM.qR)(this._api),(0,C.each)(g,function(e){if((i=(i=l.action(e,n._model,n._api))||(0,C.extend)({},e)).type=c.event||i.type,v.push(i),_){var r=O.HB(t),o=r.queryOptionMap;u(n,f,e,r.mainTypeSpecified?o.keys()[0]:"series"),S(n)}else m?(u(n,f,e,"series"),S(n)):d&&u(n,f,e,d.main,d.sub)}),"none"!==f&&!_&&!m&&!d)try{this[ed]?(s(this),h.update.call(this,t),this[ed]=null):h[f].call(this,t)}catch(t){throw this[ef]=!1,t}if(i=y?{type:c.event||o,escapeConnect:a,batch:v}:v[0],this[ef]=!1,!e){var x=this._messageCenter;if(x.trigger(i.type,i),m){var w={type:"selectchanged",escapeConnect:a,selected:(0,tM.mc)(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};x.trigger(w.type,w)}}},d=function(t){for(var e=this._pendingActions;e.length;){var i=e.shift();f.call(this,i,t)}},g=function(t){t||this.trigger("updated")},y=function(t,e){t.on("rendered",function(i){e.trigger("rendered",i),!t.animation.isFinished()||e[ed]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},v=function(t,e){t.on("mouseover",function(t){var i=t.target,n=(0,eo.R)(i,tM.u6);n&&((0,tM._m)(n,t,e._api),S(e))}).on("mouseout",function(t){var i=t.target,n=(0,eo.R)(i,tM.u6);n&&((0,tM.Iz)(n,t,e._api),S(e))}).on("click",function(t){var i=t.target,n=(0,eo.R)(i,function(t){return null!=(0,tS.z)(t).dataIndex},!0);if(n){var r=n.selected?"unselect":"select",o=(0,tS.z)(n);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},m=function(t,e,i,n,r){!function(t){var e=[],i=[],n=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();n=n||!!s,("series"===t?i:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),n){var r,o,a=e.concat(i);(0,k.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,C.each)(a,function(e){var i=t.getComponent(e.type,e.idx),n=e.zlevel,a=e.key;null!=r&&(n=Math.max(r,n)),a?(n===r&&a!==o&&n++,o=a):o&&(n===r&&n++,o=""),r=n,i.setZLevel(n)})}}(e),_(t,e,i,n,r),(0,C.each)(t._chartsViews,function(t){t.__alive=!1}),x(t,e,i,n,r),(0,C.each)(t._chartsViews,function(t){t.__alive||t.remove(e,i)})},_=function(t,e,o,a,s,l){(0,C.each)(l||t._componentsViews,function(t){var s=t.__model;n(s,t),t.render(s,e,o,a),i(s,t),r(s,t)})},x=function(t,e,o,a,s,l){var u,h,c,p,f=t._scheduler;s=(0,C.extend)(s||{},{updatedSeries:e.getSeries()}),es.trigger("series:beforeupdate",e,o,s);var d=!1;e.eachSeries(function(e){var i,r,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var u=s.renderTask;f.updatePayload(u,a),n(e,s),l&&l.get(e.uid)&&u.dirty(),u.perform(f.getPerformArgs(u))&&(d=!0),s.group.silent=!!e.get("silent"),i=e,r=s,o=i.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tM.jA)(e)}),f.unfinished=d||f.unfinished,es.trigger("series:layoutlabels",e,o,s),es.trigger("series:transition",e,o,s),e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];i(e,n),r(e,n)}),u=t,h=e,c=u._zr.storage,p=0,c.traverse(function(t){!t.isGroup&&p++}),!(p>h.get("hoverLayerThreshold"))||I.A.node||I.A.worker||h.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),es.trigger("series:afterupdate",e,o,s)},S=function(t){t[eg]=!0,t.getZr().wakeUp()},M=function(t){t[eg]&&(t.getZr().storage.traverse(function(t){tw.LR(t)||e(t)}),t[eg]=!1)},w=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return(0,A.C6)(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}},i.prototype.enterEmphasis=function(e,i){(0,tM.HY)(e,i),S(t)},i.prototype.leaveEmphasis=function(e,i){(0,tM.SD)(e,i),S(t)},i.prototype.enterBlur=function(e){(0,tM.QX)(e),S(t)},i.prototype.leaveBlur=function(e){(0,tM.JC)(e),S(t)},i.prototype.enterSelect=function(e){(0,tM.JI)(e),S(t)},i.prototype.leaveSelect=function(e){(0,tM.gd)(e),S(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(X))(t)},b=function(t){function e(t,e){for(var i=0;i<t.length;i++)t[i][ev]=e}(0,C.each)(eC,function(i,n){t._messageCenter.on(n,function(i){if(eR[t.group]&&0!==t[ev]&&(!i||!i.escapeConnect)){var n=t.makeActionFromEvent(i),r=[];(0,C.each)(eL,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,C.each)(r,function(t){1!==t[ev]&&t.dispatchAction(n)}),e(r,2)}})})}}(),e}(D.A),eM=eS.prototype;eM.on=em("on"),eM.off=em("off"),eM.one=function(t,e,i){var n=this;(0,ee.aT)("ECharts#one is deprecated."),this.on.call(this,t,function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),n.off(t,i)},i)};var eA=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eT={},eC={},eI=[],ek=[],eD=[],eO={},eP={},eL={},eR={},ez=new Date-0,eE=new Date-0,eB="_echarts_instance_";function eN(t,e,i){var n=!(i&&i.ssr);if(n){var r=eG(t);if(r)return r}var o=new eS(t,e,i);return o.id="ec_"+ez++,eL[o.id]=o,n&&O.Bq(t,eB,o.id),b(o),es.trigger("afterinit",o),o}function eV(t){if((0,C.isArray)(t)){var e=t;t=null,(0,C.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eE++,(0,C.each)(e,function(e){e.group=t})}return eR[t]=!0,t}function eF(t){eR[t]=!1}var eH=eF;function eW(t){(0,C.isString)(t)?t=eL[t]:t instanceof eS||(t=eG(t)),t instanceof eS&&!t.isDisposed()&&t.dispose()}function eG(t){return eL[O.D$(t,eB)]}function eU(t){return eL[t]}function eY(t,e){eO[t]=e}function eX(t){0>(0,C.indexOf)(ek,t)&&ek.push(t)}function ej(t,e){e5(eI,t,e,2e3)}function eq(t){eK("afterinit",t)}function eZ(t){eK("afterupdate",t)}function eK(t,e){es.on(t,e)}function e$(t,e,i){(0,C.isFunction)(e)&&(i=e,e="");var n=(0,C.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),eC[e=t.event]||((0,C.assert)(ey.test(n)&&ey.test(e)),eT[n]||(eT[n]={action:i,actionInfo:t}),eC[e]=n)}function eQ(t,e){j.A.register(t,e)}function eJ(t){var e=j.A.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function e0(t,e){e5(eD,t,e,1e3,"layout")}function e1(t,e){e5(eD,t,e,3e3,"visual")}var e2=[];function e5(t,e,i,n,r){if(((0,C.isFunction)(e)||(0,C.isObject)(e))&&(i=e,e=n),!((0,C.indexOf)(e2,i)>=0)){e2.push(i);var o=tH.wrapStageHandler(i,r);o.__prio=e,o.__raw=i,t.push(o)}}function e3(t,e){eP[t]=e}function e4(t){(0,el.Gs)({createCanvas:t})}function e8(t,e,i){var n=(0,eu.v)("registerMap");n&&n(t,e,i)}function e6(t){var e=(0,eu.v)("getMap");return e&&e(t)}var e9=en.v5;e1(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),n=t.visualStyleAccessPath||"itemStyle",r=t.getModel(n),o=tP(t,n)(r),a=r.getShallow("decal");a&&(i.setVisual("decal",a),a.dirty=!0);var s=tL(t,n),l=o[s],u=(0,C.isFunction)(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,i.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,C.isFunction)(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||(0,C.isFunction)(o.stroke)?c:o.stroke}if(i.setVisual("style",o),i.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return i.setVisual("colorFromPalette",!1),{dataEach:function(e,i){var n=t.getDataParams(i),r=(0,C.extend)({},o);r[s]=u(n),e.setItemVisual(i,"style",r)}}}}),e1(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var i=t.getData(),n=t.visualStyleAccessPath||"itemStyle",r=tP(t,n),o=i.getVisual("drawType");return{dataEach:i.hasItemOption?function(t,e){var i=t.getRawDataItem(e);if(i&&i[n]){tR.option=i[n];var a=r(tR),s=t.ensureUniqueItemVisual(e,"style");(0,C.extend)(s,a),tR.option.decal&&(t.setItemVisual(e,"decal",tR.option.decal),tR.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),e1(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,C.createHashMap)();t.eachSeries(function(t){var i=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+i,r=e.get(n);r||(r={},e.set(n,r)),tk(t).scope=r}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var i=e.getRawData(),n={},r=e.getData(),o=tk(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tL(e,a);r.each(function(t){n[r.getRawIndex(t)]=t}),i.each(function(t){var a=n[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=i.getName(t)||t+"",h=i.count();l[s]=e.getColorFromPalette(u,o,h)}})}})}}),e1(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData();if(t.legendIcon&&i.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var n={},r={},o=!1,a=0;a<t9.length;a++){var s=t9[a],l=t.get(s);(0,C.isFunction)(l)?(o=!0,r[s]=l):n[s]=l}if(n.symbol=n.symbol||t.defaultSymbol,i.setVisual((0,C.extend)({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),!e.isSeriesFiltered(t)){var u=(0,C.keys)(r);return{dataEach:o?function(e,i){for(var n=t.getRawValue(i),o=t.getDataParams(i),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(i,s,r[s](n,o))}}:null}}}}}),e1(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var i=t.getItemModel(e),n=0;n<t7.length;n++){var r=t7[n],o=i.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),e1(7e3,function(t,e){t.eachRawSeries(function(i){if(!t.isSeriesFiltered(i)){var n=i.getData();n.hasItemVisual()&&n.each(function(t){var i=n.getItemVisual(t,"decal");i&&(n.ensureUniqueItemVisual(t,"style").decal=(0,ea.w)(i,e))});var r=n.getVisual("decal");r&&(n.getVisual("style").decal=(0,ea.w)(r,e))}})}),eX(tf),ej(900,function(t){var e=(0,C.createHashMap)();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;n.length&&r.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}}),e.each(tg)}),eP.default=function(t,e){e=e||{},C.defaults(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var i,n=new tz.A,r=new t_.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var o=new tE.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new t_.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((i=new tB.A({shape:{startAngle:-tN/2,endAngle:-tN/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tN/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*tN/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n},e$({type:tM.h5,event:tM.h5,update:tM.h5},C.noop),e$({type:tM.PW,event:tM.PW,update:tM.PW},C.noop),e$({type:tM.Lv,event:tM.Lv,update:tM.Lv},C.noop),e$({type:tM.U2,event:tM.U2,update:tM.U2},C.noop),e$({type:tM.Q6,event:tM.Q6,update:tM.Q6},C.noop),eO.light={color:t0,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t0]},eO.dark=t4;var e7={}},2158:function(t,e,i){i.d(e,{m:()=>r,v:()=>o});var n={};function r(t,e){n[t]=e}function o(t){return n[t]}},35396:function(t,e,i){i.d(e,{A4:()=>c,pr:()=>p,E:()=>u,Lv:()=>l,A$:()=>h});var n=i(25744),r=i(35209),o=i(4884),a={},s={},l=r.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new n.A(e),a[t]=e}function h(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function c(t){return s[t]}function p(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},87189:function(t,e,i){i.d(e,{U:()=>r});var n=i(4884);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,i,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),h=this._modDataCount||0,c=((i=t&&t.modBy)>=1||(i=1),i),p=t&&t.modDataCount||0;(u!==c||h!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=c,this._modDataCount=p;var f=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!s&&(o||d<g)){var y=this._progress;if((0,n.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],d,g,c,p);else this._doProgress(y,d,g,c,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,i,n,r){a.reset(e,i,n,r),this._callingProgress=t,this._callingProgress({start:e,end:i,count:i-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(i=e.forceFirstProgress,e=e.progress),(0,n.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,i,r=this._downstream;return r&&r.dirty(),i},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,i,n,r,o={reset:function(l,u,h,c){e=l,t=u,i=h,r=Math.ceil((n=c)/i),o.next=i>1&&n>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*i+Math.ceil(e/r),a=e>=t?null:o<n?o:e;return e++,a}}()},31393:function(t,e,i){function n(t){return null==t?0:t.length||1}function r(t){return t}i.d(e,{A:()=>o});let o=function(){function t(t,e,i,n,o,a){this._old=t,this._new=e,this._oldKeyGetter=i||r,this._newKeyGetter=n||r,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,i={},r=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],l=i[s],u=n(l);if(u>1){var h=l.shift();1===l.length&&(i[s]=l[0]),this._update&&this._update(h,a)}else 1===u?(i[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},r={},o=[],a=[];this._initIndexMap(t,i,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=i[l],h=r[l],c=n(u),p=n(h);if(c>1&&1===p)this._updateManyToOne&&this._updateManyToOne(h,u),r[l]=null;else if(1===c&&p>1)this._updateOneToMany&&this._updateOneToMany(h,u),r[l]=null;else if(1===c&&1===p)this._update&&this._update(h,u),r[l]=null;else if(c>1&&p>1)this._updateManyToMany&&this._updateManyToMany(h,u),r[l]=null;else if(c>1)for(var f=0;f<c;f++)this._remove&&this._remove(u[f]);else this._remove&&this._remove(u)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],o=e[r],a=n(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,i,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(i[a]=s),e){var l=e[s],u=n(l);0===u?(e[s]=a,o&&i.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},50020:function(t,e,i){i.d(e,{A_:()=>h,Ay:()=>y});var n,r=i(4884),o=i(47163),a=i(79576),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,p={float:c,int:h,ordinal:Array,number:Array,time:c};function f(t){return t>65535?l:u}function d(){return[1/0,-1/0]}function g(t,e,i,n,r){var o=p[i||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==n){for(var l=new o(n),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(n)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.createHashMap)()}return t.prototype.initData=function(t,e,i){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=n[o.sourceFormat];this._dimValueGetter=i||s,this._rawExtent=[],(0,a.O0)(o),this._dimensions=(0,r.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var i=this._calcDimNameToIdx,n=this._dimensions,r=i.get(t);if(null!=r){if(n[r].type===e)return r}else r=n.length;return n[r]={type:e},i.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=d(),r},t.prototype.collectOrdinalMeta=function(t,e){var i=this._chunks[t],n=this._dimensions[t],r=this._rawExtent,o=n.ordinalOffset||0,a=i.length;0===o&&(r[t]=d());for(var s=r[t],l=o;l<a;l++){var u=i[l]=e.parseAndCollect(i[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=e,n.ordinalOffset=a,n.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,i=this.count();e.appendData(t);var n=e.count();return e.persistent||(n+=i),i<n&&this._initDataFromProvider(i,n,!0),[i,n]},t.prototype.appendValues=function(t,e){for(var i=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];g(i,u,h.type,l,!0)}for(var c=[],p=s;p<l;p++)for(var f=p-s,d=0;d<o;d++){var h=r[d],y=n.arrayRows.call(this,t[f]||c,h.property,f,d);i[d][p]=y;var v=a[d];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,i){for(var n=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.map)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=d()),g(o,h,c.type,e,i)}if(n.fillStorage)n.fillStorage(t,e,o,l);else for(var p=[],f=t;f<e;f++){p=n.getItem(f,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,u[y],f,y);v[f]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._chunks[t];return i?i[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var i=[],n=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)n.push(r)}else n=t;for(var r=0,o=n.length;r<o;r++)i.push(this.get(n[r],e));return i},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._chunks[t];return i?i[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],i=0;if(e)for(var n=0,r=this.count();n<r;n++){var o=this.get(t,n);isNaN(o)||(i+=o)}return i},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var i=e.sort(function(t,e){return t-e}),n=this.count();return 0===n?0:n%2==1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;for(var n=0,r=this._count-1;n<=r;){var o=(n+r)/2|0;if(e[o]<t)n=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,i){var n=this._chunks[t],r=[];if(!n)return r;null==i&&(i=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var h=e-n[this.getRawIndex(l)],c=Math.abs(h);c<=i&&((c<o||c===o&&h>=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var i=e.constructor,n=this._count;if(i===Array){t=new i(n);for(var r=0;r<n;r++)t[r]=e[r]}else t=new i(e.buffer,0,n)}else{var i=f(this._rawCount);t=new i(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var i=this.clone(),n=i.count(),r=new(f(i._rawCount))(n),o=[],a=t.length,s=0,l=t[0],u=i._chunks,h=0;h<n;h++){var c=void 0,p=i.getRawIndex(h);if(0===a)c=e(h);else if(1===a)c=e(u[l][p],h);else{for(var d=0;d<a;d++)o[d]=u[t[d]][p];o[d]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<n&&(i._indices=r),i._count=s,i._extent=[],i._updateGetRawIdx(),i},t.prototype.selectRange=function(t){var e=this.clone(),i=e._count;if(!i)return this;var n=(0,r.keys)(t),o=n.length;if(!o)return this;var a=e.count(),s=new(f(e._rawCount))(a),l=0,u=n[0],h=t[u][0],c=t[u][1],p=e._chunks,d=!1;if(!e._indices){var g=0;if(1===o){for(var y=p[n[0]],v=0;v<i;v++){var m=y[v];(m>=h&&m<=c||isNaN(m))&&(s[l++]=g),g++}d=!0}else if(2===o){for(var y=p[n[0]],_=p[n[1]],x=t[n[1]][0],w=t[n[1]][1],v=0;v<i;v++){var m=y[v],b=_[v];(m>=h&&m<=c||isNaN(m))&&(b>=x&&b<=w||isNaN(b))&&(s[l++]=g),g++}d=!0}}if(!d)if(1===o)for(var v=0;v<a;v++){var S=e.getRawIndex(v),m=p[n[0]][S];(m>=h&&m<=c||isNaN(m))&&(s[l++]=S)}else for(var v=0;v<a;v++){for(var M=!0,S=e.getRawIndex(v),A=0;A<o;A++){var T=n[A],m=p[T][S];(m<t[T][0]||m>t[T][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var i=this.clone(t);return this._updateDims(i,t,e),i},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,i){for(var n=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=d();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=n[e[p]][c];s[o]=h;var f=i&&i.apply(null,s);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(var u=0;u<f.length;u++){var g=e[u],y=f[u],v=l[g],m=n[g];m&&(m[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var i,n,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(f(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var d=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+d)/2,v=0,m=d;m<g;m++){var _=this.getRawIndex(m),x=a[_];isNaN(x)||(v+=x)}v/=g-d;var w=p,b=Math.min(p+u,s),S=p-1,M=a[h];i=-1,r=w;for(var A=-1,T=0,m=w;m<b;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){T++,A<0&&(A=_);continue}(n=Math.abs((S-y)*(x-M)-(S-m)*(v-M)))>i&&(i=n,r=_)}T>0&&T<b-w&&(c[l++]=Math.min(A,r),r=Math.max(A,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,i,n){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=d(),c=new(f(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(a.length=s=u-g);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=i(a),_=this.getRawIndex(Math.min(g+n(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=_}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var i=t.length,n=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(i){case 0:e(r);break;case 1:e(n[t[0]][a],r);break;case 2:e(n[t[0]][a],n[t[1]][a],r);break;default:for(var s=0,l=[];s<i;s++)l[s]=n[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,i=this._chunks[t],n=d();if(!i)return n;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=n)[0],a=e[1],s=0;s<r;s++){var l=i[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var i=[],n=this._chunks,r=0;r<n.length;r++)i.push(n[r][e]);return i},t.prototype.clone=function(e,i){var n=new t,o=this._chunks,a=e&&(0,r.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)n._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else n._chunks=o;return this._copyCommonProps(n),i||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.clone)(this._extent),t._rawExtent=(0,r.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var i=this._indices.length;e=new t(i);for(var n=0;n<i;n++)e[n]=this._indices[n]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,i,n){return(0,o.Pn)(t[n],this._dimensions[n])}n={arrayRows:t,objectRows:function(t,e,i,n){return(0,o.Pn)(t[e],this._dimensions[n])},keyedColumns:t,original:function(t,e,i,n){var r=t&&(null==t.value?t:t.value);return(0,o.Pn)(r instanceof Array?r[n]:r,this._dimensions[n])},typedArray:function(t,e,i,n){return t[n]}}}(),t}()},44513:function(t,e,i){i.d(e,{A:()=>a});var n=i(4884),r=0;function o(t){return(0,n.isObject)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var i=e.option,r=i.data,a=r&&(0,n.map)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==i.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,i=this._needCollect;if(!(0,n.isString)(t)&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(i?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,n.createHashMap)(this.categories))},t}()},15764:function(t,e,i){i.d(e,{A:()=>C});var n,r,o,a,s,l,u,h=i(4884),c=i(25744),p=i(31393),f=i(98609),d=i(1122),g=i(75017),y=i(95056),v=i(84124),m=i(35032),_=i(79576),x=i(50020),w=i(2442),b=h.isObject,S=h.map,M="undefined"==typeof Int32Array?Array:Int32Array,A=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"];let C=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i,n=!1;(0,w.fg)(t)?(i=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(n=!0,i=t),i=i||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<i.length;u++){var c=i[u],p=h.isString(c)?new g.A({name:c}):c instanceof g.A?c:new g.A(c),f=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=f,p.coordDimIndex=0);var d=p.otherDims=p.otherDims||{};o.push(f),r[f]=p,null!=l[f]&&(s=!0),p.createInvertedIndices&&(a[f]=[]),0===d.itemName&&(this._nameDimIdx=u),0===d.itemId&&(this._idDimIdx=u),n&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=h.createHashMap();h.each(o,function(t){y.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var i=this._dimIdxToName.get(e);if(null!=i)return i;var n=this._schema.getSourceDimension(e);if(n)return n.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var i=this._getDimInfo(t);return i?i.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var i=this._dimSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return n?n[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,i){var n,r=this;if(t instanceof x.Ay&&(n=t),!n){var o=this.dimensions,a=(0,_.tP)(t)||h.isArrayLike(t)?new f.d1(t,o.length):t;n=new x.Ay;var s=S(o,function(t){return{type:r._dimInfos[t].type,property:t}});n.initData(a,s,i)}this._store=n,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,n.count()),this._dimSummary=(0,d.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var i=this._store.appendValues(t,e.length),n=i.start,r=i.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=n;a<r;a++){var s=a-n;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,i=0;i<e.length;i++){var n=this._dimInfos[e[i]];n.ordinalMeta&&t.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var i=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(i.getSource().sourceFormat===y.mK&&!i.pure)for(var a=[],s=t;s<e;s++){var l=i.getItem(s,a);if(!this.hasItemOption&&(0,v.zu)(l)&&(this.hasItemOption=!0),l){var h=l.name;null==r[s]&&null!=h&&(r[s]=(0,v.vS)(h,null));var c=l.id;null==o[s]&&null!=c&&(o[s]=(0,v.vS)(c,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);n(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){b(t)?h.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),i=this._nameList[e];return null==i&&null!=this._nameDimIdx&&(i=o(this,this._nameDimIdx,e)),null==i&&(i=""),i},t.prototype._getCategory=function(t,e){var i=this._store.get(t,e),n=this._store.getOrdinalMeta(t);return n?n.categories[i]:i},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var i=this._store,n=this._dimInfos[t];if(n)return i.get(n.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var i=this._store,n=this._dimInfos[t];if(n)return i.getByRawIndex(n.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var i=this,n=this._store;return h.isArray(t)?n.getValues(S(t,function(t){return i._getStoreDimIndex(t)}),e):n.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,i=0,n=e.length;i<n;i++)if(isNaN(this._store.get(e[i],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,i=this._store.count();e<i;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var i=(t&&this._invertedIndicesMap[t])[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,i){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,i)},t.prototype.each=function(t,e,i){h.isFunction(t)&&(i=e,e=t,t=[]);var n=i||this,r=S(a(t),this._getStoreDimIndex,this);this._store.each(r,n?h.bind(e,n):e)},t.prototype.filterSelf=function(t,e,i){h.isFunction(t)&&(i=e,e=t,t=[]);var n=i||this,r=S(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,n?h.bind(e,n):e),this},t.prototype.selectRange=function(t){var e=this,i={},n=h.keys(t),r=[];return h.each(n,function(n){var o=e._getStoreDimIndex(n);i[o]=t[n],r.push(o)}),this._store=this._store.selectRange(i),this},t.prototype.mapArray=function(t,e,i){h.isFunction(t)&&(i=e,e=t,t=[]),i=i||this;var n=[];return this.each(t,function(){n.push(e&&e.apply(this,arguments))},i),n},t.prototype.map=function(t,e,i,n){var r=i||n||this,o=S(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?h.bind(e,r):e),s},t.prototype.modify=function(t,e,i,n){var r=i||n||this,o=S(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?h.bind(e,r):e)},t.prototype.downSample=function(t,e,i,n){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,i,n),r},t.prototype.lttbDownSample=function(t,e){var i=l(this);return i._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),i},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,i=this.getRawDataItem(t);return new c.A(i,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},b(t)?h.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var i=this._itemVisuals[t],n=i&&i[e];return null==n?this.getVisual(e):n},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var i=this._itemVisuals,n=i[t];n||(n=i[t]={});var r=n[e];return null==r&&(r=this.getVisual(e),h.isArray(r)?r=r.slice():b(r)&&(r=h.extend({},r)),n[e]=r),r},t.prototype.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,b(e)?h.extend(n,e):n[e]=i},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){b(t)?h.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?h.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var i=this.hostModel&&this.hostModel.seriesIndex;(0,m.a)(i,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var i=this[t];h.isFunction(i)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(h.slice(arguments)))})},t.internalField=void(n=function(t){var e=t._invertedIndicesMap;h.each(e,function(i,n){var r=t._dimInfos[n],o=r.ordinalMeta,a=t._store;if(o){i=e[n]=new M(o.categories.length);for(var s=0;s<i.length;s++)i[s]=-1;for(var s=0;s<a.count();s++)i[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,i){return(0,v.vS)(t._getCategory(e,i),null)},r=function(t,e){var i=t._idList[e];return null==i&&null!=t._idDimIdx&&(i=o(t,t._idDimIdx,e)),null==i&&(i="e\0\0"+e),i},a=function(t){return h.isArray(t)||(t=null!=t?[t]:[]),t},l=function(e){var i=new t(e._schema?e._schema:S(e.dimensions,e._getDimInfo,e),e.hostModel);return s(i,e),i},s=function(t,e){h.each(A.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,h.each(T,function(i){t[i]=h.clone(e[i])}),t._calculationInfo=h.extend({},e._calculationInfo)},u=function(t,e){var i=t._nameList,n=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=i[e],l=n[e];if(null==s&&null!=r&&(i[e]=s=o(t,r,e)),null==l&&null!=a&&(n[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,h=u[s]=(u[s]||0)+1;l=s,h>1&&(l+="__ec__"+h),n[e]=l}}),t}()},75017:function(t,e,i){i.d(e,{A:()=>r});var n=i(4884);let r=function(t){this.otherDims={},null!=t&&n.extend(this,t)}},79576:function(t,e,i){i.d(e,{AF:()=>h,BE:()=>c,O0:()=>g,gV:()=>u,tP:()=>l,wZ:()=>p});var n=i(4884),r=i(95056),o=i(84124),a=i(88569),s=function(t){this.data=t.data||(t.sourceFormat===r.t1?{}:[]),this.sourceFormat=t.sourceFormat||r.vm,this.seriesLayoutBy=t.seriesLayoutBy||r.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var i=0;i<e.length;i++){var n=e[i];null==n.type&&(0,a.PU)(this,i)===a.sc.Must&&(n.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,i){i=i||p(t);var a=e.seriesLayoutBy,l=function(t,e,i,a,s){if(!t)return{dimensionsDefine:f(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.Km){var l,u;"auto"===a||null==a?d(function(t){null!=t&&"-"!==t&&((0,n.isString)(t)?null==u&&(u=1):u=0)},i,t,10):u=(0,n.isNumber)(a)?a:+!!a,s||1!==u||(s=[],d(function(t,e){s[e]=null!=t?t+"":""},i,t,1/0)),l=s?s.length:i===r.oC?t.length:t[0]?t[0].length:null}else if(e===r.Wk)s||(s=function(t){for(var e,i=0;i<t.length&&!(e=t[i++]););if(e)return(0,n.keys)(e)}(t));else if(e===r.t1)s||(s=[],(0,n.each)(t,function(t,e){s.push(e)}));else if(e===r.mK){var h=(0,o.vj)(t[0]);l=(0,n.isArray)(h)&&h.length||1}else r.XO;return{startIndex:u,dimensionsDefine:f(s),dimensionsDetectedCount:l}}(t,i,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:i,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,n.clone)(e)})}function h(t){return new s({data:t,sourceFormat:(0,n.isTypedArray)(t)?r.XO:r.mK})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,n.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.vm;if((0,n.isTypedArray)(t))e=r.XO;else if((0,n.isArray)(t)){0===t.length&&(e=r.Km);for(var i=0,o=t.length;i<o;i++){var a=t[i];if(null!=a){if((0,n.isArray)(a)||(0,n.isTypedArray)(a)){e=r.Km;break}else if((0,n.isObject)(a)){e=r.Wk;break}}}}else if((0,n.isObject)(t)){for(var s in t)if((0,n.hasOwn)(t,s)&&(0,n.isArrayLike)(t[s])){e=r.t1;break}}return e}function f(t){if(t){var e=(0,n.createHashMap)();return(0,n.map)(t,function(t,i){var r={name:(t=(0,n.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function d(t,e,i,n){if(e===r.oC)for(var o=0;o<i.length&&o<n;o++)t(i[o]?i[o][0]:null,o);else for(var a=i[0]||[],o=0;o<a.length&&o<n;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===r.Wk||e===r.t1}},2442:function(t,e,i){i.d(e,{Tc:()=>l,eS:()=>p,fg:()=>u,io:()=>h,j_:()=>c});var n=i(4884),r=i(84124),o=i(79576),a=(0,r.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,n.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),i=!p(t),n="",r=[],a=0,l=0;a<t;a++){var u=void 0,h=void 0,c=void 0,f=this.dimensions[l];if(f&&f.storeDimIndex===a)u=e?f.name:null,h=f.type,c=f.ordinalMeta,l++;else{var d=this.getSourceDimension(a);d&&(u=e?d.name:null,h=d.type)}r.push({property:u,type:h,ordinalMeta:c}),!e||null==u||f&&f.isCalculationCoord||(n+=i?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),n+="$",n+=s[h]||"f",c&&(n+=c.uid),n+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,n].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,i=0;e<this._fullDimCount;e++){var n=void 0,r=this.dimensions[i];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(n=r.name),i++;else{var o=this.getSourceDimension(e);o&&(n=o.name)}t.push(n)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function h(t){for(var e=(0,n.createHashMap)(),i=0;i<(t||[]).length;i++){var r=t[i],o=(0,n.isObject)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,i)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function p(t){return t>30}},85337:function(t,e,i){i.d(e,{A:()=>p,M:()=>c});var n=i(95056),r=i(75017),o=i(4884),a=i(79576),s=i(50020),l=i(84124),u=i(88569),h=i(2442);function c(t,e){return p(t,e).dimensions}function p(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var i,c,p,f,d,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(i=t,c=g,p=y,f=e.dimensionsCount,d=Math.max(i.dimensionsDetectedCount||1,c.length,p.length,f||0),(0,o.each)(c,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(d=Math.max(d,e.length))}),d),x=e.canOmitUnusedDimensions&&(0,h.eS)(_),w=y===t.dimensionsDefine,b=w?(0,h.j_)(t):(0,h.io)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,_));for(var M=(0,o.createHashMap)(S),A=new s.A_(_),T=0;T<A.length;T++)A[T]=-1;function C(t){var e=A[t];if(e<0){var i=y[t],n=(0,o.isObject)(i)?i:{name:i},a=new r.A,s=n.name;null!=s&&null!=b.get(s)&&(a.name=a.displayName=s),null!=n.type&&(a.type=n.type),null!=n.displayName&&(a.displayName=n.displayName);var l=m.length;return A[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!x)for(var T=0;T<_;T++)C(T);M.each(function(t,e){var i=(0,l.qB)(t).slice();if(1===i.length&&!(0,o.isString)(i[0])&&i[0]<0)return void M.set(e,!1);var n=M.set(e,[]);(0,o.each)(i,function(t,i){var r=(0,o.isString)(t)?b.get(t):t;null!=r&&r<_&&(n[i]=r,k(C(r),e,i))})});var I=0;function k(t,e,i){null!=n.Pe.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,v.set(e,!0))}(0,o.each)(g,function(t){if((0,o.isString)(t))r=t,n={};else{var e,i,n,r=(n=t).name,a=n.ordinalMeta;n.ordinalMeta=null,(n=(0,o.extend)({},n)).ordinalMeta=a,e=n.dimsDef,i=n.otherDims,n.name=n.coordDim=n.coordDimIndex=n.dimsDef=n.otherDims=null}var s=M.get(r);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;I<_&&null!=C(I).coordDim;)I++;I<_&&s.push(I++)}(0,o.each)(s,function(t,a){var s=C(t);if(w&&null!=n.type&&(s.type=n.type),k((0,o.defaults)(s,n),r,a),null==s.name&&e){var l=e[a];(0,o.isObject)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}i&&(0,o.defaults)(s.otherDims,i)})}});var D=e.generateCoord,O=e.generateCoordCount,P=null!=O;O=D?O||1:0;var L=D||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.each)(m,function(t){R(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var z=0;z<_;z++){var E=C(z);null==E.coordDim&&(E.coordDim=function(t,e,i){if(i||e.hasKey(t)){for(var n=0;e.hasKey(t+n);)n++;t+=n}return e.set(t,!0),t}(L,v,P),E.coordDimIndex=0,(!D||O<=0)&&(E.isExtraCoord=!0),O--),R(E),null==E.type&&((0,u.PU)(t,z)===u.sc.Must||E.isExtraCoord&&(null!=E.otherDims.itemName||null!=E.otherDims.seriesName))&&(E.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),i=0;i<t.length;i++){var n=t[i],r=n.name,a=e.get(r)||0;a>0&&(n.name=r+(a-1)),a++,e.set(r,a)}}(m),new h.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:x})}},98609:function(t,e,i){i.d(e,{Kd:()=>m,QE:()=>S,d1:()=>p,sC:()=>g,uQ:()=>w});var n,r,o,a,s,l=i(4884),u=i(84124),h=i(79576),c=i(95056),p=function(){var t;function e(t,e){var i=(0,h.tP)(t)?t:(0,h.AF)(t);this._source=i;var n=this._data=i.data;i.sourceFormat===c.XO&&(this._offset=0,this._dimSize=e,this._data=n),s(this,n,i)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,p=o.dimensionsDefine,f=a[b(s,u)];if((0,l.extend)(t,f),s===c.XO)t.getItem=e,t.count=n,t.fillStorage=i;else{var d=g(s,u);t.getItem=(0,l.bind)(d,null,r,h,p);var y=m(s,u);t.count=(0,l.bind)(y,null,r,h,p)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var i=this._data,n=this._dimSize,r=n*t,o=0;o<n;o++)e[o]=i[r+o];return e},i=function(t,e,i,n){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=n[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=i[a],p=0;p<h;p++){var f=r[p*o+a];c[t+p]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},n=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[c.Km+"_"+c.i_]={pure:!0,appendData:r},t[c.Km+"_"+c.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.Wk]={pure:!0,appendData:r},t[c.t1]={pure:!0,appendData:function(t){var e=this._data;(0,l.each)(t,function(t,i){for(var n=e[i]||(e[i]=[]),r=0;r<(t||[]).length;r++)n.push(t[r])})}},t[c.mK]={appendData:r},t[c.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),f=function(t,e,i,n){return t[n]},d=((n={})[c.Km+"_"+c.i_]=function(t,e,i,n){return t[n+e]},n[c.Km+"_"+c.oC]=function(t,e,i,n,r){n+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[n]:null}return o},n[c.Wk]=f,n[c.t1]=function(t,e,i,n,r){for(var o=r||[],a=0;a<i.length;a++){var s=t[i[a].name];o[a]=s?s[n]:null}return o},n[c.mK]=f,n);function g(t,e){return d[b(t,e)]}var y=function(t,e,i){return t.length},v=((r={})[c.Km+"_"+c.i_]=function(t,e,i){return Math.max(0,t.length-e)},r[c.Km+"_"+c.oC]=function(t,e,i){var n=t[0];return n?Math.max(0,n.length-e):0},r[c.Wk]=y,r[c.t1]=function(t,e,i){var n=t[i[0].name];return n?n.length:0},r[c.mK]=y,r);function m(t,e){return v[b(t,e)]}var _=function(t,e,i){return t[e]},x=((o={})[c.Km]=_,o[c.Wk]=function(t,e,i){return t[i]},o[c.t1]=_,o[c.mK]=function(t,e,i){var n=(0,u.vj)(t);return n instanceof Array?n[e]:n},o[c.XO]=_,o);function w(t){return x[t]}function b(t,e){return t===c.Km?t+"_"+e:t}function S(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=i){var a=t.getDimensionIndex(i),s=r.getDimensionProperty(a);return x[o](n,a,s)}var l=n;return o===c.mK&&(l=(0,u.vj)(n)),l}}}},41402:function(t,e,i){i.d(e,{iJ:()=>o,me:()=>s,sJ:()=>a});var n=i(4884),r=i(2442);function o(t,e,i){var o,a,s,l,u,h,c,p,f=(i=i||{}).byIndex,d=i.stackedCoordDimension;(o=e,(0,r.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,n.each)(a,function(t,e){(0,n.isString)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(f||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(h=t))}),!h||f||u||(f=!0),h){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=h.coordDim,v=h.type,m=0;(0,n.each)(a,function(t){t.coordDim===y&&m++});var _={name:c,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,v),x.storeDimIndex=l.ensureCalculationDimension(c,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:f,stackedOverDimension:p,stackResultDimension:c}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},47163:function(t,e,i){i.d(e,{Fl:()=>c,Pn:()=>a,zC:()=>l,zs:()=>f});var n=i(21916),r=i(4884),o=i(58391);function a(t,e){var i=e&&e.type;return"ordinal"===i?t:("time"!==i||(0,r.isNumber)(t)||null==t||"-"===t||(t=+(0,n._U)(t)),null==t||""===t?NaN:+t)}var s=(0,r.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,n._U)(t)},trim:function(t){return(0,r.isString)(t)?(0,r.trim)(t):t}});function l(t){return s.get(t)}var u={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},h=function(){function t(t,e){(0,r.isNumber)(e)||(0,o.$8)(""),this._opFn=u[t],this._rvalFloat=(0,n.Sm)(e)}return t.prototype.evaluate=function(t){return(0,r.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,n.Sm)(t),this._rvalFloat)},t}(),c=function(){function t(t,e){var i="desc"===t;this._resultLT=i?1:-1,null==e&&(e=i?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var i=(0,r.isNumber)(t)?t:(0,n.Sm)(t),o=(0,r.isNumber)(e)?e:(0,n.Sm)(e),a=isNaN(i),s=isNaN(o);if(a&&(i=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.isString)(t),u=(0,r.isString)(e);l&&(i=u?t:0),u&&(o=l?e:0)}return i<o?this._resultLT:i>o?-this._resultLT:0},t}(),p=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,n.Sm)(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var i=typeof t;i!==this._rvalTypeof&&("number"===i||"number"===this._rvalTypeof)&&(e=(0,n.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function f(t,e){return"eq"===t||"ne"===t?new p("eq"===t,e):(0,r.hasOwn)(u,t)?new h(t,e):null}},1122:function(t,e,i){i.d(e,{B:()=>l,l:()=>a});var n=i(4884),r=i(95056),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var i={},a=i.encode={},l=(0,n.createHashMap)(),u=[],h=[],c={};(0,n.each)(t.dimensions,function(e){var i=t.getDimensionInfo(e),n=i.coordDim;if(n){var o,p=i.coordDimIndex;s(a,n)[p]=e,i.isExtraCoord||(l.set(n,1),"ordinal"!==(o=i.type)&&"time"!==o&&(u[0]=e),s(c,n)[p]=t.getDimensionIndex(i.name)),i.defaultTooltip&&h.push(e)}r.Pe.each(function(t,e){var n=s(a,e),r=i.otherDims[e];null!=r&&!1!==r&&(n[r]=i.name)})});var p=[],f={};l.each(function(t,e){var i=a[e];f[e]=i[0],p=p.concat(i)}),i.dataDimsOnCoord=p,i.dataDimIndicesOnCoord=(0,n.map)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),i.encodeFirstDimNotExtra=f;var d=a.label;d&&d.length&&(u=d.slice());var g=a.tooltip;return g&&g.length?h=g.slice():h.length||(h=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=h,i.userOutput=new o(c,e),i}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},88569:function(t,e,i){i.d(e,{G9:()=>c,Gt:()=>p,OC:()=>u,PU:()=>f,ln:()=>h,ps:()=>l,sc:()=>a});var n=i(84124),r=i(4884),o=i(95056),a={Must:1,Might:2,Not:3},s=(0,n.$r)();function l(t){s(t).datasetMap=(0,r.createHashMap)()}function u(t,e,i){var n,o,a={},l=c(e);if(!l||!t)return a;var u=[],h=[],p=s(e.ecModel).datasetMap,f=l.uid+"_"+i.seriesLayoutBy;t=t.slice(),(0,r.each)(t,function(e,i){var s=(0,r.isObject)(e)?e:t[i]={name:e};"ordinal"===s.type&&null==n&&(n=i,o=y(s)),a[s.name]=[]});var d=p.get(f)||p.set(f,{categoryWayDim:o,valueWayDim:0});function g(t,e,i){for(var n=0;n<i;n++)t.push(e+n)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.each)(t,function(t,e){var i=t.name,r=y(t);if(null==n){var o=d.valueWayDim;g(a[i],o,r),g(h,o,r),d.valueWayDim+=r}else if(n===e)g(a[i],0,r),g(u,0,r);else{var o=d.categoryWayDim;g(a[i],o,r),g(h,o,r),d.categoryWayDim+=r}}),u.length&&(a.itemName=u),h.length&&(a.seriesName=h),a}function h(t,e,i){var n,s={};if(!c(t))return s;var l=e.sourceFormat,u=e.dimensionsDefine;(l===o.Wk||l===o.t1)&&(0,r.each)(u,function(t,e){((0,r.isObject)(t)?t.name:t)==="name"&&(n=e)});var h=function(){for(var t={},r={},o=[],s=0,h=Math.min(5,i);s<h;s++){var c=d(e.data,l,e.seriesLayoutBy,u,e.startIndex,s);o.push(c);var p=c===a.Not;if(p&&null==t.v&&s!==n&&(t.v=s),null!=t.n&&t.n!==t.v&&(p||o[t.n]!==a.Not)||(t.n=s),f(t)&&o[t.n]!==a.Not)return t;p||(c===a.Might&&null==r.v&&s!==n&&(r.v=s),(null==r.n||r.n===r.v)&&(r.n=s))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(r)?r:null}();if(h){s.value=[h.v];var p=null!=n?n:h.n;s.itemName=[p],s.seriesName=[p]}return s}function c(t){if(!t.get("data",!0))return(0,n.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},n.US).models[0]}function p(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,n.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},n.US).models:[]}function f(t,e){return d(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function d(t,e,i,s,l,u){var h,c,p;if((0,r.isTypedArray)(t))return a.Not;if(s){var f=s[u];(0,r.isObject)(f)?(c=f.name,p=f.type):(0,r.isString)(f)&&(c=f)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.Km)if(i===o.oC){for(var d=t[u],g=0;g<(d||[]).length&&g<5;g++)if(null!=(h=_(d[l+g])))return h}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(h=_(y[u])))return h}else if(e===o.Wk){if(!c)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(h=_(v[c])))return h}}else if(e===o.t1){if(!c)return a.Not;var d=t[c];if(!d||(0,r.isTypedArray)(d))return a.Not;for(var g=0;g<d.length&&g<5;g++)if(null!=(h=_(d[g])))return h}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,n.vj)(v);if(!(0,r.isArray)(m))return a.Not;if(null!=(h=_(m[u])))return h}function _(t){var e=(0,r.isString)(t);return null!=t&&isFinite(t)&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},66282:function(t,e,i){i.d(e,{A:()=>c,R:()=>h});var n=i(4884),r=i(79576),o=i(95056),a=i(88569),s=i(41194),l=i(50020),u=i(98609),h=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,i=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(p(i)){var l=void 0,u=void 0,h=void 0;if(s){var c=a[0];c.prepareSource(),l=(h=c.getSource()).data,u=h.sourceFormat,e=[c._getVersionSign()]}else l=i.get("data",!0),u=(0,n.isTypedArray)(l)?o.XO:o.mK,e=[];var f=this._getSourceMetaRawOption()||{},d=h&&h.metaRawOption||{},g=(0,n.retrieve2)(f.seriesLayoutBy,d.seriesLayoutBy)||null,y=(0,n.retrieve2)(f.sourceHeader,d.sourceHeader),v=(0,n.retrieve2)(f.dimensions,d.dimensions);t=g!==d.seriesLayoutBy||!!y!=!!d.sourceHeader||v?[(0,r.gV)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=i.get("source",!0);t=[(0,r.gV)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,i=this._sourceHost,o=i.get("transform",!0),a=i.get("fromTransformResult",!0);null!=a&&1!==t.length&&f("");var l=[],u=[];return(0,n.each)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||f(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.py)(o,l,{datasetIndex:i.componentIndex}):null!=a&&(e=[(0,r.BE)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var i=t[e];if(i._isDirty()||this._upstreamSignList[e]!==i._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var i=this._getUpstreamSourceManagers();return i[0]&&i[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,i){var n=this._storeList,r=n[0];r||(r=n[0]={});var o=r[i];if(!o){var a=this._getUpstreamSourceManagers()[0];p(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,i):(o=new l.Ay).initData(new u.d1(e,t.length),t),r[i]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!p(t))return(0,n.map)((0,a.Gt)(t),function(t){return t.getSourceManager()});var e=(0,a.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,i,n=this._sourceHost;return p(n)?(t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),i=n.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),i=n.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:i}},t}();function c(t){t.option.transform&&(0,n.setAsPrimitive)(t.option.transform)}function p(t){return"series"===t.mainType}function f(t){throw Error(t)}},41194:function(t,e,i){i.d(e,{py:()=>v,v5:()=>y});var n=i(95056),r=i(84124),o=i(4884),a=i(98609),s=i(47163),l=i(58391),u=i(79576),h=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function c(t){return m(t.sourceFormat)||(0,l.$8)(""),t.data}function p(t){var e=t.sourceFormat,i=t.data;if(m(e)||(0,l.$8)(""),e===n.Km){for(var r=[],a=0,s=i.length;a<s;a++)r.push(i[a].slice());return r}if(e===n.Wk){for(var r=[],a=0,s=i.length;a<s;a++)r.push((0,o.extend)({},i[a]));return r}}function f(t,e,i){if(null!=i){if((0,o.isNumber)(i)||!isNaN(i)&&!(0,o.hasOwn)(e,i))return t[i];else if((0,o.hasOwn)(e,i))return e[i]}}function d(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function y(t){var e=(t=(0,o.clone)(t)).type;e||(0,l.$8)("");var i=e.split(":");2!==i.length&&(0,l.$8)("");var n=!1;"echarts"===i[0]&&(e=i[1],n=!0),t.__isBuiltIn=n,g.set(e,t)}function v(t,e,i){var s=(0,r.qB)(t),y=s.length;y||(0,l.$8)("");for(var v=0;v<y;v++)e=function(t,e,i,s){e.length||(0,l.$8)(""),(0,o.isObject)(t)||(0,l.$8)("");var y=t.type,v=g.get(y);v||(0,l.$8)("");var _=(0,o.map)(e,function(t){return function(t,e){var i=new h,r=t.data,s=i.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==n.i_&&(0,l.$8)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var i=t.name,n={index:e,name:i,displayName:t.displayName};g.push(n),null!=i&&((0,o.hasOwn)(y,i)&&(0,l.$8)(""),y[i]=n)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a.sC)(s,n.i_);e.__isBuiltIn&&(i.getRawDataItem=function(t){return _(r,u,g,t)},i.getRawData=(0,o.bind)(c,null,t)),i.cloneRawData=(0,o.bind)(p,null,t);var x=(0,a.Kd)(s,n.i_);i.count=(0,o.bind)(x,null,r,u,g);var w=(0,a.uQ)(s);i.retrieveValue=function(t,e){return b(_(r,u,g,t),e)};var b=i.retrieveValueFromItem=function(t,e){if(null!=t){var i=g[e];if(i)return w(t,e,i.name)}};return i.getDimensionInfo=(0,o.bind)(f,null,g,y),i.cloneAllDimensionInfo=(0,o.bind)(d,null,g),i}(t,v)}),x=(0,r.qB)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.clone)(t.config)}));return(0,o.map)(x,function(t,i){(0,o.isObject)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),m((0,u.wZ)(t.data))||(0,l.$8)("");var r,a=e[0];if(a&&0===i&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:n.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:n.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,r,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===n.Km||t===n.Wk}},74653:function(t,e,i){i.d(e,{Y:()=>function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(c,e)>=0||(c.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(p))}});var n=i(31950),r=i(43583),o=i(31440),a=i(36805),s=i(55785),l=i(4884),u=i(2158),h=i(66726),c=[],p={registerPreprocessor:n.lP,registerProcessor:n.qg,registerPostInit:n.cf,registerPostUpdate:n.tb,registerUpdateLifecycle:n.xV,registerAction:n.OH,registerCoordinateSystem:n.pX,registerLayout:n.Oh,registerVisual:n.AF,registerTransform:n.iY,registerLoading:n.Ej,registerMap:n.mz,registerImpl:u.m,PRIORITY:n.FQ,ComponentModel:a.A,ComponentView:r.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){r.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.registerPainter)(t,e)}}},6417:function(t,e,i){i.d(e,{If:()=>u,QX:()=>s,Xe:()=>l,os:()=>o});var n=i(14230),r=i(51690);function o(t){for(var e=[],i=0;i<t.length;i++){var r=t[i];if(!r.defaultAttr.ignore){var o=r.label,a=o.getComputedTransform(),s=o.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,u=o.style.margin||0,h=s.clone();h.applyTransform(a),h.x-=u/2,h.y-=u/2,h.width+=u,h.height+=u;var c=l?new n.A(s,a):null;e.push({label:o,labelLine:r.labelLine,rect:h,localRect:s,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:l,transform:a})}}return e}function a(t,e,i,n,r,o){var a,s,l,u=t.length;if(!(u<2)){t.sort(function(t,i){return t.rect[e]-i.rect[e]});for(var h=0,c=!1,p=[],f=0,d=0;d<u;d++){var g=t[d],y=g.rect;(a=y[e]-h)<0&&(y[e]-=a,g.label[e]-=a,c=!0);var v=Math.max(-a,0);p.push(v),f+=v,h=y[e]+y[i]}f>0&&o&&b(-f/u,0,u);var m=t[0],_=t[u-1];return x(),s<0&&S(-s,.8),l<0&&S(l,.8),x(),w(s,l,1),w(l,s,-1),x(),s<0&&M(-s),l<0&&M(l),c}function x(){s=m.rect[e]-n,l=r-_.rect[e]-_.rect[i]}function w(t,e,i){if(t<0){var n=Math.min(e,-t);if(n>0){b(n*i,0,u);var r=n+t;r<0&&S(-r*i,1)}else S(-t*i,1)}}function b(i,n,r){0!==i&&(c=!0);for(var o=n;o<r;o++){var a=t[o],s=a.rect;s[e]+=i,a.label[e]+=i}}function S(n,r){for(var o=[],a=0,s=1;s<u;s++){var l=t[s-1].rect,h=Math.max(t[s].rect[e]-l[e]-l[i],0);o.push(h),a+=h}if(a){var c=Math.min(Math.abs(n)/a,r);if(n>0)for(var s=0;s<u-1;s++){var p=o[s]*c;b(p,0,s+1)}else for(var s=u-1;s>0;s--){var p=o[s-1]*c;b(-p,s,u)}}}function M(t){for(var e=t<0?-1:1,i=Math.ceil((t=Math.abs(t))/(u-1)),n=0;n<u-1;n++)if(e>0?b(i,0,n+1):b(-i,u-n-1,u),(t-=i)<=0)return}}function s(t,e,i,n){return a(t,"x","width",e,i,n)}function l(t,e,i,n){return a(t,"y","height",e,i,n)}function u(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var i=new r.A(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],l=s.axisAligned,u=s.localRect,h=s.transform,c=s.label,p=s.labelLine;i.copy(s.rect),i.width-=.1,i.height-=.1,i.x+=.05,i.y+=.05;for(var f=s.obb,d=!1,g=0;g<e.length;g++){var y=e[g];if(i.intersect(y.rect)&&(l&&y.axisAligned||(y.obb||(y.obb=new n.A(y.localRect,y.transform)),f||(f=new n.A(u,h)),f.intersect(y.obb)))){d=!0;break}}d?(o(c),p&&o(p)):(c.attr("ignore",s.defaultAttr.ignore),p&&p.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},73394:function(t,e,i){i.d(e,{Lu:()=>x,Oh:()=>w,VB:()=>f,c8:()=>_,lx:()=>p,qM:()=>c,sD:()=>d,xb:()=>b});var n=i(52384),r=i(4884),o=i(72059),a=i(84124),s=i(68532),l={};function u(t,e){for(var i=0;i<o.BV.length;i++){var n=o.BV[i],r=e[n],a=t.ensureState(n);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,i){var n,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(n=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=i?{interpolatedValue:i}:null)),null==n&&(n=(0,r.isFunction)(t.defaultText)?t.defaultText(s,t,i):t.defaultText);for(var h={normal:n},c=0;c<o.BV.length;c++){var p=o.BV[c],f=e[p];h[p]=(0,r.retrieve2)(a?a.getFormattedLabel(s,p,null,l,f&&f.get("formatter")):null,n)}return h}function c(t,e,i,a){i=i||l;for(var s=t instanceof n.Ay,c=!1,p=0;p<o.wV.length;p++){var g=e[o.wV[p]];if(g&&g.getShallow("show")){c=!0;break}}var y=s?t:t.getTextContent();if(c){!s&&(y||(y=new n.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=h(i,e),m=e.normal,_=!!m.getShallow("show"),w=f(m,a&&a.normal,i,!1,!s);w.text=v.normal,s||t.setTextConfig(d(m,i,!1));for(var p=0;p<o.BV.length;p++){var b=o.BV[p],g=e[b];if(g){var S=y.ensureState(b),M=!!(0,r.retrieve2)(g.getShallow("show"),_);M!==_&&(S.ignore=!M),S.style=f(g,a&&a[b],i,!0,!s),S.style.text=v[b],s||(t.ensureState(b).textConfig=d(g,i,!0))}}y.silent=!!m.getShallow("silent"),null!=y.style.x&&(w.x=y.style.x),null!=y.style.y&&(w.y=y.style.y),y.ignore=!_,y.useStyle(w),y.dirty(),i.enableTextSetter&&(x(y).setLabelText=function(t){var n=h(i,e,t);u(y,n)})}else y&&(y.ignore=!0);t.dirty()}function p(t,e){e=e||"label";for(var i={normal:t.getModel(e)},n=0;n<o.BV.length;n++){var r=o.BV[n];i[r]=t.getModel([r,e])}return i}function f(t,e,i,n,o){var a={};return function(t,e,i,n,o){i=i||l;var a,s=e.ecModel,u=s&&s.option.textStyle,h=function(t){for(var e;t&&t!==t.ecModel;){var i=(t.option||l).rich;if(i){e=e||{};for(var n=(0,r.keys)(i),o=0;o<n.length;o++)e[n[o]]=1}t=t.parentModel}return e}(e);if(h){for(var c in a={},h)if(h.hasOwnProperty(c)){var p=e.getModel(["rich",c]);m(a[c]={},p,u,i,n,o,!1,!0)}}a&&(t.rich=a);var f=e.get("overflow");f&&(t.overflow=f);var d=e.get("minMargin");null!=d&&(t.margin=d),m(t,e,u,i,n,o,!0,!1)}(a,t,i,n,o),e&&(0,r.extend)(a,e),a}function d(t,e,i){e=e||{};var n,o={},a=t.getShallow("rotate"),s=(0,r.retrieve2)(t.getShallow("distance"),i?null:5),l=t.getShallow("offset");return"outside"===(n=t.getShallow("position")||(i?null:"inside"))&&(n=e.defaultOutsidePosition||"top"),null!=n&&(o.position=n),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],v=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,i,n,o,a,s,u){i=!o&&i||l;var h=n&&n.inheritColor,c=e.getShallow("color"),p=e.getShallow("textBorderColor"),f=(0,r.retrieve2)(e.getShallow("opacity"),i.opacity);("inherit"===c||"auto"===c)&&(c=h||null),("inherit"===p||"auto"===p)&&(p=h||null),a||(c=c||i.color,p=p||i.textBorderColor),null!=c&&(t.fill=c),null!=p&&(t.stroke=p);var d=(0,r.retrieve2)(e.getShallow("textBorderWidth"),i.textBorderWidth);null!=d&&(t.lineWidth=d);var m=(0,r.retrieve2)(e.getShallow("textBorderType"),i.textBorderType);null!=m&&(t.lineDash=m);var _=(0,r.retrieve2)(e.getShallow("textBorderDashOffset"),i.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=f||u||(f=n&&n.defaultOpacity),null!=f&&(t.opacity=f),o||a||null!=t.fill||!n.inheritColor||(t.fill=n.inheritColor);for(var x=0;x<g.length;x++){var w=g[x],b=(0,r.retrieve2)(e.getShallow(w),i[w]);null!=b&&(t[w]=b)}for(var x=0;x<y.length;x++){var w=y[x],b=e.getShallow(w);null!=b&&(t[w]=b)}if(null==t.verticalAlign){var S=e.getShallow("baseline");null!=S&&(t.verticalAlign=S)}if(!s||!n.disableBox){for(var x=0;x<v.length;x++){var w=v[x],b=e.getShallow(w);null!=b&&(t[w]=b)}var M=e.getShallow("borderType");null!=M&&(t.borderDash=M),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&h&&(t.backgroundColor=h),("auto"===t.borderColor||"inherit"===t.borderColor)&&h&&(t.borderColor=h)}}function _(t,e){var i=e&&e.getModel("textStyle");return(0,r.trim)([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.$r)();function w(t,e,i,n){if(t){var r=x(t);r.prevValue=r.value,r.value=i;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=n,r.statesModels=e)}}function b(t,e,i,n,o){var l=x(t);if(l.valueAnimation&&l.prevValue!==l.value){var c=l.defaultInterpolatedText,p=(0,r.retrieve2)(l.interpolatedValue,l.prevValue),f=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},n,e,null,function(n){var r=(0,a.Il)(i,l.precision,p,f,n);l.interpolatedValue=1===n?null:r,u(t,h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(r):r+""},l.statesModels,r))})}}},30730:function(t,e,i){i.d(e,{DL:()=>c,GL:()=>p,KF:()=>v,VA:()=>g,Zp:()=>y,vq:()=>f});var n=i(4884),r=i(21916),o=i(41402),a=i(65132),s=i(30095),l="__ec_stack_";function u(t){return t.get("stack")||l+t.seriesIndex}function h(t){return t.dim+t.index}function c(t){var e=[],i=t.axis,r="axis0";if("category"===i.type){for(var o=i.getBandWidth(),a=0;a<t.count||0;a++)e.push((0,n.defaults)({bandWidth:o,axisKey:r,stackId:l+a},t));for(var s=d(e),u=[],a=0;a<t.count;a++){var h=s[r][l+a];h.offsetCenter=h.offset+h.width/2,u.push(h)}return u}}function p(t,e){var i=[];return e.eachSeriesByType(t,function(t){m(t)&&i.push(t)}),i}function f(t){var e=function(t){var e={};(0,n.each)(t,function(t){var i=t.coordinateSystem.getBaseAxis();if("time"===i.type||"value"===i.type)for(var n=t.getData(),r=i.dim+"_"+i.index,o=n.getDimensionIndex(n.mapDimension(i.dim)),a=n.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var i={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}i[r]=a}}return i}(t),i=[];return(0,n.each)(t,function(t){var n,o=t.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=e[o.dim+"_"+o.index],l=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),p=Math.abs(c[1]-c[0]);n=s?l/p*s:l}else{var f=t.getData();n=Math.abs(a[1]-a[0])/f.count()}var d=(0,r.lo)(t.get("barWidth"),n),g=(0,r.lo)(t.get("barMaxWidth"),n),y=(0,r.lo)(t.get("barMinWidth")||(_(t)?.5:1),n),v=t.get("barGap"),m=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:d,barMaxWidth:g,barMinWidth:y,barGap:v,barCategoryGap:m,axisKey:h(o),stackId:u(t)})}),d(i)}function d(t){var e={};(0,n.each)(t,function(t,i){var n=t.axisKey,r=t.bandWidth,o=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[n]=o;var s=t.stackId;!a[s]&&o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)});var i={};return(0,n.each)(e,function(t,e){i[e]={};var o,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,n.keys)(a).length,15)+"%");var u=(0,r.lo)(l,s),h=(0,r.lo)(t.gap,1),c=t.remainedWidth,p=t.autoWidthCount,f=(c-u)/(p+(p-1)*h);f=Math.max(f,0),(0,n.each)(a,function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){var n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,c-=n+h*n,p--}else{var n=f;e&&e<n&&(n=Math.min(e,c)),i&&i>n&&(n=i),n!==f&&(t.width=n,c-=n+h*n,p--)}}),f=Math.max(f=(c-u)/(p+(p-1)*h),0);var d=0;(0,n.each)(a,function(t,e){t.width||(t.width=f),o=t,d+=t.width*(1+h)}),o&&(d-=o.width*h);var g=-d/2;(0,n.each)(a,function(t,n){i[e][n]=i[e][n]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+h)})}),i}function g(t,e,i){if(t&&e){var n=t[h(e)];return null!=n&&null!=i?n[u(i)]:n}}function y(t,e){var i=p(t,e),r=f(i);(0,n.each)(i,function(t){var e=t.getData(),i=t.coordinateSystem.getBaseAxis(),n=u(t),o=r[h(i)][n],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function v(t){return{seriesType:t,plan:(0,a.A)(),reset:function(t){if(m(t)){var e,i=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),a=n.getOtherAxis(r),l=i.getDimensionIndex(i.mapDimension(a.dim)),u=i.getDimensionIndex(i.mapDimension(r.dim)),h=t.get("showBackground",!0),c=i.mapDimension(a.dim),p=i.getCalculationInfo("stackResultDimension"),f=(0,o.sJ)(i,c)&&!!i.getCalculationInfo("stackedOnSeries"),d=a.isHorizontal(),g=(e=a).toGlobalCoord(e.dataToCoord(+("log"===e.type))),y=_(t),v=t.get("barMinHeight")||0,x=p&&i.getDimensionIndex(p),w=i.getLayout("size"),b=i.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,o=y&&(0,s.J)(3*r),a=y&&h&&(0,s.J)(3*r),c=y&&(0,s.J)(r),p=n.master.getRect(),m=d?p.width:p.height,_=e.getStore(),S=0;null!=(i=t.next());){var M=_.get(f?x:l,i),A=_.get(u,i),T=g,C=void 0;f&&(C=M-_.get(l,i));var I=void 0,k=void 0,D=void 0,O=void 0;if(d){var P=n.dataToPoint([M,A]);if(f){var L=n.dataToPoint([C,A]);T=L[0]}I=T,k=P[1]+b,D=P[0]-T,O=w,Math.abs(D)<v&&(D=(D<0?-1:1)*v)}else{var P=n.dataToPoint([A,M]);if(f){var L=n.dataToPoint([A,C]);T=L[1]}I=P[0]+b,k=T,D=w,Math.abs(O=P[1]-T)<v&&(O=(O<=0?-1:1)*v)}y?(o[S]=I,o[S+1]=k,o[S+2]=d?D:O,a&&(a[S]=d?p.x:I,a[S+1]=d?k:p.y,a[S+2]=m),c[i]=i):e.setItemLayout(i,{x:I,y:k,width:D,height:O}),S+=3}y&&e.setLayout({largePoints:o,largeDataIndices:c,largeBackgroundPoints:a,valueAxisHorizontal:d})}}}}}}function m(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function _(t){return t.pipelineContext&&t.pipelineContext.large}},1514:function(t,e,i){i.d(e,{I:()=>o,l:()=>s});var n=i(4884),r=i(84124);function o(t,e){(0,n.each)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(i){e(i[0],function(e,r,o){var a,s;e=(0,n.extend)({},e),o.dispatchAction((0,n.extend)(e,{type:i[1],seriesIndex:(a=e,s=[],r.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})}function a(t,e,i,o,a){var s=t+e;i.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var h=t.getData(),c=(0,r.le)(h,a.fromActionPayload);i.trigger(s,{type:s,seriesId:t.id,name:(0,n.isArray)(c)?h.getName(c[0]):h.getName(c),selected:(0,n.isString)(o)?o:(0,n.extend)({},o)})}})}function s(t,e,i){t.on("selectchanged",function(t){var n=i.getModel();t.isFromClick?(a("map","selectchanged",e,n,t),a("pie","selectchanged",e,n,t)):"select"===t.fromAction?(a("map","selected",e,n,t),a("pie","selected",e,n,t)):"unselect"===t.fromAction&&(a("map","unselected",e,n,t),a("pie","unselected",e,n,t))})}},36805:function(t,e,i){i.d(e,{A:()=>p});var n=i(31831),r=i(4884),o=i(25744),a=i(3818),s=i(18191),l=i(84124),u=i(10675),h=(0,l.$r)(),c=function(t){var e;function i(e,i,n){var r=t.call(this,e,i,n)||this;return r.uid=a.$Q("ec_cpt_model"),r}return(0,n.C6)(i,t),i.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},i.prototype.mergeDefaultAndTheme=function(t,e){var i=u.ad(this),n=i?u.vs(t):{},o=e.getTheme();r.merge(t,o.get(this.mainType)),r.merge(t,this.getDefaultOption()),i&&u.YA(t,n,i)},i.prototype.mergeOption=function(t,e){r.merge(this.option,t,!0);var i=u.ad(this);i&&u.YA(this.option,t,i)},i.prototype.optionUpdated=function(t,e){},i.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var i=[],n=t;n;){var o=n.prototype.defaultOption;o&&i.push(o),n=n.superClass}for(var a={},l=i.length-1;l>=0;l--)a=r.merge(a,i[l],!0);e.defaultOption=a}return e.defaultOption},i.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},i.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},i.prototype.getZLevelKey=function(){return""},i.prototype.setZLevel=function(t){this.option.zlevel=t},i.protoInitialize=void((e=i.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),i}(o.A);(0,s.q7)(c,o.A),(0,s.tQ)(c),a.A6(c),a.vf(c,function(t){var e=[];return r.each(c.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.map(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=r.indexOf(e,"dataset")&&e.unshift("dataset"),e});let p=c},25744:function(t,e,i){i.d(e,{A:()=>v});var n=i(35209),r=i(18191),o=(0,i(80266).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=i(73394),l=i(52384),u=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new l.Ay,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},i=0;i<h.length;i++)e[h[i]]=this.getShallow(h[i]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}(),f=i(81275),d=i(52228),g=i(4884),y=function(){function t(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}return t.prototype.init=function(t,e,i){for(var n=[],r=3;r<arguments.length;r++)n[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var i=this.option,n=null==i?i:i[t];if(null==n&&!e){var r=this.parentModel;r&&(n=r.getShallow(t))}return n},t.prototype.getModel=function(e,i){var n=null!=e,r=n?this.parsePath(e):null;return new t(n?this._doGet(r):this.option,i=i||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!n.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var i=this.option;if(!t)return i;for(var n=0;n<t.length&&(!t[n]||null!=(i=i&&"object"==typeof i?i[t[n]]:null));n++);return null==i&&e&&(i=e._doGet(this.resolveParentPath(t),e.parentModel)),i},t}();(0,r.gq)(y),(0,r.Od)(y),(0,g.mixin)(y,f.J),(0,g.mixin)(y,d.s),(0,g.mixin)(y,a),(0,g.mixin)(y,p);let v=y},55785:function(t,e,i){i.d(e,{A:()=>T,U:()=>v});var n=i(31831),r=i(4884),o=i(35209),a=i(84124),s=i(36805),l=i(57699),u=i(42345),h=i(10675),c=i(87189),p=i(18191),f=i(66282),d=i(6941),g=a.$r();function y(t,e){return t.getName(e)||t.getId(e)}var v="__universalTransitionEnabled",m=function(t){var e;function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,n.C6)(i,t),i.prototype.init=function(t,e,i){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.U)({count:x,reset:w}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),(g(this).sourceManager=new f.R(this)).prepareSource();var n=this.getInitialData(t,i);S(n,this),this.dataTask.context.data=n,g(this).dataBeforeProcessed=n,_(this),this._initSelectedMapFromData(n)},i.prototype.mergeDefaultAndTheme=function(t,e){var i=(0,h.ad)(this),n=i?(0,h.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&(0,h.YA)(t,n,i)},i.prototype.mergeOption=function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=(0,h.ad)(this);i&&(0,h.YA)(this.option,t,i);var n=g(this).sourceManager;n.dirty(),n.prepareSource();var o=this.getInitialData(t,e);S(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,g(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},i.prototype.fillDataTextStyle=function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&a.M5(t[i],"label",e)},i.prototype.getInitialData=function(t,e){},i.prototype.appendData=function(t){this.getRawData().appendData(t.data)},i.prototype.getData=function(t){var e=A(this);if(!e)return g(this).data;var i=e.context.data;return null==t?i:i.getLinkedData(t)},i.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},i.prototype.setData=function(t){var e=A(this);if(e){var i=e.context;i.outputData=t,e!==this.dataTask&&(i.data=t)}g(this).data=t},i.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.createHashMap(t)},i.prototype.getSourceManager=function(){return g(this).sourceManager},i.prototype.getSource=function(){return this.getSourceManager().getSource()},i.prototype.getRawData=function(){return g(this).dataBeforeProcessed},i.prototype.getColorBy=function(){return this.get("colorBy")||"series"},i.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},i.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},i.prototype.formatTooltip=function(t,e,i){return(0,d.J)({series:this,dataIndex:t,multipleSeries:e})},i.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},i.prototype.restoreData=function(){this.dataTask.dirty()},i.prototype.getColorFromPalette=function(t,e,i){var n=this.ecModel,r=l.X.prototype.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},i.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},i.prototype.getProgressive=function(){return this.get("progressive")},i.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},i.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},i.prototype.unselect=function(t,e){var i=this.option.selectedMap;if(i){var n=this.option.selectedMode,r=this.getData(e);if("series"===n||"all"===i){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=y(r,t[o]);i[a]=!1,this._selectedDataIndicesMap[a]=-1}}},i.prototype.toggleSelect=function(t,e){for(var i=[],n=0;n<t.length;n++)i[0]=t[n],this.isSelected(t[n],e)?this.unselect(i,e):this.select(i,e)},i.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.keys(t),i=[],n=0;n<e.length;n++){var o=t[e[n]];o>=0&&i.push(o)}return i},i.prototype.isSelected=function(t,e){var i=this.option.selectedMap;if(!i)return!1;var n=this.getData(e);return("all"===i||i[y(n,t)])&&!n.getItemModel(t).get(["select","disabled"])},i.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},i.prototype._innerSelect=function(t,e){var i,n,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=y(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var p=e[s-1],c=y(t,p);(i={})[c]=!0,o.selectedMap=i,this._selectedDataIndicesMap=((n={})[c]=t.getRawIndex(p),n)}}},i.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(i){var n=t.getRawDataItem(i);n&&n.selected&&e.push(i)}),e.length>0&&this._innerSelect(t,e)}},i.registerClass=function(t){return s.A.registerClass(t)},i.protoInitialize=void((e=i.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),i}(s.A);function _(t){var e,i,n,o=t.name;a.O0(t)||(t.name=(i=(e=t.getRawData()).mapDimensionsAll("seriesName"),n=[],r.each(i,function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)}),n.join(" ")||o))}function x(t){return t.model.getRawData().count()}function w(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),b}function b(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function S(t,e){r.each(r.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(i){t.wrapMethod(i,r.curry(M,e))})}function M(t,e){var i=A(t);return i&&i.setOutputEnd((e||this).count()),e}function A(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}r.mixin(m,u.J),r.mixin(m,l.X),(0,p.q7)(m,s.A);let T=m},20020:function(t,e,i){i.d(e,{S:()=>o,a:()=>a});var n=i(4884),r=(0,n.createHashMap)();function o(t,e){(0,n.assert)(null==r.get(t)&&e),r.set(t,e)}function a(t,e,i){var n=r.get(e);if(!n)return i;var o=n(t);return o?i.concat(o):i}},42345:function(t,e,i){i.d(e,{J:()=>s,L:()=>l});var n=i(4884),r=i(98609),o=i(3306),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),r=i.getRawIndex(t),o=i.getName(t),a=i.getRawDataItem(t),s=i.getItemVisual(t,"style"),l=s&&s[i.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=i.userOutput&&i.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:n,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,i,s,l,u){e=e||"normal";var h=this.getData(i),c=this.getDataParams(t,i);return(u&&(c.value=u.interpolatedValue),null!=s&&n.isArray(c.value)&&(c.value=c.value[s]),l||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),n.isFunction(l))?(c.status=e,c.dimensionIndex=s,l(c)):n.isString(l)?(0,o.YK)(l,c).replace(a,function(e,i){var o=i.length,a=i;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.QE)(h,t,a);if(u&&n.isArray(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,i){},t}();function l(t){var e,i;return n.isObject(t)?t.type&&(i=t):e=t,{text:e,frag:i}}},52228:function(t,e,i){i.d(e,{L:()=>r,s:()=>a});var n=i(80266),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,n.A)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},81275:function(t,e,i){i.d(e,{J:()=>a,m:()=>r});var n=i(80266),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,n.A)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},80266:function(t,e,i){i.d(e,{A:()=>r});var n=i(4884);function r(t,e){for(var i=0;i<t.length;i++)t[i][1]||(t[i][1]=t[i][0]);return e=e||!1,function(i,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&n.indexOf(r,l)>=0||o&&0>n.indexOf(o,l))){var u=i.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},57699:function(t,e,i){i.d(e,{X:()=>a,x:()=>s});var n=i(84124),r=(0,n.$r)(),o=(0,n.$r)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,i){return l(this,r,(0,n.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,i)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}();function s(t,e,i,r){var a=(0,n.qB)(t.get(["aria","decal","decals"]));return l(t,o,a,null,e,i,r)}function l(t,e,i,n,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&n?function(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}(n,a):i;if((h=h||i)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}},37573:function(t,e,i){i.d(e,{a:()=>v});var n=i(72076),r=i(4884),o=i(74915),a=i(16419),s=i(47865),l=i(22489),u=i(51690),h=i(63154),c=i(46979);function p(t,e,i){var n=c.yh.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=r*i,n.height=o*i,n}var f=function(t){function e(e,i,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||n.Y5,"string"==typeof e?a=p(e,i,o):r.isObject(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(r.disableUserSelect(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=i,s.dpr=o,s}return(0,o.C6)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=p("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,i,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.A(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}else{for(var i=!1,n=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var p=new u.A(0,0,0,0);p.copy(c),p.union(t),o[h]=p,i=!0;break}if(s){l.copy(t),l.union(c);var f=t.width*t.height,d=c.width*c.height,g=l.width*l.height-f-d;g<n&&(n=g,r=h)}}if(s&&(o[r].union(t),i=!0),!i){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=this.__startIndex;p<this.__endIndex;++p){var f=t[p];if(f){var d=f.shouldBePainted(i,n,!0,!0),g=f.__isRendered&&(f.__dirty&h.M||!d)?f.getPrevPaintRect():null;g&&c(g);var y=d&&(f.__dirty&h.M||!f.__isRendered)?f.getPaintRect():null;y&&c(y)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var f=e[p],d=f&&f.shouldBePainted(i,n,!0,!0);if(f&&(!d||!f.__zr)&&f.__isRendered){var g=f.getPrevPaintRect();g&&c(g)}}do{r=!1;for(var p=0;p<o.length;){if(o[p].isZero()){o.splice(p,1);continue}for(var v=p+1;v<o.length;)o[p].intersect(o[v])?(r=!0,o[p].union(o[v]),o.splice(v,1)):v++;p++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var i=this.dpr,n=this.dom,r=n.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),n.width=t*i,n.height=e*i,o&&(o.width=t*i,o.height=e*i,1!==i&&this.ctxBack.scale(i,i))},e.prototype.clear=function(t,e,i){var n=this.dom,o=this.ctx,a=n.width,u=n.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,f=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,a/p,u/p));var d=this.domBack;function g(t,i,n,a){if(o.clearRect(t,i,n,a),e&&"transparent"!==e){var u=void 0;r.isGradientObject(e)?(u=(e.global||e.__width===n&&e.__height===a)&&e.__canvasGradient||(0,s.Ff)(o,e,{x:0,y:0,width:n,height:a}),e.__canvasGradient=u,e.__width=n,e.__height=a):r.isImagePatternObject(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,u=(0,l.ZQ)(o,e,{dirty:function(){f.setUnpainted(),f.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,i,n,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(d,t,i,n,a),o.restore())}!i||h?g(0,0,a,u):i.length&&r.each(i,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.A),d=i(94263),g=i(35209),y=function(){function t(t,e,i,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=r.extend({},i||{}),this.dpr=i.devicePixelRatio||n.Y5,this._singleCanvas=a,this.root=t,t.style&&(r.disableUserSelect(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var h=t.width,c=t.height;null!=i.width&&(h=i.width),null!=i.height&&(c=i.height),this.dpr=i.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var p=new f(t,this,this.dpr);p.__builtin__=!0,p.initContext(),u[314159]=p,p.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.YC)(t,0,i),this._height=(0,s.YC)(t,1,i);var d,g,y,v=this._domRoot=(d=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+d+"px","height:"+g+"px","padding:0;margin:0;border-width:0"].join(";")+";",y);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),i=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,i,t,this._redrawId);for(var r=0;r<n.length;r++){var o=n[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,i=t.length,n=this._hoverlayer;if(n&&n.clear(),i){for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<i;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(1e5)),e||(e=n.ctx).save(),(0,l.V$)(e,a,r,o===i-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.Xi)(t,e)},t.prototype._paintList=function(t,e,i,n){if(this._redrawId===n){i=i||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,i),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,d.A)(function(){s._paintList(t,e,i,n)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer(function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)})},t.prototype._doPaintList=function(t,e,i){for(var n=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||i)&&o.push(u)}for(var h=!0,c=!1,p=this,f=0;f<o.length;f++)!function(r){var s,l=o[r],u=l.ctx,f=a&&l.createRepaintRects(t,e,p._width,p._height),d=i?l.__startIndex:l.__drawIndex,g=!i&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,f);else if(d===l.__startIndex){var m=t[d];m.incremental&&m.notClear&&!i||l.clear(!1,v,f)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=l.__startIndex);var _=function(e){var i={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(s=d;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),n._doPaintEl(r,l,a,e,i,s===l.__endIndex-1),g&&Date.now()-y>15)break}i.prevElClipPaths&&u.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var x=p.dpr,w=0;w<f.length;++w){var b=f[w];u.save(),u.beginPath(),u.rect(b.x*x,b.y*x,b.width*x,b.height*x),u.clip(),_(b),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)}(f);return g.A.wxa&&r.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,i,n,r,o){var a=e.ctx;if(i){var s=t.getPaintRect();(!n||s&&s.intersect(n))&&((0,l.V$)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.V$)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var i=this._layers[t];return i||((i=new f("zr_"+t,this,this.dpr)).zlevel=t,i.__builtin__=!0,this._layerConfig[t]?r.merge(i,this._layerConfig[t],!0):this._layerConfig[t-.01]&&r.merge(i,this._layerConfig[t-.01],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},t.prototype.insertLayer=function(t,e){var i=this._layers,n=this._zlevelList,r=n.length,o=this._domRoot,a=null,s=-1;if(!i[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(r>0&&t>n[0]){for(s=0;s<r-1&&(!(n[s]<t)||!(n[s+1]>t));s++);a=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var i,n,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(n=0;n<t.length;n++){var a=t[n],u=a.zlevel,c=void 0;i!==u&&(i=u,l=0),a.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):c=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),c.__builtin__||r.logError("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==n&&(c.__dirty=!0),c.__startIndex=n,c.incremental?c.__drawIndex=-1:c.__drawIndex=n,e(n),s=c),a.__dirty&h.M&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,r.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var n=0;n<this._zlevelList.length;n++){var o=this._zlevelList[n];if(o===t||o===t+.01){var a=this._layers[o];r.merge(a,i[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(r.indexOf(i,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var n=this._opts,r=this.root;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=(0,s.YC)(r,0,n),e=(0,s.YC)(r,1,n),i.style.display="",this._width!==t||e!==this._height){for(var o in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new f("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var i=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?i.drawImage(t.dom,0,0,n,r):t.renderToCanvas&&(i.save(),t.renderToCanvas(i),i.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.V$)(i,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},37396:function(t,e,i){i.d(e,{A:()=>h});var n=i(31831),r=i(21916),o=i(3306),a=i(47799),s=i(48497),l=r.LI,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,n.C6)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.lP(t,this._extent)},e.prototype.normalize=function(t){return s.S8(t,this._extent)},e.prototype.scale=function(t){return s.hs(t,this._extent)},e.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(t)},e.prototype.getTicks=function(t){var e=this._interval,i=this._extent,n=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;i[0]<n[0]&&(t?o.push({value:l(n[0]-e,r)}):o.push({value:i[0]}));for(var a=n[0];a<=n[1]&&(o.push({value:a}),(a=l(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:n[1];return i[1]>s&&(t?o.push({value:l(s+e,r)}):o.push({value:i[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),i=[],n=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,u=[],h=(o.value-a.value)/t;s<t-1;){var c=l(a.value+(s+1)*h);c>n[0]&&c<n[1]&&u.push(c),s++}i.push(u)}return i},e.prototype.getLabel=function(t,e){if(null==t)return"";var i=e&&e.precision;null==i?i=r.XV(t.value)||0:"auto"===i&&(i=this._intervalPrecision);var n=l(t.value,i,!0);return o.ob(n)},e.prototype.calcNiceTicks=function(t,e,i){t=t||5;var n=this._extent,r=n[1]-n[0];if(isFinite(r)){r<0&&(r=-r,n.reverse());var o=s.xh(n,t,e,i);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=Math.abs(e[0]);t.fixMax||(e[1]+=i/2),e[0]-=i/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/n)*n)),t.fixMax||(e[1]=l(Math.ceil(e[1]/n)*n))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.A);a.A.registerClass(u);let h=u},55724:function(t,e,i){i.d(e,{A:()=>u});var n=i(31831),r=i(47799),o=i(44513),a=i(48497),s=i(4884),l=function(t){function e(e){var i=t.call(this,e)||this;i.type="ordinal";var n=i.getSetting("ordinalMeta");return n||(n=new o.A({})),(0,s.isArray)(n)&&(n=new o.A({categories:(0,s.map)(n,function(t){return(0,s.isObject)(t)?t.value:t})})),i._ordinalMeta=n,i._extent=i.getSetting("extent")||[0,n.categories.length-1],i}return(0,n.C6)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,s.isString)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),a.lP(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),a.S8(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(a.hs(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,i=e[0];i<=e[1];)t.push({value:i}),i++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,i=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];i[r]=s,n[s]=r}for(var l=0;r<o;++r){for(;null!=n[l];)l++;i.push(l),n[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),i=this._ordinalMeta.categories[e];return null==i?"":i+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(r.A);r.A.registerClass(l);let u=l},47799:function(t,e,i){i.d(e,{A:()=>o});var n=i(18191),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();n.tQ(r);let o=r},16264:function(t,e,i){i.d(e,{A:()=>d});var n=i(31831),r=i(21916),o=i(29456),a=i(48497),s=i(37396),l=i(47799),u=i(4884),h=function(t,e,i,n){for(;i<n;){var r=i+n>>>1;t[r][1]<e?i=r+1:n=r}return i},c=function(t){function e(e){var i=t.call(this,e)||this;return i.type="time",i}return(0,n.C6)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,o.GP)(t.value,o.Lm[(0,o.$9)((0,o.ym)(this._minLevelUnit))]||o.Lm.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,i){var n=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,o.X_)(t,e,i,r,n)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,i=[];if(!t)return i;i.push({value:e[0],level:0});var n=this.getSetting("useUTC"),a=function(t,e,i,n){for(var a=o.F7,s=0,l=[],h=[],c=0,p=0,d=0;d<a.length&&s++<1e4;++d){var g=(0,o.ym)(a[d]);if((0,o.ce)(a[d])&&(!function(t,a,s){var l=[],u=!a.length;if(!function(t,e,i,n){var a=r._U(e),s=r._U(i),l=function(t){return(0,o.g0)(a,t,n)===(0,o.g0)(s,t,n)},u=function(){return l("year")},h=function(){return u()&&l("month")},c=function(){return h()&&l("day")},p=function(){return c()&&l("hour")},f=function(){return p()&&l("minute")},d=function(){return f()&&l("second")};switch(t){case"year":return u();case"month":return h();case"day":return c();case"hour":return p();case"minute":return f();case"second":return d();case"millisecond":return d()&&l("millisecond")}}((0,o.ym)(t),n[0],n[1],i)){u&&(a=[{value:function(t,e,i){var n=new Date(t);switch((0,o.ym)(e)){case"year":case"month":n[(0,o.xu)(i)](0);case"day":n[(0,o.ti)(i)](1);case"hour":n[(0,o.Yd)(i)](0);case"minute":n[(0,o.KF)(i)](0);case"second":n[(0,o.ww)(i)](0),n[(0,o.FP)(i)](0)}return n.getTime()}(new Date(n[0]),t,i)},{value:n[1]}]);for(var h=0;h<a.length-1;h++){var c=a[h].value,p=a[h+1].value;if(c!==p){var d,g,y,v=void 0,m=void 0,_=void 0;switch(t){case"year":v=Math.max(1,Math.round(e/o.CZ/365)),m=(0,o.hY)(i),_=(0,o.tM)(i);break;case"half-year":case"quarter":case"month":v=(d=e/(30*o.CZ))>6?6:d>3?3:d>2?2:1,m=(0,o.jJ)(i),_=(0,o.xu)(i);break;case"week":case"half-week":case"day":v=(g=e/o.CZ)>16?16:g>7.5?7:g>3.5?4:g>1.5?2:1,m=(0,o.bP)(i),_=(0,o.ti)(i);break;case"half-day":case"quarter-day":case"hour":v=(y=e/o.MA)>12?12:y>6?6:y>3.5?4:y>2?2:1,m=(0,o.iC)(i),_=(0,o.Yd)(i);break;case"minute":v=f(e,!0),m=(0,o.yB)(i),_=(0,o.KF)(i);break;case"second":v=f(e,!1),m=(0,o.Wf)(i),_=(0,o.ww)(i);break;case"millisecond":v=r.Cm(e,!0),m=(0,o.Zz)(i),_=(0,o.FP)(i)}!function(t,e,i,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u<i&&u<=n[1];)s.push({value:u}),h+=t,l[o](h),u=l.getTime();s.push({value:u,notAdd:!0})}(v,c,p,m,_,0,l),"year"===t&&s.length>1&&0===h&&s.unshift({value:s[0].value-v})}}for(var h=0;h<l.length;h++)s.push(l[h])}}(a[d],l[l.length-1]||[],h),g!==(a[d+1]?(0,o.ym)(a[d+1]):null))){if(h.length){p=c,h.sort(function(t,e){return t.value-e.value});for(var y=[],v=0;v<h.length;++v){var m=h[v].value;(0===v||h[v-1].value!==m)&&(y.push(h[v]),m>=n[0]&&m<=n[1]&&c++)}var _=(n[1]-n[0])/e;if(c>1.5*_&&p>_/1.5||(l.push(y),c>_||t===a[d]))break}h=[]}}for(var x=(0,u.filter)((0,u.map)(l,function(t){return(0,u.filter)(t,function(t){return t.value>=n[0]&&t.value<=n[1]&&!t.notAdd})}),function(t){return t.length>0}),w=[],b=x.length-1,d=0;d<x.length;++d)for(var S=x[d],M=0;M<S.length;++M)w.push({value:S[M].value,level:b-d});w.sort(function(t,e){return t.value-e.value});for(var A=[],d=0;d<w.length;++d)(0===d||w[d].value!==w[d-1].value)&&A.push(w[d]);return A}(this._minLevelUnit,this._approxInterval,n,e);return(i=i.concat(a)).push({value:e[1],level:0}),i},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=o.CZ,e[1]+=o.CZ),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-o.CZ}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,i){t=t||10;var n=this._extent,r=n[1]-n[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=i&&this._approxInterval>i&&(this._approxInterval=i);var o=p.length,a=Math.min(h(p,this._approxInterval,0,o),o-1);this._interval=p[a][1],this._minLevelUnit=p[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,u.isNumber)(t)?t:+r._U(t)},e.prototype.contain=function(t){return a.lP(this.parse(t),this._extent)},e.prototype.normalize=function(t){return a.S8(this.parse(t),this._extent)},e.prototype.scale=function(t){return a.hs(t,this._extent)},e.type="time",e}(s.A),p=[["second",o.OY],["minute",o.iW],["hour",o.MA],["quarter-day",6*o.MA],["half-day",12*o.MA],["day",1.2*o.CZ],["half-week",3.5*o.CZ],["week",7*o.CZ],["month",31*o.CZ],["quarter",95*o.CZ],["half-year",o.$H/2],["year",o.$H]];function f(t,e){return(t/=e?o.iW:o.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}l.A.registerClass(c);let d=c},48497:function(t,e,i){i.d(e,{S8:()=>h,hs:()=>c,kH:()=>a,lP:()=>u,rf:()=>r,u$:()=>s,xh:()=>o});var n=i(21916);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,i,r){var o,a,u={},h=t[1]-t[0],c=u.interval=(0,n.Cm)(h/e,!0);null!=i&&c<i&&(c=u.interval=i),null!=r&&c>r&&(c=u.interval=r);var p=u.intervalPrecision=s(c);return o=u.niceTickExtent=[(0,n.LI)(Math.ceil(t[0]/c)*c,p),(0,n.LI)(Math.floor(t[1]/c)*c,p)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,n.NX)(t)),i=t/e;return i?2===i?i=3:3===i?i=5:i*=2:i=1,(0,n.LI)(i*e)}function s(t){return(0,n.XV)(t)+2}function l(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function c(t,e){return t*(e[1]-e[0])+e[0]}},18191:function(t,e,i){i.d(e,{CC:()=>s,Od:()=>p,_E:()=>l,gq:()=>u,q7:()=>h,tQ:()=>g});var n=i(31831),r=i(4884),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var i=t.split(".");e.main=i[0]||"",e.sub=i[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,i,o=this;return(e=o,r.isFunction(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?i=function(t){function e(){return t.apply(this,arguments)||this}return(0,n.C6)(e,t),e}(o):(i=function(){(t.$constructor||o).apply(this,arguments)},r.inherits(i,this)),r.extend(i.prototype,t),i[a]=!0,i.extend=this.extend,i.superCall=f,i.superApply=d,i.superClass=o,i}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function f(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return this.superClass.prototype[e].apply(t,i)}function d(t,e,i){return this.superClass.prototype[e].apply(t,i)}function g(t){var e={};t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(i),'componentType "'+i+'" illegal'),t.prototype.type=i;var n,a,l=s(i);l.sub?l.sub!==o&&(((a=e[(n=l).main])&&a[o]||((a=e[n.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,i,n){var r=e[t];if(r&&r[o]&&(r=i?r[i]:null),n&&!r)throw Error(i?"Component "+t+"."+(i||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var i=s(t),n=[],a=e[i.main];return a&&a[o]?r.each(a,function(t,e){e!==o&&n.push(t)}):n.push(a),n},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.each(e,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){var i=e[s(t).main];return i&&i[o]}}},3818:function(t,e,i){i.d(e,{$Q:()=>a,A6:()=>s,G_:()=>u,vf:()=>l});var n=i(4884),r=i(18191),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,i){e[(0,r.CC)(t).main]=i},t.determineSubType=function(i,n){var o=n.type;if(!o){var a=(0,r.CC)(i).main;t.hasSubTypes(i)&&e[a]&&(o=e[a](n))}return o}}function l(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,h=(s=r,l={},u=[],n.each(s,function(t){var r,o,a,h=i(l,t),c=(r=h.originalDeps=e(t),o=s,a=[],n.each(r,function(t){n.indexOf(o,t)>=0&&a.push(t)}),a);h.entryCount=c.length,0===h.entryCount&&u.push(t),n.each(c,function(e){0>n.indexOf(h.predecessor,e)&&h.predecessor.push(e);var r=i(l,e);0>n.indexOf(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),c=h.graph,p=h.noEntryList,f={};for(n.each(t,function(t){f[t]=!0});p.length;){var d=p.pop(),g=c[d],y=!!f[d];y&&(o.call(a,d,g.originalDeps.slice()),delete f[d]),n.each(g.successor,y?m:v)}n.each(f,function(){throw Error("")})}function v(t){c[t].entryCount--,0===c[t].entryCount&&p.push(t)}function m(t){f[t]=!0,v(t)}};function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return n.merge(n.merge({},t,!0),e,!0)}},34780:function(t,e,i){i.d(e,{w:()=>g});var n=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+n++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var i=this._guard(t);return r?Object.defineProperty(i,this._id,{value:e,enumerable:!1,configurable:!0}):i[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=i(14407),s=i(4884),l=i(21916),u=i(60253),h=i(22489),c=i(46979),p=new o,f=new a.Ay(100),d=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var i=e.getDevicePixelRatio(),n=e.getZr(),r="svg"===n.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[i],v=!0,m=0;m<d.length;++m){var _=a[d[m]];if(null!=_&&!(0,s.isArray)(_)&&!(0,s.isString)(_)&&!(0,s.isNumber)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=f.get(o);x&&(r?t.svgElement=x:t.image=x)}var w=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.isNumber)(e)){var i=Math.ceil(e);return[[i,i]]}for(var n=!0,r=0;r<e.length;++r)if(!(0,s.isNumber)(e[r])){n=!1;break}if(n)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.isNumber)(e[r])){var i=Math.ceil(e[r]);o.push([i,i])}else{var i=(0,s.map)(e[r],function(t){return Math.ceil(t)});i.length%2==1?o.push(i.concat(i)):o.push(i)}return o}(a.dashArrayX),b=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var i=(0,s.map)(t,function(t){return Math.ceil(t)});return t.length%2?i.concat(i):i}(a.dashArrayY),S=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.isString)(e))return[[e]];for(var i=!0,n=0;n<e.length;++n)if(!(0,s.isString)(e[n])){i=!1;break}if(i)return t([e]);for(var r=[],n=0;n<e.length;++n)(0,s.isString)(e[n])?r.push([e[n]]):r.push(e[n]);return r}(a.symbol),M=(e=w,(0,s.map)(e,function(t){return y(t)})),A=y(b),T=!r&&c.yh.createCanvas(),C=r&&{tag:"g",attrs:{},key:"dcl",children:[]},I=function(){for(var t=1,e=0,i=M.length;e<i;++e)t=(0,l.lQ)(t,M[e]);for(var n=1,e=0,i=S.length;e<i;++e)n=(0,l.lQ)(n,S[e].length);t*=n;var r=A*M.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();T&&(T.width=I.width*i,T.height=I.height*i,p=T.getContext("2d")),function(){p&&(p.clearRect(0,0,T.width,T.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,T.width,T.height)));for(var t=0,e=0;e<b.length;++e)t+=b[e];if(!(t<=0))for(var o=-A,s=0,l=0,c=0;o<I.height;){if(s%2==0){for(var f=l/2%S.length,d=0,g=0,y=0;d<2*I.width;){for(var v=0,e=0;e<w[c].length;++e)v+=w[c][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=d+w[c][g]*m,x=o+b[s]*m,M=w[c][g]*a.symbolSize,k=b[s]*a.symbolSize,D=y/2%S[f].length;!function(t,e,o,s,l){var c=r?1:i,f=(0,u.v5)(l,t*c,e*c,o*c,s*c,a.color,a.symbolKeepAspect);if(r){var d=n.painter.renderOneToVNode(f);d&&C.children.push(d)}else(0,h.Xi)(p,f)}(_,x,M,k,S[f][D])}d+=w[c][g],++y,++g===w[c].length&&(g=0)}++c===w.length&&(c=0)}o+=b[s],++l,++s===b.length&&(s=0)}}(),v&&f.put(o,T||C),t.image=T,t.svgElement=C,t.svgWidth=I.width,t.svgHeight=I.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/i,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,i=0;i<t.length;++i)e+=t[i];return t.length%2==1?2*e:e}},26889:function(t,e,i){i.d(e,{R:()=>n});function n(t,e,i){for(var n;t&&(!e(t)||(n=t,!i));)t=t.__hostTarget||t.parent;return n}},3306:function(t,e,i){i.d(e,{Cb:()=>l,JW:()=>_,QX:()=>u,YK:()=>f,fU:()=>y,he:()=>m,io:()=>d,ob:()=>s,qg:()=>g,x5:()=>v,yC:()=>h});var n=i(4884),r=i(26776),o=i(21916),a=i(29456);function s(t){if(!(0,o.kf)(t))return n.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=n.normalizeCssArray;function h(t,e,i){function r(t){return t&&n.trim(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",i);if(h)return"-"}if("ordinal"===e)return n.isStringSafe(t)?r(t):n.isNumber(t)&&l(t)?t+"":"-";var p=(0,o.Sm)(t);return l(p)?s(p):n.isStringSafe(t)?r(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function f(t,e,i){n.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var f=e[u][a[h]];t=t.replace(p(c[h],u),i?(0,r.Me)(f):f)}return t}function d(t,e,i){return n.each(e,function(e,n){t=t.replace("{"+n+"}",i?(0,r.Me)(e):e)}),t}function g(t,e){var i=n.isString(t)?{color:t,extraCssText:e}:t||{},o=i.color,a=i.type;e=i.extraCssText;var s=i.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(i.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function y(t,e,i){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var n=(0,o._U)(e),r=i?"getUTC":"get",s=n[r+"FullYear"](),l=n[r+"Month"]()+1,u=n[r+"Date"](),h=n[r+"Hours"](),c=n[r+"Minutes"](),p=n[r+"Seconds"](),f=n[r+"Milliseconds"]();return t.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(u,2)).replace("d",u).replace("hh",(0,a.eV)(h,2)).replace("h",h).replace("mm",(0,a.eV)(c,2)).replace("m",c).replace("ss",(0,a.eV)(p,2)).replace("s",p).replace("SSS",(0,a.eV)(f,3))}function v(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function m(t,e){return e=e||"transparent",n.isString(t)?t:n.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function _(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location.href=t}else window.open(t,e)}},59033:function(t,e,i){i.r(e),i.d(e,{Arc:()=>x.A,BezierCurve:()=>_.A,BoundingRect:()=>M.A,Circle:()=>c.A,CompoundPath:()=>w.A,Ellipse:()=>p.A,Group:()=>u.A,Image:()=>l.Ay,IncrementalDisplayable:()=>C.A,Line:()=>m.A,LinearGradient:()=>b.A,OrientedBoundingRect:()=>A.A,Path:()=>a.Ay,Point:()=>T.A,Polygon:()=>g.A,Polyline:()=>y.A,RadialGradient:()=>S.A,Rect:()=>v.A,Ring:()=>d.A,Sector:()=>f.A,Text:()=>h.Ay,applyTransform:()=>Z,clipPointsByRect:()=>Q,clipRectByRect:()=>J,createIcon:()=>tt,extendPath:()=>B,extendShape:()=>z,getShapeClass:()=>V,getTransform:()=>q,groupTransition:()=>$,initProps:()=>O.LW,isElementRemoved:()=>O.LR,lineLineIntersect:()=>ti,linePolygonIntersect:()=>te,makeImage:()=>H,makePath:()=>F,mergePath:()=>G,registerShape:()=>N,removeElement:()=>O.Nz,removeElementWithFadeOut:()=>O.t5,resizePath:()=>U,setTooltipConfig:()=>tn,subPixelOptimize:()=>j,subPixelOptimizeLine:()=>Y,subPixelOptimizeRect:()=>X,transformDirection:()=>K,traverseElements:()=>to,updateProps:()=>O.oi});var n=i(85038),r=i(37817),o=i(28535),a=i(30070),s=i(5486),l=i(64586),u=i(79620),h=i(52384),c=i(2989),p=i(19327),f=i(23917),d=i(26839),g=i(97451),y=i(88297),v=i(63811),m=i(28887),_=i(95163),x=i(76265),w=i(58933),b=i(87142),S=i(12152),M=i(51690),A=i(14230),T=i(45400),C=i(83081),I=i(33915),k=i(4884),D=i(35032),O=i(68532),P=Math.max,L=Math.min,R={};function z(t){return a.Ay.extend(t)}var E=n.Qh;function B(t,e){return E(t,e)}function N(t,e){R[t]=e}function V(t){if(R.hasOwnProperty(t))return R[t]}function F(t,e,i,r){var o=n.UJ(t,e);return i&&("center"===r&&(i=W(i,o.getBoundingRect())),U(o,i)),o}function H(t,e,i){var n=new l.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var r={width:t.width,height:t.height};n.setStyle(W(e,r))}}});return n}function W(t,e){var i,n=e.width/e.height,r=t.height*n;return i=r<=t.width?t.height:(r=t.width)/n,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-i/2,width:r,height:i}}var G=n.uc;function U(t,e){if(t.applyTransform){var i=t.getBoundingRect().calculateTransform(e);t.applyTransform(i)}}function Y(t,e){return I.eB(t,t,{lineWidth:e}),t}function X(t){return I.Op(t.shape,t.shape,t.style),t}var j=I.M7;function q(t,e){for(var i=r.identity([]);t&&t!==e;)r.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Z(t,e,i){return e&&!(0,k.isArrayLike)(e)&&(e=s.Ay.getLocalTransform(e)),i&&(e=r.invert([],e)),o.applyTransform([],t,e)}function K(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return Math.abs((o=Z(o,e,i))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function $(t,e,i){if(t&&e){var n,r=(n={},t.traverse(function(t){!t.isGroup&&t.anid&&(n[t.anid]=t)}),n);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=o(t);t.attr(o(e)),(0,O.oi)(t,n,i,(0,D.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,k.extend)({},t.shape)),e}}function Q(t,e){return(0,k.map)(t,function(t){var i=t[0];i=L(i=P(i,e.x),e.x+e.width);var n=t[1];return[i,n=L(n=P(n,e.y),e.y+e.height)]})}function J(t,e){var i=P(t.x,e.x),n=L(t.x+t.width,e.x+e.width),r=P(t.y,e.y),o=L(t.y+t.height,e.y+e.height);if(n>=i&&o>=r)return{x:i,y:r,width:n-i,height:o-r}}function tt(t,e,i){var n=(0,k.extend)({rectHover:!0},e),r=n.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,k.defaults)(r,i),new l.Ay(n)):F(t.replace("path://",""),n,i,"center")}function te(t,e,i,n,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(ti(t,e,i,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function ti(t,e,i,n,r,o,a,s){var l,u=i-t,h=n-e,c=a-r,p=s-o,f=c*h-u*p;if((l=f)<=1e-6&&l>=-1e-6)return!1;var d=t-r,g=e-o,y=(d*h-u*g)/f;if(y<0||y>1)return!1;var v=(d*p-c*g)/f;return!(v<0)&&!(v>1)}function tn(t){var e=t.itemTooltipOption,i=t.componentModel,n=t.itemName,r=(0,k.isString)(e)?{formatter:e}:e,o=i.mainType,a=i.componentIndex,s={componentType:o,name:n,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,k.each)((0,k.keys)(l),function(t){(0,k.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,D.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:n,option:(0,k.defaults)({content:n,formatterParams:s},r)}}function tr(t,e){var i;t.isGroup&&(i=e(t)),i||t.traverse(e)}function to(t,e){if(t)if((0,k.isArray)(t))for(var i=0;i<t.length;i++)tr(t[i],e);else tr(t,e)}R.circle=c.A,R.ellipse=p.A,R.sector=f.A,R.ring=d.A,R.polygon=g.A,R.polyline=y.A,R.rect=v.A,R.line=m.A,R.bezierCurve=_.A,R.arc=x.A},35032:function(t,e,i){i.d(e,{a:()=>r,z:()=>n});var n=(0,i(84124).$r)(),r=function(t,e,i,r){if(r){var o=n(r);o.dataIndex=i,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=n(r);o.seriesIndex=t,o.dataIndex=i,o.dataType=e,o.ssrType="chart"})}}},10675:function(t,e,i){i.d(e,{HU:()=>p,Ir:()=>_,Qf:()=>g,Tj:()=>l,YA:()=>v,aP:()=>c,ad:()=>y,dV:()=>f,m$:()=>d,vs:()=>m});var n=i(4884),r=i(51690),o=i(21916),a=i(3306),s=n.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,i,n,r){var o=0,a=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var h,c,p=l.getBoundingRect(),f=e.childAt(u+1),d=f&&f.getBoundingRect();if("horizontal"===t){var g=p.width+(d?-d.x+p.x:0);(h=o+g)>n||l.newline?(o=0,h=g,a+=s+i,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(d?-d.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+i,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+i:a=c+i)})}var c=h;function p(t,e,i){var n=e.width,r=e.height,s=(0,o.lo)(t.left,n),l=(0,o.lo)(t.top,r),u=(0,o.lo)(t.right,n),h=(0,o.lo)(t.bottom,r);return(isNaN(s)||isNaN(parseFloat(t.left)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.right)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.top)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.bottom)))&&(h=r),{width:Math.max(u-s-(i=a.QX(i||0))[1]-i[3],0),height:Math.max(h-l-i[0]-i[2],0)}}function f(t,e,i){i=a.QX(i||0);var n=e.width,s=e.height,l=(0,o.lo)(t.left,n),u=(0,o.lo)(t.top,s),h=(0,o.lo)(t.right,n),c=(0,o.lo)(t.bottom,s),p=(0,o.lo)(t.width,n),f=(0,o.lo)(t.height,s),d=i[2]+i[0],g=i[1]+i[3],y=t.aspect;switch(isNaN(p)&&(p=n-h-g-l),isNaN(f)&&(f=s-c-d-u),null!=y&&(isNaN(p)&&isNaN(f)&&(y>n/s?p=.8*n:f=.8*s),isNaN(p)&&(p=y*f),isNaN(f)&&(f=p/y)),isNaN(l)&&(l=n-h-p-g),isNaN(u)&&(u=s-c-f-d),t.left||t.right){case"center":l=n/2-p/2-i[3];break;case"right":l=n-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-i[0];break;case"bottom":u=s-f-d}l=l||0,u=u||0,isNaN(p)&&(p=n-g-l-(h||0)),isNaN(f)&&(f=s-d-u-(c||0));var v=new r.A(l+i[3],u+i[0],p,f);return v.margin=i,v}function d(t,e,i,o,a,s){var l,u=!a||!a.hv||a.hv[0],h=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!h)return!1;if("raw"===c)l="group"===t.type?new r.A(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var p=t.getLocalTransform();(l=l.clone()).applyTransform(p)}var d=f(n.defaults({width:l.width,height:l.height},e),i,o),g=u?d.x-l.x:0,y=h?d.y-l.y:0;return"raw"===c?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function g(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]}function y(t){var e=t.layoutMode||t.constructor.layoutMode;return n.isObject(e)?e:e?{type:e}:null}function v(t,e,i){var r=i&&i.ignoreSize;n.isArray(r)||(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(i,n){var o={},a=0,l={},u=0;if(s(i,function(e){l[e]=t[e]}),s(i,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++}),r[n])return c(e,i[1])?l[i[2]]=null:c(e,i[2])&&(l[i[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var p=0;p<i.length;p++){var f=i[p];if(!h(o,f)&&h(t,f)){o[f]=t[f];break}}return o}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,i){s(t,function(t){e[t]=i[t]})}p(u[0],t,o),p(u[1],t,a)}function m(t){return _({},t)}function _(t,e){return e&&t&&s(l,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}n.curry(h,"vertical"),n.curry(h,"horizontal")},58391:function(t,e,i){i.d(e,{$8:()=>s,R8:()=>o,aT:()=>a});var n={},r="undefined"!=typeof console&&console.warn&&console.log;function o(t,e){!function(t,e,i){if(r){if(i){if(n[e])return;n[e]=!0}console[t]("[ECharts] "+e)}}("warn",t,e)}function a(t){}function s(t){throw Error(t)}},84124:function(t,e,i){i.d(e,{$r:()=>S,Bq:()=>D,D$:()=>O,D6:()=>w,GX:()=>x,HB:()=>T,Il:()=>R,JO:()=>k,JS:()=>h,M5:()=>u,O0:()=>v,O2:()=>f,S_:()=>_,Sq:()=>L,US:()=>C,UW:()=>I,XJ:()=>P,_e:()=>A,le:()=>b,oh:()=>m,qB:()=>l,vS:()=>y,vj:()=>c,zu:()=>p});var n=i(4884),r=i(35209),o=i(21916),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,r=i.length;n<r;n++){var o=i[n];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function c(t){return!(0,n.isObject)(t)||(0,n.isArray)(t)||t instanceof Date?t:t.value}function p(t){return(0,n.isObject)(t)&&!(t instanceof Array)}function f(t,e,i){var r,o,s,l,u,h,c,p,f,y,v,_,x,w="normalMerge"===i,b="replaceMerge"===i,S="replaceAll"===i;t=t||[],e=(e||[]).slice();var M=(0,n.createHashMap)();(0,n.each)(e,function(t,i){if(!(0,n.isObject)(t)){e[i]=null;return}});var A=function(t,e,i){var n=[];if("replaceAll"===i)return n;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),n.push({existing:"replaceMerge"===i||m(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}(t,M,i);return(w||b)&&(r=A,o=t,s=M,l=e,(0,n.each)(l,function(t,e){if(t&&null!=t.id){var i=g(t.id),a=s.get(i);if(null!=a){var u=r[a];(0,n.assert)(!u.newOption,'Duplicated option on id "'+i+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),w&&(u=A,h=e,(0,n.each)(h,function(t,e){if(t&&null!=t.name)for(var i=0;i<u.length;i++){var n=u[i].existing;if(!u[i].newOption&&n&&(null==n.id||null==t.id)&&!m(t)&&!m(n)&&d("name",n,t)){u[i].newOption=t,h[e]=null;return}}})),w||b?(c=A,p=e,f=b,(0,n.each)(p,function(t){if(t){for(var e,i=0;(e=c[i])&&(e.newOption||m(e.existing)||e.existing&&null!=t.id&&!d("id",t,e.existing));)i++;e?(e.newOption=t,e.brandNew=f):c.push({newOption:t,brandNew:f,existing:null,keyInfo:null}),i++}})):S&&(y=A,v=e,(0,n.each)(v,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=A,x=(0,n.createHashMap)(),(0,n.each)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,n.each)(_,function(t){var e=t.newOption;(0,n.assert)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,n.each)(_,function(t,e){var i=t.existing,r=t.newOption,o=t.keyInfo;if((0,n.isObject)(r)){if(o.name=null!=r.name?g(r.name):i?i.name:a+e,i)o.id=g(i.id);else if(null!=r.id)o.id=g(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),A}function d(t,e,i){var n=y(e[t],null),r=y(i[t],null);return null!=n&&null!=r&&n===r}function g(t){return y(t,"")}function y(t,e){return null==t?e:(0,n.isString)(t)?t:(0,n.isNumber)(t)||(0,n.isStringSafe)(t)?t+"":e}function v(t){var e=t.name;return!!(e&&e.indexOf(a))}function m(t){return t&&null!=t.id&&0===g(t.id).indexOf(s)}function _(t){return s+t}function x(t,e,i){(0,n.each)(t,function(t){var r,o,a,s,l=t.newOption;(0,n.isObject)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=i,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})}function w(t,e){var i={},n={};return r(t||[],i),r(e||[],n,i),[o(i),o(n)];function r(t,e,i){for(var n=0,r=t.length;n<r;n++){var o=y(t[n].seriesId,null);if(null==o)return;for(var a=l(t[n].dataIndex),s=i&&i[o],u=0,h=a.length;u<h;u++){var c=a[u];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var i=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)i.push(+n);else{var r=o(t[n],!0);r.length&&i.push({seriesId:n,dataIndex:r})}return i}}function b(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,n.isArray)(e.dataIndex)?(0,n.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,n.isArray)(e.name)?(0,n.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function S(){var t="__ec_inner_"+M++;return function(e){return e[t]||(e[t]={})}}var M=(0,o.IH)();function A(t,e,i){var n=T(e,i),r=n.mainTypeSpecified,o=n.queryOptionMap,a=n.others,s=i?i.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,n){var r=k(t,n,e,{useDefault:s===n,enableAll:!i||null==i.enableAll||i.enableAll,enableNone:!i||null==i.enableNone||i.enableNone});a[n+"Models"]=r.models,a[n+"Model"]=r.models[0]}),a}function T(t,e){if((0,n.isString)(t)){var i,r={};r[t+"Index"]=0,i=r}else i=t;var o=(0,n.createHashMap)(),a={},s=!1;return(0,n.each)(i,function(t,i){if("dataIndex"===i||"dataIndexInside"===i){a[i]=t;return}var r=i.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,n.indexOf)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var C={useDefault:!0,enableAll:!1,enableNone:!1},I={useDefault:!1,enableAll:!0,enableNone:!0};function k(t,e,i,r){r=r||C;var o=i.index,a=i.id,s=i.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,n.assert)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,n.assert)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function D(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function O(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function P(t){return"auto"===t?r.A.domSupported?"html":"richText":t||"html"}function L(t,e){var i=(0,n.createHashMap)(),r=[];return(0,n.each)(t,function(t){var n=e(t);(i.get(n)||(r.push(n),i.set(n,[]))).push(t)}),{keys:r,buckets:i}}function R(t,e,i,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,n.isNumber)(r)){var l,u=(r-(l=i||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(i||0),(0,o.XV)(r)):e)}if((0,n.isString)(r))return a<1?i:r;for(var h=[],c=Math.max(i?i.length:0,r.length),p=0;p<c;++p){var f=t.getDimensionInfo(p);if(f&&"ordinal"===f.type)h[p]=(a<1&&i?i:r)[p];else{var d=i&&i[p]?i[p]:0,g=r[p],u=(g-d)*a+d;h[p]=(0,o.LI)(u,s?Math.max((0,o.XV)(d),(0,o.XV)(g)):e)}}return h}},21916:function(t,e,i){i.d(e,{Cb:()=>r,Cm:()=>w,IH:()=>T,Is:()=>d,LI:()=>a,NX:()=>x,Sm:()=>M,Tr:()=>f,XV:()=>l,Y6:()=>s,YV:()=>b,_7:()=>g,_U:()=>m,au:()=>_,dh:()=>y,hb:()=>h,kM:()=>p,kf:()=>A,lQ:()=>C,lo:()=>o,sL:()=>S,wp:()=>c,y6:()=>u});var n=i(4884);function r(t,e,i,n){var r=e[0],o=e[1],a=i[0],s=i[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(n){if(l>0){if(t<=r)return a;else if(t>=o)return s}else if(t>=r)return a;else if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function o(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return n.isString(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,i=0;i<15;i++,e*=10)if(Math.round(t*e)/e===t)return i}return u(t)}function u(t){var e=t.toString().toLowerCase(),i=e.indexOf("e"),n=i>0?+e.slice(i+1):0,r=i>0?i:e.length,o=e.indexOf(".");return Math.max(0,(o<0?0:r-1-o)-n)}function h(t,e){var i=Math.log,n=Math.LN10,r=Math.min(Math.max(-Math.floor(i(t[1]-t[0])/n)+Math.round(i(Math.abs(e[1]-e[0]))/n),0),20);return isFinite(r)?r:20}function c(t,e,i){return t[e]&&p(t,i)[e]||0}function p(t,e){var i=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===i)return[];for(var r=Math.pow(10,e),o=n.map(t,function(t){return(isNaN(t)?0:t)/i*r*100}),a=100*r,s=n.map(o,function(t){return Math.floor(t)}),l=n.reduce(s,function(t,e){return t+e},0),u=n.map(o,function(t,e){return t-s[e]});l<a;){for(var h=-1/0,c=null,p=0,f=u.length;p<f;++p)u[p]>h&&(h=u[p],c=p);++s[c],u[c]=0,++l}return n.map(s,function(t){return t/r})}function f(t,e){var i=Math.max(l(t),l(e)),n=t+e;return i>20?n:a(n,i)}var d=0x1fffffffffffff;function g(t){var e=2*Math.PI;return(t%e+e)%e}function y(t){return t>-1e-4&&t<1e-4}var v=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function m(t){if(t instanceof Date)return t;if(n.isString(t)){var e=v.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function _(t){return Math.pow(10,x(t))}function x(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function w(t,e){var i=x(t),n=Math.pow(10,i),r=t/n;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*n,i>=-20?+t.toFixed(i<0?-i:0):t}function b(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],o=i-n;return o?r+o*(t[n]-r):r}function S(t){t.sort(function(t,e){return!function t(e,i,n){return e.interval[n]<i.interval[n]||e.interval[n]===i.interval[n]&&(e.close[n]-i.close[n]==(n?-1:1)||!n&&t(e,i,1))}(t,e,0)?1:-1});for(var e=-1/0,i=1,n=0;n<t.length;){for(var r=t[n].interval,o=t[n].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-i),e=r[a],i=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(n,1):n++}return t}function M(t){var e=parseFloat(t);return e==t&&(0!==e||!n.isString(t)||0>=t.indexOf("x"))?e:NaN}function A(t){return!isNaN(M(t))}function T(){return Math.round(9*Math.random())}function C(t,e){return null==t?e:null==e?t:t*e/function t(e,i){return 0===i?e:t(i,e%i)}(t,e)}},72059:function(t,e,i){i.d(e,{BV:()=>d,CA:()=>y,DW:()=>L,Du:()=>Y,HY:()=>E,Iz:()=>Z,JC:()=>V,JI:()=>F,Lm:()=>tt,Lv:()=>_,Lx:()=>tu,Mx:()=>tr,PW:()=>m,Pk:()=>O,Q6:()=>w,QX:()=>N,SD:()=>B,T$:()=>th,Tl:()=>j,U2:()=>x,_m:()=>q,_n:()=>tl,e3:()=>f,fz:()=>tc,gR:()=>te,gd:()=>H,h5:()=>v,iJ:()=>J,ix:()=>to,jA:()=>$,lV:()=>X,mc:()=>Q,ml:()=>ts,qR:()=>G,t6:()=>K,u6:()=>ta,wV:()=>g,zX:()=>p});var n=i(4884),r=i(35032),o=i(34196),a=i(84124),s=i(30070),l=1,u={},h=(0,a.$r)(),c=(0,a.$r)(),p=1,f=2,d=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y=10,v="highlight",m="downplay",_="select",x="unselect",w="toggleSelect";function b(t){return null!=t&&"none"!==t}function S(t,e,i){t.onHoverStateChange&&(t.hoverState||0)!==i&&t.onHoverStateChange(e),t.hoverState=i}function M(t){S(t,"emphasis",f)}function A(t){t.hoverState===f&&S(t,"normal",0)}function T(t){S(t,"blur",p)}function C(t){t.hoverState===p&&S(t,"normal",0)}function I(t){t.selected=!0}function k(t){t.selected=!1}function D(t,e,i){e(t,i),t.isGroup&&t.traverse(function(t){e(t,i)})}function O(t,e){switch(e){case"emphasis":t.hoverState=f;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function P(t,e){var i,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,i,r){var a=i&&(0,n.indexOf)(i,"select")>=0,l=!1;if(t instanceof s.Ay){var u=h(t),c=a&&u.selectFill||u.normalFill,p=a&&u.selectStroke||u.normalStroke;if(b(c)||b(p)){var f=(r=r||{}).style||{};"inherit"===f.fill?(l=!0,r=(0,n.extend)({},r),(f=(0,n.extend)({},f)).fill=c):!b(f.fill)&&b(c)?(l=!0,r=(0,n.extend)({},r),(f=(0,n.extend)({},f)).fill=(0,o.liftColor)(c)):!b(f.stroke)&&b(p)&&(l||(r=(0,n.extend)({},r),f=(0,n.extend)({},f)),f.stroke=(0,o.liftColor)(p)),r.style=f}}if(r&&null==r.z2){l||(r=(0,n.extend)({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:y)}return r}(this,0,e,c);else if("blur"===t)return i=c,r=(0,n.indexOf)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,i,n){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?n&&n[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(i)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(i=i||{}).style||{}).opacity&&(i=(0,n.extend)({},i),u=(0,n.extend)({opacity:r?a:.1*l.opacity},u),i.style=u),i;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,n.extend)({},p);var f=this.z2SelectLift;p.z2=this.z2+(null!=f?f:9)}return p}}return c}function L(t){t.stateProxy=P;var e=t.getTextContent(),i=t.getTextGuideLine();e&&(e.stateProxy=P),i&&(i.stateProxy=P)}function R(t,e){W(t,e)||t.__highByOuter||D(t,M)}function z(t,e){W(t,e)||t.__highByOuter||D(t,A)}function E(t,e){t.__highByOuter|=1<<(e||0),D(t,M)}function B(t,e){(t.__highByOuter&=~(1<<(e||0)))||D(t,A)}function N(t){D(t,T)}function V(t){D(t,C)}function F(t){D(t,I)}function H(t){D(t,k)}function W(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function G(t){var e=t.getModel(),i=[],r=[];e.eachComponent(function(e,n){var o=c(n),a="series"===e,s=a?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);a||r.push(s),o.isBlured&&(s.group.traverse(function(t){C(t)}),a&&i.push(n)),o.isBlured=!1}),(0,n.each)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(i,!1,e)})}function U(t,e,i,r){var o=r.getModel();function a(t,e){for(var i=0;i<e.length;i++){var n=t.getItemGraphicEl(e[i]);n&&V(n)}}if((i=i||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var p=h&&l?h===l:o;if(!("series"===i&&!o||"coordinateSystem"===i&&!p||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||T(t)}),(0,n.isArrayLike)(e))a(t.getData(),e);else if((0,n.isObject)(e))for(var f=(0,n.keys)(e),d=0;d<f.length;d++)a(t.getData(f[d]),e[f[d]]);u.push(t),c(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var i=r.getViewOfComponentModel(e);i&&i.toggleBlurSeries&&i.toggleBlurSeries(u,!0,o)}})}}function Y(t,e,i){if(null!=t&&null!=e){var n=i.getModel().getComponent(t,e);if(n){c(n).isBlured=!0;var r=i.getViewOfComponentModel(n);r&&r.focusBlurEnabled&&r.group.traverse(function(t){T(t)})}}}function X(t,e,i){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,n.isArray)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var h=s.count(),c=0;!u&&c<h;)u=s.getItemGraphicEl(c++);if(u){var p=(0,r.z)(u);U(o,p.focus,p.blurScope,i)}else{var f=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=f&&U(o,f,d,i)}}}function j(t,e,i,n){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==i)return a;var s=n.getModel().getComponent(t,e);if(!s)return a;var l=n.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(i),h=0;h<u.length;h++)if("self"===(0,r.z)(u[h]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function q(t,e,i){var o=(0,r.z)(t),a=j(o.componentMainType,o.componentIndex,o.componentHighDownName,i),s=a.dispatchers,l=a.focusSelf;s?(l&&Y(o.componentMainType,o.componentIndex,i),(0,n.each)(s,function(t){return R(t,e)})):(U(o.seriesIndex,o.focus,o.blurScope,i),"self"===o.focus&&Y(o.componentMainType,o.componentIndex,i),R(t,e))}function Z(t,e,i){G(i);var o=(0,r.z)(t),a=j(o.componentMainType,o.componentIndex,o.componentHighDownName,i).dispatchers;a?(0,n.each)(a,function(t){return z(t,e)}):z(t,e)}function K(t,e,i){if(tu(e)){var r=e.dataType,o=t.getData(r),s=(0,a.le)(o,e);(0,n.isArray)(s)||(s=[s]),t[e.type===w?"toggleSelect":e.type===_?"select":"unselect"](s,r)}}function $(t){var e=t.getAllData();(0,n.each)(e,function(e){var i=e.data,n=e.type;i.eachItemGraphicEl(function(e,i){t.isSelected(i,n)?F(e):H(e)})})}function Q(t){var e=[];return t.eachSeries(function(t){var i=t.getAllData();(0,n.each)(i,function(i){i.data;var n=i.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=n&&(o.dataType=n),e.push(o)}})}),e}function J(t,e,i){to(t,!0),D(t,L),te(t,e,i)}function tt(t,e,i,n){n?to(t,!1):J(t,e,i)}function te(t,e,i){var n=(0,r.z)(t);null!=e?(n.focus=e,n.blurScope=i):n.focus&&(n.focus=null)}var ti=["emphasis","blur","select"],tn={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tr(t,e,i,n){i=i||"itemStyle";for(var r=0;r<ti.length;r++){var o=ti[r],a=e.getModel([o,i]);t.ensureState(o).style=n?n(a):a[tn[i]]()}}function to(t,e){var i=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!i||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i)}function ta(t){return!!(t&&t.__highDownDispatcher)}function ts(t,e,i){var n=(0,r.z)(t);n.componentMainType=e.mainType,n.componentIndex=e.componentIndex,n.componentHighDownName=i}function tl(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function tu(t){var e=t.type;return e===_||e===x||e===w}function th(t){var e=t.type;return e===v||e===m}function tc(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var i=t.states.select||{};e.selectFill=i.style&&i.style.fill||null,e.selectStroke=i.style&&i.style.stroke||null}},60253:function(t,e,i){i.d(e,{$V:()=>m,hV:()=>S,v5:()=>w,xU:()=>b});var n=i(4884),r=i(30070),o=i(28887),a=i(63811),s=i(2989),l=i(59033),u=i(51690),h=i(23960),c=i(21916),p=r.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+r,n+o),t.lineTo(i-r,n+o),t.closePath()}}),f=r.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+r,n),t.lineTo(i,n+o),t.lineTo(i-r,n),t.closePath()}}),d=r.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=n-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),f=.6*a,d=.7*a;t.moveTo(i-h,l+s),t.arc(i,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+h-c*f,l+s+p*f,i,n-d,i,n),t.bezierCurveTo(i,n-d,i-h+c*f,l+s+p*f,i-h,l+s),t.closePath()}}),g=r.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,r=e.x,o=e.y,a=n/3*2;t.moveTo(r,o),t.lineTo(r+a,o+i),t.lineTo(r,o+i/4*3),t.lineTo(r-a,o+i),t.lineTo(r,o),t.closePath()}}),y={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:d,arrow:g,triangle:p},v={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var o=Math.min(i,n);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n}},m={};(0,n.each)(y,function(t,e){m[e]=new t});var _=r.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=(0,h.X4)(t,e,i),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var r=m[n];r||(r=m[n="rect"]),v[n](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,i)}}});function x(t,e){if("image"!==this.type){var i=this.style;this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff",i.lineWidth=2):"line"===this.shape.symbolType?i.stroke=t:i.fill=t,this.markRedraw()}}function w(t,e,i,n,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.A(e,i,n,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.A(e,i,n,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:i,width:n,height:r}})).__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function b(t){return(0,n.isArray)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function S(t,e){if(null!=t)return(0,n.isArray)(t)||(t=[t,t]),[(0,c.lo)(t[0],e[0])||0,(0,c.lo)((0,n.retrieve2)(t[1],t[0]),e[1])||0]}},89425:function(t,e,i){i.d(e,{IU:()=>l,N:()=>s,nF:()=>a});var n="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,i){var n,r,o,a,s,l=0,u=0,h=null;function c(){u=new Date().getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];n=new Date().getTime(),o=this,a=t;var f=s||e,d=s||i;s=null,r=n-(d?l:u)-f,clearTimeout(h),d?h=setTimeout(c,f):r>=0?c():h=setTimeout(c,-r),l=n};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function s(t,e,i,s){var l=t[e];if(l){var u=l[n]||l,h=l[o];if(l[r]!==i||h!==s){if(null==i||!s)return t[e]=u;(l=t[e]=a(u,i,"debounce"===s))[n]=u,l[o]=s,l[r]=i}return l}}function l(t,e){var i=t[e];i&&i[n]&&(i.clear&&i.clear(),t[e]=i[n])}},29456:function(t,e,i){i.d(e,{$9:()=>x,$H:()=>c,CZ:()=>h,F7:()=>y,FP:()=>N,GP:()=>w,KF:()=>E,Lm:()=>d,MA:()=>u,OY:()=>s,Wf:()=>D,X_:()=>b,Yd:()=>z,Zz:()=>O,bP:()=>C,ce:()=>_,eV:()=>v,g0:()=>M,hY:()=>A,iC:()=>I,iW:()=>l,jJ:()=>T,tM:()=>P,ti:()=>R,ww:()=>B,xu:()=>L,yB:()=>k,ym:()=>m});var n=i(4884),r=i(21916),o=i(35396),a=i(25744),s=1e3,l=6e4,u=36e5,h=864e5,c=31536e6,p={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},f="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:f,hour:f+" "+p.hour,minute:f+" "+p.minute,second:f+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function w(t,e,i,n){var s=r._U(t),l=s[A(i)](),u=s[T(i)]()+1,h=Math.floor((u-1)/3)+1,c=s[C(i)](),p=s["get"+(i?"UTC":"")+"Day"](),f=s[I(i)](),d=(f-1)%12+1,g=s[k(i)](),y=s[D(i)](),m=s[O(i)](),_=(n instanceof a.A?n:(0,o.A4)(n||o.Lv)||(0,o.pr)()).getModel("time"),x=_.get("month"),w=_.get("monthAbbr"),b=_.get("dayOfWeek"),S=_.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,w[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,b[p]).replace(/{ee}/g,S[p]).replace(/{e}/g,p+"").replace(/{HH}/g,v(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,v(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function b(t,e,i,r,o){var a=null;if(n.isString(i))a=i;else if(n.isFunction(i))a=i(t.value,e,{level:t.level});else{var s=n.extend({},p);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=i?!1===i.inherit?i:n.defaults(i,s):s,h=S(t.value,o);if(u[h])a=u[h];else if(u.inherit){for(var c=y.indexOf(h),l=c-1;l>=0;--l)if(u[h]){a=u[h];break}a=a||s.none}if(n.isArray(a)){var f=null==t.level?0:t.level>=0?t.level:a.length+t.level;f=Math.min(f,a.length-1),a=a[f]}}return w(new Date(t.value),a,o,r)}function S(t,e){var i=r._U(t),n=i[T(e)]()+1,o=i[C(e)](),a=i[I(e)](),s=i[k(e)](),l=i[D(e)](),u=0===i[O(e)](),h=u&&0===l,c=h&&0===s,p=c&&0===a,f=p&&1===o;if(f&&1===n)return"year";if(f)return"month";if(p)return"day";if(c)return"hour";if(h)return"minute";else if(u)return"second";else return"millisecond"}function M(t,e,i){var o=n.isNumber(t)?r._U(t):t;switch(e=e||S(t,i)){case"year":return o[A(i)]();case"half-year":return+(o[T(i)]()>=6);case"quarter":return Math.floor((o[T(i)]()+1)/4);case"month":return o[T(i)]();case"day":return o[C(i)]();case"half-day":return o[I(i)]()/24;case"hour":return o[I(i)]();case"minute":return o[k(i)]();case"second":return o[D(i)]();case"millisecond":return o[O(i)]()}}function A(t){return t?"getUTCFullYear":"getFullYear"}function T(t){return t?"getUTCMonth":"getMonth"}function C(t){return t?"getUTCDate":"getDate"}function I(t){return t?"getUTCHours":"getHours"}function k(t){return t?"getUTCMinutes":"getMinutes"}function D(t){return t?"getUTCSeconds":"getSeconds"}function O(t){return t?"getUTCMilliseconds":"getMilliseconds"}function P(t){return t?"setUTCFullYear":"setFullYear"}function L(t){return t?"setUTCMonth":"setMonth"}function R(t){return t?"setUTCDate":"setDate"}function z(t){return t?"setUTCHours":"setHours"}function E(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function N(t){return t?"setUTCMilliseconds":"setMilliseconds"}},95056:function(t,e,i){i.d(e,{Km:()=>o,Pe:()=>n,Wk:()=>a,XO:()=>l,i_:()=>h,mK:()=>r,oC:()=>c,t1:()=>s,vm:()=>u});var n=(0,i(4884).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},30095:function(t,e,i){i.d(e,{J:()=>a});var n=i(4884),r="undefined"!=typeof Float32Array,o=r?Float32Array:Array;function a(t){return(0,n.isArray)(t)?r?new Float32Array(t):t:new o(t)}},31440:function(t,e,i){i.d(e,{A:()=>x});var n=i(4884),r=i(79620),o=i(3818),a=i(18191),s=i(84124),l=i(72059),u=i(87189),h=i(65132),c=i(59033),p=s.$r(),f=(0,h.A)(),d=function(){function t(){this.group=new r.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,u.U)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){},t.prototype.highlight=function(t,e,i,n){var r=t.getData(n&&n.dataType);r&&y(r,n,"emphasis")},t.prototype.downplay=function(t,e,i,n){var r=t.getData(n&&n.dataType);r&&y(r,n,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateLayout=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,i){t&&(0,l.u6)(t)&&("emphasis"===e?l.HY:l.SD)(t,i)}function y(t,e,i){var r=s.le(t,e),o=e&&null!=e.highlightKey?(0,l._n)(e.highlightKey):null;null!=r?(0,n.each)(s.qB(r),function(e){g(t.getItemGraphicEl(e),i,o)}):t.eachItemGraphicEl(function(t){g(t,i,o)})}function v(t){return f(t.model)}function m(t){var e=t.model,i=t.ecModel,n=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,i,n,r),_[l]}a.gq(d,["dispose"]),a.tQ(d);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let x=d},43583:function(t,e,i){i.d(e,{A:()=>s});var n=i(79620),r=i(3818),o=i(18191),a=function(){function t(){this.group=new n.A,this.uid=r.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){},t.prototype.updateLayout=function(t,e,i,n){},t.prototype.updateVisual=function(t,e,i,n){},t.prototype.toggleBlurSeries=function(t,e,i){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a);let s=a},39111:function(t,e,i){i.d(e,{A:()=>_});var n=i(4884),r=i(34196),o=i(21916),a=n.each,s=n.isObject,l=function(){function t(e){var i,r,o=e.mappingMethod,s=e.type,l=this.option=n.clone(e);this.type=s,this.mappingMethod=o,this._normalizeData=m[o];var h=t.visualHandlers[s];this.applyVisual=h.applyVisual,this.getColorMapper=h.getColorMapper,this._normalizedToVisual=h._normalizedToVisual[o],"piecewise"===o?(u(l),r=(i=l).pieceList,i.hasSpecialVisual=!1,n.each(r,function(t,e){t.originIndex=e,null!=t.visual&&(i.hasSpecialVisual=!0)})):"category"===o?l.categories?function(t){var e=t.categories,i=t.categoryMap={},r=t.visual;if(a(e,function(t,e){i[t]=e}),!n.isArray(r)){var o=[];n.isObject(r)?a(r,function(t,e){var n=i[e];o[null!=n?n:-1]=t}):o[-1]=r,r=v(t,o)}for(var s=e.length-1;s>=0;s--)null==r[s]&&(delete i[e[s]],e.pop())}(l):u(l,!0):(n.assert("linear"!==o||l.dataExtent),u(l))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return n.bind(this._normalizeData,this)},t.listVisualTypes=function(){return n.keys(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,i){n.isObject(t)?n.each(t,e,i):e.call(i,t)},t.mapVisual=function(e,i,r){var o,a=n.isArray(e)?[]:n.isObject(e)?{}:(o=!0,null);return t.eachVisual(e,function(t,e){var n=i.call(r,t,e);o?a=n:a[e]=n}),a},t.retrieveVisuals=function(e){var i,n={};return e&&a(t.visualHandlers,function(t,r){e.hasOwnProperty(r)&&(n[r]=e[r],i=!0)}),i?n:null},t.prepareVisualTypes=function(t){if(n.isArray(t))t=t.slice();else{if(!s(t))return[];var e=[];a(t,function(t,i){e.push(i)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!!(t&&0===t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,i){for(var r,o=1/0,a=0,s=e.length;a<s;a++){var l=e[a].value;if(null!=l){if(l===t||n.isString(l)&&l===t+"")return a;i&&M(l,a)}}for(var a=0,s=e.length;a<s;a++){var u,h,c,p,f,d,g,y,v,m,_,x,w=e[a],b=w.interval,S=w.close;if(b){if(b[0]===-1/0){if(u=S[1],h=t,c=b[1],u?h<=c:h<c)return a}else if(b[1]===1/0){if(p=S[0],f=b[0],d=t,p?f<=d:f<d)return a}else{if(g=S[0],y=b[0],v=t,(g?y<=v:y<v)&&(m=S[1],_=t,x=b[1],m?_<=x:_<x))return a}i&&M(b[0],a),i&&M(b[1],a)}}if(i)return t===1/0?e.length-1:t===-1/0?0:r;function M(e,i){var n=Math.abs(e-t);n<o&&(o=n,r=i)}},t.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),f.call(this,t)}:function(e,i,n){var o=!!n;return i||(e=this._normalizeData(e)),n=r.fastLerp(e,t.parsedVisual,n),o?n:r.stringify(n,"rgba")},this)},_normalizedToVisual:{linear:function(t){return r.stringify(r.fastLerp(t,this.option.parsedVisual),"rgba")},category:f,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=r.stringify(r.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:d}},colorHue:h(function(t,e){return r.modifyHSL(t,e)}),colorSaturation:h(function(t,e){return r.modifyHSL(t,null,e)}),colorLightness:h(function(t,e){return r.modifyHSL(t,null,null,e)}),colorAlpha:h(function(t,e){return r.modifyAlpha(t,e)}),decal:{applyVisual:p("decal"),_normalizedToVisual:{linear:null,category:f,piecewise:null,fixed:null}},opacity:{applyVisual:p("opacity"),_normalizedToVisual:g([0,1])},liftZ:{applyVisual:p("liftZ"),_normalizedToVisual:{linear:d,category:d,piecewise:d,fixed:d}},symbol:{applyVisual:function(t,e,i){i("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:c,category:f,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=c.call(this,t)),i},fixed:d}},symbolSize:{applyVisual:p("symbolSize"),_normalizedToVisual:g([0,1])}},t}();function u(t,e){var i=t.visual,r=[];n.isObject(i)?a(i,function(t){r.push(t)}):null!=i&&r.push(i),e||1!==r.length||({color:1,symbol:1}).hasOwnProperty(t.type)||(r[1]=r[0]),v(t,r)}function h(t){return{applyVisual:function(e,i,n){var r=this.mapValueToVisual(e);n("color",t(i("color"),r))},_normalizedToVisual:g([0,1])}}function c(t){var e=this.option.visual;return e[Math.round((0,o.Cb)(t,[0,1],[0,e.length-1],!0))]||{}}function p(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function f(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function d(){return this.option.visual[0]}function g(t){return{linear:function(e){return(0,o.Cb)(e,t,this.option.visual,!0)},category:f,piecewise:function(e,i){var n=y.call(this,i);return null==n&&(n=(0,o.Cb)(e,t,this.option.visual,!0)),n},fixed:d}}function y(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=l.findPieceIndex(t,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function v(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return r.parse(t)||[0,0,0,1]})),e}var m={linear:function(t){return(0,o.Cb)(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=l.findPieceIndex(t,e,!0);if(null!=i)return(0,o.Cb)(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:n.noop};let _=l},80153:function(t,e,i){function n(t,e,i){switch(i){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,i)}}function r(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function o(t,e,i,n){switch(i){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=n,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,i,n)}}i.d(e,{Ez:()=>n,oZ:()=>o,rI:()=>r})},74664:function(t,e,i){i.d(e,{A:()=>o});var n=i(4884),r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};let o={get:function(t,e,i){var o=n.clone((r[t]||{})[e]);return i&&n.isArray(o)?o[o.length-1]:o}}},88526:function(t,e,i){i.d(e,{R3:()=>h,St:()=>u,dS:()=>c,u1:()=>l});var n=i(4884),r=i(39111),o=i(80153),a=n.each;function s(t){if(t){for(var e in t)if(t.hasOwnProperty(e))return!0}}function l(t,e,i){var o={};return a(e,function(e){var s,l=o[e]=((s=function(){}).prototype.__hidden=s.prototype,new s);a(t[e],function(t,o){if(r.A.isValidType(o)){var a={type:o,visual:t};i&&i(a,e),l[o]=new r.A(a),"opacity"===o&&((a=n.clone(a)).type="colorAlpha",l.__hidden.__alphaForOpacity=new r.A(a))}})}),o}function u(t,e,i){var r;n.each(i,function(t){e.hasOwnProperty(t)&&s(e[t])&&(r=!0)}),r&&n.each(i,function(i){e.hasOwnProperty(i)&&s(e[i])?t[i]=n.clone(e[i]):delete t[i]})}function h(t,e,i,a,s,l){var u,h={};function c(t){return(0,o.Ez)(i,u,t)}function p(t,e){(0,o.oZ)(i,u,t,e)}function f(t,n){u=null==l?t:n;var r=i.getRawDataItem(u);if(!r||!1!==r.visualMap)for(var o=a.call(s,t),f=e[o],d=h[o],g=0,y=d.length;g<y;g++){var v=d[g];f[v]&&f[v].applyVisual(t,c,p)}}n.each(t,function(t){var i=r.A.prepareVisualTypes(e[t]);h[t]=i}),null==l?i.each(f):i.each([l],f)}function c(t,e,i,a){var s={};return n.each(t,function(t){var i=r.A.prepareVisualTypes(e[t]);s[t]=i}),{progress:function(t,n){function r(t){return(0,o.Ez)(n,h,t)}function l(t,e){(0,o.oZ)(n,h,t,e)}null!=a&&(u=n.getDimensionIndex(a));for(var u,h,c=n.getStore();null!=(h=t.next());){var p=n.getRawDataItem(h);if(!p||!1!==p.visualMap)for(var f=null!=a?c.get(u,h):h,d=i(f),g=e[d],y=s[d],v=0,m=y.length;v<m;v++){var _=y[v];g[_]&&g[_].applyVisual(f,r,l)}}}}}},16476:function(t,e,i){i.d(e,{A:()=>x});var n=i(5486),r=i(83390),o=i(51690),a=i(16419),s=i(23960),l=i(4884),u=i(72076),h=i(34196),c=i(63154),p="__zr_normal__",f=n.Wx.concat(["ignore"]),d=(0,l.reduce)(n.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.A(0,0,0,0),v=function(){function t(t){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,r=e.innerTransformable,o=void 0,a=void 0,l=!1;r.parent=n?this:null;var u=!1;if(r.copyTransform(e),null!=i.position){i.layoutRect?y.copy(i.layoutRect):y.copy(this.getBoundingRect()),n||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,i,y):(0,s.X4)(g,i,y),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var h=i.origin;if(h&&null!=i.rotation){var p=void 0,f=void 0;"center"===h?(p=.5*y.width,f=.5*y.height):(p=(0,s.lo)(h[0],y.width),f=(0,s.lo)(h[1],y.height)),u=!0,r.originX=-r.x+p+(n?0:y.x),r.originY=-r.y+f+(n?0:y.y)}}null!=i.rotation&&(r.rotation=i.rotation);var d=i.offset;d&&(r.x+=d[0],r.y+=d[1],u||(r.originX=-d[0],r.originY=-d[1]));var v=null==i.inside?"string"==typeof i.position&&i.position.indexOf("inside")>=0:i.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,w=void 0;v&&this.canBeInsideText()?(_=i.insideFill,x=i.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(_),w=!0)):(_=i.outsideFill,x=i.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(_),w=!0)),((_=_||"#000")!==m.fill||x!==m.stroke||w!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=x,m.autoStroke=w,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=c.M,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i="string"==typeof e&&(0,h.parse)(e);i||(i=[255,255,255,1]);for(var n=i[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+255*!r*(1-n);return i[3]=1,(0,h.stringify)(i,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.isObject)(t))for(var i=(0,l.keys)(t),n=0;n<i.length;n++){var r=i[n];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,i=0;i<this.animators.length;i++){var n=this.animators[i],r=n.__fromStateTransition;if(!n.getLoop()&&(!r||r===p)){var o=n.targetName,a=o?e[o]:e;n.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,f)},t.prototype._savePrimaryToNormal=function(t,e,i){for(var n=0;n<i.length;n++){var r=i[n];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(p,!1,t)},t.prototype.useState=function(t,e,i,n){var r,o=t===p;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o)return void(0,l.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(r);var u=!!(r&&r.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,r,this._normalState,e,!i&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,f=this._textGuide;return h&&h.useState(t,e,i,u),f&&f.useState(t,e,i,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.M),r}}},t.prototype.useStates=function(t,e,i){if(t.length){var n=[],r=this.currentStates,o=t.length,a=o===r.length;if(a){for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&n.push(u)}var h=n[o-1],p=!!(h&&h.hoverLayer||i);p&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(n),d=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.indexOf)(this.currentStates,t);if(e>=0){var i=this.currentStates.slice();i.splice(e,1),this.useStates(i)}},t.prototype.replaceState=function(t,e,i){var n=this.currentStates.slice(),r=(0,l.indexOf)(n,t),o=(0,l.indexOf)(n,e)>=0;r>=0?o?n.splice(r,1):n[r]=e:i&&!o&&n.push(e),this.useStates(n)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,i={},n=0;n<t.length;n++){var r=t[n];(0,l.extend)(i,r),r.textConfig&&(e=e||{},(0,l.extend)(e,r.textConfig))}return e&&(i.textConfig=e),i},t.prototype._applyStateObj=function(t,e,i,n,r,o){var a=!(e&&n);e&&e.textConfig?(this.textConfig=(0,l.extend)({},n?this.textConfig:i.textConfig),(0,l.extend)(this.textConfig,e.textConfig)):a&&i.textConfig&&(this.textConfig=i.textConfig);for(var s={},u=!1,h=0;h<f.length;h++){var c=f[h],p=r&&d[c];e&&null!=e[c]?p?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=i[c]&&(p?(u=!0,s[c]=i[c]):this[c]=i[c])}if(!r)for(var h=0;h<this.animators.length;h++){var g=this.animators[h],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||i)[y]:e||i)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new n.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,i=this._textGuide;e&&(e.__inHover=t),i&&(i.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,i){var n=t?this[t]:this,o=new r.A(n,e,i);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var i=this.__zr,n=this;t.during(function(){n.updateDuringAnimation(e)}).done(function(){var e=n.animators,i=(0,l.indexOf)(e,t);i>=0&&e.splice(i,1)}),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var i=this.animators,n=i.length,r=[],o=0;o<n;o++){var a=i[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,i){m(this,t,e,i)},t.prototype.animateFrom=function(t,e,i){m(this,t,e,i,!0)},t.prototype._transitionState=function(t,e,i,n){for(var r=m(this,e,i,n),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function i(t,i,n,r){Object.defineProperty(e,t,{get:function(){return this[i]||o(this,this[i]=[]),this[i]},set:function(t){this[n]=t[0],this[r]=t[1],this[i]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.M,Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,i,n,o){var a=[];!function t(e,i,n,o,a,s,u,h){for(var c=(0,l.keys)(o),p=a.duration,f=a.delay,d=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],x=0;x<c.length;x++){var w=c[x],b=o[w];if(null!=b&&null!=n[w]&&(y||s[w]))if(!(0,l.isObject)(b)||(0,l.isArrayLike)(b)||(0,l.isGradientObject)(b))m.push(w);else{if(i){h||(n[w]=b,e.updateDuringAnimation(i));continue}t(e,w,n[w],b,a,s&&s[w],u,h)}else h||(n[w]=b,e.updateDuringAnimation(i),m.push(w))}var S=m.length;if(!d&&S)for(var M=0;M<v.length;M++){var A=v[M];if(A.targetName===i&&A.stopTracks(m)){var T=(0,l.indexOf)(v,A);v.splice(T,1)}}if(a.force||(S=(m=(0,l.filter)(m,function(t){var e,i;return!((e=o[t])===(i=n[t])||(0,l.isArrayLike)(e)&&(0,l.isArrayLike)(i)&&function(t,e){var i=t.length;if(i!==e.length)return!1;for(var n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}(e,i))})).length),S>0||a.force&&!u.length){var C=void 0,I=void 0,k=void 0;if(h){I={},g&&(C={});for(var M=0;M<S;M++){var w=m[M];I[w]=n[w],g?C[w]=o[w]:n[w]=o[w]}}else if(g){k={};for(var M=0;M<S;M++){var w=m[M];k[w]=(0,r.F)(n[w]),function(t,e,i){if((0,l.isArrayLike)(e[i]))if((0,l.isArrayLike)(t[i])||(t[i]=[]),(0,l.isTypedArray)(e[i])){var n=e[i].length;t[i].length!==n&&(t[i]=new e[i].constructor(n),_(t[i],e[i],n))}else{var r=e[i],o=t[i],a=r.length;if((0,l.isArrayLike)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?_(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else _(o,r,a);o.length=r.length}else t[i]=e[i]}(n,o,w)}}var A=new r.A(n,!1,!1,d?(0,l.filter)(v,function(t){return t.targetName===i}):null);A.targetName=i,a.scope&&(A.scope=a.scope),g&&C&&A.whenWithKeys(0,C,m),k&&A.whenWithKeys(0,k,m),A.whenWithKeys(null==p?500:p,h?I:o,m).delay(f||0),e.addAnimator(A,i),u.push(A)}}(t,"",t,e,i=i||{},n,a,o);var s=a.length,u=!1,h=i.done,c=i.aborted,p=function(){u=!0,--s<=0&&(u?h&&h():c&&c())},f=function(){--s<=0&&(u?h&&h():c&&c())};!s&&h&&h(),a.length>0&&i.during&&a[0].during(function(t,e){i.during(e)});for(var d=0;d<a.length;d++){var g=a[d];p&&g.done(p),f&&g.aborted(f),i.force&&g.duration(i.duration),g.start(i.easing)}return a}function _(t,e,i){for(var n=0;n<i;n++)t[n]=e[n]}(0,l.mixin)(v,a.A),(0,l.mixin)(v,n.Ay);let x=v},83390:function(t,e,i){i.d(e,{F:()=>f,A:()=>_});var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),(t*=2)<1)?-.5*(i*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):i*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},r=i(4884),o=i(65978),a=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||r.noop,this.ondestroy=t.ondestroy||r.noop,this.onrestart=t.onrestart||r.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var i=this._life,n=t-this._startTime-this._pausedTime,r=n/i;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r)if(!this.loop)return!0;else this._startTime=t-n%i,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.isFunction)(t)?t:n[t]||(0,o.w)(t)},t}(),s=i(34196),l=i(33553),u=Array.prototype.slice;function h(t,e,i,n){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(i[a]-r)*n+r);return t}function c(t,e,i,n){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+i[o]*n;return t}function p(t,e,i,n){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+i[a][s]*n}return t}function f(t){if((0,r.isArrayLike)(t)){var e=t.length;if((0,r.isArrayLike)(t[0])){for(var i=[],n=0;n<e;n++)i.push(u.call(t[n]));return i}return u.call(t)}return t}function d(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function g(t){return 4===t||5===t}function y(t){return 1===t||2===t}var v=[0,0,0,0],m=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,i){this._needsSort=!0;var a=this.keyframes,u=a.length,h=!1,c=6,p=e;if((0,r.isArrayLike)(e)){var f=(0,r.isArrayLike)(e&&e[0])?2:1;c=f,(1!==f||(0,r.isNumber)(e[0]))&&(2!==f||(0,r.isNumber)(e[0][0]))||(h=!0)}else if((0,r.isNumber)(e)&&!(0,r.eqNaN)(e))c=0;else if((0,r.isString)(e))if(isNaN(+e)){var d=s.parse(e);d&&(p=d,c=3)}else c=0;else if((0,r.isGradientObject)(e)){var g=(0,r.extend)({},p);g.colorStops=(0,r.map)(e.colorStops,function(t){return{offset:t.offset,color:s.parse(t.color)}}),(0,l.OS)(e)?c=4:(0,l.OH)(e)&&(c=5),p=g}0===u?this.valType=c:(c!==this.valType||6===c)&&(h=!0),this.discrete=this.discrete||h;var y={time:t,value:p,rawValue:e,percent:0};return i&&(y.easing=i,y.easingFunc=(0,r.isFunction)(i)?i:n[i]||(0,o.w)(i)),a.push(y),y},t.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort(function(t,e){return t.time-e.time});for(var n=this.valType,r=i.length,o=i[r-1],a=this.discrete,s=y(n),l=g(n),h=0;h<r;h++){var f=i[h],d=f.value,v=o.value;f.percent=f.time/t,!a&&(s&&h!==r-1?function(t,e,i){if(t.push&&e.push){var n=t.length,r=e.length;if(n!==r)if(n>r)t.length=r;else for(var o=n;o<r;o++)t.push(1===i?e[o]:u.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===i)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(d,v,n):l&&function(t,e){for(var i=t.length,n=e.length,r=i>n?e:t,o=Math.min(i,n),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(i,n);s++)r.push({offset:a.offset,color:a.color.slice()})}(d.colorStops,v.colorStops))}if(!a&&5!==n&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;for(var m=i[0].value,h=0;h<r;h++)0===n?i[h].additiveValue=i[h].value-m:3===n?i[h].additiveValue=c([],i[h].value,m,-1):y(n)&&(i[h].additiveValue=1===n?c([],i[h].value,m,-1):p([],i[h].value,m,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i,n,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,p=this.propName,f=3===l,m=this._lastFr,_=Math.min;if(1===c)n=o=u[0];else{if(e<0)i=0;else if(e<this._lastFrP){for(i=_(m+1,c-1);i>=0&&!(u[i].percent<=e);i--);i=_(i,c-2)}else{for(i=m;i<c&&!(u[i].percent>e);i++);i=_(i-1,c-2)}o=u[i+1],n=u[i]}if(n&&o){this._lastFr=i,this._lastFrP=e;var x=o.percent-n.percent,w=0===x?1:_((e-n.percent)/x,1);o.easingFunc&&(w=o.easingFunc(w));var b=a?this._additiveValue:f?v:t[p];if((y(l)||f)&&!b&&(b=this._additiveValue=[]),this.discrete)t[p]=w<1?n.rawValue:o.rawValue;else if(y(l))1===l?h(b,n[s],o[s],w):function(t,e,i,n){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(i[a][l]-s)*n+s)}}(b,n[s],o[s],w);else if(g(l)){var S,M,A,T,C,I=n[s],k=o[s],D=4===l;(t[p]={type:D?"linear":"radial",x:(S=I.x,(k.x-S)*w+S),y:(M=I.y,(k.y-M)*w+M),colorStops:(0,r.map)(I.colorStops,function(t,e){var i,n=k.colorStops[e];return{offset:(i=t.offset,(n.offset-i)*w+i),color:d(h([],t.color,n.color,w))}}),global:k.global},D)?(t[p].x2=(A=I.x2,(k.x2-A)*w+A),t[p].y2=(T=I.y2,(k.y2-T)*w+T)):t[p].r=(C=I.r,(k.r-C)*w+C)}else if(f)h(b,n[s],o[s],w),a||(t[p]=d(b));else{var O,P=(O=n[s],(o[s]-O)*w+O);a?this._additiveValue=P:t[p]=P}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,n=this._additiveValue;0===e?t[i]=t[i]+n:3===e?(s.parse(t[i],v),c(v,v,n,1),t[i]=d(v)):1===e?c(t[i],t[i],n,1):2===e&&p(t[i],t[i],n,1)},t}();let _=function(){function t(t,e,i,n){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n)?(0,r.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=n,this._allowDiscrete=i)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,i){return this.whenWithKeys(t,e,(0,r.keys)(e),i)},t.prototype.whenWithKeys=function(t,e,i,n){for(var r=this._tracks,o=0;o<i.length;o++){var a=i[o],s=r[a];if(!s){s=r[a]=new m(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=d(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,f(l),n),this._trackKeys.push(a)}s.addKeyframe(t,f(e[a]),n)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i<e;i++)t[i].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var i=0;i<e.length;i++)e[i].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,i=0;i<e.length;i++)t[e[i]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var r=i[n].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,i=[],n=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,h=u.length;if(s.prepare(n,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var c=u[h-1];c&&(e._target[s.propName]=c.rawValue),s.setFinished()}else i.push(s)}if(i.length||this._force){var p=new a({life:n,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var n=e._additiveAnimators;if(n){for(var r=!1,o=0;o<n.length;o++)if(n[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<i.length;o++)i[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,r.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,r=0;r<t.length;r++){var o=i[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<n.length;r++)if(!i[n[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,i){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var r=e[n],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[i?0:a.length-1];s&&(t[r]=f(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.keys)(t);for(var i=0;i<e.length;i++){var n=e[i],o=this._tracks[n];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[n]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},65978:function(t,e,i){i.d(e,{w:()=>a});var n=i(26989),r=i(4884),o=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(t){var e=t&&o.exec(t);if(e){var i=e[1].split(","),a=+(0,r.trim)(i[0]),s=+(0,r.trim)(i[1]),l=+(0,r.trim)(i[2]),u=+(0,r.trim)(i[3]);if(isNaN(a+s+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,n._E)(0,a,l,1,t,h)&&(0,n.Yb)(0,s,u,1,h[0])}}}},94263:function(t,e,i){i.d(e,{A:()=>n});let n=i(35209).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},49020:function(t,e,i){i.d(e,{V:()=>r});var n=i(4884);function r(t){var e,i,r=t.style,o=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,i=r.lineWidth,e&&"solid"!==e&&i>0?"dashed"===e?[4*i,2*i]:"dotted"===e?[i]:(0,n.isNumber)(e)?[e]:(0,n.isArray)(e)?e:null:null),a=r.lineDashOffset;if(o){var s=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&1!==s&&(o=(0,n.map)(o,function(t){return t/s}),a/=s)}return[o,a]}},22489:function(t,e,i){i.d(e,{V$:()=>k,Xi:()=>I,ZQ:()=>x});var n=i(38513),r=i(40843),o=i(6945),a=i(47865),s=i(30070),l=i(64586),u=i(27575),h=i(4884),c=i(49020),p=i(63154),f=i(46979),d=new r.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var i=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=i}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var i=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=i}else t.stroke()}function x(t,e,i){var n=(0,o.OD)(e.image,e.__image,i);if((0,o.xA)(n)){var r=t.createPattern(n,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var w=["shadowBlur","shadowOffsetX","shadowOffsetY"],b=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,i,r,o){var a=!1;if(!r&&e===(i=i||{}))return!1;if(r||e.opacity!==i.opacity){T(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?n.oN.opacity:s}(r||e.blend!==i.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||n.oN.blend);for(var l=0;l<w.length;l++){var u=w[l];(r||e[u]!==i[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==i.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||n.oN.shadowColor),a}function M(t,e,i,n,r){var o=C(e,r.inHover),a=n?null:i&&C(i,r.inHover)||{};if(o===a)return!1;var s=S(t,o,a,n,r);if((n||o.fill!==a.fill)&&(s||(T(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(T(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(n||o.opacity!==a.opacity)&&(s||(T(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(T(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<b.length;u++){var h=b[u],c=h[0];(n||o[c]!==a[c])&&(s||(T(t,r),s=!0),t[c]=o[c]||h[1])}return s}function A(t,e){var i=e.transform,n=t.dpr||1;i?t.setTransform(n*i[0],n*i[1],n*i[2],n*i[3],n*i[4],n*i[5]):t.setTransform(n,0,0,n,0,0)}function T(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function C(t,e){return e&&t.__hoverStyle||t.style}function I(t,e){k(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function k(t,e,i,n){var r,h=e.transform;if(!e.shouldBePainted(i.viewWidth,i.viewHeight,!1,!1)){e.__dirty&=~p.M,e.__isRendered=!1;return}var y=e.__clipPaths,w=i.prevElClipPaths,b=!1,I=!1;if(!w||(0,a.KU)(y,w)){if(w&&w.length&&(T(t,i),t.restore(),I=b=!0,i.prevElClipPaths=null,i.allClipped=!1,i.prevEl=null),y&&y.length){T(t,i),t.save();for(var D=!1,O=0;O<y.length;O++){var P=y[O];D=D||P.isZeroArea(),A(t,P),t.beginPath(),P.buildPath(t,P.shape),t.clip()}i.allClipped=D,b=!0}i.prevElClipPaths=y}if(i.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var L=i.prevEl;L||(I=b=!0);var R=e instanceof s.Ay&&e.autoBatch&&(B=v(E=e.style),N=g(E),!(E.lineDash||!(B^N)||B&&"string"!=typeof E.fill||N&&"string"!=typeof E.stroke||E.strokePercent<1||E.strokeOpacity<1||E.fillOpacity<1));!b&&(V=L.transform,h&&V?h[0]===V[0]&&h[1]===V[1]&&h[2]===V[2]&&h[3]===V[3]&&h[4]===V[4]&&h[5]===V[5]:+(!h&&!V))?R||T(t,i):(T(t,i),A(t,e));var z=C(e,i.inHover);if(e instanceof s.Ay)1!==i.lastDrawType&&(I=!0,i.lastDrawType=1),M(t,e,L,I,i),R&&(i.batchFill||i.batchStroke)||t.beginPath(),function(t,e,i,n){var r,o,s,l=g(i),u=v(i),h=i.strokePercent,f=h<1,y=!e.path;(!e.silent||f)&&y&&e.createPathProxy();var w=e.path||d,b=e.__dirty;if(!n){var S=i.fill,M=i.stroke,A=u&&!!S.colorStops,T=l&&!!M.colorStops,C=u&&!!S.image,I=l&&!!M.image,k=void 0,D=void 0,O=void 0,P=void 0,L=void 0;(A||T)&&(L=e.getBoundingRect()),A&&(k=b?(0,a.Ff)(t,S,L):e.__canvasFillGradient,e.__canvasFillGradient=k),T&&(D=b?(0,a.Ff)(t,M,L):e.__canvasStrokeGradient,e.__canvasStrokeGradient=D),C&&(O=b||!e.__canvasFillPattern?x(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=O),I&&(P=b||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=O),A?t.fillStyle=k:C&&(O?t.fillStyle=O:u=!1),T?t.strokeStyle=D:I&&(P?t.strokeStyle=P:l=!1)}var R=e.getGlobalScale();w.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&i.lineDash&&(o=(r=(0,c.V)(e))[0],s=r[1]);var z=!0;(y||b&p.Dl)&&(w.setDPR(t.dpr),f?w.setContext(null):(w.setContext(t),z=!1),w.reset(),e.buildPath(w,e.shape,n),w.toStatic(),e.pathUpdated()),z&&w.rebuildPath(t,f?h:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!n&&(i.strokeFirst?(l&&_(t,i),u&&m(t,i)):(u&&m(t,i),l&&_(t,i))),o&&t.setLineDash([])}(t,e,z,R),R&&(i.batchFill=z.fill||"",i.batchStroke=z.stroke||"");else if(e instanceof u.A){3!==i.lastDrawType&&(I=!0,i.lastDrawType=3),M(t,e,L,I,i);var E,B,N,V,F,H=z.text;if(null!=H&&(H+=""),H){t.font=z.font||f.OH,t.textAlign=z.textAlign,t.textBaseline=z.textBaseline;var W=void 0,G=void 0;t.setLineDash&&z.lineDash&&(W=(F=(0,c.V)(e))[0],G=F[1]),W&&(t.setLineDash(W),t.lineDashOffset=G),z.strokeFirst?(g(z)&&t.strokeText(H,z.x,z.y),v(z)&&t.fillText(H,z.x,z.y)):(v(z)&&t.fillText(H,z.x,z.y),g(z)&&t.strokeText(H,z.x,z.y)),W&&t.setLineDash([])}}else e instanceof l.Ay?(2!==i.lastDrawType&&(I=!0,i.lastDrawType=2),r=I,S(t,C(e,i.inHover),L&&C(L,i.inHover),r,i),function(t,e,i){var n=e.__image=(0,o.OD)(i.image,e.__image,e,e.onload);if(n&&(0,o.xA)(n)){var r=i.x||0,a=i.y||0,s=e.getWidth(),l=e.getHeight(),u=n.width/n.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=n.width,l=n.height),i.sWidth&&i.sHeight){var h=i.sx||0,c=i.sy||0;t.drawImage(n,h,c,i.sWidth,i.sHeight,r,a,s,l)}else if(i.sx&&i.sy){var h=i.sx,c=i.sy,p=s-h,f=l-c;t.drawImage(n,h,c,p,f,r,a,s,l)}else t.drawImage(n,r,a,s,l)}}(t,e,z)):e.getTemporalDisplayables&&(4!==i.lastDrawType&&(I=!0,i.lastDrawType=4),function(t,e,i){var n,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:i.viewWidth,viewHeight:i.viewHeight,inHover:i.inHover};for(n=e.getCursor(),r=o.length;n<r;n++){var l=o[n];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),k(t,l,s,n===r-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=a.length;u<h;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),k(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,i));R&&n&&T(t,i),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),i.prevEl=e,e.__dirty=0,e.__isRendered=!0}},47865:function(t,e,i){function n(t){return isFinite(t)}function r(t,e,i){for(var r,o,a,s,l,u,h,c,p,f,d="radial"===e.type?(a=Math.min(r=i.width,o=i.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+i.x,l=l*o+i.y,u*=a),s=n(s)?s:.5,l=n(l)?l:.5,u=u>=0&&n(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(h=null==e.x?0:e.x,c=null==e.x2?1:e.x2,p=null==e.y?0:e.y,f=null==e.y2?0:e.y2,e.global||(h=h*i.width+i.x,c=c*i.width+i.x,p=p*i.height+i.y,f=f*i.height+i.y),h=n(h)?h:0,c=n(c)?c:1,p=n(p)?p:0,f=n(f)?f:0,t.createLinearGradient(h,p,c,f)),g=e.colorStops,y=0;y<g.length;y++)d.addColorStop(g[y].offset,g[y].color);return d}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,i){var n=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=i[n]&&"auto"!==i[n])return parseFloat(i[n]);var l=document.defaultView.getComputedStyle(t);return(t[r]||a(l[n])||a(t.style[n]))-(a(l[o])||0)-(a(l[s])||0)|0}i.d(e,{Ff:()=>r,KU:()=>o,YC:()=>s})},72076:function(t,e,i){i.d(e,{Y5:()=>o,_S:()=>s,el:()=>l,ps:()=>a,tY:()=>u});var n=i(35209),r=1;n.A.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},37793:function(t,e,i){i.d(e,{l:()=>n});function n(t,e,i,n,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>n+r||a<e-r&&a<n-r||o>t+r&&o>i+r||o<t-r&&o<i-r)return!1;if(t===i)return Math.abs(o-t)<=r/2;s=(e-n)/(t-i);var u=s*o-a+(l=(t*n-i*e)/(t-i));return u*u/(s*s+1)<=r/2*r/2}},90493:function(t,e,i){i.d(e,{l:()=>r});var n=i(26989);function r(t,e,i,r,o,a,s,l,u){return 0!==s&&(!(u>e+s)||!(u>r+s)||!(u>a+s))&&(!(u<e-s)||!(u<r-s)||!(u<a-s))&&(!(l>t+s)||!(l>i+s)||!(l>o+s))&&(!(l<t-s)||!(l<i-s)||!(l<o-s))&&(0,n.kh)(t,e,i,r,o,a,l,u,null)<=s/2}},23960:function(t,e,i){i.d(e,{NO:()=>u,RG:()=>s,X4:()=>d,ks:()=>p,ll:()=>h,lo:()=>f,sZ:()=>c});var n=i(51690),r=i(14407),o=i(46979),a={};function s(t,e){var i=a[e=e||o.OH];i||(i=a[e]=new r.Ay(500));var n=i.get(t);return null==n&&(n=o.yh.measureText(t,e).width,i.put(t,n)),n}function l(t,e,i,r){var o=s(t,e),a=p(e),l=h(0,o,i),u=c(0,a,r);return new n.A(l,u,o,a)}function u(t,e,i,r){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,i,r);for(var a=new n.A(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,i,r);0===s?a.copy(u):a.union(u)}return a}function h(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function c(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function p(t){return s("国",t)}function f(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,i){var n=e.position||"inside",r=null!=e.distance?e.distance:5,o=i.height,a=i.width,s=o/2,l=i.x,u=i.y,h="left",c="top";if(n instanceof Array)l+=f(n[0],i.width),u+=f(n[1],i.height),h=null,c=null;else switch(n){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}},50391:function(t,e,i){i.d(e,{n:()=>r});var n=2*Math.PI;function r(t){return(t%=n)<0&&(t+=n),t}},8163:function(t,e,i){i.d(e,{A:()=>n});function n(t,e,i,n,r,o){if(o>e&&o>n||o<e&&o<n||n===e)return 0;var a=(o-e)/(n-e),s=n<e?1:-1;(1===a||0===a)&&(s=n<e?.5:-.5);var l=a*(i-t)+t;return l===r?1/0:l>r?s:0}},51690:function(t,e,i){i.d(e,{A:()=>f});var n=i(37817),r=i(45400),o=Math.min,a=Math.max,s=new r.A,l=new r.A,u=new r.A,h=new r.A,c=new r.A,p=new r.A;let f=function(){function t(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}return t.prototype.union=function(t){var e=o(t.x,this.x),i=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=e,this.y=i},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,i=t.height/this.height,r=n.create();return n.translate(r,r,[-this.x,-this.y]),n.scale(r,r,[e,i]),n.translate(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,i){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,h=e.y,f=e.y+e.height,d=!(o<l||u<n||s<h||f<a);if(i){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-n),_=Math.abs(s-h),x=Math.abs(f-a),w=Math.min(v,m),b=Math.min(_,x);o<l||u<n?w>y&&(y=w,v<m?r.A.set(p,-v,0):r.A.set(p,m,0)):w<g&&(g=w,v<m?r.A.set(c,v,0):r.A.set(c,-m,0)),s<h||f<a?b>y&&(y=b,_<x?r.A.set(p,0,-_):r.A.set(p,0,x)):w<g&&(g=w,_<x?r.A.set(c,0,_):r.A.set(c,0,-x))}return i&&r.A.copy(i,d?c:p),d},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,i,n){if(!n){e!==i&&t.copy(e,i);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var r=n[0],c=n[3],p=n[4],f=n[5];e.x=i.x*r+p,e.y=i.y*c+f,e.width=i.width*r,e.height=i.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=i.x,s.y=h.y=i.y,l.x=h.x=i.x+i.width,l.y=u.y=i.y+i.height,s.transform(n),h.transform(n),l.transform(n),u.transform(n),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var d=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=d-e.x,e.height=g-e.y},t}()},16419:function(t,e,i){i.d(e,{A:()=>n});let n=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,i,n){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(n=i,i=e,e=null),!i||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===i)return this;var s={h:i,query:e,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],r=0,o=i[t].length;r<o;r++)i[t][r].h!==e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},t.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],r=this._$eventProcessor;if(n)for(var o=e.length,a=n.length,s=0;s<a;s++){var l=n[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],r=this._$eventProcessor;if(n)for(var o=e.length,a=e[o-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},14407:function(t,e,i){i.d(e,{Ay:()=>o});var n=function(t){this.value=t},r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();let o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,r=this._map,o=null;if(null==r[t]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},14230:function(t,e,i){i.d(e,{A:()=>l});var n=i(45400),r=[0,0],o=[0,0],a=new n.A,s=new n.A;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new n.A;for(var i=0;i<2;i++)this._axes[i]=new n.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var i=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(i[0].set(o,a),i[1].set(s,a),i[2].set(s,l),i[3].set(o,l),e)for(var u=0;u<4;u++)i[u].transform(e);n.A.sub(r[0],i[1],i[0]),n.A.sub(r[1],i[3],i[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(i[0])},t.prototype.intersect=function(t,e){var i=!0,r=!e;return(a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(i=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(i=!1,r))?i:(r||n.A.copy(e,i?a:s),i)},t.prototype._intersectCheckOneSide=function(t,e,i,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(u=!1,s)return u;var p=Math.abs(o[0]-r[1]),f=Math.abs(r[0]-o[1]);Math.min(p,f)>a.len()&&(p<f?n.A.scale(a,c,-p*l):n.A.scale(a,c,f*l))}else if(i){var p=Math.abs(o[0]-r[1]),f=Math.abs(r[0]-o[1]);Math.min(p,f)<i.len()&&(p<f?n.A.scale(i,c,p*l):n.A.scale(i,c,-f*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,i){for(var n=this._axes[t],r=this._origin,o=e[0].dot(n)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(n)+r[t];a=Math.min(u,a),s=Math.max(u,s)}i[0]=a,i[1]=s},t}()},40843:function(t,e,i){i.d(e,{A:()=>T,q:()=>A});var n=i(28535),r=i(51690),o=i(72076),a=i(6091),s=i(26989),l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],h=[],c=[],p=[],f=[],d=[],g=Math.min,y=Math.max,v=Math.cos,m=Math.sin,_=Math.abs,x=Math.PI,w=2*x,b="undefined"!=typeof Float32Array,S=[];function M(t){return Math.round(t/x*1e8)/1e8%2*x}function A(t,e){var i=M(t[0]);i<0&&(i+=w);var n=i-t[0],r=t[1];r+=n,!e&&r-i>=w?r=i+w:e&&i-r>=w?r=i-w:!e&&i>r?r=i+(w-M(i-r)):e&&i<r&&(r=i-(w-M(r-i))),t[0]=i,t[1]=r}let T=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,i){(i=i||0)>0&&(this._ux=_(i/o.Y5/t)||0,this._uy=_(i/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var i=_(t-this._xi),n=_(e-this._yi),r=i>this._ux||n>this._uy;if(this.addData(l.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=i*i+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,i,n,r,o){return this._drawPendingPt(),this.addData(l.C,t,e,i,n,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,i,n,r,o),this._xi=r,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,i,n){return this._drawPendingPt(),this.addData(l.Q,t,e,i,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,i,n),this._xi=i,this._yi=n,this},e.prototype.arc=function(t,e,i,n,r,o){this._drawPendingPt(),S[0]=n,S[1]=r,A(S,o),n=S[0];var a=(r=S[1])-n;return this.addData(l.A,t,e,i,i,n,a,0,+!o),this._ctx&&this._ctx.arc(t,e,i,n,r,o),this._xi=v(r)*i+t,this._yi=m(r)*i+e,this},e.prototype.arcTo=function(t,e,i,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,i,n,r),this},e.prototype.rect=function(t,e,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,i,n),this.addData(l.R,t,e,i,n),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&t.closePath(),this._xi=e,this._yi=i,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&b&&(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,r=0;r<e;r++)i+=t[r].len();b&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(var r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[n++]=o[a];this._len=n},e.prototype.addData=function(t,e,i,n,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,b&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){c[0]=c[1]=f[0]=f[1]=Number.MAX_VALUE,p[0]=p[1]=d[0]=d[1]=-Number.MAX_VALUE;var t,e=this.data,i=0,o=0,s=0,u=0;for(t=0;t<this._len;){var h=e[t++],g=1===t;switch(g&&(i=e[t],o=e[t+1],s=i,u=o),h){case l.M:i=s=e[t++],o=u=e[t++],f[0]=s,f[1]=u,d[0]=s,d[1]=u;break;case l.L:(0,a.j6)(i,o,e[t],e[t+1],f,d),i=e[t++],o=e[t++];break;case l.C:(0,a.BM)(i,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],f,d),i=e[t++],o=e[t++];break;case l.Q:(0,a.tW)(i,o,e[t++],e[t++],e[t],e[t+1],f,d),i=e[t++],o=e[t++];break;case l.A:var y=e[t++],_=e[t++],x=e[t++],w=e[t++],b=e[t++],S=e[t++]+b;t+=1;var M=!e[t++];g&&(s=v(b)*x+y,u=m(b)*w+_),(0,a.$s)(y,_,x,w,b,S,M,f,d),i=v(S)*x+y,o=m(S)*w+_;break;case l.R:s=i=e[t++],u=o=e[t++];var A=e[t++],T=e[t++];(0,a.j6)(s,u,s+A,u+T,f,d);break;case l.Z:i=s,o=u}n.min(c,c,f),n.max(p,p,d)}return 0===t&&(c[0]=c[1]=p[0]=p[1]=0),new r.A(c[0],c[1],p[0]-c[0],p[1]-c[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,i=this._ux,n=this._uy,r=0,o=0,a=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var h=this._pathSegLen,c=0,p=0,f=0;f<e;){var d=t[f++],x=1===f;x&&(r=t[f],o=t[f+1],a=r,u=o);var b=-1;switch(d){case l.M:r=a=t[f++],o=u=t[f++];break;case l.L:var S=t[f++],M=t[f++],A=S-r,T=M-o;(_(A)>i||_(T)>n||f===e-1)&&(b=Math.sqrt(A*A+T*T),r=S,o=M);break;case l.C:var C=t[f++],I=t[f++],S=t[f++],M=t[f++],k=t[f++],D=t[f++];b=(0,s.h0)(r,o,C,I,S,M,k,D,10),r=k,o=D;break;case l.Q:var C=t[f++],I=t[f++],S=t[f++],M=t[f++];b=(0,s.d8)(r,o,C,I,S,M,10),r=S,o=M;break;case l.A:var O=t[f++],P=t[f++],L=t[f++],R=t[f++],z=t[f++],E=t[f++],B=E+z;f+=1,x&&(a=v(z)*L+O,u=m(z)*R+P),b=y(L,R)*g(w,Math.abs(E)),r=v(B)*L+O,o=m(B)*R+P;break;case l.R:a=r=t[f++],u=o=t[f++],b=2*t[f++]+2*t[f++];break;case l.Z:var A=a-r,T=u-o;b=Math.sqrt(A*A+T*T),r=a,o=u}b>=0&&(h[p++]=b,c+=b)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,e){var i,n,r,o,a,c,p,f,d,x,w=this.data,b=this._ux,S=this._uy,M=this._len,A=e<1,T=0,C=0,I=0;if(!A||(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,f=e*this._pathLen))t:for(var k=0;k<M;){var D=w[k++],O=1===k;switch(O&&(r=w[k],o=w[k+1],i=r,n=o),D!==l.L&&I>0&&(t.lineTo(d,x),I=0),D){case l.M:i=r=w[k++],n=o=w[k++],t.moveTo(r,o);break;case l.L:a=w[k++],c=w[k++];var P=_(a-r),L=_(c-o);if(P>b||L>S){if(A){var R=p[C++];if(T+R>f){var z=(f-T)/R;t.lineTo(r*(1-z)+a*z,o*(1-z)+c*z);break t}T+=R}t.lineTo(a,c),r=a,o=c,I=0}else{var E=P*P+L*L;E>I&&(d=a,x=c,I=E)}break;case l.C:var B=w[k++],N=w[k++],V=w[k++],F=w[k++],H=w[k++],W=w[k++];if(A){var R=p[C++];if(T+R>f){var z=(f-T)/R;(0,s.YT)(r,B,V,H,z,u),(0,s.YT)(o,N,F,W,z,h),t.bezierCurveTo(u[1],h[1],u[2],h[2],u[3],h[3]);break t}T+=R}t.bezierCurveTo(B,N,V,F,H,W),r=H,o=W;break;case l.Q:var B=w[k++],N=w[k++],V=w[k++],F=w[k++];if(A){var R=p[C++];if(T+R>f){var z=(f-T)/R;(0,s.kx)(r,B,V,z,u),(0,s.kx)(o,N,F,z,h),t.quadraticCurveTo(u[1],h[1],u[2],h[2]);break t}T+=R}t.quadraticCurveTo(B,N,V,F),r=V,o=F;break;case l.A:var G=w[k++],U=w[k++],Y=w[k++],X=w[k++],j=w[k++],q=w[k++],Z=w[k++],K=!w[k++],$=Y>X?Y:X,Q=_(Y-X)>.001,J=j+q,tt=!1;if(A){var R=p[C++];T+R>f&&(J=j+q*(f-T)/R,tt=!0),T+=R}if(Q&&t.ellipse?t.ellipse(G,U,Y,X,Z,j,J,K):t.arc(G,U,$,j,J,K),tt)break t;O&&(i=v(j)*Y+G,n=m(j)*X+U),r=v(J)*Y+G,o=m(J)*X+U;break;case l.R:i=r=w[k],n=o=w[k+1],a=w[k++],c=w[k++];var te=w[k++],ti=w[k++];if(A){var R=p[C++];if(T+R>f){var tn=f-T;t.moveTo(a,c),t.lineTo(a+g(tn,te),c),(tn-=te)>0&&t.lineTo(a+te,c+g(tn,ti)),(tn-=ti)>0&&t.lineTo(a+y(te-tn,0),c+ti),(tn-=te)>0&&t.lineTo(a,c+y(ti-tn,0));break t}T+=R}t.rect(a,c,te,ti);break;case l.Z:if(A){var R=p[C++];if(T+R>f){var z=(f-T)/R;t.lineTo(r*(1-z)+i*z,o*(1-z)+n*z);break t}T+=R}t.closePath(),r=i,o=n}}},e.prototype.clone=function(){var t=new e,i=this.data;return t.data=i.slice?i.slice():Array.prototype.slice.call(i),t._len=this._len,t},e.CMD=l,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},45400:function(t,e,i){i.d(e,{A:()=>n});let n=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,i=this.y-t.y;return Math.sqrt(e*e+i*i)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,i=this.y-t.y;return e*e+i*i},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,i=this.y;return this.x=t[0]*e+t[2]*i+t[4],this.y=t[1]*e+t[3]*i+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,i){t.x=e,t.y=i},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,i){t.x=e.x+i.x,t.y=e.y+i.y},t.sub=function(t,e,i){t.x=e.x-i.x,t.y=e.y-i.y},t.scale=function(t,e,i){t.x=e.x*i,t.y=e.y*i},t.scaleAndAdd=function(t,e,i,n){t.x=e.x+i.x*n,t.y=e.y+i.y*n},t.lerp=function(t,e,i,n){var r=1-n;t.x=r*e.x+n*i.x,t.y=r*e.y+n*i.y},t}()},5486:function(t,e,i){i.d(e,{Ay:()=>d,IT:()=>f,Wx:()=>p});var n=i(37817),r=i(28535),o=n.identity;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=n.create(),h=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),i=this.transform;if(!(e||t)){i&&(o(i),this.invTransform=null);return}i=i||n.create(),e?this.getLocalTransform(i):o(i),t&&(e?n.mul(i,t,i):n.copy(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var i=s[0]<0?-1:1,r=s[1]<0?-1:1,o=((s[0]-i)*e+i)/s[0]||0,a=((s[1]-r)*e+r)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),r=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=i,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||n.create(),n.mul(l,t.invTransform,e),e=l);var i=this.originX,r=this.originY;(i||r)&&(u[4]=i,u[5]=r,n.mul(l,e,u),l[4]-=i,l[5]-=r,e=l),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&r.applyTransform(i,i,n),i},e.prototype.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&r.applyTransform(i,i,n),i},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){f(this,t)},e.getLocalTransform=function(t,e){e=e||[];var i=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,f=t.skewY?Math.tan(-t.skewY):0;if(i||r||s||l){var d=i+s,g=r+l;e[4]=-d*o-p*g*a,e[5]=-g*a-f*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=f*o,e[2]=p*a,u&&n.rotate(e,e,u),e[4]+=i+h,e[5]+=r+c,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function f(t,e){for(var i=0;i<p.length;i++){var n=p[i];t[n]=e[n]}}let d=c},6091:function(t,e,i){i.d(e,{$s:()=>_,BM:()=>v,Cr:()=>f,j6:()=>d,tW:()=>m});var n=i(28535),r=i(26989),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=n.create(),c=n.create(),p=n.create();function f(t,e,i){if(0!==t.length){for(var n=t[0],r=n[0],s=n[0],l=n[1],u=n[1],h=1;h<t.length;h++)r=o(r,(n=t[h])[0]),s=a(s,n[0]),l=o(l,n[1]),u=a(u,n[1]);e[0]=r,e[1]=l,i[0]=s,i[1]=u}}function d(t,e,i,n,r,s){r[0]=o(t,i),r[1]=o(e,n),s[0]=a(t,i),s[1]=a(e,n)}var g=[],y=[];function v(t,e,i,n,s,l,u,h,c,p){var f=r.lX,d=r.Yb,v=f(t,i,s,u,g);c[0]=1/0,c[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<v;m++){var _=d(t,i,s,u,g[m]);c[0]=o(_,c[0]),p[0]=a(_,p[0])}v=f(e,n,l,h,y);for(var m=0;m<v;m++){var x=d(e,n,l,h,y[m]);c[1]=o(x,c[1]),p[1]=a(x,p[1])}c[0]=o(t,c[0]),p[0]=a(t,p[0]),c[0]=o(u,c[0]),p[0]=a(u,p[0]),c[1]=o(e,c[1]),p[1]=a(e,p[1]),c[1]=o(h,c[1]),p[1]=a(h,p[1])}function m(t,e,i,n,s,l,u,h){var c=r.gC,p=r.k3,f=a(o(c(t,i,s),1),0),d=a(o(c(e,n,l),1),0),g=p(t,i,s,f),y=p(e,n,l,d);u[0]=o(t,s,g),u[1]=o(e,l,y),h[0]=a(t,s,g),h[1]=a(e,l,y)}function _(t,e,i,r,o,a,f,d,g){var y=n.min,v=n.max,m=Math.abs(o-a);if(m%u<1e-4&&m>1e-4){d[0]=t-i,d[1]=e-r,g[0]=t+i,g[1]=e+r;return}if(h[0]=l(o)*i+t,h[1]=s(o)*r+e,c[0]=l(a)*i+t,c[1]=s(a)*r+e,y(d,h,c),v(g,h,c),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!f?a+=u:o<a&&f&&(o+=u),f){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(p[0]=l(x)*i+t,p[1]=s(x)*r+e,y(d,p,d),v(g,p,g))}},26989:function(t,e,i){i.d(e,{Et:()=>m,YT:()=>v,Yb:()=>f,_E:()=>g,d8:()=>T,gC:()=>S,h0:()=>_,k3:()=>x,kh:()=>A,kx:()=>M,lX:()=>y,qY:()=>b,rD:()=>d,z7:()=>w});var n=i(28535),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,n.create)(),u=(0,n.create)(),h=(0,n.create)();function c(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function f(t,e,i,n,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*n+3*o*i)}function d(t,e,i,n,r){var o=1-r;return 3*(((e-t)*o+2*(i-e)*r)*o+(n-i)*r*r)}function g(t,e,i,n,l,u){var h=n+3*(e-i)-t,p=3*(i-2*e+t),f=3*(e-t),d=t-l,g=p*p-3*h*f,y=p*f-9*h*d,v=f*f-3*p*d,m=0;if(c(g)&&c(y))if(c(p))u[0]=0;else{var _=-f/p;_>=0&&_<=1&&(u[m++]=_)}else{var x=y*y-4*g*v;if(c(x)){var w=y/g,_=-p/h+w,b=-w/2;_>=0&&_<=1&&(u[m++]=_),b>=0&&b<=1&&(u[m++]=b)}else if(x>0){var S=o(x),M=g*p+1.5*h*(-y+S),A=g*p+1.5*h*(-y-S),_=(-p-((M=M<0?-r(-M,s):r(M,s))+(A=A<0?-r(-A,s):r(A,s))))/(3*h);_>=0&&_<=1&&(u[m++]=_)}else{var T=Math.acos((2*g*p-3*h*y)/(2*o(g*g*g)))/3,C=o(g),I=Math.cos(T),_=(-p-2*C*I)/(3*h),b=(-p+C*(I+a*Math.sin(T)))/(3*h),k=(-p+C*(I-a*Math.sin(T)))/(3*h);_>=0&&_<=1&&(u[m++]=_),b>=0&&b<=1&&(u[m++]=b),k>=0&&k<=1&&(u[m++]=k)}}return m}function y(t,e,i,n,r){var a=6*i-12*e+6*t,s=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(c(s)){if(p(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var f=a*a-4*s*l;if(c(f))r[0]=-a/(2*s);else if(f>0){var d=o(f),h=(-a+d)/(2*s),g=(-a-d)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function v(t,e,i,n,r,o){var a=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=n}function m(t,e,i,r,a,s,c,p,d,g,y){var v,m,_,x,w,b=.005,S=1/0;l[0]=d,l[1]=g;for(var M=0;M<1;M+=.05)u[0]=f(t,i,a,c,M),u[1]=f(e,r,s,p,M),(x=(0,n.distSquare)(l,u))<S&&(v=M,S=x);S=1/0;for(var A=0;A<32&&!(b<1e-4);A++)m=v-b,_=v+b,u[0]=f(t,i,a,c,m),u[1]=f(e,r,s,p,m),x=(0,n.distSquare)(u,l),m>=0&&x<S?(v=m,S=x):(h[0]=f(t,i,a,c,_),h[1]=f(e,r,s,p,_),w=(0,n.distSquare)(h,l),_<=1&&w<S?(v=_,S=w):b*=.5);return y&&(y[0]=f(t,i,a,c,v),y[1]=f(e,r,s,p,v)),o(S)}function _(t,e,i,n,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var g=d*p,y=f(t,i,r,a,g),v=f(e,n,o,s,g),m=y-u,_=v-h;c+=Math.sqrt(m*m+_*_),u=y,h=v}return c}function x(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function w(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function b(t,e,i,n,r){var a=t-2*e+i,s=2*(e-t),l=t-n,u=0;if(c(a)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var f=s*s-4*a*l;if(c(f)){var h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(f>0){var d=o(f),h=(-s+d)/(2*a),g=(-s-d)/(2*a);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function S(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function M(t,e,i,n,r){var o=(e-t)*n+t,a=(i-e)*n+e,s=(a-o)*n+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=i}function A(t,e,i,r,a,s,c,p,f){var d,g=.005,y=1/0;l[0]=c,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=x(t,i,a,v),u[1]=x(e,r,s,v);var m=(0,n.distSquare)(l,u);m<y&&(d=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var w=d-g,b=d+g;u[0]=x(t,i,a,w),u[1]=x(e,r,s,w);var m=(0,n.distSquare)(u,l);if(w>=0&&m<y)d=w,y=m;else{h[0]=x(t,i,a,b),h[1]=x(e,r,s,b);var S=(0,n.distSquare)(h,l);b<=1&&S<y?(d=b,y=S):g*=.5}}return f&&(f[0]=x(t,i,a,d),f[1]=x(e,r,s,d)),o(y)}function T(t,e,i,n,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,f=x(t,i,r,p),d=x(e,n,o,p),g=f-s,y=d-l;u+=Math.sqrt(g*g+y*y),s=f,l=d}return u}},26776:function(t,e,i){i.d(e,{lJ:()=>u,Me:()=>d,ot:()=>c,oq:()=>h});var n=i(35209),r=Math.log(2);function o(t,e,i,n,a,s){var l=n+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[i][h]}for(var c=n|1<<i,p=i+1;n&1<<p;)p++;for(var f=0,d=0,g=0;d<u;d++){var y=1<<d;!(y&a)&&(f+=(g%2?-1:1)*t[i][d]*o(t,e-1,p,c,a|y,s),g++)}return s[l]=f,f}function a(t,e){var i=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},r=o(i,8,0,0,0,n);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(i,7,+(0===s),1<<s,1<<l,n)/r*e[s];return function(t,e,i){var n=e*a[6]+i*a[7]+1;t[0]=(e*a[0]+i*a[1]+a[2])/n,t[1]=(e*a[3]+i*a[4]+a[5])/n}}}var s="___zrEVENTSAVED",l=[];function u(t,e,i,n,r){return h(l,e,n,r,!0)&&h(t,i,l[0],l[1])}function h(t,e,i,r,o){if(e.getBoundingClientRect&&n.A.domSupported&&!c(e)){var l=e[s]||(e[s]={}),u=function(t,e,i){for(var n=i?"invTrans":"trans",r=e[n],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),p=2*h,f=c.left,d=c.top;s.push(f,d),u=u&&o&&f===o[p]&&d===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[n]=i?a(l,s):a(s,l))}(function(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var n=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",r[u]+":0",n[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),i.push(a)}return i}(e,l),l,o);if(u)return u(t,i,r),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function d(t){return null==t?"":(t+"").replace(p,function(t,e){return f[e]})}},35209:function(t,e,i){i.d(e,{A:()=>f});var n,r,o,a,s,l,u,h,c=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},p=new function(){this.browser=new c,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(p.wxa=!0,p.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?p.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(p.node=!0,p.svgSupported=!0):(n=navigator.userAgent,o=(r=p).browser,a=n.match(/Firefox\/([\d.]+)/),s=n.match(/MSIE\s([\d.]+)/)||n.match(/Trident\/.+?rv:(([\d.]+))/),l=n.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(n),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),r.svgSupported="undefined"!=typeof SVGRect,r.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,r.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),r.domSupported="undefined"!=typeof document,h=document.documentElement.style,r.transform3dSupported=(o.ie&&"transition"in h||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in h)&&!("OTransition"in h),r.transformSupported=r.transform3dSupported||o.ie&&+o.version>=9);let f=p},77250:function(t,e,i){i.d(e,{W5:()=>g,Yo:()=>l,ds:()=>d,e0:()=>c,f:()=>f,mK:()=>h,q2:()=>p});var n=i(35209),r=i(26776),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=n.A.browser.firefox&&39>+n.A.browser.version.split(".")[0];function l(t,e,i,n){return i=i||{},n?u(t,e,i):s&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):u(t,e,i),i}function u(t,e,i){if(n.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.ot)(t)){var l=t.getBoundingClientRect();i.zrX=o-l.left,i.zrY=s-l.top;return}if((0,r.oq)(a,t,o,s)){i.zrX=a[0],i.zrY=a[1];return}}i.zrX=i.zrY=0}function h(t){return t||window.event}function c(t,e,i){if(null!=(e=h(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,i)}else{l(t,e,e,i);var a=function(t){var e=t.wheelDelta;if(e)return e;var i=t.deltaX,n=t.deltaY;return null==i||null==n?e:3*(0!==n?Math.abs(n):Math.abs(i))*(n>0?-1:n<0?1:i>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,i,n){t.addEventListener(e,i,n)}function f(t,e,i,n){t.removeEventListener(e,i,n)}var d=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},37817:function(t,e,i){function n(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],o=e[0]*i[2]+e[2]*i[3],a=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function l(t,e,i,n){void 0===n&&(n=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(i),c=Math.cos(i);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-n[0])+h*(u-n[1])+n[0],t[5]=c*(u-n[1])-h*(a-n[0])+n[1],t}function u(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t}function h(t,e){var i=e[0],n=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=i*a-o*n;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-a*r)*l,t[5]=(o*r-i*s)*l,t):null}function c(t){var e=n();return o(e,t),e}i.r(e),i.d(e,{clone:()=>c,copy:()=>o,create:()=>n,identity:()=>r,invert:()=>h,mul:()=>a,rotate:()=>l,scale:()=>u,translate:()=>s})},46979:function(t,e,i){i.d(e,{Gs:()=>h,OH:()=>s,gI:()=>o,yh:()=>u,zs:()=>a});var n,r,o=12,a="sans-serif",s="12px "+a,l=function(t){var e={};if("undefined"==typeof JSON)return e;for(var i=0;i<t.length;i++){var n=String.fromCharCode(i+32),r=(t.charCodeAt(i)-20)/100;e[n]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),u={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!n){var i=u.createCanvas();n=i&&i.getContext("2d")}if(n)return r!==e&&(r=n.font=e||s),n.measureText(t);t=t||"",e=e||s;var a=/(\d+)px/.exec(e),h=a&&+a[1]||o,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var p=0;p<t.length;p++){var f=l[t[p]];c+=null==f?h:f*h}return{width:c}},loadImage:function(t,e,i){var n=new Image;return n.onload=e,n.onerror=i,n.src=t,n}};function h(t){for(var e in u)t[e]&&(u[e]=t[e])}},24952:function(t,e,i){function n(t,e,i,n){var r=e+1;if(r===i)return 1;if(0>n(t[r++],t[e])){for(;r<i&&0>n(t[r],t[r-1]);)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<i&&n(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,i,n,r){for(n===e&&n++;n<i;n++){for(var o,a=t[n],s=e,l=n;s<l;)0>r(a,t[o=s+l>>>1])?l=o:s=o+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,i,n,r,o){var a=0,s=0,l=1;if(o(t,e[i+r])>0){for(s=n-r;l<s&&o(t,e[i+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[i+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[i+h])>0?a=h+1:l=h}return l}function a(t,e,i,n,r,o){var a=0,s=0,l=1;if(0>o(t,e[i+r])){for(s=r+1;l<s&&0>o(t,e[i+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=n-r;l<s&&o(t,e[i+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);0>o(t,e[i+h])?l=h:a=h+1}return l}function s(t,e,i,s){i||(i=0),s||(s=t.length);var l=s-i;if(!(l<2)){var u=0;if(l<32){u=n(t,i,s,e),r(t,i,s,i+u,e);return}var h=function(t,e){var i,n,r=7,s=0,l=[];function u(u){var h=i[u],c=n[u],p=i[u+1],f=n[u+1];n[u]=c+f,u===s-3&&(i[u+1]=i[u+2],n[u+1]=n[u+2]),s--;var d=a(t[p],t,h,c,0,e);h+=d,0==(c-=d)||0!==(f=o(t[h+c-1],t,p,f,f-1,e))&&(c<=f?function(i,n,s,u){var h,c,p,f=0;for(f=0;f<n;f++)l[f]=t[i+f];var d=0,g=s,y=i;if(t[y++]=t[g++],0==--u){for(f=0;f<n;f++)t[y+f]=l[d+f];return}if(1===n){for(f=0;f<u;f++)t[y+f]=t[g+f];t[y+u]=l[d];return}for(var v=r;;){h=0,c=0,p=!1;do if(0>e(t[g],l[d])){if(t[y++]=t[g++],c++,h=0,0==--u){p=!0;break}}else if(t[y++]=l[d++],h++,c=0,1==--n){p=!0;break}while((h|c)<v);if(p)break;do{if(0!==(h=a(t[g],l,d,n,0,e))){for(f=0;f<h;f++)t[y+f]=l[d+f];if(y+=h,d+=h,(n-=h)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(c=o(l[d],t,g,u,0,e))){for(f=0;f<c;f++)t[y+f]=t[g+f];if(y+=c,g+=c,0==(u-=c)){p=!0;break}}if(t[y++]=l[d++],1==--n){p=!0;break}v--}while(h>=7||c>=7);if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===n){for(f=0;f<u;f++)t[y+f]=t[g+f];t[y+u]=l[d]}else if(0===n)throw Error();else for(f=0;f<n;f++)t[y+f]=l[d+f]}(h,c,p,f):function(i,n,s,u){var h=0;for(h=0;h<u;h++)l[h]=t[s+h];var c=i+n-1,p=u-1,f=s+u-1,d=0,g=0;if(t[f--]=t[c--],0==--n){for(h=0,d=f-(u-1);h<u;h++)t[d+h]=l[h];return}if(1===u){for(f-=n,c-=n,g=f+1,d=c+1,h=n-1;h>=0;h--)t[g+h]=t[d+h];t[f]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[c])){if(t[f--]=t[c--],v++,m=0,0==--n){_=!0;break}}else if(t[f--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=n-a(l[p],t,i,n,n-1,e))){for(f-=v,c-=v,n-=v,g=f+1,d=c+1,h=v-1;h>=0;h--)t[g+h]=t[d+h];if(0===n){_=!0;break}}if(t[f--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[c],l,0,u,u-1,e))){for(f-=m,p-=m,u-=m,g=f+1,d=p+1,h=0;h<m;h++)t[g+h]=l[d+h];if(u<=1){_=!0;break}}if(t[f--]=t[c--],0==--n){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(f-=n,c-=n,g=f+1,d=c+1,h=n-1;h>=0;h--)t[g+h]=t[d+h];t[f]=l[p]}else if(0===u)throw Error();else for(h=0,d=f-(u-1);h<u;h++)t[d+h]=l[h]}(h,c,p,f))}return i=[],n=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]<n[t+1]&&t--;else if(n[t]>n[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&n[t-1]<n[t+1]&&t--,u(t)}},pushRun:function(t,e){i[s]=t,n[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=n(t,i,s,e))<c){var p=l;p>c&&(p=c),r(t,i,i+p,i+u,e),u=p}h.pushRun(i,u),h.mergeRuns(),l-=u,i+=u}while(0!==l);h.forceMergeRuns()}}i.d(e,{A:()=>s})},4884:function(t,e,i){i.r(e),i.d(e,{HashMap:()=>ts,RADIAN_TO_DEGREE:()=>td,assert:()=>tt,bind:()=>R,clone:()=>m,concatArray:()=>tu,createCanvas:()=>S,createHashMap:()=>tl,createObject:()=>th,curry:()=>z,defaults:()=>b,disableUserSelect:()=>tc,each:()=>I,eqNaN:()=>q,extend:()=>w,filter:()=>O,find:()=>P,guid:()=>y,hasOwn:()=>tp,indexOf:()=>M,inherits:()=>A,isArray:()=>E,isArrayLike:()=>C,isBuiltInObject:()=>W,isDom:()=>U,isFunction:()=>B,isGradientObject:()=>Y,isImagePatternObject:()=>X,isNumber:()=>F,isObject:()=>H,isPrimitive:()=>tr,isRegExp:()=>j,isString:()=>N,isStringSafe:()=>V,isTypedArray:()=>G,keys:()=>L,logError:()=>v,map:()=>k,merge:()=>_,mergeAll:()=>x,mixin:()=>T,noop:()=>tf,normalizeCssArray:()=>J,reduce:()=>D,retrieve:()=>Z,retrieve2:()=>K,retrieve3:()=>$,setAsPrimitive:()=>tn,slice:()=>Q,trim:()=>te});var n=i(46979),r=D(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=D(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,h=s.slice,c=s.map,p=(function(){}).constructor,f=p?p.prototype:null,d="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,i=a.call(t);if("[object Array]"===i){if(!t[ti]){e=[];for(var n=0,s=t.length;n<s;n++)e[n]=m(t[n])}}else if(o[i]){if(!t[ti]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var n=0,s=t.length;n<s;n++)e[n]=t[n]}}}else if(!r[i]&&!t[ti]&&!U(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==d&&(e[u]=m(t[u]));return e}function _(t,e,i){if(!H(e)||!H(t))return i?m(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==d){var r=t[n],o=e[n];!(H(o)&&H(r))||E(o)||E(r)||U(o)||U(r)||W(o)||W(r)||o[ti]||r[ti]?!i&&n in t||(t[n]=m(e[n])):_(r,o,i)}return t}function x(t,e){for(var i=t[0],n=1,r=t.length;n<r;n++)i=_(i,t[n],e);return i}function w(t,e){if(Object.assign)Object.assign(t,e);else for(var i in e)e.hasOwnProperty(i)&&i!==d&&(t[i]=e[i]);return t}function b(t,e,i){for(var n=L(e),r=0;r<n.length;r++){var o=n[r];(i?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var S=n.yh.createCanvas;function M(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return -1}function A(t,e){var i=t.prototype;function n(){}for(var r in n.prototype=e.prototype,t.prototype=new n,i)i.hasOwnProperty(r)&&(t.prototype[r]=i[r]);t.prototype.constructor=t,t.superClass=e}function T(t,e,i){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++){var o=n[r];"constructor"!==o&&(i?null!=e[o]:null==t[o])&&(t[o]=e[o])}else b(t,e,i)}function C(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function I(t,e,i){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,r=t.length;n<r;n++)e.call(i,t[n],n,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(i,t[o],o,t)}function k(t,e,i){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===c)return t.map(e,i);for(var n=[],r=0,o=t.length;r<o;r++)n.push(e.call(i,t[r],r,t));return n}function D(t,e,i,n){if(t&&e){for(var r=0,o=t.length;r<o;r++)i=e.call(n,i,t[r],r,t);return i}}function O(t,e,i){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===u)return t.filter(e,i);for(var n=[],r=0,o=t.length;r<o;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}function P(t,e,i){if(t&&e){for(var n=0,r=t.length;n<r;n++)if(e.call(i,t[n],n,t))return t[n]}}function L(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e}var R=f&&B(f.bind)?f.call.bind(f.bind):function(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return function(){return t.apply(e,i.concat(h.call(arguments)))}};function z(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function E(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function B(t){return"function"==typeof t}function N(t){return"string"==typeof t}function V(t){return"[object String]"===a.call(t)}function F(t){return"number"==typeof t}function H(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function W(t){return!!r[a.call(t)]}function G(t){return!!o[a.call(t)]}function U(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function Y(t){return null!=t.colorStops}function X(t){return null!=t.image}function j(t){return"[object RegExp]"===a.call(t)}function q(t){return t!=t}function Z(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=0,n=t.length;i<n;i++)if(null!=t[i])return t[i]}function K(t,e){return null!=t?t:e}function $(t,e,i){return null!=t?t:null!=e?e:i}function Q(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return h.apply(t,e)}function J(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw Error(e)}function te(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ti="__ec_primitive__";function tn(t){t[ti]=!0}function tr(t){return t[ti]}var to=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return L(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},t}(),ta="function"==typeof Map,ts=function(){function t(e){var i=E(e);this.data=ta?new Map:new to;var n=this;function r(t,e){i?n.set(t,e):n.set(e,t)}e instanceof t?e.each(r):e&&I(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(i,n){t.call(e,i,n)})},t.prototype.keys=function(){var t=this.data.keys();return ta?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tl(t){return new ts(t)}function tu(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];for(var r=t.length,n=0;n<e.length;n++)i[n+r]=e[n];return i}function th(t,e){var i;if(Object.create)i=Object.create(t);else{var n=function(){};n.prototype=t,i=new n}return e&&w(i,e),i}function tc(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tp(t,e){return t.hasOwnProperty(e)}function tf(){}var td=180/Math.PI},28535:function(t,e,i){function n(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,i){return t[0]=e,t[1]=i,t}function s(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function l(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function h(t){return Math.sqrt(p(t))}i.r(e),i.d(e,{add:()=>s,applyTransform:()=>A,clone:()=>o,copy:()=>r,create:()=>n,dist:()=>x,distSquare:()=>b,distance:()=>_,distanceSquare:()=>w,div:()=>g,dot:()=>y,len:()=>h,lenSquare:()=>p,length:()=>c,lengthSquare:()=>f,lerp:()=>M,max:()=>C,min:()=>T,mul:()=>d,negate:()=>S,normalize:()=>m,scale:()=>v,scaleAndAdd:()=>l,set:()=>a,sub:()=>u});var c=h;function p(t){return t[0]*t[0]+t[1]*t[1]}var f=p;function d(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t}function g(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function v(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function m(t,e){var i=h(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=_;function w(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var b=w;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function M(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function A(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t}function T(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function C(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}},58933:function(t,e,i){i.d(e,{A:()=>o});var n=i(74915),r=i(30070);let o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,n.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),i=0;i<t.length;i++)e=e||t[i].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.Ay.prototype.getBoundingRect.call(this)},e}(r.Ay)},38513:function(t,e,i){i.d(e,{Ay:()=>y,oN:()=>u,sW:()=>h});var n=i(74915),r=i(16476),o=i(51690),a=i(4884),s=i(63154),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],p=["invisible"],f=function(t){var e;function i(e){return t.call(this,e)||this}return(0,n.C6)(i,t),i.prototype._init=function(e){for(var i=(0,a.keys)(e),n=0;n<i.length;n++){var r=i[n];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},i.prototype.beforeBrush=function(){},i.prototype.afterBrush=function(){},i.prototype.innerBeforeBrush=function(){},i.prototype.innerAfterBrush=function(){},i.prototype.shouldBePainted=function(t,e,i,n){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,d.copy(r.getBoundingRect()),r.transform&&d.applyTransform(r.transform),g.width=o,g.height=a,!d.intersect(g))||s&&!s[0]&&!s[3])return!1;if(i&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(n&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},i.prototype.contain=function(t,e){return this.rectContain(t,e)},i.prototype.traverse=function(t,e){t.call(e,this)},i.prototype.rectContain=function(t,e){var i=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(i[0],i[1])},i.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,i=this.getBoundingRect(),n=this.style,r=n.shadowBlur||0,a=n.shadowOffsetX||0,s=n.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.A(0,0,0,0)),e?o.A.applyTransform(t,i,e):t.copy(i),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},i.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.A(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},i.prototype.getPrevPaintRect=function(){return this._prevPaintRect},i.prototype.animateStyle=function(t){return this.animate("style",t)},i.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},i.prototype.attrKV=function(e,i){"style"!==e?t.prototype.attrKV.call(this,e,i):this.style?this.setStyle(i):this.useStyle(i)},i.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},i.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},i.prototype.dirty=function(){this.dirtyStyle()},i.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},i.prototype.styleUpdated=function(){this.__dirty&=~s.pO},i.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},i.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},i.prototype.isStyleObject=function(t){return t[l]},i.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.style&&!i.style&&(i.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,i,c)},i.prototype._applyStateObj=function(e,i,n,r,o,s){t.prototype._applyStateObj.call(this,e,i,n,r,o,s);var l,u=!(i&&r);if(i&&i.style?o?r?l=i.style:(l=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(l,i.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:n.style),this._mergeStyle(l,i.style)):u&&(l=n.style),l)if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var f=(0,a.keys)(h),d=0;d<f.length;d++){var g=f[d];g in l&&(l[g]=l[g],this.style[g]=h[g])}for(var y=(0,a.keys)(l),d=0;d<y.length;d++){var g=y[d];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?p:c,d=0;d<v.length;d++){var g=v[d];i&&null!=i[g]?this[g]=i[g]:u&&null!=n[g]&&(this[g]=n[g])}},i.prototype._mergeStates=function(e){for(var i,n=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},i.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},i.prototype.getAnimationStyleProps=function(){return h},i.initDefaultProps=void((e=i.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),i}(r.A),d=new o.A(0,0,0,0),g=new o.A(0,0,0,0);let y=f},22251:function(t,e,i){i.d(e,{A:()=>n});let n=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},79620:function(t,e,i){i.d(e,{A:()=>l});var n=i(74915),r=i(4884),o=i(16476),a=i(51690),s=function(t){function e(e){var i=t.call(this)||this;return i.isGroup=!0,i._children=[],i.attr(e),i}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=0&&(i.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var i=r.indexOf(this._children,t);return i>=0&&this.replaceAt(e,i),this},e.prototype.replaceAt=function(t,e){var i=this._children,n=i[e];if(t&&t!==this&&t.parent!==this&&t!==n){i[e]=t,n.parent=null;var r=this.__zr;r&&n.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,i=this._children,n=r.indexOf(i,t);return n<0||(i.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,i=0;i<t.length;i++){var n=t[i];e&&n.removeSelfFromZr(e),n.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var i=this._children,n=0;n<i.length;n++){var r=i[n];t.call(e,r,n)}return this},e.prototype.traverse=function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i],r=t.call(e,n);n.isGroup&&!r&&n.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.A(0,0,0,0),i=t||this._children,n=[],r=null,o=0;o<i.length;o++){var s=i[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(n);u?(a.A.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.A);s.prototype.type="group";let l=s},64586:function(t,e,i){i.d(e,{Ay:()=>h});var n=i(74915),r=i(38513),o=i(51690),a=i(4884),s=(0,a.defaults)({x:0,y:0},r.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,i=this.style,n=i[t];if(null!=n)return n;var r=(e=i.image)&&"string"!=typeof e&&e.width&&e.height?i.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=i[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.A(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.Ay);u.prototype.type="image";let h=u},83081:function(t,e,i){i.d(e,{A:()=>s});var n=i(74915),r=i(38513),o=i(51690),a=[];let s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,n.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.A(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(a)),t.union(n)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(i[0],i[1])){for(var n=0;n<this._displayables.length;n++)if(this._displayables[n].contain(t,e))return!0}return!1},e}(r.Ay)},87142:function(t,e,i){i.d(e,{A:()=>r});var n=i(74915);let r=function(t){function e(e,i,n,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==i?0:i,s.x2=null==n?1:n,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,n.C6)(e,t),e}(i(22251).A)},30070:function(t,e,i){i.d(e,{MW:()=>b,Ay:()=>A});var n=i(74915),r=i(38513),o=i(40843),a=i(37793),s=i(26989),l=i(90493),u=i(50391),h=2*Math.PI,c=i(8163),p=o.A.CMD,f=2*Math.PI,d=[-1,-1,-1],g=[-1,-1];function y(t,e,i,n,r){for(var o,y,v=t.data,m=t.len(),_=0,x=0,w=0,b=0,S=0,M=0;M<m;){var A,T,C,I,k,D,O,P,L=v[M++],R=1===M;switch(L===p.M&&M>1&&!i&&(_+=(0,c.A)(x,w,b,S,n,r)),R&&(x=v[M],w=v[M+1],b=x,S=w),L){case p.M:b=v[M++],S=v[M++],x=b,w=S;break;case p.L:if(i){if(a.l(x,w,v[M],v[M+1],e,n,r))return!0}else _+=(0,c.A)(x,w,v[M],v[M+1],n,r)||0;x=v[M++],w=v[M++];break;case p.C:if(i){if(A=x,T=w,C=v[M++],I=v[M++],k=v[M++],D=v[M++],O=v[M],P=v[M+1],0!==e&&(!(r>T+e)||!(r>I+e)||!(r>D+e)||!(r>P+e))&&(!(r<T-e)||!(r<I-e)||!(r<D-e)||!(r<P-e))&&(!(n>A+e)||!(n>C+e)||!(n>k+e)||!(n>O+e))&&(!(n<A-e)||!(n<C-e)||!(n<k-e)||!(n<O-e))&&s.Et(A,T,C,I,k,D,O,P,n,r,null)<=e/2)return!0}else _+=function(t,e,i,n,r,o,a,l,u,h){if(h>e&&h>n&&h>o&&h>l||h<e&&h<n&&h<o&&h<l)return 0;var c=s._E(e,n,o,l,h,d);if(0===c)return 0;for(var p=0,f=-1,y=void 0,v=void 0,m=0;m<c;m++){var _=d[m],x=0===_||1===_?.5:1;s.Yb(t,i,r,a,_)<u||(f<0&&(f=s.lX(e,n,o,l,g),g[1]<g[0]&&f>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=s.Yb(e,n,o,l,g[0]),f>1&&(v=s.Yb(e,n,o,l,g[1]))),2===f?_<g[0]?p+=y<e?x:-x:_<g[1]?p+=v<y?x:-x:p+=l<v?x:-x:_<g[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(x,w,v[M++],v[M++],v[M++],v[M++],v[M],v[M+1],n,r)||0;x=v[M++],w=v[M++];break;case p.Q:if(i){if(l.l(x,w,v[M++],v[M++],v[M],v[M+1],e,n,r))return!0}else _+=function(t,e,i,n,r,o,a,l){if(l>e&&l>n&&l>o||l<e&&l<n&&l<o)return 0;var u=s.qY(e,n,o,l,d);if(0===u)return 0;var h=s.gC(e,n,o);if(h>=0&&h<=1){for(var c=0,p=s.k3(e,n,o,h),f=0;f<u;f++){var g=0===d[f]||1===d[f]?.5:1,y=s.k3(t,i,r,d[f]);y<a||(d[f]<h?c+=p<e?g:-g:c+=o<p?g:-g)}return c}var g=0===d[0]||1===d[0]?.5:1,y=s.k3(t,i,r,d[0]);return y<a?0:o<e?g:-g}(x,w,v[M++],v[M++],v[M],v[M+1],n,r)||0;x=v[M++],w=v[M++];break;case p.A:var z=v[M++],E=v[M++],B=v[M++],N=v[M++],V=v[M++],F=v[M++];M+=1;var H=!!(1-v[M++]);o=Math.cos(V)*B+z,y=Math.sin(V)*N+E,R?(b=o,S=y):_+=(0,c.A)(x,w,o,y,n,r);var W=(n-z)*N/B+z;if(i){if(function(t,e,i,n,r,o,a,s,l){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(l-=e)*l);if(c-a>i||c+a<i)return!1;if(Math.abs(n-r)%h<1e-4)return!0;if(o){var p=n;n=(0,u.n)(r),r=(0,u.n)(p)}else n=(0,u.n)(n),r=(0,u.n)(r);n>r&&(r+=h);var f=Math.atan2(l,s);return f<0&&(f+=h),f>=n&&f<=r||f+h>=n&&f+h<=r}(z,E,N,V,V+F,H,e,W,r))return!0}else _+=function(t,e,i,n,r,o,a,s){if((s-=e)>i||s<-i)return 0;var l=Math.sqrt(i*i-s*s);d[0]=-l,d[1]=l;var u=Math.abs(n-r);if(u<1e-4)return 0;if(u>=f-1e-4){n=0,r=f;var h=o?1:-1;return a>=d[0]+t&&a<=d[1]+t?h:0}if(n>r){var c=n;n=r,r=c}n<0&&(n+=f,r+=f);for(var p=0,g=0;g<2;g++){var y=d[g];if(y+t>a){var v=Math.atan2(s,y),h=o?1:-1;v<0&&(v=f+v),(v>=n&&v<=r||v+f>=n&&v+f<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}(z,E,N,V,V+F,H,W,r);x=Math.cos(V+F)*B+z,w=Math.sin(V+F)*N+E;break;case p.R:b=x=v[M++],S=w=v[M++];var G=v[M++],U=v[M++];if(o=b+G,y=S+U,i){if(a.l(b,S,o,S,e,n,r)||a.l(o,S,o,y,e,n,r)||a.l(o,y,b,y,e,n,r)||a.l(b,y,b,S,e,n,r))return!0}else _+=(0,c.A)(o,S,o,y,n,r),_+=(0,c.A)(b,y,b,S,n,r);break;case p.Z:if(i){if(a.l(x,w,b,S,e,n,r))return!0}else _+=(0,c.A)(x,w,b,S,n,r);x=b,w=S}}return i||1e-4>Math.abs(w-S)||(_+=(0,c.A)(x,w,b,S,n,r)||0),0!==_}var v=i(4884),m=i(34196),_=i(72076),x=i(63154),w=i(5486),b=(0,v.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.oN),S={style:(0,v.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.sW.style)},M=w.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);let A=function(t){var e;function i(e){return t.call(this,e)||this}return(0,n.C6)(i,t),i.prototype.update=function(){var e=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var r=this._decalEl=this._decalEl||new i;r.buildPath===i.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=x.M}else this._decalEl&&(this._decalEl=null)},i.prototype.getDecalElement=function(){return this._decalEl},i.prototype._init=function(e){var i=(0,v.keys)(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var r=0;r<i.length;r++){var o=i[r],a=e[o];"style"===o?this.style?(0,v.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,v.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},i.prototype.getDefaultStyle=function(){return null},i.prototype.getDefaultShape=function(){return{}},i.prototype.canBeInsideText=function(){return this.hasFill()},i.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.isString)(t)){var e=(0,m.lum)(t,0);return e>.5?_._S:e>.2?_.tY:_.el}else if(t)return _.el}return _._S},i.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.isString)(e)){var i=this.__zr;if(!!(i&&i.isDarkMode())==(0,m.lum)(t,0)<_.ps)return e}},i.prototype.buildPath=function(t,e,i){},i.prototype.pathUpdated=function(){this.__dirty&=~x.Dl},i.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},i.prototype.createPathProxy=function(){this.path=new o.A(!1)},i.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},i.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},i.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var r=this.path;(n||this.__dirty&x.Dl)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},i.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},i.prototype.dirtyShape=function(){this.__dirty|=x.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},i.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},i.prototype.animateShape=function(t){return this.animate("shape",t)},i.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},i.prototype.attrKV=function(e,i){"shape"===e?this.setShape(i):t.prototype.attrKV.call(this,e,i)},i.prototype.setShape=function(t,e){var i=this.shape;return i||(i=this.shape={}),"string"==typeof t?i[t]=e:(0,v.extend)(i,t),this.dirtyShape(),this},i.prototype.shapeChanged=function(){return!!(this.__dirty&x.Dl)},i.prototype.createStyle=function(t){return(0,v.createObject)(b,t)},i.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.shape&&!i.shape&&(i.shape=(0,v.extend)({},this.shape))},i.prototype._applyStateObj=function(e,i,n,r,o,a){t.prototype._applyStateObj.call(this,e,i,n,r,o,a);var s,l=!(i&&r);if(i&&i.shape?o?r?s=i.shape:(s=(0,v.extend)({},n.shape),(0,v.extend)(s,i.shape)):(s=(0,v.extend)({},r?this.shape:n.shape),(0,v.extend)(s,i.shape)):l&&(s=n.shape),s)if(o){this.shape=(0,v.extend)({},this.shape);for(var u={},h=(0,v.keys)(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},i.prototype._mergeStates=function(e){for(var i,n=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(n.shape=i),n},i.prototype.getAnimationStyleProps=function(){return S},i.prototype.isZeroArea=function(){return!1},i.extend=function(t){var e=function(e){function i(i){var n=e.call(this,i)||this;return t.init&&t.init.call(n,i),n}return(0,n.C6)(i,e),i.prototype.getDefaultStyle=function(){return(0,v.clone)(t.style)},i.prototype.getDefaultShape=function(){return(0,v.clone)(t.shape)},i}(i);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},i.initDefaultProps=void((e=i.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=x.M|x.pO|x.Dl),i}(r.Ay)},12152:function(t,e,i){i.d(e,{A:()=>r});var n=i(74915);let r=function(t){function e(e,i,n,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==i?.5:i,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return(0,n.C6)(e,t),e}(i(22251).A)},27575:function(t,e,i){i.d(e,{A:()=>c});var n=i(74915),r=i(38513),o=i(23960),a=i(30070),s=i(4884),l=i(46979),u=(0,s.defaults)({strokeFirst:!0,font:l.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.MW),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.createObject)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var i=(0,o.NO)(e,t.font,t.textAlign,t.textBaseline);if(i.x+=t.x||0,i.y+=t.y||0,this.hasStroke()){var n=t.lineWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.Ay);h.prototype.type="tspan";let c=h},52384:function(t,e,i){i.d(e,{Ay:()=>I,I5:()=>_,XE:()=>w});var n=i(74915),r=i(7988),o=i(27575),a=i(4884),s=i(23960),l=i(64586),u=i(63811),h=i(51690),c=i(38513),p=i(46979),f={fill:"#000"},d={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},c.sW.style)},g=function(t){function e(e){var i=t.call(this)||this;return i.type="text",i._children=[],i._defaultStyle=f,i.attr(e),i}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var i=this._children[e];i.zlevel=this.zlevel,i.z=this.z,i.z2=this.z2,i.culling=this.culling,i.cursor=this.cursor,i.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var i=this.innerTransformable;return i?i.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,b(t=this.style),(0,a.each)(t.rich,b),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new h.A(0,0,0,0),e=this._children,i=[],n=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(i);s?(t.copy(a),t.applyTransform(s),(n=n||t.clone()).union(t)):(n=n||a.clone()).union(a)}this._rect=n||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||f},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var i=e.rich,n=t.rich||i&&{};return(0,a.extend)(t,e),i&&n?(this._mergeRich(n,i),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var i=(0,a.keys)(e),n=0;n<i.length;n++){var r=i[n];t[r]=t[r]||{},(0,a.extend)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return d},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||p.OH,i=t.padding,n=T(t),a=(0,r.j_)(n,t),l=C(t),u=!!t.backgroundColor,c=a.outerHeight,f=a.outerWidth,d=a.contentWidth,g=a.lines,y=a.lineHeight,v=this._defaultStyle,m=t.x||0,_=t.y||0,w=t.align||v.align||"left",b=t.verticalAlign||v.verticalAlign||"top",I=m,k=(0,s.sZ)(_,a.contentHeight,b);if(l||i){var D=(0,s.ll)(m,f,w),O=(0,s.sZ)(_,c,b);l&&this._renderBackground(t,t,D,O,f,c)}k+=y/2,i&&(I=A(m,w,i),"top"===b?k+=i[0]:"bottom"===b&&(k-=i[2]));for(var P=0,L=!1,R=M("fill"in t?t.fill:(L=!0,v.fill)),z=S("stroke"in t?t.stroke:u||v.autoStroke&&!L?null:(P=2,v.stroke)),E=t.textShadowBlur>0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),N=a.calculatedLineHeight,V=0;V<g.length;V++){var F=this._getOrCreateChild(o.A),H=F.createStyle();F.useStyle(H),H.text=g[V],H.x=I,H.y=k,w&&(H.textAlign=w),H.textBaseline="middle",H.opacity=t.opacity,H.strokeFirst=!0,E&&(H.shadowBlur=t.textShadowBlur||0,H.shadowColor=t.textShadowColor||"transparent",H.shadowOffsetX=t.textShadowOffsetX||0,H.shadowOffsetY=t.textShadowOffsetY||0),H.stroke=z,H.fill=R,z&&(H.lineWidth=t.lineWidth||P,H.lineDash=t.lineDash,H.lineDashOffset=t.lineDashOffset||0),H.font=e,x(H,t),k+=y,B&&F.setBoundingRect(new h.A((0,s.ll)(H.x,t.width,H.textAlign),(0,s.sZ)(H.y,N,H.textBaseline),d,N))}},e.prototype._updateRichTexts=function(){var t=this.style,e=T(t),i=(0,r.FQ)(e,t),n=i.width,o=i.outerWidth,a=i.outerHeight,l=t.padding,u=t.x||0,h=t.y||0,c=this._defaultStyle,p=t.align||c.align,f=t.verticalAlign||c.verticalAlign,d=(0,s.ll)(u,o,p),g=(0,s.sZ)(h,a,f),y=d,v=g;l&&(y+=l[3],v+=l[0]);var m=y+n;C(t)&&this._renderBackground(t,t,d,g,o,a);for(var _=!!t.backgroundColor,x=0;x<i.lines.length;x++){for(var w=i.lines[x],b=w.tokens,S=b.length,M=w.lineHeight,A=w.width,I=0,k=y,D=m,O=S-1,P=void 0;I<S&&(!(P=b[I]).align||"left"===P.align);)this._placeToken(P,t,M,v,k,"left",_),A-=P.width,k+=P.width,I++;for(;O>=0&&"right"===(P=b[O]).align;)this._placeToken(P,t,M,v,D,"right",_),A-=P.width,D-=P.width,O--;for(k+=(n-(k-y)-(m-D)-A)/2;I<=O;)P=b[I],this._placeToken(P,t,M,v,k+P.width/2,"center",_),k+=P.width,I++;v+=M}},e.prototype._placeToken=function(t,e,i,n,r,l,u){var c=e.rich[t.styleName]||{};c.text=t.text;var f=t.verticalAlign,d=n+i/2;"top"===f?d=n+t.height/2:"bottom"===f&&(d=n+i-t.height/2),!t.isLineHolder&&C(c)&&this._renderBackground(c,e,"right"===l?r-t.width:"center"===l?r-t.width/2:r,d-t.height/2,t.width,t.height);var g=!!c.backgroundColor,y=t.textPadding;y&&(r=A(r,l,y),d-=t.height/2-y[0]-t.innerHeight/2);var v=this._getOrCreateChild(o.A),m=v.createStyle();v.useStyle(m);var _=this._defaultStyle,w=!1,b=0,T=M("fill"in c?c.fill:"fill"in e?e.fill:(w=!0,_.fill)),I=S("stroke"in c?c.stroke:"stroke"in e?e.stroke:g||u||_.autoStroke&&!w?null:(b=2,_.stroke)),k=c.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=r,m.y=d,k&&(m.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,m.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",m.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,m.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),m.textAlign=l,m.textBaseline="middle",m.font=t.font||p.OH,m.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),x(m,c),I&&(m.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,b),m.lineDash=(0,a.retrieve2)(c.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=I),T&&(m.fill=T);var D=t.contentWidth,O=t.contentHeight;v.setBoundingRect(new h.A((0,s.ll)(m.x,D,m.textAlign),(0,s.sZ)(m.y,O,m.textBaseline),D,O))},e.prototype._renderBackground=function(t,e,i,n,r,o){var s,h,c=t.backgroundColor,p=t.borderWidth,f=t.borderColor,d=c&&c.image,g=c&&!d,y=t.borderRadius,v=this;if(g||t.lineHeight||p&&f){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=i,m.y=n,m.width=r,m.height=o,m.r=y,s.dirtyShape()}if(g){var _=s.style;_.fill=c||null,_.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(d){(h=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var x=h.style;x.image=c.image,x.x=i,x.y=n,x.width=r,x.height=o}if(p&&f){var _=s.style;_.lineWidth=p,_.stroke=f,_.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var w=(s||h).style;w.shadowBlur=t.shadowBlur||0,w.shadowColor=t.shadowColor||"transparent",w.shadowOffsetX=t.shadowOffsetX||0,w.shadowOffsetY=t.shadowOffsetY||0,w.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return w(t)&&(e=[t.fontStyle,t.fontWeight,_(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,a.trim)(e)||t.textFont||t.font},e}(c.Ay),y={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t){return"string"==typeof t&&(-1!==t.indexOf("px")||-1!==t.indexOf("rem")||-1!==t.indexOf("em"))?t:isNaN(+t)?p.gI+"px":t+"px"}function x(t,e){for(var i=0;i<m.length;i++){var n=m[i],r=e[n];null!=r&&(t[n]=r)}}function w(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function b(t){if(t){t.font=g.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||y[e]?e:"left";var i=t.verticalAlign;"center"===i&&(i="middle"),t.verticalAlign=null==i||v[i]?i:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function S(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function M(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function A(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function T(t){var e=t.text;return null!=e&&(e+=""),e}function C(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let I=g},63154:function(t,e,i){i.d(e,{Dl:()=>o,M:()=>n,pO:()=>r});var n=1,r=2,o=4},6945:function(t,e,i){i.d(e,{OD:()=>s,SR:()=>a,xA:()=>u});var n=i(14407),r=i(46979),o=new n.Ay(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,i,n,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!i)return e;var s=o.get(t),h={hostEl:i,cb:n,cbPayload:a};return s?u(e=s.image)||s.pending.push(h):((e=r.yh.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},7988:function(t,e,i){i.d(e,{EJ:()=>s,FQ:()=>d,j_:()=>h});var n=i(6945),r=i(4884),o=i(23960),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,i,n,r){if(!e)return"";var o=(t+"").split("\n");r=l(e,i,n,r);for(var a=0,s=o.length;a<s;a++)o[a]=u(o[a],r);return o.join("\n")}function l(t,e,i,n){n=n||{};var a=(0,r.extend)({},n);a.font=e,i=(0,r.retrieve2)(i,"..."),a.maxIterations=(0,r.retrieve2)(n.maxIterations,2);var s=a.minChar=(0,r.retrieve2)(n.minChar,0);a.cnCharWidth=(0,o.RG)("国",e);var l=a.ascCharWidth=(0,o.RG)("a",e);a.placeholder=(0,r.retrieve2)(n.placeholder,"");for(var u=t=Math.max(0,t-1),h=0;h<s&&u>=l;h++)u-=l;var c=(0,o.RG)(i,e);return c>u&&(i="",c=0),u=t-c,a.ellipsis=i,a.ellipsisWidth=c,a.contentWidth=u,a.containerWidth=t,a}function u(t,e){var i=e.containerWidth,n=e.font,r=e.contentWidth;if(!i)return"";var a=(0,o.RG)(t,n);if(a<=i)return t;for(var s=0;;s++){if(a<=r||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?function(t,e,i,n){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?i:n}return o}(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,l),a=(0,o.RG)(t,n)}return""===t&&(t=e.placeholder),t}function h(t,e){null!=t&&(t+="");var i,n=e.overflow,a=e.padding,s=e.font,h=(0,o.ks)(s),c=(0,r.retrieve2)(e.lineHeight,h),p=!!e.backgroundColor,f="truncate"===e.lineOverflow,d=e.width,g=(i=null!=d&&("break"===n||"breakAll"===n)?t?v(t,e.font,d,"breakAll"===n,0).lines:[]:t?t.split("\n"):[]).length*c,y=(0,r.retrieve2)(e.height,g);if(g>y&&f){var m=Math.floor(y/c);i=i.slice(0,m)}if(t&&"truncate"===n&&null!=d)for(var _=l(d,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;x<i.length;x++)i[x]=u(i[x],_);for(var w=y,b=0,x=0;x<i.length;x++)b=Math.max((0,o.RG)(i[x],s),b);null==d&&(d=b);var S=b;return a&&(w+=a[0]+a[2],S+=a[1]+a[3],d+=a[1]+a[3]),p&&(S=d),{lines:i,height:y,outerWidth:S,outerHeight:w,lineHeight:c,calculatedLineHeight:h,contentWidth:b,contentHeight:g,width:d}}var c=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},f=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function d(t,e){var i,l=new f;if(null!=t&&(t+=""),!t)return l;for(var u=e.width,h=e.height,c=e.overflow,p=("break"===c||"breakAll"===c)&&null!=u?{width:u,accumWidth:0,breakAll:"breakAll"===c}:null,d=a.lastIndex=0;null!=(i=a.exec(t));){var y=i.index;y>d&&g(l,t.substring(d,y),e,p),g(l,i[2],e,p,i[1]),d=a.lastIndex}d<t.length&&g(l,t.substring(d,t.length),e,p);var v=[],m=0,_=0,x=e.padding,w="truncate"===c,b="truncate"===e.lineOverflow;function S(t,e,i){t.width=e,t.lineHeight=i,m+=i,_=Math.max(_,e)}e:for(var M=0;M<l.lines.length;M++){for(var A=l.lines[M],T=0,C=0,I=0;I<A.tokens.length;I++){var k=A.tokens[I],D=k.styleName&&e.rich[k.styleName]||{},O=k.textPadding=D.padding,P=O?O[1]+O[3]:0,L=k.font=D.font||e.font;k.contentHeight=(0,o.ks)(L);var R=(0,r.retrieve2)(D.height,k.contentHeight);if(k.innerHeight=R,O&&(R+=O[0]+O[2]),k.height=R,k.lineHeight=(0,r.retrieve3)(D.lineHeight,e.lineHeight,R),k.align=D&&D.align||e.align,k.verticalAlign=D&&D.verticalAlign||"middle",b&&null!=h&&m+k.lineHeight>h){I>0?(A.tokens=A.tokens.slice(0,I),S(A,C,T),l.lines=l.lines.slice(0,M+1)):l.lines=l.lines.slice(0,M);break e}var z=D.width,E=null==z||"auto"===z;if("string"==typeof z&&"%"===z.charAt(z.length-1))k.percentWidth=z,v.push(k),k.contentWidth=(0,o.RG)(k.text,L);else{if(E){var B=D.backgroundColor,N=B&&B.image;N&&(N=n.SR(N),n.xA(N)&&(k.width=Math.max(k.width,N.width*R/N.height)))}var V=w&&null!=u?u-C:null;null!=V&&V<k.width?!E||V<P?(k.text="",k.width=k.contentWidth=0):(k.text=s(k.text,V-P,L,e.ellipsis,{minChar:e.truncateMinChar}),k.width=k.contentWidth=(0,o.RG)(k.text,L)):k.contentWidth=(0,o.RG)(k.text,L)}k.width+=P,C+=k.width,D&&(T=Math.max(T,k.lineHeight))}S(A,C,T)}l.outerWidth=l.width=(0,r.retrieve2)(u,_),l.outerHeight=l.height=(0,r.retrieve2)(h,m),l.contentHeight=m,l.contentWidth=_,x&&(l.outerWidth+=x[1]+x[3],l.outerHeight+=x[0]+x[2]);for(var M=0;M<v.length;M++){var k=v[M],F=k.percentWidth;k.width=parseInt(F,10)/100*l.width}return l}function g(t,e,i,n,r){var a,s,l=""===e,u=r&&i.rich[r]||{},h=t.lines,f=u.font||i.font,d=!1;if(n){var g=u.padding,y=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,o.lo)(u.width,n.width)+y;h.length>0&&m+n.accumWidth>n.width&&(a=e.split("\n"),d=!0),n.accumWidth=m}else{var _=v(e,f,n.width,n.breakAll,n.accumWidth);n.accumWidth=_.accumWidth+y,s=_.linesWidths,a=_.lines}}else a=e.split("\n");for(var x=0;x<a.length;x++){var w=a[x],b=new c;if(b.styleName=r,b.text=w,b.isLineHolder=!w&&!l,"number"==typeof u.width?b.width=u.width:b.width=s?s[x]:(0,o.RG)(w,f),x||d)h.push(new p([b]));else{var S=(h[h.length-1]||(h[0]=new p)).tokens,M=S.length;1===M&&S[0].isLineHolder?S[0]=b:(w||!M||l)&&S.push(b)}}}var y=(0,r.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function v(t,e,i,n,r){for(var a=[],s=[],l="",u="",h=0,c=0,p=0;p<t.length;p++){var f=t.charAt(p);if("\n"===f){u&&(l+=u,c+=h),a.push(l),s.push(c),l="",u="",h=0,c=0;continue}var d=(0,o.RG)(f,e),g=!n&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!y[t]}(f);if(a.length?c+d>i:r+c+d>i){c?(l||u)&&(g?(l||(l=u,u="",c=h=0),a.push(l),s.push(c-h),u+=f,h+=d,l="",c=h):(u&&(l+=u,u="",h=0),a.push(l),s.push(c),l=f,c=d)):g?(a.push(u),s.push(h),u=f,h=d):(a.push(f),s.push(d));continue}c+=d,g?(u+=f,h+=d):(u&&(l+=u,u="",h=0),l+=f)}return a.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(a.push(l),s.push(c)),1===a.length&&(c+=r),{accumWidth:c,lines:a,linesWidths:s}}},59838:function(t,e,i){i.d(e,{U:()=>r});var n=i(28535);function r(t,e,i){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,i,r){var o,a,s,l,u=[],h=[],c=[],p=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var f=0,d=t.length;f<d;f++)(0,n.min)(s,s,t[f]),(0,n.max)(l,l,t[f]);(0,n.min)(s,s,r[0]),(0,n.max)(l,l,r[1])}for(var f=0,d=t.length;f<d;f++){var g=t[f];if(i)o=t[f?f-1:d-1],a=t[(f+1)%d];else if(0===f||f===d-1){u.push((0,n.clone)(t[f]));continue}else o=t[f-1],a=t[f+1];(0,n.sub)(h,a,o),(0,n.scale)(h,h,e);var y=(0,n.distance)(g,o),v=(0,n.distance)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,n.scale)(c,h,-y),(0,n.scale)(p,h,v);var _=(0,n.add)([],g,c),x=(0,n.add)([],g,p);r&&((0,n.max)(_,_,s),(0,n.min)(_,_,l),(0,n.max)(x,x,s),(0,n.min)(x,x,l)),u.push(_),u.push(x)}return i&&u.push(u.shift()),u}(o,r,i,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(i?s:s-1);l++){var u=a[2*l],h=a[2*l+1],c=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}i&&t.closePath()}}},33915:function(t,e,i){i.d(e,{M7:()=>a,Op:()=>o,eB:()=>r});var n=Math.round;function r(t,e,i){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=i&&i.lineWidth;return u&&(n(2*r)===n(2*o)&&(t.x1=t.x2=a(r,u,!0)),n(2*s)===n(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,i){if(e){var n=e.x,r=e.y,o=e.width,s=e.height;t.x=n,t.y=r,t.width=o,t.height=s;var l=i&&i.lineWidth;return l&&(t.x=a(n,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(n+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(r+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,i){if(!e)return t;var r=n(2*t);return(r+n(e))%2==0?r/2:(r+(i?1:-1))/2}},76265:function(t,e,i){i.d(e,{A:()=>s});var n=i(74915),r=i(30070),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+i,u*r+n),t.arc(i,n,r,o,a,!s)},e}(r.Ay);a.prototype.type="arc";let s=a},95163:function(t,e,i){i.d(e,{A:()=>c});var n=i(74915),r=i(30070),o=i(28535),a=i(26989),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,i){var n=t.cpx2,r=t.cpy2;return null!=n||null!=r?[(i?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(i?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var i=e.x1,n=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,p=e.percent;0!==p&&(t.moveTo(i,n),null==h||null==c?(p<1&&((0,a.kx)(i,l,r,p,s),l=s[1],r=s[2],(0,a.kx)(n,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(p<1&&((0,a.YT)(i,l,h,r,p,s),l=s[1],h=s[2],r=s[3],(0,a.YT)(n,u,c,o,p,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(l,u,h,c,r,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(r.Ay);h.prototype.type="bezier-curve";let c=h},2989:function(t,e,i){i.d(e,{A:()=>s});var n=i(74915),r=i(30070),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.Ay);a.prototype.type="circle";let s=a},19327:function(t,e,i){i.d(e,{A:()=>s});var n=i(74915),r=i(30070),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(i-r,n),t.bezierCurveTo(i-r,n-s,i-a,n-o,i,n-o),t.bezierCurveTo(i+a,n-o,i+r,n-s,i+r,n),t.bezierCurveTo(i+r,n+s,i+a,n+o,i,n+o),t.bezierCurveTo(i-a,n+o,i-r,n+s,i-r,n),t.closePath()},e}(r.Ay);a.prototype.type="ellipse";let s=a},28887:function(t,e,i){i.d(e,{A:()=>u});var n=i(74915),r=i(30070),o=i(33915),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var i,n,r,s,l=(0,o.eB)(a,e,this.style);i=l.x1,n=l.y1,r=l.x2,s=l.y2}else i=e.x1,n=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(i,n),u<1&&(r=i*(1-u)+r*u,s=n*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.Ay);l.prototype.type="line";let u=l},97451:function(t,e,i){i.d(e,{A:()=>l});var n=i(74915),r=i(30070),o=i(59838),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(r.Ay);s.prototype.type="polygon";let l=s},88297:function(t,e,i){i.d(e,{A:()=>l});var n=i(74915),r=i(30070),o=i(59838),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(r.Ay);s.prototype.type="polyline";let l=s},63811:function(t,e,i){i.d(e,{A:()=>u});var n=i(74915),r=i(30070),o=i(33915),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var i,n,r,a,l,u,h,c,p,f,d,g,y,v,m,_=(0,o.Op)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(h=(i=e).x,c=i.y,p=i.width,f=i.height,d=i.r,p<0&&(h+=p,p=-p),f<0&&(c+=f,f=-f),"number"==typeof d?n=r=a=l=d:d instanceof Array?1===d.length?n=r=a=l=d[0]:2===d.length?(n=a=d[0],r=l=d[1]):3===d.length?(n=d[0],r=l=d[1],a=d[2]):(n=d[0],r=d[1],a=d[2],l=d[3]):n=r=a=l=0,n+r>p&&(u=n+r,n*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>f&&(u=r+a,r*=f/u,a*=f/u),n+l>f&&(u=n+l,n*=f/u,l*=f/u),t.moveTo(h+n,c),t.lineTo(h+p-r,c),0!==r&&t.arc(h+p-r,c+r,r,-Math.PI/2,0),t.lineTo(h+p,c+f-a),0!==a&&t.arc(h+p-a,c+f-a,a,0,Math.PI/2),t.lineTo(h+l,c+f),0!==l&&t.arc(h+l,c+f-l,l,Math.PI/2,Math.PI),t.lineTo(h,c+n),0!==n&&t.arc(h+n,c+n,n,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.Ay);l.prototype.type="rect";let u=l},26839:function(t,e,i){i.d(e,{A:()=>s});var n=i(74915),r=i(30070),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,r,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,r,!0)},e}(r.Ay);a.prototype.type="ring";let s=a},23917:function(t,e,i){i.d(e,{A:()=>_});var n=i(74915),r=i(30070),o=i(4884),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,p=Math.abs,f=Math.sqrt,d=Math.max,g=Math.min;function y(t,e,i,n,r,o,a){var s=t-i,l=e-n,u=(a?o:-o)/f(s*s+l*l),h=u*l,c=-u*s,p=t+h,g=e+c,y=i+h,v=n+c,m=(p+y)/2,_=(g+v)/2,x=y-p,w=v-g,b=x*x+w*w,S=r-o,M=p*v-y*g,A=(w<0?-1:1)*f(d(0,S*S*b-M*M)),T=(M*w-x*A)/b,C=(-M*x-w*A)/b,I=(M*w+x*A)/b,k=(-M*x+w*A)/b,D=T-m,O=C-_,P=I-m,L=k-_;return D*D+O*O>P*P+L*L&&(T=I,C=k),{cx:T,cy:C,x0:-h,y0:-c,x1:T*(r/S-1),y1:C*(r/S-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},m=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var i,n=d(e.r,0),r=d(e.r0||0,0),v=n>0,m=r>0;if(v||m){if(v||(n=r,r=0),r>n){var _=n;n=r,r=_}var x=e.startAngle,w=e.endAngle;if(!(isNaN(x)||isNaN(w))){var b=e.cx,S=e.cy,M=!!e.clockwise,A=p(w-x),T=A>s&&A%s;if(T>1e-4&&(A=T),n>1e-4)if(A>s-1e-4)t.moveTo(b+n*u(x),S+n*l(x)),t.arc(b,S,n,x,w,!M),r>1e-4&&(t.moveTo(b+r*u(w),S+r*l(w)),t.arc(b,S,r,w,x,M));else{var C=void 0,I=void 0,k=void 0,D=void 0,O=void 0,P=void 0,L=void 0,R=void 0,z=void 0,E=void 0,B=void 0,N=void 0,V=void 0,F=void 0,H=void 0,W=void 0,G=n*u(x),U=n*l(x),Y=r*u(w),X=r*l(w),j=A>1e-4;if(j){var q=e.cornerRadius;q&&(C=(i=function(t){var e;if((0,o.isArray)(t)){var i=t.length;if(!i)return t;e=1===i?[t[0],t[0],0,0]:2===i?[t[0],t[0],t[1],t[1]]:3===i?t.concat(t[2]):t}else e=[t,t,t,t];return e}(q))[0],I=i[1],k=i[2],D=i[3]);var Z=p(n-r)/2;if(O=g(Z,k),P=g(Z,D),L=g(Z,C),R=g(Z,I),B=z=d(O,P),N=E=d(L,R),(z>1e-4||E>1e-4)&&(V=n*u(w),F=n*l(w),H=r*u(x),W=r*l(x),A<a)){var K=function(t,e,i,n,r,o,a,s){var l=i-t,u=n-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<1e-4))return p=(h*(e-o)-c*(t-r))/p,[t+p*l,e+p*u]}(G,U,H,W,V,F,Y,X);if(K){var $=G-K[0],Q=U-K[1],J=V-K[0],tt=F-K[1],te=1/l(h(($*J+Q*tt)/(f($*$+Q*Q)*f(J*J+tt*tt)))/2),ti=f(K[0]*K[0]+K[1]*K[1]);B=g(z,(n-ti)/(te+1)),N=g(E,(r-ti)/(te-1))}}}if(j)if(B>1e-4){var tn=g(k,B),tr=g(D,B),to=y(H,W,G,U,n,tn,M),ta=y(V,F,Y,X,n,tr,M);t.moveTo(b+to.cx+to.x0,S+to.cy+to.y0),B<z&&tn===tr?t.arc(b+to.cx,S+to.cy,B,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tn>0&&t.arc(b+to.cx,S+to.cy,tn,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(b,S,n,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!M),tr>0&&t.arc(b+ta.cx,S+ta.cy,tr,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.moveTo(b+G,S+U),t.arc(b,S,n,x,w,!M);else t.moveTo(b+G,S+U);if(r>1e-4&&j)if(N>1e-4){var tn=g(C,N),tr=g(I,N),to=y(Y,X,V,F,r,-tr,M),ta=y(G,U,H,W,r,-tn,M);t.lineTo(b+to.cx+to.x0,S+to.cy+to.y0),N<E&&tn===tr?t.arc(b+to.cx,S+to.cy,N,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tr>0&&t.arc(b+to.cx,S+to.cy,tr,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(b,S,r,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),M),tn>0&&t.arc(b+ta.cx,S+ta.cy,tn,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.lineTo(b+Y,S+X),t.arc(b,S,r,w,x,M);else t.lineTo(b+Y,S+X)}else t.moveTo(b,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.Ay);m.prototype.type="sector";let _=m},33553:function(t,e,i){i.d(e,{$2:()=>s,Cv:()=>l,MD:()=>b,OH:()=>_,OS:()=>m,Pt:()=>v,WG:()=>M,XP:()=>h,Xu:()=>w,Z1:()=>S,bn:()=>x,dX:()=>d,eQ:()=>p,nV:()=>c,sL:()=>y,sZ:()=>f,si:()=>g});var n=i(4884),r=i(34196),o=i(35209),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var i=(0,r.parse)(t);i&&(t="rgb("+i[0]+","+i[1]+","+i[2]+")",e=i[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function l(t){return t<1e-4&&t>-1e-4}function u(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function c(t){return"matrix("+u(t[0])+","+u(t[1])+","+u(t[2])+","+u(t[3])+","+h(t[4])+","+h(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function f(t,e,i){return"top"===i?t+=e/2:"bottom"===i&&(t-=e/2),t}function d(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function g(t){var e=t.style,i=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),i[0],i[1]].join(",")}function y(t){return t&&!!t.image}function v(t){return y(t)||t&&!!t.svgElement}function m(t){return"linear"===t.type}function _(t){return"radial"===t.type}function x(t){return t&&("linear"===t.type||"radial"===t.type)}function w(t){return"url(#"+t+")"}function b(t){var e=t.getGlobalScale();return Math.max(Math.ceil(Math.log(Math.max(e[0],e[1]))/Math.log(10)),1)}function S(t){var e=t.x||0,i=t.y||0,r=(t.rotation||0)*n.RADIAN_TO_DEGREE,o=(0,n.retrieve2)(t.scaleX,1),s=(0,n.retrieve2)(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,h=[];return(e||i)&&h.push("translate("+e+"px,"+i+"px)"),r&&h.push("rotate("+r+")"),(1!==o||1!==s)&&h.push("scale("+o+","+s+")"),(l||u)&&h.push("skew("+a(l*n.RADIAN_TO_DEGREE)+"deg, "+a(u*n.RADIAN_TO_DEGREE)+"deg)"),h.join(" ")}var M=o.A.hasGlobalWindow&&(0,n.isFunction)(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null}},34196:function(t,e,i){i.r(e),i.d(e,{fastLerp:()=>x,fastMapToColor:()=>w,lerp:()=>b,lift:()=>m,liftColor:()=>D,lum:()=>C,mapToColor:()=>S,modifyAlpha:()=>A,modifyHSL:()=>M,parse:()=>y,random:()=>I,stringify:()=>T,toHex:()=>_});var n=i(14407),r=i(4884),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function h(t,e,i){return(i<0?i+=1:i>1&&(i-=1),6*i<1)?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function c(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new n.Ay(20),d=null;function g(t,e){d&&p(d,e),d=f.put(t,d||e.slice())}function y(t,e){if(t){e=e||[];var i=f.get(t);if(i)return p(e,i);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in o)return p(e,o[n]),g(t,e),e;var r=n.length;if("#"===n.charAt(0)){if(4===r||5===r){var a=parseInt(n.slice(1,4),16);return a>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(n.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){var a=parseInt(n.slice(1,7),16);return a>=0&&a<=0xffffff?(c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(n.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1)}return}var s=n.indexOf("("),h=n.indexOf(")");if(-1!==s&&h+1===r){var d=n.substr(0,s),y=n.substr(s+1,h-(s+1)).split(","),m=1;switch(d){case"rgba":if(4!==y.length)return 3===y.length?c(e,+y[0],+y[1],+y[2],1):c(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return c(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void c(e,0,0,0,1);case"hsla":if(4!==y.length)return void c(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void c(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}c(e,0,0,0,1)}}function v(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),r=u(t[2]),o=r<=.5?r*(n+1):r+n-r*n,s=2*r-o;return c(e=e||[],a(255*h(s,o,i+1/3)),a(255*h(s,o,i)),a(255*h(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var i=y(t);if(i){for(var n=0;n<3;n++)e<0?i[n]=i[n]*(1-e)|0:i[n]=(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:i[n]<0&&(i[n]=0);return T(i,4===i.length?"rgba":"rgb")}}function _(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=e[h],f=e[c],d=u-h;return i[0]=a((n=p[0],n+(f[0]-n)*d)),i[1]=a((r=p[1],r+(f[1]-r)*d)),i[2]=a((o=p[2],o+(f[2]-o)*d)),i[3]=s((l=p[3],l+(f[3]-l)*d)),i}}var w=x;function b(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=y(e[h]),f=y(e[c]),d=u-h,g=T([a((n=p[0],n+(f[0]-n)*d)),a((r=p[1],r+(f[1]-r)*d)),a((o=p[2],o+(f[2]-o)*d)),s((l=p[3],l+(f[3]-l)*d))],"rgba");return i?{color:g,leftIndex:h,rightIndex:c,value:u}:g}}var S=b;function M(t,e,i,n){var r,o=y(t);if(t)return o=function(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(n,r,o),s=Math.max(n,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+a):l/(2-s-a);var h=((s-n)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;n===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}(o),null!=e&&(o[0]=(r=Math.round(r=e))<0?0:r>360?360:r),null!=i&&(o[1]=u(i)),null!=n&&(o[2]=u(n)),T(v(o),"rgba")}function A(t,e){var i=y(t);if(i&&null!=e)return i[3]=s(e),T(i,"rgba")}function T(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(i+=","+t[3]),e+"("+i+")"}}function C(t,e){var i=y(t);return i?(.299*i[0]+.587*i[1]+.114*i[2])*i[3]/255+(1-i[3])*e:0}function I(){return T([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var k=new n.Ay(100);function D(t){if((0,r.isString)(t)){var e=k.get(t);return e||(e=m(t,-.1),k.put(t,e)),e}if((0,r.isGradientObject)(t)){var i=(0,r.extend)({},t);return i.colorStops=(0,r.map)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),i}return t}},85038:function(t,e,i){i.d(e,{UJ:()=>T,rR:()=>k,Qh:()=>C,uc:()=>I});var n=i(74915),r=i(30070),o=i(40843),a=i(28535),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,h=Math.atan2;function c(t,e){if(e){var i,n,r,o,c,p,f=t.data,d=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<d;){switch(i=f[r++],o=r,n=0,i){case g:case v:n=1;break;case y:n=3;break;case x:n=2;break;case _:var w=e[4],b=e[5],S=u(e[0]*e[0]+e[1]*e[1]),M=u(e[2]*e[2]+e[3]*e[3]),A=h(-e[1]/M,e[0]/S);f[r]*=S,f[r++]+=w,f[r]*=M,f[r++]+=b,f[r++]*=S,f[r++]*=M,f[r++]+=A,f[r++]+=A,r+=2,o=r;break;case m:p[0]=f[r++],p[1]=f[r++],(0,a.applyTransform)(p,p,e),f[o++]=p[0],f[o++]=p[1],p[0]+=f[r++],p[1]+=f[r++],(0,a.applyTransform)(p,p,e),f[o++]=p[0],f[o++]=p[1]}for(c=0;c<n;c++){var T=l[c];T[0]=f[r++],T[1]=f[r++],(0,a.applyTransform)(T,T,e),f[o++]=T[0],f[o++]=T[1]}}t.increaseVersion()}}var p=i(4884),f=Math.sqrt,d=Math.sin,g=Math.cos,y=Math.PI;function v(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function m(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))}function x(t,e,i,n,r,o,a,s,l,u,h){var c=y/180*l,p=g(c)*(t-i)/2+d(c)*(e-n)/2,v=-1*d(c)*(t-i)/2+g(c)*(e-n)/2,x=p*p/(a*a)+v*v/(s*s);x>1&&(a*=f(x),s*=f(x));var w=(r===o?-1:1)*f((a*a*(s*s)-a*a*(v*v)-s*s*(p*p))/(a*a*(v*v)+s*s*(p*p)))||0,b=w*a*v/s,S=-(w*s)*p/a,M=(t+i)/2+g(c)*b-d(c)*S,A=(e+n)/2+d(c)*b+g(c)*S,T=_([1,0],[(p-b)/a,(v-S)/s]),C=[(p-b)/a,(v-S)/s],I=[(-1*p-b)/a,(-1*v-S)/s],k=_(C,I);if(-1>=m(C,I)&&(k=y),m(C,I)>=1&&(k=0),k<0){var D=Math.round(k/y*1e6)/1e6;k=2*y+D%2*y}h.addData(u,M,A,a,s,T,k,c,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,b=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.applyTransform=function(t){},e}(r.Ay);function M(t){return null!=t.setData}function A(t,e){var i=function(t){var e,i=new o.A;if(!t)return i;var n=0,r=0,a=0,s=0,l=o.A.CMD,u=t.match(w);if(!u)return i;for(var h=0;h<u.length;h++){for(var c=u[h],p=c.charAt(0),f=void 0,d=c.match(b)||[],g=d.length,y=0;y<g;y++)d[y]=parseFloat(d[y]);for(var v=0;v<g;){var m=void 0,_=void 0,S=void 0,M=void 0,A=void 0,T=void 0,C=void 0,I=n,k=r,D=void 0,O=void 0;switch(p){case"l":n+=d[v++],r+=d[v++],f=l.L,i.addData(f,n,r);break;case"L":n=d[v++],r=d[v++],f=l.L,i.addData(f,n,r);break;case"m":n+=d[v++],r+=d[v++],f=l.M,i.addData(f,n,r),a=n,s=r,p="l";break;case"M":n=d[v++],r=d[v++],f=l.M,i.addData(f,n,r),a=n,s=r,p="L";break;case"h":n+=d[v++],f=l.L,i.addData(f,n,r);break;case"H":n=d[v++],f=l.L,i.addData(f,n,r);break;case"v":r+=d[v++],f=l.L,i.addData(f,n,r);break;case"V":r=d[v++],f=l.L,i.addData(f,n,r);break;case"C":f=l.C,i.addData(f,d[v++],d[v++],d[v++],d[v++],d[v++],d[v++]),n=d[v-2],r=d[v-1];break;case"c":f=l.C,i.addData(f,d[v++]+n,d[v++]+r,d[v++]+n,d[v++]+r,d[v++]+n,d[v++]+r),n+=d[v-2],r+=d[v-1];break;case"S":m=n,_=r,D=i.len(),O=i.data,e===l.C&&(m+=n-O[D-4],_+=r-O[D-3]),f=l.C,I=d[v++],k=d[v++],n=d[v++],r=d[v++],i.addData(f,m,_,I,k,n,r);break;case"s":m=n,_=r,D=i.len(),O=i.data,e===l.C&&(m+=n-O[D-4],_+=r-O[D-3]),f=l.C,I=n+d[v++],k=r+d[v++],n+=d[v++],r+=d[v++],i.addData(f,m,_,I,k,n,r);break;case"Q":I=d[v++],k=d[v++],n=d[v++],r=d[v++],f=l.Q,i.addData(f,I,k,n,r);break;case"q":I=d[v++]+n,k=d[v++]+r,n+=d[v++],r+=d[v++],f=l.Q,i.addData(f,I,k,n,r);break;case"T":m=n,_=r,D=i.len(),O=i.data,e===l.Q&&(m+=n-O[D-4],_+=r-O[D-3]),n=d[v++],r=d[v++],f=l.Q,i.addData(f,m,_,n,r);break;case"t":m=n,_=r,D=i.len(),O=i.data,e===l.Q&&(m+=n-O[D-4],_+=r-O[D-3]),n+=d[v++],r+=d[v++],f=l.Q,i.addData(f,m,_,n,r);break;case"A":S=d[v++],M=d[v++],A=d[v++],T=d[v++],C=d[v++],I=n,k=r,n=d[v++],x(I,k,n,r=d[v++],T,C,S,M,A,f=l.A,i);break;case"a":S=d[v++],M=d[v++],A=d[v++],T=d[v++],C=d[v++],I=n,k=r,n+=d[v++],x(I,k,n,r+=d[v++],T,C,S,M,A,f=l.A,i)}}("z"===p||"Z"===p)&&(f=l.Z,i.addData(f),n=a,r=s),e=f}return i.toStatic(),i}(t),n=(0,p.extend)({},e);return n.buildPath=function(t){if(M(t)){t.setData(i.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;i.rebuildPath(e,1)}},n.applyTransform=function(t){c(i,t),this.dirtyShape()},n}function T(t,e){return new S(A(t,e))}function C(t,e){var i=A(t,e),r=S;function o(t){var e=r.call(this,t)||this;return e.applyTransform=i.applyTransform,e.buildPath=i.buildPath,e}return(0,n.C6)(o,r),o}function I(t,e){for(var i=[],n=t.length,o=0;o<n;o++){var a=t[o];i.push(a.getUpdatedPathProxy(!0))}var s=new r.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(M(t)){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}function k(t,e){e=e||{};var i=new r.Ay;return t.shape&&i.setShape(t.shape),i.setStyle(t.style),e.bakeTransform?c(i.path,t.getComputedTransform()):e.toLocal?i.setLocalTransform(t.getComputedTransform()):i.copyTransform(t),i.buildPath=t.buildPath,i.applyTransform=i.applyTransform,i.z=t.z,i.z2=t.z2,i.zlevel=t.zlevel,i}},66726:function(t,e,i){i.r(e),i.d(e,{disposeAll:()=>ts,registerSSRDataGetter:()=>tc,dispose:()=>ta,registerPainter:()=>tu,init:()=>to,getElementSSRData:()=>th,getInstance:()=>tl,version:()=>tp});var n,r,o,a,s=i(35209),l=i(4884),u=i(74915),h=i(28535),c=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},p=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new c(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(r,o,t),this.handler.dispatchToElement(new c(e,t),"drag",t.event);var a=this.handler.findHover(i,n,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new c(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new c(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new c(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new c(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),f=i(16419),d=i(77250),g=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,i){var n=t.touches;if(n){for(var r={points:[],touches:[],target:e,event:t},o=0,a=n.length;o<a;o++){var s=n[o],l=d.Yo(i,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in v)if(v.hasOwnProperty(e)){var i=v[e](this._track,t);if(i)return i}},t}();function y(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}var v={pinch:function(t,e){var i=t.length;if(i){var n=(t[i-1]||{}).points,r=(t[i-2]||{}).points||n;if(r&&r.length>1&&n&&n.length>1){var o=y(n)/y(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=i(51690),_="silent";function x(){d.ds(this.event)}var w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,u.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(f.A),b=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],M=new m.A(0,0,0,0),A=function(t){function e(e,i,n,r,o){var a=t.call(this)||this;return a._hovered=new b(0,0),a.storage=e,a.painter=i,a.painterRoot=r,a._pointerSize=o,n=n||new w,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new p(a),a}return(0,u.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.each(S,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,i=t.zrY,n=C(this,e,i),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=n?new b(e,i):this.findHover(e,i),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new b(0,0)},e.prototype.dispatch=function(t,e){var i=this[t];i&&i.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,i){var n=(t=t||{}).target;if(!n||!n.silent){for(var r,o="on"+e,a={type:e,event:i,target:(r=t).target,topTarget:r.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:x};n&&(n[o]&&(a.cancelBubble=!!n[o].call(n,a)),n.trigger(e,a),n=n.__hostTarget?n.__hostTarget:n.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,i){var n=this.storage.getDisplayList(),r=new b(t,e);if(T(n,r,t,e,i),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.A(t-s,e-s,a,a),u=n.length-1;u>=0;u--){var h=n[u];h===i||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(M.copy(h.getBoundingRect()),h.transform&&M.applyTransform(h.transform),M.intersect(l)&&o.push(h))}if(o.length){for(var c=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=4)for(var d=0;d<p;d+=c)if(T(o,r,t+f*Math.cos(d),e+f*Math.sin(d),i),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new g);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var r=n.type;t.gestureEvent=r;var o=new b;o.target=n.target,this.dispatchToElement(o,r,n.event)}},e}(f.A);function T(t,e,i,n,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n=t,r=void 0,o=!1;n;){if(n.ignoreClip&&(o=!0),!o){var a=n.getClipPath();if(a&&!a.contain(e,i))return!1}n.silent&&(r=!0),n=n.__hostTarget||n.parent}return!r||_}return!1}(a,i,n))&&(e.topTarget||(e.topTarget=a),s!==_)){e.target=a;break}}}function C(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}l.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){A.prototype[t]=function(e){var i,n,r=e.zrX,o=e.zrY,a=C(this,r,o);if("mouseup"===t&&a||(n=(i=this.findHover(r,o)).target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||h.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}});var I=i(24952),k=i(63154),D=!1;function O(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var i=this._displayList;return(t||!i.length)&&this.updateDisplayList(e),i},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,r=e.length;n<r;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,(0,I.A)(i,P)},t.prototype._updateAndAddDisplayable=function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath();if(t.ignoreClip)e=null;else if(n){e=e?e.slice():[];for(var r=n,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=k.M),this._updateAndAddDisplayable(l,e,i)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(O(),t.z=0),isNaN(t.z2)&&(O(),t.z2=0),isNaN(t.zlevel)&&(O(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,i);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,i);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,e,i)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);return}var n=l.indexOf(this._roots,t);n>=0&&this._roots.splice(n,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),R=i(94263),z=i(83390);function E(){return new Date().getTime()}var B=function(t){function e(e){var i=t.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,i.stage=(e=e||{}).stage||{},i}return(0,u.C6)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,i=t.next;e?e.next=i:this._head=i,i?i.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=E()-this._pausedTime,i=e-this._time,n=this._head;n;){var r=n.next;n.step(e,i)&&(n.ondestroy(),this.removeClip(n)),n=r}this._time=e,!t&&(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,R.A)(function e(){t._running&&((0,R.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=E(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=E(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=E()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var i=new z.A(t,e.loop);return this.addAnimator(i),i},e}(f.A),N=s.A.domSupported,V=(n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=l.map(n,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:n,touch:["touchstart","touchend","touchmove"],pointer:o}),F=["mousemove","mouseup"],H=["pointermove","pointerup"],W=!1;function G(t){var e=t.pointerType;return"pen"===e||"touch"===e}function U(t){t&&(t.zrByTouch=!0)}function Y(t,e){for(var i=e,n=!1;i&&9!==i.nodeType&&!(n=i.domBelongToZr||i!==e&&i===t.painterRoot);)i=i.parentNode;return n}var X=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},j={mousedown:function(t){t=(0,d.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.e0)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,d.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Y(this,(t=(0,d.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){W=!0,t=(0,d.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){W||(t=(0,d.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){U(t=(0,d.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),j.mousemove.call(this,t),j.mousedown.call(this,t)},touchmove:function(t){U(t=(0,d.e0)(this.dom,t)),this.handler.processGesture(t,"change"),j.mousemove.call(this,t)},touchend:function(t){U(t=(0,d.e0)(this.dom,t)),this.handler.processGesture(t,"end"),j.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&j.click.call(this,t)},pointerdown:function(t){j.mousedown.call(this,t)},pointermove:function(t){G(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},pointerout:function(t){G(t)||j.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){j[t]=function(e){e=(0,d.e0)(this.dom,e),this.trigger(t,e)}});var q={pointermove:function(t){G(t)||q.mousemove.call(this,t)},pointerup:function(t){q.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Z(t,e,i,n){t.mounted[e]=i,t.listenerOpts[e]=n,(0,d.q2)(t.domTarget,e,i,n)}function K(t){var e=t.mounted;for(var i in e)e.hasOwnProperty(i)&&(0,d.f)(t.domTarget,i,e[i],t.listenerOpts[i]);t.mounted={}}var $=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Q=function(t){function e(e,i){var n,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=i,o._localHandlerScope=new $(e,j),N&&(o._globalHandlerScope=new $(document,q)),r=(n=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(V.pointer,function(t){Z(n,t,function(e){r[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(V.touch,function(t){Z(n,t,function(e){r[t].call(o,e),n.touching=!0,null!=n.touchTimer&&(clearTimeout(n.touchTimer),n.touchTimer=null),n.touchTimer=setTimeout(function(){n.touching=!1,n.touchTimer=null},700)})}),l.each(V.mouse,function(t){Z(n,t,function(e){e=(0,d.mK)(e),n.touching||r[t].call(o,e)})})),o}return(0,u.C6)(e,t),e.prototype.dispose=function(){K(this._localHandlerScope),N&&K(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,N&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.A.pointerEventsSupported?l.each(H,i):s.A.touchEventsSupported||l.each(F,i);function i(i){Z(e,i,function(n){if(!Y(t,(n=(0,d.mK)(n)).target)){var r;r=n,n=(0,d.e0)(t.dom,new X(t,r),!0),e.domHandlers[i].call(t,n)}},{capture:!0})}}(this,e):K(e)}},e}(f.A),J=i(34196),tt=i(72076),te=i(79620),ti={},tn={},tr=function(){function t(t,e,i){var n,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=e,this.id=t;var o=new L,a=i.renderer||"canvas";ti[a]||(a=l.keys(ti)[0]),i.useDirtyRect=null!=i.useDirtyRect&&i.useDirtyRect;var u=new ti[a](e,o,i,t),h=i.ssr||u.ssrOnly;this.storage=o,this.painter=u;var c=s.A.node||s.A.worker||h?null:new Q(u.getViewportRoot(),u.root),p=i.useCoarsePointer;(null==p||"auto"===p?s.A.touchEventsSupported:!!p)&&(n=l.retrieve2(i.pointerSize,44)),this.handler=new A(o,u,c,u.root,n),this.animation=new B({stage:{update:h?null:function(){return r._flush(!0)}}}),h||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,J.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,i=0,n=e.length,r=0;r<n;r++)i+=(0,J.lum)(e[r].color,1);return(i/=n)<tt.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,i=E();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=E();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,i){return this._disposed||this.handler.on(t,e,i),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete tn[t]}},t}();function to(t,e){var i=new tr(l.guid(),t,e);return tn[i.id]=i,i}function ta(t){t.dispose()}function ts(){for(var t in tn)tn.hasOwnProperty(t)&&tn[t].dispose();tn={}}function tl(t){return tn[t]}function tu(t,e){ti[t]=e}function th(t){if("function"==typeof a)return a(t)}function tc(t){a=t}var tp="5.5.0"}}]);