// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var f=!0,l=null,q=!1;function ba(){return function(){}}function v(b){return function(){return this[b]}}function z(b){return function(){return b}}var I,ca,da,M,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,ra,sa,P,ta,ua,va,wa,xa,za,Fa,Ga,Ha,Ia,Ja,Ka,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Xa,Ya,Za,$a,ab,bb,cb,db,eb,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(b){return b.__proto__}:function(b){return b.constructor.prototype});
(function(){function b(e,a,d,h){this.set(e,a,d,h)}function m(){this.Tb=this.Sb=this.Vb=this.Ub=this.hc=this.gc=this.lb=this.kb=0}function g(){this.Ic={};this.kf=0;this.Lf=[];this.Je=f}function k(){this.jb=this.Wg=this.y=this.lh=0}function c(e){this.Ei=[];this.Df(e)}I=function(e){window.console&&window.console.log&&window.console.log(e)};ca=function(e){return"undefined"===typeof e};da=function(e){return"number"===typeof e};M=function(e){return"string"===typeof e};ea=function(e){return 0<e&&0===(e-
1&e)};fa=function(e){return 0>e?-e:e};ga=function(e,a){return e>a?e:a};ha=function(e,a){return e<a?e:a};ia=Math.PI;ja=function(e){return e|0};ka=function(e,a,d,h,n,s,y,x){if(ga(e,d)<ha(n,y)||ha(e,d)>ga(n,y)||ga(a,h)<ha(s,x)||ha(a,h)>ga(s,x))return q;var u=n-e+y-d,r=s-a+x-h;e=d-e;a=h-a;n=y-n;s=x-s;x=fa(a*n-s*e);return fa(n*r-s*u)<=x&&fa(e*r-a*u)<=x};b.prototype.set=function(e,a,d,h){this.left=e;this.top=a;this.right=d;this.bottom=h};b.prototype.width=function(){return this.right-this.left};b.prototype.height=
function(){return this.bottom-this.top};b.prototype.offset=function(e,a){this.left+=e;this.top+=a;this.right+=e;this.bottom+=a;return this};b.prototype.Wc=function(e,a){return e>=this.left&&e<=this.right&&a>=this.top&&a<=this.bottom};la=b;m.prototype.Ui=function(e){this.kb=e.left;this.lb=e.top;this.gc=e.right;this.hc=e.top;this.Ub=e.right;this.Vb=e.bottom;this.Sb=e.left;this.Tb=e.bottom};m.prototype.wl=function(e,a){if(0===a)this.Ui(e);else{var d=Math.sin(a),h=Math.cos(a),n=e.left*d,s=e.top*d,y=e.right*
d,d=e.bottom*d,x=e.left*h,u=e.top*h,r=e.right*h,h=e.bottom*h;this.kb=x-s;this.lb=u+n;this.gc=r-s;this.hc=u+y;this.Ub=r-d;this.Vb=h+y;this.Sb=x-d;this.Tb=h+n}};m.prototype.offset=function(e,a){this.kb+=e;this.lb+=a;this.gc+=e;this.hc+=a;this.Ub+=e;this.Vb+=a;this.Sb+=e;this.Tb+=a;return this};m.prototype.Ej=function(e){e.left=ha(ha(this.kb,this.gc),ha(this.Ub,this.Sb));e.top=ha(ha(this.lb,this.hc),ha(this.Vb,this.Tb));e.right=ga(ga(this.kb,this.gc),ga(this.Ub,this.Sb));e.bottom=ga(ga(this.lb,this.hc),
ga(this.Vb,this.Tb))};m.prototype.Wc=function(e,a){var d=this.gc-this.kb,h=this.hc-this.lb,n=this.Ub-this.kb,s=this.Vb-this.lb,y=e-this.kb,x=a-this.lb,u=d*d+h*h,r=d*n+h*s,h=d*y+h*x,E=n*n+s*s,c=n*y+s*x,b=1/(u*E-r*r),d=(E*h-r*c)*b,u=(u*c-r*h)*b;if(0<=d&&0<u&&1>d+u)return f;d=this.Sb-this.kb;h=this.Tb-this.lb;u=d*d+h*h;r=d*n+h*s;h=d*y+h*x;b=1/(u*E-r*r);d=(E*h-r*c)*b;u=(u*c-r*h)*b;return 0<=d&&0<u&&1>d+u};ma=m;na=function(e,a){for(var d in a)a.hasOwnProperty(d)&&(e[d]=a[d]);return e};oa=function(e,a){var d,
h;a=ja(a);if(!(0>a||a>=e.length))if(0===a)e.shift();else if(a===e.length-1)e.pop();else{d=a;for(h=e.length-1;d<h;d++)e[d]=e[d+1];e.length=h}};ra=function(e,a){e.length=a.length;var d,h;d=0;for(h=a.length;d<h;d++)e[d]=a[d]};sa=function(e,a){var d=e.indexOf(a);-1!==d&&oa(e,d)};P=function(e){return e/(180/ia)};ta=function(e){return e*(180/ia)};ua=function(e){e%=360;0>e&&(e+=360);return e};va=function(e){e%=2*ia;0>e&&(e+=2*ia);return e};wa=function(e){return ua(ta(e))};xa=function(e){return va(P(e))};
za=function(e,a,d,h){return Math.atan2(h-a,d-e)};Fa=function(e,a){if(e===a)return 0;var d=Math.sin(e),h=Math.cos(e),n=Math.sin(a),s=Math.cos(a),d=d*n+h*s;return 1<=d?0:-1>=d?ia:Math.acos(d)};Ga=function(a,c,d){var h=Math.sin(a),n=Math.cos(a),s=Math.sin(c),y=Math.cos(c);return Math.acos(h*s+n*y)>d?0<n*s-h*y?va(a+d):va(a-d):va(c)};Ha=function(a,c){var d=Math.sin(a),h=Math.cos(a),n=Math.sin(c),s=Math.cos(c);return 0>=h*n-d*s};Ia=function(a,c,d,h,n,s){if(0===d)return s?a:c;var y=Math.sin(d);d=Math.cos(d);
a-=h;c-=n;var x=a*y;a=a*d-c*y;c=c*d+x;return s?a+h:c+n};Ja=function(a,c,d,h){a=d-a;c=h-c;return Math.sqrt(a*a+c*c)};Ka=function(a,c){return!a!==!c};Ma=function(a){for(var c in a)if(a.hasOwnProperty(c))return f;return q};Na=function(a){for(var c in a)a.hasOwnProperty(c)&&delete a[c]};var p=+new Date;Oa=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()-p};g.prototype.contains=function(a){return this.Ic.hasOwnProperty(a.toString())};g.prototype.add=function(a){var c=a.toString();this.Ic.hasOwnProperty(c)||(this.Ic[c]=a,this.kf++,this.Je=q);return this};g.prototype.remove=function(a){a=a.toString();this.Ic.hasOwnProperty(a)&&(delete this.Ic[a],this.kf--,this.Je=q);return this};g.prototype.clear=function(){Na(this.Ic);this.kf=0;this.Lf.length=0;this.Je=f;return this};g.prototype.cf=function(){return 0===
this.kf};g.prototype.$o=function(){if(!this.Je){this.Lf.length=this.kf;var a,c=0;for(a in this.Ic)this.Ic.hasOwnProperty(a)&&(this.Lf[c++]=this.Ic[a]);this.Je=f}};g.prototype.Kf=function(){this.$o();return this.Lf};Pa=g;k.prototype.add=function(a){this.y=a-this.lh;this.Wg=this.jb+this.y;this.lh=this.Wg-this.jb-this.y;this.jb=this.Wg};k.prototype.reset=function(){this.jb=this.Wg=this.y=this.lh=0};Qa=k;Ra=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};c.prototype.Df=function(a){this.jl=
a;this.kl=a.length/2;this.Ei.length=a.length;this.Hj=this.Ij=-1;this.Gj=0};c.prototype.ho=function(){return!this.jl.length};c.prototype.ym=function(a,c,d){if(!(this.Ij===a&&this.Hj===c&&this.Gj===d)){this.Ij=a;this.Hj=c;this.Gj=d;var h,n,s,y=0,x=1,u=this.jl,r=this.Ei;0!==d&&(y=Math.sin(d),x=Math.cos(d));d=0;for(h=this.kl;d<h;d++)n=u[2*d]*a,s=u[2*d+1]*c,r[2*d]=n*x-s*y,r[2*d+1]=s*x+n*y}};c.prototype.Wc=function(a,c){var d=this.Ei;if(a===d[0]&&c===d[1])return f;var h,n,s,y=this.kl,x=d[0],u=x,r=d[1],
E=r;for(h=1;h<y;h++)n=d[2*h],s=d[2*h+1],n<x&&(x=n),n>u&&(u=n),s<r&&(r=s),s>E&&(E=s);n=x-110;var r=r-101,u=u+131,E=E+120,F,b,g=0,p=0;for(h=0;h<y;h++)s=d[2*h],x=d[2*h+1],F=d[2*((h+1)%y)],b=d[2*((h+1)%y)+1],ka(n,r,a,c,s,x,F,b)&&g++,ka(u,E,a,c,s,x,F,b)&&p++;return 1===g%2||1===p%2};Sa=c;var a="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Ta=function(e){return 0>=e||11<=e?"source-over":a[e-1]};Ua=function(a,c,d){if(d)switch(a.Ka=
d.ONE,a.Ha=d.ONE_MINUS_SRC_ALPHA,c){case 1:a.Ka=d.ONE;a.Ha=d.ONE;break;case 3:a.Ka=d.ONE;a.Ha=d.ZERO;break;case 4:a.Ka=d.ONE_MINUS_DST_ALPHA;a.Ha=d.ONE;break;case 5:a.Ka=d.DST_ALPHA;a.Ha=d.ZERO;break;case 6:a.Ka=d.ZERO;a.Ha=d.SRC_ALPHA;break;case 7:a.Ka=d.ONE_MINUS_DST_ALPHA;a.Ha=d.ZERO;break;case 8:a.Ka=d.ZERO;a.Ha=d.ONE_MINUS_SRC_ALPHA;break;case 9:a.Ka=d.DST_ALPHA;a.Ha=d.ONE_MINUS_SRC_ALPHA;break;case 10:a.Ka=d.ONE_MINUS_DST_ALPHA,a.Ha=d.SRC_ALPHA}};Xa=function(a){return Math.round(1E6*a)/1E6}})();
var tb="undefined"!==typeof Float32Array?Float32Array:Array;function ub(b){var m=new tb(3);b&&(m[0]=b[0],m[1]=b[1],m[2]=b[2]);return m}function vb(b){var m=new tb(16);b&&(m[0]=b[0],m[1]=b[1],m[2]=b[2],m[3]=b[3],m[4]=b[4],m[5]=b[5],m[6]=b[6],m[7]=b[7],m[8]=b[8],m[9]=b[9],m[10]=b[10],m[11]=b[11],m[12]=b[12],m[13]=b[13],m[14]=b[14],m[15]=b[15]);return m}
function wb(b,m){m[0]=b[0];m[1]=b[1];m[2]=b[2];m[3]=b[3];m[4]=b[4];m[5]=b[5];m[6]=b[6];m[7]=b[7];m[8]=b[8];m[9]=b[9];m[10]=b[10];m[11]=b[11];m[12]=b[12];m[13]=b[13];m[14]=b[14];m[15]=b[15]}function xb(b,m){var g=m[0],k=m[1];m=m[2];b[0]*=g;b[1]*=g;b[2]*=g;b[3]*=g;b[4]*=k;b[5]*=k;b[6]*=k;b[7]*=k;b[8]*=m;b[9]*=m;b[10]*=m;b[11]*=m}
function yb(b,m,g,k){k||(k=vb());var c,p,a,e,w,d,h,n,s=b[0],y=b[1];b=b[2];p=g[0];a=g[1];c=g[2];g=m[1];d=m[2];s===m[0]&&y===g&&b===d?(b=k,b[0]=1,b[1]=0,b[2]=0,b[3]=0,b[4]=0,b[5]=1,b[6]=0,b[7]=0,b[8]=0,b[9]=0,b[10]=1,b[11]=0,b[12]=0,b[13]=0,b[14]=0,b[15]=1):(g=s-m[0],d=y-m[1],h=b-m[2],n=1/Math.sqrt(g*g+d*d+h*h),g*=n,d*=n,h*=n,m=a*h-c*d,c=c*g-p*h,p=p*d-a*g,(n=Math.sqrt(m*m+c*c+p*p))?(n=1/n,m*=n,c*=n,p*=n):p=c=m=0,a=d*p-h*c,e=h*m-g*p,w=g*c-d*m,(n=Math.sqrt(a*a+e*e+w*w))?(n=1/n,a*=n,e*=n,w*=n):w=e=a=0,
k[0]=m,k[1]=a,k[2]=g,k[3]=0,k[4]=c,k[5]=e,k[6]=d,k[7]=0,k[8]=p,k[9]=w,k[10]=h,k[11]=0,k[12]=-(m*s+c*y+p*b),k[13]=-(a*s+e*y+w*b),k[14]=-(g*s+d*y+h*b),k[15]=1)}
(function(){function b(a){this.height=this.width=0;this.Jj=ub([0,0,100]);this.Kk=ub([0,0,0]);this.Nl=ub([0,1,0]);this.lj=ub([1,1,1]);this.li=vb();this.Ib=vb();this.yk=vb();this.sh=vb();this.n=a;this.ok()}function m(a,e,c){this.n=a;this.Ef=e;this.name=c;this.Hb=a.getAttribLocation(e,"aPos");this.dd=a.getAttribLocation(e,"aTex");this.Ik=a.getUniformLocation(e,"matP");this.me=a.getUniformLocation(e,"matMV");this.ne=a.getUniformLocation(e,"opacity");this.Jk=a.getUniformLocation(e,"samplerFront");this.Eg=
a.getUniformLocation(e,"samplerBack");this.le=a.getUniformLocation(e,"destStart");this.ke=a.getUniformLocation(e,"destEnd");this.ii=a.getUniformLocation(e,"seconds");this.hi=a.getUniformLocation(e,"pixelWidth");this.gi=a.getUniformLocation(e,"pixelHeight");this.fi=a.getUniformLocation(e,"layerScale");this.ne&&a.uniform1f(this.ne,1);this.Jk&&a.uniform1i(this.Jk,0);this.Eg&&a.uniform1i(this.Eg,1);this.le&&a.uniform2f(this.le,0,0);this.ke&&a.uniform2f(this.ke,1,1);this.Jd=q}function g(a,e){this.type=
a;this.F=e;this.n=e.n;this.sc=this.Jb=this.Xk=0;this.r=this.Qd=l;this.Vi=[]}function k(a){--a;for(var e=1;32>e;e<<=1)a|=a>>e;return a+1}b.prototype.ok=function(){var a=this.n,e;this.zk=1;this.ge=l;this.Pj=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.xq=a.getParameter(a.MAX_TEXTURE_SIZE);this.Ak=a.ONE;this.xk=a.ONE_MINUS_SRC_ALPHA;this.Bi=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,
this.Bi);this.Nf=Array(4);this.If=Array(4);for(e=0;4>e;e++)this.Nf[e]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Nf[e]),this.If[e]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.If[e]);this.Dc=0;this.Yn=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Yn);this.jj=new Float32Array(16E3);this.$i=new Float32Array(16E3);this.xo=new Float32Array(32E3);for(var c=new Uint16Array(12E3),d=e=0;12E3>e;)c[e++]=d,c[e++]=d+1,c[e++]=d+2,c[e++]=d,c[e++]=d+2,c[e++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,
c,a.STATIC_DRAW);this.Ci=this.yc=0;this.ya=[];e=this.ph({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.ya.push(e);e=this.ph({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.ya.push(e);for(var h in zb)zb.hasOwnProperty(h)&&this.ya.push(this.ph(zb[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.Vc=[];this.Cc=0;this.Db=this.ab=q;this.Qj=this.lf=-1;this.Oe=l;this.qn=a.createFramebuffer();this.nl=l;this.rd=ub([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.yq=a[0];this.wq=a[1];
this.vc(0)};b.prototype.ph=function(a,e,c){var d=this.n,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 n=d.createShader(d.VERTEX_SHADER);d.shaderSource(n,e);d.compileShader(n);if(!d.getShaderParameter(n,d.COMPILE_STATUS))return d.deleteShader(h),d.deleteShader(n),l;e=d.createProgram();d.attachShader(e,h);d.attachShader(e,n);d.linkProgram(e);if(!d.getProgramParameter(e,d.LINK_STATUS))return d.deleteShader(h),
d.deleteShader(n),d.deleteProgram(e),l;d.useProgram(e);d.validateProgram(e);d.deleteShader(h);d.deleteShader(n);c=new m(d,e,c);c.zh=a.zh||0;c.Ah=a.Ah||0;c.Oj=!!a.Oj;c.Bj=!!a.Bj;c.p=a.p||[];a=0;for(h=c.p.length;a<h;a++)c.p[a][1]=d.getUniformLocation(e,c.p[a][0]),d.uniform1f(c.p[a][1],0);return c};b.prototype.Lh=function(a){var e,c;e=0;for(c=this.ya.length;e<c;e++)if(this.ya[e].name===a)return e;return-1};b.prototype.il=function(a,e,c){var d=[0,0,this.width,this.height],h=this.Ib,n=this.li,s=[0,0,0,
0,0,0,0,0];s[0]=h[0]*a+h[4]*e+h[12];s[1]=h[1]*a+h[5]*e+h[13];s[2]=h[2]*a+h[6]*e+h[14];s[3]=h[3]*a+h[7]*e+h[15];s[4]=n[0]*s[0]+n[4]*s[1]+n[8]*s[2]+n[12]*s[3];s[5]=n[1]*s[0]+n[5]*s[1]+n[9]*s[2]+n[13]*s[3];s[6]=n[2]*s[0]+n[6]*s[1]+n[10]*s[2]+n[14]*s[3];s[7]=-s[2];0!==s[7]&&(s[7]=1/s[7],s[4]*=s[7],s[5]*=s[7],s[6]*=s[7],c[0]=(0.5*s[4]+0.5)*d[2]+d[0],c[1]=(0.5*s[5]+0.5)*d[3]+d[1])};b.prototype.Ti=function(a,e,c){if(!(this.width===a&&this.height===e&&!c)){this.Gd();this.width=a;this.height=e;this.n.viewport(0,
0,a,e);e=a/e;var d=this.li,h;h=1*Math.tan(45*Math.PI/360);e*=h;a=-e;c=-h;d||(d=vb());var n=e-a,s=h-c;d[0]=2/n;d[1]=0;d[2]=0;d[3]=0;d[4]=0;d[5]=2/s;d[6]=0;d[7]=0;d[8]=(e+a)/n;d[9]=(h+c)/s;d[10]=-1001/999;d[11]=-1;d[12]=0;d[13]=0;d[14]=-2E3/999;d[15]=0;yb(this.Jj,this.Kk,this.Nl,this.Ib);a=[0,0];e=[0,0];this.il(0,0,a);this.il(1,1,e);this.lj[0]=1/(e[0]-a[0]);this.lj[1]=-1/(e[1]-a[1]);a=0;for(e=this.ya.length;a<e;a++)c=this.ya[a],c.Jd=q,c.Ik&&(this.n.useProgram(c.Ef),this.n.uniformMatrix4fv(c.Ik,q,this.li));
this.n.useProgram(this.ya[this.lf].Ef);this.n.bindTexture(this.n.TEXTURE_2D,l);this.ge=l}};b.prototype.jd=function(){yb(this.Jj,this.Kk,this.Nl,this.Ib);xb(this.Ib,this.lj)};b.prototype.translate=function(a,e){if(!(0===a&&0===e)){this.rd[0]=a;this.rd[1]=e;this.rd[2]=0;var c=this.Ib,d=this.rd,h=d[0],n=d[1],d=d[2];c[12]=c[0]*h+c[4]*n+c[8]*d+c[12];c[13]=c[1]*h+c[5]*n+c[9]*d+c[13];c[14]=c[2]*h+c[6]*n+c[10]*d+c[14];c[15]=c[3]*h+c[7]*n+c[11]*d+c[15]}};b.prototype.scale=function(a,e){1===a&&1===e||(this.rd[0]=
a,this.rd[1]=e,this.rd[2]=1,xb(this.Ib,this.rd))};b.prototype.ol=function(a){if(0!==a){var e=this.Ib,c,d=Math.sin(a);a=Math.cos(a);var h=e[0],n=e[1],s=e[2],y=e[3],x=e[4],u=e[5],r=e[6],E=e[7];c?e!==c&&(c[8]=e[8],c[9]=e[9],c[10]=e[10],c[11]=e[11],c[12]=e[12],c[13]=e[13],c[14]=e[14],c[15]=e[15]):c=e;c[0]=h*a+x*d;c[1]=n*a+u*d;c[2]=s*a+r*d;c[3]=y*a+E*d;c[4]=h*-d+x*a;c[5]=n*-d+u*a;c[6]=s*-d+r*a;c[7]=y*-d+E*a}};b.prototype.td=function(){for(var a=q,e=0;16>e;e++)if(this.yk[e]!==this.Ib[e]){a=f;break}a&&(a=
this.$b(),a.type=5,a.r?wb(this.Ib,a.r):a.r=vb(this.Ib),wb(this.Ib,this.yk),this.Db=this.ab=q)};g.prototype.Om=function(){this.n.bindTexture(this.n.TEXTURE_2D,this.Qd)};g.prototype.Lm=function(){var a=this.Xk,e=this.F;e.Pj=a;e=e.Oe;e.ne&&this.n.uniform1f(e.ne,a)};g.prototype.Im=function(){this.n.drawElements(this.n.TRIANGLES,this.sc,this.n.UNSIGNED_SHORT,2*this.Jb)};g.prototype.Km=function(){this.n.blendFunc(this.Jb,this.sc)};g.prototype.Pm=function(){var a,e,c,d=this.F.ya,h=this.F.Qj;a=0;for(e=d.length;a<
e;a++)c=d[a],a===h&&c.me?(this.n.uniformMatrix4fv(c.me,q,this.r),c.Jd=f):c.Jd=q;wb(this.r,this.F.sh)};g.prototype.Jm=function(){var a=this.n,e=this.F;this.Qd?(a.bindFramebuffer(a.FRAMEBUFFER,e.qn),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Qd,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,l,0),a.bindFramebuffer(a.FRAMEBUFFER,l))};g.prototype.Gm=function(){var a=this.n;0===this.Jb?(a.clearColor(this.r[0],this.r[1],this.r[2],this.r[3]),a.clear(a.COLOR_BUFFER_BIT)):
(a.enable(a.SCISSOR_TEST),a.scissor(this.r[0],this.r[1],this.r[2],this.r[3]),a.clearColor(0,0,0,0),a.clear(this.n.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};g.prototype.Hm=function(){var a=this.n,e=this.F,c=e.ya[1];a.useProgram(c.Ef);!c.Jd&&c.me&&(a.uniformMatrix4fv(c.me,q,e.sh),c.Jd=f);a.enableVertexAttribArray(c.Hb);a.bindBuffer(a.ARRAY_BUFFER,e.Bi);a.vertexAttribPointer(c.Hb,4,a.FLOAT,q,0,0);a.drawArrays(a.POINTS,this.Jb/4,this.sc);c=e.Oe;a.useProgram(c.Ef);0<=c.Hb&&(a.enableVertexAttribArray(c.Hb),
a.bindBuffer(a.ARRAY_BUFFER,e.Nf[e.Dc]),a.vertexAttribPointer(c.Hb,2,a.FLOAT,q,0,0));0<=c.dd&&(a.enableVertexAttribArray(c.dd),a.bindBuffer(a.ARRAY_BUFFER,e.If[e.Dc]),a.vertexAttribPointer(c.dd,2,a.FLOAT,q,0,0))};g.prototype.Mm=function(){var a=this.n,e=this.F,c=e.ya[this.Jb];e.Qj=this.Jb;e.Oe=c;a.useProgram(c.Ef);!c.Jd&&c.me&&(a.uniformMatrix4fv(c.me,q,e.sh),c.Jd=f);c.ne&&a.uniform1f(c.ne,e.Pj);0<=c.Hb&&(a.enableVertexAttribArray(c.Hb),a.bindBuffer(a.ARRAY_BUFFER,e.Nf[e.Dc]),a.vertexAttribPointer(c.Hb,
2,a.FLOAT,q,0,0));0<=c.dd&&(a.enableVertexAttribArray(c.dd),a.bindBuffer(a.ARRAY_BUFFER,e.If[e.Dc]),a.vertexAttribPointer(c.dd,2,a.FLOAT,q,0,0))};g.prototype.Nm=function(){var a,e,c=this.F.Oe,d=this.n;c.Eg&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.Qd),d.activeTexture(d.TEXTURE0));c.hi&&d.uniform1f(c.hi,this.r[0]);c.gi&&d.uniform1f(c.gi,this.r[1]);c.le&&d.uniform2f(c.le,this.r[2],this.r[3]);c.ke&&d.uniform2f(c.ke,this.r[4],this.r[5]);c.fi&&d.uniform1f(c.fi,this.r[6]);c.ii&&d.uniform1f(c.ii,
Oa()/1E3);if(c.p.length){a=0;for(e=c.p.length;a<e;a++)d.uniform1f(c.p[a][1],this.Vi[a])}};b.prototype.$b=function(){this.Cc===this.Vc.length&&this.Vc.push(new g(0,this));return this.Vc[this.Cc++]};b.prototype.Gd=function(){if(0!==this.Cc&&!this.n.isContextLost()){var a=this.n;0<this.Ci&&(a.bindBuffer(a.ARRAY_BUFFER,this.Bi),a.bufferData(a.ARRAY_BUFFER,this.xo.subarray(0,this.Ci),a.STREAM_DRAW),e&&(0<=e.Hb&&"<point>"===e.name)&&a.vertexAttribPointer(e.Hb,4,a.FLOAT,q,0,0));if(0<this.yc){var e=this.Oe;
a.bindBuffer(a.ARRAY_BUFFER,this.Nf[this.Dc]);a.bufferData(a.ARRAY_BUFFER,this.jj.subarray(0,this.yc),a.STREAM_DRAW);e&&(0<=e.Hb&&"<point>"!==e.name)&&a.vertexAttribPointer(e.Hb,2,a.FLOAT,q,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.If[this.Dc]);a.bufferData(a.ARRAY_BUFFER,this.$i.subarray(0,this.yc),a.STREAM_DRAW);e&&(0<=e.dd&&"<point>"!==e.name)&&a.vertexAttribPointer(e.dd,2,a.FLOAT,q,0,0)}for(var c,a=0,e=this.Cc;a<e;a++)switch(c=this.Vc[a],c.type){case 1:c.Im();break;case 2:c.Om();break;case 3:c.Lm();
break;case 4:c.Km();break;case 5:c.Pm();break;case 6:c.Jm();break;case 7:c.Gm();break;case 8:c.Hm();break;case 9:c.Mm();break;case 10:c.Nm()}this.Ci=this.yc=this.Cc=0;this.Db=this.ab=q;this.Dc++;4<=this.Dc&&(this.Dc=0)}};b.prototype.Cf=function(a){if(a!==this.zk){var c=this.$b();c.type=3;this.zk=c.Xk=a;this.Db=this.ab=q}};b.prototype.ec=function(a){if(a!==this.ge){var c=this.$b();c.type=2;this.ge=c.Qd=a;this.Db=this.ab=q}};b.prototype.kd=function(a,c){if(!(a===this.Ak&&c===this.xk)){var b=this.$b();
b.type=4;b.Jb=a;b.sc=c;this.Ak=a;this.xk=c;this.Db=this.ab=q}};b.prototype.tl=function(){this.kd(this.n.ONE,this.n.ONE_MINUS_SRC_ALPHA)};b.prototype.Pg=function(a,c,b,d,h,n,s,y){15992<=this.yc&&this.Gd();var x=this.yc,u=this.jj,r=this.$i;if(this.ab)this.Vc[this.Cc-1].sc+=6;else{var E=this.$b();E.type=1;E.Jb=3*(x/4);E.sc=6;this.ab=f;this.Db=q}u[x]=a;r[x++]=0;u[x]=c;r[x++]=0;u[x]=b;r[x++]=1;u[x]=d;r[x++]=0;u[x]=h;r[x++]=1;u[x]=n;r[x++]=1;u[x]=s;r[x++]=0;u[x]=y;r[x++]=1;this.yc=x};b.prototype.Pd=function(a,
c,b,d,h,n,s,y,x){15992<=this.yc&&this.Gd();var u=this.yc,r=this.jj,E=this.$i;if(this.ab)this.Vc[this.Cc-1].sc+=6;else{var F=this.$b();F.type=1;F.Jb=3*(u/4);F.sc=6;this.ab=f;this.Db=q}r[u]=a;E[u++]=x.left;r[u]=c;E[u++]=x.top;r[u]=b;E[u++]=x.right;r[u]=d;E[u++]=x.top;r[u]=h;E[u++]=x.right;r[u]=n;E[u++]=x.bottom;r[u]=s;E[u++]=x.left;r[u]=y;E[u++]=x.bottom;this.yc=u};b.prototype.vc=function(a){if(this.lf!==a){if(!this.ya[a]){if(0===this.lf)return;a=0}var c=this.$b();c.type=9;this.lf=c.Jb=a;this.Db=this.ab=
q}};b.prototype.xf=function(a){a=this.ya[a];return!(!a.le&&!a.ke)};b.prototype.Di=function(a){return this.ya[a].Oj};b.prototype.Co=function(a){a=this.ya[a];return 0!==a.zh||0!==a.Ah};b.prototype.Fn=function(a){return this.ya[a].zh};b.prototype.Gn=function(a){return this.ya[a].Ah};b.prototype.Hn=function(a,c){return this.ya[a].p[c][2]};b.prototype.Og=function(a){return this.ya[a].Bj};b.prototype.we=function(a,c,b,d,h,n,s,y,x){var u=this.ya[this.lf];if(u.hi||u.gi||u.ii||u.Eg||u.le||u.ke||u.fi||x.length){u=
this.$b();u.type=10;u.r?wb(this.Ib,u.r):u.r=vb();u.r[0]=c;u.r[1]=b;u.r[2]=d;u.r[3]=h;u.r[4]=n;u.r[5]=s;u.r[6]=y;u.Qd=a;if(x.length){u.Vi.length=x.length;a=0;for(c=x.length;a<c;a++)u.Vi[a]=x[a]}this.Db=this.ab=q}};b.prototype.clear=function(a,c,b,d){var h=this.$b();h.type=7;h.Jb=0;h.r||(h.r=vb());h.r[0]=a;h.r[1]=c;h.r[2]=b;h.r[3]=d;this.Db=this.ab=q};b.prototype.clearRect=function(a,c,b,d){var h=this.$b();h.type=7;h.Jb=1;h.r||(h.r=vb());h.r[0]=a;h.r[1]=c;h.r[2]=b;h.r[3]=d;this.Db=this.ab=q};b.prototype.Bo=
function(){this.Gd();this.n.flush()};var c=[],p={};b.prototype.Hk=function(a,e,b){var d;d=!!q;e=!!e;var h=a.src+","+d+","+e+(d?",undefined":""),n=l;if("undefined"!==typeof a.src&&p.hasOwnProperty(h))return n=p[h],n.Uf++,n;this.Gd();var s=this.n,y=ea(a.width)&&ea(a.height),n=s.createTexture();s.bindTexture(s.TEXTURE_2D,n);s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL,f);var x=s.RGBA,u=s.RGBA,r=s.UNSIGNED_BYTE;if(b)switch(b){case 1:u=x=s.RGB;break;case 2:r=s.UNSIGNED_SHORT_4_4_4_4;break;case 3:r=s.UNSIGNED_SHORT_5_5_5_1;
break;case 4:u=x=s.RGB,r=s.UNSIGNED_SHORT_5_6_5}!y&&d?(b=document.createElement("canvas"),b.width=k(a.width),b.height=k(a.height),b.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,b.width,b.height),s.texImage2D(s.TEXTURE_2D,0,x,u,r,b)):s.texImage2D(s.TEXTURE_2D,0,x,u,r,a);d?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.REPEAT),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.REPEAT)):(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,
s.CLAMP_TO_EDGE));e?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.LINEAR),y?(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR_MIPMAP_LINEAR),s.generateMipmap(s.TEXTURE_2D)):s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR)):(s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.NEAREST),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.NEAREST));s.bindTexture(s.TEXTURE_2D,l);this.ge=l;n.Ie=a.width;n.He=a.height;n.Uf=1;n.Fj=h;c.push(n);return p[h]=n};b.prototype.Xc=function(a,
e,b){this.Gd();var d=this.n,h=d.createTexture();d.bindTexture(d.TEXTURE_2D,h);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,e,0,d.RGBA,d.UNSIGNED_BYTE,l);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,b?d.LINEAR:d.NEAREST);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,b?d.LINEAR:d.NEAREST);d.bindTexture(d.TEXTURE_2D,l);this.ge=l;h.Ie=a;h.He=e;c.push(h);return h};b.prototype.deleteTexture=
function(a){a&&("undefined"!==typeof a.Uf&&1<a.Uf?a.Uf--:(this.Gd(),this.n.bindTexture(this.n.TEXTURE_2D,l),this.ge=l,sa(c,a),"undefined"!==typeof a.Fj&&delete p[a.Fj],this.n.deleteTexture(a)))};b.prototype.Oc=function(a){if(a!==this.nl){var c=this.$b();c.type=6;this.nl=c.Qd=a;this.Db=this.ab=q}};Ya=b})();
(function(){function b(n){if(n&&(n.getContext||n.dc)&&!n.c2runtime){n.c2runtime=this;var a=this;this.Ld="undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.Eb=!!n.dc;this.be="undefined"!==typeof window.AppMobi||this.Eb;if(this.rb=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(f)}),CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(q)});this.eb=this.Eb||this.rb;this.rg=
/tizen/i.test(navigator.userAgent);this.Uh=/android/i.test(navigator.userAgent)&&!this.rg;this.sq=/msie/i.test(navigator.userAgent);this.wg=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.vk=/ipad/i.test(navigator.userAgent);this.vg=this.wg||this.vk;this.rk=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.bo=!this.rk&&/safari/i.test(navigator.userAgent);this.tk=/windows/i.test(navigator.userAgent);this.df="undefined"!==typeof window.c2nodewebkit;
this.$n="undefined"!==typeof window.is_scirra_arcade;this.eo=!!("undefined"!==typeof window.c2isWindows8&&window.c2isWindows8);this.fo=!!("undefined"!==typeof window.c2isWindowsPhone8&&window.c2isWindowsPhone8);this.ao=!!("undefined"!==typeof window.c2isBlackberry10&&window.c2isBlackberry10);this.devicePixelRatio=1;this.de=this.Ld||this.be||this.rb||this.Uh||this.vg||this.fo||this.ao||this.rg;this.de||(this.de=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));
if("undefined"!==typeof cr_is_preview&&!this.df&&("?nw"===window.location.search||/nodewebkit/i.test(navigator.userAgent)))this.df=f;this.canvas=n;this.Kj=document.getElementById("c2canvasdiv");this.S=this.F=this.n=l;this.canvas.oncontextmenu=function(n){n.preventDefault&&n.preventDefault();return q};this.canvas.onselectstart=function(n){n.preventDefault&&n.preventDefault();return q};this.Eb&&(window.c2runtime=this);this.df&&(window.Aq=function(n){n.preventDefault();return q},window.Bq=function(n){n.preventDefault();
return q});this.width=n.width;this.height=n.height;this.Dk=this.width;this.Ck=this.height;this.Z=f;this.ff=q;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.k=[];this.la=[];this.di={};this.Yb=[];this.yh={};this.Hd=[];this.ud=[];this.$g=[];this.tm=[];this.nc=new Pa;this.Vh=q;this.Wb=0;this.Xh=q;this.mc=[];this.sk=q;this.Jc=this.Ma=this.Cg=this.Qi="";this.Gf=this.zl=q;this.ep=this.oh=this.Gg=this.Zc=this.Fd=0;this.Rd=1;this.Fb=new Qa;this.zg=0;this.Lk=f;this.Ig=this.gg=
this.dg=this.Jf=this.mf=this.Ch=0;this.Ke=l;this.vh=[];this.xh=[];this.bg=-1;this.ji=[[]];this.fj=this.Fg=0;this.Gi(l);this.uq=[];this.vq=-1;this.Ok=this.rf=0;this.Fk=f;this.Pe=0;this.Hf=[];this.cj=this.Hi=0;this.jf=f;this.je=0;this.qg=q;this.So=0;this.mg=q;this.qi=new Pa;this.ri=new Pa;this.Fo=[];this.Dq=new Sa([]);this.Eq=new Sa([]);this.Vd=[];this.Qf={};this.Xd={};this.Ud={};this.Ae={};this.Dj={};this.Xb=this.tb=this.Ek=this.Bg=this.P=l;this.ze=this.Zh=q;this.Dh=[l,l];this.Se=0;this.Zj="";this.qe=
{};this.Vg=this.ie=l;this.Ro="";this.load();this.devicePixelRatio=(this.ef=!this.eb&&this.cp&&(this.vg||this.rg))?window.devicePixelRatio||1:1;this.Ga();var c;"undefined"!==typeof jQuery&&0<this.Bb&&this.setSize(jQuery(window).width(),jQuery(window).height());try{if(this.Rm&&(this.rb||!this.eb)){c={depth:q,antialias:!this.de};var d=f;if(this.rk&&this.tk){var e=document.createElement("canvas");if("OES_texture_float,OES_standard_derivatives,WEBKIT_WEBGL_lose_context"===(e.getContext("webgl",c)||e.getContext("experimental-webgl",
c)).getSupportedExtensions().toString())d=q}d&&(this.n=n.getContext("webgl",c)||n.getContext("experimental-webgl",c))}}catch(r){}if(this.n){this.eb||(this.Sa=document.createElement("canvas"),jQuery(this.Sa).appendTo(this.canvas.parentNode),this.Sa.oncontextmenu=z(q),this.Sa.onselectstart=z(q),this.Sa.width=n.width,this.Sa.height=n.height,this.gl(),this.yi=this.Sa.getContext("2d"));this.F=new Ya(this.n,this.de);this.F.Ti(n.width,n.height);this.S=l;this.canvas.addEventListener("webglcontextlost",function(n){n.preventDefault();
a.mo();window.cr_setSuspended(f)},q);this.canvas.addEventListener("webglcontextrestored",function(){a.F.ok();a.F.Ti(a.F.width,a.F.height,f);a.tb=l;a.Xb=l;a.Dh[0]=l;a.Dh[1]=l;a.no();a.Z=f;window.cr_setSuspended(q)},q);var h,b,g,p,k;n=0;for(c=this.k.length;n<c;n++){h=this.k[n];d=0;for(e=h.B.length;d<e;d++)g=h.B[d],g.Fa=this.F.Lh(g.id),this.ze=this.ze||this.F.xf(g.Fa)}n=0;for(c=this.Yb.length;n<c;n++){p=this.Yb[n];d=0;for(e=p.B.length;d<e;d++)g=p.B[d],g.Fa=this.F.Lh(g.id);d=0;for(e=p.L.length;d<e;d++){k=
p.L[d];h=0;for(b=k.B.length;h<b;h++)g=k.B[h],g.Fa=this.F.Lh(g.id),this.ze=this.ze||this.F.xf(g.Fa)}}}else{if(0<this.Bb&&this.Eb){this.canvas=l;document.oncontextmenu=z(q);document.onselectstart=z(q);this.S=AppMobi.canvas.getContext("2d");try{this.S.samplingMode=this.ta?"smooth":"sharp",this.S.globalScale=1,this.S.HTML5CompatibilityMode=f}catch(w){}0!==this.width&&0!==this.height&&(this.S.width=this.width,this.S.height=this.height)}this.S||(this.rb?(c={antialias:!!this.ta},this.S=n.getContext("2d",
c)):this.S=n.getContext("2d"),this.S.webkitImageSmoothingEnabled=this.ta,this.S.mozImageSmoothingEnabled=this.ta,this.S.msImageSmoothingEnabled=this.ta,this.S.imageSmoothingEnabled=this.ta);this.yi=this.Sa=l}this.Fl=function(){a.Ua()};window!=window.top&&(!this.eb&&!this.eo)&&(document.addEventListener("mousedown",function(){window.focus()},f),document.addEventListener("touchstart",function(){window.focus()},f));"undefined"!==typeof cr_is_preview&&(this.rb&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),
"?continuous"===window.location.search&&(I("Reloading for continuous preview"),this.Cg="__c2_continuouspreview",this.Gf=f),this.wo&&!this.de&&(jQuery(window).focus(function(){a.setSuspended(q)}),jQuery(window).blur(function(){a.setSuspended(f)})));this.go();this.ha={}}}function m(n){n.target.result.createObjectStore("saves",{keyPath:"slot"})}function g(n,a,c,d){var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=m;e.onerror=d;e.onsuccess=function(e){e=e.target.result;e.onerror=d;e.transaction(["saves"],
"readwrite").objectStore("saves").put({slot:n,data:a}).onsuccess=c}}function k(n,a,c){var d=indexedDB.open("_C2SaveStates");d.onupgradeneeded=m;d.onerror=c;d.onsuccess=function(d){d=d.target.result;d.onerror=c;var e=d.transaction(["saves"]).objectStore("saves").get(n);e.onsuccess=function(){e.result?a(e.result.data):a(l)}}}function c(){I("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():"?continuous"===window.location.search?window.location.reload(f):window.location+="?continuous"}
function p(n){var a,c={};for(a in n)n.hasOwnProperty(a)&&!(n[a]instanceof Pa)&&"undefined"===typeof n[a].mq&&"mouseOverInverted"!==a&&(c[a]=n[a]);return c}b.prototype.setSize=function(n,a){var c=this.Wn&&this.wg&&!navigator.standalone&&!this.eb&&!this.Ld,d=0;c&&(this.wg?d=60:this.Uh&&(d=56),a+=d);var e=0,r=0,h=0,b=0,g=0,g=this.Bb,p=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.qg;p&&0<this.Se&&(g=this.Se);4<=g?(h=this.hb/this.gb,n/a>h?(h*=a,5===g?(g=h/this.hb,1<g?
g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),h=this.hb*g,b=this.gb*g,e=(n-h)/2,r=(a-b)/2,n=h,a=b):(e=(n-h)/2,n=h)):(b=n/h,5===g?(g=b/this.gb,1<g?g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),h=this.hb*g,b=this.gb*g,e=(n-h)/2,r=(a-b)/2,n=h):r=(a-b)/2,a=b),p&&!this.df&&(r=e=0),e=Math.floor(e),r=Math.floor(r),n=Math.floor(n),a=Math.floor(a)):this.df&&(this.qg&&0===this.ak)&&(e=Math.floor((n-this.hb)/2),r=Math.floor((a-this.gb)/2),n=this.hb,a=this.gb);this.ef&&(this.vk&&1<this.devicePixelRatio)&&(1024<=n&&(n=
1023),1024<=a&&(a=1023));p=this.devicePixelRatio;this.width=n*p;this.height=a*p;this.Z=f;this.Kj&&!this.eb&&(jQuery(this.Kj).css({width:n+"px",height:a+"px","margin-left":e,"margin-top":r}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:n+"px",height:a+"px"}));this.canvas&&(this.canvas.width=n*p,this.canvas.height=a*p,this.ef&&jQuery(this.canvas).css({width:n+"px",height:a+"px"}));this.Sa&&(this.Sa.width=n,this.Sa.height=a);this.F&&this.F.Ti(n,a);this.Eb&&this.S&&(this.S.width=
n,this.S.height=a);this.S&&(this.S.webkitImageSmoothingEnabled=this.ta,this.S.mozImageSmoothingEnabled=this.ta,this.S.msImageSmoothingEnabled=this.ta,this.S.imageSmoothingEnabled=this.ta);c&&0<d&&window.setTimeout(function(){window.scrollTo(0,1)},100)};b.prototype.mo=function(){this.Zh=f;var n,a,c;n=0;for(a=this.k.length;n<a;n++)c=this.k[n],c.Sk&&c.Sk()};b.prototype.no=function(){this.Zh=q;var n,a,c;n=0;for(a=this.k.length;n<a;n++)c=this.k[n],c.Uk&&c.Uk()};b.prototype.gl=function(){if(!this.eb){var n=
document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.qg?jQuery(this.canvas).offset():jQuery(this.canvas).position();n.position="absolute";jQuery(this.Sa).css(n)}};var a=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;b.prototype.setSuspended=function(n){var c;if(n&&!this.ff){I("[Construct 2] Suspending");this.ff=f;0!==this.Hi&&a&&a(this.Hi);0!==this.cj&&clearTimeout(this.cj);
n=0;for(c=this.Hf.length;n<c;n++)this.Hf[n](f)}else if(!n&&this.ff){I("[Construct 2] Resuming");this.ff=q;this.zg=Oa();this.mf=Oa();n=this.gg=0;for(c=this.Hf.length;n<c;n++)this.Hf[n](q);this.Ua()}};b.prototype.yj=function(n){this.Hf.push(n)};b.prototype.load=function(){var n=Ab();this.name=n[0];this.$j=n[1];this.Bb=n[11];this.ak=n[11];if(this.eb&&(4<=n[11]||0===n[11]))I("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.ak=this.Bb=
3;this.hj=n[17];this.of=n[18];0===this.of&&(this.ie=new Image,this.ie.src="loading-logo.png");this.rf=n[20];this.wc=new U(this);var a,c,d,e,r,h,b,g,p;a=0;for(c=n[2].length;a<c;a++)b=n[2][a],Bb(b),p=new b[0](this),p.Xi=b[1],p.cd=b[2],p.Nk=b[9],p.va&&p.va(),this.plugins.push(p);n=Ab();a=0;for(c=n[3].length;a<c;a++){b=n[3][a];r=b[1];p=l;d=0;for(e=this.plugins.length;d<e;d++)if(this.plugins[d]instanceof r){p=this.plugins[d];break}var k=new p.Pb(p);k.name=b[0];k.H=b[2];k.Th=b[3].slice(0);k.dp=b[3].length;
k.vm=b[4];k.tn=b[5];k.I=b[11];k.H?(k.Hg=[],k.qc=this.Pe++,k.X=l):(k.Hg=l,k.qc=-1,k.X=[]);k.eg=l;k.Zd=l;k.Vj=l;k.sb=q;k.Ra=l;b[6]?(k.Cl=b[6][0],k.Dl=b[6][1],k.Vo=b[6][2]):(k.Cl=l,k.Dl=0,k.Vo=0);k.Ya=b[7]?b[7]:l;k.index=a;k.c=[];k.Zf=[];k.nd=[new Za(k)];k.Ec=0;k.yb=l;k.pd=f;k.ah=Cb;k.zn=Db;k.En=Eb;k.T=Fb;k.yf=Kb;k.Fi=Lb;k.ve=Mb;k.hg=Nb;k.Fh=Ob;k.Hh=Pb;k.Ge=Qb;k.ha={};k.toString=Rb;k.la=[];d=0;for(e=b[8].length;d<e;d++){g=b[8][d];var w=g[1],m=l;r=0;for(h=this.la.length;r<h;r++)if(this.la[r]instanceof
w){m=this.la[r];break}m||(m=new w(this),m.oi=new Pa,m.va&&m.va(),this.la.push(m));r=new m.Pb(m,k);r.name=g[0];r.I=g[2];r.va();k.la.push(r)}k.global=b[9];k.Wh=b[10];k.B=[];d=0;for(e=b[12].length;d<e;d++)k.B.push({id:b[12][d][0],name:b[12][d][1],Fa:-1,Ac:f,index:d});(!this.hj||k.H||k.Wh||!p.cd)&&k.va();k.name&&(this.types[k.name]=k);this.k.push(k);p.Xi&&(d=new p.Wa(k),d.uid=this.rf++,d.ll=this.Ok++,d.Ye=0,d.Ve=Sb,d.toString=Tb,d.Ea=b[13],d.va(),k.c.push(d))}a=0;for(c=n[4].length;a<c;a++){r=n[4][a];
h=this.k[r[0]];d=1;for(e=r.length;d<e;d++)b=this.k[r[d]],b.X.push(h),h.Hg.push(b)}a=0;for(c=n[22].length;a<c;a++){r=n[22][a];h=[];d=0;for(e=r.length;d<e;d++)h.push(this.k[r[d]]);d=0;for(e=h.length;d<e;d++)h[d].sb=f,h[d].Ra=h}if(0<this.Pe){a=0;for(c=this.k.length;a<c;a++)if(b=this.k[a],!b.H&&b.X.length){b.eg=Array(this.Pe);b.Zd=Array(this.Pe);b.Vj=Array(this.Pe);k=[];d=m=w=g=0;for(e=b.X.length;d<e;d++){p=b.X[d];b.eg[p.qc]=g;g+=p.dp;b.Zd[p.qc]=w;w+=p.vm;b.Vj[p.qc]=m;m+=p.tn;r=0;for(h=p.B.length;r<h;r++)k.push(na({},
p.B[r]))}b.B=k.concat(b.B);d=0;for(e=b.B.length;d<e;d++)b.B[d].index=d}}a=0;for(c=n[5].length;a<c;a++)b=n[5][a],d=new $a(this,b),this.di[d.name]=d,this.Yb.push(d);a=0;for(c=n[6].length;a<c;a++)b=n[6][a],d=new ab(this,b),this.yh[d.name]=d,this.Hd.push(d);a=0;for(c=this.Hd.length;a<c;a++)this.Hd[a].ka();a=0;for(c=this.$g.length;a<c;a++)this.$g[a].ka();this.$g.length=0;this.Zj=n[7];this.ue=n[8];this.hb=n[9];this.gb=n[10];this.Sf=1;this.Rm=n[12];this.ta=n[13];this.Lj=n[14];this.Gq=n[15];a=n[16];2===a&&
(a=this.wg?1:0);this.cp=0!==a;this.Wn=n[19];this.wo=n[21];this.Ff=Date.now()};b.prototype.rn=function(a){var c,d;c=0;for(d=this.ud.length;c<d;c++)if(this.ud[c].Cm===a)return this.ud[c];return l};b.prototype.Cj=function(){var a=0,c=0,d=f,e,h;e=0;for(h=this.ud.length;e<h;e++){var r=this.ud[e].Bm;if(!r||0>=r)r=5E4;a+=r;this.ud[e].complete||this.ud[e].loaded?c+=r:d=q}this.Od=0==a?0:c/a;return d};b.prototype.go=function(){if(this.S||this.F){var a=this.S||this.yi;this.Sa&&this.gl();this.Od=0;this.Bk=-1;
if(this.Cj())this.Un();else{var c=Date.now()-this.Ff,d=1;this.rg&&(d=this.devicePixelRatio);if(a){if(3!==this.of&&500<=c&&this.Bk!=this.Od){a.clearRect(0,0,this.width,this.height);var c=this.width/(2*d),d=this.height/(2*d),e=0===this.of&&this.ie.complete,h=40,r=0,b=80;e&&(b=this.ie.width,h=b/2,r=this.ie.height/2,a.drawImage(this.ie,ja(c-h),ja(d-r)));1>=this.of?(c=ja(c-h)+0.5,d=ja(d+(r+(e?12:0)))+0.5,a.fillStyle="DodgerBlue",a.fillRect(c,d,Math.floor(b*this.Od),6),a.strokeStyle="black",a.strokeRect(c,
d,b,6),a.strokeStyle="white",a.strokeRect(c-1,d-1,b+2,8)):2===this.of&&(a.font="12pt Arial",a.fillStyle="#999",a.Fq="middle",e=Math.round(100*this.Od)+"%",h=a.measureText?a.measureText(e):l,a.fillText(e,c-(h?h.width:0)/2,d))}this.Bk=this.Od}setTimeout(function(a){return function(){a.go()}}(this),100)}}};b.prototype.Un=function(){this.Sa&&(this.canvas.parentNode.removeChild(this.Sa),this.Sa=this.yi=l);this.Ff=Date.now();this.mf=Oa();var a,c,d;if(this.hj){a=0;for(c=this.k.length;a<c;a++)d=this.k[a],
!d.H&&(!d.Wh&&d.qa.cd)&&d.va()}else this.jf=q;a=0;for(c=this.Yb.length;a<c;a++)this.Yb[a].Dm();2<=this.Bb&&(a=this.hb/this.gb,c=this.width/this.height,this.Sf=2!==this.Bb&&c>a||2===this.Bb&&c<a?this.height/this.gb:this.width/this.hb);this.$j?this.di[this.$j].Yi():this.Yb[0].Yi();this.hj||(this.je=1,this.trigger(U.prototype.e.nj,l));this.Ua();this.Eb&&AppMobi.webview.execute("onGameReady();")};var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||
window.msRequestAnimationFrame||window.oRequestAnimationFrame;b.prototype.Ua=function(){if(this.P){if(this.$n){var a=jQuery(window).width(),c=jQuery(window).height();if(this.Dk!==a||this.Ck!==c)this.Dk=a,this.Ck=c,this.setSize(a,c)}a=Oa();this.jf&&(c=this.Cj(),this.je=this.Od,c&&(this.jf=q,this.Od=1,this.trigger(U.prototype.e.nj,l)));this.lo();if((this.Z||this.rb)&&!this.Zh&&!this.Gf)this.Z=q,this.F?this.oc():this.Ed(),this.Vg&&(this.canvas&&this.canvas.toDataURL&&(this.Ro=this.canvas.toDataURL(this.Vg[0],
this.Vg[1]),this.trigger(U.prototype.e.Vl,l)),this.Vg=l);this.Jf++;this.dg++;this.gg++;this.Gg+=Oa()-a;this.ff||(e?this.Hi=e(this.Fl,this.canvas):this.cj=setTimeout(this.Fl,this.de?1:16))}};b.prototype.lo=function(){var a,c,d,e,h,r,b,g,p;a=Oa();1E3<=a-this.mf&&(this.mf+=1E3,this.Ch=this.gg,this.gg=0,this.oh=this.Gg,this.Gg=0);this.Lk&&(0!==this.zg&&(c=a-this.zg,0===c?(this.ep++,10<=this.Hq&&(this.Lk=q),this.Zc=1/60):(this.Zc=c/1E3,0.5<this.Zc?this.Zc=0:0.1<this.Zc&&(this.Zc=0.1))),this.zg=a);this.Fd=
this.Zc*this.Rd;this.Fb.add(this.Fd);a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.qg;2<=this.Bb||a&&0<this.Se?(c=this.hb/this.gb,d=this.width/this.height,e=this.Bb,a&&0<this.Se&&(e=this.Se),this.Sf=2!==e&&d>c||2===e&&d<c?this.height/this.gb:this.width/this.hb,this.P&&(this.P.rl(this.P.scrollX),this.P.sl(this.P.scrollY))):this.Sf=1;this.Ga();this.Wb++;this.wc.Io();this.Wb--;this.Ga();this.Wb++;a=0;for(c=this.k.length;a<c;a++)if(b=this.k[a],!(b.H||!b.la.length&&!b.X.length)){d=
0;for(e=b.c.length;d<e;d++){g=b.c[d];h=0;for(r=g.J.length;h<r;h++)g.J[h].Ua()}}a=0;for(c=this.k.length;a<c;a++)if(b=this.k[a],!(b.H||!b.la.length&&!b.X.length)){d=0;for(e=b.c.length;d<e;d++){g=b.c[d];h=0;for(r=g.J.length;h<r;h++)p=g.J[h],p.Ao&&p.Ao()}}d=this.qi.Kf();a=0;for(c=d.length;a<c;a++)d[a].Ua();this.Wb--;this.Vn();for(a=0;this.Ke&&10>a++;)this.Sj(this.Ke);a=0;for(c=this.Hd.length;a<c;a++)this.Hd[a].Nh=q;this.P.ag&&this.P.ag.xa();this.Fo.length=0;this.Fk=q;this.Wb++;a=0;for(c=this.k.length;a<
c;a++)if(b=this.k[a],!(b.H||!b.la.length&&!b.X.length)){d=0;for(e=b.c.length;d<e;d++){g=b.c[d];h=0;for(r=g.J.length;h<r;h++)p=g.J[h],p.aj&&p.aj()}}d=this.ri.Kf();a=0;for(c=d.length;a<c;a++)d[a].aj();this.Wb--};b.prototype.Sj=function(a){var c=this.P;this.P.To();var d,e,h,r,b,g,p;if(this.F){d=0;for(e=this.k.length;d<e;d++)b=this.k[d],b.H||b.Ml&&((!b.global||0===b.c.length)&&-1===a.$e.indexOf(b))&&b.Ml()}c==a&&(this.wc.Va.length=0);a.Yi();d=0;for(e=this.k.length;d<e;d++)if(b=this.k[d],b.global||b.qa.Xi){a=
0;for(c=b.c.length;a<c;a++)if(g=b.c[a],g.vi&&g.vi(),g.J){h=0;for(r=g.J.length;h<r;h++)p=g.J[h],p.vi&&p.vi()}}this.Fk=this.Z=f;this.Ga()};b.prototype.bj=function(a){this.qi.add(a)};b.prototype.Wo=function(a){this.ri.add(a)};b.prototype.yn=function(a){return!a||-1===a.Nd?this.Fd:this.Zc*a.Nd};b.prototype.Ed=function(){this.P.Ed(this.S);this.Eb&&this.S.present()};b.prototype.oc=function(){this.P.oc(this.F)};b.prototype.qm=function(a){a&&this.vh.push(a)};b.prototype.kg=function(a){return this.qe[a.toString()]};
b.prototype.wd=function(a){var c,d;if(!this.nc.contains(a)){this.nc.add(a);if(a.sb){c=0;for(d=a.siblings.length;c<d;c++)this.wd(a.siblings[c])}this.Vh&&this.nc.Lf.push(a);this.Wb++;this.trigger(Object.getPrototypeOf(a.type.qa).e.Wl,a);this.Wb--}};b.prototype.Ga=function(){var a,c,d,e,h,r,b,g,p,k;this.Vh=f;e=0;for(r=this.mc.length;e<r;e++){a=this.mc[e];c=a.type;c.c.push(a);c.pd=f;h=0;for(b=c.X.length;h<b;h++)c.X[h].c.push(a),c.X[h].pd=f}this.mc.length=0;r=this.nc.Kf();for(e=0;e<r.length;e++){a=r[e];
c=a.type;d=c.c;h=0;for(b=this.vh.length;h<b;h++)this.vh[h](a);sa(d,a);a.g&&(oa(a.g.c,a.qb()),a.g.mb=f);h=0;for(b=c.X.length;h<b;h++)sa(c.X[h].c,a),c.X[h].pd=f;if(a.J){h=0;for(b=a.J.length;h<b;h++)d=a.J[h],d.ti&&d.ti(),d.Wd.oi.remove(a)}this.qi.remove(a);this.ri.remove(a);h=0;for(b=this.wc.Va.length;h<b;h++)if(p=this.wc.Va[h],p.Na.hasOwnProperty(c.index)&&sa(p.Na[c.index].Hc,a),!c.H){d=0;for(g=c.X.length;d<g;d++)k=c.X[d],p.Na.hasOwnProperty(k.index)&&sa(p.Na[k.index].Hc,a)}a.ti&&a.ti();this.qe.hasOwnProperty(a.uid.toString())&&
delete this.qe[a.uid.toString()];this.Ig--;64>c.Zf.length&&c.Zf.push(a);c.pd=f}this.nc.cf()||(this.Z=f);this.nc.clear();this.Vh=q};b.prototype.Nj=function(a,c,d,e){if(a.H){var h=ja(Math.random()*a.Hg.length);return this.Nj(a.Hg[h],c,d,e)}return!a.yb?l:this.Yc(a.yb,c,q,d,e,q)};var w=[];b.prototype.Yc=function(a,c,d,e,h,r){var b,g,p,k;if(!a)return l;var m=this.k[a[1]],N=m.qa.cd;if(this.jf&&N&&!m.Wh||N&&!this.F&&11===a[0][11])return l;var K=c;N||(c=l);var t;m.Zf.length?(t=m.Zf.pop(),t.Mc=f,m.qa.Wa.call(t,
m)):(t=new m.qa.Wa(m),t.Mc=q);t.uid=d&&!r?a[2]:this.rf++;this.qe[t.uid.toString()]=t;t.ll=this.Ok++;t.Ye=0;t.Ve=Sb;m.pd=f;p=a[3];if(t.Mc){b=0;for(g=p.length;b<g;b++)t.za[b]=p[b];Na(t.ha)}else t.za=p.slice(0),t.ha={};if(N){var C=a[0];t.x=ca(e)?C[0]:e;t.y=ca(h)?C[1]:h;t.Rl=C[2];t.width=C[3];t.height=C[4];t.depth=C[5];t.j=C[6];t.opacity=C[7];t.bb=C[8];t.cb=C[9];t.Pa=C[10];b=C[11];!this.F&&m.B.length&&(t.Pa=b);t.Me=Ta(t.Pa);this.n&&Ua(t,t.Pa,this.n);if(t.Mc){b=0;for(g=C[12].length;b<g;b++){p=0;for(k=
C[12][b].length;p<k;p++)t.ga[b][p]=C[12][b][p]}t.O.set(0,0,0,0);t.Bd.Ui(t.O);t.Tf.length=0}else{t.ga=C[12].slice(0);b=0;for(g=t.ga.length;b<g;b++)t.ga[b]=C[12][b].slice(0);t.N=[];t.Tc=[];t.Tc.length=m.B.length;t.O=new la(0,0,0,0);t.Bd=new ma;t.Tf=[];t.Ja=Ub;t.lq=Vb;t.Wc=Wb;t.xc=Xb;t.qb=Yb}b=0;for(g=m.B.length;b<g;b++)t.Tc[b]=f;t.Qc=Zb;t.Qc();t.Pl=!!t.N.length;t.kh=f;t.visible=f;t.Nd=-1;t.g=c;t.Td=c.c.length;"undefined"===typeof t.lc&&(t.lc=l);this.Z=t.Le=f}t.toString=Tb;var H;b=w.length=0;for(g=m.X.length;b<
g;b++)w.push.apply(w,m.X[b].la);w.push.apply(w,m.la);if(t.Mc){b=0;for(g=w.length;b<g;b++){var O=w[b];H=t.J[b];H.Mc=f;O.Wd.Wa.call(H,O,t);C=a[4][b];p=0;for(k=C.length;p<k;p++)H.Ea[p]=C[p];H.va();O.Wd.oi.add(t)}}else{t.J=[];b=0;for(g=w.length;b<g;b++)O=w[b],H=new O.Wd.Wa(O,t),H.Mc=q,H.Ea=a[4][b].slice(0),H.va(),t.J.push(H),O.Wd.oi.add(t)}C=a[5];if(t.Mc){b=0;for(g=C.length;b<g;b++)t.Ea[b]=C[b]}else t.Ea=C.slice(0);this.mc.push(t);c&&c.c.push(t);this.Ig++;if(m.sb){if(t.sb=f,t.Mc?t.siblings.length=0:t.siblings=
[],!d&&!r){b=0;for(g=m.Ra.length;b<g;b++)if(m.Ra[b]!==m){if(!m.Ra[b].yb)return l;t.siblings.push(this.Yc(m.Ra[b].yb,K,q,N?t.x:e,N?t.y:h,f))}b=0;for(g=t.siblings.length;b<g;b++){t.siblings[b].siblings.push(t);for(p=0;p<g;p++)b!==p&&t.siblings[b].siblings.push(t.siblings[p])}}}else t.sb=q,t.siblings=l;t.va();b=0;for(g=t.J.length;b<g;b++)t.J[b].zo&&t.J[b].zo();return t};b.prototype.Jh=function(a){var c,d;c=0;for(d=this.P.L.length;c<d;c++){var e=this.P.L[c];if(e.name.toLowerCase()===a.toLowerCase())return e}return l};
b.prototype.Te=function(a){a=ja(a);0>a&&(a=0);a>=this.P.L.length&&(a=this.P.L.length-1);return this.P.L[a]};b.prototype.nh=function(a){var c,d;c=0;for(d=a.length;c<d;c++)a[c].T().V=f};b.prototype.yf=function(a){var c,d;c=0;for(d=a.length;c<d;c++)a[c].yf()};b.prototype.Fi=function(a){var c,d;c=0;for(d=a.length;c<d;c++)a[c].Fi()};b.prototype.ve=function(a){var c,d;c=0;for(d=a.length;c<d;c++)a[c].ve()};b.prototype.Uo=function(a,c,d){var e=a.T(),h,b,g,p,k,m;if(e.V){e.V=q;h=e.c.length=0;for(p=a.c.length;h<
p;h++)g=a.c[h],g.xc(),k=g.g.Za(c,d,f),m=g.g.Za(c,d,q),g.Wc(k,m)&&e.c.push(g)}else{h=b=0;for(p=e.c.length;h<p;h++)g=e.c[h],g.xc(),k=g.g.Za(c,d,f),m=g.g.Za(c,d,q),g.Wc(k,m)&&(e.c[b]=e.c[h],b++);e.c.length=b}a.Ge();return e.Mh()};new ma;new la(0,0,0,0);b.prototype.Jl=function(a,c){if(!c)return q;var d,e,h,b,g;d=0;for(e=a.la.length;d<e;d++)if(a.la[d].Wd instanceof c)return f;if(!a.H){d=0;for(e=a.X.length;d<e;d++){g=a.X[d];h=0;for(b=g.la.length;h<b;h++)if(g.la[h].Wd instanceof c)return f}}return q};b.prototype.Kl=
function(a){return this.Jl(a,sb.Ip)};b.prototype.gj=function(a){return this.Jl(a,sb.Jp)};var d=[],h=-1;b.prototype.trigger=function(a,c,e){if(!this.P)return q;var b=this.P.ag;if(!b)return q;h++;h===d.length?d.push(new Pa):d[h].clear();a=this.Hl(a,c,b,e);h--;return a};b.prototype.Hl=function(a,c,e,b){var g=d[h];if(g.contains(e))return q;g.add(e);var g=e.nk.Kf(),r=q,p,k,m;p=0;for(k=g.length;p<k;p++)g[p].Zn()&&(m=this.Hl(a,c,g[p].Ze,b),r=r||m);if(c){m=this.ej(a,c,c.type.name,e,b);r=r||m;p=0;for(k=c.type.X.length;p<
k;p++)m=this.ej(a,c,c.type.X[p].name,e,b),r=r||m}else m=this.ej(a,c,"system",e,b),r=r||m;return r};b.prototype.ej=function(a,c,d,e,h){var b,g=q,p=q,p="undefined"!==typeof h,k=(p?e.Xj:e.Il)[d];if(!k)return g;var m=l;e=0;for(b=k.length;e<b;e++)if(k[e].method==a){m=k[e].cg;break}if(!m)return g;a=p?m[h]:m;if(!a)return l;e=0;for(b=a.length;e<b;e++)h=a[e][0],p=a[e][1],p=this.pn(c,d,h,p),g=g||p;return g};b.prototype.pn=function(a,c,d,e){var b,r,g=q;this.fj++;var p=this.$a().nb;p&&this.yf(p.ld);var k=1<this.fj;
this.yf(d.ld);k&&this.Do();var m=this.Gi(d);m.nb=d;a&&(b=this.types[c].T(),b.V=q,b.c.length=1,b.c[0]=a,this.types[c].Ge());a=f;if(d.parent){c=m.Bl;for(b=d.parent;b;)c.push(b),b=b.parent;c.reverse();b=0;for(r=c.length;b<r;b++)if(!c[b].Ko()){a=q;break}}a&&(this.dg++,d.tc?d.Jo(e):d.xa(),g=g||m.he);this.fl();k&&this.yo();this.ve(d.ld);p&&this.ve(p.ld);0===this.Wb&&(0===h&&!this.Xh&&(!this.nc.cf()||this.mc.length))&&this.Ga();this.fj--;return g};b.prototype.xn=function(){var a=this.$a();return a.nb.ma[a.Qa]};
b.prototype.Do=function(){this.Fg++;this.Fg>=this.ji.length&&this.ji.push([])};b.prototype.yo=function(){this.Fg--};b.prototype.dk=function(){return this.ji[this.Fg]};b.prototype.Gi=function(a){this.bg++;this.bg>=this.xh.length&&this.xh.push(new bb);var c=this.$a();c.reset(a);return c};b.prototype.fl=function(){this.bg--};b.prototype.$a=function(){return this.xh[this.bg]};b.prototype.ek=function(a,c){for(var d,e,h,b,g,p;c;){d=0;for(e=c.Kb.length;d<e;d++)if(p=c.Kb[d],p instanceof cb&&a.toLowerCase()===
p.name.toLowerCase())return p;c=c.parent}d=0;for(e=this.Hd.length;d<e;d++){g=this.Hd[d];h=0;for(b=g.$c.length;h<b;h++)if(p=g.$c[h],p instanceof cb&&a.toLowerCase()===p.name.toLowerCase())return p}return l};b.prototype.fk=function(a){var c,d;c=0;for(d=this.Yb.length;c<d;c++)if(this.Yb[c].I===a)return this.Yb[c];return l};b.prototype.lg=function(a){var c,d;c=0;for(d=this.k.length;c<d;c++)if(this.k[c].I===a)return this.k[c];return l};b.prototype.An=function(a){var c,d;c=0;for(d=this.Vd.length;c<d;c++)if(this.Vd[c].I===
a)return this.Vd[c];return l};b.prototype.Vn=function(){var a=this,d=this.Qi,e=this.Jc,h=this.Cg,b=q;this.zl&&(b=f,d="__c2_continuouspreview",this.zl=q);if(d.length){this.Ga();e=this.Oo();if(window.indexedDB&&!this.rb)g(d,e,function(){I("Saved state to IndexedDB storage ("+e.length+" bytes)");a.Jc=e;a.trigger(U.prototype.e.hh,l);a.Jc="";b&&c()},function(h){try{localStorage.setItem("__c2save_"+d,e),I("Saved state to WebStorage ("+e.length+" bytes)"),a.Jc=e,a.trigger(U.prototype.e.hh,l),a.Jc="",b&&
c()}catch(r){I("Failed to save game state: "+h+"; "+r)}});else try{localStorage.setItem("__c2save_"+d,e),I("Saved state to WebStorage ("+e.length+" bytes)"),a.Jc=e,this.trigger(U.prototype.e.hh,l),a.Jc="",b&&c()}catch(r){I("Error saving to WebStorage: "+r)}this.Ma=this.Cg=this.Qi=""}h.length&&(window.indexedDB&&!this.rb?k(h,function(c){c?(a.Ma=c,I("Loaded state from IndexedDB storage ("+a.Ma.length+" bytes)")):(a.Ma=localStorage.getItem("__c2save_"+h)||"",I("Loaded state from WebStorage ("+a.Ma.length+
" bytes)"));a.Gf=q;a.Ma.length||a.trigger(U.prototype.e.gh,l)},function(){a.Ma=localStorage.getItem("__c2save_"+h)||"";I("Loaded state from WebStorage ("+a.Ma.length+" bytes)");a.Gf=q;a.Ma.length||a.trigger(U.prototype.e.gh,l)}):(this.Ma=localStorage.getItem("__c2save_"+h)||"",I("Loaded state from WebStorage ("+this.Ma.length+" bytes)"),this.Gf=q,a.Ma.length||a.trigger(U.prototype.e.gh,l)),this.Qi=this.Cg="");this.Ma.length&&(this.Ga(),this.jo(this.Ma),this.Jc=this.Ma,this.trigger(U.prototype.e.Yl,
l),this.Ma=this.Jc="")};b.prototype.Oo=function(){var a,c,d,e,h,b,g,k={c2save:f,version:1,rt:{time:this.Fb.jb,timescale:this.Rd,tickcount:this.Jf,execcount:this.dg,next_uid:this.rf,running_layout:this.P.I,start_time_offset:Date.now()-this.Ff},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(c=this.k.length;a<c;a++)if(h=this.k[a],!h.H&&!this.Kl(h)){b={instances:[]};Ma(h.ha)&&(b.ex=p(h.ha));d=0;for(e=h.c.length;d<e;d++)b.instances.push(this.ql(h.c[d]));k.types[h.I.toString()]=
b}a=0;for(c=this.Yb.length;a<c;a++)d=this.Yb[a],k.layouts[d.I.toString()]=d.cc();e=k.events.groups;a=0;for(c=this.Vd.length;a<c;a++)d=this.Vd[a],e[d.I.toString()]=!!this.Qf[d.We];c=k.events.cnds;for(g in this.Xd)this.Xd.hasOwnProperty(g)&&(a=this.Xd[g],Ma(a.ha)&&(c[g]={ex:p(a.ha)}));c=k.events.acts;for(g in this.Ud)this.Ud.hasOwnProperty(g)&&(a=this.Ud[g],Ma(a.ha)&&(c[g]={ex:a.ha}));c=k.events.vars;for(g in this.Ae)if(this.Ae.hasOwnProperty(g)&&(a=this.Ae[g],!a.sg&&(!a.parent||a.hf)))c[g]=a.data;
k.system=this.wc.cc();return JSON.stringify(k)};b.prototype.ml=function(){var a,c,d,e,h,b;this.qe={};a=0;for(c=this.k.length;a<c;a++)if(d=this.k[a],!d.H){e=0;for(h=d.c.length;e<h;e++)b=d.c[e],this.qe[b.uid.toString()]=b}};b.prototype.jo=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var c=a.rt;this.Fb.reset();this.Fb.jb=c.time;this.Rd=c.timescale;this.Jf=c.tickcount;this.dg=c.execcount;this.Ff=Date.now()-c.start_time_offset;var d=c.running_layout;if(d!==this.P.I)if(d=this.fk(d))this.Sj(d);
else return;this.sk=f;var e,h,b,g,p,k,m;k=a.types;for(h in k)if(k.hasOwnProperty(h)&&(g=this.lg(parseInt(h,10)))&&!g.H&&!this.Kl(g)){k[h].ex?g.ha=k[h].ex:Na(g.ha);p=g.c;b=k[h].instances;d=0;for(e=ha(p.length,b.length);d<e;d++)this.ei(p[d],b[d]);d=b.length;for(e=p.length;d<e;d++)this.wd(p[d]);d=p.length;for(e=b.length;d<e;d++){p=l;if(g.qa.cd&&(p=this.P.ig(b[d].w.l),!p))continue;p=this.Yc(g.yb,p,q,0,0,f);this.ei(p,b[d])}g.pd=f}this.Ga();this.ml();e=a.layouts;for(h in e)e.hasOwnProperty(h)&&(d=this.fk(parseInt(h,
10)))&&d.Kc(e[h]);e=a.events.groups;for(h in e)e.hasOwnProperty(h)&&(d=this.An(parseInt(h,10)))&&(this.Qf[d.We]=e[h]);d=a.events.cnds;for(h in d)d.hasOwnProperty(h)&&this.Xd.hasOwnProperty(h)&&(this.Xd[h].ha=d[h].ex);d=a.events.acts;for(h in d)d.hasOwnProperty(h)&&this.Ud.hasOwnProperty(h)&&(this.Ud[h].ha=d[h].ex);d=a.events.vars;for(h in d)d.hasOwnProperty(h)&&this.Ae.hasOwnProperty(h)&&(this.Ae[h].data=d[h]);this.rf=c.next_uid;this.sk=q;this.wc.Kc(a.system);d=0;for(e=this.k.length;d<e;d++)if(g=
this.k[d],!g.H){h=0;for(a=g.c.length;h<a;h++){p=g.c[h];if(g.sb){k=p.Ve();c=p.siblings.length=0;for(b=g.Ra.length;c<b;c++)m=g.Ra[c],g!==m&&p.siblings.push(m.c[k])}p.Rf&&p.Rf();if(p.J){c=0;for(b=p.J.length;c<b;c++)k=p.J[c],k.Rf&&k.Rf()}}}this.Z=f}};b.prototype.ql=function(a){var c,d,e,h,b;h=a.type;e=h.qa;var g={uid:a.uid};Ma(a.ha)&&(g.ex=p(a.ha));if(a.za&&a.za.length){g.ivs={};c=0;for(d=a.za.length;c<d;c++)g.ivs[a.type.Th[c].toString()]=a.za[c]}if(e.cd){e={x:a.x,y:a.y,w:a.width,h:a.height,l:a.g.I,zi:a.qb()};
0!==a.j&&(e.a=a.j);1!==a.opacity&&(e.o=a.opacity);0.5!==a.bb&&(e.hX=a.bb);0.5!==a.cb&&(e.hY=a.cb);0!==a.Pa&&(e.bm=a.Pa);a.visible||(e.v=a.visible);a.Le||(e.ce=a.Le);-1!==a.Nd&&(e.mts=a.Nd);if(h.B.length){e.fx=[];c=0;for(d=h.B.length;c<d;c++)b=h.B[c],e.fx.push({name:b.name,active:a.Tc[b.index],params:a.ga[b.index]})}g.w=e}if(a.J&&a.J.length){g.behs={};c=0;for(d=a.J.length;c<d;c++)h=a.J[c],h.cc&&(g.behs[h.type.I.toString()]=h.cc())}a.cc&&(g.data=a.cc());return g};b.prototype.Cn=function(a,c){var d,
e;d=0;for(e=a.Th.length;d<e;d++)if(a.Th[d]===c)return d;return-1};b.prototype.wn=function(a,c){var d,e;d=0;for(e=a.J.length;d<e;d++)if(a.J[d].type.I===c)return d;return-1};b.prototype.ei=function(a,c){var d,e,h,b,g,p;p=a.type;h=p.qa;a.uid=c.uid;c.ex?a.ha=c.ex:Na(a.ha);if(e=c.ivs)for(d in e)e.hasOwnProperty(d)&&(b=this.Cn(p,parseInt(d,10)),0>b||b>=a.za.length||(a.za[b]=e[d]));if(h.cd){b=c.w;a.g.I!==b.l&&(e=a.g,a.g=this.P.ig(b.l),a.g?(a.g.c.push(a),a.g.mb=f,sa(e.c,a),e.mb=f):(a.g=e,this.wd(a)));a.x=
b.x;a.y=b.y;a.width=b.w;a.height=b.h;a.Td=b.zi;a.j=b.hasOwnProperty("a")?b.a:0;a.opacity=b.hasOwnProperty("o")?b.o:1;a.bb=b.hasOwnProperty("hX")?b.hX:0.5;a.cb=b.hasOwnProperty("hY")?b.hY:0.5;a.visible=b.hasOwnProperty("v")?b.v:f;a.Le=b.hasOwnProperty("ce")?b.ce:f;a.Nd=b.hasOwnProperty("mts")?b.mts:-1;a.Pa=b.hasOwnProperty("bm")?b.bm:0;a.Me=Ta(a.Pa);this.n&&Ua(a,a.Pa,this.n);a.Ja();if(b.hasOwnProperty("fx")){e=0;for(h=b.fx.length;e<h;e++)g=p.Hh(b.fx[e].name),0>g||(a.Tc[g]=b.fx[e].active,a.ga[g]=b.fx[e].params)}a.Qc()}if(p=
c.behs)for(d in p)p.hasOwnProperty(d)&&(b=this.wn(a,parseInt(d,10)),0>b||a.J[b].Kc(p[d]));c.data&&a.Kc(c.data)};db=function(a){return new b(document.getElementById(a))};eb=function(a,c){return new b({dc:f,width:a,height:c})};window.cr_createRuntime=db;window.cr_createDCRuntime=eb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=f;var a=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(a);a=new b(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 b=document.getElementById("c2canvas");return b?b.c2runtime:window.c2runtime?window.c2runtime:l};window.cr_sizeCanvas=function(b,m){if(!(0===b||0===m)){var g=window.cr_getC2Runtime();g&&g.setSize(b,m)}};window.cr_setSuspended=function(b){var m=window.cr_getC2Runtime();m&&m.setSuspended(b)};
(function(){function b(c,b){this.b=c;this.ag=l;this.scrollX=this.b.hb/2;this.scrollY=this.b.gb/2;this.scale=1;this.j=0;this.Re=f;this.name=b[0];this.width=b[1];this.height=b[2];this.Ll=b[3];this.xl=b[4];this.I=b[5];var a=b[6],e,g;this.L=[];this.$e=[];e=0;for(g=a.length;e<g;e++){var d=new jb(this,a[e]);d.Qk=e;this.L.push(d)}a=b[7];this.Kd=[];e=0;for(g=a.length;e<g;e++){var d=a[e],h=this.b.k[d[1]];h.yb||(h.yb=d);this.Kd.push(d);-1===this.$e.indexOf(h)&&this.$e.push(h)}this.B=[];this.N=[];this.ga=[];
e=0;for(g=b[8].length;e<g;e++)this.B.push({id:b[8][e][0],name:b[8][e][1],Fa:-1,Ac:f,index:e}),this.ga.push(b[8][e][2].slice(0));this.Qc();this.Ii=new la(0,0,1,1);this.Ji=new la(0,0,1,1);this.gd={}}function m(c,b){this.U=c;this.b=c.b;this.c=[];this.scale=1;this.j=0;this.Dd=q;this.Pc=new la(0,0,0,0);this.Gl=new ma;this.Lb=this.Ob=this.Nb=this.Mb=0;this.mb=q;this.name=b[0];this.index=b[1];this.I=b[2];this.visible=b[3];this.Uc=b[4];this.Sd=b[5];this.ed=b[6];this.fd=b[7];this.opacity=b[8];this.Bh=b[9];
this.Rc=b[10];this.Pa=b[11];this.Qm=b[12];this.Me="source-over";this.Ha=this.Ka=0;this.hd=q;var a=b[13],e,g;this.ae=[];e=0;for(g=a.length;e<g;e++){var d=a[e],h=this.b.k[d[1]];h.yb||(h.yb=d);this.ae.push(d);-1===this.U.$e.indexOf(h)&&this.U.$e.push(h)}this.B=[];this.N=[];this.ga=[];e=0;for(g=b[14].length;e<g;e++)this.B.push({id:b[14][e][0],name:b[14][e][1],Fa:-1,Ac:f,index:e}),this.ga.push(b[14][e][2].slice(0));this.Qc();this.Ii=new la(0,0,1,1);this.Ji=new la(0,0,1,1)}function g(c,b){return c.Td-b.Td}
b.prototype.No=function(c){var b=c.type.I.toString();this.gd.hasOwnProperty(b)||(this.gd[b]=[]);this.gd[b].push(this.b.ql(c))};b.prototype.lk=function(){var c=this.L[0];return!c.Sd&&1===c.opacity&&!c.Bh&&c.visible};b.prototype.Qc=function(){this.N.length=0;var c,b,a;c=0;for(b=this.B.length;c<b;c++)a=this.B[c],a.Ac&&this.N.push(a)};b.prototype.Gh=function(c){var b,a,e;b=0;for(a=this.B.length;b<a;b++)if(e=this.B[b],e.name===c)return e;return l};var k=[];b.prototype.Yi=function(){this.xl&&(this.ag=this.b.yh[this.xl]);
this.b.P=this;this.scrollX=this.b.hb/2;this.scrollY=this.b.gb/2;var c,b,a,e,m,d,h;c=0;for(a=this.b.k.length;c<a;c++)if(b=this.b.k[c],!b.H){m=b.c;b=0;for(e=m.length;b<e;b++)if(d=m[b],d.g){var n=d.g.Qk;n>=this.L.length&&(n=this.L.length-1);d.g=this.L[n];d.g.c.push(d);d.g.mb=f}}k.length=0;this.wm();c=0;for(a=this.L.length;c<a;c++)d=this.L[c],d.Em(),d.Dd=f,b=d.Za(0,0,f),e=d.Za(0,0,q),d.Dd=q,this.b.ue&&(b=b+0.5|0,e=e+0.5|0),d.Mi(b,e,l);m=q;if(!this.Re){for(h in this.gd)if(this.gd.hasOwnProperty(h)&&(b=
this.b.lg(parseInt(h,10)))&&!b.H&&this.b.gj(b)){e=this.gd[h];c=0;for(a=e.length;c<a;c++){d=l;if(b.qa.cd&&(d=this.ig(e[c].w.l),!d))continue;d=this.b.Yc(b.yb,d,q,0,0,f);this.b.ei(d,e[c]);m=f;k.push(d)}e.length=0}c=0;for(a=this.L.length;c<a;c++)this.L[c].c.sort(g),this.L[c].mb=f}m&&(this.b.Ga(),this.b.ml());for(c=0;c<k.length;c++)if(d=k[c],d.type.sb){a=d.Ve();b=0;for(e=d.type.Ra.length;b<e;b++)h=d.type.Ra[b],d.type!==h&&(h.c.length>a?d.siblings.push(h.c[a]):h.yb&&(m=this.b.Yc(h.yb,d.g,f,d.x,d.y,f),this.b.Ga(),
h.ah(),d.siblings.push(m),k.push(m)))}c=0;for(a=this.Kd.length;c<a;c++)this.b.Yc(this.Kd[c],l,f);this.b.Ke=l;this.b.Ga();if(this.b.S&&!this.b.eb){c=0;for(a=this.b.k.length;c<a;c++)h=this.b.k[c],!h.H&&(h.c.length&&h.hl)&&h.hl(this.b.S)}c=0;for(a=k.length;c<a;c++)d=k[c],this.b.trigger(Object.getPrototypeOf(d.type.qa).e.ic,d);k.length=0;this.b.trigger(U.prototype.e.xd,l);this.Re=q};b.prototype.Dm=function(){var c,b,a,e,g;b=c=0;for(a=this.Kd.length;c<a;c++)e=this.Kd[c],g=this.b.k[e[1]],g.global?this.b.Yc(e,
l,f):(this.Kd[b]=e,b++);this.Kd.length=b};b.prototype.To=function(){this.b.trigger(U.prototype.e.Xl,l);this.b.wc.Va.length=0;var c,b,a,e,g,d;c=0;for(b=this.L.length;c<b;c++){g=this.L[c].c;a=0;for(e=g.length;a<e;a++)d=g[a],d.type.global||(this.b.gj(d.type)&&this.No(d),this.b.wd(d));this.b.Ga();g.length=0;this.L[c].mb=f}c=0;for(b=this.b.k.length;c<b;c++)if(g=this.b.k[c],!g.global&&!g.qa.cd&&!g.qa.Xi&&!g.H){a=0;for(e=g.c.length;a<e;a++)this.b.wd(g.c[a]);this.b.Ga()}};b.prototype.Ed=function(c){c.globalAlpha=
1;c.globalCompositeOperation="source-over";this.b.Lj&&!this.lk()&&c.clearRect(0,0,this.b.width,this.b.height);var b,a,e;b=0;for(a=this.L.length;b<a;b++)e=this.L[b],e.visible&&(0<e.opacity&&11!==e.Pa)&&e.Ed(c)};b.prototype.oc=function(c){var b=0<this.N.length||this.b.ze;if(b){this.b.Xb||(this.b.Xb=c.Xc(this.b.width,this.b.height,this.b.ta));if(this.b.Xb.Ie!==this.b.width||this.b.Xb.He!==this.b.height)c.deleteTexture(this.b.Xb),this.b.Xb=c.Xc(this.b.width,this.b.height,this.b.ta);c.Oc(this.b.Xb)}this.b.Lj&&
!this.lk()&&c.clear(0,0,0,0);var a,e;a=0;for(e=this.L.length;a<e;a++)this.L[a].visible&&0<this.L[a].opacity&&this.L[a].oc(c);b&&(1>=this.N.length?(1===this.N.length?(b=this.N[0].index,c.vc(this.N[0].Fa),c.we(l,1/this.b.width,1/this.b.height,0,0,1,1,this.scale,this.ga[b]),c.Og(this.N[0].Fa)&&(this.b.Z=f)):c.vc(0),c.Oc(l),c.Cf(1),c.ec(this.b.Xb),c.tl(),c.jd(),c.td(),b=this.b.width/2,a=this.b.height/2,c.Pg(-b,a,b,a,b,-a,-b,-a),c.ec(l)):this.Ki(c,l,l,l));c.Bo()};b.prototype.Ue=function(){return 0<this.N.length||
this.b.ze?this.b.Xb:l};b.prototype.gk=function(){var c=this.L[0].Cb(),b,a,e;b=1;for(a=this.L.length;b<a;b++)e=this.L[b],0===e.ed&&0===e.fd||e.Cb()<c&&(c=e.Cb());return c};b.prototype.rl=function(c){if(!this.Ll){var b=this.b.width*(1/this.gk())/2;c>this.width-b&&(c=this.width-b);c<b&&(c=b)}this.scrollX!==c&&(this.scrollX=c,this.b.Z=f)};b.prototype.sl=function(c){if(!this.Ll){var b=this.b.height*(1/this.gk())/2;c>this.height-b&&(c=this.height-b);c<b&&(c=b)}this.scrollY!==c&&(this.scrollY=c,this.b.Z=
f)};b.prototype.wm=function(){this.rl(this.scrollX);this.sl(this.scrollY)};b.prototype.Ki=function(c,b,a,e){var g=a?a.N:b?b.N:this.N,d=a?a.g.Cb():b?b.Cb():1,h=this.b.Dh,n,k,y,m,u=0,r=1,E,F=this.b.width,G=this.b.height,J=F/2,aa=G/2,N=b?b.Ii:this.Ii,K=b?b.Ji:this.Ji,t=0,C=0,H=0,O=0,L=F,R=F,B=G,V=G,X=y=0,Q=a?a.g.ob():0;if(a){n=0;for(k=g.length;n<k;n++)y+=c.Fn(g[n].Fa),X+=c.Gn(g[n].Fa);m=a.O;t=b.Gb(m.left,m.top,f);H=b.Gb(m.left,m.top,q);L=b.Gb(m.right,m.bottom,f);B=b.Gb(m.right,m.bottom,q);0!==Q&&(n=
b.Gb(m.right,m.top,f),k=b.Gb(m.right,m.top,q),C=b.Gb(m.left,m.bottom,f),O=b.Gb(m.left,m.bottom,q),m=Math.min(t,L,n,C),L=Math.max(t,L,n,C),t=m,m=Math.min(H,B,k,O),B=Math.max(H,B,k,O),H=m);t-=y;H-=X;L+=y;B+=X;K.left=t/F;K.top=1-H/G;K.right=L/F;K.bottom=1-B/G;C=t=Math.floor(t);O=H=Math.floor(H);R=L=Math.ceil(L);V=B=Math.ceil(B);C-=y;O-=X;R+=y;V+=X;0>t&&(t=0);0>H&&(H=0);L>F&&(L=F);B>G&&(B=G);0>C&&(C=0);0>O&&(O=0);R>F&&(R=F);V>G&&(V=G);N.left=t/F;N.top=1-H/G;N.right=L/F;N.bottom=1-B/G}else N.left=K.left=
0,N.top=K.top=0,N.right=K.right=1,N.bottom=K.bottom=1;X=a&&((a.j||Q)&&c.xf(g[0].Fa)||0!==y||0!==X||1!==a.opacity||a.type.qa.Nk)||b&&!a&&1!==b.opacity;c.tl();if(X){h[u]||(h[u]=c.Xc(F,G,this.b.ta));if(h[u].Ie!==F||h[u].He!==G)c.deleteTexture(h[u]),h[u]=c.Xc(F,G,this.b.ta);c.vc(0);c.Oc(h[u]);E=V-O;c.clearRect(C,G-O-E,R-C,E);a?a.oc(c):(c.ec(this.b.tb),c.Cf(b.opacity),c.jd(),c.translate(-J,-aa),c.td(),c.Pd(t,B,L,B,L,H,t,H,N));K.left=K.top=0;K.right=K.bottom=1;a&&(m=N.top,N.top=N.bottom,N.bottom=m);u=1;
r=0}c.Cf(1);y=g.length-1;var Q=c.Di(g[y].Fa),D=0;n=0;for(k=g.length;n<k;n++){h[u]||(h[u]=c.Xc(F,G,this.b.ta));if(h[u].Ie!==F||h[u].He!==G)c.deleteTexture(h[u]),h[u]=c.Xc(F,G,this.b.ta);c.vc(g[n].Fa);D=g[n].index;c.Og(g[n].Fa)&&(this.b.Z=f);0==n&&!X?(c.Oc(h[u]),E=V-O,m=G-O-E,c.clearRect(C,m,R-C,E),a?(c.we(e,1/a.width,1/a.height,K.left,K.top,K.right,K.bottom,d,a.ga[D]),a.oc(c)):(c.we(e,1/F,1/G,0,0,1,1,d,b?b.ga[D]:this.ga[D]),c.ec(b?this.b.tb:this.b.Xb),c.jd(),c.translate(-J,-aa),c.td(),c.Pd(t,B,L,B,
L,H,t,H,N)),K.left=K.top=0,K.right=K.bottom=1,a&&!Q&&(m=B,B=H,H=m)):(c.we(e,1/F,1/G,K.left,K.top,K.right,K.bottom,d,a?a.ga[D]:b?b.ga[D]:this.ga[D]),n===y&&!Q?(a?c.kd(a.Ka,a.Ha):b&&c.kd(b.Ka,b.Ha),c.Oc(e)):(c.Oc(h[u]),E=V-O,m=G-O-E,c.clearRect(C,m,R-C,E)),c.ec(h[r]),c.jd(),c.translate(-J,-aa),c.td(),c.Pd(t,B,L,B,L,H,t,H,N),n===y&&!Q&&c.ec(l));u=0===u?1:0;r=0===u?1:0}Q&&(c.vc(0),a?c.kd(a.Ka,a.Ha):b&&c.kd(b.Ka,b.Ha),c.Oc(e),c.ec(h[r]),c.jd(),c.translate(-J,-aa),c.td(),a&&1===g.length&&!X?c.Pd(t,H,L,
H,L,B,t,B,N):c.Pd(t,B,L,B,L,H,t,H,N),c.ec(l))};b.prototype.ig=function(c){var b,a;b=0;for(a=this.L.length;b<a;b++)if(this.L[b].I===c)return this.L[b];return l};b.prototype.cc=function(){var c,b,a,e={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.j,w:this.width,h:this.height,fv:this.Re,persist:this.gd,fx:[],layers:{}};c=0;for(b=this.B.length;c<b;c++)a=this.B[c],e.fx.push({name:a.name,active:a.Ac,params:this.ga[a.index]});c=0;for(b=this.L.length;c<b;c++)a=this.L[c],e.layers[a.I.toString()]=a.cc();
return e};b.prototype.Kc=function(c){var b,a,e,g;this.scrollX=c.sx;this.scrollY=c.sy;this.scale=c.s;this.j=c.a;this.width=c.w;this.height=c.h;this.gd=c.persist;"undefined"!==typeof c.fv&&(this.Re=c.fv);var d=c.fx;b=0;for(a=d.length;b<a;b++)if(e=this.Gh(d[b].name))e.Ac=d[b].active,this.ga[e.index]=d[b].params;this.Qc();b=c.layers;for(g in b)b.hasOwnProperty(g)&&(c=this.ig(parseInt(g,10)))&&c.Kc(b[g])};$a=b;m.prototype.Qc=function(){this.N.length=0;var c,b,a;c=0;for(b=this.B.length;c<b;c++)a=this.B[c],
a.Ac&&this.N.push(a)};m.prototype.Gh=function(c){var b,a,e;b=0;for(a=this.B.length;b<a;b++)if(e=this.B[b],e.name===c)return e;return l};m.prototype.Em=function(){var c,b,a,e,g,d;b=c=0;for(a=this.ae.length;c<a;c++){e=this.ae[c];g=this.b.k[e[1]];d=this.b.gj(g);g=f;if(!d||this.U.Re)e=this.b.Yc(e,this,f),k.push(e),e.type.global&&(g=q);g&&(this.ae[b]=this.ae[c],b++)}this.ae.length=b;this.b.Ga();!this.b.F&&this.B.length&&(this.Pa=this.Qm);this.Me=Ta(this.Pa);this.b.n&&Ua(this,this.Pa,this.b.n)};m.prototype.Zo=
function(){if(this.mb){var c,b;c=0;for(b=this.c.length;c<b;c++)this.c[c].Td=c;this.mb=q}};m.prototype.Cb=function(){return this.Dn()*this.b.Sf};m.prototype.Dn=function(){return(this.scale*this.U.scale-1)*this.Rc+1};m.prototype.ob=function(){return this.Dd?0:va(this.U.j+this.j)};m.prototype.Ed=function(c){this.hd=this.Bh||1!==this.opacity||0!==this.Pa;var b=this.b.canvas,a=c;c.globalAlpha=1;c.globalCompositeOperation="source-over";this.hd&&(this.b.Bg||(this.b.Bg=document.createElement("canvas"),b=
this.b.Bg,b.width=this.b.width,b.height=this.b.height,this.b.Ek=b.getContext("2d")),b=this.b.Bg,a=this.b.Ek,b.width!==this.b.width&&(b.width=this.b.width),b.height!==this.b.height&&(b.height=this.b.height),this.Sd&&a.clearRect(0,0,this.b.width,this.b.height));this.Sd||(a.fillStyle="rgb("+this.Uc[0]+","+this.Uc[1]+","+this.Uc[2]+")",a.fillRect(0,0,this.b.width,this.b.height));a.save();this.Dd=f;var e=this.Za(0,0,f),g=this.Za(0,0,q);this.Dd=q;this.b.ue&&(e=e+0.5|0,g=g+0.5|0);this.Mi(e,g,a);var d=this.Cb();
a.scale(d,d);a.translate(-e,-g);for(var h,e=0,g=this.c.length;e<g;e++)if(d=this.c[e],d.visible&&!(0===d.width||0===d.height))d.xc(),h=d.O,h.right<this.Mb||(h.bottom<this.Ob||h.left>this.Nb||h.top>this.Lb)||(a.globalCompositeOperation=d.Me,d.Ed(a));a.restore();this.hd&&(c.globalCompositeOperation=this.Me,c.globalAlpha=this.opacity,c.drawImage(b,0,0))};m.prototype.Mi=function(c,b,a){var e=this.Cb();this.Mb=c;this.Ob=b;this.Nb=c+this.b.width*(1/e);this.Lb=b+this.b.height*(1/e);c=this.ob();0!==c&&(a&&
(a.translate(this.b.width/2,this.b.height/2),a.rotate(-c),a.translate(this.b.width/-2,this.b.height/-2)),this.Pc.set(this.Mb,this.Ob,this.Nb,this.Lb),this.Pc.offset((this.Mb+this.Nb)/-2,(this.Ob+this.Lb)/-2),this.Gl.wl(this.Pc,c),this.Gl.Ej(this.Pc),this.Pc.offset((this.Mb+this.Nb)/2,(this.Ob+this.Lb)/2),this.Mb=this.Pc.left,this.Ob=this.Pc.top,this.Nb=this.Pc.right,this.Lb=this.Pc.bottom)};m.prototype.oc=function(c){var b=this.b.width,a=this.b.height,e=0,g=0;if(this.hd=this.Bh||1!==this.opacity||
0<this.N.length||0!==this.Pa){this.b.tb||(this.b.tb=c.Xc(this.b.width,this.b.height,this.b.ta));if(this.b.tb.Ie!==this.b.width||this.b.tb.He!==this.b.height)c.deleteTexture(this.b.tb),this.b.tb=c.Xc(this.b.width,this.b.height,this.b.ta);c.Oc(this.b.tb);this.Sd&&c.clear(0,0,0,0)}this.Sd||c.clear(this.Uc[0]/255,this.Uc[1]/255,this.Uc[2]/255,1);this.Dd=f;var g=this.Za(0,0,f),d=this.Za(0,0,q);this.Dd=q;this.b.ue&&(g=g+0.5|0,d=d+0.5|0);this.Mi(g,d,l);d=this.Cb();c.jd();c.scale(d,d);c.ol(-this.ob());c.translate((this.Mb+
this.Nb)/-2,(this.Ob+this.Lb)/-2);c.td();var h,n,k;h=0;for(n=this.c.length;h<n;h++)if(k=this.c[h],k.visible&&!(0===k.width||0===k.height))if(k.xc(),e=k.O,!(e.right<this.Mb||e.bottom<this.Ob||e.left>this.Nb||e.top>this.Lb))if(k.Pl)if(e=k.N[0].Fa,g=k.N[0].index,1===k.N.length&&!c.Di(e)&&!c.Co(e)&&(!k.j&&!k.g.ob()||!c.xf(e))&&1===k.opacity&&!k.type.qa.Nk){c.vc(e);c.kd(k.Ka,k.Ha);c.Og(e)&&(this.b.Z=f);var m=0,x=0,u=0,r=0;c.xf(e)&&(e=k.O,m=this.Gb(e.left,e.top,f),x=this.Gb(e.left,e.top,q),u=this.Gb(e.right,
e.bottom,f),e=this.Gb(e.right,e.bottom,q),m/=b,x=1-x/a,u/=b,r=1-e/a);c.we(this.hd?this.b.tb:this.U.Ue(),1/k.width,1/k.height,m,x,u,r,this.Cb(),k.ga[g]);k.oc(c)}else this.U.Ki(c,this,k,this.hd?this.b.tb:this.U.Ue()),c.jd(),c.scale(d,d),c.ol(-this.ob()),c.translate((this.Mb+this.Nb)/-2,(this.Ob+this.Lb)/-2),c.td();else c.vc(0),c.kd(k.Ka,k.Ha),k.oc(c);this.hd&&(e=this.N.length?this.N[0].Fa:0,g=this.N.length?this.N[0].index:0,0===this.N.length||1===this.N.length&&!c.Di(e)&&1===this.opacity?(1===this.N.length?
(c.vc(e),c.we(this.U.Ue(),1/this.b.width,1/this.b.height,0,0,1,1,this.Cb(),this.ga[g]),c.Og(e)&&(this.b.Z=f)):c.vc(0),c.Oc(this.U.Ue()),c.Cf(this.opacity),c.ec(this.b.tb),c.kd(this.Ka,this.Ha),c.jd(),c.td(),b=this.b.width/2,a=this.b.height/2,c.Pg(-b,a,b,a,b,-a,-b,-a),c.ec(l)):this.U.Ki(c,this,l,this.U.Ue()))};m.prototype.Za=function(c,b,a){var e=this.b.devicePixelRatio;this.b.ef&&0<this.b.Bb&&(c*=e,b*=e);var e=this.b.hb/2,g=this.b.gb/2,e=(this.U.scrollX-e)*this.ed+e,g=(this.U.scrollY-g)*this.fd+g,
d=1/this.Cb(),e=e-this.b.width*d/2,g=g-this.b.height*d/2,e=e+c*d,g=g+b*d;b=this.ob();0!==b&&(e-=this.U.scrollX,g-=this.U.scrollY,c=Math.cos(b),b=Math.sin(b),d=e*c-g*b,g=g*c+e*b,e=d+this.U.scrollX,g+=this.U.scrollY);return a?e:g};m.prototype.Gb=function(c,b,a){var e=this.ob();if(0!==e){c-=this.U.scrollX;b-=this.U.scrollY;var g=Math.cos(-e),e=Math.sin(-e),d=c*g-b*e;b=b*g+c*e;c=d+this.U.scrollX;b+=this.U.scrollY}g=this.b.hb/2;e=this.b.gb/2;g=(this.U.scrollX-g)*this.ed+g;e=(this.U.scrollY-e)*this.fd+
e;d=1/this.Cb();g-=this.b.width*d/2;e-=this.b.height*d/2;g=(c-g)/d;e=(b-e)/d;c=this.b.devicePixelRatio;this.b.ef&&0<this.b.Bb&&(g/=c,e/=c);return a?g:e};m.prototype.cc=function(){var c,b,a,e={s:this.scale,a:this.j,vl:this.Mb,vt:this.Ob,vr:this.Nb,vb:this.Lb,v:this.visible,bc:this.Uc,t:this.Sd,px:this.ed,py:this.fd,o:this.opacity,zr:this.Rc,fx:[],instances:[]};c=0;for(b=this.B.length;c<b;c++)a=this.B[c],e.fx.push({name:a.name,active:a.Ac,params:this.ga[a.index]});return e};m.prototype.Kc=function(c){var b,
a;this.scale=c.s;this.j=c.a;this.Mb=c.vl;this.Ob=c.vt;this.Nb=c.vr;this.Lb=c.vb;this.visible=c.v;this.Uc=c.bc;this.Sd=c.t;this.ed=c.px;this.fd=c.py;this.opacity=c.o;this.Rc=c.zr;var e=c.fx;c=0;for(b=e.length;c<b;c++)if(a=this.Gh(e[c].name))a.Ac=e[c].active,this.ga[a.index]=e[c].params;this.Qc();this.c.sort(g);this.mb=f};jb=m})();
(function(){function b(a,c){var d,b=a.length;switch(b){case 0:return f;case 1:return a[0]===c[0];case 2:return a[0]===c[0]&&a[1]===c[1];default:for(d=0;d<b;d++)if(a[d]!==c[d])return q;return f}}function m(a,c){return a.index-c.index}function g(a){var c,d,e,h;2===a.length?a[0].index>a[1].index&&(c=a[0],a[0]=a[1],a[1]=c):2<a.length&&a.sort(m);a.length>=y.length&&(y.length=a.length+1);y[a.length]||(y[a.length]=[]);h=y[a.length];c=0;for(d=h.length;c<d;c++)if(e=h[c],b(a,e))return e;h.push(a);return a}
function k(a,c){this.b=a;this.Il={};this.Xj={};this.Nh=q;this.nk=new Pa;this.name=c[0];var d=c[1];this.$c=[];var b,e;b=0;for(e=d.length;b<e;b++)this.pk(d[b],l,this.$c)}function c(a){this.type=a;this.c=[];this.W=[];this.V=f}function p(a,c,d){this.sheet=a;this.parent=c;this.b=a.b;this.ba=[];this.ld=[];this.mk=this.Yg=this.dj=this.Sh=this.group=this.Al=q;this.ma=[];this.Qb=[];this.Kb=[];d[1]?(this.We=d[1][1].toLowerCase(),this.group=f,this.Sh=!!d[1][0],this.b.Vd.push(this),this.b.Qf[this.We.toLowerCase()]=
this.Sh):(this.We="",this.Sh=this.group=q);this.tc=d[2];this.I=d[3];this.group||(this.b.Dj[this.I.toString()]=this);var b=d[4];a=0;for(c=b.length;a<c;a++){var e=new kb(this,b[a]);this.ma.push(e);this.xj(e.type)}b=d[5];a=0;for(c=b.length;a<c;a++)e=new lb(this,b[a]),this.Qb.push(e);if(7===d.length){d=d[6];a=0;for(c=d.length;a<c;a++)this.sheet.pk(d[a],this,this.Kb)}this.tg=q;this.ma.length&&(this.tg=this.ma[0].type==l&&this.ma[0].pa==U.prototype.e.Sl)}function a(a,c){var d,b,e;if(a&&(-1===c.indexOf(a)&&
c.push(a),a.sb)){d=0;for(b=a.Ra.length;d<b;d++)e=a.Ra[d],a!==e&&-1===c.indexOf(e)&&c.push(e)}}function e(a,c){this.ub=a;this.sheet=a.sheet;this.b=a.b;this.p=[];this.D=[];this.ha={};this.pa=c[1];this.trigger=0<c[3];this.Wj=2===c[3];this.Lc=c[4];this.bf=c[5];this.io=c[6];this.I=c[7];this.b.Xd[this.I.toString()]=this;-1===c[0]?(this.type=l,this.xa=this.Pi,this.Ad=l,this.Da=-1):(this.type=this.b.k[c[0]],this.xa=this.io?this.Lo:this.Oi,c[2]?(this.Ad=this.type.hg(c[2]),this.Da=this.type.Fh(c[2])):(this.Ad=
l,this.Da=-1),this.ub.parent&&this.ub.parent.Tg());this.Wj&&(this.xa=this.Mo);if(9===c.length){var d,b,e=c[8];d=0;for(b=e.length;d<b;d++){var h=new mb(this,e[d]);this.p.push(h)}this.D.length=e.length}}function w(a,c){this.ub=a;this.sheet=a.sheet;this.b=a.b;this.p=[];this.D=[];this.ha={};this.pa=c[1];-1===c[0]?(this.type=l,this.xa=this.Pi,this.Ad=l,this.Da=-1):(this.type=this.b.k[c[0]],this.xa=this.Oi,c[2]?(this.Ad=this.type.hg(c[2]),this.Da=this.type.Fh(c[2])):(this.Ad=l,this.Da=-1));this.I=c[3];
this.b.Ud[this.I.toString()]=this;if(5===c.length){var d,b,e=c[4];d=0;for(b=e.length;d<b;d++){var h=new mb(this,e[d]);this.p.push(h)}this.D.length=e.length}}function d(a,c){this.q=a;this.ub=a.ub;this.sheet=a.sheet;this.b=a.b;this.type=c[0];this.pc=l;this.Mj=this.md=0;this.U=l;this.key=0;this.object=l;this.index=0;this.bh=this.ye=this.Yj=this.Id=this.Mf=l;var d,b,e;switch(c[0]){case 0:case 7:this.pc=new nb(this,c[1]);this.md=0;this.get=this.Ln;break;case 1:this.pc=new nb(this,c[1]);this.md=0;this.get=
this.Mn;break;case 5:this.pc=new nb(this,c[1]);this.md=0;this.get=this.Qn;break;case 3:case 8:this.Mj=c[1];this.get=this.Jn;break;case 6:this.U=this.b.di[c[1]];this.get=this.Rn;break;case 9:this.key=c[1];this.get=this.Pn;break;case 4:this.object=this.b.k[c[1]];this.get=this.Sn;this.ub.xj(this.object);this.q instanceof lb?this.ub.Tg():this.ub.parent&&this.ub.parent.Tg();break;case 10:this.index=c[1];this.get=a.type.H?this.Nn:this.On;break;case 11:this.Mf=c[1];this.Id=l;this.get=this.Kn;break;case 2:case 12:this.Yj=
c[1];this.get=this.In;break;case 13:this.get=this.Tn;this.ye=[];this.bh=[];d=1;for(b=c.length;d<b;d++)e=new mb(this.q,c[d]),this.ye.push(e),this.bh.push(0)}}function h(a,c,d){this.sheet=a;this.parent=c;this.b=a.b;this.ba=[];this.name=d[1];this.Ql=d[2];this.Rh=d[3];this.hf=!!d[4];this.sg=!!d[5];this.I=d[6];this.b.Ae[this.I.toString()]=this;this.data=this.Rh;this.parent?this.Md=this.hf||this.sg?-1:this.b.So++:(this.Md=-1,this.b.tm.push(this))}function n(a,c,d){this.sheet=a;this.parent=c;this.b=a.b;
this.ba=[];this.Ze=l;this.Xn=d[1]}function s(){this.Bl=[];this.reset(l)}var y=[];k.prototype.toString=v("name");k.prototype.pk=function(a,c,d){switch(a[0]){case 0:a=new ob(this,c,a);if(a.tc){d.push(a);d=0;for(c=a.ma.length;d<c;d++)a.ma[d].trigger&&this.qk(a,d)}else a.uk()?this.qk(a,0):d.push(a);break;case 1:a=new cb(this,c,a);d.push(a);break;case 2:a=new pb(this,c,a),d.push(a)}};k.prototype.ka=function(){var a,c;a=0;for(c=this.$c.length;a<c;a++)this.$c[a].ka(a<c-1&&this.$c[a+1].tg)};k.prototype.xa=
function(){this.Nh=f;this.b.Xh=f;var a,c;a=0;for(c=this.$c.length;a<c;a++){var d=this.$c[a];d.xa();this.b.nh(d.ba);(!this.b.nc.cf()||this.b.mc.length)&&this.b.Ga()}this.b.Xh=q};k.prototype.qk=function(a,c){a.tc||this.b.$g.push(a);var d,b,e=a.ma[c],h;h=e.type?e.type.name:"system";var g=(d=e.Wj)?this.Xj:this.Il;g[h]||(g[h]=[]);h=g[h];g=e.pa;if(d){if(e.p.length&&(e=e.p[0],!(1!==e.type||2!==e.pc.type))){e=e.pc.value.toLowerCase();d=0;for(b=h.length;d<b;d++)if(h[d].method==g){d=h[d].cg;d[e]?d[e].push([a,
c]):d[e]=[[a,c]];return}d={};d[e]=[[a,c]];h.push({method:g,cg:d})}}else{d=0;for(b=h.length;d<b;d++)if(h[d].method==g){h[d].cg.push([a,c]);return}h.push({method:g,cg:[[a,c]]})}};ab=k;c.prototype.Mh=function(){return this.V?this.type.c.length:this.c.length};c.prototype.rc=function(){return this.V?this.type.c:this.c};c.prototype.wf=function(a){a&&(a.b.$a().nb.tc?(this.V&&(this.c.length=0,ra(this.W,a.type.c),this.V=q),a=this.W.indexOf(a),-1!==a&&(this.c.push(this.W[a]),this.W.splice(a,1))):(this.V=q,
this.c.length=1,this.c[0]=a))};Za=c;p.prototype.ka=function(a){var c,d=this.parent;if(this.group)for(this.Yg=f;d;){if(!d.group){this.Yg=q;break}d=d.parent}this.dj=!this.uk()&&(!this.parent||this.parent.group&&this.parent.Yg);this.mk=!!a;this.ld=this.ba.slice(0);for(d=this.parent;d;){a=0;for(c=d.ba.length;a<c;a++)this.rm(d.ba[a]);d=d.parent}this.ba=g(this.ba);this.ld=g(this.ld);a=0;for(c=this.ma.length;a<c;a++)this.ma[a].ka();a=0;for(c=this.Qb.length;a<c;a++)this.Qb[a].ka();a=0;for(c=this.Kb.length;a<
c;a++)this.Kb[a].ka(a<c-1&&this.Kb[a+1].tg)};p.prototype.xj=function(c){a(c,this.ba)};p.prototype.rm=function(c){a(c,this.ld)};p.prototype.Tg=function(){this.Al=f;this.parent&&this.parent.Tg()};p.prototype.uk=function(){return this.ma.length?this.ma[0].trigger:q};p.prototype.xa=function(){var a,c=q,d=this.b.$a();d.nb=this;this.tg||(d.wh=q);if(this.tc){0===this.ma.length&&(c=f);d.Qa=0;for(a=this.ma.length;d.Qa<a;d.Qa++)this.ma[d.Qa].trigger||this.ma[d.Qa].xa()&&(c=f);(d.he=c)&&this.Ni()}else{d.Qa=
0;for(a=this.ma.length;d.Qa<a;d.Qa++)if(!this.ma[d.Qa].xa()){d.he=q;this.dj&&(!this.b.nc.cf()||this.b.mc.length)&&this.b.Ga();return}d.he=f;this.Ni()}d.he&&this.mk&&(d.wh=f);this.dj&&(!this.b.nc.cf()||this.b.mc.length)&&this.b.Ga()};p.prototype.Jo=function(a){this.b.$a().nb=this;this.ma[a].xa()&&this.Ni()};p.prototype.Ni=function(){var a=this.b.$a(),c;a.Xa=0;for(c=this.Qb.length;a.Xa<c;a.Xa++)if(this.Qb[a.Xa].xa())return;this.pl()};p.prototype.Go=function(){var a=this.b.$a(),c;for(c=this.Qb.length;a.Xa<
c;a.Xa++)if(this.Qb[a.Xa].xa())return;this.pl()};p.prototype.pl=function(){if(this.Kb.length){var a,c,d,b,e=this.Kb.length-1;this.b.Gi(this);if(this.Al){a=0;for(c=this.Kb.length;a<c;a++)d=this.Kb[a],(b=!this.Yg||!this.group&&a<e)&&this.b.Fi(d.ba),d.xa(),b?this.b.ve(d.ba):this.b.nh(d.ba)}else{a=0;for(c=this.Kb.length;a<c;a++)this.Kb[a].xa()}this.b.fl()}};p.prototype.Ko=function(){var a=this.b.$a();a.nb=this;var c=q,d;a.Qa=0;for(d=this.ma.length;a.Qa<d;a.Qa++)if(this.ma[a.Qa].xa())c=f;else if(!this.tc)return q;
return this.tc?c:f};ob=p;e.prototype.ka=function(){var a,c;a=0;for(c=this.p.length;a<c;a++)this.p[a].ka()};e.prototype.Mo=z(f);e.prototype.Pi=function(){var a,c;a=0;for(c=this.p.length;a<c;a++)this.D[a]=this.p[a].get();return Ka(this.pa.apply(this.b.wc,this.D),this.bf)};e.prototype.Lo=function(){var a,c;a=0;for(c=this.p.length;a<c;a++)this.D[a]=this.p[a].get(a);a=this.pa.apply(this.Ad?this.Ad:this.type,this.D);this.type.Ge();return a};e.prototype.Oi=function(){var a,c,d,b,e,h,g,n=this.type.T(),k=
this.ub.tc&&!this.trigger,m=0,s=this.type.sb;if(n.V){n.c.length=0;a=n.W.length=0;for(d=this.type.c.length;a<d;a++){h=this.type.c[a];c=0;for(b=this.p.length;c<b;c++)this.D[c]=this.p[c].get(a);-1<this.Da?(this.type.H&&(m=h.type.Zd[this.type.qc]),c=this.pa.apply(h.J[this.Da+m],this.D)):c=this.pa.apply(h,this.D);(e=Ka(c,this.bf))?n.c.push(h):k&&n.W.push(h)}this.type.finish&&this.type.finish(f);n.V=q;this.type.Ge();return n.Mh()}var y=0,u=k?n.W:n.c;e=q;a=0;for(d=u.length;a<d;a++){h=u[a];c=0;for(b=this.p.length;c<
b;c++)this.D[c]=this.p[c].get(a);-1<this.Da?(this.type.H&&(m=h.type.Zd[this.type.qc]),c=this.pa.apply(h.J[this.Da+m],this.D)):c=this.pa.apply(h,this.D);if(Ka(c,this.bf))if(e=f,k){if(n.c.push(h),s){c=0;for(b=h.siblings.length;c<b;c++)g=h.siblings[c],g.type.T().c.push(g)}}else{u[y]=h;if(s){c=0;for(b=h.siblings.length;c<b;c++)g=h.siblings[c],g.type.T().c[y]=g}y++}else if(k){u[y]=h;if(s){c=0;for(b=h.siblings.length;c<b;c++)g=h.siblings[c],g.type.T().W[y]=g}y++}}u.length=y;if(s){a=0;for(d=this.type.Ra.length;a<
d;a++)h=this.type.Ra[a].T(),k?h.W.length=y:h.c.length=y}m=e;if(k&&!e){a=0;for(d=n.c.length;a<d;a++){h=n.c[a];c=0;for(b=this.p.length;c<b;c++)this.D[c]=this.p[c].get(a);c=-1<this.Da?this.pa.apply(h.J[this.Da],this.D):this.pa.apply(h,this.D);if(Ka(c,this.bf)){e=f;break}}}this.type.finish&&this.type.finish(m||k);return k?e:n.Mh()};kb=e;w.prototype.ka=function(){var a,c;a=0;for(c=this.p.length;a<c;a++)this.p[a].ka()};w.prototype.Pi=function(){var a,c;a=0;for(c=this.p.length;a<c;a++)this.D[a]=this.p[a].get();
return this.pa.apply(this.b.wc,this.D)};w.prototype.Oi=function(){var a=this.type.T().rc(),c,d,b,e,h;c=0;for(b=a.length;c<b;c++){h=a[c];d=0;for(e=this.p.length;d<e;d++)this.D[d]=this.p[d].get(c);-1<this.Da?(d=0,this.type.H&&(d=h.type.Zd[this.type.qc]),this.pa.apply(h.J[this.Da+d],this.D)):this.pa.apply(h,this.D)}return q};lb=w;var x=[],u=-1;d.prototype.ka=function(){var a,c;if(11===this.type)this.Id=this.b.ek(this.Mf,this.ub.parent);else if(13===this.type){a=0;for(c=this.ye.length;a<c;a++)this.ye[a].ka()}this.pc&&
this.pc.ka()};d.prototype.wa=function(){u++;x.length===u&&x.push(new qb);return x[u]};d.prototype.ra=function(){u--};d.prototype.Ln=function(a){this.md=a||0;a=this.wa();this.pc.get(a);this.ra();return a.data};d.prototype.Mn=function(a){this.md=a||0;a=this.wa();this.pc.get(a);this.ra();return M(a.data)?a.data:""};d.prototype.Sn=v("object");d.prototype.Jn=v("Mj");d.prototype.Qn=function(a){this.md=a||0;a=this.wa();this.pc.get(a);this.ra();return a.Aa()?this.b.Te(a.data):this.b.Jh(a.data)};d.prototype.Rn=
v("U");d.prototype.Pn=v("key");d.prototype.On=v("index");d.prototype.Nn=function(a){var c=this.q.type,d=l,d=c.T(),b=d.rc(),d=b.length?b[a%b.length].type:d.W[a%d.W.length].type;return this.index+d.eg[c.qc]};d.prototype.Kn=v("Id");d.prototype.In=v("Yj");d.prototype.Tn=function(){var a,c;a=0;for(c=this.ye.length;a<c;a++)this.bh[a]=this.ye[a].get();return this.bh};mb=d;h.prototype.ka=function(){this.ba=g(this.ba)};h.prototype.Ug=function(a){var c=this.b.dk();!this.parent||this.hf||!c?this.data=a:(this.Md>=
c.length&&(c.length=this.Md+1),c[this.Md]=a)};h.prototype.ik=function(){var a=this.b.dk();return!this.parent||this.hf||!a||this.sg?this.data:this.Md>=a.length||"undefined"===typeof a[this.Md]?this.Rh:a[this.Md]};h.prototype.xa=function(){this.parent&&(!this.hf&&!this.sg)&&this.Ug(this.Rh)};cb=h;n.prototype.toString=function(){return"include:"+this.Ze.toString()};n.prototype.ka=function(){this.Ze=this.b.yh[this.Xn];this.sheet.nk.add(this);this.ba=g(this.ba)};n.prototype.xa=function(){this.parent&&
this.b.yf(this.b.k);this.Ze.Nh||this.Ze.xa();this.parent&&this.b.ve(this.b.k)};n.prototype.Zn=function(){for(var a=this.parent;a;){if(a.group&&!this.b.Qf[a.We.toLowerCase()])return q;a=a.parent}return f};pb=n;s.prototype.reset=function(a){this.nb=a;this.Xa=this.Qa=0;this.Bl.length=0;this.wh=this.he=q};bb=s})();
(function(){function b(b,k){this.q=b;this.b=b.b;this.type=k[0];this.get=[this.bn,this.Ym,this.ln,this.on,this.Sm,this.mn,this.gn,this.Vm,this.en,this.kn,this.Tm,this.jn,this.Wm,this.hn,this.cn,this.dn,this.Zm,this.$m,this.Um,this.nn,this.Uj,this.an,this.Uj,this.Xm][this.type];var c=l;this.fb=this.p=this.D=this.pa=this.Xg=this.Ca=this.first=this.value=l;this.Da=-1;this.Gc=l;this.ij=-1;this.Id=this.Mf=this.um=l;this.zf=q;switch(this.type){case 0:case 1:case 2:this.value=k[1];break;case 3:this.first=
new nb(b,k[1]);break;case 18:this.first=new nb(b,k[1]);this.Ca=new nb(b,k[2]);this.Xg=new nb(b,k[3]);break;case 19:this.pa=k[1];this.D=[];this.p=[];3===k.length?(c=k[2],this.D.length=c.length+1):this.D.length=1;break;case 20:this.fb=this.b.k[k[1]];this.Da=-1;this.pa=k[2];this.zf=k[3];this.Gc=k[4]?new nb(b,k[4]):l;this.D=[];this.p=[];6===k.length?(c=k[5],this.D.length=c.length+1):this.D.length=1;break;case 21:this.fb=this.b.k[k[1]];this.zf=k[2];this.Gc=k[3]?new nb(b,k[3]):l;this.ij=k[4];break;case 22:this.fb=
this.b.k[k[1]];this.um=this.fb.hg(k[2]);this.Da=this.fb.Fh(k[2]);this.pa=k[3];this.zf=k[4];this.Gc=k[5]?new nb(b,k[5]):l;this.D=[];this.p=[];7===k.length?(c=k[6],this.D.length=c.length+1):this.D.length=1;break;case 23:this.Mf=k[1],this.Id=l}4<=this.type&&17>=this.type&&(this.first=new nb(b,k[1]),this.Ca=new nb(b,k[2]));if(c){var m,a;m=0;for(a=c.length;m<a;m++)this.p.push(new nb(b,c[m]))}}function m(b,k){this.type=b||rb.De;this.data=k||0;this.pe=l;this.type==rb.De&&(this.data=Math.floor(this.data))}
b.prototype.ka=function(){23===this.type&&(this.Id=this.q.b.ek(this.Mf,this.q.ub.parent));this.first&&this.first.ka();this.Ca&&this.Ca.ka();this.Xg&&this.Xg.ka();this.Gc&&this.Gc.ka();if(this.p){var b,k;b=0;for(k=this.p.length;b<k;b++)this.p[b].ka()}};b.prototype.nn=function(b){this.D[0]=b;b=this.q.wa();var k,c;k=0;for(c=this.p.length;k<c;k++)this.p[k].get(b),this.D[k+1]=b.data;this.q.ra();this.pa.apply(this.b.wc,this.D)};b.prototype.Uj=function(b){var k=this.fb.T(),c=k.rc();if(!c.length)if(k.W.length)c=
k.W;else{this.zf?b.Ta(""):b.$(0);return}this.D[0]=b;b.pe=this.fb;b=this.q.wa();var m,k=0;for(m=this.p.length;k<m;k++)this.p[k].get(b),this.D[k+1]=b.data;k=this.q.md;this.Gc&&(this.Gc.get(b),b.Aa()&&(k=b.data,c=this.fb.c));this.q.ra();k%=c.length;0>k&&(k+=c.length);c=c[k];-1<this.Da?(b=0,this.fb.H&&(b=c.type.Zd[this.fb.qc]),this.pa.apply(c.J[this.Da+b],this.D)):this.pa.apply(c,this.D)};b.prototype.an=function(b){var k=this.fb.T(),c=k.rc();if(!c.length)if(k.W.length)c=k.W;else{this.zf?b.Ta(""):b.$(0);
return}k=this.q.md;if(this.Gc){var m=this.q.wa();this.Gc.get(m);if(m.Aa()){k=m.data;c=this.fb.c;k%=c.length;0>k&&(k+=c.length);c=c[k].za[this.ij];M(c)?b.Ta(c):b.C(c);this.q.ra();return}this.q.ra()}k%=c.length;0>k&&(k+=c.length);c=c[k];k=0;this.fb.H&&(k=c.type.eg[this.fb.qc]);c=c.za[this.ij+k];M(c)?b.Ta(c):b.C(c)};b.prototype.bn=function(b){b.type=rb.De;b.data=this.value};b.prototype.Ym=function(b){b.type=rb.Ce;b.data=this.value};b.prototype.ln=function(b){b.type=rb.ih;b.data=this.value};b.prototype.on=
function(b){this.first.get(b);b.Aa()&&(b.data=-b.data)};b.prototype.Sm=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data+=k.data,k.fe()&&b.oe());this.q.ra()};b.prototype.mn=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data-=k.data,k.fe()&&b.oe());this.q.ra()};b.prototype.gn=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data*=k.data,k.fe()&&b.oe());this.q.ra()};b.prototype.Vm=function(b){this.first.get(b);
var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data/=k.data,b.oe());this.q.ra()};b.prototype.en=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data%=k.data,k.fe()&&b.oe());this.q.ra()};b.prototype.kn=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data=Math.pow(b.data,k.data),k.fe()&&b.oe());this.q.ra()};b.prototype.Tm=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()?k.ug()?b.Ta(b.data.toString()+k.data):
b.data&&k.data?b.$(1):b.$(0):b.ug()&&(b.data=k.ug()?b.data+k.data:b.data+(Math.round(1E10*k.data)/1E10).toString());this.q.ra()};b.prototype.jn=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.Aa()&&k.Aa()&&(b.data||k.data?b.$(1):b.$(0));this.q.ra()};b.prototype.Um=function(b){this.first.get(b);b.data?this.Ca.get(b):this.Xg.get(b)};b.prototype.Wm=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.$(b.data===k.data?1:0);this.q.ra()};b.prototype.hn=function(b){this.first.get(b);
var k=this.q.wa();this.Ca.get(k);b.$(b.data!==k.data?1:0);this.q.ra()};b.prototype.cn=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.$(b.data<k.data?1:0);this.q.ra()};b.prototype.dn=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.$(b.data<=k.data?1:0);this.q.ra()};b.prototype.Zm=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.$(b.data>k.data?1:0);this.q.ra()};b.prototype.$m=function(b){this.first.get(b);var k=this.q.wa();this.Ca.get(k);b.$(b.data>=
k.data?1:0);this.q.ra()};b.prototype.Xm=function(b){var k=this.Id.ik();da(k)?b.C(k):b.Ta(k)};nb=b;m.prototype.fe=function(){return this.type===rb.Ce};m.prototype.Aa=function(){return this.type===rb.De||this.type===rb.Ce};m.prototype.ug=function(){return this.type===rb.ih};m.prototype.oe=function(){this.fe()||(this.ug()&&(this.data=parseFloat(this.data)),this.type=rb.Ce)};m.prototype.$=function(b){this.type=rb.De;this.data=Math.floor(b)};m.prototype.C=function(b){this.type=rb.Ce;this.data=b};m.prototype.Ta=
function(b){this.type=rb.ih;this.data=b};qb=m;rb={De:0,Ce:1,ih:2}})();function U(b){this.b=b;this.Va=[]}
U.prototype.cc=function(){var b={},m,g,k,c,p,a,e,w;b.waits=[];var d=b.waits,h;m=0;for(g=this.Va.length;m<g;m++){a=this.Va[m];h={t:a.time,ev:a.Yd.I,sm:[],sols:{}};a.Yd.Qb[a.Xa]&&(h.act=a.Yd.Qb[a.Xa].I);k=0;for(c=a.ba.length;k<c;k++)h.sm.push(a.ba[k].I);for(p in a.Na)if(a.Na.hasOwnProperty(p)){e=this.b.k[parseInt(p,10)];w={sa:a.Na[p].Rg,insts:[]};k=0;for(c=a.Na[p].Hc.length;k<c;k++)w.insts.push(a.Na[p].Hc[k].uid);h.sols[e.I.toString()]=w}d.push(h)}return b};
U.prototype.Kc=function(b){b=b.waits;var m,g,k,c,p,a,e,w,d,h,n;m=this.Va.length=0;for(g=b.length;m<g;m++)if(a=b[m],w=this.b.Dj[a.ev.toString()]){d=-1;k=0;for(c=w.Qb.length;k<c;k++)if(w.Qb[k].I===a.act){d=k;break}if(-1!==d){e={Na:{},ba:[],uh:q};e.time=a.t;e.Yd=w;e.Xa=d;k=0;for(c=a.sm.length;k<c;k++)(w=this.b.lg(a.sm[k]))&&e.ba.push(w);for(p in a.sols)if(a.sols.hasOwnProperty(p)&&(w=this.b.lg(parseInt(p,10)))){d=a.sols[p];h={Rg:d.sa,Hc:[]};k=0;for(c=d.insts.length;k<c;k++)(n=this.b.kg(d.insts[k]))&&
h.Hc.push(n);e.Na[w.index.toString()]=h}this.Va.push(e)}}};
(function(){function b(){}function m(){}function g(){}var k=U.prototype;b.prototype.xd=z(f);b.prototype.Xl=z(f);b.prototype.mj=function(a,c,b){return $b(a,c,b)};b.prototype.ca=function(a,c,b){return $b(a.ik(),c,b)};b.prototype.Sl=function(){var a=this.b.$a();return a.wh?q:!a.he};b.prototype.nj=z(f);b.prototype.Vl=z(f);b.prototype.hh=z(f);b.prototype.Yl=z(f);b.prototype.gh=z(f);k.e=new b;m.prototype.eh=function(a){!this.b.jf&&!this.b.Ke&&(this.b.Ke=a)};m.prototype.Sc=function(a,c,b,d){if(c&&a&&(c=
this.b.Nj(a,c,b,d))){this.b.Wb++;var h;this.b.trigger(Object.getPrototypeOf(a.qa).e.ic,c);if(c.sb){b=0;for(d=c.siblings.length;b<d;b++)h=c.siblings[b],this.b.trigger(Object.getPrototypeOf(h.type.qa).e.ic,h)}this.b.Wb--;a=a.T();a.V=q;a.c.length=1;a.c[0]=c;if(c.sb){b=0;for(d=c.siblings.length;b<d;b++)h=c.siblings[b],a=h.type.T(),a.V=q,a.c.length=1,a.c[0]=h}}};m.prototype.zc=function(a,c){0===a.Ql?da(c)?a.Ug(c):a.Ug(parseFloat(c)):1===a.Ql&&a.Ug(c.toString())};var c=[],p=[];m.prototype.jm=function(a){if(!(0>
a)){var b,g,d,h=this.b.$a(),n;n=c.length?c.pop():{Na:{},ba:[]};n.uh=q;n.time=this.b.Fb.jb+a;n.Yd=h.nb;n.Xa=h.Xa+1;a=0;for(b=this.b.k.length;a<b;a++)d=this.b.k[a],g=d.T(),g.V&&-1===h.nb.ba.indexOf(d)||(n.ba.push(d),d=void 0,d=p.length?p.pop():{Hc:[]},d.Rg=q,d.Rg=g.V,ra(d.Hc,g.c),n.Na[a.toString()]=d);this.Va.push(n);return f}};k.d=new m;g.prototype["int"]=function(a,c){M(c)?(a.$(parseInt(c,10)),isNaN(a.data)&&(a.data=0)):a.$(c)};g.prototype["float"]=function(a,c){M(c)?(a.C(parseFloat(c)),isNaN(a.data)&&
(a.data=0)):a.C(c)};g.prototype.random=function(a,c,b){void 0===b?a.C(Math.random()*c):a.C(Math.random()*(b-c)+c)};g.prototype.sqrt=function(a,c){a.C(Math.sqrt(c))};g.prototype.round=function(a,c){a.$(Math.round(c))};g.prototype.floor=function(a,c){a.$(Math.floor(c))};g.prototype.ceil=function(a,c){a.$(Math.ceil(c))};g.prototype.sin=function(a,c){a.C(Math.sin(P(c)))};g.prototype.cos=function(a,c){a.C(Math.cos(P(c)))};g.prototype.tan=function(a,c){a.C(Math.tan(P(c)))};g.prototype.acos=function(a,c){a.C(ta(Math.acos(c)))};
g.prototype.exp=function(a,c){a.C(Math.exp(c))};g.prototype.max=function(a){var c=arguments[1],b,d;b=2;for(d=arguments.length;b<d;b++)c<arguments[b]&&(c=arguments[b]);a.C(c)};g.prototype.min=function(a){var c=arguments[1],b,d;b=2;for(d=arguments.length;b<d;b++)c>arguments[b]&&(c=arguments[b]);a.C(c)};g.prototype.Fd=function(a){a.C(this.b.Fd)};g.prototype.Rd=function(a){a.C(this.b.Rd)};g.prototype.time=function(a){a.C(this.b.Fb.jb)};g.prototype.Jf=function(a){a.$(this.b.Jf)};g.prototype.Ig=function(a){a.$(this.b.Ig)};
g.prototype.Ch=function(a){a.$(this.b.Ch)};g.prototype.j=function(a,c,b,d,h){a.C(ta(za(c,b,d,h)))};g.prototype.left=function(a,c,b){a.Ta(M(c)?c.substr(0,b):"")};g.prototype.right=function(a,c,b){a.Ta(M(c)?c.substr(c.length-b):"")};g.prototype.replace=function(a,c,b,d){M(c)&&M(b)&&M(d)?a.Ta(c.replace(RegExp(Ra(b),"gi"),d)):a.Ta(M(c)?c:"")};g.prototype.Gk=function(a){this.b.P?a.Ta(this.b.P.name):a.Ta("")};g.prototype.oh=function(a){a.C(this.b.oh/1E3)};g.prototype.je=function(a){a.C(this.b.je)};k.Ab=
new g;k.Io=function(){var a,b,g,d,h,n,k=this.b.$a();a=0;for(g=this.Va.length;a<g;a++)if(d=this.Va[a],!(d.time>this.b.Fb.jb)){k.nb=d.Yd;k.Xa=d.Xa;k.Qa=0;for(b in d.Na)d.Na.hasOwnProperty(b)&&(h=this.b.k[parseInt(b,10)].T(),n=d.Na[b],h.V=n.Rg,ra(h.c,n.Hc),h=n,h.Hc.length=0,p.push(h));d.Yd.Go();this.b.nh(d.ba);d.uh=f}b=a=0;for(g=this.Va.length;a<g;a++)d=this.Va[a],this.Va[b]=d,d.uh?(Na(d.Na),d.ba.length=0,c.push(d)):b++;this.Va.length=b}})();
function Bb(b){var m=b[0].prototype,g=b[1],k=b[3],c=b[4],p=b[5],a=b[6],e=b[7];b=b[8];m.e||(m.e={});m.d||(m.d={});m.Ab||(m.Ab={});var w=m.e,d=m.d,m=m.Ab;k&&(w.pp=function(a,c){return $b(this.x,a,c)},w.qp=function(a,c){return $b(this.y,a,c)},w.yp=function(){var a=this.g;this.xc();var c=this.O;return!(c.right<a.Mb||c.bottom<a.Ob||c.left>a.Nb||c.top>a.Lb)},w.zp=function(){this.xc();var a=this.O,c=this.b.P;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},w.Lp=function(a,c,b){var d=this.T(),
e=d.rc();if(!e.length)return q;var g=e[0],k=g,m=Ja(g.x,g.y,c,b),p,w,J;p=1;for(w=e.length;p<w;p++)if(g=e[p],J=Ja(g.x,g.y,c,b),0===a&&J<m||1===a&&J>m)m=J,k=g;d.wf(k);return f},d.dq=function(a){this.x!==a&&(this.x=a,this.Ja())},d.fq=function(a){this.y!==a&&(this.y=a,this.Ja())},d.Zp=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.Ja()},d.$p=function(a,c){var b=a.En(this);if(b){var d;b.Ih?(d=b.Ih(c,f),b=b.Ih(c,q)):(d=b.x,b=b.y);if(this.x!==d||this.y!==b)this.x=d,this.y=b,this.Ja()}},d.Ep=
function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.Ja())},d.Dp=function(a,c){0!==c&&(this.x+=Math.cos(P(a))*c,this.y+=Math.sin(P(a))*c,this.Ja())},m.km=function(a){a.C(this.x)},m.lm=function(a){a.C(this.y)},m.Fd=function(a){a.C(this.b.yn(this))});c&&(w.op=function(a,c){return $b(this.width,a,c)},w.mp=function(a,c){return $b(this.height,a,c)},d.cq=function(a){this.width!==a&&(this.width=a,this.Ja())},d.Xp=function(a){this.height!==a&&(this.height=a,this.Ja())},d.aq=function(a,
c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.Ja()},m.iq=function(a){a.C(this.width)},m.sp=function(a){a.C(this.height)},m.jp=function(a){this.xc();a.C(this.O.left)},m.lp=function(a){this.xc();a.C(this.O.top)},m.kp=function(a){this.xc();a.C(this.O.right)},m.ip=function(a){this.xc();a.C(this.O.bottom)});p&&(w.hp=function(a,c){return Fa(this.j,P(c))<=P(a)},w.wp=function(a){return Ha(this.j,P(a))},w.up=function(a,c){var b=xa(a),d=xa(c),e=va(this.j);return Ha(d,b)?Ha(e,b)&&!Ha(e,
d):!(!Ha(e,b)&&Ha(e,d))},d.Tp=function(a){a=P(ua(a));!isNaN(a)&&this.j!==a&&(this.j=a,this.Ja())},d.Pp=function(a){0!==a&&!isNaN(a)&&(this.j+=P(a),this.j=va(this.j),this.Ja())},d.Qp=function(a){0!==a&&!isNaN(a)&&(this.j-=P(a),this.j=va(this.j),this.Ja())},d.Rp=function(a,c){var b=Ga(this.j,P(c),P(a));!isNaN(b)&&this.j!==b&&(this.j=b,this.Ja())},d.Sp=function(a,c,b){a=Ga(this.j,Math.atan2(b-this.y,c-this.x),P(a));!isNaN(a)&&this.j!==a&&(this.j=a,this.Ja())},d.bq=function(a,c){var b=Math.atan2(c-this.y,
a-this.x);!isNaN(b)&&this.j!==b&&(this.j=b,this.Ja())},m.gp=function(a){a.C(wa(this.j))});g||(w.Be=function(a,c,b){return $b(this.za[a],c,b)},w.vp=function(a){return this.za[a]},w.Mp=function(a,c){var b=this.T(),d=b.rc();if(!d.length)return q;var e=d[0],g=e,k=e.za[c],m,p,w;m=1;for(p=d.length;m<p;m++)if(e=d[m],w=e.za[c],0===a&&w<k||1===a&&w>k)k=w,g=e;b.wf(g);return f},w.Kp=function(a){var c,b,d,e,g;if(this.b.xn().bf){g=this.T();if(g.V){g.V=q;g.c.length=0;g.W.length=0;d=this.c;c=0;for(b=d.length;c<
b;c++)e=d[c],e.uid===a?g.W.push(e):g.c.push(e)}else{d=c=0;for(b=g.c.length;c<b;c++)e=g.c[c],g.c[d]=e,e.uid===a?g.W.push(e):d++;g.c.length=d}return!!g.c.length}e=this.b.kg(a);if(!e)return q;g=this.T();if(!g.V&&-1===g.c.indexOf(e))return q;if(this.H){a=e.type.X;c=0;for(b=a.length;c<b;c++)if(a[c]===this)return g.wf(e),f}else if(e.type===this)return g.wf(e),f;return q},w.ic=z(f),w.Wl=z(f),d.jc=function(a,c){var b=this.za;da(b[a])?b[a]=da(c)?c:parseFloat(c):M(b[a])&&(b[a]=M(c)?c:c.toString())},d.fp=function(a,
c){var b=this.za;da(b[a])?b[a]=da(c)?b[a]+c:b[a]+parseFloat(c):M(b[a])&&(b[a]=M(c)?b[a]+c:b[a]+c.toString())},d.kc=function(a,c){var b=this.za;da(b[a])&&(b[a]=da(c)?b[a]-c:b[a]-parseFloat(c))},d.Up=function(a,c){this.za[a]=c?1:0},d.gq=function(a){this.za[a]=1-this.za[a]},d.Of=function(){this.b.wd(this)},m.rp=function(a){var c=a.pe.c.length,b,d,e;b=0;for(d=this.b.mc.length;b<d;b++)e=this.b.mc[b],a.pe.H?0<=e.type.X.indexOf(a.pe)&&c++:e.type===a.pe&&c++;a.$(c)},m.Op=function(a){a.$(a.pe.T().rc().length)},
m.hq=function(a){a.$(this.uid)},m.tp=function(a){a.$(this.Ve())});a&&(w.Ap=v("visible"),d.da=function(a){!a!==!this.visible&&(this.visible=a,this.b.Z=f)},w.np=function(a,c){return $b(Xa(100*this.opacity),a,c)},d.Yp=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.Z=f)},m.Opacity=function(a){a.C(Xa(100*this.opacity))});e&&(w.xp=function(a){return!a?q:this.g===a},w.Np=function(a){var c=this.T(),b=c.rc();if(!b.length)return q;var d=b[0],e=d,g,k;g=1;for(k=b.length;g<k;g++)if(d=
b[g],0===a){if(d.g.index>e.g.index||d.g.index===e.g.index&&d.qb()>e.qb())e=d}else if(d.g.index<e.g.index||d.g.index===e.g.index&&d.qb()<e.qb())e=d;c.wf(e);return f},d.Hp=function(){var a=this.qb();a!==this.g.c.length-1&&(oa(this.g.c,a),this.g.c.push(this),this.b.Z=f,this.g.mb=f)},d.Fp=function(){var a=this.qb();0!==a&&(oa(this.g.c,a),this.g.c.unshift(this),this.b.Z=f,this.g.mb=f)},d.Gp=function(a){a&&a!=this.g&&(oa(this.g.c,this.qb()),this.g.mb=f,this.g=a,this.Td=a.c.length,a.c.push(this),this.b.Z=
f)},d.kq=function(a,c){var b=0===a;if(c){var d=c.zn(this);if(d&&d.uid!==this.uid){this.g.index!==d.g.index&&(oa(this.g.c,this.qb()),this.g.mb=f,this.g=d.g,this.Td=d.g.c.length,d.g.c.push(this));var e=this.qb(),d=d.qb();oa(this.g.c,e);e<d&&d--;b&&d++;d===this.g.c.length?this.g.c.push(this):this.g.c.splice(d,0,this);this.g.mb=f;this.b.Z=f}}},m.Cp=function(a){a.$(this.g.Qk)},m.Bp=function(a){a.Ta(this.g.name)},m.jq=function(a){a.$(this.qb())});b&&(d.Vp=function(a,c){if(this.b.F){var b=this.type.Hh(c);
if(!(0>b)){var d=1===a;this.Tc[b]!==d&&(this.Tc[b]=d,this.Qc(),this.b.Z=f)}}},d.Wp=function(a,c,b){if(this.b.F){var d=this.type.Hh(a);0>d||(a=this.type.B[d],d=this.ga[d],c=Math.floor(c),0>c||c>=d.length||(1===this.b.F.Hn(a.Fa,c)&&(b/=100),d[c]!==b&&(d[c]=b,a.Ac&&(this.b.Z=f))))}})}function Ub(){this.kh=f;this.b.Z=f;var b,m;b=0;for(m=this.Tf.length;b<m;b++)this.Tf[b](this)}function Vb(b){b&&this.Tf.push(b)}
function Xb(){if(this.kh){this.O.set(this.x,this.y,this.x+this.width,this.y+this.height);this.O.offset(-this.bb*this.width,-this.cb*this.height);this.j?(this.O.offset(-this.x,-this.y),this.Bd.wl(this.O,this.j),this.Bd.offset(this.x,this.y),this.Bd.Ej(this.O)):this.Bd.Ui(this.O);var b=0;this.O.left>this.O.right&&(b=this.O.left,this.O.left=this.O.right,this.O.right=b);this.O.top>this.O.bottom&&(b=this.O.top,this.O.top=this.O.bottom,this.O.bottom=b);this.kh=q}}
function Wb(b,m){return!this.O.Wc(b,m)||!this.Bd.Wc(b,m)?q:this.lc&&!this.lc.ho()?(this.lc.ym(this.width,this.height,this.j),this.lc.Wc(b-this.x,m-this.y)):f}function Sb(){this.type.ah();return this.Ye}function Yb(){this.g.Zo();return this.Td}function Zb(){this.N.length=0;var b,m;b=0;for(m=this.Tc.length;b<m;b++)this.Tc[b]&&this.N.push(this.type.B[b]);this.Pl=!!this.N.length}function Tb(){return"Inst"+this.ll}
function Db(b){if(b&&b.sb&&b.type!=this){var m,g,k;m=0;for(g=b.siblings.length;m<g;m++)if(k=b.siblings[m],k.type==this)return k}b=this.T().rc();return b.length?b[0]:l}function Eb(b){var m=this.T().rc();return m.length?m[b.Ve()%m.length]:l}function Cb(){if(this.pd&&!this.H){var b,m;b=0;for(m=this.c.length;b<m;b++)this.c[b].Ye=b;this.pd=q}}function Fb(){return this.nd[this.Ec]}function Kb(){this.Ec++;this.Ec===this.nd.length?this.nd.push(new Za(this)):this.nd[this.Ec].V=f}
function Lb(){this.Ec++;this.Ec===this.nd.length&&this.nd.push(new Za(this));var b=this.nd[this.Ec],m=this.nd[this.Ec-1];m.V?b.V=f:(b.V=q,ra(b.c,m.c))}function Mb(){this.Ec--}function Nb(b){var m,g,k,c,p,a=0;if(!this.H){m=0;for(g=this.X.length;m<g;m++){p=this.X[m];k=0;for(c=p.la.length;k<c;k++){if(b===p.la[k].name)return this.ha.wk=a,p.la[k];a++}}}m=0;for(g=this.la.length;m<g;m++){if(b===this.la[m].name)return this.ha.wk=a,this.la[m];a++}return l}function Ob(b){return this.hg(b)?this.ha.wk:-1}
function Pb(b){var m,g;m=0;for(g=this.B.length;m<g;m++)if(this.B[m].name===b)return m;return-1}function Qb(){if(this.sb&&!this.H){var b,m,g,k,c,p,a;this.ah();p=this.T();var e=p.V,w=(b=this.b.$a())&&b.nb&&b.nb.tc;b=0;for(m=this.Ra.length;b<m;b++)if(c=this.Ra[b],c!==this&&(c.ah(),a=c.T(),a.V=e,!e)){a.c.length=p.c.length;g=0;for(k=p.c.length;g<k;g++)a.c[g]=c.c[p.c[g].Ye];if(w){a.W.length=p.W.length;g=0;for(k=p.W.length;g<k;g++)a.W[g]=c.c[p.W[g].Ye]}}}}function Rb(){return"Type"+this.I}
function $b(b,m,g){if("undefined"===typeof b||"undefined"===typeof g)return q;switch(m){case 0:return b===g;case 1:return b!==g;case 2:return b<g;case 3:return b<=g;case 4:return b>g;case 5:return b>=g;default:return q}}var zb={};function W(b){this.b=b}
(function(){function b(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function m(a){a=a.toLowerCase();return T.hasOwnProperty(a)&&T[a].length?T[a][0].pb():D.destination}function g(){return D.createGain?D.createGain():D.createGainNode()}function k(a){return D.createDelay?D.createDelay(a):D.createDelayNode(a)}function c(a){a.start?a.start(0):a.noteOn(0)}function p(a,c,b){a.start?a.start(0,c):a.noteGrainOn(0,c,b-c)}function a(a){a.stop?a.stop(0):a.noteOff(0)}function e(a,c,b,d,e,h){this.type=
"filter";this.Zb=[a,c,b,d,e,h];this.K=g();this.A=g();this.A.gain.value=h;this.u=g();this.u.gain.value=1-h;this.na=D.createBiquadFilter();this.na.type="number"===typeof this.na.type?a:cc[a];this.na.frequency.value=c;this.na.detune&&(this.na.detune.value=b);this.na.Q.value=d;this.na.gain.value=e;this.K.connect(this.na);this.K.connect(this.u);this.na.connect(this.A)}function w(a,c,b){this.type="delay";this.Zb=[a,c,b];this.K=g();this.A=g();this.A.gain.value=b;this.u=g();this.u.gain.value=1-b;this.pf=
g();this.zb=k(a);this.zb.delayTime.value=a;this.$f=g();this.$f.gain.value=c;this.K.connect(this.pf);this.K.connect(this.u);this.pf.connect(this.A);this.pf.connect(this.zb);this.zb.connect(this.$f);this.$f.connect(this.pf)}function d(a,c,b,d){this.type="convolve";this.Zb=[c,b,d];this.K=g();this.A=g();this.A.gain.value=b;this.u=g();this.u.gain.value=1-b;this.Cd=D.createConvolver();a&&(this.Cd.normalize=c,this.Cd.buffer=a);this.K.connect(this.Cd);this.K.connect(this.u);this.Cd.connect(this.A)}function h(a,
b,d,e,h){this.type="flanger";this.Zb=[a,b,d,e,h];this.K=g();this.u=g();this.u.gain.value=1-h/2;this.A=g();this.A.gain.value=h/2;this.fg=g();this.fg.gain.value=e;this.zb=k(a+b);this.zb.delayTime.value=a;this.Ba=D.createOscillator();this.Ba.frequency.value=d;this.ib=g();this.ib.gain.value=b;this.K.connect(this.zb);this.K.connect(this.u);this.zb.connect(this.A);this.zb.connect(this.fg);this.fg.connect(this.zb);this.Ba.connect(this.ib);this.ib.connect(this.zb.delayTime);c(this.Ba)}function n(a,b,d,e,
h,k){this.type="phaser";this.Zb=[a,b,d,e,h,k];this.K=g();this.u=g();this.u.gain.value=1-k/2;this.A=g();this.A.gain.value=k/2;this.na=D.createBiquadFilter();this.na.type="number"===typeof this.na.type?7:"allpass";this.na.frequency.value=a;this.na.detune&&(this.na.detune.value=b);this.na.Q.value=d;this.Ba=D.createOscillator();this.Ba.frequency.value=h;this.ib=g();this.ib.gain.value=e;this.K.connect(this.na);this.K.connect(this.u);this.na.connect(this.A);this.Ba.connect(this.ib);this.ib.connect(this.na.frequency);
c(this.Ba)}function s(a){this.type="gain";this.Zb=[a];this.M=g();this.M.gain.value=a}function y(a,b){this.type="tremolo";this.Zb=[a,b];this.M=g();this.M.gain.value=1-b/2;this.Ba=D.createOscillator();this.Ba.frequency.value=a;this.ib=g();this.ib.gain.value=b/2;this.Ba.connect(this.ib);this.ib.connect(this.M.gain);c(this.Ba)}function x(a,b){this.type="ringmod";this.Zb=[a,b];this.K=g();this.A=g();this.A.gain.value=b;this.u=g();this.u.gain.value=1-b;this.Af=g();this.Af.gain.value=0;this.Ba=D.createOscillator();
this.Ba.frequency.value=a;this.Ba.connect(this.Af.gain);c(this.Ba);this.K.connect(this.Af);this.K.connect(this.u);this.Af.connect(this.A)}function u(a,c,b,d,e){this.type="distortion";this.Zb=[a,c,b,d,e];this.K=g();this.Ng=g();this.Mg=g();this.Po(b,Math.pow(10,d/20));this.A=g();this.A.gain.value=e;this.u=g();this.u.gain.value=1-e;this.dh=D.createWaveShaper();this.Yf=new Float32Array(65536);this.un(a,c);this.dh.Yf=this.Yf;this.K.connect(this.Ng);this.K.connect(this.u);this.Ng.connect(this.dh);this.dh.connect(this.Mg);
this.Mg.connect(this.A)}function r(a,c,b,d,e){this.type="compressor";this.Zb=[a,c,b,d,e];this.M=D.createDynamicsCompressor();this.M.threshold.value=a;this.M.knee.value=c;this.M.ratio.value=b;this.M.attack.value=d;this.M.release.value=e}function E(a,c){this.type="analyser";this.Zb=[a,c];this.M=D.createAnalyser();this.M.fftSize=a;this.M.smoothingTimeConstant=c;this.sn=new Float32Array(this.M.frequencyBinCount);this.yl=new Uint8Array(a);this.Ho=this.vf=0}function F(){this.G=l;this.Dg=0;this.od=[];this.ni=
this.yg=this.xg=0}function G(a,c){this.src=a;this.Y=Q;this.gf=c;this.zj=q;var b=this;this.Mk=this.xi=l;this.te=[];this.Sg=0;this.Jg=q;Q===B&&(c&&!C.vg)&&(this.Y=R,this.xi=g());this.ea=l;var d;switch(this.Y){case R:this.ea=new Audio;Q===B&&this.ea.addEventListener("canplay",function(){b.Mk=D.createMediaElementSource(b.ea);b.Mk.connect(b.xi)});this.ea.autoplay=q;this.ea.Cq="auto";this.ea.src=a;break;case B:d=new XMLHttpRequest;d.open("GET",a,f);d.responseType="arraybuffer";d.onload=function(){if(D.decodeAudioData)D.decodeAudioData(d.response,
function(a){b.ea=a;var c,d,e;if(ca(b.Kg))ca(b.Wf)||(c=b.Wf.Cd,c.normalize=b.Pk,c.buffer=a);else if(b.te.length){c=0;for(d=b.te.length;c<d;c++){a=b.te[c];e=new J(b,a.El);e.Si(f);if("undefined"!==typeof a.Rk&&(a.G=C.kg(a.Rk),!a.G))continue;if(a.G){var h=Ia(a.G.x,a.G.y,a.G.g.ob(),Aa,Ba,f),g=Ia(a.G.x,a.G.y,a.G.g.ob(),Aa,Ba,q);e.Ri(h,g,ta(a.G.j+a.G.g.ob()),a.Oh,a.pi,a.si);e.Bf(a.G)}else e.Ri(a.x,a.y,a.mm,a.Oh,a.pi,a.si);e.play(b.ki,b.kj,b.Sg);b.Jg&&e.pause();S.push(e)}b.te.length=0}else e=new J(b,b.Kg),
e.play(b.ki,b.kj,b.Sg),b.Jg&&e.pause(),S.push(e)});else if(b.ea=D.createBuffer(d.response,q),ca(b.Kg)){if(!ca(b.Wf)){var a=b.Wf.Cd;a.normalize=b.Pk;a.buffer=b.ea}}else a=new J(b,b.Kg),a.play(b.ki,b.kj,b.Sg),b.Jg&&a.pause(),S.push(a)};d.send();break;case V:this.ea=f;break;case X:this.ea=f}}function J(a,c){var b=this;this.qd=c;this.fc=this.ad=f;this.src=a.src;this.buffer=a;this.Y=Q;this.gf=a.gf;this.playbackRate=1;this.Ai=f;this.bd=this.Nc=q;this.ac=0;this.ai=this.$h=this.Lc=q;this.qf=this.volume=1;
this.startTime=C.Fb.jb;this.ja=this.Ia=l;this.uc=q;this.ua=l;this.al=this.$k=this.Zk=this.Yk=this.cl=this.bl=0;this.i=l;var d=q;switch(this.Y){case R:this.gf?(this.i=a.ea,d=!a.zj,a.zj=f):(this.i=new Audio,this.i.autoplay=q,this.i.src=a.ea.src,d=f);d&&this.i.addEventListener("ended",function(){O=b.qd;b.fc=f;C.trigger(W.prototype.e.fh,H)});break;case B:this.Ia=g();this.Ia.connect(m(c));this.buffer.Y===B?a.ea&&(this.i=D.createBufferSource(),this.i.buffer=a.ea,this.i.connect(this.Ia)):(this.i=this.buffer.ea,
this.buffer.xi.connect(this.Ia));break;case V:this.i=new window.Media(L+this.src,l,l,function(a){a===window.Media.MEDIA_STOPPED&&(b.Ai=f,b.fc=f,O=b.qd,C.trigger(W.prototype.e.fh,H))});break;case X:this.i=f}}function aa(a,c){T.hasOwnProperty(a)?T[a].push(c):T[a]=[c];var b,d,e,h,g=D.destination;if(T.hasOwnProperty(a)&&(e=T[a],e.length)){g=e[0].pb();b=0;for(d=e.length;b<d;b++)h=e[b],b+1===d?h.wb(D.destination):h.wb(e[b+1].pb())}Ca.length=0;if(a.length){b=0;for(d=S.length;b<d;b++)e=S[b],a.toLowerCase()===
e.qd.toLowerCase()&&Ca.push(e)}else Da&&!Da.Xe()&&(Ca.length=1,Ca[0]=Da);b=0;for(d=Ca.length;b<d;b++)Ca[b].Eo(g);ya&&fb===a&&(ya.disconnect(),ya.connect(g))}function N(){}function K(){}var t=W.prototype;t.Pb=function(a){this.qa=a;this.b=a.b};t.Pb.prototype.va=ba();var C=l,H=l,O="",L="",R=0,B=1,V=2,X=3,Q=R,D=l,gb=[],S=[],Da=l,Va=q,Wa=0,Ea=q,pa=1,Aa=0,Ba=0,hb=1,ib=1,Gb=10,Hb=1E4,Ib=1,ya=l,fb="",T={},cc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");e.prototype.wb=function(a){this.A.disconnect();
this.A.connect(a);this.u.disconnect();this.u.connect(a)};e.prototype.remove=function(){this.K.disconnect();this.na.disconnect();this.A.disconnect();this.u.disconnect()};e.prototype.pb=v("K");w.prototype.wb=function(a){this.A.disconnect();this.A.connect(a);this.u.disconnect();this.u.connect(a)};w.prototype.remove=function(){this.K.disconnect();this.pf.disconnect();this.zb.disconnect();this.$f.disconnect();this.A.disconnect();this.u.disconnect()};w.prototype.pb=v("K");d.prototype.wb=function(a){this.A.disconnect();
this.A.connect(a);this.u.disconnect();this.u.connect(a)};d.prototype.remove=function(){this.K.disconnect();this.Cd.disconnect();this.A.disconnect();this.u.disconnect()};d.prototype.pb=v("K");h.prototype.wb=function(a){this.u.disconnect();this.u.connect(a);this.A.disconnect();this.A.connect(a)};h.prototype.remove=function(){this.K.disconnect();this.zb.disconnect();this.Ba.disconnect();this.ib.disconnect();this.u.disconnect();this.A.disconnect();this.fg.disconnect()};h.prototype.pb=v("K");n.prototype.wb=
function(a){this.u.disconnect();this.u.connect(a);this.A.disconnect();this.A.connect(a)};n.prototype.remove=function(){this.K.disconnect();this.na.disconnect();this.Ba.disconnect();this.ib.disconnect();this.u.disconnect();this.A.disconnect()};n.prototype.pb=v("K");s.prototype.wb=function(a){this.M.disconnect();this.M.connect(a)};s.prototype.remove=function(){this.M.disconnect()};s.prototype.pb=v("M");y.prototype.wb=function(a){this.M.disconnect();this.M.connect(a)};y.prototype.remove=function(){this.Ba.disconnect();
this.ib.disconnect();this.M.disconnect()};y.prototype.pb=v("M");x.prototype.wb=function(a){this.A.disconnect();this.A.connect(a);this.u.disconnect();this.u.connect(a)};x.prototype.remove=function(){this.Ba.disconnect();this.Af.disconnect();this.K.disconnect();this.A.disconnect();this.u.disconnect()};x.prototype.pb=v("K");u.prototype.Po=function(a,c){0.01>a&&(a=0.01);this.Ng.gain.value=a;this.Mg.gain.value=Math.pow(1/a,0.6)*c};u.prototype.shape=function(a,c,b){var d=1.05*b*c-c;b=0>a?-1:1;a=0>a?-a:
a;c=a<c?a:c+d*(1-Math.exp(-(1/d)*(a-c)));return c*b};u.prototype.un=function(a,c){for(var b=Math.pow(10,a/20),d=Math.pow(10,c/20),e=0,h=0;32768>h;++h)e=h/32768,e=this.shape(e,b,d),this.Yf[32768+h]=e,this.Yf[32768-h-1]=-e};u.prototype.wb=function(a){this.A.disconnect();this.A.connect(a);this.u.disconnect();this.u.connect(a)};u.prototype.remove=function(){this.K.disconnect();this.Ng.disconnect();this.dh.disconnect();this.Mg.disconnect();this.A.disconnect();this.u.disconnect()};u.prototype.pb=v("K");
r.prototype.wb=function(a){this.M.disconnect();this.M.connect(a)};r.prototype.remove=function(){this.M.disconnect()};r.prototype.pb=v("M");E.prototype.Ua=function(){this.M.getFloatFrequencyData(this.sn);this.M.getByteTimeDomainData(this.yl);for(var a=this.M.fftSize,c=0,d=this.vf=0,e=0;c<a;c++)e=(this.yl[c]-128)/128,0>e&&(e=-e),this.vf<e&&(this.vf=e),d+=e*e;this.vf=b(this.vf);this.Ho=b(Math.sqrt(d/a))};E.prototype.wb=function(a){this.M.disconnect();this.M.connect(a)};E.prototype.remove=function(){this.M.disconnect()};
E.prototype.pb=v("M");F.prototype.Bf=function(a){if(this.G=a)this.xg=this.G.x,this.yg=this.G.y;this.od.length=0};F.prototype.ng=function(){return!!this.G};F.prototype.Ua=function(a){this.G&&(this.ni=za(this.xg,this.yg,this.G.x,this.G.y),a=Ja(this.xg,this.yg,this.G.x,this.G.y)/a,4>this.od.length||this.od.shift(),this.od.push(a),this.xg=this.G.x,this.yg=this.G.y)};F.prototype.hk=function(){if(!this.od.length)return 0;var a,c,b=0;a=0;for(c=this.od.length;a<c;a++)b+=this.od[a];return b/this.od.length};
F.prototype.jk=function(){return Math.cos(this.ni)*this.hk()};F.prototype.kk=function(){return Math.sin(this.ni)*this.hk()};var Jb=q;J.prototype.Xe=function(){switch(this.Y){case R:return this.i.ended;case B:return this.buffer.Y===B?!this.ad&&!this.fc&&this.i.loop||this.bd?q:C.Fb.jb-this.startTime>this.buffer.ea.duration:this.i.ended;case V:return this.Ai;case X:f}return f};J.prototype.zm=function(){return this.ad||this.fc?f:this.Xe()};J.prototype.Si=function(a){Q===B&&(!this.uc&&a?(this.ja||(this.ja=
D.createPanner(),this.ja.panningModel="number"===typeof this.ja.panningModel?hb:["equalpower","HRTF","soundfield"][hb],this.ja.distanceModel="number"===typeof this.ja.distanceModel?ib:["linear","inverse","exponential"][ib],this.ja.refDistance=Gb,this.ja.maxDistance=Hb,this.ja.rolloffFactor=Ib),this.Ia.disconnect(),this.Ia.connect(this.ja),this.ja.connect(m(this.qd)),this.uc=f):this.uc&&!a&&(this.ja.disconnect(),this.Ia.disconnect(),this.Ia.connect(m(this.qd)),this.uc=q))};J.prototype.Ri=function(a,
c,b,d,e,h){this.uc&&Q===B&&(this.ja.setPosition(a,c,0),this.ja.setOrientation(Math.cos(P(b)),Math.sin(P(b)),0),this.ja.coneInnerAngle=d,this.ja.coneOuterAngle=e,this.ja.coneOuterGain=h,this.bl=a,this.cl=c,this.Yk=b,this.Zk=d,this.$k=e,this.al=h)};J.prototype.Bf=function(a){this.uc&&Q===B&&(this.ua||(this.ua=new F),this.ua.Bf(a))};J.prototype.Ua=function(a){if(this.uc&&!(Q!==B||!this.ua||!this.ua.ng()||!this.ee())){this.ua.Ua(a);a=this.ua.G;var c=Ia(a.x,a.y,a.g.ob(),Aa,Ba,f),b=Ia(a.x,a.y,a.g.ob(),
Aa,Ba,q);this.ja.setPosition(c,b,0);c=0;"undefined"!==typeof this.ua.G.j&&(c=a.j+a.g.ob(),this.ja.setOrientation(Math.cos(c),Math.sin(c),0));this.ja.setVelocity(this.ua.jk(),this.ua.kk(),0)}};J.prototype.play=function(a,b,d){var e=this.i;this.Lc=a;this.volume=b;d=d||0;switch(this.Y){case R:1!==e.playbackRate&&(e.playbackRate=1);e.volume!==b*pa&&(e.volume=b*pa);e.loop!==a&&(e.loop=a);e.muted&&(e.muted=q);if(e.currentTime!==d)try{e.currentTime=d}catch(h){}this.i.play();break;case B:this.muted=q;this.qf=
1;if(this.buffer.Y===B)this.ad||(this.i=D.createBufferSource(),this.i.buffer=this.buffer.ea,this.i.connect(this.Ia)),this.i.loop=a,this.Ia.gain.value=b*pa,0===d?c(this.i):p(this.i,d,this.$d());else{1!==e.playbackRate&&(e.playbackRate=1);e.loop!==a&&(e.loop=a);this.Ia.gain.value=b*pa;if(e.currentTime!==d)try{e.currentTime=d}catch(g){}e.play()}break;case V:(!this.ad&&this.fc||0!==d)&&e.seekTo(d);e.play();this.Ai=q;break;case X:C.Eb?AppMobi.context.playSound(this.src):AppMobi.player.playSound(this.src)}this.playbackRate=
1;this.startTime=C.Fb.jb-d;this.bd=this.fc=this.ad=q};J.prototype.stop=function(){switch(this.Y){case R:this.i.paused||this.i.pause();break;case B:this.buffer.Y===B?a(this.i):this.i.paused||this.i.pause();break;case V:this.i.stop()}this.fc=f;this.bd=q};J.prototype.pause=function(){if(!this.ad&&!this.fc&&!this.Xe()&&!this.bd){switch(this.Y){case R:this.i.paused||this.i.pause();break;case B:this.buffer.Y===B?(this.ac=this.Kh(),this.Lc&&(this.ac%=this.$d()),a(this.i)):this.i.paused||this.i.pause();break;
case V:this.i.pause()}this.bd=f}};J.prototype.Eo=function(a){this.Y===B&&(this.uc?(this.ja.disconnect(),this.ja.connect(a)):(this.Ia.disconnect(),this.Ia.connect(a)))};J.prototype.$d=function(){switch(this.Y){case R:if("undefined"!==typeof this.i.duration)return this.i.duration;break;case B:return this.buffer.ea.duration;case V:return this.i.getDuration()}return 0};J.prototype.Kh=function(){var a=this.$d(),c=0;switch(this.Y){case R:"undefined"!==typeof this.i.currentTime&&(c=this.i.currentTime);break;
case B:if(this.buffer.Y===B){if(this.bd)return this.ac;c=C.Fb.jb-this.startTime}else"undefined"!==typeof this.i.currentTime&&(c=this.i.currentTime)}!this.Lc&&c>a&&(c=a);return c};J.prototype.ee=function(){return!this.bd&&!this.ad&&!this.fc&&!this.Xe()};J.prototype.Yo=function(){var a=this.volume*pa;switch(this.Y){case R:this.i.volume&&this.i.volume!==a&&(this.i.volume=a);break;case B:this.Ia.gain.value=a*this.qf}};J.prototype.Tj=function(a){switch(this.Y){case R:this.i.muted!==!!a&&(this.i.muted=
!!a);break;case B:this.qf=a?0:1,this.Ia.gain.value=pa*this.volume*this.qf}};J.prototype.ul=function(a){this.ai=!!a;this.Tj(this.$h||this.ai)};J.prototype.Ol=function(){var a=this.playbackRate;if(1===Wa&&!this.gf||2===Wa)a*=C.Rd;switch(this.Y){case R:this.i.playbackRate!==a&&(this.i.playbackRate=a);break;case B:this.buffer.Y===B?this.i.playbackRate.value!==a&&(this.i.playbackRate.value=a):this.i.playbackRate!==a&&(this.i.playbackRate=a)}};J.prototype.Qo=function(c){switch(this.Y){case R:c?this.ee()?
(this.i.pause(),this.Nc=f):this.Nc=q:this.Nc&&this.i.play();break;case B:c?this.ee()?(this.buffer.Y===B?(this.ac=this.Kh(),this.Lc&&(this.ac%=this.$d()),a(this.i)):this.i.pause(),this.Nc=f):this.Nc=q:this.Nc&&(this.buffer.Y===B?(this.i=D.createBufferSource(),this.i.buffer=this.buffer.ea,this.i.connect(this.Ia),this.i.loop=this.Lc,this.Ia.gain.value=pa*this.volume*this.qf,this.startTime=C.Fb.jb-this.ac,p(this.i,this.ac,this.$d())):this.i.play());break;case V:c?this.ee()?(this.i.pause(),this.Nc=f):
this.Nc=q:this.Nc&&this.i.play()}};t.Wa=function(a){this.type=a;C=this.b=a.b;H=this;this.La=l;this.nf=-600;D=l;"undefined"!==typeof AudioContext?(Q=B,D=new AudioContext):"undefined"!==typeof webkitAudioContext&&(Q=B,D=new webkitAudioContext);this.b.vg&&Q===B&&document.addEventListener("touchstart",function(){if(!Jb){var a=D.createBuffer(1,1,22050),b=D.createBufferSource();b.buffer=a;b.connect(D.destination);c(b);Jb=f}},f);Q!==B&&(this.b.Ld?Q=V:this.b.be&&(Q=X));Q===V&&(L=location.href,a=L.lastIndexOf("/"),
-1<a&&(L=L.substr(0,a+1)),L=L.replace("file://",""));if(this.b.bo&&this.b.tk&&"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.wd(this);else{if(this.b.Eb)Va=this.b.Uh;else try{Va=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(b){Va=q}this.b.bj(this)}};var qa=t.Wa.prototype;qa.va=function(){Wa=this.Ea[0];hb=this.Ea[1];ib=this.Ea[2];this.nf=-this.Ea[3];Gb=this.Ea[4];Hb=this.Ea[5];
Ib=this.Ea[6];this.La=new F;Q===B&&(D.listener.speedOfSound=this.Ea[7],D.listener.dopplerFactor=this.Ea[8],D.listener.setPosition(this.b.width/2,this.b.height/2,this.nf),D.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,c){ya&&ya.disconnect();fb=c.toLowerCase();ya=D.createMediaStreamSource(a);ya.connect(m(fb))});this.b.yj(function(a){H.vo(a)});var a=this;this.b.qm(function(c){a.oo(c)})};qa.oo=function(a){var c,b,d;c=0;for(b=S.length;c<b;c++)d=S[c],d.ua&&d.ua.G===a&&(d.ua.G=
l,d.uc&&(d.ee()&&d.Lc)&&d.stop());this.La.G===a&&(this.La.G=l)};qa.cc=function(){var a={silent:Ea,masterVolume:pa,listenerZ:this.nf,listenerUid:this.La.ng()?this.La.G.uid:-1,playing:[],effects:{}},c=a.playing,b,d,e,h,g,k;b=0;for(d=S.length;b<d;b++)e=S[b],e.ee()&&(h=e.Kh(),e.Lc&&(h%=e.$d()),h={tag:e.qd,buffersrc:e.buffer.src,is_music:e.gf,playbackTime:h,volume:e.volume,looping:e.Lc,muted:e.$h,playbackRate:e.playbackRate,paused:e.bd,resume_position:e.ac},e.uc&&(h.pan={},k=h.pan,e.ua&&e.ua.ng()?k.objUid=
e.ua.G.uid:(k.x=e.bl,k.y=e.cl,k.a=e.Yk),k.ia=e.Zk,k.oa=e.$k,k.og=e.al),c.push(h));c=a.effects;for(g in T)if(T.hasOwnProperty(g)){e=[];b=0;for(d=T[g].length;b<d;b++)e.push({type:T[g][b].type,params:T[g][b].Zb});c[g]=e}return a};var La=[];qa.Kc=function(a){var c=a.silent;pa=a.masterVolume;this.nf=a.listenerZ;this.La.Bf(l);var b=a.listenerUid;-1!==b&&(this.La.Dg=b,La.push(this.La));var b=a.playing,g,k,m,p,t,J,B,C,G,A,D;g=0;for(k=S.length;g<k;g++)S[g].stop();for(t in T)if(T.hasOwnProperty(t)){g=0;for(k=
T[t].length;g<k;g++)T[t][g].remove()}Na(T);for(t in a.effects)if(a.effects.hasOwnProperty(t)){J=a.effects[t];g=0;for(k=J.length;g<k;g++)switch(m=J[g].type,A=J[g].params,m){case "filter":aa(t,new e(A[0],A[1],A[2],A[3],A[4],A[5]));break;case "delay":aa(t,new w(A[0],A[1],A[2]));break;case "convolve":m=A[2];p=this.Eh(m,q);p.ea?m=new d(p.ea,A[0],A[1],m):(m=new d(l,A[0],A[1],m),p.Pk=A[0],p.Wf=m);aa(t,m);break;case "flanger":aa(t,new h(A[0],A[1],A[2],A[3],A[4]));break;case "phaser":aa(t,new n(A[0],A[1],
A[2],A[3],A[4],A[5]));break;case "gain":aa(t,new s(A[0]));break;case "tremolo":aa(t,new y(A[0],A[1]));break;case "ringmod":aa(t,new x(A[0],A[1]));break;case "distortion":aa(t,new u(A[0],A[1],A[2],A[3],A[4]));break;case "compressor":aa(t,new r(A[0],A[1],A[2],A[3],A[4]));break;case "analyser":aa(t,new E(A[0],A[1]))}}g=0;for(k=b.length;g<k;g++)a=b[g],m=a.buffersrc,p=a.is_music,t=a.tag,J=a.playbackTime,B=a.looping,C=a.volume,D=(A=a.pan)&&A.hasOwnProperty("objUid")?A.objUid:-1,(G=this.ck(m,t,p,B,C))?(G.ac=
a.resume_position,G.Si(!!A),G.play(B,C,J),G.Ol(),G.Yo(),G.Tj(G.$h||G.ai),a.paused&&G.pause(),a.muted&&G.zq(),A&&(-1!==D?(G.ua=G.ua||new F,G.ua.Dg=D,La.push(G.ua)):G.Ri(A.x,A.y,A.a,A.ia,A.oa,A.og))):(p=this.Eh(m,p),p.Sg=J,p.Jg=a.paused,A&&(-1!==D?p.te.push({Rk:D,Oh:A.ia,pi:A.oa,si:A.og,El:t}):p.te.push({x:A.x,y:A.y,mm:A.a,Oh:A.ia,pi:A.oa,si:A.og,El:t})));if(c&&!Ea){g=0;for(k=S.length;g<k;g++)S[g].ul(f);Ea=f}else if(!c&&Ea){g=0;for(k=S.length;g<k;g++)S[g].ul(q);Ea=q}};qa.Rf=function(){var a,c,b,d;a=
0;for(c=La.length;a<c;a++)b=La[a],d=this.b.kg(b.Dg),b.Bf(d),b.Dg=-1,d&&(Aa=d.x,Ba=d.y);La.length=0};qa.vo=function(a){var c,b;c=0;for(b=S.length;c<b;c++)S[c].Qo(a)};qa.Ua=function(){var a=this.b.Fd,c,b,d;c=0;for(b=S.length;c<b;c++)d=S[c],d.Ua(a),d.Y!==R&&d.Y!==X&&(!d.ad&&!d.fc&&d.Xe())&&(d.fc=f,O=d.qd,C.trigger(W.prototype.e.fh,H)),0!==Wa&&d.Ol();var e,h;for(e in T)if(T.hasOwnProperty(e)){d=T[e];c=0;for(b=d.length;c<b;c++)h=d[c],h.Ua&&h.Ua()}Q===B&&this.La.ng()&&(this.La.Ua(a),Aa=this.La.G.x,Ba=this.La.G.y,
D.listener.setPosition(this.La.G.x,this.La.G.y,this.nf),D.listener.setVelocity(this.La.jk(),this.La.kk(),0))};qa.Eh=function(a,c){var b,d,e;b=0;for(d=gb.length;b<d;b++)if(e=gb[b],e.src===a)return e;e=new G(a,c);gb.push(e);return e};qa.ck=function(a,c,b,d,e){var h,g,k;h=0;for(g=S.length;h<g;h++)if(k=S[h],k.src===a&&(k.zm()||b))return k.qd=c,k;a=this.Eh(a,b);if(!a.ea)return"<preload>"!==c&&(a.Kg=c,a.ki=d,a.kj=e),l;k=new J(a,c);S.push(k);return k};var Ca=[];N.prototype.fh=function(a){return O.toLowerCase()===
a.toLowerCase()};t.e=new N;K.prototype.Play=function(a,c,b,d){if(!Ea&&(b=Math.pow(10,b/20),0>b&&(b=0),1<b&&(b=1),Da=this.ck(this.b.Zj+a[0]+(Va?".ogg":".m4a"),d,a[1],0!==c,b)))Da.Si(q),Da.play(0!==c,b)};K.prototype.Fe=function(){var a,c;a=0;for(c=S.length;a<c;a++)S[a].stop()};t.d=new K;t.Ab=new (ba())})();function ac(b){this.b=b}
(function(){function b(){}var m=ac.prototype;m.Pb=function(b){this.qa=b;this.b=b.b};m.Pb.prototype.va=ba();m.Wa=function(b){this.type=b;this.b=b.b};m.Wa.prototype.va=function(){var b=this;window.addEventListener("resize",function(){b.b.trigger(ac.prototype.e.fm,b)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){b.b.trigger(ac.prototype.e.am,b)}),window.addEventListener("offline",function(){b.b.trigger(ac.prototype.e.$l,b)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){b.b.je=1;b.b.trigger(ac.prototype.e.sj,b)}),window.applicationCache.addEventListener("progress",function(k){b.b.je=k.loaded/k.total}));this.b.Eb||(document.addEventListener("appMobi.device.update.available",function(){b.b.trigger(ac.prototype.e.sj,b)}),document.addEventListener("menubutton",function(){b.b.trigger(ac.prototype.e.Zl,b)}),document.addEventListener("searchbutton",function(){b.b.trigger(ac.prototype.e.gm,b)}));this.b.yj(function(k){k?
b.b.trigger(ac.prototype.e.cm,b):b.b.trigger(ac.prototype.e.dm,b)});this.tq="undefined"!==typeof window.is_scirra_arcade;this.nq=""};b.prototype.am=z(f);b.prototype.$l=z(f);b.prototype.sj=z(f);b.prototype.dm=z(f);b.prototype.cm=z(f);b.prototype.fm=z(f);b.prototype.Zl=z(f);b.prototype.gm=z(f);m.e=new b;m.d=new (ba());m.Ab=new (ba())})();function Y(b){this.b=b}
(function(){function b(){if(0===this.th.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var c=a.getContext("2d");this.xe?c.drawImage(this.Oa,this.re,this.se,this.width,this.height,0,0,this.width,this.height):c.drawImage(this.Oa,0,0,this.width,this.height);this.th=a.toDataURL("image/png")}return this.th}function m(){}function g(){}var k=Y.prototype;k.Pb=function(a){this.qa=a;this.b=a.b};var c=k.Pb.prototype;c.va=function(){if(!this.H){var a,c,e,g,k,m,p,r,w;this.Rb=
[];this.pg=q;a=0;for(c=this.Ya.length;a<c;a++){k=this.Ya[a];p={};p.name=k[0];p.speed=k[1];p.loop=k[2];p.Li=k[3];p.Qg=k[4];p.dl=k[5];p.I=k[6];p.frames=[];e=0;for(g=k[7].length;e<g;e++)m=k[7][e],r={},r.Cl=m[0],r.Dl=m[1],r.re=m[2],r.se=m[3],r.width=m[4],r.height=m[5],r.duration=m[6],r.bb=m[7],r.cb=m[8],r.Ph=m[9],r.Lg=m[10],r.el=m[11],r.xe=0!==r.width,r.th="",r.qq=b,w={left:0,top:0,right:1,bottom:1},r.Wi=w,r.vd=l,(w=this.b.rn(m[0]))?r.Oa=w:(r.Oa=new Image,r.Oa.src=m[0],r.Oa.Cm=m[0],r.Oa.Bm=m[1],r.Oa.xm=
l,this.b.ud.push(r.Oa)),p.frames.push(r),this.Rb.push(r);this.Ya[a]=p}}};c.Xo=function(){var a,c,b;a=0;for(c=this.c.length;a<c;a++)b=this.c[a],b.Xf=b.xb.vd};c.Sk=function(){if(!this.H){var a,c,b;a=0;for(c=this.Rb.length;a<c;++a)b=this.Rb[a],b.Oa.xm=l,b.vd=l}};c.Uk=function(){if(!this.H&&this.c.length){var a,c,b;a=0;for(c=this.Rb.length;a<c;++a)b=this.Rb[a],b.vd=this.b.F.Hk(b.Oa,this.b.ta,b.el);this.Xo()}};c.ko=function(){if(!this.H&&!this.pg&&this.b.F){var a,c,b;a=0;for(c=this.Rb.length;a<c;++a)b=
this.Rb[a],b.vd=this.b.F.Hk(b.Oa,this.b.ta,b.el);this.pg=f}};c.Ml=function(){if(!this.H&&!this.c.length&&this.pg){var a,c,b;a=0;for(c=this.Rb.length;a<c;++a)b=this.Rb[a],this.b.F.deleteTexture(b.vd);this.pg=q}};var p=[];c.hl=function(a){var c,b,e;c=p.length=0;for(b=this.Rb.length;c<b;++c)e=this.Rb[c].Oa,-1===p.indexOf(e)&&(a.drawImage(e,0,0),p.push(e))};k.Wa=function(a){this.type=a;this.b=a.b;a=this.type.Ya[0].frames[0].Lg;this.Mc?this.lc.Df(a):this.lc=new Sa(a)};var a=k.Wa.prototype;a.va=function(){this.visible=
0===this.Ea[0];this.Qh=this.Yh=q;this.Le=0!==this.Ea[3];!(1===this.type.Ya.length&&1===this.type.Ya[0].frames.length)&&0!==this.type.Ya[0].speed&&(this.b.bj(this),this.Yh=f);this.fa=this.bk(this.Ea[1])||this.type.Ya[0];this.m=this.Ea[2];0>this.m&&(this.m=0);this.m>=this.fa.frames.length&&(this.m=this.fa.frames.length-1);var a=this.fa.frames[this.m];this.lc.Df(a.Lg);this.bb=a.bb;this.cb=a.cb;this.Ne=this.fa.speed;this.Fc=this.jg();this.zd=f;this.Bc=0;this.yd=f;this.mh=this.Aj="";this.Am=0;this.Vf=
-1;this.type.ko();var c,b,e,g,k,m,p,a=0;for(c=this.type.Ya.length;a<c;a++){g=this.type.Ya[a];b=0;for(e=g.frames.length;b<e;b++)k=g.frames[b],0===k.width&&(k.width=k.Oa.width,k.height=k.Oa.height),k.xe&&(p=k.Oa,m=k.Wi,m.left=k.re/p.width,m.top=k.se/p.height,m.right=(k.re+k.width)/p.width,m.bottom=(k.se+k.height)/p.height,0===k.re&&(0===k.se&&k.width===p.width&&k.height===p.height)&&(k.xe=q))}this.xb=this.fa.frames[this.m];this.Xf=this.xb.vd};a.cc=function(){var a={a:this.fa.I,f:this.m,cas:this.Ne,
fs:this.Fc,ar:this.Bc};this.zd||(a.ap=this.zd);this.yd||(a.af=this.yd);return a};a.Kc=function(a){var c=this.vn(a.a);c&&(this.fa=c);this.m=a.f;0>this.m&&(this.m=0);this.m>=this.fa.frames.length&&(this.m=this.fa.frames.length-1);this.Ne=a.cas;this.Fc=a.fs;this.Bc=a.ar;this.zd=a.hasOwnProperty("ap")?a.ap:f;this.yd=a.hasOwnProperty("af")?a.af:f;this.xb=this.fa.frames[this.m];this.Xf=this.xb.vd;this.lc.Df(this.xb.Lg);this.bb=this.xb.bb;this.cb=this.xb.cb};a.jh=function(a){this.m=a?0:this.fa.frames.length-
1;this.zd=q;this.Aj=this.fa.name;this.Qh=f;this.b.trigger(Y.prototype.e.Ul,this);this.b.trigger(Y.prototype.e.Tl,this);this.Qh=q;this.Bc=0};a.jg=function(){return(Date.now()-this.b.Ff)/1E3};a.Ua=function(){this.mh.length&&this.Fm();0<=this.Vf&&this.Rj();var a=this.jg(),c=this.fa,b=c.frames[this.m],e=b.duration/this.Ne,g=this.b.Rd;-1!==this.Nd&&(g=this.Nd);e/=0===g?1E-9:g;if(this.zd&&a>=this.Fc+e){this.yd?this.m++:this.m--;this.Fc+=e;this.m>=c.frames.length&&(c.dl?(this.yd=q,this.m=c.frames.length-
2):c.loop?this.m=c.Qg:(this.Bc++,this.Bc>=c.Li?this.jh(q):this.m=c.Qg));0>this.m&&(c.dl?(this.m=1,this.yd=f,c.loop||(this.Bc++,this.Bc>=c.Li&&this.jh(f))):c.loop?this.m=c.Qg:(this.Bc++,this.Bc>=c.Li?this.jh(f):this.m=c.Qg));0>this.m?this.m=0:this.m>=c.frames.length&&(this.m=c.frames.length-1);if(a>this.Fc+c.frames[this.m].duration/this.Ne/(0===g?1E-9:g))this.Fc=a;a=c.frames[this.m];this.Ee(b,a);this.b.Z=f}};a.bk=function(a){var c,b,e=a.toLowerCase();a=0;for(c=this.type.Ya.length;a<c;a++)if(b=this.type.Ya[a],
b.name.toLowerCase()===e)return b;return l};a.vn=function(a){var c,b,e;c=0;for(b=this.type.Ya.length;c<b;c++)if(e=this.type.Ya[c],e.I===a)return e;return l};a.Fm=function(){var a=this.fa.frames[this.m],c=this.bk(this.mh);this.mh="";c&&!(c.name.toLowerCase()===this.fa.name.toLowerCase()&&this.zd)&&(this.fa=c,this.Ne=c.speed,0>this.m&&(this.m=0),this.m>=this.fa.frames.length&&(this.m=this.fa.frames.length-1),1===this.Am&&(this.m=0),this.zd=f,this.Fc=this.jg(),this.yd=f,this.Ee(a,this.fa.frames[this.m]),
this.b.Z=f)};a.Rj=function(){var a=this.fa.frames[this.m],c=this.m;this.m=ja(this.Vf);0>this.m&&(this.m=0);this.m>=this.fa.frames.length&&(this.m=this.fa.frames.length-1);c!==this.m&&(this.Ee(a,this.fa.frames[this.m]),this.Fc=this.jg(),this.b.Z=f);this.Vf=-1};a.Ee=function(a,c){var b=a.width,e=a.height,g=c.width,k=c.height;b!=g&&(this.width*=g/b);e!=k&&(this.height*=k/e);this.bb=c.bb;this.cb=c.cb;this.lc.Df(c.Lg);this.Ja();this.xb=c;this.Xf=c.vd;b=0;for(e=this.J.length;b<e;b++)g=this.J[b],g.uo&&g.uo(a,
c);this.b.trigger(Y.prototype.e.Ee,this)};a.Ed=function(a){a.globalAlpha=this.opacity;var c=this.xb,b=c.xe,e=c.Oa,g=this.x,k=this.y,m=this.width,p=this.height;if(0===this.j&&0<=m&&0<=p)g-=this.bb*m,k-=this.cb*p,this.b.ue&&(g=g+0.5|0,k=k+0.5|0),b?a.drawImage(e,c.re,c.se,c.width,c.height,g,k,m,p):a.drawImage(e,g,k,m,p);else{this.b.ue&&(g=g+0.5|0,k=k+0.5|0);a.save();var w=0<m?1:-1,F=0<p?1:-1;a.translate(g,k);(1!==w||1!==F)&&a.scale(w,F);a.rotate(this.j*w*F);g=0-this.bb*fa(m);k=0-this.cb*fa(p);b?a.drawImage(e,
c.re,c.se,c.width,c.height,g,k,fa(m),fa(p)):a.drawImage(e,g,k,fa(m),fa(p));a.restore()}};a.oc=function(a){a.ec(this.Xf);a.Cf(this.opacity);var c=this.xb,b=this.Bd;if(this.b.ue){var e=(this.x+0.5|0)-this.x,g=(this.y+0.5|0)-this.y;c.xe?a.Pd(b.kb+e,b.lb+g,b.gc+e,b.hc+g,b.Ub+e,b.Vb+g,b.Sb+e,b.Tb+g,c.Wi):a.Pg(b.kb+e,b.lb+g,b.gc+e,b.hc+g,b.Ub+e,b.Vb+g,b.Sb+e,b.Tb+g)}else c.xe?a.Pd(b.kb,b.lb,b.gc,b.hc,b.Ub,b.Vb,b.Sb,b.Tb,c.Wi):a.Pg(b.kb,b.lb,b.gc,b.hc,b.Ub,b.Vb,b.Sb,b.Tb)};a.Bn=function(a){var c=this.xb,
b,e;b=0;for(e=c.Ph.length;b<e;b++)if(a.toLowerCase()===c.Ph[b][0].toLowerCase())return b;return-1};a.Ih=function(a,c){var b=this.xb,e=b.Ph,g;g=M(a)?this.Bn(a):a-1;g=ja(g);if(0>g||g>=e.length)return c?this.x:this.y;var k=(e[g][1]-b.bb)*this.width,e=e[g][2],e=(e-b.cb)*this.height,b=Math.cos(this.j);g=Math.sin(this.j);var m=k*b-e*g,e=e*b+k*g,k=m+this.x,e=e+this.y;return c?k:e};var e=new Pa,w=q;c.finish=function(a){if(w){if(a){var c=this.b.$a().nb.tc;a=l.T();var b=e.Kf(),g,k;if(a.V){a.V=q;a.c.length=
b.length;g=0;for(k=b.length;g<k;g++)a.c[g]=b[g];if(c){g=a.W.length=0;for(k=l.c.length;g<k;g++)c=l.c[g],e.contains(c)||a.W.push(c)}}else{var m=a.c.length;a.c.length=m+b.length;g=0;for(k=b.length;g<k;g++)a.c[m+g]=b[g],c&&sa(a.W,b[g])}l.Ge()}e.clear();w=q}};m.prototype.Tl=function(a){return this.Aj.toLowerCase()===a.toLowerCase()};m.prototype.Ul=z(f);m.prototype.Ee=z(f);k.e=new m;g.prototype.aa=function(a){this.Vf=a;this.Yh||(this.b.bj(this),this.Yh=f);this.Qh||this.Rj()};g.prototype.Pf=function(a){this.Le=
0!==a};k.d=new g;k.Ab=new (ba())})();function Z(b){this.b=b}
(function(){function b(a){e=a.x;w=a.y;d=a.Rl}function m(a){h=a.x;n=a.y;s=a.Rl}function g(){}function k(){}var c=Z.prototype;c.Pb=function(a){this.qa=a;this.b=a.b};c.Pb.prototype.va=ba();c.Wa=function(a){this.type=a;this.b=a.b;this.touches=[];this.mi=q};var p=c.Wa.prototype,a={left:0,top:0};p.Qe=function(a){var c,b;c=0;for(b=this.touches.length;c<b;c++)if(this.touches[c].id===a)return c;return-1};var e=0,w=0,d=0,h=0,n=0,s=0;p.va=function(){this.co=!!("undefined"!==typeof window.c2isWindows8&&window.c2isWindows8);
this.Zg=this.sd=this.rh=this.qh=this.wj=this.vj=this.uj=this.pm=this.om=this.nm=this.uf=this.tf=this.sf=0;this.bp=0!==this.Ea[0];var a=0<this.b.Bb?document:this.b.canvas,c=document;this.b.Eb?c=a=window.Canvas:this.b.rb&&(c=a=window);var d=this;window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){d.to(a)},q),a.addEventListener("MSPointerMove",function(a){d.so(a)},q),c.addEventListener("MSPointerUp",function(a){d.Tk(a)},q),c.addEventListener("MSPointerCancel",function(a){d.Tk(a)},
q),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},q),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},q))):(a.addEventListener("touchstart",function(a){d.Wk(a)},q),a.addEventListener("touchmove",function(a){d.Vk(a)},q),c.addEventListener("touchend",function(a){d.wi(a)},q),c.addEventListener("touchcancel",function(a){d.wi(a)},q));if(this.co){var e=function(a){a=a.reading;d.uj=a.accelerationX;d.vj=a.accelerationY;d.wj=a.accelerationZ},
g=function(a){a=a.reading;d.sf=a.yawDegrees;d.tf=a.pitchDegrees;d.uf=a.rollDegrees},h=Windows.Devices.Sensors.Accelerometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",e));var k=Windows.Devices.Sensors.Inclinometer.getDefault();k&&(k.reportInterval=Math.max(k.minimumReportInterval,16),k.addEventListener("readingchanged",g));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(h&&h.removeEventListener("readingchanged",
e),k&&k.removeEventListener("readingchanged",g)):(h&&h.addEventListener("readingchanged",e),k&&k.addEventListener("readingchanged",g))},q)}else window.addEventListener("deviceorientation",function(a){d.sf=a.alpha||0;d.tf=a.beta||0;d.uf=a.gamma||0},q),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(d.nm=a.accelerationIncludingGravity.x,d.om=a.accelerationIncludingGravity.y,d.pm=a.accelerationIncludingGravity.z);a.acceleration&&(d.uj=a.acceleration.x,d.vj=a.acceleration.y,
d.wj=a.acceleration.z)},q);this.bp&&!this.b.eb&&(jQuery(document).mousemove(function(a){d.qo(a)}),jQuery(document).mousedown(function(a){d.po(a)}),jQuery(document).mouseup(function(a){d.ro(a)}));this.b.be&&!this.b.Eb&&AppMobi.accelerometer.watchAcceleration(b,{frequency:40,adjustForRotation:f});this.b.Ld&&navigator.accelerometer.watchAcceleration(m,l,{frequency:40});this.b.Wo(this)};p.so=function(c){if(c.pointerType!==c.MSPOINTER_TYPE_MOUSE){c.preventDefault&&c.preventDefault();var b=this.Qe(c.pointerId),
d=Oa();if(0<=b){var e=this.b.eb?a:jQuery(this.b.canvas).offset(),b=this.touches[b];2>d-b.time||(b.Ag=b.time,b.bi=b.x,b.ci=b.y,b.time=d,b.x=c.pageX-e.left,b.y=c.pageY-e.top)}}};p.to=function(c){if(c.pointerType!==c.MSPOINTER_TYPE_MOUSE){c.preventDefault&&c.preventDefault();var b=this.b.eb?a:jQuery(this.b.canvas).offset(),d=c.pageX-b.left,b=c.pageY-b.top,e=Oa();this.sd=this.touches.length;this.Zg=c.pointerId;this.touches.push({time:e,x:d,y:b,Ag:e,bi:d,ci:b,id:c.pointerId,Zi:this.sd});this.b.trigger(Z.prototype.e.pj,
this);this.b.trigger(Z.prototype.e.rj,this);this.qh=d;this.rh=b;this.b.trigger(Z.prototype.e.R,this)}};p.Tk=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.Qe(a.pointerId),this.sd=0<=a?this.touches[a].Zi:-1,this.Zg=0<=a?this.touches[a].id:-1,this.b.trigger(Z.prototype.e.oj,this),this.b.trigger(Z.prototype.e.qj,this),0<=a&&this.touches.splice(a,1))};p.Vk=function(c){c.preventDefault&&c.preventDefault();var b=Oa(),d,e,g,h;d=0;for(e=c.changedTouches.length;d<
e;d++)if(g=c.changedTouches[d],h=this.Qe(g.identifier),0<=h){var k=this.b.eb?a:jQuery(this.b.canvas).offset();h=this.touches[h];2>b-h.time||(h.Ag=h.time,h.bi=h.x,h.ci=h.y,h.time=b,h.x=g.pageX-k.left,h.y=g.pageY-k.top)}};p.Wk=function(c){c.preventDefault&&c.preventDefault();var b=this.b.eb?a:jQuery(this.b.canvas).offset(),d=Oa(),e,g,h,k;e=0;for(g=c.changedTouches.length;e<g;e++)if(h=c.changedTouches[e],k=this.Qe(h.identifier),-1===k){k=h.pageX-b.left;var m=h.pageY-b.top;this.sd=this.touches.length;
this.Zg=h.identifier;this.touches.push({time:d,x:k,y:m,Ag:d,bi:k,ci:m,id:h.identifier,Zi:this.sd});this.b.trigger(Z.prototype.e.pj,this);this.b.trigger(Z.prototype.e.rj,this);this.qh=k;this.rh=m;this.b.trigger(Z.prototype.e.R,this)}};p.wi=function(a){a.preventDefault&&a.preventDefault();var c,b,d;c=0;for(b=a.changedTouches.length;c<b;c++)d=a.changedTouches[c],d=this.Qe(d.identifier),this.sd=0<=d?this.touches[d].Zi:-1,this.Zg=0<=d?this.touches[d].id:-1,this.b.trigger(Z.prototype.e.oj,this),this.b.trigger(Z.prototype.e.qj,
this),0<=d&&this.touches.splice(d,1)};p.oq=function(){return this.b.be&&0===this.sf&&0!==d?90*d:this.b.Ld&&0===this.sf&&0!==s?90*s:this.sf};p.pq=function(){return this.b.be&&0===this.tf&&0!==w?-90*w:this.b.Ld&&0===this.tf&&0!==n?-90*n:this.tf};p.rq=function(){return this.b.be&&0===this.uf&&0!==e?90*e:this.b.Ld&&0===this.uf&&0!==h?90*h:this.uf};p.po=function(a){a.preventDefault&&this.b.mg&&a.preventDefault();this.Wk({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.mi=f};p.qo=function(a){a.preventDefault&&
this.b.mg&&a.preventDefault();this.mi&&this.Vk({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};p.ro=function(a){a.preventDefault&&this.b.mg&&a.preventDefault();this.b.mg=f;this.wi({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.mi=q};p.aj=function(){var a,c,b,d=Oa();a=0;for(c=this.touches.length;a<c;a++)b=this.touches[a],b.time<=d-50&&(b.Ag=d)};g.prototype.rj=z(f);g.prototype.qj=z(f);g.prototype.R=function(a){return!a?q:this.b.Uo(a,this.qh,this.rh)};g.prototype.pj=
function(a){a=Math.floor(a);return a===this.sd};g.prototype.oj=function(a){a=Math.floor(a);return a===this.sd};c.e=new g;k.prototype.km=function(a,c){if(this.touches.length){var b,d,e,g,h;ca(c)?(b=this.b.Te(0),d=b.scale,e=b.Rc,g=b.ed,h=b.j,b.scale=this.b.P.scale,b.Rc=1,b.ed=1,b.j=this.b.P.j,a.C(b.Za(this.touches[0].x,this.touches[0].y,f)),b.scale=d,b.Rc=e,b.ed=g,b.j=h):(b=da(c)?this.b.Te(c):this.b.Jh(c))?a.C(b.Za(this.touches[0].x,this.touches[0].y,f)):a.C(0)}else a.C(0)};k.prototype.lm=function(a,
c){if(this.touches.length){var b,d,e,g,h;ca(c)?(b=this.b.Te(0),d=b.scale,e=b.Rc,g=b.fd,h=b.j,b.scale=this.b.P.scale,b.Rc=1,b.fd=1,b.j=this.b.P.j,a.C(b.Za(this.touches[0].x,this.touches[0].y,q)),b.scale=d,b.Rc=e,b.fd=g,b.j=h):(b=da(c)?this.b.Te(c):this.b.Jh(c))?a.C(b.Za(this.touches[0].x,this.touches[0].y,q)):a.C(0)}else a.C(0)};c.Ab=new k})();function bc(b){this.b=b}
(function(){function b(){e||(I("[Construct 2] Webstorage plugin: session storage is not supported on this platform. Try using local storage or global variables instead."),e=f)}function m(){}function g(){}function k(){}var c=bc.prototype;c.Pb=function(a){this.qa=a;this.b=a.b};c.Pb.prototype.va=ba();c.Wa=function(a){this.type=a;this.b=a.b};var p=c.Wa.prototype,a="";"undefined"!==typeof window.is_scirra_arcade&&(a="arcade"+window.scirra_arcade_id);var e=q;p.va=ba();m.prototype.hm=function(c){return this.b.rb||
!sessionStorage?(b(),q):sessionStorage.getItem(a+c)!=l};m.prototype.em=z(f);c.e=new m;g.prototype.tj=function(c,d){if(this.b.rb||!sessionStorage)b();else try{sessionStorage.setItem(a+c,d)}catch(e){this.b.trigger(bc.prototype.e.em,this)}};c.d=new g;k.prototype.im=function(c,d){this.b.rb||!sessionStorage?(b(),c.Ta("")):c.Ta(sessionStorage.getItem(a+d)||"")};c.Ab=new k})();
function Ab(){return[l,"MainMenu",[[Y,q,f,f,f,f,f,f,f,q],[bc,f,q,q,q,q,q,q,q,q],[Z,f,q,q,q,q,q,q,q,q],[W,f,q,q,q,q,q,q,q,q],[ac,f,q,q,q,q,q,q,q,q]],[["t0",bc,q,[],0,0,l,l,[],q,q,5348170403011429,[],[]],["t1",Z,q,[],0,0,l,l,[],q,q,5360238741765463,[],[1]],["t2",ac,q,[],0,0,l,l,[],q,q,0x8126f96920bbe,[],[]],["t3",W,q,[],0,0,l,l,[],q,q,432376389717995,[],[0,1,1,600,600,1E4,1,5E3,1]],["t4",Y,q,[],0,0,l,[["Default",0,q,1,0,q,0xd4f0afb5da682,[["images/menuback-sheet0.png",243991,0,0,480,320,1,0.5,0.5,[],
[],1]]]],[],q,q,6716059128496204,[]],["t5",Y,q,[],0,0,l,[["Default",5,q,1,0,q,0xff0245fbd669c,[["images/playbutton-sheet0.png",17482,0,0,100,106,1,0.5,0.5,[],[-0.34,-0.349057,0,-0.471698,0.31,-0.320755,0.43,0,0.3,0.311321,0,0.433962,-0.32,0.330189,-0.35,0],0]]]],[],q,q,0x58920bfe5b7f3,[]],["t6",Y,q,[],0,0,l,[["Default",5,q,1,0,q,9505473463508468,[["images/gameback-sheet0.png",173805,0,0,480,320,1,0.5,0.5,[],[],1]]]],[],q,q,0xc2b45b7fac009,[]],["t7",Y,q,[],0,0,l,[["Default",5,q,1,0,q,6595618667625149,
[["images/hatsbutton-sheet0.png",3791,0,0,48,48,1,0.5,0.5,[],[-0.270833,-0.270833,0,-0.375,0.270833,-0.270833,0.375,0,0.270833,0.270833,0,0.375,-0.270833,0.270833,-0.375,0],0]]]],[],q,q,0xcdc24977d352f,[]],["t8",Y,q,[5449845440184988],0,0,l,[["Default",0,q,1,0,q,0xfd1e1f9124169,[["images/hats-sheet0.png",35535,1,1,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet0.png",35535,182,1,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet0.png",35535,1,182,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet0.png",35535,
182,182,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet1.png",37764,1,1,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet1.png",37764,182,1,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet1.png",37764,1,182,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet1.png",37764,182,182,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet2.png",139,0,0,180,180,1,0.5,0.5,[],[],3]]]],[],q,q,0x3f874ac815193,[]],["t9",Y,q,[],0,0,l,[["Default",5,q,1,0,q,838045971859917,[["images/teddy-sheet0.png",56275,0,0,269,255,1,0.501859,0.501961,
[],[-0.148699,-0.129412,-0.00371772,-0.494118,0.137546,-0.121569,0.472119,-0.00392181,0.230483,0.215686,-0.00371772,0.294117,-0.267658,0.25098,-0.479554,-0.00392181],0]]]],[],q,q,5135768960785613,[]],["t10",Y,q,[],0,0,l,[["Default",0,q,1,0,q,8985114791405784,[["images/soundbtn-sheet0.png",4182,0,0,48,48,1,0.5,0.5,[],[-0.291667,-0.291667,0,-0.395833,0.291667,-0.291667,0.416667,0,0.333333,0.333333,0,0.479167,-0.3125,0.3125,-0.416667,0],0],["images/soundbtn-sheet1.png",4589,0,0,48,48,1,0.5,0.5,[],[-0.291667,
-0.291667,0,-0.395833,0.291667,-0.291667,0.416667,0,0.333333,0.333333,0,0.479167,-0.3125,0.3125,-0.416667,0],0]]]],[],q,q,9880037854289464,[]],["t11",Y,q,[],0,0,l,[["Default",5,q,1,0,q,8968525651632403,[["images/menubutton-sheet0.png",4673,0,0,48,48,1,0.5,0.5,[],[-0.291667,-0.291667,0,-0.395833,0.291667,-0.291667,0.416667,0,0.333333,0.333333,0,0.479167,-0.3125,0.3125,-0.416667,0],0]]]],[],q,q,0x54c0bf25f3ebd,[]],["t12",Y,q,[],0,0,l,[["Default",5,q,1,0,q,0x9cf1214a0d1f7,[["images/resetbutton-sheet0.png",
4489,0,0,48,48,1,0.5,0.5,[],[-0.291667,-0.291667,0,-0.395833,0.291667,-0.291667,0.416667,0,0.333333,0.333333,0,0.479167,-0.3125,0.3125,-0.416667,0],0]]]],[],q,q,0x583637b265df4,[]],["t13",Y,q,[],0,0,l,[["Default",5,q,1,0,q,5854853614847462,[["images/glassbutton-sheet0.png",3558,0,0,48,48,1,0.5,0.5,[],[-0.270833,-0.270833,0,-0.375,0.270833,-0.270833,0.375,0,0.270833,0.270833,0,0.375,-0.270833,0.270833,-0.375,0],0]]]],[],q,q,5429119764604536,[]],["t14",Y,q,[],0,0,l,[["Default",5,q,1,0,q,7472931379167722,
[["images/neckbutton-sheet0.png",4014,0,0,48,48,1,0.5,0.5,[],[-0.270833,-0.270833,0,-0.375,0.270833,-0.270833,0.375,0,0.270833,0.270833,0,0.375,-0.270833,0.270833,-0.375,0],0]]]],[],q,q,5852694479459239,[]],["t15",Y,q,[],0,0,l,[["Default",5,q,1,0,q,0x3bd84a13b3251,[["images/tshirtbutton-sheet0.png",3620,0,0,48,48,1,0.5,0.5,[],[-0.270833,-0.270833,0,-0.375,0.270833,-0.270833,0.375,0,0.270833,0.270833,0,0.375,-0.270833,0.270833,-0.375,0],0]]]],[],q,q,0x64071b66a5d11,[]],["t16",Y,q,[],0,0,l,[["Default",
5,q,1,0,q,0x9fd2b6a6bb7bd,[["images/pantsbutton-sheet0.png",3787,0,0,48,48,1,0.5,0.5,[],[-0.270833,-0.270833,0,-0.375,0.270833,-0.270833,0.375,0,0.270833,0.270833,0,0.375,-0.270833,0.270833,-0.375,0],0]]]],[],q,q,0x6533d42b3807d,[]],["t17",Y,q,[],0,0,l,[["Default",5,q,1,0,q,989979957969807,[["images/soundbtn-sheet1.png",4589,0,0,48,48,1,0.5,0.5,[],[-0.291667,-0.291667,0,-0.395833,0.291667,-0.291667,0.416667,0,0.333333,0.333333,0,0.479167,-0.3125,0.3125,-0.416667,0],0]]]],[],q,q,5433951647335556,[]],
["t18",Y,q,[],0,0,l,[["Default",5,q,1,0,q,8706928099257175,[["images/camera-sheet0.png",4387,0,0,48,48,1,0.5,0.5,[],[-0.291667,-0.291667,0,-0.395833,0.291667,-0.291667,0.416667,0,0.333333,0.333333,0,0.479167,-0.3125,0.3125,-0.416667,0],0]]]],[],q,q,0x84d2490a0abeb,[]],["t19",Y,q,[8611653836196936],0,0,l,[["Default",5,q,1,0,q,0x5b8c950fde0a5,[["images/glasses-sheet0.png",32263,1,1,175,175,1,0.502857,0.502857,[],[],0],["images/glasses-sheet0.png",32263,177,1,175,175,1,0.502857,0.502857,[],[],0],["images/glasses-sheet0.png",
32263,1,177,175,175,1,0.502857,0.502857,[],[],0],["images/glasses-sheet0.png",32263,177,177,175,175,1,0.502857,0.502857,[],[],0],["images/glasses-sheet1.png",137,0,0,175,175,1,0.502857,0.502857,[],[],3]]]],[],q,q,6674205953658109,[]],["t20",Y,q,[0xcaee8338b7163],0,0,l,[["Default",0,q,1,0,q,7734210691895698,[["images/necklases-sheet0.png",23641,1,1,180,180,1,0.5,0.5,[],[],0],["images/necklases-sheet0.png",23641,182,1,180,180,1,0.5,0.5,[],[],0],["images/necklases-sheet0.png",23641,1,182,180,180,1,0.5,
0.5,[],[],0],["images/necklases-sheet0.png",23641,182,182,180,180,1,0.5,0.5,[],[],0],["images/necklases-sheet1.png",33197,1,1,180,180,1,0.5,0.5,[],[],0],["images/necklases-sheet1.png",33197,182,1,180,180,1,0.5,0.5,[],[],0],["images/necklases-sheet1.png",33197,1,182,180,180,1,0.5,0.5,[],[],0],["images/necklases-sheet1.png",33197,182,182,180,180,1,0.5,0.5,[],[],0],["images/hats-sheet2.png",139,0,0,180,180,1,0.5,0.5,[],[],3]]]],[],q,q,8992624973544268,[]],["t21",Y,q,[703883880237499],0,0,l,[["Default",
0,q,1,0,q,65784580303039,[["images/tshirts-sheet0.png",125626,1,1,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet0.png",125626,182,1,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet0.png",125626,1,118,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet0.png",125626,182,118,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet0.png",125626,1,235,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet0.png",125626,182,235,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet0.png",125626,1,352,180,116,1,0.5,0.5,
[],[],0],["images/tshirts-sheet0.png",125626,182,352,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet1.png",36104,1,1,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet1.png",36104,182,1,180,116,1,0.5,0.5,[],[],0],["images/tshirts-sheet1.png",36104,1,118,180,116,1,0.5,0.5,[],[],0]]]],[],q,q,9704833198635188,[]],["t22",Y,q,[372527814525743],0,0,l,[["Default",0,q,1,0,q,4999412687483706,[["images/pants-sheet0.png",57254,252,1,180,180,1,0.5,0.5,[],[],0],["images/pants-sheet0.png",57254,252,182,180,180,
1,0.5,0.5,[],[],0],["images/pants-sheet0.png",57254,1,252,180,180,1,0.5,0.5,[],[],0],["images/pants-sheet1.png",68467,1,1,180,180,1,0.5,0.5,[],[],0],["images/pants-sheet1.png",68467,182,1,180,180,1,0.5,0.5,[],[],0],["images/pants-sheet1.png",68467,1,182,180,180,1,0.5,0.5,[],[],0],["images/pants-sheet1.png",68467,182,182,180,180,1,0.5,0.5,[],[],0],["images/pants-sheet0.png",57254,1,1,250,250,1,0.5,0.5,[],[],0]]]],[],q,q,7983680893704421,[]],["t23",Y,q,[],0,0,l,[["Default",5,q,1,0,q,6398746129818214,
[["images/backbutton-sheet0.png",3347,0,0,40,40,1,0.5,0.5,[],[-0.275,-0.275,0,-0.4,0.275,-0.275,0.425,0,0.325,0.325,0,0.475,-0.325,0.325,-0.425,0],0]]]],[],q,q,4571602899604177,[]]],[],[["MainMenu",480,320,q,"GameLogic",0xe38cfd1e7d65c,[["Layer 0",0,5219311130234725,f,[255,255,255],q,1,1,1,q,1,0,0,[[[240,160,0,480,320,0,0,1,0.5,0.5,0,0,[]],4,4,[],[],[0,"Default",0,1]],[[99,249,0,100,106,0,0,1,0.5,0.5,0,0,[]],5,5,[],[],[0,"Default",0,1]]],[]]],[],[]],["GameScene",480,320,q,"GameLogic",0x3dea1a5e94989,
[["Layer 0",0,4968851363799112,f,[255,255,255],q,1,1,1,q,1,0,0,[[[240,160,0,480,320,0,0,1,0.5,0.5,0,0,[]],6,6,[],[],[0,"Default",0,0]],[[32,34,0,48,48,0,0,1,0.5,0.5,0,0,[]],7,7,[],[],[0,"Default",0,1]],[[319,186,0,269,255,0,0,1,0.501859,0.501961,0,0,[]],9,8,[],[],[0,"Default",0,0]],[[313,106,0,180,180,0,0,1,0.5,0.5,0,0,[]],8,9,[8],[],[0,"Default",0,0]],[[448,83,0,48,48,0,0,1,0.5,0.5,0,0,[]],11,11,[],[],[0,"Default",0,1]],[[451,221,0,48,48,0,0,1,0.5,0.5,0,0,[]],12,13,[],[],[0,"Default",0,1]],[[30,
84,0,48,48,0,0,1,0.5,0.5,0,0,[]],13,14,[],[],[0,"Default",0,1]],[[29,138,0,48,48,0,0,1,0.5,0.5,0,0,[]],14,15,[],[],[0,"Default",0,1]],[[30,190.5,0,48,48,0,0,1,0.5,0.5,0,0,[]],15,16,[],[],[0,"Default",0,1]],[[28,242,0,48,48,0,0,1,0.5,0.5,0,0,[]],16,17,[],[],[0,"Default",0,1]],[[449,279,0,48,48,0,0,1,0.5,0.5,0,0,[]],18,10,[],[],[0,"Default",0,1]],[[308,118,0,175,175,0,0,1,0.502857,0.502857,0,0,[]],19,12,[4],[],[0,"Default",0,0]],[[316,242,0,180,180,0,0,1,0.5,0.5,0,0,[]],22,19,[7],[],[0,"Default",0,
0]],[[318,195,0,180,116,0,0,1,0.5,0.5,0,0,[]],21,20,[10],[],[0,"Default",0,0]],[[312,169,0,180,180,0,0,1,0.5,0.5,0,0,[]],20,21,[8],[],[0,"Default",0,0]],[[30,292,0,40,40,0,0,1,0.5,0.5,0,0,[]],23,22,[],[],[1,"Default",0,0]]],[]]],[],[]],["Useless",480,320,q,"Useless",7345279314244706,[["Layer 0",0,734879615044346,f,[255,255,255],q,1,1,1,q,1,0,0,[[[394,34,0,48,48,0,0,1,0.5,0.5,0,0,[]],17,18,[],[],[0,"Default",0,1]],[[441,87,0,48,48,0,0,1,0.5,0.5,0,0,[]],10,23,[],[],[0,"Default",0,1]]],[]]],[],[]]],
[["GameLogic",[[1,"GameSound",0,1,q,q,0xd06cdade23ad0],[0,l,q,0xb9b1ec325a1cb,[[0,bc.prototype.e.hm,l,0,q,q,q,0x75c65520f9b64,[[1,[2,"gamesound"]]]]],[[-1,U.prototype.d.zc,l,0xcf3de37919232,[[11,"GameSound"],[7,[19,U.prototype.Ab["int"],[[20,0,bc.prototype.Ab.im,f,l,[[2,"gamesound"]]]]]]]]]],[0,l,q,5014083550520947,[[-1,U.prototype.e.xd,l,1,q,q,q,0xccd310b402bf8],[-1,U.prototype.e.ca,l,0,q,q,q,6803492127086572,[[11,"GameSound"],[8,0],[7,[0,0]]]]],[[-1,U.prototype.d.Sc,l,7733036095111302,[[4,10],[5,
[0,0]],[0,[0,450]],[0,[0,30]]]]]],[0,l,q,6828883171531495,[[-1,U.prototype.e.xd,l,1,q,q,q,6673648072240436],[-1,U.prototype.e.ca,l,0,q,q,q,4670246260303294,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[-1,U.prototype.d.Sc,l,0x54749ec758723,[[4,17],[5,[0,0]],[0,[0,410]],[0,[0,30]]]]]],[0,l,q,0x6c3a60d5c0e2,[[1,Z.prototype.e.R,l,1,q,q,q,0x87299f262eb35,[[4,7]]],[-1,U.prototype.e.ca,l,0,q,q,q,0x51095ecc66178,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[8,Y.prototype.d.kc,l,8715327255845645,[[10,0],[7,[0,1]]]],[8,
Y.prototype.d.aa,l,7120001207488161,[[0,[21,8,q,l,0]]]],[3,W.prototype.d.Play,l,0xbf30fd9331416,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]],[7,Y.prototype.d.Pf,l,0x521f6ecbbbf11,[[3,0]]],[-1,U.prototype.d.jm,l,4966372809106557,[[0,[1,0.5]]]],[7,Y.prototype.d.Pf,l,9128202869229294,[[3,1]]]]],[0,l,q,6883728366807024,[[8,Y.prototype.e.ic,l,1,q,q,q,9164978456000624]],[[8,Y.prototype.d.aa,l,8097877221531404,[[0,[0,8]]]]]],[0,l,q,972578272697307,[[8,Y.prototype.e.Be,l,0,q,q,q,5234104967514082,
[[10,0],[8,2],[7,[0,0]]]]],[[8,Y.prototype.d.jc,l,8247873201610009,[[10,0],[7,[0,8]]]],[8,Y.prototype.d.aa,l,8001446153026579,[[0,[0,8]]]]]],[0,l,q,609167310803523,[[1,Z.prototype.e.R,l,1,q,q,q,5014429721387717,[[4,11]]]],[[-1,U.prototype.d.eh,l,0xf9545644037f,[[6,"MainMenu"]]],[9,Y.prototype.d.da,l,6802012256061499,[[3,0]]]]],[0,l,q,4635647154892407,[[1,Z.prototype.e.R,l,1,q,q,q,0xd5e5fa2010381,[[4,10]]],[-1,U.prototype.e.mj,l,0,q,q,q,0x414dafbf7ee9e,[[7,[19,U.prototype.Ab.Gk]],[8,0],[7,[2,"GameScene"]]]]],
[[3,W.prototype.d.Fe,l,5467171991861563],[3,W.prototype.d.Play,l,0xb5ad9d7f7c403,[[2,["teddybeachbass",f]],[3,1],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,9499354031061304,[[1,Z.prototype.e.R,l,1,q,q,q,0xa3aa847cbfeca,[[4,10]]],[-1,U.prototype.e.mj,l,0,q,q,q,4856981192958247,[[7,[19,U.prototype.Ab.Gk]],[8,0],[7,[2,"MainMenu"]]]]],[[3,W.prototype.d.Fe,l,0x510c2461a9167],[3,W.prototype.d.Play,l,6134729175660533,[[2,["beachbeat",f]],[3,1],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,0xf5541403b06a,[[1,Z.prototype.e.R,l,1,
q,q,q,5172476119834783,[[4,10]]]],[[-1,U.prototype.d.Sc,l,0xa884962c53663,[[4,17],[5,[0,0]],[0,[0,410]],[0,[0,30]]]],[-1,U.prototype.d.zc,l,0xcad4fb842a65b,[[11,"GameSound"],[7,[0,1]]]],[0,bc.prototype.d.tj,l,0x972b23ab829ca,[[1,[2,"gamesound"]],[7,[23,"GameSound"]]]],[10,Y.prototype.d.Of,l,0x97680897f16c8]]],[0,l,q,9610398840813884,[[1,Z.prototype.e.R,l,1,q,q,q,0x5f1a20be63be9,[[4,17]]]],[[-1,U.prototype.d.Sc,l,0xf2bf307e6ba8e,[[4,10],[5,[0,0]],[0,[0,450]],[0,[0,30]]]],[-1,U.prototype.d.zc,l,0xa57a7391ca0ac,
[[11,"GameSound"],[7,[0,0]]]],[0,bc.prototype.d.tj,l,0x9d61701e372ee,[[1,[2,"gamesound"]],[7,[23,"GameSound"]]]],[3,W.prototype.d.Fe,l,6727062111535231],[17,Y.prototype.d.Of,l,0xd915c7b1a12fb]]],[0,l,q,9762310557980360,[[19,Y.prototype.e.ic,l,1,q,q,q,6176957782624112]],[[19,Y.prototype.d.aa,l,9708664640375936,[[0,[0,4]]]]]],[0,l,q,0xe3684256d2cb8,[[19,Y.prototype.e.Be,l,0,q,q,q,8329042690856961,[[10,0],[8,2],[7,[0,0]]]]],[[19,Y.prototype.d.aa,l,9462394537986212,[[0,[0,4]]]],[19,Y.prototype.d.jc,l,
842743789054316,[[10,0],[7,[0,4]]]]]],[0,l,q,469157206710501,[[1,Z.prototype.e.R,l,1,q,q,q,5987710504734781,[[4,13]]],[-1,U.prototype.e.ca,l,0,q,q,q,4588933619719753,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[19,Y.prototype.d.kc,l,5125734991403392,[[10,0],[7,[0,1]]]],[19,Y.prototype.d.aa,l,7119381114947133,[[0,[21,19,q,l,0]]]],[3,W.prototype.d.Play,l,0xe48446e9d0215,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,45847241485219,[[20,Y.prototype.e.ic,l,1,q,q,q,0x4627990233a83]],[[20,Y.prototype.d.aa,
l,789431648513689,[[0,[0,8]]]]]],[0,l,q,8550928568655862,[[20,Y.prototype.e.Be,l,0,q,q,q,6618989986495324,[[10,0],[8,2],[7,[0,0]]]]],[[20,Y.prototype.d.aa,l,5456803496639994,[[0,[0,8]]]],[20,Y.prototype.d.jc,l,7251642419308376,[[10,0],[7,[0,8]]]]]],[0,l,q,0x3a498ff4e934e,[[1,Z.prototype.e.R,l,1,q,q,q,5947383893590502,[[4,14]]],[-1,U.prototype.e.ca,l,0,q,q,q,5399034349781598,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[20,Y.prototype.d.kc,l,4950255523599052,[[10,0],[7,[0,1]]]],[20,Y.prototype.d.aa,l,7430094408345775,
[[0,[21,20,q,l,0]]]],[3,W.prototype.d.Play,l,0xa43c5645db5d8,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,7391651321067657,[[22,Y.prototype.e.ic,l,1,q,q,q,6940583496333644]],[[22,Y.prototype.d.aa,l,8694378905286109,[[0,[0,7]]]]]],[0,l,q,0xee8600f2cd098,[[22,Y.prototype.e.Be,l,0,q,q,q,8020883610390877,[[10,0],[8,2],[7,[0,0]]]]],[[22,Y.prototype.d.aa,l,0x431ec5e4af17e,[[0,[0,7]]]],[22,Y.prototype.d.jc,l,0xc7891e3684b7d,[[10,0],[7,[0,7]]]]]],[0,l,q,0xbdb739922732,[[1,Z.prototype.e.R,
l,1,q,q,q,915989008070759,[[4,16]]],[-1,U.prototype.e.ca,l,0,q,q,q,8981734807706289,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[22,Y.prototype.d.kc,l,0x622cbb718ffca,[[10,0],[7,[0,1]]]],[22,Y.prototype.d.aa,l,0xc963d488445d5,[[0,[21,22,q,l,0]]]],[3,W.prototype.d.Play,l,7430604259439116,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,9637187669852016,[[21,Y.prototype.e.ic,l,1,q,q,q,0xe8955d47f0e2b]],[[21,Y.prototype.d.aa,l,6486157860497345,[[0,[0,10]]]]]],[0,l,q,0xee20e81eae7a,[[21,Y.prototype.e.Be,
l,0,q,q,q,0xcb644a4f31ac7,[[10,0],[8,2],[7,[0,0]]]]],[[21,Y.prototype.d.aa,l,0xab248079b3fd4,[[0,[0,10]]]],[21,Y.prototype.d.jc,l,4662727880088123,[[10,0],[7,[0,10]]]]]],[0,l,q,0xf859566bad62f,[[1,Z.prototype.e.R,l,1,q,q,q,9075439254555688,[[4,15]]],[-1,U.prototype.e.ca,l,0,q,q,q,0x5b83faa2433fe,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[21,Y.prototype.d.kc,l,7395429841125732,[[10,0],[7,[0,1]]]],[21,Y.prototype.d.aa,l,0xb607e49d0555f,[[0,[21,21,q,l,0]]]],[3,W.prototype.d.Play,l,5808431415420546,[[2,["button_click",
q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,6526244239815218,[[1,Z.prototype.e.R,l,1,q,q,q,9107575465971004,[[4,12]]]],[[19,Y.prototype.d.aa,l,7034423356923876,[[0,[0,4]]]],[19,Y.prototype.d.jc,l,6295488241730351,[[10,0],[7,[0,4]]]],[8,Y.prototype.d.aa,l,866792505356682,[[0,[0,8]]]],[8,Y.prototype.d.jc,l,9633112243151918,[[10,0],[7,[0,8]]]],[20,Y.prototype.d.aa,l,5091987122137252,[[0,[0,8]]]],[20,Y.prototype.d.jc,l,9957420532434332,[[10,0],[7,[0,8]]]],[21,Y.prototype.d.aa,l,5977769148015934,[[0,[0,
10]]]],[21,Y.prototype.d.jc,l,0x5efe987f1210c,[[10,0],[7,[0,10]]]],[22,Y.prototype.d.aa,l,8526053146945809,[[0,[0,7]]]],[22,Y.prototype.d.jc,l,593338227978078,[[10,0],[7,[0,7]]]]]],[0,l,q,6505346008969611,[[1,Z.prototype.e.R,l,1,q,q,q,0x500f6bcbe03bd,[[4,18]]]],[[13,Y.prototype.d.da,l,0x3fa54d2b0a06c,[[3,0]]],[7,Y.prototype.d.da,l,0x6d356d9f07126,[[3,0]]],[14,Y.prototype.d.da,l,862250374684369,[[3,0]]],[16,Y.prototype.d.da,l,9427245726241106,[[3,0]]],[15,Y.prototype.d.da,l,8543374660278769,[[3,0]]],
[12,Y.prototype.d.da,l,0xad7c90c164868,[[3,0]]],[11,Y.prototype.d.da,l,0xa9fbd6143b170,[[3,0]]],[10,Y.prototype.d.da,l,9824196719972928,[[3,0]]],[17,Y.prototype.d.da,l,4653362130490503,[[3,0]]],[18,Y.prototype.d.da,l,0xf3d1909602d6a,[[3,0]]],[23,Y.prototype.d.da,l,0xe075c551bc8a3,[[3,1]]],[23,Y.prototype.d.Pf,l,0x3acdd65b33ab3,[[3,1]]]]],[0,l,q,8020816280029204,[[1,Z.prototype.e.R,l,1,q,q,q,0xea8c2f3f34f83,[[4,23]]]],[[7,Y.prototype.d.da,l,6288266949244677,[[3,1]]],[13,Y.prototype.d.da,l,479635800144246,
[[3,1]]],[16,Y.prototype.d.da,l,9837554854563374,[[3,1]]],[14,Y.prototype.d.da,l,0xf6fff3513edd8,[[3,1]]],[15,Y.prototype.d.da,l,7382171661032444,[[3,1]]],[11,Y.prototype.d.da,l,5593054394573967,[[3,1]]],[18,Y.prototype.d.da,l,0xfe238737afd16,[[3,1]]],[12,Y.prototype.d.da,l,6927100876931085,[[3,1]]],[23,Y.prototype.d.da,l,5416291701556308,[[3,0]]],[23,Y.prototype.d.Pf,l,6154775227738685,[[3,0]]],[10,Y.prototype.d.da,l,7034082289573807,[[3,1]]],[17,Y.prototype.d.da,l,9795695117025112,[[3,1]]]]],[0,
l,q,7712261477114521,[[1,Z.prototype.e.R,l,1,q,q,q,5298485353490219,[[4,5]]]],[[-1,U.prototype.d.eh,l,9299857430241902,[[6,"GameScene"]]],[9,Y.prototype.d.da,l,5931377132441172,[[3,1]]]]],[0,l,q,0xde8c5bb14e5ae,[[1,Z.prototype.e.R,l,1,q,q,q,8540843256120069,[[4,5]]],[-1,U.prototype.e.ca,l,0,q,q,q,9174553216006874,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Play,l,0x7a4c9e91638db,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,0xc7a36a1b43106,[[1,Z.prototype.e.R,l,1,q,q,q,
8985512197940528,[[4,23]]],[-1,U.prototype.e.ca,l,0,q,q,q,0x6c55a980fe16b,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Play,l,0x60e0e9cef7f0a,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,0x6592548a025dd,[[1,Z.prototype.e.R,l,1,q,q,q,0xebe7d44e6a372,[[4,18]]],[-1,U.prototype.e.ca,l,0,q,q,q,428268655648198,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Play,l,9792423226295752,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,9853876212115018,[[1,Z.prototype.e.R,
l,1,q,q,q,0xd1affd8359643,[[4,12]]],[-1,U.prototype.e.ca,l,0,q,q,q,8060043435108429,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Play,l,5397075646975983,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,0x466b6fe83b500,[[1,Z.prototype.e.R,l,1,q,q,q,0xd3ca47110f0b2,[[4,11]]],[-1,U.prototype.e.ca,l,0,q,q,q,8652871342132604,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Play,l,710296632183376,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,6861979251027974,
[[1,Z.prototype.e.R,l,1,q,q,q,0xb33167b885039,[[4,10]]],[-1,U.prototype.e.ca,l,0,q,q,q,8129161771037288,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Play,l,4734614755109187,[[2,["button_click",q]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,0xa5ccc2079eba2,[[1,Z.prototype.e.R,l,1,q,q,q,7912801295855865,[[4,13]]],[-1,U.prototype.e.ca,l,0,q,q,q,7771902043665116,[[11,"GameSound"],[8,0],[7,[0,0]]]]],[[19,Y.prototype.d.kc,l,4697761687779882,[[10,0],[7,[0,1]]]],[19,Y.prototype.d.aa,l,6683559365360821,
[[0,[21,19,q,l,0]]]]]],[0,l,q,6686547700355138,[[1,Z.prototype.e.R,l,1,q,q,q,9283191945291576,[[4,7]]],[-1,U.prototype.e.ca,l,0,q,q,q,5906400873009955,[[11,"GameSound"],[8,0],[7,[0,0]]]]],[[8,Y.prototype.d.kc,l,7343168306875061,[[10,0],[7,[0,1]]]],[8,Y.prototype.d.aa,l,0x425d13672d348,[[0,[21,8,q,l,0]]]]]],[0,l,q,938320002269919,[[1,Z.prototype.e.R,l,1,q,q,q,9571737892737148,[[4,14]]],[-1,U.prototype.e.ca,l,0,q,q,q,5767930550551887,[[11,"GameSound"],[8,0],[7,[0,0]]]]],[[20,Y.prototype.d.kc,l,4920144260836441,
[[10,0],[7,[0,1]]]],[20,Y.prototype.d.aa,l,4878957106264444,[[0,[21,20,q,l,0]]]]]],[0,l,q,9118318566996340,[[1,Z.prototype.e.R,l,1,q,q,q,0x5b48859e77457,[[4,16]]],[-1,U.prototype.e.ca,l,0,q,q,q,0x5864e717f6075,[[11,"GameSound"],[8,0],[7,[0,0]]]]],[[22,Y.prototype.d.kc,l,7136265683724264,[[10,0],[7,[0,1]]]],[22,Y.prototype.d.aa,l,661118265205879,[[0,[21,22,q,l,0]]]]]],[0,l,q,0xdb49eff911d67,[[1,Z.prototype.e.R,l,1,q,q,q,9466903850232972,[[4,15]]],[-1,U.prototype.e.ca,l,0,q,q,q,0xf7dc27d79313b,[[11,
"GameSound"],[8,0],[7,[0,0]]]]],[[21,Y.prototype.d.kc,l,5440201714456944,[[10,0],[7,[0,1]]]],[21,Y.prototype.d.aa,l,6246839748040612,[[0,[21,21,q,l,0]]]]]],[0,l,q,4950523926545602,[[9,Y.prototype.e.ic,l,1,q,q,q,9459095167174472],[-1,U.prototype.e.ca,l,0,q,q,q,8755887104752994,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Fe,l,580326004674398],[3,W.prototype.d.Play,l,5813001553854739,[[2,["teddybeachbass",f]],[3,1],[0,[0,0]],[1,[2,""]]]]]],[0,l,q,0x6c44cadce31fc,[[5,Y.prototype.e.ic,l,1,q,
q,q,5164626584639747],[-1,U.prototype.e.ca,l,0,q,q,q,0xfbd517bbcf513,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[3,W.prototype.d.Fe,l,0xe3a2acb66ba10],[3,W.prototype.d.Play,l,8016626965358503,[[2,["beachbeat",f]],[3,1],[0,[0,0]],[1,[2,""]]]]]]]],["MenuLogic",[[1,"Sound",0,1,q,q,7373884324979708],[0,l,q,0x74451b7c57c70,[[-1,U.prototype.e.xd,l,1,q,q,q,0x49ce287e8124c],[-1,U.prototype.e.ca,l,0,q,q,q,7341406792921237,[[11,"GameSound"],[8,0],[7,[0,1]]]]],[[-1,U.prototype.d.zc,l,0xa76943ba7f34f,[[11,"Sound"],
[7,[0,1]]]]]],[0,l,q,4709850601493626,[[-1,U.prototype.e.xd,l,1,q,q,q,0x827662d220605],[-1,U.prototype.e.ca,l,0,q,q,q,7492133874275533,[[11,"GameSound"],[8,0],[7,[0,0]]]]],[[-1,U.prototype.d.zc,l,4784900517650032,[[11,"Sound"],[7,[0,0]]]]]],[0,l,q,9303771947853568,[[1,Z.prototype.e.R,l,1,q,q,q,0x82ecad679f1e6,[[4,5]]]],[[-1,U.prototype.d.eh,l,7851220630092122,[[6,"GameScene"]]]]],[0,l,q,6558608669150266,[[-1,U.prototype.e.xd,l,1,q,q,q,5230568063741027],[-1,U.prototype.e.ca,l,0,q,q,q,0xd15deb492734f,
[[11,"Sound"],[8,0],[7,[0,0]]]]],[[-1,U.prototype.d.Sc,l,8999331296620414,[[4,10],[5,[0,0]],[0,[0,450]],[0,[0,30]]]]]],[0,l,q,0x95ffd1e1de0c0,[[-1,U.prototype.e.xd,l,1,q,q,q,7635983521970818],[-1,U.prototype.e.ca,l,0,q,q,q,0xbde28d3afee73,[[11,"Sound"],[8,0],[7,[0,1]]]]],[[-1,U.prototype.d.Sc,l,7837935963750251,[[4,17],[5,[0,0]],[0,[0,410]],[0,[0,30]]]]]],[0,l,q,5529385949826626,[[1,Z.prototype.e.R,l,1,q,q,q,0x8e15a18f02ced,[[4,10]]]],[[-1,U.prototype.d.zc,l,5021601962548952,[[11,"Sound"],[7,[0,0]]]],
[-1,U.prototype.d.Sc,l,9855022271460856,[[4,17],[5,[0,0]],[0,[0,410]],[0,[0,30]]]],[-1,U.prototype.d.zc,l,0xcdc699f32af17,[[11,"GameSound"],[7,[0,0]]]],[10,Y.prototype.d.Of,l,0xdd51a462fae59]]],[0,l,q,5343531066167448,[[1,Z.prototype.e.R,l,1,q,q,q,0x801c051038008,[[4,17]]]],[[-1,U.prototype.d.zc,l,8721125409353683,[[11,"Sound"],[7,[0,1]]]],[-1,U.prototype.d.Sc,l,4778797722875097,[[4,10],[5,[0,0]],[0,[0,450]],[0,[0,30]]]],[-1,U.prototype.d.zc,l,0x987719f2bffe4,[[11,"GameSound"],[7,[0,1]]]],[17,Y.prototype.d.Of,
l,5388216482791127]]],[0,l,q,5917157763742934,[],[]]]],["Useless",[[1,"Music",0,1,q,q,0xbd47b056a9f44]]]],"media/",q,480,320,0,f,f,q,"1.0",0,q,1,f,26,f,[]]};
