/** * Carrot Search FoamTree HTML5 (demo variant) * v3.4.10, bugfix/3.4.x/b18f7427, build FOAMTREE-SOFTWARE4-DIST-78, Nov 29, 2019 * * Carrot Search confidential. * Copyright 2002-2019, Carrot Search s.c, All Rights Reserved. */ (function() {var v=function(){var a=window.navigator.userAgent,m;try{window.localStorage.setItem("ftap5caavc","ftap5caavc"),window.localStorage.removeItem("ftap5caavc"),m=!0}catch(k){m=!1}return{nf:function(){return/webkit/i.test(a)},mi:function(){return/Mac/.test(a)},lf:function(){return/iPad|iPod|iPhone/.test(a)},hf:function(){return/Android/.test(a)},ii:function(){return"ontouchstart"in window||!!window.DocumentTouch&&document instanceof window.DocumentTouch},hi:function(){return m},gi:function(){var a=document.createElement("canvas"); return!(!a.getContext||!a.getContext("2d"))},Dd:function(a,d){return[].forEach&&v.gi()?a&&a():d&&d()}}}();var ba=function(){function a(){return window.performance&&(window.performance.now||window.performance.mozNow||window.performance.msNow||window.performance.oNow||window.performance.webkitNow)||Date.now}var m=a();return{create:function(){return{now:function(){var k=a();return function(){return k.call(window.performance)}}()}},now:function(){return m.call(window.performance)}}}();function da(){function a(){if(!c)throw"AF0";var a=ba.now();0!==g&&(k.Kd=a-g);g=a;d=d.filter(function(a){return null!==a});k.frames++;for(var e=0;e=b.repeat&&(d[e]=null)))}d=d.filter(function(a){return null!==a});c=!1;m();a=ba.now()-a;0!==a&&(k.Jd=a);k.totalTime+=a;k.Oe=1E3*k.frames/k.totalTime;g=0===d.length?0:ba.now()}function m(){0b?16-b:0)}}()}(),d=[],c=!1,g=0;this.repeat=function(a,e,b){this.cancel(a);d.push({ye:a,Xg:b,repeat:e});m()};this.d=function(a,e){this.repeat(a, 1,e)};this.cancel=function(a){for(var e=0;e=c;c++)g=2*c*Math.PI/6,l.push({x:0+100*Math.sin(g),y:0+100*Math.cos(g)});c={polygonPlainFill:[m,function(a){a.fillStyle="rgb(255, 0, 0)";a.fill()}],polygonPlainStroke:[m,function(a){a.strokeStyle="rgb(128, 0, 0)";a.lineWidth=2;a.closePath();a.stroke()}], polygonGradientFill:[m,function(a){var b=a.createRadialGradient(0,0,10,0,0,60);b.addColorStop(0,"rgb(255, 0, 0)");b.addColorStop(1,"rgb(255, 255, 0)");a.fillStyle=b;a.fill()}],polygonGradientStroke:[m,function(a){var b=a.createLinearGradient(-100,-100,100,100);b.addColorStop(0,"rgb(224, 0, 0)");b.addColorStop(1,"rgb(32, 0, 0)");a.strokeStyle=b;a.lineWidth=2;a.closePath();a.stroke()}],polygonExposureShadow:[m,function(a){a.shadowBlur=50;a.shadowColor="rgba(0, 0, 0, 1)";a.fillStyle="rgba(0, 0, 0, 1)"; a.globalCompositeOperation="source-over";a.fill();a.shadowBlur=0;a.shadowColor="transparent";a.globalCompositeOperation="destination-out";a.fill()}],labelPlainFill:[function(a){a.fillStyle="#000";a.font="24px sans-serif";a.textAlign="center"},function(a){a.fillText("Some text",0,-16);a.fillText("for testing purposes",0,16)}]};var g=100/Object.keys(c).length,e=ba.now(),b={},h;for(h in c){var n=c[h],q=ba.now(),p,r=0;do{f.save();f.translate(Math.random()*d,Math.random()*k);p=3*Math.random()+0.5;f.scale(p, p);for(p=0;pMath.abs(s))return!1;g.x=((a*d-b*c)*(e-k)-(a-c)*(e*h-f*k))/s;g.y=((a*d-b*c)*(f-h)-(b-d)*(e*h-f*k))/s;return!0}var d=1,c={x:0,y:0},g=1,l=1,e=1,b={x:0,y:0},h=1,n={x:0,y:0},q={x:0,y:0},p={x:0,y:0},r,s,w={x:0,y:0,f:0,i:0},u={x:0,y:0,f:0,i:0,scale:1},y=!0; a.c.j("stage:initialized",function(a,b,c,d){r=c;s=d;w.x=0;w.y=0;w.f=c;w.i=d;u.x=0;u.y=0;u.f=c;u.i=d;u.scale=1});a.c.j("stage:resized",function(a,d,e,f){function k(a){a.x*=g;a.y*=l}function h(a){k(a);a.f*=g;a.i*=l}r=e;s=f;var g=e/a,l=f/d;k(c);k(n);k(b);k(q);k(p);h(w);h(u)});this.$b=function(a,c){return m(c,function(){k(a,b)},!0)};this.Z=function(a,c){if(1===Math.round(1E4*c)/1E4){var d=w.x-n.x,e=w.y-n.y;m(1,function(){},!0);return this.d(-d,-e)}return m(c,function(){for(var c=!1;!c;)var c=Math.random(), d=Math.random(),e=Math.random(),k=Math.random(),c=f(a.x+c*a.f,a.y+d*a.i,w.x+c*w.f,w.y+d*w.i,a.x+e*a.f,a.y+k*a.i,w.x+e*w.f,w.y+k*w.i,b)},!0)};this.tc=function(a,c){var d,e,k,g;d=a.f/a.i;e=r/s;de?(k=a.f,g=a.f*s/r,d=a.x,e=a.y-0.5*(g-a.i)):(d=a.x,e=a.y,k=a.f,g=a.i);d-=k*c;e-=g*c;k*=1+2*c;if(f(d,e,n.x,n.y,d+k,e,n.x+r/h,n.y,b))return m(r/h/k,D.ta,!1);y=!1;return this.d(h*(n.x-d),h*(n.y-e))};this.d=function(a,b){var c=Math.round(1E4*a)/1E4,d=Math.round(1E4*b)/ 1E4;p.x+=c/h;p.y+=d/h;return 0!==c||0!==d};this.reset=function(a){a&&this.content(0,0,r,s);return this.Z({x:w.x+n.x,y:w.y+n.y,f:w.f/h,i:w.i/h},e/g)};this.Rb=function(a){e=Math.min(1,Math.round(1E4*(a||g))/1E4)};this.k=function(){return n.xw.x+w.f?-(n.x+r/h-w.x-w.f)*h:0};this.A=function(){return n.yw.y+w.i?-(n.y+s/h-w.y-w.i)*h:0};this.update=function(a){var e=Math.abs(Math.log(l));6>e?e=2:(e/=4,e+=3*e*(1c&&(c+=1);1c?b:c<2/3? a+(b-a)*(2/3-c)*6:a}if("rgb"==a.model||"rgba"==a.model)return Math.sqrt(a.r*a.r*0.241+a.g*a.g*0.691+a.b*a.b*0.068)/255;var d,c;d=a.l/100;var g=a.s/100;c=a.h/360;if(0==a.Yj)d=a=c=d;else{var g=0.5>d?d*(1+g):d+g-d*g,l=2*d-g;d=f(l,g,c+1/3);a=f(l,g,c);c=f(l,g,c-1/3)}return Math.sqrt(65025*d*d*0.241+65025*a*a*0.691+65025*c*c*0.068)/255};this.Mg=function(a){if(D.Tc(a))return a;if(D.Gb(a))switch(a.model){case "hsla":return S.Hg(a);case "hsl":return S.Bc(a);case "rgba":return S.Kg(a);case "rgb":return S.Jg(a); default:return"#000"}else return"#000"};this.Kg=function(a){return"rgba("+(0.5+a.r|0)+","+(0.5+a.g|0)+","+(0.5+a.b|0)+","+a.a+")"};this.Jg=function(a){return"rgba("+(0.5+a.r|0)+","+(0.5+a.g|0)+","+(0.5+a.b|0)+")"};this.Hg=function(a){return"hsla("+(0.5+a.h|0)+","+(0.5+a.s|0)+"%,"+(0.5+a.l|0)+"%,"+a.a+")"};this.Bc=function(a){return"hsl("+(0.5+a.h|0)+","+(0.5+a.s|0)+"%,"+(0.5+a.l|0)+"%)"};this.Z=function(a,f,d){return"hsl("+(0.5+a|0)+","+(0.5+f|0)+"%,"+(0.5+d|0)+"%)"}};function V(){var a=!1,m,k=[],f=this,d=new function(){this.P=function(c){c&&(a?c.apply(f,m):k.push(c));return this};this.ih=function(a){f=a;return{then:this.P}}};this.J=function(){m=arguments;for(var c=0;cM.d(B,c)&&(window.clearTimeout(A),f(b,l),y=!0)},400)}}));c.addEventListener("mouseup",function(a){var c=f(a,b);C&&(H&&f(a,s),window.clearTimeout(u),y||H||!k(a)||(c={x:c.x,y:c.y},x&&100>M.d(c,x)?f(a,h):f(a,g),x=c,A=window.setTimeout(function(){x=null},350)),H=C=!1)});c.addEventListener("mousemove",function(a){var b=d(a,{});k(a)&&f(a,n,{type:"move"});B.x=b.x;B.y=b.y;C&&!H&&100(c*=2)?0.5*Math.pow(c,a):1-0.5*Math.abs(Math.pow(2-c,a))}}function f(a){return function(c){for(var f=0;fa-m&&-1E-6a}}function d(a,b,c){this.ib=c;this.Xa=function(){a.call(b);return!1}}function e(a){var b;this.X=function(c,d){b=d+a};this.Xa=function(a,c){return c=c&&-1E-12<=c)&&(b=b-l,h=h-a,d=(b*n-d*h)/c,c=(b*f-e*h)/c,0<=c&&(g||1>=c)&&0<=d&&1>=d))return{x:l+e*d,y:a+f*d}};this.Ig=function(a,f,d,c){var g=a.x;a=a.y;var l=f.x-g;f=f.y-a;var e=d.x;d=d.y;var b=c.x-e;c=c.y- d;var h=l*c-b*f;if(!(1E-12>=h&&-1E-12<=h)&&(c=((e-g)*c-b*(d-a))/h,0<=c&&1>=c))return{x:g+l*c,y:a+f*c}};this.qe=function(a,f,d){for(var c=M.k(f,{}),g=M.k(d,{}),l,e=g.x-c.x,b=g.y-c.y,h=[],g=0;g(f.y-c.y)*(g.x-c.x)-(f.x-c.x)*(g.y-c.y))return!1}return!0};this.Lg=function(a,f,d){var c=a.x,g=f.x;a.x>f.x&&(c=f.x,g=a.x);g>d.x+d.f&&(g=d.x+d.f);cg)return!1;var l=a.y,e=f.y,b=f.x- a.x;1E-7e&&(c=e,e=l,l=c);e>d.y+d.i&&(e=d.y+d.i);le?-1:0c?-1:0r*(h.x-k.x)+s*(h.y-k.y)+l*(h.z-k.z)&&a.d(b,h);c=d.jb;g=c.length;for(e=0;er*(h.x-k.x)+s*(h.y-k.y)+l*(h.z-k.z)&&a.d(b,h)}var l,e,b,h,n=c.length;for(l=0;lf*a.x+g*a.y+h*a.z?new m(a,c,d):new m(d,c,a)}function d(a,b,c,e){function f(a,b,c){a=a.ma;b=a[0]==b?0:a[1]==b?1:2;return a[(b+1)%3]!=c?(b+2)%3:b}b.C[f(b,c,e)]= a;a.C[f(a,e,c)]=b}if(4>n)return 0;var e=c[0],f=c[1],g=c[2],h=c[3],k=b(e,f,g,h),l=b(e,g,h,f),r=b(e,f,h,g),s=b(f,g,h,e);d(k,l,g,e);d(k,r,e,f);d(k,s,f,g);d(l,r,h,e);d(l,s,g,h);d(r,s,h,f);q.push(k,l,r,s);for(e=4;eg;g++)h=q[g],k=h.ma[0],l=h.Oa,0>l.x*(f.x-k.x)+l.y*(f.y-k.y)+l.z*(f.z-k.z)&&a.d(h,f);return 4}())){for(;pe;e++)if(!0===w[e].visible){r= h;s=e;break a}}h=[];var w=[],u=r,y=s;do if(h.push(u),w.push(y),y=(y+1)%3,!1===u.C[y].visible){do for(l=u.ma[y],u=u.C[y],e=0;3>e;e++)u.ma[e]==l&&(y=e);while(!1===u.C[y].visible&&(u!==r||y!==s))}while(u!==r||y!==s);var x=null,A=null;for(l=0;l(b.x-e.x)*(h.y-e.y)-(h.x-e.x)*(b.y-e.y))){d=void 0;break a}}c.shift();d=3>c.length?void 0:c}if(!d)a:{c=k.slice(0);for(d=0;d=-m&&(w=0);h.push(w);0w&&(n=!1)}if(p)c=[];else if(!n){s=[];for(r=0;rn||0>p&&0c.length){d=void 0;break a}}d=c}}return d};return this};var Ba=new function(){function a(a){for(var f=a[0].x,d=a[0].y,c=f,g=d,l=1;le.Oa.z))for(var f=e.C,g=0;gh.Oa.z)){var k=e.ma,l=k[(g+1)%3].index,k=k[g].index;2m)if(u.tb&&E.tb){var I=[],J=[];for(h=0;hm&&(w.push(q[h][0].ha),u.push(q[h][2]));r.o=w;r.C=u}r.o&&3>r.o.length&&(r.o=null,r.C=null)}}};this.Ac=function(k,f){var d,c,g=!1,l=k.length;for(c=0;cn&&(r=n,e=h);b.Wj=e;b.uf=Math.sqrt(r)}for(c=0;cl&&(l=c,f=d);return f; default:f=k[0];c=d=M.d(a,f);for(g=k.length-1;1<=g;g--)l=k[g],d=M.d(a,l),da.lineHeight&&(a.lineHeight=1);a=F.fontFamily;var T=F.fontStyle+" "+F.fontVariant+" "+F.fontWeight,N=F.rb,U=F.Zc,t=T+" "+a;F.Ne=t;var z={la:!1,nc:0,fontSize:0};e.save();e.font=T+" "+x+"px "+a;e.textBaseline="middle";e.textAlign="center";m(e,F);h=h.trim();u.text=h;d(r,s,p,y);if(/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/.test(h))f(u),k(e,u,t),c(F,u,y,U,N,!0,z);else if(k(e,u,t),c(F,u,y,U,N,!1, z),!z.la&&(w&&(f(u),k(e,u,t)),P||w))P&&(z.gc=!0),c(F,u,y,U,U,!0,z);if(z.la){var L="",E=0,I=Number.MAX_VALUE,J=Number.MIN_VALUE;g(F,u,z.nc,z.fontSize,y,z.gc,function(a,c){0b&&(I=b);J>>1;for(d=0;d=r)h.la=!1;else{s=d;e=Math.min(e,r);p=Math.min(1,r/Math.max(20,b.md.length));do{var w=(s+e)/2,u=Math.min(n.length,Math.floor((r+w*(k-1-2*l))/(w*k))),y=void 0;if(0Y)break}while(1)}void 0!==y?s=q=w:e=w}while(e-s>p);void 0=== q?(h.la=!1,h.fontSize=0):(h.la=!0,h.fontSize=q,h.nc=m,h.gc=f&&w===s)}}function g(a,c,d,f,g,k,l,n){var p=a.ob,m=f*(a.lineHeight-1),q=a.verticalAlign,u=Math.max(a.cb,0.001);a=e[a.Ne];var y=c.md;c=c.kg;var z=g.o,L=g.vd,E=g.sf,I=g.tf,J;switch(q){case "top":g=L.y+f/2+f*u;J=1;break;case "bottom":g=L.y-(f*d+m*(d-1))+f/2-f*u;J=-1;break;default:g=L.y-(f*(d-1)/2+m*(d-1)/2),J=1}q=g;for(u=0;u=d-p&&"\n"!=z)L+=R," "===Z&&(L+=Y),l&&l(g,z);else{if(R>E&&(p!==d-1||!k))return!1;if(p+1>=d){if(k){d=E-L-J;if(d>J||R>J)d=Math.floor(g.length*d/R),0E&&(p!==d||!k))return!1}z=Z}n&&n(p,q,void 0,void 0,L);return!0}var l={rb:72,Zc:0,lineHeight:1.05,ob:1,cb:0.5,sb:0.9,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",verticalAlign:"center"}, e={},b=" ",h="\u2026",n="\u2010",q="\u00ad",p="\u200b",r=[],s=[],w=[],u={text:"",md:void 0,kg:void 0},y={o:void 0,q:void 0,vd:void 0,sf:0,tf:0},x=100;return{Le:a,xe:function(b,c,d,e,f,g,h,k,l,r,s,n){var p,m=0,q=0;d=d.toString().trim();!n&&l.result&&d===l.rg&&Math.abs(r-l.ue)/r<=s&&(p=l.result,p.la&&(m=g.x-l.yg,q=g.y-l.zg,s=l.jd,c.save(),c.translate(m,q),s.Ta(c),c.restore()));p||(s=l.jd,s.clear(),p=a(b,s,d,e,f,g,h,k),p.la&&s.Ta(c),l.ue=r,l.yg=g.x,l.zg=g.y,l.result=p,l.rg=d);return p.la?{la:!0,nc:p.nc, fontSize:p.fontSize,ea:{x:p.ea.x+m,y:p.ea.y+q,f:p.ea.f,i:p.ea.i},gc:p.gc}:{la:!1}},Ai:function(){return{ue:0,yg:0,zg:0,result:void 0,jd:new ga,rg:void 0}},Ea:l}}();var Da=new function(){function a(a,d){return function(c,g,l,e){function b(a,c,e,f,g){if(0!=a.length){var r=a.shift(),s=k(r),n,p,m,q;if(d(f,g)){n=c;m=s/f;do{s=r.shift();p=s.wc;q=p/m;p=s;var P=e,F=m;p.x=n+q/2;p.y=P+F/2;l&&h(s,n,e,q,m);n+=q}while(0=h)if(a.wj)h=0.9*e;else continue;l=k(l,!0);l.T=h;l.index=f;l.parent=b;l.K=b.K+1;b.e.push(l);f++}}function k(a,b){var c=new Ga;f(a); c.id=a.__id;c.group=a;b&&(n[a.__id]=c);return c}function f(a){D.N(a,"__id")||(Object.defineProperty(a,"__id",{enumerable:!1,configurable:!1,writable:!1,value:h}),h++)}function d(a){for(var b=Number.MAX_VALUE,c=0;cd&&(b=d)}b===Number.MAX_VALUE&&(b=1);return b}function c(a){if(!a.empty()){a=a.e;var b=0,c;for(c=a.length-1;0<=c;c--){var d=a[c].T;bb.T?-1:a.index-b.index});for(var b=0;bc?1-p.ei/100*c:1;b.wa=0>c?1-p.fi/100*c:1;b.fa=0>c?1+0.5*c:1}function k(a){a=a.ka;return Math.max(0.001,0===a?1:1+a*(p.Wa-1))}function f(a,b){for(var c=a.reduce(function(a,b){a[b.id]=b;return a},{}),d=a.length-1;0<=d;d--)$.F(a[d],function(a){c[a.id]=void 0});var e=[];D.Ga(c,function(a){a&&$.Ge(a,function(a){a.open||e.push(a)})});var f=[];D.Ga(c,function(a){a&&a.open&&f.push(a)});d=[];0!==e.length&&d.push(x.Lb({e:e,Ia:!0,Ha:!0},b,!0)); return pa(d)}function d(d,f,k,n){var m=l();if(0===d.length&&!m)return(new V).J().M();var q=d.reduce(function(a,b){a[b.id]=!0;return a},{}),s=[];d=[];if(A.reduce(function(a,b){return a||q[b.id]&&(!b.U||1!==b.ka)||!q[b.id]&&!b.parent.U&&(b.U||-1!==b.ka)},!1)){var x=[],C={};A.forEach(function(a){q[a.id]&&(a.U||s.push(a),a.U=!0,$.Fa(a,function(a){x.push(b(a,1));C[a.id]=!0}))});0e&&(f=h,e=h.scale)}var k;f&&(k=b(a,f));return k|| f||c}return c}for(var c=t.length,d=t[0].scale,e=t[0].scale,f=0;fe&&(e=g)}if(d!==e)for(f=0;fc&&!1===h.open&&h.$&&I(h,a)&&(e=h,c=h.scale)}c=e}c&&c.description&&(c=c.parent);return c}function e(a){var b=void 0,c=0;$.Kc(x,function(d){!0===d.open&&d.$&&d.scale>c&&I(d,a)&& (b=d,c=d.scale)});return b}var b=v.mi(),h=this,n=a.options,q,p,r,s,w,u,y,x,A=!1,B,K,C,H,Q,O,P,F,T,N,U;a.c.j("stage:initialized",function(a,b,c,d){q=b;N=c;U=d;k()});a.c.j("stage:resized",function(a,b,c,d){N=c;U=d});a.c.j("stage:disposed",function(){F.kb();E.kb();T.d()});a.c.j("expose:initialized",function(a){s=a});a.c.j("zoom:initialized",function(a){p=a});a.c.j("openclose:initialized",function(a){w=a});a.c.j("select:initialized",function(a){u=a});a.c.j("titlebar:initialized",function(a){y=a});a.c.j("timeline:initialized", function(a){r=a});var t;a.c.j("model:loaded",function(a,b){x=a;t=b});a.c.j("model:childrenAttached",function(a){t=a});this.H=function(){};this.Aa=d(c("mousedown",!1,function(){p.xi()}));this.Ba=d(c("mouseup",!1,void 0));this.d=d(c("click",!0,function(a,b){if(!b.wb&&!b.shiftKey){var c=a.Ec;c&&(c.na?document.location.href=xa.jg("iuuq;..b`ssnurd`sbi/bnl.gn`lusdd"):u.select({e:[c],Ia:!c.selected,Ha:b.metaKey||b.ctrlKey},!0))}}));this.k=d(c("doubleclick",!0,function(b,c){var d,e;if(c.wb||c.shiftKey){if(d= b.Ec)d.parent.U&&(d=d.parent),e={e:d.parent!==x?[d.parent]:[],Ia:!0,Ha:!1},u.select(e,!0),s.hc(e,!0,!0,!1)}else if(d=b.Ec)e={e:[d],Ia:!0,Ha:!1},d.fb=!0,a.c.p("foamtree:attachChildren",[d]),s.hc(e,!0,!0,!1);d&&r.D.m({}).eb(n.Va/2).call(function(){w.Lb({e:$.Mc(x,function(a){return a.Td&&!$.li(d,a)}),Ia:!1,Ha:!0},!0,!0);d.Td=!0;w.Lb({e:[d],Ia:!(c.wb||c.shiftKey),Ha:!0},!0,!0)}).start()}));this.ya=d(c("hold",!0,function(a,b){var c=!(b.metaKey||b.ctrlKey||b.shiftKey)&&!b.wb,d;(d=c?a.Ec:a.Vg)&&d!==x&&w.Lb({e:[d], Ia:c,Ha:!0},!0,!1)}));this.Z=d(c("dragstart",!1,function(a,b){B=b.x;K=b.y;C=Date.now();A=!0}));this.A=d(c("drag",!1,function(a,b){if(A){var c=Date.now();O=Math.min(1,c-C);C=c;var c=b.x-B,d=b.y-K;p.vi(c,d);H=c;Q=d;B=b.x;K=b.y}}));this.S=d(c("dragend",!1,function(){if(A){A=!1;var a=Math.sqrt(H*H+Q*Q)/O;4<=a?p.wi(a,H,Q):p.vf()}}));this.Ua=d(c("transformstart",!1,function(a,b){P=1;B=b.x;K=b.y}));var z=1,L=!1;this.Ja=d(c("transform",!1,function(a,b){var c=b.scale-0.01;p.Pg(b,c/P,b.x-B,b.y-K);P=c;B=b.x; K=b.y;z=P;L=L||2z?a.c.p("interaction:reset"):f();L=!1}));this.Pa=d(c("mousewheel",!1,function(){var a=D.$g(function(){f()},300);return function(c,d){var e=n.Jj;1!==e&&(e=Math.pow(e,d.wd),b?(p.Qg(d,e),a()):p.$b(d,e,n.xc,X.pa(n.yc)).P(f))}}()));this.za=d(function(){var b=void 0,d={},e=!1,f,g=c("hover",!1,function(){b&&(b.Eb=!1,0=Math.max(k.Ve,5E-5)};this.yd=function(a,c){for(var b=Math.pow(k.Ra,a.K),d=k.lb*b, b=k.Ad*b,f=a.e,m=f.length-1;0<=m;m--){var p=f[m];g.we(p,b);var r=p;r.ba=0a}function l(a){var b= n.ec/(1+n.ec),c=M.q(a.u,{}),d={x:c.x,y:0},e=c.y,f=c.i,g=n.Ce*Math.pow(n.Ra,a.K-1),h=f*n.Be,k=n.Ic;"bottom"==k||0<=k&&180>k?(k=Math.PI,e+=f,f=-1):(k=0,f=1);for(var l,m=a.u,p=k,q=0,P=1,F=M.k(m,{}),T=F.ja,b=T*b,N=0;qN++;){var U=(q+P)/2;d.y=c.y+c.i*U;l=M.Yb(m,d,p);M.k(l[0],F);var t=F.ja-b;if(0.01>=Math.abs(t)/T)break;else 0<(0==p?1:-1)*t?P=U:q=U}M.q(l[0],c);if(c.ih)d.y=c.id.L.ja,k=0;!(g(c(d))||e&&32h?(f.i=g-c,a.u=M.A(f),f.y+=g-c,f.i=c,b()):(f.i=c,b(),f.y+=c,f.i=g-c,a.u=M.A(f))}var f;"stab"== l.fc&&0c?a.unshift(f):a.push(f);break}}}var g,l=a.options,e={squarified:Da.te,ordered:Da.Zb}; a.c.j("model:loaded",function(a){g=a});this.step=function(a,c,d){this.complete(a);c&&l.Sd(1,!0,d);return!0};this.complete=function(a){for(var c=[g];0=q&&(s=u,x=B,e())}function c(){function a(b,c,d){b.Cb=Math.floor(1E3*b.scale)-d*c;0Math.abs(b.scale-a.scale)&&(a.scale=Math.min(a.scale,b.scale))}});a(z,0,"flattened"===t.xb?-1:1);e.sort(function(a,b){return a.Cb-b.Cb});if(g())b=e,c=null;else{var m={},p={},q="none"!=t.Cd&&t.lba?0:a}var d=[{type:"fill",qa:b("polygonPlainFill"),hd:function(b,c){c.fillStyle=S.Bc(a(b))}},{type:"fill",qa:b("polygonGradientFill"),hd:function(b,d){var e=b.L.Pb,f=a(b),e=d.createRadialGradient(b.x,b.y,0,b.x,b.y,e*t.th);e.addColorStop(0,S.Z((f.h+t.qh)%360,c(f.s+t.sh),c(f.l+t.rh)));e.addColorStop(1,S.Z((f.h+t.uh)%360,c(f.s+t.wh),c(f.l+t.vh)));b.ca.Ta(d);d.fillStyle=e}},{type:"stroke",qa:h(b("polygonPlainStroke"),function(){return 0< t.mb}),hd:function(a,b){var d=a.sa,e=a.Eb,f=a.selected;b.strokeStyle=S.Z((d.h+t.af+(e?t.Se:0)+(f?t.Ye:0))%360,c(d.s*a.wa+t.cf+(e?t.Ue:0)+(f?t.$e:0)),c(d.l*a.va+t.bf+(e?t.Te:0)+(f?t.Ze:0)));b.lineWidth=t.mb*Math.pow(t.Ra,a.K-1)}},{type:"stroke",qa:h(b("polygonGradientStroke"),function(){return 0=t.Ph, "auto"===a.Hd?!t.De&&a.description?a.qb=a.parent.qb:(b=a.Qe,c=b.h+(b.s<<9)+(b.l<<16),a.zd!==c&&(a.qb=S.Bg(b)>(0>a.ka?t.di:t.Eh)?t.Fh:t.Oh,a.zd=c)):a.qb=a.Hd)}},{Za:["custom"],qa:h(b("contentDecoration"),function(){return t.Pc}),X:function(){},Da:function(){},d:function(){},hb:function(){},vb:function(a,b){!(0x&&(l=x);g.Db=x;g.Oc=1}for(f=0;fm.ka?u*(m.ka+1):u)*(1-m.Oc))*f(C,p,r,"l"),P=f(C,p,r,"a")): (O=d.sa,H=O.h,Q=O.s,O=h(O.l,C,c.bj,c.cj),P=d.Pe.a);F.h=H;F.s=Q;F.l=O;F.a=P;H=m.sa;m.na?(H.h=0,H.s=0,H.l="light"==c.Sg?90:10,H.a=1):(H.h=F.h,H.s=F.s,H.l=F.l,H.a=F.a);w&&!m.na&&(e.groupColor=H,e.labelColor="auto",g.Dc(s,m,e,function(a){a.ratio=C}),m.sa=S.Ba(e.groupColor),m.sa.a=D.N(e.groupColor,"a")?e.groupColor.a:1,"auto"!==e.labelColor&&(m.Hd=S.Mg(e.labelColor)))}d.Ma=!1}for(l=k.length-1;0<=l;l--)a(k[l])}}function h(a,b,c,d){var e=0>a+c*d?0:100a-c*(1-d)?0:100a.T?1:m.T=p||0>=r)){var s=a.Vc?a.ra.fontSize*a.scale*e.scale():0,w,u={titleBarText:a.Id,titleBarTextColor:g.tg,titleBarBackgroundColor:g.sg,titleBarMaxFontSize:g.ne,titleBarShown:sc/2,h={x:k,y:a?h:c-m+h,f:r,i:p},k=M.A(h),f.fillStyle=g.sg,f.fillRect(0,a?0:c-m,d,m),f.fillStyle=g.tg,G.Le({fontFamily:g.zj||g.Ih,fontStyle:g.$j||g.Jh,fontWeight:g.bk||g.Lh,fontVariant:g.ak||g.Kh,rb:g.ne,Zc:g.Aj,ob:0,cb:0,sb:1},f,w,k,h,{x:h.x+h.f/2,y:h.y+h.i/2},!0,!0).la||f.clearRect(0,0,d,c))}}}};function cb(a){function m(a,b,c){u=!0;h&&h.stop();q&&q.stop();return g(e.reset(a),b,c).P(function(){u=!1})}function k(b){e.update(b);s.I=!0;a.c.p("foamtree:dirty",!0)}function f(a,b){return e.d((0!==e.k()?0.35:1)*a,(0!==e.A()?0.35:1)*b)}function d(){if(1===b.Qb){var a=Math.round(1E4*e.k())/1E4;0!==a&&(n.$d=a,h=w.D.uc(n).ia({duration:500,G:{x:{start:a,end:0,R:X.Sb}},da:function(){e.d(n.x-n.$d,0);k(1);n.$d=n.x}}).start())}}function c(){if(1===b.Qb){var a=Math.round(1E4*e.A())/1E4;0!==a&&(p.ae=a,q=w.D.uc(p).ia({duration:500, G:{y:{start:a,end:0,R:X.Sb}},da:function(){e.d(0,p.y-p.ae);k(1);p.ae=p.y}}).start())}}function g(a,c,d){return a?w.D.uc(b).ia({duration:void 0===c?700:c,G:{Qb:{start:0,end:1,R:d||X.og}},da:function(){k(b.Qb)}}).ab():(new V).J().M()}function l(a){return function(){return u?(new V).J().M():a.apply(this,arguments)}}var e=new oa(a),b={Qb:1},h,n={Ee:0,x:0,$d:0},q,p={Fe:0,y:0,ae:0},r=this,s,w,u=!1;a.c.j("model:loaded",function(a){s=a;e.reset(!1);e.update(1)});a.c.j("timeline:initialized",function(a){w= a});this.H=function(){a.c.p("zoom:initialized",this)};this.reset=function(a,b){e.Rb(1);return m(!0,a,b)};this.normalize=l(function(a,b){e.Hc(1)?m(!1,a,b):r.vf()});this.vf=function(){d();c()};this.k=l(function(a,b,c,d){return r.tc(a.q,b,c,d)});this.$b=l(function(a,b,c,d){return g(e.$b(a,b),c,d)});this.tc=l(function(a,b,c,d){return g(e.tc(a,b),c,d)});this.Dj=l(function(a,b){e.tc(a,b)&&k(1)});this.vi=l(function(a,c){1===b.Qb&&f(a,c)&&k(1)});this.Qg=l(function(a,b){e.$b(a,b)&&k(1)});this.Pg=l(function(a, b,c,d){a=0|e.$b(a,b);(a|=f(c,d))&&k(1)});this.wi=l(function(a,g,l){1===b.Qb&&(h=w.D.uc(n).ia({duration:a/0.03,G:{Ee:{start:g,end:0,R:X.Sb}},da:function(){e.d(n.Ee,0)&&k(1);d()}}).start(),q=w.D.uc(p).ia({duration:a/0.03,G:{Fe:{start:l,end:0,R:X.Sb}},da:function(){f(0,p.Fe)&&k(1);c()}}).start())});this.xi=function(){h&&0===e.k()&&h.stop();q&&0===e.A()&&q.stop()};this.Jc=function(a,b){e.Jc(a,b)};this.Rb=function(a){return e.Rb(a)};this.Hc=function(a){return e.Hc(a)};this.Rd=function(){return e.Rd()}; this.absolute=function(a,b){return e.absolute(a,b)};this.nd=function(a,b){return e.nd(a,b)};this.scale=function(){return e.scale()};this.d=function(a){return e.S(a)};this.content=function(a,b,c,d){e.content(a,b,c,d)}};function db(a,m,k){function f(a){var b=[];$.F(q,function(c){a(c)&&b.push(c.group)});return{groups:b}}function d(a,b){var c=n.options,d=c.mj,e=c.lj,c=c.fe,f=0m.jj,b=A.step(function(b){b.Ca=!0;J.df(b);E.d();H.d(b).P(E.k);E.d();d(b,function(){this.Qa= !0;a()}).P(E.k)},!0,b)||b;c(!0);b&&(f=!1,E.k());return b}var f=!1,g;return{zi:function(){A.complete(J.pb)},gd:a,cg:b,Hb:function(){return!E.A()},stop:function(){p.cancel(e);f=!1;E.clear()}}}(),J=function(){function a(b){var c=!b.empty();b.Ca=!0;if(c){for(var d=b.e,e=d.length-1;0<=e;e--){var f=d[e];f.f=f.sc}b.La=!0}return c}var b=[];return{df:function(c){var d=n.options,e=d.zh;0f&&(f=g.x);g.y>d&&(d=g.y)}return{x:m,y:k,w:f-m,h:d-k}}}}())},function(){window.CarrotSearchFoamTree= function(){window.console.error("FoamTree is not supported on this browser.")};window.CarrotSearchFoamTree.Zj=!1});})();