diff --git a/website/css/CostAnalysis.57d89fbb.css b/website/css/CostAnalysis.3371b719.css similarity index 73% rename from website/css/CostAnalysis.57d89fbb.css rename to website/css/CostAnalysis.3371b719.css index ab59b26..ffdfc70 100644 --- a/website/css/CostAnalysis.57d89fbb.css +++ b/website/css/CostAnalysis.3371b719.css @@ -1 +1 @@ -.statistic-space[data-v-62baf12c]{width:100%;height:188px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:10px;background:#fff;border-radius:8px}.statistic-space .statistic-box[data-v-62baf12c]{flex-shrink:1;flex:1;margin-right:10px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}.statistic-space .statistic-box .s-amount[data-v-62baf12c]{margin-bottom:26px;color:#1d2129}.statistic-space .statistic-box .s-amount .amount-unit[data-v-62baf12c]{font-size:28px;margin:0 4px}.statistic-space .statistic-box .s-sub[data-v-62baf12c]{width:100%;display:flex;align-items:center;justify-content:space-between}.statistic-space .statistic-box .s-sub .s-rario[data-v-62baf12c]{width:auto;font-size:14px;color:#4e5969}.statistic-space .statistic-box .s-sub .s-rario .rario-label[data-v-62baf12c]{margin-right:2px}.statistic-space .statistic-box .s-sub .s-rario .rario-unit[data-v-62baf12c]{font-size:12px;margin:0 2px}.statistic-space .statistic-box .s-sub .s-rario .ratios[data-v-62baf12c]{margin-right:5px;font-weight:700}.statistic-space .statistic-box .s-sub .s-rario .drop-text[data-v-62baf12c]{color:#00b42a}.statistic-space .statistic-box .s-sub .s-rario .rise-text[data-v-62baf12c]{color:#f53f3f}.statistic-space .statistic-box .s-sub .s-rario img[data-v-62baf12c]{width:10px;height:10px}.statistic-space .statistic-box[data-v-62baf12c]:last-child{margin-right:0}.statistic-space .statistic-box[data-v-62baf12c]:first-child{background-image:linear-gradient(0deg,#e9f3fc,#f3f8fc)}.statistic-space .statistic-box[data-v-62baf12c]:nth-child(2){background-image:linear-gradient(0deg,#ebfdef,#f6fef3)}.statistic-space .statistic-box[data-v-62baf12c]:nth-child(3){background-image:linear-gradient(0deg,#e9f3fc,#f3f8fc)}.statistic-space .statistic-box[data-v-62baf12c]:nth-child(4){background-image:linear-gradient(0deg,#edecfc,#f7f7ff)}.statistic-space .statistic-box[data-v-62baf12c] .arco-card-header{border:none}.chart-box[data-v-680d41c9],.chart-box[data-v-6dfd2080],.chart-box[data-v-c651d9cc],.chart-wrap[data-v-eaf275d4],.charts-box[data-v-b1cedc5c]{height:100%;width:100%;position:relative}.ratio-space[data-v-8332caba]{width:100%;box-sizing:border-box;padding:10px;background:#fff;border-radius:8px}.ratio-space .ratio-box[data-v-8332caba]{width:100%;height:174px;margin-bottom:10px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}.ratio-space .ratio-box .ratio-chart[data-v-8332caba]{width:100%;height:174px}.ratio-space .ratio-box[data-v-8332caba]:last-child{margin-bottom:0}[data-v-8332caba] .arco-card-body{padding:0 16px}.cost-space[data-v-7b8632ce]{width:100%;height:100%;padding:0 10px 10px 10px;box-sizing:border-box}.cost-space .data-cycle[data-v-7b8632ce]{text-align:right;width:100%;box-sizing:border-box;padding:10px;margin-bottom:12px;background:#fff;border-radius:8px}.cost-space .data-cycle .data-cycle-text[data-v-7b8632ce]{font-size:14px;color:#86909c;margin-left:10px}.cost-space .cost-chart-group[data-v-7b8632ce]{width:100%;height:562px;display:flex;justify-content:space-between}.cost-space .cost-chart-group .group-space[data-v-7b8632ce]{margin-right:10px;width:25%;height:100%;background:#fff;border-radius:8px}.cost-space .cost-chart-group .group-space[data-v-7b8632ce]:last-child{margin-right:0;width:75%;height:100%}.cost-space .cost-chart-group .cost-trend[data-v-7b8632ce]{box-sizing:border-box;padding:10px 16px;width:100%;height:562px}[data-v-7b8632ce] .arco-spin{position:fixed;left:0;top:0;background:hsla(0,0%,100%,.6);width:100vw;height:100vh;z-index:9999;text-align:center;line-height:100vh;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cost-space[data-v-602ee511]{width:100%;height:100%;padding:0 10px 10px 10px;box-sizing:border-box}.cost-space .data-cycle[data-v-602ee511]{text-align:right;width:100%;box-sizing:border-box;padding:10px;margin-bottom:12px;background:#fff;border-radius:8px;height:52px;display:flex;align-items:center;justify-content:flex-end}.cost-space .data-cycle .data-cycle-text[data-v-602ee511]{font-size:14px;color:#86909c;margin-left:10px}.cost-space .cost-chart-group[data-v-602ee511]{width:100%;height:562px;display:flex;justify-content:space-between}.cost-space .cost-chart-group .group-space[data-v-602ee511]{margin-right:10px;width:25%;height:100%;background:#fff;border-radius:8px}.cost-space .cost-chart-group .group-cloum[data-v-602ee511]{margin-right:0;width:75%;height:100%}.cost-space .cost-chart-group .mid-space[data-v-602ee511]{width:100%;height:276px;margin-bottom:10px}.cost-space .cost-chart-group .mid-space[data-v-602ee511]:last-child{margin-bottom:0}.cost-space .cost-chart-group .cost-trend[data-v-602ee511]{box-sizing:border-box;padding:10px 16px;width:100%;height:100%}[data-v-602ee511] .arco-spin{position:fixed;left:0;top:0;background:hsla(0,0%,100%,.6);width:100vw;height:100vh;z-index:9999;text-align:center;line-height:100vh;-webkit-user-select:none;-moz-user-select:none;user-select:none}.analysis-space[data-v-0901a4e2]{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;background-color:#f0f2f5;min-width:1440px;overflow:auto} \ No newline at end of file +.statistic-space[data-v-6af15a08]{width:100%;height:188px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:10px;background:#fff;border-radius:8px}.statistic-space .statistic-box[data-v-6af15a08]{flex-shrink:1;flex:1;margin-right:10px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}.statistic-space .statistic-box .s-amount[data-v-6af15a08]{margin-bottom:26px;color:#1d2129}.statistic-space .statistic-box .s-amount .amount-unit[data-v-6af15a08]{font-size:28px;margin:0 4px}.statistic-space .statistic-box .s-sub[data-v-6af15a08]{width:100%;display:flex;align-items:center;justify-content:space-between}.statistic-space .statistic-box .s-sub .s-rario[data-v-6af15a08]{width:auto;font-size:14px;color:#4e5969}.statistic-space .statistic-box .s-sub .s-rario .rario-label[data-v-6af15a08]{margin-right:2px}.statistic-space .statistic-box .s-sub .s-rario .rario-unit[data-v-6af15a08]{font-size:12px;margin:0 2px}.statistic-space .statistic-box .s-sub .s-rario .ratios[data-v-6af15a08]{margin-right:5px;font-weight:700}.statistic-space .statistic-box .s-sub .s-rario .drop-text[data-v-6af15a08]{color:#00b42a}.statistic-space .statistic-box .s-sub .s-rario .rise-text[data-v-6af15a08]{color:#f53f3f}.statistic-space .statistic-box .s-sub .s-rario img[data-v-6af15a08]{width:10px;height:10px}.statistic-space .statistic-box[data-v-6af15a08]:last-child{margin-right:0}.statistic-space .statistic-box[data-v-6af15a08]:first-child{background-image:linear-gradient(0deg,#e9f3fc,#f3f8fc)}.statistic-space .statistic-box[data-v-6af15a08]:nth-child(2){background-image:linear-gradient(0deg,#ebfdef,#f6fef3)}.statistic-space .statistic-box[data-v-6af15a08]:nth-child(3){background-image:linear-gradient(0deg,#e9f3fc,#f3f8fc)}.statistic-space .statistic-box[data-v-6af15a08]:nth-child(4){background-image:linear-gradient(0deg,#edecfc,#f7f7ff)}.statistic-space .statistic-box[data-v-6af15a08] .arco-card-header{border:none}.chart-box[data-v-680d41c9],.chart-box[data-v-6dfd2080],.chart-box[data-v-c651d9cc],.chart-wrap[data-v-eaf275d4],.charts-box[data-v-b1cedc5c]{height:100%;width:100%;position:relative}.ratio-space[data-v-8332caba]{width:100%;box-sizing:border-box;padding:10px;background:#fff;border-radius:8px}.ratio-space .ratio-box[data-v-8332caba]{width:100%;height:174px;margin-bottom:10px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}.ratio-space .ratio-box .ratio-chart[data-v-8332caba]{width:100%;height:174px}.ratio-space .ratio-box[data-v-8332caba]:last-child{margin-bottom:0}[data-v-8332caba] .arco-card-body{padding:0 16px}.cost-space[data-v-7b8632ce]{width:100%;height:100%;padding:0 10px 10px 10px;box-sizing:border-box}.cost-space .data-cycle[data-v-7b8632ce]{text-align:right;width:100%;box-sizing:border-box;padding:10px;margin-bottom:12px;background:#fff;border-radius:8px}.cost-space .data-cycle .data-cycle-text[data-v-7b8632ce]{font-size:14px;color:#86909c;margin-left:10px}.cost-space .cost-chart-group[data-v-7b8632ce]{width:100%;height:562px;display:flex;justify-content:space-between}.cost-space .cost-chart-group .group-space[data-v-7b8632ce]{margin-right:10px;width:25%;height:100%;background:#fff;border-radius:8px}.cost-space .cost-chart-group .group-space[data-v-7b8632ce]:last-child{margin-right:0;width:75%;height:100%}.cost-space .cost-chart-group .cost-trend[data-v-7b8632ce]{box-sizing:border-box;padding:10px 16px;width:100%;height:562px}[data-v-7b8632ce] .arco-spin{position:fixed;left:0;top:0;background:hsla(0,0%,100%,.6);width:100vw;height:100vh;z-index:9999;text-align:center;line-height:100vh;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cost-space[data-v-602ee511]{width:100%;height:100%;padding:0 10px 10px 10px;box-sizing:border-box}.cost-space .data-cycle[data-v-602ee511]{text-align:right;width:100%;box-sizing:border-box;padding:10px;margin-bottom:12px;background:#fff;border-radius:8px;height:52px;display:flex;align-items:center;justify-content:flex-end}.cost-space .data-cycle .data-cycle-text[data-v-602ee511]{font-size:14px;color:#86909c;margin-left:10px}.cost-space .cost-chart-group[data-v-602ee511]{width:100%;height:562px;display:flex;justify-content:space-between}.cost-space .cost-chart-group .group-space[data-v-602ee511]{margin-right:10px;width:25%;height:100%;background:#fff;border-radius:8px}.cost-space .cost-chart-group .group-cloum[data-v-602ee511]{margin-right:0;width:75%;height:100%}.cost-space .cost-chart-group .mid-space[data-v-602ee511]{width:100%;height:276px;margin-bottom:10px}.cost-space .cost-chart-group .mid-space[data-v-602ee511]:last-child{margin-bottom:0}.cost-space .cost-chart-group .cost-trend[data-v-602ee511]{box-sizing:border-box;padding:10px 16px;width:100%;height:100%}[data-v-602ee511] .arco-spin{position:fixed;left:0;top:0;background:hsla(0,0%,100%,.6);width:100vw;height:100vh;z-index:9999;text-align:center;line-height:100vh;-webkit-user-select:none;-moz-user-select:none;user-select:none}.analysis-space[data-v-0901a4e2]{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;background-color:#f0f2f5;min-width:1440px;overflow:auto} \ No newline at end of file diff --git a/website/index.html b/website/index.html index fbcea18..3760124 100644 --- a/website/index.html +++ b/website/index.html @@ -1 +1 @@ -
1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function vA(t){return"center"===t.position}function mA(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*dA,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}function f(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),g=s.getTextGuideLine(),y=i.getItemModel(t),v=y.getModel("label"),m=v.get("position")||y.get(["emphasis","label","position"]),x=v.get("distanceToLabelLine"),_=v.get("alignTo"),w=Ea(v.get("edgeDistance"),u),b=v.get("bleedMargin"),S=y.getModel("labelLine"),M=S.get("length");M=Ea(M,u);var I=S.get("length2");if(I=Ea(I,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":L>0?"left":"right"}var F=Math.PI,G=0,W=v.get("rotate");if(Zt(W))G=W*(F/180);else if("center"===m)G=0;else if("radial"===W||!0===W){var H=L<0?-k+F:-k;G=H}else if("tangential"===W&&"outside"!==m&&"outer"!==m){var U=Math.atan2(L,P);U<0&&(U=2*F+U);var Y=P>0;Y&&(U=F+U),G=U-F}if(o=!!G,p.x=T,p.y=C,p.rotation=G,p.setStyle({verticalAlign:"middle"}),O){p.setStyle({align:A});var X=p.states.select;X&&(X.x+=p.x,X.y+=p.y)}else{var Z=p.getBoundingRect().clone();Z.applyTransform(p.getComputedTransform());var j=(p.style.margin||0)+2.1;Z.y-=j/2,Z.height+=j,r.push({label:p,labelLine:g,position:m,len:M,len2:I,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new kn(L,P),linePoints:D,textAlign:A,labelDistance:x,labelAlignTo:_,edgeDistance:w,bleedMargin:b,rect:Z,unconstrainedWidth:Z.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:O})}})),!o&&t.get("avoidLabelOverlap")&&gA(r,e,n,l,u,p,h,c);for(var g=0;g Ya&&(u=Ya),a=o}u0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),XL={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(ze(s,s,a),ze(l,l,a));var h=Dt({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Nm({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});_x(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);Yt(p)&&(p=[p,p]),(Yt(d)||Zt(d))&&(d=[d,d]);var f=uw(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];Rt([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=sw(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=QL(n,i,e,t),o=eP(n,i,e,t);if(jL(e,o,r),tP(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=lM(Nt(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));pM(a)}},axisName:function(t,e,n,i){var r=ne(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,c=e.axis.getExtent(),p=c[0]>c[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,$L(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*UL/180),$L(s)?o=YL.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=ZL(t.rotation,s,f||0,c),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=ne(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Mh({x:d[0],y:d[1],rotation:o.rotation,silent:YL.isLabelSilent(e),style:ip(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Ex({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=YL.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,Ih(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function ZL(t,e,n,i){var r,o,a=Xa(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return Za(a-UL/2)?(o=l?"bottom":"top",r="center"):Za(a-1.5*UL)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*UL&&a>UL/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function jL(t,e,n){if(!nL(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(qL(o),qL(u)):KL(o,a)&&(i?(qL(a),qL(h)):(qL(o),qL(u))),!1===r?(qL(s),qL(c)):KL(l,s)&&(r?(qL(l),qL(p)):(qL(s),qL(c)))}}function qL(t){t&&(t.ignore=!0)}function KL(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=wn([]);return In(r,r,-t.rotation),n.applyTransform(Sn([],r,t.getLocalTransform())),i.applyTransform(Sn([],r,e.getLocalTransform())),n.intersect(i)}}function $L(t){return"middle"===t||"center"===t}function JL(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l
i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?yE(u*i/l,l/(u*r)):1/0}function LE(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;c=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function FV(t,e){var n=[],i=Hi,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[be(l[0]),be(l[1])],l[2]&&l.__original.push(be(l[2])));var c=l.__original;if(null!=l[2]){if(we(r[0],c[0]),we(r[1],c[2]),we(r[2],c[1]),u&&"none"!==u){var p=nV(t.node1),d=BV(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=nV(t.node2),d=BV(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}we(l[0],r[0]),we(l[1],r[2]),we(l[2],r[1])}else{if(we(o[0],c[0]),we(o[1],c[1]),Te(a,o[1],o[0]),ke(a,a),u&&"none"!==u){p=nV(t.node1);Ie(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=nV(t.node2);Ie(o[1],o[1],a,-p*e)}we(l[0],o[0]),we(l[1],o[1])}}))}function GV(t){return"view"===t.type}var WV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return K(e,t),e.prototype.init=function(t,e){var n=new xC,i=new PV,r=this.group;this._controller=new aO(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(GV(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Uc(s,l,t)}FV(t.getGraph(),eV(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),oV(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;case"none":default:u.setItemLayout(n,[r.x,r.y]),QE(t.getGraph(),t),i.updateLayout(t);break}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a&&!!c,!!o.get("cursor"));var s=o.get(["emphasis","focus"]);"adjacency"===s&&(Ih(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Ih(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){sV(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;(function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))})()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!cO(e,n,t)})),GV(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){sO(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){lO(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),FV(t.getGraph(),eV(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=eV(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){FV(t.getGraph(),eV(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(jx),HV=WV;function UV(t){return"_EC_"+t}var YV=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[UV(t)]){var i=new XV(t,e);return i.hostGraph=this,this.nodes.push(i),n[UV(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[UV(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(Zt(t)&&(t=this.nodes[t]),Zt(e)&&(e=this.nodes[e]),t instanceof XV||(t=i[UV(t)]),e instanceof XV||(e=i[UV(e)]),t&&e){var o=t.id+"-"+e.id,a=new ZV(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof XV&&(t=t.id),e instanceof XV&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof XV||(e=this._nodesMap[UV(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;oGB)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&UB(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function UB(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var YB=WB,XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return K(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&Tt(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){Rt(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=Et(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);Rt(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Kd),ZB=XB,jB=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return K(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(kL),qB=jB;function KB(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=JB(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=JB(s,[0,a]),r=o=JB(s,[r,o]),i=0}e[0]=JB(e[0],n),e[1]=JB(e[1],n);var l=$B(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=JB(e[i],c),u=$B(e,i),null!=r&&(u.sign!==l.sign||u.span