(self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[5640],{79093:function(e,t,n){var i=n(33051),a=n(85669),r=a.parsePercent,o=n(99936),s=o.isDimensionStacked,u=n(95682),c="__ec_stack_",h=.5,d="undefined"!==typeof Float32Array?Float32Array:Array;function p(e){return e.get("stack")||c+e.seriesIndex}function l(e){return e.dim+e.index}function f(e){var t=[],n=e.axis,a="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o0&&(o=null===o?u:Math.min(o,u))}n[a]=o}}return n}function y(e){var t=g(e),n=[];return i.each(e,(function(e){var i,a=e.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var u=o.dim+"_"+o.index,c=t[u],h=Math.abs(s[1]-s[0]),d=o.scale.getExtent(),f=Math.abs(d[1]-d[0]);i=c?h/f*c:h}else{var m=e.getData();i=Math.abs(s[1]-s[0])/m.count()}var g=r(e.get("barWidth"),i),y=r(e.get("barMaxWidth"),i),v=r(e.get("barMinWidth")||1,i),x=e.get("barGap"),M=e.get("barCategoryGap");n.push({bandWidth:i,barWidth:g,barMaxWidth:y,barMinWidth:v,barGap:x,barCategoryGap:M,axisKey:l(o),stackId:p(e)})})),v(n)}function v(e){var t={};i.each(e,(function(e,n){var i=e.axisKey,a=e.bandWidth,r=t[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;t[i]=r;var s=e.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var u=e.barWidth;u&&!o[s].width&&(o[s].width=u,u=Math.min(r.remainedWidth,u),r.remainedWidth-=u);var c=e.barMaxWidth;c&&(o[s].maxWidth=c);var h=e.barMinWidth;h&&(o[s].minWidth=h);var d=e.barGap;null!=d&&(r.gap=d);var p=e.barCategoryGap;null!=p&&(r.categoryGap=p)}));var n={};return i.each(t,(function(e,t){n[t]={};var a=e.stacks,o=e.bandWidth,s=r(e.categoryGap,o),u=r(e.gap,1),c=e.remainedWidth,h=e.autoWidthCount,d=(c-s)/(h+(h-1)*u);d=Math.max(d,0),i.each(a,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){i=e.width;t&&(i=Math.min(i,t)),n&&(i=Math.max(i,n)),e.width=i,c-=i+u*i,h--}else{var i=d;t&&ti&&(i=n),i!==d&&(e.width=i,c-=i+u*i,h--)}})),d=(c-s)/(h+(h-1)*u),d=Math.max(d,0);var p,l=0;i.each(a,(function(e,t){e.width||(e.width=d),p=e,l+=e.width*(1+u)})),p&&(l-=p.width*u);var f=-l/2;i.each(a,(function(e,i){n[t][i]=n[t][i]||{bandWidth:o,offset:f,width:e.width},f+=e.width*(1+u)}))})),n}function x(e,t,n){if(e&&t){var i=e[l(t)];return null!=i&&null!=n&&(i=i[p(n)]),i}}function M(e,t){var n=m(e,t),a=y(n),r={},o={};i.each(n,(function(e){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),u=p(e),c=a[l(i)][u],h=c.offset,d=c.width,f=n.getOtherAxis(i),m=e.get("barMinHeight")||0;r[u]=r[u]||[],o[u]=o[u]||[],t.setLayout({bandWidth:c.bandWidth,offset:h,size:d});for(var g=t.mapDimension(f.dim),y=t.mapDimension(i.dim),v=s(t,g),x=f.isHorizontal(),M=W(i,f,v),b=0,w=t.count();b=0?"p":"n",A=M;if(v&&(r[u][O]||(r[u][O]={p:M,n:M}),A=r[u][O][k]),x){var D=n.dataToPoint([C,O]);S=A,T=D[1]+h,_=D[0]-M,I=d,Math.abs(_)h||(p=h),{progress:l}}function l(e,t){var h,l=e.count,f=new d(2*l),m=new d(2*l),g=new d(l),y=[],v=[],x=0,M=0;while(null!=(h=e.next()))v[c]=t.get(o,h),v[1-c]=t.get(s,h),y=n.dataToPoint(v,null,y),m[x]=u?i.x+i.width:y[0],f[x++]=y[0],m[x]=u?y[1]:i.y+i.height,f[x++]=y[1],g[M++]=h;t.setLayout({largePoints:f,largeDataIndices:g,largeBackgroundPoints:m,barWidth:p,valueAxisStart:W(a,r,!1),backgroundStart:u?i.x:i.y,valueAxisHorizontal:u})}}};function w(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function S(e){return e.pipelineContext&&e.pipelineContext.large}function W(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=f,t.prepareLayoutBarSeries=m,t.makeColumnLayout=y,t.retrieveColumnLayout=x,t.layout=M,t.largeLayout=b},21709:function(e,t,n){var i=n(33051),a=n(85669),r=a.parsePercent,o=n(99936),s=o.isDimensionStacked;function u(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function c(e,t){return t.dim+e.model.componentIndex}function h(e,t,n){var a={},r=d(i.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),o=c(n,i),h=u(e),d=r[o][h],p=d.offset,l=d.width,f=n.getOtherAxis(i),m=e.coordinateSystem.cx,g=e.coordinateSystem.cy,y=e.get("barMinHeight")||0,v=e.get("barMinAngle")||0;a[h]=a[h]||[];for(var x=t.mapDimension(f.dim),M=t.mapDimension(i.dim),b=s(t,x),w="radius"!==i.dim||!e.get("roundCap",!0),S=f.getExtent()[0],W=0,T=t.count();W=0?"p":"n",N=S;if(b&&(a[h][A]||(a[h][A]={p:S,n:S}),N=a[h][A][D]),"radius"===f.dim){var B=f.dataToRadius(k)-S,z=i.dataToAngle(A);Math.abs(B)=0;o--)r=i.merge(r,t[o],!0);e.defaultOption=r}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function m(e){var t=[];return i.each(f.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=i.map(t,(function(e){return u(e).main})),"dataset"!==e&&i.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(f,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(f),r.enableTopologicalTravel(f,m),i.mixin(f,p);var g=f;e.exports=g},17260:function(e,t,n){var i=n(38175),a=(i.__DEV__,n(33051)),r=a.each,o=a.filter,s=a.map,u=a.isArray,c=a.indexOf,h=a.isObject,d=a.isString,p=a.createHashMap,l=a.assert,f=a.clone,m=a.merge,g=a.extend,y=a.mixin,v=n(32234),x=n(4272),M=n(98071),b=n(22577),w=n(23895),S=n(61772),W=S.resetSourceDefaulter,T="\0_ec_inner",_=x.extend({init:function(e,t,n,i){n=n||{},this.option=null,this._theme=new x(n),this._optionManager=i},setOption:function(e,t){l(!(T in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(i)):O.call(this,i),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),t=!0)}if(!e||"recreate"===e||"media"===e){var o=n.getMediaOption(this,this._api);o.length&&r(o,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,i=[];function a(i,a){var o=v.normalizeToArray(e[i]),s=v.mappingToExists(n.get(i),o);v.makeIdAndName(s),r(s,(function(e,t){var n=e.option;h(n)&&(e.keyInfo.mainType=i,e.keyInfo.subType=A(i,n,e.exist))}));var u=k(n,a);t[i]=[],n.set(i,[]),r(s,(function(e,a){var r=e.exist,o=e.option;if(l(h(o)||r,"Empty component definition"),o){var s=M.getClass(i,e.keyInfo.subType,!0);if(r&&r.constructor===s)r.name=e.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var c=g({dependentModels:u,componentIndex:a},e.keyInfo);r=new s(o,this,this,c),g(r,c),r.init(o,this,this,c),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);n.get(i)[a]=r,t[i][a]=r.option}),this),"series"===i&&D(this,n.get("series"))}W(this),r(e,(function(e,n){null!=e&&(M.hasClass(n)?n&&i.push(n):t[n]=null==t[n]?f(e):m(t[n],e,!0))})),M.topologicalTravel(i,M.getAllClassMainTypes(),a,this),this._seriesIndicesMap=p(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=f(this.option);return r(e,(function(t,n){if(M.hasClass(n)){t=v.normalizeToArray(t);for(var i=t.length-1;i>=0;i--)v.isIdInner(t[i])&&t.splice(i,1);e[n]=t}})),delete e[T],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,a=e.id,r=e.name,h=this._componentsMap.get(t);if(!h||!h.length)return[];if(null!=i)u(i)||(i=[i]),n=o(s(i,(function(e){return h[e]})),(function(e){return!!e}));else if(null!=a){var d=u(a);n=o(h,(function(e){return d&&c(a,e.id)>=0||!d&&e.id===a}))}else if(null!=r){var p=u(r);n=o(h,(function(e){return p&&c(r,e.name)>=0||!p&&e.name===r}))}else n=h.slice();return N(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,i=r(t),a=i?this.queryComponents(i):this._componentsMap.get(n);return s(N(a,e));function r(e){var t=n+"Index",i=n+"Id",a=n+"Name";return!e||null==e[t]&&null==e[i]&&null==e[a]?null:{mainType:n,index:e[t],id:e[i],name:e[a]}}function s(t){return e.filter?o(t,e.filter):t}},eachComponent:function(e,t,n){var i=this._componentsMap;if("function"===typeof e)n=t,t=e,i.each((function(e,i){r(e,(function(e,a){t.call(n,i,e,a)}))}));else if(d(e))r(i.get(e),t,n);else if(h(e)){var a=this.findComponents(e);r(a,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return o(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return o(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){B(this),r(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)}),this)},eachRawSeries:function(e,t){r(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){B(this),r(this._seriesIndices,(function(i){var a=this._componentsMap.get("series")[i];a.subType===e&&t.call(n,a,i)}),this)},eachRawSeriesByType:function(e,t,n){return r(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return B(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){B(this);var n=o(this._componentsMap.get("series"),e,t);D(this,n)},restoreData:function(e){var t=this._componentsMap;D(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),M.topologicalTravel(n,M.getAllClassMainTypes(),(function(n,i){r(t.get(n),(function(t){("series"!==n||!I(t,e))&&t.restoreData()}))}))}});function I(e,t){if(t){var n=t.seiresIndex,i=t.seriesId,a=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=a&&e.name!==a}}function C(e,t){var n=e.color&&!e.colorLayer;r(t,(function(t,i){"colorLayer"===i&&n||M.hasClass(i)||("object"===typeof t?e[i]=e[i]?m(e[i],t,!1):f(t):null==e[i]&&(e[i]=t))}))}function O(e){this.option={},this.option[T]=1,this._componentsMap=p({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(e,this._theme.option),m(e,b,!1),this.mergeOption(e)}function k(e,t){u(t)||(t=t?[t]:[]);var n={};return r(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function A(e,t,n){var i=t.type?t.type:n?n.subType:M.determineSubType(e,t);return i}function D(e,t){e._seriesIndicesMap=p(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function N(e,t){return t.hasOwnProperty("subType")?o(e,(function(e){return e.subType===t.subType})):e}function B(e){}y(_,w);var z=_;e.exports=z}}]); //# sourceMappingURL=chunk-vendors-69403744.135b0fce.js.map