if(!_.tag_cloud_part){_.tag_cloud_part=1;(function($){var Eoa=function(a){var b=new $.vh;b.parent(a);return b},Foa=function(a,b){a.Mn=b;a.Mn.push("#000");a.QU=!!b;a.reset()},X7=function(a,b){$.ox.call(this);this.Fa("tagCloud");this.nr=["x","value"];this.ga="category";this.Ja=this.O=window.NaN;var c=[$.Z.D6],d={};$.T(d,[["fill",16,1],["fontFamily",16388,1],["fontStyle",16388,1],["fontVariant",16388,1],["fontWeight",16388,1],["fontSize",16388,1]]);var e={};$.T(e,[["fill",0,0],["fontFamily",0,0],["fontStyle",0,0],["fontVariant",0,0],["fontWeight",0,0],
["fontSize",0,0]]);this.ca=new $.Yx(this,d,$.Zl,c);this.xa=new $.Yx(this,e,$.po,c);this.Ca=new $.Yx(this,e,$.qo,c);this.ca.Fa(this.ma);$.W(this,"normal",this.ca);$.W(this,"hovered",this.xa);$.W(this,"selected",this.Ca);this.state=new $.Vw(this);this.data(a||null,b);$.T(this.ua,[["mode",4,1],["fromAngle",8192,1],["toAngle",8192,1],["anglesCount",8192,1],["textSpacing",4,1]]);this.Xa()},Y7=function(a,b){$.z(b)?(a.ee("fill",b),a.ee("fill-opacity",1)):(a.ee("fill",b.color),a.ee("fill-opacity",b.opacity))},
Z7=function(a,b,c){if(c!=$.Zl){var d=c==$.po?a.xa:a.Ca;d=d.i(b);var e=$.oo(d);if(null!=d&&!$.E(d)&&!e)return d}var f=a.aa().o("item");c=a.ca.i(b);var h=$.oo(c);if(null==c||h){switch(b){case "fontFamily":var k=f.font;break;case "fill":k=f.fill;break;case "fontStyle":k=f.style;break;case "fontVariant":k=f.variant;break;case "fontWeight":k=f.weight;break;case "fontSize":k=f.size}c=k}else $.E(c)&&("fill"==b?k=a.Ae():(k=a.Ec(),k.sourceValue=c),c=c.call(k,k));if(d){if(e)return c*(0,window.parseFloat)(d)/
100;"fill"==b?k=a.Ae(c):(k=a.Ec(),k.sourceValue=c);return d.call(k,k)}return c},Goa=function(a,b){if(b){var c=a.f/3,d=a.g/3,e=a.g/50,f=$.Va(e,~~d+1),h=$.Pa(f,function(a){a=$.kg().measure(b.text,{fontStyle:b.style,fontFamily:b.font,fontSize:a,fontWeight:b.weight,fontVariant:b.variant});var e=$.xo(a,"center");e=$.Jb($.bb(b.rotate),e.x,e.y);a=$.hn(a)||[];e.transform(a,0,a,0,4);a=$.jn(a);e=a.width;a=a.height;return e>c||a>d?-1:e==c||a==d?0:1});0>h&&(h=~h-1);a.O=e;a.Ja=f[$.Za(h,0,f.length)]}},Hoa=function(a,
b,c,d,e){if(!c.kE){var f=b.context,h=b.ratio;f.clearRect(0,0,2048/h,2048/h);var k=b=0,l=0,m=d.length;--e;for(var p=a.i("textSpacing");++e<m;){c=d[e];f.save();a="";"normal"!=c.style&&(a+=c.style+" ");"normal"!=c.weight&&(a+=c.weight+" ");"normal"!=c.variant&&(a+=c.variant+" ");f.font=a+~~((c.size+1)/h)+"px "+c.font;a=f.measureText(c.text).width*h;var q=c.size<<1;if(c.rotate){var r=Math.sin($.bb(c.rotate)),t=Math.cos($.bb(c.rotate)),u=a*t,v=a*r;t*=q;a=q*r;a=Math.max(Math.abs(u+a),Math.abs(u-a))+31>>
5<<5;q=~~Math.max(Math.abs(v+t),Math.abs(v-t))}else a=a+31>>5<<5;q>l&&(l=q);2048<=b+a&&(b=0,k+=l,l=0);if(2048<=k+q)break;f.translate((b+(a>>1))/h,(k+(q>>1))/h);c.rotate&&f.rotate($.bb(c.rotate));f.fillText(c.text,0,0);p&&(f.lineWidth=2*p,f.strokeText(c.text,0,0));f.restore();c.width=a;c.height=q;c.gja=b;c.jja=k;c.rj=a>>1;c.Xe=q>>1;c.qj=-c.rj;c.se=-c.Xe;c.o1=!0;b+=a}f=f.getImageData(0,0,2048/h,2048/h).data;for(h=[];0<=--e;)if(c=d[e],c.o1){a=c.width;l=a>>5;q=c.Xe-c.se;for(m=0;m<q*l;m++)h[m]=0;b=c.gja;
if(null==b)break;k=c.jja;p=0;u=-1;for(v=0;v<q;v++){for(m=0;m<a;m++)r=f[2048*(k+v)+(b+m)<<2]?1<<31-m%32:0,h[l*v+(m>>5)]|=r,p|=r;p?u=v:(c.se++,q--,v--,k++)}c.Xe=c.se+u;c.kE=h.slice(0,(c.Xe-c.se)*l)}}},Ioa=function(a,b){var c=a[0],d=a[1];b.x+b.qj<c.x&&(c.x=b.x+b.qj);b.y+b.se<c.y&&(c.y=b.y+b.se);b.x+b.rj>d.x&&(d.x=b.x+b.rj);b.y+b.Xe>d.y&&(d.y=b.y+b.Xe)},Joa=function(a){var b=4*a.f/a.g,c=0,d=0;return function(a){var e=0>a?-1:1;switch(Math.sqrt(1+4*e*a)-e&3){case 0:c+=b;break;case 1:d+=4;break;case 2:c-=
b;break;default:d-=4}return[c,d]}},Koa=function(a){for(var b=[],c=-1;++c<a;)b[c]=0;return b},Loa=function(a,b,c,d,e){for(var f=c.x,h=c.y,k=0,l,m;l=a.ab(k);){k+=1;m=~~l[0];l=~~l[1];if(Math.min(Math.abs(m),Math.abs(l))>=e)break;c.x=f+m;c.y=h+l;if(!(m=0>c.x+c.qj||0>c.y+c.se||c.x+c.rj>a.f||c.y+c.Xe>a.g)&&(m=d))a:{m=a.f;m>>=5;l=c.kE;var p=c.width>>5;var q=c.x-(p<<4);for(var r=q&127,t=32-r,u=c.Xe-c.se,v=(c.y+c.se)*m+(q>>5),w=0;w<u;w++){for(var x=q=0;x<=p;x++)if((q<<t|(x<p?(q=l[w*p+x])>>>r:0))&b[v+x]){m=
!0;break a}v+=m}m=!1}if(!m&&(!d||c.x+c.rj>d[0].x&&c.x+c.qj<d[1].x&&c.y+c.Xe>d[0].y&&c.y+c.se<d[1].y)){d=c.kE;e=c.width>>5;a=a.f>>5;m=c.x-(e<<4);f=m&127;h=32-f;k=c.Xe-c.se;m=(c.y+c.se)*a+(m>>5);for(p=0;p<k;p++){for(r=l=0;r<=e;r++)b[m+r]=b[m+r]|l<<h|(r<e?(l=d[p*e+r])>>>f:0);m+=a}delete c.kE;return!0}}return!1},Moa=function(a){var b=a.aa(),c=a.nn(),d=a.na,e=a.Mn,f=(0,window.parseFloat)(b.get("value")),h=b.get("category"),k=b.la();if($.K(c,$.Uy)&&$.n(h)){var l=h;b.o("category",h);b=a.ca.i("fill");$.E(b)&&
(a={sourceColor:a.cc().nc(k),category:h},b=b.call(a,a));e.push($.Vb(b))}else a.Kb?l=f:(b.o("category",void 0),l=$.Vb(Z7(a,"fill",0)),e.push(l),l=$.D(l)?l.color:l,b.o("category",l));c.Uc(l);d.Uc(f)},Noa=function(a,b){var c=new X7(a,b);c.bE(c.ma);return c},Ooa={ana:"spiral",x7:"rect"};$.H(X7,$.ox);$.xq(X7,"fill fontFamily fontStyle fontVariant fontWeight fontSize".split(" "),"normal");X7.prototype.sa=$.ox.prototype.sa|258064;var $7={};
$.hq($7,[[0,"mode",function(a,b){return $.xk(Ooa,a,b||"spiral")}],[0,"fromAngle",$.qq],[0,"toAngle",$.qq],[0,"anglesCount",$.qq],[0,"textSpacing",$.qq]]);$.U(X7,$7);$.g=X7.prototype;$.g.Na=function(){return"tag-cloud"};$.g.mc=function(){return this};$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Ii=function(){return!0};$.g.Te=function(){return[this]};
$.g.Rd=function(a){var b=new $.sA(this,a);this.aa().select(a)&&b.Fx()&&(a=b.get("value")/this.Eg("sum"),b.Ia("yPercentOfTotal",$.Qm(100*a,2)),b.Ia("percentValue",a));return b};$.g.es=function(){return null};$.g.aa=function(){return this.Nd||(this.Nd=this.oa.aa())};$.g.vc=function(){return this.Nd=this.oa.aa()};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(512,1)}};$.g.If=function(a){$.X(a,2)&&this.B(65536,129)};
$.g.Ae=function(a){var b=this.aa(),c=b.la();a=a||this.cc().nc(c)||"blue";c={};var d=this.nn(),e=b.get("value");b=b.o("category");c.value=e;c.category=b;if(d){e=$.K(d,$.Uy)&&$.n(b)?b:e;if(this.Kb||$.n(b))var f=d.yq(e);$.Sc(c,{scaledColor:f,colorScale:this.Kb})}c.sourceColor=a;return c};$.g.nn=function(){return this.Kb||this.Ra||(this.Ra=$.Vy())};
$.g.Ec=function(){var a=this.aa();this.de||(this.de=new $.rw);this.de.Ag(a).mj([this.Rd(a.la()),this]);a={x:{value:a.get("x"),type:"string"},value:{value:a.get("value"),type:"number"},name:{value:a.get("name"),type:"string"},index:{value:a.la(),type:"number"},chart:{value:this,type:""}};$.av(this.de,a);return this.de};$.g.xk=function(){return this.Ec()};$.g.Ai=function(){var a=this.aa().o("item");return{value:{x:this.ka+a.x*this.Ga,y:this.ya+a.y*this.Ga}}};$.g.Uk=function(){};
$.g.Xj=function(a,b){var c=this.aa().o("item");if(c&&c.uC){var d=$.Xl(a),e=$.Vb(Z7(this,"fill",d)),f=Z7(this,"fontFamily",d),h=Z7(this,"fontStyle",d),k=Z7(this,"fontVariant",d),l=Z7(this,"fontWeight",d),m=Z7(this,"fontSize",d),p=this.P()?this.P().Ha():null,q=p&&!p.ff();q&&p.suspend();Y7(c.Ri,e);c.Ri.ee("font-family",f);c.Ri.ee("font-style",h);c.Ri.ee("font-variant",k);c.Ri.ee("font-weight",l);c.Ri.ee("font-size",m);c.Ri.zIndex(d==$.Zl?0:1E-6);q&&p.resume();return b}};$.g.Wp=$.ia;
$.g.WK=function(a){var b=this.Yj();a=$.A(a)?a.length?a[0]:window.NaN:a;if(b&&b.target()&&!(0,window.isNaN)(a)){var c=b.target().aa();c.select(a);a=this.nn();c=$.K(a,$.Uy)?c.o("category"):c.get(this.nr[1]);$.tN(b,c)}};$.g.Iz=function(){var a=this.Yj();a&&a.enabled()&&$.uN(a)};
$.g.Ig=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}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=$.N(c);a.pointIndex=c;return{type:b,actualTarget:a.target,
series:this,pointIndex:c,target:this,originalEvent:a,point:this.Rd(c)}};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget).index;if(!$.n(b)&&$.Zw(this.state,$.po)){var c=$.ex(this.state,$.po);c.length&&(b=c[0])}b=$.N(b);(0,window.isNaN)(b)||(a.pointIndex=b);return a};$.g.fm=function(){};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Ni=function(a){return $.n(a)?(this.Vc().selectionMode(a),this):this.Vc().i("selectionMode")};
$.g.Mi=function(a,b){if(!this.enabled())return this;var c=this.P()?this.P().Ha():null,d=c&&!c.ff();d&&c.suspend();var e=!(b&&b.shiftKey);$.A(a)?(b||this.ae(),this.state.xh($.qo,a,e?$.po:void 0)):$.ea(a)&&this.state.xh($.qo,a,e?$.po:void 0);d&&c.resume();return this};$.g.ae=function(a){if(this.enabled()){var b=this.P()?this.P().Ha():null,c=b&&!b.ff();c&&b.suspend();var d;$.n(a)?d=a:d=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.qo,d);c&&b.resume()}};
$.g.Hi=function(a){if(!this.enabled())return this;var b=this.P()?this.P().Ha():null,c=b&&!b.ff();c&&b.suspend();if($.A(a)){for(var d=$.ex(this.state,$.po),e=0;e<d.length;e++)$.Aa(a,d[e])||this.state.Hh($.po,d[e]);$.cx(this.state,a)}else $.ea(a)&&(this.Pd(),$.cx(this.state,a));c&&b.resume();return this};
$.g.Pd=function(a){var b;(b=$.Zw(this.state,$.po))||(b=!!(this.state.Nj()&$.po));if(b&&this.enabled()){var c=(b=this.P()?this.P().Ha():null)&&!b.ff();c&&b.suspend();var d;$.n(a)?d=a:d=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.po,d);c&&b.resume()}};
$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}this.jg!==a&&(this.jg=a,$.qd(this.jd),$.K(a,$.pr)?this.oa=this.jd=a.tj():$.K(a,$.zr)?this.oa=this.jd=a.ie():this.oa=(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(4352,1));return this}return this.oa};$.g.Id=function(){this.B(4352,1)};$.g.BY=function(a){return $.n(a)?(a=$.A(a)?$.Ha(a):null,this.D!=a&&(this.D=a,this.B(16388,1)),this):this.D};
$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,3,null,this.kg,this)){var b=this.na==a;this.na=a;this.na.da(b);b||this.B(131072,1)}return this}return this.na};$.g.kg=function(){this.B(131072,1)};$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(65536,129);else if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;this.Kb.da(b);b||($.pN(this.Yj()),this.B(65536,129))}return this}return this.Kb};$.g.Cp=function(a){$.X(a,6)&&this.B(65536,129)};
$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.Yj=function(a){this.Yb||(this.Yb=new $.oN,$.W(this,"colorRange",this.Yb),$.L(this.Yb,this.uz,this),this.B(32772,1));return $.n(a)?(this.Yb.K(a),this):this.Yb};$.g.uz=function(a){var b=0,c=0;$.X(a,1)&&(b|=32772,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,2)&&(b|=32768,c|=8);this.B(b,c)};
$.g.Tu=function(a){return $.no(this.Yj(),a)};$.g.bm=function(a){var b,c=[],d;if("categories"==a&&(d=$.K(this.nn(),$.Uy)?this.nn():void 0)){var e=d.Xq();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,qe:f}})}}return c};$.g.ts=function(a){return"categories"==a};
$.g.er=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){var f=[];c=c.qe;for(var h=d.vc();h.advance();){var k=h.get("value"),l=h.o("category");c==e.pn($.n(l)?l:k)&&f.push(h.la())}"single"==this.Vc().i("hoverMode")?b.Jf={W:d,md:f}:b.Jf=[{W:d,md:f,xn:f[f.length-1],we:{index:f[f.length-1],Yf:0}}]}}};
$.g.bq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){c=c.qe;for(var f=d.vc(),h=[];f.advance();){var k=f.get("value"),l=f.o("category");c==e.pn($.n(l)?l:k)&&h.push(f.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:h}:e.Jf=[{W:d,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}];(d=$.jr(this,"colorRange"))&&d.enabled()&&d.target()&&$.tN(d,$.n(c.No)?c.No:(c.start+c.end)/2)}}};
$.g.aq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){if("single"==this.Vc().i("hoverMode")){var d=$.mo(b.domTarget);d&&(d.W=c.W)}(c=$.jr(this,"colorRange"))&&c.enabled()&&c.target()&&$.uN(c)}};$.g.pba=function(a){return[this.f/this.g*(a*=.1)*Math.cos(a),a*Math.sin(a)]};
$.g.getContext=function(a){a.width=a.height=1;var b=Math.sqrt(a.getContext("2d").getImageData(0,0,1,1).data.length>>2);a.width=2048/b;a.height=2048/b;a=a.getContext("2d");a.fillStyle=a.strokeStyle="red";a.textAlign="center";return{context:a,ratio:b}};
$.g.ob=function(){var a=this.na;if(a){var b,c=this.nn();if(this.J(8192)){var d=this.i("anglesCount");var e=this.i("fromAngle");var f=this.i("toAngle");f-=e;this.ba=[];for(b=0;b<d;b++)this.ba.push(e+f/(1==d?d:d-1)*b);this.D||this.B(16388);this.I(8192)}if(this.J(4096)){var h=this.vc();this.U=[];this.b&&this.b.forEach(function(a,b){a.Ri.parent(null);a.$k.parent(null);a.$k.ll();this.U[b]=a},this);this.b=[];this.Mn=[];a.tg();for(c.tg();h.advance();){b=String(h.get("x")).toLowerCase();e=(0,window.parseFloat)(h.get("value"));
f=h.get("category");var k=h.la();var l=this.U[k]?this.U[k]:{};l.rowIndex=k;l.text=b;l.value=e;l.uC=!1;l.Lna=f;this.b.push(l);h.o("item",l);Moa(this)}a.Cg();c.Cg();this.Kb||($.Ka(this.Mn,void 0,function(a){return $.D(a)?a.color+" "+a.opacity:a}),Foa(c,this.Mn));$.Ra(this.b,function(a,b){return b.value-a.value});this.B(16388);this.I(200704)}if(this.J(196608)){this.Mn=[];h=this.vc();a.tg();for(c.tg();h.advance();)Moa(this);c.Cg();this.Kb||($.Ka(this.Mn,void 0,function(a){return $.D(a)?a.color+" "+a.opacity:
a}),Foa(c,this.Mn));this.J(65536)&&this.B(49680);this.J(131072)&&this.B(49156);this.I(196608)}if(this.J(16384)){var m=this.D?this.D:this.ba;var p=Math.max((0,$.za)(m,0),0);d=m.length;a=this.b.length?this.b[0].value:window.NaN;h=this.aa();c=this.b.length;var q=0;this.b.forEach(function(a,b){var c=$.Xl($.$w(this.state,a.rowIndex));h.select(a.rowIndex);var e=Z7(this,"fontFamily",c),f=Z7(this,"fontStyle",c),k=Z7(this,"fontVariant",c),l=Z7(this,"fontWeight",c);c=$.Vb(Z7(this,"fill",c));a.font=e;a.style=
f;a.variant=k;a.weight=l;a.fill=c;a.rotate=m[(b+p+d)%d];q+=a.value},this);this.Ia("sum",q);this.Ia("max",a);this.Ia("min",this.b.length?this.b[c-1].value:window.NaN);this.Ia("average",q/c);this.Ia("pointsCount",c);this.I(16384)}}};$.g.Pu=function(){this.ob()};
$.g.ei=function(a){var b=this.scale(),c=$.jr(this,"colorRange");this.J(32768)&&c&&($.V(c),c.scale(this.nn()),c.target(this),c.ib(this),c.da(!1),c.enabled()&&this.B(4));if(this.J(4)){c&&c.enabled()?(c.ja(a.clone().round()),this.j=c.qd()):this.j=a.clone();this.f=this.j.width;this.g=this.j.height;this.ab="spiral"==this.i("mode")?this.pba:Joa(this);a=this.b.length;var d=this.b[0],e=-1,f=null,h=this.getContext(this.canvas?this.canvas:this.canvas=window.document.createElement("canvas")),k=Koa((this.f>>
5)*this.g),l=Math.sqrt(this.f*this.f+this.g*this.g);Goa(this,d);for(this.b.forEach(function(a){this.aa().select(a.rowIndex);delete a.size;delete a.kE;var c=$.Xl($.$w(this.state,a.rowIndex));c=Z7(this,"fontSize",c);var d=$.Za(b.transform(a.value),0,1);d=~~(this.O+d*(this.Ja-this.O));a.size=null!=c?$.oo(c)?d*(0,window.parseFloat)(c)/100:c:d},this);++e<a;)d=this.b[e],d.x=this.f>>1,d.y=this.g>>1,Hoa(this,h,d,this.b,e),d.o1&&Loa(this,k,d,f,l)&&(f?Ioa(f,d):f=[{x:d.x+d.qj,y:d.y+d.se},{x:d.x+d.rj,y:d.y+d.Xe}],
d.x-=this.f>>1,d.y-=this.g>>1);a=f?Math.min(this.f/Math.abs(f[1].x-this.f/2),this.f/Math.abs(f[0].x-this.f/2),this.g/Math.abs(f[1].y-this.g/2),this.g/Math.abs(f[0].y-this.g/2))/2:1;this.ub||(this.ub=this.La.Dd());(e=$.jr(this,"background"))&&this.ub.zIndex((e.zIndex()||0)+1);this.G||(this.G=this.ub.Dd(),$.du(this,this.G));this.re||(this.re=this.ub.Dd());this.ka=this.j.left+(this.f>>1);this.ya=this.j.top+(this.g>>1);this.Ga=a;this.ub.jc(a,0,0,a,this.ka,this.ya);var m=this.ub.Gd;this.b.forEach(function(a){var b=
[a.x,a.y];m.transform(b,0,b,0,1);if(b[0]+a.qj<this.j.left||b[0]+a.rj>this.j.$a()||b[1]+a.se<this.j.top||b[1]+a.Xe>this.j.Ua())a.uC&&(a.Ri.parent(null),a.$k.parent(null)),a.uC=!1;else{a.uC||(a.Ri=a.Ri?a.Ri.parent(this.re):Eoa(this.re),a.Ri.ee("text-anchor","middle"),a.Ri.td(!0),a.Ri.text(a.text.toLowerCase()),a.Ri.cursor("default"),a.$k=a.$k?a.$k.parent(this.G):Eoa(this.G),a.$k&&(a.$k.tag={W:this,index:a.rowIndex}),a.$k.ee("fill","#fff"),a.$k.ee("opacity",1E-6),a.$k.ee("text-anchor","middle"),a.$k.text(a.text.toLowerCase()),
a.$k.cursor("default"),a.uC=!0);var c=$.Xl($.$w(this.state,a.rowIndex));this.aa().select(a.rowIndex);b=$.Vb(Z7(this,"fill",c));var d=Z7(this,"fontFamily",c),e=Z7(this,"fontStyle",c),f=Z7(this,"fontVariant",c),h=Z7(this,"fontWeight",c);c=Z7(this,"fontSize",c);Y7(a.Ri,b);a.Ri.ee("font-family",d);a.Ri.ee("font-style",e);a.Ri.ee("font-variant",f);a.Ri.ee("font-weight",h);a.Ri.ee("font-size",c);a.Ri.ee("transform","translate("+[a.x,a.y]+")rotate("+a.rotate+")");a.Ri.zIndex(0);a.$k.ee("font-family",d);
a.$k.ee("font-style",e);a.$k.ee("font-variant",f);a.$k.ee("font-weight",h);a.$k.ee("font-size",c);a.$k.ee("transform","translate("+[a.x,a.y]+")rotate("+a.rotate+")");a.$k.zIndex(0)}},this);this.I(16);this.I(4)}this.J(32768)&&(c&&($.V(c),c.P(this.La),c.$(),c.da(!1)),this.I(32768));if(this.J(16)){var p=this.vc();this.b.forEach(function(a){var b=$.Xl($.$w(this.state,a.rowIndex));p.select(a.rowIndex);a.uC&&a.Ri&&Y7(a.Ri,$.Vb(Z7(this,"fill",b)))},this);this.I(16)}};$.g.HC=function(){return["x"]};
$.g.IC=function(a){return a.get("x")};$.g.GC=function(a){a=a.get("name");return $.z(a)?a:null};$.g.mG=function(){return this.data().$c("category")?["value","category"]:["value"]};$.g.Ej=function(){return!this.aa().Gb()};$.g.zv=function(a){var b;$.z(a)?(b=$.Rs(a,null))||(b=null):$.D(a)?(b=$.Rs(a.type,!0),b.K(a)):b=null;return b};$.g.bE=function(a){var b=a.scale;(b=this.zv(b))&&this.scale(b);b=a.colorScale;(b=this.zv(b))&&this.sd(b)};
$.g.X=function(a,b){X7.u.X.call(this,a,b);$.zq(this,$7,a,b);this.bE(a);this.data(a.data);this.BY(a.angles);this.cc(a.palette);this.Yj().ia(!!b,a.colorRange);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};
$.g.F=function(){var a=X7.u.F.call(this);$.Hq(this,$7,a);a.data=this.data().F();$.n(this.D)&&(a.angles=this.D);a.scale=this.scale().F();this.sd()&&(a.colorScale=this.sd().F());a.colorRange=this.Yj().F();a.palette=this.cc().F();a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return{chart:a}};
$.g.R=function(){for(var a=0;a<this.b.length;a++){var b=this.b[a];$.qd(b.Ri);$.qd(b.$k);$.qd(b.kE)}$.td(this.re,this.G,this.ub,this.ca,this.xa,this.Ca,this.Yb,this.state,this.Ea,this.oa,this.jd);this.Ea=this.state=this.na=this.Kb=this.Yb=this.Ca=this.xa=this.ca=this.ub=this.G=this.re=null;delete this.oa;this.jd=null;X7.u.R.call(this)};var a8=X7.prototype;a8.getType=a8.Na;a8.data=a8.data;a8.angles=a8.BY;a8.scale=a8.scale;a8.colorScale=a8.sd;a8.colorRange=a8.Yj;a8.palette=a8.cc;a8.normal=a8.Sa;
a8.hovered=a8.mb;a8.selected=a8.selected;a8.hover=a8.Hi;a8.unhover=a8.Pd;a8.select=a8.Mi;a8.unselect=a8.ae;a8.getPoint=a8.Rd;$.Jp["tag-cloud"]=Noa;$.F("anychart.tagCloud",Noa);}).call(this,$)}
