a++;)this.Gp(this.gf);a=0;for(d=this.Td.length;a<
d;a++)this.Td[a].Mm=!1;this.wa.of&&this.wa.of.Xa();O(this.Bi);this.Hc++;a=0;for(d=this.n.length;ad.Dj.length&&d.Dj.push(a)};c.prototype.em=function(a,d,h,b){if(a.G){var g=y(Math.random()*a.Fg.length);return this.em(a.Fg[g],d,h,b)}return a.Pc?this.Ge(a.Pc,d,!1,h,b,!1):null};var I=[];c.prototype.Ge=function(a,d,h,b,g,c){var f,p,l,k;if(!a)return null;var t=this.n[a[1]],x=t.na.Pe;if(this.yg&&
x&&!t.Zm||x&&!this.A&&11===a[0][11])return null;var m=d;x||(d=null);var e;t.Dj.length?(e=t.Dj.pop(),e.Jc=!0,t.na.I.call(e,t)):(e=new t.na.I(t),e.Jc=!1);!h||c||this.de.hasOwnProperty(a[2].toString())?e.uid=this.li++:e.uid=a[2];this.de[e.uid.toString()]=e;e.sr=this.Tq++;e.yf=t.c.length;f=0;for(p=this.fd.length;fa&&(a=0);a>=this.wa.T.length&&(a=this.wa.T.length-1);return this.wa.T[a]};c.prototype.Wp=function(a){return ja(a)?this.Bd(a):this.lg(a.toString())};c.prototype.$l=function(a){var d,h;d=0;for(h=a.length;d=this.vn.length&&this.vn.push([])};c.prototype.rx=function(){this.sk--};c.prototype.Tp=function(){return this.vn[this.sk]};c.prototype.Sk=function(a){this.Hj++;this.Hj>=this.om.length&&this.om.push(new Sb);var d=this.ob();d.reset(a);
return d};c.prototype.Mk=function(){this.Hj--};c.prototype.ob=function(){return this.om[this.Hj]};c.prototype.Up=function(a,d){for(var h,b,g,f,c,p;d;){h=0;for(b=d.Zc.length;hf||f>=a.eb.length||(a.eb[f]=g[b]));if(p.Pe){f=d.w;a.k.ca!==f.l&&(g=
a.k,a.k=this.wa.Vj(f.l),a.k?(g.Og(a,!0),a.k.hh(a,!0),a.U(),a.k.Hi(0)):(a.k=g,h||this.Kd(a)));a.x=f.x;a.y=f.y;a.width=f.w;a.height=f.h;a.ud=f.zi;a.j=f.hasOwnProperty("a")?f.a:0;a.opacity=f.hasOwnProperty("o")?f.o:1;a.Wb=f.hasOwnProperty("hX")?f.hX:.5;a.Xb=f.hasOwnProperty("hY")?f.hY:.5;a.visible=f.hasOwnProperty("v")?f.v:!0;a.Od=f.hasOwnProperty("ce")?f.ce:!0;a.ki=f.hasOwnProperty("mts")?f.mts:-1;a.Nb=f.hasOwnProperty("bm")?f.bm:0;a.kh=jb(a.Nb);this.B&&kb(a,a.Nb,this.B);a.U();if(f.hasOwnProperty("fx"))for(h=
0,g=f.fx.length;hp||(a.ue[p]=f.fx[h].active,a.Pa[p]=f.fx[h].params);a.rd()}if(c=d.behs)for(b in c)c.hasOwnProperty(b)&&(h=this.Sv(a,parseInt(b,10)),0>h||a.J[h].Fb(c[b]));d.data&&a.Fb(d.data)};c.prototype.Lp=function(a,d,h){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+"www/"+a,function(a){a.file(d,h)},h)};c.prototype.Lv=function(a,d){this.Lp("data.js",function(h){var b=new FileReader;b.onload=function(d){a(d.target.result)};b.onerror=d;b.readAsText(h)},
d)};var M=[],C=0;c.prototype.yn=function(){if(M.length&&!(8<=C)){C++;var a=M.shift();this.Gu(a.filename,a.ay,a.dv)}};c.prototype.Mp=function(a,d,h){var b=this;M.push({filename:a,ay:function(a){C--;b.yn();d(a)},dv:function(a){C--;b.yn();h(a)}});this.yn()};c.prototype.Gu=function(a,d,h){this.Lp(a,function(a){var h=new FileReader;h.onload=function(a){d(a.target.result)};h.readAsArrayBuffer(a)},h)};c.prototype.Mv=function(a,d,h){this.Mp(a,function(a){a=URL.createObjectURL(new Blob([a]));d(a)},h)};c.prototype.Fw=
function(a){return/^(?:[a-z]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};c.prototype.Hr=function(a,d){this.Nh&&!this.Fw(d)?this.Mv(d,function(d){a.src=d},function(a){alert("Failed to load image: "+a)}):a.src=d};c.prototype.al=function(a,d){"undefined"!==typeof a.imageSmoothingEnabled?a.imageSmoothingEnabled=d:(a.webkitImageSmoothingEnabled=d,a.mozImageSmoothingEnabled=d,a.msImageSmoothingEnabled=d)};Ub=function(a){return new c(document.getElementById(a))};Vb=function(a,d){return new c({dc:!0,
width:a,height:d})};window.cr_createRuntime=Ub;window.cr_createDCRuntime=Vb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.jh=!0;document.body.appendChild(a);a=new c(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=
function(){var a=new c(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var c=document.getElementById("c2canvas");return c?c.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(c,m){var e=window.cr_getC2Runtime();e&&e.Eu(c,m)};window.cr_sizeCanvas=function(c,m){if(0!==c&&0!==m){var e=window.cr_getC2Runtime();e&&e.setSize(c,m)}};
window.cr_setSuspended=function(c){var m=window.cr_getC2Runtime();m&&m.setSuspended(c)};
(function(){function c(a,b){this.b=a;this.of=null;this.scrollX=this.b.ib/2;this.scrollY=this.b.hb/2;this.scale=1;this.j=0;this.kg=!0;this.name=b[0];this.mx=b[1];this.lx=b[2];this.width=b[1];this.height=b[2];this.gs=b[3];this.Nr=b[4];this.ca=b[5];var c=b[6],f,k;this.T=[];this.Ch=[];f=0;for(k=c.length;f=this.T.length&&(h=this.T.length-1);e.k=this.T[h];-1===e.k.c.indexOf(e)&&e.k.c.push(e);e.k.Wf=!0}if(!b)for(a=0,c=this.T.length;ac?e.siblings.push(n.c[c]):n.Pc&&(k=this.b.Ge(n.Pc,e.k,!0,e.x,e.y,!0),this.b.Mb(),n.zl(),e.siblings.push(k),q.push(k)));a=0;for(c=
this.Af.length;athis.width-b&&(a=this.width-b);a<
b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.Z=!0)};c.prototype.Cr=function(a){if(!this.gs){var b=1/this.Yp()*this.b.K/2;a>this.height-b&&(a=this.height-b);aP&&(P=0);0>B&&(B=0);T>M&&(T=M);U>C&&(U=C);0>S&&(S=0);0>L&&(L=0);ha>M&&(ha=M);va>C&&(va=C);z.left=P/M;z.top=1-B/C;z.right=T/M;z.bottom=1-U/C}else z.left=D.left=0,z.top=D.top=0,z.right=D.right=1,z.bottom=D.bottom=1;ia=c&&(a.xi(k[0].Ya)||0!==A||0!==ia||1!==c.opacity||c.type.na.Rq)||b&&!c&&1!==b.opacity;a.Dr();
if(ia){q[J]||(q[J]=a.Oc(M,C,this.b.Ka));if(q[J].ff!==M||q[J].ef!==C)a.deleteTexture(q[J]),q[J]=a.Oc(M,C,this.b.Ka);a.oc(0);a.Xc(q[J]);K=va-L;a.clearRect(S,C-L-K,ha-S,K);c?c.gc(a):(a.Ac(this.b.fb),a.Qf(b.opacity),a.Gd(),a.translate(-v,-u),a.sd(),a.Ve(P,U,T,U,T,B,P,B,z));D.left=D.top=0;D.right=D.bottom=1;c&&(I=z.top,z.top=z.bottom,z.bottom=I);J=1;H=0}a.Qf(1);A=k.length-1;var Ja=a.Wn(k[A].Ya)||!b&&!c&&!this.b.Cc;r=I=0;for(w=k.length;rc||(b&&this.Lc&&a.lc&&a.lc.right>=a.lc.left&&(a.Aa(),this.Ib.update(a,a.lc,null),a.lc.set(0,0,-1,-1)),c===this.c.length-1?this.c.pop():(ya(this.c,c),this.Hi(c)),this.od=!0)};e.prototype.hh=function(a,b){a.ud=this.c.length;this.c.push(a);
b&&this.Lc&&a.lc&&a.U();this.od=!0};e.prototype.xx=function(a){this.c.unshift(a);this.Hi(0)};e.prototype.Yw=function(a,b,c){var f=a.Rc();b=b.Rc();ya(this.c,f);fthis.ya||c.top>this.xa||(b.globalCompositeOperation=a.kh,a.gd(b))}};e.prototype.Bl=function(){this.Sd=!0;var a=this.Fa(0,0,!0,!0),b=this.Fa(0,0,!1,!0);this.Sd=!1;this.b.kd&&(a=Math.round(a),b=Math.round(b));this.Xk(a,b,null)};e.prototype.Xk=
function(a,b,c){var f=this.Fc();this.qa=a;this.ra=b;this.ya=a+1/f*this.b.L;this.xa=b+1/f*this.b.K;this.qa>this.ya&&(a=this.qa,this.qa=this.ya,this.ya=a);this.ra>this.xa&&(a=this.ra,this.ra=this.xa,this.xa=a);a=this.Db();0!==a&&(c&&(c.translate(this.b.L/2,this.b.K/2),c.rotate(-a),c.translate(this.b.L/-2,this.b.K/-2)),this.ne.set(this.qa,this.ra,this.ya,this.xa),this.ne.offset((this.qa+this.ya)/-2,(this.ra+this.xa)/-2),this.$r.Lr(this.ne,a),this.$r.sp(this.ne),this.ne.offset((this.qa+this.ya)/2,(this.ra+
this.xa)/2),this.qa=this.ne.left,this.ra=this.ne.top,this.ya=this.ne.right,this.xa=this.ne.bottom)};e.prototype.hg=function(a){if(this.Fd=this.Qj){this.b.fb||(this.b.fb=a.Oc(this.b.L,this.b.K,this.b.Ka));if(this.b.fb.ff!==this.b.L||this.b.fb.ef!==this.b.K)a.deleteTexture(this.b.fb),this.b.fb=a.Oc(this.b.L,this.b.K,this.b.Ka);a.Xc(this.b.fb)}this.Sd=!0;var b=this.Fa(0,0,!0,!0),c=this.Fa(0,0,!1,!0);this.Sd=!1;this.b.kd&&(b=Math.round(b),c=Math.round(c));this.Xk(b,c,null);b=this.Fc();a.Gd();a.scale(b,
b);a.co(-this.Db());a.translate((this.qa+this.ya)/-2,(this.ra+this.xa)/-2);a.sd();this.Lc?(this.Bb.left=this.Ib.cc(this.qa),this.Bb.top=this.Ib.ec(this.ra),this.Bb.right=this.Ib.cc(this.ya),this.Bb.bottom=this.Ib.ec(this.xa),this.od||!this.Bb.rh(this.Bg)?(r(this.Zd),b=this.Gm(),this.od=!1,this.Bg.mh(this.Bb)):b=this.Zd):b=this.c;for(var f,k=null,c=b.length-1;0<=c;--c)f=b[c],f!==k&&(this.Xu(b[c],a),k=f);this.Lc&&(this.Zd=b);this.qd||(this.am=this.b.nf++,a.bl(this.am),a.Er(1,1,1),a.Pp(),a.Gx())};e.prototype.gc=
function(a){var b=0,c=0;if(this.Fd=this.Qj||1!==this.opacity||0this.ya||c.top>this.xa||(b.bl(a.nf),a.os?this.Yu(a,b):(b.oc(0),b.We(a.Sb,a.Pb),a.gc(b)))}};e.prototype.Xu=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Aa();var c=a.Ea;c.rightthis.ya||c.top>this.xa||(a.nf=this.b.nf++,0===a.Nb&&1===a.opacity&&
a.ie&&a.hg&&(b.bl(a.nf),a.hg(b)))}};e.prototype.Yu=function(a,b){var c=a.ja[0].Ya,f=a.ja[0].index,k=this.Fc();if(1!==a.ja.length||b.Wn(c)||b.zx(c)||(a.j||a.k.Db())&&b.xi(c)||1!==a.opacity||a.type.na.Rq)this.Ua.$n(b,this,a,this.Fd?this.b.fb:this.Ua.xh()),b.Gd(),b.scale(k,k),b.co(-this.Db()),b.translate((this.qa+this.ya)/-2,(this.ra+this.xa)/-2),b.sd();else{b.oc(c);b.We(a.Sb,a.Pb);b.Qk(c)&&(this.b.Z=!0);var e=0,m=0,h=0,p=0;b.xi(c)&&(p=a.Ea,e=this.Zb(p.left,p.top,!0,!0),m=this.Zb(p.left,p.top,!1,!0),
h=this.Zb(p.right,p.bottom,!0,!0),p=this.Zb(p.right,p.bottom,!1,!0),e=e/windowWidth,m=1-m/windowHeight,h=h/windowWidth,p=1-p/windowHeight);var x;a.ab&&a.ab.aa?(x=a.ab.aa,c=1/x.width,x=1/x.height):(c=1/a.width,x=1/a.height);b.Qg(this.Fd?this.b.fb:this.Ua.xh(),c,x,e,m,h,p,k,this.Db(),this.qa,this.ra,(this.qa+this.ya)/2,(this.ra+this.xa)/2,this.b.rb.R,a.Pa[f]);a.gc(b)}};e.prototype.Fa=function(a,b,c,f){var k=this.b.devicePixelRatio;this.b.Cf&&(a*=k,b*=k);var k=this.b.kr,e=this.b.lr,k=(this.Ua.scrollX-
k)*this.ic+k,e=(this.Ua.scrollY-e)*this.jc+e,m=k,h=e,p=1/this.Fc(!f);f?(m-=this.b.L*p/2,h-=this.b.K*p/2):(m-=this.b.width*p/2,h-=this.b.height*p/2);m+=a*p;h+=b*p;b=this.Db();0!==b&&(m-=k,h-=e,a=Math.cos(b),b=Math.sin(b),f=m*a-h*b,h=h*a+m*b,m=f+k,h+=e);return c?m:h};e.prototype.Zb=function(a,b,c,f){var k=this.b.kr,e=this.b.lr,m=(this.Ua.scrollX-k)*this.ic+k,h=(this.Ua.scrollY-e)*this.jc+e,e=m,k=h,p=this.Db();if(0!==p){a-=m;b-=h;var x=Math.cos(-p),p=Math.sin(-p),n=a*x-b*p;b=b*x+a*p;a=n+m;b+=h}m=1/this.Fc(!f);
f?(e-=this.b.L*m/2,k-=this.b.K*m/2):(e-=this.b.width*m/2,k-=this.b.height*m/2);e=(a-e)/m;k=(b-k)/m;a=this.b.devicePixelRatio;this.b.Cf&&!f&&(e/=a,k/=a);return c?e:k};e.prototype.kb=function(){var a,b,c,f={s:this.scale,a:this.j,vl:this.qa,vt:this.ra,vr:this.ya,vb:this.xa,v:this.visible,bc:this.dd,t:this.qd,px:this.ic,py:this.jc,o:this.opacity,zr:this.Ub,fx:[],cg:this.oh,instances:[]};a=0;for(b=this.O.length;aa[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2=R.length&&(R.length=a.length+1);R[a.length]||(R[a.length]=[]);k=R[a.length];b=0;for(d=k.length;b=b.length&&(b.length=this.Lf+1),b[this.Lf]=a):this.data=a};g.prototype.uf=function(){var a=this.b.Tp();return!this.parent||this.Qh||!a||this.jk?this.data:this.Lf>=a.length||"undefined"===typeof a[this.Lf]?this.Rm:a[this.Lf]};g.prototype.Xa=function(){!this.parent||this.Qh||this.jk||this.he(this.Rm)};Tb=g;l.prototype.toString=function(){return"include:"+
this.Bh.toString()};l.prototype.Sa=function(){this.Bh=this.b.pm[this.Aw];this.sheet.bq.add(this);this.Ca=e(this.Ca);for(var a=this.parent;a;)a.group&&a.xj.push(this),a=a.parent;this.js()};l.prototype.Xa=function(){this.parent&&this.b.yi(this.b.n);this.Bh.Mm||this.Bh.Xa(!0);this.parent&&this.b.Pf(this.b.n)};l.prototype.js=function(){for(var a=this.parent;a;){if(a.group&&!a.vf){this.La=!1;return}a=a.parent}this.La=!0};cc=l;f.prototype.reset=function(a){this.Vb=a;this.fc=this.mb=0;O(this.Wr);this.nm=
this.Ff=!1};Sb=f})();
(function(){function c(b,a){this.Ia=b;this.b=b.b;this.type=a[0];this.get=[this.xv,this.tv,this.Gv,this.Jv,this.gv,this.Hv,this.Bv,this.qv,this.Av,this.Fv,this.hv,this.Ev,this.rv,this.Cv,this.yv,this.zv,this.uv,this.vv,this.pv,this.Iv,this.Dv,this.wv,this.ov,this.sv][this.type];var c=null;this.be=this.W=this.Qa=this.Cb=this.rl=this.second=this.first=this.value=null;this.ed=-1;this.hd=null;this.ps=-1;this.pf=this.Xi=null;this.Pg=!1;switch(this.type){case 0:case 1:case 2:this.value=a[1];break;case 3:this.first=
new ac(b,a[1]);break;case 18:this.first=new ac(b,a[1]);this.second=new ac(b,a[2]);this.rl=new ac(b,a[3]);break;case 19:this.Cb=this.b.te(a[1]);this.Cb!==W.prototype.P.random&&this.Cb!==W.prototype.P.vu||this.Ia.Jr();this.Qa=[];this.W=[];3===a.length?(c=a[2],this.Qa.length=c.length+1):this.Qa.length=1;break;case 20:this.be=this.b.n[a[1]];this.ed=-1;this.Cb=this.b.te(a[2]);this.Pg=a[3];pc&&this.Cb===pc.prototype.P.Oo&&this.Ia.Jr();a[4]?this.hd=new ac(b,a[4]):this.hd=null;this.Qa=[];this.W=[];6===a.length?
(c=a[5],this.Qa.length=c.length+1):this.Qa.length=1;break;case 21:this.be=this.b.n[a[1]];this.Pg=a[2];a[3]?this.hd=new ac(b,a[3]):this.hd=null;this.ps=a[4];break;case 22:this.be=this.b.n[a[1]];this.be.Tj(a[2]);this.ed=this.be.Am(a[2]);this.Cb=this.b.te(a[3]);this.Pg=a[4];a[5]?this.hd=new ac(b,a[5]):this.hd=null;this.Qa=[];this.W=[];7===a.length?(c=a[6],this.Qa.length=c.length+1):this.Qa.length=1;break;case 23:this.Xi=a[1],this.pf=null}this.Ia.Ww(this.be);4<=this.type&&17>=this.type&&(this.first=new ac(b,
a[1]),this.second=new ac(b,a[2]));if(c){var e,d;e=0;for(d=c.length;e=a||
l<=-a)l%=a;0>l&&(l+=a);g.apply(r[l],c)};c.prototype.ov=function(b){var a=this.be,c=this.Qa,n=this.W,d=this.hd,g=this.ed,l=this.Cb,f=this.Ia.je,r=a.ba(),t=r.Ec();if(!t.length)if(r.X.length)t=r.X;else{this.Pg?b.Jb(""):b.Ba(0);return}c[0]=b;b.Nf=a;b=m();e(n,c,b);d&&(d.get(b),b.qb()&&(f=b.data,t=a.c));--q;n=t.length;if(f>=n||f<=-n)f%=n;0>f&&(f+=n);f=t[f];t=0;a.G&&(t=f.type.jg[a.Ud]);l.apply(f.J[g+t],c)};c.prototype.wv=function(b){var a=this.hd,c=this.be,e=this.ps,d=this.Ia.je,g=c.ba(),l=g.Ec();if(!l.length)if(g.X.length)l=
g.X;else{this.Pg?b.Jb(""):b.Ba(0);return}if(a){g=m();a.get(g);if(g.qb()){d=g.data;l=c.c;0!==l.length&&(d%=l.length,0>d&&(d+=l.length));d=c.Em(d);c=d.eb[e];ka(c)?b.Jb(c):b.u(c);--q;return}--q}a=l.length;if(d>=a||d<=-a)d%=a;0>d&&(d+=a);d=l[d];l=0;c.G&&(l=d.type.Kj[c.Ud]);c=d.eb[e+l];ka(c)?b.Jb(c):b.u(c)};c.prototype.xv=function(b){b.type=dc.Yf;b.data=this.value};c.prototype.tv=function(b){b.type=dc.Xf;b.data=this.value};c.prototype.Gv=function(b){b.type=dc.String;b.data=this.value};c.prototype.Jv=function(b){this.first.get(b);
b.qb()&&(b.data=-b.data)};c.prototype.gv=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data+=a.data,a.tg()&&b.Eg());--q};c.prototype.Hv=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data-=a.data,a.tg()&&b.Eg());--q};c.prototype.Bv=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data*=a.data,a.tg()&&b.Eg());--q};c.prototype.qv=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data/=
a.data,b.Eg());--q};c.prototype.Av=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data%=a.data,a.tg()&&b.Eg());--q};c.prototype.Fv=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data=Math.pow(b.data,a.data),a.tg()&&b.Eg());--q};c.prototype.hv=function(b){this.first.get(b);var a=m();this.second.get(a);a.wg()||b.wg()?this.kv(b,a):this.jv(b,a);--q};c.prototype.kv=function(b,a){b.wg()&&a.wg()?this.nv(b,a):this.lv(b,a)};c.prototype.nv=function(b,
a){b.data+=a.data};c.prototype.lv=function(b,a){b.wg()?b.data+=(Math.round(1E10*a.data)/1E10).toString():b.Jb(b.data.toString()+a.data)};c.prototype.jv=function(b,a){b.Ba(b.data&&a.data?1:0)};c.prototype.Ev=function(b){this.first.get(b);var a=m();this.second.get(a);b.qb()&&a.qb()&&(b.data||a.data?b.Ba(1):b.Ba(0));--q};c.prototype.pv=function(b){this.first.get(b);b.data?this.second.get(b):this.rl.get(b)};c.prototype.rv=function(b){this.first.get(b);var a=m();this.second.get(a);b.Ba(b.data===a.data?
1:0);--q};c.prototype.Cv=function(b){this.first.get(b);var a=m();this.second.get(a);b.Ba(b.data!==a.data?1:0);--q};c.prototype.yv=function(b){this.first.get(b);var a=m();this.second.get(a);b.Ba(b.dataa.data?1:0);--q};c.prototype.vv=function(b){this.first.get(b);var a=m();this.second.get(a);b.Ba(b.data>=
a.data?1:0);--q};c.prototype.sv=function(b){var a=this.pf.uf();ja(a)?b.u(a):b.Jb(a)};ac=c;n.prototype.tg=function(){return this.type===dc.Xf};n.prototype.qb=function(){return this.type===dc.Yf||this.type===dc.Xf};n.prototype.wg=function(){return this.type===dc.String};n.prototype.Eg=function(){this.tg()||(this.wg()&&(this.data=parseFloat(this.data)),this.type=dc.Xf)};n.prototype.Ba=function(b){this.type=dc.Yf;this.data=Math.floor(b)};n.prototype.u=function(b){this.type=dc.Xf;this.data=b};n.prototype.Jb=
function(b){this.type=dc.String;this.data=b};n.prototype.no=function(b){ja(b)?(this.type=dc.Xf,this.data=b):ka(b)?(this.type=dc.String,this.data=b.toString()):(this.type=dc.Yf,this.data=0)};$b=n;dc={Yf:0,Xf:1,String:2}})();function W(c){this.b=c;this.pc=[]}
W.prototype.kb=function(){var c={},m,e,n,r,q,b,a,k;c.waits=[];var w=c.waits,d;m=0;for(e=this.pc.length;m=c+d)return a.H.Every_lastTime=c+d,e>=a.H.Every_lastTime+.04&&(a.H.Every_lastTime=e),a.H.Every_seconds=
b,!0;eb)){var a,c,e,d=this.b.ob(),g;r.length?g=r.pop():g={ac:{},Ca:[]};g.jm=!1;g.time=this.b.rb.R+b;g.Qr="";g.po=!1;g.ig=d.Vb;g.fc=d.fc+1;b=0;for(a=this.b.n.length;bd&&(a=d);b.u(a)};e.prototype.lf=function(b){b.u(this.b.lf)};e.prototype.$g=function(b){b.u(this.b.$g)};e.prototype.time=
function(b){b.u(this.b.rb.R)};e.prototype.Ye=function(b){b.Ba(this.b.Ye)};e.prototype.xk=function(b){b.Ba(this.b.xk)};e.prototype.vm=function(b){b.Ba(this.b.vm)};e.prototype.Du=function(b,a,c,e,d){b.u(Sa(a,c,e,d))};e.prototype.j=function(b,a,c,e,d){b.u(Ga(Na(a,c,e,d)))};e.prototype.left=function(b,a,c){b.Jb(ka(a)?a.substr(0,c):"")};e.prototype.right=function(b,a,c){b.Jb(ka(a)?a.substr(a.length-c):"")};e.prototype.replace=function(b,a,c,e){ka(a)&&ka(c)&&ka(e)?b.Jb(a.replace(new RegExp(fb(c),"gi"),
e)):b.Jb(ka(a)?a:"")};e.prototype.trim=function(b,a){b.Jb(ka(a)?a.trim():"")};e.prototype.vu=function(b){var a=y(Math.random()*(arguments.length-1));b.no(arguments[a+1])};e.prototype.cm=function(b){b.u(this.b.cm/1E3)};e.prototype.If=function(b){b.u(this.b.If)};e.prototype.su=function(b,a,c,e){a=this.b.Wp(a);b.u(a?a.Fa(c,e,!0):0)};e.prototype.tu=function(b,a,c,e){a=this.b.Wp(a);b.u(a?a.Fa(c,e,!1):0)};n.P=new e;n.Kx=function(){var b,a,c,e,d,g,l=this.b.ob();b=0;for(c=this.pc.length;bthis.b.rb.R)continue;l.Vb=e.ig;l.fc=e.fc;l.mb=0;for(a in e.ac)e.ac.hasOwnProperty(a)&&(d=this.b.n[parseInt(a,10)].ba(),g=e.ac[a],d.pa=g.Zk,Aa(d.c,g.Wd),d=g,O(d.Wd),q.push(d));e.ig.Ix();this.b.$l(e.Ca);e.jm=!0}a=b=0;for(c=this.pc.length;ba.ya||b.top>a.xa)},d.Ls=function(){this.Aa();var a=this.Ea,b=this.b.wa;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},d.Sy=function(a,b,c){var d=this.ba(),
h=d.Ec();if(!h.length)return!1;var g=h[0],e=g,k=Sa(g.x,g.y,b,c),l,m,n;l=1;for(m=h.length;lk)k=n,e=g;d.wi(e);return!0},g.fz=function(a){this.x!==a&&(this.x=a,this.U())},g.gz=function(a){this.y!==a&&(this.y=a,this.U())},g.Lt=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.U()},g.Mt=function(a,b){var c=a.Zv(this);if(c){var d;c.wh?(d=c.wh(b,!0),c=c.wh(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.U()}},g.Ly=
function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.U())},g.Ky=function(a,b){0!==b&&(this.x+=Math.cos(V(a))*b,this.y+=Math.sin(V(a))*b,this.U())},l.Nl=function(a){a.u(this.x)},l.Ol=function(a){a.u(this.y)},l.lf=function(a){a.u(this.b.Le(this))});q&&(d.yy=function(a,b){return ec(this.width,a,b)},d.wy=function(a,b){return ec(this.height,a,b)},g.Tt=function(a){this.width!==a&&(this.width=a,this.U())},g.dz=function(a){this.height!==a&&(this.height=a,this.U())},g.Ot=function(a,
b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.U()},l.bu=function(a){a.u(this.width)},l.Cy=function(a){a.u(this.height)},l.ty=function(a){this.Aa();a.u(this.Ea.left)},l.vy=function(a){this.Aa();a.u(this.Ea.top)},l.uy=function(a){this.Aa();a.u(this.Ea.right)},l.ry=function(a){this.Aa();a.u(this.Ea.bottom)});b&&(d.vs=function(a,b){return Oa(this.j,V(b))<=V(a)},d.Js=function(a){return Qa(this.j,V(a))},d.Hs=function(a,b){var c=Ma(a),d=Ma(b),h=Ia(this.j);return Qa(d,c)?Qa(h,c)&&
!Qa(h,d):!(!Qa(h,c)&&Qa(h,d))},g.$y=function(a){a=V(Ha(a));isNaN(a)||this.j===a||(this.j=a,this.U())},g.Wy=function(a){0===a||isNaN(a)||(this.j+=V(a),this.j=Ia(this.j),this.U())},g.Xy=function(a){0===a||isNaN(a)||(this.j-=V(a),this.j=Ia(this.j),this.U())},g.Yy=function(a,b){var c=Pa(this.j,V(b),V(a));isNaN(c)||this.j===c||(this.j=c,this.U())},g.Zy=function(a,b,c){a=Pa(this.j,Math.atan2(c-this.y,b-this.x),V(a));isNaN(a)||this.j===a||(this.j=a,this.U())},g.Qt=function(a,b){var c=Math.atan2(b-this.y,
a-this.x);isNaN(c)||this.j===c||(this.j=c,this.U())},l.qy=function(a){a.u(La(this.j))});n||(d.zs=function(a,b,c){return ec(this.eb[a],b,c)},d.Ey=function(a){return this.eb[a]},d.Ty=function(a,b){var c=this.ba(),d=c.Ec();if(!d.length)return!1;var h=d[0],g=h,e=h.eb[b],k,l,m;k=1;for(l=d.length;ke)e=m,g=h;c.wi(g);return!0},d.Ry=function(a){var b,c,d,h,g;if(this.b.Uj().Eh){g=this.ba();if(g.pa)for(g.pa=!1,O(g.c),O(g.X),d=this.c,b=0,c=d.length;ba?a=0:1h.k.index||d.k.index===h.k.index&&d.Rc()>h.Rc())h=d}else if(d.k.indexc)){var d=1===a;this.ue[c]!==d&&(this.ue[c]=d,this.rd(),this.b.Z=!0)}}},g.cz=function(a,b,c){if(this.b.A){var d=this.type.Dm(a);0>d||(a=this.type.O[d],d=this.Pa[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.A.dw(a.Ya,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.La&&(this.b.Z=!0))))}})};Kb=function(){this.Xl=this.nj=!0;this.type.hj=!0;this.b.Z=!0;var c,e,n=this.Ul;c=0;for(e=n.length;cn;case 5:return c>=n;default:return!1}}})();var mc={};function qc(c){this.b=c}
(function(){function c(a){a=Math.pow(10,a/20);isFinite(a)||(a=0);0>a&&(a=0);1a&&(a=0);1a&&(a=.01);this.Ok.gain.value=a;this.Nk.gain.value=Math.pow(1/a,.6)*b};N.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=af;++f)h=f/32768,h=this.shape(h,c,d),this.Cj[32768+f]=h,this.Cj[32768-f-1]=-h};N.prototype.Nc=function(a){this.N.disconnect();this.N.connect(a);this.M.disconnect();this.M.connect(a)};N.prototype.remove=function(){this.ea.disconnect();this.Ok.disconnect();this.El.disconnect();this.Nk.disconnect();this.N.disconnect();this.M.disconnect()};N.prototype.Dc=function(){return this.ea};h.prototype.Nc=function(a){this.fa.disconnect();this.fa.connect(a)};h.prototype.remove=function(){this.fa.disconnect()};
h.prototype.Dc=function(){return this.fa};p.prototype.Da=function(){this.fa.getFloatFrequencyData(this.Ov);this.fa.getByteTimeDomainData(this.Or);for(var a=this.fa.fftSize,b=0,c=this.vi=0,d=0;bd&&(d=-d),this.vib&&(c=b);return c};G.prototype.Kh=function(){return!this.wc&&!this.Ad&&!this.nc&&!this.xf()};G.prototype.Xx=function(){return!this.Ad&&
!this.nc&&!this.xf()};G.prototype.Wx=function(a){this.volume=a;this.ms()};G.prototype.ms=function(){var a=this.volume*L;isFinite(a)||(a=0);switch(this.Y){case 0:"undefined"!==typeof this.m.volume&&this.m.volume!==a&&(this.m.volume=a);break;case 1:1===this.buffer.Y?this.bb.gain.value=a*this.Gg:"undefined"!==typeof this.m.volume&&this.m.volume!==a&&(this.m.volume=a)}};G.prototype.Gj=function(a){switch(this.Y){case 0:this.m.muted!==!!a&&(this.m.muted=!!a);break;case 1:1===this.buffer.Y?(this.Gg=a?0:
1,this.bb.gain.value=L*this.volume*this.Gg):this.m.muted!==!!a&&(this.m.muted=!!a)}};G.prototype.Sx=function(){this.ug=!0;this.Gj(this.ug||this.Ph)};G.prototype.Ir=function(a){this.Ph=!!a;this.Gj(this.ug||this.Ph)};G.prototype.Al=function(){var a=this.playbackRate;this.rg&&(a*=H.$g);switch(this.Y){case 0:this.m.playbackRate!==a&&(this.m.playbackRate=a);break;case 1:1===this.buffer.Y?this.m.playbackRate.value!==a&&(this.m.playbackRate.value=a):this.m.playbackRate!==a&&(this.m.playbackRate=a)}};G.prototype.Ux=
function(c){switch(this.Y){case 0:c?this.Kh()?(this.Kc=!0,this.m.pause()):this.Kc=!1:this.Kc&&(this.m.play(),this.Kc=!1);break;case 1:c?this.Kh()?(this.Kc=!0,1===this.buffer.Y?(this.mc=this.Fm(!0),this.Cd&&(this.mc=this.mc%this.tf()),a(this.m)):this.m.pause()):this.Kc=!1:this.Kc&&(1===this.buffer.Y?(this.m=v.createBufferSource(),this.m.buffer=this.buffer.ka,this.m.connect(this.bb),this.m.onended=this.Nn,this.fj=this.m,this.m.loop=this.Cd,this.bb.gain.value=L*this.volume*this.Gg,this.Al(),this.startTime=
(this.rg?H.rb.R:H.qe.R)-this.mc/(this.playbackRate||.001),b(this.m,this.mc,this.tf())):this.m.play(),this.Kc=!1);break;case 2:c?this.Kh()?(this.m.pause(),this.Kc=!0):this.Kc=!1:this.Kc&&(this.Kc=!1,this.m.play())}};J.I=function(a){function b(){if(!U&&v.createBuffer){var a=v.createBuffer(1,220,22050),c=v.createBufferSource();c.buffer=a;c.connect(v.destination);q(c)}}this.type=a;H=this.b=a.b;F=this;this.yc=null;this.Zh=-600;this.b.Nh&&(Wa=!0);!(this.b.xg||this.b.fk&&(this.b.Fh||this.b.gk))||this.b.ik||
this.b.za||this.b.iq||Wa||(Xa=!0);v=null;"undefined"!==typeof AudioContext?(C=1,v=new AudioContext):"undefined"!==typeof webkitAudioContext&&(C=1,v=new webkitAudioContext);this.b.xg&&v&&(v.close&&v.close(),"undefined"!==typeof AudioContext?v=new AudioContext:"undefined"!==typeof webkitAudioContext&&(v=new webkitAudioContext));Xa?document.addEventListener("touchend",function(){!mb&&v&&(b(),mb=!0);var a,c,d;if(Xa){if(!B)for(a=0,c=Ya.length;a"!==b&&(a.Kk=b,a.wn=d,a.Io=h),null;e=new G(a,b);z.push(e);return e};var Ca=[];A.prototype.cj=function(a){return nb(K,a)};J.e=new A;I.prototype.Play=function(a,b,d,h){!B&&(d=c(d),D=this.zm(this.b.Mj+a[0]+(P?".ogg":".m4a"),
h,a[1],0!==b,d))&&(D.lo(!1),D.play(0!==b,d,0,this.Sq),this.Sq=0)};I.prototype.St=function(a,b){Q(a);var d=c(b),h,f;h=0;for(f=Ca.length;h",b,!1)}};I.prototype.ep=function(a){Q(a);var b;a=0;for(b=Ca.length;aa?null:b[a];return e?nb(c,e.name):!1};q.e=new e;n.prototype.Nt=function(c){var e=0>a?null:b[a];e&&(e.Ci=c)};q.C=new n;r.prototype.Bt=function(c,e){e=y(e);var d=0>a?null:b[a];d?0<=e&&ec;++c)if(this.Sh[c]){this.Sh[c]=!1;this.oe=c;this.b.trigger(sc.prototype.e.Ro,this);var e=this.b.trigger(sc.prototype.e.Vo,this),b=this.b.trigger(sc.prototype.e.Uo,this);if(e||b)this.Vi[c]=!0}};e.kb=function(){return{triggerKey:this.oe}};e.Fb=function(c){this.oe=c.triggerKey};c.prototype.gt=function(c){return c===this.oe};c.prototype.Ts=function(){return!0};c.prototype.Ro=function(){return!0};c.prototype.Vo=
function(c){return c===this.oe};c.prototype.ht=function(c){return c===this.oe};c.prototype.Uo=function(c){return c===this.oe};m.e=new c;m.C=new function(){};m.P=new function(){}})();function tc(c){this.b=c}
(function(){function c(){}function m(){}function e(){}var n=tc.prototype;n.S=function(a){this.na=a;this.b=a.b};n.S.prototype.D=function(){};n.I=function(a){this.type=a;this.b=a.b;this.df=Array(4);this.as=this.ul=this.Uf=this.ae=this.$d=0;this.bk=!1};var r=n.I.prototype;r.D=function(){var a=this;if(!this.b.za){jQuery(document).mousemove(function(b){a.qi(b)});jQuery(document).mousedown(function(b){a.pi(b)});jQuery(document).mouseup(function(b){a.ri(b)});jQuery(document).dblclick(function(b){a.ax(b)});
var b=function(b){a.kx(b)};document.addEventListener("mousewheel",b,!1);document.addEventListener("DOMMouseScroll",b,!1)}};var q={left:0,top:0};r.qi=function(a){var b=this.b.za?q:jQuery(this.b.canvas).offset();this.$d=a.pageX-b.left;this.ae=a.pageY-b.top};r.Qq=function(){return 0(a.wheelDelta?a.wheelDelta:a.detail?
-a.detail:0)?0:1;this.bk=!1;this.b.Ha=!0;this.b.trigger(tc.prototype.e.At,this);this.b.Ha=!1;this.bk&&ob(a)&&a.preventDefault()};r.Te=function(){var a,b;a=0;for(b=this.df.length;athis.size?this.La=!1:(0!==e.Wh&&(this.j+=Math.random()*e.Wh*c-e.Wh*c/2),0!==e.Yh&&(this.speed+=Math.random()*e.Yh*c-e.Yh*c/2),0!==e.Xh&&(this.opacity+=Math.random()*e.Xh*c-e.Xh*c/2,0>this.opacity?this.opacity=0:1=e.gg&&this.xe>=e.timeout&&(this.La=!1),2===e.gg&&0>=this.speed&&
(this.La=!1))};c.prototype.gd=function(c){var e=this.Ia.opacity*this.opacity;if(0!==e){0===this.Ia.gg&&(e*=1-this.xe/this.Ia.timeout);c.globalAlpha=e;var e=this.x-this.size/2,b=this.y-this.size/2;this.Ia.b.kd&&(e=e+.5|0,b=b+.5|0);c.drawImage(this.Ia.type.aa,e,b,this.size,this.size)}};c.prototype.gc=function(c){var e=this.Ia.opacity*this.opacity;0===this.Ia.gg&&(e*=1-this.xe/this.Ia.timeout);var b=this.size,a=b*this.Ia.mr,k=this.x-b/2,n=this.y-b/2;this.Ia.b.kd&&(k=k+.5|0,n=n+.5|0);1>a||0===e||(ac.xn?(c.Qf(e),c.Ng(k,n,k+b,n,k+b,n+b,k,n+b)):c.qx(this.x,this.y,a,e))};c.prototype.left=function(){return this.x-this.size/2};c.prototype.right=function(){return this.x+this.size/2};c.prototype.top=function(){return this.y-this.size/2};c.prototype.bottom=function(){return this.y+this.size/2};m.I=function(c){this.type=c;this.b=c.b};var e=m.I.prototype,n=[];e.D=function(){var c=this.q;this.Uk=c[0];this.kl=V(c[1]);this.Tg=c[2];this.qo=!0;this.Um=c[3];this.Tm=c[4];this.Sm=c[5]/100;this.Km=c[6];this.Fl=
c[7];this.Gl=c[8];this.jl=c[9];this.il=c[10];this.Zj=c[11];this.lb=c[12];this.ym=c[13];this.Wh=c[14];this.Yh=c[15];this.Xh=c[16];this.gg=c[17];this.timeout=c[18];this.Of=0;this.mr=1;this.Gk=this.x;this.Ik=this.y;this.Hk=this.x;this.Fk=this.y;this.ju(function(c){c.Ea.set(c.Gk,c.Ik,c.Hk,c.Fk);c.rc.Sg(c.Ea);c.nj=!1;c.Go();c.ns()});this.Jc||(this.$b=[]);this.b.Ri(this);this.type.rn();if(1===this.Tg)for(c=0;cthis.Hk&&(this.Hk=a.right()),a.top()this.Fk&&(this.Fk=a.bottom()),k++):
n.push(a);za(this.$b,k);this.U();this.Pj=!1;1===this.Tg&&0===this.$b.length&&this.b.Kd(this)};e.gd=function(c){var e,b,a,k=this.k;e=0;for(b=this.$b.length;e=k.qa&&a.bottom()>=k.ra&&a.left()<=k.ya&&a.top()<=k.xa&&a.gd(c)};e.gc=function(c){this.mr=this.k.Fc();c.Ac(this.type.ga);var e,b,a,k=this.k;e=0;for(b=this.$b.length;e=k.qa&&a.bottom()>=k.ra&&a.left()<=k.ya&&a.top()<=k.xa&&a.gc(c)};m.e=new function(){};m.C=new function(){};m.P=new function(){}})();
function X(c){this.b=c}
(function(){function c(){if(0===this.hm.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Ug?b.drawImage(this.aa,this.Ig,this.Jg,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.aa,0,0,this.width,this.height);this.hm=a.toDataURL("image/png")}return this.hm}function m(){}function e(a){a[0]=0;a[1]=0;a[2]=0;l.push(a)}function n(a,b){return athis.F&&(this.F=0);this.F>=this.Ja.frames.length&&(this.F=this.Ja.frames.length-1);var a=this.Ja.frames[this.F];this.ta.Ii(a.Lk);this.Wb=a.Wb;this.Xb=a.Xb;this.eg=this.Ja.speed;this.He=this.Ja.bo;1===this.type.qc.length&&1===this.type.qc[0].frames.length||0===this.eg||(this.b.Ri(this),this.Mh=!0);this.Jc?this.vd.reset():this.vd=new eb;this.Vd=this.vd.R;this.bf=!0;this.Ld=0;this.$e=!0;this.sj=this.np="";this.xp=0;this.rj=-1;this.type.rn();var b,c,d,f,e,g,k,a=0;for(b=this.type.qc.length;a<
b;a++)for(f=this.type.qc[a],c=0,d=f.frames.length;cthis.F&&(this.F=0);this.F>=this.Ja.frames.length&&(this.F=this.Ja.frames.length-1);this.eg=a.cas;this.Vd=a.fs;this.Ld=a.ar;this.vd.reset();this.vd.R=a.at;this.bf=a.hasOwnProperty("ap")?a.ap:!0;this.$e=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?this.He=a.rt:this.He=this.Ja.bo;this.ab=this.Ja.frames[this.F];this.Aj=this.ab.ga;this.ta.Ii(this.ab.Lk);this.Wb=this.ab.Wb;this.Xb=this.ab.Xb};g.Sl=
function(a){this.F=a?0:this.Ja.frames.length-1;this.bf=!1;this.np=this.Ja.name;this.dk=!0;this.b.trigger(X.prototype.e.Rs,this);this.b.trigger(X.prototype.e.Qo,this);this.dk=!1;this.Ld=0};g.jh=function(){return this.vd.R};g.Da=function(){this.vd.add(this.b.Le(this));this.sj.length&&this.Ep();0<=this.rj&&this.Fp();var a=this.vd.R,b=this.Ja,c=b.frames[this.F],d=c.duration/this.eg;this.bf&&a>=this.Vd+d&&(this.$e?this.F++:this.F--,this.Vd+=d,this.F>=b.frames.length&&(b.nr?(this.$e=!1,this.F=b.frames.length-
2):b.loop?this.F=this.He:(this.Ld++,this.Ld>=b.ao?this.Sl(!1):this.F=this.He)),0>this.F&&(b.nr?(this.F=1,this.$e=!0,b.loop||(this.Ld++,this.Ld>=b.ao&&this.Sl(!0))):b.loop?this.F=this.He:(this.Ld++,this.Ld>=b.ao?this.Sl(!0):this.F=this.He)),0>this.F?this.F=0:this.F>=b.frames.length&&(this.F=b.frames.length-1),a>this.Vd+b.frames[this.F].duration/this.eg&&(this.Vd=a),a=b.frames[this.F],this.$f(c,a),this.b.Z=!0)};g.Rp=function(a){var b,c,d;b=0;for(c=this.type.qc.length;bthis.F&&(this.F=0),this.F>=this.Ja.frames.length&&(this.F=this.Ja.frames.length-1),1===this.xp&&(this.F=0),this.bf=!0,this.Vd=this.vd.R,this.$e=!0,this.$f(a,this.Ja.frames[this.F]),this.b.Z=!0)};g.Fp=function(){var a=
this.Ja.frames[this.F],b=this.F;this.F=y(this.rj);0>this.F&&(this.F=0);this.F>=this.Ja.frames.length&&(this.F=this.Ja.frames.length-1);b!==this.F&&(this.$f(a,this.Ja.frames[this.F]),this.Vd=this.vd.R,this.b.Z=!0);this.rj=-1};g.$f=function(a,b){var c=a.width,d=a.height,f=b.width,e=b.height;c!=f&&(this.width*=f/c);d!=e&&(this.height*=e/d);this.Wb=b.Wb;this.Xb=b.Xb;this.ta.Ii(b.Lk);this.U();this.ab=b;this.Aj=b.ga;c=0;for(d=this.J.length;cf||f>=d.length)return b?this.x:this.y;var e=(d[f][1]-c.Wb)*this.width,d=d[f][2],d=(d-c.Xb)*this.height,c=Math.cos(this.j);f=Math.sin(this.j);var g=e*c-d*f,d=d*c+e*f,e=g+this.x,d=d+this.y;return b?e:d};var l=[],f=-2,R=[];m.prototype.Vs=function(a){if(!a)return!1;var c=this.b,d=c.Uj(),g=d.type,k=null;d.H.collmemory?k=d.H.collmemory:
(k={},d.H.collmemory=k);d.H.spriteCreatedDestroyCallback||(d.H.spriteCreatedDestroyCallback=!0,c.kp(function(a){var b=d.H.collmemory;a=a.uid;var c,f;for(c in b)b.hasOwnProperty(c)&&(f=b[c],f[0]===a||f[1]===a)&&(e(b[c]),delete b[c])}));var l=g.ba(),n=a.ba(),l=l.Ec(),m,t,w,N,F,K,M,C=this.b.Ye,v=C-1,u=c.ob().Vb;for(t=0;t=g.length&&g.push(c(a,Object));d=g[d];d.text=e;d.width=b.zn(e);b.Zg=oa(b.Zg,d.width)}function n(){}var r=vc.prototype;r.D=function(){};r.S=function(a){this.na=a;this.b=a.b};var q=r.S.prototype;q.D=function(){this.G||
(this.aa=new Image,this.b.Jo(this.aa,this.ql),this.ga=null)};q.yk=function(){this.G||(this.ga=null)};q.zk=function(){if(!this.G&&this.c.length){this.ga||(this.ga=this.b.A.Cg(this.aa,!1,this.b.Ka,this.Qi));var a,b;a=0;for(b=this.c.length;a=b*d);m++){var q=m%b,r=Math.floor(m/b),Q=n.charAt(m);if(this.b.A){var E=this.vj,A=q*g,I=r*h,q=(q+1)*g,r=(r+1)*h;void 0===E[Q]&&(E[Q]=c(w,ua));E[Q].left=A;E[Q].top=I;E[Q].right=q;E[Q].bottom=r}else E=this.uj,q=q*a,r=r*e,A=a,I=e,void 0===E[Q]&&(E[Q]=c(k,Object)),E[Q].x=q,E[Q].y=r,E[Q].qs=A,E[Q].Zp=I}};
var d=[];r.Zt=function(a){O(d);for(var b="",c,e=0;e=g)m(a,e,!0);else{var k=b.Ce,h=b.dg;if(d.length*(b.tj*k+h)-h<=g&&-1===d.indexOf("\n")&&(h=b.zn(d),h<=g)){m(a,e,!0);e.push(c(a,
Object));e[0].text=d;e[0].width=h;b.Zg=h;b.Tf=b.Be*k+b.lineHeight;return}this.du(b);b.Tf=e.length*(b.Be*k+b.lineHeight)}}else m(a,e,!0)};r.du=function(c){var f=c.my,g=c.text,k=c.Hf,n=c.width;f&&(this.Zt(g),g=d);var h="",p,m,q,r=0,w=!1;for(q=0;qn&&(""===p?(e(c,r,h),h="",w=!0):(e(c,r,p),h=g[q]),r++,f||" "!==h||(h="")));h.replace(/\s\s*$/,"").length&&(e(c,r,h),r++);for(q=r;qthis.width+1E-5)break;void 0!==D&&(M=K,C=F,0===k&&1===m&&(M=Math.round(M),C=Math.round(C)),a.drawImage(this.aa,D.x,D.y,D.qs,D.Zp,M,C,D.qs*m,D.Zp*m));K+=J*m+w;if(0===k&&b+K>h)break}}F+=q;if(0===k&&(F+q+r>this.height||c+F>g))break}}a.restore()}};var g=new wa;q.gc=function(a){a.Ac(this.ga);a.Qf(this.opacity);if(this.text&&(this.tr(),!(this.heightthis.width+1E-5)break;if(void 0!==
P){var S=this.tj*w,B=this.Be*w;u=v;z=r;0===m&&1===w&&(u=Math.round(u),z=Math.round(z));g.Za=u;g.$a=z;g.Kb=u+S;g.Lb=z;g.xb=u;g.yb=z+B;g.zb=u+S;g.Ab=z+B;0!==m&&(u=g,z=M,S=C,B=void 0,B=u.Za*z-u.$a*S,u.$a=u.$a*z+u.Za*S,u.Za=B,B=u.Kb*z-u.Lb*S,u.Lb=u.Lb*z+u.Kb*S,u.Kb=B,B=u.xb*z-u.yb*S,u.yb=u.yb*z+u.xb*S,u.xb=B,B=u.zb*z-u.Ab*S,u.Ab=u.Ab*z+u.zb*S,u.zb=B);g.offset(c,b);a.Ve(g.Za,g.$a,g.Kb,g.Lb,g.zb,g.Ab,g.xb,g.yb,P)}v+=K*w+J;if(0===m&&c+v>k)break}}r+=A;if(0===m&&(r+A+I>this.height||b+r>n))break}}};r.e=new function(){};
n.prototype.Pt=function(a){ja(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Pi=!0,this.b.Z=!0)};q.jh=function(a,b){var c=parseInt(b,10);this.De[a]!==c&&(this.De[a]=c,this.Pi=!0,this.b.Z=!0)};r.C=new n;r.P=new function(){}})();function Y(c){this.b=c}
(function(){function c(a){k=a.x;w=a.y;d=a.z}function m(a,b,c,d){var f;f=g.length?g.pop():new e;f.init(a,b,c,d);return f}function e(){this.Li=this.id=this.y=this.x=this.nl=this.ml=this.mn=this.time=this.so=0;this.Ti=this.wl=!1}function n(){}function r(){}var q=Y.prototype;q.S=function(a){this.na=a;this.b=a.b};q.S.prototype.D=function(){};q.I=function(a){this.type=a;this.b=a.b;this.touches=[];this.Bn=!1};var b=q.I.prototype,a={left:0,top:0};b.rf=function(a){var b,c;b=0;for(c=this.touches.length;bSa(this.ml,
this.nl,this.x,this.y)&&(this.wl=!0,a.Jd=this.Li,a.Vf=this.id,a.mg=b,a.b.trigger(Y.prototype.e.dt,a),a.Qd=this.x,a.Rd=this.y,a.b.trigger(Y.prototype.e.et,a),a.mg=0)};var l=-1E3,f=-1E3,R=-1E4;e.prototype.Mq=function(a,b){if(!this.wl){var c=ab();333>=c-this.so&&!this.Ti&&15>Sa(this.ml,this.nl,this.x,this.y)&&(a.Jd=this.Li,a.Vf=this.id,a.mg=b,666>=c-R&&25>Sa(l,f,this.x,this.y)?(a.b.trigger(Y.prototype.e.Ws,a),a.Qd=this.x,a.Rd=this.y,a.b.trigger(Y.prototype.e.Xs,a),f=l=-1E3,R=-1E4):(a.b.trigger(Y.prototype.e.ut,
a),a.Qd=this.x,a.Rd=this.y,a.b.trigger(Y.prototype.e.xt,a),l=this.x,f=this.y,R=c),a.mg=0)}};b.D=function(){this.Mw=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.mg=this.Vf=this.Jd=this.Rd=this.Qd=this.hp=this.gp=this.fp=this.hu=this.gu=this.fu=this.Ek=this.Dk=this.Ck=0;this.jy=0!==this.q[0];var a=0d-c.time||c.update(d,b.pageX-e.left,b.pageY-e.top,b.width||0,b.height||0,b.pressure||0)}}};b.ti=
function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType){b.preventDefault&&ob(b)&&b.preventDefault();var c=this.b.za?a:jQuery(this.b.canvas).offset(),d=b.pageX-c.left,c=b.pageY-c.top;ab();this.Jd=this.touches.length;this.Vf=b.pointerId;this.touches.push(m(d,c,b.pointerId,this.Jd));this.b.Ha=!0;this.b.trigger(Y.prototype.e.Zo,this);this.b.trigger(Y.prototype.e.dp,this);this.Qd=d;this.Rd=c;this.b.trigger(Y.prototype.e.Ml,this);this.b.Ha=!1}};b.ee=function(a,b){if(a.pointerType!==
a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&ob(a)&&a.preventDefault();var c=this.rf(a.pointerId);this.Jd=0<=c?this.touches[c].Li:-1;this.Vf=0<=c?this.touches[c].id:-1;this.b.Ha=!0;this.b.trigger(Y.prototype.e.Yo,this);this.b.trigger(Y.prototype.e.Ll,this);0<=c&&(b||this.touches[c].Mq(this,c),100>g.length&&g.push(this.touches[c]),this.touches.splice(c,1));this.b.Ha=!1}};b.Ak=function(b){b.preventDefault&&b.preventDefault();var c=ab(),d,e,f,g;d=0;for(e=b.changedTouches.length;d<
e;d++)if(f=b.changedTouches[d],g=this.rf(f.identifier),0<=g){var k=this.b.za?a:jQuery(this.b.canvas).offset();g=this.touches[g];2>c-g.time||g.update(c,f.pageX-k.left,f.pageY-k.top,2*(f.Bz||f.Iz||f.uz||f.xz||0),2*(f.Cz||f.Jz||f.vz||f.yz||0),f.pz||f.Hz||f.sz||f.wz||0)}};b.Bk=function(b){b.preventDefault&&ob(b)&&b.preventDefault();var c=this.b.za?a:jQuery(this.b.canvas).offset();ab();this.b.Ha=!0;var d,e,f,g;d=0;for(e=b.changedTouches.length;dg.length&&g.push(this.touches[e]),this.touches.splice(e,1));this.b.Ha=!1};b.jh=function(){return this.b.vc&&0===this.Ck&&0!==d?90*d:this.Ck};b.nz=function(){return this.b.vc&&0===this.Dk&&0!==w?90*w:this.Dk};b.oz=function(){return this.b.vc&&0===this.Ek&&0!==k?90*k:this.Ek};b.pi=function(a){this.Bk({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Bn=!0};b.qi=function(a){this.Bn&&
this.Ak({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};b.ri=function(a){a.preventDefault&&this.b.$j&&!this.b.Oe&&a.preventDefault();this.b.$j=!0;this.Kg({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Bn=!1};b.sl=function(){var a,b,c,d=ab();a=0;for(b=this.touches.length;ac||c>=this.touches.length)a.u(0);else{var d,e,f,g,k;ga(b)?(d=this.b.Bd(0),e=d.scale,f=d.Ub,g=d.ic,k=d.j,d.scale=1,d.Ub=1,d.ic=1,d.j=0,a.u(d.Fa(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.Ub=f,d.ic=g,d.j=k):(d=ja(b)?this.b.Bd(b):this.b.lg(b))?a.u(d.Fa(this.touches[c].x,this.touches[c].y,!0)):a.u(0)}};r.prototype.Ol=function(a,b){var c=this.mg;if(0>c||c>=this.touches.length)a.u(0);else{var d,e,f,g,k;ga(b)?(d=this.b.Bd(0),e=d.scale,f=d.Ub,g=d.jc,k=d.j,d.scale=1,d.Ub=1,d.jc=1,d.j=
0,a.u(d.Fa(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.Ub=f,d.jc=g,d.j=k):(d=ja(b)?this.b.Bd(b):this.b.lg(b))?a.u(d.Fa(this.touches[c].x,this.touches[c].y,!1)):a.u(0)}};r.prototype.ss=function(a,b){var c=this.rf(b);0>c?a.u(0):a.u(this.touches[c].x)};r.prototype.ts=function(a,b){var c=this.rf(b);0>c?a.u(0):a.u(this.touches[c].y)};r.prototype.$t=function(a){a.u(this.Vf)};q.P=new r})();function wc(c){this.b=c}
(function(){function c(){}function m(){}function e(){}var n=wc.prototype;n.S=function(a){this.na=a;this.b=a.b};n.S.prototype.D=function(){};n.I=function(a){this.type=a;this.b=a.b};var r=n.I.prototype,q="",b="undefined"!==typeof window.is_scirra_arcade;b&&(q="arcade"+window.scirra_arcade_id);var a=!1;try{localStorage.getItem("test"),a=!0}catch(k){a=!1}r.D=function(){a||ea("[Construct 2] Webstorage plugin: local storage is not supported on this platform.")};c.prototype.Ps=function(b){return a?null!=
localStorage.getItem(q+b):!1};c.prototype.pt=function(){return!0};n.e=new c;m.prototype.Xt=function(b,c){if(a)try{localStorage.setItem(q+b,c)}catch(e){this.b.trigger(wc.prototype.e.pt,this)}};n.C=new m;e.prototype.Qs=function(b,c){a?b.Jb(localStorage.getItem(q+c)||""):b.Jb("")};e.prototype.No=function(c){if(a){var d={},e,k,f;e=0;for(k=localStorage.length;e",e.pageX,e.pageY)};e.Ak=function(c){c.preventDefault&&c.preventDefault();var b,a,e,n;b=0;for(a=c.changedTouches.length;b",e.pageX,e.pageY)};e.Kg=function(c){c.preventDefault&&ob(c)&&c.preventDefault();var b,a,e;b=0;for(a=c.changedTouches.length;b")};e.ti=function(c){c.pointerType!==c.MSPOINTER_TYPE_MOUSE&&"mouse"!==c.pointerType&&
(c.preventDefault&&ob(c)&&c.preventDefault(),this.In(c.pointerId.toString(),c.pageX,c.pageY))};e.si=function(c){c.pointerType!==c.MSPOINTER_TYPE_MOUSE&&"mouse"!==c.pointerType&&(c.preventDefault&&c.preventDefault(),this.Jn(c.pointerId.toString(),c.pageX,c.pageY))};e.ee=function(c){c.pointerType!==c.MSPOINTER_TYPE_MOUSE&&"mouse"!==c.pointerType&&(c.preventDefault&&ob(c)&&c.preventDefault(),this.Kn(c.pointerId.toString()))};e.In=function(e,b,a){var k=this.b.za?n:jQuery(this.b.canvas).offset();b=b-k.left;
a=a-k.top;var m,d,g,l,k=this.Hg.td(),f,r,t,N=null;f=0;for(r=k.length;fN.k.index?(N=t,g=m,l=d):t.k.index===N.k.index&&t.Rc()>N.Rc()&&(N=t,g=m,l=d):(N=t,g=m,l=d);N&&c(N).bx(e,g,l)};e.Jn=function(e,b,a){var k=this.b.za?n:jQuery(this.b.canvas).offset();b=b-k.left;a=a-k.top;var m,d=this.Hg.td(),g,l,f;g=0;for(l=d.length;g";this.Tl=this.q[0];this.enabled=0!==this.q[1]};r.kb=function(){return{enabled:this.enabled}};r.Fb=function(c){this.enabled=c.enabled;this.kf=!1};r.bx=
function(c,b,a){this.la=b-this.d.x;this.ma=a-this.d.y;this.kf=!0;this.mm=c;this.b.Ha=!0;this.b.trigger(xc.prototype.e.Ys,this.d);this.b.Ha=!1};r.gx=function(c,b){var a=c-this.la,e=b-this.ma;if(0===this.Tl){if(this.d.x!==a||this.d.y!==e)this.d.x=a,this.d.y=e,this.d.U()}else 1===this.Tl?this.d.x!==a&&(this.d.x=a,this.d.U()):2===this.Tl&&this.d.y!==e&&(this.d.y=e,this.d.U())};r.jx=function(){this.kf=!1;this.b.Ha=!0;this.b.trigger(xc.prototype.e.Zs,this.d);this.b.Ha=!1};r.Da=function(){};m.prototype.Ys=
function(){return!0};m.prototype.Zs=function(){return!0};e.e=new m;e.C=new function(){};e.P=new function(){}})();function yc(c){this.b=c}
(function(){function c(){}var m=yc.prototype;m.S=function(c){this.behavior=c;this.b=c.b};m.S.prototype.D=function(){};m.I=function(c,e){this.type=c;this.behavior=c.behavior;this.d=e;this.b=c.b;this.fl=this.el=this.dl=this.gl=this.Pm=this.Di=this.Vh=this.qh=this.Ui=!1;this.ln=this.kn=this.jn=this.nn=-1;this.ma=this.la=0};var e=m.I.prototype;e.D=function(){this.ii=this.q[0];this.lb=this.q[1];this.yd=this.q[2];this.lm=this.q[3];this.Rl=this.q[4];this.Au=1===this.q[5];this.enabled=0!==this.q[6];this.Au&&
!this.b.za&&(jQuery(document).keydown(function(c){return function(e){c.Ln(e)}}(this)),jQuery(document).keyup(function(c){return function(e){c.Mn(e)}}(this)))};e.kb=function(){return{dx:this.la,dy:this.ma,enabled:this.enabled,maxspeed:this.ii,acc:this.lb,dec:this.yd,ignoreInput:this.Pm}};e.Fb=function(c){this.la=c.dx;this.ma=c.dy;this.enabled=c.enabled;this.ii=c.maxspeed;this.lb=c.acc;this.yd=c.dec;this.Pm=c.ignoreInput;this.fl=this.el=this.dl=this.gl=this.Di=this.Vh=this.qh=this.Ui=!1;this.ln=this.kn=
this.jn=this.nn=-1};e.Ln=function(c){var e=this.b.Ye;switch(c.which){case 37:c.preventDefault();this.knthis.la?(this.la+=this.yd*c,0this.la&&(this.la=0)));b==a&&(0>this.ma?(this.ma+=this.yd*c,0this.ma&&(this.ma=0)));e&&!m&&(this.la=0this.la?this.la+(this.lb+this.yd)*c:this.la+this.lb*c);b&&!a&&(this.ma=0this.ma?this.ma+(this.lb+this.yd)*c:this.ma+this.lb*c);if(0!==this.la||0!==this.ma){Math.sqrt(this.la*
this.la+this.ma*this.ma)>this.ii&&(k=Math.atan2(this.ma,this.la),this.la=this.ii*Math.cos(k),this.ma=this.ii*Math.sin(k));m=this.d.x;b=this.d.y;e=this.d.j;this.d.x+=this.la*c;this.d.U();if(k=this.b.Xg(this.d))this.d.x=m,this.la=0,this.d.U(),this.b.Vk(this.d,k);this.d.y+=this.ma*c;this.d.U();if(k=this.b.Xg(this.d))this.d.y=b,this.ma=0,this.d.U(),this.b.Vk(this.d,k);c=lb(this.la);k=lb(this.ma);0===c&&0===k||!this.d.type.na.Ow||(1===this.Rl?this.d.j=Ma(90*Math.round(Ga(Math.atan2(k,c))/90)):2===this.Rl?
this.d.j=Ma(45*Math.round(Ga(Math.atan2(k,c))/45)):3===this.Rl&&(this.d.j=Math.atan2(k,c)));this.d.U();this.d.j!=e&&(k=this.b.Xg(this.d))&&(this.d.j=e,this.d.U(),this.b.Vk(this.d,k))}}};m.e=new function(){};c.prototype.ep=function(){this.ma=this.la=0};c.prototype.Ut=function(c){switch(c){case 0:this.el=!0;break;case 1:this.fl=!0;break;case 2:this.gl=!0;break;case 3:this.dl=!0}};m.C=new c;m.P=new function(){}})();function zc(c){this.b=c}
(function(){function c(){}var m=zc.prototype;m.S=function(c){this.behavior=c;this.b=c.b};m.S.prototype.D=function(){};m.I=function(c,e){this.type=c;this.behavior=c.behavior;this.d=e;this.b=c.b};var e=m.I.prototype;e.D=function(){this.ip=1===this.q[0];this.uh=this.q[1];this.$i=this.q[2];this.Ij=this.q[3];this.Cu=this.q[4];this.wb=this.ip?0:3;this.Jc?this.Yc.reset():this.Yc=new eb;this.Mf=this.d.opacity?this.d.opacity:1;this.ip&&(0===this.uh?(this.wb=1,0===this.$i&&(this.wb=2)):(this.d.opacity=0,this.b.Z=
!0))};e.kb=function(){return{fit:this.uh,wt:this.$i,fot:this.Ij,s:this.wb,st:this.Yc.R,mo:this.Mf}};e.Fb=function(c){this.uh=c.fit;this.$i=c.wt;this.Ij=c.fot;this.wb=c.s;this.Yc.reset();this.Yc.R=c.st;this.Mf=c.mo};e.Da=function(){this.Yc.add(this.b.Le(this.d));0===this.wb&&(this.d.opacity=this.Yc.R/this.uh*this.Mf,this.b.Z=!0,this.d.opacity>=this.Mf&&(this.d.opacity=this.Mf,this.wb=1,this.Yc.reset(),this.b.trigger(zc.prototype.e.$s,this.d)));1===this.wb&&this.Yc.R>=this.$i&&(this.wb=2,this.Yc.reset(),
this.b.trigger(zc.prototype.e.zt,this.d));2===this.wb&&0!==this.Ij&&(this.d.opacity=this.Mf-this.Yc.R/this.Ij*this.Mf,this.b.Z=!0,0>this.d.opacity&&(this.d.opacity=0,this.wb=3,this.Yc.reset(),this.b.trigger(zc.prototype.e.bt,this.d),1===this.Cu&&this.b.Kd(this.d)))};e.jh=function(){this.wb=0;this.Yc.reset();0===this.uh?(this.wb=1,0===this.$i&&(this.wb=2)):(this.d.opacity=0,this.b.Z=!0)};c.prototype.bt=function(){return!0};c.prototype.$s=function(){return!0};c.prototype.zt=function(){return!0};m.e=
new c;m.C=new function(){};m.P=new function(){}})();function Ac(c){this.b=c}
(function(){function c(){}var m=Ac.prototype;m.S=function(c){this.behavior=c;this.b=c.b};m.S.prototype.D=function(){};m.I=function(c,e){this.type=c;this.behavior=c.behavior;this.d=e;this.b=c.b};var e=m.I.prototype;e.D=function(){this.me=this.le=this.wb=this.Gn=this.On=0};e.kb=function(){return{ontime:this.On,offtime:this.Gn,stage:this.wb,stagetimeleft:this.le,timeleft:this.me}};e.Fb=function(c){this.On=c.ontime;this.Gn=c.offtime;this.wb=c.stage;this.le=c.stagetimeleft;this.me=c.timeleft;null===this.me&&
(this.me=Infinity)};e.Da=function(){if(!(0>=this.me)){var c=this.b.Le(this.d);this.me-=c;0>=this.me?(this.me=0,this.d.visible=!0,this.b.Z=!0,this.b.trigger(Ac.prototype.e.ct,this.d)):(this.le-=c,0>=this.le&&(0===this.wb?(this.d.visible=!1,this.wb=1,this.le+=this.Gn):(this.d.visible=!0,this.wb=0,this.le+=this.On),this.b.Z=!0))}};c.prototype.ct=function(){return!0};m.e=new c;m.C=new function(){};m.P=new function(){}})();function Dc(c){this.b=c}
(function(){var c=Dc.prototype;c.S=function(c){this.behavior=c;this.b=c.b};c.S.prototype.D=function(){};c.I=function(c,m){this.type=c;this.behavior=c.behavior;this.d=m;this.b=c.b};var m=c.I.prototype;m.D=function(){this.speed=V(this.q[0]);this.lb=V(this.q[1])};m.kb=function(){return{speed:this.speed,acc:this.lb}};m.Fb=function(c){this.speed=c.speed;this.lb=c.acc};m.Da=function(){var c=this.b.Le(this.d);0!==c&&(0!==this.lb&&(this.speed+=this.lb*c),0!==this.speed&&(this.d.j=Ia(this.d.j+this.speed*c),
this.d.U()))};c.e=new function(){};c.C=new function(){};c.P=new function(){}})();function Ec(c){this.b=c}
(function(){function c(){}var m=Ec.prototype;m.S=function(b){this.behavior=b;this.b=b.b};m.S.prototype.D=function(){};m.I=function(b,a){this.type=b;this.behavior=b.behavior;this.d=a;this.b=b.b;this.cb=0};var e=m.I.prototype,n=2*Math.PI,r=Math.PI/2,q=3*Math.PI/2;e.D=function(){this.La=1===this.q[0];this.ji=this.q[1];this.Lo=this.q[2];this.fe=this.q[3];this.fe+=Math.random()*this.q[4];0===this.fe?this.cb=0:(this.cb=this.q[5]/this.fe*n,this.cb+=Math.random()*this.q[6]/this.fe*n);this.hc=this.q[7];this.hc+=
Math.random()*this.q[8];this.Ai=this.zf=this.da=0;this.init()};e.kb=function(){return{i:this.cb,a:this.La,mv:this.ji,w:this.Lo,p:this.fe,mag:this.hc,iv:this.da,iv2:this.zf,r:this.Ai,lkv:this.xc,lkv2:this.Th}};e.Fb=function(b){this.cb=b.i;this.La=b.a;this.ji=b.mv;this.Lo=b.w;this.fe=b.p;this.hc=b.mag;this.da=b.iv;this.zf=b.iv2||0;this.Ai=b.r;this.xc=b.lkv;this.Th=b.lkv2||0};e.init=function(){switch(this.ji){case 0:this.da=this.d.x;break;case 1:this.da=this.d.y;break;case 2:this.da=this.d.width;this.Ai=
this.d.height/this.d.width;break;case 3:this.da=this.d.width;break;case 4:this.da=this.d.height;break;case 5:this.da=this.d.j;this.hc=V(this.hc);break;case 6:this.da=this.d.opacity;break;case 7:this.da=0;break;case 8:this.da=this.d.x,this.zf=this.d.y}this.xc=this.da;this.Th=this.zf};e.re=function(b){b=b%n;switch(this.Lo){case 0:return Math.sin(b);case 1:return b<=r?b/r:b<=q?1-2*(b-r)/Math.PI:(b-q)/r-1;case 2:return 2*b/n-1;case 3:return-2*b/n+1;case 4:return bthis.d.opacity?this.d.opacity=0:1this.d.x&&(this.d.x=0,n=!0),0>this.d.y&&(this.d.y=0,n=!0),this.d.x>e.width&&(this.d.x=e.width,n=!0),this.d.y>e.height&&(this.d.y=e.height,n=!0)):(0>c.left&&(this.d.x-=
c.left,n=!0),0>c.top&&(this.d.y-=c.top,n=!0),c.right>e.width&&(this.d.x-=c.right-e.width,n=!0),c.bottom>e.height&&(this.d.y-=c.bottom-e.height,n=!0));n&&this.d.U()}})();function oc(c){this.b=c}(function(){var c=oc.prototype;c.S=function(c){this.behavior=c;this.b=c.b};c.S.prototype.D=function(){};c.I=function(c,m){this.type=c;this.behavior=c.behavior;this.d=m;this.b=c.b};var m=c.I.prototype;m.D=function(){this.d.H.solidEnabled=0!==this.q[0]};m.Da=function(){};c.e=new function(){};c.C=new function(){}})();
function Gc(c){this.b=c}
(function(){var c=Gc.prototype;c.S=function(c){this.behavior=c;this.b=c.b};c.S.prototype.D=function(){};c.I=function(c,e){this.type=c;this.behavior=c.behavior;this.d=e;this.b=c.b};c=c.I.prototype;c.D=function(){this.mode=this.q[0]};c.Da=function(){var c=this.d;c.Aa();var e=c.Ea,n=c.k,r=n.Ua,q=0,b=0,a=0,k=0;0===this.mode?(b=r.width,k=r.height):(q=n.qa,b=n.ya,a=n.ra,k=n.xa);e.rightb?(c.x=q+1-(e.right-c.x),c.U()):e.bottomk&&
(c.y=a+1-(e.bottom-c.y),c.U())}})();
function nc(){return[qc,rc,sc,pc,tc,uc,X,vc,wc,Y,Gc,Fc,yc,oc,xc,Ac,Ec,zc,Dc,W.prototype.e.Wo,W.prototype.C.It,W.prototype.C.Rt,W.prototype.P.random,W.prototype.e.Ks,X.prototype.e.To,W.prototype.e.Ds,W.prototype.C.us,W.prototype.e.Es,W.prototype.e.As,W.prototype.C.Yt,pc.prototype.e.Il,pc.prototype.C.Nt,W.prototype.P.su,Y.prototype.P.ss,pc.prototype.P.Bt,Y.prototype.P.ts,W.prototype.P.tu,X.prototype.P.bu,X.prototype.C.Mt,Y.prototype.e.Ml,Y.prototype.P.$t,W.prototype.P.Du,X.prototype.P.Nl,X.prototype.P.Ol,
pc.prototype.P.Oo,W.prototype.P.j,X.prototype.C.Lt,W.prototype.P.cos,W.prototype.P.sin,X.prototype.C.Jt,Y.prototype.e.Ll,X.prototype.C.Qt,W.prototype.e.ys,X.prototype.C.Tt,X.prototype.e.zs,yc.prototype.C.Ut,X.prototype.C.Gt,X.prototype.e.Ls,X.prototype.C.Cs,X.prototype.C.Vt,qc.prototype.C.Play,Ec.prototype.C.Et,X.prototype.C.Kt,W.prototype.C.Bs,vc.prototype.C.Pt,X.prototype.e.Vs,X.prototype.C.Ft,qc.prototype.C.ep,W.prototype.C.au,W.prototype.C.Fs,wc.prototype.C.Xt,W.prototype.C.Dt,X.prototype.e.Qo,
W.prototype.P.round,W.prototype.P.If,W.prototype.e.Jl,qc.prototype.C.Ct,wc.prototype.e.Ps,wc.prototype.P.Qs,rc.prototype.C.Gs,W.prototype.e.Po,qc.prototype.C.St,tc.prototype.e.Is,tc.prototype.C.Ht,tc.prototype.e.Ms,X.prototype.C.Ot]};