chunk-vendors-98185b45.680b4590.js 20 KB

12
  1. (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[500],{46295:function(t,e,o){var n=o(70492);o(39790),o(81950);var a=o(34586),i=o(21149),r=o(64088);o(84617),n.registerVisual(a("line","circle","line")),n.registerLayout(i("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,r("line"))},39790:function(t,e,o){var n=o(38175),a=(n.__DEV__,o(40488)),i=o(93321),r=i.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return a(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=r},81950:function(t,e,o){var n=o(38175),a=(n.__DEV__,o(33051)),i=o(3726),r=i.fromPoints,s=o(68162),l=o(66351),u=o(21068),h=o(51177),p=o(32234),f=o(30633),c=f.Polyline,d=f.Polygon,m=o(75797),g=o(89385),v=g.prepareDataCoordInfo,y=g.getStackedOnPoint,_=o(22963),C=_.createGridClipPath,S=_.createPolarClipPath;function b(t,e){if(t.length===e.length){for(var o=0;o<t.length;o++){var n=t[o],a=e[o];if(n[0]!==a[0]||n[1]!==a[1])return}return!0}}function x(t,e){var o=[],n=[],a=[],i=[];return r(t,o,n),r(e,a,i),Math.max(Math.abs(o[0]-a[0]),Math.abs(o[1]-a[1]),Math.abs(n[0]-i[0]),Math.abs(n[1]-i[1]))}function w(t){return"number"===typeof t?t:t?.5:0}function D(t,e,o){if(!o.valueDim)return[];for(var n=[],a=0,i=e.count();a<i;a++)n.push(y(o,t,e,a));return n}function P(t,e,o){for(var n=e.getBaseAxis(),a="x"===n.dim||"radius"===n.dim?0:1,i=[],r=0;r<t.length-1;r++){var s=t[r+1],l=t[r];i.push(l);var u=[];switch(o){case"end":u[a]=s[a],u[1-a]=l[1-a],i.push(u);break;case"middle":var h=(l[a]+s[a])/2,p=[];u[a]=p[a]=h,u[1-a]=l[1-a],p[1-a]=s[1-a],i.push(u),i.push(p);break;default:u[a]=l[a],u[1-a]=s[1-a],i.push(u)}}return t[r]&&i.push(t[r]),i}function I(t,e){var o=t.getVisual("visualMeta");if(o&&o.length&&t.count()&&"cartesian2d"===e.type){for(var n,i,r=o.length-1;r>=0;r--){var s=o[r].dimension,l=t.dimensions[s],u=t.getDimensionInfo(l);if(n=u&&u.coordDim,"x"===n||"y"===n){i=o[r];break}}if(i){var p=e.getAxis(n),f=a.map(i.stops,(function(t){return{coord:p.toGlobalCoord(p.dataToCoord(t.value)),color:t.color}})),c=f.length,d=i.outerColors.slice();c&&f[0].coord>f[c-1].coord&&(f.reverse(),d.reverse());var m=10,g=f[0].coord-m,v=f[c-1].coord+m,y=v-g;if(y<.001)return"transparent";a.each(f,(function(t){t.offset=(t.coord-g)/y})),f.push({offset:c?f[c-1].offset:.5,color:d[1]||"transparent"}),f.unshift({offset:c?f[0].offset:.5,color:d[0]||"transparent"});var _=new h.LinearGradient(0,0,0,0,f,!0);return _[n]=g,_[n+"2"]=v,_}}}function O(t,e,o){var n=t.get("showAllSymbol"),i="auto"===n;if(!n||i){var r=o.getAxesByScale("ordinal")[0];if(r&&(!i||!A(r,e))){var s=e.mapDimension(r.dim),l={};return a.each(r.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function A(t,e){var o=t.getExtent(),n=Math.abs(o[1]-o[0])/t.scale.count();isNaN(n)&&(n=0);for(var a=e.count(),i=Math.max(1,Math.round(a/5)),r=0;r<a;r+=i)if(1.5*l.getSymbolSize(e,r)[t.isHorizontal()?1:0]>n)return!1;return!0}function k(t,e,o){if("cartesian2d"===t.type){var n=t.getBaseAxis().isHorizontal(),a=C(t,e,o);if(!o.get("clip",!0)){var i=a.shape,r=Math.max(i.width,i.height);n?(i.y-=r,i.height+=2*r):(i.x-=r,i.width+=2*r)}return a}return S(t,e,o)}var N=m.extend({type:"line",init:function(){var t=new h.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,o){var n=t.coordinateSystem,i=this.group,r=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=r.mapArray(r.getItemLayout),h="polar"===n.type,p=this._coordSys,f=this._symbolDraw,c=this._polyline,d=this._polygon,m=this._lineGroup,g=t.get("animation"),y=!l.isEmpty(),_=l.get("origin"),C=v(n,r,_),S=D(n,r,C),x=t.get("showSymbol"),A=x&&!h&&O(t,r,n),N=this._data;N&&N.eachItemGraphicEl((function(t,e){t.__temp&&(i.remove(t),N.setItemGraphicEl(e,null))})),x||f.remove(),i.add(m);var L,M=!h&&t.get("step");n&&n.getArea&&t.get("clip",!0)&&(L=n.getArea(),null!=L.width?(L.x-=.1,L.y-=.1,L.width+=.2,L.height+=.2):L.r0&&(L.r0-=.5,L.r1+=.5)),this._clipShapeForSymbol=L,c&&p.type===n.type&&M===this._step?(y&&!d?d=this._newPolygon(u,S,n,g):d&&!y&&(m.remove(d),d=this._polygon=null),m.setClipPath(k(n,!1,t)),x&&f.updateData(r,{isIgnore:A,clipShape:L}),r.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),b(this._stackedOnPoints,S)&&b(this._points,u)||(g?this._updateAnimation(r,S,n,o,M,_):(M&&(u=P(u,n,M),S=P(S,n,M)),c.setShape({points:u}),d&&d.setShape({points:u,stackedOnPoints:S})))):(x&&f.updateData(r,{isIgnore:A,clipShape:L}),M&&(u=P(u,n,M),S=P(S,n,M)),c=this._newPolyline(u,n,g),y&&(d=this._newPolygon(u,S,n,g)),m.setClipPath(k(n,!0,t)));var T=I(r,n)||r.getVisual("color");c.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"}));var E=t.get("smooth");if(E=w(t.get("smooth")),c.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),d){var F=r.getCalculationInfo("stackedOnSeries"),z=0;d.useStyle(a.defaults(l.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel"})),F&&(z=w(F.get("smooth"))),d.setShape({smooth:E,stackedOnSmooth:z,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=r,this._coordSys=n,this._stackedOnPoints=S,this._points=u,this._step=M,this._valueOrigin=_},dispose:function(){},highlight:function(t,e,o,n){var a=t.getData(),i=p.queryDataIndex(a,n);if(!(i instanceof Array)&&null!=i&&i>=0){var r=a.getItemGraphicEl(i);if(!r){var s=a.getItemLayout(i);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;r=new l(a,i),r.position=s,r.setZ(t.get("zlevel"),t.get("z")),r.ignore=isNaN(s[0])||isNaN(s[1]),r.__temp=!0,a.setItemGraphicEl(i,r),r.stopSymbolAnimation(!0),this.group.add(r)}r.highlight()}else m.prototype.highlight.call(this,t,e,o,n)},downplay:function(t,e,o,n){var a=t.getData(),i=p.queryDataIndex(a,n);if(null!=i&&i>=0){var r=a.getItemGraphicEl(i);r&&(r.__temp?(a.setItemGraphicEl(i,null),this.group.remove(r)):r.downplay())}else m.prototype.downplay.call(this,t,e,o,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new c({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var o=this._polygon;return o&&this._lineGroup.remove(o),o=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(o),this._polygon=o,o},_updateAnimation:function(t,e,o,n,a,i){var r=this._polyline,s=this._polygon,l=t.hostModel,p=u(this._data,t,this._stackedOnPoints,e,this._coordSys,o,this._valueOrigin,i),f=p.current,c=p.stackedOnCurrent,d=p.next,m=p.stackedOnNext;if(a&&(f=P(p.current,o,a),c=P(p.stackedOnCurrent,o,a),d=P(p.next,o,a),m=P(p.stackedOnNext,o,a)),x(f,d)>3e3||s&&x(c,m)>3e3)return r.setShape({points:d}),void(s&&s.setShape({points:d,stackedOnPoints:m}));r.shape.__points=p.current,r.shape.points=f,h.updateProps(r,{shape:{points:d}},l),s&&(s.setShape({points:f,stackedOnPoints:c}),h.updateProps(s,{shape:{points:d,stackedOnPoints:m}},l));for(var g=[],v=p.status,y=0;y<v.length;y++){var _=v[y].cmd;if("="===_){var C=t.getItemGraphicEl(v[y].idx1);C&&g.push({el:C,ptIdx:y})}}r.animators&&r.animators.length&&r.animators[0].during((function(){for(var t=0;t<g.length;t++){var e=g[t].el;e.attr("position",r.shape.__points[g[t].ptIdx])}}))},remove:function(t){var e=this.group,o=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),o&&o.eachItemGraphicEl((function(t,n){t.__temp&&(e.remove(t),o.setItemGraphicEl(n,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=N},89385:function(t,e,o){var n=o(99936),a=n.isDimensionStacked,i=o(33051),r=i.map;function s(t,e,o){var n,i=t.getBaseAxis(),s=t.getOtherAxis(i),u=l(s,o),h=i.dim,p=s.dim,f=e.mapDimension(p),c=e.mapDimension(h),d="x"===p||"radius"===p?1:0,m=r(t.dimensions,(function(t){return e.mapDimension(t)})),g=e.getCalculationInfo("stackResultDimension");return(n|=a(e,m[0]))&&(m[0]=g),(n|=a(e,m[1]))&&(m[1]=g),{dataDimsForPoint:m,valueStart:u,valueAxisDim:p,baseAxisDim:h,stacked:!!n,valueDim:f,baseDim:c,baseDataOffset:d,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var o=0,n=t.scale.getExtent();return"start"===e?o=n[0]:"end"===e?o=n[1]:n[0]>0?o=n[0]:n[1]<0&&(o=n[1]),o}function u(t,e,o,n){var a=NaN;t.stacked&&(a=o.get(o.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=t.valueStart);var i=t.baseDataOffset,r=[];return r[i]=o.get(t.baseDim,n),r[1-i]=a,e.dataToPoint(r)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},21068:function(t,e,o){var n=o(89385),a=n.prepareDataCoordInfo,i=n.getStackedOnPoint;function r(t,e){var o=[];return e.diff(t).add((function(t){o.push({cmd:"+",idx:t})})).update((function(t,e){o.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){o.push({cmd:"-",idx:t})})).execute(),o}function s(t,e,o,n,s,l,u,h){for(var p=r(t,e),f=[],c=[],d=[],m=[],g=[],v=[],y=[],_=a(s,e,u),C=a(l,t,h),S=0;S<p.length;S++){var b=p[S],x=!0;switch(b.cmd){case"=":var w=t.getItemLayout(b.idx),D=e.getItemLayout(b.idx1);(isNaN(w[0])||isNaN(w[1]))&&(w=D.slice()),f.push(w),c.push(D),d.push(o[b.idx]),m.push(n[b.idx1]),y.push(e.getRawIndex(b.idx1));break;case"+":var P=b.idx;f.push(s.dataToPoint([e.get(_.dataDimsForPoint[0],P),e.get(_.dataDimsForPoint[1],P)])),c.push(e.getItemLayout(P).slice()),d.push(i(_,s,e,P)),m.push(n[P]),y.push(e.getRawIndex(P));break;case"-":P=b.idx;var I=t.getRawIndex(P);I!==P?(f.push(t.getItemLayout(P)),c.push(l.dataToPoint([t.get(C.dataDimsForPoint[0],P),t.get(C.dataDimsForPoint[1],P)])),d.push(o[P]),m.push(i(C,l,t,P)),y.push(I)):x=!1}x&&(g.push(b),v.push(v.length))}v.sort((function(t,e){return y[t]-y[e]}));var O=[],A=[],k=[],N=[],L=[];for(S=0;S<v.length;S++){P=v[S];O[S]=f[P],A[S]=c[P],k[S]=d[P],N[S]=m[P],L[S]=g[P]}return{current:O,next:A,stackedOnCurrent:k,stackedOnNext:N,status:L}}t.exports=s},30633:function(t,e,o){var n=o(10712),a=o(45280),i=o(60873),r=a.min,s=a.max,l=a.scaleAndAdd,u=a.copy,h=[],p=[],f=[];function c(t){return isNaN(t[0])||isNaN(t[1])}function d(t,e,o,n,a,i,r,s,l,u,h){return"none"!==u&&u?m.apply(this,arguments):g.apply(this,arguments)}function m(t,e,o,n,a,i,r,s,l,h,d){for(var m=0,g=o,v=0;v<n;v++){var y=e[g];if(g>=a||g<0)break;if(c(y)){if(d){g+=i;continue}break}if(g===o)t[i>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var _=e[m],C="y"===h?1:0,S=(y[C]-_[C])*l;u(p,_),p[C]=_[C]+S,u(f,y),f[C]=y[C]-S,t.bezierCurveTo(p[0],p[1],f[0],f[1],y[0],y[1])}else t.lineTo(y[0],y[1]);m=g,g+=i}return v}function g(t,e,o,n,i,d,m,g,v,y,_){for(var C=0,S=o,b=0;b<n;b++){var x=e[S];if(S>=i||S<0)break;if(c(x)){if(_){S+=d;continue}break}if(S===o)t[d>0?"moveTo":"lineTo"](x[0],x[1]),u(p,x);else if(v>0){var w=S+d,D=e[w];if(_)while(D&&c(e[w]))w+=d,D=e[w];var P=.5,I=e[C];D=e[w];if(!D||c(D))u(f,x);else{var O,A;if(c(D)&&!_&&(D=x),a.sub(h,D,I),"x"===y||"y"===y){var k="x"===y?0:1;O=Math.abs(x[k]-I[k]),A=Math.abs(x[k]-D[k])}else O=a.dist(x,I),A=a.dist(x,D);P=A/(A+O),l(f,x,h,-v*(1-P))}r(p,p,g),s(p,p,m),r(f,f,g),s(f,f,m),t.bezierCurveTo(p[0],p[1],f[0],f[1],x[0],x[1]),l(p,x,h,v*P)}else t.lineTo(x[0],x[1]);C=S,S+=d}return b}function v(t,e){var o=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;a<t.length;a++){var i=t[a];i[0]<o[0]&&(o[0]=i[0]),i[1]<o[1]&&(o[1]=i[1]),i[0]>n[0]&&(n[0]=i[0]),i[1]>n[1]&&(n[1]=i[1])}return{min:e?o:n,max:e?n:o}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:i(n.prototype.brush),buildPath:function(t,e){var o=e.points,n=0,a=o.length,i=v(o,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!c(o[a-1]))break;for(;n<a;n++)if(!c(o[n]))break}while(n<a)n+=d(t,o,n,a,a,1,i.min,i.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),_=n.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:i(n.prototype.brush),buildPath:function(t,e){var o=e.points,n=e.stackedOnPoints,a=0,i=o.length,r=e.smoothMonotone,s=v(o,e.smoothConstraint),l=v(n,e.smoothConstraint);if(e.connectNulls){for(;i>0;i--)if(!c(o[i-1]))break;for(;a<i;a++)if(!c(o[a]))break}while(a<i){var u=d(t,o,a,i,i,1,s.min,s.max,e.smooth,r,e.connectNulls);d(t,n,a+u-1,u,i,-1,l.min,l.max,e.stackedOnSmooth,r,e.connectNulls),a+=u+1,t.closePath()}}});e.Polyline=y,e.Polygon=_},64771:function(t,e,o){var n=o(70492);o(40142),o(68192);var a=o(43850),i=o(62503);n.registerLayout(a),n.registerVisual(i)},40142:function(t,e,o){var n=o(38175),a=(n.__DEV__,o(93321)),i=o(87587),r=o(33051),s=r.concatArray,l=r.mergeAll,u=r.map,h=o(78988),p=h.encodeHTML,f=(o(95899),"undefined"===typeof Uint32Array?Array:Uint32Array),c="undefined"===typeof Float64Array?Array:Float64Array;function d(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=u(e,(function(t){var e=[t[0].coord,t[1].coord],o={coords:e};return t[0].name&&(o.fromName=t[0].name),t[1].name&&(o.toName=t[1].name),l([o,t[0],t[1]])})))}var m=a.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],d(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),m.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],d(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}m.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,e.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t),o=e.option instanceof Array?e.option:e.getShallow("coords");return o},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var o=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],a=0;a<n;a++)e[a]=e[a]||[],e[a][0]=this._flatCoords[o+2*a],e[a][1]=this._flatCoords[o+2*a+1];return n}var i=this._getCoordsFromItemModel(t);for(a=0;a<i.length;a++)e[a]=e[a]||[],e[a][0]=i[a][0],e[a][1]=i[a][1];return i.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"===typeof t[0]){for(var o=t.length,n=new f(o),a=new c(o),i=0,r=0,s=0,l=0;l<o;){s++;var u=t[l++];n[r++]=i+e,n[r++]=u;for(var h=0;h<u;h++){var p=t[l++],d=t[l++];a[i++]=p,a[i++]=d}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,r),flatCoords:a,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var o=new i(["value"],this);return o.hasItemOption=!1,o.initData(t.data,[],(function(t,e,n,a){if(t instanceof Array)return NaN;o.hasItemOption=!0;var i=t.value;return null!=i?i instanceof Array?i[a]:i:void 0})),o},formatTooltip:function(t){var e=this.getData(),o=e.getItemModel(t),n=o.get("name");if(n)return n;var a=o.get("fromName"),i=o.get("toName"),r=[];return null!=a&&r.push(a),null!=i&&r.push(i),p(r.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),g=m;t.exports=g},68192:function(t,e,o){var n=o(38175),a=(n.__DEV__,o(70492)),i=o(47145),r=o(99895),s=o(77159),l=o(30146),u=o(69121),h=o(34148),p=o(43850),f=o(22963),c=f.createClipPath,d=a.extendChartView({type:"lines",init:function(){},render:function(t,e,o){var n=t.getData(),a=this._updateLineDraw(n,t),i=t.get("zlevel"),r=t.get("effect.trailLength"),s=o.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(i).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&r&&(l||s.configLayer(i,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(r/10+.9,1),0)})),a.updateData(n);var u=t.get("clip",!0)&&c(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=i,this._finished=!0},incrementalPrepareRender:function(t,e,o){var n=t.getData(),a=this._updateLineDraw(n,t);a.incrementalPrepareUpdate(n),this._clearLayer(o),this._finished=!1},incrementalRender:function(t,e,o){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,o){var n=t.getData(),a=t.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var i=p.reset(t);i.progress&&i.progress({start:0,end:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(o)},_updateLineDraw:function(t,e){var o=this._lineDraw,n=this._showEffect(e),a=!!e.get("polyline"),p=e.pipelineContext,f=p.large;return o&&n===this._hasEffet&&a===this._isPolyline&&f===this._isLargeDraw||(o&&o.remove(),o=this._lineDraw=f?new h:new i(a?n?u:l:n?r:s),this._hasEffet=n,this._isPolyline=a,this._isLargeDraw=f,this.group.removeAll()),this.group.add(o.group),o},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr(),o="svg"===e.painter.getType();o||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=d},43850:function(t,e,o){var n=o(95682),a={seriesType:"lines",plan:n(),reset:function(t){var e=t.coordinateSystem,o=t.get("polyline"),n=t.pipelineContext.large;function a(a,i){var r=[];if(n){var s,l=a.end-a.start;if(o){for(var u=0,h=a.start;h<a.end;h++)u+=t.getLineCoordsCount(h);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var p=0,f=[];for(h=a.start;h<a.end;h++){var c=t.getLineCoords(h,r);o&&(s[p++]=c);for(var d=0;d<c;d++)f=e.dataToPoint(r[d],!1,f),s[p++]=f[0],s[p++]=f[1]}i.setLayout("linesPoints",s)}else for(h=a.start;h<a.end;h++){var m=i.getItemModel(h),g=(c=t.getLineCoords(h,r),[]);if(o)for(var v=0;v<c;v++)g.push(e.dataToPoint(r[v]));else{g[0]=e.dataToPoint(r[0]),g[1]=e.dataToPoint(r[1]);var y=m.get("lineStyle.curveness");+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}i.setItemLayout(h,g)}}return{progress:a}}};t.exports=a},62503:function(t){function e(t){return t instanceof Array||(t=[t,t]),t}var o="lineStyle.opacity".split("."),n={seriesType:"lines",reset:function(t,n,a){var i=e(t.get("symbol")),r=e(t.get("symbolSize")),s=t.getData();function l(t,n){var a=t.getItemModel(n),i=e(a.getShallow("symbol",!0)),r=e(a.getShallow("symbolSize",!0)),s=a.get(o);i[0]&&t.setItemVisual(n,"fromSymbol",i[0]),i[1]&&t.setItemVisual(n,"toSymbol",i[1]),r[0]&&t.setItemVisual(n,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(n,"toSymbolSize",r[1]),t.setItemVisual(n,"opacity",s)}return s.setVisual("fromSymbol",i&&i[0]),s.setVisual("toSymbol",i&&i[1]),s.setVisual("fromSymbolSize",r&&r[0]),s.setVisual("toSymbolSize",r&&r[1]),s.setVisual("opacity",t.get(o)),{dataEach:s.hasItemOption?l:null}}};t.exports=n}}]);
  2. //# sourceMappingURL=chunk-vendors-98185b45.680b4590.js.map