1/** 2 * AnyChart is lightweight robust charting library with great API and Docs, that works with your stack and has tons of chart types and features. 3 * 4 * Modules: graph, theme-graph 5 * Version: 8.12.0.1936 (2023-12-04) 6 * License: https://www.anychart.com/buy/ 7 * Contact: [email protected] 8 * Copyright: AnyChart.com 2023. All rights reserved. 9 */ 10(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(!_.graph){_.graph=1;(function($){var hV=function(a,b,c){c=c||new $.gb(0,0);var d=a.x,e=a.y,f=Math.cos(b);b=Math.sin(b);a.x=(d-c.x)*f-(e-c.y)*b+c.x;a.y=(d-c.x)*b+(e-c.y)*f+c.y},iV=function(){return new $.Ix(!0)},jV=function(a){function b(a){a.kb(this)}$.V.call(this);this.pa=a;this.D=[];this.mt=[];this.f={normal:{},hovered:{},selected:{}};a={};$.T(a,[["fill",0,8192],["stroke",0,8192],["shape",0,8200],["labels",0,4096],["width",0,8200],["height",0,8200]]);this.ca=new $.my(this,a,$.hm);a={};$.T(a,[["fill",0,0],["stroke",0,0],["shape", 110,0],["labels",0,0],["width",0,0],["height",0,0]]);this.za=new $.my(this,a,$.Ao);this.Ea=new $.my(this,a,$.Bo);this.ca.ta("labelsFactoryConstructor",iV);this.za.ta("labelsFactoryConstructor",iV);this.Ea.ta("labelsFactoryConstructor",iV);this.ca.ta("labelsAfterInitCallback",$.sy);this.za.ta("labelsAfterInitCallback",b);this.Ea.ta("labelsAfterInitCallback",b)},kV=function(a,b){var c=a.state(b),d=$.Co(c),e=b.id,f=b.dA,h=a.pa.group(b.groupId);if(!a.f[d][e]){var k=a.$();k.select(f);f=k.get("labels");k= 12(k=k.get(d))?k.labels?k.labels:{}:{};f=f||{};$.ra(f,k);if(!$.Nc(f)){var l=new $.Ix(!0);l.N(f)}k=a[d]().labels();k.parent()||(0==c?k.parent(a.pa.labels()):k.parent(a.ca.labels()));if(f=h?h[d]().labels():void 0)f.parent()||(0==c?f.parent(a.pa.jf().labels()):f.parent(h.Qa().labels())),k=f;l&&(k=l.parent(k));k.jg(null);$.L(k,a.ce,a);a.f[d][e]=k}return a.f[d][e]},lV=function(a){(a=a.D.pop())||(a=$.rk());a.clear();return a},mV=function(a,b){b.Fk||(b.Fk=a.sk());return b.Fk},nV=function(a,b){var c=kV(a,b); 13if(c.enabled()){var d=mV(a,b),e=a.Ic(b);e=c.sk(e);d.text(e);e=c.flatten();"auto"==c.g("anchor")&&(e=$.Sc(e),e.position=b.bI?b.bI:"center-bottom",e.anchor=b.aI?b.aI:"center-top");d.style(e);$.Nx(d);d.Hj()}},xha=function(a){for(var b in a.f)for(var c in a.f[b])a.f[b][c].R();a.f={normal:{},hovered:{},selected:{}}},oV=function(a){$.V.call(this);this.ib=a;this.Sc=new $.Cg},pV=function(a,b){b&&(a.xea=b);return a.xea},qV=function(a){$.V.call(this);this.b=a;$.T(this.ua,[["enabled",0,8192],["size",0,8192], 14["position",0,8192]])},yha=function(a,b){var c=rV(a,b,"stroke");if(!$.n(c)){c=a.b;var d=pV(b);c=c.gk(d)}return c},zha=function(a,b){var c=rV(a,b,"fill");if(!$.n(c)){c=a.b;var d=pV(b);c=c.gk(d)}return c},Aha=function(a,b){var c=rV(a,b,"size");return $.n(c)?c:a.g("size")},rV=function(a,b,c){a=a.b.$();a.select(pV(b).dA);return(a.get("arrow")||{})[c]},tV=function(a){jV.call(this,a);this.pa=a;this.type=sV;this.i=null;this.Sc=$.rk();this.G=$.pk();this.b=$.pk();this.Kf||(this.wl=$.ng().Vo(),this.Kf=$.vk(this.wl)); 15this.K=this.Kf;this.b.parent(this.G);this.K.parent(this.G);$.wl(this)},Bha=function(a,b){var c=pV(b),d=a.pa.b[c.Ke];c=a.pa.b[c.from];return $.ab($.cb(Math.atan2(d.position.y-c.position.y,d.position.x-c.position.x)))},Cha=function(a,b){var c=a.gk(b);return $.ip(c)},Dha=function(a,b){var c=a.pa.b[b.from],d=a.pa.b[b.Ke];a.clear(b);if(a.pa.gd().g("edges")){b.path=lV(a);b.path.tag=a.ho(b);b.Zp=a.state(b);var e=Cha(a,b)+a.pa.gd().g("hoverGap");b.vr=lV(a);b.vr.tag=b.path.tag;b.vr.fill($.cm);b.vr.stroke($.cm, 16e)}kV(a,b).g("enabled")&&(b.Fk=a.sk());if(a.OF().g("enabled")){e=a.OF();var f=new oV(e);f.O(e.O());b.xC=f;pV(b.xC,b)}b.path?(b.path.moveTo(c.position.x,c.position.y),b.path.lineTo(d.position.x,d.position.y),b.path.parent(a.b),b.vr.moveTo(c.position.x,c.position.y),b.vr.lineTo(d.position.x,d.position.y),b.vr.parent(a.b),b.path.stroke(a.gk(b))):(a.Sc.moveTo(c.position.x,c.position.y),a.Sc.lineTo(d.position.x,d.position.y),a.Sc.stroke(a.gk(b)));b.xC&&b.xC.W();b.Fk&&($.Lx(b.Fk),nV(a,b),$.Qx(b.Fk,a.wl), 17$.Zx(b.Fk),a.tf(b))},vV=function(a){var b=uV(a.pa);a.b.suspend();a.Sc.parent(a.b);a.Sc.clear();for(var c=uV(a.pa),d=0;d<c.length;d++)a.clear(c[d]);for(c=0;c<b.length;c++)Dha(a,b[c]);a.b.resume()},wV=function(a){jV.call(this,a);this.pa=a;this.type=Eha},xV=function(){$.V.call(this);$.T(this.ua,[["enabled",0,0],["zoomOnMouseWheel",0,0,0,function(){this.g("zoomOnMouseWheel")&&this.ta("scrollOnMouseWheel",!1)}],["scrollOnMouseWheel",0,0,0,function(){this.g("scrollOnMouseWheel")&&this.ta("zoomOnMouseWheel", 18!1)}],["nodes",0,0],["edges",0,2],["magnetize",0,0],["hoverGap",0,2]])},yV=function(a){$.V.call(this);this.pa=a;$.T(this.ua,[["type",0,1],["iterationCount",0,1]])},AV=function(a){jV.call(this,a);this.pa=a;this.type=zV;this.G=$.pk();this.b=$.pk();this.Kf||(this.wl=$.ng().Vo(),this.Kf=$.vk(this.wl));this.j=this.Kf;this.b.parent(this.G);this.j.parent(this.G);$.wl(this)},Fha=function(a,b){if("auto"==kV(a,b).g("anchor")&&"forced"==a.pa.we().g("type"))if(0==a.pa.we().g("iterationCount")){var c=a.pa.na; 19c=360-$.ab($.cb(Math.atan2(b.position.y-c.y,b.position.x-c.x)));b.aI=90<=c&&270>=c?"right-center":"left-center";b.bI="left-top"}else 1==b.ht.length?(c=b.ht[0],c=a.pa.b[c],b.position.x>c.position.x?(b.bI="right-center",b.aI="left-center"):(b.bI="left-center",b.aI="right-center")):(b.bI="center-bottom",b.aI="center-top")},Gha=function(a,b){var c=a.pB(b,"shape");c=c==$.Ok(c)?$.Cp(c):a.Lja;var d=a.zd(b),e=a.qd(b),f=b.position.x,h=b.position.y,k=b.path;k.clear();k.ia()&&k.ia().removeAttribute("transform"); 20c(k,f,h,e/2,d/2)},Hha=function(a,b){var c=a.Tm(b),d=a.gk(b);b.path.fill(c);b.path.stroke(d)},Iha=function(a,b){if($.n(b))Gha(a,b),Hha(a,b);else for(var c=BV(a.pa),d=0;d<c.length;d++){var e=a,f=c[d];Gha(e,f);Hha(e,f)}},Jha=function(a,b){var c=b.position.x,d=b.position.y,e=a.zd(b),f=a.qd(b);b.path.setPosition(c-e/2,d-f/2);kV(a,b).enabled()&&(c=a.pa.O().Ka(),$.Qx(b.Fk,a.wl),b.Fk.Vd().removeAttribute("transform"),$.Xx(b.Fk,a.ek(b),c),$.Rx(b.Fk))},CV=function(a){$.vx.call(this);this.Ga("graph");this.b= 21{};this.K={};this.$a={};this.ea=null;this.Ja=[];this.ba=null;this.D={};this.j={};this.P={};this.mf=this.Nj=this.aa=null;this.la={nodes:null,edges:null};this.Xg=new $.Cb;this.sc=Kha(this);this.xo=!1;this.Ia=this.Ca=this.Pd=this.Za=0;this.yV=this.ud=!1;this.data(a)},EV=function(a){var b;for(b in a.j){var c=a.j[b];DV(a,c.id,zV,0);delete a.j[b]}for(b in a.P)c=a.P[b],DV(a,c.id,sV,0),delete a.P[b]},Lha=function(a){(0,$.Re)(a.Ja,function(a){DV(this,a,zV,2)},a);a.Ja.length=0},Mha=function(a){var b=null,c= 22!1;a.wc.va(a,"touchstart",function(a){c=!1;b=$.Fj(function(){this.yV||(this.xo=!1,this.Cs(a));c=!0},300,this)});a.wc.va(a,"touchend",function(a){$.Gj(b);c||this.B2(a)})},Kha=function(a){var b;return function(){$.Gj(b);b=$.Fj(a.lka,500,a)}},Nha=function(a,b){var c=a.jp(),d=c.od;return-c.We*d+b/d},Oha=function(a,b){var c=a.jp(),d=c.od;return-c.Id*d+b/d},FV=function(a,b,c){b=a.b[b];b.path.tag.Zp=c;a.Hh.state(b,c);Iha(a.Hh,b);a=a.Hh;kV(a,b).enabled()&&!b.Fk&&(b.Fk=a.sk());b.Fk&&($.Lx(b.Fk),Fha(a,b),nV(a, 23b),$.Qx(b.Fk,a.wl),$.Zx(b.Fk),a.tf(b))},Pha=function(a,b,c){a.qh.g("edges")&&(b=a.D[b],b.path.tag.Zp=c,a.i.state(b,c),Dha(a.i,b))},DV=function(a,b,c,d){switch(c){case sV:if(a.qh.g("edges")){Pha(a,b,d);b=a.D[b];c=b.from;c in a.j||FV(a,c,d);var e=b.Ke;e in a.j||FV(a,e,d);2==d&&(a.P[b.id]={id:b.id,type:sV},a.j[c]={id:c,type:zV},a.j[e]={id:e,type:zV})}break;case zV:FV(a,b,d);c=a.b[b].KC;for(e=0;e<c.length;e++){var f=c[e];f in a.P||Pha(a,f,d);2==d&&(a.P[f]={id:f,type:sV})}2==d&&(a.j[b]={id:b,type:zV})}}, 24Qha=function(a){for(var b=BV(a),c=[],d=[],e,f=0,h=0,k=b.length;h<k;h++)if(e=b[h],-1==(0,$.za)(d,e)){var l=String(f);a.$a[l]=[];c.push(e.id);for(c.push.apply(c,e.ht);e=c.pop();){var m=a.b[e];-1==(0,$.za)(d,m)&&(c.push.apply(c,m.ht),d.push(m),a.$a[l].push(e),m.nY=String(f))}f++}},Rha=function(a){var b=a.la.edges;if(0<a.la.nodes.Gb()){var c=a.la.nodes.$();for(c.reset();c.advance();){var d=c.get("id");if(null!=d)if(d=String(d),a.b[d])$.kl(902,null,[d],!0);else{var e=a.b[d]={};e.index=c.ma();e.id=d;e.dA= 25c.ma();e.KC=[];e.ht=[];e.Zp=0;e.position={x:c.get("x"),y:c.get("y")};d=c.get("group");null!=d&&(a.K[d]||(a.K[d]=null),e.groupId=d)}else $.kl(907,null,[],!0)}c.reset()}if(0<b.Gb()){b=a.la.edges.$();b.reset();for(var f;b.advance();){f=b.get("from");var h=b.get("to");c=b.get("id");null!=c?c=String(c):c=sV+"_"+b.ma();
25if(f!=h)if(e=a.b[f],d=a.b[h],e&&d){h={};h.index=b.ma();h.id=c;h.from=e.id;h.Ke=d.id;h.dA=b.ma();h.Zp=0;var k=!1;for(f=0;f<e.ht.length;f++){var l=e.ht[f];if(l==e.id||l==d.id){$.kl(900,null, 26[e.id,d.id],!0);k=!0;break}}if(!k)for(f=0;f<d.ht.length;f++)if(l=d.ht[f],l==e.id||l==d.id){$.kl(900,null,[d.id,e.id],!0);k=!0;break}k||(e.KC.push(h.id),d.KC.push(h.id),e.ht.push(d.id),d.ht.push(e.id),a.D[c]=h)}else e||$.kl(903,null,[c,f],!0),d||$.kl(903,null,[c,h],!0);else $.kl(904,null,[c,h],!0)}300<b.Gb()&&a.gd().Ga({edges:!1});b.reset()}},Sha=function(a){if(a.b)for(var b in a.b)a.Hh.clear(a.b[b]);if(a.D)for(var c in a.D)a.i.clear(a.D[c]);a.jf().$C();a.bk().$C();a.b={};a.D={};a.ea=null;a.ba=null; 27a.$a={};for(var d in a.j)delete a.j[d];for(d in a.P)delete a.P[d]},BV=function(a){if(!a.ea){a.ea=[];for(var b in a.b)a.ea.push(a.b[b])}return a.ea},uV=function(a){if(!a.ba){a.ba=[];for(var b in a.D)a.ba.push(a.D[b])}return a.ba},GV=function(a){a.G.oc(a.Xg.od,a.Xg.We,a.Xg.hf,a.Xg.Me,a.Xg.Nd,a.Xg.Id)},Tha=function(a){return new CV(a)},Uha={Eoa:"fixed",Joa:"forced"};$.H(jV,$.V);$.Jq(jV,"fill stroke labels shape height width".split(" "),"normal");$.g=jV.prototype;$.g.ra=8192|$.OE|$.PE|36875; 28$.g.Kg=function(){this.ca.Ga(this.oa);$.W(this,"normal",this.ca);$.W(this,"hovered",this.za);$.W(this,"selected",this.Ea);this.ca.labels().parent(this.pa.labels());this.za.labels().parent(this.ca.labels());this.Ea.labels().parent(this.ca.labels())};$.g.Qa=function(a){return $.n(a)?(this.ca.N(a),this):this.ca};$.g.lb=function(a){return $.n(a)?(this.za.N(a),this):this.za};$.g.selected=function(a){return $.n(a)?(this.Ea.N(a),this):this.Ea}; 29$.g.gk=function(a){var b;$.n(a)?b=this.pB(a,"stroke"):b=this.ca.g("stroke");
29$.E(b)&&(a=this.He(a),b=b.call(a,a));return b};$.g.Tm=function(a){var b=this.pB(a,"fill");$.E(b)&&(a=this.He(a),b=b.call(a,a));return b};$.g.Ma=function(){return this.type};$.g.state=function(a,b){return null!=b?(a.Zp=b,a):a.Zp||0}; 30$.g.ce=function(a){$.X(a,32768)&&this.wa($.OE);var b=this.pa,c=this.Ma(),d=$.X(a,8),e=[];if($.n(c))switch(c){case zV:case Eha:e.push("nodes");d&&b.Hh.wa($.PE);break;case sV:e.push("edges"),d&&b.i.wa($.PE)}$.X(a,1)&&(e.push("labelsStyle"),e.push("labelsEnabled"));$.X(a,2)&&e.push("labelsEnabled");$.X(a,32768)&&(e.push("labelsEnabled"),e.push("labelsStyle"));$.X(a,8)&&(e.push("labelsBounds"),e.push("labelsEnabled"),e.push("labelsStyle"));$.rr(b,"graph",e,1)}; 31$.g.sk=function(){var a=this.mt.pop();a||(a=new $.Jx);return a};$.g.pU=function(a){var b={},c=this.$();c.select(a.dA);this.i.lg(c);b.type={value:this.Ma(),type:"string"};b.id={value:a.id,type:"string"};return b};$.g.Ic=function(a){this.i||(this.i=new $.Gw);a=this.pU(a);return $.qv(this.i,a)};$.g.ho=function(a){var b={};b.type=this.Ma();b.id=a.id;b.Zp=this.state(a);return b}; 32$.g.He=function(a){var b=this.Ma(),c=b==zV?1:0,d=this.pa.cc();return $.n(a)?{index:a.index,type:b,id:a.id,sourceColor:d.nc(c)}:{sourceColor:d.nc(c)}};$.g.Ta=function(a){this.gb||(this.gb=new $.xw(0),this.gb.ef(),$.W(this,"tooltip",this.gb),this.gb.parent(this.pa.Ta()),this.gb.ya(this.pa));return $.n(a)?(this.gb.N(a),this):this.gb};$.g.U=function(a,b){jV.u.U.call(this,a,b);"tooltip"in a&&this.Ta().N(a.tooltip);this.ca.N(a);this.ca.N(a.normal);this.za.N(a.hovered);this.Ea.N(a.selected)}; 33$.g.F=function(){var a=jV.u.F.call(this);var b=this.ca.F();var c=this.za.F();var d=this.Ea.F();if(!$.Nc(b)){var e=b.labels;e&&$.Nc(e)&&delete b.labels;$.Nc(b)||(a.normal=b)}$.Nc(c)||((e=c.labels)&&$.Nc(e)&&delete c.labels,$.Nc(c)||(a.hovered=c));$.Nc(d)||((e=d.labels)&&$.Nc(e)&&delete d.labels,$.Nc(d)||(a.selected=d));return a};$.g.clear=function(a){var b=a.path;b&&(b.tag=null,b.clear(),b.parent(null),this.D.push(b),a.path=null);if(b=a.Fk)a.Fk=null,$.Qx(b,null),this.mt.push(b)};$.g.$C=function(){xha(this)}; 34$.g.R=function(){var a;for(a=0;a<this.mt.length;a++)this.mt[a].ld();for(a=0;a<this.D.length;a++)this.D[a].R();this.mt.length=0;this.D.length=0;xha(this)};var HV=jV.prototype;HV.normal=HV.Qa;HV.hovered=HV.lb;HV.selected=HV.selected;$.H(oV,$.V); 35oV.prototype.W=function(){var a=this.ib,b=rV(a,this,"enabled");if($.n(b)?b:a.g("enabled")){b=this.ib.b;a=Bha(b,this);var c=pV(this);var d=b.OF();var e=rV(d,this,"position");d=1-$.Fo($.n(e)?e:d.g("position"));e=b.pa.b[c.Ke];c=b.pa.b[c.from];var f=b.pa.jf().zd(e)+$.ip(b.pa.jf().gk(e)),h=b.pa.jf().zd(c)+$.ip(b.pa.jf().gk(c));f=new $.gb(e.position.x+f/2,e.position.y);b=new $.gb(c.position.x+h/2+Aha(b.OF(),this),c.position.y);hV(b,$.bb(a),new $.gb(c.position.x,c.position.y));hV(f,$.bb(a-180),new $.gb(e.position.x, 36e.position.y));d=new $.gb(f.x-(f.x-b.x)*d,f.y-(f.y-b.y)*d);a=Bha(this.ib.b,this);b=Aha(this.ib,this);d=d.clone();e=new $.gb(d.x-b,d.y-b/2);b=new $.gb(d.x-b,d.y+b/2);hV(e,$.bb(a),d);hV(b,$.bb(a),d);a=[d,e,b];this.Sc.parent(this.O());this.Sc.clear();this.Sc.moveTo(a[0].x,a[0].y);this.Sc.lineTo(a[1].x,a[1].y);this.Sc.lineTo(a[2].x,a[2].y);this.Sc.close();this.Sc.fill(zha(this.ib,this));this.Sc.stroke(yha(this.ib,this))}else this.Sc.parent(null)};oV.prototype.O=function(a){$.n(a)&&(this.Jc=a);return this.Jc}; 37oV.prototype.R=function(){$.pd(this.Sc);this.Sc=null;oV.u.R.call(this)};$.H(qV,$.V);qV.prototype.ra=8192;var IV={};$.vq(IV,[[0,"enabled",$.Gq],[0,"size",$.Eq],[0,"position",$.Fo]]);$.U(qV,IV);qV.prototype.O=function(a){a&&(this.Jc=a);return this.Jc};qV.prototype.F=function(){var a={};$.Wq(this,IV,a);return a};qV.prototype.U=function(a,b){$.Oq(this,IV,a,b)};$.H(tV,jV);$.g=tV.prototype;$.g.Rw=function(){for(var a=[],b=uV(this.pa),c=0;c<b.length;c++){var d=b[c],e=kV(this,d);d=mV(this,d);e.enabled()&&a.push(d)}return a}; 38$.g.ek=function(a){var b=kV(this,a),c=this.pa.b,d=c[a.from],e=c[a.Ke];c=e.position.x;var f=d.position.x;e=e.position.y;var h=d.position.y;c==f?(d=Math.max(e,h),h=d+(Math.min(e,h)-d)/2,e=c):(d=Math.max(c,f),c=Math.min(c,f),f=Math.max(e,h),h=Math.min(e,h),d==c?(e=d,h+=(f-h)/2):(e=c+(d-c)/2,h=(e-c)/(d-c)*(f-h)+h));c=this.pa.b[a.from];d=this.pa.b[a.Ke];c=new $.gb(c.position.x,c.position.y);d=new $.gb(d.position.x,d.position.y);e=new $.gb(e,h);h=Cha(this,a);f=this.Jg(a);var k=h/2;if(c.x>d.x){var l=d;d= 39c;c=l}l=$.ab($.cb(Math.atan2(c.y-d.y,c.x-d.x)));hV(c,$.bb(-l),e);hV(d,$.bb(-l),e);c.y+=k;d.y+=k;hV(c,$.bb(l),e);hV(d,$.bb(l),e);e=$.nn(c.x,c.y,f,h);e=b.padding().Dj(e);a.C4=c;a.angle=l?l+180:-270;return e}; 40$.g.tf=function(a){var b=kV(this,a),c=mV(this,a);if(c)if(b.enabled()){var d=this.pa.O().Ka();b=this.ek(a);$.Qx(c,this.wl);$.Xx(c,b,d);$.Rx(c);d=c.Vd();c=+d.getAttribute("x")-b.left;b=+d.getAttribute("y")-b.top;a.mta=c;a.nta=b;b=a.angle+","+a.C4.x+","+a.C4.y;
40a.Fk.Vd().setAttribute("transform","rotate("+b+")")}else $.Qx(c,null),$.Lx(c)};$.g.vi=function(){var a=this.pa.D;for(b in a){var b=this.pa.D[b];this.tf(b)}};$.g.Gx=function(){for(var a=uV(this.pa),b=0;b<a.length;b++)nV(this,a[b])};$.g.wia=function(){this.wa(8192)}; 41$.g.OF=function(a){this.j||(this.j=new qV(this),$.W(this,"arrows",this.j),this.j.O(this.b),$.L(this.j,this.wia,this));return $.n(a)?(this.j.N(a),this):this.j};$.g.clear=function(a){tV.u.clear.call(this,a);$.pd(a.xC);a.xC=null;a.vr&&(a.vr.tag=null,a.vr.clear(),a.vr.parent(null),this.D.push(a.vr),a.vr=null)}; 42$.g.pB=function(a,b){var c=$.Co(a.Zp),d=this[c]().g(b),e;if("fill"!=b&&"stroke"!=b){var f=this.normal().nd(b),h=this[c]().nd(b);$.n(h)?d=h:$.n(f)&&(d=f)}f=this.$();f.select(a.dA);(h=f.get(b))&&(e=h);(h=f.get(c))&&h[b]&&(e=h[b]);return $.n(e)?e:d};$.g.Jg=function(a){var b=this.pa.b[a.from];a=this.pa.b[a.Ke];return Math.sqrt(Math.pow(a.position.x-b.position.x,2)+Math.pow(a.position.y-b.position.y,2))};$.g.$C=function(){tV.u.$C.call(this);this.sd=null};$.g.$=function(){return this.sd||(this.sd=this.pa.data().edges.$())}; 43$.g.ZT=function(){return this.G};$.g.F=function(){var a=tV.u.F.call(this),b=this.Ta().F();$.Nc(b)||(a.tooltip=b);return a};$.g.R=function(){for(var a=uV(this.pa),b=0;b<a.length;b++){var c=a[b];this.clear(c);$.pd(c.xC)}tV.u.R.call(this)};var JV=tV.prototype;JV.arrows=JV.OF;JV.tooltip=JV.Ta;$.H(wV,jV);wV.prototype.Kg=function(){this.Qa().labels().parent(this.pa.jf().labels());this.lb().labels().parent(this.Qa().labels());this.selected().labels().parent(this.Qa().labels())};$.H(xV,$.V);xV.prototype.ra=2;var KV={};$.vq(KV,[[0,"enabled",$.Gq],[0,"zoomOnMouseWheel",$.Gq],[0,"scrollOnMouseWheel",$.Gq],[0,"magnetize",$.Gq],[0,"nodes",$.Gq],[0,"edges",$.Gq],[0,"hoverGap",$.Eq]]);$.U(xV,KV);xV.prototype.Je=function(a,b){return $.da(b)?(this.enabled(b),!0):!1};xV.prototype.U=function(a,b){xV.u.U.call(this,a,b);$.Oq(this,KV,a,b)};xV.prototype.F=function(){var a=xV.u.F.call(this);$.Wq(this,KV,a);return a};$.H(yV,$.V);var LV=function(){var a={};$.vq(a,[[0,"type",function(a){return $.Ak(Uha,a,"forced")}],[0,"iterationCount",$.Eq]]);return a}();$.U(yV,LV);yV.prototype.ra=1;yV.prototype.Je=function(a,b){return $.z(b)?(this.type(b),!0):!1};yV.prototype.U=function(a,b){yV.u.U.call(this,a,b);$.Oq(this,LV,a,b)};yV.prototype.F=function(){var a=yV.u.F.call(this);$.Wq(this,LV,a);return a};$.H(AV,jV);$.g=AV.prototype;$.g.ra=jV.prototype.ra|1;$.g.$C=function(){AV.u.$C.call(this);this.sd=null};$.g.$=function(){return this.sd||(this.sd=this.pa.data().nodes.$())};$.g.Rw=function(){for(var a=[],b=BV(this.pa),c=0;c<b.length;c++){var d=b[c],e=kV(this,d);d=mV(this,d);e.enabled()&&a.push(d)}return a}; 44$.g.pB=function(a,b){var c=$.Co(a.Zp),d=$.Co(0);var e=this[d]()[b]();var f=this[c]()[b]();e=$.n(f)?f:e;if("fill"!=b&&"stroke"!=b){f=this[d]().nd(b);var h=this[c]().nd(b);$.n(h)?e=h:$.n(f)&&(e=f)}f=this.pa.group(a.groupId);$.n(f)&&(d=f[d]().nd(b),f=f[c]().nd(b),null!=f?e=f:null!=d&&(e=d));f=this.$();f.select(a.dA);d=f.get(b);e=$.n(d)?d:e;return e=(d=f.get(c))&&$.n(d[b])?d[b]:e}; 45$.g.pU=function(a){var b=AV.u.pU.call(this,a),c=(0,$.Wa)(a.KC,function(b){var c=this.pa.D[b];b=c.from;c=c.Ke;return b!=a.id?b:c},this);b.siblings={value:c,type:""};return b};$.g.Gx=function(){for(var a=BV(this.pa),b=0;b<a.length;b++){var c=a[b];Fha(this,c);nV(this,c)}}; 46$.g.ek=function(a){var b=kV(this,a),c=a.position.x,d=a.position.y,e=this.qd(a),f=this.zd(a);c-=f/2;var h=d-e/2,k=this.pa.na;d=b.padding();"auto"==b.g("anchor")&&"forced"==this.pa.we().g("type")&&0==this.pa.we().g("iterationCount")&&(a=new $.gb(a.position.x,a.position.y),c=$.jb(k,a),b=(c+Math.max(f,e)/2)/c+.025,a.scale(b),c=this.pa.na.clone(),c.scale(b),b=c.y-this.pa.na.y,c=a.x-=c.x-this.pa.na.x,h=a.y-=b);return d.Dj($.nn(c,h,f,e))}; 47$.g.tf=function(a){var b=mV(this,a);if(kV(this,a).enabled()){var c=this.ek(a),d=this.pa.O().Ka();$.Qx(b,this.wl);$.Xx(b,c,d);$.Rx(b);a.Fk&&(d=kV(this,a),b=a.Fk.Vd(),b.removeAttribute("transform"),d.g("autoRotate")&&(d=this.pa.na,a=$.ab($.cb(Math.atan2(a.position.y-d.y,a.position.x-d.x))),90<=a&&270>
47=a&&(a+=180),a=$.ab(a),b.setAttribute("transform","rotate("+a+", "+c.left+", "+(c.top+c.height/2)+")")))}else $.Qx(b,null),$.Lx(b)};$.g.vi=function(){for(var a=BV(this.pa),b=0;b<a.length;b++)this.tf(a[b])}; 48$.g.qd=function(a){a=$.N(this.pB(a,"height"));return(0,window.isNaN)(a)?this.g("height"):a};$.g.zd=function(a){var b=this.pB(a,"shape");if(b===$.Ok(b))return this.qd(a);a=$.N(this.pB(a,"width"));return(0,window.isNaN)(a)?this.g("width"):a};$.g.Lja=function(a,b,c,d,e){var f=b-e,h=c-d;b+=e;c+=d;a.moveTo(f,h).lineTo(b,h).lineTo(b,c).lineTo(f,c).lineTo(f,h).close();return a};$.g.TL=function(a){a.path||(a.path=lV(this));var b=a.path;b.tag=this.ho(a);a.Zp=this.state(a);a.path=b;b.parent(this.b)}; 49$.g.ZT=function(){return this.G};$.g.F=function(){var a=AV.u.F.call(this),b=this.Ta().F();$.Nc(b)||(a.tooltip=b);return a};$.g.R=function(){for(var a=BV(this.pa),b=0;b<a.length;b++)this.clear(a[b]);AV.u.R.call(this)};var Vha=AV.prototype;Vha.tooltip=Vha.Ta;$.H(CV,$.vx);$.Jz(CV,"graph","appearance data edges labelsBounds labelsEnabled labelsStyle layout nodes rotate selection transform".split(" "));var zV="node",Eha="group",sV="edge";$.g=CV.prototype;$.g.ra=$.vx.prototype.ra|8194;$.g.sa=$.vx.prototype.sa|16;$.g.Ma=function(){return"graph"};$.g.yj=function(){return!this.la.nodes||!this.la.nodes.Gb()};$.g.Ue=function(){return[]};$.g.ss=function(){return[this]};$.g.Zj=function(){};$.g.Tx=function(a,b){return a==zV?this.Hh.Ic(this.b[b]):this.i.Ic(this.D[b])}; 50$.g.Cs=function(a){if(!this.xo){var b=a.domTarget.tag;if(b){var c=b.id,d=b.type;if(!$.zd&&a.ctrlKey||$.zd&&a.metaKey){if(2==b.Zp){if(d==zV)for(DV(this,c,zV,0),delete this.j[c],b=this.b[c],a=0;a<b.KC.length;a++)c=b.KC[a],DV(this,c,sV,0),delete this.j[c];else a=this.D[c],DV(this,a.from,zV,0),DV(this,a.Ke,zV,0),DV(this,a.id,sV,0),delete this.j[a.from],delete this.j[a.Ke],delete this.P[a.id];return}DV(this,b.id,b.type,2)}else EV(this);DV(this,b.id,b.type,2)}else EV(this)}this.xo=!1}; 51$.g.oo=function(a){if(!this.mf||!this.mf.kp){var b=a.domTarget.tag,c;if(b){var d=b.type,e=b.id;b=b.Zp;this.Ta().Kc();2!=b&&DV(this,e,d,1);d==zV?c=this.Hh.Ta():d==sV&&this.qh.g("edges")&&(c=this.i.Ta());c&&$.Pw(c,a.clientX,a.clientY,this.Tx(d,e))}else this.Ta().Kc()}};$.g.B2=function(a){if(!this.mf||!this.mf.kp){var b=a.domTarget.tag,c;if(b){var d=b.type,e=b.id;this.Ta().Kc();b.type==zV?c=this.Hh.Ta():b.type==sV&&this.qh.g("edges")&&(c=this.i.Ta());c&&$.Pw(c,a.clientX,a.clientY,this.Tx(d,e))}else this.Ta().Kc()}}; 52$.g.Yaa=function(a){a.target.tag||this.oh(a)};$.g.lka=function(){this.fb.parent(this.sb)}; 53$.g.Zaa=function(a){if(!this.mf||!this.mf.kp){var b=this.gd();if(b.g("enabled")){var c=a.deltaY;if(b.g("zoomOnMouseWheel")){var d=$.VC&&6>=Math.abs(a.deltaY)?0<a.deltaY?.8:0>a.deltaY?1.2:1:$.Za(1-a.deltaY/120,.7,2);var e=this.jp().od*d;if(.4<e&&100>e){e=BV(this).length+uV(this).length;this.qh.g("edges")&&500<e&&(this.fb.parent(null),this.sc());e=a.clientX;var f=a.clientY;$.Db(this.Xg,d,d);$.Fb(this.Xg,(e||0)*(1-d),(f||0)*(1-d));GV(this)}}b.g("scrollOnMouseWheel")&&(this.Xg.translate(0,c),GV(this)); 54a.preventDefault()}}};$.g.jp=function(){return this.Xg};$.g.hg=function(a){this.mf&&this.mf.kp&&this.gd().g("enabled")&&this.gd().g("nodes")||(a=a.domTarget.tag)&&2!=a.Zp&&DV(this,a.id,a.type,0)};$.g.ix=function(a){var b={};$.Uc(b,$.Tl($.sG["select-marquee"]),a);return b}; 55$.g.TO=function(a){var b=this.jp();a=new $.I(a.left,a.top,a.width,a.height);for(var c=new $.gb(0,0),d=BV(this),e=0;e<d.length;e++){var f=d[e];c.x=f.position.x*b.od+b.Nd;c.y=f.position.y*b.od+b.Id;$.rb(a,c)||DV(this,f.id,zV,2)}this.xo=!0};$.g.select=function(a){$.n(a)?$.A(a)||(a=[a]):a=$.Ic(this.b);(0,$.Re)(a,function(a){a in this.b&&this.Ja.push(a)},this);(0,$.Re)($.Ic(this.j),function(a){$.Aa(this.Ja,a)||this.Ja.push(a)},this);$.qr(this,"graph","selection",1)}; 56$.g.ie=function(a){$.n(a)?$.A(a)||(a=[a]):a=$.Ic(this.j);(0,$.Re)($.Ic(this.j),function(b){$.Aa(a,b)||this.Ja.push(b)},this);$.qr(this,"graph","selection",1)};$.g.FW=function(a){$.X(a,8192)&&$.rr(this,"graph",["edges","appearance"],1)};$.g.Lia=function(a){$.X(a,1)&&(this.B(4),$.rr(this,"graph",["appearance","labelsStyle","labelsBounds","labelsEnabled","layout"],1))};$.g.Jia=function(a){$.X(a,2)&&this.B(4,1)}; 57$.g.dd=function(){Sha(this);Rha(this);Qha(this);this.B(4);
57$.rr(this,"graph","data appearance labelsStyle labelsBounds labelsEnabled layout".split(" "),1)};$.g.cc=function(a){if($.J(a,$.Os))return this.Hc($.Os,a),this;if($.J(a,$.Ls))return this.Hc($.Ls,a),this;$.C(a)&&"range"==a.type?this.Hc($.Os):($.C(a)||null==this.Fa)&&this.Hc($.Ls);return $.n(a)?(this.Fa.N(a),this):this.Fa}; 58$.g.Hc=function(a,b){if($.J(this.Fa,a))b&&this.Fa.N(b);else{var c=!!this.Fa;$.pd(this.Fa);this.Fa=new a;$.W(this,"palette",this.Fa);this.Fa.Gp();b&&this.Fa.N(b);$.L(this.Fa,this.Of,this);c&&$.qr(this,"sankey","appearance",1)}};$.g.Of=function(a){$.X(a,2)&&$.qr(this,"sankey","appearance",1)};$.g.jf=function(a){this.Hh||(this.Hh=new AV(this),$.W(this,"nodes",this.Hh),this.Hh.Kg(),$.L(this.Hh,this.FW,this));return a?(this.Hh.N(a),this):this.Hh}; 59$.g.gd=function(a){this.qh||(this.qh=new xV,$.W(this,"interactivity",this.qh),$.L(this.qh,this.Jia,this));return $.n(a)?(this.qh.N(a),this):this.qh};$.g.group=function(a,b){if(null!=a){if($.n(this.K[a])){if(null===this.K[a]){var c=new wV(this);c.Kg();$.L(c,this.FW,this);this.K[a]=c}return b?(this.K[a].N(b),this):this.K[a]}$.kl(905,null,[a],!0)}};$.g.we=function(a){this.f||(this.f=new yV(this),$.W(this,"layout",this.f),$.L(this.f,this.Lia,this));return $.n(a)?(this.f.N(a),this):this.f}; 60$.g.bk=function(a){this.i||(this.i=new tV(this),$.W(this,"edges",this.i),this.i.Kg(),$.L(this.i,this.FW,this));return $.n(a)?(this.i.N(a),this):this.i};$.g.labels=function(a){this.Da||(this.Da=new $.Ix,$.W(this,"labels",this.Da));return $.n(a)?(this.Da.N(a),this):this.Da}; 61$.g.wr=function(){if(!this.mf){this.mf=new $.cg(this.Aa.ia(),this.Aa);var a,b,c,d,e=null,f,h,k,l,m=[],p,q,r;this.mf.va("start",function(h){p=this.gd().g("enabled");q=this.gd().g("nodes");r=BV(this).length+uV(this).length;if(p)if(e=h.BC.target,f=e.tag,$.zk()&&this.Ta().Kc(),f&&f.type==zV){if(q){var k=f.id;if($.Nc(this.j))l=this.b[k];else if(k in this.j)for(var t in this.j)m.push(this.b[t]);else(!$.zd&&!h.BC.ctrlKey||$.zd&&!h.BC.metaKey)&&EV(this),l=this.b[k];a=Nha(this,h.clientX);b=Oha(this,h.clientY)}}else EV(this), 62a=h.clientX,b=h.clientY;c=h.clientX;d=h.clientY},!1,this);this.mf.va("drag",function(c){if(p){this.yV=!0;this.Ta().Kc();var d=this.jp().od,e=c.clientX;c=c.clientY;if(f&&f.type==zV){if(q){e=Nha(this,e);c=Oha(this,c);h=e-a;k=c-b;a=e;b=c;m.length||m.push(l);for(d=0;d<m.length;d++){c=e=m[d];var t=h,x=k;c.position.x+=t;c.position.y+=x;c.position.lo=t;c.position.sm=x;Jha(this.Hh,e)}vV(this.i)}}else h=(e-a)/d,k=(c-b)/d,a=e,b=c,this.Xg.translate(h,k),GV(this);this.qh.g("edges")&&500<r&&this.fb.parent(null)}}, 63!1,this);this.mf.va("end",function(a){if(p){this.yV=!1;if(f&&f.type==zV&&q&&!m.length){if(this.gd().g("magnetize")){var b=this.Hh,e=l,h=b.pa.$a[e.nY],k;var t=k=window.Infinity;for(var B=e.position.x,G=e.position.y,D=0;D<h.length;D++)if(e.id!=h[D]){var K=b.pa.b[h[D]].position;if(e.position.x>K.x-5&&e.position.x<K.x+5){var O=e.position.x-K.x;O<t&&(t=O,B=K.x)}e.position.y>K.y-5&&e.position.y<K.y+5&&(O=e.position.y-K.y,O<k&&(k=O,G=K.y))}e.position.x=B;e.position.y=G;Jha(this.Hh,l)}vV(this.i)}m.length= 640}if(a.clientX!=c||d!=a.clientY)this.qh.g("edges")&&500<r&&this.sc(),this.xo=!0},!1,this)}};$.g.$aa=function(){if(!this.aa){var a=this.Aa.ia();this.aa=new $.Fx(a,!1);this.aa.va("mousewheel",this.Zaa,!1,this)}}; 65$.g.Qh=function(a){if(!this.pf()){this.Aa||(this.Aa=this.Oa.Bd(),this.jf(),this.bk(),this.we(),this.gd(),this.G=$.pk(),this.gc=$.uk(a),this.Uc=$.pk(),this.Nj=$.nk(a.left,a.top,a.width,a.height),this.Nj.fill($.cm),this.Nj.stroke(null),this.Nj.parent(this.Uc),this.Uc.parent(this.Aa),this.wc.De(this,"chartdraw",this.wr),this.wc.De(this,"chartdraw",this.$aa),$.zk()?$.tu(this,this,this.oo,this.hg,this.Cs,this.B2,null,null):(this.wc.fc(this.Oa,"contextmenu",this.oh),this.wc.va(this.Oa,"contextmenu",this.Yaa), 66Mha(this)),this.Ub=$.pk(),this.Gd=$.pk(),this.sb=$.pk(),this.fb=this.i.ZT(),this.pe=this.Hh.ZT(),this.fb.parent(this.sb),this.pe.parent(this.Gd),this.sb.parent(this.Ub),this.Gd.parent(this.Ub),this.Ub.parent(this.G),this.Aa.zIndex(30),this.Aa.clip(this.gc),this.G.parent(this.Aa),this.Hh.wa($.OE),this.i.wa($.OE));if($.ur(this,"graph","layout")){var b=this.we();switch(b.g("type")){case "forced":var c=BV(b.pa),d=b.pa.$a,e;var f=c.length;var h=0;var k=2*Math.PI/f;for(e=0;e<f;e++){var l=c[e];l.velocityX= 670;l.velocityY=0;l.position.x=10*Math.cos(h);l.position.y=10*Math.sin(h);h+=k}k=b.g("iterationCount");for(var m=0;m<k;m++){e=0;for(f=c.length;e<f;e++)for(l=c[e],l.nX=0,h=l.oX=0;h<f;h++){var p=c[h];if(l!=p&&l.nY==p.nY){var q=void 0,r=void 0,t=l.position.x-p.position.x;p=l.position.y-p.position.y;var u=Math.sqrt(t*t+p*p);0!=u&&(r=t/u/u*.9,q=p/u/u*.9);p=[r,q];l.nX+=p[0];l.oX+=p[1]}}e=0;for(f=c.length;e<f;e++)for(l=c[e],l.IR=0,l.JR=0,q=l.ht,h=0;h<q.length;h++){p=b.pa.b[q[h]];r=u=void 0;t=l.position.x- 68p.position.x;p=l.position.y-p.position.y;var v=Math.sqrt(t*t+p*p);0!=v&&(u=v*v/50,r=-t/v*u*10,u=-p/v*u*10);p=[r,u];l.IR+=p[0];l.JR+=p[1]}e=0;for(f=c.length;e<f;e++)l=c[e],l.velocityX+=l.nX+l.IR,l.velocityY+=l.oX+l.JR,l.velocityX=$.Za(l.velocityX,-.12,.12),l.velocityY=$.Za(l.velocityY,-.12,.12),l.position.x+=l.velocityX,l.position.y+=l.velocityY}if(0<k&&(m=$.Ic(d),1<m.length)){c=[];for(e=0;e<m.length;e++){q=m[e];t=d[q];p=window.Infinity;r=-window.Infinity;k=window.Infinity;u=-window.Infinity;f=t.length; 69if(1==f)l=b.pa.b[t[0]],p=l.position.y-.5,k=l.position.x-.5,r=l.position.y+.5,u=l.position.x+.5;else{for(h=0;h<f;h++)l=b.pa.b[t[h]],p=Math.min(p,l.position.y),r=Math.max(r,l.position.y),u=Math.max(u,l.position.x),k=Math.min(k,l.position.x);k-=.5;u+=.5;p-=.5;r+=.5}l=Math.abs(k-u);c.push({id:q,ZI:new $.I(k,p,l,Math.abs(r-p))})}for(e=f=0;e<c.length;e++)for(l=c[e].ZI,k=(new $.gb(l.left,l.top)).Eh(),l=c[e].ZI.zd(),c[e].lo=f-k,f+=l+.5,c[e].sm=-$.sb(c[e].ZI).zs(),k=d[c[e].id],h=0;h<k.length;h++)l=b.pa.b[k[h]], 70l.position.x+=c[e].lo,l.position.y+=c[e].sm}break;case "fixed":for(d=BV(b.pa),e=0;e<d.length;e++)l=d[e],h=b.pa.data().nodes.En(l.dA),f=h.x,h=h.y,null==f&&(f=0,$.kl(901,null,[l.id,"x"],!0)),null==h&&(h=0,$.kl(901,null,[l.id,"y"],!0)),l.position.x=f,l.position.y=h}$.sr(this,"graph","layout")}if($.ur(this,"graph","rotate")){b=BV(this);d=$.sb(this.kg);for(e=0;e<b.length;e++)l=b[e],f=new $.gb(l.position.x,l.position.y),hV(f,$.bb(this.Pd),d),l.position.x=f.Eh(),l.position.y=f.zs();$.sr(this,"graph","rotate")}if(this.J(4)){b= 71this.gc.shape();b.Go(a.left);b.Ho(a.top);b.Fo(a.width);b.Eo(a.height);this.Nj.Go(a.left);this.Nj.Ho(a.top);this.Nj.Fo(a.width);this.Nj.Eo(a.height);if(this.ud||"forced"===this.we().g("type")){l=BV(this);d=a=window.Infinity;b=e=-window.Infinity;f=l.length;for(h=0;h<f;h++)c=l[h].position.x,k=l[h].position.y,a=Math.min(k,a),e=Math.max(c,e),b=Math.max(k,b),d=Math.min(c,d);b+=-a;e+=-d;m=Math.min((this.kg.width-.2*this.kg.width)/e,(this.kg.height-.2*this.kg.height)/b);m=(0,window.isFinite)(m)?m:1;for(h= 720;h<f;h++)c=l[h].position.x,k=l[h].position.y,c+=-d,k+=-a,c*=m,k*=m,l[h].position.x=c,l[h].position.y=k;b*=m;e*=m;d=a=0;f=$.sb(this.kg).Eh();l=$.sb(this.kg).zs();d=(e-d)/2+d;a=(b-a)/2+a;this.na=new $.gb(d,a);b=f-d;a=l-a;(0,window.isFinite)(b)||(b=0);(0,window.isFinite)(a)||(a=0);this.Xg.translate(-this.Ca,-this.Ia);this.Ca=b;this.Ia=a;this.Xg.translate(b,a)}else{l=BV(this);f=l.length;d=a=window.Infinity;b=e=-window.Infinity;for(h=0;h<f;h++)c=l[h].position.x,k=l[h].position.y,a=Math.min(k,a),e=Math.max(c, 73e),b=Math.max(k,b),d=Math.min(c,d);f=$.sb(this.kg).Eh();l=$.sb(this.kg).zs();d=f-((e-d)/2+d);a=l-((b-a)/2+a);this.Xg.translate(-this.Ca,-this.Ia);(0,window.isFinite)(d)||(d=0);(0,window.isFinite)(a)||(a=0);this.Ca=d;this.Ia=a;this.Xg.translate(d,a)}$.qr(this,"graph","transform");$.rr(this,"graph","edges nodes labelsStyle labelsEnabled labelsBounds appearance".split(" "));this.I(4)}$.ur(this,"graph","edges")&&(vV(this.i),$.ur(this,"graph","labelsStyle")&&this.i.Gx(),$.ur(this,"graph","labelsBounds")&& 74$.vl.measure(),$.ur(this,"graph","labelsEnabled")&&this.i.vi(),$.sr(this,"graph","edges"));if($.ur(this,"graph","nodes")){a=this.Hh;b=BV(a.pa);for(d=0;d<b.length;d++)a.TL(b[d]);$.ur(this,"graph","appearance")&&Iha(this.Hh);$.ur(this,"graph","labelsStyle")&&this.Hh.Gx();$.ur(this,"graph","labelsBounds")&&$.vl.measure();$.ur(this,"graph","labelsEnabled")&&this.Hh.vi();$.sr(this,"graph","edges")}
74$.ur(this,"graph","selection")&&(EV(this),Lha(this),$.sr(this,"graph","selection"));$.tr(this,"graph",["appearance", 75"labelsStyle","labelsBounds","labelsEnabled"]);$.ur(this,"graph","transform")&&(GV(this),$.sr(this,"graph","transform"))}};$.g.zoom=function(a,b,c){var d=this.jp();return $.n(a)?(null===a?this.CT():($.ea(b)||this.kg&&(b=this.kg.left+this.kg.width/2),$.ea(c)||this.kg&&(c=this.kg.top+this.kg.height/2),$.Db(this.Xg,a,a),$.Fb(this.Xg,(b||0)*(1-a),(c||0)*(1-a)),$.qr(this,"graph","transform",1)),this):d.od};$.g.Dh=function(){return this};$.g.Qm=function(){this.CT()};$.g.Ur=function(){this.zoom(1.3)}; 76$.g.Vr=function(){this.zoom(1/1.3)};$.g.move=function(a,b){if($.n(a))return null===a&&(a=-this.Xg.Nd,b=-this.Xg.Id),this.Xg.translate(a?a:0,b?b:0),$.qr(this,"graph","transform",1),this;var c=this.jp();return[c.Nd,c.Id]};$.g.CT=function(a){$.da(a)&&(this.ud=a,this.B(4));this.Xg.setTransform(1,0,0,1,0,0);this.Xg.translate(this.Ca,this.Ia);$.qr(this,"graph","transform",1);return this}; 77$.g.rotation=function(a){return $.n(a)?(this.Za!=a&&(null===a&&(a=0),a=$.ab(a),this.Pd=-this.Za+a,this.Za=a,this.B(4),$.rr(this,"graph",["labelsStyle","rotate","appearance"],1)),this):this.Za}; 78$.g.data=function(a){if($.n(a)){if(null===a||$.n(a.nodes)&&$.n(a.edges)){var b=a&&a.edges?a.edges:null,c;a=a&&a.nodes?a.nodes:null;this.nf!==a&&(this.nf=a,this.la&&this.la.nodes&&($.nr(this.la.nodes,this.dd),$.pd(this.la.nodes)),$.J(a,$.Pr)?c=a.Yd().Ui():$.J(a,$.Fr)?c=a.Ui():c=$.Rr(a).Yd().Ui(),$.L(c,this.dd,this),this.la.nodes=c);a=b;this.ag!==a&&(this.ag=a,this.la&&this.la.edges&&($.nr(this.la.edges,this.dd),$.pd(this.la.edges)),$.J(a,$.Pr)?c=a.Yd().Ui():$.J(a,$.Fr)?c=a.Ui():c=$.Rr(a).Yd().Ui(), 79$.L(c,this.dd,this),this.la.edges=c);Sha(this);Rha(this);Qha(this);this.B(4);$.rr(this,"graph","data appearance labelsStyle labelsBounds labelsEnabled layout".split(" "),1)}else $.kl(906,null,[],!0);return this}return this.la}; 80$.g.F=function(){var a=CV.u.F.call(this);$.Wq(this,CV.b,a);var b=this.data().nodes;b=b?b.F():b;var c=this.data().edges;c=c?c.F():c;var d;if(b)for(d=0;d<b.length;d++){var e=b[d];if(e&&e.id){var f=this.b[e.id];e.x=f.position.x;e.y=f.position.y}}a.graphData={nodes:b,edges:c};a.nodes=this.jf().F();a.edges=this.bk().F();b=this.labels().F();$.Nc(b)||(a.labels=b);a.groups=[];for(d in this.K)b={},b.id=d,b.settings=this.group(d).F(),a.groups.push(b);a.layout=this.we().F();a.interactivity=this.gd().F();d=this.Xg.clone(); 81d.translate(-this.Ca,-this.Ia);a.transformationMatrix={m00_:d.od,m10_:d.We,m01_:d.hf,m11_:d.Me,m02_:d.Nd,m12_:d.Id};a.rotation=this.rotation();return{chart:a}}; 82$.g.U=function(a,b){CV.u.U.call(this,a,b);$.Oq(this,CV.b,a,b);"graphData"in a&&this.data(a.graphData);"edges"in a&&this.bk().N(a.edges);"nodes"in a&&this.jf().N(a.nodes);if("transformationMatrix"in a){var c=a.transformationMatrix;this.Xg.setTransform(c.m00_,c.m10_,c.m01_,c.m11_,c.m02_,c.m12_)}"rotation"in a&&(this.Za=+a.rotation);"labels"in a&&this.labels().N(a.labels);"layout"in a&&(this.we().N(a.layout),"forced"==a.layout.type&&$.sr(this,"graph","layout"));if("group"in a){c=a.groups;for(var d=0;d< 83c.length;d++){var e=c[d];this.group(e.id,e.settings)}}"interactivity"in a&&this.gd().N(a.interactivity)};$.g.R=function(){$.ud(this.i,this.Hh,this.qh,this.f,this.mf);this.bk().R();this.jf().R();this.f=this.qh=this.Hh=this.i=this.ba=this.ea=null;this.D={};this.b={};this.K={};CV.u.R.call(this)};var MV=CV.prototype;MV.data=MV.data;MV.edges=MV.bk;MV.fit=MV.CT;MV.zoom=MV.zoom;MV.getCurrentScene=MV.Dh;MV.fitAll=MV.Qm;MV.zoomIn=MV.Ur;MV.zoomOut=MV.Vr;MV.select=MV.select;MV.unselect=MV.ie;MV.move=MV.move; 84MV.getType=MV.Ma;MV.group=MV.group;MV.rotation=MV.rotation;MV.nodes=MV.jf;MV.layout=MV.we;MV.interactivity=MV.gd;MV.noData=MV.Em;$.Wp.graph=Tha;$.F("anychart.graph",Tha);}).call(this,$)} 85if(!_.theme_graph){_.theme_graph=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{graph:{labels:{enabled:!1,fontSize:8,fontColor:"#7c868e",disablePointerEvents:!0,selectable:!1,anchor:"center-top",position:"center-bottom",padding:{top:0,left:0,right:0,bottom:0}},padding:10,tooltip:{displayMode:"single",positionMode:"float",separator:{enabled:!1},title:{enabled:!1},titleFormat:""},nodes:{width:12,height:12,shape:"circle",tooltip:{format:"{%id}"},labels:{format:"{%id}",enabled:!1},normal:{fill:$.CN,stroke:$.HN},hovered:{fill:$.IN,stroke:$.CN}, 86selected:{fill:"#333 0.85",stroke:"1.5 #212121"}},edges:{arrows:{enabled:!1,size:10,position:"100%"},stroke:$.IN,hovered:{stroke:$.HN},selected:{stroke:"#333 0.85"},labels:{enabled:!1,format:"from {%from} to {%to}
86"},tooltip:{format:"from: {%from}\nto: {%to}"}},layout:{type:"forced",iterationCount:500},interactivity:{enabled:!0,zoomOnMouseWheel:!0,scrollOnMouseWheel:!1,nodes:!0,edges:!0,magnetize:!1,hoverGap:7}}});}).call(this,$)} 87$_=window.anychart;$_.$=$;$_._=_});
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.