text: /**
   * AnyChart is lightweight robust charting library with great API and Docs, that works with your stack and has tons of chart types and features.
   *
   * Modules: tree-data, color-scales, theme-color-scales, treemap-part, theme-treemap
   * Version: 8.7.1.1930 (2019-12-17)
   * License: https://www.anychart.com/buy/
   * Contact: sales@anychart.com
   * Copyright: AnyChart.com 2019. All rights reserved.
   */
  (function(global,factory){if(typeof module==='object'&&typeof module.exports==='object'){var wrapper=function(w){if(!w.document){throw Error('AnyChart requires a window with a document');}factory.call(w,w,w.document);try{w.acgraph.isNodeJS=Object.prototype.toString.call(global.process)=="[object process]";}catch(e){};return w.anychart;};module.exports=global.document?wrapper(global):wrapper;}else{factory.call(global,window,document)}})(typeof window!=='undefined'?window:this,function(window,document,opt_noGlobal){var $,_,$_=this.anychart;if($_&&(_=$_._)){$=$_.$}else{throw Error('anychart-base.min.js module should be included first. See modules explanation at https://docs.anychart.com/Quick_Start/Modules for details');$={};_={}}if(!_.tree_data){_.tree_data=1;(function($){}).call(this,$)}
  if(!_.color_scales){_.color_scales=1;(function($){var xM,AM,BM,CM,FM;$.uM=function(a,b){var c=a.i("fontSize")!=b;null===b?delete a.yd.fontSize:a.yd.fontSize=b;c&&a.u(4)};$.vM=function(a){var b={};$.Bc(a.La,function(a,d){if($.n(a)){if("adjustByHeight"==d||"adjustByWidth"==d)d="adjustFontSize";b[d]=this.ed(d)}},a);return b};$.wM=function(a,b){return $.pk(Bea,a,b||"clip")};xM=function(){$.cy.call(this)};
  $.yM=function(){$.ey.call(this);this.Fa("defaultColorRange");$.Ft(this,this,this.ng,this.Cg,null,this.ng);this.tc.sa(this,"mousedown",this.Bv);this.ze|=1024;$.T(this.ua,[["length",this.ze,9],["align",this.ze,9],["colorLineSize",this.ze,9]])};$.zM=function(a){a.line&&(a.line.gl(),a.line.remove(),a.line=null);a.lines&&(a.lines.length=0)};
  AM=function(a){if(a.b){var b=a.scale();if(b&&$.K(b,$.uy)){a.N={};for(var c=a.b,d=c.xc();d.advance();){var e=($.n(c.ga)?d.o(c.ga):null)||d.get(c.Qe?c.Qe.kl:c.ir[1]);!(e=b.kn(e))||(0,window.isNaN)(e.start)||(0,window.isNaN)(e.end)||(a.N[e.sourceIndex]||(a.N[e.sourceIndex]=[]),a.N[e.sourceIndex].push(d.la()))}}}};BM=function(a,b,c){var d=0;b.enabled()&&(d=b.i("length"),b=b.i("position"),d="center"==b?Math.max((d-a.i("colorLineSize"))/2,0):$.n(c)?0<c?"outside"==b?0:d:0>c?"inside"==b?0:d:d:d);return d};
  CM=function(a){var b=0,c=$.Yq(a,"marker");if(c&&c.enabled()){a=a.i("orientation");b=2*c.i("size");var d=c.i("offsetX");c=c.i("offsetY");d=$.n(d)?d:0;c=$.n(c)?c:0;switch(a){case "top":b+=c;break;case "right":b-=d;break;case "bottom":b-=c;break;case "left":b+=d}}return b};
  $.DM=function(a,b){if(a.b){var c=a.scale(),d=$.Yq(a,"marker"),e=a.b,f=e.td()||(e.hn?e.hn():void 0),h=d&&d.enabled();e=e.enabled()&&f==c;if(a.enabled()&&h&&c&&e&&(c=a.line.lb(),h=$.Za(a.scale().transform(b,.5),0,1),!(0,window.isNaN)(h))){e=a.i("orientation");f=d.i("size");switch(e){case "top":var k=c.left+c.width*h;var l=c.top+c.height+f;var m=180;break;case "bottom":k=c.left+c.width*h;l=c.top-f;m=0;break;case "left":k=c.left+c.width+f;l=c.top+c.height-c.height*h;m=90;break;case "right":k=c.left-f,
  l=c.top+c.height-c.height*h,m=-90}$.V(d);d.pa("rotation",m);d.Ec({value:{x:k,y:l}});d.da(!1);d.Y();d.Hd().visible(!0)}}};$.EM=function(a){var b=$.Yq(a,"marker");a.scale()&&b&&b.Hd().visible(!1)};FM=function(){$.yM.call(this)};$.Nw.prototype.hn=$.ca(22,function(){return this.Lb});var Bea={Wja:"always-show",Qka:"clip",wla:"drop"};$.H(xM,$.cy);
  xM.prototype.TZ=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);b=1==a?b+e:b-e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.top-d/2;var h=-a}else"center"==e?(f=c.top+(c.height-a)/2,h=a):"inside"==e&&(f=c.Ta()+d/2,h=a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
  xM.prototype.hR=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;a=this.i("length");e=this.i("position");"outside"==e?(c=c.Za()+d/2,d=a):"center"==e?(c=c.left+(c.width-a)/2,d=a):(c=c.left-d/2,d=-a);this.path.moveTo(c,b);this.path.lineTo(c+d,b)};
  xM.prototype.cR=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);b=1==a?b+e:b-e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.Ta()+d/2;var h=a}else"center"==e?(f=c.top+(c.height-a)/2,h=a):"inside"==e&&(f=c.top-d/2,h=-a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
  xM.prototype.fR=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.left-d/2;var h=-a}else"center"==e?(f=c.left+(c.width-a)/2,h=a):"inside"==e&&(f=c.Za()+d/2,h=a);this.path.moveTo(f,b);this.path.lineTo(f+h,b)};$.H($.yM,$.ey);var GM={};$.Yp(GM,[[0,"colorLineSize",$.fq],$.Z.AI,$.Z.CI]);$.U($.yM,GM);$.g=$.yM.prototype;$.g.ra=$.ey.prototype.ra|1024;$.g.Rk=function(){return new xM};$.g.zE=function(){this.line||($.K(this.scale(),$.ry)?this.line=$.ek():$.K(this.scale(),$.uy)&&(this.line=$.ck(),this.lines=[]),this.line.zIndex(this.zIndex()),this.line.parent(this.P()),this.line.cursor("pointer"),$.Et(this,this.line));return this.line};
  $.g.ar=function(a){this.Il||(this.Il=new $.rx,$.W(this,"marker",this.Il),this.Il.Ec({value:{x:0,y:0}}),$.L(this.Il,this.H8,this));return $.n(a)?(this.Il.K(a),this.u(1024,1),this):this.Il};$.g.H8=function(a){$.X(a,1)&&this.u(1024,1)};$.g.target=function(a){return $.n(a)?(this.b!=a&&(this.b=a,AM(this),$.L(this.b,this.$ia,this)),this):this.b};$.g.$ia=function(a){$.X(a,132)&&AM(this)};
  $.g.Op=function(a,b){var c=this.scale(),d={};if($.K(c,$.ry)){var e=(0,window.parseFloat)(b);var f=c.DD(e);var h="number"}else if($.K(c,$.uy)){e=b;f=c.Sa().names()[a];h="string";var k=c.kn(b);k&&(d.colorRange={value:{color:k.color,end:k.end,name:k.name,start:k.start,index:k.sourceIndex},type:""})}d.index={value:a,type:"number"};d.value={value:f,type:h};d.tickValue={value:e,type:"number"};d.max={value:$.n(c.max)?c.max:null,type:"number"};d.min={value:$.n(c.min)?c.min:null,type:"number"};d.scale={value:c,
  type:""};return $.Bu(new $.Rv(d))};
  $.g.fP=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if($.K(f,$.ry))this.line.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if($.K(f,$.uy)){d=f.Rq();f=f.Oj();for(var h=a.width/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c-e).lineTo(q,c-e).close();
  p.stroke(this.i("stroke"));p.fill(m)}}};
  $.g.yE=function(a,b,c,d,e){c=a.left-c/2+d;var f=this.scale();if($.K(f,$.ry))this.line.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c+e,a.top-b+a.height).lineTo(c+e,a.top+b).close();else if($.K(f,$.uy)){d=f.Rq();f=f.Oj();for(var h=a.height/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k-1);p.moveTo(c,q).lineTo(c,q+h).lineTo(c+e,q+h).lineTo(c+e,q).close();
  p.stroke(this.i("stroke"));p.fill(m)}}};
  $.g.wE=function(a,b,c,d,e){c=a.top-c/2+d;var f=this.scale();if($.K(f,$.ry))this.line.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c+e).lineTo(a.left+b,c+e).close();else if($.K(f,$.uy)){d=f.Rq();f=f.Oj();for(var h=a.width/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c+e).lineTo(q,c+e).close();p.stroke(this.i("stroke"));
  p.fill(m)}}};
  $.g.xE=function(a,b,c,d,e){c=a.left+a.width+c/2-d;var f=this.scale();if($.K(f,$.ry))this.line.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c-e,a.top-b+a.height).lineTo(c-e,a.top+b).close();else if($.K(f,$.uy)){d=f.Rq();f=f.Oj();for(var h=a.height/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k-1);p.moveTo(c,q).lineTo(c,q+h).lineTo(c-e,q+h).lineTo(c-
  e,q).close();p.stroke(this.i("stroke"));p.fill(m)}}};
  $.g.Gp=function(){var a=this.zE(),b=this.scale();b||this.scale($.sy());if($.K(b,$.ry))a.clear(),a.stroke(this.i("stroke")),b=$.Vb(b.Oj()),this.Hb()?b.angle=0:b.angle=90,a.fill(b);else if($.K(b,$.uy))for(a=0,b=this.lines.length;a<b;a++)this.lines[a].clear();switch(this.i("orientation")){case "top":var c=this.fP;break;case "right":c=this.yE;break;case "bottom":c=this.wE;break;case "left":c=this.xE}a=this.i("stroke");a=$.Yb(a);a=!a||$.No(a)?0:a.thickness?(0,window.parseFloat)(a.thickness):1;b=0==a%2?
  0:.5;var d=this.mb(),e=CM(this),f=Math.round(this.i("colorLineSize")),h=BM(this,this.Sa(),1),k=BM(this,this.pb(),1);c.call(this,d,b,a,Math.max(h,k,e),f)};
  $.g.mb=function(){if(!this.gq||this.J(4)){var a=this.ja();if(a){a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);if(this.Hb()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=this.lg(b);c=this.width()?$.M(this.width(),c):$.iy(this,a,d);var e=this.padding(),f=$.M(e.i("top"),a.height),h=$.M(e.i("right"),a.width),k=$.M(e.i("bottom"),a.height);e=$.M(e.i("left"),a.width);var l=this.i("align"),m;this.Hb()?(d+h+e>b&&(d=b-(h+e)),"left"==
  l||"top"==l?m=e:"right"==l||"bottom"==l?m=b-d-h:"center"==l&&(m=(b-d-h-e)/2)):(d+k+f>b&&(d=b-(k+f)),"left"==l||"top"==l?m=f:"right"==l||"bottom"==l?m=b-d-k:"center"==l&&(m=(b-d-k-f)/2));switch(this.i("orientation")){case "top":var p=a.top+f;var q=a.left+m;var r=c;var t=d;break;case "right":p=a.top+m;q=a.left+a.width-c-h;r=d;t=c;break;case "bottom":p=a.top+a.height-c-k;q=a.left+m;r=c;t=d;break;case "left":p=a.top+m,q=a.left+e,r=d,t=c}this.gq=new $.J(Math.round(q),Math.round(p),Math.round(t),Math.round(r))}else this.gq=
  new $.J(0,0,0,0);this.I(4)}return this.gq};$.g.lg=function(a){return $.M(this.i("length"),a)};
  $.g.$Y=function(a,b){var c=this.Sa(),d=this.pb(),e=c.i("position"),f=d.i("position");c=BM(this,c);var h=BM(this,d);d=CM(this);"outside"==e?"outside"==f?e=Math.max(a+c,b+h):(e="inside"==f?Math.max(a+c,b):Math.max(a+c,b+h),d=Math.max(h,d)):"inside"==e?"outside"==f?(e=Math.max(a,b+h),d=Math.max(c,d)):(e="inside"==f?Math.max(a,b):Math.max(a,b+h),d=Math.max(c,h,d)):"outside"==e?(e=Math.max(a+c,b+h),d=Math.max(c,d)):(e="inside"==f?Math.max(a+c,b):Math.max(a+c,b+h),d=Math.max(c,h,d));f=this.i("stroke");
  f=!f||$.No(f)?0:f.thickness?(0,window.parseFloat)(f.thickness):1;f=Math.round(this.i("colorLineSize"))+f;return e+d+f};$.g.scale=function(a){(a=$.yM.B.scale.call(this,a))||(this.g||(this.g=$.sy(),this.g.Oj("#fff","#000")),a=this.g);return a};$.g.PR=function(){return 48};$.g.eg=function(a){$.X(a,2)&&$.zM(this);$.yM.B.eg.call(this,a)};
  $.g.Y=function(){if(!this.Bc())return this;var a=$.Yq(this,"marker");this.J(1024)&&(a&&(a.P(this.P()),a.zIndex(this.zIndex()+1),a.Y(),a.Hd().visible(!1)),this.I(1024));if(a&&(this.J(2)&&a.P(this.P()),this.J(8))){var b=this.zIndex();a.zIndex(b+1)}return $.yM.B.Y.call(this)};
  $.g.Bv=function(a){if(this.b){var b=this.scale(),c=this.b,d=c&&(c.td()||(c.hn?c.hn():void 0));if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.lb();if(this.Hb()){var e=a.clientX;var f=d.left+$.Nj(this.P().Ha()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Nj(this.P().Ha()).y,d=(d.height-(e-f))/d.height;d=b.Pc(d);a.metaKey||a.shiftKey||!c.map||c.map.Yd();if($.K(b,$.uy))d=b.kn(d),b&&c&&(e=this.N[d.sourceIndex],b=c.mc(),b=b.Wc(),"single"==b.i("hoverMode")?this.Hf={W:c,pd:e}:this.Hf=[{W:c,pd:e,tn:e[e.length-
  1],ue:{index:e[e.length-1],$f:0}}]);else if($.K(b,$.ry)){a=c.xc();e=window.Infinity;for(var h=window.NaN,k=b.th(),l=b.Mh();a.advance();){f=a.get(c.Qe?c.Qe.kl:c.ir[1]);f=$.Za(f,k,l);var m=Math.abs(d-f);e>m&&(e=m,h=f)}e=[];a=c.xc();for(d=h;a.advance();)f=a.get(c.Qe?c.Qe.kl:c.ir[1]),f=$.Za(f,k,l),f==d&&e.push(a.la());b&&c&&(b=c.mc(),b=b.Wc(),"single"==b.i("hoverMode")?this.Hf={W:c,pd:e}:this.Hf=[{W:c,pd:e,tn:e[e.length-1],ue:{index:e[e.length-1],$f:0}}])}}}};
  $.g.ng=function(a){if(this.b){var b=this.scale(),c=this.b,d=c.td()||(c.hn?c.hn():void 0);if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.lb();if(this.Hb()){var e=a.clientX;var f=d.left+$.Nj(this.P().Ha()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Nj(this.P().Ha()).y,d=(d.height-(e-f))/d.height;d=b.Pc(d);if($.K(b,$.uy)){a=b.kn(d);var h=this.N[a.sourceIndex];b=c.mc();f=b.Wc();"single"==f.i("hoverMode")?this.Hf={W:c,pd:h}:this.Hf=[{W:c,pd:h,tn:h[h.length-1],ue:{index:h[h.length-1],$f:0}}]}else if($.K(b,
  $.ry)&&c){f=c.xc();h=window.Infinity;for(var k=window.NaN,l=b.th(),m=b.Mh();f.advance();){e=f.get(c.Qe?c.Qe.kl:c.ir[1]);e=$.Za(e,l,m);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=c.xc();for(d=k;f.advance();)e=f.get(c.Qe?c.Qe.kl:c.ir[1]),e=$.Za(e,l,m),e==d&&h.push(f.la());b&&c&&(b=c.mc(),f=b.Wc(),"single"==f.i("hoverMode")?(this.Hf&&!(0,$.rC)(h,function(a){return $.Aa(this.Hf.pd,a)},this)&&b.dispatchEvent(b.Bk("hovered",a,[{W:c,pd:[],ue:{index:this.Hf.pd[this.Hf.pd.length-1],$f:0}}],!1)),this.Hf={W:c,
  pd:h}):this.Hf=[{W:c,pd:h,tn:h[h.length-1],ue:{index:h[h.length-1],$f:0}}])}$.DM(this,d)}}};$.g.Cg=function(){$.EM(this);var a=this.b;a&&(this.Pa=a)};$.g.remove=function(){var a=$.Yq(this,"marker");a&&a.remove();$.yM.B.remove.call(this)};$.g.F=function(){var a=$.yM.B.F.call(this);$.uq(this,GM,a);a.marker=this.ar().F();return a};$.g.X=function(a,b){$.yM.B.X.call(this,a,b);$.mq(this,GM,a,b);this.ar(a.marker)};$.g.R=function(){$.od(this.Il,this.g);this.g=this.Il=null;$.yM.B.R.call(this)};$.H(FM,$.yM);
  $.Kt(FM,$.yM);var HM=$.yM.prototype;HM.marker=HM.ar;HM=FM.prototype;$.F("anychart.standalones.colorRange",function(){var a=new FM;a.Fa("standalones.colorRange");return a});HM.padding=HM.padding;HM.draw=HM.Y;HM.parentBounds=HM.ja;HM.container=HM.P;}).call(this,$)}
  if(!_.theme_color_scales){_.theme_color_scales=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{defaultColorRange:{enabled:!1,stroke:"#B9B9B9",orientation:"bottom",title:{enabled:!1},colorLineSize:10,padding:{top:10,right:0,bottom:0,left:0},margin:0,align:"center",length:"50%",marker:{padding:3,positionFormatter:$.ZL,enabled:!0,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,type:"triangle-down",fill:"#333 0.85",stroke:"none",size:7},labels:{offsetX:0,offsetY:0,fontSize:11,padding:0},ticks:{stroke:"#B9B9B9",position:"outside",
  length:5,enabled:!0},minorTicks:{stroke:"#B9B9B9",position:"outside",length:3,enabled:!1}},defaultOrdinalColorScale:{inverted:!1,ticks:{maxCount:100},autoColors:function(a){return $.Bl("#90caf9","#01579b",a)}},defaultLinearColorScale:{maxTicksCount:1E3,colors:["#90caf9","#01579b"],minimumGap:0,maximumGap:0}});$.ra($.fa.anychart.themes.defaultTheme.standalones,{colorRange:{enabled:!0,zIndex:50}});}).call(this,$)}
  if(!_.treemap_part){_.treemap_part=1;(function($){var d8=function(a,b){function c(a){a.enabled(null)}$.hC.call(this,a,b);this.Fa("treeMap");this.b=null;this.O=[];this.j=[];this.state=new $.uw(this);this.D={};this.G={};this.data(a,b);var d={};$.T(d,[["fill",16,65],["stroke",16,65],["hatchFill",16,65],["labels",0,0],["markers",0,0],["headers",0,0]]);this.ba=new $.zx(this,d,$.Vl);this.ba.pa("labelsAfterInitCallback",$.Fx);this.ba.pa("markersFactoryConstructor",$.Ex);this.ba.pa("markersAfterInitCallback",function(a){a.ob(this);a.UE="star5";$.L(a,this.Yo,
  this)});d={};$.T(d,[["fill",16,65],["stroke",16,65],["hatchFill",16,65],["labels",0,0],["markers",0,0]]);this.Ca=new $.zx(this,d,$.go);this.Ca.pa("labelsFactoryConstructor",$.Bx);this.Ca.pa("labelsAfterInitCallback",c);this.wa=new $.zx(this,d,$.fo);this.wa.pa("labelsFactoryConstructor",$.Bx);this.wa.lo("headers",[0,0]);this.wa.pa("labelsAfterInitCallback",c);$.T(this.ua,[["maxDepth",16912,129],["hintDepth",16400,1],["hintOpacity",65536,1],["maxHeadersHeight",16,1],["sort",16,1],["headersDisplayMode",
  16,1],["labelsDisplayMode",16,1]])},nna=function(a,b){var c=a.o(e8);return b.o(e8)-c},ona=function(a,b){return-nna(a,b)},pna=function(a){for(var b=0;b<a.U.length;b++){var c=a.U[b];c&&(c.o("labelIndex",void 0),c.o("markerIndex",void 0))}a.D={};a.G={}},qna=function(a,b,c){b.o("index",a.Ne++).o("depth",c);a.U.push(b);var d=b.$b();if(d){var e=0;var f=0;for(var h,k=0;k<d;k++)h=qna(a,b.Ld(k),c+1),e+=h[0],f+=h[1];c=e;a.Xj(f)&&b.o(f8,!0)}else c=b.get("value"),f=b.get("size"),c=$.N(c),f=$.N(f)||c,a.Xj(f)&&
  (b.o(f8,!0),f=c=0);b.o(e8,f);b.o(g8,c);return[c,f]},sna=function(a,b,c){"none"!=a.i("sort")&&b.sort(a.jc);a=Array(b.length);var d=c.left,e=c.top,f=c.width,h=c.height,k=f,l=h,m=(0,$.Hg)(b,function(a,b){return a+b.o(e8)},0);c=a.length;var p=f*h/m;for(m=0;m<c;m++)a[m]||(a[m]={}),a[m].wW=$.Gm(b[m].o(e8)*p,4);var q=p=0,r=k>l;m=Number.MAX_VALUE;for(var t,u=0,v=0,w;q<c;)if(t=rna(a,k,l,p,q,r),t>m){l=k=0;for(m=p;m<q;m++)w=a[m],w.x=d+u+k,w.y=e+v+l,r?l+=w.height:k+=w.width;r?u+=a[p].width:v+=a[p].height;k=f-
  u;l=h-v;r=k>l;q=p=q;m=Number.MAX_VALUE}else{for(m=p;m<=q;m++)w=a[m],w.width=1>w.vI?1:$.Gm(w.vI,4),w.height=1>w.wG?1:$.Gm(w.wG,4);m=t;q++}h=f=0;for(m=p;m<q;m++)w=a[m],w.x=d+u+f,w.y=e+v+h,r?h+=w.height:f+=w.width;for(m=0;m<c;m++)w=a[m],b[m].o("treemap_pointBounds",$.Xm(w.x,w.y,w.width,w.height))},rna=function(a,b,c,d,e,f){var h=0,k;for(k=d;k<=e;k++)h+=a[k].wW;f?(b=c/h,c=h/c):(c=b/h,b=h/b);for(k=d;k<=e;k++)d=a[k],f?(d.wG=b*d.wW,d.vI=c):(d.vI=c*d.wW,d.wG=b);d=a[e];return Math.max(d.wG/d.vI,d.vI/d.wG)},
  h8=function(a){$.K(a,$.mt)&&(a=a.Sk);return a==a.rq().Ld(0)},tna=function(a,b){var c=a.aa().f,d=c.o("treemap_pointBounds"),e=c.o(i8);if(0==e||2==e){var f=!!(b&$.go);e=!f&&!!(b&$.fo);var h=a.Ra().Ib(),k=a.kb().Ib(),l=a.selected().Ib();var m=f?l:e?k:h;var p=c.get("normal");p=$.n(p)?p.marker:void 0;var q=c.get("hovered");q=$.n(q)?q.marker:void 0;var r=c.get("selected");r=$.n(r)?r.marker:void 0;p=$.Jo(p,c.get("marker"));q=$.Jo(q,c.get("hoverMarker"));r=$.Jo(r,c.get("selectMarker"));var t=c.o("markerIndex");
  t=$.n(t)?h.Pq(t):null;var u=p&&$.n(p.enabled)?p.enabled:null,v=q&&$.n(q.enabled)?q.enabled:null,w=r&&$.n(r.enabled)?r.enabled:null;(e||f?e?null===v?k&&null===k.enabled()?null===u?h.enabled():u:k.enabled():v:null===w?l&&null===l.enabled()?null===u?h.enabled():u:l.enabled():w:null===u?h.enabled():u)?(l=a.aa().f,f=!!(b&$.go),k=!f&&!!(b&$.fo),v=l.get("normal"),v=$.n(v)?v.marker:void 0,w=l.get("hovered"),w=$.n(w)?w.marker:void 0,u=l.get("selected"),u=$.n(u)?u.marker:void 0,v=$.Jo(v,l.get("marker"),null),
  w=$.Jo(w,l.get("hoverMarker"),null),l=$.Jo(u,l.get("selectMarker"),null),u=v&&v.position?v.position:null,v=w&&w.position?w.position:null,l=l&&l.position?l.position:null,f=k&&(v||a.kb().Ib().i("position"))||f&&(l||a.selected().Ib().i("position"))||u||a.Ra().Ib().i("position"),f=$.tk(f),d={value:$.no(d,f)},t?t.Ec(d):(t=h.add(d),c.o("markerIndex",t.la()),a.G[t.la()]=c.o("index")),t.Gi(),$.tx(t,m),t.md(p,e?q:r),t.Y()):t&&(h.clear(t.la()),c.o("markerIndex",void 0))}},una=function(a,b){var c=null===a||
  a&&$.n(a.enabled)&&!a.enabled||$.da(a)&&!a,d=!b.enabled();return c||d},vna=function(a,b){var c=a.aa().f,d=c.o(j8);if(d){var e=c.o(i8),f=c.o(g8);c=$.Rl("fill",1,!0)(a,b,!1);2==e?c=$.Il(c,a.i("hintOpacity"),!0):4==e&&(c=a.f?a.f.sq(f):c);e=$.Rl("stroke",2,!0)(a,b,!1);d.stroke(e);d.fill(c)}},wna=function(a,b){var c=a.aa().f.o("treemap_hatchShape");if(null!=c){var d=$.Rl("hatchFill",3,!0)(a,b,!1);c.stroke(null).fill(d)}},xna=function(a,b,c,d){if(!(b.o(f8)||(c=c.clone(),1>c.width||1>c.height))){var e=b.$b(),
  f=b.xl(),h=null,k=b.o(i8);if(0==k||4==k)h=c.clone(),b.o("treemap_pointBounds",h);else{if(1==k){h=c;var l=b.o("index");var m=b.get("header");var p=a.Ra().headers();if(una(m,p))h=$.Xm(h.left,h.top,h.width,0);else{m=m||{};m.width||(m.width=h.width);a.aa().select(l);var q=a.Gc();l=$.M(a.i("maxHeadersHeight"),h.height);m=p.measure(q,void 0,m);m.height>l&&(m.height=l);h=$.Xm(h.left,h.top,h.width,m.height)}m=$.Xm(c.left,c.top+h.height,c.width,c.height-h.height);b.o("treemap_pointBounds",h);b.o("treemap_contentBounds",
  m)}if(2==k||3==k)h=c.clone(),b.o("treemap_pointBounds",h),b.o("treemap_contentBounds",h);sna(a,f,m||h);for(c=0;c<e;c++)f=b.Ld(c),h=f.o("treemap_pointBounds"),xna(a,f,h,d+1)}b=b.o("index");a.aa().select(b);b=$.zw(a.state,b);if(3!=k)if(1==k)a.Zd(b);else{d=a.aa().f;f=d.o("treemap_pointBounds");e=d.o(i8);c=$.kB(a.$e);d.o(j8,c);vna(a,b);f=$.Xm($.Gm(f.left,4),$.Gm(f.top,4),$.Gm(f.width,4),$.Gm(f.height,4));h=c.stroke();var r=0;h&&(r=$.ac(h));f.left+=r/2;f.width-=r;f.top+=r/2;f.height-=r;h=$.R(f.left,r);
  m=h-f.left;p=$.R(f.width,r);l=p-f.width;q=$.R(f.top,r);var t=q-f.top;r=$.R(f.height,r);var u=r-f.height;f.left=h;f.width=p-m-l;f.top=q;f.height=r-t-u;c.sf(f);if(a.ba.i("hatchFill")||a.wa.i("hatchFill")||a.Ca.i("hatchFill"))f=$.kB(a.g),f.ce(c.F()),d.o("treemap_hatchShape",f),wna(a,b);4!=e&&a.uB(c);4!=k&&(a.Zd(b),tna(a,b))}}},yna=function(a,b,c){var d=a.i("maxDepth"),e=a.i("hintDepth");if(!(c>d+e)){var f;d=b.$b();e=a.i("maxDepth");var h=a.i("hintDepth");d?c<e?f=1:c==e?f=h?2:0:c>e&&(f=c==e+h?4:3):f=
  c<=e?0:4;b.o(i8,f);a.Cc[b.o("index")]=b;if(d=b.$b())for(e=0;e<d;e++)yna(a,b.Ld(e),c+1);b=b.o(g8);0==f||2==f?a.O.push(b):4==f&&a.j.push(b)}},zna=function(a,b){var c=new d8(a,b);c.ia(!0,$.dm("treeMap"));return c};$.H(d8,$.hC);$.kq(d8,"fill stroke hatchFill labels markers headers".split(" "),"normal");d8.prototype.qa=$.hC.prototype.qa|128;d8.prototype.ra=$.hC.prototype.ra|122880;
  var k8=function(){var a={};$.Yp(a,[[0,"maxDepth",function(a){return $.O(a,1,!1)}],[0,"hintDepth",function(a){return $.O(a,0,!1)}],[0,"hintOpacity",$.Hq],[0,"maxHeadersHeight",$.gq],[0,"sort",function(a){return $.yk(a,"desc")}],[0,"headersDisplayMode",$.wM],[0,"labelsDisplayMode",$.wM]]);return a}();$.U(d8,k8);$.g=d8.prototype;$.g.Oa=function(){return"tree-map"};
  $.g.Mj=function(a,b){var c=this.aa().f;if($.n(c)&&!c.o(f8))if(1==c.o(i8))this.Zd(a);else return c.o(j8)&&(vna(this,a),wna(this,a)),this.Zd(a),tna(this,a),b};
  $.g.Eg=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}if("pointIndex"in a)var c=a.pointIndex;else if("labelIndex"in a){c=a.labelIndex;var d=a.target===this.Ra().headers();c=$.n(c)&&this.D?this.D[(d?"h":"l")+c]:null}else"markerIndex"in
  a&&(c=a.markerIndex,c=$.n(c)&&this.G?this.G[c]:null);c=$.N(c);a.pointIndex=c;return{type:b,actualTarget:a.target,series:this,pointIndex:c,target:this,originalEvent:a,point:this.Id(c)}};$.g.iK=function(a,b){a=$.A(a)&&a.length?a[0]:a;if(this.Zb&&this.Zb.target()){var c=this.Zb.target();c==b&&(c=c.aa(),c.select(a),c=c.o(g8),$.DM(this.Zb,c))}};$.g.Az=function(){this.Zb&&this.Zb.enabled()&&$.EM(this.Zb)};$.g.Pu=function(a){return $.K(a,$.yM)};
  $.g.iJ=function(a,b){b=b||{target:this};var c=$.iC(this,a);c={type:"drillchange",path:c,current:c[c.length-1]};this.Yd();this.Ol&&(this.dispatchEvent(this.Bk("selected",b,this.Ol,!0)),this.Ol=null);this.dispatchEvent(c)&&this.HD(a)};
  $.g.oj=function(a){if(a.button==$.Li&&!$.K(a.target,$.hw)&&!this.Pu(a.target)){var b=$.bo(a.domTarget),c,d=$.K(a.target,$.$t),e=$.K(a.target,$.qx);if(d||e){var f=a.target.zi();f.Ci&&f.Ci()&&(c=f);if(d){var h=a.target===this.Ra().headers();h=this.D[(h?"h":"l")+b]}else e&&(h=this.G[b])}else c=b&&b.W,h=$.ea(b.index)?b.index:a.pointIndex;c&&!c.od&&c.enabled()&&$.E(c.Eg)&&(b=this.aa(),b.select(h),b=b.f,b==this.b?h8(b)||this.iJ(b.getParent()):b.$b()?this.iJ(b):d8.B.oj.call(this,a))}};
  $.g.Kz=function(){this.st();return this.b?$.iC(this,this.b):null};$.g.Yd=function(a){if(this.enabled()){var b;$.n(a)?b=a:b=this.state.zc==$.Vl?window.NaN:void 0;this.state.Eh($.go,b)}};$.g.ru=function(){return!0};$.g.qx=function(){this.st();this.b&&!h8(this.b)&&this.HD(this.b.getParent())};$.g.js=function(a){return"categories"==a};
  $.g.Vp=function(a,b){var c=a.o();if("categories"==this.Ef().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){c=c.De;for(var f=d.xc(),h=[];f.advance();){var k=f.get(g8);c==e.kn(k)&&h.push(f.la())}if(e=$.bo(b.domTarget))"single"==this.Wc().i("hoverMode")?e.Hf={W:d,pd:h}:e.Hf=[{W:d,pd:h,tn:h[h.length-1],ue:{index:h[h.length-1],$f:0}}];this.Zb&&this.Zb.enabled()&&this.Zb.target()&&$.DM(this.Zb,(c.start+c.end)/2)}}};
  $.g.Tp=function(a,b){var c=a.o();if("categories"==this.Ef().i("itemsSourceMode")){if("single"==this.Wc().i("hoverMode")){var d=$.bo(b.domTarget);d&&(d.W=c.W)}this.Zb&&this.Zb.enabled()&&this.Zb.target()&&$.EM(this.Zb)}};
  $.g.Yl=function(a){var b,c=[];this.nb();if("categories"==a){var d=this.td();if(d&&$.K(d,$.uy)){var e=d.Rq();a=0;for(b=e.length;a<b;a++){var f=e[a];"default"!==f.name&&c.push({text:f.name,iconEnabled:!0,iconType:"square",iconFill:f.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:a,meta:{W:this,scale:d,De:f}})}}}return c};$.g.mc=function(){return this};var e8="treemap_size",g8="treemap_value",i8="treemap_type",f8="treemap_missing",j8="treemap_shape";$.g=d8.prototype;
  $.g.Xj=function(a){return(0,window.isNaN)(a)||0>=a};$.g.HD=function(a){this.b=a;this.u(16912,129)};$.g.Dea=function(a){$.X(a,1)&&this.u(16,1)};$.g.Wd=function(a){$.X(a,1)&&this.u(16,1)};$.g.Yo=function(a){$.X(a,1)&&this.u(16,1)};$.g.td=function(a){if($.n(a)){if(null===a&&this.Lb)this.Lb=null,this.u(8704,1);else if(a=$.Js(this.Lb,a,null,48,null,this.wp,this)){var b=this.Lb==a;this.Lb=a;$.md(this.f);this.Lb?this.f=$.Ds(this.Lb.Oa(),null):this.f=null;this.Lb.da(b);b||this.u(8704,1)}return this}return this.Lb};
  $.g.wp=function(a){$.X(a,6)&&this.u(8704,1)};$.g.Nj=function(a){this.Zb||(this.Zb=new $.yM,this.Zb.Re(),this.Zb.ob(this),$.L(this.Zb,this.kz,this),this.u(32772,1));return $.n(a)?(this.Zb.K(a),this):this.Zb};$.g.kz=function(a){var b=0,c=0;$.X(a,1)&&(b|=32784,c|=1);$.X(a,8)&&(b|=4,c|=8);this.u(b,c)};
  $.g.Gc=function(a){if(!this.ae||a)this.ae=new $.Rv;var b=this.aa();a=b.f;b={chart:{value:this,type:""},index:{value:b.la(),type:"number"},name:{value:a.get("name"),type:"string"},value:{value:a.o(g8),type:"number"},size:{value:a.o(e8),type:"number"}};this.ae.xg(a).ej([this]);return $.Bu(this.ae,b)};$.g.nk=function(){return this.Gc()};$.g.Ri=function(a){var b=this.aa().o("treemap_pointBounds");a=$.uk(a);return{value:$.no(b,a)}};
  $.g.Zd=function(a){var b=this.aa().f,c=b.o("treemap_pointBounds"),d=b.o(i8);if(0==d||2==d)d=!1;else if(1==d)d=!0;else return;var e;d?e=this.Ra().headers():e=this.Ra().labels();var f=d?this.i("headersDisplayMode"):this.i("labelsDisplayMode"),h;var k=d;var l=this.aa().f,m=l.o("index"),p="label",q="hoverLabel",r="selectLabel";if(k){var t=this.Ra().headers();var u=this.kb().headers();var v=null;p="header";q="hoverHeader";r=null}else t=this.Ra().labels(),u=this.kb().labels(),v=this.selected().labels();
  var w=!!(a&$.go),x=!w&&!!(a&$.fo),y=l.o("labelIndex");y=$.n(y)?t.de(y):null;var B,G=null;w?G=B=v:x?G=B=u:B=t;var C=l.get("normal");C=$.n(C)?C[p]:void 0;var I=l.get("hovered");I=$.n(I)?I[p]:void 0;var P=l.get("selected");P=$.n(P)?k?void 0:P[p]:void 0;p=$.Jo(C,l.get(p));q=x?$.Jo(I,l.get(q)):null;r=w?$.Jo(P,l.get(r)):null;P=p&&$.n(p.enabled)?p.enabled:null;I=r&&$.n(r.enabled)?r.enabled:null;C=q&&$.n(q.enabled)?q.enabled:null;var Q;k?Q=!una(x?q:p,B):Q=x||w?x?null===C?null===u.enabled()?null===P?t.enabled():
  P:u.enabled():C:null===I?null===v.enabled()?null===P?t.enabled():P:v.enabled():I:null===P?t.enabled():P;if(Q){w=this.aa().f;var S="label";I="hoverLabel";P="selectLabel";k?(B=this.Ra().headers(),Q=this.kb().headers(),u=null,S="header",I="hoverHeader",P=null):(B=this.Ra().labels(),Q=this.kb().labels(),u=this.selected().labels());v=!!(a&$.go);a=!v&&!!(a&$.fo);var va=w.get("normal");va=$.n(va)?va[S]:void 0;var xa=w.get("hovered");xa=$.n(xa)?xa[S]:void 0;C=w.get("selected");C=$.n(C)?k?void 0:C[S]:void 0;
  S=$.Jo(va,w.get(S));I=a?$.Jo(xa,w.get(I)):null;w=v?$.Jo(C,w.get(P)):null;P=S&&S.position?S.position:null;I=I&&I.position?I.position:null;w=w&&w.position?w.position:null;a=a||v?a?I?I:Q.i("position")?Q.i("position"):P?P:B.i("position"):w?w:u.i("position")?u.i("position"):P?P:B.i("position"):P?P:B.i("position");a=this.Ri(a);B=this.Gc();y?($.mu(t,m),y.Uf(B),y.Ec(a)):(y=t.add(B,a,m),l.o("labelIndex",y.la()),this.D[(k?"h":"l")+y.la()]=l.o("index"));y.Gi();$.ou(y,G);y.md(p,x?q:r);k=y}else y&&(t.clear(y.la()),
  l.o("labelIndex",void 0)),k=null;if(k){l=$.iu(k);(m=l.adjustByHeight||l.adjustByHeight)&&"same"==$.Zt(e)&&(h=$.vu(k,c.width,c.height,l.minFontSize,l.maxFontSize,l.adjustByWidth,l.adjustByHeight));m?$.uM(e,h):$.uM(e,null);l.width=null;l.height=null;if(l.adjustByWidth||l.adjustByHeight)l.fontSize=$.nu(k).yd.fontSize;h=e.measure(k.Uf(),k.Ec(),l);h=!(c.left<=h.left&&c.Za()>=h.Za()&&c.top<=h.top&&c.Ta()>=h.Ta());d&&(k.width(c.width),k.height(c.height));h&&"drop"==f&&(e.clear(k.la()),b.o("labelIndex",void 0),
  k=null);k&&("always-show"!=f?(k.width(c.width),k.height(c.height),k.clip(c)):(d||(k.width(null),k.height(null)),k.clip(null)),k.Y())}};$.g.oh=function(){return $.$b($.dm("hatchFillPalette.items.0"))};$.g.yi=function(){var a=this.aa(),b=this.oh();return{index:a.la(),sourceHatchFill:b}};$.g.we=function(a){var b=this.aa().f;a=a||$.dm("palette.items.0");return{value:b.o(g8),sourceColor:a,colorScale:this.td()}};
  $.g.Fc=function(a,b,c,d,e,f,h){e=(0==b?this.ba:1==b?this.wa:this.Ca).i(a);h?a=e:(c=c.f,h=c.get(0==b?"normal":1==b?"hovered":"selected"),a=$.Jo($.n(h)?h[a]:void 0,c.get($.Wl(b,a)),e));$.n(a)&&(a=d(a));return a};$.g.st=function(){if(this.J(4096)){pna(this);this.Ne=0;this.U=[];this.Cc=[];this.O=[];this.j=[];this.b=null;this.I(4096);var a=this.data();if(a){var b=a.$b();if(1<b)$.Xk(18);else if(!b)return;a=a.Ld(0);this.b||(this.b=a);qna(this,a,0);this.u(24592)}}};
  $.g.nb=function(){this.st();this.b&&(this.J(16384)&&(this.O=[],this.j=[],this.Cc=[],yna(this,this.b,0),this.xc(),this.I(16384),this.u(8192)),this.J(8192)&&(this.Lb&&(this.Lb.Ff()?(this.Lb.qg(),this.Lb.Tc.apply(this.Lb,this.O),this.Lb.zg()):(this.Lb.hp(),this.Lb.Tc.apply(this.Lb,this.O)),$.K(this.Lb,$.uy)&&$.bt(this.Lb.Sa()),this.f.K(this.Lb.F())),this.f&&(this.f.Ff()?(this.f.qg(),this.f.Tc.apply(this.f,this.j),this.f.zg()):(this.f.hp(),this.f.Tc.apply(this.f,this.j))),this.u(16),this.I(8192)))};
  $.g.Ui=function(a){if(!this.nf()&&(this.nb(),this.b)){this.J(32768)&&this.Zb&&($.V(this.Zb),this.Zb.scale(this.td()),this.Zb.target(this),this.Zb.da(!1),this.u(4));var b=this.Ra();this.J(4)&&(this.Zb?(this.Zb.ja(a.clone().round()),this.Cf=this.Zb.rd()):this.Cf=a.clone(),this.$e&&this.$e.clip(this.Cf),b.headers()&&b.headers().clip(this.Cf));this.J(32768)&&(this.Zb&&($.V(this.Zb),this.Zb.P(this.Ma),this.Zb.zIndex(50),this.Zb.Y(),this.Zb.da(!1)),this.I(32768));this.J(16)&&(this.$e?this.$e.clear():(this.$e=
  new $.jB(function(){return $.ak()},$.ia),this.$e.clip(this.Cf),this.$e.zIndex(30),this.$e.parent(this.Ma),b.headers().P(this.Ma).zIndex(41),b.headers().clip(this.Cf),b.labels().P(this.Ma).zIndex(40),b.Ib().P(this.Ma).zIndex(40)),this.g?this.g.clear():(this.g=new $.jB(function(){return $.ak()},$.ia),this.g.zIndex(31),this.g.parent(this.Ma),this.g.zd(!0)),b.headers().clear(),b.labels().clear(),b.Ib().clear(),pna(this),a=this.i("sort"),"desc"==a?this.jc=nna:"asc"==a&&(this.jc=ona),xna(this,this.b,this.Cf,
  0),b.headers().Y(),b.labels().Y(),b.Ib().Y(),this.I(65552));if(this.J(65536)){b=this.aa();for(b.reset();b.advance();)if(2==b.o(i8)&&(a=b.o(j8))){var c=$.Rl("fill",1,!1)(this,$.Vl,!1);c=$.Il(c,this.i("hintOpacity"),!0);a.fill(c)}this.I(65536)}}};$.g.sy=function(){this.ab().Gq()&&this.u(4,9)};
  $.g.Bw=function(a,b){var c=$.bo(b.event.domTarget),d;$.K(b.target,$.$t)||$.K(b.target,$.qx)?d=this.U[c]:d=c.node;c={};var e=1==d.o(i8);!d.$b()||e&&d==this.b||(c["drill-down-to"]={index:7,text:"Drill down",eventType:"anychart.drillTo",action:(0,$.pa)(this.iJ,this,d)});h8(this.b)||(c["drill-down-up"]={index:7,text:"Drill up",eventType:"anychart.drillUp",action:(0,$.pa)(this.iJ,this,this.b.getParent())});$.Hc(c)||(c["drill-down-separator"]={index:7.1});$.Oc(c,$.Gl($.qF["select-marquee"]),a);return c};
  $.g.pj=function(){this.st();if(this.b){var a=this.b.o(e8),b=this.b.o(g8);return this.b.o(f8)||!a&&!b}return!0};$.g.X=function(a,b){d8.B.X.call(this,a,b);if("colorScale"in a){var c=a.colorScale,d=null;$.z(c)?d=$.Ds(c,null):$.D(c)&&(d=$.Ds(c.type,null))&&d.K(c);d&&this.td(d)}$.mq(this,k8,a);this.El(a.hoverMode);this.Ji(a.selectionMode);"colorRange"in a&&this.Nj(a.colorRange)};
  $.g.F=function(){var a=d8.B.F.call(this);this.td()&&(a.colorScale=this.td().F());a.colorRange=this.Nj().F();$.uq(this,k8,a,"TreeMap");return{chart:a}};$.g.R=function(){$.od(this.ba,this.wa,this.Ca);this.Ca=this.wa=this.ba=null;d8.B.R.call(this)};var l8=d8.prototype;l8.getType=l8.Oa;l8.data=l8.data;l8.selectionMode=l8.Ji;l8.hoverMode=l8.El;l8.normal=l8.Ra;l8.hovered=l8.kb;l8.selected=l8.selected;l8.colorScale=l8.td;l8.colorRange=l8.Nj;l8.drillTo=l8.Iq;l8.drillUp=l8.qx;l8.getDrilldownPath=l8.Kz;
  l8.toCsv=l8.gk;$.zp["tree-map"]=zna;$.F("anychart.treeMap",zna);}).call(this,$)}
  if(!_.theme_treemap){_.theme_treemap=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{treeMap:{sort:"desc",labelsDisplayMode:"clip",headersDisplayMode:"always-show",colorRange:{zIndex:50},colorScale:{type:"ordinal-color"},tooltip:{enabled:!0,titleFormat:$.$L,format:$.ZL},legend:{itemsSourceMode:"categories"},maxDepth:1,hintDepth:0,hintOpacity:.4,maxHeadersHeight:"25",normal:{fill:function(){var a;this.colorScale?a=this.colorScale.valueToColor(this.value):a=$.Il(this.sourceColor,.85,!0);return a},stroke:"#e0e0e0",hatchFill:!1,labels:{enabled:!0,
  hAlign:"center",vAlign:"middle",position:"center",anchor:"center",fontColor:"#212121",format:function(){return(this.name||this.getData("id"))+"\n"+$.YL(this.value)}},markers:{enabled:!1,position:"center",size:6,fill:"#dd2c00",type:"circle"},headers:{enabled:!0,hAlign:"center",vAlign:"middle",position:"center",anchor:"center",background:{enabled:!0,fill:"#F7F7F7",stroke:"#e0e0e0"},format:$.$L}},hovered:{fill:$.hM,stroke:$.gM,hatchFill:!1,labels:{enabled:null,fontWeight:"bold"},markers:{enabled:null,
  size:8},headers:{enabled:!0,fontColor:"#333 0.85",background:{fill:"#e0e0e0",stroke:"#e0e0e0"}}},selected:{fill:"#333 0.85",stroke:"1.5 #212121",hatchFill:!1,labels:{enabled:null,fontColor:"#fafafa"},markers:{enabled:null,size:8,fill:"#333 0.85",stroke:"1.5 #212121"}}}});}).call(this,$)}
  $_=window.anychart;$_.$=$;$_._=_});