hd){var Ne=Yd(C,O),Ye=Yd(x,O),Me=$x(W,U,K,Z,r,Ne,m),$e=$x(N,F,oe,X,r,Ye,m);e.moveTo(h+Me.cx+Me.x0,p+Me.cy+Me.y0),O0&&e.arc(h+Me.cx,p+Me.cy,Ne,al(Me.y0,Me.x0),al(Me.y1,Me.x1),!m),e.arc(h,p,r,al(Me.cy+Me.y1,Me.cx+Me.x1),al($e.cy+$e.y1,$e.cx+$e.x1),!m),Ye>0&&e.arc(h+$e.cx,p+$e.cy,Ye,al($e.y1,$e.x1),al($e.y0,$e.x0),!m))}else e.moveTo(h+K,p+Z),e.arc(h,p,r,c,d,!m);if(!(o>hd)||!H)e.lineTo(h+oe,p+X);else if(I>hd){var Ne=Yd(S,I),Ye=Yd(k,I),Me=$x(oe,X,N,F,o,-Ye,m),$e=$x(K,Z,W,U,o,-Ne,m);e.lineTo(h+Me.cx+Me.x0,p+Me.cy+Me.y0),I0&&e.arc(h+Me.cx,p+Me.cy,Ye,al(Me.y0,Me.x0),al(Me.y1,Me.x1),!m),e.arc(h,p,o,al(Me.cy+Me.y1,Me.cx+Me.x1),al($e.cy+$e.y1,$e.cx+$e.x1),m),Ne>0&&e.arc(h+$e.cx,p+$e.cy,Ne,al($e.y1,$e.x1),al($e.y0,$e.x0),!m))}else e.lineTo(h+oe,p+X),e.arc(h,p,o,d,c,m)}e.closePath()}}}var sdt=(function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e})(),$0=(function(e){Nn(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new sdt},t.prototype.buildPath=function(n,r){odt(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(ho);$0.prototype.type="sector";var adt=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e})(),SW=(function(e){Nn(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new adt},t.prototype.buildPath=function(n,r){var o=r.cx,a=r.cy,s=Math.PI*2;n.moveTo(o+r.r,a),n.arc(o,a,r.r,0,s,!1),n.moveTo(o+r.r0,a),n.arc(o,a,r.r0,0,s,!0)},t})(ho);SW.prototype.type="ring";function ldt(e,t,n,r){var o=[],a=[],s=[],l=[],c,d,h,p;if(r){h=[1/0,1/0],p=[-1/0,-1/0];for(var m=0,g=e.length;m=2){if(r){var a=ldt(o,r,n,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var c=a[l*2],d=a[l*2+1],h=o[(l+1)%s];e.bezierCurveTo(c[0],c[1],d[0],d[1],h[0],h[1])}}else{e.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;lAv[1]){if(l=!1,a)return l;var h=Math.abs(Av[0]-Tv[1]),p=Math.abs(Tv[0]-Av[1]);Math.min(h,p)>o.len()&&(h
0){var p=h.duration,m=h.delay,g=h.easing,y={duration:p,delay:m||0,easing:g,done:a,force:!!a||!!s,setToFinal:!d,scope:e,during:s};l?t.animateFrom(n,y):t.animateTo(n,y)}else t.stopAnimation(),!l&&t.attr(n),s&&s(1),a&&a()}function Ql(e,t,n,r,o,a){CW("update",e,t,n,r,o,a)}function Uc(e,t,n,r,o,a){CW("enter",e,t,n,r,o,a)}function yb(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function aoe(e){return!e.isGroup}function Ldt(e){return e.shape!=null}function Yme(e,t,n){if(!e||!t)return;function r(s){var l={};return s.traverse(function(c){aoe(c)&&c.anid&&(l[c.anid]=c)}),l}function o(s){var l={x:s.x,y:s.y,rotation:s.rotation};return Ldt(s)&&(l.shape=bn({},s.shape)),l}var a=r(e);t.traverse(function(s){if(aoe(s)&&s.anid){var l=a[s.anid];if(l){var c=o(s);s.attr(o(l)),Ql(s,c,n,qi(s).dataIndex)}}})}function Ddt(e,t){return xr(e,function(n){var r=n[0];r=fT(r,t.x),r=hT(r,t.x+t.width);var o=n[1];return o=fT(o,t.y),o=hT(o,t.y+t.height),[r,o]})}function Pdt(e,t){var n=fT(e.x,t.x),r=hT(e.x+e.width,t.x+t.width),o=fT(e.y,t.y),a=hT(e.y+e.height,t.y+t.height);if(r>=n&&a>=o)return{x:n,y:o,width:r-n,height:a-o}}function AW(e,t,n){var r=bn({rectHover:!0},t),o=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(o.image=e.slice(8),ao(o,n),new O0(r)):EW(e.replace("path://",""),r,n,"center")}function Rdt(e,t,n,r,o){for(var a=0,s=o[o.length-1];a1)return!1;var k=HN(g,y,h,p)/m;return!(k<0||k>1)}function HN(e,t,n,r){return e*r-n*t}function Mdt(e){return e<=1e-6&&e>=-1e-6}function gA(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,o=yr(t)?{formatter:t}:t,a=n.mainType,s=n.componentIndex,l={componentType:a,name:r,$vars:["name"]};l[a+"Index"]=s;var c=e.formatterParamsExtra;c&&Tt(es(c),function(h){Lm(l,h)||(l[h]=c[h],l.$vars.push(h))});var d=qi(e.el);d.componentMainType=a,d.componentIndex=s,d.tooltipConfig={name:r,option:ao({content:r,encodeHTMLContent:!0,formatterParams:l},o)}}function loe(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function yA(e,t){if(e)if(Qn(e))for(var n=0;n=0&&l.push(c)}),l}}function Qme(e,t){return oo(oo({},e,!0),t,!0)}const Xdt={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:". "}}}},Zdt={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:""}}}};var pT="ZH",IW="EN",uy=IW,rE={},LW={},ege=Vr.domSupported?(function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||uy).toUpperCase();return e.indexOf(pT)>-1?pT:uy})():uy;function tge(e,t){e=e.toUpperCase(),LW[e]=new ks(t),rE[e]=t}function Jdt(e){if(yr(e)){var t=rE[e.toUpperCase()]||{};return e===pT||e===IW?Fi(t):oo(Fi(t),Fi(rE[uy]),!1)}else return oo(Fi(e),Fi(rE[uy]),!1)}function Qdt(e){return LW[e]}function eft(){return LW[uy]}tge(IW,Xdt);tge(pT,Zdt);var DW=1e3,PW=DW*60,bb=PW*60,Bc=bb*24,voe=Bc*365,D4={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}"},Fx="{yyyy}-{MM}-{dd}",moe={year:"{yyyy}",month:"{yyyy}-{MM}",day:Fx,hour:Fx+" "+D4.hour,minute:Fx+" "+D4.minute,second:Fx+" "+D4.second,millisecond:D4.none},KN=["year","month","day","hour","minute","second","millisecond"],nge=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Tp(e,t){return e+="","0000".substr(0,t-e.length)+e}function cy(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function tft(e){return e===cy(e)}function nft(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function kA(e,t,n,r){var o=Uh(e),a=o[RW(n)](),s=o[dy(n)]()+1,l=Math.floor((s-1)/3)+1,c=o[xA(n)](),d=o["get"+(n?"UTC":"")+"Day"](),h=o[c_(n)](),p=(h-1)%12+1,m=o[CA(n)](),g=o[wA(n)](),y=o[EA(n)](),S=h>=12?"pm":"am",k=S.toUpperCase(),C=r instanceof ks?r:Qdt(r||ege)||eft(),x=C.getModel("time"),E=x.get("month"),_=x.get("monthAbbr"),T=x.get("dayOfWeek"),D=x.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,S+"").replace(/{A}/g,k+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,Tp(a%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,E[s-1]).replace(/{MMM}/g,_[s-1]).replace(/{MM}/g,Tp(s,2)).replace(/{M}/g,s+"").replace(/{dd}/g,Tp(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,T[d]).replace(/{ee}/g,D[d]).replace(/{e}/g,d+"").replace(/{HH}/g,Tp(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Tp(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,Tp(m,2)).replace(/{m}/g,m+"").replace(/{ss}/g,Tp(g,2)).replace(/{s}/g,g+"").replace(/{SSS}/g,Tp(y,3)).replace(/{S}/g,y+"")}function rft(e,t,n,r,o){var a=null;if(yr(n))a=n;else if(ei(n))a=n(e.value,t,{level:e.level});else{var s=bn({},D4);if(e.level>0)for(var l=0;l=0;--l)if(c[d]){a=c[d];break}a=a||s.none}if(Qn(a)){var p=e.level==null?0:e.level>=0?e.level:a.length+e.level;p=Math.min(p,a.length-1),a=a[p]}}return kA(new Date(e.value),a,o,r)}function rge(e,t){var n=Uh(e),r=n[dy(t)]()+1,o=n[xA(t)](),a=n[c_(t)](),s=n[CA(t)](),l=n[wA(t)](),c=n[EA(t)](),d=c===0,h=d&&l===0,p=h&&s===0,m=p&&a===0,g=m&&o===1,y=g&&r===1;return y?"year":g?"month":m?"day":p?"hour":h?"minute":d?"second":"millisecond"}function goe(e,t,n){var r=Eo(e)?Uh(e):e;switch(t=t||rge(e,n),t){case"year":return r[RW(n)]();case"half-year":return r[dy(n)]()>=6?1:0;case"quarter":return Math.floor((r[dy(n)]()+1)/4);case"month":return r[dy(n)]();case"day":return r[xA(n)]();case"half-day":return r[c_(n)]()/24;case"hour":return r[c_(n)]();case"minute":return r[CA(n)]();case"second":return r[wA(n)]();case"millisecond":return r[EA(n)]()}}function RW(e){return e?"getUTCFullYear":"getFullYear"}function dy(e){return e?"getUTCMonth":"getMonth"}function xA(e){return e?"getUTCDate":"getDate"}function c_(e){return e?"getUTCHours":"getHours"}function CA(e){return e?"getUTCMinutes":"getMinutes"}function wA(e){return e?"getUTCSeconds":"getSeconds"}function EA(e){return e?"getUTCMilliseconds":"getMilliseconds"}function ift(e){return e?"setUTCFullYear":"setFullYear"}function ige(e){return e?"setUTCMonth":"setMonth"}function oge(e){return e?"setUTCDate":"setDate"}function sge(e){return e?"setUTCHours":"setHours"}function age(e){return e?"setUTCMinutes":"setMinutes"}function lge(e){return e?"setUTCSeconds":"setSeconds"}function uge(e){return e?"setUTCMilliseconds":"setMilliseconds"}function cge(e){if(!dut(e))return yr(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function dge(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var TA=zve;function ez(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function o(h){return h&&ff(h)?h:"-"}function a(h){return!!(h!=null&&!isNaN(h)&&isFinite(h))}var s=t==="time",l=e instanceof Date;if(s||l){var c=s?Uh(e):e;if(isNaN(+c)){if(l)return"-"}else return kA(c,r,n)}if(t==="ordinal")return CV(e)?o(e):Eo(e)&&a(e)?e+"":"-";var d=rT(e);return a(d)?cge(d):CV(e)?o(e):typeof e=="boolean"?e+"":"-"}var yoe=["a","b","c","d","e","f","g"],qN=function(e,t){return"{"+e+(t??"")+"}"};function fge(e,t,n){Qn(t)||(t=[t]);var r=t.length;if(!r)return"";for(var o=t[0].$vars||[],a=0;a':'';var s=n.markerId||"markerX";return{renderMode:a,content:"{"+s+"|} ",style:o==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Rm(e,t){return t=t||"transparent",yr(e)?e:Tr(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function boe(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var iE=Tt,sft=["left","right","top","bottom","width","height"],jx=[["width","left","right"],["height","top","bottom"]];function MW(e,t,n,r,o){var a=0,s=0;r==null&&(r=1/0),o==null&&(o=1/0);var l=0;t.eachChild(function(c,d){var h=c.getBoundingRect(),p=t.childAt(d+1),m=p&&p.getBoundingRect(),g,y;if(e==="horizontal"){var S=h.width+(m?-m.x+h.x:0);g=a+S,g>r||c.newline?(a=0,g=S,s+=l+n,l=h.height):l=Math.max(l,h.height)}else{var k=h.height+(m?-m.y+h.y:0);y=s+k,y>o||c.newline?(a+=l+n,s=0,y=k,l=h.width):l=Math.max(l,h.width)}c.newline||(c.x=a,c.y=s,c.markRedraw(),e==="horizontal"?a=g+n:s=y+n)})}var _b=MW;Ps(MW,"vertical");Ps(MW,"horizontal");function Oy(e,t,n){n=TA(n||0);var r=t.width,o=t.height,a=Jo(e.left,r),s=Jo(e.top,o),l=Jo(e.right,r),c=Jo(e.bottom,o),d=Jo(e.width,r),h=Jo(e.height,o),p=n[2]+n[0],m=n[1]+n[3],g=e.aspect;switch(isNaN(d)&&(d=r-l-m-a),isNaN(h)&&(h=o-c-p-s),g!=null&&(isNaN(d)&&isNaN(h)&&(g>r/o?d=r*.8:h=o*.8),isNaN(d)&&(d=g*h),isNaN(h)&&(h=d/g)),isNaN(a)&&(a=r-l-d-m),isNaN(s)&&(s=o-c-h-p),e.left||e.right){case"center":a=r/2-d/2-n[3];break;case"right":a=r-d-m;break}switch(e.top||e.bottom){case"middle":case"center":s=o/2-h/2-n[0];break;case"bottom":s=o-h-p;break}a=a||0,s=s||0,isNaN(d)&&(d=r-m-a-(l||0)),isNaN(h)&&(h=o-p-s-(c||0));var y=new so(a+n[3],s+n[0],d,h);return y.margin=n,y}function d_(e){var t=e.layoutMode||e.constructor.layoutMode;return Tr(t)?t:t?{type:t}:null}function $y(e,t,n){var r=n&&n.ignoreSize;!Qn(r)&&(r=[r,r]);var o=s(jx[0],0),a=s(jx[1],1);d(jx[0],e,o),d(jx[1],e,a);function s(h,p){var m={},g=0,y={},S=0,k=2;if(iE(h,function(E){y[E]=e[E]}),iE(h,function(E){l(t,E)&&(m[E]=y[E]=t[E]),c(m,E)&&g++,c(y,E)&&S++}),r[p])return c(t,h[1])?y[h[2]]=null:c(t,h[2])&&(y[h[1]]=null),y;if(S===k||!g)return y;if(g>=k)return m;for(var C=0;C=0;c--)l=oo(l,o[c],!0);r.defaultOption=l}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var o=n+"Index",a=n+"Id";return iS(this.ecModel,n,{index:this.get(o,!0),id:this.get(a,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=(function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0})(),t})(ks);bme(co,ks);uA(co);qdt(co);Ydt(co,uft);function uft(e){var t=[];return Tt(co.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=xr(t,function(n){return hf(n).main}),e!=="dataset"&&vo(t,"dataset")<=0&&t.unshift("dataset"),t}var hge="";typeof navigator<"u"&&(hge=navigator.platform||"");var f1="rgba(0, 0, 0, 0.2)";const cft={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:f1,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:f1,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:f1,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:f1,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:f1,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:f1,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:hge.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 pge=_i(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),ed="original",Ru="arrayRows",$d="objectRows",Rf="keyedColumns",f0="typedArray",vge="unknown",Ph="column",d3="row",$a={Must:1,Might:2,Not:3},mge=$s();function dft(e){mge(e).datasetMap=_i()}function fft(e,t,n){var r={},o=OW(t);if(!o||!e)return r;var a=[],s=[],l=t.ecModel,c=mge(l).datasetMap,d=o.uid+"_"+n.seriesLayoutBy,h,p;e=e.slice(),Tt(e,function(S,k){var C=Tr(S)?S:e[k]={name:S};C.type==="ordinal"&&h==null&&(h=k,p=y(C)),r[C.name]=[]});var m=c.get(d)||c.set(d,{categoryWayDim:p,valueWayDim:0});Tt(e,function(S,k){var C=S.name,x=y(S);if(h==null){var E=m.valueWayDim;g(r[C],E,x),g(s,E,x),m.valueWayDim+=x}else if(h===k)g(r[C],0,x),g(a,0,x);else{var E=m.categoryWayDim;g(r[C],E,x),g(s,E,x),m.categoryWayDim+=x}});function g(S,k,C){for(var x=0;xt)return e[r];return e[n-1]}function yft(e,t,n,r,o,a,s){a=a||e;var l=t(a),c=l.paletteIdx||0,d=l.paletteNameMap=l.paletteNameMap||{};if(d.hasOwnProperty(o))return d[o];var h=s==null||!r?n:gft(r,s);if(h=h||n,!(!h||!h.length)){var p=h[c];return o&&(d[o]=p),l.paletteIdx=(c+1)%h.length,p}}function bft(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Vx,e4,Soe,koe="\0_ec_inner",_ft=1,BW=(function(e){Nn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,o,a,s,l){a=a||{},this.option=null,this._theme=new ks(a),this._locale=new ks(s),this._optionManager=l},t.prototype.setOption=function(n,r,o){var a=woe(r);this._optionManager.setOption(n,o,a),this._resetOption(null,a)},t.prototype.resetOption=function(n,r){return this._resetOption(n,woe(r))},t.prototype._resetOption=function(n,r){var o=!1,a=this._optionManager;if(!n||n==="recreate"){var s=a.mountOption(n==="recreate");!this.option||n==="recreate"?Soe(this,s):(this.restoreData(),this._mergeOption(s,r)),o=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var l=a.getTimelineOption(this);l&&(o=!0,this._mergeOption(l,r))}if(!n||n==="recreate"||n==="media"){var c=a.getMediaOption(this);c.length&&Tt(c,function(d){o=!0,this._mergeOption(d,r)},this)}return o},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var o=this.option,a=this._componentsMap,s=this._componentsCount,l=[],c=_i(),d=r&&r.replaceMergeMainTypeMap;dft(this),Tt(n,function(p,m){p!=null&&(co.hasClass(m)?m&&(l.push(m),c.set(m,!0)):o[m]=o[m]==null?Fi(p):oo(o[m],p,!0))}),d&&d.each(function(p,m){co.hasClass(m)&&!c.get(m)&&(l.push(m),c.set(m,!0))}),co.topologicalTravel(l,co.getAllClassMainTypes(),h,this);function h(p){var m=mft(this,p,Xl(n[p])),g=a.get(p),y=g?d&&d.get(p)?"replaceMerge":"normalMerge":"replaceAll",S=put(g,m,y);Sut(S,p,co),o[p]=null,a.set(p,null),s.set(p,0);var k=[],C=[],x=0,E;Tt(S,function(_,T){var D=_.existing,P=_.newOption;if(!P)D&&(D.mergeOption({},this),D.optionUpdated({},!1));else{var M=p==="series",O=co.getClass(p,_.keyInfo.subType,!M);if(!O)return;if(p==="tooltip"){if(E)return;E=!0}if(D&&D.constructor===O)D.name=_.keyInfo.name,D.mergeOption(P,this),D.optionUpdated(P,!1);else{var I=bn({componentIndex:T},_.keyInfo);D=new O(P,this,this,I),bn(D,I),_.brandNew&&(D.__requireNewView=!0),D.init(P,this,this),D.optionUpdated(null,!0)}}D?(k.push(D.option),C.push(D),x++):(k.push(void 0),C.push(void 0))},this),o[p]=k,a.set(p,C),s.set(p,x),p==="series"&&Vx(this)}this._seriesIndices||Vx(this)},t.prototype.getOption=function(){var n=Fi(this.option);return Tt(n,function(r,o){if(co.hasClass(o)){for(var a=Xl(r),s=a.length,l=!1,c=s-1;c>=0;c--)a[c]&&!s_(a[c])?l=!0:(a[c]=null,!l&&s--);a.length=s,n[o]=a}}),delete n[koe],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var o=this._componentsMap.get(n);if(o){var a=o[r||0];if(a)return a;if(r==null){for(var s=0;s=t:n==="max"?e<=t:e===t}function Ift(e,t){return e.join(",")===t.join(",")}var ld=Tt,f_=Tr,Eoe=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function XN(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=Eoe.length;n=0;k--){var C=e[k];if(l||(y=C.data.rawIndexOf(C.stackedByDimension,g)),y>=0){var x=C.data.getByRawIndex(C.stackResultDimension,y);if(c==="all"||c==="positive"&&x>0||c==="negative"&&x<0||c==="samesign"&&m>=0&&x>0||c==="samesign"&&m<=0&&x<0){m=lut(m,x),S=x;break}}}return r[0]=m,r[1]=S,r})})}var IA=(function(){function e(t){this.data=t.data||(t.sourceFormat===Rf?{}:[]),this.sourceFormat=t.sourceFormat||vge,this.seriesLayoutBy=t.seriesLayoutBy||Ph,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rS&&(S=E)}g[0]=y,g[1]=S}},o=function(){return this._data?this._data.length/this._dimSize:0};Roe=(t={},t[Ru+"_"+Ph]={pure:!0,appendData:a},t[Ru+"_"+d3]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[$d]={pure:!0,appendData:a},t[Rf]={pure:!0,appendData:function(s){var l=this._data;Tt(s,function(c,d){for(var h=l[d]||(l[d]=[]),p=0;p<(c||[]).length;p++)h.push(c[p])})}},t[ed]={appendData:a},t[f0]={persistent:!1,pure:!0,appendData:function(s){this._data=s},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(s){for(var l=0;l=0&&(S=s.interpolatedValue[k])}return S!=null?S+"":""})}},e.prototype.getRawValue=function(t,n){return By(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e})();function Boe(e){var t,n;return Tr(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Sb(e){return new Kft(e)}var Kft=(function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!r&&(a=this._plan(this.context));var s=h(this._modBy),l=this._modDataCount||0,c=h(t&&t.modBy),d=t&&t.modDataCount||0;(s!==c||l!==d)&&(a="reset");function h(x){return!(x>=1)&&(x=1),x}var p;(this._dirty||a==="reset")&&(this._dirty=!1,p=this._doReset(r)),this._modBy=c,this._modDataCount=d;var m=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,y=Math.min(m!=null?this._dueIndex+m:1/0,this._dueEnd);if(!r&&(p||g1&&r>0?l:s}};return a;function s(){return t=e?null:co?-this._resultLT:0},e})(),Yft=(function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return oE(t,n)},e})();function Xft(e,t){var n=new Yft,r=e.data,o=n.sourceFormat=e.sourceFormat,a=e.startIndex,s="";e.seriesLayoutBy!==Ph&&bu(s);var l=[],c={},d=e.dimensionsDefine;if(d)Tt(d,function(S,k){var C=S.name,x={index:k,name:C,displayName:S.displayName};if(l.push(x),C!=null){var E="";Lm(c,C)&&bu(E),c[C]=x}});else for(var h=0;h65535?iht:oht}function p1(){return[1/0,-1/0]}function sht(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function joe(e,t,n,r,o){var a=Dge[n||"float"];if(o){var s=e[t],l=s&&s.length;if(l!==r){for(var c=new a(r),d=0;dk[1]&&(k[1]=S)}return this._rawCount=this._count=c,{start:l,end:c}},e.prototype._initDataFromProvider=function(t,n,r){for(var o=this._provider,a=this._chunks,s=this._dimensions,l=s.length,c=this._rawExtent,d=xr(s,function(x){return x.property}),h=0;hC[1]&&(C[1]=k)}}!o.persistent&&o.clean&&o.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)a=s-1;else return s}return-1},e.prototype.indicesOfNearest=function(t,n,r){var o=this._chunks,a=o[t],s=[];if(!a)return s;r==null&&(r=1/0);for(var l=1/0,c=-1,d=0,h=0,p=this.count();h=0&&c<0)&&(l=y,c=g,d=0),g===c&&(s[d++]=h))}return s.length=d,s},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,o=this._count;if(r===Array){t=new r(o);for(var a=0;a=p&&x<=m||isNaN(x))&&(c[d++]=S),S++}y=!0}else if(a===2){for(var k=g[o[0]],E=g[o[1]],_=t[o[1]][0],T=t[o[1]][1],C=0;C=p&&x<=m||isNaN(x))&&(D>=_&&D<=T||isNaN(D))&&(c[d++]=S),S++}y=!0}}if(!y)if(a===1)for(var C=0;C=p&&x<=m||isNaN(x))&&(c[d++]=P)}else for(var C=0;Ct[I][1])&&(M=!1)}M&&(c[d++]=n.getRawIndex(C))}return dC[1]&&(C[1]=k)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),o=r._chunks,a=o[t],s=this.count(),l=0,c=Math.floor(1/n),d=this.getRawIndex(0),h,p,m,g=new(h1(this._rawCount))(Math.min((Math.ceil(s/c)+2)*2,s));g[l++]=d;for(var y=1;yh&&(h=p,m=_)}N>0&&Nl&&(S=l-h);for(var k=0;ky&&(y=x,g=h+k)}var E=this.getRawIndex(p),_=this.getRawIndex(g);ph-y&&(c=h-y,l.length=c);for(var S=0;Sp[1]&&(p[1]=C),m[g++]=x}return a._count=g,a._indices=m,a._updateGetRawIdx(),a},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,o=this._chunks,a=0,s=this.count();ac&&(c=p)}return s=[l,c],this._extent[t]=s,s},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],o=this._chunks,a=0;a=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=(function(){function t(n,r,o,a){return oE(n[a],this._dimensions[a])}QN={arrayRows:t,objectRows:function(n,r,o,a){return oE(n[r],this._dimensions[a])},keyedColumns:t,original:function(n,r,o,a){var s=n&&(n.value==null?n:n.value);return oE(s instanceof Array?s[a]:s,this._dimensions[a])},typedArray:function(n,r,o,a){return n[a]}}})(),e})(),aht=(function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,o,a;if(zx(t)){var s=t,l=void 0,c=void 0,d=void 0;if(r){var h=n[0];h.prepareSource(),d=h.getSource(),l=d.data,c=d.sourceFormat,a=[h._getVersionSign()]}else l=s.get("data",!0),c=Pu(l)?f0:ed,a=[];var p=this._getSourceMetaRawOption()||{},m=d&&d.metaRawOption||{},g=pi(p.seriesLayoutBy,m.seriesLayoutBy)||null,y=pi(p.sourceHeader,m.sourceHeader),S=pi(p.dimensions,m.dimensions),k=g!==m.seriesLayoutBy||!!y!=!!m.sourceHeader||S;o=k?[tz(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:S},c)]:[]}else{var C=t;if(r){var x=this._applyTransform(n);o=x.sourceList,a=x.upstreamSignList}else{var E=C.get("source",!0);o=[tz(E,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(o,a)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(o!=null){var a="";t.length!==1&&Voe(a)}var s,l=[],c=[];return Tt(t,function(d){d.prepareSource();var h=d.getSource(o||0),p="";o!=null&&!h&&Voe(p),l.push(h),c.push(d._getVersionSign())}),r?s=nht(r,l,{datasetIndex:n.componentIndex}):o!=null&&(s=[Fft(l[0])]),{sourceList:s,upstreamSignList:c}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n1||n>0&&!e.noHeader;return Tt(e.blocks,function(o){var a=Oge(o);a>=t&&(t=a+ +(r&&(!a||rz(o)&&!o.noHeader)))}),t}return 0}function dht(e,t,n,r){var o=t.noHeader,a=hht(Oge(t)),s=[],l=t.blocks||[];zh(!l||Qn(l)),l=l||[];var c=e.orderMode;if(t.sortBlocks&&c){l=l.slice();var d={valueAsc:"asc",valueDesc:"desc"};if(Lm(d,c)){var h=new qft(d[c],null);l.sort(function(S,k){return h.evaluate(S.sortParam,k.sortParam)})}else c==="seriesDesc"&&l.reverse()}Tt(l,function(S,k){var C=t.valueFormatter,x=Mge(S)(C?bn(bn({},e),{valueFormatter:C}):e,S,k>0?a.html:0,r);x!=null&&s.push(x)});var p=e.renderMode==="richText"?s.join(a.richText):iz(r,s.join(""),o?n:a.html);if(o)return p;var m=ez(t.header,"ordinal",e.useUTC),g=Rge(r,e.renderMode).nameStyle,y=Pge(r);return e.renderMode==="richText"?$ge(e,m,g)+a.richText+p:iz(r,''+gu(m)+"
"+p,n)}function fht(e,t,n,r){var o=e.renderMode,a=t.noName,s=t.noValue,l=!t.markerType,c=t.name,d=e.useUTC,h=t.valueFormatter||e.valueFormatter||function(_){return _=Qn(_)?_:[_],xr(_,function(T,D){return ez(T,Qn(g)?g[D]:g,d)})};if(!(a&&s)){var p=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",o),m=a?"":ez(c,"ordinal",d),g=t.valueType,y=s?[]:h(t.value,t.dataIndex),S=!l||!a,k=!l&&a,C=Rge(r,o),x=C.nameStyle,E=C.valueStyle;return o==="richText"?(l?"":p)+(a?"":$ge(e,m,x))+(s?"":mht(e,y,S,k,E)):iz(r,(l?"":p)+(a?"":pht(m,!l,x))+(s?"":vht(y,S,k,E)),n)}}function zoe(e,t,n,r,o,a){if(e){var s=Mge(e),l={useUTC:o,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return s(l,e,0,a)}}function hht(e){return{html:uht[e],richText:cht[e]}}function iz(e,t,n){var r='',o="margin: "+n+"px 0 0",a=Pge(e);return''+t+r+"
"}function pht(e,t,n){var r=t?"margin-left:2px":"";return''+gu(e)+""}function vht(e,t,n,r){var o=n?"10px":"20px",a=t?"float:right;margin-left:"+o:"";return e=Qn(e)?e:[e],''+xr(e,function(s){return gu(s)}).join(" ")+""}function $ge(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function mht(e,t,n,r,o){var a=[o],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Qn(t)?t.join(" "):t,a)}function ght(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Rm(r)}function Bge(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var eF=(function(){function e(){this.richTextStyles={},this._nextStyleNameId=hme()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var o=r==="richText"?this._generateStyleName():null,a=oft({color:n,type:t,renderMode:r,markerId:o});return yr(a)?a:(this.richTextStyles[o]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};Qn(n)?Tt(n,function(a){return bn(r,a)}):bn(r,n);var o=this._generateStyleName();return this.richTextStyles[o]=r,"{"+o+"|"+t+"}"},e})();function yht(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,o=t.getData(),a=o.mapDimensionsAll("defaultedTooltip"),s=a.length,l=t.getRawValue(n),c=Qn(l),d=ght(t,n),h,p,m,g;if(s>1||c&&!s){var y=bht(l,t,n,a,d);h=y.inlineValues,p=y.inlineValueTypes,m=y.blocks,g=y.inlineValues[0]}else if(s){var S=o.getDimensionInfo(a[0]);g=h=By(o,n,a[0]),p=S.type}else g=h=c?l[0]:l;var k=hW(t),C=k&&t.name||"",x=o.getName(n),E=r?C:x;return h_("section",{header:C,noHeader:r||!k,sortParam:g,blocks:[h_("nameValue",{markerType:"item",markerColor:d,name:E,noName:!ff(E),value:h,valueType:p,dataIndex:n})].concat(m||[])})}function bht(e,t,n,r,o){var a=t.getData(),s=k0(e,function(p,m,g){var y=a.getDimensionInfo(g);return p=p||y&&y.tooltip!==!1&&y.displayName!=null},!1),l=[],c=[],d=[];r.length?Tt(r,function(p){h(By(a,n,p),p)}):Tt(e,h);function h(p,m){var g=a.getDimensionInfo(m);!g||g.otherDims.tooltip===!1||(s?d.push(h_("nameValue",{markerType:"subItem",markerColor:o,name:g.displayName,value:p,valueType:g.type})):(l.push(p),c.push(g.type)))}return{inlineValues:l,inlineValueTypes:c,blocks:d}}var Ap=$s();function Ux(e,t){return e.getName(t)||e.getId(t)}var _ht="__universalTransitionEnabled",Pd=(function(e){Nn(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,o){this.seriesIndex=this.componentIndex,this.dataTask=Sb({count:kht,reset:xht}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,o);var a=Ap(this).sourceManager=new aht(this);a.prepareSource();var s=this.getInitialData(n,o);Hoe(s,this),this.dataTask.context.data=s,Ap(this).dataBeforeProcessed=s,Uoe(this),this._initSelectedMapFromData(s)},t.prototype.mergeDefaultAndTheme=function(n,r){var o=d_(this),a=o?AA(n):{},s=this.subType;co.hasClass(s)&&(s+="Series"),oo(n,r.getTheme().get(this.subType)),oo(n,this.getDefaultOption()),UV(n,"label",["show"]),this.fillDataTextStyle(n.data),o&&$y(n,a,o)},t.prototype.mergeOption=function(n,r){n=oo(this.option,n,!0),this.fillDataTextStyle(n.data);var o=d_(this);o&&$y(this.option,n,o);var a=Ap(this).sourceManager;a.dirty(),a.prepareSource();var s=this.getInitialData(n,r);Hoe(s,this),this.dataTask.dirty(),this.dataTask.context.data=s,Ap(this).dataBeforeProcessed=s,Uoe(this),this._initSelectedMapFromData(s)},t.prototype.fillDataTextStyle=function(n){if(n&&!Pu(n))for(var r=["show"],o=0;othis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,o){var a=this.ecModel,s=$W.prototype.getColorFromPalette.call(this,n,r,o);return s||(s=a.getColorFromPalette(n,r,o)),s},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var o=this.option.selectedMap;if(o){var a=this.option.selectedMode,s=this.getData(r);if(a==="series"||o==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var l=0;l=0&&o.push(s)}return o},t.prototype.isSelected=function(n,r){var o=this.option.selectedMap;if(!o)return!1;var a=this.getData(r);return(o==="all"||o[Ux(a,n)])&&!a.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[_ht])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var o,a,s=this.option,l=s.selectedMode,c=r.length;if(!(!l||!c)){if(l==="series")s.selectedMap="all";else if(l==="multiple"){Tr(s.selectedMap)||(s.selectedMap={});for(var d=s.selectedMap,h=0;h0&&this._innerSelect(n,r)}},t.registerClass=function(n){return co.registerClass(n)},t.protoInitialize=(function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"})(),t})(co);Df(Pd,Gft);Df(Pd,$W);bme(Pd,co);function Uoe(e){var t=e.name;hW(e)||(e.name=Sht(e)||t)}function Sht(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return Tt(n,function(o){var a=t.getDimensionInfo(o);a.displayName&&r.push(a.displayName)}),r.join(" ")}function kht(e){return e.model.getRawData().count()}function xht(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Cht}function Cht(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Hoe(e,t){Tt(Uat(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Ps(wht,t))})}function wht(e,t){var n=oz(e);return n&&n.setOutputEnd((t||this).count()),t}function oz(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var o=r.agentStubMap;o&&(r=o.get(e.uid))}return r}}var Rd=(function(){function e(){this.group=new Za,this.uid=SA("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,o){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,o){},e.prototype.updateLayout=function(t,n,r,o){},e.prototype.updateVisual=function(t,n,r,o){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e})();vW(Rd);uA(Rd);function zW(){var e=$s();return function(t){var n=e(t),r=t.pipelineContext,o=!!n.large,a=!!n.progressiveRender,s=n.large=!!(r&&r.large),l=n.progressiveRender=!!(r&&r.progressiveRender);return(o!==s||a!==l)&&"reset"}}var Nge=$s(),Eht=zW(),Hc=(function(){function e(){this.group=new Za,this.uid=SA("viewChart"),this.renderTask=Sb({plan:Tht,reset:Aht}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,o){},e.prototype.highlight=function(t,n,r,o){var a=t.getData(o&&o.dataType);a&&Goe(a,o,"emphasis")},e.prototype.downplay=function(t,n,r,o){var a=t.getData(o&&o.dataType);a&&Goe(a,o,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,o){this.render(t,n,r,o)},e.prototype.updateLayout=function(t,n,r,o){this.render(t,n,r,o)},e.prototype.updateVisual=function(t,n,r,o){this.render(t,n,r,o)},e.prototype.eachRendered=function(t){yA(this.group,t)},e.markUpdateMethod=function(t,n){Nge(t).updateMethod=n},e.protoInitialize=(function(){var t=e.prototype;t.type="chart"})(),e})();function Woe(e,t,n){e&&XV(e)&&(t==="emphasis"?sT:aT)(e,n)}function Goe(e,t,n){var r=Dm(e,t),o=t&&t.highlightKey!=null?Uct(t.highlightKey):null;r!=null?Tt(Xl(r),function(a){Woe(e.getItemGraphicEl(a),n,o)}):e.eachItemGraphicEl(function(a){Woe(a,n,o)})}vW(Hc);uA(Hc);function Tht(e){return Eht(e.model)}function Aht(e){var t=e.model,n=e.ecModel,r=e.api,o=e.payload,a=t.pipelineContext.progressiveRender,s=e.view,l=o&&Nge(o).updateMethod,c=a?"incrementalPrepareRender":l&&s[l]?l:"render";return c!=="render"&&s[c](t,n,r,o),Iht[c]}var Iht={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},vT="\0__throttleOriginMethod",Koe="\0__throttleRate",qoe="\0__throttleType";function DA(e,t,n){var r,o=0,a=0,s=null,l,c,d,h;t=t||0;function p(){a=new Date().getTime(),s=null,e.apply(c,d||[])}var m=function(){for(var g=[],y=0;y=0?p():s=setTimeout(p,-l),o=r};return m.clear=function(){s&&(clearTimeout(s),s=null)},m.debounceNextCall=function(g){h=g},m}function Fge(e,t,n,r){var o=e[t];if(o){var a=o[vT]||o,s=o[qoe],l=o[Koe];if(l!==n||s!==r){if(n==null||!r)return e[t]=a;o=e[t]=DA(a,n,r==="debounce"),o[vT]=a,o[qoe]=r,o[Koe]=n}return o}}function sz(e,t){var n=e[t];n&&n[vT]&&(n.clear&&n.clear(),e[t]=n[vT])}var Yoe=$s(),Xoe={itemStyle:a_(Jme,!0),lineStyle:a_(Zme,!0)},Lht={lineStyle:"stroke",itemStyle:"fill"};function jge(e,t){var n=e.visualStyleMapper||Xoe[t];return n||(console.warn("Unknown style type '"+t+"'."),Xoe.itemStyle)}function Vge(e,t){var n=e.visualDrawType||Lht[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var Dht={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",o=e.getModel(r),a=jge(e,r),s=a(o),l=o.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var c=Vge(e,r),d=s[c],h=ei(d)?d:null,p=s.fill==="auto"||s.stroke==="auto";if(!s[c]||h||p){var m=e.getColorFromPalette(e.name,null,t.getSeriesCount());s[c]||(s[c]=m,n.setVisual("colorFromPalette",!0)),s.fill=s.fill==="auto"||ei(s.fill)?m:s.fill,s.stroke=s.stroke==="auto"||ei(s.stroke)?m:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",c),!t.isSeriesFiltered(e)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(g,y){var S=e.getDataParams(y),k=bn({},s);k[c]=h(S),g.setItemVisual(y,"style",k)}}}},n4=new ks,Pht={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",o=jge(e,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(s,l){var c=s.getRawDataItem(l);if(c&&c[r]){n4.option=c[r];var d=o(n4),h=s.ensureUniqueItemVisual(l,"style");bn(h,d),n4.option.decal&&(s.setItemVisual(l,"decal",n4.option.decal),n4.option.decal.dirty=!0),a in d&&s.setItemVisual(l,"colorFromPalette",!1)}}:null}}}},Rht={performRawSeries:!0,overallReset:function(e){var t=_i();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var o=n.type+"-"+r,a=t.get(o);a||(a={},t.set(o,a)),Yoe(n).scope=a}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),o={},a=n.getData(),s=Yoe(n).scope,l=n.visualStyleAccessPath||"itemStyle",c=Vge(n,l);a.each(function(d){var h=a.getRawIndex(d);o[h]=d}),r.each(function(d){var h=o[d],p=a.getItemVisual(h,"colorFromPalette");if(p){var m=a.ensureUniqueItemVisual(h,"style"),g=r.getName(d)||d+"",y=r.count();m[c]=n.getColorFromPalette(g,s,y)}})}})}},Hx=Math.PI;function Mht(e,t){t=t||{},ao(t,{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 n=new Za,r=new Zs({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var o=new Ja({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Zs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(a);var s;return t.showSpinner&&(s=new mA({shape:{startAngle:-Hx/2,endAngle:-Hx/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),s.animateShape(!0).when(1e3,{endAngle:Hx*3/2}).start("circularInOut"),s.animateShape(!0).when(1e3,{startAngle:Hx*3/2}).delay(300).start("circularInOut"),n.add(s)),n.resize=function(){var l=o.getBoundingRect().width,c=t.showSpinner?t.spinnerRadius:0,d=(e.getWidth()-c*2-(t.showSpinner&&l?10:0)-l)/2-(t.showSpinner&&l?0:5+l/2)+(t.showSpinner?0:l/2)+(l?0:c),h=e.getHeight()/2;t.showSpinner&&s.setShape({cx:d,cy:h}),a.setShape({x:d-c,y:h-c,width:c*2,height:c*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var zge=(function(){function e(t,n,r,o){this._stageTaskMap=_i(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),o=this._visualHandlers=o.slice(),this._allHandlers=r.concat(o)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var o=r.overallTask;o&&o.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),o=r.context,a=!n&&r.progressiveEnabled&&(!o||o.progressiveRender)&&t.__idxInPipeline>r.blockIndex,s=a?r.step:null,l=o&&o.modDataCount,c=l!=null?Math.ceil(l/s):null;return{step:s,modBy:c,modDataCount:l}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),o=t.getData(),a=o.count(),s=r.progressiveEnabled&&n.incrementalPrepareRender&&a>=r.threshold,l=t.get("large")&&a>=t.get("largeThreshold"),c=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=r.context={progressiveRender:s,modDataCount:c,large:l}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=_i();t.eachSeries(function(o){var a=o.getProgressive(),s=o.uid;r.set(s,{id:s,head:null,tail:null,threshold:o.getProgressiveThreshold(),progressiveEnabled:a&&!(o.preventIncremental&&o.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),n._pipe(o,o.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;Tt(this._allHandlers,function(o){var a=t.get(o.uid)||t.set(o.uid,{}),s="";zh(!(o.reset&&o.overallReset),s),o.reset&&this._createSeriesStageTask(o,a,n,r),o.overallReset&&this._createOverallStageTask(o,a,n,r)},this)},e.prototype.prepareView=function(t,n,r,o){var a=t.renderTask,s=a.context;s.model=n,s.ecModel=r,s.api=o,a.__block=!t.incrementalPrepareRender,this._pipe(n,a)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,o){o=o||{};var a=!1,s=this;Tt(t,function(c,d){if(!(o.visualType&&o.visualType!==c.visualType)){var h=s._stageTaskMap.get(c.uid),p=h.seriesTaskMap,m=h.overallTask;if(m){var g,y=m.agentStubMap;y.each(function(k){l(o,k)&&(k.dirty(),g=!0)}),g&&m.dirty(),s.updatePayload(m,r);var S=s.getPerformArgs(m,o.block);y.each(function(k){k.perform(S)}),m.perform(S)&&(a=!0)}else p&&p.each(function(k,C){l(o,k)&&k.dirty();var x=s.getPerformArgs(k,o.block);x.skip=!c.performRawSeries&&n.isSeriesFiltered(k.context.model),s.updatePayload(k,r),k.perform(x)&&(a=!0)})}});function l(c,d){return c.setDirty&&(!c.dirtyMap||c.dirtyMap.get(d.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,o){var a=this,s=n.seriesTaskMap,l=n.seriesTaskMap=_i(),c=t.seriesType,d=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(h):c?r.eachRawSeriesByType(c,h):d&&d(r,o).each(h);function h(p){var m=p.uid,g=l.set(m,s&&s.get(m)||Sb({plan:Fht,reset:jht,count:zht}));g.context={model:p,ecModel:r,api:o,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(p,g)}},e.prototype._createOverallStageTask=function(t,n,r,o){var a=this,s=n.overallTask=n.overallTask||Sb({reset:Oht});s.context={ecModel:r,api:o,overallReset:t.overallReset,scheduler:a};var l=s.agentStubMap,c=s.agentStubMap=_i(),d=t.seriesType,h=t.getTargetSeries,p=!0,m=!1,g="";zh(!t.createOnAllSeries,g),d?r.eachRawSeriesByType(d,y):h?h(r,o).each(y):(p=!1,Tt(r.getSeries(),y));function y(S){var k=S.uid,C=c.set(k,l&&l.get(k)||(m=!0,Sb({reset:$ht,onDirty:Nht})));C.context={model:S,overallProgress:p},C.agent=s,C.__block=p,a._pipe(S,C)}m&&s.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,o=this._pipelineMap.get(r);!o.head&&(o.head=n),o.tail&&o.tail.pipe(n),o.tail=n,n.__idxInPipeline=o.count++,n.__pipeline=o},e.wrapStageHandler=function(t,n){return ei(t)&&(t={overallReset:t,seriesType:Uht(t)}),t.uid=SA("stageHandler"),n&&(t.visualType=n),t},e})();function Oht(e){e.overallReset(e.ecModel,e.api,e.payload)}function $ht(e){return e.overallProgress&&Bht}function Bht(){this.agent.dirty(),this.getDownstream().dirty()}function Nht(){this.agent&&this.agent.dirty()}function Fht(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function jht(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Xl(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?xr(t,function(n,r){return Uge(r)}):Vht}var Vht=Uge(0);function Uge(e){return function(t,n){var r=n.data,o=n.resetDefines[e];if(o&&o.dataEach)for(var a=t.start;a