(self["webpackChunknewfront"]=self["webpackChunknewfront"]||[]).push([[5601],{83760:(e,t,n)=>{var r=n(70492);n(27125),n(54835);var a=n(34470),i=n(45506),o=n(57018);r.registerPreprocessor(a),r.registerVisual(i),r.registerLayout(o)},57018:(e,t,n)=>{var r=n(51177),a=r.subPixelOptimize,i=n(95682),o=n(85669),l=o.parsePercent,s=n(33051),u=s.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:i(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=g(e,n),i=0,o=1,l=["x","y"],s=n.mapDimension(l[i]),u=n.mapDimension(l[o],!0),d=u[0],h=u[1],f=u[2],m=u[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==s||u.length<4))return{progress:e.pipelineContext.large?v:y};function y(e,n){var l;while(null!=(l=e.next())){var u=n.get(s,l),c=n.get(d,l),g=n.get(h,l),y=n.get(f,l),v=n.get(m,l),x=Math.min(c,g),w=Math.max(c,g),P=N(x,u),I=N(w,u),S=N(y,u),C=N(v,u),b=[];_(b,I,0),_(b,P,1),b.push(O(C),O(I),O(S),O(P)),n.setItemLayout(l,{sign:p(n,l,c,g,h),initBaseline:c>g?I[o]:P[o],ends:b,brushRect:D(y,v,u)})}function N(e,n){var r=[];return r[i]=n,r[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function _(e,t,n){var o=t.slice(),l=t.slice();o[i]=a(o[i]+r/2,1,!1),l[i]=a(l[i]-r/2,1,!0),n?e.push(o,l):e.push(l,o)}function D(e,t,n){var a=N(e,n),l=N(t,n);return a[i]-=r/2,l[i]-=r/2,{x:a[0],y:a[1],width:o?r:l[0]-a[0],height:o?l[1]-a[1]:r}}function O(e){return e[i]=a(e[i],1),e}}function v(e,n){var r,a,l=new c(4*e.count),u=0,g=[],y=[];while(null!=(a=e.next())){var v=n.get(s,a),x=n.get(d,a),w=n.get(h,a),P=n.get(f,a),I=n.get(m,a);isNaN(v)||isNaN(P)||isNaN(I)?(l[u++]=NaN,u+=3):(l[u++]=p(n,a,x,w,h),g[i]=v,g[o]=P,r=t.dataToPoint(g,null,y),l[u++]=r?r[0]:NaN,l[u++]=r?r[1]:NaN,g[o]=I,r=t.dataToPoint(g,null,y),l[u++]=r?r[1]:NaN)}n.setLayout("largePoints",l)}}};function p(e,t,n,r,a){var i;return i=n>r?-1:n<r?1:t>0?e.get(a,t-1)<=r?1:-1:1,i}function g(e,t){var n,r=e.getBaseAxis(),a="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),i=l(u(e.get("barMaxWidth"),a),a),o=l(u(e.get("barMinWidth"),1),a),s=e.get("barWidth");return null!=s?l(s,a):Math.max(Math.min(a/2,i),o)}e.exports=d},45506:(e,t,n)=>{var r=n(95682),a=["itemStyle","borderColor"],i=["itemStyle","borderColor0"],o=["itemStyle","color"],l=["itemStyle","color0"],s={seriesType:"candlestick",plan:r(),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 r=e.pipelineContext.large;return!r&&{progress:s}}function s(e,t){var n;while(null!=(n=e.next())){var r=t.getItemModel(n),a=t.getItemLayout(n).sign;t.setItemVisual(n,{color:u(a,r),borderColor:c(a,r)})}}function u(e,t){return t.get(e>0?o:l)}function c(e,t){return t.get(e>0?a:i)}}};e.exports=s},34470:(e,t,n)=>{var r=n(33051);function a(e){e&&r.isArray(e.series)&&r.each(e.series,(function(e){r.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=a},81741:(e,t,n)=>{var r=n(38175),a=(r.__DEV__,n(33051)),i=n(51177),o=n(33140),l=o.getDefaultLabel,s=n(40488),u=n(79093),c=u.getLayoutOnAxis,d=n(4130),p=n(93321),g=n(4272),h=n(75797),f=n(22963),m=f.createClipPath,y=n(7409),v=n(55389),x=n(50878),w=n(54649),P=n(64888),I=i.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],C=["emphasis","itemStyle"],b=["label"],N=["emphasis","label"],_="e\0\0",D={cartesian2d:y,geo:v,singleAxis:x,polar:w,calendar:P};function O(e){var t,n=e.type;if("path"===n){var r=e.shape,a=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=z(r);t=i.makePath(o,null,a,r.layout||"center"),t.__customPathData=o}else if("image"===n)t=new i.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new i.Text({}),t.__customText=e.style.text;else if("group"===n)t=new i.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var l=i.getShapeClass(n);t=new l}return t.__customGraphicType=n,t.name=e.name,t}function T(e,t,n,r,o,l,s){var u={},c=n.style||{};if(n.shape&&(u.shape=a.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={};a.each(["x","y","width","height"],(function(t){E(t,d,c,e.style,l)}))}if("text"===e.type&&n.style){d=u.style={};a.each(["x","y"],(function(t){E(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),i.initProps(e,{style:{opacity:p}},r,t)}l?e.attr(u):i.updateProps(e,u,r,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 g=n.styleEmphasis;i.setElementHoverStyle(e,g),s&&i.setAsHighDownDispatcher(e,!1!==g)}function E(e,t,n,r,a){null==n[e]||a||(t[e]=n[e],n[e]=r[e])}function L(e,t,n,r){var o=e.get("renderItem"),s=e.coordinateSystem,u={};s&&(u=s.prepareCustoms?s.prepareCustoms():D[s.type](s));var d,p,g,h,f,m=a.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:w,style:P,styleEmphasis:I,visual:_,barLayout:O,currentSeriesIndices:T,font:E},u.api||{}),y={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:u.coordSys,dataInsideLength:t.count(),encode:A(e.getData())},v=!0;return function(e,n){return d=e,v=!0,o&&o(a.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},y),m)};function x(e){null==e&&(e=d),v&&(p=t.getItemModel(e),g=p.getModel(b),h=p.getModel(N),f=t.getItemVisual(e,"color"),v=!1)}function w(e,n){return null==n&&(n=d),t.get(t.getDimension(e||0),n)}function P(n,r){null==r&&(r=d),x(r);var o=p.getModel(S).getItemStyle();null!=f&&(o.fill=f);var s=t.getItemVisual(r,"opacity");null!=s&&(o.opacity=s);var u=n?H(n,g):g;return i.setTextStyle(o,u,null,{autoColor:f,isRectText:!0}),o.text=u.getShallow("show")?a.retrieve2(e.getFormattedLabel(r,"normal"),l(t,r)):null,n&&V(o,n),o}function I(n,r){null==r&&(r=d),x(r);var o=p.getModel(C).getItemStyle(),s=n?H(n,h):h;return i.setTextStyle(o,s,null,{isRectText:!0},!0),o.text=s.getShallow("show")?a.retrieve3(e.getFormattedLabel(r,"emphasis"),e.getFormattedLabel(r,"normal"),l(t,r)):null,n&&V(o,n),o}function _(e,n){return null==n&&(n=d),t.getItemVisual(n,e)}function O(e){if(s.getBaseAxis){var t=s.getBaseAxis();return c(a.defaults({axis:t},e),r)}}function T(){return n.getCurrentSeriesIndices()}function E(e){return i.getFont(e,n)}}function A(e){var t={};return a.each(e.dimensions,(function(n,r){var a=e.getDimensionInfo(n);if(!a.isExtraCoord){var i=a.coordDim,o=t[i]=t[i]||[];o[a.coordDimIndex]=r}})),t}function M(e,t,n,r,a,i){return e=k(e,t,n,r,a,i,!0),e&&i.setItemGraphicEl(t,e),e}function k(e,t,n,r,a,i,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&&Z(u)&&z(u)!==e.__customPathData||"image"===s&&j(c,"image")&&c.image!==e.__customImagePath||"text"===s&&j(u,"text")&&c.text!==e.__customText)&&(a.remove(e),e=null),!l){var d=!e;return!e&&(e=O(n)),T(e,t,n,r,i,d,o),"group"===s&&R(e,t,n,r,i),a.add(e),e}}function R(e,t,n,r,a){var i=n.children,o=i?i.length:0,l=n.$mergeChildren,s="byName"===l||n.diffChildrenByName,u=!1===l;if(o||s||u)if(s)F({oldChildren:e.children()||[],newChildren:i||[],dataIndex:t,animatableModel:r,group:e,data:a});else{u&&e.removeAll();for(var c=0;c<o;c++)i[c]&&k(e.childAt(c),t,i[c],r,e,a)}}function F(e){new d(e.oldChildren,e.newChildren,B,B,e).add(G).update(G).remove(W).execute()}function B(e,t){var n=e&&e.name;return null!=n?n:_+t}function G(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,a=null!=t?n.oldChildren[t]:null;k(a,n.dataIndex,r,n.animatableModel,n.group,n.data)}function H(e,t){var n=new g({},t);return a.each(I,(function(t,r){e.hasOwnProperty(t)&&(n.option[r]=e[t])})),n}function V(e,t){for(var n in t)!t.hasOwnProperty(n)&&I.hasOwnProperty(n)||(e[n]=t[n])}function W(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function z(e){return e&&(e.pathData||e.d)}function Z(e){return e&&(e.hasOwnProperty("pathData")||e.hasOwnProperty("d"))}function j(e,t){return e&&e.hasOwnProperty(t)}p.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(e,t){return s(this.getSource(),this)},getDataParams:function(e,t,n){var r=p.prototype.getDataParams.apply(this,arguments);return n&&(r.info=n.info),r}}),h.extend({type:"custom",_data:null,render:function(e,t,n,r){var a=this._data,i=e.getData(),o=this.group,l=L(e,i,t,n);i.diff(a).add((function(t){M(null,t,l(t,r),e,o,i)})).update((function(t,n){var s=a.getItemGraphicEl(n);M(s,t,l(t,r),e,o,i)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&o.remove(t)})).execute();var s=e.get("clip",!0)?m(e.coordinateSystem,!1,e):null;s?o.setClipPath(s):o.removeClipPath(),this._data=i},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,r,a){var i=t.getData(),o=L(t,i,n,r);function l(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var s=e.start;s<e.end;s++){var u=M(null,s,o(s,a),t,this.group,i);u.traverse(l)}},dispose:a.noop,filterForExposedEvent:function(e,t,n,r){var a=t.element;if(null==a||n.name===a)return!0;while((n=n.parent)&&n!==this.group)if(n.name===a)return!0;return!1}})}}]);