(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["npm.zrender"],{"04f6":function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=32,i=7;function o(t){var e=0;while(t>=n)e|=1&t,t>>=1;return t+e}function a(t,e,r,n){var i=e+1;if(i===r)return 1;if(n(t[i++],t[e])<0){while(i=0)i++;return i-e}function s(t,e,r){r--;while(e>>1,i(a,t[o])<0?h=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:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function u(t,e,r,n,i,o){var a=0,s=0,h=1;if(o(t,e[r+i])>0){s=n-i;while(h0)a=h,h=1+(h<<1),h<=0&&(h=s);h>s&&(h=s),a+=i,h+=i}else{s=i+1;while(hs&&(h=s);var u=a;a=i-h,h=i-u}a++;while(a>>1);o(t,e[r+l])>0?a=l+1:h=l}return h}function l(t,e,r,n,i,o){var a=0,s=0,h=1;if(o(t,e[r+i])<0){s=i+1;while(hs&&(h=s);var u=a;a=i-h,h=i-u}else{s=n-i;while(h=0)a=h,h=1+(h<<1),h<=0&&(h=s);h>s&&(h=s),a+=i,h+=i}a++;while(a>>1);o(t,e[r+l])<0?h=l:a=l+1}return h}function c(t,e){var r,n,o=i,a=0,s=0;a=t.length;var h=[];function c(t,e){r[s]=t,n[s]=e,s+=1}function f(){while(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])break;d(t)}}function p(){while(s>1){var t=s-2;t>0&&n[t-1]=i||g>=i);if(y)break;_<0&&(_=0),_+=2}if(o=_,o<1&&(o=1),1===n){for(c=0;c=0;c--)t[g+c]=t[v+c];if(0===n){m=!0;break}}if(t[d--]=h[p--],1===--s){m=!0;break}if(b=s-u(t[f],h,0,s,s-1,e),0!==b){for(d-=b,p-=b,s-=b,g=d+1,v=p+1,c=0;c=i||b>=i);if(m)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===s){for(d-=n,f-=n,g=d+1,v=f+1,c=n-1;c>=0;c--)t[g+c]=t[v+c];t[d]=h[p]}else{if(0===s)throw new Error;for(v=d-(s-1),c=0;c=0;c--)t[g+c]=t[v+c];t[d]=h[p]}else for(v=d-(s-1),c=0;cf&&(p=f),h(t,r,r+p,r+u,e),u=p}l.pushRun(r,u),l.mergeRuns(),s-=u,r+=u}while(0!==s);l.forceMergeRuns()}}},"0655":function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("8728"),i=1e-8;function o(t,e){return Math.abs(t-e)=a)}}for(var f=this.__startIndex;f15)break}}r.prevElClipPaths&&u.restore()};if(f)if(0===f.length)s=h.__endIndex;else for(var m=p.dpr,x=0;x0&&t>n[0]){for(s=0;st)break;a=r[n[s]]}if(n.splice(s+1,0,t),r[t]=e,!e.virtual)if(a){var h=a.dom;h.nextSibling?o.insertBefore(e.dom,h.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var r=this._zlevelList,n=0;n0?b:0),this._needsManuallyCompositing),c.__builtin__||i["G"]("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==a&&(c.__dirty=!0),c.__startIndex=a,c.incremental?c.__drawIndex=-1:c.__drawIndex=a,e(a),s=c),n.__dirty&l["a"]&&!n.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=a))}e(a),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,i["k"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?i["I"](r[t],e,!0):r[t]=e;for(var n=0;nn?e:t,o=Math.min(r,n),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa;if(s)n.length=a;else for(var h=o;h=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,r){this._needsSort=!0;var n=this.keyframes,s=n.length,h=!1,c=C,f=e;if(Object(o["u"])(e)){var p=x(e);c=p,(1===p&&!Object(o["z"])(e[0])||2===p&&!Object(o["z"])(e[0][0]))&&(h=!0)}else if(Object(o["z"])(e)&&!Object(o["l"])(e))c=w;else if(Object(o["C"])(e))if(isNaN(+e)){var d=u["g"](e);d&&(f=d,c=j)}else c=w;else if(Object(o["x"])(e)){var v=Object(o["m"])({},f);v.colorStops=Object(o["H"])(e.colorStops,(function(t){return{offset:t.offset,color:u["g"](t.color)}})),Object(l["m"])(e)?c=S:Object(l["o"])(e)&&(c=T),f=v}0===s?this.valType=c:c===this.valType&&c!==C||(h=!0),this.discrete=this.discrete||h;var g={time:t,value:f,rawValue:e,percent:0};return r&&(g.easing=r,g.easingFunc=Object(o["w"])(r)?r:i[r]||Object(a["a"])(r)),n.push(g),g},t.prototype.prepare=function(t,e){var r=this.keyframes;this._needsSort&&r.sort((function(t,e){return t.time-e.time}));for(var n=this.valType,i=r.length,o=r[i-1],a=this.discrete,s=M(n),h=P(n),u=0;u=0;r--)if(u[r].percent<=e)break;r=y(r,l-2)}else{for(r=g;re)break;r=y(r-1,l-2)}i=u[r+1],n=u[r]}if(n&&i){this._lastFr=r,this._lastFrP=e;var b=i.percent-n.percent,x=0===b?1:y((e-n.percent)/b,1);i.easingFunc&&(x=i.easingFunc(x));var w=a?this._additiveValue:v?A:t[c];if(!M(h)&&!v||w||(w=this._additiveValue=[]),this.discrete)t[c]=x<1?n.rawValue:i.rawValue;else if(M(h))h===O?p(w,n[s],i[s],x):d(w,n[s],i[s],x);else if(P(h)){var k=n[s],T=i[s],C=h===S;t[c]={type:C?"linear":"radial",x:f(k.x,T.x,x),y:f(k.y,T.y,x),colorStops:Object(o["H"])(k.colorStops,(function(t,e){var r=T.colorStops[e];return{offset:f(t.offset,r.offset,x),color:m(p([],t.color,r.color,x))}})),global:T.global},C?(t[c].x2=f(k.x2,T.x2,x),t[c].y2=f(k.y2,T.y2,x)):t[c].r=f(k.r,T.r,x)}else if(v)p(w,n[s],i[s],x),a||(t[c]=m(w));else{var L=f(n[s],i[s],x);a?this._additiveValue=L:t[c]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,r=this.propName,n=this._additiveValue;e===w?t[r]=t[r]+n:e===j?(u["g"](t[r],A),v(A,A,n,1),t[r]=m(A)):e===O?v(t[r],t[r],n,1):e===k&&g(t[r],t[r],n,1)},t}(),z=function(){function t(t,e,r,n){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?Object(o["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=n,this._allowDiscrete=r)}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,r){return this.whenWithKeys(t,e,Object(o["F"])(e),r)},t.prototype.whenWithKeys=function(t,e,r,n){for(var i=this._tracks,o=0;o0&&s.addKeyframe(0,b(h),n),this._trackKeys.push(a)}s.addKeyframe(t,b(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,r=0;r0)){this._started=1;for(var e=this,r=[],n=this._maxTime||0,i=0;i1){var s=a.pop();i.addKeyframe(s.time,t[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}();e["b"]=z},"0da8":function(t,e,r){"use strict";var n=r("21a1"),i=r("19eb"),o=r("9850"),a=r("6d8b"),s=Object(a["i"])({x:0,y:0},i["b"]),h={style:Object(a["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i["a"].style)};function u(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n["a"])(e,t),e.prototype.createStyle=function(t){return Object(a["g"])(s,t)},e.prototype._getSize=function(t){var e=this.style,r=e[t];if(null!=r)return r;var n=u(e.image)?e.image:this.__image;if(!n)return 0;var i="width"===t?"height":"width",o=e[i];return null==o?n[t]:n[t]/n[i]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return h},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}(i["c"]);l.prototype.type="image",e["a"]=l},"0e50":function(t,e,r){"use strict";r.d(e,"b",(function(){return W})),r.d(e,"c",(function(){return G})),r.d(e,"a",(function(){return J})),r.d(e,"d",(function(){return tt}));var n=r("4a3f"),i=r("cbe5"),o=r("6d8b"),a=r("401b"),s=r("342d"),h=r("8582"),u=r("e263"),l=r("9850"),c=r("dce8"),f=r("87b1"),p=r("c7a2"),d=r("4aa2"),v=r("20c8"),g=v["a"].CMD;function y(t,e){return Math.abs(t-e)<1e-5}function _(t){var e,r,n,i,o,a=t.data,s=t.len(),h=[],u=0,l=0,c=0,f=0;function p(t,r){e&&e.length>2&&h.push(e),e=[t,r]}function d(t,r,n,i){y(t,n)&&y(r,i)||e.push(t,r,n,i,n,i)}function v(t,r,n,i,o,a){var s=Math.abs(r-t),h=4*Math.tan(s/4)/3,u=rS:P2&&h.push(e),h}function b(t,e,r,i,o,a,s,h,u,l){if(y(t,r)&&y(e,i)&&y(o,s)&&y(a,h))u.push(s,h);else{var c=2/l,f=c*c,p=s-t,d=h-e,v=Math.sqrt(p*p+d*d);p/=v,d/=v;var g=r-t,_=i-e,m=o-s,x=a-h,w=g*g+_*_,O=m*m+x*x;if(w=0&&T=0)u.push(s,h);else{var C=[],P=[];Object(n["g"])(t,r,o,s,.5,C),Object(n["g"])(e,i,a,h,.5,P),b(C[0],P[0],C[1],P[1],C[2],P[2],C[3],P[3],u,l),b(C[4],P[4],C[5],P[5],C[6],P[6],C[7],P[7],u,l)}}}}function m(t,e){var r=_(t),n=[];e=e||1;for(var i=0;i0)for(u=0;uMath.abs(u),c=x([h,u],l?0:1,e),f=(l?s:u)/c.length,p=0;pi,a=x([n,i],o?0:1,e),s=o?"width":"height",h=o?"height":"width",u=o?"x":"y",l=o?"y":"x",c=t[s]/a.length,f=0;f1?null:new c["a"](g*h+t,g*u+e)}function S(t,e,r){var n=new c["a"];c["a"].sub(n,r,e),n.normalize();var i=new c["a"];c["a"].sub(i,t,e);var o=i.dot(n);return o}function T(t,e){var r=t[t.length-1];r&&r[0]===e[0]&&r[1]===e[1]||t.push(e)}function C(t,e,r){for(var n=t.length,i=[],o=0;oa?(f.x=p.x=s+o/2,f.y=h,p.y=h+a):(f.y=p.y=h+a/2,f.x=s,p.x=s+o),C(e,f,p)}function M(t,e,r,n){if(1===r)n.push(e);else{var i=Math.floor(r/2),o=t(e);M(t,o[0],i,n),M(t,o[1],r-i,n)}return n}function A(t,e){for(var r=[],n=0;n0)for(var x=n/r,w=-n/2;w<=n/2;w+=x){var O=Math.sin(w),k=Math.cos(w),j=0;for(b=0;b0;u/=2){var l=0,c=0;(t&u)>0&&(l=1),(e&u)>0&&(c=1),h+=u*u*(3*l^c),0===c&&(1===l&&(t=u-1-t,e=u-1-e),s=t,t=e,e=s)}return h}function K(t){var e=1/0,r=1/0,n=-1/0,i=-1/0,a=Object(o["H"])(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),h=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),r=Math.min(h,r),n=Math.max(s,n),i=Math.max(h,i),[s,h]})),s=Object(o["H"])(a,(function(o,a){return{cp:o,z:Z(o[0],o[1],e,r,n,i),path:t[a]}}));return s.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function Q(t){return F(t.path,t.count)}function $(){return{fromIndividuals:[],toIndividuals:[],count:0}}function J(t,e,r){var n=[];function a(t){for(var e=0;e=x?i=r+x:e&&r-i>=x?i=r-x:!e&&r>i?i=r+(x-k(r-i)):e&&r0&&(this._ux=b(r/o["e"]/t)||0,this._uy=b(r/o["e"]/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(h.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var r=b(t-this._xi),n=b(e-this._yi),i=r>this._ux||n>this._uy;if(this.addData(h.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=r*r+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,r,n,i,o){return this._drawPendingPt(),this.addData(h.C,t,e,r,n,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,r,n,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,r,n){return this._drawPendingPt(),this.addData(h.Q,t,e,r,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,n),this._xi=r,this._yi=n,this},t.prototype.arc=function(t,e,r,n,i,o){this._drawPendingPt(),O[0]=n,O[1]=i,j(O,o),n=O[0],i=O[1];var a=i-n;return this.addData(h.A,t,e,r,r,n,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,r,n,i,o),this._xi=y(i)*r+t,this._yi=_(i)*r+e,this},t.prototype.arcTo=function(t,e,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,n,i),this},t.prototype.rect=function(t,e,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,n),this.addData(h.R,t,e,r,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(h.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!w||(this.data=new Float32Array(e));for(var r=0;ru.length&&(this._expandData(),u=this.data);for(var l=0;l0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){c[0]=c[1]=p[0]=p[1]=Number.MAX_VALUE,f[0]=f[1]=d[0]=d[1]=-Number.MAX_VALUE;var t,e=this.data,r=0,o=0,s=0,u=0;for(t=0;tr||b(S)>n||p===e-1)&&(w=Math.sqrt(j*j+S*S),i=O,o=k);break;case h.C:var T=t[p++],C=t[p++],P=(O=t[p++],k=t[p++],t[p++]),M=t[p++];w=Object(s["d"])(i,o,T,C,O,k,P,M,10),i=P,o=M;break;case h.Q:T=t[p++],C=t[p++],O=t[p++],k=t[p++];w=Object(s["k"])(i,o,T,C,O,k,10),i=O,o=k;break;case h.A:var A=t[p++],L=t[p++],z=t[p++],F=t[p++],D=t[p++],I=t[p++],R=I+D;p+=1;t[p++];m&&(a=y(D)*z+A,u=_(D)*F+L),w=g(z,F)*v(x,Math.abs(I)),i=y(R)*z+A,o=_(R)*F+L;break;case h.R:a=i=t[p++],u=o=t[p++];var B=t[p++],H=t[p++];w=2*B+2*H;break;case h.Z:j=a-i,S=u-o;w=Math.sqrt(j*j+S*S),i=a,o=u;break}w>=0&&(l[f++]=w,c+=w)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var r,n,i,o,a,c,f,p,d,m,x,w=this.data,O=this._ux,k=this._uy,j=this._len,S=e<1,T=0,C=0,P=0;if(!S||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=this._pathLen,d=e*p,d))t:for(var M=0;M0&&(t.lineTo(m,x),P=0),A){case h.M:r=i=w[M++],n=o=w[M++],t.moveTo(i,o);break;case h.L:a=w[M++],c=w[M++];var z=b(a-i),F=b(c-o);if(z>O||F>k){if(S){var D=f[C++];if(T+D>d){var I=(d-T)/D;t.lineTo(i*(1-I)+a*I,o*(1-I)+c*I);break t}T+=D}t.lineTo(a,c),i=a,o=c,P=0}else{var R=z*z+F*F;R>P&&(m=a,x=c,P=R)}break;case h.C:var B=w[M++],H=w[M++],N=w[M++],E=w[M++],W=w[M++],X=w[M++];if(S){D=f[C++];if(T+D>d){I=(d-T)/D;Object(s["g"])(i,B,N,W,I,u),Object(s["g"])(o,H,E,X,I,l),t.bezierCurveTo(u[1],l[1],u[2],l[2],u[3],l[3]);break t}T+=D}t.bezierCurveTo(B,H,N,E,W,X),i=W,o=X;break;case h.Q:B=w[M++],H=w[M++],N=w[M++],E=w[M++];if(S){D=f[C++];if(T+D>d){I=(d-T)/D;Object(s["n"])(i,B,N,I,u),Object(s["n"])(o,H,E,I,l),t.quadraticCurveTo(u[1],l[1],u[2],l[2]);break t}T+=D}t.quadraticCurveTo(B,H,N,E),i=N,o=E;break;case h.A:var q=w[M++],Y=w[M++],V=w[M++],U=w[M++],G=w[M++],Z=w[M++],K=w[M++],Q=!w[M++],$=V>U?V:U,J=b(V-U)>.001,tt=G+Z,et=!1;if(S){D=f[C++];T+D>d&&(tt=G+Z*(d-T)/D,et=!0),T+=D}if(J&&t.ellipse?t.ellipse(q,Y,V,U,K,G,tt,Q):t.arc(q,Y,$,G,tt,Q),et)break t;L&&(r=y(G)*V+q,n=_(G)*U+Y),i=y(tt)*V+q,o=_(tt)*U+Y;break;case h.R:r=i=w[M],n=o=w[M+1],a=w[M++],c=w[M++];var rt=w[M++],nt=w[M++];if(S){D=f[C++];if(T+D>d){var it=d-T;t.moveTo(a,c),t.lineTo(a+v(it,rt),c),it-=rt,it>0&&t.lineTo(a+rt,c+v(it,nt)),it-=nt,it>0&&t.lineTo(a+g(rt-it,0),c+nt),it-=rt,it>0&&t.lineTo(a,c+g(nt-it,0));break t}T+=D}t.rect(a,c,rt,nt);break;case h.Z:if(S){D=f[C++];if(T+D>d){I=(d-T)/D;t.lineTo(i*(1-I)+r*I,o*(1-I)+n*I);break t}T+=D}t.closePath(),i=r,o=n}}},t.prototype.clone=function(){var e=new t,r=this.data;return e.data=r.slice?r.slice():Array.prototype.slice.call(r),e._len=this._len,e},t.CMD=h,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e["a"]=S},"21a1":function(t,e,r){"use strict";r.d(e,"a",(function(){return i})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)};function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}Object.create;Object.create},"22d1":function(t,e,r){"use strict";var n=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),i=function(){function t(){this.browser=new n,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}return t}(),o=new i;function a(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),o&&(r.edge=!0,r.version=o[1],r.newEdge=+o[1].split(".")[0]>18),a&&(r.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},"2cf4":function(t,e,r){"use strict";r.d(e,"e",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return s})),r.d(e,"d",(function(){return h})),r.d(e,"c",(function(){return u}));var n=r("22d1"),i=1;n["a"].hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i,a=.4,s="#333",h="#ccc",u="#eee"},"2dc5":function(t,e,r){"use strict";var n=r("21a1"),i=r("6d8b"),o=r("d5b7"),a=r("9850"),s=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return Object(n["a"])(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,r=0;r=0&&(r.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=i["r"](this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,n=r[e];if(t&&t!==this&&t.parent!==this&&t!==n){r[e]=t,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),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,r=this._children,n=i["r"](r,t);return n<0||(r.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,r=0;r=4&&(l={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(l&&null!=h&&null!=u&&(c=W(l,{x:0,y:0,width:h,height:u}),!e.ignoreViewBox)){var d=n;n=new i["a"],n.add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==h||null==u||n.setClipPath(new s["a"]({shape:{x:0,y:0,width:h,height:u}})),{root:n,width:h,height:u,viewBoxRect:l,viewBoxTransform:c,named:o}},t.prototype._parseNode=function(t,e,r,i,o,a){var s,h=t.nodeName.toLowerCase(),u=i;if("defs"===h&&(o=!0),"text"===h&&(a=!0),"defs"===h||"switch"===h)s=e;else{if(!o){var l=n[h];if(l&&Object(d["q"])(n,h)){s=l.call(this,t,e);var c=t.getAttribute("name");if(c){var f={name:c,namedFrom:null,svgNodeTagLower:h,el:s};r.push(f),"g"===h&&(u=f)}else i&&r.push({name:i.name,namedFrom:i,svgNodeTagLower:h,el:s});e.add(s)}}var p=k[h];if(p&&Object(d["q"])(k,h)){var v=p.call(this,t),g=t.getAttribute("id");g&&(this._defs[g]=v)}}if(s&&s.isGroup){var y=t.firstChild;while(y)1===y.nodeType?this._parseNode(y,s,r,u,o,a):3===y.nodeType&&a&&this._parseText(y,s),y=y.nextSibling}},t.prototype._parseText=function(t,e){var r=new y["a"]({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});T(e,r),P(t,r,this._defsUsePending,!1,!1),M(r,e);var n=r.style,i=n.fontSize;i&&i<9&&(n.fontSize=9,r.scaleX*=i/9,r.scaleY*=i/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var a=r.getBoundingRect();return this._textX+=a.width,e.add(r),r},t.internalField=function(){n={g:function(t,e){var r=new i["a"];return T(e,r),P(t,r,this._defsUsePending,!1,!1),r},rect:function(t,e){var r=new s["a"];return T(e,r),P(t,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(t,e){var r=new a["a"];return T(e,r),P(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r.silent=!0,r},line:function(t,e){var r=new u["a"];return T(e,r),P(t,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(t,e){var r=new h["a"];return T(e,r),P(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(t,e){var r,n=t.getAttribute("points");n&&(r=C(n));var i=new l["a"]({shape:{points:r||[]},silent:!0});return T(e,i),P(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var r,n=t.getAttribute("points");n&&(r=C(n));var i=new c["a"]({shape:{points:r||[]},silent:!0});return T(e,i),P(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var r=new o["a"];return T(e,r),P(t,r,this._defsUsePending,!1,!1),r.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),r.silent=!0,r},text:function(t,e){var r=t.getAttribute("x")||"0",n=t.getAttribute("y")||"0",o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(o),this._textY=parseFloat(n)+parseFloat(a);var s=new i["a"];return T(e,s),P(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var r=t.getAttribute("x"),n=t.getAttribute("y");null!=r&&(this._textX=parseFloat(r)),null!=n&&(this._textY=parseFloat(n));var o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",s=new i["a"];return T(e,s),P(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(a),s},path:function(t,e){var r=t.getAttribute("d")||"",n=Object(p["b"])(r);return T(e,n),P(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),t}(),k={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),r=parseInt(t.getAttribute("y1")||"0",10),n=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),o=new v["a"](e,r,n,i);return j(t,o),S(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),r=parseInt(t.getAttribute("cy")||"0",10),n=parseInt(t.getAttribute("r")||"0",10),i=new g["a"](e,r,n);return j(t,i),S(t,i),i}};function j(t,e){var r=t.getAttribute("gradientUnits");"userSpaceOnUse"===r&&(e.global=!0)}function S(t,e){var r=t.firstChild;while(r){if(1===r.nodeType&&"stop"===r.nodeName.toLocaleLowerCase()){var n=r.getAttribute("offset"),i=void 0;i=n&&n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var o={};N(r,o,o);var a=o.stopColor||r.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:a})}r=r.nextSibling}}function T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(d["i"])(e.__inheritedStyle,t.__inheritedStyle))}function C(t){for(var e=D(t),r=[],n=0;n0;o-=2){var a=n[o],s=n[o-1],h=D(a);switch(i=i||f["c"](),s){case"translate":f["i"](i,i,[parseFloat(h[0]),parseFloat(h[1]||"0")]);break;case"scale":f["h"](i,i,[parseFloat(h[0]),parseFloat(h[1]||h[0])]);break;case"rotate":f["g"](i,i,-parseFloat(h[0])*R);break;case"skewX":var u=Math.tan(parseFloat(h[0])*R);f["f"](i,[1,0,u,1,0,0],i);break;case"skewY":var l=Math.tan(parseFloat(h[0])*R);f["f"](i,[1,l,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(h[0]),i[1]=parseFloat(h[1]),i[2]=parseFloat(h[2]),i[3]=parseFloat(h[3]),i[4]=parseFloat(h[4]),i[5]=parseFloat(h[5]);break}}e.setLocalTransform(i)}}var H=/([^\s:;]+)\s*:\s*([^:;]+)/g;function N(t,e,r){var n=t.getAttribute("style");if(n){var i;H.lastIndex=0;while(null!=(i=H.exec(n))){var o=i[1],a=Object(d["q"])(b,o)?b[o]:null;a&&(e[a]=i[2]);var s=Object(d["q"])(x,o)?x[o]:null;s&&(r[s]=i[2])}}}function E(t,e,r){for(var n=0;n1&&(a*=p(m),s*=p(m));var x=(i===o?-1:1)*p((a*a*(s*s)-a*a*(y*y)-s*s*(f*f))/(a*a*(y*y)+s*s*(f*f)))||0,w=x*a*y/s,O=x*-s*f/a,k=(t+r)/2+v(c)*w-d(c)*O,j=(e+n)/2+d(c)*w+v(c)*O,S=b([1,0],[(f-w)/a,(y-O)/s]),T=[(f-w)/a,(y-O)/s],C=[(-1*f-w)/a,(-1*y-O)/s],P=b(T,C);if(_(T,C)<=-1&&(P=g),_(T,C)>=1&&(P=0),P<0){var M=Math.round(P/g*1e6)/1e6;P=2*g+M%2*g}l.addData(u,k,j,a,s,S,P,c,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function O(t){var e=new o["a"];if(!t)return e;var r,n=0,i=0,a=n,s=i,h=o["a"].CMD,u=t.match(x);if(!u)return e;for(var l=0;l=0&&n(u)?u:.5;var l=t.createRadialGradient(s,h,0,s,h,u);return l}function a(t,e,r){for(var n="radial"===e.type?o(t,e,r):i(t,e,r),a=e.colorStops,s=0;s255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function h(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function l(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function c(t,e,r){return t+(e-t)*r}function f(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new n["a"](20),v=null;function g(t,e){v&&p(v,e),v=d.put(t,v||e.slice())}function y(t,e){if(t){e=e||[];var r=d.get(t);if(r)return p(e,r);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in i)return p(e,i[n]),g(t,e),e;var o=n.length;if("#"!==n.charAt(0)){var a=n.indexOf("("),s=n.indexOf(")");if(-1!==a&&s+1===o){var l=n.substr(0,a),c=n.substr(a+1,s-(a+1)).split(","),v=1;switch(l){case"rgba":if(4!==c.length)return 3===c.length?f(e,+c[0],+c[1],+c[2],1):f(e,0,0,0,1);v=u(c.pop());case"rgb":return c.length>=3?(f(e,h(c[0]),h(c[1]),h(c[2]),3===c.length?v:u(c[3])),g(t,e),e):void f(e,0,0,0,1);case"hsla":return 4!==c.length?void f(e,0,0,0,1):(c[3]=u(c[3]),_(c,e),g(t,e),e);case"hsl":return 3!==c.length?void f(e,0,0,0,1):(_(c,e),g(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===o||5===o){var y=parseInt(n.slice(1,4),16);return y>=0&&y<=4095?(f(e,(3840&y)>>4|(3840&y)>>8,240&y|(240&y)>>4,15&y|(15&y)<<4,5===o?parseInt(n.slice(4),16)/15:1),g(t,e),e):void f(e,0,0,0,1)}if(7===o||9===o){y=parseInt(n.slice(1,7),16);return y>=0&&y<=16777215?(f(e,(16711680&y)>>16,(65280&y)>>8,255&y,9===o?parseInt(n.slice(7),16)/255:1),g(t,e),e):void f(e,0,0,0,1)}}}}function _(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),i=u(t[2]),a=i<=.5?i*(n+1):i+n-i*n,s=2*i-a;return e=e||[],f(e,o(255*l(s,a,r+1/3)),o(255*l(s,a,r)),o(255*l(s,a,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,r,n=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),h=s-a,u=(s+a)/2;if(0===h)e=0,r=0;else{r=u<.5?h/(s+a):h/(2-s-a);var l=((s-n)/6+h/2)/h,c=((s-i)/6+h/2)/h,f=((s-o)/6+h/2)/h;n===s?e=f-c:i===s?e=1/3+l-f:o===s&&(e=2/3+c-l),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,r,u];return null!=t[3]&&p.push(t[3]),p}}function m(t,e){var r=y(t);if(r){for(var n=0;n<3;n++)r[n]=e<0?r[n]*(1-e)|0:(255-r[n])*e+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return j(r,4===r.length?"rgba":"rgb")}}function x(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),h=e[i],u=e[a],l=n-i;return r[0]=o(c(h[0],u[0],l)),r[1]=o(c(h[1],u[1],l)),r[2]=o(c(h[2],u[2],l)),r[3]=s(c(h[3],u[3],l)),r}}function w(t,e,r){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),h=y(e[i]),u=y(e[a]),l=n-i,f=j([o(c(h[0],u[0],l)),o(c(h[1],u[1],l)),o(c(h[2],u[2],l)),s(c(h[3],u[3],l))],"rgba");return r?{color:f,leftIndex:i,rightIndex:a,value:n}:f}}function O(t,e,r,n){var i=y(t);if(t)return i=b(i),null!=e&&(i[0]=a(e)),null!=r&&(i[1]=u(r)),null!=n&&(i[2]=u(n)),j(_(i),"rgba")}function k(t,e){var r=y(t);if(r&&null!=e)return r[3]=s(e),j(r,"rgba")}function j(t,e){if(t&&t.length){var r=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(r+=","+t[3]),e+"("+r+")"}}function S(t,e){var r=y(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}},"42e5":function(t,e,r){"use strict";var n=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e["a"]=n},4573:function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=2*Math.PI;t.moveTo(r+e.r,n),t.arc(r,n,e.r,0,i,!1),t.moveTo(r+e.r0,n),t.arc(r,n,e.r0,0,i,!0)},e}(i["b"]);a.prototype.type="ring",e["a"]=a},4755:function(t,e,r){"use strict";var n=Math.round(9*Math.random()),i="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 r=this._guard(t);return i?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[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}();e["a"]=o},"48a9":function(t,e,r){"use strict";var n=r("21a1"),i=r("42e5"),o=function(t){function e(e,r,n,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==r?0:r,s.x2=null==n?1:n,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return Object(n["a"])(e,t),e}(i["a"]);e["a"]=o},"4a3f":function(t,e,r){"use strict";r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return g})),r.d(e,"f",(function(){return y})),r.d(e,"c",(function(){return _})),r.d(e,"g",(function(){return b})),r.d(e,"e",(function(){return m})),r.d(e,"d",(function(){return x})),r.d(e,"h",(function(){return w})),r.d(e,"i",(function(){return O})),r.d(e,"m",(function(){return k})),r.d(e,"j",(function(){return j})),r.d(e,"n",(function(){return S})),r.d(e,"l",(function(){return T})),r.d(e,"k",(function(){return C}));var n=r("401b"),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,h=o(3),u=1/3,l=Object(n["e"])(),c=Object(n["e"])(),f=Object(n["e"])();function p(t){return t>-a&&ta||t<-a}function v(t,e,r,n,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*n+3*o*r)}function g(t,e,r,n,i){var o=1-i;return 3*(((e-t)*o+2*(r-e)*i)*o+(n-r)*i*i)}function y(t,e,r,n,a,s){var l=n+3*(e-r)-t,c=3*(r-2*e+t),f=3*(e-t),d=t-a,v=c*c-3*l*f,g=c*f-9*l*d,y=f*f-3*c*d,_=0;if(p(v)&&p(g))if(p(c))s[0]=0;else{var b=-f/c;b>=0&&b<=1&&(s[_++]=b)}else{var m=g*g-4*v*y;if(p(m)){var x=g/v,w=(b=-c/l+x,-x/2);b>=0&&b<=1&&(s[_++]=b),w>=0&&w<=1&&(s[_++]=w)}else if(m>0){var O=o(m),k=v*c+1.5*l*(-g+O),j=v*c+1.5*l*(-g-O);k=k<0?-i(-k,u):i(k,u),j=j<0?-i(-j,u):i(j,u);b=(-c-(k+j))/(3*l);b>=0&&b<=1&&(s[_++]=b)}else{var S=(2*v*c-3*l*g)/(2*o(v*v*v)),T=Math.acos(S)/3,C=o(v),P=Math.cos(T),M=(b=(-c-2*C*P)/(3*l),w=(-c+C*(P+h*Math.sin(T)))/(3*l),(-c+C*(P-h*Math.sin(T)))/(3*l));b>=0&&b<=1&&(s[_++]=b),w>=0&&w<=1&&(s[_++]=w),M>=0&&M<=1&&(s[_++]=M)}}return _}function _(t,e,r,n,i){var a=6*r-12*e+6*t,s=9*e+3*n-3*t-9*r,h=3*e-3*t,u=0;if(p(s)){if(d(a)){var l=-h/a;l>=0&&l<=1&&(i[u++]=l)}}else{var c=a*a-4*s*h;if(p(c))i[0]=-a/(2*s);else if(c>0){var f=o(c),v=(l=(-a+f)/(2*s),(-a-f)/(2*s));l>=0&&l<=1&&(i[u++]=l),v>=0&&v<=1&&(i[u++]=v)}}return u}function b(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,h=(n-r)*i+r,u=(s-a)*i+a,l=(h-s)*i+s,c=(l-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=l,o[6]=h,o[7]=n}function m(t,e,r,i,a,h,u,p,d,g,y){var _,b,m,x,w,O=.005,k=1/0;l[0]=d,l[1]=g;for(var j=0;j<1;j+=.05)c[0]=v(t,r,a,u,j),c[1]=v(e,i,h,p,j),x=Object(n["g"])(l,c),x=0&&x=0&&l<=1&&(i[u++]=l)}}else{var c=s*s-4*a*h;if(p(c)){l=-s/(2*a);l>=0&&l<=1&&(i[u++]=l)}else if(c>0){var f=o(c),v=(l=(-s+f)/(2*a),(-s-f)/(2*a));l>=0&&l<=1&&(i[u++]=l),v>=0&&v<=1&&(i[u++]=v)}}return u}function j(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function S(t,e,r,n,i){var o=(e-t)*n+t,a=(r-e)*n+e,s=(a-o)*n+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=r}function T(t,e,r,i,a,h,u,p,d){var v,g=.005,y=1/0;l[0]=u,l[1]=p;for(var _=0;_<1;_+=.05){c[0]=w(t,r,a,_),c[1]=w(e,i,h,_);var b=Object(n["g"])(l,c);b=0&&bL*L+z*z&&(S=C,T=P),{cx:S,cy:T,x0:-l,y0:-c,x1:S*(i/O-1),y1:T*(i/O-1)}}function b(t){var e;if(Object(o["t"])(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}function m(t,e){var r,n=d(e.r,0),i=d(e.r0||0,0),o=n>0,m=i>0;if(o||m){if(o||(n=i,i=0),i>n){var x=n;n=i,i=x}var w=e.startAngle,O=e.endAngle;if(!isNaN(w)&&!isNaN(O)){var k=e.cx,j=e.cy,S=!!e.clockwise,T=f(O-w),C=T>s&&T%s;if(C>g&&(T=C),n>g)if(T>s-g)t.moveTo(k+n*u(w),j+n*h(w)),t.arc(k,j,n,w,O,!S),i>g&&(t.moveTo(k+i*u(O),j+i*h(O)),t.arc(k,j,i,O,w,S));else{var P=void 0,M=void 0,A=void 0,L=void 0,z=void 0,F=void 0,D=void 0,I=void 0,R=void 0,B=void 0,H=void 0,N=void 0,E=void 0,W=void 0,X=void 0,q=void 0,Y=n*u(w),V=n*h(w),U=i*u(O),G=i*h(O),Z=T>g;if(Z){var K=e.cornerRadius;K&&(r=b(K),P=r[0],M=r[1],A=r[2],L=r[3]);var Q=f(n-i)/2;if(z=v(Q,A),F=v(Q,L),D=v(Q,P),I=v(Q,M),H=R=d(z,F),N=B=d(D,I),(R>g||B>g)&&(E=n*u(O),W=n*h(O),X=i*u(w),q=i*h(w),Tg){var ot=v(A,H),at=v(L,H),st=_(X,q,Y,V,n,ot,S),ht=_(E,W,U,G,n,at,S);t.moveTo(k+st.cx+st.x0,j+st.cy+st.y0),H0&&t.arc(k+st.cx,j+st.cy,ot,c(st.y0,st.x0),c(st.y1,st.x1),!S),t.arc(k,j,n,c(st.cy+st.y1,st.cx+st.x1),c(ht.cy+ht.y1,ht.cx+ht.x1),!S),at>0&&t.arc(k+ht.cx,j+ht.cy,at,c(ht.y1,ht.x1),c(ht.y0,ht.x0),!S))}else t.moveTo(k+Y,j+V),t.arc(k,j,n,w,O,!S);else t.moveTo(k+Y,j+V);if(i>g&&Z)if(N>g){ot=v(P,N),at=v(M,N),st=_(U,G,E,W,i,-at,S),ht=_(Y,V,X,q,i,-ot,S);t.lineTo(k+st.cx+st.x0,j+st.cy+st.y0),N0&&t.arc(k+st.cx,j+st.cy,at,c(st.y0,st.x0),c(st.y1,st.x1),!S),t.arc(k,j,i,c(st.cy+st.y1,st.cx+st.x1),c(ht.cy+ht.y1,ht.cx+ht.x1),S),ot>0&&t.arc(k+ht.cx,j+ht.cy,ot,c(ht.y1,ht.x1),c(ht.y0,ht.x0),!S))}else t.lineTo(k+U,j+G),t.arc(k,j,i,O,w,S);else t.lineTo(k+U,j+G)}else t.moveTo(k,j);t.closePath()}}}var x=function(){function t(){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}return t}(),w=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new x},e.prototype.buildPath=function(t,e){m(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i["b"]);w.prototype.type="sector";e["a"]=w},"4bc4":function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o}));var n=1,i=2,o=4},"4fac":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("401b");function i(t,e,r,i){var o,a,s,h,u=[],l=[],c=[],f=[];if(i){s=[1/0,1/0],h=[-1/0,-1/0];for(var p=0,d=t.length;p=2){if(n){var a=i(o,n,r,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,h=0;h<(r?s:s-1);h++){var u=a[2*h],l=a[2*h+1],c=o[(h+1)%s];t.bezierCurveTo(u[0],u[1],l[0],l[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);h=1;for(var f=o.length;h0))}function g(t){return"string"===typeof t&&"none"!==t}function y(t){var e=t.fill;return null!=e&&"none"!==e}function _(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function b(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function m(t,e,r){var n=Object(o["a"])(e.image,e.__image,r);if(Object(o["c"])(n)){var i=t.createPattern(n,e.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*l["a"]),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}function x(t,e,r,n){var i,o=v(r),s=y(r),h=r.strokePercent,u=h<1,l=!e.path;e.silent&&!u||!l||e.createPathProxy();var p=e.path||d,g=e.__dirty;if(!n){var x=r.fill,w=r.stroke,O=s&&!!x.colorStops,k=o&&!!w.colorStops,j=s&&!!x.image,S=o&&!!w.image,T=void 0,C=void 0,P=void 0,M=void 0,A=void 0;(O||k)&&(A=e.getBoundingRect()),O&&(T=g?Object(a["a"])(t,x,A):e.__canvasFillGradient,e.__canvasFillGradient=T),k&&(C=g?Object(a["a"])(t,w,A):e.__canvasStrokeGradient,e.__canvasStrokeGradient=C),j&&(P=g||!e.__canvasFillPattern?m(t,x,e):e.__canvasFillPattern,e.__canvasFillPattern=P),S&&(M=g||!e.__canvasStrokePattern?m(t,w,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),O?t.fillStyle=T:j&&(P?t.fillStyle=P:s=!1),k?t.strokeStyle=C:S&&(M?t.strokeStyle=M:o=!1)}var L,z,F=e.getGlobalScale();p.setScale(F[0],F[1],e.segmentIgnoreThreshold),t.setLineDash&&r.lineDash&&(i=Object(c["a"])(e),L=i[0],z=i[1]);var D=!0;(l||g&f["b"])&&(p.setDPR(t.dpr),u?p.setContext(null):(p.setContext(t),D=!1),p.reset(),e.buildPath(p,e.shape,n),p.toStatic(),e.pathUpdated()),D&&p.rebuildPath(t,u?h:1),L&&(t.setLineDash(L),t.lineDashOffset=z),n||(r.strokeFirst?(o&&b(t,r),s&&_(t,r)):(s&&_(t,r),o&&b(t,r))),L&&t.setLineDash([])}function w(t,e,r){var n=e.__image=Object(o["a"])(r.image,e.__image,e,e.onload);if(n&&Object(o["c"])(n)){var i=r.x||0,a=r.y||0,s=e.getWidth(),h=e.getHeight(),u=n.width/n.height;if(null==s&&null!=h?s=h*u:null==h&&null!=s?h=s/u:null==s&&null==h&&(s=n.width,h=n.height),r.sWidth&&r.sHeight){var l=r.sx||0,c=r.sy||0;t.drawImage(n,l,c,r.sWidth,r.sHeight,i,a,s,h)}else if(r.sx&&r.sy){l=r.sx,c=r.sy;var f=s-l,p=h-c;t.drawImage(n,l,c,f,p,i,a,s,h)}else t.drawImage(n,i,a,s,h)}}function O(t,e,r){var n,i=r.text;if(null!=i&&(i+=""),i){t.font=r.font||p["a"],t.textAlign=r.textAlign,t.textBaseline=r.textBaseline;var o=void 0,a=void 0;t.setLineDash&&r.lineDash&&(n=Object(c["a"])(e),o=n[0],a=n[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),r.strokeFirst?(v(r)&&t.strokeText(i,r.x,r.y),y(r)&&t.fillText(i,r.x,r.y)):(y(r)&&t.fillText(i,r.x,r.y),v(r)&&t.strokeText(i,r.x,r.y)),o&&t.setLineDash([])}}var k=["shadowBlur","shadowOffsetX","shadowOffsetY"],j=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,r,i,o){var a=!1;if(!i&&(r=r||{},e===r))return!1;if(i||e.opacity!==r.opacity){R(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?n["b"].opacity:s}(i||e.blend!==r.blend)&&(a||(R(t,o),a=!0),t.globalCompositeOperation=e.blend||n["b"].blend);for(var h=0;h=0;if(i){var a="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];a&&h(t,a,e,r)}else{h(t,e,e,r);var s=f(e);e.zrDelta=s?s/120:-(e.detail||0)/3}var u=e.button;return null==e.which&&void 0!==u&&o.test(e.type)&&(e.which=1&u?1:2&u?3:4&u?2:0),e}function f(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(null==r||null==n)return e;var i=0!==n?Math.abs(n):Math.abs(r),o=n>0?-1:n<0?1:r>0?-1:1;return 3*i*o}function p(t,e,r,n){t.addEventListener(e,r,n)}function d(t,e,r,n){t.removeEventListener(e,r,n)}var v=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},"65ed":function(t,e,r){"use strict";r.d(e,"d",(function(){return u})),r.d(e,"c",(function(){return l})),r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return g}));var n=r("22d1"),i=Math.log(2);function o(t,e,r,n,a,s){var h=n+"-"+a,u=t.length;if(s.hasOwnProperty(h))return s[h];if(1===e){var l=Math.round(Math.log((1<>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[h]+":0",i[u]+":0",n[1-h]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}function f(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],o=e.srcCoords,s=[],h=[],u=!0,l=0;l<4;l++){var c=t[l].getBoundingClientRect(),f=2*l,p=c.left,d=c.top;s.push(p,d),u=u&&o&&p===o[f]&&d===o[f+1],h.push(t[l].offsetLeft,t[l].offsetTop)}return u&&i?i:(e.srcCoords=s,e[n]=r?a(h,s):a(s,h))}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var d=/([&<>"'])/g,v={"&":"&","<":"<",">":">",'"':""","'":"'"};function g(t){return null==t?"":(t+"").replace(d,(function(t,e){return v[e]}))}},"68ab":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("4a3f");function i(t,e,r,i,o,a,s,h,u){if(0===s)return!1;var l=s;if(u>e+l&&u>i+l&&u>a+l||ut+l&&h>r+l&&h>o+l||h1&&n&&n.length>1){var o=p(n)/p(i);!isFinite(o)&&(o=1),e.pinchScale=o;var a=d(n);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},g=r("9850"),y="silent";function _(t,e,r){return{type:t,event:r,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:b}}function b(){c["g"](this.event)}var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(o["a"])(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(l["a"]),x=function(){function t(t,e){this.x=t,this.y=e}return t}(),w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],O=new g["a"](0,0,0,0),k=function(t){function e(e,r,n,i,o){var a=t.call(this)||this;return a._hovered=new x(0,0),a.storage=e,a.painter=r,a.painterRoot=i,a._pointerSize=o,n=n||new m,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new u(a),a}return Object(o["a"])(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(i["k"](w,(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,r=t.zrY,n=T(this,e,r),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=n?new x(e,r):this.findHover(e,r),s=a.target,h=this.proxy;h.setCursor&&h.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"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 x(0,0)},e.prototype.dispatch=function(t,e){var r=this[t];r&&r.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,r){t=t||{};var n=t.target;if(!n||!n.silent){var i="on"+e,o=_(e,t,r);while(n)if(n[i]&&(o.cancelBubble=!!n[i].call(n,o)),n.trigger(e,o),n=n.__hostTarget?n.__hostTarget:n.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,r){var n=this.storage.getDisplayList(),i=new x(t,e);if(S(n,i,t,e,r),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,h=new g["a"](t-s,e-s,a,a),u=n.length-1;u>=0;u--){var l=n[u];l===r||l.ignore||l.ignoreCoarsePointer||l.parent&&l.parent.ignoreCoarsePointer||(O.copy(l.getBoundingRect()),l.transform&&O.applyTransform(l.transform),O.intersect(h)&&o.push(l))}if(o.length)for(var c=4,f=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=j(a,r,n))&&(!e.topTarget&&(e.topTarget=a),s!==y)){e.target=a;break}}}function T(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}i["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){k.prototype[t]=function(e){var r,n,i=e.zrX,o=e.zrY,s=T(this,i,o);if("mouseup"===t&&s||(r=this.findHover(i,o),n=r.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||a["f"](this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}}));var C=k,P=r("04f6"),M=r("4bc4"),A=!1;function L(){A||(A=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function z(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var F=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=z}return t.prototype.traverse=function(t,e){for(var r=0;r0&&(u.__clipPaths=[]),isNaN(u.z)&&(L(),u.z=0),isNaN(u.z2)&&(L(),u.z2=0),isNaN(u.zlevel)&&(L(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var l=t.getDecalElement&&t.getDecalElement();l&&this._updateAndAddDisplayable(l,e,r);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,r);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,r)}},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,r=t.length;e=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}(),D=F,I=r("98b7"),R=r("06ad");function B(){return(new Date).getTime()}var H=function(t){function e(e){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,e=e||{},r.stage=e.stage||{},r}return Object(o["a"])(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,r=t.next;e?e.next=r:this._head=r,r?r.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){var e=B()-this._pausedTime,r=e-this._time,n=this._head;while(n){var i=n.next,o=n.step(e,r);o?(n.ondestroy(),this.removeClip(n),n=i):n=i}this._time=e,t||(this.trigger("frame",r),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Object(I["a"])(e),!t._paused&&t.update())}this._running=!0,Object(I["a"])(e)},e.prototype.start=function(){this._running||(this._time=B(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=B(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=B()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(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 r=new R["b"](t,e.loop);return this.addAnimator(r),r},e}(l["a"]),N=H,E=300,W=n["a"].domSupported,X=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=i["H"](t,(function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:n}}(),q={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Y=!1;function V(t){var e=t.pointerType;return"pen"===e||"touch"===e}function U(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function G(t){t&&(t.zrByTouch=!0)}function Z(t,e){return Object(c["e"])(t.dom,new Q(t,e),!0)}function K(t,e){var r=e,n=!1;while(r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot))r=r.parentNode;return n}var Q=function(){function t(t,e){this.stopPropagation=i["L"],this.stopImmediatePropagation=i["L"],this.preventDefault=i["L"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),$={mousedown:function(t){t=Object(c["e"])(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Object(c["e"])(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=Object(c["e"])(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Object(c["e"])(this.dom,t);var e=t.toElement||t.relatedTarget;K(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Y=!0,t=Object(c["e"])(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Y||(t=Object(c["e"])(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Object(c["e"])(this.dom,t),G(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),$.mousemove.call(this,t),$.mousedown.call(this,t)},touchmove:function(t){t=Object(c["e"])(this.dom,t),G(t),this.handler.processGesture(t,"change"),$.mousemove.call(this,t)},touchend:function(t){t=Object(c["e"])(this.dom,t),G(t),this.handler.processGesture(t,"end"),$.mouseup.call(this,t),+new Date-+this.__lastTouchMoment0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,r){return this.handler.on(t,e,r),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e=0)u=h*r.length;else for(var f=0;f0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),H=a.calculatedLineHeight,N=0;N=0&&(L=w[A],"right"===L.align))this._placeToken(L,t,k,y,M,"right",b),j-=L.width,M-=L.width,A--;T+=(n-(T-g)-(_-M)-j)/2;while(S<=A)L=w[S],this._placeToken(L,t,k,y,T+L.width/2,"center",b),T+=L.width,S++;y+=k}},e.prototype._placeToken=function(t,e,r,n,i,h,u){var c=e.rich[t.styleName]||{};c.text=t.text;var p=t.verticalAlign,v=n+r/2;"top"===p?v=n+t.height/2:"bottom"===p&&(v=n+r-t.height/2);var g=!t.isLineHolder&&P(c);g&&this._renderBackground(c,e,"right"===h?i-t.width:"center"===h?i-t.width/2:i,v-t.height/2,t.width,t.height);var y=!!c.backgroundColor,_=t.textPadding;_&&(i=T(i,h,_),v-=t.height/2-_[0]-t.innerHeight/2);var b=this._getOrCreateChild(o["a"]),m=b.createStyle();b.useStyle(m);var w=this._defaultStyle,O=!1,k=0,C=S("fill"in c?c.fill:"fill"in e?e.fill:(O=!0,w.fill)),M=j("stroke"in c?c.stroke:"stroke"in e?e.stroke:y||u||w.autoStroke&&!O?null:(k=d,w.stroke)),A=c.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=i,m.y=v,A&&(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=h,m.textBaseline="middle",m.font=t.font||f["a"],m.opacity=Object(a["Q"])(c.opacity,e.opacity,1),x(m,c),M&&(m.lineWidth=Object(a["Q"])(c.lineWidth,e.lineWidth,k),m.lineDash=Object(a["P"])(c.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=M),C&&(m.fill=C);var L=t.contentWidth,z=t.contentHeight;b.setBoundingRect(new l["a"](Object(s["a"])(m.x,L,m.textAlign),Object(s["b"])(m.y,z,m.textBaseline),L,z))},e.prototype._renderBackground=function(t,e,r,n,i,o){var s,l,c=t.backgroundColor,f=t.borderWidth,p=t.borderColor,d=c&&c.image,v=c&&!d,g=t.borderRadius,y=this;if(v||t.lineHeight||f&&p){s=this._getOrCreateChild(u["a"]),s.useStyle(s.createStyle()),s.style.fill=null;var _=s.shape;_.x=r,_.y=n,_.width=i,_.height=o,_.r=g,s.dirtyShape()}if(v){var b=s.style;b.fill=c||null,b.fillOpacity=Object(a["P"])(t.fillOpacity,1)}else if(d){l=this._getOrCreateChild(h["a"]),l.onload=function(){y.dirtyStyle()};var m=l.style;m.image=c.image,m.x=r,m.y=n,m.width=i,m.height=o}if(f&&p){b=s.style;b.lineWidth=f,b.stroke=p,b.strokeOpacity=Object(a["P"])(t.strokeOpacity,1),b.lineDash=t.borderDash,b.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(b.strokeFirst=!0,b.lineWidth*=2)}var x=(s||l).style;x.shadowBlur=t.shadowBlur||0,x.shadowColor=t.shadowColor||"transparent",x.shadowOffsetX=t.shadowOffsetX||0,x.shadowOffsetY=t.shadowOffsetY||0,x.opacity=Object(a["Q"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return w(t)&&(e=[t.fontStyle,t.fontWeight,m(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(a["T"])(e)||t.textFont||t.font},e}(c["c"]),y={left:!0,right:1,center:1},_={top:1,bottom:1,middle:1},b=["fontStyle","fontWeight","fontSize","fontFamily"];function m(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?f["c"]+"px":t+"px":t}function x(t,e){for(var r=0;r-1){var r=Object(i["g"])(t);r&&(t="rgb("+r[0]+","+r[1]+","+r[2]+")",e=r[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var h=1e-4;function u(t){return t-h}function l(t){return a(1e3*t)/1e3}function c(t){return a(1e4*t)/1e4}function f(t){return"matrix("+l(t[0])+","+l(t[1])+","+l(t[2])+","+l(t[3])+","+c(t[4])+","+c(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function d(t,e,r){return"top"===r?t+=e/2:"bottom"===r&&(t-=e/2),t}function v(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function g(t){var e=t.style,r=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function y(t){return t&&!!t.image}function _(t){return t&&!!t.svgElement}function b(t){return y(t)||_(t)}function m(t){return"linear"===t.type}function x(t){return"radial"===t.type}function w(t){return t&&("linear"===t.type||"radial"===t.type)}function O(t){return"url(#"+t+")"}function k(t){var e=t.getGlobalScale(),r=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function j(t){var e=t.x||0,r=t.y||0,i=(t.rotation||0)*n["a"],o=Object(n["P"])(t.scaleX,1),s=Object(n["P"])(t.scaleY,1),h=t.skewX||0,u=t.skewY||0,l=[];return(e||r)&&l.push("translate("+e+"px,"+r+"px)"),i&&l.push("rotate("+i+")"),1===o&&1===s||l.push("scale("+o+","+s+")"),(h||u)&&l.push("skew("+a(h*n["a"])+"deg, "+a(u*n["a"])+"deg)"),l.join(" ")}var S=function(){return o["a"].hasGlobalWindow&&Object(n["w"])(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,r("b639").Buffer)},"857d":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=2*Math.PI;function i(t){return t%=n,t<0&&(t+=n),t}},8582:function(t,e,r){"use strict";r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return d}));var n=r("1687"),i=r("401b"),o=n["d"],a=5e-5;function s(t){return t>a||t<-a}var h=[],u=[],l=n["c"](),c=Math.abs,f=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;e||t?(r=r||n["c"](),e?this.getLocalTransform(r):o(r),t&&(e?n["f"](r,t,r):n["b"](r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)):r&&(o(r),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(h);var r=h[0]<0?-1:1,i=h[1]<0?-1:1,o=((h[0]-r)*e+r)/h[0]||0,a=((h[1]-i)*e+i)/h[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||n["c"](),n["e"](this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),i=Math.PI/2+n-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n["f"](u,t.invTransform,e),e=u);var r=this.originX,i=this.originY;(r||i)&&(l[4]=r,l[5]=i,n["f"](u,e,l),u[4]-=r,u[5]-=i,e=u),this.setLocalTransform(e)}},t.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):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var r=[t,e],n=this.invTransform;return n&&i["b"](r,r,n),r},t.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&i["b"](r,r,n),r},t.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){d(this,t)},t.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,h=t.anchorY,u=t.rotation||0,l=t.x,c=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||h){var d=r+s,v=i+h;e[4]=-d*o-f*v*a,e[5]=-v*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,u&&n["g"](e,e,u),e[4]+=r+l,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(t,e){for(var r=0;re&&o>n||oi?s:0}r.d(e,"a",(function(){return n}))},"87b1":function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=r("4fac"),a=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!0)},e}(i["b"]);s.prototype.type="polygon",e["a"]=s},"8d1d":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("6d8b");function i(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(n["z"])(t)?[t]:Object(n["t"])(t)?t:null:null}function o(t){var e=t.style,r=e.lineDash&&e.lineWidth>0&&i(e.lineDash,e.lineWidth),o=e.lineDashOffset;if(r){var a=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=Object(n["H"])(r,(function(t){return t/a})),o/=a)}return[r,o]}},"8d32":function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(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 r=e.cx,n=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,h=Math.cos(o),u=Math.sin(o);t.moveTo(h*i+r,u*i+n),t.arc(r,n,i,o,a,!s)},e}(i["b"]);a.prototype.type="arc",e["a"]=a},9680:function(t,e,r){"use strict";function n(t,e,r,n,i,o,a){if(0===i)return!1;var s=i,h=0,u=t;if(a>e+s&&a>n+s||at+s&&o>r+s||oy&&(y=w,_y&&(y=O,m=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.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,r,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],c=n[3],f=n[4],p=n[5];return e.x=r.x*i+f,e.y=r.y*c+p,e.width=r.width*i,e.height=r.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=u.x=r.x,s.y=l.y=r.y,h.x=l.x=r.x+r.width,h.y=u.y=r.y+r.height,s.transform(n),l.transform(n),h.transform(n),u.transform(n),e.x=o(s.x,h.x,u.x,l.x),e.y=o(s.y,h.y,u.y,l.y);var d=a(s.x,h.x,u.x,l.x),v=a(s.y,h.y,u.y,l.y);e.width=d-e.x,e.height=v-e.y}else e!==r&&t.copy(e,r)},t}();e["a"]=p},"98b7":function(t,e,r){"use strict";var n,i=r("22d1");n=i["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e["a"]=n},"9cf9":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return a}));var n=Math.round;function i(t,e,r){if(e){var i=e.x1,o=e.x2,s=e.y1,h=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=h;var u=r&&r.lineWidth;return u?(n(2*i)===n(2*o)&&(t.x1=t.x2=a(i,u,!0)),n(2*s)===n(2*h)&&(t.y1=t.y2=a(s,u,!0)),t):t}}function o(t,e,r){if(e){var n=e.x,i=e.y,o=e.width,s=e.height;t.x=n,t.y=i,t.width=o,t.height=s;var h=r&&r.lineWidth;return h?(t.x=a(n,h,!0),t.y=a(i,h,!0),t.width=Math.max(a(n+o,h,!1)-t.x,0===o?0:1),t.height=Math.max(a(i+s,h,!1)-t.y,0===s?0:1),t):t}}function a(t,e,r){if(!e)return t;var i=n(2*t);return(i+n(e))%2===0?i/2:(i+(r?1:-1))/2}},ac0f:function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=r("401b"),a=r("4a3f"),s=[],h=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function u(t,e,r){var n=t.cpx2,i=t.cpy2;return null!=n||null!=i?[(r?a["b"]:a["a"])(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?a["b"]:a["a"])(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?a["i"]:a["h"])(t.x1,t.cpx1,t.x2,e),(r?a["i"]:a["h"])(t.y1,t.cpy1,t.y2,e)]}var l=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.x1,n=e.y1,i=e.x2,o=e.y2,h=e.cpx1,u=e.cpy1,l=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(r,n),null==l||null==c?(f<1&&(Object(a["n"])(r,h,i,f,s),h=s[1],i=s[2],Object(a["n"])(n,u,o,f,s),u=s[1],o=s[2]),t.quadraticCurveTo(h,u,i,o)):(f<1&&(Object(a["g"])(r,h,l,i,f,s),h=s[1],l=s[2],i=s[3],Object(a["g"])(n,u,c,o,f,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(h,u,l,c,i,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["m"](e,e)},e}(i["b"]);l.prototype.type="bezier-curve",e["a"]=l},ae69:function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=.5522848,n=e.cx,i=e.cy,o=e.rx,a=e.ry,s=o*r,h=a*r;t.moveTo(n-o,i),t.bezierCurveTo(n-o,i-h,n-s,i-a,n,i-a),t.bezierCurveTo(n+s,i-a,n+o,i-h,n+o,i),t.bezierCurveTo(n+o,i+h,n+s,i+a,n,i+a),t.bezierCurveTo(n-s,i+a,n-o,i+h,n-o,i),t.closePath()},e}(i["b"]);a.prototype.type="ellipse",e["a"]=a},b362:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("4a3f"),i=r("6d8b"),o=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(t){var e=t&&o.exec(t);if(e){var r=e[1].split(","),a=+Object(i["T"])(r[0]),s=+Object(i["T"])(r[1]),h=+Object(i["T"])(r[2]),u=+Object(i["T"])(r[3]);if(isNaN(a+s+h+u))return;var l=[];return function(t){return t<=0?0:t>=1?1:Object(n["f"])(0,a,h,1,t,l)&&Object(n["a"])(0,s,u,1,l[0])}}}},c7a2:function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5");function o(t,e){var r,n,i,o,a,s=e.x,h=e.y,u=e.width,l=e.height,c=e.r;u<0&&(s+=u,u=-u),l<0&&(h+=l,l=-l),"number"===typeof c?r=n=i=o=c:c instanceof Array?1===c.length?r=n=i=o=c[0]:2===c.length?(r=i=c[0],n=o=c[1]):3===c.length?(r=c[0],n=o=c[1],i=c[2]):(r=c[0],n=c[1],i=c[2],o=c[3]):r=n=i=o=0,r+n>u&&(a=r+n,r*=u/a,n*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),n+i>l&&(a=n+i,n*=l/a,i*=l/a),r+o>l&&(a=r+o,r*=l/a,o*=l/a),t.moveTo(s+r,h),t.lineTo(s+u-n,h),0!==n&&t.arc(s+u-n,h+n,n,-Math.PI/2,0),t.lineTo(s+u,h+l-i),0!==i&&t.arc(s+u-i,h+l-i,i,0,Math.PI/2),t.lineTo(s+o,h+l),0!==o&&t.arc(s+o,h+l-o,o,Math.PI/2,Math.PI),t.lineTo(s,h+r),0!==r&&t.arc(s+r,h+r,r,Math.PI,1.5*Math.PI)}var a=r("9cf9"),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),h={},u=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var r,n,i,s;if(this.subPixelOptimize){var u=Object(a["c"])(h,e,this.style);r=u.x,n=u.y,i=u.width,s=u.height,u.r=e.r,e=u}else r=e.x,n=e.y,i=e.width,s=e.height;e.r?o(t,e):t.rect(r,n,i,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i["b"]);u.prototype.type="rect";e["a"]=u},ca80:function(t,e,r){"use strict";var n=r("dce8"),i=[0,0],o=[0,0],a=new n["a"],s=new n["a"],h=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new n["a"];for(r=0;r<2;r++)this._axes[r]=new n["a"];t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var r=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,h=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,h),r[3].set(o,h),e)for(var u=0;u<4;u++)r[u].transform(e);n["a"].sub(i[0],r[1],r[0]),n["a"].sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(u=0;u<2;u++)this._origin[u]=i[u].dot(r[0])},t.prototype.intersect=function(t,e){var r=!0,i=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(r=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(r=!1,i)||i||n["a"].copy(e,r?a:s),r},t.prototype._intersectCheckOneSide=function(t,e,r,a,s,h){for(var u=!0,l=0;l<2;l++){var c=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,i),this._getProjMinMaxOnAxis(l,e._corners,o),i[1]o[1]){if(u=!1,s)return u;var f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)>a.len()&&(fe+f&&c>n+f&&c>o+f&&c>h+f||ct+f&&l>r+f&&l>i+f&&l>a+f||lr||f+ui&&(i+=c);var d=Math.atan2(h,s);return d<0&&(d+=c),d>=n&&d<=i||d+c>=n&&d+c<=i}var p=r("8728"),d=o["a"].CMD,v=2*Math.PI,g=1e-4;function y(t,e){return Math.abs(t-e)e&&l>n&&l>o&&l>h||l1&&m(),d=s["a"](e,n,o,h,b[0]),p>1&&(v=s["a"](e,n,o,h,b[1]))),2===p?ye&&h>n&&h>o||h=0&&l<=1){for(var c=0,f=s["h"](e,n,o,l),p=0;pr||s<-r)return 0;var h=Math.sqrt(r*r-s*s);_[0]=-h,_[1]=h;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=v-1e-4){n=0,i=v;var l=o?1:-1;return a>=_[0]+t&&a<=_[1]+t?l:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=v,i+=v);for(var f=0,p=0;p<2;p++){var d=_[p];if(d+t>a){var g=Math.atan2(s,d);l=o?1:-1;g<0&&(g=v+g),(g>=n&&g<=i||g+v>=n&&g+v<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(l=-l),f+=l)}}return f}function k(t,e,r,n,i){for(var o,s,l=t.data,c=t.len(),v=0,g=0,_=0,b=0,m=0,k=0;k1&&(r||(v+=Object(p["a"])(g,_,b,m,n,i))),S&&(g=l[k],_=l[k+1],b=g,m=_),j){case d.M:b=l[k++],m=l[k++],g=b,_=m;break;case d.L:if(r){if(a["a"](g,_,l[k],l[k+1],e,n,i))return!0}else v+=Object(p["a"])(g,_,l[k],l[k+1],n,i)||0;g=l[k++],_=l[k++];break;case d.C:if(r){if(h(g,_,l[k++],l[k++],l[k++],l[k++],l[k],l[k+1],e,n,i))return!0}else v+=x(g,_,l[k++],l[k++],l[k++],l[k++],l[k],l[k+1],n,i)||0;g=l[k++],_=l[k++];break;case d.Q:if(r){if(u["a"](g,_,l[k++],l[k++],l[k],l[k+1],e,n,i))return!0}else v+=w(g,_,l[k++],l[k++],l[k],l[k+1],n,i)||0;g=l[k++],_=l[k++];break;case d.A:var T=l[k++],C=l[k++],P=l[k++],M=l[k++],A=l[k++],L=l[k++];k+=1;var z=!!(1-l[k++]);o=Math.cos(A)*P+T,s=Math.sin(A)*M+C,S?(b=o,m=s):v+=Object(p["a"])(g,_,o,s,n,i);var F=(n-T)*M/P+T;if(r){if(f(T,C,M,A,A+L,z,e,F,i))return!0}else v+=O(T,C,M,A,A+L,z,F,i);g=Math.cos(A+L)*P+T,_=Math.sin(A+L)*M+C;break;case d.R:b=g=l[k++],m=_=l[k++];var D=l[k++],I=l[k++];if(o=b+D,s=m+I,r){if(a["a"](b,m,o,m,e,n,i)||a["a"](o,m,o,s,e,n,i)||a["a"](o,s,b,s,e,n,i)||a["a"](b,s,b,m,e,n,i))return!0}else v+=Object(p["a"])(o,m,o,s,n,i),v+=Object(p["a"])(b,s,b,m,n,i);break;case d.Z:if(r){if(a["a"](g,_,b,m,e,n,i))return!0}else v+=Object(p["a"])(g,_,b,m,n,i);g=b,_=m;break}}return r||y(_,m)||(v+=Object(p["a"])(g,_,b,m,n,i)||0),0!==v}function j(t,e,r){return k(t,0,!1,e,r)}function S(t,e,r,n){return k(t,e,!0,r,n)}var T=r("6d8b"),C=r("41ef"),P=r("2cf4"),M=r("4bc4"),A=r("8582"),L=Object(T["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i["b"]),z={style:Object(T["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i["a"].style)},F=A["a"].concat(["invisible","culling","z","z2","zlevel","parent"]),D=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.update=function(){var r=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){r.buildPath(t,r.shape)}),i.silent=!0;var o=i.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.5?P["a"]:e>.2?P["c"]:P["d"]}if(t)return P["d"]}return P["a"]},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(T["C"])(e)){var r=this.__zr,n=!(!r||!r.isDarkMode()),i=Object(C["d"])(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,r=!t;if(r){var n=!1;this.path||(n=!0,this.createPathProxy());var i=this.path;(n||this.__dirty&M["b"])&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||r){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var h=this.strokeContainThreshold;s=Math.max(s,null==h?4:h)}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},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),i=this.style;if(t=r[0],e=r[1],n.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),S(o,a/s,t,e)))return!0}if(this.hasFill())return j(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=M["b"],this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},e.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"===typeof t?r[t]=e:Object(T["m"])(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&M["b"])},e.prototype.createStyle=function(t){return Object(T["g"])(L,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=Object(T["m"])({},this.shape))},e.prototype._applyStateObj=function(e,r,n,i,o,a){t.prototype._applyStateObj.call(this,e,r,n,i,o,a);var s,h=!(r&&i);if(r&&r.shape?o?i?s=r.shape:(s=Object(T["m"])({},n.shape),Object(T["m"])(s,r.shape)):(s=Object(T["m"])({},i?this.shape:n.shape),Object(T["m"])(s,r.shape)):h&&(s=n.shape),s)if(o){this.shape=Object(T["m"])({},this.shape);for(var u={},l=Object(T["F"])(s),c=0;c=h;l++)u-=h;var c=Object(o["f"])(r,e);return c>u&&(r="",c=0),u=t-c,a.ellipsis=r,a.ellipsisWidth=c,a.contentWidth=u,a.containerWidth=t,a}function u(t,e){var r=e.containerWidth,n=e.font,i=e.contentWidth;if(!r)return"";var a=Object(o["f"])(t,n);if(a<=r)return t;for(var s=0;;s++){if(a<=i||s>=e.maxIterations){t+=e.ellipsis;break}var h=0===s?l(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;t=t.substr(0,h),a=Object(o["f"])(t,n)}return""===t&&(t=e.placeholder),t}function l(t,e,r,n){for(var i=0,o=0,a=t.length;oy&&d){var _=Math.floor(y/f);r=r.slice(0,_)}if(t&&l&&null!=v)for(var b=h(v,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;xp&&g(r,t.substring(p,v),e,f),g(r,h[2],e,f,h[1]),p=a.lastIndex}pl){C>0?(j.tokens=j.tokens.slice(0,C),O(j,T,S),r.lines=r.lines.slice(0,k+1)):r.lines=r.lines.slice(0,k);break t}var D=M.width,I=null==D||"auto"===D;if("string"===typeof D&&"%"===D.charAt(D.length-1))P.percentWidth=D,y.push(P),P.contentWidth=Object(o["f"])(P.text,z);else{if(I){var R=M.backgroundColor,B=R&&R.image;B&&(B=n["b"](B),n["c"](B)&&(P.width=Math.max(P.width,B.width*F/B.height)))}var H=x&&null!=u?u-T:null;null!=H&&H0&&y+n.accumWidth>n.width&&(a=e.split("\n"),d=!0),n.accumWidth=y}else{var _=m(e,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=_.accumWidth+g,s=_.linesWidths,a=_.lines}}else a=e.split("\n");for(var b=0;b=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var _=Object(i["N"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function b(t){return!y(t)||!!_[t]}function m(t,e,r,n,i){for(var a=[],s=[],h="",u="",l=0,c=0,f=0;fr:i+c+d>r)?c?(h||u)&&(v?(h||(h=u,u="",l=0,c=l),a.push(h),s.push(c-l),u+=p,l+=d,h="",c=l):(u&&(h+=u,u="",l=0),a.push(h),s.push(c),h=p,c=d)):v?(a.push(u),s.push(l),u=p,l=d):(a.push(p),s.push(d)):(c+=d,v?(u+=p,l+=d):(u&&(h+=u,u="",l=0),h+=p))}else u&&(h+=u,c+=l),a.push(h),s.push(c),h="",u="",l=0,c=0}return a.length||h||(h=t,u="",l=0),u&&(h+=u),h&&(a.push(h),s.push(c)),1===a.length&&(c+=i),{accumWidth:c,lines:a,linesWidths:s}}},d498:function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=r("4fac"),a=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(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["a"](t,e,!1)},e}(i["b"]);s.prototype.type="polyline",e["a"]=s},d4c6:function(t,e,r){"use strict";var n=r("21a1"),i=r("cbe5"),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Object(n["a"])(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),r=0;r=this._maxSize&&a>0){var h=r.head;r.remove(h),delete i[h.key],o=h.value,this._lastRemovedEntry=h}s?s.value=e:s=new n(e),s.key=t,r.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["a"]=o},d5b7:function(t,e,r){"use strict";var n=r("8582"),i=r("06ad"),o=r("9850"),a=r("6fd3"),s=r("e86a"),h=r("6d8b"),u=r("2cf4"),l=r("41ef"),c=r("4bc4"),f="__zr_normal__",p=n["a"].concat(["ignore"]),d=Object(h["N"])(n["a"],(function(t,e){return t[e]=!0,t}),{ignore:!1}),v={},g=new o["a"](0,0,0,0),y=function(){function t(t){this.id=Object(h["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,r){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}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 r=this.textConfig,n=r.local,i=e.innerTransformable,o=void 0,a=void 0,h=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(e),null!=r.position){var l=g;r.layoutRect?l.copy(r.layoutRect):l.copy(this.getBoundingRect()),n||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(v,r,l):Object(s["c"])(v,r,l),i.x=v.x,i.y=v.y,o=v.align,a=v.verticalAlign;var f=r.origin;if(f&&null!=r.rotation){var p=void 0,d=void 0;"center"===f?(p=.5*l.width,d=.5*l.height):(p=Object(s["g"])(f[0],l.width),d=Object(s["g"])(f[1],l.height)),u=!0,i.originX=-i.x+p+(n?0:l.x),i.originY=-i.y+d+(n?0:l.y)}}null!=r.rotation&&(i.rotation=r.rotation);var y=r.offset;y&&(i.x+=y[0],i.y+=y[1],u||(i.originX=-y[0],i.originY=-y[1]));var _=null==r.inside?"string"===typeof r.position&&r.position.indexOf("inside")>=0:r.inside,b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,x=void 0,w=void 0;_&&this.canBeInsideText()?(m=r.insideFill,x=r.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=x&&"auto"!==x||(x=this.getInsideTextStroke(m),w=!0)):(m=r.outsideFill,x=r.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=x&&"auto"!==x||(x=this.getOutsideStroke(m),w=!0)),m=m||"#000",m===b.fill&&x===b.stroke&&w===b.autoStroke&&o===b.align&&a===b.verticalAlign||(h=!0,b.fill=m,b.stroke=x,b.autoStroke=w,b.align=o,b.verticalAlign=a,e.setDefaultTextStyle(b)),e.__dirty|=c["a"],h&&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["d"]:u["a"]},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r="string"===typeof e&&Object(l["g"])(e);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*n+(i?0:255)*(1-n);return r[3]=1,Object(l["h"])(r,"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||{},Object(h["m"])(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(Object(h["A"])(t))for(var r=t,n=Object(h["F"])(r),i=0;i0},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(f,!1,t)},t.prototype.useState=function(t,e,r,n){var i=t===f,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!(Object(h["r"])(a,t)>=0)||!e&&1!==a.length){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),u||i){i||this.saveCurrentToNormalState(u);var l=!!(u&&u.hoverLayer||n);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!r&&!this.__inHover&&s&&s.duration>0,s);var p=this._textContent,d=this._textGuide;return p&&p.useState(t,e,r,l),d&&d.useState(t,e,r,l),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c["a"]),u}Object(h["G"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,r){if(t.length){var n=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s0,d);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,e,f),g&&g.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c["a"])}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},t.prototype.replaceState=function(t,e,r){var n=this.currentStates.slice(),i=Object(h["r"])(n,t),o=Object(h["r"])(n,e)>=0;i>=0?o?n.splice(i,1):n[i]=e:r&&!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,r={},n=0;n=0&&e.splice(r,1)})),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var r=this.animators,n=r.length,i=[],o=0;o0&&r.during&&o[0].during((function(t,e){r.during(e)}));for(var f=0;f0||o.force&&!s.length){var P=void 0,M=void 0,A=void 0;if(u){M={},d&&(P={});for(j=0;j=c:-d>=c),_=d>0?d%c:d%c+c,b=!1;b=!!y||!Object(n["j"])(g)&&_>=l===!!v;var m=t+r*u(a),x=e+i*h(a);this._start&&this._add("M",m,x);var w=Math.round(o*f);if(y){var O=1/this._p,k=(v?1:-1)*(c-O);this._add("A",r,i,w,1,+v,t+r*u(a+k),e+i*h(a+k)),O>.01&&this._add("A",r,i,w,0,+v,m,x)}else{var j=t+r*u(s),S=e+i*h(s);this._add("A",r,i,w,+b,+v,j,S)}},t.prototype.rect=function(t,e,r,n){this._add("M",t,e),this._add("l",r,0),this._add("l",0,n),this._add("l",-r,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,r,n,i,o,a,s,h){for(var u=[],l=this._p,c=1;c"}function L(t){return""}function z(t,e){e=e||{};var r=e.newline?"\n":"";function n(t){var e=t.children,i=t.tag,o=t.attrs,a=t.text;return A(i,o)+("style"!==i?Object(k["a"])(a):a||"")+(e?""+r+Object(g["H"])(e,(function(t){return n(t)})).join(r)+r:"")+L(i)}return n(t)}function F(t,e,r){r=r||{};var n=r.newline?"\n":"",i=" {"+n,o=n+"}",a=Object(g["H"])(Object(g["F"])(t),(function(e){return e+i+Object(g["H"])(Object(g["F"])(t[e]),(function(r){return r+":"+t[e][r]+";"})).join(n)+o})).join(n),s=Object(g["H"])(Object(g["F"])(e),(function(t){return"@keyframes "+t+i+Object(g["H"])(Object(g["F"])(e[t]),(function(r){return r+i+Object(g["H"])(Object(g["F"])(e[t][r]),(function(n){var i=e[t][r][n];return"d"===n&&(i='path("'+i+'")'),n+":"+i+";"})).join(n)+o})).join(n)+o})).join(n);return a||s?[""].join(n):""}function D(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function I(t,e,r,n){return M("svg","root",{width:t,height:e,xmlns:j,"xmlns:xlink":S,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+t+" "+e},r)}var R=r("5e76"),B=r("8582"),H=r("20c8"),N=r("d4c6"),E=r("b362"),W={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},X="transform-origin";function q(t,e,r){var i=Object(g["m"])({},t.shape);Object(g["m"])(i,e),t.buildPath(r,i);var o=new d;return o.reset(Object(n["f"])(t)),r.rebuildPath(o,1),o.generateStr(),o.getStr()}function Y(t,e){var r=e.originX,n=e.originY;(r||n)&&(t[X]=r+"px "+n+"px")}var V={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function U(t,e){var r=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[r]=t,r}function G(t,e,r){var n,i,o=t.shape.paths,a={};if(Object(g["k"])(o,(function(t){var e=D(r.zrId);e.animation=!0,K(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,h=Object(g["F"])(o),u=h.length;if(u){i=h[u-1];var l=o[i];for(var c in l){var f=l[c];a[c]=a[c]||{d:""},a[c].d+=f.d||""}for(var p in s){var d=s[p].animation;d.indexOf(i)>=0&&(n=d)}}})),n){e.d=!1;var s=U(a,r);return n.replace(i,s)}}function Z(t){return Object(g["C"])(t)?W[t]?"cubic-bezier("+W[t]+")":Object(E["a"])(t)?t:"":""}function K(t,e,r,i){var o=t.animators,a=o.length,s=[];if(t instanceof N["a"]){var h=G(t,e,r);if(h)s.push(h);else if(!a)return}else if(!a)return;for(var u={},l=0;l0})).length){var A=U(c,r);return A+" "+o[0]+" both"}}for(var _ in u){h=y(u[_]);h&&s.push(h)}if(s.length){var b=r.zrId+"-cls-"+r.cssClassIdx++;r.cssNodes["."+b]={animation:s.join(",")},e["class"]=b}}var Q=r("76a5"),$=r("726e"),J=Math.round;function tt(t){return t&&Object(g["C"])(t.src)}function et(t){return t&&Object(g["w"])(t.toDataURL)}function rt(t,e,r,i){O((function(o,a){var s="fill"===o||"stroke"===o;s&&Object(n["k"])(a)?gt(e,t,o,i):s&&Object(n["n"])(a)?yt(r,t,o,i):t[o]=a}),e,r,!1),vt(r,t,i)}function nt(t){return Object(n["j"])(t[0]-1)&&Object(n["j"])(t[1])&&Object(n["j"])(t[2])&&Object(n["j"])(t[3]-1)}function it(t){return Object(n["j"])(t[4])&&Object(n["j"])(t[5])}function ot(t,e,r){if(e&&(!it(e)||!nt(e))){var i=r?10:1e4;t.transform=nt(e)?"translate("+J(e[4]*i)/i+" "+J(e[5]*i)/i+")":Object(n["e"])(e)}}function at(t,e,r){for(var n=t.points,i=[],o=0;ou?(a=null==r[f+1]?null:r[f+1].elm,Ft(t,a,r,h,f)):Dt(t,e,s,u))}function Bt(t,e){var r=e.elm=t.elm,n=t.children,i=e.children;t!==e&&(It(t,e),Pt(e.text)?Mt(n)&&Mt(i)?n!==i&&Rt(r,n,i):Mt(i)?(Mt(t.text)&&jt(r,""),Ft(r,null,i,0,i.length-1)):Mt(n)?Dt(r,n,0,n.length-1):Mt(t.text)&&jt(r,""):t.text!==e.text&&(Mt(n)&&Dt(r,n,0,n.length-1),jt(r,e.text)))}function Ht(t,e){if(Lt(t,e))Bt(t,e);else{var r=t.elm,n=Ot(r);zt(e),null!==n&&(mt(n,e.elm,kt(r)),Dt(n,[t],0,0))}return e}var Nt=r("3437"),Et=0,Wt=function(){function t(t,e,r){if(this.type="svg",this.refreshHover=Xt("refreshHover"),this.configLayer=Xt("configLayer"),this.storage=e,this._opts=r=Object(g["m"])({},r),this.root=t,this._id="zr"+Et++,this._oldVNode=I(r.width,r.height),t&&!r.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=P("svg");It(null,this._oldVNode),n.appendChild(i),t.appendChild(n)}this.resize(r.width,r.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",Ht(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return dt(t,D(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),r=this._width,n=this._height,i=D(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress;var o=[],a=this._bgVNode=qt(r,n,this._backgroundColor,i);a&&o.push(a);var s=t.compress?null:this._mainVNode=M("g","main",{},[]);this._paintList(e,i,s?s.children:o),s&&o.push(s);var h=Object(g["H"])(Object(g["F"])(i.defs),(function(t){return i.defs[t]}));if(h.length&&o.push(M("defs","defs",{},h)),t.animation){var u=F(i.cssNodes,i.cssAnims,{newline:!0});if(u){var l=M("style","stl",{},[],u);o.push(l)}}return I(r,n,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},z(this.renderToVNode({animation:Object(g["P"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(g["P"])(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,r){for(var n,i,o=t.length,a=[],s=0,h=0,u=0;u=0;d--)if(c&&i&&c[d]===i[d])break;for(var v=p-1;v>d;v--)s--,n=a[s-1];for(var g=d+1;g0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["g"])(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 r=Object(o["d"])(e,t.font,t.textAlign,t.textBaseline);if(r.x+=t.x||0,r.y+=t.y||0,this.hasStroke()){var n=t.lineWidth;r.x-=n/2,r.y-=n/2,r.width+=n,r.height+=n}this._rect=r}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(i["c"]);l.prototype.type="tspan",e["a"]=l},dded:function(t,e,r){"use strict";var n=r("21a1"),i=r("42e5"),o=function(t){function e(e,r,n,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==r?.5:r,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return Object(n["a"])(e,t),e}(i["a"]);e["a"]=o},e263:function(t,e,r){"use strict";r.d(e,"d",(function(){return p})),r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return y})),r.d(e,"e",(function(){return _})),r.d(e,"a",(function(){return b}));var n=r("401b"),i=r("4a3f"),o=Math.min,a=Math.max,s=Math.sin,h=Math.cos,u=2*Math.PI,l=n["e"](),c=n["e"](),f=n["e"]();function p(t,e,r){if(0!==t.length){for(var n=t[0],i=n[0],s=n[0],h=n[1],u=n[1],l=1;l1e-4)return d[0]=t-r,d[1]=e-i,v[0]=t+r,void(v[1]=e+i);if(l[0]=h(o)*r+t,l[1]=s(o)*i+e,c[0]=h(a)*r+t,c[1]=s(a)*i+e,g(d,l,c),y(v,l,c),o%=u,o<0&&(o+=u),a%=u,a<0&&(a+=u),o>a&&!p?a+=u:oo&&(f[0]=h(m)*r+t,f[1]=s(m)*i+e,g(d,f,d),y(v,f,v))}},e86a:function(t,e,r){"use strict";r.d(e,"f",(function(){return s})),r.d(e,"d",(function(){return u})),r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return c})),r.d(e,"e",(function(){return f})),r.d(e,"g",(function(){return p})),r.d(e,"c",(function(){return d}));var n=r("9850"),i=r("d51b"),o=r("726e"),a={};function s(t,e){e=e||o["a"];var r=a[e];r||(r=a[e]=new i["a"](500));var n=r.get(t);return null==n&&(n=o["d"].measureText(t,e).width,r.put(t,n)),n}function h(t,e,r,i){var o=s(t,e),a=f(e),h=l(0,o,r),u=c(0,a,i),p=new n["a"](h,u,o,a);return p}function u(t,e,r,i){var o=((t||"")+"").split("\n"),a=o.length;if(1===a)return h(o[0],e,r,i);for(var s=new n["a"](0,0,0,0),u=0;u=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,r){var n=e.position||"inside",i=null!=e.distance?e.distance:5,o=r.height,a=r.width,s=o/2,h=r.x,u=r.y,l="left",c="top";if(n instanceof Array)h+=p(n[0],r.width),u+=p(n[1],r.height),l=null,c=null;else switch(n){case"left":h-=i,u+=s,l="right",c="middle";break;case"right":h+=i+a,u+=s,c="middle";break;case"top":h+=a/2,u-=i,l="center",c="bottom";break;case"bottom":h+=a/2,u+=o+i,l="center";break;case"inside":h+=a/2,u+=s,l="center",c="middle";break;case"insideLeft":h+=i,u+=s,c="middle";break;case"insideRight":h+=a-i,u+=s,l="right",c="middle";break;case"insideTop":h+=a/2,u+=i,l="center";break;case"insideBottom":h+=a/2,u+=o-i,l="center",c="bottom";break;case"insideTopLeft":h+=i,u+=i;break;case"insideTopRight":h+=a-i,u+=i,l="right";break;case"insideBottomLeft":h+=i,u+=o-i,c="bottom";break;case"insideBottomRight":h+=a-i,u+=o-i,l="right",c="bottom";break}return t=t||{},t.x=h,t.y=u,t.align=l,t.verticalAlign=c,t}}}]); //# sourceMappingURL=npm.zrender.cec079d4.js.map