PageSourceSearch

https://smartguys.ai/_next/static/chunks/9959-87b3a3b6c24e539e.js

js smartguys.ai collected 2026-10-05 15:08:37 UTC 55,802 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9959],{17701:(e,t,o)=>{o.d(t,{a:()=>Z});var i=o(85773),r=o(840),n=o(78064),a=o(43633),l=o(52947),s=o(34101),d=o(1275),u=o(40286);function h(e,t){var o=e.isExpand?e.children:[],i=e.parentNode.children,r=e.hierNode.i?i[e.hierNode.i-1]:null;if(o.length){!function(e){for(var t=e.children,o=t.length,i=0,r=0;--o>=0;){var n=t[o];n.hierNode.prelim+=i,n.hierNode.modifier+=i,r+=n.hierNode.change,i+=n.hierNode.shift+r}}(e);var n=(o[0].hierNode.prelim+o[o.length-1].hierNode.prelim)/2;r?(e.hierNode.prelim=r.hierNode.prelim+t(e,r),e.hierNode.modifier=e.hierNode.prelim-n):e.hierNode.prelim=n}else r&&(e.hierNode.prelim=r.hierNode.prelim+t(e,r));e.parentNode.hierNode.defaultAncestor=function(e,t,o,i){if(t){for(var r=e,n=e,a=n.parentNode.children[0],l=t,s=r.hierNode.modifier,d=n.hierNode.modifier,u=a.hierNode.modifier,h=l.hierNode.modifier;l=f(l),n=y(n),l&&n;){r=f(r),a=y(a),r.hierNode.ancestor=e;var p,c,g,v=l.hierNode.prelim+h-n.hierNode.prelim-d+i(l,n);v>0&&(function(e,t,o){var i=o/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=o,t.hierNode.modifier+=o,t.hierNode.prelim+=o,e.hierNode.change+=i}((p=l,c=e,g=o,p.hierNode.ancestor.parentNode===c.parentNode?p.hierNode.ancestor:g),e,v),d+=v,s+=v),h+=l.hierNode.modifier,d+=n.hierNode.modifier,s+=r.hierNode.modifier,u+=a.hierNode.modifier}l&&!f(r)&&(r.hierNode.thread=l,r.hierNode.modifier+=h-s),n&&!y(a)&&(a.hierNode.thread=n,a.hierNode.modifier+=d-u,o=e)}return o}(e,r,e.parentNode.hierNode.defaultAncestor||i[0],t)}function p(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function c(e){return arguments.length?e:v}function g(e,t){return{x:t*Math.cos(e-=Math.PI/2),y:t*Math.sin(e)}}function f(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function y(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function v(e,t){return e.parentNode===t.parentNode?1:2}var m=o(64827),x=o(68508),w=o(36093),_=o(60549),I=o(99166),b=o(56761),N=o(87005),M=o(46214),S=o(72726
1),A=function(){this.parentPoint=[],this.childPoints=[]},L=function(e){function t(t){return e.call(this,t)||this}return(0,i.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new A},t.prototype.buildPath=function(e,t){var o=t.childPoints,i=o.length,r=t.parentPoint,n=o[0],a=o[i-1];if(1===i){e.moveTo(r[0],r[1]),e.lineTo(n[0],n[1]);return}var l=t.orient,s=+("TB"!==l&&"BT"!==l),d=1-s,u=(0,b.lo)(t.forkPosition,1),h=[];h[s]=r[s],h[d]=r[d]+(a[d]-r[d])*u,e.moveTo(r[0],r[1]),e.lineTo(h[0],h[1]),e.moveTo(n[0],n[1]),h[s]=n[s],e.lineTo(h[0],h[1]),h[s]=a[s],e.lineTo(h[0],h[1]),e.lineTo(a[0],a[1]);for(var p=1;p<i-1;p++){var c=o[p];e.moveTo(c[0],c[1]),h[s]=c[s],e.lineTo(h[0],h[1])}},t}(M.Ay),D=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o._mainGroup=new n.A,o}return(0,i.C6)(t,e),t.prototype.init=function(e,t){this._controller=new _.A(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,o){var i=e.getData(),r=e.layoutInfo,n=this._mainGroup;"radial"===e.get("layout")?(n.x=r.x+r.width/2,n.y=r.y+r.height/2):(n.x=r.x,n.y=r.y),this._updateViewCoordSys(e,o),this._updateController(e,t,o);var a=this._data;i.diff(a).add(function(t){T(i,t)&&C(i,t,null,n,e)}).update(function(t,o){var r=a.getItemGraphicEl(o);if(!T(i,t)){r&&P(a,o,r,n,e);return}C(i,t,r,n,e)}).remove(function(t){var o=a.getItemGraphicEl(t);o&&P(a,t,o,n,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&i.eachItemGraphicEl(function(t,i){t.off("click").on("click",function(){o.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:i})})}),this._data=i},t.prototype._updateViewCoordSys=function(e,t){var o=e.getData(),i=[];o.each(function(e){var t=o.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||i.push([+t.x,+t.y])});var r=[],n=[];m.Cr(i,r,n);var a=this._min,l=this._max;n[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,n[0]=l?l[0]:n[0]+1),n[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,n[1]=l?l[1]:n[1]+1);var s=e.coordinateSystem=new x.A;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(r[0],r[1],n[0]-r[0],n[1]-r[1]),s.setCenter(e.get("center"),t),s.setZoom(e.get("zoom")),this.group.attr({x:s.x,y:s.y,scaleX:s.scaleX,scaleY:s.scaleY}),this._min=r,this._max=n},t.prototype._updateController=function(e,t,o){var i=this,r=this._controller,n=this._controllerHost,a=this.group;r.setPointerChecker(function(t,i,r){var n=a.getBoundingRect();return n.applyTransform(a.transform),n.contain(i,r)&&!(0,I.I)(t,o,e)}),r.enable(e.get("roam")),n.zoomLimit=e.get("scaleLimit"),n.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",function(t){w.t(n,t.dx,t.dy),o.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){w.x(n,t.scale,t.originX,t.originY),o.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),i._updateNodeAndLinkScale(e),o.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),o=this._getNodeGlobalScale(e);t.eachItemGraphicEl(function(e,t){e.setSymbolScale(o)})},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var o=this._nodeScaleRatio,i=t.scaleX||1;return((t.getZoom()-1)*o+1)/i},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(N.A);function T(e,t){var o=e.getItemLayout(t);return o&&!isNaN(o.x)&&!isNaN(o.y)}function C(e,t,o,i,n){var u=!o,h=e.tree.getNodeByDataIndex(t),p=h.getModel(),c=h.getVisual("style").fill,g=!1===h.isExpand&&0!==h.children.length?c:"#fff",f=e.tree.root,y=h.parentNode===f?h:h.parentNode||h,v=e.getItemGraphicEl(y.dataIndex),m=y.getLayout(),x=v?{x:v.__oldX,y:v.__oldY,rawX:v.__radialOldRawX,rawY:v.__radialOldRawY}:m,w=h.getLayout();u?((o=new d.A(e,t,null,{symbolInnerColor:g,useNameLabel:!0})).x=x.x,o.y=x.y):o.updateData(e,t,null,{symbolInnerColor:g,useNameLabel:!0}),o.__radialOldRawX=o.__radialRawX,o.__radialOldRawY=o.__radialRawY,o.__radialRawX=w.rawX,o.__radialRawY=w.rawY,i.add(o),e.setItemGraphicEl(t,o),o.__oldX=o.x,o.__oldY=o.y,a.oi(o,{x:w.x,y:w.y},n);var _=o.getSymbolPath();if("radial"===n.get("layout")){var I=f.children[0],b=I.getLayout(),N=I.children.length,M=void 0,A=void 0;if(w.x===b.x&&!0===h.isExpand&&I.children.length){var D={x:(I.children[0].getLayout().x+I.children[N-1].getLayout().x)/2,y:(I.children[0].getLayout().y+I.children[N-1].getLayout().y)/2};(M=Math.atan2(D.y-b.y,D.x-b.x))<0&&(M=2*Math.PI+M),(A=D.x<b.x)&&(M-=Math.PI)}else(M=Math.atan2(w.y-b.y,w.x-b.x))<0&&(M=2*Math.PI+M),0===h.children.length||0!==h.children.length&&!1===h.isExpand?(A=w.x<b.x)&&(M-=Math.PI):(A=w.x>b.x)||(M-=Math.PI);
1var T=A?"left":"right",C=p.getModel("label"),R=C.get("rotate"),V=Math.PI/180*R,P=_.getTextContent();P&&(_.setTextConfig({position:C.get("position")||T,rotation:null==R?-M:V,origin:"center"}),P.setStyle("verticalAlign","middle"))}var k=p.get(["emphasis","focus"]),z="relative"===k?r.yB(h.getAncestorsIndices(),h.getDescendantIndices()):"ancestor"===k?h.getAncestorsIndices():"descendant"===k?h.getDescendantIndices():null;z&&((0,s.z)(o).focus=z),function(e,t,o,i,n,s,d,u){var h=t.getModel(),p=e.get("edgeShape"),c=e.get("layout"),g=e.getOrient(),f=e.get(["lineStyle","curveness"]),y=e.get("edgeForkPosition"),v=h.getModel("lineStyle").getLineStyle(),m=i.__edge;if("curve"===p)t.parentNode&&t.parentNode!==o&&(m||(m=i.__edge=new l.A({shape:E(c,g,f,n,n)})),a.oi(m,{shape:E(c,g,f,s,d)},e));else if("polyline"===p&&"orthogonal"===c&&t!==o&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var x=t.children,w=[],_=0;_<x.length;_++){var I=x[_].getLayout();w.push([I.x,I.y])}m||(m=i.__edge=new L({shape:{parentPoint:[d.x,d.y],childPoints:[[d.x,d.y]],orient:g,forkPosition:y}})),a.oi(m,{shape:{parentPoint:[d.x,d.y],childPoints:w}},e)}m&&!("polyline"===p&&!t.isExpand)&&(m.useStyle(r.NT({strokeNoScale:!0,fill:null},v)),(0,S.Mx)(m,h,"lineStyle"),(0,S.DW)(m),u.add(m))}(n,h,f,o,x,m,w,i),o.__edge&&(o.onHoverStateChange=function(t){if("blur"!==t){var i=h.parentNode&&e.getItemGraphicEl(h.parentNode.dataIndex);i&&i.hoverState===S.zX||(0,S.Pk)(o.__edge,t)}})}function R(e,t,o,i,r){var n=V(t.tree.root,e),l=n.source,s=n.sourceLayout,d=t.getItemGraphicEl(e.dataIndex);if(d){var u=t.getItemGraphicEl(l.dataIndex).__edge,h=d.__edge||(!1===l.isExpand||1===l.children.length?u:void 0),p=i.get("edgeShape"),c=i.get("layout"),g=i.get("orient"),f=i.get(["lineStyle","curveness"]);h&&("curve"===p?a.Nz(h,{shape:E(c,g,f,s,s),style:{opacity:0}},i,{cb:function(){o.remove(h)},removeOpt:r}):"polyline"===p&&"orthogonal"===i.get("layout")&&a.Nz(h,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){o.remove(h)},removeOpt:r}))}}function V(e,t){for(var o,i=t.parentNode===e?t:t.parentNode||t;null==(o=i.getLayout());)i=i.parentNode===e?i:i.parentNode||i;return{source:i,sourceLayout:o}}function P(e,t,o,i,r){var n=e.tree.getNodeByDataIndex(t),l=V(e.tree.root,n).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};a.Nz(o,{x:l.x+1,y:l.y+1},r,{cb:function(){i.remove(o),e.setItemGraphicEl(t,null)},removeOpt:s}),o.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:s}),n.children.forEach(function(t){R(t,e,i,r,s)}),R(n,e,i,r,s)}function E(e,t,o,i,r){if("radial"===e){d=i.rawX,h=i.rawY,u=r.rawX;var n,a,l,s,d,u,h,p=r.rawY,c=g(d,h),f=g(d,h+(p-h)*o),y=g(u,p+(h-p)*o),v=g(u,p);return{x1:c.x||0,y1:c.y||0,x2:v.x||0,y2:v.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:y.x||0,cpy2:y.y||0}}return d=i.x,h=i.y,u=r.x,p=r.y,("LR"===t||"RL"===t)&&(n=d+(u-d)*o,a=h,l=u+(d-u)*o,s=p),("TB"===t||"BT"===t)&&(n=d,a=h+(p-h)*o,l=u,s=p+(h-p)*o),{x1:d,y1:h,x2:u,y2:p,cpx1:n,cpy1:a,cpx2:l,cpy2:s}}var k=o(56980),z=o(67232),B=o(5485),X=o(29150),G=o(89487),W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return(0,i.C6)(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},o=e.leaves||{},i=new B.A(o,this,this.ecModel),r=z.A.createTree(t,this,function(e){e.wrapMethod("getItemModel",function(e,t){var o=r.getNodeByDataIndex(t);return o&&o.children.length&&o.isExpand||(e.parentModel=i),e})}),n=0;r.eachNode("preorder",function(e){e.depth>n&&(n=e.depth)});var a=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:n;return r.root.eachNode("preorder",function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=a}),r.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,o){for(var i=this.getData().tree,r=i.root.children[0],n=i.getNodeByDataIndex(e),a=n.getValue(),l=n.name;n&&n!==r;)l=n.parentNode.name+"."+l,n=n.parentNode;return(0,X.Qx)("nameValue",{name:l,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var o=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return o.treeAncestors=(0,G.ev)(i,this),o.collapsed=!i.isExpand,o},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(k.A);function O(e,t){for(var o,i=[e];o=i.pop();)if(t(o),o.isExpand){var r=o.children;if(r.length)for(var n=r.length-1;n>=0;n--)i.push(r[n])}}function H(e,t){e.eachSeriesByType("tree",function(e){!function(e,t){var o=u.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});e.layoutInfo=o;var i=e.get("layout"),r=0,n=0,a=null;"radial"===i?(r=2*Math.PI,n=Math.min(o.height,o.width)/2,a=c(function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth})):(r=o.width,n=o.height,a=c());var l=e.getData().tree.root,s=l.children[0];
1if(s){!function(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var t,o,i=[e];t=i.pop();)if(o=t.children,t.isExpand&&o.length)for(var r=o.length,n=r-1;n>=0;n--){var a=o[n];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:n,thread:null},i.push(a)}}(l),function(e,t,o){for(var i,r=[e],n=[];i=r.pop();)if(n.push(i),i.isExpand){var a=i.children;if(a.length)for(var l=0;l<a.length;l++)r.push(a[l])}for(;i=n.pop();)t(i,o)}(s,h,a),l.hierNode.modifier=-s.hierNode.prelim,O(s,p);var d=s,f=s,y=s;O(s,function(e){var t=e.getLayout().x;t<d.getLayout().x&&(d=e),t>f.getLayout().x&&(f=e),e.depth>y.depth&&(y=e)});var v=d===f?1:a(d,f)/2,m=v-d.getLayout().x,x=0,w=0,_=0,I=0;if("radial"===i)x=r/(f.getLayout().x+v+m),w=n/(y.depth-1||1),O(s,function(e){_=(e.getLayout().x+m)*x,I=(e.depth-1)*w;var t=g(_,I);e.setLayout({x:t.x,y:t.y,rawX:_,rawY:I},!0)});else{var b=e.getOrient();"RL"===b||"LR"===b?(w=n/(f.getLayout().x+v+m),x=r/(y.depth-1||1),O(s,function(e){I=(e.getLayout().x+m)*w,_="LR"===b?(e.depth-1)*x:r-(e.depth-1)*x,e.setLayout({x:_,y:I},!0)})):("TB"===b||"BT"===b)&&(x=r/(f.getLayout().x+v+m),w=n/(y.depth-1||1),O(s,function(e){_=(e.getLayout().x+m)*x,I="TB"===b?(e.depth-1)*w:n-(e.depth-1)*w,e.setLayout({x:_,y:I},!0)}))}}}(e,t)})}function Y(e){e.eachSeriesByType("tree",function(e){var t=e.getData();t.tree.eachNode(function(e){var o=e.getModel().getModel("itemStyle").getItemStyle(),i=t.ensureUniqueItemVisual(e.dataIndex,"style");(0,r.X$)(i,o)})})}var q=o(77143);function Z(e){e.registerChartView(D),e.registerSeriesModel(W),e.registerLayout(H),e.registerVisual(Y),e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var o=e.dataIndex,i=t.getData().tree.getNodeByDataIndex(o);i.isExpand=!i.isExpand})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t,o){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var i=t.coordinateSystem,r=(0,q.f)(i,e,void 0,o);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)})})}},67969:(e,t,o)=>{o.d(t,{a:()=>ed});var i=o(89487),r=o(840),n=["treemapZoomToNode","treemapRender","treemapMove"],a=o(85773),l=o(56980),s=o(67232),d=o(5485),u=o(43609),h=o(29150),p=o(54985),c=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o.preventUsingHoverLayer=!0,o}return(0,a.C6)(t,e),t.prototype.getInitialData=function(e,t){var o={name:e.name,children:e.data};(function e(t){var o=0;r.__(t.children,function(t){e(t);var i=t.value;r.cy(i)&&(i=i[0]),o+=i});var i=t.value;r.cy(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=o),i<0&&(i=0),r.cy(t.value)?t.value[0]=i:t.value=i})(o);var i=e.levels||[],n=this.designatedVisualItemStyle={},a=new d.A({itemStyle:n},this,t);i=e.levels=function(e,t){var o,i,n=(0,u.qB)(t.get("color")),a=(0,u.qB)(t.get(["aria","decal","decals"]));if(n){e=e||[],r.__(e,function(e){var t=new d.A(e),r=t.get("color"),n=t.get("decal");(t.get(["itemStyle","color"])||r&&"none"!==r)&&(o=!0),(t.get(["itemStyle","decal"])||n&&"none"!==n)&&(i=!0)});var l=e[0]||(e[0]={});return o||(l.color=n.slice()),!i&&a&&(l.decal=a.slice()),e}}(i,t);var l=r.Tj(i||[],function(e){return new d.A(e,a,t)},this),h=s.A.createTree(o,this,function(e){e.wrapMethod("getItemModel",function(e,t){var o=h.getNodeByDataIndex(t);return e.parentModel=(o?l[o.depth]:null)||a,e})});return h.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,o){var i=this.getData(),r=this.getRawValue(e),n=i.getName(e);return(0,h.Qx)("nameValue",{name:n,value:r})},t.prototype.getDataParams=function(t){var o=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return o.treeAncestors=(0,i.ev)(r,this),o.treePathInfo=o.treeAncestors,o},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},r.X$(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=r.nt(),this._idIndexMapCount=0);var o=t.get(e);return null==o&&t.set(e,o=this._idIndexMapCount++),o},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){(0,p.A)(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}}
1,visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(l.A),g=o(78064),f=o(63652),y=o(34101),v=o(72726),m=o(64044),x=o(55043),w=o(621),_=o(40286),I=o(51679),b=function(){function e(e){this.group=new g.A,e.add(this.group)}return e.prototype.render=function(e,t,o,i){var r=e.getModel("breadcrumb"),n=this.group;if(n.removeAll(),r.get("show")&&o){var a=r.getModel("itemStyle"),l=r.getModel("emphasis"),s=a.getModel("textStyle"),d=l.getModel(["itemStyle","textStyle"]),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(o,u,s),this._renderContent(e,u,a,l,s,d,i),_.m$(n,u.pos,u.box)}},e.prototype._prepare=function(e,t,o){for(var i=e;i;i=i.parentNode){var r=(0,u.vS)(i.getModel().get("name"),""),n=Math.max(o.getTextRect(r).width+16,t.emptyItemWidth);t.totalWidth+=n+8,t.renderList.push({node:i,text:r,width:n})}},e.prototype._renderContent=function(e,t,o,n,a,l,s){for(var d=0,u=t.emptyItemWidth,h=e.get(["breadcrumb","height"]),p=_.HU(t.pos,t.box),c=t.totalWidth,g=t.renderList,f=n.getModel("itemStyle").getItemStyle(),m=g.length-1;m>=0;m--){var b,N,M,S=g[m],A=S.node,L=S.width,D=S.text;c>p.width&&(c-=L-u,L=u,D=null);var T=new x.A({shape:{points:function(e,t,o,i,r,n){var a=[[r?e:e-5,0],[e+o,t],[e+o,t+i],[r?e:e-5,t+i]];return n||a.splice(2,0,[e+o+5,t+i/2]),r||a.push([e,t+i/2]),a}(d,0,L,h,m===g.length-1,0===m)},style:(0,r.NT)(o.getItemStyle(),{lineJoin:"bevel"}),textContent:new w.Ay({style:(0,I.VB)(a,{text:D})}),textConfig:{position:"inside"},z2:1e4*v.CA,onclick:(0,r.cF)(s,A)});T.disableLabelAnimation=!0,T.getTextContent().ensureState("emphasis").style=(0,I.VB)(l,{text:D}),T.ensureState("emphasis").style=f,(0,v.Lm)(T,n.get("focus"),n.get("blurScope"),n.get("disabled")),this.group.add(T),b=T,N=e,M=A,(0,y.z)(b).eventData={componentType:"series",componentSubType:"treemap",componentIndex:N.componentIndex,seriesIndex:N.seriesIndex,seriesName:N.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:M&&M.dataIndex,name:M&&M.name},treePathInfo:M&&(0,i.ev)(M,N)},d+=L+8}},e.prototype.remove=function(){this.group.removeAll()},e}(),N=o(60549),M=o(20074),S=o(17173),A=o(46570),L=o(70407),D=o(87005),T=o(3705),C=o(14151),R=g.A,V=f.A,P="label",E="upperLabel",k=10*v.CA,z=2*v.CA,B=3*v.CA,X=(0,L.A)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),G=function(e){var t=X(e);return t.stroke=t.fill=t.lineWidth=null,t},W=(0,u.$r)(),O=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o._state="ready",o._storage=H(),o}return(0,a.C6)(t,e),t.prototype.render=function(e,t,o,n){var a=t.findComponents({mainType:"series",subType:"treemap",query:n});if(!(0>(0,r.qh)(a,e))){this.seriesModel=e,this.api=o,this.ecModel=t;var l=i.mw(n,["treemapZoomToNode","treemapRootToNode"],e),s=n&&n.type,d=e.layoutInfo,u=!this._oldTree,h=this._storage,p="treemapRootToNode"===s&&l&&h?{rootNodeGroup:h.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,c=this._giveContainerGroup(d),g=e.get("animation"),f=this._doRender(c,e,p);!g||u||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?f.renderFinally():this._doAnimation(c,f,e,p),this._resetController(o),this._renderBreadcrumb(e,o,l)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new R,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,o){var i,n,a=t.getData().tree,l=this._oldTree,s=H(),d=H(),h=this._storage,p=[];(function e(i,n,a,l,c){function f(e){return e.getId()}function x(f,m){var x=null!=f?i[f]:null,w=null!=m?n[m]:null,_=function(e,t,o,i,n,a,l,s,d,h){if(l){var p=l.getLayout(),c=e.getData(),f=l.getModel();if(c.setItemGraphicEl(l.dataIndex,null),p&&p.isInView){var m=p.width,x=p.height,w=p.borderWidth,_=p.invisible,b=l.getRawIndex(),N=s&&s.getRawIndex(),M=l.viewChildren,S=p.upperHeight,A=M&&M.length,L=f.getModel("itemStyle"),D=f.getModel(["emphasis","itemStyle"]),C=f.getModel(["blur","itemStyle"]),O=f.getModel(["select","itemStyle"]),H=L.get("borderRadius")||0,Y=eo("nodeGroup",R);if(Y){if(d.add(Y),Y.x=p.x||0,Y.y=p.y||0,Y.markRedraw(),W(Y).nodeWidth=m,W(Y).nodeHeight=x,p.isAboveViewRoot)return Y;var q=eo("background",V,h,z);q&&function(t,o,i){var r=(0,y.z)(o);if(r.dataIndex=l.dataIndex,r.seriesIndex=e.seriesIndex,o.setShape({x:0,y:0,width:m,height:x,r:H}),_)K(o);else{o.invisible=!1;var n=l.getVisual("style"),a=n.stroke,s=G(L);s.fill=a;var d=X(D);d.fill=D.get("borderColor");var u=X(C);u.fill=C.get("borderColor");var h=X(O);if(h.fill=O.get("borderColor"),i){var p=m-2*w;ee(o,a,n.opacity,{x:w,y:0,width:p,height:S})}else o.removeTextContent();o.setStyle(s),o.ensureState("emphasis").style=d,o.ensureState("blur").style=u,o.ensureState("select").style=h,(0,v.DW)(o)}t.add(o)}(Y,q,A&&p.upperLabelHeight);var Z=f.getModel("emphasis"),U=Z.get("focus"),F=Z.get("blurScope"),$=Z.get("disabled"),j="ancestor"===U?l.getAncestorsIndices():"descendant"===U?l.getDescendantIndices():U;if(A)(0,v.u6)(Y)&&(0,v.ix)(Y,!1),q&&((0,v.ix)(q,!$),c.setItemGraphicEl(l.dataIndex,q),(0,v.gR)(q,j,F));else{var J=eo("content",V,h,B);J&&function(t,o){var i=(0,y.z)(o);i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex;var r=Math.max(m-2*w,0),n=Math.max(x-2*w,0);if(o.culling=!0,o.setShape({x:w,y:w,width:r,height:n,r:H}),_)K(o);else{o.invisible=!1;var a=l.getVisual("style"),s=a.fill,d=G(L);d.fill=s,d.decal=a.decal;var u=X(D),h=X(C),p=X(O);ee(o,s,a.opacity,null),o.setStyle(d),o.ensureState("emphasis").style=u,o.ensureState("blur").style=h,o.ensureState("select").style=p,(0,v.DW)(o)}t.add(o)}(Y,J),q.disableMorphing=!0,q&&(0,v.u6)(q)&&(0,v.ix)(q,!1),(0,v.ix)(Y,!$),c.setItemGraphicEl(l.dataIndex,Y);var Q=f.getShallow("cursor");Q&&J.attr("cursor",Q),(0,v.gR)(Y,j,F)}return Y}}}function K(e){e.invisible||a.push(e)}function ee(t,o,i,n){var a=f.getModel(n?E:P),s=(0,u.vS)(f.get("name"),null),d=a.getShallow("show");(0,I.qM)(t,(0,I.lx)(f,n?E:P),{defaultText:d?s:null,inheritColor:o,defaultOpacity:i,labelFetcher:e,labelDataIndex:l.dataIndex});var h=t.getTextContent();if(h){var c=h.style,g=(0,r.QX)(c.padding||0);n&&(t.setTextConfig({layoutRect:n}),h.disableLabelLayout=!0),h.beforeUpdate=function(){var e=Math.max((n?n.width:t.shape.width)-g[1]-g[3],0),o=Math.max((n?n.height:t.shape.height)-g[0]-g[2],0);(c.width!==e||c.height!==o)&&h.setStyle({width:e,height:o})},c.truncateMinChar=2,c.lineOverflow="truncate",et(c,n,p);var y=h.getState("emphasis");et(y?y.style:null,n,p)}}function et(t,o,i){var r=t?t.text:null;if(!o&&i.isLeafRoot&&null!=r){var n=e.get("drillDownIcon",!0);t.text=n?n+" "+r:r}}function eo(e,a,s,d){var u,h,p,c=null!=N&&o[e][N],f=n[e];return c?(o[e][N]=null,u=f,h=c,p=u[b]={},h instanceof R?(p.oldX=h.x,p.oldY=h.y):p.oldShape=(0,r.X$)({},h.shape)):_||((c=new a)instanceof T.Ay&&(c.z2=s*k+d),function(e,t){var o=e[b]={},r=l.parentNode,a=t instanceof g.A;if(r&&(!i||"drillDown"===i.direction)){var s=0,d=0,u=n.background[r.getRawIndex()];!i&&u&&u.oldShape&&(s=u.oldShape.width,d=u.oldShape.height),a?(o.oldX=0,o.oldY=d):o.oldShape={x:s,y:d,width:0,height:0}}o.fadein=!a}(f,c)),t[e][b]=c}}(t,d,h,o,s,p,x,w,a,c);_&&e(x&&x.viewChildren||[],w&&w.viewChildren||[],_,l,c+1)}l?(n=i,(0,r.__)(i,function(e,t){e.isRemoved()||x(t,t)})):new m.A(n,i,f,f).add(x).update(x).remove((0,r.cF)(x,null)).execute()})(a.root?[a.root]:[],l&&l.root?[l.root]:[],e,a===l||!l,0);var c=(i=h,n=H(),i&&(0,r.__)(i,function(e,t){var o=n[t];(0,r.__)(e,function(e){e&&(o.push(e),W(e).willDelete=!0)})}),n);if(this._oldTree=a,this._storage=d,this._controllerHost){var f=this.seriesModel.layoutInfo,x=a.root.getLayout();x.width===f.width&&x.height===f.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:s,willDeleteEls:c,renderFinally:function(){(0,r.__)(c,function(e){(0,r.__)(e,function(e){e.parent&&e.parent.remove(e)})}),(0,r.__)(p,function(e){e.invisible=!0,e.dirty()})}}},t.prototype._doAnimation=function(e,t,o,i){var n=o.get("animationDurationUpdate"),a=o.get("animationEasing"),l=((0,r.Tn)(n)?0:n)||0,s=((0,r.Tn)(a)?null:a)||"cubicOut",d=A.x();(0,r.__)(t.willDeleteEls,function(e,t){(0,r.__)(e,function(e,o){if(!e.invisible){var r,n=e.parent,a=W(n);if(i&&"drillDown"===i.direction)r=n===i.rootNodeGroup?{shape:{x:0,y:0,width:a.nodeWidth,height:a.nodeHeight},style:{opacity:0}
1}:{style:{opacity:0}};else{var u=0,h=0;a.willDelete||(u=a.nodeWidth/2,h=a.nodeHeight/2),r="nodeGroup"===t?{x:u,y:h,style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}r&&d.add(e,r,l,0,s)}})}),(0,r.__)(this._storage,function(e,o){(0,r.__)(e,function(e,i){var n=t.lastsForAnimation[o][i],a={};n&&(e instanceof g.A?null!=n.oldX&&(a.x=e.x,a.y=e.y,e.x=n.oldX,e.y=n.oldY):(n.oldShape&&(a.shape=(0,r.X$)({},e.shape),e.setShape(n.oldShape)),n.fadein?(e.setStyle("opacity",0),a.style={opacity:1}):1!==e.style.opacity&&(a.style={opacity:1})),d.add(e,a,l,0,s))})},this),this._state="animating",d.finished((0,r.oI)(function(){this._state="ready",t.renderFinally()},this)).start()},t.prototype._resetController=function(e){var t=this._controller,o=this._controllerHost;o||(this._controllerHost={target:this.group},o=this._controllerHost),t||((t=this._controller=new N.A(e.getZr())).enable(this.seriesModel.get("roam")),o.zoomLimit=this.seriesModel.get("scaleLimit"),o.zoom=this.seriesModel.get("zoom"),t.on("pan",(0,r.oI)(this._onPan,this)),t.on("zoom",(0,r.oI)(this._onZoom,this)));var i=new M.A(0,0,e.getWidth(),e.getHeight());t.setPointerChecker(function(e,t,o){return i.contain(t,o)})},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(t){var o=t.getLayout();o&&this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x+e.dx,y:o.y+e.dy,width:o.width,height:o.height}})}}},t.prototype._onZoom=function(e){var t=e.originX,o=e.originY,i=e.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var n=r.getLayout();if(!n)return;var a=new M.A(n.x,n.y,n.width,n.height),l=null,s=this._controllerHost;l=s.zoomLimit;var d=s.zoom=s.zoom||1;if(d*=i,l){var u=l.min||0;d=Math.max(Math.min(l.max||1/0,d),u)}var h=d/s.zoom;s.zoom=d;var p=this.seriesModel.layoutInfo;t-=p.x,o-=p.y;var c=S.vt();S.Tl(c,c,[-t,-o]),S.hs(c,c,[h,h]),S.Tl(c,c,[t,o]),a.applyTransform(c),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",function(e){if("ready"===t._state){var o=t.seriesModel.get("nodeClick",!0);if(o){var i=t.findTarget(e.offsetX,e.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)t._rootToNode(i);else if("zoomToNode"===o)t._zoomToNode(i);else if("link"===o){var n=r.hostTree.data.getItemModel(r.dataIndex),a=n.get("link",!0),l=n.get("target",!0)||"blank";a&&(0,C.JW)(a,l)}}}}},this)},t.prototype._renderBreadcrumb=function(e,t,o){var r=this;o||(o=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(o={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new b(this.group))).render(e,t,o.node,function(t){"animating"!==r._state&&(i.x5(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=H(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var o;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.getRawIndex()];if(r){var n=r.transformCoordToLocal(e,t),a=r.shape;if(!(a.x<=n[0])||!(n[0]<=a.x+a.width)||!(a.y<=n[1])||!(n[1]<=a.y+a.height))return!1;o={node:i,offsetX:n[0],offsetY:n[1]}}},this),o},t.type="treemap",t}(D.A);function H(){return{nodeGroup:[],background:[],content:[]}}var Y=o(1778),q=o(82694),Z=(0,u.$r)();let U={seriesType:"treemap",reset:function(e){var t=e.getData().tree.root;t.isRemoved()||function e(t,o,i,n){var a,l=t.getModel(),s=t.getLayout(),d=t.hostTree.data;if(s&&!s.invisible&&s.isInView){var u,h,p,c,g,f,y,v=l.getModel("itemStyle"),m=(u=v,h=o,p=n,c=(0,r.X$)({},h),g=p.designatedVisualItemStyle,(0,r.__)(["color","colorAlpha","colorSaturation"],function(e){g[e]=h[e];var t=u.get(e);g[e]=null,null!=t&&(c[e]=t)}),c),x=d.ensureUniqueItemVisual(t.dataIndex,"style"),w=v.get("borderColor"),_=v.get("borderColorSaturation");null!=_&&(f=_,w=null!=(y=F(m))?(0,q.Yu)(y,null,null,f):null),x.stroke=w;var I=t.viewChildren;if(I&&I.length){var b=function(e,t,o,i,r,n){if(n&&n.length){var a=j(t,"color")||null!=r.color&&"none"!==r.color&&(j(t,"colorAlpha")||j(t,"colorSaturation"));
1if(a){var l=t.get("visualMin"),s=t.get("visualMax"),d=o.dataExtent.slice();null!=l&&l<d[0]&&(d[0]=l),null!=s&&s>d[1]&&(d[1]=s);var u=t.get("colorMappingBy"),h={type:a.name,dataExtent:d,visual:a.range};"color"===h.type&&("index"===u||"id"===u)?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var p=new Y.A(h);return Z(p).drColorMappingBy=u,p}}}(0,l,s,0,m,I);(0,r.__)(I,function(t,o){if(t.depth>=i.length||t===i[t.depth]){var a=function(e,t,o,i,n,a){var l=(0,r.X$)({},t);if(n){var s=n.type,d="color"===s&&Z(n).drColorMappingBy,u="index"===d?i:"id"===d?a.mapIdToIndex(o.getId()):o.getValue(e.get("visualDimension"));l[s]=n.mapValueToVisual(u)}return l}(l,m,t,o,b,n);e(t,a,i,n)}})}else x.fill=F(m)}}(t,{},e.getViewRoot().getAncestors(),e)}};function F(e){var t=$(e,"color");if(t){var o=$(e,"colorAlpha"),i=$(e,"colorSaturation");return i&&(t=(0,q.Yu)(t,null,null,i)),o&&(t=(0,q.hm)(t,o)),t}}function $(e,t){var o=e[t];if(null!=o&&"none"!==o)return o}function j(e,t){var o=e.get(t);return(0,r.cy)(o)&&o.length?{name:t,range:o}:null}var J=o(56761),Q=Math.max,K=Math.min,ee=r.Je,et=r.__,eo=["itemStyle","borderWidth"],ei=["itemStyle","gapWidth"],er=["upperLabel","show"],en=["upperLabel","height"];let ea={seriesType:"treemap",reset:function(e,t,o,n){var a=o.getWidth(),l=o.getHeight(),s=e.option,d=_.dV(e.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()}),u=s.size||[],h=(0,J.lo)(ee(d.width,u[0]),a),p=(0,J.lo)(ee(d.height,u[1]),l),c=n&&n.type,g=i.mw(n,["treemapZoomToNode","treemapRootToNode"],e),f="treemapRender"===c||"treemapMove"===c?n.rootRect:null,y=e.getViewRoot(),v=i.bl(y);if("treemapMove"!==c){var m="treemapZoomToNode"===c?function(e,t,o,i,r){var n,a=(t||{}).node,l=[i,r];if(!a||a===o)return l;for(var s=i*r,d=s*e.option.zoomToNodeRatio;n=a.parentNode;){for(var u=0,h=n.children,p=0,c=h.length;p<c;p++)u+=h[p].getValue();var g=a.getValue();if(0===g)return l;d*=u/g;var f=n.getModel(),y=f.get(eo),v=Math.max(y,es(f));(d+=4*y*y+(3*y+v)*Math.pow(d,.5))>J.Is&&(d=J.Is),a=n}d<s&&(d=s);var m=Math.pow(d/s,.5);return[i*m,r*m]}(e,g,y,h,p):f?[f.width,f.height]:[h,p],x=s.sort;x&&"asc"!==x&&"desc"!==x&&(x="desc");var w={squareRatio:s.squareRatio,sort:x,leafDepth:s.leafDepth};y.hostTree.clearLayouts();var I={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};y.setLayout(I),function e(t,o,i,n){if(!t.isRemoved()){var a,l,s=t.getLayout();a=s.width,l=s.height;var d=t.getModel(),u=d.get(eo),h=d.get(ei)/2,p=es(d),c=Math.max(u,p),g=u-h,f=c-h;t.setLayout({borderWidth:u,upperHeight:c,upperLabelHeight:p},!0);var y=(a=Q(a-2*g,0))*(l=Q(l-g-f,0)),v=function(e,t,o,i,n,a){var l,s,d=e.children||[],u=i.sort;"asc"!==u&&"desc"!==u&&(u=null);var h=null!=i.leafDepth&&i.leafDepth<=a;if(n&&!h)return e.viewChildren=[];l=d=r.pb(d,function(e){return!e.isRemoved()}),(s=u)&&l.sort(function(e,t){var o="asc"===s?e.getValue()-t.getValue():t.getValue()-e.getValue();return 0===o?"asc"===s?e.dataIndex-t.dataIndex:t.dataIndex-e.dataIndex:o});var p=function(e,t,o){for(var i,r=0,n=0,a=t.length;n<a;n++)r+=t[n].getValue();var l=e.get("visualDimension");return t&&t.length?"value"===l&&o?(i=[t[t.length-1].getValue(),t[0].getValue()],"asc"===o&&i.reverse()):(i=[1/0,-1/0],et(t,function(e){var t=e.getValue(l);t<i[0]&&(i[0]=t),t>i[1]&&(i[1]=t)})):i=[NaN,NaN],{sum:r,dataExtent:i}}(t,d,u);if(0===p.sum||(p.sum=function(e,t,o,i,r){if(!i)return o;for(var n=e.get("visibleMin"),a=r.length,l=a,s=a-1;s>=0;s--){var d=r["asc"===i?a-s-1:s].getValue();d/o*t<n&&(l=s,o-=d)}return"asc"===i?r.splice(0,a-l):r.splice(l,a-l),o}(t,o,p.sum,u,d),0===p.sum))return e.viewChildren=[];for(var c=0,g=d.length;c<g;c++){var f=d[c].getValue()/p.sum*o;d[c].setLayout({area:f})}return h&&(d.length&&e.setLayout({isLeafRoot:!0},!0),d.length=0),e.viewChildren=d,e.setLayout({dataExtent:p.dataExtent},!0),d}(t,d,y,o,i,n);if(v.length){var m={x:g,y:f,width:a,height:l},x=K(a,l),w=1/0,_=[];_.area=0;for(var I=0,b=v.length;I<b;){var N=v[I];_.push(N),_.area+=N.getLayout().area;var M=function(e,t,o){for(var i=0,r=1/0,n=0,a=void 0,l=e.length;n<l;n++)(a=e[n].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var s=e.area*e.area,d=t*t*o;return s?Q(d*i/s,s/(d*r)):1/0}(_,x,o.squareRatio);M<=w?(I++,w=M):(_.area-=_.pop().getLayout().area,el(_,x,m,h,!1),x=K(m.width,m.height),_.length=_.area=0,w=1/0)}if(_.length&&el(_,x,m,h,!0),!i){var S=d.get("childrenVisibleMin");null!=S&&y<S&&(i=!0)}for(var I=0,b=v.length;I<b;I++)e(v[I],o,i,n+1)}}}(y,w,!1,0),I=y.getLayout(),et(v,function(e,t){var o=(v[t+1]||y).getValue();e.setLayout(r.X$({dataExtent:[o,o],borderWidth:0,upperHeight:0},I))})}var b=e.getData().tree.root;b.setLayout(function(e,t,o){if(t)return{x:t.x,y:t.y};var i={x:0,y:0};if(!o)return i;var r=o.node,n=r.getLayout();if(!n)return i;for(var a=[n.width/2,n.height/2],l=r;l;){var s=l.getLayout();a[0]+=s.x,a[1]+=s.y,l=l.parentNode}
1return{x:e.width/2-a[0],y:e.height/2-a[1]}}(d,f,g),!0),e.setLayoutInfo(d),function e(t,o,i,r,n){var a=t.getLayout(),l=i[n],s=l&&l===t;if((!l||s)&&(n!==i.length||t===r)){t.setLayout({isInView:!0,invisible:!s&&!o.intersect(a),isAboveViewRoot:s},!0);var d=new M.A(o.x-a.x,o.y-a.y,o.width,o.height);et(t.viewChildren||[],function(t){e(t,d,i,r,n+1)})}}(b,new M.A(-d.x,-d.y,a,l),v,y,0)}};function el(e,t,o,i,r){var n=+(t!==o.width),a=1-n,l=["x","y"],s=["width","height"],d=o[l[n]],u=t?e.area/t:0;(r||u>o[s[a]])&&(u=o[s[a]]);for(var h=0,p=e.length;h<p;h++){var c=e[h],g={},f=u?c.getLayout().area/u:0,y=g[s[a]]=Q(u-2*i,0),v=o[l[n]]+o[s[n]]-d,m=h===p-1||v<f?v:f,x=g[s[n]]=Q(m-2*i,0);g[l[a]]=o[l[a]]+K(i,y/2),g[l[n]]=d+K(i,x/2),d+=m,c.setLayout(g,!0)}o[l[a]]+=u,o[s[a]]-=u}function es(e){return e.get(er)?e.get(en):0}function ed(e){e.registerSeriesModel(c),e.registerChartView(O),e.registerVisual(U),e.registerLayout(ea),function(e){for(var t=0;t<n.length;t++)e.registerAction({type:n[t],update:"updateView"},r.lQ);e.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},function(t,o){var r=i.mw(e,["treemapZoomToNode","treemapRootToNode"],t);if(r){var n=t.getViewRoot();n&&(e.direction=i.x5(n,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}})})}(e)}},72576:(e,t,o)=>{o.d(t,{a:()=>M});var i=o(85773),r=o(45039),n=o(78064),a=o(43633),l=o(63652),s=o(72726),d=o(51679),u=o(840),h=o(64044),p=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o._layers=[],o}return(0,i.C6)(t,e),t.prototype.render=function(e,t,o){var i=e.getData(),p=this,c=this.group,g=e.getLayerSeries(),f=i.getLayout("layoutInfo"),y=f.rect,v=f.boundaryGap;function m(e){return e.name}c.x=0,c.y=y.y+v[0];var x=new h.A(this._layersSeries||[],g,m,m),w=[];function _(t,o,u){var h,f,y=p._layers;if("remove"===t){c.remove(y[o]);return}for(var v=[],m=[],x=g[o].indices,_=0;_<x.length;_++){var I=i.getItemLayout(x[_]),b=I.x,N=I.y0,M=I.y;v.push(b,N),m.push(b,N+M),h=i.getItemVisual(x[_],"style")}var S=i.getItemLayout(x[0]),A=e.getModel("label").get("margin"),L=e.getModel("emphasis");if("add"===t){var D,T,C,R,V=w[o]=new n.A;f=new r.z({shape:{points:v,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),V.add(f),c.add(V),e.isAnimationEnabled()&&f.setClipPath((D=f.getBoundingRect(),T=e,C=function(){f.removeClipPath()},R=new l.A({shape:{x:D.x-10,y:D.y-10,width:0,height:D.height+20}}),a.LW(R,{shape:{x:D.x-50,width:D.width+100,height:D.height+20}},T,C),R))}else{var V=y[u];f=V.childAt(0),c.add(V),w[o]=V,a.oi(f,{shape:{points:v,stackedOnPoints:m}},e),(0,a.ap)(f)}(0,d.qM)(f,(0,d.lx)(e),{labelDataIndex:x[_-1],defaultText:i.getName(x[_-1]),inheritColor:h.fill},{normal:{verticalAlign:"middle"}}),f.setTextConfig({position:null,local:!0});var P=f.getTextContent();P&&(P.x=S.x-A,P.y=S.y0+S.y/2),f.useStyle(h),i.setItemGraphicEl(o,f),(0,s.Mx)(f,e),(0,s.Lm)(f,L.get("focus"),L.get("blurScope"),L.get("disabled"))}x.add((0,u.oI)(_,this,"add")).update((0,u.oI)(_,this,"update")).remove((0,u.oI)(_,this,"remove")).execute(),this._layersSeries=g,this._layers=w},t.type="themeRiver",t}(o(87005).A),c=o(56980),g=o(92564),f=o(2511),y=o(6977),v=o(43609),m=o(93604),x=o(29150),w=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o}return(0,i.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new m.A(u.oI(this.getData,this),u.oI(this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,o={},i=(0,v.Sq)(e,function(e){return o.hasOwnProperty(e[0]+"")||(o[e[0]+""]=-1),e[2]}),r=[];i.buckets.each(function(e,t){r.push({name:t,dataList:e})});for(var n=r.length,a=0;a<n;++a){for(var l=r[a].name,s=0;s<r[a].dataList.length;++s){var d=r[a].dataList[s][0]+"";o[d]=a}for(var d in o)o.hasOwnProperty(d)&&o[d]!==a&&(o[d]=a,e[t]=[d,0,l],t++)}return e},t.prototype.getInitialData=function(e,t){for(var o=this.getReferringComponents("singleAxis",v.US).models[0].get("type"),i=u.pb(e.data,function(e){return void 0!==e[2]}),r=this.fixData(i||[]),n=[],a=this.nameMap=u.nt(),l=0,s=0;s<r.length;++s)n.push(r[s][2]),!a.get(r[s][2])&&(a.set(r[s][2],l),l++);var d=(0,g.A)(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:(0,f.B)(o)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new y.A(d,this);return h.initData(r),h},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),o=[],i=0;i<t;++i)o[i]=i;var r=e.mapDimension("single"),n=(0,v.Sq)(o,function(t){return e.get("name",t)}),a=[];return n.buckets.each(function(t,o){t.sort(function(t,o){return e.get(r,t)-e.get(r,o)}),a.push({name:o,indices:t})}),a},t.prototype.getAxisTooltipData=function(e,t,o){u.cy(e)||(e=e?[e]:[]);for(var i,r=this.getData(),n=this.getLayerSeries(),a=[],l=n.length,s=0;s<l;++s){for(var d=Number.MAX_VALUE,h=-1,p=n[s].indices.length,c=0;c<p;++c){var g=r.get(e[0],n[s].indices[c]),f=Math.abs(g-t);f<=d&&(i=g,d=f,h=n[s].indices[c])}a.push(h)}return{dataIndices:a,nestestValue:i}},t.prototype.formatTooltip=function(e,t,o){var i=this.getData(),r=i.getName(e),n=i.get(i.mapDimension("value"),e);return(0,x.Qx)("nameValue",{name:r,value:n})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boun
1daryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(c.A),_=o(56761);function I(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),o=e.coordinateSystem,i={},r=o.getRect();i.rect=r;var n=e.get("boundaryGap"),a=o.getAxis();i.boundaryGap=n,"horizontal"===a.orient?(n[0]=_.lo(n[0],r.height),n[1]=_.lo(n[1],r.height),b(t,e,r.height-n[0]-n[1])):(n[0]=_.lo(n[0],r.width),n[1]=_.lo(n[1],r.width),b(t,e,r.width-n[0]-n[1])),t.setLayout("layoutInfo",i)})}function b(e,t,o){if(e.count())for(var i,r=t.coordinateSystem,n=t.getLayerSeries(),a=e.mapDimension("single"),l=e.mapDimension("value"),s=u.Tj(n,function(t){return u.Tj(t.indices,function(t){var o=r.dataToPoint(e.get(a,t));return o[1]=e.get(l,t),o})}),d=function(e){for(var t=e.length,o=e[0].length,i=[],r=[],n=0,a=0;a<o;++a){for(var l=0,s=0;s<t;++s)l+=e[s][a][1];l>n&&(n=l),i.push(l)}for(var d=0;d<o;++d)r[d]=(n-i[d])/2;n=0;for(var u=0;u<o;++u){var h=i[u]+r[u];h>n&&(n=h)}return{y0:r,max:n}}(s),h=d.y0,p=o/d.max,c=n.length,g=n[0].indices.length,f=0;f<g;++f){i=h[f]*p,e.setItemLayout(n[0].indices[f],{layerIndex:0,x:s[0][f][0],y0:i,y:s[0][f][1]*p});for(var y=1;y<c;++y)i+=s[y-1][f][1]*p,e.setItemLayout(n[y].indices[f],{layerIndex:y,x:s[y][f][0],y0:i,y:s[y][f][1]*p})}}var N=o(76264);function M(e){e.registerChartView(p),e.registerSeriesModel(w),e.registerLayout(I),e.registerProcessor((0,N.A)("themeRiver"))}},81958:(e,t,o)=>{o.d(t,{a:()=>p});var i=o(39896),r=o(85773),n=o(29598),a=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o.hasSymbolVisual=!0,o}return(0,r.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,n.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,o){return o.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(o(56980).A),l=o(55085),s=o(28484),d=o(12553),u=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o}return(0,r.C6)(t,e),t.prototype.render=function(e,t,o){var i=e.getData();this._updateSymbolDraw(i,e).updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,o){var i=e.getData();this._updateSymbolDraw(i,e).incrementalPrepareUpdate(i),this._finished=!1},t.prototype.incrementalRender=function(e,t,o){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,o){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=(0,d.A)("").reset(e,t,o);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var o=this._symbolDraw,i=t.pipelineContext.large;return o&&i===this._isLargeDraw||(o&&o.remove(),o=this._symbolDraw=i?new s.A:new l.A,this._isLargeDraw=i,this.group.removeAll()),this.group.add(o.group),o},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(o(87005).A),h=o(19981);function p(e){(0,i.Y)(h.a),e.registerSeriesModel(a),e.registerChartView(u),e.registerLayout((0,d.A)("scatter"))}},96485:(e,t,o)=>{o.d(t,{a:()=>V});var i=o(85773),r=o(840),n=o(87005),a=o(621),l=o(43633),s=o(16295),d=o(72726
1),u=o(51679),h=o(34101),p=o(8305),c=o(63785),g=o(54161),f=o(56761),y=function(e){function t(t,o,i,r){var n=e.call(this)||this;n.z2=2,n.textConfig={inside:!0},(0,h.z)(n).seriesIndex=o.seriesIndex;var l=new a.Ay({z2:4,silent:t.getModel().get(["label","silent"])});return n.setTextContent(l),n.updateData(!0,t,o,i,r),n}return(0,i.C6)(t,e),t.prototype.updateData=function(e,t,o,i,n){this.node=t,t.piece=this,o=o||this._seriesModel,i=i||this._ecModel;var a=this;(0,h.z)(a).dataIndex=t.dataIndex;var s=t.getModel(),u=s.getModel("emphasis"),g=t.getLayout(),f=r.X$({},g);f.label=null;var y=t.getVisual("style");y.lineJoin="bevel";var v=t.getVisual("decal");v&&(y.decal=(0,c.w)(v,n));var m=(0,p.i)(s.getModel("itemStyle"),f,!0);r.X$(f,m),r.__(d.BV,function(e){var t=a.ensureState(e),o=s.getModel([e,"itemStyle"]);t.style=o.getItemStyle();var i=(0,p.i)(o,f);i&&(t.shape=i)}),e?(a.setShape(f),a.shape.r=g.r0,l.LW(a,{shape:{r:g.r}},o,t.dataIndex)):(l.oi(a,{shape:f},o),(0,l.ap)(a)),a.useStyle(y),this._updateLabel(o);var x=s.getShallow("cursor");x&&a.attr("cursor",x),this._seriesModel=o||this._seriesModel,this._ecModel=i||this._ecModel;var w=u.get("focus"),_="relative"===w?r.yB(t.getAncestorsIndices(),t.getDescendantIndices()):"ancestor"===w?t.getAncestorsIndices():"descendant"===w?t.getDescendantIndices():w;(0,d.Lm)(this,_,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,o=this.node.getModel(),i=o.getModel("label"),n=this.node.getLayout(),a=n.endAngle-n.startAngle,l=(n.startAngle+n.endAngle)/2,s=Math.cos(l),h=Math.sin(l),p=this,c=p.getTextContent(),y=this.node.dataIndex,v=i.get("minAngle")/180*Math.PI;function m(e,t){var o=e.get(t);return null==o?i.get(t):o}c.ignore=!(i.get("show")&&!(null!=v&&Math.abs(a)<v)),r.__(d.wV,function(i){var d,v="normal"===i?o.getModel("label"):o.getModel([i,"label"]),x="normal"===i,w=x?c:c.ensureState(i),_=e.getFormattedLabel(y,i);x&&(_=_||t.node.name),w.style=(0,u.VB)(v,{},null,"normal"!==i,!0),_&&(w.style.text=_);var I=v.get("show");null==I||x||(w.ignore=!I);var b=m(v,"position"),N=x?p:p.states[i],M=N.style.fill;N.textConfig={outsideFill:"inherit"===v.get("color")?M:null,inside:"outside"!==b};var S=m(v,"distance")||0,A=m(v,"align"),L=m(v,"rotate"),D=.5*Math.PI,T=1.5*Math.PI,C=(0,g.n)("tangential"===L?Math.PI/2-l:l),R=C>D&&!(0,f.dh)(C-D)&&C<T;"outside"===b?(d=n.r+S,A=R?"right":"left"):A&&"center"!==A?"left"===A?(d=n.r0+S,A=R?"right":"left"):"right"===A&&(d=n.r-S,A=R?"left":"right"):(d=a===2*Math.PI&&0===n.r0?0:(n.r+n.r0)/2,A="center"),w.style.align=A,w.style.verticalAlign=m(v,"verticalAlign")||"middle",w.x=d*s+n.cx,w.y=d*h+n.cy;var V=0;"radial"===L?V=(0,g.n)(-l)+(R?Math.PI:0):"tangential"===L?V=(0,g.n)(Math.PI/2-l)+(R?Math.PI:0):r.Et(L)&&(V=L*Math.PI/180),w.rotation=(0,g.n)(V)}),c.dirtyStyle()},t}(s.A),v=o(64044),m=o(89487),x="sunburstRootToNode",w="sunburstHighlight",_=o(14151),I=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o}return(0,i.C6)(t,e),t.prototype.render=function(e,t,o,i){var n,a,l=this;this.seriesModel=e,this.api=o,this.ecModel=t;var s=e.getData(),d=s.tree.root,u=e.getViewRoot(),h=this.group,p=e.get("renderLabelForZeroData"),c=[];u.eachNode(function(e){c.push(e)}),function(i,n){function a(e){return e.getId()}function l(r,a){(function(i,r){if(p||!i||i.getValue()||(i=null),i!==d&&r!==d){if(r&&r.piece){var n;i?(r.piece.updateData(!1,i,e,t,o),s.setItemGraphicEl(i.dataIndex,r.piece)):(n=r)&&n.piece&&(h.remove(n.piece),n.piece=null)}else if(i){var a=new y(i,e,t,o);h.add(a),s.setItemGraphicEl(i.dataIndex,a)}}})(null==r?null:i[r],null==a?null:n[a])}(0!==i.length||0!==n.length)&&new v.A(n,i,a,a).add(l).update(l).remove(r.cF(l,null)).execute()}(c,this._oldChildren||[]),n=d,(a=u).depth>0?(l.virtualPiece?l.virtualPiece.updateData(!1,n,e,t,o):(l.virtualPiece=new y(n,e,t,o),h.add(l.virtualPiece)),a.piece.off("click"),l.virtualPiece.on("click",function(e){l._rootToNode(a.parentNode)})):l.virtualPiece&&(h.remove(l.virtualPiece),l.virtualPiece=null),this._initEvents(),this._oldChildren=c},t.prototype._initEvents=function(){var e=this;
1this.group.off("click"),this.group.on("click",function(t){var o=!1;e.seriesModel.getViewRoot().eachNode(function(i){if(!o&&i.piece&&i.piece===t.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)e._rootToNode(i);else if("link"===r){var n=i.getModel(),a=n.get("link");if(a){var l=n.get("target",!0)||"_blank";(0,_.JW)(a,l)}}o=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:x,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var o=t.getData().getItemLayout(0);if(o){var i=e[0]-o.cx,r=e[1]-o.cy,n=Math.sqrt(i*i+r*r);return n<=o.r&&n>=o.r0}},t.type="sunburst",t}(n.A),b=o(56980),N=o(67232),M=o(5485),S=o(54985),A=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.type=t.type,o.ignoreStyleOnData=!0,o}return(0,i.C6)(t,e),t.prototype.getInitialData=function(e,t){var o={name:e.name,children:e.data};(function e(t){var o=0;r.__(t.children,function(t){e(t);var i=t.value;r.cy(i)&&(i=i[0]),o+=i});var i=t.value;r.cy(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=o),i<0&&(i=0),r.cy(t.value)?t.value[0]=i:t.value=i})(o);var i=this._levelModels=r.Tj(e.levels||[],function(e){return new M.A(e,this,t)},this),n=N.A.createTree(o,this,function(e){e.wrapMethod("getItemModel",function(e,t){var o=i[n.getNodeByDataIndex(t).depth];return o&&(e.parentModel=o),e})});return n.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var o=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return o.treePathInfo=(0,m.ev)(i,this),o},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){(0,S.A)(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(b.A),L=Math.PI/180;function D(e,t,o){t.eachSeriesByType(e,function(e){var t=e.get("center"),i=e.get("radius");r.cy(i)||(i=[0,i]),r.cy(t)||(t=[t,t]);var n=o.getWidth(),a=o.getHeight(),l=Math.min(n,a),s=(0,f.lo)(t[0],n),d=(0,f.lo)(t[1],a),u=(0,f.lo)(i[0],l/2),h=(0,f.lo)(i[1],l/2),p=-e.get("startAngle")*L,c=e.get("minAngle")*L,g=e.getData().tree.root,y=e.getViewRoot(),v=y.depth,m=e.get("sort");null!=m&&function e(t,o){var i=t.children||[];t.children=function(e,t){if(r.Tn(t)){var o=r.Tj(e,function(e,t){var o=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return o}},index:t}});return o.sort(function(e,o){return t(e.params,o.params)}),r.Tj(o,function(t){return e[t.index]})}var i="asc"===t;return e.sort(function(e,t){var o=(e.getValue()-t.getValue())*(i?1:-1);return 0===o?(e.dataIndex-t.dataIndex)*(i?-1:1):o})}(i,o),i.length&&r.__(t.children,function(t){e(t,o)})}(y,m);var x=0;r.__(y.children,function(e){!isNaN(e.getValue())&&x++});var w=y.getValue(),_=Math.PI/(w||x)*2,I=y.depth>
10,b=(h-u)/(y.height-(I?-1:1)||1),N=e.get("clockwise"),M=e.get("stillShowZeroSum"),S=N?1:-1,A=function(t,o){if(t){var i=o;if(t!==g){var n=t.getValue(),a=0===w&&M?_:n*_;a<c&&(a=c),i=o+S*a;var h=t.depth-v-(I?-1:1),p=u+b*h,y=u+b*(h+1),m=e.getLevelModel(t);if(m){var x=m.get("r0",!0),L=m.get("r",!0),D=m.get("radius",!0);null!=D&&(x=D[0],L=D[1]),null!=x&&(p=(0,f.lo)(x,l/2)),null!=L&&(y=(0,f.lo)(L,l/2))}t.setLayout({angle:a,startAngle:o,endAngle:i,clockwise:N,cx:s,cy:d,r0:p,r:y})}if(t.children&&t.children.length){var T=0;r.__(t.children,function(e){T+=A(e,o+T)})}return i-o}};if(I){var D=2*Math.PI;g.setLayout({angle:D,startAngle:p,endAngle:p+D,clockwise:N,cx:s,cy:d,r0:u,r:u+b})}A(y,p)})}var T=o(82694);function C(e){var t={};e.eachSeriesByType("sunburst",function(e){var o=e.getData(),i=o.tree;i.eachNode(function(n){var a=n.getModel().getModel("itemStyle").getItemStyle();a.fill||(a.fill=function(e,o,i){for(var n=e;n&&n.depth>1;)n=n.parentNode;var a=o.getColorFromPalette(n.name||n.dataIndex+"",t);return e.depth>1&&(0,r.Kg)(a)&&(a=(0,T.yY)(a,(e.depth-1)/(i-1)*.5)),a}(n,e,i.root.height));var l=o.ensureUniqueItemVisual(n.dataIndex,"style");(0,r.X$)(l,a)})})}var R=o(76264);function V(e){e.registerChartView(I),e.registerSeriesModel(A),e.registerLayout((0,r.cF)(D,"sunburst")),e.registerProcessor((0,r.cF)(R.A,"sunburst")),e.registerVisual(C),e.registerAction({type:x,update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t,o){var i=(0,m.mw)(e,[x],t);if(i){var r=t.getViewRoot();r&&(e.direction=(0,m.x5)(r,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}})}),e.registerAction({type:w,update:"none"},function(e,t,o){e=(0,r.X$)({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t){var o=(0,m.mw)(e,[w],t);o&&(e.dataIndex=o.node.dataIndex)}),o.dispatchAction((0,r.X$)(e,{type:"highlight"}))}),e.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(e,t,o){e=(0,r.X$)({},e),o.dispatchAction((0,r.X$)(e,{type:"downplay"}))})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.