(self["webpackChunknewfront"]=self["webpackChunknewfront"]||[]).push([[418],{9187:e=>{"use strict";function t(e,t,r){r=r||2;var i,o,l,s,u,h,c,x=t&&t.length,f=x?t[0]*r:e.length,v=n(e,0,f,r,!0),d=[];if(!v||v.next===v.prev)return d;if(x&&(v=p(e,t,v,r)),e.length>80*r){i=l=e[0],o=s=e[1];for(var y=r;y<f;y+=r)u=e[y],h=e[y+1],u<i&&(i=u),h<o&&(o=h),u>l&&(l=u),h>s&&(s=h);c=Math.max(l-i,s-o),c=0!==c?32767/c:0}return a(v,d,r,i,o,c,0),d}function n(e,t,n,r,a){var i,o;if(a===O(e,t,n,r)>0)for(i=t;i<n;i+=r)o=L(i,e[i],e[i+1],o);else for(i=n-r;i>=t;i-=r)o=L(i,e[i],e[i+1],o);return o&&M(o,o.next)&&(z(o),o=o.next),o}function r(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!M(r,r.next)&&0!==w(r.prev,r,r.next))r=r.next;else{if(z(r),r=t=r.prev,r===r.next)break;n=!0}}while(n||r!==t);return t}function a(e,t,n,p,u,h,c){if(e){!c&&h&&f(e,p,u,h);var x,v,d=e;while(e.prev!==e.next)if(x=e.prev,v=e.next,h?o(e,p,u,h):i(e))t.push(x.i/n|0),t.push(e.i/n|0),t.push(v.i/n|0),z(e),e=v.next,d=v.next;else if(e=v,e===d){c?1===c?(e=l(r(e),t,n),a(e,t,n,p,u,h,2)):2===c&&s(e,t,n,p,u,h):a(r(e),t,n,p,u,h,1);break}}}function i(e){var t=e.prev,n=e,r=e.next;if(w(t,n,r)>=0)return!1;var a=t.x,i=n.x,o=r.x,l=t.y,s=n.y,p=r.y,u=a<i?a<o?a:o:i<o?i:o,h=l<s?l<p?l:p:s<p?s:p,c=a>i?a>o?a:o:i>o?i:o,x=l>s?l>p?l:p:s>p?s:p,f=r.next;while(f!==t){if(f.x>=u&&f.x<=c&&f.y>=h&&f.y<=x&&g(a,l,i,s,o,p,f.x,f.y)&&w(f.prev,f,f.next)>=0)return!1;f=f.next}return!0}function o(e,t,n,r){var a=e.prev,i=e,o=e.next;if(w(a,i,o)>=0)return!1;var l=a.x,s=i.x,p=o.x,u=a.y,h=i.y,c=o.y,x=l<s?l<p?l:p:s<p?s:p,f=u<h?u<c?u:c:h<c?h:c,v=l>s?l>p?l:p:s>p?s:p,y=u>h?u>c?u:c:h>c?h:c,m=d(x,f,t,n,r),M=d(v,y,t,n,r),_=e.prevZ,P=e.nextZ;while(_&&_.z>=m&&P&&P.z<=M){if(_.x>=x&&_.x<=v&&_.y>=f&&_.y<=y&&_!==a&&_!==o&&g(l,u,s,h,p,c,_.x,_.y)&&w(_.prev,_,_.next)>=0)return!1;if(_=_.prevZ,P.x>=x&&P.x<=v&&P.y>=f&&P.y<=y&&P!==a&&P!==o&&g(l,u,s,h,p,c,P.x,P.y)&&w(P.prev,P,P.next)>=0)return!1;P=P.nextZ}while(_&&_.z>=m){if(_.x>=x&&_.x<=v&&_.y>=f&&_.y<=y&&_!==a&&_!==o&&g(l,u,s,h,p,c,_.x,_.y)&&w(_.prev,_,_.next)>=0)return!1;_=_.prevZ}while(P&&P.z<=M){if(P.x>=x&&P.x<=v&&P.y>=f&&P.y<=y&&P!==a&&P!==o&&g(l,u,s,h,p,c,P.x,P.y)&&w(P.prev,P,P.next)>=0)return!1;P=P.nextZ}return!0}function l(e,t,n){var a=e;do{var i=a.prev,o=a.next.next;!M(i,o)&&_(i,a,a.next,o)&&I(i,o)&&I(o,i)&&(t.push(i.i/n|0),t.push(a.i/n|0),t.push(o.i/n|0),z(a),z(a.next),a=e=o),a=a.next}while(a!==e);return r(a)}function s(e,t,n,i,o,l){var s=e;do{var p=s.next.next;while(p!==s.prev){if(s.i!==p.i&&m(s,p)){var u=C(s,p);return s=r(s,s.next),u=r(u,u.next),a(s,t,n,i,o,l,0),void a(u,t,n,i,o,l,0)}p=p.next}s=s.next}while(s!==e)}function p(e,t,r,a){var i,o,l,s,p,c=[];for(i=0,o=t.length;i<o;i++)l=t[i]*a,s=i<o-1?t[i+1]*a:e.length,p=n(e,l,s,a,!1),p===p.next&&(p.steiner=!0),c.push(y(p));for(c.sort(u),i=0;i<c.length;i++)r=h(c[i],r);return r}function u(e,t){return e.x-t.x}function h(e,t){var n=c(e,t);if(!n)return t;var a=C(n,e);return r(a,a.next),r(n,n.next)}function c(e,t){var n,r=t,a=e.x,i=e.y,o=-1/0;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=a&&l>o&&(o=l,n=r.x<r.next.x?r:r.next,l===a))return n}r=r.next}while(r!==t);if(!n)return null;var s,p=n,u=n.x,h=n.y,c=1/0;r=n;do{a>=r.x&&r.x>=u&&a!==r.x&&g(i<h?a:o,i,u,h,i<h?o:a,i,r.x,r.y)&&(s=Math.abs(i-r.y)/(a-r.x),I(r,e)&&(s<c||s===c&&(r.x>n.x||r.x===n.x&&x(n,r)))&&(n=r,c=s)),r=r.next}while(r!==p);return n}function x(e,t){return w(e.prev,e,t.prev)<0&&w(t.next,e,e.next)<0}function f(e,t,n,r){var a=e;do{0===a.z&&(a.z=d(a.x,a.y,t,n,r)),a.prevZ=a.prev,a.nextZ=a.next,a=a.next}while(a!==e);a.prevZ.nextZ=null,a.prevZ=null,v(a)}function v(e){var t,n,r,a,i,o,l,s,p=1;do{n=e,e=null,i=null,o=0;while(n){for(o++,r=n,l=0,t=0;t<p;t++)if(l++,r=r.nextZ,!r)break;s=p;while(l>0||s>0&&r)0!==l&&(0===s||!r||n.z<=r.z)?(a=n,n=n.nextZ,l--):(a=r,r=r.nextZ,s--),i?i.nextZ=a:e=a,a.prevZ=i,i=a;n=r}i.nextZ=null,p*=2}while(o>1);return e}function d(e,t,n,r,a){return e=(e-n)*a|0,t=(t-r)*a|0,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1}function y(e){var t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function g(e,t,n,r,a,i,o,l){return(a-o)*(t-l)>=(e-o)*(i-l)&&(e-o)*(r-l)>=(n-o)*(t-l)&&(n-o)*(i-l)>=(a-o)*(r-l)}function m(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!b(e,t)&&(I(e,t)&&I(t,e)&&S(e,t)&&(w(e.prev,e,t.prev)||w(e,t.prev,t))||M(e,t)&&w(e.prev,e,e.next)>0&&w(t.prev,t,t.next)>0)}function w(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function M(e,t){return e.x===t.x&&e.y===t.y}function _(e,t,n,r){var a=Z(w(e,t,n)),i=Z(w(e,t,r)),o=Z(w(n,r,e)),l=Z(w(n,r,t));return a!==i&&o!==l||(!(0!==a||!P(e,n,t))||(!(0!==i||!P(e,r,t))||(!(0!==o||!P(n,e,r))||!(0!==l||!P(n,t,r)))))}function P(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function Z(e){return e>0?1:e<0?-1:0}function b(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&_(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}function I(e,t){return w(e.prev,e,e.next)<0?w(e,t,e.next)>=0&&w(e,e.prev,t)>=0:w(e,t,e.prev)<0||w(e,e.next,t)<0}function S(e,t){var n=e,r=!1,a=(e.x+t.x)/2,i=(e.y+t.y)/2;do{n.y>i!==n.next.y>i&&n.next.y!==n.y&&a<(n.next.x-n.x)*(i-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}function C(e,t){var n=new A(e.i,e.x,e.y),r=new A(t.i,t.x,t.y),a=e.next,i=t.prev;return e.next=t,t.prev=e,n.next=a,a.prev=n,r.next=n,n.prev=r,i.next=r,r.prev=i,r}function L(e,t,n,r){var a=new A(e,t,n);return r?(a.next=r.next,a.prev=r,r.next.prev=a,r.next=a):(a.prev=a,a.next=a),a}function z(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function A(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function O(e,t,n,r){for(var a=0,i=t,o=n-r;i<n;i+=r)a+=(e[o]-e[i])*(e[i+1]+e[o+1]),o=i;return a}e.exports=t,e.exports["default"]=t,t.deviation=function(e,t,n,r){var a=t&&t.length,i=a?t[0]*n:e.length,o=Math.abs(O(e,0,i,n));if(a)for(var l=0,s=t.length;l<s;l++){var p=t[l]*n,u=l<s-1?t[l+1]*n:e.length;o-=Math.abs(O(e,p,u,n))}var h=0;for(l=0;l<r.length;l+=3){var c=r[l]*n,x=r[l+1]*n,f=r[l+2]*n;h+=Math.abs((e[c]-e[f])*(e[x+1]-e[c+1])-(e[c]-e[x])*(e[f+1]-e[c+1]))}return 0===o&&0===h?0:Math.abs((h-o)/o)},t.flatten=function(e){for(var t=e[0][0].length,n={vertices:[],holes:[],dimensions:t},r=0,a=0;a<e.length;a++){for(var i=0;i<e[a].length;i++)for(var o=0;o<t;o++)n.vertices.push(e[a][i][o]);a>0&&(r+=e[a-1].length,n.holes.push(r))}return n}},59916:function(e,t,n){!function(t,r){e.exports=r(n(70596))}(0,(function(e){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(t,n){t.exports=e},function(e,t,n){function r(e,t){this._amap=e,this.dimensions=["lng","lat"],this._mapOffset=[0,0],this._api=t}var a=n(0);r.prototype.dimensions=["lng","lat"],r.prototype.setZoom=function(e){this._zoom=e},r.prototype.setCenter=function(e){this._center=this._amap.lnglatToPixel(e)},r.prototype.setMapOffset=function(e){this._mapOffset=e},r.prototype.getAMap=function(){return this._amap},r.prototype.dataToPoint=function(e){var t=new AMap.LngLat(e[0],e[1]),n=this._amap.lngLatToContainer(t),r=this._mapOffset;return[n.x-r[0],n.y-r[1]]},r.prototype.pointToData=function(e){var t=this._mapOffset;e=this._amap.containerToLngLat({x:e[0]+t[0],y:e[1]+t[1]});return[e.lng,e.lat]},r.prototype.getViewRect=function(){var e=this._api;return new a.graphic.BoundingRect(0,0,e.getWidth(),e.getHeight())},r.prototype.getRoamTransform=function(){return a.matrix.create()},r.dimensions=r.prototype.dimensions,r.create=function(e,t){var n,i=t.getDom();e.eachComponent("amap",(function(e){var o=t.getZr().painter.getViewportRoot();if("undefined"==typeof AMap)throw new Error("AMap api is not loaded");if(n)throw new Error("Only one amap component can exist");if(!e.__amap){var l=i.querySelector(".ec-extension-amap");l&&(o.style.left="0px",o.style.top="0px",i.removeChild(l)),l=document.createElement("div"),l.style.cssText="width:100%;height:100%",l.classList.add("ec-extension-amap"),i.appendChild(l);var s=e.get()||{};s=e.__options=a.util.clone(s);var p=e.__amap=new AMap.Map(l,s),u=e.__layer=new AMap.CustomLayer(o);u.setMap(p)}p=e.getAMap(),u=e.getLayer();u.hide();var h=p.getZoom(),c=p.getCenter();n=new r(p,t),n.setMapOffset(e.__mapOffset||[0,0]),n.setZoom(h),n.setCenter([c.lng,c.lat]),e.coordinateSystem=n,u.show()})),e.eachSeries((function(e){"amap"===e.get("coordinateSystem")&&(e.coordinateSystem=n)}))},e.exports=r},function(e,t,n){function r(e,t){return e&&t&&e[0]===t[0]&&e[1]===t[1]}e.exports=n(0).extendComponentModel({type:"amap",getAMap:function(){return this.__amap},getLayer:function(){return this.__layer},getMapOptions:function(){return this.__options},setCenterAndZoom:function(e,t){this.option.center=e,this.option.zoom=t},centerOrZoomChanged:function(e,t){var n=this.option;return!(r(e,n.center)&&t===n.zoom)},defaultOption:{center:[116.397475,39.908695],zoom:4}})},function(e,t,n){function r(e,t,n){var r,a,i,o;return o=function(){r=!1,a&&(i.apply(n,a),a=!1)},i=function(){r?a=arguments:(e.apply(n,arguments),setTimeout(o,t),r=!0)}}var a=n(0);e.exports=n(0).extendComponentView({type:"amap",render:function(e,t,n){function i(){l||n.dispatchAction({type:"amapRoam"})}function o(e){a.getInstanceByDom(n.getDom()).resize(),h.call(this,e)}var l=!0,s=e.getAMap(),p=n.getZr().painter.getViewportRoot(),u=e.coordinateSystem,h=function(t){if(!l){var r=p.parentNode.parentNode.parentNode,a=[-parseInt(r.style.left,10)||0,-parseInt(r.style.top,10)||0];p.style.left=a[0]+"px",p.style.top=a[1]+"px",u.setMapOffset(a),e.__mapOffset=a,n.dispatchAction({type:"amapRoam"})}},c=r(o,300,s);s.off("movestart",this._oldMoveHandler),s.off("zoomend",this._oldZoomEndHandler),s.off("moveend",this._oldZoomEndHandler),s.off("complete",this._oldZoomEndHandler),e.get("resizeEnable")&&s.off("resize",this._oldResizeHandler),s.on("movestart",h),s.on("zoomend",i),s.on("moveend",i),s.on("complete",i),e.get("resizeEnable")&&s.on("resize",c),this._oldMoveHandler=h,this._oldZoomEndHandler=i,this._oldResizeHandler=c,l=!1}})},function(e,t,n){n(0).registerCoordinateSystem("amap",n(1)),n(2),n(3),n(0).registerAction({type:"amapRoam",event:"amapRoam",update:"updateLayout"},(function(e,t){t.eachComponent("amap",(function(e){var t=e.getAMap(),n=t.getCenter();e.setCenterAndZoom([n.lng,n.lat],t.getZoom())}))})),e.exports={version:"1.0.0-rc.6"}}])}))},13017:(e,t,n)=>{e.exports=n(59916)},94812:(e,t,n)=>{e.exports=n(14722)},14722:(e,t,n)=>{var r=n(70492);n(14795),n(67767),r.registerVisual(r.util.curry(n(69274),"liquidFill"))},20159:(e,t,n)=>{var r=n(70492);function a(e,t,n,r){return 0===t?[[e+.5*n/Math.PI/2,r/2],[e+.5*n/Math.PI,r],[e+n/4,r]]:1===t?[[e+.5*n/Math.PI/2*(Math.PI-2),r],[e+.5*n/Math.PI/2*(Math.PI-1),r/2],[e+n/4,0]]:2===t?[[e+.5*n/Math.PI/2,-r/2],[e+.5*n/Math.PI,-r],[e+n/4,-r]]:[[e+.5*n/Math.PI/2*(Math.PI-2),-r],[e+.5*n/Math.PI/2*(Math.PI-1),-r/2],[e+n/4,0]]}e.exports=r.graphic.extendShape({type:"ec-liquid-fill",shape:{waveLength:0,radius:0,radiusY:0,cx:0,cy:0,waterLevel:0,amplitude:0,phase:0,inverse:!1},buildPath:function(e,t){null==t.radiusY&&(t.radiusY=t.radius);var n=Math.max(2*Math.ceil(2*t.radius/t.waveLength*4),8);while(t.phase<2*-Math.PI)t.phase+=2*Math.PI;while(t.phase>0)t.phase-=2*Math.PI;var r=t.phase/Math.PI/2*t.waveLength,i=t.cx-t.radius+r-2*t.radius;e.moveTo(i,t.waterLevel);for(var o=0,l=0;l<n;++l){var s=l%4,p=a(l*t.waveLength/4,s,t.waveLength,t.amplitude);e.bezierCurveTo(p[0][0]+i,-p[0][1]+t.waterLevel,p[1][0]+i,-p[1][1]+t.waterLevel,p[2][0]+i,-p[2][1]+t.waterLevel),l===n-1&&(o=p[2][0])}t.inverse?(e.lineTo(o+i,t.cy-t.radiusY),e.lineTo(i,t.cy-t.radiusY),e.lineTo(i,t.waterLevel)):(e.lineTo(o+i,t.cy+t.radiusY),e.lineTo(i,t.cy+t.radiusY),e.lineTo(i,t.waterLevel)),e.closePath()}})},14795:(e,t,n)=>{var r=n(34380),a=n(70492);a.extendSeriesModel({type:"series.liquidFill",visualColorAccessPath:"textStyle.normal.color",optionUpdated:function(){var e=this.option;e.gridSize=Math.max(Math.floor(e.gridSize),4)},getInitialData:function(e,t){var n=r(["value"],e.data),i=new a.List(n,this);return i.initData(e.data),i},defaultOption:{color:["#294D99","#156ACF","#1598ED","#45BDFF"],center:["50%","50%"],radius:"50%",amplitude:"8%",waveLength:"80%",phase:"auto",period:"auto",direction:"right",shape:"circle",waveAnimation:!0,animationEasing:"linear",animationEasingUpdate:"linear",animationDuration:2e3,animationDurationUpdate:1e3,outline:{show:!0,borderDistance:8,itemStyle:{color:"none",borderColor:"#294D99",borderWidth:8,shadowBlur:20,shadowColor:"rgba(0, 0, 0, 0.25)"}},backgroundStyle:{color:"#E3F7FF"},itemStyle:{opacity:.95,shadowBlur:50,shadowColor:"rgba(0, 0, 0, 0.4)"},label:{show:!0,color:"#294D99",insideColor:"#fff",fontSize:50,fontWeight:"bold",align:"center",baseline:"middle",position:"inside"},emphasis:{itemStyle:{opacity:.8}}}})},67767:(e,t,n)=>{var r=n(25108),a=n(70492),i=a.number,o=n(41525),l=i.parsePercent,s=n(20159);a.extendChartView({type:"liquidFill",render:function(e,t,n){var i=this.group;i.removeAll();var p=e.getData(),u=p.getItemModel(0),h=u.get("center"),c=u.get("radius"),x=n.getWidth(),f=n.getHeight(),v=Math.min(x,f),d=0,y=0,g=e.get("outline.show");g&&(d=e.get("outline.borderDistance"),y=l(e.get("outline.itemStyle.borderWidth"),v));var m,w,M,_=l(h[0],x),P=l(h[1],f),Z=!1,b=e.get("shape");if("container"===b?(Z=!0,m=[x/2,f/2],w=[m[0]-y/2,m[1]-y/2],M=[l(d,x),l(d,f)],c=[Math.max(w[0]-M[0],0),Math.max(w[1]-M[1],0)]):(m=l(c,v)/2,w=m-y/2,M=l(d,v),c=Math.max(w-M,0)),g){var I=T();I.style.lineWidth=y,i.add(T())}var S=Z?0:_-c,C=Z?0:P-c,L=null;i.add(E());var z=this._data,A=[];function O(e,t){if(b){if(0===b.indexOf("path://")){var n=a.graphic.makePath(b.slice(7),{}),r=n.getBoundingRect(),i=r.width,l=r.height;i>l?(l*=2*e/i,i=2*e):(i*=2*e/l,l=2*e);var s=t?0:_-i/2,p=t?0:P-l/2;return n=a.graphic.makePath(b.slice(7),{},new a.graphic.BoundingRect(s,p,i,l)),t&&(n.position=[-i/2,-l/2]),n}if(Z){var u=t?-e[0]:_-e[0],h=t?-e[1]:P-e[1];return o.createSymbol("rect",u,h,2*e[0],2*e[1])}u=t?-e:_-e,h=t?-e:P-e;return"pin"===b?h+=e:"arrow"===b&&(h-=e),o.createSymbol(b,u,h,2*e,2*e)}return new a.graphic.Circle({shape:{cx:t?0:_,cy:t?0:P,r:e}})}function T(){var t=O(m);return t.style.fill=null,t.setStyle(e.getModel("outline.itemStyle").getItemStyle()),t}function E(){var t=O(c);t.setStyle(e.getModel("backgroundStyle").getItemStyle()),t.style.fill=null,t.z2=5;var n=O(c);n.setStyle(e.getModel("backgroundStyle").getItemStyle()),n.style.stroke=null;var r=new a.graphic.Group;return r.add(t),r.add(n),r}function D(t,n,r){var i=Z?c[0]:c,o=Z?f/2:c,u=p.getItemModel(t),h=u.getModel("itemStyle"),x=u.get("phase"),v=l(u.get("amplitude"),2*o),d=l(u.get("waveLength"),2*i),y=p.get("value",t),g=o-y*o*2;x=r?r.shape.phase:"auto"===x?t*Math.PI/4:x;var m=h.getItemStyle();if(!m.fill){var w=e.get("color"),M=t%w.length;m.fill=w[M]}var b=2*i,I=new s({shape:{waveLength:d,radius:i,radiusY:o,cx:b,cy:0,waterLevel:g,amplitude:v,phase:x,inverse:n},style:m,position:[_,P]});I.shape._waterLevel=g;var S=u.getModel("emphasis.itemStyle").getItemStyle();S.lineWidth=0,a.graphic.setHoverStyle(I,S);var C=O(c,!0);return C.setStyle({fill:"white"}),I.setClipPath(C),I}function R(e,t,n){var a=p.getItemModel(e),i=a.get("period"),o=a.get("direction"),l=p.get("value",e),s=a.get("phase");s=n?n.shape.phase:"auto"===s?e*Math.PI/4:s;var u=function(t){var n=p.count();return 0===n?t:t*(.2+(n-e)/n*.8)},h=0;h="auto"===i?u(5e3):"function"===typeof i?i(l,e):i;var c=0;"right"===o||null==o?c=Math.PI:"left"===o?c=-Math.PI:"none"===o?c=0:r.error("Illegal direction value for liquid fill."),"none"!==o&&a.get("waveAnimation")&&t.animate("shape",!0).when(0,{phase:s}).when(h/2,{phase:c+s}).when(h,{phase:2*c+s}).during((function(){L&&L.dirty(!0)})).start()}function k(t){var n=u.getModel("label");function r(){var t=e.getFormattedLabel(0,"normal"),n=100*p.get("value",0),r=p.getName(0)||e.name;return isNaN(n)||(r=n.toFixed(0)+"%"),null==t?r:t}var i={z2:10,shape:{x:S,y:C,width:2*(Z?c[0]:c),height:2*(Z?c[1]:c)},style:{fill:"transparent",text:r(),textAlign:n.get("align"),textVerticalAlign:n.get("baseline")},silent:!0},o=new a.graphic.Rect(i),l=n.get("color");a.graphic.setText(o.style,n,l);var s=new a.graphic.Rect(i),h=n.get("insideColor");a.graphic.setText(s.style,n,h),s.style.textFill=h;var x=new a.graphic.Group;x.add(o),x.add(s);var f=O(c,!0);return L=new a.graphic.CompoundPath({shape:{paths:t},position:[_,P]}),L.setClipPath(f),s.setClipPath(L),x}p.diff(z).add((function(t){var n=D(t,!1),r=n.shape.waterLevel;n.shape.waterLevel=Z?f/2:c,a.graphic.initProps(n,{shape:{waterLevel:r}},e),n.z2=2,R(t,n,null),i.add(n),p.setItemGraphicEl(t,n),A.push(n)})).update((function(t,n){for(var r=z.getItemGraphicEl(n),o=D(t,!1,r),l={},s=["amplitude","cx","cy","phase","radius","radiusY","waterLevel","waveLength"],u=0;u<s.length;++u){var h=s[u];o.shape.hasOwnProperty(h)&&(l[h]=o.shape[h])}var c={},x=["fill","opacity","shadowBlur","shadowColor"];for(u=0;u<x.length;++u){h=x[u];o.style.hasOwnProperty(h)&&(c[h]=o.style[h])}Z&&(l.radiusY=f/2),a.graphic.updateProps(r,{shape:l},e),r.useStyle(c),r.position=o.position,r.setClipPath(o.clipPath),r.shape.inverse=o.inverse,R(t,r,r),i.add(r),p.setItemGraphicEl(t,r),A.push(r)})).remove((function(e){var t=z.getItemGraphicEl(e);i.remove(t)})).execute(),u.get("label.show")&&i.add(k(A)),this._data=p},dispose:function(){}})}}]);