(self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[2706],{31978:function(e,t,n){var i=n(70492);n(57932),n(6010);var r=n(82655),a=n(42274);i.registerVisual(r),i.registerLayout(a)},57932:function(e,t,n){var i=n(33051),r=n(93321),a=n(4993),o=a.seriesModelMixin,l=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(l,o,!0);var s=l;e.exports=s},6010:function(e,t,n){var i=n(33051),r=n(75797),a=n(51177),o=n(10712),l=["itemStyle"],s=["emphasis","itemStyle"],u=r.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),r=this.group,a=this._data;this._data||r.removeAll();var o="horizontal"===e.get("layout")?1:0;i.diff(a).add((function(e){if(i.hasValue(e)){var t=i.getItemLayout(e),n=d(t,i,e,o,!0);i.setItemGraphicEl(e,n),r.add(n)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(i.hasValue(e)){var l=i.getItemLayout(e);n?p(l,n,i,e):n=d(l,i,e,o),r.add(n),i.setItemGraphicEl(e,n)}else r.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i0?"P":"N",a=i.getVisual("borderColor"+r)||i.getVisual("color"+r),o=n.getModel(u).getItemStyle(d);t.useStyle(o),t.style.fill=null,t.style.stroke=a}var S=p;e.exports=S},57018:function(e,t,n){var i=n(51177),r=i.subPixelOptimize,a=n(95682),o=n(85669),l=o.parsePercent,s=n(33051),u=s.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:a(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),i=h(e,n),a=0,o=1,l=["x","y"],s=n.mapDimension(l[a]),u=n.mapDimension(l[o],!0),d=u[0],g=u[1],m=u[2],f=u[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==s||u.length<4))return{progress:e.pipelineContext.large?y:v};function v(e,n){var l;while(null!=(l=e.next())){var u=n.get(s,l),c=n.get(d,l),h=n.get(g,l),v=n.get(m,l),y=n.get(f,l),x=Math.min(c,h),_=Math.max(c,h),S=T(x,u),b=T(_,u),w=T(v,u),I=T(y,u),P=[];D(P,b,0),D(P,S,1),P.push(L(I),L(b),L(w),L(S)),n.setItemLayout(l,{sign:p(n,l,c,h,g),initBaseline:c>h?b[o]:S[o],ends:P,brushRect:C(v,y,u)})}function T(e,n){var i=[];return i[a]=n,i[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function D(e,t,n){var o=t.slice(),l=t.slice();o[a]=r(o[a]+i/2,1,!1),l[a]=r(l[a]-i/2,1,!0),n?e.push(o,l):e.push(l,o)}function C(e,t,n){var r=T(e,n),l=T(t,n);return r[a]-=i/2,l[a]-=i/2,{x:r[0],y:r[1],width:o?i:l[0]-r[0],height:o?l[1]-r[1]:i}}function L(e){return e[a]=r(e[a],1),e}}function y(e,n){var i,r,l=new c(4*e.count),u=0,h=[],v=[];while(null!=(r=e.next())){var y=n.get(s,r),x=n.get(d,r),_=n.get(g,r),S=n.get(m,r),b=n.get(f,r);isNaN(y)||isNaN(S)||isNaN(b)?(l[u++]=NaN,u+=3):(l[u++]=p(n,r,x,_,g),h[a]=y,h[o]=S,i=t.dataToPoint(h,null,v),l[u++]=i?i[0]:NaN,l[u++]=i?i[1]:NaN,h[o]=b,i=t.dataToPoint(h,null,v),l[u++]=i?i[1]:NaN)}n.setLayout("largePoints",l)}}};function p(e,t,n,i,r){var a;return a=n>i?-1:n0?e.get(r,t-1)<=i?1:-1:1,a}function h(e,t){var n,i=e.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),a=l(u(e.get("barMaxWidth"),r),r),o=l(u(e.get("barMinWidth"),1),r),s=e.get("barWidth");return null!=s?l(s,r):Math.max(Math.min(r/2,a),o)}e.exports=d},45506:function(e,t,n){var i=n(95682),r=["itemStyle","borderColor"],a=["itemStyle","borderColor0"],o=["itemStyle","color"],l=["itemStyle","color0"],s={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(e,t){var n=e.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:u(1,e),colorN:u(-1,e),borderColorP:c(1,e),borderColorN:c(-1,e)}),!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:s}}function s(e,t){var n;while(null!=(n=e.next())){var i=t.getItemModel(n),r=t.getItemLayout(n).sign;t.setItemVisual(n,{color:u(r,i),borderColor:c(r,i)})}}function u(e,t){return t.get(e>0?o:l)}function c(e,t){return t.get(e>0?r:a)}}};e.exports=s},34470:function(e,t,n){var i=n(33051);function r(e){e&&i.isArray(e.series)&&i.each(e.series,(function(e){i.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=r},81741:function(e,t,n){var i=n(38175),r=(i.__DEV__,n(33051)),a=n(51177),o=n(33140),l=o.getDefaultLabel,s=n(40488),u=n(79093),c=u.getLayoutOnAxis,d=n(4130),p=n(93321),h=n(4272),g=n(75797),m=n(22963),f=m.createClipPath,v=n(7409),y=n(55389),x=n(50878),_=n(54649),S=n(64888),b=a.CACHED_LABEL_STYLE_PROPERTIES,w=["itemStyle"],I=["emphasis","itemStyle"],P=["label"],T=["emphasis","label"],D="e\0\0",C={cartesian2d:v,geo:y,singleAxis:x,polar:_,calendar:S};function L(e){var t,n=e.type;if("path"===n){var i=e.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=H(i);t=a.makePath(o,null,r,i.layout||"center"),t.__customPathData=o}else if("image"===n)t=new a.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new a.Text({}),t.__customText=e.style.text;else if("group"===n)t=new a.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var l=a.getShapeClass(n);t=new l}return t.__customGraphicType=n,t.name=e.name,t}function M(e,t,n,i,o,l,s){var u={},c=n.style||{};if(n.shape&&(u.shape=r.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===e.type&&n.style){var d=u.style={};r.each(["x","y","width","height"],(function(t){N(t,d,c,e.style,l)}))}if("text"===e.type&&n.style){d=u.style={};r.each(["x","y"],(function(t){N(t,d,c,e.style,l)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==e.type&&(e.useStyle(c),l)){e.style.opacity=0;var p=c.opacity;null==p&&(p=1),a.initProps(e,{style:{opacity:p}},i,t)}l?e.attr(u):a.updateProps(e,u,i,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var h=n.styleEmphasis;a.setElementHoverStyle(e,h),s&&a.setAsHighDownDispatcher(e,!1!==h)}function N(e,t,n,i,r){null==n[e]||r||(t[e]=n[e],n[e]=i[e])}function A(e,t,n,i){var o=e.get("renderItem"),s=e.coordinateSystem,u={};s&&(u=s.prepareCustoms?s.prepareCustoms():C[s.type](s));var d,p,h,g,m,f=r.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:_,style:S,styleEmphasis:b,visual:D,barLayout:L,currentSeriesIndices:M,font:N},u.api||{}),v={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:u.coordSys,dataInsideLength:t.count(),encode:E(e.getData())},y=!0;return function(e,n){return d=e,y=!0,o&&o(r.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},v),f)};function x(e){null==e&&(e=d),y&&(p=t.getItemModel(e),h=p.getModel(P),g=p.getModel(T),m=t.getItemVisual(e,"color"),y=!1)}function _(e,n){return null==n&&(n=d),t.get(t.getDimension(e||0),n)}function S(n,i){null==i&&(i=d),x(i);var o=p.getModel(w).getItemStyle();null!=m&&(o.fill=m);var s=t.getItemVisual(i,"opacity");null!=s&&(o.opacity=s);var u=n?G(n,h):h;return a.setTextStyle(o,u,null,{autoColor:m,isRectText:!0}),o.text=u.getShallow("show")?r.retrieve2(e.getFormattedLabel(i,"normal"),l(t,i)):null,n&&z(o,n),o}function b(n,i){null==i&&(i=d),x(i);var o=p.getModel(I).getItemStyle(),s=n?G(n,g):g;return a.setTextStyle(o,s,null,{isRectText:!0},!0),o.text=s.getShallow("show")?r.retrieve3(e.getFormattedLabel(i,"emphasis"),e.getFormattedLabel(i,"normal"),l(t,i)):null,n&&z(o,n),o}function D(e,n){return null==n&&(n=d),t.getItemVisual(n,e)}function L(e){if(s.getBaseAxis){var t=s.getBaseAxis();return c(r.defaults({axis:t},e),i)}}function M(){return n.getCurrentSeriesIndices()}function N(e){return a.getFont(e,n)}}function E(e){var t={};return r.each(e.dimensions,(function(n,i){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var a=r.coordDim,o=t[a]=t[a]||[];o[r.coordDimIndex]=i}})),t}function k(e,t,n,i,r,a){return e=O(e,t,n,i,r,a,!0),e&&a.setItemGraphicEl(t,e),e}function O(e,t,n,i,r,a,o){var l=!n;n=n||{};var s=n.type,u=n.shape,c=n.style;if(e&&(l||null!=s&&s!==e.__customGraphicType||"path"===s&&Q(u)&&H(u)!==e.__customPathData||"image"===s&&Y(c,"image")&&c.image!==e.__customImagePath||"text"===s&&Y(u,"text")&&c.text!==e.__customText)&&(r.remove(e),e=null),!l){var d=!e;return!e&&(e=L(n)),M(e,t,n,i,a,d,o),"group"===s&&B(e,t,n,i,a),r.add(e),e}}function B(e,t,n,i,r){var a=n.children,o=a?a.length:0,l=n.$mergeChildren,s="byName"===l||n.diffChildrenByName,u=!1===l;if(o||s||u)if(s)R({oldChildren:e.children()||[],newChildren:a||[],dataIndex:t,animatableModel:i,group:e,data:r});else{u&&e.removeAll();for(var c=0;c