// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var aa=void 0,g=!0,l=null,m=!1;function z(){return function(){}}function C(d){return function(){return this[d]}}function H(d){return function(){return d}}var ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,I,sa,ta,ua,va,wa,za,Aa,Ba,Ca,Da,Ea,Fa,Ha,Ia,Ja,La,Ma,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,$a,ab,bb,cb,db,eb,fb,gb,hb,kb,lb,mb,nb,ob,pb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(d){return d.__proto__}:function(d){return d.constructor.prototype});
(function(){function d(k,a,f,b){this.set(k,a,f,b)}function e(){this.Sa=this.Ra=this.Ua=this.Ta=this.bb=this.ab=this.Ba=this.Aa=0}function c(){this.Yd={};this.Bh=0;this.ri=[];this.Wg=g}function b(){this.qa=this.wk=this.y=this.gl=0}function a(k){this.Gb=[];this.hi(k)}ba=function(k){window.console&&window.console.log&&window.console.log(k)};ca=function(k){return"undefined"===typeof k};da=function(k){return"number"===typeof k};ea=function(k){return"string"===typeof k};fa=function(k){return 0<k&&0===(k-
1&k)};ga=function(k){return 0>k?-k:k};ha=function(k,a){return k>a?k:a};ia=function(k,a){return k<a?k:a};ja=Math.PI;ka=function(k){return k|0};la=function(k,a,f,b,s,q,y,w){if(ha(k,f)<ia(s,y)||ia(k,f)>ha(s,y)||ha(a,b)<ia(q,w)||ia(a,b)>ha(q,w))return m;var t=s-k+y-f,u=q-a+w-b;k=f-k;a=b-a;s=y-s;q=w-q;w=ga(a*s-q*k);return ga(s*u-q*t)<=w&&ga(k*u-a*t)<=w};d.prototype.set=function(k,a,f,b){this.left=k;this.top=a;this.right=f;this.bottom=b};d.prototype.width=function(){return this.right-this.left};d.prototype.height=
function(){return this.bottom-this.top};d.prototype.offset=function(k,a){this.left+=k;this.top+=a;this.right+=k;this.bottom+=a;return this};d.prototype.yt=function(k){return!(k.right<this.left||k.bottom<this.top||k.left>this.right||k.top>this.bottom)};d.prototype.mc=function(k,a){return k>=this.left&&k<=this.right&&a>=this.top&&a<=this.bottom};ma=d;e.prototype.sk=function(k){this.Aa=k.left;this.Ba=k.top;this.ab=k.right;this.bb=k.top;this.Ta=k.right;this.Ua=k.bottom;this.Ra=k.left;this.Sa=k.bottom};
e.prototype.Xp=function(k,a){if(0===a)this.sk(k);else{var f=Math.sin(a),b=Math.cos(a),s=k.left*f,q=k.top*f,y=k.right*f,f=k.bottom*f,w=k.left*b,t=k.top*b,u=k.right*b,b=k.bottom*b;this.Aa=w-q;this.Ba=t+s;this.ab=u-q;this.bb=t+y;this.Ta=u-f;this.Ua=b+y;this.Ra=w-f;this.Sa=b+s}};e.prototype.offset=function(k,a){this.Aa+=k;this.Ba+=a;this.ab+=k;this.bb+=a;this.Ta+=k;this.Ua+=a;this.Ra+=k;this.Sa+=a;return this};e.prototype.jo=function(k){k.left=ia(ia(this.Aa,this.ab),ia(this.Ta,this.Ra));k.top=ia(ia(this.Ba,
this.bb),ia(this.Ua,this.Sa));k.right=ha(ha(this.Aa,this.ab),ha(this.Ta,this.Ra));k.bottom=ha(ha(this.Ba,this.bb),ha(this.Ua,this.Sa))};e.prototype.mc=function(k,a){var f=this.ab-this.Aa,b=this.bb-this.Ba,s=this.Ta-this.Aa,q=this.Ua-this.Ba,y=k-this.Aa,w=a-this.Ba,t=f*f+b*b,u=f*s+b*q,b=f*y+b*w,B=s*s+q*q,c=s*y+q*w,d=1/(t*B-u*u),f=(B*b-u*c)*d,t=(t*c-u*b)*d;if(0<=f&&0<t&&1>f+t)return g;f=this.Ra-this.Aa;b=this.Sa-this.Ba;t=f*f+b*b;u=f*s+b*q;b=f*y+b*w;d=1/(t*B-u*u);f=(B*b-u*c)*d;t=(t*c-u*b)*d;return 0<=
f&&0<t&&1>f+t};e.prototype.xe=function(a,f){switch(a){case 0:return f?this.Aa:this.Ba;case 1:return f?this.ab:this.bb;case 2:return f?this.Ta:this.Ua;case 3:return f?this.Ra:this.Sa;case 4:return f?this.Aa:this.Ba;default:return f?this.Aa:this.Ba}};e.prototype.op=function(){return(this.Aa+this.ab+this.Ta+this.Ra)/4};e.prototype.pp=function(){return(this.Ba+this.bb+this.Ua+this.Sa)/4};e.prototype.xt=function(a){var f=a.op(),b=a.pp();if(this.mc(f,b))return g;f=this.op();b=this.pp();if(a.mc(f,b))return g;
var c,s,q,y,w,t,u,B;for(u=0;4>u;u++)for(B=0;4>B;B++)if(f=this.xe(u,g),b=this.xe(u,m),c=this.xe(u+1,g),s=this.xe(u+1,m),q=a.xe(B,g),y=a.xe(B,m),w=a.xe(B+1,g),t=a.xe(B+1,m),la(f,b,c,s,q,y,w,t))return g;return m};na=e;oa=function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b]);return a};pa=function(a,f){var b,c;f=ka(f);if(!(0>f||f>=a.length))if(0===f)a.shift();else if(f===a.length-1)a.pop();else{b=f;for(c=a.length-1;b<c;b++)a[b]=a[b+1];a.length=c}};qa=function(a,f){a.length=f.length;var b,c;b=0;
for(c=f.length;b<c;b++)a[b]=f[b]};ra=function(a,f){var b=a.indexOf(f);-1!==b&&pa(a,b)};I=function(a){return a/(180/ja)};sa=function(a){return a*(180/ja)};ta=function(a){a%=360;0>a&&(a+=360);return a};ua=function(a){a%=2*ja;0>a&&(a+=2*ja);return a};va=function(a){return ta(sa(a))};wa=function(a){return ua(I(a))};za=function(a,f,b,c){return Math.atan2(c-f,b-a)};Aa=function(a,f){if(a===f)return 0;var b=Math.sin(a),c=Math.cos(a),s=Math.sin(f),q=Math.cos(f),b=b*s+c*q;return 1<=b?0:-1>=b?ja:Math.acos(b)};
Ba=function(a,f,b){var c=Math.sin(a),s=Math.cos(a),q=Math.sin(f),y=Math.cos(f);return Math.acos(c*q+s*y)>b?0<s*q-c*y?ua(a+b):ua(a-b):ua(f)};Ca=function(a,f){var b=Math.sin(a),c=Math.cos(a),s=Math.sin(f),q=Math.cos(f);return 0>=c*s-b*q};Da=function(a,f,b,c,s,q){if(0===b)return q?a:f;var y=Math.sin(b);b=Math.cos(b);a-=c;f-=s;var w=a*y;a=a*b-f*y;f=f*b+w;return q?a+c:f+s};Ea=function(a,f,b,c){a=b-a;f=c-f;return Math.sqrt(a*a+f*f)};Fa=function(a,f){return!a!==!f};Ha=function(a){for(var f in a)if(a.hasOwnProperty(f))return g;
return m};Ia=function(a){for(var f in a)a.hasOwnProperty(f)&&delete a[f]};var h=+new Date;Ja=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-h};c.prototype.contains=function(a){return this.Yd.hasOwnProperty(a.toString())};c.prototype.add=function(a){var f=a.toString();this.Yd.hasOwnProperty(f)||(this.Yd[f]=
a,this.Bh++,this.Wg=m);return this};c.prototype.remove=function(a){a=a.toString();this.Yd.hasOwnProperty(a)&&(delete this.Yd[a],this.Bh--,this.Wg=m);return this};c.prototype.clear=function(){Ia(this.Yd);this.Bh=0;this.ri.length=0;this.Wg=g;return this};c.prototype.uh=function(){return 0===this.Bh};c.prototype.Cu=function(){if(!this.Wg){this.ri.length=this.Bh;var a,f=0;for(a in this.Yd)this.Yd.hasOwnProperty(a)&&(this.ri[f++]=this.Yd[a]);this.Wg=g}};c.prototype.me=function(){this.Cu();return this.ri};
La=c;b.prototype.add=function(a){this.y=a-this.gl;this.wk=this.qa+this.y;this.gl=this.wk-this.qa-this.y;this.qa=this.wk};b.prototype.reset=function(){this.qa=this.wk=this.y=this.gl=0};Ma=b;Ra=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};a.prototype.hi=function(a){this.Kp=a;this.ee=a.length/2;this.Gb.length=a.length;this.il=this.jl=-1;this.lo=0};a.prototype.yh=function(){return!this.Kp.length};a.prototype.rk=function(a,f,b,c,s){this.Gb.length=8;this.ee=4;var q=this.Gb;q[0]=a.Aa-
f;q[1]=a.Ba-b;q[2]=a.ab-f;q[3]=a.bb-b;q[4]=a.Ta-f;q[5]=a.Ua-b;q[6]=a.Ra-f;q[7]=a.Sa-b;this.jl=c;this.il=s};a.prototype.Wp=function(a){this.ee=a.ee;qa(this.Gb,a.Gb)};a.prototype.Vg=function(a,f,b){if(!(this.jl===a&&this.il===f&&this.lo===b)){this.jl=a;this.il=f;this.lo=b;var c,s,q,y=0,w=1,t=this.Kp,u=this.Gb;0!==b&&(y=Math.sin(b),w=Math.cos(b));b=0;for(c=this.ee;b<c;b++)s=t[2*b]*a,q=t[2*b+1]*f,u[2*b]=s*w-q*y,u[2*b+1]=q*w+s*y}};a.prototype.mc=function(a,f){var b=this.Gb;if(a===b[0]&&f===b[1])return g;
var c,s,q,y=this.ee,w=b[0],t=w,u=b[1],B=u;for(c=1;c<y;c++)s=b[2*c],q=b[2*c+1],s<w&&(w=s),s>t&&(t=s),q<u&&(u=q),q>B&&(B=q);s=w-110;var u=u-101,t=t+131,B=B+120,d,h,e=0,J=0;for(c=0;c<y;c++)q=b[2*c],w=b[2*c+1],d=b[2*((c+1)%y)],h=b[2*((c+1)%y)+1],la(s,u,a,f,q,w,d,h)&&e++,la(t,B,a,f,q,w,d,h)&&J++;return 1===e%2||1===J%2};a.prototype.Uo=function(a,f,b){var c=a.Gb,s=this.Gb;if(this.mc(c[0]+f,c[1]+b)||a.mc(s[0]-f,s[1]-b))return g;var q,y,w,t,u,B,d,h,e,J,A,x;q=0;for(y=this.ee;q<y;q++){u=s[2*q];B=s[2*q+1];d=
s[2*((q+1)%y)];h=s[2*((q+1)%y)+1];w=0;for(t=a.ee;w<t;w++)if(e=c[2*w]+f,J=c[2*w+1]+b,A=c[2*((w+1)%t)]+f,x=c[2*((w+1)%t)+1]+b,la(u,B,d,h,e,J,A,x))return g}return m};Sa=a;var f="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Ta=function(a){return 0>=a||11<=a?"source-over":f[a-1]};Ua=function(a,f,b){if(b)switch(a.Hb=b.ONE,a.Db=b.ONE_MINUS_SRC_ALPHA,f){case 1:a.Hb=b.ONE;a.Db=b.ONE;break;case 3:a.Hb=b.ONE;a.Db=b.ZERO;break;
case 4:a.Hb=b.ONE_MINUS_DST_ALPHA;a.Db=b.ONE;break;case 5:a.Hb=b.DST_ALPHA;a.Db=b.ZERO;break;case 6:a.Hb=b.ZERO;a.Db=b.SRC_ALPHA;break;case 7:a.Hb=b.ONE_MINUS_DST_ALPHA;a.Db=b.ZERO;break;case 8:a.Hb=b.ZERO;a.Db=b.ONE_MINUS_SRC_ALPHA;break;case 9:a.Hb=b.DST_ALPHA;a.Db=b.ONE_MINUS_SRC_ALPHA;break;case 10:a.Hb=b.ONE_MINUS_DST_ALPHA,a.Db=b.SRC_ALPHA}};Va=function(a){return Math.round(1E6*a)/1E6}})();var qb="undefined"!==typeof Float32Array?Float32Array:Array;
function rb(d){var e=new qb(3);d&&(e[0]=d[0],e[1]=d[1],e[2]=d[2]);return e}function sb(d){var e=new qb(16);d&&(e[0]=d[0],e[1]=d[1],e[2]=d[2],e[3]=d[3],e[4]=d[4],e[5]=d[5],e[6]=d[6],e[7]=d[7],e[8]=d[8],e[9]=d[9],e[10]=d[10],e[11]=d[11],e[12]=d[12],e[13]=d[13],e[14]=d[14],e[15]=d[15]);return e}function tb(d,e){e[0]=d[0];e[1]=d[1];e[2]=d[2];e[3]=d[3];e[4]=d[4];e[5]=d[5];e[6]=d[6];e[7]=d[7];e[8]=d[8];e[9]=d[9];e[10]=d[10];e[11]=d[11];e[12]=d[12];e[13]=d[13];e[14]=d[14];e[15]=d[15]}
function yb(d,e){var c=e[0],b=e[1];e=e[2];d[0]*=c;d[1]*=c;d[2]*=c;d[3]*=c;d[4]*=b;d[5]*=b;d[6]*=b;d[7]*=b;d[8]*=e;d[9]*=e;d[10]*=e;d[11]*=e}
function zb(d,e,c,b){b||(b=sb());var a,h,f,k,n,p,r,s,q=d[0],y=d[1];d=d[2];h=c[0];f=c[1];a=c[2];c=e[1];p=e[2];q===e[0]&&y===c&&d===p?(d=b,d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1):(c=q-e[0],p=y-e[1],r=d-e[2],s=1/Math.sqrt(c*c+p*p+r*r),c*=s,p*=s,r*=s,e=f*r-a*p,a=a*c-h*r,h=h*p-f*c,(s=Math.sqrt(e*e+a*a+h*h))?(s=1/s,e*=s,a*=s,h*=s):h=a=e=0,f=p*h-r*a,k=r*e-c*h,n=c*a-p*e,(s=Math.sqrt(f*f+k*k+n*n))?(s=1/s,f*=s,k*=s,n*=s):n=k=f=0,
b[0]=e,b[1]=f,b[2]=c,b[3]=0,b[4]=a,b[5]=k,b[6]=p,b[7]=0,b[8]=h,b[9]=n,b[10]=r,b[11]=0,b[12]=-(e*q+a*y+h*d),b[13]=-(f*q+k*y+n*d),b[14]=-(c*q+p*y+r*d),b[15]=1)}
(function(){function d(a){this.height=this.width=0;this.no=rb([0,0,100]);this.lp=rb([0,0,0]);this.lq=rb([0,1,0]);this.Fn=rb([1,1,1]);this.xm=sb();this.Qc=sb();this.dp=sb();this.ul=sb();this.T=a;this.Ro()}function e(a,b,c){this.T=a;this.ii=b;this.name=c;this.Pc=a.getAttribLocation(b,"aPos");this.Ne=a.getAttribLocation(b,"aTex");this.jp=a.getUniformLocation(b,"matP");this.tg=a.getUniformLocation(b,"matMV");this.ug=a.getUniformLocation(b,"opacity");this.kp=a.getUniformLocation(b,"samplerFront");this.Nj=
a.getUniformLocation(b,"samplerBack");this.sg=a.getUniformLocation(b,"destStart");this.rg=a.getUniformLocation(b,"destEnd");this.um=a.getUniformLocation(b,"seconds");this.tm=a.getUniformLocation(b,"pixelWidth");this.rm=a.getUniformLocation(b,"pixelHeight");this.qm=a.getUniformLocation(b,"layerScale");this.ug&&a.uniform1f(this.ug,1);this.kp&&a.uniform1i(this.kp,0);this.Nj&&a.uniform1i(this.Nj,1);this.sg&&a.uniform2f(this.sg,0,0);this.rg&&a.uniform2f(this.rg,1,1);this.rf=m}function c(a,b){this.type=
a;this.I=b;this.T=b.T;this.Nc=this.Fc=this.xp=0;this.Y=this.Mf=l;this.jn=[]}function b(a){--a;for(var b=1;32>b;b<<=1)a|=a>>b;return a+1}d.prototype.Ro=function(){var a=this.T,b;this.ep=1;this.wf=l;this.qo=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.DEPTH_TEST);this.Xw=a.getParameter(a.MAX_TEXTURE_SIZE);this.fp=a.ONE;this.cp=a.ONE_MINUS_SRC_ALPHA;this.Sm=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,
this.Sm);this.ti=Array(4);this.ni=Array(4);for(b=0;4>b;b++)this.ti[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.ti[b]),this.ni[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.ni[b]);this.Sd=0;this.ut=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.ut);this.Cn=new Float32Array(16E3);this.un=new Float32Array(16E3);this.Hp=new Float32Array(32E3);for(var c=new Uint16Array(12E3),d=b=0;12E3>b;)c[b++]=d,c[b++]=d+1,c[b++]=d+2,c[b++]=d,c[b++]=d+2,c[b++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,
c,a.STATIC_DRAW);this.Dg=this.Hd=0;this.qb=[];b=this.pl({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}","<default>");
this.qb.push(b);b=this.pl({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}","<point>");this.qb.push(b);for(var h in Ab)Ab.hasOwnProperty(h)&&this.qb.push(this.pl(Ab[h],
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}",h));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,l);this.Od=[];this.od=0;this.nc=this.fc=m;this.ro=this.Eh=-1;this.$g=l;this.Ks=a.createFramebuffer();this.Pp=l;this.$e=rb([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.Lt=a[0];this.Kt=a[1];
this.Cd(0)};d.prototype.pl=function(a,b,c){var d=this.T,h=d.createShader(d.FRAGMENT_SHADER);d.shaderSource(h,a.src);d.compileShader(h);if(!d.getShaderParameter(h,d.COMPILE_STATUS))return d.deleteShader(h),l;var s=d.createShader(d.VERTEX_SHADER);d.shaderSource(s,b);d.compileShader(s);if(!d.getShaderParameter(s,d.COMPILE_STATUS))return d.deleteShader(h),d.deleteShader(s),l;b=d.createProgram();d.attachShader(b,h);d.attachShader(b,s);d.linkProgram(b);if(!d.getProgramParameter(b,d.LINK_STATUS))return d.deleteShader(h),
d.deleteShader(s),d.deleteProgram(b),l;d.useProgram(b);d.validateProgram(b);d.deleteShader(h);d.deleteShader(s);c=new e(d,b,c);c.dj=a.dj||0;c.ej=a.ej||0;c.ql=!!a.ql;c.dl=!!a.dl;c.U=a.U||[];a=0;for(h=c.U.length;a<h;a++)c.U[a][1]=d.getUniformLocation(b,c.U[a][0]),d.uniform1f(c.U[a][1],0);return c};d.prototype.Ol=function(a){var b,c;b=0;for(c=this.qb.length;b<c;b++)if(this.qb[b].name===a)return b;return-1};d.prototype.Jp=function(a,b,c){var d=[0,0,this.width,this.height],h=this.Qc,s=this.xm,q=[0,0,0,
0,0,0,0,0];q[0]=h[0]*a+h[4]*b+h[12];q[1]=h[1]*a+h[5]*b+h[13];q[2]=h[2]*a+h[6]*b+h[14];q[3]=h[3]*a+h[7]*b+h[15];q[4]=s[0]*q[0]+s[4]*q[1]+s[8]*q[2]+s[12]*q[3];q[5]=s[1]*q[0]+s[5]*q[1]+s[9]*q[2]+s[13]*q[3];q[6]=s[2]*q[0]+s[6]*q[1]+s[10]*q[2]+s[14]*q[3];q[7]=-q[2];0!==q[7]&&(q[7]=1/q[7],q[4]*=q[7],q[5]*=q[7],q[6]*=q[7],c[0]=(0.5*q[4]+0.5)*d[2]+d[0],c[1]=(0.5*q[5]+0.5)*d[3]+d[1])};d.prototype.hn=function(a,b,c){if(!(this.width===a&&this.height===b&&!c)){this.Ud();this.width=a;this.height=b;this.T.viewport(0,
0,a,b);b=a/b;var d=this.xm,h;h=1*Math.tan(45*Math.PI/360);b*=h;a=-b;c=-h;d||(d=sb());var s=b-a,q=h-c;d[0]=2/s;d[1]=0;d[2]=0;d[3]=0;d[4]=0;d[5]=2/q;d[6]=0;d[7]=0;d[8]=(b+a)/s;d[9]=(h+c)/q;d[10]=-1001/999;d[11]=-1;d[12]=0;d[13]=0;d[14]=-2E3/999;d[15]=0;zb(this.no,this.lp,this.lq,this.Qc);a=[0,0];b=[0,0];this.Jp(0,0,a);this.Jp(1,1,b);this.Fn[0]=1/(b[0]-a[0]);this.Fn[1]=-1/(b[1]-a[1]);a=0;for(b=this.qb.length;a<b;a++)c=this.qb[a],c.rf=m,c.jp&&(this.T.useProgram(c.ii),this.T.uniformMatrix4fv(c.jp,m,this.xm));
this.T.useProgram(this.qb[this.Eh].ii);this.T.bindTexture(this.T.TEXTURE_2D,l);this.wf=l}};d.prototype.zd=function(){zb(this.no,this.lp,this.lq,this.Qc);yb(this.Qc,this.Fn)};d.prototype.translate=function(a,b){if(!(0===a&&0===b)){this.$e[0]=a;this.$e[1]=b;this.$e[2]=0;var c=this.Qc,d=this.$e,h=d[0],s=d[1],d=d[2];c[12]=c[0]*h+c[4]*s+c[8]*d+c[12];c[13]=c[1]*h+c[5]*s+c[9]*d+c[13];c[14]=c[2]*h+c[6]*s+c[10]*d+c[14];c[15]=c[3]*h+c[7]*s+c[11]*d+c[15]}};d.prototype.scale=function(a,b){1===a&&1===b||(this.$e[0]=
a,this.$e[1]=b,this.$e[2]=1,yb(this.Qc,this.$e))};d.prototype.$m=function(a){if(0!==a){var b=this.Qc,c,d=Math.sin(a);a=Math.cos(a);var h=b[0],s=b[1],q=b[2],y=b[3],w=b[4],t=b[5],u=b[6],B=b[7];c?b!==c&&(c[8]=b[8],c[9]=b[9],c[10]=b[10],c[11]=b[11],c[12]=b[12],c[13]=b[13],c[14]=b[14],c[15]=b[15]):c=b;c[0]=h*a+w*d;c[1]=s*a+t*d;c[2]=q*a+u*d;c[3]=y*a+B*d;c[4]=h*-d+w*a;c[5]=s*-d+t*a;c[6]=q*-d+u*a;c[7]=y*-d+B*a}};d.prototype.Gd=function(){for(var a=m,b=0;16>b;b++)if(this.dp[b]!==this.Qc[b]){a=g;break}a&&(a=
this.Sc(),a.type=5,a.Y?tb(this.Qc,a.Y):a.Y=sb(this.Qc),tb(this.Qc,this.dp),this.nc=this.fc=m)};c.prototype.hs=function(){this.T.bindTexture(this.T.TEXTURE_2D,this.Mf)};c.prototype.ds=function(){var a=this.xp,b=this.I;b.qo=a;b=b.$g;b.ug&&this.T.uniform1f(b.ug,a)};c.prototype.as=function(){this.T.drawElements(this.T.TRIANGLES,this.Nc,this.T.UNSIGNED_SHORT,2*this.Fc)};c.prototype.cs=function(){this.T.blendFunc(this.Fc,this.Nc)};c.prototype.js=function(){var a,b,c,d=this.I.qb,h=this.I.ro;a=0;for(b=d.length;a<
b;a++)c=d[a],a===h&&c.tg?(this.T.uniformMatrix4fv(c.tg,m,this.Y),c.rf=g):c.rf=m;tb(this.Y,this.I.ul)};c.prototype.bs=function(){var a=this.T,b=this.I;this.Mf?(a.bindFramebuffer(a.FRAMEBUFFER,b.Ks),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Mf,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,l,0),a.bindFramebuffer(a.FRAMEBUFFER,l))};c.prototype.Zr=function(){var a=this.T;0===this.Fc?(a.clearColor(this.Y[0],this.Y[1],this.Y[2],this.Y[3]),a.clear(a.COLOR_BUFFER_BIT)):
(a.enable(a.SCISSOR_TEST),a.scissor(this.Y[0],this.Y[1],this.Y[2],this.Y[3]),a.clearColor(0,0,0,0),a.clear(this.T.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};c.prototype.$r=function(){var a=this.T,b=this.I,c=b.qb[1];a.useProgram(c.ii);!c.rf&&c.tg&&(a.uniformMatrix4fv(c.tg,m,b.ul),c.rf=g);a.enableVertexAttribArray(c.Pc);a.bindBuffer(a.ARRAY_BUFFER,b.Sm);a.vertexAttribPointer(c.Pc,4,a.FLOAT,m,0,0);a.drawArrays(a.POINTS,this.Fc/4,this.Nc);c=b.$g;a.useProgram(c.ii);0<=c.Pc&&(a.enableVertexAttribArray(c.Pc),
a.bindBuffer(a.ARRAY_BUFFER,b.ti[b.Sd]),a.vertexAttribPointer(c.Pc,2,a.FLOAT,m,0,0));0<=c.Ne&&(a.enableVertexAttribArray(c.Ne),a.bindBuffer(a.ARRAY_BUFFER,b.ni[b.Sd]),a.vertexAttribPointer(c.Ne,2,a.FLOAT,m,0,0))};c.prototype.es=function(){var a=this.T,b=this.I,c=b.qb[this.Fc];b.ro=this.Fc;b.$g=c;a.useProgram(c.ii);!c.rf&&c.tg&&(a.uniformMatrix4fv(c.tg,m,b.ul),c.rf=g);c.ug&&a.uniform1f(c.ug,b.qo);0<=c.Pc&&(a.enableVertexAttribArray(c.Pc),a.bindBuffer(a.ARRAY_BUFFER,b.ti[b.Sd]),a.vertexAttribPointer(c.Pc,
2,a.FLOAT,m,0,0));0<=c.Ne&&(a.enableVertexAttribArray(c.Ne),a.bindBuffer(a.ARRAY_BUFFER,b.ni[b.Sd]),a.vertexAttribPointer(c.Ne,2,a.FLOAT,m,0,0))};c.prototype.gs=function(){var a,b,c=this.I.$g,d=this.T;c.Nj&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.Mf),d.activeTexture(d.TEXTURE0));c.tm&&d.uniform1f(c.tm,this.Y[0]);c.rm&&d.uniform1f(c.rm,this.Y[1]);c.sg&&d.uniform2f(c.sg,this.Y[2],this.Y[3]);c.rg&&d.uniform2f(c.rg,this.Y[4],this.Y[5]);c.qm&&d.uniform1f(c.qm,this.Y[6]);c.um&&d.uniform1f(c.um,
Ja()/1E3);if(c.U.length){a=0;for(b=c.U.length;a<b;a++)d.uniform1f(c.U[a][1],this.jn[a])}};d.prototype.Sc=function(){this.od===this.Od.length&&this.Od.push(new c(0,this));return this.Od[this.od++]};d.prototype.Ud=function(){if(0!==this.od&&!this.T.isContextLost()){var a=this.T;0<this.Dg&&(a.bindBuffer(a.ARRAY_BUFFER,this.Sm),a.bufferData(a.ARRAY_BUFFER,this.Hp.subarray(0,this.Dg),a.STREAM_DRAW),b&&(0<=b.Pc&&"<point>"===b.name)&&a.vertexAttribPointer(b.Pc,4,a.FLOAT,m,0,0));if(0<this.Hd){var b=this.$g;
a.bindBuffer(a.ARRAY_BUFFER,this.ti[this.Sd]);a.bufferData(a.ARRAY_BUFFER,this.Cn.subarray(0,this.Hd),a.STREAM_DRAW);b&&(0<=b.Pc&&"<point>"!==b.name)&&a.vertexAttribPointer(b.Pc,2,a.FLOAT,m,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.ni[this.Sd]);a.bufferData(a.ARRAY_BUFFER,this.un.subarray(0,this.Hd),a.STREAM_DRAW);b&&(0<=b.Ne&&"<point>"!==b.name)&&a.vertexAttribPointer(b.Ne,2,a.FLOAT,m,0,0)}for(var c,a=0,b=this.od;a<b;a++)switch(c=this.Od[a],c.type){case 1:c.as();break;case 2:c.hs();break;case 3:c.ds();
break;case 4:c.cs();break;case 5:c.js();break;case 6:c.bs();break;case 7:c.Zr();break;case 8:c.$r();break;case 9:c.es();break;case 10:c.gs()}this.Dg=this.Hd=this.od=0;this.nc=this.fc=m;this.Sd++;4<=this.Sd&&(this.Sd=0)}};d.prototype.ge=function(a){if(a!==this.ep){var b=this.Sc();b.type=3;this.ep=b.xp=a;this.nc=this.fc=m}};d.prototype.jc=function(a){if(a!==this.wf){var b=this.Sc();b.type=2;this.wf=b.Mf=a;this.nc=this.fc=m}};d.prototype.Re=function(a,b){if(!(a===this.fp&&b===this.cp)){var c=this.Sc();
c.type=4;c.Fc=a;c.Nc=b;this.fp=a;this.cp=b;this.nc=this.fc=m}};d.prototype.Up=function(){this.Re(this.T.ONE,this.T.ONE_MINUS_SRC_ALPHA)};d.prototype.bi=function(a,b,c,d,h,s,q,y){15992<=this.Hd&&this.Ud();var w=this.Hd,t=this.Cn,u=this.un;if(this.fc)this.Od[this.od-1].Nc+=6;else{var B=this.Sc();B.type=1;B.Fc=3*(w/4);B.Nc=6;this.fc=g;this.nc=m}t[w]=a;u[w++]=0;t[w]=b;u[w++]=0;t[w]=c;u[w++]=1;t[w]=d;u[w++]=0;t[w]=h;u[w++]=1;t[w]=s;u[w++]=1;t[w]=q;u[w++]=0;t[w]=y;u[w++]=1;this.Hd=w};d.prototype.bd=function(a,
b,c,d,h,s,q,y,w){15992<=this.Hd&&this.Ud();var t=this.Hd,u=this.Cn,B=this.un;if(this.fc)this.Od[this.od-1].Nc+=6;else{var M=this.Sc();M.type=1;M.Fc=3*(t/4);M.Nc=6;this.fc=g;this.nc=m}u[t]=a;B[t++]=w.left;u[t]=b;B[t++]=w.top;u[t]=c;B[t++]=w.right;u[t]=d;B[t++]=w.top;u[t]=h;B[t++]=w.right;u[t]=s;B[t++]=w.bottom;u[t]=q;B[t++]=w.left;u[t]=y;B[t++]=w.bottom;this.Hd=t};d.prototype.Ut=function(a,b,c,d){7996<=this.Dg&&this.Ud();var h=this.Dg,s=this.Hp;if(this.nc)this.Od[this.od-1].Nc++;else{var q=this.Sc();
q.type=8;q.Fc=h;q.Nc=1;this.nc=g;this.fc=m}s[h++]=a;s[h++]=b;s[h++]=c;s[h++]=d;this.Dg=h};d.prototype.Cd=function(a){if(this.Eh!==a){if(!this.qb[a]){if(0===this.Eh)return;a=0}var b=this.Sc();b.type=9;this.Eh=b.Fc=a;this.nc=this.fc=m}};d.prototype.Zh=function(a){a=this.qb[a];return!(!a.sg&&!a.rg)};d.prototype.Tm=function(a){return this.qb[a].ql};d.prototype.Zt=function(a){a=this.qb[a];return 0!==a.dj||0!==a.ej};d.prototype.Ys=function(a){return this.qb[a].dj};d.prototype.Zs=function(a){return this.qb[a].ej};
d.prototype.$s=function(a,b){return this.qb[a].U[b][2]};d.prototype.gk=function(a){return this.qb[a].dl};d.prototype.Eg=function(a,b,c,d,h,s,q,y,w){var t=this.qb[this.Eh];if(t.tm||t.rm||t.um||t.Nj||t.sg||t.rg||t.qm||w.length){t=this.Sc();t.type=10;t.Y?tb(this.Qc,t.Y):t.Y=sb();t.Y[0]=b;t.Y[1]=c;t.Y[2]=d;t.Y[3]=h;t.Y[4]=s;t.Y[5]=q;t.Y[6]=y;t.Mf=a;if(w.length){t.jn.length=w.length;a=0;for(b=w.length;a<b;a++)t.jn[a]=w[a]}this.nc=this.fc=m}};d.prototype.clear=function(a,b,c,d){var h=this.Sc();h.type=7;
h.Fc=0;h.Y||(h.Y=sb());h.Y[0]=a;h.Y[1]=b;h.Y[2]=c;h.Y[3]=d;this.nc=this.fc=m};d.prototype.clearRect=function(a,b,c,d){var h=this.Sc();h.type=7;h.Fc=1;h.Y||(h.Y=sb());h.Y[0]=a;h.Y[1]=b;h.Y[2]=c;h.Y[3]=d;this.nc=this.fc=m};d.prototype.Yt=function(){this.Ud();this.T.flush()};var a=[],h={};d.prototype.Me=function(c,d,n,e){d=!!d;n=!!n;var r=c.src+","+d+","+n+(d?",undefined":""),s=l;if("undefined"!==typeof c.src&&h.hasOwnProperty(r))return s=h[r],s.Qi++,s;this.Ud();var q=this.T,y=fa(c.width)&&fa(c.height),
s=q.createTexture();q.bindTexture(q.TEXTURE_2D,s);q.pixelStorei(q.UNPACK_PREMULTIPLY_ALPHA_WEBGL,g);var w=q.RGBA,t=q.RGBA,u=q.UNSIGNED_BYTE;if(e)switch(e){case 1:t=w=q.RGB;break;case 2:u=q.UNSIGNED_SHORT_4_4_4_4;break;case 3:u=q.UNSIGNED_SHORT_5_5_5_1;break;case 4:t=w=q.RGB,u=q.UNSIGNED_SHORT_5_6_5}!y&&d?(e=document.createElement("canvas"),e.width=b(c.width),e.height=b(c.height),e.getContext("2d").drawImage(c,0,0,c.width,c.height,0,0,e.width,e.height),q.texImage2D(q.TEXTURE_2D,0,w,t,u,e)):q.texImage2D(q.TEXTURE_2D,
0,w,t,u,c);d?(q.texParameteri(q.TEXTURE_2D,q.TEXTURE_WRAP_S,q.REPEAT),q.texParameteri(q.TEXTURE_2D,q.TEXTURE_WRAP_T,q.REPEAT)):(q.texParameteri(q.TEXTURE_2D,q.TEXTURE_WRAP_S,q.CLAMP_TO_EDGE),q.texParameteri(q.TEXTURE_2D,q.TEXTURE_WRAP_T,q.CLAMP_TO_EDGE));n?(q.texParameteri(q.TEXTURE_2D,q.TEXTURE_MAG_FILTER,q.LINEAR),y?(q.texParameteri(q.TEXTURE_2D,q.TEXTURE_MIN_FILTER,q.LINEAR_MIPMAP_LINEAR),q.generateMipmap(q.TEXTURE_2D)):q.texParameteri(q.TEXTURE_2D,q.TEXTURE_MIN_FILTER,q.LINEAR)):(q.texParameteri(q.TEXTURE_2D,
q.TEXTURE_MAG_FILTER,q.NEAREST),q.texParameteri(q.TEXTURE_2D,q.TEXTURE_MIN_FILTER,q.NEAREST));q.bindTexture(q.TEXTURE_2D,l);this.wf=l;s.Ug=c.width;s.Tg=c.height;s.Qi=1;s.ko=r;a.push(s);return h[r]=s};d.prototype.Rd=function(b,c,d,h){this.Ud();var e=this.T,s=e.createTexture();e.bindTexture(e.TEXTURE_2D,s);e.texImage2D(e.TEXTURE_2D,0,e.RGBA,b,c,0,e.RGBA,h?e.UNSIGNED_SHORT_4_4_4_4:e.UNSIGNED_BYTE,l);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,
e.CLAMP_TO_EDGE);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,d?e.LINEAR:e.NEAREST);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,d?e.LINEAR:e.NEAREST);e.bindTexture(e.TEXTURE_2D,l);this.wf=l;s.Ug=b;s.Tg=c;a.push(s);return s};d.prototype.Gu=function(a,b,c){this.Ud();var d=this.T;d.bindTexture(d.TEXTURE_2D,b);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,d.RGBA,c?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,a);d.bindTexture(d.TEXTURE_2D,l);this.wf=l};d.prototype.deleteTexture=function(b){b&&("undefined"!==
typeof b.Qi&&1<b.Qi?b.Qi--:(this.Ud(),this.T.bindTexture(this.T.TEXTURE_2D,l),this.wf=l,ra(a,b),"undefined"!==typeof b.ko&&delete h[b.ko],this.T.deleteTexture(b)))};d.prototype.he=function(a){if(a!==this.Pp){var b=this.Sc();b.type=6;this.Pp=b.Mf=a;this.nc=this.fc=m}};Wa=d})();
(function(){function d(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var b=this;this.uf="undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.Cc=!!a.dc;this.hg="undefined"!==typeof window.AppMobi||this.Cc;if(this.Bc=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){b.setSuspended(g)}),CocoonJS.App.onActivated.addEventListener(function(){b.setSuspended(m)});this.La=this.Cc||this.Bc;this.zj=
/tizen/i.test(navigator.userAgent);this.Zl=/android/i.test(navigator.userAgent)&&!this.zj;this.Sw=/msie/i.test(navigator.userAgent);this.Ej=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.$o=/ipad/i.test(navigator.userAgent);this.Dj=this.Ej||this.$o;this.Vo=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.Ct=!this.Vo&&/safari/i.test(navigator.userAgent);this.Yo=/windows/i.test(navigator.userAgent);this.vh="undefined"!==typeof window.c2nodewebkit;
this.At="undefined"!==typeof window.is_scirra_arcade;this.Ft=!!("undefined"!==typeof window.c2isWindows8&&window.c2isWindows8);this.Gt=!!("undefined"!==typeof window.c2isWindowsPhone8&&window.c2isWindowsPhone8);this.Bt=!!("undefined"!==typeof window.c2isBlackberry10&&window.c2isBlackberry10);this.devicePixelRatio=1;this.He=this.uf||this.hg||this.Bc||this.Zl||this.Dj||this.Gt||this.Bt||this.zj;this.He||(this.He=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));
if("undefined"!==typeof cr_is_preview&&!this.vh&&("?nw"===window.location.search||/nodewebkit/i.test(navigator.userAgent)))this.vh=g;this.canvas=a;this.Ri=document.getElementById("c2canvasdiv");this.Ca=this.I=this.T=l;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return m};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return m};this.Cc&&(window.c2runtime=this);this.vh&&(window.Zw=function(a){a.preventDefault();return m},window.$w=function(a){a.preventDefault();
return m});this.width=a.width;this.height=a.height;this.zf=this.width;this.yf=this.height;this.da=g;this.xh=m;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.K=[];this.Pa=[];this.nm={};this.Zc=[];this.El={};this.nf=[];this.hd=[];this.Ck=[];this.al=[];this.qd=new La;this.$l=m;this.Dc=0;this.cm=m;this.pd=[];this.Wo=m;this.Zd=this.Tb=this.Lj=this.cn="";this.li=this.$p=m;this.Hu=this.ml=this.Pj=this.De=this.mf=0;this.Ze=1;this.Qa=new Ma;this.Hj=0;this.mp=g;this.Rj=
this.lj=this.pf=this.gd=this.Fh=this.kj=0;this.hf=l;this.yl=[];this.Dl=[];this.bj=-1;this.vm=[[]];this.yn=this.Oj=0;this.ik(l);this.Vw=[];this.Ww=-1;this.sp=this.Qh=0;this.ip=g;this.bh=0;this.mi=[];this.vn=this.Vm=0;this.lg=g;this.qg=0;this.yj=m;this.su=0;this.sj=m;this.Cm=new La;this.Dm=new La;this.kk=[];this.Kf=new Sa([]);this.tn=new Sa([]);this.ue=[];this.Rg={};this.Yf={};this.Wf={};this.Kg={};this.ho={};this.Yc=this.Ec=this.hp=this.Jj=this.ya=l;this.Jg=this.em=m;this.Gl=[l,l];this.fh=0;this.Ao=
"";this.xg={};this.ji=this.pg=l;this.pu="";this.load();this.devicePixelRatio=(this.wh=!this.La&&this.Eu&&(this.Dj||this.zj))?window.devicePixelRatio||1:1;this.Cb();var c;"undefined"!==typeof jQuery&&0<this.yc&&this.setSize(jQuery(window).width(),jQuery(window).height());try{if(this.ls&&(this.Bc||!this.La)){c={depth:m,antialias:!this.He};var d=g;if(this.Vo&&this.Yo){var t=document.createElement("canvas");if("OES_texture_float,OES_standard_derivatives,WEBKIT_WEBGL_lose_context"===(t.getContext("webgl",
c)||t.getContext("experimental-webgl",c)).getSupportedExtensions().toString())d=m}d&&(this.T=a.getContext("webgl",c)||a.getContext("experimental-webgl",c))}}catch(u){}if(this.T){this.La||(this.ic=document.createElement("canvas"),jQuery(this.ic).appendTo(this.canvas.parentNode),this.ic.oncontextmenu=H(m),this.ic.onselectstart=H(m),this.ic.width=a.width,this.ic.height=a.height,this.Ip(),this.Qm=this.ic.getContext("2d"));this.I=new Wa(this.T,this.He);this.I.hn(a.width,a.height);this.Ca=l;this.canvas.addEventListener("webglcontextlost",
function(a){a.preventDefault();b.Mt();window.cr_setSuspended(g)},m);this.canvas.addEventListener("webglcontextrestored",function(){b.I.Ro();b.I.hn(b.I.width,b.I.height,g);b.Ec=l;b.Yc=l;b.Gl[0]=l;b.Gl[1]=l;b.Nt();b.da=g;window.cr_setSuspended(m)},m);var h,f,k,e,n;a=0;for(c=this.K.length;a<c;a++){h=this.K[a];d=0;for(t=h.ba.length;d<t;d++)k=h.ba[d],k.Bb=this.I.Ol(k.id),this.Jg=this.Jg||this.I.Zh(k.Bb)}a=0;for(c=this.Zc.length;a<c;a++){e=this.Zc[a];d=0;for(t=e.ba.length;d<t;d++)k=e.ba[d],k.Bb=this.I.Ol(k.id);
d=0;for(t=e.pa.length;d<t;d++){n=e.pa[d];h=0;for(f=n.ba.length;h<f;h++)k=n.ba[h],k.Bb=this.I.Ol(k.id),this.Jg=this.Jg||this.I.Zh(k.Bb)}}}else{if(0<this.yc&&this.Cc){this.canvas=l;document.oncontextmenu=H(m);document.onselectstart=H(m);this.Ca=AppMobi.canvas.getContext("2d");try{this.Ca.samplingMode=this.Ga?"smooth":"sharp",this.Ca.globalScale=1,this.Ca.HTML5CompatibilityMode=g}catch(p){}0!==this.width&&0!==this.height&&(this.Ca.width=this.width,this.Ca.height=this.height)}this.Ca||(this.Bc?(c={antialias:!!this.Ga},
this.Ca=a.getContext("2d",c)):this.Ca=a.getContext("2d"),this.Ca.webkitImageSmoothingEnabled=this.Ga,this.Ca.mozImageSmoothingEnabled=this.Ga,this.Ca.msImageSmoothingEnabled=this.Ga,this.Ca.imageSmoothingEnabled=this.Ga);this.Qm=this.ic=l}this.dq=function(){b.ra()};window!=window.top&&(!this.La&&!this.Ft)&&(document.addEventListener("mousedown",function(){window.focus()},g),document.addEventListener("touchstart",function(){window.focus()},g));"undefined"!==typeof cr_is_preview&&(this.Bc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),
"?continuous"===window.location.search&&(ba("Reloading for continuous preview"),this.Lj="__c2_continuouspreview",this.li=g),this.Tt&&!this.He&&(jQuery(window).focus(function(){b.setSuspended(m)}),jQuery(window).blur(function(){b.setSuspended(g)})));this.go();this.X={}}}function e(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function c(a,b,c,d){var t=indexedDB.open("_C2SaveStates");t.onupgradeneeded=e;t.onerror=d;t.onsuccess=function(u){u=u.target.result;u.onerror=d;u.transaction(["saves"],
"readwrite").objectStore("saves").put({slot:a,data:b}).onsuccess=c}}function b(a,b,c){var d=indexedDB.open("_C2SaveStates");d.onupgradeneeded=e;d.onerror=c;d.onsuccess=function(d){d=d.target.result;d.onerror=c;var u=d.transaction(["saves"]).objectStore("saves").get(a);u.onsuccess=function(){u.result?b(u.result.data):b(l)}}}function a(){ba("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():"?continuous"===window.location.search?window.location.reload(g):window.location+="?continuous"}
function h(a){var b,c={};for(b in a)a.hasOwnProperty(b)&&!(a[b]instanceof La)&&"undefined"===typeof a[b].Kw&&"mouseOverInverted"!==b&&(c[b]=a[b]);return c}d.prototype.setSize=function(a,b){var c=this.qt&&this.Ej&&!navigator.standalone&&!this.La&&!this.uf,d=0;c&&(this.Ej?d=60:this.Zl&&(d=56),b+=d);var t=0,u=0,h=0,f=0,k=0,k=this.yc,e=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.yj;e&&0<this.fh&&(k=this.fh);4<=k?(h=this.tc/this.rc,a/b>h?(h*=b,5===k?(k=h/this.tc,1<k?
k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),h=this.tc*k,f=this.rc*k,t=(a-h)/2,u=(b-f)/2,a=h,b=f):(t=(a-h)/2,a=h)):(f=a/h,5===k?(k=f/this.rc,1<k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),h=this.tc*k,f=this.rc*k,t=(a-h)/2,u=(b-f)/2,a=h):u=(b-f)/2,b=f),e&&!this.vh&&(u=t=0),t=Math.floor(t),u=Math.floor(u),a=Math.floor(a),b=Math.floor(b)):this.vh&&(this.yj&&0===this.Co)&&(t=Math.floor((a-this.tc)/2),u=Math.floor((b-this.rc)/2),a=this.tc,b=this.rc);this.wh&&(this.$o&&1<this.devicePixelRatio)&&(1024<=a&&(a=
1023),1024<=b&&(b=1023));e=this.devicePixelRatio;this.width=a*e;this.height=b*e;this.da=g;this.Ri&&!this.La&&(jQuery(this.Ri).css({width:a+"px",height:b+"px","margin-left":t,"margin-top":u}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:a+"px",height:b+"px"}));this.canvas&&(this.canvas.width=a*e,this.canvas.height=b*e,this.wh&&jQuery(this.canvas).css({width:a+"px",height:b+"px"}));this.ic&&(this.ic.width=a,this.ic.height=b);this.I&&this.I.hn(a,b);this.Cc&&this.Ca&&(this.Ca.width=
a,this.Ca.height=b);this.Ca&&(this.Ca.webkitImageSmoothingEnabled=this.Ga,this.Ca.mozImageSmoothingEnabled=this.Ga,this.Ca.msImageSmoothingEnabled=this.Ga,this.Ca.imageSmoothingEnabled=this.Ga);c&&0<d&&window.setTimeout(function(){window.scrollTo(0,1)},100)};d.prototype.Mt=function(){this.em=g;var a,b,c;a=0;for(b=this.K.length;a<b;a++)c=this.K[a],c.Ag&&c.Ag()};d.prototype.Nt=function(){this.em=m;var a,b,c;a=0;for(b=this.K.length;a<b;a++)c=this.K[a],c.Sh&&c.Sh()};d.prototype.Ip=function(){if(!this.La){var a=
document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.yj?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.ic).css(a)}};var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;d.prototype.setSuspended=function(a){var b;if(a&&!this.xh){ba("[Construct 2] Suspending");this.xh=g;0!==this.Vm&&f&&f(this.Vm);0!==this.vn&&clearTimeout(this.vn);
a=0;for(b=this.mi.length;a<b;a++)this.mi[a](g)}else if(!a&&this.xh){ba("[Construct 2] Resuming");this.xh=m;this.Hj=Ja();this.Fh=Ja();a=this.lj=0;for(b=this.mi.length;a<b;a++)this.mi[a](m);this.ra()}};d.prototype.bo=function(a){this.mi.push(a)};d.prototype.load=function(){var a=Bb();this.name=a[0];this.Bo=a[1];this.yc=a[11];this.Co=a[11];if(this.La&&(4<=a[11]||0===a[11]))ba("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Co=
this.yc=3;this.An=a[17];this.Lh=a[18];0===this.Lh&&(this.pg=new Image,this.pg.src="loading-logo.png");this.Qh=a[20];this.Dd=new S(this);var b,c,d,t,u,h,f,k,e;b=0;for(c=a[2].length;b<c;b++)f=a[2][b],Cb(f),e=new f[0](this),e.pn=f[1],e.Je=f[2],e.qp=f[9],e.B&&e.B(),this.plugins.push(e);a=Bb();b=0;for(c=a[3].length;b<c;b++){f=a[3][b];u=f[1];e=l;d=0;for(t=this.plugins.length;d<t;d++)if(this.plugins[d]instanceof u){e=this.plugins[d];break}var n=new e.H(e);n.name=f[0];n.O=f[2];n.Yl=f[3].slice(0);n.Fu=f[3].length;
n.Lr=f[4];n.Ns=f[5];n.ka=f[11];n.O?(n.Qj=[],n.td=this.bh++,n.Ka=l):(n.Qj=l,n.td=-1,n.Ka=[]);n.gj=l;n.cg=l;n.wo=l;n.gc=m;n.$b=l;f[6]?(n.oi=f[6][0],n.xk=f[6][1],n.Nf=f[6][2]):(n.oi=l,n.xk=0,n.Nf=0);n.lc=f[7]?f[7]:l;n.index=b;n.k=[];n.Yi=[];n.Ue=[new Xa(n)];n.Td=0;n.Lc=l;n.We=g;n.Dk=Db;n.Ss=Eb;n.Xs=Fb;n.la=Gb;n.ai=Hb;n.hk=Ib;n.Hf=Jb;n.mj=Kb;n.Il=Lb;n.Ll=Mb;n.we=Nb;n.X={};n.toString=Ob;n.Pa=[];d=0;for(t=f[8].length;d<t;d++){k=f[8][d];var p=k[1],r=l;u=0;for(h=this.Pa.length;u<h;u++)if(this.Pa[u]instanceof
p){r=this.Pa[u];break}r||(r=new p(this),r.Df=new La,r.B&&r.B(),this.Pa.push(r));u=new r.H(r,n);u.name=k[0];u.ka=k[2];u.B();n.Pa.push(u)}n.global=f[9];n.am=f[10];n.ba=[];d=0;for(t=f[12].length;d<t;d++)n.ba.push({id:f[12][d][0],name:f[12][d][1],Bb:-1,gb:g,index:d});(!this.An||n.O||n.am||!e.Je)&&n.B();n.name&&(this.types[n.name]=n);this.K.push(n);e.pn&&(d=new e.F(n),d.uid=this.Qh++,d.Lp=this.sp++,d.ph=0,d.nh=Pb,d.toString=Qb,d.A=f[13],d.B(),n.k.push(d))}b=0;for(c=a[4].length;b<c;b++){u=a[4][b];h=this.K[u[0]];
d=1;for(t=u.length;d<t;d++)f=this.K[u[d]],f.Ka.push(h),h.Qj.push(f)}b=0;for(c=a[22].length;b<c;b++){u=a[22][b];h=[];d=0;for(t=u.length;d<t;d++)h.push(this.K[u[d]]);d=0;for(t=h.length;d<t;d++)h[d].gc=g,h[d].$b=h}if(0<this.bh){b=0;for(c=this.K.length;b<c;b++)if(f=this.K[b],!f.O&&f.Ka.length){f.gj=Array(this.bh);f.cg=Array(this.bh);f.wo=Array(this.bh);n=[];d=r=p=k=0;for(t=f.Ka.length;d<t;d++){e=f.Ka[d];f.gj[e.td]=k;k+=e.Fu;f.cg[e.td]=p;p+=e.Lr;f.wo[e.td]=r;r+=e.Ns;u=0;for(h=e.ba.length;u<h;u++)n.push(oa({},
e.ba[u]))}f.ba=n.concat(f.ba);d=0;for(t=f.ba.length;d<t;d++)f.ba[d].index=d}}b=0;for(c=a[5].length;b<c;b++)f=a[5][b],d=new Ya(this,f),this.nm[d.name]=d,this.Zc.push(d);b=0;for(c=a[6].length;b<c;b++)f=a[6][b],d=new $a(this,f),this.El[d.name]=d,this.nf.push(d);b=0;for(c=this.nf.length;b<c;b++)this.nf[b].fb();b=0;for(c=this.Ck.length;b<c;b++)this.Ck[b].fb();this.Ck.length=0;this.Ao=a[7];this.vc=a[8];this.tc=a[9];this.rc=a[10];this.Ni=1;this.ls=a[12];this.Ga=a[13];this.oo=a[14];this.hx=a[15];b=a[16];
2===b&&(b=this.Ej?1:0);this.Eu=0!==b;this.qt=a[19];this.Tt=a[21];this.ki=Date.now()};d.prototype.Ls=function(a){var b,c;b=0;for(c=this.hd.length;b<c;b++)if(this.hd[b].Tr===a)return this.hd[b];return l};d.prototype.fo=function(){var a=0,b=0,c=g,d,f;d=0;for(f=this.hd.length;d<f;d++){var u=this.hd[d].nl;if(!u||0>=u)u=5E4;a+=u;this.hd[d].complete||this.hd[d].loaded?b+=u:c=m}this.If=0==a?0:b/a;return c};d.prototype.go=function(){if(this.Ca||this.I){var a=this.Ca||this.Qm;this.ic&&this.Ip();this.If=0;this.gp=
-1;if(this.fo())this.ot();else{var b=Date.now()-this.ki,c=1;this.zj&&(c=this.devicePixelRatio);if(a){if(3!==this.Lh&&500<=b&&this.gp!=this.If){a.clearRect(0,0,this.width,this.height);var b=this.width/(2*c),c=this.height/(2*c),d=0===this.Lh&&this.pg.complete,f=40,u=0,h=80;d&&(h=this.pg.width,f=h/2,u=this.pg.height/2,a.drawImage(this.pg,ka(b-f),ka(c-u)));1>=this.Lh?(b=ka(b-f)+0.5,c=ka(c+(u+(d?12:0)))+0.5,a.fillStyle="DodgerBlue",a.fillRect(b,c,Math.floor(h*this.If),6),a.strokeStyle="black",a.strokeRect(b,
c,h,6),a.strokeStyle="white",a.strokeRect(b-1,c-1,h+2,8)):2===this.Lh&&(a.font="12pt Arial",a.fillStyle="#999",a.cx="middle",d=Math.round(100*this.If)+"%",f=a.measureText?a.measureText(d):l,a.fillText(d,b-(f?f.width:0)/2,c))}this.gp=this.If}setTimeout(function(a){return function(){a.go()}}(this),100)}}};d.prototype.ot=function(){this.ic&&(this.canvas.parentNode.removeChild(this.ic),this.ic=this.Qm=l);this.ki=Date.now();this.Fh=Ja();var a,b,c;if(this.An){a=0;for(b=this.K.length;a<b;a++)c=this.K[a],
!c.O&&(!c.am&&c.ja.Je)&&c.B()}else this.lg=m;a=0;for(b=this.Zc.length;a<b;a++)this.Zc[a].Ur();2<=this.yc&&(a=this.tc/this.rc,b=this.width/this.height,this.Ni=2!==this.yc&&b>a||2===this.yc&&b<a?this.height/this.rc:this.width/this.tc);this.Bo?this.nm[this.Bo].rn():this.Zc[0].rn();this.An||(this.qg=1,this.trigger(S.prototype.m.Jn,l));this.ra();this.Cc&&AppMobi.webview.execute("onGameReady();")};var k=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||
window.oRequestAnimationFrame;d.prototype.ra=function(){if(this.ya){if(this.At){var a=jQuery(window).width(),b=jQuery(window).height();if(this.zf!==a||this.yf!==b)this.zf=a,this.yf=b,this.setSize(a,b)}a=Ja();this.lg&&(b=this.fo(),this.qg=this.If,b&&(this.lg=m,this.If=1,this.trigger(S.prototype.m.Jn,l)));this.Jt();if((this.da||this.Bc)&&!this.em&&!this.li)this.da=m,this.I?this.Ab():this.Nb(),this.ji&&(this.canvas&&this.canvas.toDataURL&&(this.pu=this.canvas.toDataURL(this.ji[0],this.ji[1]),this.trigger(S.prototype.m.zq,
l)),this.ji=l);this.gd++;this.pf++;this.lj++;this.Pj+=Ja()-a;this.xh||(k?this.Vm=k(this.dq,this.canvas):this.vn=setTimeout(this.dq,this.He?1:16))}};d.prototype.Jt=function(){var a,b,c,d,f,u,h,k,e;a=Ja();1E3<=a-this.Fh&&(this.Fh+=1E3,this.kj=this.lj,this.lj=0,this.ml=this.Pj,this.Pj=0);this.mp&&(0!==this.Hj&&(b=a-this.Hj,0===b?(this.Hu++,10<=this.ix&&(this.mp=m),this.De=1/60):(this.De=b/1E3,0.5<this.De?this.De=0:0.1<this.De&&(this.De=0.1))),this.Hj=a);this.mf=this.De*this.Ze;this.Qa.add(this.mf);a=
document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.yj;2<=this.yc||a&&0<this.fh?(b=this.tc/this.rc,c=this.width/this.height,d=this.yc,a&&0<this.fh&&(d=this.fh),this.Ni=2!==d&&c>b||2===d&&c<b?this.height/this.rc:this.width/this.tc,this.ya&&(this.ya.Sp(this.ya.scrollX),this.ya.Tp(this.ya.scrollY))):this.Ni=1;this.Cb();this.Dc++;this.Dd.gu();this.Dc--;this.Cb();this.Dc++;a=0;for(b=this.K.length;a<b;a++)if(h=this.K[a],!(h.O||!h.Pa.length&&!h.Ka.length)){c=0;for(d=h.k.length;c<
d;c++){k=h.k[c];f=0;for(u=k.fa.length;f<u;f++)k.fa[f].ra()}}a=0;for(b=this.K.length;a<b;a++)if(h=this.K[a],!(h.O||!h.Pa.length&&!h.Ka.length)){c=0;for(d=h.k.length;c<d;c++){k=h.k[c];f=0;for(u=k.fa.length;f<u;f++)e=k.fa[f],e.Xt&&e.Xt()}}c=this.Cm.me();a=0;for(b=c.length;a<b;a++)c[a].ra();this.Dc--;this.pt();for(a=0;this.hf&&10>a++;)this.so(this.hf);a=0;for(b=this.nf.length;a<b;a++)this.nf[a].Rl=m;this.ya.aj&&this.ya.aj.kb();this.kk.length=0;this.ip=m;this.Dc++;a=0;for(b=this.K.length;a<b;a++)if(h=
this.K[a],!(h.O||!h.Pa.length&&!h.Ka.length)){c=0;for(d=h.k.length;c<d;c++){k=h.k[c];f=0;for(u=k.fa.length;f<u;f++)e=k.fa[f],e.pi&&e.pi()}}c=this.Dm.me();a=0;for(b=c.length;a<b;a++)c[a].pi();this.Dc--};d.prototype.so=function(a){var b=this.ya;this.ya.tu();var c,d,f,u,h,k,e;if(this.I){c=0;for(d=this.K.length;c<d;c++)h=this.K[c],h.O||h.qi&&((!h.global||0===h.k.length)&&-1===a.rh.indexOf(h))&&h.qi()}b==a&&(this.Dd.kc.length=0);a.rn();c=0;for(d=this.K.length;c<d;c++)if(h=this.K[c],h.global||h.ja.pn){a=
0;for(b=h.k.length;a<b;a++)if(k=h.k[a],k.Tj&&k.Tj(),k.fa){f=0;for(u=k.fa.length;f<u;f++)e=k.fa[f],e.Tj&&e.Tj()}}this.ip=this.da=g;this.Cb()};d.prototype.je=function(a){this.Cm.add(a)};d.prototype.yu=function(a){this.Dm.add(a)};d.prototype.Vd=function(a){return!a||-1===a.Ef?this.mf:this.De*a.Ef};d.prototype.Nb=function(){this.ya.Nb(this.Ca);this.Cc&&this.Ca.present()};d.prototype.Ab=function(){this.ya.Ab(this.I)};d.prototype.$n=function(a){a&&this.yl.push(a)};d.prototype.oj=function(a){return this.xg[a.toString()]};
d.prototype.ld=function(a){var b,c;if(!this.qd.contains(a)){this.qd.add(a);if(a.gc){b=0;for(c=a.siblings.length;b<c;b++)this.ld(a.siblings[b])}this.$l&&this.qd.ri.push(a);this.Dc++;this.trigger(Object.getPrototypeOf(a.type.ja).m.Pk,a);this.Dc--}};d.prototype.Cb=function(){var a,b,c,d,f,h,k,e,n,r;this.$l=g;d=0;for(h=this.pd.length;d<h;d++){a=this.pd[d];b=a.type;b.k.push(a);b.We=g;f=0;for(k=b.Ka.length;f<k;f++)b.Ka[f].k.push(a),b.Ka[f].We=g}this.pd.length=0;h=this.qd.me();for(d=0;d<h.length;d++){a=
h[d];b=a.type;c=b.k;f=0;for(k=this.yl.length;f<k;f++)this.yl[f](a);ra(c,a);a.u&&(pa(a.u.k,a.ec()),a.u.xc=g);f=0;for(k=b.Ka.length;f<k;f++)ra(b.Ka[f].k,a),b.Ka[f].We=g;if(a.fa){f=0;for(k=a.fa.length;f<k;f++)c=a.fa[f],c.be&&c.be(),c.V.Df.remove(a)}this.Cm.remove(a);this.Dm.remove(a);f=0;for(k=this.Dd.kc.length;f<k;f++)if(n=this.Dd.kc[f],n.Vb.hasOwnProperty(b.index)&&ra(n.Vb[b.index].Xd,a),!b.O){c=0;for(e=b.Ka.length;c<e;c++)r=b.Ka[c],n.Vb.hasOwnProperty(r.index)&&ra(n.Vb[r.index].Xd,a)}a.be&&a.be();
this.xg.hasOwnProperty(a.uid.toString())&&delete this.xg[a.uid.toString()];this.Rj--;64>b.Yi.length&&b.Yi.push(a);b.We=g}this.qd.uh()||(this.da=g);this.qd.clear();this.$l=m};d.prototype.ol=function(a,b,c,d){if(a.O){var f=ka(Math.random()*a.Qj.length);return this.ol(a.Qj[f],b,c,d)}return!a.Lc?l:this.Ce(a.Lc,b,m,c,d,m)};var n=[];d.prototype.Ce=function(a,b,c,d,f,h){var k,e,r,p;if(!a)return l;var J=this.K[a[1]],A=J.ja.Je;if(this.lg&&A&&!J.am||A&&!this.I&&11===a[0][11])return l;var x=b;A||(b=l);var v;
J.Yi.length?(v=J.Yi.pop(),v.wc=g,J.ja.F.call(v,J)):(v=new J.ja.F(J),v.wc=m);v.uid=c&&!h?a[2]:this.Qh++;this.xg[v.uid.toString()]=v;v.Lp=this.sp++;v.ph=0;v.nh=Pb;J.We=g;r=a[3];if(v.wc){k=0;for(e=r.length;k<e;k++)v.ub[k]=r[k];Ia(v.X)}else v.ub=r.slice(0),v.X={};if(A){var E=a[0];v.x=ca(d)?E[0]:d;v.y=ca(f)?E[1]:f;v.qq=E[2];v.width=E[3];v.height=E[4];v.depth=E[5];v.q=E[6];v.opacity=E[7];v.Pb=E[8];v.Qb=E[9];v.Zb=E[10];k=E[11];!this.I&&J.ba.length&&(v.Zb=k);v.Zg=Ta(v.Zb);this.T&&Ua(v,v.Zb,this.T);if(v.wc){k=
0;for(e=E[12].length;k<e;k++){r=0;for(p=E[12][k].length;r<p;r++)v.Ya[k][r]=E[12][k][r]}v.ca.set(0,0,0,0);v.tb.sk(v.ca);v.Pi.length=0}else{v.Ya=E[12].slice(0);k=0;for(e=v.Ya.length;k<e;k++)v.Ya[k]=E[12][k].slice(0);v.xa=[];v.se=[];v.se.length=J.ba.length;v.ca=new ma(0,0,0,0);v.tb=new na;v.Pi=[];v.R=Rb;v.Ir=Sb;v.mc=Tb;v.sb=Ub;v.ec=Vb}k=0;for(e=J.ba.length;k<e;k++)v.se[k]=g;v.le=Wb;v.le();v.oq=!!v.xa.length;v.Oi=g;v.visible=g;v.Ef=-1;v.u=b;v.Qf=b.k.length;"undefined"===typeof v.Ia&&(v.Ia=l);this.da=
v.Qd=g}v.toString=Qb;var D;k=n.length=0;for(e=J.Ka.length;k<e;k++)n.push.apply(n,J.Ka[k].Pa);n.push.apply(n,J.Pa);if(v.wc){k=0;for(e=n.length;k<e;k++){var O=n[k];D=v.fa[k];D.wc=g;O.V.F.call(D,O,v);E=a[4][k];r=0;for(p=E.length;r<p;r++)D.A[r]=E[r];D.B();O.V.Df.add(v)}}else{v.fa=[];k=0;for(e=n.length;k<e;k++)O=n[k],D=new O.V.F(O,v),D.wc=m,D.A=a[4][k].slice(0),D.B(),v.fa.push(D),O.V.Df.add(v)}E=a[5];if(v.wc){k=0;for(e=E.length;k<e;k++)v.A[k]=E[k]}else v.A=E.slice(0);this.pd.push(v);b&&b.k.push(v);this.Rj++;
if(J.gc){if(v.gc=g,v.wc?v.siblings.length=0:v.siblings=[],!c&&!h){k=0;for(e=J.$b.length;k<e;k++)if(J.$b[k]!==J){if(!J.$b[k].Lc)return l;v.siblings.push(this.Ce(J.$b[k].Lc,x,m,A?v.x:d,A?v.y:f,g))}k=0;for(e=v.siblings.length;k<e;k++){v.siblings[k].siblings.push(v);for(r=0;r<e;r++)k!==r&&v.siblings[k].siblings.push(v.siblings[r])}}}else v.gc=m,v.siblings=l;v.B();k=0;for(e=v.fa.length;k<e;k++)v.fa[k].Wt&&v.fa[k].Wt();return v};d.prototype.Ml=function(a){var b,c;b=0;for(c=this.ya.pa.length;b<c;b++){var d=
this.ya.pa[b];if(d.name.toLowerCase()===a.toLowerCase())return d}return l};d.prototype.ih=function(a){a=ka(a);0>a&&(a=0);a>=this.ya.pa.length&&(a=this.ya.pa.length-1);return this.ya.pa[a]};d.prototype.ll=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].la().wa=g};d.prototype.ai=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].ai()};d.prototype.hk=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].hk()};d.prototype.Hf=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Hf()};d.prototype.xu=
function(a,b,c){var d=a.la(),f,h,k,e,n,r;if(d.wa){d.wa=m;f=d.k.length=0;for(e=a.k.length;f<e;f++)k=a.k[f],k.sb(),n=k.u.lb(b,c,g),r=k.u.lb(b,c,m),k.mc(n,r)&&d.k.push(k)}else{f=h=0;for(e=d.k.length;f<e;f++)k=d.k[f],k.sb(),n=k.u.lb(b,c,g),r=k.u.lb(b,c,m),k.mc(n,r)&&(d.k[h]=d.k[f],h++);d.k.length=h}a.we();return d.Ql()};d.prototype.Lf=function(a,b){if(!a||!b||a===b||!a.Qd||!b.Qd)return m;a.sb();b.sb();var c=a.u,d=b.u,f,h,k,e,n,r;if(c!==d&&(c.xd!==d.xd||d.yd!==d.yd||c.scale!==d.scale||c.q!==d.q||c.jd!==
d.jd)){n=a.Ia&&!a.Ia.yh();f=b.Ia&&!b.Ia.yh();n?(a.Ia.Vg(a.width,a.height,a.q),this.Kf.Wp(a.Ia)):this.Kf.rk(a.tb,a.x,a.y,a.width,a.height);n=this.Kf;f?(b.Ia.Vg(b.width,b.height,b.q),this.tn.Wp(b.Ia)):this.tn.rk(b.tb,b.x,b.y,b.width,b.height);r=this.tn;f=0;for(h=n.ee;f<h;f++)k=n.Gb[2*f],e=n.Gb[2*f+1],n.Gb[2*f]=c.Ea(k+a.x,e+a.y,g),n.Gb[2*f+1]=c.Ea(k+a.x,e+a.y,m);f=0;for(h=r.ee;f<h;f++)k=r.Gb[2*f],e=r.Gb[2*f+1],r.Gb[2*f]=d.Ea(k+b.x,e+b.y,g),r.Gb[2*f+1]=d.Ea(k+b.x,e+b.y,m);return n.Uo(r,0,0)}if(!a.ca.yt(b.ca)||
!a.tb.xt(b.tb))return m;n=a.Ia&&!a.Ia.yh();f=b.Ia&&!b.Ia.yh();if(!n&&!f)return g;n?(a.Ia.Vg(a.width,a.height,a.q),n=a.Ia):(this.Kf.rk(a.tb,a.x,a.y,a.width,a.height),n=this.Kf);f?(b.Ia.Vg(b.width,b.height,b.q),r=b.Ia):(this.Kf.rk(b.tb,b.x,b.y,b.width,b.height),r=this.Kf);return n.Uo(r,b.x-a.x,b.y-a.y)};new na;new ma(0,0,0,0);d.prototype.iq=function(a,b){if(!b)return m;var c,d,f,h,k;c=0;for(d=a.Pa.length;c<d;c++)if(a.Pa[c].V instanceof b)return g;if(!a.O){c=0;for(d=a.Ka.length;c<d;c++){k=a.Ka[c];f=
0;for(h=k.Pa.length;f<h;f++)if(k.Pa[f].V instanceof b)return g}}return m};d.prototype.jq=function(a){return this.iq(a,pb.Rv)};d.prototype.zn=function(a){return this.iq(a,pb.Tv)};d.prototype.at=function(){if(!Xb)return l;var a,b;a=0;for(b=this.Pa.length;a<b;a++)if(this.Pa[a]instanceof Xb)return this.Pa[a];return l};d.prototype.fd=function(a){var b=this.at();if(!b)return l;var c,d,f=b.Df.me(),b=0;for(c=f.length;b<c;++b)if(d=f[b],d.X.ru&&this.Lf(a,d))return d;return l};d.prototype.bu=function(a,b,c,
d){d=d||50;var f=a.x,h=a.y,k,e=l,n=l;for(k=0;k<d;k++)if(a.x=f+b*k,a.y=h+c*k,a.R(),!this.Lf(a,e)&&((e=this.fd(a))&&(n=e),!e&&!e))return n&&this.$t(a,b,c,n),g;a.x=f;a.y=h;a.R();return m};d.prototype.$t=function(a,b,c,d){var f=2,h,k=m;h=m;for(var e=a.x,n=a.y;16>=f;)h=1/f,f*=2,a.x+=b*h*(k?1:-1),a.y+=c*h*(k?1:-1),a.R(),this.Lf(a,d)?h=k=g:(h=k=m,e=a.x,n=a.y);h&&(a.x=e,a.y=n,a.R())};d.prototype.Mp=function(a,b){var c=ca(b)?100:b,d=0,f=a.x,h=a.y,k=0,e=0,n=0,r=this.fd(a);if(!r)return g;for(;d<=c;){switch(k){case 0:e=
0;n=-1;d++;break;case 1:e=1;n=-1;break;case 2:e=1;n=0;break;case 3:n=e=1;break;case 4:e=0;n=1;break;case 5:e=-1;n=1;break;case 6:e=-1;n=0;break;case 7:n=e=-1}k=(k+1)%8;a.x=ka(f+e*d);a.y=ka(h+n*d);a.R();if(!this.Lf(a,r)&&(r=this.fd(a),!r))return g}a.x=f;a.y=h;a.R();return m};d.prototype.di=function(a,b){a.Qd&&b.Qd&&this.kk.push([a,b])};d.prototype.Sr=function(a,b){var c,d,f;c=0;for(d=this.kk.length;c<d;c++)if(f=this.kk[c],f[0]==a&&f[1]==b||f[0]==b&&f[1]==a)return g;return m};d.prototype.Pr=function(a,
b,c){var d=a.x,f=a.y,h=ha(10,Ea(b,c,d,f)),k=za(b,c,d,f),e=this.fd(a);if(!e)return ua(k+ja);var n=e,r,p,A,x,v=I(5);for(r=1;36>r;r++)if(p=k-r*v,a.x=b+Math.cos(p)*h,a.y=c+Math.sin(p)*h,a.R(),!this.Lf(a,n)&&(n=this.fd(a),!n)){A=p;break}36===r&&(A=ua(k+ja));n=e;for(r=1;36>r;r++)if(p=k+r*v,a.x=b+Math.cos(p)*h,a.y=c+Math.sin(p)*h,a.R(),!this.Lf(a,n)&&(n=this.fd(a),!n)){x=p;break}36===r&&(x=ua(k+ja));a.x=d;a.y=f;a.R();if(x===A)return x;a=Aa(x,A)/2;a=Ca(x,A)?ua(A+a+ja):ua(x+a);A=Math.cos(k);k=Math.sin(k);
x=Math.cos(a);a=Math.sin(a);b=A*x+k*a;return za(0,0,A-2*b*x,k-2*b*a)};var p=[],r=-1;d.prototype.trigger=function(a,b,c){if(!this.ya)return m;var d=this.ya.aj;if(!d)return m;r++;r===p.length?p.push(new La):p[r].clear();a=this.gq(a,b,d,c);r--;return a};d.prototype.gq=function(a,b,c,d){var f=p[r];if(f.contains(c))return m;f.add(c);var f=c.Qo.me(),h=m,k,e,n;k=0;for(e=f.length;k<e;k++)f[k].zt()&&(n=this.gq(a,b,f[k].qh,d),h=h||n);if(b){n=this.xn(a,b,b.type.name,c,d);h=h||n;k=0;for(e=b.type.Ka.length;k<
e;k++)n=this.xn(a,b,b.type.Ka[k].name,c,d),h=h||n}else n=this.xn(a,b,"system",c,d),h=h||n;return h};d.prototype.xn=function(a,b,c,d,f){var h,k=m,e=m,e="undefined"!==typeof f,n=(e?d.yo:d.hq)[c];if(!n)return k;var r=l;d=0;for(h=n.length;d<h;d++)if(n[d].method==a){r=n[d].cj;break}if(!r)return k;a=e?r[f]:r;if(!a)return l;d=0;for(h=a.length;d<h;d++)f=a[d][0],e=a[d][1],e=this.Js(b,c,f,e),k=k||e;return k};d.prototype.Js=function(a,b,c,d){var f,h,k=m;this.yn++;var e=this.Fb().ac;e&&this.ai(e.Se);var n=1<
this.yn;this.ai(c.Se);n&&this.au();var p=this.ik(c);p.ac=c;a&&(f=this.types[b].la(),f.wa=m,f.k.length=1,f.k[0]=a,this.types[b].we());a=g;if(c.parent){b=p.bq;for(f=c.parent;f;)b.push(f),f=f.parent;b.reverse();f=0;for(h=b.length;f<h;f++)if(!b[f].iu()){a=m;break}}a&&(this.pf++,c.$c?c.hu(d):c.kb(),k=k||p.ng);this.dk();n&&this.Vt();this.Hf(c.Se);e&&this.Hf(e.Se);0===this.Dc&&(0===r&&!this.cm&&(!this.qd.uh()||this.pd.length))&&this.Cb();this.yn--;return k};d.prototype.Jl=function(){var a=this.Fb();return a.ac.Wa[a.mb]};
d.prototype.Rs=function(){var a=this.Fb();return a.ac.Hc[a.Yb]};d.prototype.au=function(){this.Oj++;this.Oj>=this.vm.length&&this.vm.push([])};d.prototype.Vt=function(){this.Oj--};d.prototype.Fo=function(){return this.vm[this.Oj]};d.prototype.ik=function(a){this.bj++;this.bj>=this.Dl.length&&this.Dl.push(new ab);var b=this.Fb();b.reset(a);return b};d.prototype.dk=function(){this.bj--};d.prototype.Fb=function(){return this.Dl[this.bj]};d.prototype.Go=function(a,b){for(var c,d,f,h,k,e;b;){c=0;for(d=
b.Uc.length;c<d;c++)if(e=b.Uc[c],e instanceof bb&&a.toLowerCase()===e.name.toLowerCase())return e;b=b.parent}c=0;for(d=this.nf.length;c<d;c++){k=this.nf[c];f=0;for(h=k.Ee.length;f<h;f++)if(e=k.Ee[f],e instanceof bb&&a.toLowerCase()===e.name.toLowerCase())return e}return l};d.prototype.Ho=function(a){var b,c;b=0;for(c=this.Zc.length;b<c;b++)if(this.Zc[b].ka===a)return this.Zc[b];return l};d.prototype.pj=function(a){var b,c;b=0;for(c=this.K.length;b<c;b++)if(this.K[b].ka===a)return this.K[b];return l};
d.prototype.Ts=function(a){var b,c;b=0;for(c=this.ue.length;b<c;b++)if(this.ue[b].ka===a)return this.ue[b];return l};d.prototype.pt=function(){var d=this,f=this.cn,h=this.Zd,k=this.Lj,e=m;this.$p&&(e=g,f="__c2_continuouspreview",this.$p=m);if(f.length){this.Cb();h=this.mu();if(window.indexedDB&&!this.Bc)c(f,h,function(){ba("Saved state to IndexedDB storage ("+h.length+" bytes)");d.Zd=h;d.trigger(S.prototype.m.Sk,l);d.Zd="";e&&a()},function(b){try{localStorage.setItem("__c2save_"+f,h),ba("Saved state to WebStorage ("+
h.length+" bytes)"),d.Zd=h,d.trigger(S.prototype.m.Sk,l),d.Zd="",e&&a()}catch(c){ba("Failed to save game state: "+b+"; "+c)}});else try{localStorage.setItem("__c2save_"+f,h),ba("Saved state to WebStorage ("+h.length+" bytes)"),d.Zd=h,this.trigger(S.prototype.m.Sk,l),d.Zd="",e&&a()}catch(u){ba("Error saving to WebStorage: "+u)}this.Tb=this.Lj=this.cn=""}k.length&&(window.indexedDB&&!this.Bc?b(k,function(a){a?(d.Tb=a,ba("Loaded state from IndexedDB storage ("+d.Tb.length+" bytes)")):(d.Tb=localStorage.getItem("__c2save_"+
k)||"",ba("Loaded state from WebStorage ("+d.Tb.length+" bytes)"));d.li=m;d.Tb.length||d.trigger(S.prototype.m.Rk,l)},function(){d.Tb=localStorage.getItem("__c2save_"+k)||"";ba("Loaded state from WebStorage ("+d.Tb.length+" bytes)");d.li=m;d.Tb.length||d.trigger(S.prototype.m.Rk,l)}):(this.Tb=localStorage.getItem("__c2save_"+k)||"",ba("Loaded state from WebStorage ("+this.Tb.length+" bytes)"),this.li=m,d.Tb.length||d.trigger(S.prototype.m.Rk,l)),this.cn=this.Lj="");this.Tb.length&&(this.Cb(),this.It(this.Tb),
this.Zd=this.Tb,this.trigger(S.prototype.m.Xq,l),this.Tb=this.Zd="")};d.prototype.mu=function(){var a,b,c,d,f,k,e,n={c2save:g,version:1,rt:{time:this.Qa.qa,timescale:this.Ze,tickcount:this.gd,execcount:this.pf,next_uid:this.Qh,running_layout:this.ya.ka,start_time_offset:Date.now()-this.ki},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(b=this.K.length;a<b;a++)if(f=this.K[a],!f.O&&!this.jq(f)){k={instances:[]};Ha(f.X)&&(k.ex=h(f.X));c=0;for(d=f.k.length;c<d;c++)k.instances.push(this.Rp(f.k[c]));
n.types[f.ka.toString()]=k}a=0;for(b=this.Zc.length;a<b;a++)c=this.Zc[a],n.layouts[c.ka.toString()]=c.Na();d=n.events.groups;a=0;for(b=this.ue.length;a<b;a++)c=this.ue[a],d[c.ka.toString()]=!!this.Rg[c.eg];b=n.events.cnds;for(e in this.Yf)this.Yf.hasOwnProperty(e)&&(a=this.Yf[e],Ha(a.X)&&(b[e]={ex:h(a.X)}));b=n.events.acts;for(e in this.Wf)this.Wf.hasOwnProperty(e)&&(a=this.Wf[e],Ha(a.X)&&(b[e]={ex:a.X}));b=n.events.vars;for(e in this.Kg)if(this.Kg.hasOwnProperty(e)&&(a=this.Kg[e],!a.Aj&&(!a.parent||
a.Ah)))b[e]=a.data;n.system=this.Dd.Na();return JSON.stringify(n)};d.prototype.Op=function(){var a,b,c,d,f,h;this.xg={};a=0;for(b=this.K.length;a<b;a++)if(c=this.K[a],!c.O){d=0;for(f=c.k.length;d<f;d++)h=c.k[d],this.xg[h.uid.toString()]=h}};d.prototype.It=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.Qa.reset();this.Qa.qa=b.time;this.Ze=b.timescale;this.gd=b.tickcount;this.pf=b.execcount;this.ki=Date.now()-b.start_time_offset;var c=b.running_layout;if(c!==this.ya.ka)if(c=
this.Ho(c))this.so(c);else return;this.Wo=g;var d,f,h,k,e,n,r;n=a.types;for(f in n)if(n.hasOwnProperty(f)&&(k=this.pj(parseInt(f,10)))&&!k.O&&!this.jq(k)){n[f].ex?k.X=n[f].ex:Ia(k.X);e=k.k;h=n[f].instances;c=0;for(d=ia(e.length,h.length);c<d;c++)this.pm(e[c],h[c]);c=h.length;for(d=e.length;c<d;c++)this.ld(e[c]);c=e.length;for(d=h.length;c<d;c++){e=l;if(k.ja.Je&&(e=this.ya.nj(h[c].w.l),!e))continue;e=this.Ce(k.Lc,e,m,0,0,g);this.pm(e,h[c])}k.We=g}this.Cb();this.Op();d=a.layouts;for(f in d)d.hasOwnProperty(f)&&
(c=this.Ho(parseInt(f,10)))&&c.Za(d[f]);d=a.events.groups;for(f in d)d.hasOwnProperty(f)&&(c=this.Ts(parseInt(f,10)))&&(this.Rg[c.eg]=d[f]);c=a.events.cnds;for(f in c)c.hasOwnProperty(f)&&this.Yf.hasOwnProperty(f)&&(this.Yf[f].X=c[f].ex);c=a.events.acts;for(f in c)c.hasOwnProperty(f)&&this.Wf.hasOwnProperty(f)&&(this.Wf[f].X=c[f].ex);c=a.events.vars;for(f in c)c.hasOwnProperty(f)&&this.Kg.hasOwnProperty(f)&&(this.Kg[f].data=c[f]);this.Qh=b.next_uid;this.Wo=m;this.Dd.Za(a.system);c=0;for(d=this.K.length;c<
d;c++)if(k=this.K[c],!k.O){f=0;for(a=k.k.length;f<a;f++){e=k.k[f];if(k.gc){n=e.nh();b=e.siblings.length=0;for(h=k.$b.length;b<h;b++)r=k.$b[b],k!==r&&e.siblings.push(r.k[n])}e.Sg&&e.Sg();if(e.fa){b=0;for(h=e.fa.length;b<h;b++)n=e.fa[b],n.Sg&&n.Sg()}}}this.da=g}};d.prototype.Rp=function(a){var b,c,d,f,k;f=a.type;d=f.ja;var e={uid:a.uid};Ha(a.X)&&(e.ex=h(a.X));if(a.ub&&a.ub.length){e.ivs={};b=0;for(c=a.ub.length;b<c;b++)e.ivs[a.type.Yl[b].toString()]=a.ub[b]}if(d.Je){d={x:a.x,y:a.y,w:a.width,h:a.height,
l:a.u.ka,zi:a.ec()};0!==a.q&&(d.a=a.q);1!==a.opacity&&(d.o=a.opacity);0.5!==a.Pb&&(d.hX=a.Pb);0.5!==a.Qb&&(d.hY=a.Qb);0!==a.Zb&&(d.bm=a.Zb);a.visible||(d.v=a.visible);a.Qd||(d.ce=a.Qd);-1!==a.Ef&&(d.mts=a.Ef);if(f.ba.length){d.fx=[];b=0;for(c=f.ba.length;b<c;b++)k=f.ba[b],d.fx.push({name:k.name,active:a.se[k.index],params:a.Ya[k.index]})}e.w=d}if(a.fa&&a.fa.length){e.behs={};b=0;for(c=a.fa.length;b<c;b++)f=a.fa[b],f.Na&&(e.behs[f.type.ka.toString()]=f.Na())}a.Na&&(e.data=a.Na());return e};d.prototype.Vs=
function(a,b){var c,d;c=0;for(d=a.Yl.length;c<d;c++)if(a.Yl[c]===b)return c;return-1};d.prototype.Qs=function(a,b){var c,d;c=0;for(d=a.fa.length;c<d;c++)if(a.fa[c].type.ka===b)return c;return-1};d.prototype.pm=function(a,b){var c,d,f,h,k,e;e=a.type;f=e.ja;a.uid=b.uid;b.ex?a.X=b.ex:Ia(a.X);if(d=b.ivs)for(c in d)d.hasOwnProperty(c)&&(h=this.Vs(e,parseInt(c,10)),0>h||h>=a.ub.length||(a.ub[h]=d[c]));if(f.Je){h=b.w;a.u.ka!==h.l&&(d=a.u,a.u=this.ya.nj(h.l),a.u?(a.u.k.push(a),a.u.xc=g,ra(d.k,a),d.xc=g):
(a.u=d,this.ld(a)));a.x=h.x;a.y=h.y;a.width=h.w;a.height=h.h;a.Qf=h.zi;a.q=h.hasOwnProperty("a")?h.a:0;a.opacity=h.hasOwnProperty("o")?h.o:1;a.Pb=h.hasOwnProperty("hX")?h.hX:0.5;a.Qb=h.hasOwnProperty("hY")?h.hY:0.5;a.visible=h.hasOwnProperty("v")?h.v:g;a.Qd=h.hasOwnProperty("ce")?h.ce:g;a.Ef=h.hasOwnProperty("mts")?h.mts:-1;a.Zb=h.hasOwnProperty("bm")?h.bm:0;a.Zg=Ta(a.Zb);this.T&&Ua(a,a.Zb,this.T);a.R();if(h.hasOwnProperty("fx")){d=0;for(f=h.fx.length;d<f;d++)k=e.Ll(h.fx[d].name),0>k||(a.se[k]=h.fx[d].active,
a.Ya[k]=h.fx[d].params)}a.le()}if(e=b.behs)for(c in e)e.hasOwnProperty(c)&&(h=this.Qs(a,parseInt(c,10)),0>h||a.fa[h].Za(e[c]));b.data&&a.Za(b.data)};cb=function(a){return new d(document.getElementById(a))};db=function(a,b){return new d({dc:g,width:a,height:b})};window.cr_createRuntime=cb;window.cr_createDCRuntime=db;window.createCocoonJSRuntime=function(){window.c2cocoonjs=g;var a=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(a);a=new d(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.cr_getC2Runtime=function(){var d=document.getElementById("c2canvas");return d?d.c2runtime:window.c2runtime?window.c2runtime:l};window.cr_sizeCanvas=function(d,e){if(!(0===d||0===e)){var c=window.cr_getC2Runtime();c&&c.setSize(d,e)}};
window.cr_setSuspended=function(d){var e=window.cr_getC2Runtime();e&&e.setSuspended(d)};
(function(){function d(a,b){this.b=a;this.aj=l;this.scrollX=this.b.tc/2;this.scrollY=this.b.rc/2;this.scale=1;this.q=0;this.eh=g;this.name=b[0];this.width=b[1];this.height=b[2];this.kq=b[3];this.Yp=b[4];this.ka=b[5];var c=b[6],d,e;this.pa=[];this.rh=[];d=0;for(e=c.length;d<e;d++){var p=new eb(this,c[d]);p.up=d;this.pa.push(p)}c=b[7];this.tf=[];d=0;for(e=c.length;d<e;d++){var p=c[d],r=this.b.K[p[1]];r.Lc||(r.Lc=p);this.tf.push(p);-1===this.rh.indexOf(r)&&this.rh.push(r)}this.ba=[];this.xa=[];this.Ya=
[];d=0;for(e=b[8].length;d<e;d++)this.ba.push({id:b[8][d][0],name:b[8][d][1],Bb:-1,gb:g,index:d}),this.Ya.push(b[8][d][2].slice(0));this.le();this.Pe=new ma(0,0,1,1);this.Wm=new ma(0,0,1,1);this.Oe={}}function e(a,b){this.za=a;this.b=a.b;this.k=[];this.scale=1;this.q=0;this.kf=m;this.ke=new ma(0,0,0,0);this.fq=new na;this.Ib=this.Lb=this.Kb=this.Jb=0;this.xc=m;this.name=b[0];this.index=b[1];this.ka=b[2];this.visible=b[3];this.ye=b[4];this.Of=b[5];this.xd=b[6];this.yd=b[7];this.opacity=b[8];this.Fl=
b[9];this.jd=b[10];this.Zb=b[11];this.ks=b[12];this.Zg="source-over";this.Db=this.Hb=0;this.Qe=m;var c=b[13],d,e;this.gg=[];d=0;for(e=c.length;d<e;d++){var p=c[d],r=this.b.K[p[1]];r.Lc||(r.Lc=p);this.gg.push(p);-1===this.za.rh.indexOf(r)&&this.za.rh.push(r)}this.ba=[];this.xa=[];this.Ya=[];d=0;for(e=b[14].length;d<e;d++)this.ba.push({id:b[14][d][0],name:b[14][d][1],Bb:-1,gb:g,index:d}),this.Ya.push(b[14][d][2].slice(0));this.le();this.Pe=new ma(0,0,1,1);this.Wm=new ma(0,0,1,1)}function c(a,b){return a.Qf-
b.Qf}d.prototype.lu=function(a){var b=a.type.ka.toString();this.Oe.hasOwnProperty(b)||(this.Oe[b]=[]);this.Oe[b].push(this.b.Rp(a))};d.prototype.No=function(){var a=this.pa[0];return!a.Of&&1===a.opacity&&!a.Fl&&a.visible};d.prototype.le=function(){this.xa.length=0;var a,b,c;a=0;for(b=this.ba.length;a<b;a++)c=this.ba[a],c.gb&&this.xa.push(c)};d.prototype.Kl=function(a){var b,c,d;b=0;for(c=this.ba.length;b<c;b++)if(d=this.ba[b],d.name===a)return d;return l};var b=[];d.prototype.rn=function(){this.Yp&&
(this.aj=this.b.El[this.Yp]);this.b.ya=this;this.scrollX=this.b.tc/2;this.scrollY=this.b.rc/2;var a,d,f,k,e,p,r;a=0;for(f=this.b.K.length;a<f;a++)if(d=this.b.K[a],!d.O){e=d.k;d=0;for(k=e.length;d<k;d++)if(p=e[d],p.u){var s=p.u.up;s>=this.pa.length&&(s=this.pa.length-1);p.u=this.pa[s];p.u.k.push(p);p.u.xc=g}}b.length=0;this.Nr();a=0;for(f=this.pa.length;a<f;a++)p=this.pa[a],p.Vr(),p.kf=g,d=p.lb(0,0,g),k=p.lb(0,0,m),p.kf=m,this.b.vc&&(d=d+0.5|0,k=k+0.5|0),p.Zm(d,k,l);e=m;if(!this.eh){for(r in this.Oe)if(this.Oe.hasOwnProperty(r)&&
(d=this.b.pj(parseInt(r,10)))&&!d.O&&this.b.zn(d)){k=this.Oe[r];a=0;for(f=k.length;a<f;a++){p=l;if(d.ja.Je&&(p=this.nj(k[a].w.l),!p))continue;p=this.b.Ce(d.Lc,p,m,0,0,g);this.b.pm(p,k[a]);e=g;b.push(p)}k.length=0}a=0;for(f=this.pa.length;a<f;a++)this.pa[a].k.sort(c),this.pa[a].xc=g}e&&(this.b.Cb(),this.b.Op());for(a=0;a<b.length;a++)if(p=b[a],p.type.gc){f=p.nh();d=0;for(k=p.type.$b.length;d<k;d++)r=p.type.$b[d],p.type!==r&&(r.k.length>f?p.siblings.push(r.k[f]):r.Lc&&(e=this.b.Ce(r.Lc,p.u,g,p.x,p.y,
g),this.b.Cb(),r.Dk(),p.siblings.push(e),b.push(e)))}a=0;for(f=this.tf.length;a<f;a++)this.b.Ce(this.tf[a],l,g);this.b.hf=l;this.b.Cb();if(this.b.Ca&&!this.b.La){a=0;for(f=this.b.K.length;a<f;a++)r=this.b.K[a],!r.O&&(r.k.length&&r.Yh)&&r.Yh(this.b.Ca)}a=0;for(f=b.length;a<f;a++)p=b[a],this.b.trigger(Object.getPrototypeOf(p.type.ja).m.Og,p);b.length=0;this.b.trigger(S.prototype.m.Fi,l);this.eh=m};d.prototype.Ur=function(){var a,b,c,d,e;b=a=0;for(c=this.tf.length;a<c;a++)d=this.tf[a],e=this.b.K[d[1]],
e.global?this.b.Ce(d,l,g):(this.tf[b]=d,b++);this.tf.length=b};d.prototype.tu=function(){this.b.trigger(S.prototype.m.Ei,l);this.b.Dd.kc.length=0;var a,b,c,d,e,p;a=0;for(b=this.pa.length;a<b;a++){e=this.pa[a].k;c=0;for(d=e.length;c<d;c++)p=e[c],p.type.global||(this.b.zn(p.type)&&this.lu(p),this.b.ld(p));this.b.Cb();e.length=0;this.pa[a].xc=g}a=0;for(b=this.b.K.length;a<b;a++)if(e=this.b.K[a],!e.global&&!e.ja.Je&&!e.ja.pn&&!e.O){c=0;for(d=e.k.length;c<d;c++)this.b.ld(e.k[c]);this.b.Cb()}};d.prototype.Nb=
function(a){a.globalAlpha=1;a.globalCompositeOperation="source-over";this.b.oo&&!this.No()&&a.clearRect(0,0,this.b.width,this.b.height);var b,c,d;b=0;for(c=this.pa.length;b<c;b++)d=this.pa[b],d.visible&&(0<d.opacity&&11!==d.Zb)&&d.Nb(a)};d.prototype.Ab=function(a){var b=0<this.xa.length||this.b.Jg;if(b){this.b.Yc||(this.b.Yc=a.Rd(this.b.width,this.b.height,this.b.Ga));if(this.b.Yc.Ug!==this.b.width||this.b.Yc.Tg!==this.b.height)a.deleteTexture(this.b.Yc),this.b.Yc=a.Rd(this.b.width,this.b.height,
this.b.Ga);a.he(this.b.Yc)}this.b.oo&&!this.No()&&a.clear(0,0,0,0);var c,d;c=0;for(d=this.pa.length;c<d;c++)this.pa[c].visible&&0<this.pa[c].opacity&&this.pa[c].Ab(a);b&&(1>=this.xa.length?(1===this.xa.length?(b=this.xa[0].index,a.Cd(this.xa[0].Bb),a.Eg(l,1/this.b.width,1/this.b.height,0,0,1,1,this.scale,this.Ya[b]),a.gk(this.xa[0].Bb)&&(this.b.da=g)):a.Cd(0),a.he(l),a.ge(1),a.jc(this.b.Yc),a.Up(),a.zd(),a.Gd(),b=this.b.width/2,c=this.b.height/2,a.bi(-b,c,b,c,b,-c,-b,-c),a.jc(l)):this.Xm(a,l,l,l));
a.Yt()};d.prototype.kh=function(){return 0<this.xa.length||this.b.Jg?this.b.Yc:l};d.prototype.Io=function(){var a=this.pa[0].Ob(),b,c,d;b=1;for(c=this.pa.length;b<c;b++)d=this.pa[b],0===d.xd&&0===d.yd||d.Ob()<a&&(a=d.Ob());return a};d.prototype.Sp=function(a){if(!this.kq){var b=this.b.width*(1/this.Io())/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.da=g)};d.prototype.Tp=function(a){if(!this.kq){var b=this.b.height*(1/this.Io())/2;a>this.height-b&&(a=this.height-
b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.b.da=g)};d.prototype.Nr=function(){this.Sp(this.scrollX);this.Tp(this.scrollY)};d.prototype.Xm=function(a,b,c,d){var e=c?c.xa:b?b.xa:this.xa,p=c?c.u.Ob():b?b.Ob():1,r=this.b.Gl,s,q,y,w,t=0,u=1,B,M=this.b.width,K=this.b.height,F=M/2,J=K/2,A=b?b.Pe:this.Pe,x=b?b.Wm:this.Wm,v=0,E=0,D=0,O=0,R=M,Y=M,L=K,G=K,P=y=0,V=c?c.u.cc():0;if(c){s=0;for(q=e.length;s<q;s++)y+=a.Ys(e[s].Bb),P+=a.Zs(e[s].Bb);w=c.ca;v=b.Ea(w.left,w.top,g);D=b.Ea(w.left,w.top,m);R=b.Ea(w.right,
w.bottom,g);L=b.Ea(w.right,w.bottom,m);0!==V&&(s=b.Ea(w.right,w.top,g),q=b.Ea(w.right,w.top,m),E=b.Ea(w.left,w.bottom,g),O=b.Ea(w.left,w.bottom,m),w=Math.min(v,R,s,E),R=Math.max(v,R,s,E),v=w,w=Math.min(D,L,q,O),L=Math.max(D,L,q,O),D=w);v-=y;D-=P;R+=y;L+=P;x.left=v/M;x.top=1-D/K;x.right=R/M;x.bottom=1-L/K;E=v=Math.floor(v);O=D=Math.floor(D);Y=R=Math.ceil(R);G=L=Math.ceil(L);E-=y;O-=P;Y+=y;G+=P;0>v&&(v=0);0>D&&(D=0);R>M&&(R=M);L>K&&(L=K);0>E&&(E=0);0>O&&(O=0);Y>M&&(Y=M);G>K&&(G=K);A.left=v/M;A.top=
1-D/K;A.right=R/M;A.bottom=1-L/K}else A.left=x.left=0,A.top=x.top=0,A.right=x.right=1,A.bottom=x.bottom=1;P=c&&((c.q||V)&&a.Zh(e[0].Bb)||0!==y||0!==P||1!==c.opacity||c.type.ja.qp)||b&&!c&&1!==b.opacity;a.Up();if(P){r[t]||(r[t]=a.Rd(M,K,this.b.Ga));if(r[t].Ug!==M||r[t].Tg!==K)a.deleteTexture(r[t]),r[t]=a.Rd(M,K,this.b.Ga);a.Cd(0);a.he(r[t]);B=G-O;a.clearRect(E,K-O-B,Y-E,B);c?c.Ab(a):(a.jc(this.b.Ec),a.ge(b.opacity),a.zd(),a.translate(-F,-J),a.Gd(),a.bd(v,L,R,L,R,D,v,D,A));x.left=x.top=0;x.right=x.bottom=
1;c&&(w=A.top,A.top=A.bottom,A.bottom=w);t=1;u=0}a.ge(1);y=e.length-1;var V=a.Tm(e[y].Bb),Q=0;s=0;for(q=e.length;s<q;s++){r[t]||(r[t]=a.Rd(M,K,this.b.Ga));if(r[t].Ug!==M||r[t].Tg!==K)a.deleteTexture(r[t]),r[t]=a.Rd(M,K,this.b.Ga);a.Cd(e[s].Bb);Q=e[s].index;a.gk(e[s].Bb)&&(this.b.da=g);0==s&&!P?(a.he(r[t]),B=G-O,w=K-O-B,a.clearRect(E,w,Y-E,B),c?(a.Eg(d,1/c.width,1/c.height,x.left,x.top,x.right,x.bottom,p,c.Ya[Q]),c.Ab(a)):(a.Eg(d,1/M,1/K,0,0,1,1,p,b?b.Ya[Q]:this.Ya[Q]),a.jc(b?this.b.Ec:this.b.Yc),
a.zd(),a.translate(-F,-J),a.Gd(),a.bd(v,L,R,L,R,D,v,D,A)),x.left=x.top=0,x.right=x.bottom=1,c&&!V&&(w=L,L=D,D=w)):(a.Eg(d,1/M,1/K,x.left,x.top,x.right,x.bottom,p,c?c.Ya[Q]:b?b.Ya[Q]:this.Ya[Q]),s===y&&!V?(c?a.Re(c.Hb,c.Db):b&&a.Re(b.Hb,b.Db),a.he(d)):(a.he(r[t]),B=G-O,w=K-O-B,a.clearRect(E,w,Y-E,B)),a.jc(r[u]),a.zd(),a.translate(-F,-J),a.Gd(),a.bd(v,L,R,L,R,D,v,D,A),s===y&&!V&&a.jc(l));t=0===t?1:0;u=0===t?1:0}V&&(a.Cd(0),c?a.Re(c.Hb,c.Db):b&&a.Re(b.Hb,b.Db),a.he(d),a.jc(r[u]),a.zd(),a.translate(-F,
-J),a.Gd(),c&&1===e.length&&!P?a.bd(v,D,R,D,R,L,v,L,A):a.bd(v,L,R,L,R,D,v,D,A),a.jc(l))};d.prototype.nj=function(a){var b,c;b=0;for(c=this.pa.length;b<c;b++)if(this.pa[b].ka===a)return this.pa[b];return l};d.prototype.Na=function(){var a,b,c,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.q,w:this.width,h:this.height,fv:this.eh,persist:this.Oe,fx:[],layers:{}};a=0;for(b=this.ba.length;a<b;a++)c=this.ba[a],d.fx.push({name:c.name,active:c.gb,params:this.Ya[c.index]});a=0;for(b=this.pa.length;a<
b;a++)c=this.pa[a],d.layers[c.ka.toString()]=c.Na();return d};d.prototype.Za=function(a){var b,c,d,e;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.q=a.a;this.width=a.w;this.height=a.h;this.Oe=a.persist;"undefined"!==typeof a.fv&&(this.eh=a.fv);var p=a.fx;b=0;for(c=p.length;b<c;b++)if(d=this.Kl(p[b].name))d.gb=p[b].active,this.Ya[d.index]=p[b].params;this.le();b=a.layers;for(e in b)b.hasOwnProperty(e)&&(a=this.nj(parseInt(e,10)))&&a.Za(b[e])};Ya=d;e.prototype.le=function(){this.xa.length=
0;var a,b,c;a=0;for(b=this.ba.length;a<b;a++)c=this.ba[a],c.gb&&this.xa.push(c)};e.prototype.Kl=function(a){var b,c,d;b=0;for(c=this.ba.length;b<c;b++)if(d=this.ba[b],d.name===a)return d;return l};e.prototype.Vr=function(){var a,c,d,k,e,p;c=a=0;for(d=this.gg.length;a<d;a++){k=this.gg[a];e=this.b.K[k[1]];p=this.b.zn(e);e=g;if(!p||this.za.eh)k=this.b.Ce(k,this,g),b.push(k),k.type.global&&(e=m);e&&(this.gg[c]=this.gg[a],c++)}this.gg.length=c;this.b.Cb();!this.b.I&&this.ba.length&&(this.Zb=this.ks);this.Zg=
Ta(this.Zb);this.b.T&&Ua(this,this.Zb,this.b.T)};e.prototype.Bu=function(){if(this.xc){var a,b;a=0;for(b=this.k.length;a<b;a++)this.k[a].Qf=a;this.xc=m}};e.prototype.Ob=function(){return this.Ws()*this.b.Ni};e.prototype.Ws=function(){return(this.scale*this.za.scale-1)*this.jd+1};e.prototype.cc=function(){return this.kf?0:ua(this.za.q+this.q)};e.prototype.Nb=function(a){this.Qe=this.Fl||1!==this.opacity||0!==this.Zb;var b=this.b.canvas,c=a;a.globalAlpha=1;a.globalCompositeOperation="source-over";this.Qe&&
(this.b.Jj||(this.b.Jj=document.createElement("canvas"),b=this.b.Jj,b.width=this.b.width,b.height=this.b.height,this.b.hp=b.getContext("2d")),b=this.b.Jj,c=this.b.hp,b.width!==this.b.width&&(b.width=this.b.width),b.height!==this.b.height&&(b.height=this.b.height),this.Of&&c.clearRect(0,0,this.b.width,this.b.height));this.Of||(c.fillStyle="rgb("+this.ye[0]+","+this.ye[1]+","+this.ye[2]+")",c.fillRect(0,0,this.b.width,this.b.height));c.save();this.kf=g;var d=this.lb(0,0,g),e=this.lb(0,0,m);this.kf=
m;this.b.vc&&(d=d+0.5|0,e=e+0.5|0);this.Zm(d,e,c);var p=this.Ob();c.scale(p,p);c.translate(-d,-e);for(var r,d=0,e=this.k.length;d<e;d++)if(p=this.k[d],p.visible&&!(0===p.width||0===p.height))p.sb(),r=p.ca,r.right<this.Jb||(r.bottom<this.Lb||r.left>this.Kb||r.top>this.Ib)||(c.globalCompositeOperation=p.Zg,p.Nb(c));c.restore();this.Qe&&(a.globalCompositeOperation=this.Zg,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};e.prototype.Zm=function(a,b,c){var d=this.Ob();this.Jb=a;this.Lb=b;this.Kb=a+this.b.width*
(1/d);this.Ib=b+this.b.height*(1/d);a=this.cc();0!==a&&(c&&(c.translate(this.b.width/2,this.b.height/2),c.rotate(-a),c.translate(this.b.width/-2,this.b.height/-2)),this.ke.set(this.Jb,this.Lb,this.Kb,this.Ib),this.ke.offset((this.Jb+this.Kb)/-2,(this.Lb+this.Ib)/-2),this.fq.Xp(this.ke,a),this.fq.jo(this.ke),this.ke.offset((this.Jb+this.Kb)/2,(this.Lb+this.Ib)/2),this.Jb=this.ke.left,this.Lb=this.ke.top,this.Kb=this.ke.right,this.Ib=this.ke.bottom)};e.prototype.Ab=function(a){var b=this.b.width,c=
this.b.height,d=0,e=0;if(this.Qe=this.Fl||1!==this.opacity||0<this.xa.length||0!==this.Zb){this.b.Ec||(this.b.Ec=a.Rd(this.b.width,this.b.height,this.b.Ga));if(this.b.Ec.Ug!==this.b.width||this.b.Ec.Tg!==this.b.height)a.deleteTexture(this.b.Ec),this.b.Ec=a.Rd(this.b.width,this.b.height,this.b.Ga);a.he(this.b.Ec);this.Of&&a.clear(0,0,0,0)}this.Of||a.clear(this.ye[0]/255,this.ye[1]/255,this.ye[2]/255,1);this.kf=g;var e=this.lb(0,0,g),p=this.lb(0,0,m);this.kf=m;this.b.vc&&(e=e+0.5|0,p=p+0.5|0);this.Zm(e,
p,l);p=this.Ob();a.zd();a.scale(p,p);a.$m(-this.cc());a.translate((this.Jb+this.Kb)/-2,(this.Lb+this.Ib)/-2);a.Gd();var r,s,q;r=0;for(s=this.k.length;r<s;r++)if(q=this.k[r],q.visible&&!(0===q.width||0===q.height))if(q.sb(),d=q.ca,!(d.right<this.Jb||d.bottom<this.Lb||d.left>this.Kb||d.top>this.Ib))if(q.oq)if(d=q.xa[0].Bb,e=q.xa[0].index,1===q.xa.length&&!a.Tm(d)&&!a.Zt(d)&&(!q.q&&!q.u.cc()||!a.Zh(d))&&1===q.opacity&&!q.type.ja.qp){a.Cd(d);a.Re(q.Hb,q.Db);a.gk(d)&&(this.b.da=g);var y=0,w=0,t=0,u=0;
a.Zh(d)&&(d=q.ca,y=this.Ea(d.left,d.top,g),w=this.Ea(d.left,d.top,m),t=this.Ea(d.right,d.bottom,g),d=this.Ea(d.right,d.bottom,m),y/=b,w=1-w/c,t/=b,u=1-d/c);a.Eg(this.Qe?this.b.Ec:this.za.kh(),1/q.width,1/q.height,y,w,t,u,this.Ob(),q.Ya[e]);q.Ab(a)}else this.za.Xm(a,this,q,this.Qe?this.b.Ec:this.za.kh()),a.zd(),a.scale(p,p),a.$m(-this.cc()),a.translate((this.Jb+this.Kb)/-2,(this.Lb+this.Ib)/-2),a.Gd();else a.Cd(0),a.Re(q.Hb,q.Db),q.Ab(a);this.Qe&&(d=this.xa.length?this.xa[0].Bb:0,e=this.xa.length?
this.xa[0].index:0,0===this.xa.length||1===this.xa.length&&!a.Tm(d)&&1===this.opacity?(1===this.xa.length?(a.Cd(d),a.Eg(this.za.kh(),1/this.b.width,1/this.b.height,0,0,1,1,this.Ob(),this.Ya[e]),a.gk(d)&&(this.b.da=g)):a.Cd(0),a.he(this.za.kh()),a.ge(this.opacity),a.jc(this.b.Ec),a.Re(this.Hb,this.Db),a.zd(),a.Gd(),b=this.b.width/2,c=this.b.height/2,a.bi(-b,c,b,c,b,-c,-b,-c),a.jc(l)):this.za.Xm(a,this,l,this.za.kh()))};e.prototype.lb=function(a,b,c){var d=this.b.devicePixelRatio;this.b.wh&&0<this.b.yc&&
(a*=d,b*=d);var d=this.b.tc/2,e=this.b.rc/2,d=(this.za.scrollX-d)*this.xd+d,e=(this.za.scrollY-e)*this.yd+e,p=1/this.Ob(),d=d-this.b.width*p/2,e=e-this.b.height*p/2,d=d+a*p,e=e+b*p;b=this.cc();0!==b&&(d-=this.za.scrollX,e-=this.za.scrollY,a=Math.cos(b),b=Math.sin(b),p=d*a-e*b,e=e*a+d*b,d=p+this.za.scrollX,e+=this.za.scrollY);return c?d:e};e.prototype.Ea=function(a,b,c){var d=this.cc();if(0!==d){a-=this.za.scrollX;b-=this.za.scrollY;var e=Math.cos(-d),d=Math.sin(-d),p=a*e-b*d;b=b*e+a*d;a=p+this.za.scrollX;
b+=this.za.scrollY}e=this.b.tc/2;d=this.b.rc/2;e=(this.za.scrollX-e)*this.xd+e;d=(this.za.scrollY-d)*this.yd+d;p=1/this.Ob();e-=this.b.width*p/2;d-=this.b.height*p/2;e=(a-e)/p;d=(b-d)/p;a=this.b.devicePixelRatio;this.b.wh&&0<this.b.yc&&(e/=a,d/=a);return c?e:d};e.prototype.Na=function(){var a,b,c,d={s:this.scale,a:this.q,vl:this.Jb,vt:this.Lb,vr:this.Kb,vb:this.Ib,v:this.visible,bc:this.ye,t:this.Of,px:this.xd,py:this.yd,o:this.opacity,zr:this.jd,fx:[],instances:[]};a=0;for(b=this.ba.length;a<b;a++)c=
this.ba[a],d.fx.push({name:c.name,active:c.gb,params:this.Ya[c.index]});return d};e.prototype.Za=function(a){var b,d;this.scale=a.s;this.q=a.a;this.Jb=a.vl;this.Lb=a.vt;this.Kb=a.vr;this.Ib=a.vb;this.visible=a.v;this.ye=a.bc;this.Of=a.t;this.xd=a.px;this.yd=a.py;this.opacity=a.o;this.jd=a.zr;var e=a.fx;a=0;for(b=e.length;a<b;a++)if(d=this.Kl(e[a].name))d.gb=e[a].active,this.Ya[d.index]=e[a].params;this.le();this.k.sort(c);this.xc=g};eb=e})();
(function(){function d(a,b){var c,d=a.length;switch(d){case 0:return g;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<d;c++)if(a[c]!==b[c])return m;return g}}function e(a,b){return a.index-b.index}function c(a){var b,c,f,k;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(e);a.length>=y.length&&(y.length=a.length+1);y[a.length]||(y[a.length]=[]);k=y[a.length];b=0;for(c=k.length;b<c;b++)if(f=k[b],d(a,f))return f;k.push(a);return a}
function b(a,b){this.b=a;this.hq={};this.yo={};this.Rl=m;this.Qo=new La;this.name=b[0];var c=b[1];this.Ee=[];var d,f;d=0;for(f=c.length;d<f;d++)this.So(c[d],l,this.Ee)}function a(a){this.type=a;this.k=[];this.Ja=[];this.wa=g}function h(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ha=[];this.Se=[];this.Oo=this.zk=this.wn=this.xj=this.group=this.aq=m;this.Wa=[];this.Hc=[];this.Uc=[];c[1]?(this.eg=c[1][1].toLowerCase(),this.group=g,this.xj=!!c[1][0],this.b.ue.push(this),this.b.Rg[this.eg.toLowerCase()]=
this.xj):(this.eg="",this.xj=this.group=m);this.$c=c[2];this.ka=c[3];this.group||(this.b.ho[this.ka.toString()]=this);var d=c[4];a=0;for(b=d.length;a<b;a++){var f=new fb(this,d[a]);this.Wa.push(f);this.ao(f.type)}d=c[5];a=0;for(b=d.length;a<b;a++)f=new gb(this,d[a]),this.Hc.push(f);if(7===c.length){c=c[6];a=0;for(b=c.length;a<b;a++)this.sheet.So(c[a],this,this.Uc)}this.Bj=m;this.Wa.length&&(this.Bj=this.Wa[0].type==l&&this.Wa[0].ib==S.prototype.m.rq)}function f(a,b){var c,d,f;if(a&&(-1===b.indexOf(a)&&
b.push(a),a.gc)){c=0;for(d=a.$b.length;c<d;c++)f=a.$b[c],a!==f&&-1===b.indexOf(f)&&b.push(f)}}function k(a,b){this.Ic=a;this.sheet=a.sheet;this.b=a.b;this.U=[];this.ea=[];this.X={};this.ib=b[1];this.trigger=0<b[3];this.xo=2===b[3];this.$d=b[4];this.sh=b[5];this.Ht=b[6];this.ka=b[7];this.b.Yf[this.ka.toString()]=this;-1===b[0]?(this.type=l,this.kb=this.bn,this.gf=l,this.zb=-1):(this.type=this.b.K[b[0]],this.kb=this.Ht?this.ju:this.an,b[2]?(this.gf=this.type.mj(b[2]),this.zb=this.type.Il(b[2])):(this.gf=
l,this.zb=-1),this.Ic.parent&&this.Ic.parent.qk());this.xo&&(this.kb=this.ku);if(9===b.length){var c,d,f=b[8];c=0;for(d=f.length;c<d;c++){var e=new hb(this,f[c]);this.U.push(e)}this.ea.length=f.length}}function n(a,b){this.Ic=a;this.sheet=a.sheet;this.b=a.b;this.U=[];this.ea=[];this.X={};this.ib=b[1];-1===b[0]?(this.type=l,this.kb=this.bn,this.gf=l,this.zb=-1):(this.type=this.b.K[b[0]],this.kb=this.an,b[2]?(this.gf=this.type.mj(b[2]),this.zb=this.type.Il(b[2])):(this.gf=l,this.zb=-1));this.ka=b[3];
this.b.Wf[this.ka.toString()]=this;if(5===b.length){var c,d,f=b[4];c=0;for(d=f.length;c<d;c++){var e=new hb(this,f[c]);this.U.push(e)}this.ea.length=f.length}}function p(a,b){this.J=a;this.Ic=a.Ic;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.sd=l;this.po=this.Te=0;this.za=l;this.key=0;this.object=l;this.index=0;this.Gk=this.Hg=this.zo=this.of=this.si=l;var c,d,f;switch(b[0]){case 0:case 7:this.sd=new kb(this,b[1]);this.Te=0;this.get=this.et;break;case 1:this.sd=new kb(this,b[1]);this.Te=0;this.get=
this.gt;break;case 5:this.sd=new kb(this,b[1]);this.Te=0;this.get=this.kt;break;case 3:case 8:this.po=b[1];this.get=this.ct;break;case 6:this.za=this.b.nm[b[1]];this.get=this.lt;break;case 9:this.key=b[1];this.get=this.jt;break;case 4:this.object=this.b.K[b[1]];this.get=this.mt;this.Ic.ao(this.object);this.J instanceof gb?this.Ic.qk():this.Ic.parent&&this.Ic.parent.qk();break;case 10:this.index=b[1];this.get=a.type.O?this.ht:this.it;break;case 11:this.si=b[1];this.of=l;this.get=this.dt;break;case 2:case 12:this.zo=
b[1];this.get=this.bt;break;case 13:this.get=this.nt;this.Hg=[];this.Gk=[];c=1;for(d=b.length;c<d;c++)f=new hb(this.J,b[c]),this.Hg.push(f),this.Gk.push(0)}}function r(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ha=[];this.name=c[1];this.Hk=c[2];this.wj=c[3];this.Ah=!!c[4];this.Aj=!!c[5];this.ka=c[6];this.b.Kg[this.ka.toString()]=this;this.data=this.wj;this.parent?this.Bf=this.Ah||this.Aj?-1:this.b.su++:(this.Bf=-1,this.b.al.push(this))}function s(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;
this.Ha=[];this.qh=l;this.tt=c[1]}function q(){this.bq=[];this.reset(l)}var y=[];b.prototype.toString=C("name");b.prototype.So=function(a,b,c){switch(a[0]){case 0:a=new lb(this,b,a);if(a.$c){c.push(a);c=0;for(b=a.Wa.length;c<b;c++)a.Wa[c].trigger&&this.To(a,c)}else a.Zo()?this.To(a,0):c.push(a);break;case 1:a=new bb(this,b,a);c.push(a);break;case 2:a=new mb(this,b,a),c.push(a)}};b.prototype.fb=function(){var a,b;a=0;for(b=this.Ee.length;a<b;a++)this.Ee[a].fb(a<b-1&&this.Ee[a+1].Bj)};b.prototype.kb=
function(){this.Rl=g;this.b.cm=g;var a,b;a=0;for(b=this.Ee.length;a<b;a++){var c=this.Ee[a];c.kb();this.b.ll(c.Ha);(!this.b.qd.uh()||this.b.pd.length)&&this.b.Cb()}this.b.cm=m};b.prototype.To=function(a,b){a.$c||this.b.Ck.push(a);var c,d,f=a.Wa[b],e;e=f.type?f.type.name:"system";var k=(c=f.xo)?this.yo:this.hq;k[e]||(k[e]=[]);e=k[e];k=f.ib;if(c){if(f.U.length&&(f=f.U[0],!(1!==f.type||2!==f.sd.type))){f=f.sd.value.toLowerCase();c=0;for(d=e.length;c<d;c++)if(e[c].method==k){c=e[c].cj;c[f]?c[f].push([a,
b]):c[f]=[[a,b]];return}c={};c[f]=[[a,b]];e.push({method:k,cj:c})}}else{c=0;for(d=e.length;c<d;c++)if(e[c].method==k){e[c].cj.push([a,b]);return}e.push({method:k,cj:[[a,b]]})}};$a=b;a.prototype.Ql=function(){return this.wa?this.type.k.length:this.k.length};a.prototype.Ac=function(){return this.wa?this.type.k:this.k};a.prototype.Xh=function(a){a&&(a.b.Fb().ac.$c?(this.wa&&(this.k.length=0,qa(this.Ja,a.type.k),this.wa=m),a=this.Ja.indexOf(a),-1!==a&&(this.k.push(this.Ja[a]),this.Ja.splice(a,1))):(this.wa=
m,this.k.length=1,this.k[0]=a))};Xa=a;h.prototype.fb=function(a){var b,d=this.parent;if(this.group)for(this.zk=g;d;){if(!d.group){this.zk=m;break}d=d.parent}this.wn=!this.Zo()&&(!this.parent||this.parent.group&&this.parent.zk);this.Oo=!!a;this.Se=this.Ha.slice(0);for(d=this.parent;d;){a=0;for(b=d.Ha.length;a<b;a++)this.Hr(d.Ha[a]);d=d.parent}this.Ha=c(this.Ha);this.Se=c(this.Se);a=0;for(b=this.Wa.length;a<b;a++)this.Wa[a].fb();a=0;for(b=this.Hc.length;a<b;a++)this.Hc[a].fb();a=0;for(b=this.Uc.length;a<
b;a++)this.Uc[a].fb(a<b-1&&this.Uc[a+1].Bj)};h.prototype.ao=function(a){f(a,this.Ha)};h.prototype.Hr=function(a){f(a,this.Se)};h.prototype.qk=function(){this.aq=g;this.parent&&this.parent.qk()};h.prototype.Zo=function(){return this.Wa.length?this.Wa[0].trigger:m};h.prototype.kb=function(){var a,b=m,c=this.b.Fb();c.ac=this;this.Bj||(c.Cl=m);if(this.$c){0===this.Wa.length&&(b=g);c.mb=0;for(a=this.Wa.length;c.mb<a;c.mb++)this.Wa[c.mb].trigger||this.Wa[c.mb].kb()&&(b=g);(c.ng=b)&&this.nk()}else{c.mb=
0;for(a=this.Wa.length;c.mb<a;c.mb++)if(!this.Wa[c.mb].kb()){c.ng=m;this.wn&&(!this.b.qd.uh()||this.b.pd.length)&&this.b.Cb();return}c.ng=g;this.nk()}c.ng&&this.Oo&&(c.Cl=g);this.wn&&(!this.b.qd.uh()||this.b.pd.length)&&this.b.Cb()};h.prototype.hu=function(a){this.b.Fb().ac=this;this.Wa[a].kb()&&this.nk()};h.prototype.nk=function(){var a=this.b.Fb(),b;a.Yb=0;for(b=this.Hc.length;a.Yb<b;a.Yb++)if(this.Hc[a.Yb].kb())return;this.Qp()};h.prototype.du=function(){var a=this.b.Fb(),b;for(b=this.Hc.length;a.Yb<
b;a.Yb++)if(this.Hc[a.Yb].kb())return;this.Qp()};h.prototype.Qp=function(){if(this.Uc.length){var a,b,c,d,f=this.Uc.length-1;this.b.ik(this);if(this.aq){a=0;for(b=this.Uc.length;a<b;a++)c=this.Uc[a],(d=!this.zk||!this.group&&a<f)&&this.b.hk(c.Ha),c.kb(),d?this.b.Hf(c.Ha):this.b.ll(c.Ha)}else{a=0;for(b=this.Uc.length;a<b;a++)this.Uc[a].kb()}this.b.dk()}};h.prototype.iu=function(){var a=this.b.Fb();a.ac=this;var b=m,c;a.mb=0;for(c=this.Wa.length;a.mb<c;a.mb++)if(this.Wa[a.mb].kb())b=g;else if(!this.$c)return m;
return this.$c?b:g};h.prototype.eu=function(){this.b.pf++;var a=this.b.Fb().mb,b=this.b.ik(this);if(!this.$c){b.mb=a+1;for(a=this.Wa.length;b.mb<a;b.mb++)if(!this.Wa[b.mb].kb()){this.b.dk();return}}this.nk();this.b.dk()};lb=h;k.prototype.fb=function(){var a,b;a=0;for(b=this.U.length;a<b;a++)this.U[a].fb()};k.prototype.ku=H(g);k.prototype.bn=function(){var a,b;a=0;for(b=this.U.length;a<b;a++)this.ea[a]=this.U[a].get();return Fa(this.ib.apply(this.b.Dd,this.ea),this.sh)};k.prototype.ju=function(){var a,
b;a=0;for(b=this.U.length;a<b;a++)this.ea[a]=this.U[a].get(a);a=this.ib.apply(this.gf?this.gf:this.type,this.ea);this.type.we();return a};k.prototype.an=function(){var a,b,c,d,f,e,k,h=this.type.la(),y=this.Ic.$c&&!this.trigger,t=0,n=this.type.gc;if(h.wa){h.k.length=0;a=h.Ja.length=0;for(c=this.type.k.length;a<c;a++){e=this.type.k[a];b=0;for(d=this.U.length;b<d;b++)this.ea[b]=this.U[b].get(a);-1<this.zb?(this.type.O&&(t=e.type.cg[this.type.td]),b=this.ib.apply(e.fa[this.zb+t],this.ea)):b=this.ib.apply(e,
this.ea);(f=Fa(b,this.sh))?h.k.push(e):y&&h.Ja.push(e)}this.type.finish&&this.type.finish(g);h.wa=m;this.type.we();return h.Ql()}var r=0,w=y?h.Ja:h.k;f=m;a=0;for(c=w.length;a<c;a++){e=w[a];b=0;for(d=this.U.length;b<d;b++)this.ea[b]=this.U[b].get(a);-1<this.zb?(this.type.O&&(t=e.type.cg[this.type.td]),b=this.ib.apply(e.fa[this.zb+t],this.ea)):b=this.ib.apply(e,this.ea);if(Fa(b,this.sh))if(f=g,y){if(h.k.push(e),n){b=0;for(d=e.siblings.length;b<d;b++)k=e.siblings[b],k.type.la().k.push(k)}}else{w[r]=
e;if(n){b=0;for(d=e.siblings.length;b<d;b++)k=e.siblings[b],k.type.la().k[r]=k}r++}else if(y){w[r]=e;if(n){b=0;for(d=e.siblings.length;b<d;b++)k=e.siblings[b],k.type.la().Ja[r]=k}r++}}w.length=r;if(n){a=0;for(c=this.type.$b.length;a<c;a++)e=this.type.$b[a].la(),y?e.Ja.length=r:e.k.length=r}t=f;if(y&&!f){a=0;for(c=h.k.length;a<c;a++){e=h.k[a];b=0;for(d=this.U.length;b<d;b++)this.ea[b]=this.U[b].get(a);b=-1<this.zb?this.ib.apply(e.fa[this.zb],this.ea):this.ib.apply(e,this.ea);if(Fa(b,this.sh)){f=g;
break}}}this.type.finish&&this.type.finish(t||y);return y?f:h.Ql()};fb=k;n.prototype.fb=function(){var a,b;a=0;for(b=this.U.length;a<b;a++)this.U[a].fb()};n.prototype.bn=function(){var a,b;a=0;for(b=this.U.length;a<b;a++)this.ea[a]=this.U[a].get();return this.ib.apply(this.b.Dd,this.ea)};n.prototype.an=function(){var a=this.type.la().Ac(),b,c,d,f,e;b=0;for(d=a.length;b<d;b++){e=a[b];c=0;for(f=this.U.length;c<f;c++)this.ea[c]=this.U[c].get(b);-1<this.zb?(c=0,this.type.O&&(c=e.type.cg[this.type.td]),
this.ib.apply(e.fa[this.zb+c],this.ea)):this.ib.apply(e,this.ea)}return m};gb=n;var w=[],t=-1;p.prototype.fb=function(){var a,b;if(11===this.type)this.of=this.b.Go(this.si,this.Ic.parent);else if(13===this.type){a=0;for(b=this.Hg.length;a<b;a++)this.Hg[a].fb()}this.sd&&this.sd.fb()};p.prototype.pb=function(){t++;w.length===t&&w.push(new nb);return w[t]};p.prototype.jb=function(){t--};p.prototype.et=function(a){this.Te=a||0;a=this.pb();this.sd.get(a);this.jb();return a.data};p.prototype.gt=function(a){this.Te=
a||0;a=this.pb();this.sd.get(a);this.jb();return ea(a.data)?a.data:""};p.prototype.mt=C("object");p.prototype.ct=C("po");p.prototype.kt=function(a){this.Te=a||0;a=this.pb();this.sd.get(a);this.jb();return a.wb()?this.b.ih(a.data):this.b.Ml(a.data)};p.prototype.lt=C("za");p.prototype.jt=C("key");p.prototype.it=C("index");p.prototype.ht=function(a){var b=this.J.type,c=l,c=b.la(),d=c.Ac(),c=d.length?d[a%d.length].type:c.Ja[a%c.Ja.length].type;return this.index+c.gj[b.td]};p.prototype.dt=C("of");p.prototype.bt=
C("zo");p.prototype.nt=function(){var a,b;a=0;for(b=this.Hg.length;a<b;a++)this.Gk[a]=this.Hg[a].get();return this.Gk};hb=p;r.prototype.fb=function(){this.Ha=c(this.Ha)};r.prototype.Jf=function(a){var b=this.b.Fo();!this.parent||this.Ah||!b?this.data=a:(this.Bf>=b.length&&(b.length=this.Bf+1),b[this.Bf]=a)};r.prototype.mh=function(){var a=this.b.Fo();return!this.parent||this.Ah||!a||this.Aj?this.data:this.Bf>=a.length||"undefined"===typeof a[this.Bf]?this.wj:a[this.Bf]};r.prototype.kb=function(){this.parent&&
(!this.Ah&&!this.Aj)&&this.Jf(this.wj)};bb=r;s.prototype.toString=function(){return"include:"+this.qh.toString()};s.prototype.fb=function(){this.qh=this.b.El[this.tt];this.sheet.Qo.add(this);this.Ha=c(this.Ha)};s.prototype.kb=function(){this.parent&&this.b.ai(this.b.K);this.qh.Rl||this.qh.kb();this.parent&&this.b.Hf(this.b.K)};s.prototype.zt=function(){for(var a=this.parent;a;){if(a.group&&!this.b.Rg[a.eg.toLowerCase()])return m;a=a.parent}return g};mb=s;q.prototype.reset=function(a){this.ac=a;this.Yb=
this.mb=0;this.bq.length=0;this.Cl=this.ng=m};ab=q})();
(function(){function d(c,b){this.J=c;this.b=c.b;this.type=b[0];this.get=[this.xs,this.ts,this.Fs,this.Is,this.ms,this.Gs,this.Bs,this.qs,this.As,this.Es,this.ns,this.Ds,this.rs,this.Cs,this.ys,this.zs,this.us,this.vs,this.os,this.Hs,this.vo,this.ws,this.vo,this.ss][this.type];var a=l;this.qc=this.U=this.ea=this.ib=this.yk=this.yb=this.first=this.value=l;this.zb=-1;this.Wd=l;this.Bn=-1;this.of=this.si=this.Kr=l;this.ei=m;switch(this.type){case 0:case 1:case 2:this.value=b[1];break;case 3:this.first=
new kb(c,b[1]);break;case 18:this.first=new kb(c,b[1]);this.yb=new kb(c,b[2]);this.yk=new kb(c,b[3]);break;case 19:this.ib=b[1];this.ea=[];this.U=[];3===b.length?(a=b[2],this.ea.length=a.length+1):this.ea.length=1;break;case 20:this.qc=this.b.K[b[1]];this.zb=-1;this.ib=b[2];this.ei=b[3];this.Wd=b[4]?new kb(c,b[4]):l;this.ea=[];this.U=[];6===b.length?(a=b[5],this.ea.length=a.length+1):this.ea.length=1;break;case 21:this.qc=this.b.K[b[1]];this.ei=b[2];this.Wd=b[3]?new kb(c,b[3]):l;this.Bn=b[4];break;
case 22:this.qc=this.b.K[b[1]];this.Kr=this.qc.mj(b[2]);this.zb=this.qc.Il(b[2]);this.ib=b[3];this.ei=b[4];this.Wd=b[5]?new kb(c,b[5]):l;this.ea=[];this.U=[];7===b.length?(a=b[6],this.ea.length=a.length+1):this.ea.length=1;break;case 23:this.si=b[1],this.of=l}4<=this.type&&17>=this.type&&(this.first=new kb(c,b[1]),this.yb=new kb(c,b[2]));if(a){var d,f;d=0;for(f=a.length;d<f;d++)this.U.push(new kb(c,a[d]))}}function e(c,b){this.type=c||ob.Ng;this.data=b||0;this.wg=l;this.type==ob.Ng&&(this.data=Math.floor(this.data))}
d.prototype.fb=function(){23===this.type&&(this.of=this.J.b.Go(this.si,this.J.Ic.parent));this.first&&this.first.fb();this.yb&&this.yb.fb();this.yk&&this.yk.fb();this.Wd&&this.Wd.fb();if(this.U){var c,b;c=0;for(b=this.U.length;c<b;c++)this.U[c].fb()}};d.prototype.Hs=function(c){this.ea[0]=c;c=this.J.pb();var b,a;b=0;for(a=this.U.length;b<a;b++)this.U[b].get(c),this.ea[b+1]=c.data;this.J.jb();this.ib.apply(this.b.Dd,this.ea)};d.prototype.vo=function(c){var b=this.qc.la(),a=b.Ac();if(!a.length)if(b.Ja.length)a=
b.Ja;else{this.ei?c.G(""):c.Fa(0);return}this.ea[0]=c;c.wg=this.qc;c=this.J.pb();var d,b=0;for(d=this.U.length;b<d;b++)this.U[b].get(c),this.ea[b+1]=c.data;b=this.J.Te;this.Wd&&(this.Wd.get(c),c.wb()&&(b=c.data,a=this.qc.k));this.J.jb();b%=a.length;0>b&&(b+=a.length);a=a[b];-1<this.zb?(c=0,this.qc.O&&(c=a.type.cg[this.qc.td]),this.ib.apply(a.fa[this.zb+c],this.ea)):this.ib.apply(a,this.ea)};d.prototype.ws=function(c){var b=this.qc.la(),a=b.Ac();if(!a.length)if(b.Ja.length)a=b.Ja;else{this.ei?c.G(""):
c.Fa(0);return}b=this.J.Te;if(this.Wd){var d=this.J.pb();this.Wd.get(d);if(d.wb()){b=d.data;a=this.qc.k;b%=a.length;0>b&&(b+=a.length);a=a[b].ub[this.Bn];ea(a)?c.G(a):c.$(a);this.J.jb();return}this.J.jb()}b%=a.length;0>b&&(b+=a.length);a=a[b];b=0;this.qc.O&&(b=a.type.gj[this.qc.td]);a=a.ub[this.Bn+b];ea(a)?c.G(a):c.$(a)};d.prototype.xs=function(c){c.type=ob.Ng;c.data=this.value};d.prototype.ts=function(c){c.type=ob.Mg;c.data=this.value};d.prototype.Fs=function(c){c.type=ob.Wk;c.data=this.value};d.prototype.Is=
function(c){this.first.get(c);c.wb()&&(c.data=-c.data)};d.prototype.ms=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data+=b.data,b.kg()&&c.vg());this.J.jb()};d.prototype.Gs=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data-=b.data,b.kg()&&c.vg());this.J.jb()};d.prototype.Bs=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data*=b.data,b.kg()&&c.vg());this.J.jb()};d.prototype.qs=function(c){this.first.get(c);
var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data/=b.data,c.vg());this.J.jb()};d.prototype.As=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data%=b.data,b.kg()&&c.vg());this.J.jb()};d.prototype.Es=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data=Math.pow(c.data,b.data),b.kg()&&c.vg());this.J.jb()};d.prototype.ns=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()?b.Cj()?c.G(c.data.toString()+b.data):
c.data&&b.data?c.Fa(1):c.Fa(0):c.Cj()&&(c.data=b.Cj()?c.data+b.data:c.data+(Math.round(1E10*b.data)/1E10).toString());this.J.jb()};d.prototype.Ds=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.wb()&&b.wb()&&(c.data||b.data?c.Fa(1):c.Fa(0));this.J.jb()};d.prototype.os=function(c){this.first.get(c);c.data?this.yb.get(c):this.yk.get(c)};d.prototype.rs=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.Fa(c.data===b.data?1:0);this.J.jb()};d.prototype.Cs=function(c){this.first.get(c);
var b=this.J.pb();this.yb.get(b);c.Fa(c.data!==b.data?1:0);this.J.jb()};d.prototype.ys=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.Fa(c.data<b.data?1:0);this.J.jb()};d.prototype.zs=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.Fa(c.data<=b.data?1:0);this.J.jb()};d.prototype.us=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.Fa(c.data>b.data?1:0);this.J.jb()};d.prototype.vs=function(c){this.first.get(c);var b=this.J.pb();this.yb.get(b);c.Fa(c.data>=
b.data?1:0);this.J.jb()};d.prototype.ss=function(c){var b=this.of.mh();da(b)?c.$(b):c.G(b)};kb=d;e.prototype.kg=function(){return this.type===ob.Mg};e.prototype.wb=function(){return this.type===ob.Ng||this.type===ob.Mg};e.prototype.Cj=function(){return this.type===ob.Wk};e.prototype.vg=function(){this.kg()||(this.Cj()&&(this.data=parseFloat(this.data)),this.type=ob.Mg)};e.prototype.Fa=function(c){this.type=ob.Ng;this.data=Math.floor(c)};e.prototype.$=function(c){this.type=ob.Mg;this.data=c};e.prototype.G=
function(c){this.type=ob.Wk;this.data=c};nb=e;ob={Ng:0,Mg:1,Wk:2}})();function S(d){this.b=d;this.kc=[]}
S.prototype.Na=function(){var d={},e,c,b,a,h,f,k,n;d.waits=[];var p=d.waits,r;e=0;for(c=this.kc.length;e<c;e++){f=this.kc[e];r={t:f.time,ev:f.ag.ka,sm:[],sols:{}};f.ag.Hc[f.Yb]&&(r.act=f.ag.Hc[f.Yb].ka);b=0;for(a=f.Ha.length;b<a;b++)r.sm.push(f.Ha[b].ka);for(h in f.Vb)if(f.Vb.hasOwnProperty(h)){k=this.b.K[parseInt(h,10)];n={sa:f.Vb[h].ok,insts:[]};b=0;for(a=f.Vb[h].Xd.length;b<a;b++)n.insts.push(f.Vb[h].Xd[b].uid);r.sols[k.ka.toString()]=n}p.push(r)}return d};
S.prototype.Za=function(d){d=d.waits;var e,c,b,a,h,f,k,n,p,r,s;e=this.kc.length=0;for(c=d.length;e<c;e++)if(f=d[e],n=this.b.ho[f.ev.toString()]){p=-1;b=0;for(a=n.Hc.length;b<a;b++)if(n.Hc[b].ka===f.act){p=b;break}if(-1!==p){k={Vb:{},Ha:[],xl:m};k.time=f.t;k.ag=n;k.Yb=p;b=0;for(a=f.sm.length;b<a;b++)(n=this.b.pj(f.sm[b]))&&k.Ha.push(n);for(h in f.sols)if(f.sols.hasOwnProperty(h)&&(n=this.b.pj(parseInt(h,10)))){p=f.sols[h];r={ok:p.sa,Xd:[]};b=0;for(a=p.insts.length;b<a;b++)(s=this.b.oj(p.insts[b]))&&
r.Xd.push(s);k.Vb[n.index.toString()]=r}this.kc.push(k)}}};
(function(){function d(){}function e(){}function c(){}var b=S.prototype;d.prototype.yi=H(g);d.prototype.Fi=H(g);d.prototype.Ei=H(g);d.prototype.xi=function(a){var b=this.b.Jl(),c=b.X.Mk||0,d=this.b.Qa.qa;"undefined"===typeof b.X.Nk&&(b.X.Nk=a);var e=b.X.Nk;return d>=c+e?(b.X.Mk=c+e,d>=b.X.Mk+e&&(b.X.Mk=d),b.X.Nk=a,g):m};d.prototype.kd=function(a,b,c){return bc(a.mh(),b,c)};d.prototype.rq=function(){var a=this.b.Fb();return a.Cl?m:!a.ng};d.prototype.Jn=H(g);d.prototype.zq=H(g);d.prototype.Sk=H(g);
d.prototype.Xq=H(g);d.prototype.Rk=H(g);b.m=new d;e.prototype.Bi=function(a){!this.b.lg&&!this.b.hf&&(this.b.hf=a)};e.prototype.Sf=function(a,b,c,d){if(b&&a&&(b=this.b.ol(a,b,c,d))){this.b.Dc++;var e;this.b.trigger(Object.getPrototypeOf(a.ja).m.Og,b);if(b.gc){c=0;for(d=b.siblings.length;c<d;c++)e=b.siblings[c],this.b.trigger(Object.getPrototypeOf(e.type.ja).m.Og,e)}this.b.Dc--;a=a.la();a.wa=m;a.k.length=1;a.k[0]=b;if(b.gc){c=0;for(d=b.siblings.length;c<d;c++)e=b.siblings[c],a=e.type.la(),a.wa=m,a.k.length=
1,a.k[0]=e}}};e.prototype.Uf=function(a,b){0===a.Hk?da(b)?a.Jf(b):a.Jf(parseFloat(b)):1===a.Hk&&a.Jf(b.toString())};e.prototype.Wb=function(a,b){0===a.Hk?da(b)?a.Jf(a.mh()+b):a.Jf(a.mh()+parseFloat(b)):1===a.Hk&&a.Jf(a.mh()+b.toString())};e.prototype.pr=function(a){0>a&&(a=0);this.b.Ze=a};var a=[],h=[];e.prototype.Yk=function(b){if(!(0>b)){var c,d,e,r=this.b.Fb(),s;s=a.length?a.pop():{Vb:{},Ha:[]};s.xl=m;s.time=this.b.Qa.qa+b;s.ag=r.ac;s.Yb=r.Yb+1;b=0;for(c=this.b.K.length;b<c;b++)e=this.b.K[b],d=
e.la(),d.wa&&-1===r.ac.Ha.indexOf(e)||(s.Ha.push(e),e=aa,e=h.length?h.pop():{Xd:[]},e.ok=m,e.ok=d.wa,qa(e.Xd,d.k),s.Vb[b.toString()]=e);this.kc.push(s);return g}};e.prototype.lr=function(){var a,b,c;a=0;for(b=this.b.al.length;a<b;a++)c=this.b.al[a],c.data=c.wj};e.prototype.Uk=function(){if(!this.b.lg&&!this.b.hf&&this.b.ya){this.b.hf=this.b.ya;var a,b,c;a=0;for(b=this.b.ue.length;a<b;a++)c=this.b.ue[a],this.b.Rg[c.eg.toLowerCase()]=c.xj}};e.prototype.sr=function(a,b){this.b.ji=[0===a?"image/png":
"image/jpeg",b/100];this.b.da=g};b.n=new e;c.prototype["int"]=function(a,b){ea(b)?(a.Fa(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.Fa(b)};c.prototype["float"]=function(a,b){ea(b)?(a.$(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.$(b)};c.prototype.random=function(a,b,c){c===aa?a.$(Math.random()*b):a.$(Math.random()*(c-b)+b)};c.prototype.sqrt=function(a,b){a.$(Math.sqrt(b))};c.prototype.abs=function(a,b){a.$(Math.abs(b))};c.prototype.round=function(a,b){a.Fa(Math.round(b))};c.prototype.floor=function(a,
b){a.Fa(Math.floor(b))};c.prototype.ceil=function(a,b){a.Fa(Math.ceil(b))};c.prototype.sin=function(a,b){a.$(Math.sin(I(b)))};c.prototype.cos=function(a,b){a.$(Math.cos(I(b)))};c.prototype.tan=function(a,b){a.$(Math.tan(I(b)))};c.prototype.acos=function(a,b){a.$(sa(Math.acos(b)))};c.prototype.exp=function(a,b){a.$(Math.exp(b))};c.prototype.max=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b<arguments[c]&&(b=arguments[c]);a.$(b)};c.prototype.min=function(a){var b=arguments[1],
c,d;c=2;for(d=arguments.length;c<d;c++)b>arguments[c]&&(b=arguments[c]);a.$(b)};c.prototype.mf=function(a){a.$(this.b.mf)};c.prototype.Ze=function(a){a.$(this.b.Ze)};c.prototype.time=function(a){a.$(this.b.Qa.qa)};c.prototype.gd=function(a){a.Fa(this.b.gd)};c.prototype.Rj=function(a){a.Fa(this.b.Rj)};c.prototype.kj=function(a){a.Fa(this.b.kj)};c.prototype.q=function(a,b,c,d,e){a.$(sa(za(b,c,d,e)))};c.prototype.left=function(a,b,c){a.G(ea(b)?b.substr(0,c):"")};c.prototype.right=function(a,b,c){a.G(ea(b)?
b.substr(b.length-c):"")};c.prototype.replace=function(a,b,c,d){ea(b)&&ea(c)&&ea(d)?a.G(b.replace(RegExp(Ra(c),"gi"),d)):a.G(ea(b)?b:"")};c.prototype.ml=function(a){a.$(this.b.ml/1E3)};c.prototype.qg=function(a){a.$(this.b.qg)};b.W=new c;b.gu=function(){var b,c,d,e,r,s,q=this.b.Fb();b=0;for(d=this.kc.length;b<d;b++)if(e=this.kc[b],!(e.time>this.b.Qa.qa)){q.ac=e.ag;q.Yb=e.Yb;q.mb=0;for(c in e.Vb)e.Vb.hasOwnProperty(c)&&(r=this.b.K[parseInt(c,10)].la(),s=e.Vb[c],r.wa=s.ok,qa(r.k,s.Xd),r=s,r.Xd.length=
0,h.push(r));e.ag.du();this.b.ll(e.Ha);e.xl=g}c=b=0;for(d=this.kc.length;b<d;b++)e=this.kc[b],this.kc[c]=e,e.xl?(Ia(e.Vb),e.Ha.length=0,a.push(e)):c++;this.kc.length=c}})();
function Cb(d){var e=d[0].prototype,c=d[1],b=d[3],a=d[4],h=d[5],f=d[6],k=d[7];d=d[8];e.m||(e.m={});e.n||(e.n={});e.W||(e.W={});var n=e.m,p=e.n,e=e.W;b&&(n.Uu=function(a,b){return bc(this.x,a,b)},n.Vu=function(a,b){return bc(this.y,a,b)},n.Gv=function(){var a=this.u;this.sb();var b=this.ca;return!(b.right<a.Jb||b.bottom<a.Lb||b.left>a.Kb||b.top>a.Ib)},n.Hn=function(){this.sb();var a=this.ca,b=this.b.ya;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},n.Vv=function(a,b,c){var d=this.la(),
e=d.Ac();if(!e.length)return m;var f=e[0],h=f,k=Ea(f.x,f.y,b,c),n,p,F;n=1;for(p=e.length;n<p;n++)if(f=e[n],F=Ea(f.x,f.y,b,c),0===a&&F<k||1===a&&F>k)k=F,h=f;d.Xh(h);return g},p.xw=function(a){this.x!==a&&(this.x=a,this.R())},p.yw=function(a){this.y!==a&&(this.y=a,this.R())},p.rw=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.R()},p.sw=function(a,b){var c=a.Xs(this);if(c){var d;c.hh?(d=c.hh(b,g),c=c.hh(b,m)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.R()}},p.Ov=function(a){0!==
a&&(this.x+=Math.cos(this.q)*a,this.y+=Math.sin(this.q)*a,this.R())},p.Nv=function(a,b){0!==b&&(this.x+=Math.cos(I(a))*b,this.y+=Math.sin(I(a))*b,this.R())},e.Li=function(a){a.$(this.x)},e.Mi=function(a){a.$(this.y)},e.mf=function(a){a.$(this.b.Vd(this))});a&&(n.Tu=function(a,b){return bc(this.width,a,b)},n.Qu=function(a,b){return bc(this.height,a,b)},p.rr=function(a){this.width!==a&&(this.width=a,this.R())},p.mw=function(a){this.height!==a&&(this.height=a,this.R())},p.vw=function(a,b){if(this.width!==
a||this.height!==b)this.width=a,this.height=b,this.R()},e.Hw=function(a){a.$(this.width)},e.wv=function(a){a.$(this.height)},e.Mu=function(a){this.sb();a.$(this.ca.left)},e.Ou=function(a){this.sb();a.$(this.ca.top)},e.Nu=function(a){this.sb();a.$(this.ca.right)},e.Lu=function(a){this.sb();a.$(this.ca.bottom)});h&&(n.Ku=function(a,b){return Aa(this.q,I(b))<=I(a)},n.Av=function(a){return Ca(this.q,I(a))},n.yv=function(a,b){var c=wa(a),d=wa(b),e=ua(this.q);return Ca(d,c)?Ca(e,c)&&!Ca(e,d):!(!Ca(e,c)&&
Ca(e,d))},p.hw=function(a){a=I(ta(a));!isNaN(a)&&this.q!==a&&(this.q=a,this.R())},p.aw=function(a){0!==a&&!isNaN(a)&&(this.q+=I(a),this.q=ua(this.q),this.R())},p.bw=function(a){0!==a&&!isNaN(a)&&(this.q-=I(a),this.q=ua(this.q),this.R())},p.dw=function(a,b){var c=Ba(this.q,I(b),I(a));!isNaN(c)&&this.q!==c&&(this.q=c,this.R())},p.ew=function(a,b,c){a=Ba(this.q,Math.atan2(c-this.y,b-this.x),I(a));!isNaN(a)&&this.q!==a&&(this.q=a,this.R())},p.ww=function(a,b){var c=Math.atan2(b-this.y,a-this.x);!isNaN(c)&&
this.q!==c&&(this.q=c,this.R())},e.Ju=function(a){a.$(va(this.q))});c||(n.Ru=function(a,b,c){return bc(this.ub[a],b,c)},n.zv=function(a){return this.ub[a]},n.Wv=function(a,b){var c=this.la(),d=c.Ac();if(!d.length)return m;var e=d[0],f=e,h=e.ub[b],k,n,p;k=1;for(n=d.length;k<n;k++)if(e=d[k],p=e.ub[b],0===a&&p<h||1===a&&p>h)h=p,f=e;c.Xh(f);return g},n.Uv=function(a){var b,c,d,e,f;if(this.b.Jl().sh){f=this.la();if(f.wa){f.wa=m;f.k.length=0;f.Ja.length=0;d=this.k;b=0;for(c=d.length;b<c;b++)e=d[b],e.uid===
a?f.Ja.push(e):f.k.push(e)}else{d=b=0;for(c=f.k.length;b<c;b++)e=f.k[b],f.k[d]=e,e.uid===a?f.Ja.push(e):d++;f.k.length=d}return!!f.k.length}e=this.b.oj(a);if(!e)return m;f=this.la();if(!f.wa&&-1===f.k.indexOf(e))return m;if(this.O){a=e.type.Ka;b=0;for(c=a.length;b<c;b++)if(a[b]===this)return f.Xh(e),g}else if(e.type===this)return f.Xh(e),g;return m},n.Og=H(g),n.Pk=H(g),p.nw=function(a,b){var c=this.ub;da(c[a])?c[a]=da(b)?b:parseFloat(b):ea(c[a])&&(c[a]=ea(b)?b:b.toString())},p.Iu=function(a,b){var c=
this.ub;da(c[a])?c[a]=da(b)?c[a]+b:c[a]+parseFloat(b):ea(c[a])&&(c[a]=ea(b)?c[a]+b:c[a]+b.toString())},p.Bw=function(a,b){var c=this.ub;da(c[a])&&(c[a]=da(b)?c[a]-b:c[a]-parseFloat(b))},p.iw=function(a,b){this.ub[a]=b?1:0},p.Fw=function(a){this.ub[a]=1-this.ub[a]},p.Kd=function(){this.b.ld(this)},e.gv=function(a){var b=a.wg.k.length,c,d,e;c=0;for(d=this.b.pd.length;c<d;c++)e=this.b.pd[c],a.wg.O?0<=e.type.Ka.indexOf(a.wg)&&b++:e.type===a.wg&&b++;a.Fa(b)},e.Yv=function(a){a.Fa(a.wg.la().Ac().length)},
e.Gw=function(a){a.Fa(this.uid)},e.xv=function(a){a.Fa(this.nh())});f&&(n.Hv=C("visible"),p.qr=function(a){!a!==!this.visible&&(this.visible=a,this.b.da=g)},n.Su=function(a,b){return bc(Va(100*this.opacity),a,b)},p.qw=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.da=g)},e.Opacity=function(a){a.$(Va(100*this.opacity))});k&&(n.Fv=function(a){return!a?m:this.u===a},n.Xv=function(a){var b=this.la(),c=b.Ac();if(!c.length)return m;var d=c[0],e=d,f,h;f=1;for(h=c.length;f<
h;f++)if(d=c[f],0===a){if(d.u.index>e.u.index||d.u.index===e.u.index&&d.ec()>e.ec())e=d}else if(d.u.index<e.u.index||d.u.index===e.u.index&&d.ec()<e.ec())e=d;b.Xh(e);return g},p.Qv=function(){var a=this.ec();a!==this.u.k.length-1&&(pa(this.u.k,a),this.u.k.push(this),this.b.da=g,this.u.xc=g)},p.Pv=function(){var a=this.ec();0!==a&&(pa(this.u.k,a),this.u.k.unshift(this),this.b.da=g,this.u.xc=g)},p.tq=function(a){a&&a!=this.u&&(pa(this.u.k,this.ec()),this.u.xc=g,this.u=a,this.Qf=a.k.length,a.k.push(this),
this.b.da=g)},p.Jw=function(a,b){var c=0===a;if(b){var d=b.Ss(this);if(d&&d.uid!==this.uid){this.u.index!==d.u.index&&(pa(this.u.k,this.ec()),this.u.xc=g,this.u=d.u,this.Qf=d.u.k.length,d.u.k.push(this));var e=this.ec(),d=d.ec();pa(this.u.k,e);e<d&&d--;c&&d++;d===this.u.k.length?this.u.k.push(this):this.u.k.splice(d,0,this);this.u.xc=g;this.b.da=g}}},e.Jv=function(a){a.Fa(this.u.up)},e.Iv=function(a){a.G(this.u.name)},e.Iw=function(a){a.Fa(this.ec())});d&&(p.kw=function(a,b){if(this.b.I){var c=this.type.Ll(b);
if(!(0>c)){var d=1===a;this.se[c]!==d&&(this.se[c]=d,this.le(),this.b.da=g)}}},p.lw=function(a,b,c){if(this.b.I){var d=this.type.Ll(a);0>d||(a=this.type.ba[d],d=this.Ya[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.I.$s(a.Bb,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.gb&&(this.b.da=g))))}})}function Rb(){this.Oi=g;this.b.da=g;var d,e;d=0;for(e=this.Pi.length;d<e;d++)this.Pi[d](this)}function Sb(d){d&&this.Pi.push(d)}
function Ub(){if(this.Oi){this.ca.set(this.x,this.y,this.x+this.width,this.y+this.height);this.ca.offset(-this.Pb*this.width,-this.Qb*this.height);this.q?(this.ca.offset(-this.x,-this.y),this.tb.Xp(this.ca,this.q),this.tb.offset(this.x,this.y),this.tb.jo(this.ca)):this.tb.sk(this.ca);var d=0;this.ca.left>this.ca.right&&(d=this.ca.left,this.ca.left=this.ca.right,this.ca.right=d);this.ca.top>this.ca.bottom&&(d=this.ca.top,this.ca.top=this.ca.bottom,this.ca.bottom=d);this.Oi=m}}
function Tb(d,e){return!this.ca.mc(d,e)||!this.tb.mc(d,e)?m:this.Ia&&!this.Ia.yh()?(this.Ia.Vg(this.width,this.height,this.q),this.Ia.mc(d-this.x,e-this.y)):g}function Pb(){this.type.Dk();return this.ph}function Vb(){this.u.Bu();return this.Qf}function Wb(){this.xa.length=0;var d,e;d=0;for(e=this.se.length;d<e;d++)this.se[d]&&this.xa.push(this.type.ba[d]);this.oq=!!this.xa.length}function Qb(){return"Inst"+this.Lp}
function Eb(d){if(d&&d.gc&&d.type!=this){var e,c,b;e=0;for(c=d.siblings.length;e<c;e++)if(b=d.siblings[e],b.type==this)return b}d=this.la().Ac();return d.length?d[0]:l}function Fb(d){var e=this.la().Ac();return e.length?e[d.nh()%e.length]:l}function Db(){if(this.We&&!this.O){var d,e;d=0;for(e=this.k.length;d<e;d++)this.k[d].ph=d;this.We=m}}function Gb(){return this.Ue[this.Td]}function Hb(){this.Td++;this.Td===this.Ue.length?this.Ue.push(new Xa(this)):this.Ue[this.Td].wa=g}
function Ib(){this.Td++;this.Td===this.Ue.length&&this.Ue.push(new Xa(this));var d=this.Ue[this.Td],e=this.Ue[this.Td-1];e.wa?d.wa=g:(d.wa=m,qa(d.k,e.k))}function Jb(){this.Td--}function Kb(d){var e,c,b,a,h,f=0;if(!this.O){e=0;for(c=this.Ka.length;e<c;e++){h=this.Ka[e];b=0;for(a=h.Pa.length;b<a;b++){if(d===h.Pa[b].name)return this.X.bp=f,h.Pa[b];f++}}}e=0;for(c=this.Pa.length;e<c;e++){if(d===this.Pa[e].name)return this.X.bp=f,this.Pa[e];f++}return l}function Lb(d){return this.mj(d)?this.X.bp:-1}
function Mb(d){var e,c;e=0;for(c=this.ba.length;e<c;e++)if(this.ba[e].name===d)return e;return-1}function Nb(){if(this.gc&&!this.O){var d,e,c,b,a,h,f;this.Dk();h=this.la();var k=h.wa,n=(d=this.b.Fb())&&d.ac&&d.ac.$c;d=0;for(e=this.$b.length;d<e;d++)if(a=this.$b[d],a!==this&&(a.Dk(),f=a.la(),f.wa=k,!k)){f.k.length=h.k.length;c=0;for(b=h.k.length;c<b;c++)f.k[c]=a.k[h.k[c].ph];if(n){f.Ja.length=h.Ja.length;c=0;for(b=h.Ja.length;c<b;c++)f.Ja[c]=a.k[h.Ja[c].ph]}}}}function Ob(){return"Type"+this.ka}
function bc(d,e,c){if("undefined"===typeof d||"undefined"===typeof c)return m;switch(e){case 0:return d===c;case 1:return d!==c;case 2:return d<c;case 3:return d<=c;case 4:return d>c;case 5:return d>=c;default:return m}}
var Ab={water:{src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nprecision mediump float;\nuniform float seconds;\nuniform float pixelWidth;\nuniform float pixelHeight;\nconst float PI = 3.1415926535897932;\nuniform float speed;\nuniform float speed_x;\nuniform float speed_y;\nuniform float intensity;\nconst int steps = 8;\nuniform float frequency;\nuniform float angle; // better when a prime\nuniform float delta;\nuniform float intence;\nuniform float emboss;\nfloat col(vec2 coord)\n{\nfloat delta_theta = 2.0 * PI / angle;\nfloat col = 0.0;\nfloat theta = 0.0;\nfor (int i = 0; i < steps; i++)\n{\nvec2 adjc = coord;\ntheta = delta_theta*float(i);\nadjc.x += cos(theta)*seconds*speed + seconds * speed_x;\nadjc.y -= sin(theta)*seconds*speed - seconds * speed_y;\ncol = col + cos( (adjc.x*cos(theta) - adjc.y*sin(theta))*frequency)*intensity;\n}\nreturn cos(col);\n}\nvoid main(void)\n{\nvec2 p = vTex, c1 = p, c2 = p;\nfloat cc1 = col(c1);\nc2.x += (1.0 / pixelWidth) / delta;\nfloat dx = emboss*(cc1-col(c2))/delta;\nc2.x = p.x;\nc2.y += (1.0 / pixelHeight) / delta;\nfloat dy = emboss*(cc1-col(c2))/delta;\nc1.x += dx;\nc1.y = -(c1.y+dy);\nfloat alpha = 1.+dot(dx,dy)*intence;\nc1.y = -c1.y;\ngl_FragColor = texture2D(samplerFront,c1)*(alpha);\n}",dj:25,
ej:25,ql:m,dl:g,U:[["speed",0,1],["speed_x",0,1],["speed_y",0,1],["intensity",0,0],["frequency",0,0],["angle",0,0],["delta",0,0],["intence",0,0],["emboss",0,1]]}};function cc(d){this.b=d}
(function(){function d(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function e(a){a=a.toLowerCase();return X.hasOwnProperty(a)&&X[a].length?X[a][0].zc():N.destination}function c(){return N.createGain?N.createGain():N.createGainNode()}function b(a){return N.createDelay?N.createDelay(a):N.createDelayNode(a)}function a(a){a.start?a.start(0):a.noteOn(0)}function h(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function f(a){a.stop?a.stop(0):a.noteOff(0)}function k(a,b,d,e,f,h){this.type=
"filter";this.ad=[a,b,d,e,f,h];this.na=c();this.aa=c();this.aa.gain.value=h;this.Z=c();this.Z.gain.value=1-h;this.hb=N.createBiquadFilter();this.hb.type="number"===typeof this.hb.type?a:Ac[a];this.hb.frequency.value=b;this.hb.detune&&(this.hb.detune.value=d);this.hb.Q.value=e;this.hb.gain.value=f;this.na.connect(this.hb);this.na.connect(this.Z);this.hb.connect(this.aa)}function n(a,d,e){this.type="delay";this.ad=[a,d,e];this.na=c();this.aa=c();this.aa.gain.value=e;this.Z=c();this.Z.gain.value=1-e;
this.Mh=c();this.Mc=b(a);this.Mc.delayTime.value=a;this.Zi=c();this.Zi.gain.value=d;this.na.connect(this.Mh);this.na.connect(this.Z);this.Mh.connect(this.aa);this.Mh.connect(this.Mc);this.Mc.connect(this.Zi);this.Zi.connect(this.Mh)}function p(a,b,d,e){this.type="convolve";this.ad=[b,d,e];this.na=c();this.aa=c();this.aa.gain.value=d;this.Z=c();this.Z.gain.value=1-d;this.jf=N.createConvolver();a&&(this.jf.normalize=b,this.jf.buffer=a);this.na.connect(this.jf);this.na.connect(this.Z);this.jf.connect(this.aa)}
function r(d,e,f,h,k){this.type="flanger";this.ad=[d,e,f,h,k];this.na=c();this.Z=c();this.Z.gain.value=1-k/2;this.aa=c();this.aa.gain.value=k/2;this.hj=c();this.hj.gain.value=h;this.Mc=b(d+e);this.Mc.delayTime.value=d;this.xb=N.createOscillator();this.xb.frequency.value=f;this.uc=c();this.uc.gain.value=e;this.na.connect(this.Mc);this.na.connect(this.Z);this.Mc.connect(this.aa);this.Mc.connect(this.hj);this.hj.connect(this.Mc);this.xb.connect(this.uc);this.uc.connect(this.Mc.delayTime);a(this.xb)}
function s(b,d,e,f,h,k){this.type="phaser";this.ad=[b,d,e,f,h,k];this.na=c();this.Z=c();this.Z.gain.value=1-k/2;this.aa=c();this.aa.gain.value=k/2;this.hb=N.createBiquadFilter();this.hb.type="number"===typeof this.hb.type?7:"allpass";this.hb.frequency.value=b;this.hb.detune&&(this.hb.detune.value=d);this.hb.Q.value=e;this.xb=N.createOscillator();this.xb.frequency.value=h;this.uc=c();this.uc.gain.value=f;this.na.connect(this.hb);this.na.connect(this.Z);this.hb.connect(this.aa);this.xb.connect(this.uc);
this.uc.connect(this.hb.frequency);a(this.xb)}function q(a){this.type="gain";this.ad=[a];this.ta=c();this.ta.gain.value=a}function y(b,d){this.type="tremolo";this.ad=[b,d];this.ta=c();this.ta.gain.value=1-d/2;this.xb=N.createOscillator();this.xb.frequency.value=b;this.uc=c();this.uc.gain.value=d/2;this.xb.connect(this.uc);this.uc.connect(this.ta.gain);a(this.xb)}function w(b,d){this.type="ringmod";this.ad=[b,d];this.na=c();this.aa=c();this.aa.gain.value=d;this.Z=c();this.Z.gain.value=1-d;this.fi=
c();this.fi.gain.value=0;this.xb=N.createOscillator();this.xb.frequency.value=b;this.xb.connect(this.fi.gain);a(this.xb);this.na.connect(this.fi);this.na.connect(this.Z);this.fi.connect(this.aa)}function t(a,b,d,e,f){this.type="distortion";this.ad=[a,b,d,e,f];this.na=c();this.fk=c();this.ek=c();this.nu(d,Math.pow(10,e/20));this.aa=c();this.aa.gain.value=f;this.Z=c();this.Z.gain.value=1-f;this.Ik=N.createWaveShaper();this.Xi=new Float32Array(65536);this.Os(a,b);this.Ik.Xi=this.Xi;this.na.connect(this.fk);
this.na.connect(this.Z);this.fk.connect(this.Ik);this.Ik.connect(this.ek);this.ek.connect(this.aa)}function u(a,b,c,d,e){this.type="compressor";this.ad=[a,b,c,d,e];this.ta=N.createDynamicsCompressor();this.ta.threshold.value=a;this.ta.knee.value=b;this.ta.ratio.value=c;this.ta.attack.value=d;this.ta.release.value=e}function B(a,b){this.type="analyser";this.ad=[a,b];this.ta=N.createAnalyser();this.ta.fftSize=a;this.ta.smoothingTimeConstant=b;this.Ms=new Float32Array(this.ta.frequencyBinCount);this.Zp=
new Uint8Array(a);this.fu=this.Wh=0}function M(){this.ga=l;this.Mj=0;this.Ve=[];this.Am=this.Gj=this.Fj=0}function K(a,b){this.src=a;this.Ma=Q;this.zh=b;this.co=m;var d=this;this.np=this.Pm=l;this.Cg=[];this.pk=0;this.ak=m;Q===G&&(b&&!D.Dj)&&(this.Ma=L,this.Pm=c());this.Va=l;var e;switch(this.Ma){case L:this.Va=new Audio;Q===G&&this.Va.addEventListener("canplay",function(){d.np=N.createMediaElementSource(d.Va);d.np.connect(d.Pm)});this.Va.autoplay=m;this.Va.ax="auto";this.Va.src=a;break;case G:e=
new XMLHttpRequest;e.open("GET",a,g);e.responseType="arraybuffer";e.onload=function(){if(N.decodeAudioData)N.decodeAudioData(e.response,function(a){d.Va=a;var b,c,e;if(ca(d.bk))ca(d.Vi)||(b=d.Vi.jf,b.normalize=d.tp,b.buffer=a);else if(d.Cg.length){b=0;for(c=d.Cg.length;b<c;b++){a=d.Cg[b];e=new F(d,a.cq);e.gn(g);if("undefined"!==typeof a.vp&&(a.ga=D.oj(a.vp),!a.ga))continue;if(a.ga){var f=Da(a.ga.x,a.ga.y,a.ga.u.cc(),Na,Oa,g),h=Da(a.ga.x,a.ga.y,a.ga.u.cc(),Na,Oa,m);e.en(f,h,sa(a.ga.q+a.ga.u.cc()),
a.Sl,a.Bm,a.Em);e.gi(a.ga)}else e.en(a.x,a.y,a.Dr,a.Sl,a.Bm,a.Em);e.play(d.wm,d.Dn,d.pk);d.ak&&e.pause();T.push(e)}d.Cg.length=0}else e=new F(d,d.bk),e.play(d.wm,d.Dn,d.pk),d.ak&&e.pause(),T.push(e)});else if(d.Va=N.createBuffer(e.response,m),ca(d.bk)){if(!ca(d.Vi)){var a=d.Vi.jf;a.normalize=d.tp;a.buffer=d.Va}}else a=new F(d,d.bk),a.play(d.wm,d.Dn,d.pk),d.ak&&a.pause(),T.push(a)};e.send();break;case P:this.Va=g;break;case V:this.Va=g}}function F(a,b){var d=this;this.Xe=b;this.ed=this.Fe=g;this.src=
a.src;this.buffer=a;this.Ma=Q;this.zh=a.zh;this.playbackRate=1;this.Rm=g;this.Ie=this.fe=m;this.cd=0;this.gm=this.fm=this.$d=m;this.Ph=this.volume=1;this.startTime=D.Qa.qa;this.eb=this.Eb=l;this.wd=m;this.ob=l;this.Bp=this.Ap=this.zp=this.yp=this.Dp=this.Cp=0;this.D=l;var f=m;switch(this.Ma){case L:this.zh?(this.D=a.Va,f=!a.co,a.co=g):(this.D=new Audio,this.D.autoplay=m,this.D.src=a.Va.src,f=g);f&&this.D.addEventListener("ended",function(){R=d.Xe;d.ed=g;D.trigger(cc.prototype.m.Qk,O)});break;case G:this.Eb=
c();this.Eb.connect(e(b));this.buffer.Ma===G?a.Va&&(this.D=N.createBufferSource(),this.D.buffer=a.Va,this.D.connect(this.Eb)):(this.D=this.buffer.Va,this.buffer.Pm.connect(this.Eb));break;case P:this.D=new window.Media(Y+this.src,l,l,function(a){a===window.Media.MEDIA_STOPPED&&(d.Rm=g,d.ed=g,R=d.Xe,D.trigger(cc.prototype.m.Qk,O))});break;case V:this.D=g}}function J(a){Ga.length=0;if(a.length){var b,c,d;b=0;for(c=T.length;b<c;b++)d=T[b],a.toLowerCase()===d.Xe.toLowerCase()&&Ga.push(d)}else Pa&&!Pa.oh()&&
(Ga.length=1,Ga[0]=Pa)}function A(a,b){X.hasOwnProperty(a)?X[a].push(b):X[a]=[b];var c,d,e,f,h=N.destination;if(X.hasOwnProperty(a)&&(e=X[a],e.length)){h=e[0].zc();c=0;for(d=e.length;c<d;c++)f=e[c],c+1===d?f.Jc(N.destination):f.Jc(e[c+1].zc())}J(a);c=0;for(d=Ga.length;c<d;c++)Ga[c].cu(h);Ka&&ub===a&&(Ka.disconnect(),Ka.connect(h))}function x(){}function v(){}var E=cc.prototype;E.H=function(a){this.ja=a;this.b=a.b};E.H.prototype.B=z();var D=l,O=l,R="",Y="",L=0,G=1,P=2,V=3,Q=L,N=l,vb=[],T=[],Pa=l,ib=
m,jb=0,Qa=m,xa=1,Na=0,Oa=0,wb=1,xb=1,Yb=10,Zb=1E4,$b=1,Ka=l,ub="",X={},Ac="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");k.prototype.Jc=function(a){this.aa.disconnect();this.aa.connect(a);this.Z.disconnect();this.Z.connect(a)};k.prototype.remove=function(){this.na.disconnect();this.hb.disconnect();this.aa.disconnect();this.Z.disconnect()};k.prototype.zc=C("na");n.prototype.Jc=function(a){this.aa.disconnect();this.aa.connect(a);this.Z.disconnect();this.Z.connect(a)};
n.prototype.remove=function(){this.na.disconnect();this.Mh.disconnect();this.Mc.disconnect();this.Zi.disconnect();this.aa.disconnect();this.Z.disconnect()};n.prototype.zc=C("na");p.prototype.Jc=function(a){this.aa.disconnect();this.aa.connect(a);this.Z.disconnect();this.Z.connect(a)};p.prototype.remove=function(){this.na.disconnect();this.jf.disconnect();this.aa.disconnect();this.Z.disconnect()};p.prototype.zc=C("na");r.prototype.Jc=function(a){this.Z.disconnect();this.Z.connect(a);this.aa.disconnect();
this.aa.connect(a)};r.prototype.remove=function(){this.na.disconnect();this.Mc.disconnect();this.xb.disconnect();this.uc.disconnect();this.Z.disconnect();this.aa.disconnect();this.hj.disconnect()};r.prototype.zc=C("na");s.prototype.Jc=function(a){this.Z.disconnect();this.Z.connect(a);this.aa.disconnect();this.aa.connect(a)};s.prototype.remove=function(){this.na.disconnect();this.hb.disconnect();this.xb.disconnect();this.uc.disconnect();this.Z.disconnect();this.aa.disconnect()};s.prototype.zc=C("na");
q.prototype.Jc=function(a){this.ta.disconnect();this.ta.connect(a)};q.prototype.remove=function(){this.ta.disconnect()};q.prototype.zc=C("ta");y.prototype.Jc=function(a){this.ta.disconnect();this.ta.connect(a)};y.prototype.remove=function(){this.xb.disconnect();this.uc.disconnect();this.ta.disconnect()};y.prototype.zc=C("ta");w.prototype.Jc=function(a){this.aa.disconnect();this.aa.connect(a);this.Z.disconnect();this.Z.connect(a)};w.prototype.remove=function(){this.xb.disconnect();this.fi.disconnect();
this.na.disconnect();this.aa.disconnect();this.Z.disconnect()};w.prototype.zc=C("na");t.prototype.nu=function(a,b){0.01>a&&(a=0.01);this.fk.gain.value=a;this.ek.gain.value=Math.pow(1/a,0.6)*b};t.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/d)*(a-b)));return b*c};t.prototype.Os=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),e=0,f=0;32768>f;++f)e=f/32768,e=this.shape(e,c,d),this.Xi[32768+f]=e,this.Xi[32768-f-1]=-e};t.prototype.Jc=
function(a){this.aa.disconnect();this.aa.connect(a);this.Z.disconnect();this.Z.connect(a)};t.prototype.remove=function(){this.na.disconnect();this.fk.disconnect();this.Ik.disconnect();this.ek.disconnect();this.aa.disconnect();this.Z.disconnect()};t.prototype.zc=C("na");u.prototype.Jc=function(a){this.ta.disconnect();this.ta.connect(a)};u.prototype.remove=function(){this.ta.disconnect()};u.prototype.zc=C("ta");B.prototype.ra=function(){this.ta.getFloatFrequencyData(this.Ms);this.ta.getByteTimeDomainData(this.Zp);
for(var a=this.ta.fftSize,b=0,c=this.Wh=0,e=0;b<a;b++)e=(this.Zp[b]-128)/128,0>e&&(e=-e),this.Wh<e&&(this.Wh=e),c+=e*e;this.Wh=d(this.Wh);this.fu=d(Math.sqrt(c/a))};B.prototype.Jc=function(a){this.ta.disconnect();this.ta.connect(a)};B.prototype.remove=function(){this.ta.disconnect()};B.prototype.zc=C("ta");M.prototype.gi=function(a){if(this.ga=a)this.Fj=this.ga.x,this.Gj=this.ga.y;this.Ve.length=0};M.prototype.tj=function(){return!!this.ga};M.prototype.ra=function(a){this.ga&&(this.Am=za(this.Fj,
this.Gj,this.ga.x,this.ga.y),a=Ea(this.Fj,this.Gj,this.ga.x,this.ga.y)/a,4>this.Ve.length||this.Ve.shift(),this.Ve.push(a),this.Fj=this.ga.x,this.Gj=this.ga.y)};M.prototype.Jo=function(){if(!this.Ve.length)return 0;var a,b,c=0;a=0;for(b=this.Ve.length;a<b;a++)c+=this.Ve[a];return c/this.Ve.length};M.prototype.Ko=function(){return Math.cos(this.Am)*this.Jo()};M.prototype.Lo=function(){return Math.sin(this.Am)*this.Jo()};var ac=m;F.prototype.oh=function(){switch(this.Ma){case L:return this.D.ended;
case G:return this.buffer.Ma===G?!this.Fe&&!this.ed&&this.D.loop||this.Ie?m:D.Qa.qa-this.startTime>this.buffer.Va.duration:this.D.ended;case P:return this.Rm;case V:g}return g};F.prototype.Qr=function(){return this.Fe||this.ed?g:this.oh()};F.prototype.gn=function(a){Q===G&&(!this.wd&&a?(this.eb||(this.eb=N.createPanner(),this.eb.panningModel="number"===typeof this.eb.panningModel?wb:["equalpower","HRTF","soundfield"][wb],this.eb.distanceModel="number"===typeof this.eb.distanceModel?xb:["linear","inverse",
"exponential"][xb],this.eb.refDistance=Yb,this.eb.maxDistance=Zb,this.eb.rolloffFactor=$b),this.Eb.disconnect(),this.Eb.connect(this.eb),this.eb.connect(e(this.Xe)),this.wd=g):this.wd&&!a&&(this.eb.disconnect(),this.Eb.disconnect(),this.Eb.connect(e(this.Xe)),this.wd=m))};F.prototype.en=function(a,b,c,d,e,f){this.wd&&Q===G&&(this.eb.setPosition(a,b,0),this.eb.setOrientation(Math.cos(I(c)),Math.sin(I(c)),0),this.eb.coneInnerAngle=d,this.eb.coneOuterAngle=e,this.eb.coneOuterGain=f,this.Cp=a,this.Dp=
b,this.yp=c,this.zp=d,this.Ap=e,this.Bp=f)};F.prototype.gi=function(a){this.wd&&Q===G&&(this.ob||(this.ob=new M),this.ob.gi(a))};F.prototype.ra=function(a){if(this.wd&&!(Q!==G||!this.ob||!this.ob.tj()||!this.jg())){this.ob.ra(a);a=this.ob.ga;var b=Da(a.x,a.y,a.u.cc(),Na,Oa,g),c=Da(a.x,a.y,a.u.cc(),Na,Oa,m);this.eb.setPosition(b,c,0);b=0;"undefined"!==typeof this.ob.ga.q&&(b=a.q+a.u.cc(),this.eb.setOrientation(Math.cos(b),Math.sin(b),0));this.eb.setVelocity(this.ob.Ko(),this.ob.Lo(),0)}};F.prototype.play=
function(b,c,d){var e=this.D;this.$d=b;this.volume=c;d=d||0;switch(this.Ma){case L:1!==e.playbackRate&&(e.playbackRate=1);e.volume!==c*xa&&(e.volume=c*xa);e.loop!==b&&(e.loop=b);e.muted&&(e.muted=m);if(e.currentTime!==d)try{e.currentTime=d}catch(f){}this.D.play();break;case G:this.muted=m;this.Ph=1;if(this.buffer.Ma===G)this.Fe||(this.D=N.createBufferSource(),this.D.buffer=this.buffer.Va,this.D.connect(this.Eb)),this.D.loop=b,this.Eb.gain.value=c*xa,0===d?a(this.D):h(this.D,d,this.dg());else{1!==
e.playbackRate&&(e.playbackRate=1);e.loop!==b&&(e.loop=b);this.Eb.gain.value=c*xa;if(e.currentTime!==d)try{e.currentTime=d}catch(k){}e.play()}break;case P:(!this.Fe&&this.ed||0!==d)&&e.seekTo(d);e.play();this.Rm=m;break;case V:D.Cc?AppMobi.context.playSound(this.src):AppMobi.player.playSound(this.src)}this.playbackRate=1;this.startTime=D.Qa.qa-d;this.Ie=this.ed=this.Fe=m};F.prototype.stop=function(){switch(this.Ma){case L:this.D.paused||this.D.pause();break;case G:this.buffer.Ma===G?f(this.D):this.D.paused||
this.D.pause();break;case P:this.D.stop()}this.ed=g;this.Ie=m};F.prototype.pause=function(){if(!this.Fe&&!this.ed&&!this.oh()&&!this.Ie){switch(this.Ma){case L:this.D.paused||this.D.pause();break;case G:this.buffer.Ma===G?(this.cd=this.Nl(),this.$d&&(this.cd%=this.dg()),f(this.D)):this.D.paused||this.D.pause();break;case P:this.D.pause()}this.Ie=g}};F.prototype.cu=function(a){this.Ma===G&&(this.wd?(this.eb.disconnect(),this.eb.connect(a)):(this.Eb.disconnect(),this.Eb.connect(a)))};F.prototype.dg=
function(){switch(this.Ma){case L:if("undefined"!==typeof this.D.duration)return this.D.duration;break;case G:return this.buffer.Va.duration;case P:return this.D.getDuration()}return 0};F.prototype.Nl=function(){var a=this.dg(),b=0;switch(this.Ma){case L:"undefined"!==typeof this.D.currentTime&&(b=this.D.currentTime);break;case G:if(this.buffer.Ma===G){if(this.Ie)return this.cd;b=D.Qa.qa-this.startTime}else"undefined"!==typeof this.D.currentTime&&(b=this.D.currentTime)}!this.$d&&b>a&&(b=a);return b};
F.prototype.jg=function(){return!this.Ie&&!this.Fe&&!this.ed&&!this.oh()};F.prototype.Au=function(){var a=this.volume*xa;switch(this.Ma){case L:this.D.volume&&this.D.volume!==a&&(this.D.volume=a);break;case G:this.Eb.gain.value=a*this.Ph}};F.prototype.uo=function(a){switch(this.Ma){case L:this.D.muted!==!!a&&(this.D.muted=!!a);break;case G:this.Ph=a?0:1,this.Eb.gain.value=xa*this.volume*this.Ph}};F.prototype.Vp=function(a){this.gm=!!a;this.uo(this.fm||this.gm)};F.prototype.mq=function(){var a=this.playbackRate;
if(1===jb&&!this.zh||2===jb)a*=D.Ze;switch(this.Ma){case L:this.D.playbackRate!==a&&(this.D.playbackRate=a);break;case G:this.buffer.Ma===G?this.D.playbackRate.value!==a&&(this.D.playbackRate.value=a):this.D.playbackRate!==a&&(this.D.playbackRate=a)}};F.prototype.ou=function(a){switch(this.Ma){case L:a?this.jg()?(this.D.pause(),this.fe=g):this.fe=m:this.fe&&this.D.play();break;case G:a?this.jg()?(this.buffer.Ma===G?(this.cd=this.Nl(),this.$d&&(this.cd%=this.dg()),f(this.D)):this.D.pause(),this.fe=
g):this.fe=m:this.fe&&(this.buffer.Ma===G?(this.D=N.createBufferSource(),this.D.buffer=this.buffer.Va,this.D.connect(this.Eb),this.D.loop=this.$d,this.Eb.gain.value=xa*this.volume*this.Ph,this.startTime=D.Qa.qa-this.cd,h(this.D,this.cd,this.dg())):this.D.play());break;case P:a?this.jg()?(this.D.pause(),this.fe=g):this.fe=m:this.fe&&this.D.play()}};E.F=function(b){this.type=b;D=this.b=b.b;O=this;this.Sb=l;this.Jh=-600;N=l;"undefined"!==typeof AudioContext?(Q=G,N=new AudioContext):"undefined"!==typeof webkitAudioContext&&
(Q=G,N=new webkitAudioContext);this.b.Dj&&Q===G&&document.addEventListener("touchstart",function(){if(!ac){var b=N.createBuffer(1,1,22050),c=N.createBufferSource();c.buffer=b;c.connect(N.destination);a(c);ac=g}},g);Q!==G&&(this.b.uf?Q=P:this.b.hg&&(Q=V));Q===P&&(Y=location.href,b=Y.lastIndexOf("/"),-1<b&&(Y=Y.substr(0,b+1)),Y=Y.replace("file://",""));if(this.b.Ct&&this.b.Yo&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),
this.b.ld(this);else{if(this.b.Cc)ib=this.b.Zl;else try{ib=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){ib=m}this.b.je(this)}};var ya=E.F.prototype;ya.B=function(){jb=this.A[0];wb=this.A[1];xb=this.A[2];this.Jh=-this.A[3];Yb=this.A[4];Zb=this.A[5];$b=this.A[6];this.Sb=new M;Q===G&&(N.listener.speedOfSound=this.A[7],N.listener.dopplerFactor=this.A[8],N.listener.setPosition(this.b.width/2,this.b.height/2,this.Jh),N.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){Ka&&Ka.disconnect();ub=b.toLowerCase();Ka=N.createMediaStreamSource(a);Ka.connect(e(ub))});this.b.bo(function(a){O.Rt(a)});var a=this;this.b.$n(function(b){a.Pt(b)})};ya.Pt=function(a){var b,c,d;b=0;for(c=T.length;b<c;b++)d=T[b],d.ob&&d.ob.ga===a&&(d.ob.ga=l,d.wd&&(d.jg()&&d.$d)&&d.stop());this.Sb.ga===a&&(this.Sb.ga=l)};ya.Na=function(){var a={silent:Qa,masterVolume:xa,listenerZ:this.Jh,listenerUid:this.Sb.tj()?this.Sb.ga.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,h,k;c=0;for(d=
T.length;c<d;c++)e=T[c],e.jg()&&(f=e.Nl(),e.$d&&(f%=e.dg()),f={tag:e.Xe,buffersrc:e.buffer.src,is_music:e.zh,playbackTime:f,volume:e.volume,looping:e.$d,muted:e.fm,playbackRate:e.playbackRate,paused:e.Ie,resume_position:e.cd},e.wd&&(f.pan={},k=f.pan,e.ob&&e.ob.tj()?k.objUid=e.ob.ga.uid:(k.x=e.Cp,k.y=e.Dp,k.a=e.yp),k.ia=e.zp,k.oa=e.Ap,k.og=e.Bp),b.push(f));b=a.effects;for(h in X)if(X.hasOwnProperty(h)){e=[];c=0;for(d=X[h].length;c<d;c++)e.push({type:X[h][c].type,params:X[h][c].ad});b[h]=e}return a};
var Za=[];ya.Za=function(a){var b=a.silent;xa=a.masterVolume;this.Jh=a.listenerZ;this.Sb.gi(l);var c=a.listenerUid;-1!==c&&(this.Sb.Mj=c,Za.push(this.Sb));var c=a.playing,d,e,f,h,F,v,K,J,D,x,E;d=0;for(e=T.length;d<e;d++)T[d].stop();for(F in X)if(X.hasOwnProperty(F)){d=0;for(e=X[F].length;d<e;d++)X[F][d].remove()}Ia(X);for(F in a.effects)if(a.effects.hasOwnProperty(F)){v=a.effects[F];d=0;for(e=v.length;d<e;d++)switch(f=v[d].type,x=v[d].params,f){case "filter":A(F,new k(x[0],x[1],x[2],x[3],x[4],x[5]));
break;case "delay":A(F,new n(x[0],x[1],x[2]));break;case "convolve":f=x[2];h=this.Hl(f,m);h.Va?f=new p(h.Va,x[0],x[1],f):(f=new p(l,x[0],x[1],f),h.tp=x[0],h.Vi=f);A(F,f);break;case "flanger":A(F,new r(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":A(F,new s(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":A(F,new q(x[0]));break;case "tremolo":A(F,new y(x[0],x[1]));break;case "ringmod":A(F,new w(x[0],x[1]));break;case "distortion":A(F,new t(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":A(F,new u(x[0],
x[1],x[2],x[3],x[4]));break;case "analyser":A(F,new B(x[0],x[1]))}}d=0;for(e=c.length;d<e;d++)a=c[d],f=a.buffersrc,h=a.is_music,F=a.tag,v=a.playbackTime,K=a.looping,J=a.volume,E=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,(D=this.Eo(f,F,h,K,J))?(D.cd=a.resume_position,D.gn(!!x),D.play(K,J,v),D.mq(),D.Au(),D.uo(D.fm||D.gm),a.paused&&D.pause(),a.muted&&D.Yw(),x&&(-1!==E?(D.ob=D.ob||new M,D.ob.Mj=E,Za.push(D.ob)):D.en(x.x,x.y,x.a,x.ia,x.oa,x.og))):(h=this.Hl(f,h),h.pk=v,h.ak=a.paused,x&&(-1!==
E?h.Cg.push({vp:E,Sl:x.ia,Bm:x.oa,Em:x.og,cq:F}):h.Cg.push({x:x.x,y:x.y,Dr:x.a,Sl:x.ia,Bm:x.oa,Em:x.og,cq:F})));if(b&&!Qa){d=0;for(e=T.length;d<e;d++)T[d].Vp(g);Qa=g}else if(!b&&Qa){d=0;for(e=T.length;d<e;d++)T[d].Vp(m);Qa=m}};ya.Sg=function(){var a,b,c,d;a=0;for(b=Za.length;a<b;a++)c=Za[a],d=this.b.oj(c.Mj),c.gi(d),c.Mj=-1,d&&(Na=d.x,Oa=d.y);Za.length=0};ya.Rt=function(a){var b,c;b=0;for(c=T.length;b<c;b++)T[b].ou(a)};ya.ra=function(){var a=this.b.mf,b,c,d;b=0;for(c=T.length;b<c;b++)d=T[b],d.ra(a),
d.Ma!==L&&d.Ma!==V&&(!d.Fe&&!d.ed&&d.oh())&&(d.ed=g,R=d.Xe,D.trigger(cc.prototype.m.Qk,O)),0!==jb&&d.mq();var e,f;for(e in X)if(X.hasOwnProperty(e)){d=X[e];b=0;for(c=d.length;b<c;b++)f=d[b],f.ra&&f.ra()}Q===G&&this.Sb.tj()&&(this.Sb.ra(a),Na=this.Sb.ga.x,Oa=this.Sb.ga.y,N.listener.setPosition(this.Sb.ga.x,this.Sb.ga.y,this.Jh),N.listener.setVelocity(this.Sb.Ko(),this.Sb.Lo(),0))};ya.Hl=function(a,b){var c,d,e;c=0;for(d=vb.length;c<d;c++)if(e=vb[c],e.src===a)return e;e=new K(a,b);vb.push(e);return e};
ya.Eo=function(a,b,c,d,e){var f,h,k;f=0;for(h=T.length;f<h;f++)if(k=T[f],k.src===a&&(k.Qr()||c))return k.Xe=b,k;a=this.Hl(a,c);if(!a.Va)return"<preload>"!==b&&(a.bk=b,a.wm=d,a.Dn=e),l;k=new F(a,b);T.push(k);return k};var Ga=[];x.prototype.Qk=function(a){return R.toLowerCase()===a.toLowerCase()};E.m=new x;v.prototype.Play=function(a,b,c,d){if(!Qa&&(c=Math.pow(10,c/20),0>c&&(c=0),1<c&&(c=1),Pa=this.Eo(this.b.Ao+a[0]+(ib?".ogg":".m4a"),d,a[1],0!==b,c)))Pa.gn(m),Pa.play(0!==b,c)};v.prototype.Tn=function(a){J(a);
var b;a=0;for(b=Ga.length;a<b;a++)Ga[a].stop()};v.prototype.Ar=function(){var a,b;a=0;for(b=T.length;a<b;a++)T[a].stop()};E.n=new v;E.W=new (z())})();function dc(d){this.b=d}
(function(){function d(){}var e=dc.prototype;e.H=function(c){this.ja=c;this.b=c.b};e.H.prototype.B=z();e.F=function(c){this.type=c;this.b=c.b};e.F.prototype.B=function(){var c=this;window.addEventListener("resize",function(){c.b.trigger(dc.prototype.m.jr,c)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){c.b.trigger(dc.prototype.m.br,c)}),window.addEventListener("offline",function(){c.b.trigger(dc.prototype.m.$q,c)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){c.b.qg=1;c.b.trigger(dc.prototype.m.Rn,c)}),window.applicationCache.addEventListener("progress",function(b){c.b.qg=b.loaded/b.total}));this.b.Cc||(document.addEventListener("appMobi.device.update.available",function(){c.b.trigger(dc.prototype.m.Rn,c)}),document.addEventListener("menubutton",function(){c.b.trigger(dc.prototype.m.Zq,c)}),document.addEventListener("searchbutton",function(){c.b.trigger(dc.prototype.m.kr,c)}));this.b.bo(function(b){b?
c.b.trigger(dc.prototype.m.cr,c):c.b.trigger(dc.prototype.m.dr,c)});this.Tw="undefined"!==typeof window.is_scirra_arcade;this.Nw=""};d.prototype.br=H(g);d.prototype.$q=H(g);d.prototype.Rn=H(g);d.prototype.dr=H(g);d.prototype.cr=H(g);d.prototype.jr=H(g);d.prototype.Zq=H(g);d.prototype.kr=H(g);e.m=new d;e.n=new (z());e.W=new (z())})();function ec(d){this.b=d}
(function(){function d(){}function e(){}var c=ec.prototype;c.H=function(a){this.ja=a;this.b=a.b};c.H.prototype.B=z();c.F=function(a){this.type=a;this.b=a.b};var b=c.F.prototype;b.B=function(){this.b.La?ba("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.ig=1===this.A[0],this.Oc=document.createElement("input"),this.Da=this.ig?document.createElement("label"):this.Oc,this.Ch=l,this.Oc.type=this.ig?"checkbox":"button",this.Oc.id=this.A[6],jQuery(this.Da).appendTo(this.b.Ri?
this.b.Ri:"body"),this.ig?(jQuery(this.Oc).appendTo(this.Da),this.Ch=document.createTextNode(this.A[1]),jQuery(this.Da).append(this.Ch),this.Oc.checked=0!==this.A[7],jQuery(this.Da).css("font-family","sans-serif"),jQuery(this.Da).css("display","inline-block"),jQuery(this.Da).css("color","black")):this.Oc.value=this.A[1],this.Da.title=this.A[2],this.Oc.disabled=0===this.A[4],this.Jr=0!==this.A[5],0===this.A[3]&&(jQuery(this.Da).hide(),this.visible=m),this.Oc.onclick=function(a){return function(b){b.stopPropagation();
a.b.trigger(ec.prototype.m.Aq,a)}}(this),this.Da.addEventListener("touchstart",function(a){a.stopPropagation()},m),this.Da.addEventListener("touchmove",function(a){a.stopPropagation()},m),this.Da.addEventListener("touchend",function(a){a.stopPropagation()},m),jQuery(this.Da).mousedown(function(a){a.stopPropagation()}),jQuery(this.Da).mouseup(function(a){a.stopPropagation()}),jQuery(this.Da).keydown(function(a){a.stopPropagation()}),jQuery(this.Da).keyup(function(a){a.stopPropagation()}),this.nq(),
this.b.je(this))};b.Na=function(){var a={tooltip:this.Da.title,disabled:!!this.Oc.disabled};this.ig?(a.checked=!!this.Oc.checked,a.text=this.Ch.nodeValue):a.text=this.Da.value;return a};b.Za=function(a){this.Da.title=a.tooltip;this.Oc.disabled=a.disabled;this.ig?(this.Oc.checked=a.checked,this.Ch.nodeValue=a.text):this.Da.value=a.text};b.be=function(){this.b.La||(jQuery(this.Da).remove(),this.Da=l)};b.ra=function(){this.nq()};b.nq=function(){if(!this.b.La){var a=this.u.Ea(this.x,this.y,g),b=this.u.Ea(this.x,
this.y,m),c=this.u.Ea(this.x+this.width,this.y+this.height,g),d=this.u.Ea(this.x+this.width,this.y+this.height,m);if(!this.visible||!this.u.visible||0>=c||0>=d||a>=this.b.width||b>=this.b.height)jQuery(this.Da).hide();else{1>a&&(a=1);1>b&&(b=1);c>=this.b.width&&(c=this.b.width-1);d>=this.b.height&&(d=this.b.height-1);jQuery(this.Da).show();var e=Math.round(a)+jQuery(this.b.canvas).offset().left,p=Math.round(b)+jQuery(this.b.canvas).offset().top;jQuery(this.Da).offset({left:e,top:p});jQuery(this.Da).width(Math.round(c-
a));jQuery(this.Da).height(Math.round(d-b));this.Jr&&jQuery(this.Da).css("font-size",this.u.Ob()/this.b.devicePixelRatio-0.2+"em")}}};b.Nb=z();b.Ab=z();d.prototype.Aq=H(g);c.m=new d;e.prototype.re=function(a){this.b.La||(this.ig?this.Ch.nodeValue=a:this.Da.value=a)};e.prototype.qr=function(a){this.b.La||(this.visible=0!==a)};c.n=new e;c.W=new (z())})();function fc(d){this.b=d}
(function(){var d=fc.prototype;d.H=function(b){this.ja=b;this.b=b.b};d.H.prototype.B=z();d.F=function(b){this.type=b;this.b=b.b};var e=d.F.prototype;e.B=function(){this.j=l;this.ae=0;this.$a=[]};e.Nb=z();e.Ab=z();e.oe=function(b,a){var c="",d=parseInt(b/6E4/60%60);0>d&&(d=0);10>d&&a&&(c+="0");return c+d};e.Id=function(b,a){var c="",d=parseInt(b/6E4%60);0>d&&(d=0);10>d&&a&&(c+="0");return c+d};e.Jd=function(b,a){var c="",d=parseInt(b/1E3%60);0>d&&(d=0);10>d&&a&&(c+="0");return c+d};e.Lg=function(b){var a=
"";b=parseInt(b%1E3);0>b&&(b=0);100>b&&(a+="0");return a+b};e.ef=function(b,a){var c="",d=parseInt(b/(1E3*this.j.Hi)/this.j.Di%this.j.Di);0>d&&(d=0);10>d&&a&&(c+="0");return c+d};e.Wc=function(b,a){var c="",d=parseInt(b/(1E3*this.j.Hi)%this.j.Di);0>d&&(d=0);10>d&&a&&(c+="0");return c+d};e.Mb=function(b,a){var c="",d=parseInt(b/this.j.Ok%this.j.Hi);0>d&&(d=0);10>d&&a&&(c+="0");return c+d};e.Vc=function(b){var a="";b=parseInt(b%this.j.Ok);0>b&&(b=0);100>b&&(a+="0");return a+b};e.cb=function(b){if(b.nd==
g)b.Qg=0;else if(b.md==m)b.Qg=1E3*this.b.Qa.qa-b.Tk;else{var a=1E3*this.b.Qa.qa-b.Gi;b.Rf==g&&(b.C=b.Xb-a,0>=b.C&&(b.C=0));b.df==g&&(b.C=a-b.Ld,b.C>=b.Xb&&0!=b.Xb&&(b.C=b.Xb))}};e.ua=function(b){this.j=l;for(var a=0;a<this.$a.length;a++)if(this.$a[a].Vf==b){this.j=this.$a[a];return}this.j=l};e.qe=function(b){if(b!=l){if(b.Rf==g){var a=b.Vn;b.Ld=1E3*this.b.Qa.qa-b.Ki;b.Xb=a+b.Ld;b.C=a}b.df==g&&0==b.Xb&&(b.Ld=1E3*this.b.Qa.qa-b.Ki,b.Xb=0,b.C=0);b.df==g&&0!=b.Xb&&(b.Ld=1E3*this.b.Qa.qa-b.Ki,b.Xb=b.Vn,
b.C=0);b.Qg=0;b.Gi=0;b.Tk=1E3*this.b.Qa.qa-b.Ki}};e.Ji=function(b,a,c,d,e){this.Vf=b;this.Ld=a;this.Xb=c;this.Ki=e;this.df=this.Rf=m;this.md=g;this.nd=m;this.C=0;this.Vn=d;this.Gi=this.Qg=this.Tk=0;this.Hi=this.Di=60;this.Ok=1E3};d.m={};var c=d.m;c.Dv=function(b){this.ua(b);return this.j==l?m:this.j.nd==m?g:m};c.Cv=function(b){this.ua(b);return this.j==l||this.j.md==g?m:g};c.Bv=function(b){this.ua(b);if(this.j==l||this.j.nd==g||this.j.md==m)return m;this.cb(this.j);return this.j.Rf==g&&0>=this.j.C||
this.j.df==g&&0!=this.j.Xb&&this.j.C>=this.j.Xb?g:m};c.Ev=function(b){this.ua(b);return this.j==l?m:this.j.nd};c.Lk=function(b,a,c,d,e,n){this.ua(b);if(this.j==l)return m;b=36E5*c+6E4*d+1E3*e+n;this.cb(this.j);switch(a){case 0:if(this.j.C<b)return this.ae=b,g;break;case 1:if(this.j.C>b)return this.ae=b,g;break;case 2:if(this.j.C!=b)return this.ae=b,g;break;case 3:if(this.j.C==b||this.j.C>this.ae&&this.j.C>b)return this.ae=b,g;break;case 4:if(this.j.C<=b)return this.ae=b,g;break;case 5:if(this.j.C>=
b)return this.ae=b,g}this.ae=b;return m};d.n={};c=d.n;c.pw=function(b,a){this.ua(b);this.j!=l&&(this.j.Di=a)};c.uw=function(b,a){this.ua(b);this.j!=l&&(this.j.Hi=a)};c.ow=function(b,a){this.ua(b);this.j!=l&&(this.j.Ok=a)};c.Aw=function(b){this.ua(b);this.j!=l&&(this.qe(this.j),this.j.md=g,this.j.nd=g)};c.ur=function(b){this.j=l;this.ua(b);this.j!=l&&(this.qe(this.j),this.j.md=g,this.j.nd=m)};c.hv=function(){this.$a.length=0};c.Sv=function(b,a){this.ua(b);this.j!=l&&(0==a&&this.j.md==g?(this.j.md=
m,this.j.Tk=1E3*this.b.Qa.qa):1==a&&this.j.md==m&&(this.j.md=g,this.j.Gi+=this.j.Qg),this.j.Qg=0)};c.$v=function(b){this.ua(b);this.j!=l&&this.qe(this.j)};c.Cw=function(b,a,c){for(var d=0;d<this.$a.length;d++)if(this.$a[d].Vf==a){this.$a.splice(d,1);break}d=1E3*this.b.Qa.qa;b=new this.Ji(a,d,b+d,b,0);b.Rf=g;b.nd=c;this.qe(b);this.$a.push(b)};c.Cr=function(b,a){for(var c=0;c<this.$a.length;c++)if(this.$a[c].Vf==b){this.$a.splice(c,1);break}c=new this.Ji(b,1E3*this.b.Qa.qa,0,0,0);c.df=g;c.nd=a;this.qe(c);
this.$a.push(c)};c.Ew=function(b,a,c){for(var d=0;d<this.$a.length;d++)if(this.$a[d].Vf==b){this.$a.splice(d,1);break}b=new this.Ji(b,1E3*this.b.Qa.qa-c,0,0,c);b.df=g;b.nd=a;this.qe(b);this.$a.push(b)};c.Dw=function(b,a,c){for(var d=0;d<this.$a.length;d++)if(this.$a[d].Vf==a){this.$a.splice(d,1);break}b=new this.Ji(a,1E3*this.b.Qa.qa,b,b,0);b.df=g;b.nd=c;this.qe(b);this.$a.push(b)};c.Zv=function(b){for(var a=0;a<this.$a.length;a++)if(this.$a[a].Vf==b){this.$a.splice(a,1);break}};c.Pu=function(b,a,
c){this.ua(b);if(this.j!=l)switch(a){case 0:this.j.Rf==g?this.j.Xb+=c:this.j.Ld-=c;break;case 1:this.j.Rf==g?this.j.Xb-=c:(this.j.Ld+=c,this.cb(this.j),0>this.j.C&&this.qe(this.j))}};d.W={};d=d.W;d.uv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,m)+":"+this.Wc(this.j.C,m)+":"+this.Mb(this.j.C,m)+":"+this.Vc(this.j.C))};d.vv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,m)+":"+this.Wc(this.j.C,m)+
":"+this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.tv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,m)+":"+this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.sv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,g)+":"+this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.sq=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,
g)+":"+this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g))};d.Lv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.fw=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.Kv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g))};d.gw=function(b,a){this.ua(a);if(this.j==
l)return b.G("");this.cb(this.j);return b.G(this.Mb(this.j.C,g))};d.zw=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Mb(this.j.C,m))};d.Mv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Vc(this.j.C))};d.rv=function(b,a){this.ua(a);if(this.j==l)return b.Fa(0);this.cb(this.j);return b.Fa(this.j.C)};d.jv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,m)+":"+this.Wc(this.j.C,
g)+":"+this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.kv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.ef(this.j.C,g)+":"+this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g))};d.lv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.pv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Mb(this.j.C,g)+":"+this.Vc(this.j.C))};d.nv=function(b,
a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Wc(this.j.C,g)+":"+this.Mb(this.j.C,g))};d.qv=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Mb(this.j.C,g))};d.ov=function(b,a){this.ua(a);if(this.j==l)return b.G("");this.cb(this.j);return b.G(this.Vc(this.j.C))};d.Xu=function(b,a){b.G(e.oe(a,g)+":"+e.Id(a,g)+":"+e.Jd(a,g)+":"+e.Lg(a))};d.Zu=function(b,a){b.G(e.oe(a,m)+":"+e.Id(a,g)+":"+e.Jd(a,g)+":"+e.Lg(a))};d.cv=function(b,a){b.G(e.oe(a,
m)+":"+e.Id(a,m)+":"+e.Jd(a,g)+":"+e.Lg(a))};d.av=function(b,a){b.G(e.oe(a,g)+":"+e.Id(a,m)+":"+e.Jd(a,m)+":"+e.Lg(a))};d.Wu=function(b,a){b.G(e.oe(a,g)+":"+e.Id(a,g)+":"+e.Jd(a,g))};d.Yu=function(b,a){b.G(e.oe(a,m)+":"+e.Id(a,g)+":"+e.Jd(a,g))};d.bv=function(b,a){b.G(e.oe(a,m)+":"+e.Id(a,m)+":"+e.Jd(a,g))};d.$u=function(b,a){b.G(e.oe(a,m)+":"+e.Id(a,m)+":"+e.Jd(a,m))};d.dv=function(b,a){b.G(e.Id(a,g)+":"+e.Jd(a,g)+":"+e.Lg(a))}})();function U(d){this.b=d}
(function(){function d(){}var e=U.prototype;e.H=function(c){this.ja=c;this.b=c.b};e.H.prototype.B=z();e.F=function(c){this.type=c;this.b=c.b};e.F.prototype.B=function(){this.Xo=this.Dt=m;this.Ig="";this.dd=l;this.qu=m;this.wu=this.b.Bc&&"undefined"!==typeof CocoonJS.Store.nativeExtensionObjectAvailable;this.uu=0!==this.A[1];this.vu=0!==this.A[2];var c=this;this.b.Bc&&(CocoonJS.App.onTextDialogFinished.addEventListener(function(){c.b.trigger(U.prototype.m.Wq,c)}),CocoonJS.App.onTextDialogCancelled.addEventListener(function(){c.b.trigger(U.prototype.m.Vq,
c)}),CocoonJS.Ad.onBannerShown.addEventListener(function(){c.Dt=g;c.b.trigger(U.prototype.m.yq,c)}),CocoonJS.Ad.onBannerReady.addEventListener(function(){CocoonJS.Ad.setBannerLayout(0);CocoonJS.Ad.showBanner()}),CocoonJS.Ad.onFullScreenShown.addEventListener(function(){c.Xo=g;c.b.trigger(U.prototype.m.Gq,c)}),CocoonJS.Ad.onFullScreenHidden.addEventListener(function(){c.Xo=m;c.b.trigger(U.prototype.m.Fq,c)}),CocoonJS.Ad.onFullScreenReady.addEventListener(function(){preloadFullScreen||CocoonJS.Ad.showFullScreen()}),
this.wu&&(CocoonJS.Store.onProductPurchaseCompleted.addEventListener(function(b){c.Ig=b.productId;c.b.trigger(U.prototype.m.er,c);CocoonJS.Store.addPurchase(b);CocoonJS.Store.finishPurchase(b.transactionId)}),CocoonJS.Store.onProductPurchaseFailed.addEventListener(function(b){c.Ig=b;c.b.trigger(U.prototype.m.fr,c)}),CocoonJS.Store.onProductPurchaseStarted.addEventListener(function(b){c.Ig=b.productId;c.b.trigger(U.prototype.m.hr,c)}),CocoonJS.Store.requestInitialization({managed:this.uu,sandbox:this.vu}),
CocoonJS.Store.start(),CocoonJS.Store.getProducts()),this.dd=CocoonJS.SocialGaming.GameCenter,this.qu=!!this.dd.nativeExtensionObjectAvailable,this.dd.onRequestLoginSucceed.addEventListener(function(){c.b.trigger(U.prototype.m.Kq,c)}),this.dd.onRequestLoginFailed.addEventListener(function(){c.b.trigger(U.prototype.m.Jq,c)}),this.dd.onLogout.addEventListener(function(){c.b.trigger(U.prototype.m.Lq,c)}),this.dd.onRequestUserScoreSucceed.addEventListener(function(){c.b.trigger(U.prototype.m.Mq,c)}),
this.dd.onRequestUserScoreFailed.addEventListener(function(){c.b.trigger(U.prototype.m.Pq,c)}),this.dd.onSubmitUserScoreSucceed.addEventListener(function(){c.b.trigger(U.prototype.m.Oq,c)}),this.dd.onSubmitUserScoreFailed.addEventListener(function(){c.b.trigger(U.prototype.m.Nq,c)}),this.dd.onLeaderboardViewSucceed.addEventListener(function(){c.b.trigger(U.prototype.m.Iq,c)}),this.dd.onLeaderboardViewClosed.addEventListener(function(){c.b.trigger(U.prototype.m.Hq,c)}))};d.prototype.yq=H(g);d.prototype.Gq=
H(g);d.prototype.Fq=H(g);d.prototype.hr=function(c){return this.Ig===c};d.prototype.er=function(c){return this.Ig===c};d.prototype.fr=function(c){return this.Ig===c};d.prototype.Vq=H(g);d.prototype.Wq=H(g);d.prototype.Kq=H(g);d.prototype.Jq=H(g);d.prototype.Lq=H(g);d.prototype.Mq=H(g);d.prototype.Pq=H(g);d.prototype.Oq=H(g);d.prototype.Nq=H(g);d.prototype.Iq=H(g);d.prototype.Hq=H(g);e.m=new d;e.n=new (z());e.W=new (z())})();function gc(d){this.b=d}
(function(){function d(){a||(a=g,f.trigger(gc.prototype.m.Kn,k),FB.api("/me",function(a){h=a.name;f.trigger(gc.prototype.m.Ln,k)}))}function e(){}var c=gc.prototype;c.H=function(a){this.ja=a;this.b=a.b};var b="",a=m,h="",f=l,k=l;c.H.prototype.B=z();c.F=function(a){this.type=a;this.b=a.b};var n=c.F.prototype;n.B=function(){this.b.La?ba("[Construct 2] Facebook plugin not supported on this platform - the object will not be created"):(b=this.A[0],f=this.b,k=this,window.fbAsyncInit=function(){var c=location.pathname;
"/"!==c.substr(c.length-1)&&(c=c.substr(0,c.lastIndexOf("/")+1));FB.init({appId:b,channelURL:"//"+location.hostname+c+"channel.html",status:g,cookie:g,oauth:g,xfbml:m});FB.Event.subscribe("auth.login",function(){d()});FB.Event.subscribe("auth.logout",function(){a&&(a=m,h="",f.trigger(gc.prototype.m.Yq,k))});FB.getLoginStatus(function(a){a.authResponse&&d()});f.trigger(gc.prototype.m.ir,k)},b.length&&function(a){var b;a.getElementById("facebook-jssdk")||(b=a.createElement("script"),b.id="facebook-jssdk",
b.async=g,b.src="//connect.facebook.net/en_US/all.js",a.getElementsByTagName("head")[0].appendChild(b))}(document))};n.Tj=function(){this.b.La||(a&&f.trigger(gc.prototype.m.Kn,k),h.length&&f.trigger(gc.prototype.m.Ln,k))};e.prototype.ir=H(g);e.prototype.Kn=H(g);e.prototype.Yq=H(g);e.prototype.Ln=H(g);c.m=new e;c.n=new (z());c.W=new (z())})();function hc(d){this.b=d}
(function(){function d(){}var e=hc.prototype;e.H=function(a){this.ja=a;this.b=a.b};e.H.prototype.B=z();e.F=function(a){this.type=a;this.b=a.b;this.hm=Array(256);this.Fk=Array(256);this.bf=0};var c=e.F.prototype;c.B=function(){var a=this;this.b.La||(jQuery(document).keydown(function(b){a.Im(b)}),jQuery(document).keyup(function(b){a.Jm(b)}))};var b=[32,33,34,35,36,37,38,39,40,44];c.Im=function(a){var c=m;window!=window.top&&-1<b.indexOf(a.which)&&(a.preventDefault(),c=g,a.stopPropagation());if(this.hm[a.which])this.Fk[a.which]&&
!c&&a.preventDefault();else{this.hm[a.which]=g;this.bf=a.which;this.b.trigger(hc.prototype.m.wq,this);var d=this.b.trigger(hc.prototype.m.In,this),e=this.b.trigger(hc.prototype.m.Sq,this);if(d||e)this.Fk[a.which]=g,c||a.preventDefault()}};c.Jm=function(a){this.hm[a.which]=m;this.bf=a.which;this.b.trigger(hc.prototype.m.xq,this);var b=this.b.trigger(hc.prototype.m.Uq,this),c=this.b.trigger(hc.prototype.m.Tq,this);if(b||c||this.Fk[a.which])this.Fk[a.which]=g,a.preventDefault()};c.Na=function(){return{triggerKey:this.bf}};
c.Za=function(a){this.bf=a.triggerKey};d.prototype.In=function(a){return a===this.bf};d.prototype.wq=H(g);d.prototype.xq=H(g);d.prototype.Uq=function(a){return a===this.bf};d.prototype.Sq=function(a){return a===this.bf};d.prototype.Tq=function(a){return a===this.bf};e.m=new d;e.n=new (z());e.W=new (z())})();function ic(d){this.b=d}
(function(){function d(a){this.J=a;this.gb=m;this.q=this.speed=this.y=this.x=0;this.opacity=1;this.te=this.fg=this.size=this.qj=0}var e=ic.prototype;e.H=function(a){this.ja=a;this.b=a.b};var c=e.H.prototype;c.B=function(){this.O||(this.M=new Image,this.M.src=this.oi,this.M.nl=this.xk,this.S=l,this.b.hd.push(this.M))};c.Ag=function(){this.O||(this.S=l)};c.Sh=function(){!this.O&&this.k.length&&!this.S&&(this.S=this.b.I.Me(this.M,g,this.b.Ga,this.Nf))};c.Kh=function(){!this.O&&(!this.S&&this.b.I)&&(this.S=
this.b.I.Me(this.M,g,this.b.Ga,this.Nf))};c.qi=function(){!this.O&&(!this.k.length&&this.S)&&(this.b.I.deleteTexture(this.S),this.S=l)};c.Yh=function(a){a.drawImage(this.M,0,0)};d.prototype.init=function(){var a=this.J;this.x=a.x-a.Jk/2+Math.random()*a.Jk;this.y=a.y-a.Kk/2+Math.random()*a.Kk;this.speed=a.Xl-a.uk/2+Math.random()*a.uk;this.q=a.q-a.vk/2+Math.random()*a.vk;this.opacity=a.Vl;this.size=a.Wl-a.tk/2+Math.random()*a.tk;this.qj=a.Pl-a.rj/2+Math.random()*a.rj;this.te=this.fg=0};d.prototype.ra=
function(a){var b=this.J;this.x+=Math.cos(this.q)*this.speed*a;this.y+=Math.sin(this.q)*this.speed*a;this.y+=this.fg*a;this.speed+=b.Oa*a;this.size+=this.qj*a;this.fg+=b.Ge*a;this.te+=a;1>this.size?this.gb=m:(0!==b.Gh&&(this.q+=Math.random()*b.Gh*a-b.Gh*a/2),0!==b.Ih&&(this.speed+=Math.random()*b.Ih*a-b.Ih*a/2),0!==b.Hh&&(this.opacity+=Math.random()*b.Hh*a-b.Hh*a/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=b.$f&&this.te>=b.timeout&&(this.gb=m),2===b.$f&&0>=this.speed&&(this.gb=
m))};d.prototype.Nb=function(a){var b=this.J.opacity*this.opacity;if(0!==b){0===this.J.$f&&(b*=1-this.te/this.J.timeout);a.globalAlpha=b;var b=this.x-this.size/2,c=this.y-this.size/2;this.J.b.vc&&(b=b+0.5|0,c=c+0.5|0);a.drawImage(this.J.type.M,b,c,this.size,this.size)}};d.prototype.Ab=function(a){var b=this.J.opacity*this.opacity;0===this.J.$f&&(b*=1-this.te/this.J.timeout);var c=this.size,d=c*this.J.Ep,e=this.x-c/2,p=this.y-c/2;this.J.b.vc&&(e=e+0.5|0,p=p+0.5|0);1>d||0===b||(d<a.Lt||d>a.Kt?(a.ge(b),
a.bi(e,p,e+c,p,e+c,p+c,e,p+c)):a.Ut(this.x,this.y,d,b))};d.prototype.left=function(){return this.x-this.size/2};d.prototype.right=function(){return this.x+this.size/2};d.prototype.top=function(){return this.y-this.size/2};d.prototype.bottom=function(){return this.y+this.size/2};e.F=function(a){this.type=a;this.b=a.b};var c=e.F.prototype,b=[];c.B=function(){var a=this.A;this.jk=a[0];this.vk=I(a[1]);this.Fg=a[2];this.qn=g;this.Xl=a[3];this.Wl=a[4];this.Vl=a[5]/100;this.Pl=a[6];this.Jk=a[7];this.Kk=
a[8];this.uk=a[9];this.tk=a[10];this.rj=a[11];this.Oa=a[12];this.Ge=a[13];this.Gh=a[14];this.Ih=a[15];this.Hh=a[16];this.$f=a[17];this.timeout=a[18];this.Gf=0;this.Ep=1;this.Yj=this.x;this.$j=this.y;this.Zj=this.x;this.Xj=this.y;this.Ir(function(a){a.ca.set(a.Yj,a.$j,a.Zj,a.Xj);a.tb.sk(a.ca);a.Oi=m});this.wc||(this.Ub=[]);this.b.je(this);this.type.Kh();if(1===this.Fg)for(a=0;a<this.jk;a++)this.bl().opacity=0;this.ij=g};c.Na=function(){var a={r:this.jk,sc:this.vk,st:this.Fg,s:this.qn,isp:this.Xl,isz:this.Wl,
io:this.Vl,gr:this.Pl,xr:this.Jk,yr:this.Kk,spr:this.uk,szr:this.tk,grnd:this.rj,acc:this.Oa,g:this.Ge,lar:this.Gh,lsr:this.Ih,lor:this.Hh,dm:this.$f,to:this.timeout,pcc:this.Gf,ft:this.ij,p:[]},b,c,d,e=a.p;b=0;for(c=this.Ub.length;b<c;b++)d=this.Ub[b],e.push([d.x,d.y,d.speed,d.q,d.opacity,d.qj,d.size,d.fg,d.te]);return a};c.Za=function(a){this.jk=a.r;this.vk=a.sc;this.Fg=a.st;this.qn=a.s;this.Xl=a.isp;this.Wl=a.isz;this.Vl=a.io;this.Pl=a.gr;this.Jk=a.xr;this.Kk=a.yr;this.uk=a.spr;this.tk=a.szr;this.rj=
a.grnd;this.Oa=a.acc;this.Ge=a.g;this.Gh=a.lar;this.Ih=a.lsr;this.Hh=a.lor;this.$f=a.dm;this.timeout=a.to;this.Gf=a.pcc;this.ij=a.ft;b.push.apply(b,this.Ub);this.Ub.length=0;var c,d,e,n=a.p;a=0;for(c=n.length;a<c;a++)d=this.bl(),e=n[a],d.x=e[0],d.y=e[1],d.speed=e[2],d.q=e[3],d.opacity=e[4],d.qj=e[5],d.size=e[6],d.fg=e[7],d.te=e[8]};c.be=function(){b.push.apply(b,this.Ub);this.Ub.length=0};c.bl=function(){var a;b.length?(a=b.pop(),a.J=this):a=new d(this);this.Ub.push(a);a.gb=g;return a};c.ra=function(){var a=
this.b.Vd(this),c,d,e,n;if(0===this.Fg&&this.qn){this.Gf+=a*this.jk;d=ka(this.Gf);this.Gf-=d;for(c=0;c<d;c++)e=this.bl(),e.init()}this.Yj=this.x;this.$j=this.y;this.Zj=this.x;this.Xj=this.y;n=c=0;for(d=this.Ub.length;c<d;c++)e=this.Ub[c],this.Ub[n]=e,this.b.da=g,1===this.Fg&&this.ij&&e.init(),e.ra(a),e.gb?(e.left()<this.Yj&&(this.Yj=e.left()),e.right()>this.Zj&&(this.Zj=e.right()),e.top()<this.$j&&(this.$j=e.top()),e.bottom()>this.Xj&&(this.Xj=e.bottom()),n++):b.push(e);this.Ub.length=n;this.R();
this.ij=m;1===this.Fg&&0===this.Ub.length&&this.b.ld(this)};c.Nb=function(a){var b,c,d,e=this.u;b=0;for(c=this.Ub.length;b<c;b++)d=this.Ub[b],d.right()>=e.Jb&&(d.bottom()>=e.Lb&&d.left()<=e.Kb&&d.top()<=e.Ib)&&d.Nb(a)};c.Ab=function(a){this.Ep=this.u.Ob();a.jc(this.type.S);var b,c,d,e=this.u;b=0;for(c=this.Ub.length;b<c;b++)d=this.Ub[b],d.right()>=e.Jb&&(d.bottom()>=e.Lb&&d.left()<=e.Kb&&d.top()<=e.Ib)&&d.Ab(a)};e.m=new (z());e.n=new (z());e.W=new (z())})();function W(d){this.b=d}
(function(){function d(){if(0===this.wl.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Gg?b.drawImage(this.M,this.yg,this.zg,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.M,0,0,this.width,this.height);this.wl=a.toDataURL("image/png")}return this.wl}function e(){}function c(a,b,c){var d=r.length?r.pop():[0,0];d[0]=b.uid;d[1]=c.uid;a.push(d)}function b(a,b,c){b=b.uid;var d=c.uid,e=0,f,h;c=0;for(f=a.length;c<
f;c++)h=a[c],h[0]===b&&h[1]===d||h[0]===d&&h[1]===b||(a[e][0]=a[c][0],a[e][1]=a[c][1],e++);for(c=e;c<f;c++)b=a[c],b[0]=0,b[1]=0,r.push(b);a.length=e}function a(a,b,c){b=b.uid;c=c.uid;var d,e,f;d=0;for(e=a.length;d<e;d++)if(f=a[d],f[0]===b&&f[1]===c||f[0]===c&&f[1]===b)return g;return m}function h(){}var f=W.prototype;f.H=function(a){this.ja=a;this.b=a.b};var k=f.H.prototype;k.B=function(){if(!this.O){var a,b,c,e,f,h,k,n,p;this.Xc=[];this.uj=m;a=0;for(b=this.lc.length;a<b;a++){f=this.lc[a];k={};k.name=
f[0];k.speed=f[1];k.loop=f[2];k.Ym=f[3];k.lk=f[4];k.Fp=f[5];k.ka=f[6];k.frames=[];c=0;for(e=f[7].length;c<e;c++)h=f[7][c],n={},n.oi=h[0],n.xk=h[1],n.yg=h[2],n.zg=h[3],n.width=h[4],n.height=h[5],n.duration=h[6],n.Pb=h[7],n.Qb=h[8],n.Ul=h[9],n.ck=h[10],n.Gp=h[11],n.Gg=0!==n.width,n.wl="",n.Qw=d,p={left:0,top:0,right:1,bottom:1},n.kn=p,n.S=l,(p=this.b.Ls(h[0]))?n.M=p:(n.M=new Image,n.M.src=h[0],n.M.Tr=h[0],n.M.nl=h[1],n.M.Or=l,this.b.hd.push(n.M)),k.frames.push(n),this.Xc.push(n);this.lc[a]=k}}};k.zu=
function(){var a,b,c;a=0;for(b=this.k.length;a<b;a++)c=this.k[a],c.Wi=c.Kc.S};k.Ag=function(){if(!this.O){var a,b,c;a=0;for(b=this.Xc.length;a<b;++a)c=this.Xc[a],c.M.Or=l,c.S=l}};k.Sh=function(){if(!this.O&&this.k.length){var a,b,c;a=0;for(b=this.Xc.length;a<b;++a)c=this.Xc[a],c.S=this.b.I.Me(c.M,m,this.b.Ga,c.Gp);this.zu()}};k.Kh=function(){if(!this.O&&!this.uj&&this.b.I){var a,b,c;a=0;for(b=this.Xc.length;a<b;++a)c=this.Xc[a],c.S=this.b.I.Me(c.M,m,this.b.Ga,c.Gp);this.uj=g}};k.qi=function(){if(!this.O&&
!this.k.length&&this.uj){var a,b,c;a=0;for(b=this.Xc.length;a<b;++a)c=this.Xc[a],this.b.I.deleteTexture(c.S);this.uj=m}};var n=[];k.Yh=function(a){var b,c,d;b=n.length=0;for(c=this.Xc.length;b<c;++b)d=this.Xc[b].M,-1===n.indexOf(d)&&(a.drawImage(d,0,0),n.push(d))};f.F=function(a){this.type=a;this.b=a.b;a=this.type.lc[0].frames[0].ck;this.wc?this.Ia.hi(a):this.Ia=new Sa(a)};var p=f.F.prototype;p.B=function(){this.visible=0===this.A[0];this.vj=this.vf=m;this.Qd=0!==this.A[3];!(1===this.type.lc.length&&
1===this.type.lc[0].frames.length)&&0!==this.type.lc[0].speed&&(this.b.je(this),this.vf=g);this.Xa=this.Do(this.A[1])||this.type.lc[0];this.P=this.A[2];0>this.P&&(this.P=0);this.P>=this.Xa.frames.length&&(this.P=this.Xa.frames.length-1);var a=this.Xa.frames[this.P];this.Ia.hi(a.ck);this.Pb=a.Pb;this.Qb=a.Qb;this.Zf=this.Xa.speed;this.ud=this.jh();this.Md=g;this.Nd=0;this.ve=g;this.kl=this.eo="";this.Rr=0;this.Xg=-1;this.type.Kh();var b,c,d,e,f,h,k,a=0;for(b=this.type.lc.length;a<b;a++){e=this.type.lc[a];
c=0;for(d=e.frames.length;c<d;c++)f=e.frames[c],0===f.width&&(f.width=f.M.width,f.height=f.M.height),f.Gg&&(k=f.M,h=f.kn,h.left=f.yg/k.width,h.top=f.zg/k.height,h.right=(f.yg+f.width)/k.width,h.bottom=(f.zg+f.height)/k.height,0===f.yg&&(0===f.zg&&f.width===k.width&&f.height===k.height)&&(f.Gg=m))}this.Kc=this.Xa.frames[this.P];this.Wi=this.Kc.S};p.Na=function(){var a={a:this.Xa.ka,f:this.P,cas:this.Zf,fs:this.ud,ar:this.Nd};this.Md||(a.ap=this.Md);this.ve||(a.af=this.ve);return a};p.Za=function(a){var b=
this.Ps(a.a);b&&(this.Xa=b);this.P=a.f;0>this.P&&(this.P=0);this.P>=this.Xa.frames.length&&(this.P=this.Xa.frames.length-1);this.Zf=a.cas;this.ud=a.fs;this.Nd=a.ar;this.Md=a.hasOwnProperty("ap")?a.ap:g;this.ve=a.hasOwnProperty("af")?a.af:g;this.Kc=this.Xa.frames[this.P];this.Wi=this.Kc.S;this.Ia.hi(this.Kc.ck);this.Pb=this.Kc.Pb;this.Qb=this.Kc.Qb};p.el=function(a){this.P=a?0:this.Xa.frames.length-1;this.Md=m;this.eo=this.Xa.name;this.vj=g;this.b.trigger(W.prototype.m.vq,this);this.b.trigger(W.prototype.m.uq,
this);this.vj=m;this.Nd=0};p.jh=function(){return(Date.now()-this.b.ki)/1E3};p.ra=function(){this.kl.length&&this.Yr();0<=this.Xg&&this.Al();var a=this.jh(),b=this.Xa,c=b.frames[this.P],d=c.duration/this.Zf,e=this.b.Ze;-1!==this.Ef&&(e=this.Ef);d/=0===e?1E-9:e;if(this.Md&&a>=this.ud+d){this.ve?this.P++:this.P--;this.ud+=d;this.P>=b.frames.length&&(b.Fp?(this.ve=m,this.P=b.frames.length-2):b.loop?this.P=b.lk:(this.Nd++,this.Nd>=b.Ym?this.el(m):this.P=b.lk));0>this.P&&(b.Fp?(this.P=1,this.ve=g,b.loop||
(this.Nd++,this.Nd>=b.Ym&&this.el(g))):b.loop?this.P=b.lk:(this.Nd++,this.Nd>=b.Ym?this.el(g):this.P=b.lk));0>this.P?this.P=0:this.P>=b.frames.length&&(this.P=b.frames.length-1);if(a>this.ud+b.frames[this.P].duration/this.Zf/(0===e?1E-9:e))this.ud=a;a=b.frames[this.P];this.Pg(c,a);this.b.da=g}};p.Do=function(a){var b,c,d=a.toLowerCase();a=0;for(b=this.type.lc.length;a<b;a++)if(c=this.type.lc[a],c.name.toLowerCase()===d)return c;return l};p.Ps=function(a){var b,c,d;b=0;for(c=this.type.lc.length;b<
c;b++)if(d=this.type.lc[b],d.ka===a)return d;return l};p.Yr=function(){var a=this.Xa.frames[this.P],b=this.Do(this.kl);this.kl="";b&&!(b.name.toLowerCase()===this.Xa.name.toLowerCase()&&this.Md)&&(this.Xa=b,this.Zf=b.speed,0>this.P&&(this.P=0),this.P>=this.Xa.frames.length&&(this.P=this.Xa.frames.length-1),1===this.Rr&&(this.P=0),this.Md=g,this.ud=this.jh(),this.ve=g,this.Pg(a,this.Xa.frames[this.P]),this.b.da=g)};p.Al=function(){var a=this.Xa.frames[this.P],b=this.P;this.P=ka(this.Xg);0>this.P&&
(this.P=0);this.P>=this.Xa.frames.length&&(this.P=this.Xa.frames.length-1);b!==this.P&&(this.Pg(a,this.Xa.frames[this.P]),this.ud=this.jh(),this.b.da=g);this.Xg=-1};p.Pg=function(a,b){var c=a.width,d=a.height,e=b.width,f=b.height;c!=e&&(this.width*=e/c);d!=f&&(this.height*=f/d);this.Pb=b.Pb;this.Qb=b.Qb;this.Ia.hi(b.ck);this.R();this.Kc=b;this.Wi=b.S;c=0;for(d=this.fa.length;c<d;c++)e=this.fa[c],e.wp&&e.wp(a,b);this.b.trigger(W.prototype.m.Pg,this)};p.Nb=function(a){a.globalAlpha=this.opacity;var b=
this.Kc,c=b.Gg,d=b.M,e=this.x,f=this.y,h=this.width,k=this.height;if(0===this.q&&0<=h&&0<=k)e-=this.Pb*h,f-=this.Qb*k,this.b.vc&&(e=e+0.5|0,f=f+0.5|0),c?a.drawImage(d,b.yg,b.zg,b.width,b.height,e,f,h,k):a.drawImage(d,e,f,h,k);else{this.b.vc&&(e=e+0.5|0,f=f+0.5|0);a.save();var n=0<h?1:-1,p=0<k?1:-1;a.translate(e,f);(1!==n||1!==p)&&a.scale(n,p);a.rotate(this.q*n*p);e=0-this.Pb*ga(h);f=0-this.Qb*ga(k);c?a.drawImage(d,b.yg,b.zg,b.width,b.height,e,f,ga(h),ga(k)):a.drawImage(d,e,f,ga(h),ga(k));a.restore()}};
p.Ab=function(a){a.jc(this.Wi);a.ge(this.opacity);var b=this.Kc,c=this.tb;if(this.b.vc){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.Gg?a.bd(c.Aa+d,c.Ba+e,c.ab+d,c.bb+e,c.Ta+d,c.Ua+e,c.Ra+d,c.Sa+e,b.kn):a.bi(c.Aa+d,c.Ba+e,c.ab+d,c.bb+e,c.Ta+d,c.Ua+e,c.Ra+d,c.Sa+e)}else b.Gg?a.bd(c.Aa,c.Ba,c.ab,c.bb,c.Ta,c.Ua,c.Ra,c.Sa,b.kn):a.bi(c.Aa,c.Ba,c.ab,c.bb,c.Ta,c.Ua,c.Ra,c.Sa)};p.Us=function(a){var b=this.Kc,c,d;c=0;for(d=b.Ul.length;c<d;c++)if(a.toLowerCase()===b.Ul[c][0].toLowerCase())return c;
return-1};p.hh=function(a,b){var c=this.Kc,d=c.Ul,e;e=ea(a)?this.Us(a):a-1;e=ka(e);if(0>e||e>=d.length)return b?this.x:this.y;var f=(d[e][1]-c.Pb)*this.width,d=d[e][2],d=(d-c.Qb)*this.height,c=Math.cos(this.q);e=Math.sin(this.q);var h=f*c-d*e,d=d*c+f*e,f=h+this.x,d=d+this.y;return b?f:d};var r=[];e.prototype.pe=function(d){if(!d)return m;var e=this.b,f=e.Jl(),h=f.type;f.X.Yg||(f.X.Yg=[],e.$n(function(a){return function(b){var c=0,d,e,f=b.uid;b=0;for(d=a.length;b<d;b++)e=a[b],e[0]!==f&&e[1]!==f&&(a[c][0]=
a[b][0],a[c][1]=a[b][1],c++);for(b=c;b<d;b++)e=a[b],e[0]=0,e[1]=0,r.push(e);a.length=c}}(f.X.Yg)));var k=h.la(),n=d.la(),k=k.Ac(),n=n.Ac(),p,q,s,A,x,v,E=e.Fb().ac;for(p=0;p<k.length;p++){q=k[p];for(s=0;s<n.length;s++)A=n[s],e.Lf(q,A)||e.Sr(q,A)?a(f.X.Yg,q,A)||(c(f.X.Yg,q,A),e.hk(E.Ha),x=h.la(),v=d.la(),x.wa=m,v.wa=m,h===d?(x.k.length=2,x.k[0]=q,x.k[1]=A,h.we()):(x.k.length=1,v.k.length=1,x.k[0]=q,v.k[0]=A,h.we(),d.we()),E.eu(),e.Hf(E.Ha)):b(f.X.Yg,q,A)}return m};var s=new La,q=m;k.finish=function(a){if(q){if(a){var b=
this.b.Fb().ac.$c;a=l.la();var c=s.me(),d,e;if(a.wa){a.wa=m;a.k.length=c.length;d=0;for(e=c.length;d<e;d++)a.k[d]=c[d];if(b){d=a.Ja.length=0;for(e=l.k.length;d<e;d++)b=l.k[d],s.contains(b)||a.Ja.push(b)}}else{var f=a.k.length;a.k.length=f+c.length;d=0;for(e=c.length;d<e;d++)a.k[f+d]=c[d],b&&ra(a.Ja,c[d])}l.we()}s.clear();q=m}};e.prototype.Gn=function(a,b){return bc(this.P,a,b)};e.prototype.uq=function(a){return this.eo.toLowerCase()===a.toLowerCase()};e.prototype.vq=H(g);e.prototype.Pg=H(g);f.m=new e;
h.prototype.Ii=function(a,b,c){if(a&&b&&(b=this.b.ol(a,b,this.hh(c,g),this.hh(c,m)))){"undefined"!==typeof b.q&&(b.q=this.q,b.R());this.b.Dc++;var d,e,f;this.b.trigger(Object.getPrototypeOf(a.ja).m.Og,b);if(b.gc){d=0;for(e=b.siblings.length;d<e;d++)f=b.siblings[d],this.b.trigger(Object.getPrototypeOf(f.type.ja).m.Og,f)}this.b.Dc--;d=this.b.Rs();c=m;if(ca(d.X.Sn)||d.X.Sn<this.b.pf)c=g,d.X.Sn=this.b.pf;if(a!=this.type&&(a=a.la(),a.wa=m,c?(a.k.length=1,a.k[0]=b):a.k.push(b),b.gc)){d=0;for(e=b.siblings.length;d<
e;d++)f=b.siblings[d],a=f.type.la(),a.wa=m,c?(a.k.length=1,a.k[0]=f):a.k.push(f)}}};h.prototype.Br=function(){this.Md=m};h.prototype.Vk=function(a){this.Md=g;this.ud=this.jh();1===a&&0!==this.P&&(this.Xg=0,this.vj||this.Al());this.vf||(this.b.je(this),this.vf=g)};h.prototype.nr=function(a){this.Xg=a;this.vf||(this.b.je(this),this.vf=g);this.vj||this.Al()};h.prototype.Tf=function(a){this.Zf=ga(a);this.ve=0<=a;this.vf||(this.b.je(this),this.vf=g)};h.prototype.or=function(a){this.Qd=0!==a};f.n=new h;
f.W=new (z())})();function jc(d){this.b=d}
(function(){function d(a,b,c){if(c){var d;c=0;for(d=b.length;c<d;c++)a.length<f&&a.push(b[c]);b.length=0}else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a.length<f&&a.push(b[d]),delete b[d])}function e(a,b,c){var d=a.Rb;c=c.replace(/\s\s*$/,"");b>=d.length&&d.push(k.length?k.pop():{});b=d[b];b.text=c;b.width=a.ym(c);a.ie=ha(a.ie,b.width)}function c(){}function b(){}var a=jc.prototype;a.B=z();a.H=function(a){this.ja=a;this.b=a.b};var h=a.H.prototype;h.B=function(){this.O||(this.M=new Image,
this.M.src=this.oi,this.b.hd.push(this.M),this.S=l)};h.Ag=function(){this.O||(this.S=l)};h.Sh=function(){if(!this.O&&this.k.length){this.S||(this.S=this.b.I.Me(this.M,m,this.b.Ga,this.Nf));var a,b;a=0;for(b=this.k.length;a<b;a++)this.k[a].S=this.S}};h.qi=function(){!this.O&&(!this.k.length&&this.S)&&(this.b.I.deleteTexture(this.S),this.S=l)};h.Yh=function(a){a.drawImage(this.M,0,0)};a.F=function(a){this.type=a;this.b=a.b};h=a.F.prototype;h.be=function(){d(k,this.Rb,g);d(n,this.Ti,m);d(p,this.Ui,m);
Ia(this.Be)};h.B=function(){this.M=this.type.M;this.Si=this.A[0];this.ze=this.A[1];this.characterSet=this.A[2];this.text=this.A[3];this.Ae=this.A[4];this.visible=0===this.A[5];this.qf=this.A[6]/2;this.Pf=this.A[7]/2;this.wi=0===this.A[9];this.Xf=this.A[10];this.lineHeight=this.A[11];this.Ed=this.ie=0;this.wc?(this.Rb.length=0,Ia(this.Ti),Ia(this.Ui),Ia(this.Be)):(this.Rb=[],this.Ti={},this.Ui={},this.Be={});this.Gc=g;this.Af=this.width;this.b.I&&(this.type.S||(this.type.S=this.b.I.Me(this.type.M,
m,this.b.Ga,this.type.Nf)),this.S=this.type.S);this.tr()};h.Na=function(){var a={t:this.text,csc:this.Ae,csp:this.Xf,lh:this.lineHeight,tw:this.ie,th:this.Ed,lrt:this.xf,cw:{}},b;for(b in this.Be)a.cw[b]=this.Be[b];return a};h.Za=function(a){this.text=a.t;this.Ae=a.csc;this.Xf=a.csp;this.lineHeight=a.lh;this.ie=a.tw;this.Ed=a.th;this.xf=a.lrt;for(var b in a.cw)this.Be[b]=a.cw[b];this.Gc=g;this.Af=this.width};var f=1E3,k=[],n=[],p=[];h.tr=function(){for(var a=this.M,b=a.width,c=a.height,a=this.Si,
d=this.ze,e=a/b,f=d/c,h=this.characterSet,b=Math.floor(b/a),c=Math.floor(c/d),k=0;k<h.length&&!(k>=b*c);k++){var r=k%b,s=Math.floor(k/b),A=h.charAt(k);if(this.b.I){var x=this.Ui,v=r*e,E=s*f,r=(r+1)*e,s=(s+1)*f;x[A]===aa&&(x[A]=p.length?p.pop():new ma);x[A].left=v;x[A].top=E;x[A].right=r;x[A].bottom=s}else x=this.Ti,r*=a,s*=d,v=a,E=d,x[A]===aa&&(x[A]=n.length?n.pop():{}),x[A].x=r,x[A].y=s,x[A].pq=v,x[A].Mo=E}};var r=[];a.Xk=function(a){r.length=0;for(var b="",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===
c)b.length&&(r.push(b),b=""),r.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));r.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&r.push(b)};a.Zk=function(a){var b=a.text,c=a.Rb;if(!b||!b.length)d(k,c,g);else{var e=a.width;if(2>=e)d(k,c,g);else{var f=a.Ae,h=a.Xf;if(b.length*(a.Si*f+h)-h<=e&&-1===b.indexOf("\n")&&(h=a.ym(b),h<=e)){d(k,c,g);c.push(k.length?k.pop():{});c[0].text=b;c[0].width=h;a.ie=h;a.Ed=a.ze*f+a.lineHeight;
return}this.$k(a);a.Ed=c.length*(a.ze*f+a.lineHeight)}}};a.$k=function(a){var b=a.wi,c=a.text,d=a.Rb,h=a.width;b&&(this.Xk(c),c=r);var n="",p,s,F,J=0,A=m;for(F=0;F<c.length;F++)"\n"===c[F]?(A===g?A=m:(e(a,J,n),J++),n=""):(A=m,p=n,n+=c[F],s=a.ym(n.replace(/\s\s*$/,"")),s>h&&(""===p?(e(a,J,n),n="",A=g):(e(a,J,p),n=c[F]),J++,!b&&" "===n&&(n="")));n.replace(/\s\s*$/,"").length&&(e(a,J,n),J++);for(F=J;F<d.length;F++)k.length<f&&k.push(d[F]);d.length=J};h.ym=function(a){for(var b=this.Xf,c=a.length,d=0,
e=0;e<c;e++)d+=this.gh(a.charAt(e))*this.Ae+b;return d-(0<d?b:0)};h.gh=function(a){var b=this.Be;return b[a]!==aa?b[a]:this.Si};h.Np=function(){if(this.Gc||this.width!==this.Af)this.Ed=this.ie=0,this.type.ja.Zk(this),this.Gc=m,this.Af=this.width};h.Nb=function(a){var b=this.M;if(""!==this.text&&b!=l&&(this.Np(),!(this.height<this.ze*this.Ae+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.b.vc&&(b=b+0.5|0,c=c+0.5|0);a.save();a.translate(b,c);a.rotate(this.q);for(var b=this.qf,
c=this.Ae,d=this.ze*c,e=this.lineHeight,f=this.Xf,h=this.Rb,k,n=-(this.Pb*this.width),p=-(this.Qb*this.height),p=p+this.Pf*ha(0,this.height-this.Ed),r=0;r<h.length;r++){var s=h[r].text;k=b*ha(0,this.width-h[r].width);k=n+k;for(var p=p+e,v=0;v<s.length;v++){var E=s.charAt(v),D=this.Ti[E];if(k+this.gh(E)*c>this.width+1E-5)break;D!==aa&&a.drawImage(this.M,D.x,D.y,D.pq,D.Mo,Math.round(k),Math.round(p),D.pq*c,D.Mo*c);k+=this.gh(E)*c+f}p+=d;if(p+d+e>this.height)break}a.restore()}};var s=new na;h.Ab=function(a){a.jc(this.S);
a.ge(this.opacity);if(""!==this.text&&(this.Np(),!(this.height<this.ze*this.Ae+this.lineHeight))){this.sb();var b=this.tb,c=0,d=0;this.b.vc&&(c=(this.x+0.5|0)-this.x,d=(this.y+0.5|0)-this.y);var e=this.q,f=this.qf,h=this.Pf,k=this.Ae,n=this.ze*k,p=this.lineHeight,r=this.Xf,x=this.Rb,v=this.Ed,E,D;0!==e&&(E=Math.cos(e),D=Math.sin(e));for(var O,c=b.Aa+c,b=b.Ba+d,h=h*ha(0,this.height-v),v=0;v<x.length;v++){d=x[v].text;O=f*ha(0,this.width-x[v].width);for(var h=h+p,R=0;R<d.length;R++){var Y=d.charAt(R),
L=this.Ui[Y];if(O+this.gh(Y)*k>this.width+1E-5)break;if(L!==aa){var G=this.Si*k,P=this.ze*k;s.Aa=O;s.Ba=h;s.ab=O+G;s.bb=h;s.Ra=O;s.Sa=h+P;s.Ta=O+G;s.Ua=h+P;if(0!==e){var G=s,P=E,V=D,Q=aa,Q=G.Aa*P-G.Ba*V;G.Ba=G.Ba*P+G.Aa*V;G.Aa=Q;Q=G.ab*P-G.bb*V;G.bb=G.bb*P+G.ab*V;G.ab=Q;Q=G.Ra*P-G.Sa*V;G.Sa=G.Sa*P+G.Ra*V;G.Ra=Q;Q=G.Ta*P-G.Ua*V;G.Ua=G.Ua*P+G.Ta*V;G.Ta=Q}s.offset(c,b);a.bd(s.Aa,s.Ba,s.ab,s.bb,s.Ta,s.Ua,s.Ra,s.Sa,L)}O+=this.gh(Y)*k+r}h+=n;if(h+n+p>this.height)break}}};a.m=new (z());c.prototype.re=function(a){da(a)&&
1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Gc=g,this.b.da=g)};h.jw=function(a,b){var c=parseInt(b,10);this.Be[a]!==c&&(this.Be[a]=c,this.Gc=g,this.b.da=g)};a.n=new c;b.prototype.Un=function(a){a.G(this.text)};a.W=new b})();function Z(d){this.b=d}
(function(){function d(){return k.length?k.pop():{}}function e(a){var b,c;b=0;for(c=a.length;b<c;b++)k.push(a[b]);a.length=0}function c(){}function b(){}var a=Z.prototype;a.B=function(){a.n.rr=function(a){this.width!==a&&(this.width=a,this.Gc=g,this.R())}};a.H=function(a){this.ja=a;this.b=a.b};var h=a.H.prototype;h.B=z();h.Ag=function(){if(!this.O){var a,b,c;a=0;for(b=this.k.length;a<b;a++)c=this.k[a],c.vd=l,c.Ff=l,c.pc=l}};a.F=function(a){this.type=a;this.b=a.b;this.wc?this.Rb.length=0:this.Rb=[];
this.Gc=g};h=a.F.prototype;h.B=function(){this.text=this.A[0];this.visible=0===this.A[1];this.font=this.A[2];this.color=this.A[3];this.qf=this.A[4];this.Pf=this.A[5];this.wi=0===this.A[7];this.Af=this.zf=this.width;this.yf=this.height;this.om=this.A[8];this.jj=this.bg="";var a=this.font.split(" ");this.Ed=this.ie=this.$h=0;var b;for(b=0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.$h=parseInt(a[b].substr(0,a[b].length-2));this.Um=Math.ceil(96*(this.$h/72))+4;0<b&&(this.jj=a[b-1]);this.bg=
a[b+1];for(b+=2;b<a.length;b++)this.bg+=" "+a[b];break}this.pc=this.Ff=this.vd=l;this.rp=m;this.xf=this.b.gd;this.wc?this.Pe.set(0,0,1,1):this.Pe=new ma(0,0,1,1);this.b.I&&this.b.je(this)};h.Na=function(){return{t:this.text,f:this.font,c:this.color,ha:this.qf,va:this.Pf,wr:this.wi,lho:this.om,fn:this.bg,fs:this.jj,ps:this.$h,pxh:this.Um,tw:this.ie,th:this.Ed,lrt:this.xf}};h.Za=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.qf=a.ha;this.Pf=a.va;this.wi=a.wr;this.om=a.lho;this.bg=a.fn;
this.jj=a.fs;this.$h=a.ps;this.Um=a.pxh;this.ie=a.tw;this.Ed=a.th;this.xf=a.lrt;this.Gc=g;this.Af=this.zf=this.width;this.yf=this.height};h.ra=function(){if(this.b.I&&this.pc&&300<=this.b.gd-this.xf){var a=this.u;this.sb();var b=this.ca;if(b.right<a.Jb||b.bottom<a.Lb||b.left>a.Kb||b.top>a.Ib)this.b.I.deleteTexture(this.pc),this.vd=this.Ff=this.pc=l}};h.be=function(){this.vd=this.Ff=l;this.b.I&&this.pc&&this.b.I.deleteTexture(this.pc);this.pc=l};h.gx=function(){this.font=this.jj+" "+this.$h.toString()+
"pt "+this.bg;this.Gc=g;this.b.da=g};h.Nb=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var c=1;b&&(c=this.u.Ob(),a.save(),a.scale(c,c));if(this.Gc||this.width!==this.Af)this.type.ja.Zk(this.text,this.Rb,a,this.width,this.wi),this.Gc=m,this.Af=this.width;this.sb();var c=b?0:this.tb.Aa,d=b?0:this.tb.Ba;this.b.vc&&(c=c+0.5|0,d=d+0.5|0);0!==this.q&&!b&&(a.save(),a.translate(c,d),a.rotate(this.q),d=c=0);var e=d+this.height,f=this.Um,f=f+this.om*
this.b.devicePixelRatio,h,k;1===this.Pf?d+=Math.max(this.height/2-this.Rb.length*f/2,0):2===this.Pf&&(d+=Math.max(this.height-this.Rb.length*f-2,0));for(k=0;k<this.Rb.length&&!(h=c,1===this.qf?h=c+(this.width-this.Rb[k].width)/2:2===this.qf&&(h=c+(this.width-this.Rb[k].width)),a.fillText(this.Rb[k].text,h,d),d+=f,d>=e-f);k++);(0!==this.q||b)&&a.restore();this.xf=this.b.gd};h.Ab=function(a){if(!(1>this.width||1>this.height)){var b=this.Gc||this.rp;this.rp=m;var c=this.u.Ob(),d=this.u.cc(),e=this.Pe,
f=c*this.width,h=c*this.height,k=Math.ceil(f),u=Math.ceil(h),B=this.b.width/2,M=this.b.height/2;this.Ff||(this.vd=document.createElement("canvas"),this.vd.width=k,this.vd.height=u,this.zf=k,this.yf=u,b=g,this.Ff=this.vd.getContext("2d"));if(k!==this.zf||u!==this.yf)this.vd.width=k,this.vd.height=u,this.pc&&(a.deleteTexture(this.pc),this.pc=l),b=g;b&&(this.Ff.clearRect(0,0,k,u),this.Nb(this.Ff,g),this.pc||(this.pc=a.Rd(k,u,this.b.Ga,this.b.He)),a.Gu(this.vd,this.pc,this.b.He));this.zf=k;this.yf=u;
a.jc(this.pc);a.ge(this.opacity);a.zd();a.translate(-B,-M);a.Gd();var K=this.tb,b=this.u.Ea(K.Aa,K.Ba,g),B=this.u.Ea(K.Aa,K.Ba,m),M=this.u.Ea(K.ab,K.bb,g),F=this.u.Ea(K.ab,K.bb,m),J=this.u.Ea(K.Ta,K.Ua,g),A=this.u.Ea(K.Ta,K.Ua,m),x=this.u.Ea(K.Ra,K.Sa,g),K=this.u.Ea(K.Ra,K.Sa,m);if(this.b.vc||0===this.q&&0===d)var v=(b+0.5|0)-b,E=(B+0.5|0)-B,b=b+v,B=B+E,M=M+v,F=F+E,J=J+v,A=A+E,x=x+v,K=K+E;0===this.q&&0===d?(M=b+k,F=B,J=M,A=B+u,x=b,K=A,e.right=1,e.bottom=1):(e.right=f/k,e.bottom=h/u);a.bd(b,B,M,F,
J,A,x,K,e);a.zd();a.scale(c,c);a.$m(-this.u.cc());a.translate((this.u.Jb+this.u.Kb)/-2,(this.u.Lb+this.u.Ib)/-2);a.Gd();this.xf=this.b.gd}};var f=[];a.Xk=function(a){f.length=0;for(var b="",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(f.push(b),b=""),f.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));f.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&f.push(b)};var k=[];a.Zk=function(a,b,c,f,h){if(!a||!a.length)e(b);
else if(2>=f)e(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var k=c.measureText(a).width;if(k<=f){e(b);b.push(d());b[0].text=a;b[0].width=k;return}}this.$k(a,b,c,f,h)}};a.$k=function(a,b,c,e,h){h&&(this.Xk(a),a=f);var y="",w,t,u,B=0;for(u=0;u<a.length;u++)"\n"===a[u]?(B>=b.length&&b.push(d()),t=b[B],t.text=y,t.width=c.measureText(y).width,B++,y=""):(w=y,y+=a[u],t=c.measureText(y).width,t>=e&&(B>=b.length&&b.push(d()),t=b[B],t.text=w,t.width=c.measureText(w).width,B++,y=a[u],!h&&" "===y&&(y="")));
y.length&&(B>=b.length&&b.push(d()),t=b[B],t.text=y,t.width=c.measureText(y).width,B++);for(u=B;u<b.length;u++)k.push(b[u]);b.length=B};a.m=new (z());c.prototype.re=function(a){da(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Gc=g,this.b.da=g)};a.n=new c;b.prototype.Un=function(a){a.G(this.text)};a.W=new b})();function kc(d){this.b=d}
(function(){var d=kc.prototype;d.H=function(c){this.ja=c;this.b=c.b};var e=d.H.prototype;e.B=function(){this.O||(this.M=new Image,this.M.src=this.oi,this.M.nl=this.xk,this.b.hd.push(this.M),this.S=this.pattern=l)};e.Ag=function(){this.O||(this.S=l)};e.Sh=function(){if(!this.O&&this.k.length){this.S||(this.S=this.b.I.Me(this.M,g,this.b.Ga,this.Nf));var c,b;c=0;for(b=this.k.length;c<b;c++)this.k[c].S=this.S}};e.Kh=function(){!this.O&&(!this.S&&this.b.I)&&(this.S=this.b.I.Me(this.M,g,this.b.Ga,this.Nf))};
e.qi=function(){!this.O&&(!this.k.length&&this.S)&&(this.b.I.deleteTexture(this.S),this.S=l)};e.Yh=function(c){c.drawImage(this.M,0,0)};d.F=function(c){this.type=c;this.b=c.b};e=d.F.prototype;e.B=function(){this.visible=0===this.A[0];this.Pe=new ma(0,0,0,0);this.Po=m;this.M=this.type.M;this.b.I?(this.type.Kh(),this.S=this.type.S):(this.type.pattern||(this.type.pattern=this.b.Ca.createPattern(this.type.M,"repeat")),this.pattern=this.type.pattern)};e.Sg=function(){this.Po=m;this.M=this.type.M};e.be=
function(){this.b.I&&(this.Po&&this.S)&&(this.b.I.deleteTexture(this.S),this.S=l)};e.Nb=function(c){c.globalAlpha=this.opacity;c.save();c.fillStyle=this.pattern;var b=this.x,a=this.y;this.b.vc&&(b=b+0.5|0,a=a+0.5|0);var d=-(this.Pb*this.width),e=-(this.Qb*this.height),k=d%this.M.width,n=e%this.M.height;0>k&&(k+=this.M.width);0>n&&(n+=this.M.height);c.translate(b,a);c.rotate(this.q);c.translate(k,n);c.fillRect(d-k,e-n,this.width,this.height);c.restore()};e.Ab=function(c){c.jc(this.S);c.ge(this.opacity);
var b=this.Pe;b.right=this.width/this.M.width;b.bottom=this.height/this.M.height;var a=this.tb;if(this.b.vc){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;c.bd(a.Aa+d,a.Ba+e,a.ab+d,a.bb+e,a.Ta+d,a.Ua+e,a.Ra+d,a.Sa+e,b)}else c.bd(a.Aa,a.Ba,a.ab,a.bb,a.Ta,a.Ua,a.Ra,a.Sa,b)};d.m=new (z());d.n=new (z());d.W=new (z())})();function lc(d){this.b=d}
(function(){function d(a){k=a.x;n=a.y;p=a.qq}function e(a){r=a.x;s=a.y;q=a.qq}function c(){}function b(){}var a=lc.prototype;a.H=function(a){this.ja=a;this.b=a.b};a.H.prototype.B=z();a.F=function(a){this.type=a;this.b=a.b;this.touches=[];this.zm=m};var h=a.F.prototype,f={left:0,top:0};h.dh=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var k=0,n=0,p=0,r=0,s=0,q=0;h.B=function(){this.Et=!!("undefined"!==typeof window.c2isWindows8&&window.c2isWindows8);
this.Bk=this.cf=this.sl=this.rl=this.Yn=this.Xn=this.Wn=this.Gr=this.Fr=this.Er=this.Vh=this.Uh=this.Th=0;this.Du=0!==this.A[0];var a=0<this.b.yc?document:this.b.canvas,b=document;this.b.Cc?b=a=window.Canvas:this.b.Bc&&(b=a=window);var c=this;window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.Om(a)},m),a.addEventListener("MSPointerMove",function(a){c.Nm(a)},m),b.addEventListener("MSPointerUp",function(a){c.Rh(a)},m),b.addEventListener("MSPointerCancel",function(a){c.Rh(a)},
m),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},m),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},m))):(a.addEventListener("touchstart",function(a){c.Vj(a)},m),a.addEventListener("touchmove",function(a){c.Uj(a)},m),b.addEventListener("touchend",function(a){c.Bg(a)},m),b.addEventListener("touchcancel",function(a){c.Bg(a)},m));if(this.Et){var f=function(a){a=a.reading;c.Wn=a.accelerationX;c.Xn=a.accelerationY;c.Yn=a.accelerationZ},
h=function(a){a=a.reading;c.Th=a.yawDegrees;c.Uh=a.pitchDegrees;c.Vh=a.rollDegrees},k=Windows.Devices.Sensors.Accelerometer.getDefault();k&&(k.reportInterval=Math.max(k.minimumReportInterval,16),k.addEventListener("readingchanged",f));var n=Windows.Devices.Sensors.Inclinometer.getDefault();n&&(n.reportInterval=Math.max(n.minimumReportInterval,16),n.addEventListener("readingchanged",h));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(k&&k.removeEventListener("readingchanged",
f),n&&n.removeEventListener("readingchanged",h)):(k&&k.addEventListener("readingchanged",f),n&&n.addEventListener("readingchanged",h))},m)}else window.addEventListener("deviceorientation",function(a){c.Th=a.alpha||0;c.Uh=a.beta||0;c.Vh=a.gamma||0},m),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Er=a.accelerationIncludingGravity.x,c.Fr=a.accelerationIncludingGravity.y,c.Gr=a.accelerationIncludingGravity.z);a.acceleration&&(c.Wn=a.acceleration.x,c.Xn=a.acceleration.y,
c.Yn=a.acceleration.z)},m);this.Du&&!this.b.La&&(jQuery(document).mousemove(function(a){c.Lm(a)}),jQuery(document).mousedown(function(a){c.Km(a)}),jQuery(document).mouseup(function(a){c.Mm(a)}));this.b.hg&&!this.b.Cc&&AppMobi.accelerometer.watchAcceleration(d,{frequency:40,adjustForRotation:g});this.b.uf&&navigator.accelerometer.watchAcceleration(e,l,{frequency:40});this.b.yu(this)};h.Nm=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.dh(a.pointerId),
c=Ja();if(0<=b){var d=this.b.La?f:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||(b.Ij=b.time,b.Ke=b.x,b.Le=b.y,b.time=c,b.x=a.pageX-d.left,b.y=a.pageY-d.top)}}};h.Om=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.b.La?f:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top,d=Ja();this.cf=this.touches.length;this.Bk=a.pointerId;this.touches.push({time:d,x:c,y:b,Ij:d,Ke:c,Le:b,id:a.pointerId,sn:this.cf});this.b.trigger(lc.prototype.m.Nn,
this);this.b.trigger(lc.prototype.m.Qn,this);this.rl=c;this.sl=b;this.b.trigger(lc.prototype.m.Pn,this)}};h.Rh=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.dh(a.pointerId),this.cf=0<=a?this.touches[a].sn:-1,this.Bk=0<=a?this.touches[a].id:-1,this.b.trigger(lc.prototype.m.Mn,this),this.b.trigger(lc.prototype.m.On,this),0<=a&&this.touches.splice(a,1))};h.Uj=function(a){a.preventDefault&&a.preventDefault();var b=Ja(),c,d,e,h;c=0;for(d=a.changedTouches.length;c<
d;c++)if(e=a.changedTouches[c],h=this.dh(e.identifier),0<=h){var k=this.b.La?f:jQuery(this.b.canvas).offset();h=this.touches[h];2>b-h.time||(h.Ij=h.time,h.Ke=h.x,h.Le=h.y,h.time=b,h.x=e.pageX-k.left,h.y=e.pageY-k.top)}};h.Vj=function(a){a.preventDefault&&a.preventDefault();var b=this.b.La?f:jQuery(this.b.canvas).offset(),c=Ja(),d,e,h,k;d=0;for(e=a.changedTouches.length;d<e;d++)if(h=a.changedTouches[d],k=this.dh(h.identifier),-1===k){k=h.pageX-b.left;var n=h.pageY-b.top;this.cf=this.touches.length;
this.Bk=h.identifier;this.touches.push({time:c,x:k,y:n,Ij:c,Ke:k,Le:n,id:h.identifier,sn:this.cf});this.b.trigger(lc.prototype.m.Nn,this);this.b.trigger(lc.prototype.m.Qn,this);this.rl=k;this.sl=n;this.b.trigger(lc.prototype.m.Pn,this)}};h.Bg=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=this.dh(d.identifier),this.cf=0<=d?this.touches[d].sn:-1,this.Bk=0<=d?this.touches[d].id:-1,this.b.trigger(lc.prototype.m.Mn,this),this.b.trigger(lc.prototype.m.On,
this),0<=d&&this.touches.splice(d,1)};h.Ow=function(){return this.b.hg&&0===this.Th&&0!==p?90*p:this.b.uf&&0===this.Th&&0!==q?90*q:this.Th};h.Pw=function(){return this.b.hg&&0===this.Uh&&0!==n?-90*n:this.b.uf&&0===this.Uh&&0!==s?-90*s:this.Uh};h.Rw=function(){return this.b.hg&&0===this.Vh&&0!==k?90*k:this.b.uf&&0===this.Vh&&0!==r?90*r:this.Vh};h.Km=function(a){a.preventDefault&&this.b.sj&&a.preventDefault();this.Vj({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.zm=g};h.Lm=function(a){a.preventDefault&&
this.b.sj&&a.preventDefault();this.zm&&this.Uj({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};h.Mm=function(a){a.preventDefault&&this.b.sj&&a.preventDefault();this.b.sj=g;this.Bg({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.zm=m};h.pi=function(){var a,b,c,d=Ja();a=0;for(b=this.touches.length;a<b;a++)c=this.touches[a],c.time<=d-50&&(c.Ij=d)};c.prototype.Qn=H(g);c.prototype.On=H(g);c.prototype.Pn=function(a){return!a?m:this.b.xu(a,this.rl,this.sl)};c.prototype.Ci=
function(a){if(!a)return m;a=a.la();var b=a.Ac(),c,d,e=[],f,h,k,n;f=0;for(h=b.length;f<h;f++){var p=b[f];p.sb();k=0;for(n=this.touches.length;k<n;k++)if(d=this.touches[k],c=p.u.lb(d.x,d.y,g),d=p.u.lb(d.x,d.y,m),p.mc(c,d)){e.push(p);break}}return e.length?(a.wa=m,a.k=e,g):m};c.prototype.Nn=function(a){a=Math.floor(a);return a===this.cf};c.prototype.Mn=function(a){a=Math.floor(a);return a===this.cf};a.m=new c;b.prototype.Li=function(a,b){if(this.touches.length){var c,d,e,f,h;ca(b)?(c=this.b.ih(0),d=
c.scale,e=c.jd,f=c.xd,h=c.q,c.scale=this.b.ya.scale,c.jd=1,c.xd=1,c.q=this.b.ya.q,a.$(c.lb(this.touches[0].x,this.touches[0].y,g)),c.scale=d,c.jd=e,c.xd=f,c.q=h):(c=da(b)?this.b.ih(b):this.b.Ml(b))?a.$(c.lb(this.touches[0].x,this.touches[0].y,g)):a.$(0)}else a.$(0)};b.prototype.Mi=function(a,b){if(this.touches.length){var c,d,e,f,h;ca(b)?(c=this.b.ih(0),d=c.scale,e=c.jd,f=c.yd,h=c.q,c.scale=this.b.ya.scale,c.jd=1,c.yd=1,c.q=this.b.ya.q,a.$(c.lb(this.touches[0].x,this.touches[0].y,m)),c.scale=d,c.jd=
e,c.yd=f,c.q=h):(c=da(b)?this.b.ih(b):this.b.Ml(b))?a.$(c.lb(this.touches[0].x,this.touches[0].y,m)):a.$(0)}else a.$(0)};a.W=new b})();function mc(d){this.b=d}(function(){var d=mc.prototype;d.H=function(d){this.ja=d;this.b=d.b};d.H.prototype.B=z();d.F=function(d){this.type=d;this.b=d.b};d.F.prototype.B=z();d.m=new (z());d.n=new (z());d.W=new (z())})();function nc(d){this.b=d}
(function(){function d(a,b){return b?4<=a?-1:a+r:16<=a?-1:a}function e(a){k[a.gamepad.index]=a.gamepad;h.trigger(nc.prototype.m.Qq,f)}function c(a){h.trigger(nc.prototype.m.Rq,f);k[a.gamepad.index]=l}function b(){}var a=nc.prototype;a.H=function(a){this.ja=a;this.b=a.b};a.H.prototype.B=z();var h=l,f=l,k=Array(16),n="",p="",r=16,s=l,q={windows:{}};q.windows.firefox={};var y=[0,1,2,3,4,5,8,9,10,11],w=[0,1,[7,6],2,3,[14,15],[12,13]];q.windows.firefox.xbox360=function(a,b){return b?a>=w.length?-1:da(w[a])?
w[a]+r:w[a]:a>=y.length?-1:y[a]};var t=[2,0,1,3,4,6,5,7,8,9],u=[0,1,2,3,[14,15],[12,13]];q.windows.firefox.logitechdualaction=function(a,b){return b?a>=u.length?-1:da(u[a])?u[a]+r:u[a]:a>=t.length?-1:t[a]};a.F=function(a){this.type=a;h=this.b=a.b;f=this};var B=a.F.prototype;B.B=function(){this.Lw=this.A[0];this.im=0;var a=navigator.userAgent;n="windows";/mac/i.test(a)&&(n="mac");s=q[n];p="chrome";/firefox/i.test(a)&&(p="firefox");s&&(s=s[p]);window.addEventListener("webkitgamepadconnected",e,m);window.addEventListener("webkitgamepaddisconnected",
c,m);window.addEventListener("MozGamepadConnected",e,m);window.addEventListener("MozGamepadDisconnected",c,m);window.addEventListener("gamepadconnected",e,m);window.addEventListener("gamepaddisconnected",c,m);this.b.je(this);this.Zn=[]};B.ra=function(){this.Zn.length=0;var a=l;if(a=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():navigator.mozGetGamepads?navigator.mozGetGamepads():navigator.gamepads||navigator.webkitGamepads||navigator.MozGamepads||
k){var b,c,e,f,h,n,p;b=0;for(c=a.length;b<c;b++){var q=a[b];if(q){if(q.Pd)for(e=0;20>e;e++)q.hl[e]=q.Pd[e];else{q.Pd=Array(20);q.hl=Array(20);for(e=0;20>e;e++)q.hl[e]=0}s?(e="",f=q.id.toLowerCase(),-1<f.indexOf("xbox 360")?e="xbox360":-1<f.indexOf("logitech dual action")&&(e="logitechdualaction"),h=s[e]||d):h=d;e=0;for(f=q.buttons.length;e<f;e++)p=q.buttons[e],n=h(e,m,p),0<=n&&20>n&&(q.Pd[n]=100*p,50<=q.Pd[n]&&50>q.hl[n]&&(this.im=n));e=0;for(f=q.axes.length;e<f;e++)p=q.axes[e],n=h(e,g,p),da(n)?0<=
n&&20>n&&(q.Pd[n]=100*p):(q.Pd[n[0]]=0,q.Pd[n[1]]=0,0>=p?q.Pd[n[0]]=Math.abs(100*p):q.Pd[n[1]]=Math.abs(100*p));this.Zn.push(q)}}}};B.Na=function(){return{lastButton:this.im}};B.Za=function(a){this.im=a.lastButton};b.prototype.Qq=H(g);b.prototype.Rq=H(g);a.m=new b;a.n=new (z());a.W=new (z())})();function oc(d){this.b=d}
(function(){function d(){}var e=oc.prototype;e.H=function(b,a){this.V=b;this.Rc=a;this.b=b.b};e.H.prototype.B=z();e.F=function(b,a){this.type=b;this.V=b.V;this.d=a;this.b=b.b};var c=e.F.prototype;c.B=function(){var b=this.A[0];this.Oa=this.A[1];this.Ge=this.A[2];this.Mr=0!==this.A[3];this.dn=0!==this.A[4];this.N=Math.cos(this.d.q)*b;this.L=Math.sin(this.d.q)*b;this.Ke=this.d.x;this.Le=this.d.y;this.mg=this.d.q;this.Ak=0;this.enabled=0!==this.A[5]};c.Na=function(){return{acc:this.Oa,g:this.Ge,dx:this.N,
dy:this.L,lx:this.Ke,ly:this.Le,lka:this.mg,t:this.Ak,e:this.enabled}};c.Za=function(b){this.Oa=b.acc;this.Ge=b.g;this.N=b.dx;this.L=b.dy;this.Ke=b.lx;this.Le=b.ly;this.mg=b.lka;this.Ak=b.t;this.enabled=b.e};c.ra=function(){if(this.enabled){var b=this.b.Vd(this.d),a,c;this.d.q!==this.mg&&(this.dn&&(a=Ea(0,0,this.N,this.L),this.N=Math.cos(this.d.q)*a,this.L=Math.sin(this.d.q)*a),this.mg=this.d.q);0!==this.Oa&&(a=Ea(0,0,this.N,this.L),c=0===this.N&&0===this.L?this.d.q:za(0,0,this.N,this.L),a+=this.Oa*
b,0>a&&(a=0),this.N=Math.cos(c)*a,this.L=Math.sin(c)*a);0!==this.Ge&&(this.L+=this.Ge*b);this.Ke=this.d.x;this.Le=this.d.y;if(0!==this.N||0!==this.L)if(this.d.x+=this.N*b,this.d.y+=this.L*b,this.Ak+=Ea(0,0,this.N*b,this.L*b),this.dn&&(this.d.q=za(0,0,this.N,this.L),this.d.R(),this.mg=this.d.q),this.d.R(),this.Mr&&(a=this.b.fd(this.d)))this.b.di(this.d,a),a=Ea(0,0,this.N,this.L),c=this.b.Pr(this.d,this.Ke,this.Le),this.N=Math.cos(c)*a,this.L=Math.sin(c)*a,this.d.x+=this.N*b,this.d.y+=this.L*b,this.d.R(),
this.dn&&(this.mg=this.d.q=c,this.d.R()),this.b.bu(this.d,this.N/a,this.L/a,Math.max(2.5*a*b,30))||this.b.Mp(this.d,100)}};e.m=new (z());d.prototype.ff=function(b){b=I(b);var a=Ea(0,0,this.N,this.L);this.N=Math.cos(b)*a;this.L=Math.sin(b)*a};e.n=new d;e.W=new (z())})();
function pc(d){this.b=d;var e=this;this.b.La||(jQuery(document).mousemove(function(c){e.Lm(c)}),jQuery(document).mousedown(function(c){e.Km(c)}),jQuery(document).mouseup(function(c){e.Mm(c)}));d=0<this.b.yc?document:this.b.canvas;this.b.Cc?d=window.Canvas:this.b.Bc&&(d=window);d.addEventListener("touchstart",function(c){e.Vj(c)},m);d.addEventListener("touchmove",function(c){e.Uj(c)},m);d.addEventListener("touchend",function(c){e.Bg(c)},m);d.addEventListener("touchcancel",function(c){e.Bg(c)},m);window.navigator.msPointerEnabled&&
(d.addEventListener("MSPointerDown",function(c){e.Om(c)},m),d.addEventListener("MSPointerMove",function(c){e.Nm(c)},m),d.addEventListener("MSPointerUp",function(c){e.Rh(c)},m),d.addEventListener("MSPointerCancel",function(c){e.Rh(c)},m))}
(function(){function d(a){var b,d;b=0;for(d=a.fa.length;b<d;b++)if(a.fa[b]instanceof c.F)return a.fa[b];return l}function e(){}var c=pc.prototype,b={left:0,top:0};c.Km=function(a){1===a.which&&this.Fm("leftmouse",a.pageX,a.pageY)};c.Lm=function(a){1===a.which&&this.Gm("leftmouse",a.pageX,a.pageY)};c.Mm=function(a){1===a.which&&this.Hm("leftmouse")};c.Vj=function(a){a.preventDefault&&a.preventDefault();var b,c,d,e;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],e=d.identifier,this.Fm(e?
e.toString():"<none>",d.pageX,d.pageY)};c.Uj=function(a){a.preventDefault&&a.preventDefault();var b,c,d,e;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],e=d.identifier,this.Gm(e?e.toString():"<none>",d.pageX,d.pageY)};c.Bg=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=d.identifier,this.Hm(d?d.toString():"<none>")};c.Om=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),
this.Fm(a.pointerId.toString(),a.pageX,a.pageY))};c.Nm=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),this.Gm(a.pointerId.toString(),a.pageX,a.pageY))};c.Rh=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),this.Hm(a.pointerId.toString()))};c.Fm=function(a,c,e){var n=this.b.La?b:jQuery(this.b.canvas).offset();c-=n.left;e-=n.top;var p,r,s,q,n=this.Df.me(),y,w,t,u=l;y=0;for(w=n.length;y<w;y++)t=n[y],p=d(t),p.enabled&&
!p.lf&&(p=t.u.lb(c,e,g),r=t.u.lb(c,e,m),t.sb(),t.mc(p,r)&&(u?t.u.index>u.u.index?(u=t,s=p,q=r):t.u.index===u.u.index&&t.ec()>u.ec()&&(u=t,s=p,q=r):(u=t,s=p,q=r)));u&&d(u).Ot(a,s,q)};c.Gm=function(a,c,e){var n=this.b.La?b:jQuery(this.b.canvas).offset();c-=n.left;e-=n.top;var p,r=this.Df.me(),s,q,y;s=0;for(q=r.length;s<q;s++)p=r[s],y=d(p),y.enabled&&(y.lf&&!(y.lf&&y.Bl!==a))&&(n=p.u.lb(c,e,g),p=p.u.lb(c,e,m),y.Qt(n,p))};c.Hm=function(a){var b=this.Df.me(),c,e,p;c=0;for(e=b.length;c<e;c++)p=b[c],p=d(p),
p.lf&&p.Bl===a&&p.St()};c.H=function(a,b){this.V=a;this.Rc=b;this.b=a.b};c.H.prototype.B=z();c.F=function(a,b){this.type=a;this.V=a.V;this.d=b;this.b=a.b};var a=c.F.prototype;a.B=function(){this.lf=m;this.L=this.N=0;this.Bl="<none>";this.fl=this.A[0];this.enabled=0!==this.A[1]};a.Na=function(){return{enabled:this.enabled}};a.Za=function(a){this.enabled=a.enabled;this.lf=m};a.Ot=function(a,b,c){this.N=b-this.d.x;this.L=c-this.d.y;this.lf=g;this.Bl=a;this.b.trigger(pc.prototype.m.Bq,this.d)};a.Qt=function(a,
b){var c=a-this.N,d=b-this.L;if(0===this.fl){if(this.d.x!==c||this.d.y!==d)this.d.x=c,this.d.y=d,this.d.R()}else 1===this.fl?this.d.x!==c&&(this.d.x=c,this.d.R()):2===this.fl&&this.d.y!==d&&(this.d.y=d,this.d.R())};a.St=function(){this.lf=m;this.b.trigger(pc.prototype.m.Cq,this.d)};a.ra=z();e.prototype.Bq=H(g);e.prototype.Cq=H(g);c.m=new e;c.n=new (z());c.W=new (z())})();function qc(d){this.b=d}
(function(){function d(){}var e=qc.prototype;e.H=function(b,a){this.V=b;this.Rc=a;this.b=b.b};e.H.prototype.B=z();e.F=function(b,a){this.type=b;this.V=b.V;this.d=a;this.b=b.b;this.nn=this.mn=this.ln=this.on=this.Tl=this.mk=this.Kj=this.$i=this.Ek=m;this.lm=this.km=this.jm=this.mm=-1;this.L=this.N=0};var c=e.F.prototype;c.B=function(){this.Nh=this.A[0];this.Oa=this.A[1];this.rd=this.A[2];this.zl=this.A[3];this.cl=this.A[4];this.Wr=1===this.A[5];this.enabled=0!==this.A[6];this.Wr&&!this.b.La&&(jQuery(document).keydown(function(b){return function(a){b.Im(a)}}(this)),
jQuery(document).keyup(function(b){return function(a){b.Jm(a)}}(this)))};c.Na=function(){return{dx:this.N,dy:this.L,enabled:this.enabled,maxspeed:this.Nh,acc:this.Oa,dec:this.rd,ignoreInput:this.Tl}};c.Za=function(b){this.N=b.dx;this.L=b.dy;this.enabled=b.enabled;this.Nh=b.maxspeed;this.Oa=b.acc;this.rd=b.dec;this.Tl=b.ignoreInput;this.nn=this.mn=this.ln=this.on=this.mk=this.Kj=this.$i=this.Ek=m;this.lm=this.km=this.jm=this.mm=-1};c.Im=function(b){var a=this.b.gd;switch(b.which){case 37:b.preventDefault();
this.km<a&&(this.Kj=g);break;case 38:b.preventDefault();this.mm<a&&(this.Ek=g);break;case 39:b.preventDefault();this.lm<a&&(this.mk=g);break;case 40:b.preventDefault(),this.jm<a&&(this.$i=g)}};c.Jm=function(b){var a=this.b.gd;switch(b.which){case 37:b.preventDefault();this.Kj=m;this.km=a;break;case 38:b.preventDefault();this.Ek=m;this.mm=a;break;case 39:b.preventDefault();this.mk=m;this.lm=a;break;case 40:b.preventDefault(),this.$i=m,this.jm=a}};c.ra=function(){var b=this.b.Vd(this.d),a=this.Kj||
this.mn,c=this.mk||this.nn,d=this.Ek||this.on,e=this.$i||this.ln;this.ln=this.on=this.nn=this.mn=m;if(this.enabled){var n=this.b.fd(this.d);if(n&&(this.b.di(this.d,n),!this.b.Mp(this.d)))return;this.Tl&&(e=d=c=a=m);0===this.zl?c=a=m:1===this.zl&&(e=d=m);if(2===this.zl&&(d||e))c=a=m;a==c&&(0>this.N?(this.N+=this.rd*b,0<this.N&&(this.N=0)):0<this.N&&(this.N-=this.rd*b,0>this.N&&(this.N=0)));d==e&&(0>this.L?(this.L+=this.rd*b,0<this.L&&(this.L=0)):0<this.L&&(this.L-=this.rd*b,0>this.L&&(this.L=0)));
a&&!c&&(this.N=0<this.N?this.N-(this.Oa+this.rd)*b:this.N-this.Oa*b);c&&!a&&(this.N=0>this.N?this.N+(this.Oa+this.rd)*b:this.N+this.Oa*b);d&&!e&&(this.L=0<this.L?this.L-(this.Oa+this.rd)*b:this.L-this.Oa*b);e&&!d&&(this.L=0>this.L?this.L+(this.Oa+this.rd)*b:this.L+this.Oa*b);if(0!==this.N||0!==this.L){Math.sqrt(this.N*this.N+this.L*this.L)>this.Nh&&(n=Math.atan2(this.L,this.N),this.N=this.Nh*Math.cos(n),this.L=this.Nh*Math.sin(n));c=this.d.x;d=this.d.y;a=this.d.q;this.d.x+=this.N*b;this.d.R();if(n=
this.b.fd(this.d))this.d.x=c,this.N=0,this.d.R(),this.b.di(this.d,n);this.d.y+=this.L*b;this.d.R();if(n=this.b.fd(this.d))this.d.y=d,this.L=0,this.d.R(),this.b.di(this.d,n);b=Va(this.N);n=Va(this.L);if(0!==b||0!==n)1===this.cl?this.d.q=wa(90*Math.round(sa(Math.atan2(n,b))/90)):2===this.cl?this.d.q=wa(45*Math.round(sa(Math.atan2(n,b))/45)):3===this.cl&&(this.d.q=Math.atan2(n,b));this.d.R();if(this.d.q!=a&&(n=this.b.fd(this.d)))this.d.q=a,this.d.R(),this.b.di(this.d,n)}}};e.m=new (z());d.prototype.Tn=
function(){this.L=this.N=0};e.n=new d;e.W=new (z())})();function rc(d){this.b=d}
(function(){function d(){}var e=rc.prototype;e.H=function(b,a){this.V=b;this.Rc=a;this.b=b.b};e.H.prototype.B=z();e.F=function(b,a){this.type=b;this.V=b.V;this.d=a;this.b=b.b};var c=e.F.prototype;c.B=function(){var b=1===this.A[0];this.ah=this.A[1];this.vi=this.A[2];this.fj=this.A[3];this.Xr=this.A[4];this.rb=b?0:3;this.wc?this.Tc.reset():this.Tc=new Ma;this.Cf=this.d.opacity?this.d.opacity:1;b&&(0===this.ah?(this.rb=1,0===this.vi&&(this.rb=2)):(this.d.opacity=0,this.b.da=g))};c.Na=function(){return{fit:this.ah,
wt:this.vi,fot:this.fj,s:this.rb,st:this.Tc.qa,mo:this.Cf}};c.Za=function(b){this.ah=b.fit;this.vi=b.wt;this.fj=b.fot;this.rb=b.s;this.Tc.reset();this.Tc.qa=b.st;this.Cf=b.mo};c.ra=function(){this.Tc.add(this.b.Vd(this.d));0===this.rb&&(this.d.opacity=this.Tc.qa/this.ah*this.Cf,this.b.da=g,this.d.opacity>=this.Cf&&(this.d.opacity=this.Cf,this.rb=1,this.Tc.reset()));1===this.rb&&this.Tc.qa>=this.vi&&(this.rb=2,this.Tc.reset());2===this.rb&&0!==this.fj&&(this.d.opacity=this.Cf-this.Tc.qa/this.fj*this.Cf,
this.b.da=g,0>this.d.opacity&&(this.d.opacity=0,this.rb=3,this.Tc.reset(),this.b.trigger(rc.prototype.m.Dq,this.d),1===this.Xr&&this.b.ld(this.d)))};c.Mw=function(){this.rb=0;this.Tc.reset();0===this.ah?(this.rb=1,0===this.vi&&(this.rb=2)):(this.d.opacity=0,this.b.da=g)};d.prototype.Dq=H(g);e.m=new d;e.n=new (z())})();function sc(d){this.b=d}
(function(){function d(){}function e(){}var c=sc.prototype;c.H=function(a,b){this.V=a;this.Rc=b;this.b=a.b};c.H.prototype.B=z();c.F=function(a,b){this.type=a;this.V=a.V;this.d=b;this.b=a.b};var b=c.F.prototype;b.B=function(){this.Ye=this.Bd=this.rb=this.Sj=this.Wj=0};b.Na=function(){return{ontime:this.Wj,offtime:this.Sj,stage:this.rb,stagetimeleft:this.Bd,timeleft:this.Ye}};b.Za=function(a){this.Wj=a.ontime;this.Sj=a.offtime;this.rb=a.stage;this.Bd=a.stagetimeleft;this.Ye=a.timeleft};b.ra=function(){if(!(0>=
this.Ye)){var a=this.b.Vd(this.d);this.Ye-=a;0>=this.Ye?(this.Ye=0,this.d.visible=g,this.b.da=g,this.b.trigger(sc.prototype.m.Eq,this.d)):(this.Bd-=a,0>=this.Bd&&(0===this.rb?(this.d.visible=m,this.rb=1,this.Bd+=this.Sj):(this.d.visible=g,this.rb=0,this.Bd+=this.Wj),this.b.da=g))}};d.prototype.Eq=H(g);c.m=new d;e.prototype.Ai=function(a,b,c){this.Wj=a;this.Sj=b;this.rb=1;this.Bd=b;this.Ye=c;this.d.visible=m;this.b.da=g};c.n=new e;c.W=new (z())})();function tc(d){this.b=d}
(function(){var d=tc.prototype;d.H=function(c,b){this.V=c;this.Rc=b;this.b=c.b};d.H.prototype.B=z();d.F=function(c,b){this.type=c;this.V=c.V;this.d=b;this.b=c.b};var e=d.F.prototype;e.B=function(){this.speed=I(this.A[0]);this.Oa=I(this.A[1])};e.Na=function(){return{speed:this.speed,acc:this.Oa}};e.Za=function(c){this.speed=c.speed;this.Oa=c.acc};e.ra=function(){var c=this.b.Vd(this.d);0!==c&&(0!==this.Oa&&(this.speed+=this.Oa*c),0!==this.speed&&(this.d.q=ua(this.d.q+this.speed*c),this.d.R()))};d.m=
new (z());d.n=new (z());d.W=new (z())})();function uc(d){this.b=d}
(function(){function d(){}function e(){}var c=uc.prototype;c.H=function(a,b){this.V=a;this.Rc=b;this.b=a.b};c.H.prototype.B=z();c.F=function(a,b){this.type=a;this.V=a.V;this.d=b;this.b=a.b;this.nb=0};var b=c.F.prototype,a=2*Math.PI,h=Math.PI/2,f=3*Math.PI/2;b.B=function(){this.gb=1===this.A[0];this.Oh=this.A[1];this.En=this.A[2];this.de=this.A[3];this.de+=Math.random()*this.A[4];0===this.de?this.nb=0:(this.nb=this.A[5]/this.de*a,this.nb+=Math.random()*this.A[6]/this.de*a);this.hc=this.A[7];this.hc+=
Math.random()*this.A[8];this.ci=this.sf=this.ma=0;this.init()};b.Na=function(){return{i:this.nb,a:this.gb,mv:this.Oh,w:this.En,p:this.de,mag:this.hc,iv:this.ma,iv2:this.sf,r:this.ci,lkv:this.oc,lkv2:this.Dh}};b.Za=function(a){this.nb=a.i;this.gb=a.a;this.Oh=a.mv;this.En=a.w;this.de=a.p;this.hc=a.mag;this.ma=a.iv;this.sf=a.iv2||0;this.ci=a.r;this.oc=a.lkv;this.Dh=a.lkv2||0};b.init=function(){switch(this.Oh){case 0:this.ma=this.d.x;break;case 1:this.ma=this.d.y;break;case 2:this.ma=this.d.width;this.ci=
this.d.height/this.d.width;break;case 3:this.ma=this.d.width;break;case 4:this.ma=this.d.height;break;case 5:this.ma=this.d.q;this.hc=I(this.hc);break;case 6:this.ma=this.d.opacity;break;case 7:this.ma=0;break;case 8:this.ma=this.d.x,this.sf=this.d.y}this.oc=this.ma;this.Dh=this.sf};b.ne=function(b){b%=a;switch(this.En){case 0:return Math.sin(b);case 1:return b<=h?b/h:b<=f?1-2*(b-h)/Math.PI:(b-f)/h-1;case 2:return 2*b/a-1;case 3:return-2*b/a+1;case 4:return b<Math.PI?-1:1}return 0};b.ra=function(){var b=
this.b.Vd(this.d);if(this.gb&&0!==b){0===this.de?this.nb=0:(this.nb+=b/this.de*a,this.nb%=a);switch(this.Oh){case 0:this.d.x!==this.oc&&(this.ma+=this.d.x-this.oc);this.d.x=this.ma+this.ne(this.nb)*this.hc;this.oc=this.d.x;break;case 1:this.d.y!==this.oc&&(this.ma+=this.d.y-this.oc);this.d.y=this.ma+this.ne(this.nb)*this.hc;this.oc=this.d.y;break;case 2:this.d.width=this.ma+this.ne(this.nb)*this.hc;this.d.height=this.d.width*this.ci;break;case 3:this.d.width=this.ma+this.ne(this.nb)*this.hc;break;
case 4:this.d.height=this.ma+this.ne(this.nb)*this.hc;break;case 5:this.d.q!==this.oc&&(this.ma=ua(this.ma+(this.d.q-this.oc)));this.d.q=ua(this.ma+this.ne(this.nb)*this.hc);this.oc=this.d.q;break;case 6:this.d.opacity=this.ma+this.ne(this.nb)*this.hc/100;0>this.d.opacity?this.d.opacity=0:1<this.d.opacity&&(this.d.opacity=1);break;case 8:this.d.x!==this.oc&&(this.ma+=this.d.x-this.oc),this.d.y!==this.Dh&&(this.sf+=this.d.y-this.Dh),this.d.x=this.ma+Math.cos(this.d.q)*this.ne(this.nb)*this.hc,this.d.y=
this.sf+Math.sin(this.d.q)*this.ne(this.nb)*this.hc,this.oc=this.d.x,this.Dh=this.d.y}this.d.R()}};b.wp=function(a,b){switch(this.Oh){case 2:this.ma*=b.width/a.width;this.ci=b.height/b.width;break;case 3:this.ma*=b.width/a.width;break;case 4:this.ma*=b.height/a.height}};d.prototype.md=C("gb");c.m=new d;e.prototype.mr=function(a){this.gb=1===a};c.n=new e;c.W=new (z())})();function vc(d){this.b=d}
(function(){var d=vc.prototype;d.H=function(c,b){this.V=c;this.Rc=b;this.b=c.b};d.H.prototype.B=z();d.F=function(c,b){this.type=c;this.V=c.V;this.d=b;this.b=c.b};var e=d.F.prototype;e.B=function(){this.Fd={}};e.be=function(){Ia(this.Fd)};e.Na=function(){return{t:this.Fd}};e.Za=function(c){this.Fd=c.t};e.ra=function(){var c=this.b.Vd(this.d),b,a;for(b in this.Fd)this.Fd.hasOwnProperty(b)&&(a=this.Fd[b],a.tl.add(c),a.total.add(c))};e.pi=function(){var c,b;for(c in this.Fd)this.Fd.hasOwnProperty(c)&&
(b=this.Fd[c],b.tl.qa>=b.duration&&(b.bx?b.tl.qa-=b.duration:delete this.Fd[c]))};d.m=new (z());d.n=new (z());d.W=new (z())})();function wc(d){this.b=d}
(function(){var d=wc.prototype;d.H=function(d,c){this.V=d;this.Rc=c;this.b=d.b};d.H.prototype.B=z();d.F=function(d,c){this.type=d;this.V=d.V;this.d=c;this.b=d.b;this.mode=0};d=d.F.prototype;d.B=function(){this.mode=this.A[0]};d.ra=z();d.pi=function(){this.d.sb();var d=this.d.ca,c=this.d.u.za,b=m;0===this.mode?(0>this.d.x&&(this.d.x=0,b=g),0>this.d.y&&(this.d.y=0,b=g),this.d.x>c.width&&(this.d.x=c.width,b=g),this.d.y>c.height&&(this.d.y=c.height,b=g)):(0>d.left&&(this.d.x-=d.left,b=g),0>d.top&&(this.d.y-=
d.top,b=g),d.right>c.width&&(this.d.x-=d.right-c.width,b=g),d.bottom>c.height&&(this.d.y-=d.bottom-c.height,b=g));b&&this.d.R()}})();function xc(d){this.b=d}(function(){var d=xc.prototype;d.H=function(d,c){this.V=d;this.Rc=c;this.b=d.b};d.H.prototype.B=z();d.F=function(d,c){this.type=d;this.V=d.V;this.d=c;this.b=d.b};d=d.F.prototype;d.B=z();d.ra=function(){this.d.sb();var d=this.d.ca,c=this.d.u.za;(0>d.right||0>d.bottom||d.left>c.width||d.top>c.height)&&this.b.ld(this.d)}})();
function yc(d){this.b=d}(function(){var d=yc.prototype;d.H=function(c,b){this.V=c;this.Rc=b;this.b=c.b};d.H.prototype.B=z();d.F=function(c,b){this.type=c;this.V=c.V;this.d=b;this.b=c.b};var e=d.F.prototype;e.B=function(){this.d.X.Uw=0!==this.A[0]};e.ra=z();d.m=new (z());d.n=new (z())})();function Xb(d){this.b=d}
(function(){var d=Xb.prototype;d.H=function(c,b){this.V=c;this.Rc=b;this.b=c.b};d.H.prototype.B=z();d.F=function(c,b){this.type=c;this.V=c.V;this.d=b;this.b=c.b};var e=d.F.prototype;e.B=function(){this.d.X.ru=0!==this.A[0]};e.ra=z();d.m=new (z());d.n=new (z())})();function zc(d){this.b=d}
(function(){var d=zc.prototype;d.H=function(d,c){this.V=d;this.Rc=c;this.b=d.b};d.H.prototype.B=z();d.F=function(d,c){this.type=d;this.V=d.V;this.d=c;this.b=d.b};d=d.F.prototype;d.B=function(){this.mode=this.A[0]};d.ra=function(){var d=this.d;d.sb();var c=d.ca,b=d.u,a=b.za,h=0,f=0,k=0,n=0;0===this.mode?(f=a.width,n=a.height):(h=b.Jb,f=b.Kb,k=b.Lb,n=b.Ib);c.right<h?(d.x=f-1+(d.x-c.left),d.R()):c.left>f?(d.x=h+1-(c.right-d.x),d.R()):c.bottom<k?(d.y=n-1+(d.y-c.top),d.R()):c.top>n&&(d.y=k+1-(c.bottom-
d.y),d.R())}})();
function Bb(){return[l,"menu",[[hc,g,m,m,m,m,m,m,m,m],[gc,g,m,m,m,m,m,m,m,m],[nc,g,m,m,m,m,m,m,m,m],[ic,m,g,g,m,g,g,g,g,g],[W,m,g,g,g,g,g,g,g,m],[jc,m,g,g,g,g,g,g,g,g],[Z,m,g,g,g,g,g,g,g,m],[kc,m,g,g,g,g,g,g,g,g],[fc,g,m,m,m,m,m,m,m,m],[lc,g,m,m,m,m,m,m,m,m],[mc,g,m,m,m,m,m,m,m,m],[dc,g,m,m,m,m,m,m,m,m],[cc,g,m,m,m,m,m,m,m,m],[U,g,m,m,m,m,m,m,m,m],[ec,m,g,g,g,m,m,m,m,m]],[["t0",mc,m,[],0,0,l,l,[],m,m,5348170403011429,[],[]],["t1",lc,m,[],0,0,l,l,[],m,m,5360238741765463,[],[1]],["t2",dc,m,[],0,0,l,
l,[],m,m,0x8126f96920bbe,[],[]],["t3",cc,m,[],0,0,l,l,[],m,m,432376389717995,[],[0,1,1,600,600,1E4,1,5E3,1]],["t4",W,m,[],5,0,l,[["Default",5,m,1,0,m,4785956435139042,[["images/nave-sheet0.png",29784,0,0,154,224,1,0.5,0.0446429,[],[-0.246753,0.129464,0,0.147321,0.24026,0.133928,0.331169,0.455357,0.233766,0.772321,0,0.732143,-0.24026,0.776786,-0.331169,0.455357],0]]]],[["8Direction",qc,7653841123061456],["BoundToLayout",wc,7322437232656707],["DragDrop",pc,5051543402000966],["Fade",rc,0xc27df25d2609b],
["Flash",sc,749857062015025]],m,m,8909122319732654,[]],["t5",W,m,[],3,0,l,[["Default",5,m,1,0,m,0xcf670b2b20591,[["images/disparo-sheet0.png",19782,1,1,64,64,1,0.5,0.5,[],[-0.390625,-0.453125,0.375,-0.453125,0.3125,0.25,-0.421875,0.234375],0],["images/disparo-sheet0.png",19782,66,1,64,64,1,0.5,0.5,[],[-0.375,-0.421875,0.40625,-0.421875,0.375,0.234375,-0.3125,0.171875],0],["images/disparo-sheet0.png",19782,131,1,64,64,1,0.5,0.5,[],[-0.359375,-0.40625,0.390625,-0.40625,0.390625,0.296875,-0.3125,0.296875],
0],["images/disparo-sheet0.png",19782,1,66,64,64,1,0.5,0.5,[],[-0.359375,-0.421875,0.40625,-0.40625,0.40625,0.234375,-0.34375,0.203125],0],["images/disparo-sheet0.png",19782,66,66,64,64,1,0.5,0.5,[],[-0.375,-0.40625,0.390625,-0.40625,0.375,0.21875,-0.328125,0.21875],0],["images/disparo-sheet0.png",19782,131,66,64,64,1,0.5,0.5,[],[-0.421875,-0.421875,0.40625,-0.421875,0.40625,0.328125,-0.359375,0.328125],0],["images/disparo-sheet0.png",19782,1,131,64,64,1,0.5,0.5,[],[-0.40625,-0.421875,0.40625,-0.4375,
0.390625,0.28125,-0.359375,0.28125],0],["images/disparo-sheet0.png",19782,66,131,64,64,1,0.5,0.5,[],[-0.40625,-0.4375,0.40625,-0.4375,0.4375,0.328125,-0.359375,0.328125],0]]]],[["DestroyOutsideLayout",xc,0x9357f8daf74ec],["Bullet",oc,0x420cef91e4ab6],["Jumpthru",yc,9720109922737368]],m,m,9400272665095098,[]],["t6",hc,m,[],0,0,l,l,[],m,m,6668568018648521,[],[]],["t7",Z,m,[],0,0,l,l,[],m,m,7660836625879203,[]],["t8",fc,m,[],0,0,l,l,[],m,m,6822196884809163,[],[]],["t9",Z,m,[],0,0,l,l,[],m,m,0x4d557a2aa5cb1,
[]],["t10",W,m,[],2,0,l,[["Default",5,m,1,0,m,5558556178803597,[["images/sprite-sheet0.png",8491,0,0,128,128,1,0.507813,0.765625,[],[-0.265624,-0.515625,0.273438,-0.515625,0.101563,0.070313,-0.132811,0.054688],0]]]],[["DestroyOutsideLayout",xc,0xdca314822490b],["Bullet",oc,0xa287d26e5cf05]],m,m,8207495775370468,[]],["t11",Z,m,[],0,0,l,l,[],m,m,0x5c21f5ae55347,[]],["t12",kc,m,[],0,0,["images/tiledbackground.png",826081,1],l,[],m,m,0x8e6a32ba5d5a7,[]],["t13",W,m,[],2,0,l,[["Default",5,m,1,0,m,9200971504352080,
[["images/sprite2-sheet0.png",156,0,0,256,256,1,0.5,0.5,[],[],4]]]],[["DestroyOutsideLayout",xc,8811260182483566],["Bullet",oc,6877714229117342]],m,m,4828141337875672,[]],["t14",W,m,[],0,0,l,[["Default",5,m,1,0,m,5639488060553614,[["images/explosion-sheet0.png",632657,1,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,1,128,128,1,0.5,0.5,
[],[],0],["images/explosion-sheet0.png",632657,517,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,646,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,130,128,128,1,0.5,0.5,
[],[],0],["images/explosion-sheet0.png",632657,517,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,646,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,259,128,128,1,
0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,646,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,388,128,
128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,646,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,
517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,646,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,
388,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,646,128,128,1,0.5,0.5,[],[],0]]]],[],m,m,8233855908315287,[]],["t15",W,m,[],1,0,l,[["Default",5,m,1,0,m,5750483450062324,[["images/disparonavemala-sheet0.png",113100,1,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,130,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,259,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,1,130,128,128,1,0.5,0.5,[],[],
0],["images/disparonavemala-sheet0.png",113100,130,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,259,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,1,259,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,130,259,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet0.png",113100,259,259,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,1,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",
113319,130,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,259,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,1,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,130,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,259,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,1,259,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet1.png",113319,130,259,128,128,1,0.5,0.5,[],
[],0],["images/disparonavemala-sheet1.png",113319,259,259,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet2.png",72954,1,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet2.png",72954,130,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet2.png",72954,259,1,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet2.png",72954,1,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet2.png",72954,130,130,128,128,1,0.5,0.5,[],[],0],["images/disparonavemala-sheet2.png",
72954,259,130,128,128,1,0.5,0.5,[],[],0]]]],[["Bullet",oc,0x4ea2919e6d924]],m,m,8451991928105632,[]],["t16",W,m,[],3,0,l,[["Default",5,m,1,0,m,8310436814426368,[["images/enemigo2-sheet0.png",10534,0,0,128,128,1,0.5,0.5,[],[-0.164062,-0.164062,0,-0.242187,0.164063,-0.164062,0.296875,0,0.164063,0.164063,0,0.242188,-0.164062,0.164063,-0.296875,0],0]]]],[["Sine",uc,5691493446154039],["Bullet",oc,0xc88417f450161],["DestroyOutsideLayout",xc,8220307624451318]],m,m,9904423532357356,[]],["t17",W,m,[],6,0,
l,[["Default",5,m,1,0,m,6885726873174892,[["images/mosca-sheet0.png",9711,0,0,128,128,1,0.523438,0.515625,[],[-0.210938,-0.203125,-0.0234375,-0.265625,0.164063,-0.203125,0.226563,-0.015625,0.164063,0.171875,-0.0234375,0.226563,-0.210938,0.171875,-0.265624,-0.015625],0]]]],[["Timer",vc,5743508245125886],["Sine",uc,5087842536685448],["Rotate",tc,0xb069be1840a5a],["Flash",sc,7101902710282693],["Solid",Xb,584089559796607],["Wrap",zc,9569486454204804]],m,m,9257521645965044,[]],["t18",W,m,[],0,0,l,[["Default",
5,m,1,0,m,6522379779267471,[["images/sprite3-sheet0.png",21510,0,0,400,400,1,0.5,0.5,[],[-0.28,-0.28,0,-0.33,0.21,-0.21,0.4175,0,0.165,0.165,0,0.3225,-0.3725,0.3725,-0.37,0],0]]]],[],m,m,4618504229931602,[]],["t19",Z,m,[],0,0,l,l,[],m,m,7191015719975759,[]],["t20",Z,m,[],0,0,l,l,[],m,m,73036822214488,[]],["t21",Z,m,[],0,0,l,l,[],m,m,0x7069a09cab800,[]],["t22",jc,m,[],0,0,["images/spritefont.png",1427,3],l,[],m,m,0xa4fdfd0d82fbc,[]],["t23",ec,m,[],0,0,l,l,[],m,m,6422683731344846,[]],["t24",U,m,[],
0,0,l,l,[],m,m,396951188484006,[],[0,0,1]],["t25",ic,m,[],0,1,["images/particles.png",168,3],l,[],m,m,0x8421e727ff9b3,[["water","Water"]]],["t26",W,m,[],0,0,l,[["Default",5,m,1,0,m,4902687569676206,[["images/sprite4-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],m,m,9278509541778896,[]],["t27",Z,m,[],0,0,l,l,[],m,m,41562348797986,[]],["t28",W,m,[],2,0,l,[["Default",5,m,1,0,m,0x9d4967cd31a1a,[["images/salud-sheet0.png",8372,0,0,64,64,1,0.5,0.5,[],[],0]]]],[["DestroyOutsideLayout",xc,8125665448551474],
["Bullet",oc,0x75d3f6e62607d]],m,m,5642829177965713,[]],["t29",gc,m,[],0,0,l,l,[],m,m,0xd8cbdff51966b,[],["",""]],["t30",Z,m,[],0,0,l,l,[],m,m,8349146382988387,[]],["t31",Z,m,[],0,0,l,l,[],m,m,0x8aa46250197a7,[]],["t32",Z,m,[],0,0,l,l,[],m,m,0x3f54ee13d7714,[]],["t33",Z,m,[],0,0,l,l,[],m,m,0x54ef1e27f8dd3,[]],["t34",Z,m,[],0,0,l,l,[],m,m,5754176415359284,[]],["t35",W,m,[],2,0,l,[["Default",5,m,1,0,m,0xb7388bfd03b81,[["images/sprite5-sheet0.png",46195,1,1,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",
46195,66,1,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",46195,131,1,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",46195,1,66,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",46195,66,66,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",46195,131,66,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",46195,1,131,64,64,1,0.5,0.5,[],[],0],["images/sprite5-sheet0.png",46195,66,131,64,64,1,0.5,0.5,[],[],0]]]],[["DestroyOutsideLayout",xc,5371900282051843],["Bullet",oc,9939602397481116]],
m,m,7345614464247431,[]],["t36",Z,m,[],0,0,l,l,[],m,m,9680105689330568,[]],["t37",Z,m,[],0,0,l,l,[],m,m,713373244956653,[]],["t38",Z,m,[],0,0,l,l,[],m,m,6492279377215809,[]],["t39",nc,m,[],0,0,l,l,[],m,m,5908202073876035,[],[25]],["t40",W,m,[],1,0,l,[["Default",5,m,1,0,m,999976417463851,[["images/sprite6-sheet0.png",8069,0,0,128,128,1,0.5,0.5,[],[0,-0.242187,0.125,-0.125,0.132813,0,0.101563,0.101563,0,0.265625,-0.140625,0.140625,-0.132812,0],0]]]],[["Bullet",oc,8770001196942932]],m,m,6892427268762074,
[]],["t41",W,m,[],0,0,l,[["Default",5,m,1,0,m,4531309199106324,[["images/sprite7-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3],["images/explosion-sheet0.png",632657,1,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",
632657,646,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,1,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",
632657,646,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,130,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",
632657,646,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,259,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",
632657,646,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,388,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,259,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,388,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",
632657,646,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,775,517,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,1,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,130,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,646,128,128,1,0.5,0.5,[],[],0],["images/explosion-sheet0.png",632657,517,646,128,128,1,0.5,0.5,[],[],0]]]],[],m,m,0xf421ec08c6379,
[]]],[],[["Space",640,480,g,"Event sheet 1",0xe38cfd1e7d65c,[["Layer 0",0,5219311130234725,g,[255,255,255],m,1,1,1,m,1,0,0,[[[-1,-20,0,658,538,0,0,1,0,0,0,0,[]],12,11,[],[],[0,0]],[[680,91,0,7,7,0,0,1,0.5,0.5,0,0,[]],13,12,[],[[],[70,0,0,0,1,1]],[0,"Default",0,1]],[[-78.5,474,0,40,40,0,0,1,0.5,0.5,0,0,[]],5,5,[],[[],[400,0,0,0,0,1],[1]],[0,"Default",0,1]],[[537,46,0,111,30,0,8.03E-7,1,0,0,0,0,[]],7,7,[],[],["Tiempo",0,"12pt Arial","rgb(255,255,255)",0,0,0,0,0]],[[-94,-51,0,108,111,0,0,1,0.507813,
0.765625,0,0,[]],10,9,[],[[],[50,0,0,0,0,1]],[0,"Default",0,1]],[[197,415.063,0,58,75,0,0,1,0.5,0.0446429,0,0,[]],4,4,[],[[200,600,500,1,0,1,1],[1],[1,1],[0,5,0,1,1],[]],[0,"Default",0,1]],[[2,45,0,200,30,0,0,1,0,0,0,0,[]],11,10,[],[],["Ftps",0,"12pt Arial","rgb(255,255,255)",0,0,0,0,0]],[[166,-77,0,128,128,0,0,1,0.5,0.5,0,0,[]],14,13,[],[],[0,"Default",1,1]],[[305,-76,0,36,50,0,-3.14159,1,0.5,0.5,0,0,[]],15,14,[],[[120,0,0,0,0,1]],[0,"Default",0,1]],[[-222,-71,0,113,115,0,7.64E-7,1,0.5,0.5,0,0,[]],
16,15,[],[[1,0,0,4,0,0,0,50,0],[50,0,0,0,0,1],[]],[0,"Default",0,1]],[[-80,230,0,152,144,0,0,1,0.523438,0.515625,0,0,[]],17,16,[],[[],[0,0,1,12,0,0,0,500,300],[25,0],[],[1],[0]],[0,"Default",0,1]],[[295,85,0,777,5,0,0,1,0.5,0.5,0,0,[]],26,25,[],[],[0,"Default",0,1]],[[1,1,0,200,30,0,0,1,0,0,0,0,[]],27,26,[],[],["Vida:",0,"12pt Arial","rgb(255,255,255)",0,0,0,0,0]],[[18,-90,0,46,48,0,-3.12873,1,0.5,0.5,0,0,[]],28,27,[],[[],[40,0,0,0,1,1]],[0,"Default",0,1]],[[538,3,0,109,30,0,0,1,0,0,0,0,[]],32,31,
[],[],["Puntos",0,"12pt Arial","rgb(255,255,255)",0,0,0,0,0]],[[-111,316,0,64,64,0,-1.6062E-5,1,0.5,0.5,0,0,[]],35,34,[],[[],[400,0,0,0,1,1]],[0,"Default",0,1]],[[-214.5,87,0,37,41,0,0,1,0.5,0.5,0,0,[]],40,40,[],[[400,0,0,0,1,0]],[0,"Default",0,1]]],[]]],[],[]],["menu",1280,1024,m,"menu",8552890880573992,[["Layer 0",0,5931150480589029,g,[255,255,255],m,1,1,1,m,1,0,0,[[[179,164,0,356,323,0,0,1,0.5,0.5,0,0,[]],18,17,[],[],[0,"Default",0,1]],[[396,202,0,206,50,0,0,1,0,0,0,0,[]],19,18,[],[],["START",
0,"20pt Impact","rgb(0,0,0)",1,1,0,0,0]],[[395,-113,0,204,45,0,0,1,0,0,0,0,[]],20,19,[],[],["CREDITOS",0,"20pt Impact","rgb(0,0,0)",1,1,0,0,0]],[[375,442,0,251,30,0,0,1,0,0,0,0,[]],21,20,[],[],["Programado por Kike fuentes ",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[69,366,0,374,83,0,-0.514419,1,0,0,0,0,[]],22,21,[],[],[16,16,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","Demo!!!",4,0,1,0,0,0,0,0]],[[327,-70,0,72,24,0,0,1,0,0,0,0,
[]],23,23,[],[],[0,"Compartir","",1,1,0,"",0]]],[]]],[],[]],["Gameover1",1280,1024,m,"Gameover",8725851533552632,[["Layer 0",0,5715863068411072,g,[255,255,255],m,1,1,1,m,1,0,0,[[[324,88,0,215,164,0,0,1,0.5,0.5,0,0,[]],18,28,[],[],[0,"Default",0,1]],[[58,180,0,532,122,0,0,1,0,0,0,0,[]],30,29,[],[],["Game over!!!!!!",0,"48pt Impact","rgb(0,0,0)",1,1,0,0,0]],[[210,363,0,241,55,0,0,1,0,0,0,0,[]],31,30,[],[],["Pantalla de inicio",0,"24pt Impact","rgb(0,0,0)",1,1,0,1,3]],[[30,306,0,200,30,0,0,1,0,0,0,0,
[]],33,32,[],[],["Puntos 2",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[259,308,0,304,30,0,0,1,0,0,0,0,[]],34,33,[],[],["Tiempo",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]]],[]]],[],[]],["demo",1280,1024,m,"Demo",0xa305b7f545b0,[["Layer 0",0,0x70b707d020278,g,[255,255,255],m,1,1,1,m,1,0,0,[[[178,162,0,356,323,0,0,1,0.5,0.5,0,0,[]],18,35,[],[],[0,"Default",0,1]],[[380,158,0,200,95,0,0,1,0,0,0,0,[]],36,36,[],[],["Felicidades as acabado la demo!! por favor deje su comentario sobre el juego ",0,"12pt Arial",
"rgb(0,0,0)",0,0,0,0,0]],[[59,397,0,263,30,0,0,1,0,0,0,0,[]],37,37,[],[],["www.facebook.com/Surviveonehour",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[383,397,0,200,30,0,0,1,0,0,0,0,[]],38,38,[],[],["@Mrborcho",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]]],[]]],[],[]]],[["Event sheet 1",[[1,"disparomosca",0,0,m,m,858081426043592],[1,"vidamosca",0,10,m,m,570608959659146],[1,"puntos",0,0,m,m,0xac43de8a55b94],[1,"tiempo1",1,"0",m,m,0x9ebedffe3c349],[1,"vida",0,3,m,m,0xb44f30d3989f8],[1,"enemigoscomunes",0,
0,m,m,0x9a4319b306e69],[1,"enemigomosca",0,0,m,m,0xcb0d6db0b132b],[1,"disparo",0,0,m,m,0x948caf4dbd69b],[1,"canenemigo1",0,0,m,m,5028109499244863],[1,"cantenemigo2",0,0,m,m,6052571655924853],[1,"tiempo",0,0,m,m,7935260359706562],[0,l,m,0x79f44e4ee58af,[[-1,S.prototype.m.yi,l,0,m,m,m,8812738287357774],[-1,S.prototype.m.kd,l,0,m,m,m,5608121504288761,[[11,"disparo"],[8,2],[7,[0,1]]]],[-1,S.prototype.m.kd,l,0,m,m,m,0x65ac7bf168d69,[[11,"vida"],[8,4],[7,[0,0]]]]],[[-1,S.prototype.n.Sf,l,7718012001068605,
[[4,5],[5,[2,"Layer 0"]],[0,[20,4,W.prototype.W.Li,m,l]],[0,[20,4,W.prototype.W.Mi,m,l]]]],[5,W.prototype.n.tq,l,9577796269558900,[[5,[2,"Layer 0"]]]],[5,oc.prototype.n.ff,"Bullet",7964508192788144,[[0,[0,270]]]],[-1,S.prototype.n.Wb,l,6328170625281094,[[11,"disparo"],[7,[0,1]]]],[-1,S.prototype.n.Yk,l,8274258124492022,[[0,[1,3]]]]]],[0,l,m,6639394846213551,[[-1,S.prototype.m.yi,l,0,m,m,m,5597820806120864]],[[8,fc.prototype.n.ur,l,8315702953602424,[[1,[2,"tiempo"]]]],[7,Z.prototype.n.re,l,6223404818285666,
[[7,[20,8,fc.prototype.W.sq,g,l,[[2,"CountingUp"]]]]]],[10,oc.prototype.n.ff,"Bullet",0xb4a8e54e487c8,[[0,[0,90]]]],[11,Z.prototype.n.re,l,9239120462357684,[[7,[19,S.prototype.W.kj]]]],[13,oc.prototype.n.ff,"Bullet",6236198882598471,[[0,[0,90]]]],[27,Z.prototype.n.re,l,5115799257669879,[[7,[10,[2,"Vidas:"],[23,"vida"]]]]],[32,Z.prototype.n.re,l,9841347911077932,[[7,[10,[2,"Puntos:"],[23,"puntos"]]]]],[-1,S.prototype.n.Uf,l,9027311557328448,[[11,"tiempo1"],[7,[20,7,Z.prototype.W.Un,g,l]]]]]],[0,l,
m,0xa2cbc6264d66e,[[-1,S.prototype.m.Fi,l,1,m,m,m,7673816168883589]],[[-1,S.prototype.n.pr,l,0x3f15d6906eb30,[[0,[1,1]]]],[8,fc.prototype.n.Cr,l,6644700357723036,[[1,[2,"CountingUp"]],[3,0]]]]],[0,l,m,0x87fe173247fba,[[8,fc.prototype.m.Lk,l,0,m,m,m,0x6c6e2dca1fe4b,[[1,[2,"CountingUp"]],[3,5],[0,[0,0]],[0,[0,0]],[0,[0,30]],[0,[0,0]]]],[-1,S.prototype.m.xi,l,0,m,m,m,0x71edee2e133c1,[[0,[1,1]]]],[-1,S.prototype.m.kd,l,0,m,m,m,8100068660362587,[[11,"canenemigo1"],[8,2],[7,[0,5]]]],[-1,S.prototype.m.kd,
l,0,m,m,m,8280477247167118,[[11,"enemigoscomunes"],[8,0],[7,[0,0]]]]],[[-1,S.prototype.n.Sf,l,0x8d2fce5fd1f3a,[[4,10],[5,[2,"Layer 0"]],[0,[19,S.prototype.W.random,[[1,640.63]]]],[0,[19,S.prototype.W.random,[[1,30.47]]]]]],[-1,S.prototype.n.Sf,l,0x7b26515950e83,[[4,15],[5,[2,"Layer 0"]],[0,[20,10,W.prototype.W.Li,m,l]],[0,[20,10,W.prototype.W.Mi,m,l]]]],[15,oc.prototype.n.ff,"Bullet",6508304754085836,[[0,[0,90]]]],[-1,S.prototype.n.Wb,l,0x78c69fee9b67f,[[11,"canenemigo1"],[7,[0,1]]]]]],[0,l,m,9512108061313022,
[[14,W.prototype.m.Gn,l,0,m,m,m,5001281269536475,[[8,0],[0,[0,64]]]]],[[14,W.prototype.n.Kd,l,8814024944420333]]],[0,l,m,0x5761f935116c6,[[10,W.prototype.m.pe,l,0,m,m,g,0xf42ef372b30b7,[[4,5]]]],[[10,W.prototype.n.Vk,l,4585916337133834,[[3,0]]],[10,W.prototype.n.Tf,l,6868697960361722,[[0,[0,30]]]],[10,W.prototype.n.Ii,l,0x4da555894bf98,[[4,14],[5,[0,0]],[7,[0,0]]]],[10,W.prototype.n.Kd,l,465358378874516],[14,W.prototype.n.Tf,l,6562508505821754,[[0,[0,30]]]],[-1,S.prototype.n.Wb,l,9755042803371396,
[[11,"canenemigo1"],[7,[0,-1]]]],[-1,S.prototype.n.Wb,l,5666152607195878,[[11,"puntos"],[7,[0,10]]]]]],[0,l,m,7635190063444681,[[16,W.prototype.m.pe,l,0,m,m,g,971746077271806,[[4,5]]]],[[16,W.prototype.n.Ii,l,7852579437519141,[[4,14],[5,[0,0]],[7,[0,0]]]],[16,W.prototype.n.Kd,l,569781512806317],[14,W.prototype.n.Tf,l,8347706770865151,[[0,[0,30]]]],[-1,S.prototype.n.Uf,l,784932639026092,[[11,"cantenemigo2"],[7,[0,-1]]]],[-1,S.prototype.n.Wb,l,9899690070955088,[[11,"puntos"],[7,[0,20]]]]]],[0,l,m,721964218993816,
[[-1,S.prototype.m.kd,l,0,m,m,m,5493672972439946,[[11,"cantenemigo2"],[8,2],[7,[0,3]]]],[-1,S.prototype.m.xi,l,0,m,m,m,366675388847725,[[0,[1,3]]]],[-1,S.prototype.m.kd,l,0,m,m,m,787497697369094,[[11,"enemigoscomunes"],[8,0],[7,[0,0]]]]],[[-1,S.prototype.n.Sf,l,0xdcf7cae87e9ad,[[4,16],[5,[2,"Layer 0"]],[0,[19,S.prototype.W.random,[[1,630.63]]]],[0,[19,S.prototype.W.random,[[1,30.47]]]]]],[16,W.prototype.n.Br,l,0xcc5c33fbfddb5],[16,oc.prototype.n.ff,"Bullet",8935270049885222,[[0,[0,90]]]],[16,W.prototype.n.Vk,
l,6482459221744573,[[3,0]]],[-1,S.prototype.n.Wb,l,0x4fac9c12721e9,[[11,"cantenemigo2"],[7,[0,1]]]]]],[0,l,m,9214305315152376,[[10,W.prototype.m.Hn,l,0,m,m,m,7442371004218792]],[[-1,S.prototype.n.Wb,l,7074725403257763,[[11,"canenemigo1"],[7,[0,-1]]]]]],[0,l,m,8821543592102624,[[5,W.prototype.m.Hn,l,0,m,m,m,6564855441929504]],[[5,W.prototype.n.Kd,l,0xc9431c2c250eb],[-1,S.prototype.n.Wb,l,9712809885048298,[[11,"disparo"],[7,[0,-1]]]]]],[0,l,m,0x3b3545ad48a89,[[-1,S.prototype.m.yi,l,0,m,m,m,8887297916436679],
[-1,S.prototype.m.xi,l,0,m,m,m,0xd0f516caca012,[[0,[19,S.prototype.W.random,[[0,30],[0,70]]]]]],[-1,S.prototype.m.kd,l,0,m,m,m,0xa702738f05a7e,[[11,"vida"],[8,2],[7,[0,3]]]]],[[-1,S.prototype.n.Sf,l,0xe3f47475183aa,[[4,28],[5,[0,0]],[0,[19,S.prototype.W.random,[[1,430.63]]]],[0,[19,S.prototype.W.random,[[1,60.48]]]]]],[28,oc.prototype.n.ff,"Bullet",5499961526166722,[[0,[0,90]]]]]],[0,l,m,5509381230893031,[[8,fc.prototype.m.Lk,l,0,m,m,m,0xf4586c9457fa9,[[1,[2,"CountingUp"]],[3,5],[0,[0,0]],[0,[0,3]],
[0,[0,50]],[0,[0,0]]]]],[[-1,S.prototype.n.Uf,l,5725232757213905,[[11,"enemigomosca"],[7,[0,1]]]],[17,uc.prototype.n.mr,"Sine",672503947539632,[[3,1]]],[-1,S.prototype.n.Uf,l,9918202204759888,[[11,"enemigoscomunes"],[7,[0,1]]]],[35,W.prototype.n.Tf,l,0xc8a9839ebc94d,[[0,[0,60]]]],[35,oc.prototype.n.ff,"Bullet",0xa15d3cec4bd28,[[0,[0,90]]]],[-1,S.prototype.n.Uf,l,9072321733426664,[[11,"disparomosca"],[7,[0,1]]]]]],[0,l,m,4964193123701101,[[17,W.prototype.m.pe,l,0,m,m,g,665127118593568,[[4,5]]]],[[17,
W.prototype.n.or,l,9141949498144088,[[3,1]]],[17,sc.prototype.n.Ai,"Flash",6954858918063038,[[0,[1,0.1]],[0,[1,0.1]],[0,[1,1]]]],[-1,S.prototype.n.Wb,l,5299144658947409,[[11,"vidamosca"],[7,[0,-1]]]]]],[0,l,m,0xf27085c184875,[[15,W.prototype.m.pe,l,0,m,m,g,9502894179015184,[[4,4]]]],[[-1,S.prototype.n.Wb,l,7132655996386655,[[11,"vida"],[7,[0,-1]]]],[4,sc.prototype.n.Ai,"Flash",8663632076240813,[[0,[1,0.1]],[0,[1,0.1]],[0,[1,1]]]]]],[0,l,m,0x38f061eb6296f,[[-1,S.prototype.m.Fi,l,1,m,m,m,6303833987471558]],
[[3,cc.prototype.n.Play,l,0xbfc279eac3e1b,[[2,["ove - earth is all we have _1",g]],[3,1],[0,[0,5]],[1,[2,""]]]]]],[0,l,m,0xdf4b6dba61c63,[[-1,S.prototype.m.Ei,l,1,m,m,m,0xcd8d32abc6d97]],[[3,cc.prototype.n.Ar,l,0xde908839eccc9]]],[0,l,m,9842765151372138,[[6,hc.prototype.m.In,l,1,m,m,m,6885208422789236,[[9,67]]]],[[-1,S.prototype.n.sr,l,0xc1b22d118969,[[3,0],[0,[0,100]]]]]],[0,l,m,0x8189fcaa274b7,[[28,W.prototype.m.pe,l,0,m,m,g,7913780552090115,[[4,4]]]],[[-1,S.prototype.n.Wb,l,0xe1310826c4f9,[[11,
"vida"],[7,[0,1]]]],[28,W.prototype.n.Kd,l,7076291528500144],[4,sc.prototype.n.Ai,"Flash",0x808e6ea1e5ca7,[[0,[1,0.5]],[0,[1,0.5]],[0,[1,1]]]]]],[0,l,m,9418404497707068,[[-1,S.prototype.m.kd,l,0,m,m,m,317631716180346,[[11,"vida"],[8,0],[7,[0,0]]]]],[[14,W.prototype.n.Tf,l,959087536643234,[[0,[0,30]]]],[4,W.prototype.n.Ii,l,9349131941326392,[[4,14],[5,[0,0]],[7,[0,0]]]],[4,W.prototype.n.Kd,l,0xad3e2980fd84d],[-1,S.prototype.n.Yk,l,0x6d0f37bf83316,[[0,[0,2]]]],[-1,S.prototype.n.Bi,l,8036181821530496,
[[6,"Gameover1"]]],[5,W.prototype.n.Kd,l,4312747333557]]],[0,l,m,9984275034037204,[[-1,S.prototype.m.Ei,l,1,m,m,m,7922025584229028]],[[-1,S.prototype.n.Uk,l,9215719078551304]]],[0,l,m,379454450367971,[[-1,S.prototype.m.kd,l,0,m,m,m,9113837053015324,[[11,"vidamosca"],[8,0],[7,[0,0]]]]],[[17,W.prototype.n.Kd,l,9722108803714838],[-1,S.prototype.n.Uf,l,0xcecb9164aea37,[[11,"enemigoscomunes"],[7,[0,0]]]],[17,W.prototype.n.Ii,l,601043969078715,[[4,14],[5,[0,0]],[7,[0,0]]]],[35,W.prototype.n.Kd,l,5919496845228766],
[14,W.prototype.n.Tf,l,6602015786909677,[[0,[0,30]]]]]],[0,l,m,0x3ccb11a596311,[[-1,S.prototype.m.kd,l,0,m,m,m,0x9eb959a16cf3b,[[11,"disparomosca"],[8,0],[7,[0,1]]]],[-1,S.prototype.m.xi,l,0,m,m,m,0x986caedb02030,[[0,[1,0.7]]]]],[[-1,S.prototype.n.Yk,l,8976779363442153,[[0,[1,1]]]],[-1,S.prototype.n.Sf,l,7732484365817701,[[4,35],[5,[0,0]],[0,[20,17,W.prototype.W.Li,m,l]],[0,[20,17,W.prototype.W.Mi,m,l]]]]]],[0,l,m,6734560217936143,[[35,W.prototype.m.pe,l,0,m,m,g,6280225627160718,[[4,4]]]],[[-1,S.prototype.n.Wb,
l,0x3a5e805bc998d,[[11,"vida"],[7,[0,-1]]]],[4,sc.prototype.n.Ai,"Flash",0x474e4cb364849,[[0,[1,0.1]],[0,[1,0.1]],[0,[1,1]]]]]],[0,l,m,0xc789156a993e9,[],[]],[0,l,m,8689088710411339,[[35,W.prototype.m.Gn,l,0,m,m,m,9846316178497484,[[8,0],[0,[0,7]]]]],[[35,W.prototype.n.nr,l,0x44d0d34c85d7c,[[0,[0,0]]]],[35,W.prototype.n.Vk,l,4766415987081059,[[3,0]]]]],[0,l,m,7326101488489008,[[4,W.prototype.m.Pk,l,1,m,m,m,6757716168605076]],[[3,cc.prototype.n.Play,l,8910159256341506,[[2,["gameover1",m]],[3,0],[0,
[0,5]],[1,[2,""]]]]]],[0,l,m,0x65ec715385726,[[4,W.prototype.m.pe,l,0,m,m,g,8072600586450853,[[4,10]]]],[[-1,S.prototype.n.Wb,l,0xe88fe406bca65,[[11,"vida"],[7,[0,-1]]]]]],[0,l,m,0xa92c551d676eb,[[4,W.prototype.m.pe,l,0,m,m,g,7720509708614907,[[4,16]]]],[[-1,S.prototype.n.Wb,l,4614272947528013,[[11,"vida"],[7,[0,-1]]]]]],[0,l,m,0x5956ca4f142dc,[[8,fc.prototype.m.Lk,l,0,m,m,m,7390728552139789,[[1,[2,"CountingUp"]],[3,5],[0,[0,0]],[0,[0,5]],[0,[0,0]],[0,[0,0]]]]],[[-1,S.prototype.n.Bi,l,0x52097a3e74475,
[[6,"demo"]]]]],[0,l,m,6185229351212713,[[17,W.prototype.m.Pk,l,1,m,m,m,4519747968576779]],[[-1,S.prototype.n.Wb,l,9188657750864406,[[11,"puntos"],[7,[0,1E3]]]]]],[0,l,m,0x69e34bebc3209,[],[]]]],["menu",[[0,l,m,5549944922746322,[[1,lc.prototype.m.Ci,l,0,m,m,m,5390889727895527,[[4,19]]]],[[-1,S.prototype.n.Bi,l,8039453442553925,[[6,"Space"]]],[-1,S.prototype.n.Uk,l,0xdc15f0d85c062]]],[0,l,m,8794475089459667,[[-1,S.prototype.m.Fi,l,1,m,m,m,5433236189469448]],[[3,cc.prototype.n.Play,l,0xe4953be621b1a,
[[2,["space",g]],[3,1],[0,[0,5]],[1,[2,""]]]]]],[0,l,m,8879574852953122,[[1,lc.prototype.m.Ci,l,0,m,m,m,9653130874889496,[[4,20]]]],[]],[0,l,m,0x862266496551b,[[1,lc.prototype.m.Ci,l,0,m,m,m,785125765069535,[[4,23]]]],[]],[0,l,m,6297265597511804,[[-1,S.prototype.m.Ei,l,1,m,m,m,0xdd47d4d9507b4]],[[3,cc.prototype.n.Tn,l,5294061040687106,[[1,[2,""]]]]]],[0,l,m,0xf5eda440c0c26,[],[]]]],["Gameover",[[0,l,m,7397966860751649,[[1,lc.prototype.m.Ci,l,0,m,m,m,0xc5e07d75de05d,[[4,31]]]],[[-1,S.prototype.n.Bi,
l,0x785915e2ac6d1,[[6,"menu"]]],[-1,S.prototype.n.Uk,l,5118235074712188],[-1,S.prototype.n.lr,l,7714812270902274]]],[0,l,m,0xa479b9908bfe6,[[-1,S.prototype.m.yi,l,0,m,m,m,8205688119710474]],[[33,Z.prototype.n.re,l,0xa30442b6f0969,[[7,[10,[2,"Puntos conseguidos:"],[23,"puntos"]]]]],[34,Z.prototype.n.re,l,0xc4f0db0c19174,[[7,[10,[2,"Tiempo que aguantastes "],[23,"tiempo1"]]]]]]]]],["Demo",[]]],"media/",m,640,480,5,g,g,m,"0.3",1,m,0,m,41,m,[]]};
