// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function q(){return function(){}}function ba(a){return function(c){this[a]=c}}function u(a){return function(){return this[a]}}function w(a){return function(){return a}}var B,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja,Ka,La,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Xa,Ya,Za,$a,ab,bb,cb,db,eb,ib,jb,kb,lb,mb,nb,ob,pb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(a){return a.__proto__}:function(a){return a.constructor.prototype});
(function(){function a(a,b,c,d){this.set(a,b,c,d)}function c(){this.ec=this.cc=this.gc=this.fc=this.jc=this.ic=this.qb=this.pb=0}function b(){h?this.Mg=new Set:(this.oh={},this.Ak=0);this.Vj=[];this.$i=!0}function d(a){k[l++]=a}function e(){this.Ic=this.Ip=this.y=this.q=0}function g(a){this.od=[];this.hn(a)}da=function(a){window.console&&window.console.log&&window.console.log(a)};ea=function(a){return"undefined"===typeof a};fa=function(a){return"number"===typeof a};ga=function(a){return"string"===
typeof a};ha=function(a){return 0<a&&0===(a-1&a)};ia=function(a){return 0>a?-a:a};ja=function(a,b){return a>b?a:b};ka=function(a,b){return a<b?a:b};la=Math.PI;ma=function(a){return a|0};na=function(a,b,c,d,f,e,h,g){if(ja(a,c)<ka(f,h)||ka(a,c)>ja(f,h)||ja(b,d)<ka(e,g)||ka(b,d)>ja(e,g))return!1;var k=f-a+h-c,l=e-b+g-d;a=c-a;b=d-b;f=h-f;e=g-e;g=ia(b*f-e*a);return ia(f*l-e*k)<=g&&ia(a*l-b*k)<=g};a.prototype.set=function(a,b,c,d){this.left=a;this.top=b;this.right=c;this.bottom=d};a.prototype.width=function(){return this.right-
this.left};a.prototype.height=function(){return this.bottom-this.top};a.prototype.offset=function(a,b){this.left+=a;this.top+=b;this.right+=a;this.bottom+=b;return this};a.prototype.cB=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};a.prototype.ef=function(a,b){return a>=this.left&&a<=this.right&&b>=this.top&&b<=this.bottom};oa=a;c.prototype.nt=function(a){this.pb=a.left;this.qb=a.top;this.ic=a.right;this.jc=a.top;this.fc=a.right;this.gc=a.bottom;this.cc=
a.left;this.ec=a.bottom};c.prototype.jx=function(a,b){if(0===b)this.nt(a);else{var c=Math.sin(b),d=Math.cos(b),f=a.left*c,e=a.top*c,h=a.right*c,c=a.bottom*c,g=a.left*d,k=a.top*d,l=a.right*d,d=a.bottom*d;this.pb=g-e;this.qb=k+f;this.ic=l-e;this.jc=k+h;this.fc=l-c;this.gc=d+h;this.cc=g-c;this.ec=d+f}};c.prototype.offset=function(a,b){this.pb+=a;this.qb+=b;this.ic+=a;this.jc+=b;this.fc+=a;this.gc+=b;this.cc+=a;this.ec+=b;return this};c.prototype.Wu=function(a){a.left=ka(ka(this.pb,this.ic),ka(this.fc,
this.cc));a.top=ka(ka(this.qb,this.jc),ka(this.gc,this.ec));a.right=ja(ja(this.pb,this.ic),ja(this.fc,this.cc));a.bottom=ja(ja(this.qb,this.jc),ja(this.gc,this.ec))};c.prototype.ef=function(a,b){var c=this.ic-this.pb,d=this.jc-this.qb,f=this.fc-this.pb,e=this.gc-this.qb,h=a-this.pb,g=b-this.qb,k=c*c+d*d,l=c*f+d*e,d=c*h+d*g,m=f*f+e*e,C=f*h+e*g,A=1/(k*m-l*l),c=(m*d-l*C)*A,k=(k*C-l*d)*A;if(0<=c&&0<k&&1>c+k)return!0;c=this.cc-this.pb;d=this.ec-this.qb;k=c*c+d*d;l=c*f+d*e;d=c*h+d*g;A=1/(k*m-l*l);c=(m*
d-l*C)*A;k=(k*C-l*d)*A;return 0<=c&&0<k&&1>c+k};c.prototype.Yh=function(a,b){switch(a){case 0:return b?this.pb:this.qb;case 1:return b?this.ic:this.jc;case 2:return b?this.fc:this.gc;case 3:return b?this.cc:this.ec;case 4:return b?this.pb:this.qb;default:return b?this.pb:this.qb}};c.prototype.Kj=function(){return(this.pb+this.ic+this.fc+this.cc)/4};c.prototype.Lj=function(){return(this.qb+this.jc+this.gc+this.ec)/4};c.prototype.bB=function(a){var b=a.Kj(),c=a.Lj();if(this.ef(b,c))return!0;b=this.Kj();
c=this.Lj();if(a.ef(b,c))return!0;var d,f,e,h,g,k,l,m;for(l=0;4>l;l++)for(m=0;4>m;m++)if(b=this.Yh(l,!0),c=this.Yh(l,!1),d=this.Yh(l+1,!0),f=this.Yh(l+1,!1),e=a.Yh(m,!0),h=a.Yh(m,!1),g=a.Yh(m+1,!0),k=a.Yh(m+1,!1),na(b,c,d,f,e,h,g,k))return!0;return!1};pa=c;qa=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a};sa=function(a,b){var c,d;b=ma(b);if(!(0>b||b>=a.length))if(0===b)a.shift();else if(b===a.length-1)a.pop();else{c=b;for(d=a.length-1;c<d;c++)a[c]=a[c+1];a.length=d}};ta=function(a,
b){a.length=b.length;var c,d;c=0;for(d=b.length;c<d;c++)a[c]=b[c]};ua=function(a,b){var c=a.indexOf(b);-1!==c&&sa(a,c)};va=function(a){return a/(180/la)};wa=function(a){return a*(180/la)};xa=function(a){a%=360;0>a&&(a+=360);return a};ya=function(a){a%=2*la;0>a&&(a+=2*la);return a};za=function(a){return xa(wa(a))};Aa=function(a){return ya(va(a))};Ba=function(a,b,c,d){return Math.atan2(d-b,c-a)};Ca=function(a,b){if(a===b)return 0;var c=Math.sin(a),d=Math.cos(a),f=Math.sin(b),e=Math.cos(b),c=c*f+d*e;
return 1<=c?0:-1>=c?la:Math.acos(c)};Da=function(a,b,c){var d=Math.sin(a),f=Math.cos(a),e=Math.sin(b),h=Math.cos(b);return Math.acos(d*e+f*h)>c?0<f*e-d*h?ya(a+c):ya(a-c):ya(b)};Ea=function(a,b){var c=Math.sin(a),d=Math.cos(a),f=Math.sin(b),e=Math.cos(b);return 0>=d*f-c*e};Fa=function(a,b,c,d,f,e){if(0===c)return e?a:b;var h=Math.sin(c);c=Math.cos(c);a-=d;b-=f;var g=a*h;a=a*c-b*h;b=b*c+g;return e?a+d:b+f};Ga=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)};Ha=function(a,b){return!a!==!b};Ia=
function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1};Ja=function(a){for(var b in a)a.hasOwnProperty(b)&&delete a[b]};var f=+new Date;Ka=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()-f};var h="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;b.prototype.contains=function(a){return h?
this.Mg.has(a):this.oh.hasOwnProperty(a.toString())};b.prototype.add=function(a){if(h)this.Mg.has(a)||(this.Mg.add(a),this.$i=!1);else{var b=a.toString();this.oh.hasOwnProperty(b)||(this.oh[b]=a,this.Ak++,this.$i=!1)}return this};b.prototype.remove=function(a){h?this.Mg.has(a)&&(this.Mg["delete"](a),this.$i=!1):(a=a.toString(),this.oh.hasOwnProperty(a)&&(delete this.oh[a],this.Ak--,this.$i=!1));return this};b.prototype.clear=function(){h?this.Mg.clear():(Ja(this.oh),this.Ak=0);this.Vj.length=0;this.$i=
!0;return this};b.prototype.jm=function(){return h?0===this.Mg.size:0===this.Ak};b.prototype.count=function(){return h?this.Mg.size:this.Ak};var k=null,l=0;b.prototype.HC=function(){if(!this.$i){if(h)this.Vj.length=this.Mg.size,k=this.Vj,l=0,this.Mg.forEach(d),k=null,l=0;else{this.Vj.length=this.Ak;var a,b=0;for(a in this.oh)this.oh.hasOwnProperty(a)&&(this.Vj[b++]=this.oh[a])}this.$i=!0}};b.prototype.il=function(){this.HC();return this.Vj};La=b;e.prototype.add=function(a){this.y=a-this.q;this.Ip=
this.Ic+this.y;this.q=this.Ip-this.Ic-this.y;this.Ic=this.Ip};e.prototype.reset=function(){this.Ic=this.Ip=this.y=this.q=0};Oa=e;Pa=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.hn=function(a){this.Sw=a;this.Hg=a.length/2;this.od.length=a.length;this.Iq=this.Jq=-1;this.Yu=0};g.prototype.xk=function(){return!this.Sw.length};g.prototype.Fp=function(a,b,c,d,f){this.od.length=8;this.Hg=4;var e=this.od;e[0]=a.pb-b;e[1]=a.qb-c;e[2]=a.ic-b;e[3]=a.jc-c;e[4]=a.fc-b;e[5]=a.gc-
c;e[6]=a.cc-b;e[7]=a.ec-c;this.Jq=d;this.Iq=f};g.prototype.ix=function(a){this.Hg=a.Hg;ta(this.od,a.od)};g.prototype.gk=function(a,b,c){if(this.Jq!==a||this.Iq!==b||this.Yu!==c){this.Jq=a;this.Iq=b;this.Yu=c;var d,f,e,h=0,g=1,k=this.Sw,l=this.od;0!==c&&(h=Math.sin(c),g=Math.cos(c));c=0;for(d=this.Hg;c<d;c++)f=k[2*c]*a,e=k[2*c+1]*b,l[2*c]=f*g-e*h,l[2*c+1]=e*g+f*h}};g.prototype.ef=function(a,b){var c=this.od;if(a===c[0]&&b===c[1])return!0;var d,f,e,h=this.Hg,g=c[0],k=g,l=c[1],m=l;for(d=1;d<h;d++)f=
c[2*d],e=c[2*d+1],f<g&&(g=f),f>k&&(k=f),e<l&&(l=e),e>m&&(m=e);f=g-110;var l=l-101,k=k+131,m=m+120,C,A,t=0,x=0;for(d=0;d<h;d++)e=c[2*d],g=c[2*d+1],C=c[2*((d+1)%h)],A=c[2*((d+1)%h)+1],na(f,l,a,b,e,g,C,A)&&t++,na(k,m,a,b,e,g,C,A)&&x++;return 1===t%2||1===x%2};g.prototype.Ov=function(a,b,c){var d=a.od,f=this.od;if(this.ef(d[0]+b,d[1]+c)||a.ef(f[0]-b,f[1]-c))return!0;var e,h,g,k,l,m,C,A,t,x,I,R;e=0;for(h=this.Hg;e<h;e++)for(l=f[2*e],m=f[2*e+1],C=f[2*((e+1)%h)],A=f[2*((e+1)%h)+1],g=0,k=a.Hg;g<k;g++)if(t=
d[2*g]+b,x=d[2*g+1]+c,I=d[2*((g+1)%k)]+b,R=d[2*((g+1)%k)+1]+c,na(l,m,C,A,t,x,I,R))return!0;return!1};Qa=g;var m="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Ra=function(a){return 0>=a||11<=a?"source-over":m[a-1]};Sa=function(a,b,c){if(c)switch(a.qd=c.ONE,a.md=c.ONE_MINUS_SRC_ALPHA,b){case 1:a.qd=c.ONE;a.md=c.ONE;break;case 3:a.qd=c.ONE;a.md=c.ZERO;break;case 4:a.qd=c.ONE_MINUS_DST_ALPHA;a.md=c.ONE;break;case 5:a.qd=
c.DST_ALPHA;a.md=c.ZERO;break;case 6:a.qd=c.ZERO;a.md=c.SRC_ALPHA;break;case 7:a.qd=c.ONE_MINUS_DST_ALPHA;a.md=c.ZERO;break;case 8:a.qd=c.ZERO;a.md=c.ONE_MINUS_SRC_ALPHA;break;case 9:a.qd=c.DST_ALPHA;a.md=c.ONE_MINUS_SRC_ALPHA;break;case 10:a.qd=c.ONE_MINUS_DST_ALPHA,a.md=c.SRC_ALPHA}};Ta=function(a){return Math.round(1E6*a)/1E6};Ua=function(a,b){return"string"!==typeof a||"string"!==typeof b||a.length!==b.length?!1:a===b?!0:a.toLowerCase()===b.toLowerCase()}})();
var qb="undefined"!==typeof Float32Array?Float32Array:Array;function rb(a){var c=new qb(3);a&&(c[0]=a[0],c[1]=a[1],c[2]=a[2]);return c}function sb(a){var c=new qb(16);a&&(c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3],c[4]=a[4],c[5]=a[5],c[6]=a[6],c[7]=a[7],c[8]=a[8],c[9]=a[9],c[10]=a[10],c[11]=a[11],c[12]=a[12],c[13]=a[13],c[14]=a[14],c[15]=a[15]);return c}
function tb(a,c){c[0]=a[0];c[1]=a[1];c[2]=a[2];c[3]=a[3];c[4]=a[4];c[5]=a[5];c[6]=a[6];c[7]=a[7];c[8]=a[8];c[9]=a[9];c[10]=a[10];c[11]=a[11];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}function ub(a,c){var b=c[0],d=c[1];c=c[2];a[0]*=b;a[1]*=b;a[2]*=b;a[3]*=b;a[4]*=d;a[5]*=d;a[6]*=d;a[7]*=d;a[8]*=c;a[9]*=c;a[10]*=c;a[11]*=c}
function vb(a,c,b,d){d||(d=sb());var e,g,f,h,k,l,m,n,p=a[0],v=a[1];a=a[2];g=b[0];f=b[1];e=b[2];b=c[1];l=c[2];p===c[0]&&v===b&&a===l?(a=d,a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1):(b=p-c[0],l=v-c[1],m=a-c[2],n=1/Math.sqrt(b*b+l*l+m*m),b*=n,l*=n,m*=n,c=f*m-e*l,e=e*b-g*m,g=g*l-f*b,(n=Math.sqrt(c*c+e*e+g*g))?(n=1/n,c*=n,e*=n,g*=n):g=e=c=0,f=l*g-m*e,h=m*c-b*g,k=b*e-l*c,(n=Math.sqrt(f*f+h*h+k*k))?(n=1/n,f*=n,h*=n,k*=n):k=h=f=0,
d[0]=c,d[1]=f,d[2]=b,d[3]=0,d[4]=e,d[5]=h,d[6]=l,d[7]=0,d[8]=g,d[9]=k,d[10]=m,d[11]=0,d[12]=-(c*p+e*v+g*a),d[13]=-(f*p+h*v+k*a),d[14]=-(b*p+l*v+m*a),d[15]=1)}
(function(){function a(a){this.height=this.width=0;this.Zu=rb([0,0,100]);this.fw=rb([0,0,0]);this.Ex=rb([0,1,0]);this.Lt=rb([1,1,1]);this.zs=sb();this.rf=sb();this.Yv=sb();this.Wq=sb();this.ja=a;this.Kv()}function c(a,b,c){this.ja=a;this.jn=b;this.name=c;this.nf=a.getAttribLocation(b,"aPos");this.ni=a.getAttribLocation(b,"aTex");this.dw=a.getUniformLocation(b,"matP");this.Kk=a.getUniformLocation(b,"matMV");this.Lk=a.getUniformLocation(b,"opacity");this.ew=a.getUniformLocation(b,"samplerFront");this.Zo=
a.getUniformLocation(b,"samplerBack");this.Jk=a.getUniformLocation(b,"destStart");this.Ik=a.getUniformLocation(b,"destEnd");this.ds=a.getUniformLocation(b,"seconds");this.cs=a.getUniformLocation(b,"pixelWidth");this.bs=a.getUniformLocation(b,"pixelHeight");this.as=a.getUniformLocation(b,"layerScale");this.Lk&&a.uniform1f(this.Lk,1);this.ew&&a.uniform1i(this.ew,0);this.Zo&&a.uniform1i(this.Zo,1);this.Jk&&a.uniform2f(this.Jk,0,0);this.Ik&&a.uniform2f(this.Ik,1,1);this.nj=!1}function b(a,b){this.type=
a;this.Y=b;this.ja=b.ja;this.sg=this.wf=this.Fw=0;this.wa=this.Rj=null;this.ot=[]}function d(a){--a;for(var b=1;32>b;b<<=1)a|=a>>b;return a+1}a.prototype.Kv=function(){var a=this.ja,b;this.Zv=1;this.sj=null;this.iv=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.$v=a.ONE;this.Xv=a.ONE_MINUS_SRC_ALPHA;this.Ws=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Ws);this.un=Array(4);this.nn=
Array(4);for(b=0;4>b;b++)this.un[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.un[b]),this.nn[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.nn[b]);this.eh=0;this.aB=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.aB);this.Jt=new Float32Array(16E3);this.wt=new Float32Array(16E3);this.aC=new Float32Array(32E3);for(var c=new Uint16Array(12E3),d=b=0;12E3>b;)c[b++]=d,c[b++]=d+1,c[b++]=d+2,c[b++]=d,c[b++]=d+2,c[b++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,a.STATIC_DRAW);this.Xs=
this.Sg=0;this.Uc=[];b=this.Tq({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.Uc.push(b);
b=this.Tq({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.Uc.push(b);for(var e in wb)wb.hasOwnProperty(e)&&this.Uc.push(this.Tq(wb[e],
"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}",e));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.$h=[];this.ah=0;this.qe=!1;this.jv=this.tm=-1;this.Tl=null;this.uA=a.createFramebuffer();this.Xw=null;this.Hi=rb([0,0,0]);this.Ng(0)};a.prototype.Tq=function(a,b,d){var e=this.ja,g=e.createShader(e.FRAGMENT_SHADER);
e.shaderSource(g,a.src);e.compileShader(g);if(!e.getShaderParameter(g,e.COMPILE_STATUS))return e.deleteShader(g),null;var n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,b);e.compileShader(n);if(!e.getShaderParameter(n,e.COMPILE_STATUS))return e.deleteShader(g),e.deleteShader(n),null;b=e.createProgram();e.attachShader(b,g);e.attachShader(b,n);e.linkProgram(b);if(!e.getProgramParameter(b,e.LINK_STATUS))return e.deleteShader(g),e.deleteShader(n),e.deleteProgram(b),null;e.useProgram(b);e.deleteShader(g);
e.deleteShader(n);d=new c(e,b,d);d.dr=a.dr||0;d.er=a.er||0;d.gv=!!a.gv;d.Pu=!!a.Pu;d.na=a.na||[];a=0;for(g=d.na.length;a<g;a++)d.na[a][1]=e.getUniformLocation(b,d.na[a][0]),e.uniform1f(d.na[a][1],0);return d};a.prototype.sr=function(a){var b,c;b=0;for(c=this.Uc.length;b<c;b++)if(this.Uc[b].name===a)return b;return-1};a.prototype.Rw=function(a,b,c){var d=[0,0,this.width,this.height],e=this.rf,n=this.zs,p=[0,0,0,0,0,0,0,0];p[0]=e[0]*a+e[4]*b+e[12];p[1]=e[1]*a+e[5]*b+e[13];p[2]=e[2]*a+e[6]*b+e[14];p[3]=
e[3]*a+e[7]*b+e[15];p[4]=n[0]*p[0]+n[4]*p[1]+n[8]*p[2]+n[12]*p[3];p[5]=n[1]*p[0]+n[5]*p[1]+n[9]*p[2]+n[13]*p[3];p[6]=n[2]*p[0]+n[6]*p[1]+n[10]*p[2]+n[14]*p[3];p[7]=-p[2];0!==p[7]&&(p[7]=1/p[7],p[4]*=p[7],p[5]*=p[7],p[6]*=p[7],c[0]=(0.5*p[4]+0.5)*d[2]+d[0],c[1]=(0.5*p[5]+0.5)*d[3]+d[1])};a.prototype.mt=function(a,b,c){if(this.width!==a||this.height!==b||c){this.gi();this.width=a;this.height=b;this.ja.viewport(0,0,a,b);b=a/b;var d=this.zs,e;e=1*Math.tan(45*Math.PI/360);b*=e;a=-b;c=-e;d||(d=sb());var n=
b-a,p=e-c;d[0]=2/n;d[1]=0;d[2]=0;d[3]=0;d[4]=0;d[5]=2/p;d[6]=0;d[7]=0;d[8]=(b+a)/n;d[9]=(e+c)/p;d[10]=-1001/999;d[11]=-1;d[12]=0;d[13]=0;d[14]=-2E3/999;d[15]=0;vb(this.Zu,this.fw,this.Ex,this.rf);a=[0,0];b=[0,0];this.Rw(0,0,a);this.Rw(1,1,b);this.Lt[0]=1/(b[0]-a[0]);this.Lt[1]=-1/(b[1]-a[1]);a=0;for(b=this.Uc.length;a<b;a++)c=this.Uc[a],c.nj=!1,c.dw&&(this.ja.useProgram(c.jn),this.ja.uniformMatrix4fv(c.dw,!1,this.zs));this.ja.useProgram(this.Uc[this.tm].jn);this.ja.bindTexture(this.ja.TEXTURE_2D,
null);this.sj=null}};a.prototype.Kg=function(){vb(this.Zu,this.fw,this.Ex,this.rf);ub(this.rf,this.Lt)};a.prototype.translate=function(a,b){if(0!==a||0!==b){this.Hi[0]=a;this.Hi[1]=b;this.Hi[2]=0;var c=this.rf,d=this.Hi,e=d[0],n=d[1],d=d[2];c[12]=c[0]*e+c[4]*n+c[8]*d+c[12];c[13]=c[1]*e+c[5]*n+c[9]*d+c[13];c[14]=c[2]*e+c[6]*n+c[10]*d+c[14];c[15]=c[3]*e+c[7]*n+c[11]*d+c[15]}};a.prototype.scale=function(a,b){if(1!==a||1!==b)this.Hi[0]=a,this.Hi[1]=b,this.Hi[2]=1,ub(this.rf,this.Hi)};a.prototype.ht=function(a){if(0!==
a){var b=this.rf,c,d=Math.sin(a);a=Math.cos(a);var e=b[0],n=b[1],p=b[2],g=b[3],r=b[4],s=b[5],y=b[6],G=b[7];c?b!==c&&(c[8]=b[8],c[9]=b[9],c[10]=b[10],c[11]=b[11],c[12]=b[12],c[13]=b[13],c[14]=b[14],c[15]=b[15]):c=b;c[0]=e*a+r*d;c[1]=n*a+s*d;c[2]=p*a+y*d;c[3]=g*a+G*d;c[4]=e*-d+r*a;c[5]=n*-d+s*a;c[6]=p*-d+y*a;c[7]=g*-d+G*a}};a.prototype.Rg=function(){for(var a=!1,b=0;16>b;b++)if(this.Yv[b]!==this.rf[b]){a=!0;break}a&&(a=this.Wf(),a.type=5,a.wa?tb(this.rf,a.wa):a.wa=sb(this.rf),tb(this.rf,this.Yv),this.qe=
!1)};b.prototype.Lz=function(){this.ja.bindTexture(this.ja.TEXTURE_2D,this.Rj)};b.prototype.Iz=function(){var a=this.Fw,b=this.Y;b.iv=a;b=b.Tl;b.Lk&&this.ja.uniform1f(b.Lk,a)};b.prototype.Fz=function(){this.ja.drawElements(this.ja.TRIANGLES,this.sg,this.ja.UNSIGNED_SHORT,2*this.wf)};b.prototype.Hz=function(){this.ja.blendFunc(this.wf,this.sg)};b.prototype.Mz=function(){var a,b,c,d=this.Y.Uc,e=this.Y.jv;a=0;for(b=d.length;a<b;a++)c=d[a],a===e&&c.Kk?(this.ja.uniformMatrix4fv(c.Kk,!1,this.wa),c.nj=!0):
c.nj=!1;tb(this.wa,this.Y.Wq)};b.prototype.Gz=function(){var a=this.ja,b=this.Y;this.Rj?(a.bindFramebuffer(a.FRAMEBUFFER,b.uA),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Rj,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};b.prototype.Az=function(){var a=this.ja;0===this.wf?(a.clearColor(this.wa[0],this.wa[1],this.wa[2],this.wa[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.wa[0],
this.wa[1],this.wa[2],this.wa[3]),a.clearColor(0,0,0,0),a.clear(this.ja.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};b.prototype.Ez=function(){var a=this.ja,b=this.Y,c=b.Uc[1];a.useProgram(c.jn);!c.nj&&c.Kk&&(a.uniformMatrix4fv(c.Kk,!1,b.Wq),c.nj=!0);a.enableVertexAttribArray(c.nf);a.bindBuffer(a.ARRAY_BUFFER,b.Ws);a.vertexAttribPointer(c.nf,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.wf/4,this.sg);c=b.Tl;a.useProgram(c.jn);0<=c.nf&&(a.enableVertexAttribArray(c.nf),a.bindBuffer(a.ARRAY_BUFFER,b.un[b.eh]),
a.vertexAttribPointer(c.nf,2,a.FLOAT,!1,0,0));0<=c.ni&&(a.enableVertexAttribArray(c.ni),a.bindBuffer(a.ARRAY_BUFFER,b.nn[b.eh]),a.vertexAttribPointer(c.ni,2,a.FLOAT,!1,0,0))};b.prototype.Jz=function(){var a=this.ja,b=this.Y,c=b.Uc[this.wf];b.jv=this.wf;b.Tl=c;a.useProgram(c.jn);!c.nj&&c.Kk&&(a.uniformMatrix4fv(c.Kk,!1,b.Wq),c.nj=!0);c.Lk&&a.uniform1f(c.Lk,b.iv);0<=c.nf&&(a.enableVertexAttribArray(c.nf),a.bindBuffer(a.ARRAY_BUFFER,b.un[b.eh]),a.vertexAttribPointer(c.nf,2,a.FLOAT,!1,0,0));0<=c.ni&&
(a.enableVertexAttribArray(c.ni),a.bindBuffer(a.ARRAY_BUFFER,b.nn[b.eh]),a.vertexAttribPointer(c.ni,2,a.FLOAT,!1,0,0))};b.prototype.Kz=function(){var a,b,c=this.Y.Tl,d=this.ja;c.Zo&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.Rj),d.activeTexture(d.TEXTURE0));c.cs&&d.uniform1f(c.cs,this.wa[0]);c.bs&&d.uniform1f(c.bs,this.wa[1]);c.Jk&&d.uniform2f(c.Jk,this.wa[2],this.wa[3]);c.Ik&&d.uniform2f(c.Ik,this.wa[4],this.wa[5]);c.as&&d.uniform1f(c.as,this.wa[6]);c.ds&&d.uniform1f(c.ds,Ka()/
1E3);if(c.na.length)for(a=0,b=c.na.length;a<b;a++)d.uniform1f(c.na[a][1],this.ot[a])};a.prototype.Wf=function(){this.ah===this.$h.length&&this.$h.push(new b(0,this));return this.$h[this.ah++]};a.prototype.gi=function(){if(0!==this.ah&&!this.ja.isContextLost()){var a=this.ja;0<this.Xs&&(a.bindBuffer(a.ARRAY_BUFFER,this.Ws),a.bufferData(a.ARRAY_BUFFER,this.aC.subarray(0,this.Xs),a.STREAM_DRAW),b&&0<=b.nf&&"<point>"===b.name&&a.vertexAttribPointer(b.nf,4,a.FLOAT,!1,0,0));if(0<this.Sg){var b=this.Tl;
a.bindBuffer(a.ARRAY_BUFFER,this.un[this.eh]);a.bufferData(a.ARRAY_BUFFER,this.Jt.subarray(0,this.Sg),a.STREAM_DRAW);b&&0<=b.nf&&"<point>"!==b.name&&a.vertexAttribPointer(b.nf,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.nn[this.eh]);a.bufferData(a.ARRAY_BUFFER,this.wt.subarray(0,this.Sg),a.STREAM_DRAW);b&&0<=b.ni&&"<point>"!==b.name&&a.vertexAttribPointer(b.ni,2,a.FLOAT,!1,0,0)}for(var c,a=0,b=this.ah;a<b;a++)switch(c=this.$h[a],c.type){case 1:c.Fz();break;case 2:c.Lz();break;case 3:c.Iz();
break;case 4:c.Hz();break;case 5:c.Mz();break;case 6:c.Gz();break;case 7:c.Az();break;case 8:c.Ez();break;case 9:c.Jz();break;case 10:c.Kz()}this.Xs=this.Sg=this.ah=0;this.qe=!1;this.eh++;4<=this.eh&&(this.eh=0)}};a.prototype.Jh=function(a){if(a!==this.Zv){var b=this.Wf();b.type=3;this.Zv=b.Fw=a;this.qe=!1}};a.prototype.Wd=function(a){if(a!==this.sj){var b=this.Wf();b.type=2;this.sj=b.Rj=a;this.qe=!1}};a.prototype.Ih=function(a,b){if(a!==this.$v||b!==this.Xv){var c=this.Wf();c.type=4;c.wf=a;c.sg=
b;this.$v=a;this.Xv=b;this.qe=!1}};a.prototype.dx=function(){this.Ih(this.ja.ONE,this.ja.ONE_MINUS_SRC_ALPHA)};a.prototype.cn=function(a,b,c,d,e,n,p,g){15992<=this.Sg&&this.gi();var r=this.Sg,s=this.Jt,y=this.wt;if(this.qe)this.$h[this.ah-1].sg+=6;else{var G=this.Wf();G.type=1;G.wf=3*(r/4);G.sg=6;this.qe=!0}s[r]=a;y[r++]=0;s[r]=b;y[r++]=0;s[r]=c;y[r++]=1;s[r]=d;y[r++]=0;s[r]=e;y[r++]=1;s[r]=n;y[r++]=1;s[r]=p;y[r++]=0;s[r]=g;y[r++]=1;this.Sg=r};a.prototype.Xf=function(a,b,c,d,e,n,p,g,r){15992<=this.Sg&&
this.gi();var s=this.Sg,y=this.Jt,G=this.wt;if(this.qe)this.$h[this.ah-1].sg+=6;else{var H=this.Wf();H.type=1;H.wf=3*(s/4);H.sg=6;this.qe=!0}y[s]=a;G[s++]=r.left;y[s]=b;G[s++]=r.top;y[s]=c;G[s++]=r.right;y[s]=d;G[s++]=r.top;y[s]=e;G[s++]=r.right;y[s]=n;G[s++]=r.bottom;y[s]=p;G[s++]=r.left;y[s]=g;G[s++]=r.bottom;this.Sg=s};a.prototype.Ng=function(a){if(this.tm!==a){if(!this.Uc[a]){if(0===this.tm)return;a=0}var b=this.Wf();b.type=9;this.tm=b.wf=a;this.qe=!1}};a.prototype.$m=function(a){a=this.Uc[a];
return!(!a.Jk&&!a.Ik)};a.prototype.Zs=function(a){return this.Uc[a].gv};a.prototype.eC=function(a){a=this.Uc[a];return 0!==a.dr||0!==a.er};a.prototype.IA=function(a){return this.Uc[a].dr};a.prototype.JA=function(a){return this.Uc[a].er};a.prototype.KA=function(a,b){return this.Uc[a].na[b][2]};a.prototype.tp=function(a){return this.Uc[a].Pu};a.prototype.al=function(a,b,c,d,e,n,p,g,r){var s=this.Uc[this.tm];if(s.cs||s.bs||s.ds||s.Zo||s.Jk||s.Ik||s.as||r.length){s=this.Wf();s.type=10;s.wa?tb(this.rf,
s.wa):s.wa=sb();s.wa[0]=b;s.wa[1]=c;s.wa[2]=d;s.wa[3]=e;s.wa[4]=n;s.wa[5]=p;s.wa[6]=g;s.Rj=a;if(r.length)for(s.ot.length=r.length,a=0,b=r.length;a<b;a++)s.ot[a]=r[a];this.qe=!1}};a.prototype.clear=function(a,b,c,d){var e=this.Wf();e.type=7;e.wf=0;e.wa||(e.wa=sb());e.wa[0]=a;e.wa[1]=b;e.wa[2]=c;e.wa[3]=d;this.qe=!1};a.prototype.clearRect=function(a,b,c,d){var e=this.Wf();e.type=7;e.wf=1;e.wa||(e.wa=sb());e.wa[0]=a;e.wa[1]=b;e.wa[2]=c;e.wa[3]=d;this.qe=!1};a.prototype.dC=function(){this.gi();this.ja.flush()};
var e=[],g={};a.prototype.Fk=function(a,b,c,l){b=!!b;c=!!c;var m=a.src+","+b+","+c+(b?",undefined":""),n=null;if("undefined"!==typeof a.src&&g.hasOwnProperty(m))return n=g[m],n.Zn++,n;this.gi();var p=this.ja,v=ha(a.width)&&ha(a.height),n=p.createTexture();p.bindTexture(p.TEXTURE_2D,n);p.pixelStorei(p.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var r=p.RGBA,s=p.RGBA,y=p.UNSIGNED_BYTE;if(l)switch(l){case 1:s=r=p.RGB;break;case 2:y=p.UNSIGNED_SHORT_4_4_4_4;break;case 3:y=p.UNSIGNED_SHORT_5_5_5_1;break;case 4:s=
r=p.RGB,y=p.UNSIGNED_SHORT_5_6_5}!v&&b?(l=document.createElement("canvas"),l.width=d(a.width),l.height=d(a.height),l.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,l.width,l.height),p.texImage2D(p.TEXTURE_2D,0,r,s,y,l)):p.texImage2D(p.TEXTURE_2D,0,r,s,y,a);b?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_S,p.REPEAT),p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_T,p.REPEAT)):(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_S,p.CLAMP_TO_EDGE),p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_T,p.CLAMP_TO_EDGE));
c?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MAG_FILTER,p.LINEAR),v?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MIN_FILTER,p.LINEAR_MIPMAP_LINEAR),p.generateMipmap(p.TEXTURE_2D)):p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MIN_FILTER,p.LINEAR)):(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MAG_FILTER,p.NEAREST),p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MIN_FILTER,p.NEAREST));p.bindTexture(p.TEXTURE_2D,null);this.sj=null;n.Pl=a.width;n.Ol=a.height;n.Zn=1;n.Xu=m;e.push(n);return g[m]=n};a.prototype.Hf=function(a,b,c,d){this.gi();
var g=this.ja,n=g.createTexture();g.bindTexture(g.TEXTURE_2D,n);g.texImage2D(g.TEXTURE_2D,0,g.RGBA,a,b,0,g.RGBA,d?g.UNSIGNED_SHORT_4_4_4_4:g.UNSIGNED_BYTE,null);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,c?g.LINEAR:g.NEAREST);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,c?g.LINEAR:g.NEAREST);g.bindTexture(g.TEXTURE_2D,null);this.sj=null;n.Pl=a;n.Ol=b;e.push(n);
return n};a.prototype.Kx=function(a,b,c){this.gi();var d=this.ja;d.bindTexture(d.TEXTURE_2D,b);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,d.RGBA,c?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,a);d.bindTexture(d.TEXTURE_2D,null);this.sj=null};a.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Zn&&1<a.Zn?a.Zn--:(this.gi(),this.ja.bindTexture(this.ja.TEXTURE_2D,null),this.sj=null,ua(e,a),"undefined"!==typeof a.Xu&&delete g[a.Xu],this.ja.deleteTexture(a)))};a.prototype.Kh=function(a){if(a!==this.Xw){var b=
this.Wf();b.type=6;this.Xw=b.Rj=a;this.qe=!1}};Va=a})();
(function(){function a(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var b=this;this.rj="undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.lf=!!a.dc;this.uk="undefined"!==typeof window.AppMobi||this.lf;if(this.tg=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){b.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){b.setSuspended(!1)});this.Bb=this.lf||this.tg;
this.Lo=/tizen/i.test(navigator.userAgent);this.Pv=/android/i.test(navigator.userAgent)&&!this.Lo;this.Po=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.Uv=/ipad/i.test(navigator.userAgent);this.Lr=this.Po||this.Uv;this.Qv=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.iB=!this.Qv&&/safari/i.test(navigator.userAgent);this.Rv=/windows/i.test(navigator.userAgent);this.qj="undefined"!==typeof window.c2nodewebkit;this.Sv=!("undefined"===typeof window.c2isWindows8||
!window.c2isWindows8);this.kB=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.fB=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.devicePixelRatio=1;this.ug=this.rj||this.uk||this.tg||this.Pv||this.Lr||this.kB||this.fB||this.Lo;this.ug||(this.ug=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.qj||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||
(this.qj=!0);this.gB="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=a;this.hk=document.getElementById("c2canvasdiv");this.rb=this.Y=this.ja=null;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.lf&&(window.c2runtime=this);this.qj&&(window.mE=function(a){a.preventDefault();return!1},window.nE=function(a){a.preventDefault();return!1});
this.width=a.width;this.height=a.height;this.vj=this.width;this.uj=this.height;this.eb=!0;this.mm=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.Z=[];this.Bc=[];this.Ek={};this.Nf=[];this.cr={};this.hj=[];this.Tg=[];this.Pp=[];this.iz=[];this.jz=[];this.kg=new La;this.Er=!1;this.nh=0;this.Gr=!1;this.Ke=[];this.qh=this.Qd=this.Xo=this.kt="";this.ln=this.mx=!1;this.Rq=this.Bm=this.ei=this.Ga=0;this.Gi=1;this.mf=new Oa;this.Uo=0;this.qw=!0;this.lp=this.xo=this.Ul=
this.yf=this.ym=this.kr=0;this.aj=null;this.oo=[];this.br=[];this.qo=-1;this.es=[[]];this.Ct=this.$o=0;this.vp(null);this.Vl=this.yw=this.Rm=0;this.mn=[];this.zt=this.bt=0;this.zk=!0;this.Hk=0;this.km=!1;this.wC=0;this.lj=!1;this.Is=new La;this.Js=new La;this.xp=[];this.Qj=new Qa([]);this.ut=new Qa([]);this.Wh=[];this.Nl={};this.kk={};this.dk={};this.jl={};this.Vu={};this.Mf=this.Ne=this.bw=this.Wo=this.Qa=null;this.hl=this.Ir=!1;this.lr=[null,null];this.jj=0;this.Nj={};this.Gp=this.Gk=null;this.load();
this.devicePixelRatio=(this.lm=!this.Bb&&this.KC&&(this.Lr||this.Lo))?window.devicePixelRatio||1:1;this.sd();var c;"undefined"!==typeof jQuery&&0<this.pe&&this.setSize(jQuery(window).width(),jQuery(window).height());try{if(this.Vz&&(this.tg||!this.Bb)){c={depth:!1,antialias:!this.ug};var d=!0;if(this.Qv&&this.Rv){var e=document.createElement("canvas");"OES_texture_float,OES_standard_derivatives,WEBKIT_WEBGL_lose_context"===(e.getContext("webgl",c)||e.getContext("experimental-webgl",c)).getSupportedExtensions().toString()&&
(d=!1)}d&&(this.ja=a.getContext("webgl",c)||a.getContext("experimental-webgl",c))}}catch(g){}if(this.ja){this.Bb||(this.fe=document.createElement("canvas"),jQuery(this.fe).appendTo(this.canvas.parentNode),this.fe.oncontextmenu=w(!1),this.fe.onselectstart=w(!1),this.fe.width=a.width,this.fe.height=a.height,this.Ow(),this.Us=this.fe.getContext("2d"));this.Y=new Va(this.ja,this.ug);this.Y.mt(a.width,a.height);this.rb=null;this.canvas.addEventListener("webglcontextlost",function(a){a.preventDefault();
b.RB();window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){b.Y.Kv();b.Y.mt(b.Y.width,b.Y.height,!0);b.Ne=null;b.Mf=null;b.lr[0]=null;b.lr[1]=null;b.SB();b.eb=!0;window.cr_setSuspended(!1)},!1);var h,f,k,m,l;a=0;for(c=this.Z.length;a<c;a++)for(h=this.Z[a],d=0,e=h.Ea.length;d<e;d++)k=h.Ea[d],k.pd=this.Y.sr(k.id),this.hl=this.hl||this.Y.$m(k.pd);a=0;for(c=this.Nf.length;a<c;a++){m=this.Nf[a];d=0;for(e=m.Ea.length;d<e;d++)k=m.Ea[d],k.pd=this.Y.sr(k.id);d=0;for(e=
m.Ya.length;d<e;d++)for(l=m.Ya[d],h=0,f=l.Ea.length;h<f;h++)k=l.Ea[h],k.pd=this.Y.sr(k.id),this.hl=this.hl||this.Y.$m(k.pd)}}else{if(0<this.pe&&this.lf){this.canvas=null;document.oncontextmenu=w(!1);document.onselectstart=w(!1);this.rb=AppMobi.canvas.getContext("2d");try{this.rb.samplingMode=this.wb?"smooth":"sharp",this.rb.globalScale=1,this.rb.HTML5CompatibilityMode=!0,this.rb.imageSmoothingEnabled=this.wb}catch(C){}0!==this.width&&0!==this.height&&(this.rb.width=this.width,this.rb.height=this.height)}this.rb||
(this.tg?(c={antialias:!!this.wb},this.rb=a.getContext("2d",c)):this.rb=a.getContext("2d"),this.rb.webkitImageSmoothingEnabled=this.wb,this.rb.mozImageSmoothingEnabled=this.wb,this.rb.msImageSmoothingEnabled=this.wb,this.rb.imageSmoothingEnabled=this.wb);this.Us=this.fe=null}this.wx=function(){b.yc()};window==window.top||this.Bb||this.Sv||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&
(this.tg&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(da("Reloading for continuous preview"),this.Xo="__c2_continuouspreview",this.ln=!0),this.$B&&!this.ug&&(jQuery(window).focus(function(){b.setSuspended(!1)}),jQuery(window).blur(function(){b.setSuspended(!0)})));this.go();this.pa={}}}function c(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function b(a,b,d,e){var g=indexedDB.open("_C2SaveStates");g.onupgradeneeded=
c;g.onerror=e;g.onsuccess=function(c){c=c.target.result;c.onerror=e;c.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:b}).onsuccess=d}}function d(a,b,d){var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=c;e.onerror=d;e.onsuccess=function(c){c=c.target.result;c.onerror=d;var e=c.transaction(["saves"]).objectStore("saves").get(a);e.onsuccess=function(){e.result?b(e.result.data):b(null)}}}function e(){da("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():
-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function g(a){var b,c={};for(b in a)!a.hasOwnProperty(b)||a[b]instanceof La||"undefined"===typeof a[b].bh&&(c[b]=a[b]);return c}a.prototype.setSize=function(a,b){var c=this.ZA&&this.Po&&!navigator.standalone&&!this.Bb&&!this.rj,d=0;c&&(this.Po?d=60:this.Pv&&(d=56),b+=d);var e=0,g=0,h=0,f=0,k=0,k=this.pe,m=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||
this.km;m&&0<this.jj&&(k=this.jj);4<=k?(h=this.xe/this.we,a/b>h?(h*=b,5===k?(k=h/this.xe,1<k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),h=this.xe*k,f=this.we*k,e=(a-h)/2,g=(b-f)/2,a=h,b=f):(e=(a-h)/2,a=h)):(f=a/h,5===k?(k=f/this.we,1<k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),h=this.xe*k,f=this.we*k,e=(a-h)/2,g=(b-f)/2,a=h):g=(b-f)/2,b=f),m&&!this.qj&&(g=e=0),e=Math.floor(e),g=Math.floor(g),a=Math.floor(a),b=Math.floor(b)):this.qj&&this.km&&0===this.tv&&(e=Math.floor((a-this.xe)/2),g=Math.floor((b-
this.we)/2),a=this.xe,b=this.we);this.lm&&this.Uv&&1<this.devicePixelRatio&&(1024<=a&&(a=1023),1024<=b&&(b=1023));m=this.devicePixelRatio;this.width=a*m;this.height=b*m;this.eb=!0;this.hk&&!this.Bb&&(jQuery(this.hk).css({width:a+"px",height:b+"px","margin-left":e,"margin-top":g}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:a+"px",height:b+"px"}));this.canvas&&(this.canvas.width=a*m,this.canvas.height=b*m,this.lm&&jQuery(this.canvas).css({width:a+"px",height:b+"px"}));this.fe&&
(this.fe.width=a,this.fe.height=b);this.Y&&this.Y.mt(a,b);this.lf&&this.rb&&(this.rb.width=a,this.rb.height=b);this.rb&&(this.rb.webkitImageSmoothingEnabled=this.wb,this.rb.mozImageSmoothingEnabled=this.wb,this.rb.msImageSmoothingEnabled=this.wb,this.rb.imageSmoothingEnabled=this.wb);c&&0<d&&window.setTimeout(function(){window.scrollTo(0,1)},100)};a.prototype.RB=function(){this.Ir=!0;var a,b,c;a=0;for(b=this.Z.length;a<b;a++)c=this.Z[a],c.Sm&&c.Sm()};a.prototype.SB=function(){this.Ir=!1;var a,b,c;
a=0;for(b=this.Z.length;a<b;a++)c=this.Z[a],c.Tm&&c.Tm()};a.prototype.Ow=function(){if(!this.Bb){var a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.km?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.fe).css(a)}};var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;a.prototype.setSuspended=
function(a){var b;if(a&&!this.mm)for(da("[Construct 2] Suspending"),this.mm=!0,0!==this.bt&&f&&f(this.bt),0!==this.zt&&clearTimeout(this.zt),a=0,b=this.mn.length;a<b;a++)this.mn[a](!0);else if(!a&&this.mm){da("[Construct 2] Resuming");this.mm=!1;this.Uo=Ka();this.ym=Ka();a=this.Bm=this.xo=0;for(b=this.mn.length;a<b;a++)this.mn[a](!1);this.yc()}};a.prototype.Ku=function(a){this.mn.push(a)};a.prototype.load=function(){var a=xb();this.name=a[0];this.sv=a[1];this.pe=a[11];this.tv=a[11];this.Bb&&(4<=a[11]||
0===a[11])&&(da("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.tv=this.pe=3);this.Gt=a[17];this.Am=a[18];0===this.Am&&(this.Gk=new Image,this.Gk.src="loading-logo.png");this.Rm=a[20];this.Og=new D(this);var b,c,d,e,g,h,f,k,m;b=0;for(c=a[2].length;b<c;b++)f=a[2][b],yb(f),m=new f[0](this),m.qt=f[1],m.li=f[2],m.vw=f[9],m.xa&&m.xa(),this.plugins.push(m);a=xb();b=0;for(c=a[3].length;b<c;b++){f=a[3][b];g=f[1];m=null;d=0;for(e=this.plugins.length;d<
e;d++)if(this.plugins[d]instanceof g){m=this.plugins[d];break}var l=new m.jb(m);l.name=f[0];l.la=f[2];l.Dr=f[3].slice(0);l.LC=f[3].length;l.oz=f[4];l.xA=f[5];l.Ra=f[11];l.la?(l.sw=[],l.pg=this.Vl++,l.Lb=null):(l.sw=null,l.pg=-1,l.Lb=[]);l.so=null;l.pk=null;l.ov=null;l.Kf=!1;l.$d=null;f[6]?(l.Jp=f[6][0],l.xt=f[6][1],l.on=f[6][2]):(l.Jp=null,l.xt=0,l.on=0);l.le=f[7]?f[7]:null;l.index=b;l.B=[];l.lo=[];l.Di=[new Xa(l)];l.fh=0;l.lg=null;l.dl=!0;l.Rp=zb;l.CA=Ab;l.HA=Bb;l.tb=Cb;l.bn=Fb;l.up=Gb;l.Oj=Hb;l.zo=
Ib;l.nr=Jb;l.qr=Kb;l.Xh=Lb;l.pa={};l.toString=Mb;l.Bc=[];d=0;for(e=f[8].length;d<e;d++){k=f[8][d];var C=k[1],A=null;g=0;for(h=this.Bc.length;g<h;g++)if(this.Bc[g]instanceof C){A=this.Bc[g];break}A||(A=new C(this),A.Gs=new La,A.xa&&A.xa(),this.Bc.push(A));g=new A.jb(A,l);g.name=k[0];g.Ra=k[2];g.xa();l.Bc.push(g)}l.global=f[9];l.Fr=f[10];l.Ea=[];d=0;for(e=f[12].length;d<e;d++)l.Ea.push({id:f[12][d][0],name:f[12][d][1],pd:-1,He:!0,index:d});this.Gt&&!l.la&&!l.Fr&&m.li||l.xa();l.name&&(this.types[l.name]=
l);this.Z.push(l);m.qt&&(d=new m.Ta(l),d.uid=this.Rm++,d.Tw=this.yw++,d.oj=0,d.dm=Nb,d.toString=Ob,d.V=f[13],d.xa(),l.B.push(d),this.Nj[d.uid.toString()]=d)}b=0;for(c=a[4].length;b<c;b++)for(g=a[4][b],h=this.Z[g[0]],d=1,e=g.length;d<e;d++)f=this.Z[g[d]],f.Lb.push(h),h.sw.push(f);b=0;for(c=a[22].length;b<c;b++){g=a[22][b];h=[];d=0;for(e=g.length;d<e;d++)h.push(this.Z[g[d]]);d=0;for(e=h.length;d<e;d++)h[d].Kf=!0,h[d].$d=h}if(0<this.Vl)for(b=0,c=this.Z.length;b<c;b++)if(f=this.Z[b],!f.la&&f.Lb.length){f.so=
Array(this.Vl);f.pk=Array(this.Vl);f.ov=Array(this.Vl);l=[];d=A=C=k=0;for(e=f.Lb.length;d<e;d++)for(m=f.Lb[d],f.so[m.pg]=k,k+=m.LC,f.pk[m.pg]=C,C+=m.oz,f.ov[m.pg]=A,A+=m.xA,g=0,h=m.Ea.length;g<h;g++)l.push(qa({},m.Ea[g]));f.Ea=l.concat(f.Ea);d=0;for(e=f.Ea.length;d<e;d++)f.Ea[d].index=d}b=0;for(c=a[5].length;b<c;b++)f=a[5][b],d=new Ya(this,f),this.Ek[d.name]=d,this.Nf.push(d);b=0;for(c=a[6].length;b<c;b++)f=a[6][b],d=new Za(this,f),this.cr[d.name]=d,this.hj.push(d);b=0;for(c=this.hj.length;b<c;b++)this.hj[b].wc();
b=0;for(c=this.Pp.length;b<c;b++)this.Pp[b].wc();this.Pp.length=0;this.tf=a[8];this.xe=a[9];this.we=a[10];this.Sn=1;this.Vz=a[12];this.wb=a[13];this.$u=a[14];b=a[16];2===b&&(b=this.Po?1:0);this.KC=0!==b;this.ZA=a[19];this.$B=a[21];this.Hp=Date.now()};a.prototype.vA=function(a){var b,c;b=0;for(c=this.Tg.length;b<c;b++)if(this.Tg[b].uz===a)return this.Tg[b];return null};a.prototype.Qu=function(){var a=0,b=0,c=!0,d,e;d=0;for(e=this.Tg.length;d<e;d++){var g=this.Tg[d].dv;if(!g||0>=g)g=5E4;a+=g;this.Tg[d].complete||
this.Tg[d].loaded?b+=g:c=!1}this.Pj=0==a?0:b/a;return c};a.prototype.go=function(){if(this.rb||this.Y){var a=this.rb||this.Us;this.fe&&this.Ow();this.Pj=0;this.aw=-1;if(this.Qu())this.XA();else{var b=Date.now()-this.Hp,c=1;this.Lo&&(c=this.devicePixelRatio);if(a){if(3!==this.Am&&500<=b&&this.aw!=this.Pj){a.clearRect(0,0,this.width,this.height);var b=this.width/(2*c),c=this.height/(2*c),d=0===this.Am&&this.Gk.complete,e=40,g=0,f=80;d&&(f=this.Gk.width,e=f/2,g=this.Gk.height/2,a.drawImage(this.Gk,ma(b-
e),ma(c-g)));1>=this.Am?(b=ma(b-e)+0.5,c=ma(c+(g+(d?12:0)))+0.5,a.fillStyle="DodgerBlue",a.fillRect(b,c,Math.floor(f*this.Pj),6),a.strokeStyle="black",a.strokeRect(b,c,f,6),a.strokeStyle="white",a.strokeRect(b-1,c-1,f+2,8)):2===this.Am&&(a.font="12pt Arial",a.fillStyle="#999",a.sE="middle",d=Math.round(100*this.Pj)+"%",e=a.measureText?a.measureText(d):null,a.fillText(d,b-(e?e.width:0)/2,c))}this.aw=this.Pj}setTimeout(function(a){return function(){a.go()}}(this),100)}}};a.prototype.XA=function(){this.fe&&
(this.canvas.parentNode.removeChild(this.fe),this.fe=this.Us=null);this.Hp=Date.now();this.ym=Ka();var a,b,c;if(this.Gt)for(a=0,b=this.Z.length;a<b;a++)c=this.Z[a],c.la||c.Fr||!c.zb.li||c.xa();else this.zk=!1;a=0;for(b=this.Nf.length;a<b;a++)this.Nf[a].vz();2<=this.pe&&(a=this.xe/this.we,b=this.width/this.height,this.Sn=2!==this.pe&&b>a||2===this.pe&&b<a?this.height/this.we:this.width/this.xe);this.sv?this.Ek[this.sv].st():this.Nf[0].st();this.Gt||(this.Hk=1,this.trigger(D.prototype.C.gu,null));this.yc();
this.lf&&AppMobi.webview.execute("onGameReady();")};var h=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;a.prototype.yc=function(){if(this.Qa){var a=Ka();if(!this.Bb&&window!=window.top){var b=this.pe;(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.km)&&0<this.jj&&(b=this.jj);if(0<b){var b=window.innerWidth,c=window.innerHeight;
if(this.vj!==b||this.uj!==c)this.vj=b,this.uj=c,this.setSize(b,c)}}this.zk&&(b=this.Qu(),this.Hk=this.Pj,b&&(this.zk=!1,this.Pj=1,this.trigger(D.prototype.C.gu,null)));this.oB();!this.eb&&!this.tg||this.Ir||this.ln||(this.eb=!1,this.Y?this.Id():this.oe(),this.Gp&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Gp[0],this.Gp[1]),this.trigger(D.prototype.C.ky,null)),this.Gp=null));this.kE||(this.yf++,this.Ul++,this.xo++);this.Bm+=Ka()-a;this.mm||(h?this.bt=h(this.wx,this.canvas):this.zt=
setTimeout(this.wx,this.ug?1:16))}};a.prototype.oB=function(){var a,b,c,d,e,g,f,h,k;a=Ka();1E3<=a-this.ym&&(this.ym+=1E3,this.kr=this.xo,this.xo=0,this.Rq=this.Bm,this.Bm=0);this.qw&&(0!==this.Uo&&(b=a-this.Uo,0!==b||this.gB?(this.ei=b/1E3,0.5<this.ei?this.ei=0:0.1<this.ei&&(this.ei=0.1)):(10<=this.uE&&(this.qw=!1),this.ei=1/60)),this.Uo=a);this.Ga=this.ei*this.Gi;this.mf.add(this.Ga);a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.km;
2<=this.pe||a&&0<this.jj?(b=this.xe/this.we,c=this.width/this.height,d=this.pe,a&&0<this.jj&&(d=this.jj),this.Sn=2!==d&&c>b||2===d&&c<b?this.height/this.we:this.width/this.xe,this.Qa&&(this.Qa.bx(this.Qa.scrollX),this.Qa.cx(this.Qa.scrollY))):this.Sn=1;this.sd();this.nh++;this.Og.lC();this.nh--;this.sd();this.nh++;a=0;for(b=this.Z.length;a<b;a++)if(f=this.Z[a],!f.la&&(f.Bc.length||f.Lb.length))for(c=0,d=f.B.length;c<d;c++)for(h=f.B[c],e=0,g=h.Wa.length;e<g;e++)h.Wa[e].yc();a=0;for(b=this.Z.length;a<
b;a++)if(f=this.Z[a],!f.la&&(f.Bc.length||f.Lb.length))for(c=0,d=f.B.length;c<d;c++)for(h=f.B[c],e=0,g=h.Wa.length;e<g;e++)k=h.Wa[e],k.cC&&k.cC();c=this.Is.il();a=0;for(b=c.length;a<b;a++)c[a].yc();this.nh--;this.YA();for(a=0;this.aj&&10>a++;)this.lv(this.aj);a=0;for(b=this.hj.length;a<b;a++)this.hj[a].xr=!1;this.Qa.po&&this.Qa.po.Hc();this.xp.length=0;this.nh++;a=0;for(b=this.Z.length;a<b;a++)if(f=this.Z[a],!f.la&&(f.Bc.length||f.Lb.length))for(c=0,d=f.B.length;c<d;c++)for(h=f.B[c],e=0,g=h.Wa.length;e<
g;e++)k=h.Wa[e],k.yt&&k.yt();c=this.Js.il();a=0;for(b=c.length;a<b;a++)c[a].yt();this.nh--};a.prototype.lv=function(a){var b=this.Qa;this.Qa.yC();var c,d,e,g,f,h,k;if(this.Y)for(c=0,d=this.Z.length;c<d;c++)f=this.Z[c],f.la||!f.Qp||f.global&&0!==f.B.length||-1!==a.gm.indexOf(f)||f.Qp();b==a&&(this.Og.ge.length=0);a.st();c=0;for(d=this.Z.length;c<d;c++)if(f=this.Z[c],f.global||f.zb.qt)for(a=0,b=f.B.length;a<b;a++)if(h=f.B[a],h.Ns&&h.Ns(),h.Wa)for(e=0,g=h.Wa.length;e<g;e++)k=h.Wa[e],k.Ns&&k.Ns();this.eb=
!0;this.sd()};a.prototype.fl=function(a){this.Is.add(a)};a.prototype.CC=function(a){this.Js.add(a)};a.prototype.Ao=function(a){return a&&-1!==a.Qm?this.ei*a.Qm:this.Ga};a.prototype.oe=function(){this.Qa.oe(this.rb);this.lf&&this.rb.present()};a.prototype.Id=function(){this.Qa.Id(this.Y);this.Y.dC()};a.prototype.Dq=function(a){a&&this.oo.push(a)};a.prototype.iC=function(a){ua(this.oo,a)};a.prototype.kj=function(a){return this.Nj[a.toString()]};a.prototype.Ki=function(a){var b,c;if(!this.kg.contains(a)){this.kg.add(a);
if(a.Kf)for(b=0,c=a.siblings.length;b<c;b++)this.Ki(a.siblings[b]);this.Er&&this.kg.Vj.push(a);this.nh++;this.trigger(Object.getPrototypeOf(a.type.zb).C.my,a);this.nh--}};a.prototype.sd=function(){var a,b,c,d,e,g,f,h,k,l;this.Er=!0;d=0;for(g=this.Ke.length;d<g;d++)for(a=this.Ke[d],b=a.type,b.B.push(a),e=0,f=b.Lb.length;e<f;e++)b.Lb[e].B.push(a),b.Lb[e].dl=!0;this.Ke.length=0;g=this.kg.il();for(d=0;d<g.length;d++){a=g[d];b=a.type;c=b.B;e=0;for(f=this.oo.length;e<f;e++)this.oo[e](a);ua(c,a);a.K&&(sa(a.K.B,
a.Me()),a.K.Ee=!0);e=0;for(f=b.Lb.length;e<f;e++)ua(b.Lb[e].B,a),b.Lb[e].dl=!0;if(a.Wa)for(e=0,f=a.Wa.length;e<f;e++)c=a.Wa[e],c.Fg&&c.Fg(),c.Jb.Gs.remove(a);this.Is.remove(a);this.Js.remove(a);e=0;for(f=this.Og.ge.length;e<f;e++)if(k=this.Og.ge[e],k.Xd.hasOwnProperty(b.index)&&ua(k.Xd[b.index].kh,a),!b.la)for(c=0,h=b.Lb.length;c<h;c++)l=b.Lb[c],k.Xd.hasOwnProperty(l.index)&&ua(k.Xd[l.index].kh,a);a.Fg&&a.Fg();this.Nj.hasOwnProperty(a.uid.toString())&&delete this.Nj[a.uid.toString()];this.lp--;64>
b.lo.length&&b.lo.push(a);b.dl=!0}this.kg.jm()||(this.eb=!0);this.kg.clear();this.Er=!1};var k=[];a.prototype.ej=function(a,b,c,d,e,g){var f,h,l,m;if(!a)return null;var F=this.Z[a[1]],C=F.zb.li;if(this.zk&&C&&!F.Fr||C&&!this.Y&&11===a[0][11])return null;var A=b;C||(b=null);var t;F.lo.length?(t=F.lo.pop(),t.ze=!0,F.zb.Ta.call(t,F)):(t=new F.zb.Ta(F),t.ze=!1);t.uid=c&&!g?a[2]:this.Rm++;this.Nj[t.uid.toString()]=t;t.Tw=this.yw++;t.oj=F.B.length;f=0;for(h=this.Ke.length;f<h;++f)this.Ke[f].type===F&&t.oj++;
t.dm=Nb;l=a[3];if(t.ze)Ja(t.pa);else{t.pa={};if("undefined"!==typeof cr_is_preview)for(t.Nv=[],t.Nv.length=l.length,f=0,h=l.length;f<h;f++)t.Nv[f]=l[f][1];t.Qc=[];t.Qc.length=l.length}f=0;for(h=l.length;f<h;f++)t.Qc[f]=l[f][0];if(C){var x=a[0];t.x=ea(d)?x[0]:d;t.y=ea(e)?x[1]:e;t.z=x[2];t.width=x[3];t.height=x[4];t.depth=x[5];t.M=x[6];t.opacity=x[7];t.Md=x[8];t.Nd=x[9];t.Yd=x[10];f=x[11];!this.Y&&F.Ea.length&&(t.Yd=f);t.Rl=Ra(t.Yd);this.ja&&Sa(t,t.Yd,this.ja);if(t.ze){f=0;for(h=x[12].length;f<h;f++)for(l=
0,m=x[12][f].length;l<m;l++)t.lc[f][l]=x[12][f][l];t.Va.set(0,0,0,0);t.ub.nt(t.Va);t.Un.length=0}else{t.lc=x[12].slice(0);f=0;for(h=t.lc.length;f<h;f++)t.lc[f]=x[12][f].slice(0);t.kb=[];t.Vh=[];t.Vh.length=F.Ea.length;t.Va=new oa(0,0,0,0);t.ub=new pa;t.Un=[];t.xc=Pb;t.cE=Qb;t.ef=Rb;t.Jc=Sb;t.Me=Tb}f=0;for(h=F.Ea.length;f<h;f++)t.Vh[f]=!0;t.Oh=Ub;t.Oh();t.Hx=!!t.kb.length;t.Gq=!0;t.visible=!0;t.Qm=-1;t.K=b;t.Wj=b.B.length;"undefined"===typeof t.lb&&(t.lb=null);this.eb=t.di=!0}t.toString=Ob;var I;f=
k.length=0;for(h=F.Lb.length;f<h;f++)k.push.apply(k,F.Lb[f].Bc);k.push.apply(k,F.Bc);if(t.ze)for(f=0,h=k.length;f<h;f++){var R=k[f];I=t.Wa[f];I.ze=!0;R.Jb.Ta.call(I,R,t);x=a[4][f];l=0;for(m=x.length;l<m;l++)I.V[l]=x[l];I.xa();R.Jb.Gs.add(t)}else for(t.Wa=[],f=0,h=k.length;f<h;f++)R=k[f],I=new R.Jb.Ta(R,t),I.ze=!1,I.V=a[4][f].slice(0),I.xa(),t.Wa.push(I),R.Jb.Gs.add(t);x=a[5];if(t.ze)for(f=0,h=x.length;f<h;f++)t.V[f]=x[f];else t.V=x.slice(0);this.Ke.push(t);b&&b.B.push(t);this.lp++;if(F.Kf){if(t.Kf=
!0,t.ze?t.siblings.length=0:t.siblings=[],!c&&!g){f=0;for(h=F.$d.length;f<h;f++)if(F.$d[f]!==F){if(!F.$d[f].lg)return null;t.siblings.push(this.ej(F.$d[f].lg,A,!1,C?t.x:d,C?t.y:e,!0))}f=0;for(h=t.siblings.length;f<h;f++)for(t.siblings[f].siblings.push(t),l=0;l<h;l++)f!==l&&t.siblings[f].siblings.push(t.siblings[l])}}else t.Kf=!1,t.siblings=null;t.xa();f=0;for(h=t.Wa.length;f<h;f++)t.Wa[f].Pw&&t.Wa[f].Pw();return t};a.prototype.am=function(a){var b,c;b=0;for(c=this.Qa.Ya.length;b<c;b++){var d=this.Qa.Ya[b];
if(Ua(d.name,a))return d}return null};a.prototype.ih=function(a){a=ma(a);0>a&&(a=0);a>=this.Qa.Ya.length&&(a=this.Qa.Ya.length-1);return this.Qa.Ya[a]};a.prototype.Mq=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].tb().Gb=!0};a.prototype.bn=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].bn()};a.prototype.up=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].up()};a.prototype.Oj=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Oj()};a.prototype.tx=function(a,b,c){var d=a.tb(),e,f,g,h,
k,l;if(d.Gb)for(d.Gb=!1,e=d.B.length=0,h=a.B.length;e<h;e++)g=a.B[e],g.Jc(),k=g.K.kd(b,c,!0),l=g.K.kd(b,c,!1),g.ef(k,l)&&d.B.push(g);else{e=f=0;for(h=d.B.length;e<h;e++)g=d.B[e],g.Jc(),k=g.K.kd(b,c,!0),l=g.K.kd(b,c,!1),g.ef(k,l)&&(d.B[f]=d.B[e],f++);d.B.length=f}a.Xh();return d.ur()};a.prototype.BC=function(a,b){if(!(a&&b&&a!==b&&a.di&&b.di))return!1;a.Jc();b.Jc();var c=a.K,d=b.K,e,f,g,h,k,l;if(c===d||c.Ve===d.Ve&&d.We===d.We&&c.scale===d.scale&&c.M===d.M&&c.Cd===d.Cd){if(!a.Va.cB(b.Va)||!a.ub.bB(b.ub))return!1;
k=a.lb&&!a.lb.xk();e=b.lb&&!b.lb.xk();if(!k&&!e)return!0;k?(a.lb.gk(a.width,a.height,a.M),k=a.lb):(this.Qj.Fp(a.ub,a.x,a.y,a.width,a.height),k=this.Qj);e?(b.lb.gk(b.width,b.height,b.M),l=b.lb):(this.Qj.Fp(b.ub,b.x,b.y,b.width,b.height),l=this.Qj);return k.Ov(l,b.x-a.x,b.y-a.y)}k=a.lb&&!a.lb.xk();e=b.lb&&!b.lb.xk();k?(a.lb.gk(a.width,a.height,a.M),this.Qj.ix(a.lb)):this.Qj.Fp(a.ub,a.x,a.y,a.width,a.height);k=this.Qj;e?(b.lb.gk(b.width,b.height,b.M),this.ut.ix(b.lb)):this.ut.Fp(b.ub,b.x,b.y,b.width,
b.height);l=this.ut;e=0;for(f=k.Hg;e<f;e++)g=k.od[2*e],h=k.od[2*e+1],k.od[2*e]=c.fb(g+a.x,h+a.y,!0),k.od[2*e+1]=c.fb(g+a.x,h+a.y,!1);e=0;for(f=l.Hg;e<f;e++)g=l.od[2*e],h=l.od[2*e+1],l.od[2*e]=d.fb(g+b.x,h+b.y,!0),l.od[2*e+1]=d.fb(g+b.x,h+b.y,!1);return k.Ov(l,0,0)};new pa;new oa(0,0,0,0);a.prototype.Bx=function(a,b){if(!b)return!1;var c,d,e,f,g;c=0;for(d=a.Bc.length;c<d;c++)if(a.Bc[c].Jb instanceof b)return!0;if(!a.la)for(c=0,d=a.Lb.length;c<d;c++)for(g=a.Lb[c],e=0,f=g.Bc.length;e<f;e++)if(g.Bc[e].Jb instanceof
b)return!0;return!1};a.prototype.Cx=function(a){return this.Bx(a,pb.wD)};a.prototype.Dt=function(a){return this.Bx(a,pb.xD)};a.prototype.hC=function(a,b){a.di&&b.di&&this.xp.push([a,b])};a.prototype.tz=function(a,b){var c,d,e;c=0;for(d=this.xp.length;c<d;c++)if(e=this.xp[c],e[0]==a&&e[1]==b||e[0]==b&&e[1]==a)return!0;return!1};var l=[],m=-1;a.prototype.trigger=function(a,b,c){if(!this.Qa)return!1;var d=this.Qa.po;if(!d)return!1;m++;m===l.length?l.push(new La):l[m].clear();a=this.zx(a,b,d,c);m--;return a};
a.prototype.zx=function(a,b,c,d){var e=l[m];if(e.contains(c))return!1;e.add(c);var e=c.Iv.il(),f=!1,g,h,k;g=0;for(h=e.length;g<h;g++)e[g].eB()&&(k=this.zx(a,b,e[g].fm,d),f=f||k);if(b)for(k=this.Bt(a,b,b.type.name,c,d),f=f||k,g=0,h=b.type.Lb.length;g<h;g++)k=this.Bt(a,b,b.type.Lb[g].name,c,d),f=f||k;else k=this.Bt(a,b,"system",c,d),f=f||k;return f};a.prototype.Bt=function(a,b,c,d,e){var f,g=!1,h=!1,h="undefined"!==typeof e,k=(h?d.qv:d.Ax)[c];if(!k)return g;var l=null;d=0;for(f=k.length;d<f;d++)if(k[d].method==
a){l=k[d].ro;break}if(!l)return g;a=h?l[e]:l;if(!a)return null;d=0;for(f=a.length;d<f;d++)e=a[d][0],h=a[d][1],h=this.tA(b,c,e,h),g=g||h;return g};a.prototype.tA=function(a,b,c,d){var e,f,g=!1;this.Ct++;var h=this.Kd().ne;h&&this.bn(h.Bi);var k=1<this.Ct;this.bn(c.Bi);k&&this.fC();var l=this.vp(c);l.ne=c;a&&(e=this.types[b].tb(),e.Gb=!1,e.B.length=1,e.B[0]=a,this.types[b].Xh());a=!0;if(c.parent){b=l.rx;for(e=c.parent;e;)b.push(e),e=e.parent;b.reverse();e=0;for(f=b.length;e<f;e++)if(!b[e].nC()){a=!1;
break}}a&&(this.Ul++,c.Tf?c.mC(d):c.Hc(),g=g||l.Dk);this.pp();k&&this.bC();this.Oj(c.Bi);h&&this.Oj(h.Bi);0!==this.nh||0!==m||this.Gr||this.kg.jm()&&!this.Ke.length||this.sd();this.Ct--;return g};a.prototype.vv=function(){var a=this.Kd();return a.ne.hc[a.Nc]};a.prototype.fC=function(){this.$o++;this.$o>=this.es.length&&this.es.push([])};a.prototype.bC=function(){this.$o--};a.prototype.wv=function(){return this.es[this.$o]};a.prototype.vp=function(a){this.qo++;this.qo>=this.br.length&&this.br.push(new $a);
var b=this.Kd();b.reset(a);return b};a.prototype.pp=function(){this.qo--};a.prototype.Kd=function(){return this.br[this.qo]};a.prototype.xv=function(a,b){for(var c,d,e,f,g,h;b;){c=0;for(d=b.xf.length;c<d;c++)if(h=b.xf[c],h instanceof ab&&Ua(a,h.name))return h;b=b.parent}c=0;for(d=this.hj.length;c<d;c++)for(g=this.hj[c],e=0,f=g.hi.length;e<f;e++)if(h=g.hi[e],h instanceof ab&&Ua(a,h.name))return h;return null};a.prototype.yv=function(a){var b,c;b=0;for(c=this.Nf.length;b<c;b++)if(this.Nf[b].Ra===a)return this.Nf[b];
return null};a.prototype.Eo=function(a){var b,c;b=0;for(c=this.Z.length;b<c;b++)if(this.Z[b].Ra===a)return this.Z[b];return null};a.prototype.DA=function(a){var b,c;b=0;for(c=this.Wh.length;b<c;b++)if(this.Wh[b].Ra===a)return this.Wh[b];return null};a.prototype.YA=function(){var a=this,c=this.kt,f=this.qh,g=this.Xo,h=!1;this.mx&&(h=!0,c="__c2_continuouspreview",this.mx=!1);if(c.length){this.sd();f=this.sC();if(window.indexedDB&&!this.tg)b(c,f,function(){da("Saved state to IndexedDB storage ("+f.length+
" bytes)");a.qh=f;a.trigger(D.prototype.C.mq,null);a.qh="";h&&e()},function(b){try{localStorage.setItem("__c2save_"+c,f),da("Saved state to WebStorage ("+f.length+" bytes)"),a.qh=f,a.trigger(D.prototype.C.mq,null),a.qh="",h&&e()}catch(d){da("Failed to save game state: "+b+"; "+d)}});else try{localStorage.setItem("__c2save_"+c,f),da("Saved state to WebStorage ("+f.length+" bytes)"),a.qh=f,this.trigger(D.prototype.C.mq,null),a.qh="",h&&e()}catch(k){da("Error saving to WebStorage: "+k)}this.Qd=this.Xo=
this.kt=""}g.length&&(window.indexedDB&&!this.tg?d(g,function(b){b?(a.Qd=b,da("Loaded state from IndexedDB storage ("+a.Qd.length+" bytes)")):(a.Qd=localStorage.getItem("__c2save_"+g)||"",da("Loaded state from WebStorage ("+a.Qd.length+" bytes)"));a.ln=!1;a.Qd.length||a.trigger(D.prototype.C.lq,null)},function(){a.Qd=localStorage.getItem("__c2save_"+g)||"";da("Loaded state from WebStorage ("+a.Qd.length+" bytes)");a.ln=!1;a.Qd.length||a.trigger(D.prototype.C.lq,null)}):(this.Qd=localStorage.getItem("__c2save_"+
g)||"",da("Loaded state from WebStorage ("+this.Qd.length+" bytes)"),this.ln=!1,a.Qd.length||a.trigger(D.prototype.C.lq,null)),this.kt=this.Xo="");this.Qd.length&&(this.sd(),this.nB(this.Qd),this.qh=this.Qd,this.trigger(D.prototype.C.ty,null),this.Qd=this.qh="")};a.prototype.sC=function(){var a,b,c,d,e,f,h,k={c2save:!0,version:1,rt:{time:this.mf.Ic,timescale:this.Gi,tickcount:this.yf,execcount:this.Ul,next_uid:this.Rm,running_layout:this.Qa.Ra,start_time_offset:Date.now()-this.Hp},types:{},layouts:{},
events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(b=this.Z.length;a<b;a++)if(e=this.Z[a],!e.la&&!this.Cx(e)){f={instances:[]};Ia(e.pa)&&(f.ex=g(e.pa));c=0;for(d=e.B.length;c<d;c++)f.instances.push(this.ax(e.B[c]));k.types[e.Ra.toString()]=f}a=0;for(b=this.Nf.length;a<b;a++)c=this.Nf[a],k.layouts[c.Ra.toString()]=c.Ad();d=k.events.groups;a=0;for(b=this.Wh.length;a<b;a++)c=this.Wh[a],d[c.Ra.toString()]=!!this.Nl[c.sk];b=k.events.cnds;for(h in this.kk)this.kk.hasOwnProperty(h)&&(a=this.kk[h],Ia(a.pa)&&
(b[h]={ex:g(a.pa)}));b=k.events.acts;for(h in this.dk)this.dk.hasOwnProperty(h)&&(a=this.dk[h],Ia(a.pa)&&(b[h]={ex:a.pa}));b=k.events.vars;for(h in this.jl)this.jl.hasOwnProperty(h)&&(a=this.jl[h],a.Mo||a.parent&&!a.nm||(b[h]=a.data));k.system=this.Og.Ad();return JSON.stringify(k)};a.prototype.Ww=function(){var a,b,c,d,e,f;this.Nj={};a=0;for(b=this.Z.length;a<b;a++)if(c=this.Z[a],!c.la)for(d=0,e=c.B.length;d<e;d++)f=c.B[d],this.Nj[f.uid.toString()]=f};a.prototype.nB=function(a){a=JSON.parse(a);if(a.c2save&&
!(1<a.version)){var b=a.rt;this.mf.reset();this.mf.Ic=b.time;this.Gi=b.timescale;this.yf=b.tickcount;this.Ul=b.execcount;this.Hp=Date.now()-b.start_time_offset;var c=b.running_layout;if(c!==this.Qa.Ra)if(c=this.yv(c))this.lv(c);else return;var d,e,f,g,h,k,l;k=a.types;for(e in k)if(k.hasOwnProperty(e)&&(g=this.Eo(parseInt(e,10)))&&!g.la&&!this.Cx(g)){k[e].ex?g.pa=k[e].ex:Ja(g.pa);h=g.B;f=k[e].instances;c=0;for(d=ka(h.length,f.length);c<d;c++)this.Zr(h[c],f[c]);c=f.length;for(d=h.length;c<d;c++)this.Ki(h[c]);
c=h.length;for(d=f.length;c<d;c++){h=null;if(g.zb.li&&(h=this.Qa.Do(f[c].w.l),!h))continue;h=this.ej(g.lg,h,!1,0,0,!0);this.Zr(h,f[c])}g.dl=!0}this.sd();this.Ww();d=a.layouts;for(e in d)d.hasOwnProperty(e)&&(c=this.yv(parseInt(e,10)))&&c.de(d[e]);d=a.events.groups;for(e in d)d.hasOwnProperty(e)&&(c=this.DA(parseInt(e,10)))&&(this.Nl[c.sk]=d[e]);c=a.events.cnds;for(e in c)c.hasOwnProperty(e)&&this.kk.hasOwnProperty(e)&&(this.kk[e].pa=c[e].ex);c=a.events.acts;for(e in c)c.hasOwnProperty(e)&&this.dk.hasOwnProperty(e)&&
(this.dk[e].pa=c[e].ex);c=a.events.vars;for(e in c)c.hasOwnProperty(e)&&this.jl.hasOwnProperty(e)&&(this.jl[e].data=c[e]);this.Rm=b.next_uid;this.Og.de(a.system);c=0;for(d=this.Z.length;c<d;c++)if(g=this.Z[c],!g.la)for(e=0,a=g.B.length;e<a;e++){h=g.B[e];if(g.Kf)for(k=h.dm(),b=h.siblings.length=0,f=g.$d.length;b<f;b++)l=g.$d[b],g!==l&&h.siblings.push(l.B[k]);h.ek&&h.ek();if(h.Wa)for(b=0,f=h.Wa.length;b<f;b++)k=h.Wa[b],k.ek&&k.ek()}this.eb=!0}};a.prototype.ax=function(a){var b,c,d,e,f;e=a.type;d=e.zb;
var h={uid:a.uid};Ia(a.pa)&&(h.ex=g(a.pa));if(a.Qc&&a.Qc.length)for(h.ivs={},b=0,c=a.Qc.length;b<c;b++)h.ivs[a.type.Dr[b].toString()]=a.Qc[b];if(d.li){d={x:a.x,y:a.y,w:a.width,h:a.height,l:a.K.Ra,zi:a.Me()};0!==a.M&&(d.a=a.M);1!==a.opacity&&(d.o=a.opacity);0.5!==a.Md&&(d.hX=a.Md);0.5!==a.Nd&&(d.hY=a.Nd);0!==a.Yd&&(d.bm=a.Yd);a.visible||(d.v=a.visible);a.di||(d.ce=a.di);-1!==a.Qm&&(d.mts=a.Qm);if(e.Ea.length)for(d.fx=[],b=0,c=e.Ea.length;b<c;b++)f=e.Ea[b],d.fx.push({name:f.name,active:a.Vh[f.index],
params:a.lc[f.index]});h.w=d}if(a.Wa&&a.Wa.length)for(h.behs={},b=0,c=a.Wa.length;b<c;b++)e=a.Wa[b],e.Ad&&(h.behs[e.type.Ra.toString()]=e.Ad());a.Ad&&(h.data=a.Ad());return h};a.prototype.FA=function(a,b){var c,d;c=0;for(d=a.Dr.length;c<d;c++)if(a.Dr[c]===b)return c;return-1};a.prototype.BA=function(a,b){var c,d;c=0;for(d=a.Wa.length;c<d;c++)if(a.Wa[c].type.Ra===b)return c;return-1};a.prototype.Zr=function(a,b){var c,d,e,f,g,h;h=a.type;e=h.zb;a.uid=b.uid;b.ex?a.pa=b.ex:Ja(a.pa);if(d=b.ivs)for(c in d)d.hasOwnProperty(c)&&
(f=this.FA(h,parseInt(c,10)),0>f||f>=a.Qc.length||(a.Qc[f]=d[c]));if(e.li){f=b.w;a.K.Ra!==f.l&&(d=a.K,a.K=this.Qa.Do(f.l),a.K?(a.K.B.push(a),a.K.Ee=!0,ua(d.B,a),d.Ee=!0):(a.K=d,this.Ki(a)));a.x=f.x;a.y=f.y;a.width=f.w;a.height=f.h;a.Wj=f.zi;a.M=f.hasOwnProperty("a")?f.a:0;a.opacity=f.hasOwnProperty("o")?f.o:1;a.Md=f.hasOwnProperty("hX")?f.hX:0.5;a.Nd=f.hasOwnProperty("hY")?f.hY:0.5;a.visible=f.hasOwnProperty("v")?f.v:!0;a.di=f.hasOwnProperty("ce")?f.ce:!0;a.Qm=f.hasOwnProperty("mts")?f.mts:-1;a.Yd=
f.hasOwnProperty("bm")?f.bm:0;a.Rl=Ra(a.Yd);this.ja&&Sa(a,a.Yd,this.ja);a.xc();if(f.hasOwnProperty("fx"))for(d=0,e=f.fx.length;d<e;d++)g=h.qr(f.fx[d].name),0>g||(a.Vh[g]=f.fx[d].active,a.lc[g]=f.fx[d].params);a.Oh()}if(h=b.behs)for(c in h)h.hasOwnProperty(c)&&(f=this.BA(a,parseInt(c,10)),0>f||a.Wa[f].de(h[c]));b.data&&a.de(b.data)};bb=function(b){return new a(document.getElementById(b))};cb=function(b,c){return new a({dc:!0,width:b,height:c})};window.cr_createRuntime=bb;window.cr_createDCRuntime=
cb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var b=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(b);b=new a(b);window.c2runtime=b;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return b}})();
window.cr_getC2Runtime=function(){var a=document.getElementById("c2canvas");return a?a.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(a,c){if(0!==a&&0!==c){var b=window.cr_getC2Runtime();b&&b.setSize(a,c)}};window.cr_setSuspended=function(a){var c=window.cr_getC2Runtime();c&&c.setSuspended(a)};
(function(){function a(a,b){this.g=a;this.po=null;this.scrollX=this.g.xe/2;this.scrollY=this.g.we/2;this.scale=1;this.M=0;this.Xl=!0;this.name=b[0];this.width=b[1];this.height=b[2];this.Dx=b[3];this.kx=b[4];this.Ra=b[5];var c=b[6],d,k;this.Ya=[];this.gm=[];d=0;for(k=c.length;d<k;d++){var l=new db(this,c[d]);l.Aw=d;this.Ya.push(l)}c=b[7];this.pj=[];d=0;for(k=c.length;d<k;d++){var l=c[d],m=this.g.Z[l[1]];m.lg||(m.lg=l);this.pj.push(l);-1===this.gm.indexOf(m)&&this.gm.push(m)}this.Ea=[];this.kb=[];this.lc=
[];d=0;for(k=b[8].length;d<k;d++)this.Ea.push({id:b[8][d][0],name:b[8][d][1],pd:-1,He:!0,index:d}),this.lc.push(b[8][d][2].slice(0));this.Oh();this.yi=new oa(0,0,1,1);this.ct=new oa(0,0,1,1);this.wi={}}function c(a,b){this.Cb=a;this.g=a.g;this.B=[];this.scale=1;this.M=0;this.fj=!1;this.Nh=new oa(0,0,0,0);this.xx=new pa;this.Ae=this.De=this.Ce=this.Be=0;this.Ee=!1;this.name=b[0];this.index=b[1];this.Ra=b[2];this.visible=b[3];this.Zh=b[4];this.Tj=b[5];this.Ve=b[6];this.We=b[7];this.opacity=b[8];this.jr=
b[9];this.Cd=b[10];this.Yd=b[11];this.Uz=b[12];this.Rl="source-over";this.md=this.qd=0;this.Ai=!1;var c=b[13],d,k;this.tk=[];d=0;for(k=c.length;d<k;d++){var l=c[d],m=this.g.Z[l[1]];m.lg||(m.lg=l);this.tk.push(l);-1===this.Cb.gm.indexOf(m)&&this.Cb.gm.push(m)}this.Ea=[];this.kb=[];this.lc=[];d=0;for(k=b[14].length;d<k;d++)this.Ea.push({id:b[14][d][0],name:b[14][d][1],pd:-1,He:!0,index:d}),this.lc.push(b[14][d][2].slice(0));this.Oh();this.yi=new oa(0,0,1,1);this.ct=new oa(0,0,1,1)}function b(a,b){return a.Wj-
b.Wj}a.prototype.rC=function(a){var b=a.type.Ra.toString();this.wi.hasOwnProperty(b)||(this.wi[b]=[]);this.wi[b].push(this.g.ax(a))};a.prototype.Fv=function(){var a=this.Ya[0];return!a.Tj&&1===a.opacity&&!a.jr&&a.visible};a.prototype.Oh=function(){this.kb.length=0;var a,b,c;a=0;for(b=this.Ea.length;a<b;a++)c=this.Ea[a],c.He&&this.kb.push(c)};a.prototype.or=function(a){var b,c,d;b=0;for(c=this.Ea.length;b<c;b++)if(d=this.Ea[b],d.name===a)return d;return null};var d=[];a.prototype.st=function(){this.kx&&
(this.po=this.g.cr[this.kx]);this.g.Qa=this;this.scrollX=this.g.xe/2;this.scrollY=this.g.we/2;var a,c,f,h,k,l,m;a=0;for(f=this.g.Z.length;a<f;a++)if(c=this.g.Z[a],!c.la)for(k=c.B,c=0,h=k.length;c<h;c++)if(l=k[c],l.K){var n=l.K.Aw;n>=this.Ya.length&&(n=this.Ya.length-1);l.K=this.Ya[n];l.K.B.push(l);l.K.Ee=!0}d.length=0;this.pz();a=0;for(f=this.Ya.length;a<f;a++)l=this.Ya[a],l.wz(),l.fj=!0,c=l.kd(0,0,!0),h=l.kd(0,0,!1),l.fj=!1,this.g.tf&&(c=c+0.5|0,h=h+0.5|0),l.gt(c,h,null);k=!1;if(!this.Xl){for(m in this.wi)if(this.wi.hasOwnProperty(m)&&
(c=this.g.Eo(parseInt(m,10)))&&!c.la&&this.g.Dt(c)){h=this.wi[m];a=0;for(f=h.length;a<f;a++){l=null;if(c.zb.li&&(l=this.Do(h[a].w.l),!l))continue;l=this.g.ej(c.lg,l,!1,0,0,!0);this.g.Zr(l,h[a]);k=!0;d.push(l)}h.length=0}a=0;for(f=this.Ya.length;a<f;a++)this.Ya[a].B.sort(b),this.Ya[a].Ee=!0}k&&(this.g.sd(),this.g.Ww());for(a=0;a<d.length;a++)if(l=d[a],l.type.Kf)for(f=l.dm(),c=0,h=l.type.$d.length;c<h;c++)m=l.type.$d[c],l.type!==m&&(m.B.length>f?l.siblings.push(m.B[f]):m.lg&&(k=this.g.ej(m.lg,l.K,!0,
l.x,l.y,!0),this.g.sd(),m.Rp(),l.siblings.push(k),d.push(k)));a=0;for(f=this.pj.length;a<f;a++)this.g.ej(this.pj[a],null,!0);this.g.aj=null;this.g.sd();if(this.g.rb&&!this.g.Bb)for(a=0,f=this.g.Z.length;a<f;a++)m=this.g.Z[a],!m.la&&m.B.length&&m.sp&&m.sp(this.g.rb);a=0;for(f=d.length;a<f;a++)l=d[a],this.g.trigger(Object.getPrototypeOf(l.type.zb).C.ly,l);d.length=0;this.g.trigger(D.prototype.C.ry,null);this.Xl=!1};a.prototype.vz=function(){var a,b,c,d,k;b=a=0;for(c=this.pj.length;a<c;a++)d=this.pj[a],
k=this.g.Z[d[1]],k.global?this.g.ej(d,null,!0):(this.pj[b]=d,b++);this.pj.length=b};a.prototype.yC=function(){this.g.trigger(D.prototype.C.qy,null);this.g.Og.ge.length=0;var a,b,c,d,k,l;a=0;for(b=this.Ya.length;a<b;a++){k=this.Ya[a].B;c=0;for(d=k.length;c<d;c++)l=k[c],l.type.global||(this.g.Dt(l.type)&&this.rC(l),this.g.Ki(l));this.g.sd();k.length=0;this.Ya[a].Ee=!0}a=0;for(b=this.g.Z.length;a<b;a++)if(k=this.g.Z[a],!(k.global||k.zb.li||k.zb.qt||k.la)){c=0;for(d=k.B.length;c<d;c++)this.g.Ki(k.B[c]);
this.g.sd()}};a.prototype.oe=function(a){a.globalAlpha=1;a.globalCompositeOperation="source-over";this.g.$u&&!this.Fv()&&a.clearRect(0,0,this.g.width,this.g.height);var b,c,d;b=0;for(c=this.Ya.length;b<c;b++)d=this.Ya[b],d.visible&&0<d.opacity&&11!==d.Yd&&d.oe(a)};a.prototype.Id=function(a){var b=0<this.kb.length||this.g.hl;if(b){this.g.Mf||(this.g.Mf=a.Hf(this.g.width,this.g.height,this.g.wb));if(this.g.Mf.Pl!==this.g.width||this.g.Mf.Ol!==this.g.height)a.deleteTexture(this.g.Mf),this.g.Mf=a.Hf(this.g.width,
this.g.height,this.g.wb);a.Kh(this.g.Mf)}this.g.$u&&!this.Fv()&&a.clear(0,0,0,0);var c,d;c=0;for(d=this.Ya.length;c<d;c++)this.Ya[c].visible&&0<this.Ya[c].opacity&&this.Ya[c].Id(a);b&&(1>=this.kb.length?(1===this.kb.length?(b=this.kb[0].index,a.Ng(this.kb[0].pd),a.al(null,1/this.g.width,1/this.g.height,0,0,1,1,this.scale,this.lc[b]),a.tp(this.kb[0].pd)&&(this.g.eb=!0)):a.Ng(0),a.Kh(null),a.Jh(1),a.Wd(this.g.Mf),a.dx(),a.Kg(),a.Rg(),b=this.g.width/2,c=this.g.height/2,a.cn(-b,c,b,c,b,-c,-b,-c),a.Wd(null)):
this.et(a,null,null,null))};a.prototype.cm=function(){return 0<this.kb.length||this.g.hl?this.g.Mf:null};a.prototype.zv=function(){var a=this.Ya[0].Ld(),b,c,d;b=1;for(c=this.Ya.length;b<c;b++)d=this.Ya[b],(0!==d.Ve||0!==d.We)&&d.Ld()<a&&(a=d.Ld());return a};a.prototype.bx=function(a){if(!this.Dx){var b=this.g.width*(1/this.zv())/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.g.eb=!0)};a.prototype.cx=function(a){if(!this.Dx){var b=this.g.height*(1/this.zv())/2;
a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.g.eb=!0)};a.prototype.pz=function(){this.bx(this.scrollX);this.cx(this.scrollY)};a.prototype.et=function(a,b,c,d){var k=c?c.kb:b?b.kb:this.kb,l=c?c.K.Ld():b?b.Ld():1,m=this.g.lr,n,p,v,r,s=0,y=1,G,H=this.g.width,L=this.g.height,z=H/2,F=L/2,C=b?b.yi:this.yi,A=b?b.ct:this.ct,t=0,x=0,I=0,R=0,P=H,N=H,J=L,W=L,Q=v=0,M=c?c.K.be():0;if(c){n=0;for(p=k.length;n<p;n++)v+=a.IA(k[n].pd),Q+=a.JA(k[n].pd);r=c.Va;t=b.fb(r.left,r.top,
!0);I=b.fb(r.left,r.top,!1);P=b.fb(r.right,r.bottom,!0);J=b.fb(r.right,r.bottom,!1);0!==M&&(n=b.fb(r.right,r.top,!0),p=b.fb(r.right,r.top,!1),x=b.fb(r.left,r.bottom,!0),R=b.fb(r.left,r.bottom,!1),r=Math.min(t,P,n,x),P=Math.max(t,P,n,x),t=r,r=Math.min(I,J,p,R),J=Math.max(I,J,p,R),I=r);t-=v;I-=Q;P+=v;J+=Q;A.left=t/H;A.top=1-I/L;A.right=P/H;A.bottom=1-J/L;x=t=Math.floor(t);R=I=Math.floor(I);N=P=Math.ceil(P);W=J=Math.ceil(J);x-=v;R-=Q;N+=v;W+=Q;0>t&&(t=0);0>I&&(I=0);P>H&&(P=H);J>L&&(J=L);0>x&&(x=0);0>
R&&(R=0);N>H&&(N=H);W>L&&(W=L);C.left=t/H;C.top=1-I/L;C.right=P/H;C.bottom=1-J/L}else C.left=A.left=0,C.top=A.top=0,C.right=A.right=1,C.bottom=A.bottom=1;Q=c&&((c.M||M)&&a.$m(k[0].pd)||0!==v||0!==Q||1!==c.opacity||c.type.zb.vw)||b&&!c&&1!==b.opacity;a.dx();if(Q){m[s]||(m[s]=a.Hf(H,L,this.g.wb));if(m[s].Pl!==H||m[s].Ol!==L)a.deleteTexture(m[s]),m[s]=a.Hf(H,L,this.g.wb);a.Ng(0);a.Kh(m[s]);G=W-R;a.clearRect(x,L-R-G,N-x,G);c?c.Id(a):(a.Wd(this.g.Ne),a.Jh(b.opacity),a.Kg(),a.translate(-z,-F),a.Rg(),a.Xf(t,
J,P,J,P,I,t,I,C));A.left=A.top=0;A.right=A.bottom=1;c&&(r=C.top,C.top=C.bottom,C.bottom=r);s=1;y=0}a.Jh(1);v=k.length-1;var M=a.Zs(k[v].pd),ra=0;n=0;for(p=k.length;n<p;n++){m[s]||(m[s]=a.Hf(H,L,this.g.wb));if(m[s].Pl!==H||m[s].Ol!==L)a.deleteTexture(m[s]),m[s]=a.Hf(H,L,this.g.wb);a.Ng(k[n].pd);ra=k[n].index;a.tp(k[n].pd)&&(this.g.eb=!0);0!=n||Q?(a.al(d,1/H,1/L,A.left,A.top,A.right,A.bottom,l,c?c.lc[ra]:b?b.lc[ra]:this.lc[ra]),n!==v||M?(a.Kh(m[s]),G=W-R,r=L-R-G,a.clearRect(x,r,N-x,G)):(c?a.Ih(c.qd,
c.md):b&&a.Ih(b.qd,b.md),a.Kh(d)),a.Wd(m[y]),a.Kg(),a.translate(-z,-F),a.Rg(),a.Xf(t,J,P,J,P,I,t,I,C),n!==v||M||a.Wd(null)):(a.Kh(m[s]),G=W-R,r=L-R-G,a.clearRect(x,r,N-x,G),c?(a.al(d,1/c.width,1/c.height,A.left,A.top,A.right,A.bottom,l,c.lc[ra]),c.Id(a)):(a.al(d,1/H,1/L,0,0,1,1,l,b?b.lc[ra]:this.lc[ra]),a.Wd(b?this.g.Ne:this.g.Mf),a.Kg(),a.translate(-z,-F),a.Rg(),a.Xf(t,J,P,J,P,I,t,I,C)),A.left=A.top=0,A.right=A.bottom=1,c&&!M&&(r=J,J=I,I=r));s=0===s?1:0;y=0===s?1:0}M&&(a.Ng(0),c?a.Ih(c.qd,c.md):
b&&a.Ih(b.qd,b.md),a.Kh(d),a.Wd(m[y]),a.Kg(),a.translate(-z,-F),a.Rg(),c&&1===k.length&&!Q?a.Xf(t,I,P,I,P,J,t,J,C):a.Xf(t,J,P,J,P,I,t,I,C),a.Wd(null))};a.prototype.Do=function(a){var b,c;b=0;for(c=this.Ya.length;b<c;b++)if(this.Ya[b].Ra===a)return this.Ya[b];return null};a.prototype.Ad=function(){var a,b,c,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.M,w:this.width,h:this.height,fv:this.Xl,persist:this.wi,fx:[],layers:{}};a=0;for(b=this.Ea.length;a<b;a++)c=this.Ea[a],d.fx.push({name:c.name,
active:c.He,params:this.lc[c.index]});a=0;for(b=this.Ya.length;a<b;a++)c=this.Ya[a],d.layers[c.Ra.toString()]=c.Ad();return d};a.prototype.de=function(a){var b,c,d,k;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.M=a.a;this.width=a.w;this.height=a.h;this.wi=a.persist;"undefined"!==typeof a.fv&&(this.Xl=a.fv);var l=a.fx;b=0;for(c=l.length;b<c;b++)if(d=this.or(l[b].name))d.He=l[b].active,this.lc[d.index]=l[b].params;this.Oh();b=a.layers;for(k in b)b.hasOwnProperty(k)&&(a=this.Do(parseInt(k,
10)))&&a.de(b[k])};Ya=a;c.prototype.Oh=function(){this.kb.length=0;var a,b,c;a=0;for(b=this.Ea.length;a<b;a++)c=this.Ea[a],c.He&&this.kb.push(c)};c.prototype.or=function(a){var b,c,d;b=0;for(c=this.Ea.length;b<c;b++)if(d=this.Ea[b],d.name===a)return d;return null};c.prototype.wz=function(){var a,b,c,h,k,l;b=a=0;for(c=this.tk.length;a<c;a++){h=this.tk[a];k=this.g.Z[h[1]];l=this.g.Dt(k);k=!0;if(!l||this.Cb.Xl)h=this.g.ej(h,this,!0),d.push(h),h.type.global&&(k=!1);k&&(this.tk[b]=this.tk[a],b++)}this.tk.length=
b;this.g.sd();!this.g.Y&&this.Ea.length&&(this.Yd=this.Uz);this.Rl=Ra(this.Yd);this.g.ja&&Sa(this,this.Yd,this.g.ja)};c.prototype.GC=function(){if(this.Ee){var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].Wj=a;this.Ee=!1}};c.prototype.Ld=function(){return this.GA()*this.g.Sn};c.prototype.GA=function(){return(this.scale*this.Cb.scale-1)*this.Cd+1};c.prototype.be=function(){return this.fj?0:ya(this.Cb.M+this.M)};c.prototype.oe=function(a){this.Ai=this.jr||1!==this.opacity||0!==this.Yd;var b=this.g.canvas,
c=a;a.globalAlpha=1;a.globalCompositeOperation="source-over";this.Ai&&(this.g.Wo||(this.g.Wo=document.createElement("canvas"),b=this.g.Wo,b.width=this.g.width,b.height=this.g.height,this.g.bw=b.getContext("2d")),b=this.g.Wo,c=this.g.bw,b.width!==this.g.width&&(b.width=this.g.width),b.height!==this.g.height&&(b.height=this.g.height),this.Tj&&c.clearRect(0,0,this.g.width,this.g.height));this.Tj||(c.fillStyle="rgb("+this.Zh[0]+","+this.Zh[1]+","+this.Zh[2]+")",c.fillRect(0,0,this.g.width,this.g.height));
c.save();this.fj=!0;var d=this.kd(0,0,!0),k=this.kd(0,0,!1);this.fj=!1;this.g.tf&&(d=d+0.5|0,k=k+0.5|0);this.gt(d,k,c);var l=this.Ld();c.scale(l,l);c.translate(-d,-k);for(var m,d=0,k=this.B.length;d<k;d++)l=this.B[d],l.visible&&0!==l.width&&0!==l.height&&(l.Jc(),m=l.Va,m.right<this.Be||m.bottom<this.De||m.left>this.Ce||m.top>this.Ae||(c.globalCompositeOperation=l.Rl,l.oe(c)));c.restore();this.Ai&&(a.globalCompositeOperation=this.Rl,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};c.prototype.gt=function(a,
b,c){var d=this.Ld();this.Be=a;this.De=b;this.Ce=a+this.g.width*(1/d);this.Ae=b+this.g.height*(1/d);a=this.be();0!==a&&(c&&(c.translate(this.g.width/2,this.g.height/2),c.rotate(-a),c.translate(this.g.width/-2,this.g.height/-2)),this.Nh.set(this.Be,this.De,this.Ce,this.Ae),this.Nh.offset((this.Be+this.Ce)/-2,(this.De+this.Ae)/-2),this.xx.jx(this.Nh,a),this.xx.Wu(this.Nh),this.Nh.offset((this.Be+this.Ce)/2,(this.De+this.Ae)/2),this.Be=this.Nh.left,this.De=this.Nh.top,this.Ce=this.Nh.right,this.Ae=this.Nh.bottom)};
c.prototype.Id=function(a){var b=this.g.width,c=this.g.height,d=0,k=0;if(this.Ai=this.jr||1!==this.opacity||0<this.kb.length||0!==this.Yd){this.g.Ne||(this.g.Ne=a.Hf(this.g.width,this.g.height,this.g.wb));if(this.g.Ne.Pl!==this.g.width||this.g.Ne.Ol!==this.g.height)a.deleteTexture(this.g.Ne),this.g.Ne=a.Hf(this.g.width,this.g.height,this.g.wb);a.Kh(this.g.Ne);this.Tj&&a.clear(0,0,0,0)}this.Tj||a.clear(this.Zh[0]/255,this.Zh[1]/255,this.Zh[2]/255,1);this.fj=!0;var k=this.kd(0,0,!0),l=this.kd(0,0,!1);
this.fj=!1;this.g.tf&&(k=k+0.5|0,l=l+0.5|0);this.gt(k,l,null);l=this.Ld();a.Kg();a.scale(l,l);a.ht(-this.be());a.translate((this.Be+this.Ce)/-2,(this.De+this.Ae)/-2);a.Rg();var m,n,p;m=0;for(n=this.B.length;m<n;m++)if(p=this.B[m],p.visible&&0!==p.width&&0!==p.height&&(p.Jc(),d=p.Va,!(d.right<this.Be||d.bottom<this.De||d.left>this.Ce||d.top>this.Ae)))if(p.Hx)if(d=p.kb[0].pd,k=p.kb[0].index,1!==p.kb.length||a.Zs(d)||a.eC(d)||(p.M||p.K.be())&&a.$m(d)||1!==p.opacity||p.type.zb.vw)this.Cb.et(a,this,p,
this.Ai?this.g.Ne:this.Cb.cm()),a.Kg(),a.scale(l,l),a.ht(-this.be()),a.translate((this.Be+this.Ce)/-2,(this.De+this.Ae)/-2),a.Rg();else{a.Ng(d);a.Ih(p.qd,p.md);a.tp(d)&&(this.g.eb=!0);var v=0,r=0,s=0,y=0;a.$m(d)&&(d=p.Va,v=this.fb(d.left,d.top,!0),r=this.fb(d.left,d.top,!1),s=this.fb(d.right,d.bottom,!0),d=this.fb(d.right,d.bottom,!1),v/=b,r=1-r/c,s/=b,y=1-d/c);a.al(this.Ai?this.g.Ne:this.Cb.cm(),1/p.width,1/p.height,v,r,s,y,this.Ld(),p.lc[k]);p.Id(a)}else a.Ng(0),a.Ih(p.qd,p.md),p.Id(a);this.Ai&&
(d=this.kb.length?this.kb[0].pd:0,k=this.kb.length?this.kb[0].index:0,0===this.kb.length||1===this.kb.length&&!a.Zs(d)&&1===this.opacity?(1===this.kb.length?(a.Ng(d),a.al(this.Cb.cm(),1/this.g.width,1/this.g.height,0,0,1,1,this.Ld(),this.lc[k]),a.tp(d)&&(this.g.eb=!0)):a.Ng(0),a.Kh(this.Cb.cm()),a.Jh(this.opacity),a.Wd(this.g.Ne),a.Ih(this.qd,this.md),a.Kg(),a.Rg(),b=this.g.width/2,c=this.g.height/2,a.cn(-b,c,b,c,b,-c,-b,-c),a.Wd(null)):this.Cb.et(a,this,null,this.Cb.cm()))};c.prototype.kd=function(a,
b,c){var d=this.g.devicePixelRatio;this.g.lm&&0<this.g.pe&&(a*=d,b*=d);var d=this.g.xe/2,k=this.g.we/2,d=(this.Cb.scrollX-d)*this.Ve+d,k=(this.Cb.scrollY-k)*this.We+k,l=1/this.Ld(),d=d-this.g.width*l/2,k=k-this.g.height*l/2,d=d+a*l,k=k+b*l;b=this.be();0!==b&&(d-=this.Cb.scrollX,k-=this.Cb.scrollY,a=Math.cos(b),b=Math.sin(b),l=d*a-k*b,k=k*a+d*b,d=l+this.Cb.scrollX,k+=this.Cb.scrollY);return c?d:k};c.prototype.fb=function(a,b,c){var d=this.be();if(0!==d){a-=this.Cb.scrollX;b-=this.Cb.scrollY;var k=
Math.cos(-d),d=Math.sin(-d),l=a*k-b*d;b=b*k+a*d;a=l+this.Cb.scrollX;b+=this.Cb.scrollY}k=this.g.xe/2;d=this.g.we/2;k=(this.Cb.scrollX-k)*this.Ve+k;d=(this.Cb.scrollY-d)*this.We+d;l=1/this.Ld();k-=this.g.width*l/2;d-=this.g.height*l/2;k=(a-k)/l;d=(b-d)/l;a=this.g.devicePixelRatio;this.g.lm&&0<this.g.pe&&(k/=a,d/=a);return c?k:d};c.prototype.Ad=function(){var a,b,c,d={s:this.scale,a:this.M,vl:this.Be,vt:this.De,vr:this.Ce,vb:this.Ae,v:this.visible,bc:this.Zh,t:this.Tj,px:this.Ve,py:this.We,o:this.opacity,
zr:this.Cd,fx:[],instances:[]};a=0;for(b=this.Ea.length;a<b;a++)c=this.Ea[a],d.fx.push({name:c.name,active:c.He,params:this.lc[c.index]});return d};c.prototype.de=function(a){var c,d;this.scale=a.s;this.M=a.a;this.Be=a.vl;this.De=a.vt;this.Ce=a.vr;this.Ae=a.vb;this.visible=a.v;this.Zh=a.bc;this.Tj=a.t;this.Ve=a.px;this.We=a.py;this.opacity=a.o;this.Cd=a.zr;var h=a.fx;a=0;for(c=h.length;a<c;a++)if(d=this.or(h[a].name))d.He=h[a].active,this.lc[d.index]=h[a].params;this.Oh();this.B.sort(b);this.Ee=!0};
db=c})();
(function(){function a(a,b){var c,d=a.length;switch(d){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<d;c++)if(a[c]!==b[c])return!1;return!0}}function c(a,b){return a.index-b.index}function b(b){var d,e,f,n;2===b.length?b[0].index>b[1].index&&(d=b[0],b[0]=b[1],b[1]=d):2<b.length&&b.sort(c);b.length>=v.length&&(v.length=b.length+1);v[b.length]||(v[b.length]=[]);n=v[b.length];d=0;for(e=n.length;d<e;d++)if(f=n[d],a(b,f))return f;n.push(b);return b}
function d(a,b){this.g=a;this.Ax={};this.qv={};this.xr=!1;this.Iv=new La;this.name=b[0];var c=b[1];this.hi=[];var d,e;d=0;for(e=c.length;d<e;d++)this.Lv(c[d],null,this.hi)}function e(a){this.type=a;this.B=[];this.sb=[];this.Gb=!0}function g(a,b,c){this.sheet=a;this.parent=b;this.g=a.g;this.Hb=[];this.Bi=[];this.Gv=this.Lp=this.At=this.Ko=this.group=this.nx=!1;this.hc=[];this.Ef=[];this.xf=[];c[1]?(this.sk=c[1][1].toLowerCase(),this.group=!0,this.Ko=!!c[1][0],this.g.Wh.push(this),this.g.Nl[this.sk.toLowerCase()]=
this.Ko):(this.sk="",this.Ko=this.group=!1);this.Tf=c[2];this.Ra=c[4];this.group||(this.g.Vu[this.Ra.toString()]=this);var d=c[5];a=0;for(b=d.length;a<b;a++){var e=new eb(this,d[a]);e.index=a;this.hc.push(e);this.Ju(e.type)}d=c[6];a=0;for(b=d.length;a<b;a++)e=new ib(this,d[a]),e.index=a,this.Ef.push(e);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.Lv(c[a],this,this.xf);this.No=!1;this.hc.length&&(this.No=null==this.hc[0].type&&this.hc[0].Ec==D.prototype.C.Wx)}function f(a,b){var c,
d,e;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Kf))for(c=0,d=a.$d.length;c<d;c++)e=a.$d[c],a!==e&&-1===b.indexOf(e)&&b.push(e)}function h(a,b){this.Je=a;this.sheet=a.sheet;this.g=a.g;this.na=[];this.Ja=[];this.pa={};this.index=-1;this.Ec=b[1];this.trigger=0<b[3];this.pv=2===b[3];this.rh=b[4];this.hm=b[5];this.lB=b[6];this.Ra=b[7];this.g.kk[this.Ra.toString()]=this;-1===b[0]?(this.type=null,this.Hc=this.jt,this.Yi=null,this.jd=-1):(this.type=this.g.Z[b[0]],this.Hc=this.lB?this.oC:this.it,b[2]?(this.Yi=
this.type.zo(b[2]),this.jd=this.type.nr(b[2])):(this.Yi=null,this.jd=-1),this.Je.parent&&this.Je.parent.Ep());this.pv&&(this.Hc=this.pC);if(10===b.length){var c,d,e=b[9];c=0;for(d=e.length;c<d;c++){var f=new jb(this,e[c]);this.na.push(f)}this.Ja.length=e.length}}function k(a,b){this.Je=a;this.sheet=a.sheet;this.g=a.g;this.na=[];this.Ja=[];this.pa={};this.index=-1;this.Ec=b[1];-1===b[0]?(this.type=null,this.Hc=this.jt,this.Yi=null,this.jd=-1):(this.type=this.g.Z[b[0]],this.Hc=this.it,b[2]?(this.Yi=
this.type.zo(b[2]),this.jd=this.type.nr(b[2])):(this.Yi=null,this.jd=-1));this.Ra=b[3];this.g.dk[this.Ra.toString()]=this;if(6===b.length){var c,d,e=b[5];c=0;for(d=e.length;c<d;c++){var f=new jb(this,e[c]);this.na.push(f)}this.Ja.length=e.length}}function l(a,b){this.ua=a;this.Je=a.Je;this.sheet=a.sheet;this.g=a.g;this.type=b[0];this.ng=null;this.bv=this.Ci=0;this.Cb=null;this.key=0;this.object=null;this.index=0;this.Sp=this.el=this.rv=this.ij=this.rn=null;var c,d,e;switch(b[0]){case 0:case 7:this.ng=
new kb(this,b[1]);this.Ci=0;this.get=this.OA;break;case 1:this.ng=new kb(this,b[1]);this.Ci=0;this.get=this.PA;break;case 5:this.ng=new kb(this,b[1]);this.Ci=0;this.get=this.TA;break;case 3:case 8:this.bv=b[1];this.get=this.MA;break;case 6:this.Cb=this.g.Ek[b[1]];this.get=this.UA;break;case 9:this.key=b[1];this.get=this.SA;break;case 4:this.object=this.g.Z[b[1]];this.get=this.VA;this.Je.Ju(this.object);this.ua instanceof ib?this.Je.Ep():this.Je.parent&&this.Je.parent.Ep();break;case 10:this.index=
b[1];this.get=a.type.la?this.QA:this.RA;break;case 11:this.rn=b[1];this.ij=null;this.get=this.NA;break;case 2:case 12:this.rv=b[1];this.get=this.LA;break;case 13:for(this.get=this.WA,this.el=[],this.Sp=[],c=1,d=b.length;c<d;c++)e=new jb(this.ua,b[c]),this.el.push(e),this.Sp.push(0)}}function m(a,b,c){this.sheet=a;this.parent=b;this.g=a.g;this.Hb=[];this.name=c[1];this.It=c[2];this.Cr=c[3];this.nm=!!c[4];this.Mo=!!c[5];this.Ra=c[6];this.g.jl[this.Ra.toString()]=this;this.data=this.Cr;this.parent?(this.zj=
this.nm||this.Mo?-1:this.g.wC++,this.g.jz.push(this)):(this.zj=-1,this.g.iz.push(this))}function n(a,b,c){this.sheet=a;this.parent=b;this.g=a.g;this.Hb=[];this.fm=null;this.$A=c[1]}function p(){this.rx=[];this.reset(null)}var v=[];d.prototype.toString=u("name");d.prototype.Lv=function(a,b,c){switch(a[0]){case 0:a=new lb(this,b,a);if(a.Tf)for(c.push(a),c=0,b=a.hc.length;c<b;c++)a.hc[c].trigger&&this.Mv(a,c);else a.Tv()?this.Mv(a,0):c.push(a);break;case 1:a=new ab(this,b,a);c.push(a);break;case 2:a=
new mb(this,b,a),c.push(a)}};d.prototype.wc=function(){var a,b;a=0;for(b=this.hi.length;a<b;a++)this.hi[a].wc(a<b-1&&this.hi[a+1].No)};d.prototype.Hc=function(a){this.g.pE||(this.xr=!0,a||(this.g.Gr=!0));var b,c;b=0;for(c=this.hi.length;b<c;b++){var d=this.hi[b];d.Hc();this.g.Mq(d.Hb);this.g.kg.jm()&&!this.g.Ke.length||this.g.sd()}a||(this.g.Gr=!1)};d.prototype.Mv=function(a,b){a.Tf||this.g.Pp.push(a);var c,d,e=a.hc[b],f;f=e.type?e.type.name:"system";var n=(c=e.pv)?this.qv:this.Ax;n[f]||(n[f]=[]);
f=n[f];n=e.Ec;if(c){if(e.na.length&&(e=e.na[0],1===e.type&&2===e.ng.type)){e=e.ng.value.toLowerCase();c=0;for(d=f.length;c<d;c++)if(f[c].method==n){c=f[c].ro;c[e]?c[e].push([a,b]):c[e]=[[a,b]];return}c={};c[e]=[[a,b]];f.push({method:n,ro:c})}}else{c=0;for(d=f.length;c<d;c++)if(f[c].method==n){f[c].ro.push([a,b]);return}f.push({method:n,ro:[[a,b]]})}};Za=d;e.prototype.ur=function(){return this.Gb?this.type.B.length:this.B.length};e.prototype.jf=function(){return this.Gb?this.type.B:this.B};e.prototype.Ym=
function(a){a&&(a.g.Kd().ne.Tf?(this.Gb&&(this.B.length=0,ta(this.sb,a.type.B),this.Gb=!1),a=this.sb.indexOf(a),-1!==a&&(this.B.push(this.sb[a]),this.sb.splice(a,1))):(this.Gb=!1,this.B.length=1,this.B[0]=a))};Xa=e;g.prototype.wc=function(a){var c,d=this.parent;if(this.group)for(this.Lp=!0;d;){if(!d.group){this.Lp=!1;break}d=d.parent}this.At=!this.Tv()&&(!this.parent||this.parent.group&&this.parent.Lp);this.Gv=!!a;this.Bi=this.Hb.slice(0);for(d=this.parent;d;){a=0;for(c=d.Hb.length;a<c;a++)this.gz(d.Hb[a]);
d=d.parent}this.Hb=b(this.Hb);this.Bi=b(this.Bi);a=0;for(c=this.hc.length;a<c;a++)this.hc[a].wc();a=0;for(c=this.Ef.length;a<c;a++)this.Ef[a].wc();a=0;for(c=this.xf.length;a<c;a++)this.xf[a].wc(a<c-1&&this.xf[a+1].No)};g.prototype.Ju=function(a){f(a,this.Hb)};g.prototype.gz=function(a){f(a,this.Bi)};g.prototype.Ep=function(){this.nx=!0;this.parent&&this.parent.Ep()};g.prototype.Tv=function(){return this.hc.length?this.hc[0].trigger:!1};g.prototype.Hc=function(){var a,b=!1,c,d=this.g.Kd();d.ne=this;
this.No||(d.$q=!1);if(this.Tf){0===this.hc.length&&(b=!0);d.Nc=0;for(a=this.hc.length;d.Nc<a;d.Nc++)this.hc[d.Nc].trigger||(c=this.hc[d.Nc].Hc())&&(b=!0);(d.Dk=b)&&this.zp()}else{d.Nc=0;for(a=this.hc.length;d.Nc<a;d.Nc++)if(c=this.hc[d.Nc].Hc(),!c){d.Dk=!1;!this.At||this.g.kg.jm()&&!this.g.Ke.length||this.g.sd();return}d.Dk=!0;this.zp()}this.Wz(d)};g.prototype.Wz=function(a){a.Dk&&this.Gv&&(a.$q=!0);!this.At||this.g.kg.jm()&&!this.g.Ke.length||this.g.sd()};g.prototype.mC=function(a){this.g.Kd().ne=
this;this.hc[a].Hc()&&this.zp()};g.prototype.zp=function(){var a=this.g.Kd(),b;a.ke=0;for(b=this.Ef.length;a.ke<b;a.ke++)if(this.Ef[a.ke].Hc())return;this.Yw()};g.prototype.jC=function(){var a=this.g.Kd(),b;for(b=this.Ef.length;a.ke<b;a.ke++)if(this.Ef[a.ke].Hc())return;this.Yw()};g.prototype.Yw=function(){if(this.xf.length){var a,b,c,d,e=this.xf.length-1;this.g.vp(this);if(this.nx)for(a=0,b=this.xf.length;a<b;a++)c=this.xf[a],(d=!this.Lp||!this.group&&a<e)&&this.g.up(c.Hb),c.Hc(),d?this.g.Oj(c.Hb):
this.g.Mq(c.Hb);else for(a=0,b=this.xf.length;a<b;a++)this.xf[a].Hc();this.g.pp()}};g.prototype.nC=function(){var a=this.g.Kd();a.ne=this;var b=!1,c;a.Nc=0;for(c=this.hc.length;a.Nc<c;a.Nc++)if(this.hc[a.Nc].Hc())b=!0;else if(!this.Tf)return!1;return this.Tf?b:!0};g.prototype.kC=function(){this.g.Ul++;var a=this.g.Kd().Nc,b=this.g.vp(this);if(!this.Tf)for(b.Nc=a+1,a=this.hc.length;b.Nc<a;b.Nc++)if(!this.hc[b.Nc].Hc()){this.g.pp();return}this.zp();this.g.pp()};g.prototype.hB=function(a){var b=a.index;
if(0===b)return!0;for(--b;0<=b;--b)if(this.hc[b].type===a.type)return!1;return!0};lb=g;h.prototype.wc=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.na[a].wc()};h.prototype.pC=w(!0);h.prototype.jt=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.Ja[a]=this.na[a].get();return Ha(this.Ec.apply(this.g.Og,this.Ja),this.hm)};h.prototype.oC=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.Ja[a]=this.na[a].get(a);a=this.Ec.apply(this.Yi?this.Yi:this.type,this.Ja);this.type.Xh();
return a};h.prototype.it=function(){var a,b,c,d,e,f,n,h=this.type.tb(),g=this.Je.Tf&&!this.trigger,k=0,l=this.type.Kf;if(h.Gb){h.B.length=0;a=h.sb.length=0;for(c=this.type.B.length;a<c;a++){f=this.type.B[a];b=0;for(d=this.na.length;b<d;b++)this.Ja[b]=this.na[b].get(a);-1<this.jd?(this.type.la&&(k=f.type.pk[this.type.pg]),b=this.Ec.apply(f.Wa[this.jd+k],this.Ja)):b=this.Ec.apply(f,this.Ja);(e=Ha(b,this.hm))?h.B.push(f):g&&h.sb.push(f)}this.type.finish&&this.type.finish(!0);h.Gb=!1;this.type.Xh();return h.ur()}var p=
0,m=(e=g&&!this.Je.hB(this))?h.sb:h.B,v=!1;a=0;for(c=m.length;a<c;a++){f=m[a];b=0;for(d=this.na.length;b<d;b++)this.Ja[b]=this.na[b].get(a);-1<this.jd?(this.type.la&&(k=f.type.pk[this.type.pg]),b=this.Ec.apply(f.Wa[this.jd+k],this.Ja)):b=this.Ec.apply(f,this.Ja);if(Ha(b,this.hm))if(v=!0,e){if(h.B.push(f),l)for(b=0,d=f.siblings.length;b<d;b++)n=f.siblings[b],n.type.tb().B.push(n)}else{m[p]=f;if(l)for(b=0,d=f.siblings.length;b<d;b++)n=f.siblings[b],n.type.tb().B[p]=n;p++}else if(e){m[p]=f;if(l)for(b=
0,d=f.siblings.length;b<d;b++)n=f.siblings[b],n.type.tb().sb[p]=n;p++}else if(g&&(h.sb.push(f),l))for(b=0,d=f.siblings.length;b<d;b++)n=f.siblings[b],n.type.tb().sb.push(n)}m.length=p;if(l)for(a=0,c=this.type.$d.length;a<c;a++)f=this.type.$d[a].tb(),e?f.sb.length=p:f.B.length=p;k=v;if(e&&!v)for(a=0,c=h.B.length;a<c;a++){f=h.B[a];b=0;for(d=this.na.length;b<d;b++)this.Ja[b]=this.na[b].get(a);b=-1<this.jd?this.Ec.apply(f.Wa[this.jd],this.Ja):this.Ec.apply(f,this.Ja);if(Ha(b,this.hm)){v=!0;break}}this.type.finish&&
this.type.finish(k||g);return g?v:h.ur()};eb=h;k.prototype.wc=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.na[a].wc()};k.prototype.jt=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.Ja[a]=this.na[a].get();return this.Ec.apply(this.g.Og,this.Ja)};k.prototype.it=function(){var a=this.type.tb().jf(),b,c,d,e,f;b=0;for(d=a.length;b<d;b++){f=a[b];c=0;for(e=this.na.length;c<e;c++)this.Ja[c]=this.na[c].get(b);-1<this.jd?(c=0,this.type.la&&(c=f.type.pk[this.type.pg]),this.Ec.apply(f.Wa[this.jd+
c],this.Ja)):this.Ec.apply(f,this.Ja)}return!1};ib=k;var r=[],s=-1;l.prototype.wc=function(){var a,b;if(11===this.type)this.ij=this.g.xv(this.rn,this.Je.parent);else if(13===this.type)for(a=0,b=this.el.length;a<b;a++)this.el[a].wc();this.ng&&this.ng.wc()};l.prototype.Tc=function(){s++;r.length===s&&r.push(new nb);return r[s]};l.prototype.Gc=function(){s--};l.prototype.OA=function(a){this.Ci=a||0;a=this.Tc();this.ng.get(a);this.Gc();return a.data};l.prototype.PA=function(a){this.Ci=a||0;a=this.Tc();
this.ng.get(a);this.Gc();return ga(a.data)?a.data:""};l.prototype.VA=u("object");l.prototype.MA=u("bv");l.prototype.TA=function(a){this.Ci=a||0;a=this.Tc();this.ng.get(a);this.Gc();return a.cd()?this.g.ih(a.data):this.g.am(a.data)};l.prototype.UA=u("Cb");l.prototype.SA=u("key");l.prototype.RA=u("index");l.prototype.QA=function(a){var b=this.ua.type,c=null,c=b.tb(),d=c.jf(),c=d.length?d[a%d.length].type:c.sb[a%c.sb.length].type;return this.index+c.so[b.pg]};l.prototype.NA=u("ij");l.prototype.LA=u("rv");
l.prototype.WA=function(){var a,b;a=0;for(b=this.el.length;a<b;a++)this.Sp[a]=this.el[a].get();return this.Sp};jb=l;m.prototype.wc=function(){this.Hb=b(this.Hb)};m.prototype.bl=function(a){var b=this.g.wv();this.parent&&!this.nm&&b?(this.zj>=b.length&&(b.length=this.zj+1),b[this.zj]=a):this.data=a};m.prototype.Fo=function(){var a=this.g.wv();return!this.parent||this.nm||!a||this.Mo?this.data:this.zj>=a.length||"undefined"===typeof a[this.zj]?this.Cr:a[this.zj]};m.prototype.Hc=function(){!this.parent||
this.nm||this.Mo||this.bl(this.Cr)};ab=m;n.prototype.toString=function(){return"include:"+this.fm.toString()};n.prototype.wc=function(){this.fm=this.g.cr[this.$A];this.sheet.Iv.add(this);this.Hb=b(this.Hb)};n.prototype.Hc=function(){this.parent&&this.g.bn(this.g.Z);this.fm.xr||this.fm.Hc(!0);this.parent&&this.g.Oj(this.g.Z)};n.prototype.eB=function(){for(var a=this.parent;a;){if(a.group&&!this.g.Nl[a.sk.toLowerCase()])return!1;a=a.parent}return!0};mb=n;p.prototype.reset=function(a){this.ne=a;this.ke=
this.Nc=0;this.rx.length=0;this.$q=this.Dk=!1};$a=p})();
(function(){function a(a,c){this.ua=a;this.g=a.g;this.type=c[0];this.get=[this.hA,this.dA,this.pA,this.sA,this.Yz,this.qA,this.lA,this.aA,this.kA,this.oA,this.Zz,this.nA,this.bA,this.mA,this.iA,this.jA,this.eA,this.fA,this.$z,this.rA,this.nv,this.gA,this.nv,this.cA][this.type];var e=null;this.ve=this.na=this.Ja=this.Ec=this.Kp=this.fd=this.first=this.value=null;this.jd=-1;this.jh=null;this.Ht=-1;this.ij=this.rn=null;this.dn=!1;switch(this.type){case 0:case 1:case 2:this.value=c[1];break;case 3:this.first=
new kb(a,c[1]);break;case 18:this.first=new kb(a,c[1]);this.fd=new kb(a,c[2]);this.Kp=new kb(a,c[3]);break;case 19:this.Ec=c[1];this.Ja=[];this.na=[];3===c.length?(e=c[2],this.Ja.length=e.length+1):this.Ja.length=1;break;case 20:this.ve=this.g.Z[c[1]];this.jd=-1;this.Ec=c[2];this.dn=c[3];this.jh=c[4]?new kb(a,c[4]):null;this.Ja=[];this.na=[];6===c.length?(e=c[5],this.Ja.length=e.length+1):this.Ja.length=1;break;case 21:this.ve=this.g.Z[c[1]];this.dn=c[2];this.jh=c[3]?new kb(a,c[3]):null;this.Ht=c[4];
break;case 22:this.ve=this.g.Z[c[1]];this.ve.zo(c[2]);this.jd=this.ve.nr(c[2]);this.Ec=c[3];this.dn=c[4];this.jh=c[5]?new kb(a,c[5]):null;this.Ja=[];this.na=[];7===c.length?(e=c[6],this.Ja.length=e.length+1):this.Ja.length=1;break;case 23:this.rn=c[1],this.ij=null}4<=this.type&&17>=this.type&&(this.first=new kb(a,c[1]),this.fd=new kb(a,c[2]));if(e){var g,f;g=0;for(f=e.length;g<f;g++)this.na.push(new kb(a,e[g]))}}function c(a,c){this.type=a||ob.yl;this.data=c||0;this.Xk=null;this.type==ob.yl&&(this.data=
Math.floor(this.data))}a.prototype.wc=function(){23===this.type&&(this.ij=this.ua.g.xv(this.rn,this.ua.Je.parent));this.first&&this.first.wc();this.fd&&this.fd.wc();this.Kp&&this.Kp.wc();this.jh&&this.jh.wc();if(this.na){var a,c;a=0;for(c=this.na.length;a<c;a++)this.na[a].wc()}};a.prototype.rA=function(a){this.Ja[0]=a;a=this.ua.Tc();var c,e;c=0;for(e=this.na.length;c<e;c++)this.na[c].get(a),this.Ja[c+1]=a.data;this.ua.Gc();this.Ec.apply(this.g.Og,this.Ja)};a.prototype.nv=function(a){var c=this.ve.tb(),
e=c.jf();if(!e.length)if(c.sb.length)e=c.sb;else{this.dn?a.Zf(""):a.Pb(0);return}this.Ja[0]=a;a.Xk=this.ve;a=this.ua.Tc();var g,c=0;for(g=this.na.length;c<g;c++)this.na[c].get(a),this.Ja[c+1]=a.data;c=this.ua.Ci;this.jh&&(this.jh.get(a),a.cd()&&(c=a.data,e=this.ve.B));this.ua.Gc();c%=e.length;0>c&&(c+=e.length);e=e[c];-1<this.jd?(a=0,this.ve.la&&(a=e.type.pk[this.ve.pg]),this.Ec.apply(e.Wa[this.jd+a],this.Ja)):this.Ec.apply(e,this.Ja)};a.prototype.gA=function(a){var c=this.ve.tb(),e=c.jf();if(!e.length)if(c.sb.length)e=
c.sb;else{this.dn?a.Zf(""):a.Pb(0);return}c=this.ua.Ci;if(this.jh){var g=this.ua.Tc();this.jh.get(g);if(g.cd()){c=g.data;e=this.ve.B;c%=e.length;0>c&&(c+=e.length);e=e[c].Qc[this.Ht];ga(e)?a.Zf(e):a.da(e);this.ua.Gc();return}this.ua.Gc()}c%=e.length;0>c&&(c+=e.length);e=e[c];c=0;this.ve.la&&(c=e.type.so[this.ve.pg]);e=e.Qc[this.Ht+c];ga(e)?a.Zf(e):a.da(e)};a.prototype.hA=function(a){a.type=ob.yl;a.data=this.value};a.prototype.dA=function(a){a.type=ob.sl;a.data=this.value};a.prototype.pA=function(a){a.type=
ob.uq;a.data=this.value};a.prototype.sA=function(a){this.first.get(a);a.cd()&&(a.data=-a.data)};a.prototype.Yz=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data+=c.data,c.yk()&&a.Uk());this.ua.Gc()};a.prototype.qA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data-=c.data,c.yk()&&a.Uk());this.ua.Gc()};a.prototype.lA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data*=c.data,c.yk()&&a.Uk());
this.ua.Gc()};a.prototype.aA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data/=c.data,a.Uk());this.ua.Gc()};a.prototype.kA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data%=c.data,c.yk()&&a.Uk());this.ua.Gc()};a.prototype.oA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data=Math.pow(a.data,c.data),c.yk()&&a.Uk());this.ua.Gc()};a.prototype.Zz=function(a){this.first.get(a);var c=this.ua.Tc();
this.fd.get(c);a.cd()?c.Oo()?a.Zf(a.data.toString()+c.data):a.data&&c.data?a.Pb(1):a.Pb(0):a.Oo()&&(a.data=c.Oo()?a.data+c.data:a.data+(Math.round(1E10*c.data)/1E10).toString());this.ua.Gc()};a.prototype.nA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.cd()&&c.cd()&&(a.data||c.data?a.Pb(1):a.Pb(0));this.ua.Gc()};a.prototype.$z=function(a){this.first.get(a);a.data?this.fd.get(a):this.Kp.get(a)};a.prototype.bA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.Pb(a.data===
c.data?1:0);this.ua.Gc()};a.prototype.mA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.Pb(a.data!==c.data?1:0);this.ua.Gc()};a.prototype.iA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.Pb(a.data<c.data?1:0);this.ua.Gc()};a.prototype.jA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.Pb(a.data<=c.data?1:0);this.ua.Gc()};a.prototype.eA=function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.Pb(a.data>c.data?1:0);this.ua.Gc()};a.prototype.fA=
function(a){this.first.get(a);var c=this.ua.Tc();this.fd.get(c);a.Pb(a.data>=c.data?1:0);this.ua.Gc()};a.prototype.cA=function(a){var c=this.ij.Fo();fa(c)?a.da(c):a.Zf(c)};kb=a;c.prototype.yk=function(){return this.type===ob.sl};c.prototype.cd=function(){return this.type===ob.yl||this.type===ob.sl};c.prototype.Oo=function(){return this.type===ob.uq};c.prototype.Uk=function(){this.yk()||(this.Oo()&&(this.data=parseFloat(this.data)),this.type=ob.sl)};c.prototype.Pb=function(a){this.type=ob.yl;this.data=
Math.floor(a)};c.prototype.da=function(a){this.type=ob.sl;this.data=a};c.prototype.Zf=function(a){this.type=ob.uq;this.data=a};nb=c;ob={yl:0,sl:1,uq:2}})();function D(a){this.g=a;this.ge=[]}
D.prototype.Ad=function(){var a={},c,b,d,e,g,f,h,k;a.waits=[];var l=a.waits,m;c=0;for(b=this.ge.length;c<b;c++){f=this.ge[c];m={t:f.time,ev:f.nk.Ra,sm:[],sols:{}};f.nk.Ef[f.ke]&&(m.act=f.nk.Ef[f.ke].Ra);d=0;for(e=f.Hb.length;d<e;d++)m.sm.push(f.Hb[d].Ra);for(g in f.Xd)if(f.Xd.hasOwnProperty(g)){h=this.g.Z[parseInt(g,10)];k={sa:f.Xd[g].Ap,insts:[]};d=0;for(e=f.Xd[g].kh.length;d<e;d++)k.insts.push(f.Xd[g].kh[d].uid);m.sols[h.Ra.toString()]=k}l.push(m)}return a};
D.prototype.de=function(a){a=a.waits;var c,b,d,e,g,f,h,k,l,m,n;c=this.ge.length=0;for(b=a.length;c<b;c++)if(f=a[c],k=this.g.Vu[f.ev.toString()]){l=-1;d=0;for(e=k.Ef.length;d<e;d++)if(k.Ef[d].Ra===f.act){l=d;break}if(-1!==l){h={Xd:{},Hb:[],Yq:!1};h.time=f.t;h.nk=k;h.ke=l;d=0;for(e=f.sm.length;d<e;d++)(k=this.g.Eo(f.sm[d]))&&h.Hb.push(k);for(g in f.sols)if(f.sols.hasOwnProperty(g)&&(k=this.g.Eo(parseInt(g,10)))){l=f.sols[g];m={Ap:l.sa,kh:[]};d=0;for(e=l.insts.length;d<e;d++)(n=this.g.kj(l.insts[d]))&&
m.kh.push(n);h.Xd[k.index.toString()]=m}this.ge.push(h)}}};
(function(){function a(){}function c(){}function b(){}var d=D.prototype;a.prototype.ry=w(!0);a.prototype.qy=w(!0);a.prototype.$b=function(a,b,c){return Vb(a.Fo(),b,c)};a.prototype.Wx=function(){var a=this.g.Kd();return a.$q?!1:!a.Dk};a.prototype.gu=w(!0);a.prototype.ky=w(!0);a.prototype.mq=w(!0);a.prototype.ty=w(!0);a.prototype.lq=w(!0);d.C=new a;c.prototype.ac=function(a,b){0===a.It?fa(b)?a.bl(b):a.bl(parseFloat(b)):1===a.It&&a.bl(b.toString())};c.prototype.Ll=function(a,b){0===a.It&&(fa(b)?a.bl(a.Fo()-
b):a.bl(a.Fo()-parseFloat(b)))};var e=[],g=[];c.prototype.bf=function(a){if(!(0>a)){var b,c,d,m=this.g.Kd(),n;n=e.length?e.pop():{Xd:{},Hb:[]};n.Yq=!1;n.time=this.g.mf.Ic+a;n.nk=m.ne;n.ke=m.ke+1;a=0;for(b=this.g.Z.length;a<b;a++)d=this.g.Z[a],c=d.tb(),c.Gb&&-1===m.ne.Hb.indexOf(d)||(n.Hb.push(d),d=void 0,d=g.length?g.pop():{kh:[]},d.Ap=!1,d.Ap=c.Gb,ta(d.kh,c.B),n.Xd[a.toString()]=d);this.ge.push(n);return!0}};c.prototype.Xc=function(a){if(!this.g.zk&&!this.g.aj)for(var b in this.g.Ek)if(this.g.Ek.hasOwnProperty(b)&&
Ua(b,a)){this.g.aj=this.g.Ek[b];break}};c.prototype.Hl=function(){if(!this.g.zk&&!this.g.aj&&this.g.Qa){this.g.aj=this.g.Qa;var a,b,c;a=0;for(b=this.g.Wh.length;a<b;a++)c=this.g.Wh[a],this.g.Nl[c.sk.toLowerCase()]=c.Ko}};d.r=new c;b.prototype["int"]=function(a,b){ga(b)?(a.Pb(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.Pb(b)};b.prototype["float"]=function(a,b){ga(b)?(a.da(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.da(b)};b.prototype.random=function(a,b,c){void 0===c?a.da(Math.random()*b):a.da(Math.random()*
(c-b)+b)};b.prototype.sqrt=function(a,b){a.da(Math.sqrt(b))};b.prototype.abs=function(a,b){a.da(Math.abs(b))};b.prototype.round=function(a,b){a.Pb(Math.round(b))};b.prototype.floor=function(a,b){a.Pb(Math.floor(b))};b.prototype.ceil=function(a,b){a.Pb(Math.ceil(b))};b.prototype.sin=function(a,b){a.da(Math.sin(va(b)))};b.prototype.cos=function(a,b){a.da(Math.cos(va(b)))};b.prototype.tan=function(a,b){a.da(Math.tan(va(b)))};b.prototype.asin=function(a,b){a.da(wa(Math.asin(b)))};b.prototype.acos=function(a,
b){a.da(wa(Math.acos(b)))};b.prototype.exp=function(a,b){a.da(Math.exp(b))};b.prototype.max=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b<arguments[c]&&(b=arguments[c]);a.da(b)};b.prototype.min=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b>arguments[c]&&(b=arguments[c]);a.da(b)};b.prototype.Ga=function(a){a.da(this.g.Ga)};b.prototype.Gi=function(a){a.da(this.g.Gi)};b.prototype.time=function(a){a.da(this.g.mf.Ic)};b.prototype.yf=function(a){a.Pb(this.g.yf)};
b.prototype.lp=function(a){a.Pb(this.g.lp)};b.prototype.kr=function(a){a.Pb(this.g.kr)};b.prototype.gh=function(a,b,c,d,e){a.da(Ga(b,c,d,e))};b.prototype.M=function(a,b,c,d,e){a.da(wa(Ba(b,c,d,e)))};b.prototype.left=function(a,b,c){a.Zf(ga(b)?b.substr(0,c):"")};b.prototype.right=function(a,b,c){a.Zf(ga(b)?b.substr(b.length-c):"")};b.prototype.replace=function(a,b,c,d){ga(b)&&ga(c)&&ga(d)?a.Zf(b.replace(RegExp(Pa(c),"gi"),d)):a.Zf(ga(b)?b:"")};b.prototype.Rq=function(a){a.da(this.g.Rq/1E3)};b.prototype.Hk=
function(a){a.da(this.g.Hk)};d.vd=new b;d.lC=function(){var a,b,c,d,m,n,p=this.g.Kd();a=0;for(c=this.ge.length;a<c;a++)if(d=this.ge[a],!(d.time>this.g.mf.Ic)){p.ne=d.nk;p.ke=d.ke;p.Nc=0;for(b in d.Xd)d.Xd.hasOwnProperty(b)&&(m=this.g.Z[parseInt(b,10)].tb(),n=d.Xd[b],m.Gb=n.Ap,ta(m.B,n.kh),m=n,m.kh.length=0,g.push(m));d.nk.jC();this.g.Mq(d.Hb);d.Yq=!0}b=a=0;for(c=this.ge.length;a<c;a++)d=this.ge[a],this.ge[b]=d,d.Yq?(Ja(d.Xd),d.Hb.length=0,e.push(d)):b++;this.ge.length=b}})();
function yb(a){var c=a[0].prototype,b=a[1],d=a[3],e=a[4],g=a[5],f=a[6],h=a[7];a=a[8];c.C||(c.C={});c.r||(c.r={});c.vd||(c.vd={});var k=c.C,l=c.r,c=c.vd;d&&(k.bD=function(a,b){return Vb(this.x,a,b)},k.cD=function(a,b){return Vb(this.y,a,b)},k.kD=function(){var a=this.K;this.Jc();var b=this.Va;return!(b.right<a.Be||b.bottom<a.De||b.left>a.Ce||b.top>a.Ae)},k.zl=function(){this.Jc();var a=this.Va,b=this.g.Qa;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},k.zD=function(a,b,c){var d=this.tb(),
e=d.jf();if(!e.length)return!1;var f=e[0],g=f,h=Ga(f.x,f.y,b,c),k,l,z;k=1;for(l=e.length;k<l;k++)if(f=e[k],z=Ga(f.x,f.y,b,c),0===a&&z<h||1===a&&z>h)h=z,g=f;d.Ym(g);return!0},l.UD=function(a){this.x!==a&&(this.x=a,this.xc())},l.VD=function(a){this.y!==a&&(this.y=a,this.xc())},l.QD=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.xc()},l.RD=function(a,b){var c=a.HA(this);if(c){var d;c.rg?(d=c.rg(b,!0),c=c.rg(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.xc()}},
l.rD=function(a){0!==a&&(this.x+=Math.cos(this.M)*a,this.y+=Math.sin(this.M)*a,this.xc())},l.qD=function(a,b){0!==b&&(this.x+=Math.cos(va(a))*b,this.y+=Math.sin(va(a))*b,this.xc())},c.Du=function(a){a.da(this.x)},c.Eu=function(a){a.da(this.y)},c.Ga=function(a){a.da(this.g.Ao(this))});e&&(k.aD=function(a,b){return Vb(this.width,a,b)},k.YC=function(a,b){return Vb(this.height,a,b)},l.Ky=function(a){this.width!==a&&(this.width=a,this.xc())},l.ND=function(a){this.height!==a&&(this.height=a,this.xc())},
l.SD=function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.xc()},c.$D=function(a){a.da(this.width)},c.eD=function(a){a.da(this.height)},c.VC=function(a){this.Jc();a.da(this.Va.left)},c.XC=function(a){this.Jc();a.da(this.Va.top)},c.WC=function(a){this.Jc();a.da(this.Va.right)},c.UC=function(a){this.Jc();a.da(this.Va.bottom)});g&&(k.OC=function(a,b){return Ca(this.M,va(b))<=va(a)},k.iD=function(a){return Ea(this.M,va(a))},k.gD=function(a,b){var c=Aa(a),d=Aa(b),e=ya(this.M);
return Ea(d,c)?Ea(e,c)&&!Ea(e,d):!(!Ea(e,c)&&Ea(e,d))},l.Pn=function(a){a=va(xa(a));isNaN(a)||this.M===a||(this.M=a,this.xc())},l.FD=function(a){0===a||isNaN(a)||(this.M+=va(a),this.M=ya(this.M),this.xc())},l.GD=function(a){0===a||isNaN(a)||(this.M-=va(a),this.M=ya(this.M),this.xc())},l.HD=function(a,b){var c=Da(this.M,va(b),va(a));isNaN(c)||this.M===c||(this.M=c,this.xc())},l.ID=function(a,b,c){a=Da(this.M,Math.atan2(c-this.y,b-this.x),va(a));isNaN(a)||this.M===a||(this.M=a,this.xc())},l.TD=function(a,
b){var c=Math.atan2(b-this.y,a-this.x);isNaN(c)||this.M===c||(this.M=c,this.xc())},c.NC=function(a){a.da(za(this.M))});b||(k.ZC=function(a,b,c){return Vb(this.Qc[a],b,c)},k.hD=function(a){return this.Qc[a]},k.AD=function(a,b){var c=this.tb(),d=c.jf();if(!d.length)return!1;var e=d[0],f=e,g=e.Qc[b],h,k,l;h=1;for(k=d.length;h<k;h++)if(e=d[h],l=e.Qc[b],0===a&&l<g||1===a&&l>g)g=l,f=e;c.Ym(f);return!0},k.yD=function(a){var b,c,d,e,f;if(this.g.vv().hm){f=this.tb();if(f.Gb)for(f.Gb=!1,f.B.length=0,f.sb.length=
0,d=this.B,b=0,c=d.length;b<c;b++)e=d[b],e.uid===a?f.sb.push(e):f.B.push(e);else{d=b=0;for(c=f.B.length;b<c;b++)e=f.B[b],f.B[d]=e,e.uid===a?f.sb.push(e):d++;f.B.length=d}return!!f.B.length}e=this.g.kj(a);if(!e)return!1;f=this.tb();if(!f.Gb&&-1===f.B.indexOf(e))return!1;if(this.la)for(a=e.type.Lb,b=0,c=a.length;b<c;b++){if(a[b]===this)return f.Ym(e),!0}else if(e.type===this)return f.Ym(e),!0;return!1},k.ly=w(!0),k.my=w(!0),l.OD=function(a,b){var c=this.Qc;fa(c[a])?c[a]=fa(b)?b:parseFloat(b):ga(c[a])&&
(c[a]=ga(b)?b:b.toString())},l.MC=function(a,b){var c=this.Qc;fa(c[a])?c[a]=fa(b)?c[a]+b:c[a]+parseFloat(b):ga(c[a])&&(c[a]=ga(b)?c[a]+b:c[a]+b.toString())},l.WD=function(a,b){var c=this.Qc;fa(c[a])&&(c[a]=fa(b)?c[a]-b:c[a]-parseFloat(b))},l.JD=function(a,b){this.Qc[a]=b?1:0},l.YD=function(a){this.Qc[a]=1-this.Qc[a]},l.Qb=function(){this.g.Ki(this)},c.dD=function(a){var b=a.Xk.B.length,c,d,e;c=0;for(d=this.g.Ke.length;c<d;c++)e=this.g.Ke[c],a.Xk.la?0<=e.type.Lb.indexOf(a.Xk)&&b++:e.type===a.Xk&&b++;
a.Pb(b)},c.CD=function(a){a.Pb(a.Xk.tb().jf().length)},c.ZD=function(a){a.Pb(this.uid)},c.fD=function(a){a.Pb(this.dm())});f&&(k.mD=u("visible"),l.X=function(a){!a!==!this.visible&&(this.visible=a,this.g.eb=!0)},k.$C=function(a,b){return Vb(Ta(100*this.opacity),a,b)},l.PD=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.g.eb=!0)},c.Opacity=function(a){a.da(Ta(100*this.opacity))});h&&(k.jD=function(a){return a?this.K===a:!1},k.BD=function(a){var b=this.tb(),c=b.jf();if(!c.length)return!1;
var d=c[0],e=d,f,g;f=1;for(g=c.length;f<g;f++)if(d=c[f],0===a){if(d.K.index>e.K.index||d.K.index===e.K.index&&d.Me()>e.Me())e=d}else if(d.K.index<e.K.index||d.K.index===e.K.index&&d.Me()<e.Me())e=d;b.Ym(e);return!0},l.uD=function(){var a=this.Me();a!==this.K.B.length-1&&(sa(this.K.B,a),this.K.B.push(this),this.g.eb=!0,this.K.Ee=!0)},l.sD=function(){var a=this.Me();0!==a&&(sa(this.K.B,a),this.K.B.unshift(this),this.g.eb=!0,this.K.Ee=!0)},l.tD=function(a){a&&a!=this.K&&(sa(this.K.B,this.Me()),this.K.Ee=
!0,this.K=a,this.Wj=a.B.length,a.B.push(this),this.g.eb=!0)},l.bE=function(a,b){var c=0===a;if(b){var d=b.CA(this);if(d&&d.uid!==this.uid){this.K.index!==d.K.index&&(sa(this.K.B,this.Me()),this.K.Ee=!0,this.K=d.K,this.Wj=d.K.B.length,d.K.B.push(this));var e=this.Me(),d=d.Me();sa(this.K.B,e);e<d&&d--;c&&d++;d===this.K.B.length?this.K.B.push(this):this.K.B.splice(d,0,this);this.K.Ee=!0;this.g.eb=!0}}},c.oD=function(a){a.Pb(this.K.Aw)},c.nD=function(a){a.Zf(this.K.name)},c.aE=function(a){a.Pb(this.Me())});
a&&(l.LD=function(a,b){if(this.g.Y){var c=this.type.qr(b);if(!(0>c)){var d=1===a;this.Vh[c]!==d&&(this.Vh[c]=d,this.Oh(),this.g.eb=!0)}}},l.MD=function(a,b,c){if(this.g.Y){var d=this.type.qr(a);0>d||(a=this.type.Ea[d],d=this.lc[d],b=Math.floor(b),0>b||b>=d.length||(1===this.g.Y.KA(a.pd,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.He&&(this.g.eb=!0))))}})}function Pb(){this.Gq=!0;this.g.eb=!0;var a,c;a=0;for(c=this.Un.length;a<c;a++)this.Un[a](this)}function Qb(a){a&&this.Un.push(a)}
function Sb(){if(this.Gq){this.Va.set(this.x,this.y,this.x+this.width,this.y+this.height);this.Va.offset(-this.Md*this.width,-this.Nd*this.height);this.M?(this.Va.offset(-this.x,-this.y),this.ub.jx(this.Va,this.M),this.ub.offset(this.x,this.y),this.ub.Wu(this.Va)):this.ub.nt(this.Va);var a=0;this.Va.left>this.Va.right&&(a=this.Va.left,this.Va.left=this.Va.right,this.Va.right=a);this.Va.top>this.Va.bottom&&(a=this.Va.top,this.Va.top=this.Va.bottom,this.Va.bottom=a);this.Gq=!1}}
function Rb(a,c){return this.Va.ef(a,c)&&this.ub.ef(a,c)?this.lb&&!this.lb.xk()?(this.lb.gk(this.width,this.height,this.M),this.lb.ef(a-this.x,c-this.y)):!0:!1}function Nb(){this.type.Rp();return this.oj}function Tb(){this.K.GC();return this.Wj}function Ub(){this.kb.length=0;var a,c;a=0;for(c=this.Vh.length;a<c;a++)this.Vh[a]&&this.kb.push(this.type.Ea[a]);this.Hx=!!this.kb.length}function Ob(){return"Inst"+this.Tw}
function Ab(a){if(a&&a.Kf&&a.type!=this){var c,b,d;c=0;for(b=a.siblings.length;c<b;c++)if(d=a.siblings[c],d.type==this)return d}a=this.tb().jf();return a.length?a[0]:null}function Bb(a){var c=this.tb().jf();return c.length?c[a.dm()%c.length]:null}function zb(){if(this.dl&&!this.la){var a,c;a=0;for(c=this.B.length;a<c;a++)this.B[a].oj=a;var b=a,d=this.g.Ke;a=0;for(c=d.length;a<c;++a)d[a].type===this&&(d[a].oj=b++);this.dl=!1}}function Cb(){return this.Di[this.fh]}
function Fb(){this.fh++;this.fh===this.Di.length?this.Di.push(new Xa(this)):this.Di[this.fh].Gb=!0}function Gb(){this.fh++;this.fh===this.Di.length&&this.Di.push(new Xa(this));var a=this.Di[this.fh],c=this.Di[this.fh-1];c.Gb?a.Gb=!0:(a.Gb=!1,ta(a.B,c.B),ta(a.sb,c.sb))}function Hb(){this.fh--}
function Ib(a){var c,b,d,e,g,f=0;if(!this.la)for(c=0,b=this.Lb.length;c<b;c++)for(g=this.Lb[c],d=0,e=g.Bc.length;d<e;d++){if(a===g.Bc[d].name)return this.pa.Vv=f,g.Bc[d];f++}c=0;for(b=this.Bc.length;c<b;c++){if(a===this.Bc[c].name)return this.pa.Vv=f,this.Bc[c];f++}return null}function Jb(a){return this.zo(a)?this.pa.Vv:-1}function Kb(a){var c,b;c=0;for(b=this.Ea.length;c<b;c++)if(this.Ea[c].name===a)return c;return-1}
function Lb(){if(this.Kf&&!this.la){var a,c,b,d,e,g,f;this.Rp();g=this.tb();var h=g.Gb,k=(a=this.g.Kd())&&a.ne&&a.ne.Tf;a=0;for(c=this.$d.length;a<c;a++)if(e=this.$d[a],e!==this&&(e.Rp(),f=e.tb(),f.Gb=h,!h)){f.B.length=g.B.length;b=0;for(d=g.B.length;b<d;b++)f.B[b]=e.B[g.B[b].oj];if(k)for(f.sb.length=g.sb.length,b=0,d=g.sb.length;b<d;b++)f.sb[b]=e.B[g.sb[b].oj]}}}function Mb(){return"Type"+this.Ra}
function Vb(a,c,b){if("undefined"===typeof a||"undefined"===typeof b)return!1;switch(c){case 0:return a===b;case 1:return a!==b;case 2:return a<b;case 3:return a<=b;case 4:return a>b;case 5:return a>=b;default:return!1}}var wb={};function Wb(a){this.g=a}
(function(){function a(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function c(a){a=a.toLowerCase();return ca.hasOwnProperty(a)&&ca[a].length?ca[a][0].Le():M.destination}function b(){return M.createGain?M.createGain():M.createGainNode()}function d(a){return M.createDelay?M.createDelay(a):M.createDelayNode(a)}function e(a){a.start?a.start(0):a.noteOn(0)}function g(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function f(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function h(a,
c,d,e,f,g){this.type="filter";this.pc=[a,c,d,e,f,g];this.Xa=b();this.Da=b();this.Da.gain.value=g;this.za=b();this.za.gain.value=1-g;this.Dc=M.createBiquadFilter();this.Dc.type="number"===typeof this.Dc.type?a:Pe[a];this.Dc.frequency.value=c;this.Dc.detune&&(this.Dc.detune.value=d);this.Dc.Q.value=e;this.Dc.gain.value=f;this.Xa.connect(this.Dc);this.Xa.connect(this.za);this.Dc.connect(this.Da)}function k(a,c,e){this.type="delay";this.pc=[a,c,e];this.Xa=b();this.Da=b();this.Da.gain.value=e;this.za=
b();this.za.gain.value=1-e;this.Om=b();this.gf=d(a);this.gf.delayTime.value=a;this.mo=b();this.mo.gain.value=c;this.Xa.connect(this.Om);this.Xa.connect(this.za);this.Om.connect(this.Da);this.Om.connect(this.gf);this.gf.connect(this.mo);this.mo.connect(this.Om)}function l(a,c,d,e){this.type="convolve";this.pc=[c,d,e];this.Xa=b();this.Da=b();this.Da.gain.value=d;this.za=b();this.za.gain.value=1-d;this.dj=M.createConvolver();a&&(this.dj.normalize=c,this.dj.buffer=a);this.Xa.connect(this.dj);this.Xa.connect(this.za);
this.dj.connect(this.Da)}function m(a,c,f,g,h){this.type="flanger";this.pc=[a,c,f,g,h];this.Xa=b();this.za=b();this.za.gain.value=1-h/2;this.Da=b();this.Da.gain.value=h/2;this.to=b();this.to.gain.value=g;this.gf=d(a+c);this.gf.delayTime.value=a;this.ed=M.createOscillator();this.ed.frequency.value=f;this.ye=b();this.ye.gain.value=c;this.Xa.connect(this.gf);this.Xa.connect(this.za);this.gf.connect(this.Da);this.gf.connect(this.to);this.to.connect(this.gf);this.ed.connect(this.ye);this.ye.connect(this.gf.delayTime);
e(this.ed)}function n(a,c,d,f,g,h){this.type="phaser";this.pc=[a,c,d,f,g,h];this.Xa=b();this.za=b();this.za.gain.value=1-h/2;this.Da=b();this.Da.gain.value=h/2;this.Dc=M.createBiquadFilter();this.Dc.type="number"===typeof this.Dc.type?7:"allpass";this.Dc.frequency.value=a;this.Dc.detune&&(this.Dc.detune.value=c);this.Dc.Q.value=d;this.ed=M.createOscillator();this.ed.frequency.value=g;this.ye=b();this.ye.gain.value=f;this.Xa.connect(this.Dc);this.Xa.connect(this.za);this.Dc.connect(this.Da);this.ed.connect(this.ye);
this.ye.connect(this.Dc.frequency);e(this.ed)}function p(a){this.type="gain";this.pc=[a];this.cb=b();this.cb.gain.value=a}function v(a,c){this.type="tremolo";this.pc=[a,c];this.cb=b();this.cb.gain.value=1-c/2;this.ed=M.createOscillator();this.ed.frequency.value=a;this.ye=b();this.ye.gain.value=c/2;this.ed.connect(this.ye);this.ye.connect(this.cb.gain);e(this.ed)}function r(a,c){this.type="ringmod";this.pc=[a,c];this.Xa=b();this.Da=b();this.Da.gain.value=c;this.za=b();this.za.gain.value=1-c;this.en=
b();this.en.gain.value=0;this.ed=M.createOscillator();this.ed.frequency.value=a;this.ed.connect(this.en.gain);e(this.ed);this.Xa.connect(this.en);this.Xa.connect(this.za);this.en.connect(this.Da)}function s(a,c,d,e,f){this.type="distortion";this.pc=[a,c,d,e,f];this.Xa=b();this.rp=b();this.qp=b();this.tC(d,Math.pow(10,e/20));this.Da=b();this.Da.gain.value=f;this.za=b();this.za.gain.value=1-f;this.Tp=M.createWaveShaper();this.jo=new Float32Array(65536);this.yA(a,c);this.Tp.jo=this.jo;this.Xa.connect(this.rp);
this.Xa.connect(this.za);this.rp.connect(this.Tp);this.Tp.connect(this.qp);this.qp.connect(this.Da)}function y(a,b,c,d,e){this.type="compressor";this.pc=[a,b,c,d,e];this.cb=M.createDynamicsCompressor();this.cb.threshold.value=a;this.cb.knee.value=b;this.cb.ratio.value=c;this.cb.attack.value=d;this.cb.release.value=e}function G(a,b){this.type="analyser";this.pc=[a,b];this.cb=M.createAnalyser();this.cb.fftSize=a;this.cb.smoothingTimeConstant=b;this.wA=new Float32Array(this.cb.frequencyBinCount);this.lx=
new Uint8Array(a);this.Xm=0}function H(){this.Pa=null;this.Yo=0;this.Ei=[];this.Fs=this.To=this.So=0}function L(a,c){this.src=a;this.yb=Q;this.Lf=c;this.Lu=!1;var d=this;this.rw=this.Ts=null;this.$k=[];this.Bp=0;this.mp=!1;Q!==N||!c||t.ug||t.qj||(this.yb=P,this.Ts=b());this.Tn=this.Tb=null;var e;switch(this.yb){case P:this.Tb=new Audio;Q===N&&M.createMediaElementSource&&this.Tb.addEventListener("canplay",function(){d.rw=M.createMediaElementSource(d.Tb);d.rw.connect(d.Ts)});this.Tb.autoplay=!1;this.Tb.oE=
"auto";this.Tb.src=a;break;case N:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){d.Tn=e.response;d.kv()};e.send();break;case J:this.Tb=!0;break;case W:this.Tb=!0}}function z(a,d){var e=this;this.Fi=d;this.$f=this.ii=!0;this.src=a.src;this.buffer=a;this.yb=Q;this.Lf=a.Lf;this.playbackRate=1;this.Vs=!0;this.ki=this.Gh=!1;this.Yf=0;this.Kr=this.Jr=this.rh=!1;this.Pm=this.volume=1;this.startTime=t.mf.Ic;this.vc=this.nd=null;this.Gg=!1;this.Sc=null;this.Jw=this.Iw=
this.Hw=this.Gw=this.Lw=this.Kw=0;this.W=null;var f=!1;switch(this.yb){case P:this.Lf?(this.W=a.Tb,f=!a.Lu,a.Lu=!0):(this.W=new Audio,this.W.autoplay=!1,this.W.src=a.Tb.src,f=!0);f&&this.W.addEventListener("ended",function(){I=e.Fi;e.$f=!0;t.trigger(Wb.prototype.C.kq,x)});break;case N:this.nd=b();this.nd.connect(c(d));this.buffer.yb===N?a.Tb&&(this.W=M.createBufferSource(),this.W.buffer=a.Tb,this.W.connect(this.nd)):(this.W=this.buffer.Tb,this.buffer.Ts.connect(this.nd));break;case J:this.W=new window.Media(R+
this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(e.Vs=!0,e.$f=!0,I=e.Fi,t.trigger(Wb.prototype.C.kq,x))});break;case W:this.W=!0}}function F(a,b){ca.hasOwnProperty(a)?ca[a].push(b):ca[a]=[b];var c,d,e,f,g=M.destination;if(ca.hasOwnProperty(a)&&(e=ca[a],e.length))for(g=e[0].Le(),c=0,d=e.length;c<d;c++)f=e[c],c+1===d?f.df(M.destination):f.df(e[c+1].Le());fb.length=0;if(a.length)for(c=0,d=aa.length;c<d;c++)e=aa[c],Ua(a,e.Fi)&&fb.push(e);else Gc&&!Gc.em()&&(fb.length=1,fb[0]=Gc);c=0;for(d=
fb.length;c<d;c++)fb[c].gC(g);Wa&&Hc===a&&(Wa.disconnect(),Wa.connect(g))}function C(){}var A=Wb.prototype;A.jb=function(a){this.zb=a;this.g=a.g};A.jb.prototype.xa=q();var t=null,x=null,I="",R="",P=0,N=1,J=2,W=3,Q=P,M=null,ra=[],aa=[],Gc=null,cc=0,Db=!1,Ma=1,gb=0,hb=0,Ic=1,Jc=1,Md=10,Nd=1E4,Od=1,Wa=null,Hc="",ca={},Pe="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");h.prototype.df=function(a){this.Da.disconnect();this.Da.connect(a);this.za.disconnect();this.za.connect(a)};
h.prototype.remove=function(){this.Xa.disconnect();this.Dc.disconnect();this.Da.disconnect();this.za.disconnect()};h.prototype.Le=u("Xa");k.prototype.df=function(a){this.Da.disconnect();this.Da.connect(a);this.za.disconnect();this.za.connect(a)};k.prototype.remove=function(){this.Xa.disconnect();this.Om.disconnect();this.gf.disconnect();this.mo.disconnect();this.Da.disconnect();this.za.disconnect()};k.prototype.Le=u("Xa");l.prototype.df=function(a){this.Da.disconnect();this.Da.connect(a);this.za.disconnect();
this.za.connect(a)};l.prototype.remove=function(){this.Xa.disconnect();this.dj.disconnect();this.Da.disconnect();this.za.disconnect()};l.prototype.Le=u("Xa");m.prototype.df=function(a){this.za.disconnect();this.za.connect(a);this.Da.disconnect();this.Da.connect(a)};m.prototype.remove=function(){this.Xa.disconnect();this.gf.disconnect();this.ed.disconnect();this.ye.disconnect();this.za.disconnect();this.Da.disconnect();this.to.disconnect()};m.prototype.Le=u("Xa");n.prototype.df=function(a){this.za.disconnect();
this.za.connect(a);this.Da.disconnect();this.Da.connect(a)};n.prototype.remove=function(){this.Xa.disconnect();this.Dc.disconnect();this.ed.disconnect();this.ye.disconnect();this.za.disconnect();this.Da.disconnect()};n.prototype.Le=u("Xa");p.prototype.df=function(a){this.cb.disconnect();this.cb.connect(a)};p.prototype.remove=function(){this.cb.disconnect()};p.prototype.Le=u("cb");v.prototype.df=function(a){this.cb.disconnect();this.cb.connect(a)};v.prototype.remove=function(){this.ed.disconnect();
this.ye.disconnect();this.cb.disconnect()};v.prototype.Le=u("cb");r.prototype.df=function(a){this.Da.disconnect();this.Da.connect(a);this.za.disconnect();this.za.connect(a)};r.prototype.remove=function(){this.ed.disconnect();this.en.disconnect();this.Xa.disconnect();this.Da.disconnect();this.za.disconnect()};r.prototype.Le=u("Xa");s.prototype.tC=function(a,b){0.01>a&&(a=0.01);this.rp.gain.value=a;this.qp.gain.value=Math.pow(1/a,0.6)*b};s.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;
a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/d)*(a-b)));return b*c};s.prototype.yA=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),e=0,f=0;32768>f;++f)e=f/32768,e=this.shape(e,c,d),this.jo[32768+f]=e,this.jo[32768-f-1]=-e};s.prototype.df=function(a){this.Da.disconnect();this.Da.connect(a);this.za.disconnect();this.za.connect(a)};s.prototype.remove=function(){this.Xa.disconnect();this.rp.disconnect();this.Tp.disconnect();this.qp.disconnect();this.Da.disconnect();this.za.disconnect()};s.prototype.Le=
u("Xa");y.prototype.df=function(a){this.cb.disconnect();this.cb.connect(a)};y.prototype.remove=function(){this.cb.disconnect()};y.prototype.Le=u("cb");G.prototype.yc=function(){this.cb.getFloatFrequencyData(this.wA);this.cb.getByteTimeDomainData(this.lx);for(var b=this.cb.fftSize,c=0,d=this.Xm=0,e=0;c<b;c++)e=(this.lx[c]-128)/128,0>e&&(e=-e),this.Xm<e&&(this.Xm=e),d+=e*e;this.Xm=a(this.Xm);a(Math.sqrt(d/b))};G.prototype.df=function(a){this.cb.disconnect();this.cb.connect(a)};G.prototype.remove=function(){this.cb.disconnect()};
G.prototype.Le=u("cb");H.prototype.gn=function(a){if(this.Pa=a)this.So=this.Pa.x,this.To=this.Pa.y;this.Ei.length=0};H.prototype.Io=function(){return!!this.Pa};H.prototype.yc=function(a){this.Pa&&(this.Fs=Ba(this.So,this.To,this.Pa.x,this.Pa.y),a=Ga(this.So,this.To,this.Pa.x,this.Pa.y)/a,4>this.Ei.length||this.Ei.shift(),this.Ei.push(a),this.So=this.Pa.x,this.To=this.Pa.y)};H.prototype.Av=function(){if(!this.Ei.length)return 0;var a,b,c=0;a=0;for(b=this.Ei.length;a<b;a++)c+=this.Ei[a];return c/this.Ei.length};
H.prototype.Bv=function(){return Math.cos(this.Fs)*this.Av()};H.prototype.Cv=function(){return Math.sin(this.Fs)*this.Av()};var Pd=!1;L.prototype.kv=function(){if(!this.Tb&&this.Tn){var a=this;if(M.decodeAudioData)M.decodeAudioData(this.Tn,function(b){a.Tb=b;var c,d,e;if(ea(a.np))ea(a.ho)||(c=a.ho.dj,c.normalize=a.zw,c.buffer=b);else if(a.$k.length){c=0;for(d=a.$k.length;c<d;c++){b=a.$k[c];e=new z(a,b.ux);e.gx(!0);if("undefined"!==typeof b.Bw&&(b.Pa=t.kj(b.Bw),!b.Pa))continue;if(b.Pa){var f=Fa(b.Pa.x,
b.Pa.y,-b.Pa.K.be(),gb,hb,!0),g=Fa(b.Pa.x,b.Pa.y,-b.Pa.K.be(),gb,hb,!1);e.lt(f,g,wa(b.Pa.M-b.Pa.K.be()),b.yr,b.Hs,b.Ls);e.gn(b.Pa)}else e.lt(b.x,b.y,b.I,b.yr,b.Hs,b.Ls);e.play(a.gs,a.Kt,a.Bp);a.mp&&e.pause();aa.push(e)}a.$k.length=0}else e=new z(a,a.np),e.play(a.gs,a.Kt,a.Bp),a.mp&&e.pause(),aa.push(e)});else if(this.Tb=M.createBuffer(this.Tn,!1),ea(this.np))ea(this.ho)||(b=this.ho.dj,b.normalize=this.zw,b.buffer=this.Tb);else{var b=new z(this,this.np);b.play(this.gs,this.Kt,this.Bp);this.mp&&b.pause();
aa.push(b)}}};z.prototype.em=function(){switch(this.yb){case P:return this.W.ended;case N:return this.buffer.yb===N?!this.ii&&!this.$f&&this.W.loop||this.ki?!1:t.mf.Ic-this.startTime>this.buffer.Tb.duration:this.W.ended;case J:return this.Vs;case W:!0}return!0};z.prototype.rz=function(){return this.ii||this.$f?!0:this.em()};z.prototype.gx=function(a){Q===N&&(!this.Gg&&a?(this.vc||(this.vc=M.createPanner(),this.vc.panningModel="number"===typeof this.vc.panningModel?Ic:["equalpower","HRTF","soundfield"][Ic],
this.vc.distanceModel="number"===typeof this.vc.distanceModel?Jc:["linear","inverse","exponential"][Jc],this.vc.refDistance=Md,this.vc.maxDistance=Nd,this.vc.rolloffFactor=Od),this.nd.disconnect(),this.nd.connect(this.vc),this.vc.connect(c(this.Fi)),this.Gg=!0):this.Gg&&!a&&(this.vc.disconnect(),this.nd.disconnect(),this.nd.connect(c(this.Fi)),this.Gg=!1))};z.prototype.lt=function(a,b,c,d,e,f){this.Gg&&Q===N&&(this.vc.setPosition(a,b,0),this.vc.setOrientation(Math.cos(va(c)),Math.sin(va(c)),0),this.vc.coneInnerAngle=
d,this.vc.coneOuterAngle=e,this.vc.coneOuterGain=f,this.Kw=a,this.Lw=b,this.Gw=c,this.Hw=d,this.Iw=e,this.Jw=f)};z.prototype.gn=function(a){this.Gg&&Q===N&&(this.Sc||(this.Sc=new H),this.Sc.gn(a))};z.prototype.yc=function(a){if(this.Gg&&Q===N&&this.Sc&&this.Sc.Io()&&this.wk()){this.Sc.yc(a);a=this.Sc.Pa;var b=Fa(a.x,a.y,-a.K.be(),gb,hb,!0),c=Fa(a.x,a.y,-a.K.be(),gb,hb,!1);this.vc.setPosition(b,c,0);b=0;"undefined"!==typeof this.Sc.Pa.M&&(b=a.M-a.K.be(),this.vc.setOrientation(Math.cos(b),Math.sin(b),
0));this.vc.setVelocity(this.Sc.Bv(),this.Sc.Cv(),0)}};z.prototype.play=function(a,b,c){var d=this.W;this.rh=a;this.volume=b;c=c||0;switch(this.yb){case P:1!==d.playbackRate&&(d.playbackRate=1);d.volume!==b*Ma&&(d.volume=b*Ma);d.loop!==a&&(d.loop=a);d.muted&&(d.muted=!1);if(d.currentTime!==c)try{d.currentTime=c}catch(f){}this.W.play();break;case N:this.muted=!1;this.Pm=1;if(this.buffer.yb===N)this.ii||(this.W=M.createBufferSource(),this.W.buffer=this.buffer.Tb,this.W.connect(this.nd)),this.W.loop=
a,this.nd.gain.value=b*Ma,0===c?e(this.W):g(this.W,c,this.rk());else{1!==d.playbackRate&&(d.playbackRate=1);d.loop!==a&&(d.loop=a);this.nd.gain.value=b*Ma;if(d.currentTime!==c)try{d.currentTime=c}catch(h){}d.play()}break;case J:(!this.ii&&this.$f||0!==c)&&d.seekTo(c);d.play();this.Vs=!1;break;case W:t.lf?AppMobi.context.playSound(this.src):AppMobi.player.playSound(this.src)}this.playbackRate=1;this.startTime=t.mf.Ic-c;this.ki=this.$f=this.ii=!1};z.prototype.stop=function(){switch(this.yb){case P:this.W.paused||
this.W.pause();break;case N:this.buffer.yb===N?f(this.W):this.W.paused||this.W.pause();break;case J:this.W.stop()}this.$f=!0;this.ki=!1};z.prototype.pause=function(){if(!(this.ii||this.$f||this.em()||this.ki)){switch(this.yb){case P:this.W.paused||this.W.pause();break;case N:this.buffer.yb===N?(this.Yf=this.rr(),this.rh&&(this.Yf%=this.rk()),f(this.W)):this.W.paused||this.W.pause();break;case J:this.W.pause()}this.ki=!0}};z.prototype.gC=function(a){this.yb===N&&(this.Gg?(this.vc.disconnect(),this.vc.connect(a)):
(this.nd.disconnect(),this.nd.connect(a)))};z.prototype.rk=function(){switch(this.yb){case P:if("undefined"!==typeof this.W.duration)return this.W.duration;break;case N:return this.buffer.Tb.duration;case J:return this.W.getDuration()}return 0};z.prototype.rr=function(){var a=this.rk(),b=0;switch(this.yb){case P:"undefined"!==typeof this.W.currentTime&&(b=this.W.currentTime);break;case N:if(this.buffer.yb===N){if(this.ki)return this.Yf;b=t.mf.Ic-this.startTime}else"undefined"!==typeof this.W.currentTime&&
(b=this.W.currentTime)}!this.rh&&b>a&&(b=a);return b};z.prototype.wk=function(){return!this.ki&&!this.ii&&!this.$f&&!this.em()};z.prototype.FC=function(){var a=this.volume*Ma;switch(this.yb){case P:this.W.volume&&this.W.volume!==a&&(this.W.volume=a);break;case N:this.nd.gain.value=a*this.Pm}};z.prototype.mv=function(a){switch(this.yb){case P:this.W.muted!==!!a&&(this.W.muted=!!a);break;case N:this.Pm=a?0:1,this.nd.gain.value=Ma*this.volume*this.Pm}};z.prototype.hx=function(a){this.Kr=!!a;this.mv(this.Jr||
this.Kr)};z.prototype.Fx=function(){var a=this.playbackRate;if(1===cc&&!this.Lf||2===cc)a*=t.Gi;switch(this.yb){case P:this.W.playbackRate!==a&&(this.W.playbackRate=a);break;case N:this.buffer.yb===N?this.W.playbackRate.value!==a&&(this.W.playbackRate.value=a):this.W.playbackRate!==a&&(this.W.playbackRate=a)}};z.prototype.uC=function(a){switch(this.yb){case P:a?this.wk()?(this.W.pause(),this.Gh=!0):this.Gh=!1:this.Gh&&this.W.play();break;case N:a?this.wk()?(this.buffer.yb===N?(this.Yf=this.rr(),this.rh&&
(this.Yf%=this.rk()),f(this.W)):this.W.pause(),this.Gh=!0):this.Gh=!1:this.Gh&&(this.buffer.yb===N?(this.W=M.createBufferSource(),this.W.buffer=this.buffer.Tb,this.W.connect(this.nd),this.W.loop=this.rh,this.nd.gain.value=Ma*this.volume*this.Pm,this.startTime=t.mf.Ic-this.Yf,g(this.W,this.Yf,this.rk())):this.W.play());break;case J:a?this.wk()?(this.W.pause(),this.Gh=!0):this.Gh=!1:this.Gh&&this.W.play()}};A.Ta=function(a){this.type=a;t=this.g=a.g;x=this;this.Pd=null;this.zm=-600;M=null;"undefined"!==
typeof AudioContext?(Q=N,M=new AudioContext):"undefined"!==typeof webkitAudioContext&&(Q=N,M=new webkitAudioContext);this.g.Lr&&Q===N&&document.addEventListener("touchstart",function(){if(!Pd){var a=M.createBuffer(1,1,22050),b=M.createBufferSource();b.buffer=a;b.connect(M.destination);e(b);Pd=!0}},!0);Q!==N&&(this.g.rj?Q=J:this.g.uk&&(Q=W));Q===J&&(R=location.href,a=R.lastIndexOf("/"),-1<a&&(R=R.substr(0,a+1)),R=R.replace("file://",""));if(this.g.iB&&this.g.Rv&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),
this.g.Ki(this);else{if(!this.g.lf)try{new Audio}catch(b){}this.g.fl(this)}};var Na=A.Ta.prototype;Na.xa=function(){cc=this.V[0];this.Hh=this.V[1];Ic=this.V[2];Jc=this.V[3];this.zm=-this.V[4];Md=this.V[5];Nd=this.V[6];Od=this.V[7];this.Pd=new H;Q===N&&(M.listener.speedOfSound=this.V[8],M.listener.dopplerFactor=this.V[9],M.listener.setPosition(this.g.width/2,this.g.height/2,this.zm),M.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){Wa&&Wa.disconnect();Hc=b.toLowerCase();
Wa=M.createMediaStreamSource(a);Wa.connect(c(Hc))});this.g.Ku(function(a){x.XB(a)});var a=this;this.g.Dq(function(b){a.Ms(b)})};Na.Ms=function(a){var b,c,d;b=0;for(c=aa.length;b<c;b++)d=aa[b],d.Sc&&d.Sc.Pa===a&&(d.Sc.Pa=null,d.Gg&&d.wk()&&d.rh&&d.stop());this.Pd.Pa===a&&(this.Pd.Pa=null)};Na.Ad=function(){var a={silent:Db,masterVolume:Ma,listenerZ:this.zm,listenerUid:this.Pd.Io()?this.Pd.Pa.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,g,h;c=0;for(d=aa.length;c<d;c++)e=aa[c],!e.wk()||3===this.Hh||
e.Lf&&1===this.Hh||!e.Lf&&2===this.Hh||(f=e.rr(),e.rh&&(f%=e.rk()),f={tag:e.Fi,buffersrc:e.buffer.src,is_music:e.Lf,playbackTime:f,volume:e.volume,looping:e.rh,muted:e.Jr,playbackRate:e.playbackRate,paused:e.ki,resume_position:e.Yf},e.Gg&&(f.pan={},h=f.pan,e.Sc&&e.Sc.Io()?h.objUid=e.Sc.Pa.uid:(h.x=e.Kw,h.y=e.Lw,h.a=e.Gw),h.ia=e.Hw,h.oa=e.Iw,h.og=e.Jw),b.push(f));b=a.effects;for(g in ca)if(ca.hasOwnProperty(g)){e=[];c=0;for(d=ca[g].length;c<d;c++)e.push({type:ca[g][c].type,params:ca[g][c].pc});b[g]=
e}return a};var Eb=[];Na.de=function(a){var b=a.silent;Ma=a.masterVolume;this.zm=a.listenerZ;this.Pd.gn(null);var c=a.listenerUid;-1!==c&&(this.Pd.Yo=c,Eb.push(this.Pd));var c=a.playing,d,e,f,g,z,t,L,C,A,x,I;if(3!==this.Hh)for(d=0,e=aa.length;d<e;d++)A=aa[d],A.Lf&&1===this.Hh||(A.Lf||2!==this.Hh)&&A.stop();for(z in ca)if(ca.hasOwnProperty(z))for(d=0,e=ca[z].length;d<e;d++)ca[z][d].remove();Ja(ca);for(z in a.effects)if(a.effects.hasOwnProperty(z))for(t=a.effects[z],d=0,e=t.length;d<e;d++)switch(f=
t[d].type,x=t[d].params,f){case "filter":F(z,new h(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":F(z,new k(x[0],x[1],x[2]));break;case "convolve":f=x[2];A=this.mr(f,!1);A.Tb?f=new l(A.Tb,x[0],x[1],f):(f=new l(null,x[0],x[1],f),A.zw=x[0],A.ho=f);F(z,f);break;case "flanger":F(z,new m(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":F(z,new n(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":F(z,new p(x[0]));break;case "tremolo":F(z,new v(x[0],x[1]));break;case "ringmod":F(z,new r(x[0],x[1]));break;
case "distortion":F(z,new s(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":F(z,new y(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":F(z,new G(x[0],x[1]))}d=0;for(e=c.length;d<e;d++)3===this.Hh||(a=c[d],f=a.buffersrc,g=a.is_music,z=a.tag,t=a.playbackTime,L=a.looping,C=a.volume,I=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,g&&1===this.Hh)||!g&&2===this.Hh||((A=this.AA(f,z,g,L,C))?(A.Yf=a.resume_position,A.gx(!!x),A.play(L,C,t),A.Fx(),A.FC(),A.mv(A.Jr||A.Kr),a.paused&&A.pause(),a.muted&&
A.lE(),x&&(-1!==I?(A.Sc=A.Sc||new H,A.Sc.Yo=I,Eb.push(A.Sc)):A.lt(x.x,x.y,x.a,x.ia,x.oa,x.og))):(A=this.mr(f,g),A.Bp=t,A.mp=a.paused,x&&(-1!==I?A.$k.push({Bw:I,yr:x.ia,Hs:x.oa,Ls:x.og,ux:z}):A.$k.push({x:x.x,y:x.y,I:x.a,yr:x.ia,Hs:x.oa,Ls:x.og,ux:z}))));if(b&&!Db){d=0;for(e=aa.length;d<e;d++)aa[d].hx(!0);Db=!0}else if(!b&&Db){d=0;for(e=aa.length;d<e;d++)aa[d].hx(!1);Db=!1}};Na.ek=function(){var a,b,c,d;a=0;for(b=Eb.length;a<b;a++)c=Eb[a],d=this.g.kj(c.Yo),c.gn(d),c.Yo=-1,d&&(gb=d.x,hb=d.y);Eb.length=
0};Na.XB=function(a){var b,c;b=0;for(c=aa.length;b<c;b++)aa[b].uC(a)};Na.yc=function(){var a=this.g.Ga,b,c,d;b=0;for(c=aa.length;b<c;b++)d=aa[b],d.yc(a),d.yb===P||d.yb===W||d.ii||d.$f||!d.em()||(d.$f=!0,I=d.Fi,t.trigger(Wb.prototype.C.kq,x)),0!==cc&&d.Fx();var e,f;for(e in ca)if(ca.hasOwnProperty(e))for(d=ca[e],b=0,c=d.length;b<c;b++)f=d[b],f.yc&&f.yc();Q===N&&this.Pd.Io()&&(this.Pd.yc(a),gb=this.Pd.Pa.x,hb=this.Pd.Pa.y,M.listener.setPosition(this.Pd.Pa.x,this.Pd.Pa.y,this.zm),M.listener.setVelocity(this.Pd.Bv(),
this.Pd.Cv(),0))};Na.mr=function(a,b){var c,d,e,f=null,g,h,n,k;c=0;for(d=ra.length;c<d;c++)if(e=ra[c],e.src===a){f=e;break}f||(f=new L(a,b),ra.push(f));if(f.Lf&&(t.ug||t.qj)){c=0;for(d=ra.length;c<d;++c)if(e=ra[c],e!==f&&e.Lf){e.Tb=null;h=g=0;for(n=aa.length;g<n;++g)k=aa[g],aa[h]=k,k.buffer===e&&k.yb===N?(k.nd.disconnect(),e.yb===N&&k.W.disconnect()):++h;aa.length=h}f.kv()}return f};Na.AA=function(a,b,c,d,e){var f,g,h;f=0;for(g=aa.length;f<g;f++)if(h=aa[f],h.src===a&&(h.rz()||c))return h.Fi=b,h;a=
this.mr(a,c);if(!a.Tb)return"<preload>"!==b&&(a.np=b,a.gs=d,a.Kt=e),null;h=new z(a,b);aa.push(h);return h};var fb=[];C.prototype.kq=function(a){return Ua(I,a)};A.C=new C;A.r=new (q());A.vd=new (q())})();function Xb(a){this.g=a}
(function(){function a(){}var c=Xb.prototype;c.jb=function(a){this.zb=a;this.g=a.g};c.jb.prototype.xa=q();c.Ta=function(a){this.type=a;this.g=a.g};c.Ta.prototype.xa=function(){var a=this;window.addEventListener("resize",function(){a.g.trigger(Xb.prototype.C.Ay,a)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.g.trigger(Xb.prototype.C.wy,a)}),window.addEventListener("offline",function(){a.g.trigger(Xb.prototype.C.uy,a)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){a.g.Hk=1;a.g.trigger(Xb.prototype.C.nu,a)}),window.applicationCache.addEventListener("progress",function(c){a.g.Hk=c.loaded/c.total}));this.g.lf||(document.addEventListener("appMobi.device.update.available",function(){a.g.trigger(Xb.prototype.C.nu,a)}),document.addEventListener("menubutton",function(){a.g.trigger(Xb.prototype.C.hu,a)}),document.addEventListener("searchbutton",function(){a.g.trigger(Xb.prototype.C.By,a)}),document.addEventListener("tizenhwkey",
function(c){var e;switch(c.keyName){case "back":e=a.g.trigger(Xb.prototype.C.jy,a);!e&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(e=a.g.trigger(Xb.prototype.C.hu,a))||c.preventDefault()}}));this.g.Ku(function(c){c?a.g.trigger(Xb.prototype.C.xy,a):a.g.trigger(Xb.prototype.C.yy,a)})};a.prototype.wy=w(!0);a.prototype.uy=w(!0);a.prototype.nu=w(!0);a.prototype.yy=w(!0);a.prototype.xy=w(!0);a.prototype.Ay=w(!0);a.prototype.jy=w(!0);a.prototype.hu=w(!0);a.prototype.By=
w(!0);c.C=new a;c.r=new (q());c.vd=new (q())})();function Yb(a){this.g=a}
(function(){function a(){}function c(){}var b=Yb.prototype;b.jb=function(a){this.zb=a;this.g=a.g};b.jb.prototype.xa=q();b.Ta=function(a){this.type=a;this.g=a.g};var d=b.Ta.prototype;d.xa=function(){this.g.Bb?da("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.vk=1===this.V[0],this.kf=document.createElement("input"),this.O=this.vk?document.createElement("label"):this.kf,this.pm=null,this.kf.type=this.vk?"checkbox":"button",this.kf.id=this.V[6],jQuery(this.O).appendTo(this.g.hk?
this.g.hk:"body"),this.vk?(jQuery(this.kf).appendTo(this.O),this.pm=document.createTextNode(this.V[1]),jQuery(this.O).append(this.pm),this.kf.checked=0!==this.V[7],jQuery(this.O).css("font-family","sans-serif"),jQuery(this.O).css("display","inline-block"),jQuery(this.O).css("color","black")):this.kf.value=this.V[1],this.O.title=this.V[2],this.kf.disabled=0===this.V[4],this.Fq=0!==this.V[5],this.ae=!1,0===this.V[3]&&(jQuery(this.O).hide(),this.visible=!1,this.ae=!0),this.kf.onclick=function(a){return function(b){b.stopPropagation();
a.g.trigger(Yb.prototype.C.jq,a)}}(this),this.O.addEventListener("touchstart",function(a){a.stopPropagation()},!1),this.O.addEventListener("touchmove",function(a){a.stopPropagation()},!1),this.O.addEventListener("touchend",function(a){a.stopPropagation()},!1),jQuery(this.O).mousedown(function(a){a.stopPropagation()}),jQuery(this.O).mouseup(function(a){a.stopPropagation()}),jQuery(this.O).keydown(function(a){a.stopPropagation()}),jQuery(this.O).keyup(function(a){a.stopPropagation()}),this.wm=this.xm=
this.qm=this.um=this.vm=this.rm=0,this.qn(!0),this.g.fl(this))};d.Ad=function(){var a={tooltip:this.O.title,disabled:!!this.kf.disabled};this.vk?(a.checked=!!this.kf.checked,a.text=this.pm.nodeValue):a.text=this.O.value;return a};d.de=function(a){this.O.title=a.tooltip;this.kf.disabled=a.disabled;this.vk?(this.kf.checked=a.checked,this.pm.nodeValue=a.text):this.O.value=a.text};d.Fg=function(){this.g.Bb||(jQuery(this.O).remove(),this.O=null)};d.yc=function(){this.qn()};d.qn=function(a){if(!this.g.Bb){var b=
this.K.fb(this.x,this.y,!0),c=this.K.fb(this.x,this.y,!1),d=this.K.fb(this.x+this.width,this.y+this.height,!0),k=this.K.fb(this.x+this.width,this.y+this.height,!1);if(!this.visible||!this.K.visible||0>=d||0>=k||b>=this.g.width||c>=this.g.height)this.ae||jQuery(this.O).hide(),this.ae=!0;else{1>b&&(b=1);1>c&&(c=1);d>=this.g.width&&(d=this.g.width-1);k>=this.g.height&&(k=this.g.height-1);var l=window.innerWidth,m=window.innerHeight;a||this.rm!==b||this.vm!==c||this.um!==d||this.qm!==k||this.xm!==l||
this.wm!==m?(this.rm=b,this.vm=c,this.um=d,this.qm=k,this.xm=l,this.wm=m,this.ae&&(jQuery(this.O).show(),this.ae=!1),a=Math.round(b)+jQuery(this.g.canvas).offset().left,l=Math.round(c)+jQuery(this.g.canvas).offset().top,jQuery(this.O).css("position","absolute"),jQuery(this.O).offset({left:a,top:l}),jQuery(this.O).width(Math.round(d-b)),jQuery(this.O).height(Math.round(k-c)),this.Fq&&jQuery(this.O).css("font-size",this.K.Ld()/this.g.devicePixelRatio-0.2+"em")):this.ae&&(jQuery(this.O).show(),this.ae=
!1)}}};d.oe=q();d.Id=q();a.prototype.jq=w(!0);b.C=new a;c.prototype.hg=function(a){this.g.Bb||(this.vk?this.pm.nodeValue=a:this.O.value=a)};c.prototype.X=function(a){this.g.Bb||(this.visible=0!==a)};b.r=new c;b.vd=new (q())})();function Zb(a){this.g=a}
(function(){function a(){}function c(){}var b=Zb.prototype;b.jb=function(a){this.zb=a;this.g=a.g};b.jb.prototype.xa=q();b.Ta=function(a){this.type=a;this.g=a.g;this.Hq=Array(4);this.yx=this.Op=this.gl=this.vi=this.ti=0;this.tr=!1};var d=b.Ta.prototype;d.xa=function(){var a=this;if(!this.g.Bb){jQuery(document).mousemove(function(b){a.Ps(b)});jQuery(document).mousedown(function(b){a.Os(b)});jQuery(document).mouseup(function(b){a.Qs(b)});jQuery(document).dblclick(function(b){a.TB(b)});var b=function(b){a.YB(b)};
document.addEventListener("mousewheel",b,!1);document.addEventListener("DOMMouseScroll",b,!1)}};var e={left:0,top:0};d.Ps=function(a){var b=this.g.Bb?e:jQuery(this.g.canvas).offset();this.ti=a.pageX-b.left;this.vi=a.pageY-b.top};d.uw=function(){return 0<this.g.pe?!0:0<=this.ti&&0<=this.vi&&this.ti<this.g.width&&this.vi<this.g.height};d.Os=function(a){this.uw()&&(this.g.lj&&a.preventDefault(),this.Hq[a.which]=!0,this.g.trigger(Zb.prototype.C.iy,this),this.gl=a.which-1,this.Op=0,this.g.trigger(Zb.prototype.C.eu,
this),this.g.trigger(Zb.prototype.C.ku,this))};d.Qs=function(a){this.Hq[a.which]&&(this.g.lj&&a.preventDefault(),this.g.lj=!0,this.Hq[a.which]=!1,this.gl=a.which-1,this.g.trigger(Zb.prototype.C.zy,this))};d.TB=function(a){this.uw()&&(a.preventDefault(),this.gl=a.which-1,this.Op=1,this.g.trigger(Zb.prototype.C.eu,this),this.g.trigger(Zb.prototype.C.ku,this))};d.YB=function(a){this.yx=0>(a.wheelDelta?a.wheelDelta:a.detail?-a.detail:0)?0:1;this.tr=!1;this.g.trigger(Zb.prototype.C.Dy,this);this.tr&&a.preventDefault()};
a.prototype.eu=function(a,b){return a===this.gl&&b===this.Op};a.prototype.iy=w(!0);a.prototype.zy=function(a){return a===this.gl};a.prototype.ku=function(a,b,c){return a!==this.gl||b!==this.Op?!1:this.g.tx(c,this.ti,this.vi)};a.prototype.Dy=function(a){this.tr=!0;return a===this.yx};b.C=new a;b.r=new (q());c.prototype.Du=function(a,b){var c,d,e,m,n;ea(b)?(c=this.g.ih(0),d=c.scale,e=c.Cd,m=c.Ve,n=c.M,c.scale=this.g.Qa.scale,c.Cd=1,c.Ve=1,c.M=this.g.Qa.M,a.da(c.kd(this.ti,this.vi,!0)),c.scale=d,c.Cd=
e,c.Ve=m,c.M=n):(c=fa(b)?this.g.ih(b):this.g.am(b))?a.da(c.kd(this.ti,this.vi,!0)):a.da(0)};c.prototype.Eu=function(a,b){var c,d,e,m,n;ea(b)?(c=this.g.ih(0),d=c.scale,e=c.Cd,m=c.We,n=c.M,c.scale=this.g.Qa.scale,c.Cd=1,c.We=1,c.M=this.g.Qa.M,a.da(c.kd(this.ti,this.vi,!1)),c.scale=d,c.Cd=e,c.We=m,c.M=n):(c=fa(b)?this.g.ih(b):this.g.am(b))?a.da(c.kd(this.ti,this.vi,!1)):a.da(0)};b.vd=new c})();function E(a){this.g=a}
(function(){function a(){if(0===this.Xq.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.cl?b.drawImage(this.ea,this.Yk,this.Zk,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.ea,0,0,this.width,this.height);this.Xq=a.toDataURL("image/png")}return this.Xq}function c(){}function b(a,b,c){var d=l.length?l.pop():[0,0];d[0]=b.uid;d[1]=c.uid;a.push(d)}function d(a,b,c){b=b.uid;var d=c.uid,e=0,f,g;c=0;for(f=a.length;c<
f;c++)g=a[c],g[0]===b&&g[1]===d||g[0]===d&&g[1]===b||(a[e][0]=a[c][0],a[e][1]=a[c][1],e++);for(c=e;c<f;c++)b=a[c],b[0]=0,b[1]=0,l.push(b);a.length=e}function e(a,b,c){b=b.uid;c=c.uid;var d,e,f;d=0;for(e=a.length;d<e;d++)if(f=a[d],f[0]===b&&f[1]===c||f[0]===c&&f[1]===b)return!0;return!1}var g=E.prototype;g.jb=function(a){this.zb=a;this.g=a.g};var f=g.jb.prototype;f.xa=function(){if(!this.la){var b,c,d,e,f,g,n,h,k;this.Ff=[];this.Jo=!1;b=0;for(c=this.le.length;b<c;b++){f=this.le[b];n={};n.name=f[0];
n.speed=f[1];n.loop=f[2];n.ft=f[3];n.yp=f[4];n.Mw=f[5];n.Ra=f[6];n.frames=[];d=0;for(e=f[7].length;d<e;d++)g=f[7][d],h={},h.Jp=g[0],h.xt=g[1],h.Yk=g[2],h.Zk=g[3],h.width=g[4],h.height=g[5],h.duration=g[6],h.Md=g[7],h.Nd=g[8],h.Ar=g[9],h.op=g[10],h.Nw=g[11],h.cl=0!==h.width,h.Xq="",h.hE=a,k={left:0,top:0,right:1,bottom:1},h.pt=k,h.fa=null,(k=this.g.vA(g[0]))?h.ea=k:(h.ea=new Image,h.ea.idtkLoadDisposed=!0,h.ea.src=g[0],h.ea.uz=g[0],h.ea.dv=g[1],h.ea.qz=null,this.g.Tg.push(h.ea)),n.frames.push(h),this.Ff.push(h);
this.le[b]=n}}};f.EC=function(){var a,b,c;a=0;for(b=this.B.length;a<b;a++)c=this.B[a],c.io=c.ff.fa};f.Sm=function(){if(!this.la){var a,b,c;a=0;for(b=this.Ff.length;a<b;++a)c=this.Ff[a],c.ea.qz=null,c.fa=null}};f.Tm=function(){if(!this.la&&this.B.length){var a,b,c;a=0;for(b=this.Ff.length;a<b;++a)c=this.Ff[a],c.fa=this.g.Y.Fk(c.ea,!1,this.g.wb,c.Nw);this.EC()}};f.$r=function(){if(!this.la&&!this.Jo&&this.g.Y){var a,b,c;a=0;for(b=this.Ff.length;a<b;++a)c=this.Ff[a],c.fa=this.g.Y.Fk(c.ea,!1,this.g.wb,
c.Nw);this.Jo=!0}};f.Qp=function(){if(!this.la&&!this.B.length&&this.Jo){var a,b,c;a=0;for(b=this.Ff.length;a<b;++a)c=this.Ff[a],this.g.Y.deleteTexture(c.fa);this.Jo=!1}};var h=[];f.sp=function(a){var b,c,d;b=h.length=0;for(c=this.Ff.length;b<c;++b)d=this.Ff[b].ea,-1===h.indexOf(d)&&(a.drawImage(d,0,0),h.push(d))};g.Ta=function(a){this.type=a;this.g=a.g;a=this.type.le[0].frames[0].op;this.ze?this.lb.hn(a):this.lb=new Qa(a)};var k=g.Ta.prototype;k.xa=function(){this.visible=0===this.V[0];this.di=0!==
this.V[3];1===this.type.le.length&&1===this.type.le[0].frames.length||0===this.type.le[0].speed||this.g.fl(this);this.Kb=this.uv(this.V[1])||this.type.le[0];this.aa=this.V[2];0>this.aa&&(this.aa=0);this.aa>=this.Kb.frames.length&&(this.aa=this.Kb.frames.length-1);var a=this.Kb.frames[this.aa];this.lb.hn(a.op);this.Md=a.Md;this.Nd=a.Nd;this.Sl=this.Kb.speed;this.ze?this.ig.reset():this.ig=new Oa;this.hh=this.ig.Ic;this.Xi=!0;this.$g=0;this.Wi=!0;this.Lq=this.Ou="";this.sz=0;this.Kq=-1;this.type.$r();
var b,c,d,e,f,g,h,a=0;for(b=this.type.le.length;a<b;a++)for(e=this.type.le[a],c=0,d=e.frames.length;c<d;c++)f=e.frames[c],0===f.width&&(f.width=f.ea.width,f.height=f.ea.height),f.cl&&(h=f.ea,g=f.pt,g.left=f.Yk/h.width,g.top=f.Zk/h.height,g.right=(f.Yk+f.width)/h.width,g.bottom=(f.Zk+f.height)/h.height,0===f.Yk&&0===f.Zk&&f.width===h.width&&f.height===h.height&&(f.cl=!1));this.ff=this.Kb.frames[this.aa];this.io=this.ff.fa};k.Ad=function(){var a={a:this.Kb.Ra,f:this.aa,cas:this.Sl,fs:this.hh,ar:this.$g,
at:this.ig.Ic};this.Xi||(a.ap=this.Xi);this.Wi||(a.af=this.Wi);return a};k.de=function(a){var b=this.zA(a.a);b&&(this.Kb=b);this.aa=a.f;0>this.aa&&(this.aa=0);this.aa>=this.Kb.frames.length&&(this.aa=this.Kb.frames.length-1);this.Sl=a.cas;this.hh=a.fs;this.$g=a.ar;this.ig.reset();this.ig.Ic=a.at;this.Xi=a.hasOwnProperty("ap")?a.ap:!0;this.Wi=a.hasOwnProperty("af")?a.af:!0;this.ff=this.Kb.frames[this.aa];this.io=this.ff.fa;this.lb.hn(this.ff.op);this.Md=this.ff.Md;this.Nd=this.ff.Nd};k.Eq=function(a){this.aa=
a?0:this.Kb.frames.length-1;this.Xi=!1;this.Ou=this.Kb.name;this.g.trigger(E.prototype.C.hy,this);this.g.trigger(E.prototype.C.gy,this);this.$g=0};k.jE=function(){return this.ig.Ic};k.yc=function(){this.ig.add(this.g.Ao(this));this.Lq.length&&this.yz();0<=this.Kq&&this.zz();var a=this.ig.Ic,b=this.Kb,c=b.frames[this.aa],d=c.duration/this.Sl;this.Xi&&a>=this.hh+d&&(this.Wi?this.aa++:this.aa--,this.hh+=d,this.aa>=b.frames.length&&(b.Mw?(this.Wi=!1,this.aa=b.frames.length-2):b.loop?this.aa=b.yp:(this.$g++,
this.$g>=b.ft?this.Eq(!1):this.aa=b.yp)),0>this.aa&&(b.Mw?(this.aa=1,this.Wi=!0,b.loop||(this.$g++,this.$g>=b.ft&&this.Eq(!0))):b.loop?this.aa=b.yp:(this.$g++,this.$g>=b.ft?this.Eq(!0):this.aa=b.yp)),0>this.aa?this.aa=0:this.aa>=b.frames.length&&(this.aa=b.frames.length-1),a>this.hh+b.frames[this.aa].duration/this.Sl&&(this.hh=a),a=b.frames[this.aa],this.Dl(c,a),this.g.eb=!0)};k.uv=function(a){var b,c,d;b=0;for(c=this.type.le.length;b<c;b++)if(d=this.type.le[b],Ua(d.name,a))return d;return null};
k.zA=function(a){var b,c,d;b=0;for(c=this.type.le.length;b<c;b++)if(d=this.type.le[b],d.Ra===a)return d;return null};k.yz=function(){var a=this.Kb.frames[this.aa],b=this.uv(this.Lq);this.Lq="";!b||Ua(b.name,this.Kb.name)&&this.Xi||(this.Kb=b,this.Sl=b.speed,0>this.aa&&(this.aa=0),this.aa>=this.Kb.frames.length&&(this.aa=this.Kb.frames.length-1),1===this.sz&&(this.aa=0),this.Xi=!0,this.hh=this.ig.Ic,this.Wi=!0,this.Dl(a,this.Kb.frames[this.aa]),this.g.eb=!0)};k.zz=function(){var a=this.Kb.frames[this.aa],
b=this.aa;this.aa=ma(this.Kq);0>this.aa&&(this.aa=0);this.aa>=this.Kb.frames.length&&(this.aa=this.Kb.frames.length-1);b!==this.aa&&(this.Dl(a,this.Kb.frames[this.aa]),this.hh=this.ig.Ic,this.g.eb=!0);this.Kq=-1};k.Dl=function(a,b){var c=a.width,d=a.height,e=b.width,f=b.height;c!=e&&(this.width*=e/c);d!=f&&(this.height*=f/d);this.Md=b.Md;this.Nd=b.Nd;this.lb.hn(b.op);this.xc();this.ff=b;this.io=b.fa;c=0;for(d=this.Wa.length;c<d;c++)e=this.Wa[c],e.WB&&e.WB(a,b);this.g.trigger(E.prototype.C.Dl,this)};
k.oe=function(a){a.globalAlpha=this.opacity;var b=this.ff,c=b.cl,d=b.ea,e=this.x,f=this.y,g=this.width,h=this.height;if(0===this.M&&0<=g&&0<=h)e-=this.Md*g,f-=this.Nd*h,this.g.tf&&(e=e+0.5|0,f=f+0.5|0),c?a.drawImage(d,b.Yk,b.Zk,b.width,b.height,e,f,g,h):a.drawImage(d,e,f,g,h);else{this.g.tf&&(e=e+0.5|0,f=f+0.5|0);a.save();var n=0<g?1:-1,k=0<h?1:-1;a.translate(e,f);1===n&&1===k||a.scale(n,k);a.rotate(this.M*n*k);e=0-this.Md*ia(g);f=0-this.Nd*ia(h);c?a.drawImage(d,b.Yk,b.Zk,b.width,b.height,e,f,ia(g),
ia(h)):a.drawImage(d,e,f,ia(g),ia(h));a.restore()}};k.Id=function(a){a.Wd(this.io);a.Jh(this.opacity);var b=this.ff,c=this.ub;if(this.g.tf){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.cl?a.Xf(c.pb+d,c.qb+e,c.ic+d,c.jc+e,c.fc+d,c.gc+e,c.cc+d,c.ec+e,b.pt):a.cn(c.pb+d,c.qb+e,c.ic+d,c.jc+e,c.fc+d,c.gc+e,c.cc+d,c.ec+e)}else b.cl?a.Xf(c.pb,c.qb,c.ic,c.jc,c.fc,c.gc,c.cc,c.ec,b.pt):a.cn(c.pb,c.qb,c.ic,c.jc,c.fc,c.gc,c.cc,c.ec)};k.EA=function(a){var b=this.ff,c,d;c=0;for(d=b.Ar.length;c<d;c++)if(Ua(a,
b.Ar[c][0]))return c;return-1};k.rg=function(a,b){var c=this.ff,d=c.Ar,e;e=ga(a)?this.EA(a):a-1;e=ma(e);if(0>e||e>=d.length)return b?this.x:this.y;var f=(d[e][1]-c.Md)*this.width,d=d[e][2],d=(d-c.Nd)*this.height,c=Math.cos(this.M);e=Math.sin(this.M);var g=f*c-d*e,d=d*c+f*e,f=g+this.x,d=d+this.y;return b?f:d};var l=[];c.prototype.$e=function(a){if(!a)return!1;var c=this.g,f=c.vv(),g=f.type;f.pa.Ql||(f.pa.Ql=[],c.Dq(function(a){return function(b){var c=0,d,e,f=b.uid;b=0;for(d=a.length;b<d;b++)e=a[b],
e[0]!==f&&e[1]!==f&&(a[c][0]=a[b][0],a[c][1]=a[b][1],c++);for(b=c;b<d;b++)e=a[b],e[0]=0,e[1]=0,l.push(e);a.length=c}}(f.pa.Ql)));var h=g.tb(),n=a.tb(),h=h.jf(),n=n.jf(),k,m,z,F,C,A,t=c.Kd().ne;for(k=0;k<h.length;k++)for(m=h[k],z=0;z<n.length;z++)F=n[z],c.BC(m,F)||c.tz(m,F)?e(f.pa.Ql,m,F)||(b(f.pa.Ql,m,F),c.up(t.Hb),C=g.tb(),A=a.tb(),C.Gb=!1,A.Gb=!1,g===a?(C.B.length=2,C.B[0]=m,C.B[1]=F,g.Xh()):(C.B.length=1,A.B.length=1,C.B[0]=m,A.B[0]=F,g.Xh(),a.Xh()),t.kC(),c.Oj(t.Hb)):d(f.pa.Ql,m,F);return!1};
var m=new La,n=!1;f.finish=function(a){if(n){if(a){var b=this.g.Kd().ne.Tf;a=null.tb();var c=m.il(),d,e;if(a.Gb){a.Gb=!1;a.B.length=c.length;d=0;for(e=c.length;d<e;d++)a.B[d]=c[d];if(b)for(d=a.sb.length=0,e=null.B.length;d<e;d++)b=null.B[d],m.contains(b)||a.sb.push(b)}else{var f=a.B.length;a.B.length=f+c.length;d=0;for(e=c.length;d<e;d++)a.B[f+d]=c[d],b&&ua(a.sb,c[d])}null.Xh()}m.clear();n=!1}};c.prototype.gy=function(a){return Ua(this.Ou,a)};c.prototype.hy=w(!0);c.prototype.Dl=w(!0);g.C=new c;g.r=
new (q());g.vd=new (q())})();function $b(a){this.g=a}
(function(){function a(a,b,c){if(c){var d;c=0;for(d=b.length;c<d;c++)a.length<g&&a.push(b[c]);b.length=0}else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a.length<g&&a.push(b[d]),delete b[d])}function c(a,b,c){var d=a.Od;c=c.replace(/\s\s*$/,"");b>=d.length&&d.push(f.length?f.pop():{});b=d[b];b.text=c;b.width=a.Cs(c);a.Mh=ja(a.Mh,b.width)}function b(){}var d=$b.prototype;d.xa=q();d.jb=function(a){this.zb=a;this.g=a.g};var e=d.jb.prototype;e.xa=function(){this.la||(this.ea=new Image,this.ea.idtkLoadDisposed=
!0,this.ea.src=this.Jp,this.g.Tg.push(this.ea),this.fa=null)};e.Sm=function(){this.la||(this.fa=null)};e.Tm=function(){if(!this.la&&this.B.length){this.fa||(this.fa=this.g.Y.Fk(this.ea,!1,this.g.wb,this.on));var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].fa=this.fa}};e.Qp=function(){this.la||this.B.length||!this.fa||(this.g.Y.deleteTexture(this.fa),this.fa=null)};e.sp=function(a){a.drawImage(this.ea,0,0)};d.Ta=function(a){this.type=a;this.g=a.g};e=d.Ta.prototype;e.Fg=function(){a(f,this.Od,!0);
a(h,this.ao,!1);a(k,this.bo,!1);Ja(this.ci)};e.xa=function(){this.ea=this.type.ea;this.$n=this.V[0];this.ai=this.V[1];this.characterSet=this.V[2];this.text=this.V[3];this.bi=this.V[4];this.visible=0===this.V[5];this.mj=this.V[6]/2;this.Uj=this.V[7]/2;this.wn=0===this.V[9];this.jk=this.V[10];this.lineHeight=this.V[11];this.Qg=this.Mh=0;this.ze?(this.Od.length=0,Ja(this.ao),Ja(this.bo),Ja(this.ci)):(this.Od=[],this.ao={},this.bo={},this.ci={});this.Xe=!0;this.wj=this.width;this.g.Y&&(this.type.fa||
(this.type.fa=this.g.Y.Fk(this.type.ea,!1,this.g.wb,this.type.on)),this.fa=this.type.fa);this.Py()};e.Ad=function(){var a={t:this.text,csc:this.bi,csp:this.jk,lh:this.lineHeight,tw:this.Mh,th:this.Qg,lrt:this.tj,cw:{}},b;for(b in this.ci)a.cw[b]=this.ci[b];return a};e.de=function(a){this.text=a.t;this.bi=a.csc;this.jk=a.csp;this.lineHeight=a.lh;this.Mh=a.tw;this.Qg=a.th;this.tj=a.lrt;for(var b in a.cw)this.ci[b]=a.cw[b];this.Xe=!0;this.wj=this.width};var g=1E3,f=[],h=[],k=[];e.Py=function(){for(var a=
this.ea,b=a.width,c=a.height,a=this.$n,d=this.ai,e=a/b,f=d/c,g=this.characterSet,b=Math.floor(b/a),c=Math.floor(c/d),l=0;l<g.length&&!(l>=b*c);l++){var m=l%b,z=Math.floor(l/b),F=g.charAt(l);if(this.g.Y){var C=this.bo,A=m*e,t=z*f,m=(m+1)*e,z=(z+1)*f;void 0===C[F]&&(C[F]=k.length?k.pop():new oa);C[F].left=A;C[F].top=t;C[F].right=m;C[F].bottom=z}else C=this.ao,m*=a,z*=d,A=a,t=d,void 0===C[F]&&(C[F]=h.length?h.pop():{}),C[F].x=m,C[F].y=z,C[F].zc=A,C[F].Ev=t}};var l=[];d.wq=function(a){l.length=0;for(var b=
"",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(l.push(b),b=""),l.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));l.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&l.push(b)};d.yq=function(b){var c=b.text,d=b.Od;if(c&&c.length){var e=b.width;if(2>=e)a(f,d,!0);else{var g=b.bi,h=b.jk;if(c.length*(b.$n*g+h)-h<=e&&-1===c.indexOf("\n")&&(h=b.Cs(c),h<=e)){a(f,d,!0);d.push(f.length?f.pop():{});d[0].text=c;d[0].width=
h;b.Mh=h;b.Qg=b.ai*g+b.lineHeight;return}this.zq(b);b.Qg=d.length*(b.ai*g+b.lineHeight)}}else a(f,d,!0)};d.zq=function(a){var b=a.wn,d=a.text,e=a.Od,h=a.width;b&&(this.wq(d),d=l);var k="",m,H,L,z=0,F=!1;for(L=0;L<d.length;L++)"\n"===d[L]?(!0===F?F=!1:(c(a,z,k),z++),k=""):(F=!1,m=k,k+=d[L],H=a.Cs(k.replace(/\s\s*$/,"")),H>h&&(""===m?(c(a,z,k),k="",F=!0):(c(a,z,m),k=d[L]),z++,b||" "!==k||(k="")));k.replace(/\s\s*$/,"").length&&(c(a,z,k),z++);for(L=z;L<e.length;L++)f.length<g&&f.push(e[L]);e.length=
z};e.Cs=function(a){for(var b=this.jk,c=a.length,d=0,e=0;e<c;e++)d+=this.$l(a.charAt(e))*this.bi+b;return d-(0<d?b:0)};e.$l=function(a){var b=this.ci;return void 0!==b[a]?b[a]:this.$n};e.Uw=function(){if(this.Xe||this.width!==this.wj)this.Qg=this.Mh=0,this.type.zb.yq(this),this.Xe=!1,this.wj=this.width};e.oe=function(a){var b=this.ea;if(""!==this.text&&null!=b&&(this.Uw(),!(this.height<this.ai*this.bi+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.g.tf&&(b=b+0.5|0,c=c+0.5|
0);a.save();a.translate(b,c);a.rotate(this.M);for(var b=this.mj,c=this.bi,d=this.ai*c,e=this.lineHeight,f=this.jk,g=this.Od,h,k=-(this.Md*this.width),l=-(this.Nd*this.height),l=l+this.Uj*ja(0,this.height-this.Qg),m=0;m<g.length;m++){var C=g[m].text;h=b*ja(0,this.width-g[m].width);h=k+h;for(var l=l+e,A=0;A<C.length;A++){var t=C.charAt(A),x=this.ao[t];if(h+this.$l(t)*c>this.width+1E-5)break;void 0!==x&&a.drawImage(this.ea,x.x,x.y,x.zc,x.Ev,Math.round(h),Math.round(l),x.zc*c,x.Ev*c);h+=this.$l(t)*c+
f}l+=d;if(l+d+e>this.height)break}a.restore()}};var m=new pa;e.Id=function(a){a.Wd(this.fa);a.Jh(this.opacity);if(""!==this.text&&(this.Uw(),!(this.height<this.ai*this.bi+this.lineHeight))){this.Jc();var b=this.ub,c=0,d=0;this.g.tf&&(c=(this.x+0.5|0)-this.x,d=(this.y+0.5|0)-this.y);var e=this.M,f=this.mj,g=this.Uj,h=this.bi,k=this.ai*h,l=this.lineHeight,F=this.jk,C=this.Od,A=this.Qg,t,x;0!==e&&(t=Math.cos(e),x=Math.sin(e));for(var I,c=b.pb+c,b=b.qb+d,g=g*ja(0,this.height-A),A=0;A<C.length;A++){d=
C[A].text;I=f*ja(0,this.width-C[A].width);for(var g=g+l,R=0;R<d.length;R++){var P=d.charAt(R),N=this.bo[P];if(I+this.$l(P)*h>this.width+1E-5)break;if(void 0!==N){var J=this.$n*h,W=this.ai*h;m.pb=I;m.qb=g;m.ic=I+J;m.jc=g;m.cc=I;m.ec=g+W;m.fc=I+J;m.gc=g+W;if(0!==e){var J=m,W=t,Q=x,M=void 0,M=J.pb*W-J.qb*Q;J.qb=J.qb*W+J.pb*Q;J.pb=M;M=J.ic*W-J.jc*Q;J.jc=J.jc*W+J.ic*Q;J.ic=M;M=J.cc*W-J.ec*Q;J.ec=J.ec*W+J.cc*Q;J.cc=M;M=J.fc*W-J.gc*Q;J.gc=J.gc*W+J.fc*Q;J.fc=M}m.offset(c,b);a.Xf(m.pb,m.qb,m.ic,m.jc,m.fc,
m.gc,m.cc,m.ec,N)}I+=this.$l(P)*h+F}g+=k;if(g+k+l>this.height)break}}};d.C=new (q());b.prototype.hg=function(a){fa(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Xe=!0,this.g.eb=!0)};e.KD=function(a,b){var c=parseInt(b,10);this.ci[a]!==c&&(this.ci[a]=c,this.Xe=!0,this.g.eb=!0)};d.r=new b;d.vd=new (q())})();function K(a){this.g=a}
(function(){function a(){return f.length?f.pop():{}}function c(a){var b,c;b=0;for(c=a.length;b<c;b++)f.push(a[b]);a.length=0}function b(){}var d=K.prototype;d.xa=function(){d.r.Ky=function(a){this.width!==a&&(this.width=a,this.Xe=!0,this.xc())}};d.jb=function(a){this.zb=a;this.g=a.g};var e=d.jb.prototype;e.xa=q();e.Sm=function(){if(!this.la){var a,b,c;a=0;for(b=this.B.length;a<b;a++)c=this.B[a],c.Eg=null,c.Mj=null,c.ue=null}};d.Ta=function(a){this.type=a;this.g=a.g;this.ze?this.Od.length=0:this.Od=
[];this.Xe=!0};e=d.Ta.prototype;e.xa=function(){this.text=this.V[0];this.visible=0===this.V[1];this.font=this.V[2];this.color=this.V[3];this.mj=this.V[4];this.Uj=this.V[5];this.wn=0===this.V[7];this.wj=this.vj=this.width;this.uj=this.height;this.Xr=this.V[8];this.wo=this.ok="";this.Qg=this.Mh=this.an=0;this.ZB();this.ue=this.Mj=this.Eg=null;this.xw=!1;this.tj=this.g.yf;this.ze?this.yi.set(0,0,1,1):this.yi=new oa(0,0,1,1);this.g.Y&&this.g.fl(this)};e.ZB=function(){var a=this.font.split(" "),b;for(b=
0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.an=parseInt(a[b].substr(0,a[b].length-2));this.$s=Math.ceil(96*(this.an/72))+4;0<b&&(this.wo=a[b-1]);this.ok=a[b+1];for(b+=2;b<a.length;b++)this.ok+=" "+a[b];break}};e.Ad=function(){return{t:this.text,f:this.font,c:this.color,ha:this.mj,va:this.Uj,wr:this.wn,lho:this.Xr,fn:this.ok,fs:this.wo,ps:this.an,pxh:this.$s,tw:this.Mh,th:this.Qg,lrt:this.tj}};e.de=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.mj=a.ha;this.Uj=a.va;this.wn=
a.wr;this.Xr=a.lho;this.ok=a.fn;this.wo=a.fs;this.an=a.ps;this.$s=a.pxh;this.Mh=a.tw;this.Qg=a.th;this.tj=a.lrt;this.Xe=!0;this.wj=this.vj=this.width;this.uj=this.height};e.yc=function(){if(this.g.Y&&this.ue&&300<=this.g.yf-this.tj){var a=this.K;this.Jc();var b=this.Va;if(b.right<a.Be||b.bottom<a.De||b.left>a.Ce||b.top>a.Ae)this.g.Y.deleteTexture(this.ue),this.Eg=this.Mj=this.ue=null}};e.Fg=function(){this.Eg=this.Mj=null;this.g.Y&&this.ue&&this.g.Y.deleteTexture(this.ue);this.ue=null};e.tE=function(){this.font=
this.wo+" "+this.an.toString()+"pt "+this.ok;this.Xe=!0;this.g.eb=!0};e.oe=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var c=1;b&&(c=this.K.Ld(),a.save(),a.scale(c,c));if(this.Xe||this.width!==this.wj)this.type.zb.yq(this.text,this.Od,a,this.width,this.wn),this.Xe=!1,this.wj=this.width;this.Jc();var c=b?0:this.ub.pb,d=b?0:this.ub.qb;this.g.tf&&(c=c+0.5|0,d=d+0.5|0);0===this.M||b||(a.save(),a.translate(c,d),a.rotate(this.M),d=c=0);var e=
d+this.height,f=this.$s,f=f+this.Xr*this.g.devicePixelRatio,g,r;1===this.Uj?d+=Math.max(this.height/2-this.Od.length*f/2,0):2===this.Uj&&(d+=Math.max(this.height-this.Od.length*f-2,0));for(r=0;r<this.Od.length&&!(g=c,1===this.mj?g=c+(this.width-this.Od[r].width)/2:2===this.mj&&(g=c+(this.width-this.Od[r].width)),a.fillText(this.Od[r].text,g,d),d+=f,d>=e-f);r++);(0!==this.M||b)&&a.restore();this.tj=this.g.yf};e.Id=function(a){if(!(1>this.width||1>this.height)){var b=this.Xe||this.xw;this.xw=!1;var c=
this.K.Ld(),d=this.K.be(),e=this.yi,f=c*this.width,g=c*this.height,r=Math.ceil(f),s=Math.ceil(g),y=this.g.width/2,G=this.g.height/2;this.Mj||(this.Eg=document.createElement("canvas"),this.Eg.width=r,this.Eg.height=s,this.vj=r,this.uj=s,b=!0,this.Mj=this.Eg.getContext("2d"));if(r!==this.vj||s!==this.uj)this.Eg.width=r,this.Eg.height=s,this.ue&&(a.deleteTexture(this.ue),this.ue=null),b=!0;b&&(this.Mj.clearRect(0,0,r,s),this.oe(this.Mj,!0),this.ue||(this.ue=a.Hf(r,s,this.g.wb,this.g.ug)),a.Kx(this.Eg,
this.ue,this.g.ug));this.vj=r;this.uj=s;a.Wd(this.ue);a.Jh(this.opacity);a.Kg();a.translate(-y,-G);a.Rg();var H=this.ub,b=this.K.fb(H.pb,H.qb,!0),y=this.K.fb(H.pb,H.qb,!1),G=this.K.fb(H.ic,H.jc,!0),L=this.K.fb(H.ic,H.jc,!1),z=this.K.fb(H.fc,H.gc,!0),F=this.K.fb(H.fc,H.gc,!1),C=this.K.fb(H.cc,H.ec,!0),H=this.K.fb(H.cc,H.ec,!1);if(this.g.tf||0===this.M&&0===d)var A=(b+0.5|0)-b,t=(y+0.5|0)-y,b=b+A,y=y+t,G=G+A,L=L+t,z=z+A,F=F+t,C=C+A,H=H+t;0===this.M&&0===d?(G=b+r,L=y,z=G,F=y+s,C=b,H=F,e.right=1,e.bottom=
1):(e.right=f/r,e.bottom=g/s);a.Xf(b,y,G,L,z,F,C,H,e);a.Kg();a.scale(c,c);a.ht(-this.K.be());a.translate((this.K.Be+this.K.Ce)/-2,(this.K.De+this.K.Ae)/-2);a.Rg();this.tj=this.g.yf}};var g=[];d.wq=function(a){g.length=0;for(var b="",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(g.push(b),b=""),g.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));g.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&g.push(b)};
var f=[];d.yq=function(b,d,e,f,g){if(b&&b.length)if(2>=f)c(d);else{if(100>=b.length&&-1===b.indexOf("\n")){var p=e.measureText(b).width;if(p<=f){c(d);d.push(a());d[0].text=b;d[0].width=p;return}}this.zq(b,d,e,f,g)}else c(d)};d.zq=function(b,c,d,e,n){n&&(this.wq(b),b=g);var p="",v,r,s,y=0;for(s=0;s<b.length;s++)"\n"===b[s]?(y>=c.length&&c.push(a()),r=c[y],r.text=p,r.width=d.measureText(p).width,y++,p=""):(v=p,p+=b[s],r=d.measureText(p).width,r>=e&&(y>=c.length&&c.push(a()),r=c[y],r.text=v,r.width=
d.measureText(v).width,y++,p=b[s],n||" "!==p||(p="")));p.length&&(y>=c.length&&c.push(a()),r=c[y],r.text=p,r.width=d.measureText(p).width,y++);for(s=y;s<c.length;s++)f.push(c[s]);c.length=y};d.C=new (q());b.prototype.hg=function(a){fa(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Xe=!0,this.g.eb=!0)};d.r=new b;d.vd=new (q())})();function ac(a){this.g=a}
(function(){function a(){}function c(){}var b=ac.prototype;b.jb=function(a){this.zb=a;this.g=a.g};b.jb.prototype.xa=q();b.Ta=function(a){this.type=a;this.g=a.g};var d=b.Ta.prototype,e="text password email number tel url".split(" ");-1<navigator.userAgent.indexOf("MSIE 9")&&(e[2]="text",e[3]="text",e[4]="text",e[5]="text");d.xa=function(){if(this.g.Bb)da("[Construct 2] Textbox plugin not supported on this platform - the object will not be created");else{6===this.V[7]?(this.O=document.createElement("textarea"),
jQuery(this.O).css("resize","none")):(this.O=document.createElement("input"),this.O.type=e[this.V[7]]);this.O.id=this.V[9];jQuery(this.O).appendTo(this.g.hk?this.g.hk:"body");this.O.autocomplete="off";this.O.value=this.V[0];this.O.placeholder=this.V[1];this.O.title=this.V[2];this.O.disabled=0===this.V[4];this.O.readOnly=1===this.V[5];this.O.spellcheck=1===this.V[6];this.Fq=0!==this.V[8];this.ae=!1;0===this.V[3]&&(jQuery(this.O).hide(),this.visible=!1,this.ae=!0);var a=function(a){return function(){a.g.trigger(ac.prototype.C.Cy,
a)}}(this);this.O.oninput=a;-1!==navigator.userAgent.indexOf("MSIE")&&(this.O.oncut=a);this.O.onclick=function(a){return function(b){b.stopPropagation();a.g.trigger(ac.prototype.C.jq,a)}}(this);this.O.ondblclick=function(a){return function(b){b.stopPropagation();a.g.trigger(ac.prototype.C.ny,a)}}(this);this.O.addEventListener("touchstart",function(a){a.stopPropagation()},!1);this.O.addEventListener("touchmove",function(a){a.stopPropagation()},!1);this.O.addEventListener("touchend",function(a){a.stopPropagation()},
!1);jQuery(this.O).mousedown(function(a){a.stopPropagation()});jQuery(this.O).mouseup(function(a){a.stopPropagation()});jQuery(this.O).keydown(function(a){13!==a.which&&27!=a.which&&a.stopPropagation()});jQuery(this.O).keyup(function(a){13!==a.which&&27!=a.which&&a.stopPropagation()});this.wm=this.xm=this.qm=this.um=this.vm=this.rm=0;this.qn(!0);this.g.fl(this)}};d.Ad=function(){return{text:this.O.value,placeholder:this.O.placeholder,tooltip:this.O.title,disabled:!!this.O.disabled,readonly:!!this.O.readOnly,
spellcheck:!!this.O.spellcheck}};d.de=function(a){this.O.value=a.text;this.O.placeholder=a.placeholder;this.O.title=a.tooltip;this.O.disabled=a.disabled;this.O.readOnly=a.readonly;this.O.spellcheck=a.spellcheck};d.Fg=function(){this.g.Bb||(jQuery(this.O).remove(),this.O=null)};d.yc=function(){this.qn()};d.qn=function(a){if(!this.g.Bb){var b=this.K.fb(this.x,this.y,!0),c=this.K.fb(this.x,this.y,!1),d=this.K.fb(this.x+this.width,this.y+this.height,!0),e=this.K.fb(this.x+this.width,this.y+this.height,
!1);if(!this.visible||!this.K.visible||0>=d||0>=e||b>=this.g.width||c>=this.g.height)this.ae||jQuery(this.O).hide(),this.ae=!0;else{1>b&&(b=1);1>c&&(c=1);d>=this.g.width&&(d=this.g.width-1);e>=this.g.height&&(e=this.g.height-1);var m=window.innerWidth,n=window.innerHeight;a||this.rm!==b||this.vm!==c||this.um!==d||this.qm!==e||this.xm!==m||this.wm!==n?(this.rm=b,this.vm=c,this.um=d,this.qm=e,this.xm=m,this.wm=n,this.ae&&(jQuery(this.O).show(),this.ae=!1),a=Math.round(b)+jQuery(this.g.canvas).offset().left,
m=Math.round(c)+jQuery(this.g.canvas).offset().top,jQuery(this.O).css("position","absolute"),jQuery(this.O).offset({left:a,top:m}),jQuery(this.O).width(Math.round(d-b)),jQuery(this.O).height(Math.round(e-c)),this.Fq&&jQuery(this.O).css("font-size",this.K.Ld()/this.g.devicePixelRatio-0.2+"em")):this.ae&&(jQuery(this.O).show(),this.ae=!1)}}};d.oe=q();d.Id=q();a.prototype.Cy=w(!0);a.prototype.jq=w(!0);a.prototype.ny=w(!0);b.C=new a;c.prototype.hg=function(a){this.g.Bb||(this.O.value=a)};c.prototype.X=
function(a){this.g.Bb||(this.visible=0!==a)};b.r=new c;b.vd=new (q())})();function bc(a){this.g=a}
(function(){var a=bc.prototype;a.jb=function(a){this.zb=a;this.g=a.g};var c=a.jb.prototype;c.xa=function(){this.la||(this.ea=new Image,this.ea.idtkLoadDisposed=!0,this.ea.src=this.Jp,this.ea.dv=this.xt,this.g.Tg.push(this.ea),this.fa=this.pattern=null)};c.Sm=function(){this.la||(this.fa=null)};c.Tm=function(){if(!this.la&&this.B.length){this.fa||(this.fa=this.g.Y.Fk(this.ea,!0,this.g.wb,this.on));var a,c;a=0;for(c=this.B.length;a<c;a++)this.B[a].fa=this.fa}};c.$r=function(){this.la||this.fa||!this.g.Y||
(this.fa=this.g.Y.Fk(this.ea,!0,this.g.wb,this.on))};c.Qp=function(){this.la||this.B.length||!this.fa||(this.g.Y.deleteTexture(this.fa),this.fa=null)};c.sp=function(a){a.drawImage(this.ea,0,0)};a.Ta=function(a){this.type=a;this.g=a.g};c=a.Ta.prototype;c.xa=function(){this.visible=0===this.V[0];this.yi=new oa(0,0,0,0);this.Hv=!1;this.ea=this.type.ea;this.g.Y?(this.type.$r(),this.fa=this.type.fa):(this.type.pattern||(this.type.pattern=this.g.rb.createPattern(this.type.ea,"repeat")),this.pattern=this.type.pattern)};
c.ek=function(){this.Hv=!1;this.ea=this.type.ea};c.Fg=function(){this.g.Y&&this.Hv&&this.fa&&(this.g.Y.deleteTexture(this.fa),this.fa=null)};c.oe=function(a){a.globalAlpha=this.opacity;a.save();a.fillStyle=this.pattern;var c=this.x,e=this.y;this.g.tf&&(c=c+0.5|0,e=e+0.5|0);var g=-(this.Md*this.width),f=-(this.Nd*this.height),h=g%this.ea.width,k=f%this.ea.height;0>h&&(h+=this.ea.width);0>k&&(k+=this.ea.height);a.translate(c,e);a.rotate(this.M);a.translate(h,k);a.fillRect(g-h,f-k,this.width,this.height);
a.restore()};c.Id=function(a){a.Wd(this.fa);a.Jh(this.opacity);var c=this.yi;c.right=this.width/this.ea.width;c.bottom=this.height/this.ea.height;var e=this.ub;if(this.g.tf){var g=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;a.Xf(e.pb+g,e.qb+f,e.ic+g,e.jc+f,e.fc+g,e.gc+f,e.cc+g,e.ec+f,c)}else a.Xf(e.pb,e.qb,e.ic,e.jc,e.fc,e.gc,e.cc,e.ec,c)};a.C=new (q());a.r=new (q());a.vd=new (q())})();function O(a){this.g=a}
(function(){function a(a){h=a.x;k=a.y;l=a.z}function c(a){m=a.x;n=a.y;p=a.z}function b(){}function d(){}var e=O.prototype;e.jb=function(a){this.zb=a;this.g=a.g};e.jb.prototype.xa=q();e.Ta=function(a){this.type=a;this.g=a.g;this.touches=[];this.Es=!1};var g=e.Ta.prototype,f={left:0,top:0};g.Wl=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var h=0,k=0,l=0,m=0,n=0,p=0;g.xa=function(){this.jB=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);
this.Ii=this.Vq=this.Uq=this.Iu=this.Hu=this.Gu=this.fz=this.ez=this.dz=this.Wm=this.Vm=this.Um=0;this.IC=0!==this.V[0];var b=0<this.g.pe?document:this.g.canvas,d=document;this.g.lf?d=b=window.Canvas:this.g.tg&&(d=b=window);var e=this;window.navigator.msPointerEnabled?(b.addEventListener("MSPointerDown",function(a){e.VB(a)},!1),b.addEventListener("MSPointerMove",function(a){e.UB(a)},!1),d.addEventListener("MSPointerUp",function(a){e.Cw(a)},!1),d.addEventListener("MSPointerCancel",function(a){e.Cw(a)},
!1),this.g.canvas&&(this.g.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(b.addEventListener("touchstart",function(a){e.Ew(a)},!1),b.addEventListener("touchmove",function(a){e.Dw(a)},!1),d.addEventListener("touchend",function(a){e.Rs(a)},!1),d.addEventListener("touchcancel",function(a){e.Rs(a)},!1));if(this.jB){var f=function(a){a=a.reading;e.Gu=a.accelerationX;e.Hu=a.accelerationY;e.Iu=a.accelerationZ},
g=function(a){a=a.reading;e.Um=a.yawDegrees;e.Vm=a.pitchDegrees;e.Wm=a.rollDegrees},h=Windows.Devices.Sensors.Accelerometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",f));var n=Windows.Devices.Sensors.Inclinometer.getDefault();n&&(n.reportInterval=Math.max(n.minimumReportInterval,16),n.addEventListener("readingchanged",g));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(h&&h.removeEventListener("readingchanged",
f),n&&n.removeEventListener("readingchanged",g)):(h&&h.addEventListener("readingchanged",f),n&&n.addEventListener("readingchanged",g))},!1)}else window.addEventListener("deviceorientation",function(a){e.Um=a.alpha||0;e.Vm=a.beta||0;e.Wm=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(e.dz=a.accelerationIncludingGravity.x,e.ez=a.accelerationIncludingGravity.y,e.fz=a.accelerationIncludingGravity.z);a.acceleration&&(e.Gu=a.acceleration.x,e.Hu=a.acceleration.y,
e.Iu=a.acceleration.z)},!1);this.IC&&!this.g.Bb&&(jQuery(document).mousemove(function(a){e.Ps(a)}),jQuery(document).mousedown(function(a){e.Os(a)}),jQuery(document).mouseup(function(a){e.Qs(a)}));this.g.uk&&!this.g.lf&&AppMobi.accelerometer.watchAcceleration(a,{frequency:40,adjustForRotation:!0});this.g.rj&&navigator.accelerometer.watchAcceleration(c,null,{frequency:40});this.g.CC(this)};g.UB=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.Wl(a.pointerId),
c=Ka();if(0<=b){var d=this.g.Bb?f:jQuery(this.g.canvas).offset(),b=this.touches[b];2>c-b.time||(b.Vo=b.time,b.Tr=b.x,b.Ur=b.y,b.time=c,b.x=a.pageX-d.left,b.y=a.pageY-d.top)}}};g.VB=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.g.Bb?f:jQuery(this.g.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top,d=Ka();this.Ii=this.touches.length;this.touches.push({time:d,x:c,y:b,Vo:d,Tr:c,Ur:b,id:a.pointerId,tt:this.Ii});this.g.trigger(O.prototype.C.ju,this);
this.g.trigger(O.prototype.C.mu,this);this.Uq=c;this.Vq=b;this.g.trigger(O.prototype.C.ib,this)}};g.Cw=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.Wl(a.pointerId),this.Ii=0<=a?this.touches[a].tt:-1,this.g.trigger(O.prototype.C.iu,this),this.g.trigger(O.prototype.C.lu,this),0<=a&&this.touches.splice(a,1))};g.Dw=function(a){a.preventDefault&&a.preventDefault();var b=Ka(),c,d,e,g;c=0;for(d=a.changedTouches.length;c<d;c++)if(e=a.changedTouches[c],g=
this.Wl(e.identifier),0<=g){var h=this.g.Bb?f:jQuery(this.g.canvas).offset();g=this.touches[g];2>b-g.time||(g.Vo=g.time,g.Tr=g.x,g.Ur=g.y,g.time=b,g.x=e.pageX-h.left,g.y=e.pageY-h.top)}};g.Ew=function(a){a.preventDefault&&a.preventDefault();var b=this.g.Bb?f:jQuery(this.g.canvas).offset(),c=Ka(),d,e,g,h;d=0;for(e=a.changedTouches.length;d<e;d++)if(g=a.changedTouches[d],h=this.Wl(g.identifier),-1===h){h=g.pageX-b.left;var n=g.pageY-b.top;this.Ii=this.touches.length;this.touches.push({time:c,x:h,y:n,
Vo:c,Tr:h,Ur:n,id:g.identifier,tt:this.Ii});this.g.trigger(O.prototype.C.ju,this);this.g.trigger(O.prototype.C.mu,this);this.Uq=h;this.Vq=n;this.g.trigger(O.prototype.C.ib,this)}};g.Rs=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=this.Wl(d.identifier),0<=d&&(this.Ii=this.touches[d].tt,this.g.trigger(O.prototype.C.iu,this),this.g.trigger(O.prototype.C.lu,this),this.touches.splice(d,1))};g.fE=function(){return this.g.uk&&
0===this.Um&&0!==l?90*l:this.g.rj&&0===this.Um&&0!==p?90*p:this.Um};g.gE=function(){return this.g.uk&&0===this.Vm&&0!==k?-90*k:this.g.rj&&0===this.Vm&&0!==n?-90*n:this.Vm};g.iE=function(){return this.g.uk&&0===this.Wm&&0!==h?90*h:this.g.rj&&0===this.Wm&&0!==m?90*m:this.Wm};g.Os=function(a){a.preventDefault&&this.g.lj&&a.preventDefault();this.Ew({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Es=!0};g.Ps=function(a){a.preventDefault&&this.g.lj&&a.preventDefault();this.Es&&this.Dw({changedTouches:[{pageX:a.pageX,
pageY:a.pageY,identifier:0}]})};g.Qs=function(a){a.preventDefault&&this.g.lj&&a.preventDefault();this.g.lj=!0;this.Rs({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Es=!1};g.yt=function(){var a,b,c,d=Ka();a=0;for(b=this.touches.length;a<b;a++)c=this.touches[a],c.time<=d-50&&(c.Vo=d)};b.prototype.mu=w(!0);b.prototype.lu=w(!0);b.prototype.ib=function(a){return a?this.g.tx(a,this.Uq,this.Vq):!1};b.prototype.ju=function(a){a=Math.floor(a);return a===this.Ii};b.prototype.iu=function(a){a=
Math.floor(a);return a===this.Ii};e.C=new b;d.prototype.Du=function(a,b){if(this.touches.length){var c,d,e,f,g;ea(b)?(c=this.g.ih(0),d=c.scale,e=c.Cd,f=c.Ve,g=c.M,c.scale=this.g.Qa.scale,c.Cd=1,c.Ve=1,c.M=this.g.Qa.M,a.da(c.kd(this.touches[0].x,this.touches[0].y,!0)),c.scale=d,c.Cd=e,c.Ve=f,c.M=g):(c=fa(b)?this.g.ih(b):this.g.am(b))?a.da(c.kd(this.touches[0].x,this.touches[0].y,!0)):a.da(0)}else a.da(0)};d.prototype.Eu=function(a,b){if(this.touches.length){var c,d,e,f,g;ea(b)?(c=this.g.ih(0),d=c.scale,
e=c.Cd,f=c.We,g=c.M,c.scale=this.g.Qa.scale,c.Cd=1,c.We=1,c.M=this.g.Qa.M,a.da(c.kd(this.touches[0].x,this.touches[0].y,!1)),c.scale=d,c.Cd=e,c.We=f,c.M=g):(c=fa(b)?this.g.ih(b):this.g.am(b))?a.da(c.kd(this.touches[0].x,this.touches[0].y,!1)):a.da(0)}else a.da(0)};e.vd=new d})();function dc(a){this.g=a}
(function(){function a(){}var c=dc.prototype;c.jb=function(a){this.zb=a;this.g=a.g};var b=c.jb.prototype;b.xa=q();b.Tm=function(){if(!this.la&&this.B.length){var a,b,c;a=0;for(b=this.B.length;a<b;a++)c=this.B[a],c.kl&&0<=c.xb.videoWidth&&0<=c.xb.videoHeight&&(c.fa=this.g.Y.Hf(c.xb.videoWidth,c.xb.videoHeight,this.g.wb))}};c.Ta=function(a){this.type=a;this.g=a.g};b=c.Ta.prototype;b.xa=function(){var a=this;if(this.xb=document.createElement("video"))this.xb.autoplay=!0,this.xb.addEventListener("canplaythrough",
function(){a.kl&&(a.vn=!0)});Sa(this,0,this.g.ja);this.kl=!1;this.Ds=null;this.g.fl(this);this.fa=null;this.Wv=-1;this.vn=!1;if(this.g.Sv){var b=Windows.Devices.Sensors.LightSensor.getDefault();if(b){var c=b.minimumReportInterval;b.reportInterval=16<c?c:16;b.addEventListener("readingchanged",function(){a.g.trigger(dc.prototype.C.fu,a)})}}else window.addEventListener("devicelight",function(){a.g.trigger(dc.prototype.C.fu,a)})};b.Fg=function(){this.Ds&&(this.Ds.stop(),this.Ds=null,this.vn=this.kl=!1);
this.g.Y&&this.fa&&(this.g.Y.deleteTexture(this.fa),this.fa=null)};b.yc=function(){this.kl&&this.vn&&(this.g.eb=!0)};b.oe=function(a){a.globalAlpha=this.opacity;a.save();a.fillStyle="#000";a.fillRect(this.x,this.y,this.width,this.height);if(this.kl&&this.vn)try{a.drawImage(this.xb,this.x,this.y,this.width,this.height)}catch(b){}a.restore()};b.Id=function(a){a.Ih(this.qd,this.md);a.Jh(this.opacity);var b=this.ub;if(!this.kl||!this.vn||0>=this.xb.videoWidth||0>=this.xb.videoHeight)a.Wd(null);else{this.fa||
(this.fa=a.Hf(this.xb.videoWidth,this.xb.videoHeight,this.g.wb));var c=this.xb.webkitDecodedFrameCount||this.xb.mozParsedFrames,f=!1;c?c>this.Wv&&(f=!0,this.Wv=c):f=!0;f&&a.Kx(this.xb,this.fa,this.g.wb);a.Wd(this.fa)}a.cn(b.pb,b.qb,b.ic,b.jc,b.fc,b.gc,b.cc,b.ec)};a.prototype.fu=w(!0);c.C=new a;c.r=new (q());c.vd=new (q())})();function ec(a){this.g=a}
(function(){var a=ec.prototype;a.jb=function(a){this.zb=a;this.g=a.g};a.jb.prototype.xa=q();a.Ta=function(a){this.type=a;this.g=a.g};a.Ta.prototype.xa=q();a.C=new (q());a.r=new (q());a.vd=new (q())})();function fc(a){this.g=a}
(function(){function a(){}var c=fc.prototype;c.jb=function(a){this.Jb=a;this.g=a.g};c.jb.prototype.xa=q();c.Ta=function(a,b){this.type=a;this.Jb=a.Jb;this.ta=b;this.g=a.g};var b=c.Ta.prototype;b.xa=function(){this.Sj=this.Lh=this.kn=this.Ks=this.Ss=0};b.Ad=function(){return{ontime:this.Ss,offtime:this.Ks,stage:this.kn,stagetimeleft:this.Lh,timeleft:this.Sj}};b.de=function(a){this.Ss=a.ontime;this.Ks=a.offtime;this.kn=a.stage;this.Lh=a.stagetimeleft;this.Sj=a.timeleft};b.yc=function(){if(!(0>=this.Sj)){var a=
this.g.Ao(this.ta);this.Sj-=a;0>=this.Sj?(this.Sj=0,this.ta.visible=!0,this.g.eb=!0,this.g.trigger(fc.prototype.C.oy,this.ta)):(this.Lh-=a,0>=this.Lh&&(0===this.kn?(this.ta.visible=!1,this.kn=1,this.Lh+=this.Ks):(this.ta.visible=!0,this.kn=0,this.Lh+=this.Ss),this.g.eb=!0))}};a.prototype.oy=w(!0);c.C=new a;c.r=new (q());c.vd=new (q())})();function S(a,c){for(var b in c.prototype)c.prototype.hasOwnProperty(b)&&(a.prototype[b]=c.prototype[b])}
if(navigator.isCocoonJS&&"undefined"!==typeof window.cr_cjs_accelerated_physics)da("Using CocoonJS native physics"),window.ext&&"undefined"!==typeof window.ext.IDTK_SRV_BOX2D?function(){function a(a,b,d,e){this.type=c.lk;this.Db=new m;this.Eb=new m;this.ag=null;void 0!==a&&(this.J=a);void 0!==b&&(this.L=b);void 0!==d&&this.Db.F(d);void 0!==e&&this.Eb.F(e);this.Wk=this.pw=this.Et=this.hs=this.Jg=0;this.mk=this.gj=!1}function c(a){this.J=a.J;this.L=a.L;this.ag=a.ag;this.type=a.type;this.next=null}function b(a,
b){this.bp=[];this.Ob=[];this.Cj=[];this.uh=null;this.AB=[];this.uc=window.ext.IDTK_SRV_BOX2D.makeCall("createWorld",a.x,a.y,b)}function d(){}function e(a,b,c){this.Ub=a;this.Nb=b;this.IB=c}function g(a,b){var c=a.ag;a.ag=null;this.Oa=b;this.u=new k(a.position,l.$j(a.M));this.Gm=[];this.Cm=a.He;a.type===g.Ie&&(a.If=0);this.Rc=window.ext.IDTK_SRV_BOX2D.makeCall("createBody",b.uc,a);a.ag=c}function f(a,b,c,d){this.Em=a;this.ns=c;this.Bh={};this.Bh.Rd=m.p(0,0);this.ep=!1;this.cp=d.If;this.qs=d.qg;this.Mm=
d.Lg;this.ep=d.Hr}function h(){}function k(a,b){this.position=m.p(0,0);this.m=new l;void 0===a&&(a=null);void 0===b&&(b=null);a&&(this.position.F(a),this.m.Bf(b))}function l(){this.i=m.p(0,0);this.j=m.p(0,0);this.Th()}function m(a,b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b}T=m;m.Zg=[];m.p=function(a,b){if(0<T.Zg.length){var c=T.Zg.pop();c.Set(a,b);return c}return new T(a,b)};m.Vc=function(a){1E4>T.Zg.length&&T.Zg.push(a)};m.prototype.ga=function(){this.y=this.x=0};m.prototype.Set=function(a,
b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b};m.prototype.F=function(a){this.x=a.x;this.y=a.y};m.pD=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return m.p(a,b)};m.prototype.Ac=function(){return m.p(this.x,this.y)};m.prototype.Vg=function(a){this.x+=a.x;this.y+=a.y};m.prototype.vq=function(a){this.x-=a.x;this.y-=a.y};m.prototype.Fd=function(a){void 0===a&&(a=0);this.x*=a;this.y*=a};m.prototype.fg=function(){return Math.sqrt(this.x*this.x+this.y*this.y)};m.prototype.On=function(){return this.x*
this.x+this.y*this.y};m.prototype.Gd=function(){var a=Math.sqrt(this.x*this.x+this.y*this.y);if(a<Number.MIN_VALUE)return 0;var b=1/a;this.x*=b;this.y*=b;return a};U=l;l.$j=function(a){void 0===a&&(a=0);var b=new l;b.Set(a);return b};l.eg=function(a,b){var c=new l;c.sq(a,b);return c};l.prototype.Set=function(a){void 0===a&&(a=0);var b=Math.cos(a);a=Math.sin(a);this.i.x=b;this.j.x=-a;this.i.y=a;this.j.y=b};l.prototype.sq=function(a,b){this.i.F(a);this.j.F(b)};l.prototype.Ac=function(){var a=new l;
a.Bf(this);return a};l.prototype.Bf=function(a){this.i.F(a.i);this.j.F(a.j)};l.prototype.xn=function(a){this.i.x+=a.i.x;this.i.y+=a.i.y;this.j.x+=a.j.x;this.j.y+=a.j.y};l.prototype.Th=function(){this.i.x=1;this.j.x=0;this.i.y=0;this.j.y=1};l.prototype.ga=function(){this.i.x=0;this.j.x=0;this.i.y=0;this.j.y=0};l.prototype.Dd=function(){return Math.atan2(this.i.y,this.i.x)};l.prototype.aq=function(a){var b=this.i.x,c=this.j.x,d=this.i.y,e=this.j.y,f=b*e-c*d;0!==f&&(f=1/f);a.i.x=f*e;a.j.x=-f*c;a.i.y=
-f*d;a.j.y=f*b;return a};l.prototype.Uh=function(a,b,c){void 0===b&&(b=0);void 0===c&&(c=0);var d=this.i.x,e=this.j.x,f=this.i.y,g=this.j.y,h=d*g-e*f;0!==h&&(h=1/h);a.x=h*(g*b-e*c);a.y=h*(d*c-f*b);return a};l.prototype.Ug=function(){this.i.Ug();this.j.Ug()};gc=k;k.prototype.rc=function(a,b){this.position.F(a);this.m.Bf(b)};k.prototype.Th=function(){this.position.ga();this.m.Th()};k.prototype.Set=function(a){this.position.F(a.position);this.m.Bf(a.m)};k.prototype.Pn=function(){return Math.atan2(this.m.i.y,
this.m.i.x)};V=h;h.Nn=function(a){void 0===a&&(a=0);return isFinite(a)};h.Rb=function(a,b){return a.x*b.x+a.y*b.y};h.Ji=function(a,b){return a.x*b.y-a.y*b.x};h.Wg=function(a,b){void 0===b&&(b=0);return m.p(b*a.y,-b*a.x)};h.Xp=function(a,b){void 0===a&&(a=0);return m.p(-a*b.y,a*b.x)};h.kc=function(a,b){return m.p(a.i.x*b.x+a.j.x*b.y,a.i.y*b.x+a.j.y*b.y)};h.Xg=function(a,b){return m.p(h.Rb(b,a.i),h.Rb(b,a.j))};h.Lc=function(a,b){var c=h.kc(a.m,b);c.x+=a.position.x;c.y+=a.position.y;return c};h.hq=function(a,
b){var c=h.Ab(b,a.position),d=c.x*a.m.i.x+c.y*a.m.i.y;c.y=c.x*a.m.j.x+c.y*a.m.j.y;c.x=d;return c};h.ol=function(a,b){return m.p(a.x+b.x,a.y+b.y)};h.Ab=function(a,b){return m.p(a.x-b.x,a.y-b.y)};h.Vx=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};h.St=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};h.dy=function(a,b){void 0===a&&(a=0);return m.p(a*b.x,a*b.y)};h.Nx=function(a,b){return l.eg(h.ol(a.i,b.i),h.ol(a.j,b.j))};h.ey=function(a,b){return l.eg(h.kc(a,b.i),h.kc(a,b.j))};
h.fy=function(a,b){var c=m.p(h.Rb(a.i,b.i),h.Rb(a.j,b.i)),d=m.p(h.Rb(a.i,b.j),h.Rb(a.j,b.j));return l.eg(c,d)};h.Ug=function(a){void 0===a&&(a=0);return 0<a?a:-a};h.ll=function(a){return m.p(h.Ug(a.x),h.Ug(a.y))};h.Lx=function(a){return l.eg(h.ll(a.i),h.ll(a.j))};h.bu=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return a<b?a:b};h.cu=function(a,b){return m.p(h.bu(a.x,b.x),h.bu(a.y,b.y))};h.$t=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return a>b?a:b};h.au=function(a,b){return m.p(h.$t(a.x,
b.x),h.$t(a.y,b.y))};h.Ib=function(a,b,c){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);return a<b?b:a>c?c:a};h.Px=function(a,b,c){return h.au(b,h.cu(a,c))};h.XD=function(a,b){var c=a[0];a[0]=b[0];b[0]=c};h.DD=function(){return 2*Math.random()-1};h.ED=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);var c=Math.random();return(b-a)*c+a};h.vD=function(a){void 0===a&&(a=0);a|=a>>1&2147483647;a|=a>>2&1073741823;a|=a>>4&268435455;a|=a>>8&16777215;return(a|a>>16&65535)+1};h.lD=function(a){void 0===
a&&(a=0);return 0<a&&0===(a&a-1)};h.mz=new m(0,0);h.lz=l.eg(new m(1,0),new m(0,1));h.dE=new k(h.mz,h.lz);X=function(){this.position=m.p(0,0);this.Yr=m.p(0,0);this.ag=null;this.M=0;this.Yr.Set(0,0);this.Vi=this.xj=this.Nu=0;this.Ru=this.Mu=!0;this.Zi=this.gr=!1;this.type=g.Ie;this.He=!0;this.Jv=1};hc=f;f.prototype.Sa=u("Em");f.prototype.Kc=function(){console.log("fixture.GetShape not yet supported in CocoonJS Box2D binding");return null};f.prototype.Pi=u("ep");ic=g;g.prototype.Dn=function(a){var b=
a.ag;a.ag=null;var c=window.ext.IDTK_SRV_BOX2D.makeCall("createFixture",this.Oa.uc,this.Rc,a);a.ag=b;a=new f(this,0,c,a);this.Oa.Cj[c]=a;this.Gm.push(a);return a};g.prototype.$p=function(){return 0===this.Gm.length?null:this.Gm[0]};g.prototype.Rt=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("deleteFixture",this.Oa.uc,a.ns);delete this.Oa.Cj[a.ns]};g.prototype.Jl=function(a,b){window.ext.IDTK_SRV_BOX2D.makeCall("setBodyTransform",this.Oa.uc,this.Rc,a.x,a.y,b);this.u.m.Set(b);this.u.position.F(a)};
g.prototype.rq=function(a){this.Jl(a,this.Dd())};g.prototype.Li=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getLinearVelocity",this.Oa.uc,this.Rc);return m.p(a[0],a[1])};g.prototype.ak=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getWorldCenter",this.Oa.uc,this.Rc);return m.p(a[0],a[1])};g.prototype.Mi=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getLocalCenter",this.Oa.uc,this.Rc);return m.p(a[0],a[1])};g.prototype.td=function(a){return h.hq(this.u,a)};g.prototype.ud=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("isAwake",
this.Oa.uc,this.Rc)};g.prototype.In=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("getAngularVelocity",this.Oa.uc,this.Rc)};g.prototype.hd=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setAwake",this.Oa.uc,this.Rc,a)};g.prototype.Ri=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setLinearVelocity",this.Oa.uc,this.Rc,a.x,a.y)};g.prototype.bg=function(a,b,c){window.ext.IDTK_SRV_BOX2D.makeCall("applyForce",this.Oa.uc,this.Rc,a.x,a.y,b.x,b.y,c)};g.prototype.yn=function(a,b){window.ext.IDTK_SRV_BOX2D.makeCall("applyTorque",
this.Oa.uc,this.Rc,a,b)};g.prototype.Il=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setAngularVelocity",this.Oa.uc,this.Rc,a)};g.prototype.Oi=u("Cm");g.prototype.Dd=function(){return this.u.m.Dd()};g.prototype.Pn=function(a){void 0===a&&(a=0);this.Jl(this.u.position,a)};g.prototype.Rh=function(){for(var a=window.ext.IDTK_SRV_BOX2D.makeCall("getObjectContacts",this.Oa.uc,this.Rc),b=[],c=0;c<a.length;c++)b.push(this.Oa.bp[a[c]]);return b};ic.Ie=0;ic.Tu=1;ic.Mc=2;e.prototype.fq=u("IB");jc=d;d.prototype.zn=
q();jc.Su=new d;kc=q();lc=b;b.prototype.uu=ba("uh");b.prototype.tu=function(a){var b=this;window.ext.IDTK_SRV_BOX2D.makeCall("setContactFilter",this.uc,function(c,d){return a.Si(b.Cj[c],b.Cj[d])})};b.prototype.Wp=function(a){a=new g(a,this);return this.bp[a.Rc]=a};b.prototype.Fn=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("deleteBody",this.uc,a.Rc);delete this.bp[a.Rc];for(var b=0;b<a.Gm.length;++b)delete this.Cj[a.Gm[b].ns]};b.prototype.En=function(a){if(a.J.Rc!==a.L.Rc){var b=a.J,d=a.L;a.J=b.Rc;
a.L=d.Rc;var e="createDistanceJoint";a.type===c.lk&&(e="createRevoluteJoint");var f=new c(a);f.zB=window.ext.IDTK_SRV_BOX2D.makeCall(e,this.uc,a);a.J=b;a.L=d;this.AB.push(f);return f}};b.prototype.Gn=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("destroyJoint",this.uc,a.zB)};b.prototype.Yg=function(a,b,c){c=window.ext.IDTK_SRV_BOX2D.makeCall("step",this.uc,a,b,c);b=c[0];for(a=1;a<=4*b;a+=4){var d=this.bp[c[a+0]];if(null===d)break;d.u.position.Set(c[a+1],c[a+2]);d.u.m.Set(c[a+3])}if(null!==this.uh)for(c=
window.ext.IDTK_SRV_BOX2D.makeCall("getLastContacts",this.uc),b=c[0],a=1;a<=3*b;a+=3){var d=c[a+2],f=this.Cj[c[a+0]],g=this.Cj[c[a+1]];"undefined"===typeof f||"undefined"===typeof g?console.log("One of the fixtures in a contact DOESN'T EXIST!!"):this.uh.zn(new e(f,g,d))}};b.prototype.Qt=function(){window.ext.IDTK_SRV_BOX2D.makeCall("clearForces",this.uc)};mc=function(a){this.wp=a;this.type="circle"};Y=q();Y.prototype.Qn=function(a,b){this.type="box";this.width=a;this.height=b};Y.prototype.ru=function(){this.type=
"edge"};Y.prototype.pq=function(a,b){this.type="polygon";this.Jx=[];for(var c=0;c<b;c++)this.Jx.push(a[c].x),this.Jx.push(a[c].y)};nc=function(){this.ag=this.shape=null;this.qg=0.2;this.If=this.Lg=0;this.Hr=!1;this.filter={ik:1,Vk:65535,ji:0}};Z=c;c.prototype.tl=u("J");c.prototype.Zp=u("L");c.prototype.Wc=u("type");c.Zq=0;c.lk=1;oc=function(a,b,d,e){this.type=c.Zq;this.Db=m.p(0,0);this.Eb=m.p(0,0);this.ag=null;void 0!==a&&(this.J=a);void 0!==b&&(this.L=b);void 0!==d&&this.Db.F(d);void 0!==e&&this.Eb.F(e);
void 0!==d&&void 0!==e&&(a=e.x-d.x,d=e.y-d.y,this.length=Math.sqrt(a*a+d*d));this.ko=this.yo=0};a.prototype.rc=function(a,b,c){this.J=a;this.L=b;this.Db=this.J.td(c);this.Eb=this.L.td(c);this.Jg=this.L.Dd()-this.J.Dd()};pc=a}():console.log("The CocoonJS binding for Box2D has been ignored because ext.IDTK_SRV_BOX2D is not available");else{var V={},qc=2/180*Math.PI,rc=8/180*Math.PI,sc=0.5*Math.PI,tc=sc*sc,uc=2/180*Math.PI,vc=Number.MIN_VALUE*Number.MIN_VALUE;V.Rb=function(a,c){return a.x*c.x+a.y*c.y};
V.Ji=function(a,c){return a.x*c.y-a.y*c.x};V.Wg=function(a,c){return T.p(c*a.y,-c*a.x)};V.Xp=function(a,c){return T.p(-a*c.y,a*c.x)};V.kc=function(a,c){return T.p(a.i.x*c.x+a.j.x*c.y,a.i.y*c.x+a.j.y*c.y)};V.Xg=function(a,c){return T.p(V.Rb(c,a.i),V.Rb(c,a.j))};V.Lc=function(a,c){var b=V.kc(a.m,c);b.x+=a.position.x;b.y+=a.position.y;return b};V.hq=function(a,c){var b=V.Ab(c,a.position),d=b.x*a.m.i.x+b.y*a.m.i.y;b.y=b.x*a.m.j.x+b.y*a.m.j.y;b.x=d;return b};V.ol=function(a,c){return T.p(a.x+c.x,a.y+c.y)};
V.Ab=function(a,c){return T.p(a.x-c.x,a.y-c.y)};V.Vx=function(a,c){return Math.sqrt(V.St(a,c))};V.St=function(a,c){var b=a.x-c.x,d=a.y-c.y;return b*b+d*d};V.dy=function(a,c){return T.p(a*c.x,a*c.y)};V.Nx=function(a,c){return U.eg(V.ol(a.i,c.i),V.ol(a.j,c.j))};V.ey=function(a,c){return U.eg(V.kc(a,c.i),V.kc(a,c.j))};V.fy=function(a,c){var b=T.p(V.Rb(a.i,c.i),V.Rb(a.j,c.i)),d=T.p(V.Rb(a.i,c.j),V.Rb(a.j,c.j));return U.eg(b,d)};V.ll=function(a){return T.p(Math.abs(a.x),Math.abs(a.y))};V.Lx=function(a){return U.eg(V.ll(a.i),
V.ll(a.j))};V.Ib=function(a,c,b){return a<c?c:a>b?b:a};V.Px=function(a,c,b){return T.p(V.Ib(a.x,c.x,b.x),V.Ib(a.y,c.y,b.y))};var U=function(){this.i=T.p(0,0);this.j=T.p(0,0);this.Th()};U.$j=function(a){var c=new U;c.Set(a);return c};U.eg=function(a,c){var b=new U;b.sq(a,c);return b};B=U.prototype;B.Set=function(a){var c=Math.cos(a);a=Math.sin(a);this.i.Set(c,a);this.j.Set(-a,c)};B.sq=function(a,c){this.i.F(a);this.j.F(c)};B.Ac=function(){var a=new U;a.Bf(this);return a};B.Bf=function(a){this.i.F(a.i);
this.j.F(a.j)};B.xn=function(a){this.i.Vg(a.i);this.j.Vg(a.j)};B.Th=function(){this.i.Set(1,0);this.j.Set(0,1)};B.ga=function(){this.i.Set(0,0);this.j.Set(0,0)};B.Dd=function(){return Math.atan2(this.i.y,this.i.x)};B.aq=function(a){var c=this.i.x*this.j.y-this.j.x*this.i.y;0!==c&&(c=1/c);a.i.x=c*this.j.y;a.j.x=-c*this.j.x;a.i.y=-c*this.i.y;a.j.y=c*this.i.x;return a};B.Uh=function(a,c,b){var d=this.i.x*this.j.y-this.j.x*this.i.y;0!==d&&(d=1/d);a.x=d*(this.j.y*c-this.j.x*b);a.y=d*(this.i.x*b-this.i.y*
c);return a};B.Ug=function(){this.i.Ug();this.j.Ug()};var xc=function(a,c,b){this.i=new wc(0,0,0);this.j=new wc(0,0,0);this.ya=new wc(0,0,0);a&&this.i.F(a);c&&this.j.F(c);b&&this.ya.F(b)};B=xc.prototype;B.Ac=function(){return new xc(this.i,this.j,this.ya)};B.Bf=function(a){this.i.F(a.i);this.j.F(a.j);this.ya.F(a.ya)};B.xn=function(a){this.i.x+=a.i.x;this.i.y+=a.i.y;this.i.z+=a.i.z;this.j.x+=a.j.x;this.j.y+=a.j.y;this.j.z+=a.j.z;this.ya.x+=a.ya.x;this.ya.y+=a.ya.y;this.ya.z+=a.ya.z};B.Th=function(){this.i.Set(1,
0,0);this.j.Set(0,1,0);this.ya.Set(0,0,1)};B.ga=function(){this.i.Set(0,0,0);this.j.Set(0,0,0);this.ya.Set(0,0,0)};B.ck=function(a,c,b){var d=this.i.x,e=this.j.x,g=this.i.y,f=this.j.y,h=d*f-e*g;0!=h&&(h=1/h);a.x=h*(f*c-e*b);a.y=h*(d*b-g*c);return a};B.Kl=function(a,c,b,d){var e=this.i.x,g=this.i.y,f=this.i.z,h=this.j.x,k=this.j.y,l=this.j.z,m=this.ya.x,n=this.ya.y,p=this.ya.z,v=e*(k*p-l*n)+g*(l*m-h*p)+f*(h*n-k*m);0!=v&&(v=1/v);a.x=v*(c*(k*p-l*n)+b*(l*m-h*p)+d*(h*n-k*m));a.y=v*(e*(b*p-d*n)+g*(d*m-
c*p)+f*(c*n-b*m));a.z=v*(e*(k*d-l*b)+g*(l*c-h*d)+f*(h*b-k*c));return a};var yc=function(){this.N=T.p(0,0);this.$c=T.p(0,0);this.q=T.p(0,0)};yc.prototype.Set=function(a){this.N.F(a.N);this.$c.F(a.$c);this.q.F(a.q);this.cf=a.cf;this.I=a.I;this.Bd=a.Bd};yc.prototype.Ac=function(){var a=new yc;a.N.F(this.N);a.$c.F(this.$c);a.q.F(this.q);a.cf=this.cf;a.I=this.I;a.Bd=this.Bd;return a};yc.prototype.ie=function(a,c){void 0===c&&(c=0);a.position.x=(1-c)*this.$c.x+c*this.q.x;a.position.y=(1-c)*this.$c.y+c*
this.q.y;a.m.Set((1-c)*this.cf+c*this.I);var b=a.m;a.position.x-=b.i.x*this.N.x+b.j.x*this.N.y;a.position.y-=b.i.y*this.N.x+b.j.y*this.N.y};yc.prototype.Qh=function(a){void 0===a&&(a=0);if(this.Bd<a&&1-this.Bd>Number.MIN_VALUE){var c=(a-this.Bd)/(1-this.Bd);this.$c.x=(1-c)*this.$c.x+c*this.q.x;this.$c.y=(1-c)*this.$c.y+c*this.q.y;this.cf=(1-c)*this.cf+c*this.I;this.Bd=a}};var gc=function(a,c){this.position=T.p(0,0);this.m=new U;a&&this.position.F(a);c&&this.m.Bf(c)};gc.prototype.rc=function(a,c){this.position.F(a);
this.m.Bf(c)};gc.prototype.Th=function(){this.position.ga();this.m.Th()};gc.prototype.Set=function(a){this.position.F(a.position);this.m.Bf(a.m)};gc.prototype.Dd=function(){return Math.atan2(this.m.i.y,this.m.i.x)};var T=function(a,c){this.x=a;this.y=c};T.Zg=[];T.p=function(a,c){if(0<T.Zg.length){var b=T.Zg.pop();b.Set(a,c);return b}return new T(a,c)};T.Vc=function(a){T.Zg.push(a)};B=T.prototype;B.ga=function(){this.y=this.x=0};B.Set=function(a,c){this.x=a;this.y=c};B.F=function(a){this.x=a.x;this.y=
a.y};B.Sh=function(){return T.p(-this.x,-this.y)};B.du=function(){this.x=-this.x;this.y=-this.y};B.Ac=function(){return T.p(this.x,this.y)};B.Vg=function(a){this.x+=a.x;this.y+=a.y};B.vq=function(a){this.x-=a.x;this.y-=a.y};B.Fd=function(a){this.x*=a;this.y*=a};B.Wg=function(a){var c=this.x;this.x=a*this.y;this.y=-a*c};B.Xp=function(a){var c=this.x;this.x=-a*this.y;this.y=a*c};B.cu=function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y)};B.au=function(a){this.x=Math.max(this.x,a.x);this.y=
Math.max(this.y,a.y)};B.Ug=function(){this.x=Math.abs(this.x);this.y=Math.abs(this.y)};B.fg=function(){return Math.sqrt(this.On())};B.On=function(){return this.x*this.x+this.y*this.y};B.Gd=function(){var a=this.fg();if(a<Number.MIN_VALUE)return 0;var c=1/a;this.x*=c;this.y*=c;return a};B.Nn=function(){return isFinite(this.x)&&isFinite(this.y)};var wc=function(a,c,b){this.x=a;this.y=c;this.z=b};B=wc.prototype;B.ga=function(){this.z=this.y=this.x=0};B.Set=function(a,c,b){this.x=a;this.y=c;this.z=b};
B.F=function(a){this.x=a.x;this.y=a.y;this.z=a.z};B.Sh=function(){return new wc(-this.x,-this.y,-this.z)};B.du=function(){this.x=-this.x;this.y=-this.y;this.z=-this.z};B.Ac=function(){return new wc(this.x,this.y,this.z)};B.Vg=function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z};B.vq=function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z};B.Fd=function(a){this.x*=a;this.y*=a;this.z*=a};var zc=function(){this.Za=0.005};B=zc.prototype;B.Ni=q();B.Ac=q();B.Set=function(a){this.Za=a.Za};B.Zj=q();B.pl=q();B.Cn=q();
B.qq=q();var mc=function(a){this.Za=0.005;this.Za=a;this.Sk=a*a;this.mb=T.p(0,0)};S(mc,zc);B=mc.prototype;B.Ni=function(){return mc.Af};B.Ac=function(){var a=new mc(this.Za);a.Set(this);return a};B.Set=function(a){zc.prototype.Set.call(this,a);a instanceof mc&&this.mb.F(a.mb)};B.Zj=function(a,c){var b=c.m,d=c.position.x+(b.i.x*this.mb.x+b.j.x*this.mb.y),b=c.position.y+(b.i.y*this.mb.x+b.j.y*this.mb.y);a.Ha.Set(d-this.Za,b-this.Za);a.Ia.Set(d+this.Za,b+this.Za)};B.pl=function(a,c){a.Dg=c*Math.PI*this.Sk;
a.dh.F(this.mb);a.bk=a.Dg*(0.5*this.Sk+(this.mb.x*this.mb.x+this.mb.y*this.mb.y))};B.Cn=function(a,c,b,d){b=V.Lc(b,this.mb);var e=-(V.Rb(a,b)-c);if(e<-this.Za+Number.MIN_VALUE)return 0;if(e>this.Za)return d.F(b),Math.PI*this.Sk;c=e*e;e=this.Sk*(Math.asin(e/this.Za)+Math.PI/2)+e*Math.sqrt(this.Sk-c);c=-2/3*Math.pow(this.Sk-c,1.5)/e;d.x=b.x+a.x*c;d.y=b.y+a.y*c;return e};B.qq=function(a){a.H=[this.mb];a.qa=1;a.Za=this.Za};mc.Af="b2CircleShape";var Ac=function(a,c){this.Za=0.005;this.ra=a;this.Ka=c;this.Bj=
T.p(this.Ka.x-this.ra.x,this.Ka.y-this.ra.y);this.rs=this.Bj.Gd();this.Ba=T.p(this.Bj.y,-this.Bj.x);T.p(-0.04*(this.Ba.x-this.Bj.x)+this.ra.x,-0.04*(this.Ba.y-this.Bj.y)+this.ra.y);T.p(-0.04*(this.Ba.x+this.Bj.x)+this.Ka.x,-0.04*(this.Ba.y+this.Bj.y)+this.Ka.y);T.p(-this.Ba.x,-this.Ba.y)};S(Ac,zc);Ac.prototype.Ni=w("b2EdgeShape");Ac.prototype.Zj=function(a,c){var b=c.m,d=c.position.x+(b.i.x*this.ra.x+b.j.x*this.ra.y),e=c.position.y+(b.i.y*this.ra.x+b.j.y*this.ra.y),g=c.position.x+(b.i.x*this.Ka.x+
b.j.x*this.Ka.y),b=c.position.y+(b.i.y*this.Ka.x+b.j.y*this.Ka.y);d<g?(a.Ha.x=d,a.Ia.x=g):(a.Ha.x=g,a.Ia.x=d);e<b?(a.Ha.y=e,a.Ia.y=b):(a.Ha.y=b,a.Ia.y=e)};Ac.prototype.pl=function(a){a.Dg=0;a.dh.F(this.ra);a.bk=0};Ac.prototype.Cn=function(a,c,b,d){void 0===c&&(c=0);var e=T.p(a.x*c,a.y*c),g=V.Lc(b,this.ra);b=V.Lc(b,this.Ka);var f=V.Rb(a,g)-c;a=V.Rb(a,b)-c;if(0<f){if(0<a)return 0;g.x=-a/(f-a)*g.x+f/(f-a)*b.x;g.y=-a/(f-a)*g.y+f/(f-a)*b.y}else 0<a&&(b.x=-a/(f-a)*g.x+f/(f-a)*b.x,b.y=-a/(f-a)*g.y+f/(f-
a)*b.y);d.x=(e.x+g.x+b.x)/3;d.y=(e.y+g.y+b.y)/3;return 0.5*((g.x-e.x)*(b.y-e.y)-(g.y-e.y)*(b.x-e.x))};var Bc=function(){this.Dg=0;this.dh=T.p(0,0);this.bk=0},Y=function(){this.Za=0.005;this.Rd=T.p(0,0);this.H=[];this.Ca=[]};S(Y,zc);Y.prototype.Ni=function(){return Y.Af};Y.prototype.Ac=function(){var a=new Y;a.Set(this);return a};Y.prototype.Set=function(a){zc.prototype.Set.call(this,a);if(a instanceof Y){this.Rd.F(a.Rd);this.Na=a.Na;this.Gl(this.Na);for(var c=0;c<this.Na;c++)this.H[c].F(a.H[c]),this.Ca[c].F(a.Ca[c])}};
Y.prototype.pq=function(a){this.su(a)};Y.PC=function(a){var c=new Y;c.pq(a);return c};Y.prototype.su=function(a){var c=a.length;this.Na=c;this.Gl(c);for(c=c=0;c<this.Na;c++)this.H[c].F(a[c]);for(c=0;c<this.Na;++c)a=V.Ab(this.H[c+1<this.Na?c+1:0],this.H[c]),this.Ca[c].F(V.Wg(a,1)),this.Ca[c].Gd();this.Rd=Y.Tx(this.H,this.Na)};Y.TC=function(a){var c=new Y;c.su(a);return c};Y.prototype.Qn=function(a,c){this.Na=4;this.Gl(4);this.H[0].Set(-a,-c);this.H[1].Set(a,-c);this.H[2].Set(a,c);this.H[3].Set(-a,
c);this.Ca[0].Set(0,-1);this.Ca[1].Set(1,0);this.Ca[2].Set(0,1);this.Ca[3].Set(-1,0);this.Rd.ga()};Y.QC=function(a,c){var b=new Y;b.Qn(a,c);return b};Y.prototype.Iy=function(a,c,b,d){this.Na=4;this.Gl(4);this.H[0].Set(-a,-c);this.H[1].Set(a,-c);this.H[2].Set(a,c);this.H[3].Set(-a,c);this.Ca[0].Set(0,-1);this.Ca[1].Set(1,0);this.Ca[2].Set(0,1);this.Ca[3].Set(-1,0);this.Rd=b;a=new U;a.Set(d);b=new gc(b,a);for(d=0;d<this.Na;++d)this.H[d]=V.Lc(b,this.H[d]),this.Ca[d]=V.kc(b.m,this.Ca[d])};Y.SC=function(a,
c,b,d){var e=new Y;e.Iy(a,c,b,d);return e};Y.prototype.ru=function(a,c){this.Na=2;this.Gl(2);this.H[0].F(a);this.H[1].F(c);this.Rd.x=0.5*(a.x+c.x);this.Rd.y=0.5*(a.y+c.y);this.Ca[0]=V.Wg(V.Ab(c,a),1);this.Ca[0].Gd();this.Ca[1].x=-this.Ca[0].x;this.Ca[1].y=-this.Ca[0].y};Y.RC=function(a,c){var b=new Y;b.ru(a,c);return b};B=Y.prototype;B.Zj=function(a,c){for(var b=c.m,d=this.H[0],e=c.position.x+(b.i.x*d.x+b.j.x*d.y),g=c.position.y+(b.i.y*d.x+b.j.y*d.y),f=e,h=g,k=1;k<this.Na;++k)var d=this.H[k],l=c.position.x+
(b.i.x*d.x+b.j.x*d.y),d=c.position.y+(b.i.y*d.x+b.j.y*d.y),e=e<l?e:l,g=g<d?g:d,f=f>l?f:l,h=h>d?h:d;a.Ha.x=e-this.Za;a.Ha.y=g-this.Za;a.Ia.x=f+this.Za;a.Ia.y=h+this.Za};B.pl=function(a,c){if(2==this.Na)a.dh.x=0.5*(this.H[0].x+this.H[1].x),a.dh.y=0.5*(this.H[0].y+this.H[1].y),a.Dg=0,a.bk=0;else{for(var b=0,d=0,e=0,g=0,f=1/3,h=0;h<this.Na;++h)var k=this.H[h],l=h+1<this.Na?this.H[h+1]:this.H[0],m=k.x-0,n=k.y-0,p=l.x-0,v=l.y-0,r=m*v-n*p,s=0.5*r,e=e+s,b=b+s*f*(0+k.x+l.x),d=d+s*f*(0+k.y+l.y),k=m,g=g+r*(f*
(0.25*(k*k+p*k+p*p)+(0*k+0*p))+0+(f*(0.25*(n*n+v*n+v*v)+(0*n+0*v))+0));a.Dg=c*e;a.dh.Set(b*(1/e),d*(1/e));a.bk=c*g}};B.Cn=function(a,c,b,d){var e=V.Xg(b.m,a),g=c-V.Rb(a,b.position),f=[],h=0,k=-1;c=-1;var l=!1;for(a=a=0;a<this.Na;++a){f[a]=V.Rb(e,this.H[a])-g;var m=f[a]<-Number.MIN_VALUE;0<a&&(m?l||(k=a-1,h++):l&&(c=a-1,h++));l=m}switch(h){case 0:return l?(a=new Bc,this.pl(a,1),d.F(V.Lc(b,a.dh)),a.Dg):0;case 1:-1==k?k=this.Na-1:c=this.Na-1}a=(k+1)%this.Na;e=(c+1)%this.Na;g=(0-f[k])/(f[a]-f[k]);f=(0-
f[c])/(f[e]-f[c]);k=T.p(this.H[k].x*(1-g)+this.H[a].x*g,this.H[k].y*(1-g)+this.H[a].y*g);c=T.p(this.H[c].x*(1-f)+this.H[e].x*f,this.H[c].y*(1-f)+this.H[e].y*f);f=0;g=T.p(0,0);for(h=this.H[a];a!=e;)a=(a+1)%this.Na,l=a==e?c:this.H[a],m=0.5*((h.x-k.x)*(l.y-k.y)-(h.y-k.y)*(l.x-k.x)),f+=m,g.x+=m*(k.x+h.x+l.x)/3,g.y+=m*(k.y+h.y+l.y)/3,h=l;g.Fd(1/f);d.F(V.Lc(b,g));return f};B.qq=function(a){a.H=this.H;a.qa=this.Na;a.Za=this.Za};B.Ln=function(a){for(var c=0,b=this.H[0].x*a.x+this.H[0].y*a.y,d=1;d<this.Na;++d){var e=
this.H[d].x*a.x+this.H[d].y*a.y;e>b&&(c=d,b=e)}return c};B.xl=function(a){for(var c=0,b=this.H[0].x*a.x+this.H[0].y*a.y,d=1;d<this.Na;++d){var e=this.H[d].x*a.x+this.H[d].y*a.y;e>b&&(c=d,b=e)}return this.H[c]};B.Gl=function(a){this.H=[];this.Ca=[];for(var c=this.H.length;c<a;c++)this.H[c]=T.p(0,0),this.Ca[c]=T.p(0,0)};Y.Tx=function(a,c){for(var b=T.p(0,0),d=0,e=1/3,g=0;g<c;++g){var f=a[g],h=g+1<c?a[g+1]:a[0],k=0.5*((f.x-0)*(h.y-0)-(f.y-0)*(h.x-0)),d=d+k;b.x+=k*e*(0+f.x+h.x);b.y+=k*e*(0+f.y+h.y)}b.x*=
1/d;b.y*=1/d;return b};Y.qE=new U;Y.Af="b2PolygonShape";var Cc=function(){this.Bq=this.Aq=this.Cq=this.Hd=0};B=Cc.prototype;B.Qi=function(a){this.Hd=a;this.Cq=this.Hd&255;this.Aq=(this.Hd&65280)>>8&255;this.Bq=(this.Hd&16711680)>>16&255;this.Fu=(this.Hd&4278190080)>>24&255};B.Set=function(a){this.Qi(a.Hd)};B.xu=function(a){this.Cq=a;this.Hd=this.Hd&4294967040|this.Cq&255};B.vu=function(a){this.Aq=a;this.Hd=this.Hd&4294902015|this.Aq<<8&65280};B.wu=function(a){this.Bq=a;this.Hd=this.Hd&4278255615|
this.Bq<<16&16711680};B.Jy=function(a){this.Fu=a;this.Hd=this.Hd&16777215|this.Fu<<24&4278190080};B.Ac=function(){var a=new Cc;a.Set(this);return a};var Dc=function(){this.xb=T.p(0,0);this.id=new Cc};Dc.prototype.Set=function(a){this.xb.F(a.xb);this.id.Set(a.id)};var Ec=function(){this.Ha=T.p(0,0);this.Ia=T.p(0,0)},Fc=[],Kc=function(){if(0<Fc.length){var a=Fc.pop();a.ga();return a}return new Ec};B=Ec.prototype;B.ga=function(){this.Ha.Set(0,0);this.Ia.Set(0,0)};B.Nn=function(){return 0>this.Ia.x-this.Ha.x||
0>this.Ia.y-this.Ha.y?!1:this.Ha.Nn()&&this.Ia.Nn()};B.Zx=function(){return T.p((this.Ha.x+this.Ia.x)/2,(this.Ha.y+this.Ia.y)/2)};B.Vp=function(a){var c;return c=(c=(c=(c=this.Ha.x<=a.Ha.x)&&this.Ha.y<=a.Ha.y)&&a.Ia.x<=this.Ia.x)&&a.Ia.y<=this.Ia.y};B.Ml=function(a){return 0<a.Ha.x-this.Ia.x||0<a.Ha.y-this.Ia.y||0<this.Ha.x-a.Ia.x||0<this.Ha.y-a.Ia.y?!1:!0};B.Bn=function(a,c){this.Ha.x=Math.min(a.Ha.x,c.Ha.x);this.Ha.y=Math.min(a.Ha.y,c.Ha.y);this.Ia.x=Math.max(a.Ia.x,c.Ia.x);this.Ia.y=Math.max(a.Ia.y,
c.Ia.y)};var Lc=function(a,c,b,d){var e=0,g=c[0].xb,f=c[1].xb,h=b.x*g.x+b.y*g.y-d;b=b.x*f.x+b.y*f.y-d;0>=h&&a[e++].Set(c[0]);0>=b&&a[e++].Set(c[1]);0>h*b&&(b=h/(h-b),d=a[e].xb,d.x=g.x+b*(f.x-g.x),d.y=g.y+b*(f.y-g.y),a[e].id=0<h?c[0].id:c[1].id,e++);return e},Mc=function(a,c,b,d,e){for(var g=c.m.i.x*a.Ca[b].x+c.m.j.x*a.Ca[b].y,f=c.m.i.y*a.Ca[b].x+c.m.j.y*a.Ca[b].y,h=e.m.i.x*g+e.m.i.y*f,k=e.m.j.x*g+e.m.j.y*f,l=0,m=Number.MAX_VALUE,n=0;n<d.Na;n++){var p=d.H[n].x*h+d.H[n].y*k;p<m&&(m=p,l=n)}return(e.position.x+
(e.m.i.x*d.H[l].x+e.m.j.x*d.H[l].y)-(c.position.x+(c.m.i.x*a.H[b].x+c.m.j.x*a.H[b].y)))*g+(e.position.y+(e.m.i.y*d.H[l].x+e.m.j.y*d.H[l].y)-(c.position.y+(c.m.i.y*a.H[b].x+c.m.j.y*a.H[b].y)))*f},Nc=function(a,c,b,d){for(var e=d.position.x+(d.m.i.x*b.Rd.x+d.m.j.x*b.Rd.y),g=d.position.y+(d.m.i.y*b.Rd.x+d.m.j.y*b.Rd.y),e=e-(c.position.x+(c.m.i.x*a.Rd.x+c.m.j.x*a.Rd.y)),g=g-(c.position.y+(c.m.i.y*a.Rd.x+c.m.j.y*a.Rd.y)),f=e*c.m.i.x+g*c.m.i.y,g=e*c.m.j.x+g*c.m.j.y,e=0,h=-Number.MAX_VALUE,k=0;k<a.Na;++k){var l=
a.Ca[k].x*f+a.Ca[k].y*g;l>h&&(h=l,e=k)}f=Mc(a,c,e,b,d);g=e-1;0>g&&(g=a.Na-1);h=Mc(a,c,g,b,d);k=e+1;k>=a.Na&&(k=0);var l=Mc(a,c,k,b,d),m=0,n=0;if(h>f&&h>l)for(m=g,n=h;;)if(e=m-1,0>e&&(e=a.Na-1),f=Mc(a,c,e,b,d),f>n)m=e,n=f;else break;else if(l>f)for(m=k,n=l;;)if(e=m+1,e>=a.Na&&(e=0),f=Mc(a,c,e,b,d),f>n)m=e,n=f;else break;else m=e,n=f;return{Uu:m,Dp:n}},Pc=function(a,c,b){var d=new Oc;d.Fy(c,b.Eh,b.Mp,b.Fh,b.Np);for(var e=0;20>e;){for(var g=[],f=0;f<d.qa;f++)g[f]={},g[f].sc=d.H[f].sc,g[f].tc=d.H[f].tc;
2==d.qa?d.Ly():3==d.qa&&d.My();if(3==d.qa)break;f=d.ay();if(f.On()<vc)break;var h=f.Sh();d.H[d.qa].sc=b.Eh.Ln(V.Xg(b.Mp.m,h));d.H[d.qa].rd=V.Lc(b.Mp,b.Eh.gd(d.H[d.qa].sc));d.H[d.qa].tc=b.Fh.Ln(V.Xg(b.Np.m,f));d.H[d.qa].zf=V.Lc(b.Np,b.Fh.gd(d.H[d.qa].tc));d.H[d.qa].zc=V.Ab(d.H[d.qa].zf,d.H[d.qa].rd);T.Vc(f);T.Vc(h);e++;h=!1;for(f=0;f<g.length;f++)if(d.H[d.qa].sc==g[f].sc&&d.H[d.qa].tc==g[f].tc){h=!0;break}if(h)break;d.qa++}d.by(a.Uf,a.Vf);a.gh=V.Ab(a.Uf,a.Vf).fg();d.Ty(c);b.Gx&&(c=b.Eh.Za,b=b.Fh.Za,
a.gh>c+b&&a.gh>Number.MIN_VALUE?(a.gh-=c+b,d=V.Ab(a.Vf,a.Uf),d.Gd(),a.Uf.x+=c*d.x,a.Uf.y+=c*d.y,a.Vf.x-=b*d.x,a.Vf.y-=b*d.y,T.Vc(d)):(b=T.p(0,0),b.x=0.5*(a.Uf.x+a.Vf.x),b.y=0.5*(a.Uf.y+a.Vf.y),a.Uf.x=a.Vf.x=b.x,a.Uf.y=a.Vf.y=b.y,a.gh=0,T.Vc(b)))},Qc=q(),Rc=function(){this.Uf=T.p(0,0);this.Vf=T.p(0,0);this.gh=0},Sc=q();Sc.prototype.Set=function(a){a.qq(this)};Sc.prototype.Ln=function(a){for(var c=0,b=this.H[0].x*a.x+this.H[0].y*a.y,d=1;d<this.qa;d++){var e=this.H[d].x*a.x+this.H[d].y*a.y;e>b&&(c=d,
b=e)}return c};Sc.prototype.xl=function(a){return this.H[this.Ln(a)]};Sc.prototype.gd=function(a){void 0===a&&(a=0);return this.H[a]};var Tc=function(){this.Cg=null};B=Tc.prototype;B.ql=function(a,c){var b=Uc(c);b.Ua.Ha.x=a.Ha.x-0.1;b.Ua.Ha.y=a.Ha.y-0.1;b.Ua.Ia.x=a.Ia.x+0.1;b.Ua.Ia.y=a.Ia.y+0.1;this.Yt(b);return b};B.rl=function(a){this.ou(a);a.Qb()};B.gq=function(a,c,b){if(a.Ua.Vp(c))return!1;this.ou(a);var d=0.1+2*Math.abs(b.x);b=0.1+2*Math.abs(b.y);a.Ua.Ha.x=c.Ha.x-d;a.Ua.Ha.y=c.Ha.y-b;a.Ua.Ia.x=
c.Ia.x+d;a.Ua.Ia.y=c.Ia.y+b;this.Yt(a);return!0};B.ul=function(a){return a.Ua};B.nq=function(a,c){if(null!==this.Cg){var b=[];for(b.push(this.Cg);0<b.length;){var d=b.pop();if(d.Ua.Ml(c))if(d.Zt()){if(!a(d.hf))break}else b.push(d.me),b.push(d.jg)}}};B.Yt=function(a){if(null===this.Cg)this.Cg=a,this.Cg.parent=null;else{var c=this.Yx(a),b=c.parent,d=Uc();d.parent=b;d.Ua.Bn(a.Ua,c.Ua);if(b)for(c.parent.me==c?b.me=d:b.jg=d,d.me=c,d.jg=a,c.parent=d,a.parent=d;b&&!b.Ua.Vp(d.Ua);)b.Ua.Bn(b.me.Ua,b.jg.Ua),
d=b,b=b.parent;else d.me=c,d.jg=a,c.parent=d,this.Cg=a.parent=d}};B.Yx=function(a){a=a.Ua.Zx();for(var c=this.Cg;!c.Zt();)var b=c.me,c=c.jg,d=Math.abs((b.Ua.Ha.x+b.Ua.Ia.x)/2-a.x)+Math.abs((b.Ua.Ha.y+b.Ua.Ia.y)/2-a.y),e=Math.abs((c.Ua.Ha.x+c.Ua.Ia.x)/2-a.x)+Math.abs((c.Ua.Ha.y+c.Ua.Ia.y)/2-a.y),c=d<e?b:c;T.Vc(a);return c};B.ou=function(a){if(a==this.Cg)this.Cg=null;else{var c=a.parent,b=c.parent;a=c.me==a?c.jg:c.me;if(b)for(b.me==c?b.me=a:b.jg=a,a.parent=b;b;){a=b.Ua;b.Ua.Bn(b.me.Ua,b.jg.Ua);if(a.Vp(b.Ua))break;
b=b.parent}else this.Cg=a,a.parent=null;c.Qb()}};var Vc=function(){this.Ch=new Tc;this.ip=[]};B=Vc.prototype;B.ql=function(a,c){var b=this.Ch.ql(a,c);this.Pt(b);return b};B.rl=function(a){this.Ry(a);this.Ch.rl(a)};B.gq=function(a,c,b){this.Ch.gq(a,c,b)&&this.Pt(a)};B.Ml=function(a,c){return this.Ch.ul(a).Ml(this.Ch.ul(c))};B.ul=function(a){return this.Ch.ul(a)};B.Sy=function(a){for(var c=[];0<this.ip.length;){var b=this.ip.pop();this.Ch.nq(function(a){a!=b.hf&&c.push(new Wc(b.hf,a));return!0},this.Ch.ul(b))}for(var d=
0;d<c.length;){var e=c[d];a(e.Yl,e.Zl);for(d++;d<c.length;){var g=c[d];if(!(g.Yl==e.Yl&&g.Zl==e.Zl||g.Yl==e.Zl&&g.Zl==e.Yl))break;d++}}};B.nq=function(a,c){this.Ch.nq(a,c)};B.Pt=function(a){this.ip.push(a)};B.Ry=function(a){ua(this.ip,a)};var Xc=function(a){this.Ua=Kc();this.hf=this.parent=this.jg=this.me=null;"undefined"!=typeof a&&(this.hf=a)},Yc=[],Uc=function(a){if(0<Yc.length){var c=Yc.pop();"undefined"!=typeof a&&(c.hf=a);c.Ua.ga();return c}return new Xc(a)};Xc.prototype.Qb=function(){this.hf=
this.parent=this.jg=this.me=null;Yc.push(this)};Xc.prototype.Zt=function(){return null===this.me};var Wc=function(a,c){this.Yl=a;this.Zl=c},$c=function(){this.$a=this.nc=0;this.ma=[];for(var a=0;2>a;a++)this.ma[a]=new Zc;this.dd=T.p(0,0);this.Aa=T.p(0,0)};$c.prototype.Yc=function(){for(var a=0;2>a;a++)this.ma[a].Yc();this.dd.ga();this.Aa.ga();this.nc=this.$a=0};$c.prototype.Set=function(a){this.nc=a.nc;for(var c=0;2>c;c++)this.ma[c].Set(a.ma[c]);this.dd.F(a.dd);this.Aa.F(a.Aa);this.$a=a.$a};$c.prototype.Ac=
function(){var a=new $c;a.Set(this);return a};var Zc=function(){this.Aa=T.p(0,0);this.qf=new Cc;this.Yc()};Zc.prototype.Yc=function(){this.Aa.ga();this.Ij=this.Ej=0;this.qf.Qi(0)};Zc.prototype.Set=function(a){this.Aa.F(a.Aa);this.Ej=a.Ej;this.Ij=a.Ij;this.qf.Set(a.qf)};var ad=function(){this.Aa=T.p(0,0);this.S=T.p(0,0)};ad.prototype.rc=function(a,c,b,d,e){this.ri=c;this.si=d;var g,f,h,k=h=f=0,l=0;d=c=0;var m,n,k=0;1==a.count?(this.$a=bd,g=this.ri.gd(a.sc[0]),a=this.si.gd(a.tc[0]),n=g,m=b.m,f=b.position.x+
(m.i.x*n.x+m.j.x*n.y),h=b.position.y+(m.i.y*n.x+m.j.y*n.y),n=a,m=e.m,k=e.position.x+(m.i.x*n.x+m.j.x*n.y),l=e.position.y+(m.i.y*n.x+m.j.y*n.y),this.S.x=k-f,this.S.y=l-h,this.S.Gd()):(a.tc[0]==a.tc[1]?(this.$a=cd,c=this.ri.gd(a.sc[0]),d=this.ri.gd(a.sc[1]),a=this.si.gd(a.tc[0]),this.Aa.x=0.5*(c.x+d.x),this.Aa.y=0.5*(c.y+d.y),this.S=V.Wg(V.Ab(d,c),1),this.S.Gd(),n=this.S,m=b.m,c=m.i.x*n.x+m.j.x*n.y,d=m.i.y*n.x+m.j.y*n.y,n=this.Aa,m=b.m,f=b.position.x+(m.i.x*n.x+m.j.x*n.y),h=b.position.y+(m.i.y*n.x+
m.j.y*n.y),n=a,m=e.m,k=e.position.x+(m.i.x*n.x+m.j.x*n.y),l=e.position.y+(m.i.y*n.x+m.j.y*n.y),k=(k-f)*c+(l-h)*d):a.sc[0]==a.sc[0]?(this.$a=dd,f=this.si.gd(a.tc[0]),h=this.si.gd(a.tc[1]),g=this.ri.gd(a.sc[0]),this.Aa.x=0.5*(f.x+h.x),this.Aa.y=0.5*(f.y+h.y),this.S=V.Wg(V.Ab(h,f),1),this.S.Gd(),n=this.S,m=e.m,c=m.i.x*n.x+m.j.x*n.y,d=m.i.y*n.x+m.j.y*n.y,n=this.Aa,m=e.m,k=e.position.x+(m.i.x*n.x+m.j.x*n.y),l=e.position.y+(m.i.y*n.x+m.j.y*n.y),n=g,m=b.m,f=b.position.x+(m.i.x*n.x+m.j.x*n.y),h=b.position.y+
(m.i.y*n.x+m.j.y*n.y),k=(f-k)*c+(h-l)*d):(c=this.ri.gd(a.sc[0]),d=this.ri.gd(a.sc[1]),f=this.si.gd(a.tc[0]),h=this.si.gd(a.tc[1]),k=V.kc(b.m,V.Ab(d,c)),l=V.kc(e.m,V.Ab(h,f)),e=k.x*k.x+k.y*k.y,b=l.x*l.x+l.y*l.y,g=V.Ab(l,k),a=k.x*g.x+k.y*g.y,g=l.x*g.x+l.y*g.y,l=k.x*l.x+k.y*l.y,m=e*b-l*l,k=0,0!=m&&(k=V.Ib((l*g-a*b)/m,0,1)),0>(l*k+g)/b&&(k=V.Ib((l-a)/e,0,1)),g=T.p(0,0),g.x=c.x+k*(d.x-c.x),g.y=c.y+k*(d.y-c.y),a=T.p(0,0),a.x=f.x+k*(h.x-f.x),a.y=f.y+k*(h.y-f.y),0==k||1==k?(this.$a=dd,this.S=V.Wg(V.Ab(h,
f),1),this.S.Gd(),this.Aa=a):(this.$a=cd,this.S=V.Wg(V.Ab(d,c),1),this.Aa=g)),0>k&&this.S.du())};ad.prototype.dg=function(a,c){var b,d,e=0;switch(this.$a){case bd:b=V.Xg(a.m,this.S);d=V.Xg(c.m,this.S.Sh());b=this.ri.xl(b);d=this.si.xl(d);b=V.Lc(a,b);d=V.Lc(c,d);e=(d.x-b.x)*this.S.x+(d.y-b.y)*this.S.y;break;case cd:e=V.kc(a.m,this.S);b=V.Lc(a,this.Aa);d=V.Xg(c.m,e.Sh());d=this.si.xl(d);d=V.Lc(c,d);e=(d.x-b.x)*e.x+(d.y-b.y)*e.y;break;case dd:e=V.kc(c.m,this.S),d=V.Lc(c,this.Aa),b=V.Xg(a.m,e.Sh()),b=
this.ri.xl(b),b=V.Lc(a,b),e=(b.x-d.x)*e.x+(b.y-d.y)*e.y}return e};var bd=1,cd=2,dd=4,Oc=function(){this.ra=new ed;this.Ka=new ed;this.se=new ed;this.H=[this.ra,this.Ka,this.se]};B=Oc.prototype;B.Fy=function(a,c,b,d,e){var g,f;this.qa=a.count;for(var h=this.H,k=0;k<this.qa;k++){var l=h[k];l.sc=a.sc[k];l.tc=a.tc[k];g=c.gd(l.sc);f=d.gd(l.tc);l.rd=V.Lc(b,g);l.zf=V.Lc(e,f);l.zc=V.Ab(l.zf,l.rd);l.I=0}1<this.qa&&(a=a.NB,g=this.Xt(),g<0.5*a||2*a<g||g<Number.MIN_VALUE)&&(this.qa=0);0==this.qa&&(l=h[0],l.sc=
0,l.tc=0,g=c.gd(0),f=d.gd(0),l.rd=V.Lc(b,g),l.zf=V.Lc(e,f),l.zc=V.Ab(l.zf,l.rd),this.qa=1)};B.Ty=function(a){a.NB=this.Xt();a.count=this.qa;for(var c=this.H,b=0;b<this.qa;b++)a.sc[b]=c[b].sc,a.tc[b]=c[b].tc};B.ay=function(){if(1==this.qa)return this.ra.zc.Sh();if(2==this.qa){var a=V.Ab(this.Ka.zc,this.ra.zc);return 0<V.Ji(a,this.ra.zc.Sh())?V.Xp(1,a):V.Wg(a,1)}return T.p(0,0)};B.by=function(a,c){1==this.qa?(a.F(this.ra.rd),c.F(this.ra.zf)):2==this.qa?(a.x=this.ra.I*this.ra.rd.x+this.Ka.I*this.Ka.rd.x,
a.y=this.ra.I*this.ra.rd.y+this.Ka.I*this.Ka.rd.y,c.x=this.ra.I*this.ra.zf.x+this.Ka.I*this.Ka.zf.x,c.y=this.ra.I*this.ra.zf.y+this.Ka.I*this.Ka.zf.y):3==this.qa&&(c.x=a.x=this.ra.I*this.ra.rd.x+this.Ka.I*this.Ka.rd.x+this.se.I*this.se.rd.x,c.y=a.y=this.ra.I*this.ra.rd.y+this.Ka.I*this.Ka.rd.y+this.se.I*this.se.rd.y)};B.Xt=function(){return 1==this.qa?0:2==this.qa?V.Ab(this.ra.zc,this.Ka.zc).fg():3==this.qa?V.Ji(V.Ab(this.Ka.zc,this.ra.zc),V.Ab(this.se.zc,this.ra.zc)):0};B.Ly=function(){var a=this.ra.zc,
c=this.Ka.zc,b=V.Ab(c,a),a=-(a.x*b.x+a.y*b.y);0>=a?this.qa=this.ra.I=1:(c=c.x*b.x+c.y*b.y,0>=c?(this.qa=this.Ka.I=1,this.ra.Set(this.Ka)):(b=1/(c+a),this.ra.I=c*b,this.Ka.I=a*b,this.qa=2))};B.My=function(){var a=this.ra.zc,c=this.Ka.zc,b=this.se.zc,d=V.Ab(c,a),e=V.Rb(c,d),g=-V.Rb(a,d),f=V.Ab(b,a),h=V.Rb(b,f),k=-V.Rb(a,f),l=V.Ab(b,c),m=V.Rb(b,l),l=-V.Rb(c,l),f=V.Ji(d,f),d=f*V.Ji(c,b),b=f*V.Ji(b,a),a=f*V.Ji(a,c);0>=g&&0>=k?this.qa=this.ra.I=1:0<e&&0<g&&0>=a?(h=1/(e+g),this.ra.I=e*h,this.Ka.I=g*h,this.qa=
2):0<h&&0<k&&0>=b?(e=1/(h+k),this.ra.I=h*e,this.se.I=k*e,this.qa=2,this.Ka.Set(this.se)):0>=e&&0>=l?(this.qa=this.Ka.I=1,this.ra.Set(this.Ka)):0>=h&&0>=m?(this.qa=this.se.I=1,this.ra.Set(this.se)):0<m&&0<l&&0>=d?(e=1/(m+l),this.Ka.I=m*e,this.se.I=l*e,this.qa=2,this.ra.Set(this.se)):(e=1/(d+b+a),this.ra.I=d*e,this.Ka.I=b*e,this.se.I=a*e,this.qa=3)};var fd=function(){this.sc=[0,0,0];this.tc=[0,0,0]},ed=q();ed.prototype.Set=function(a){this.rd.F(a.rd);this.zf.F(a.zf);this.zc.F(a.zc);this.I=a.I;this.sc=
a.sc;this.tc=a.tc};var gd=function(){this.Eh=new Sc;this.Fh=new Sc;this.ox=new yc;this.qx=new yc},hd=function(){this.Ba=T.p(0,0);this.ma=[];for(var a=this.nc=0;2>a;a++)this.ma[a]=T.p(0,0)};hd.prototype.rc=function(a,c,b,d,e){if(0!=a.nc){var g=0,f,h,k=0,l=0,m=0,n=0,p=0;f=0;switch(a.$a){case 1:h=c.m;f=a.Aa;g=c.position.x+h.i.x*f.x+h.j.x*f.y;c=c.position.y+h.i.y*f.x+h.j.y*f.y;h=d.m;f=a.ma[0].Aa;a=d.position.x+h.i.x*f.x+h.j.x*f.y;d=d.position.y+h.i.y*f.x+h.j.y*f.y;f=a-g;h=d-c;k=f*f+h*h;k>vc?(k=Math.sqrt(k),
this.Ba.x=f/k,this.Ba.y=h/k):(this.Ba.x=1,this.Ba.y=0);f=c+b*this.Ba.y;d-=e*this.Ba.y;this.ma[0].x=0.5*(g+b*this.Ba.x+(a-e*this.Ba.x));this.ma[0].y=0.5*(f+d);break;case 2:h=c.m;f=a.dd;k=h.i.x*f.x+h.j.x*f.y;l=h.i.y*f.x+h.j.y*f.y;h=c.m;f=a.Aa;m=c.position.x+h.i.x*f.x+h.j.x*f.y;n=c.position.y+h.i.y*f.x+h.j.y*f.y;this.Ba.x=k;this.Ba.y=l;for(g=0;g<a.nc;g++)h=d.m,f=a.ma[g].Aa,p=d.position.x+h.i.x*f.x+h.j.x*f.y,f=d.position.y+h.i.y*f.x+h.j.y*f.y,this.ma[g].x=p+0.5*(b-(p-m)*k-(f-n)*l-e)*k,this.ma[g].y=f+
0.5*(b-(p-m)*k-(f-n)*l-e)*l;break;case 4:for(h=d.m,f=a.dd,k=h.i.x*f.x+h.j.x*f.y,l=h.i.y*f.x+h.j.y*f.y,h=d.m,f=a.Aa,m=d.position.x+h.i.x*f.x+h.j.x*f.y,n=d.position.y+h.i.y*f.x+h.j.y*f.y,this.Ba.x=-k,this.Ba.y=-l,g=0;g<a.nc;g++)h=c.m,f=a.ma[g].Aa,p=c.position.x+h.i.x*f.x+h.j.x*f.y,f=c.position.y+h.i.y*f.x+h.j.y*f.y,this.ma[g].x=p+0.5*(e-(p-m)*k-(f-n)*l-b)*k,this.ma[g].y=f+0.5*(e-(p-m)*k-(f-n)*l-b)*l}}};var ic=function(a,c){this.Ed="Body"+ic.iq++;this.u=new gc;this.u.position.F(a.position);this.u.m.Set(a.M);
this.k=new yc;this.k.N.ga();this.k.Bd=1;this.k.cf=this.k.I=a.M;this.k.q.x=this.u.m.i.x*this.k.N.x+this.u.m.j.x*this.k.N.y;this.k.q.y=this.u.m.i.y*this.k.N.x+this.u.m.j.y*this.k.N.y;this.k.q.x+=this.u.position.x;this.k.q.y+=this.u.position.y;this.k.$c.F(this.k.q);this.n=a.Yr.Ac();this.wh=T.p(0,0);this.Nk=a.Zi;this.uB=a.gr;this.ks=a.Mu;this.ls=a.Ru;this.Cm=a.He;this.Oa=c;this.Ob=null;this.Zd=new id;this.cj=new jd;this.D=a.Nu;this.BB=a.xj;this.pB=a.Vi;this.Nm=this.Jj=0;this.$a=a.type;this.P=this.$a==
X.Mc?1:0;this.G=this.$a==X.Mc?1:0;this.R=this.of=0;this.yB=a.Jv;this.qk=new kd;this.gp=[]};B=ic.prototype;B.Dn=function(a){a=new hc(this,this.u,a);this.Cm&&a.ql(this.Oa.Sd.Mk,this.u);this.qk.Mx(a);a.Em=this;0<a.cp&&this.qu();this.Oa.ws=!0;return a};B.Qb=function(){T.Vc(this.n);T.Vc(this.wh)};B.Rt=function(a){this.qk.Gy(a);for(var c=this.Zd.La(ld);c;c=c.next)a!=c.Oc.Ub&&a!=c.Oc.Nb||this.Oa.Sd.Qb(c.Oc);this.Cm&&a.rl(this.Oa.Sd.Mk);a.Qb();a.Em=null;this.qu()};B.Jl=function(a,c){this.u.m.Set(c);this.u.position.F(a);
var b=this.u.m,d=this.k.N;this.k.q.x=b.i.x*d.x+b.j.x*d.y;this.k.q.y=b.i.y*d.x+b.j.y*d.y;this.k.q.x+=this.u.position.x;this.k.q.y+=this.u.position.y;this.k.$c.F(this.k.q);this.k.cf=this.k.I=c;b=this.Oa.Sd.Mk;for(d=this.qk.La();d;d=d.next)d.hf.yu(b,this.u,this.u);this.Oa.Sd.Hn()};B.ie=u("u");B.rq=function(a){this.Jl(a,this.Dd())};B.Dd=function(){return this.k.I};B.Pn=function(a){this.Jl(this.u.position,a)};B.ak=function(){return this.k.q};B.Mi=function(){return this.k.N};B.Ri=function(a){this.$a!=X.Ie&&
this.n.F(a)};B.Li=u("n");B.Il=function(a){void 0===a&&(a=0);this.$a!=X.Ie&&(this.D=a)};B.In=u("D");B.bg=function(a,c){this.$a==X.Mc&&(this.hd(!0),this.wh.x+=a.x,this.wh.y+=a.y,this.Jj+=(c.x-this.k.q.x)*a.y-(c.y-this.k.q.y)*a.x)};B.yn=function(a){void 0===a&&(a=0);this.$a==X.Mc&&(this.hd(!0),this.Jj+=a)};B.Wt=function(a){a||(a=new Bc);a.Dg=this.P;a.bk=this.of;a.dh.F(this.k.N);return a};B.qu=function(){this.R=this.of=this.G=this.P=0;this.k.N.ga();if(this.$a!=X.Ie&&this.$a!=X.Tu){for(var a=T.p(0,0),
c=this.qk.La();c;c=c.next){var b=c.hf;0!=b.cp&&(b=b.Wt(),this.P+=b.Dg,a.x+=b.dh.x*b.Dg,a.y+=b.dh.y*b.Dg,this.of+=b.bk)}0<this.P?(this.G=1/this.P,a.x*=this.G,a.y*=this.G):this.G=this.P=1;0<this.of&&!this.uB?(this.of-=this.P*(a.x*a.x+a.y*a.y),this.of*=this.yB,this.R=1/this.of):this.R=this.of=0;c=this.k.q.Ac();this.k.N.F(a);this.k.$c.F(V.Lc(this.u,this.k.N));this.k.q.F(this.k.$c);this.n.x+=this.D*-(this.k.q.y-c.y);this.n.y+=this.D*+(this.k.q.x-c.x);T.Vc(a);T.Vc(c)}};B.Mn=function(a){var c=this.u.m;a=
T.p(c.i.x*a.x+c.j.x*a.y,c.i.y*a.x+c.j.y*a.y);a.x+=this.u.position.x;a.y+=this.u.position.y;return a};B.cq=function(a){return V.kc(this.u.m,a)};B.td=function(a){return V.hq(this.u,a)};B.bq=function(a){return V.Xg(this.u.m,a)};B.$x=function(a){return T.p(this.n.x-this.D*(a.y-this.k.q.y),this.n.y+this.D*(a.x-this.k.q.x))};B.Wc=u("$a");B.hd=function(a){if(this.ls!=a)for(this.ls=a,this.Nm=0,a||(this.n.ga(),this.D=0,this.wh.ga(),this.Jj=0),a=0;a<this.gp.length;a++)this.gp[a].Bu(this)};B.ud=u("ls");B.Oi=
u("Cm");B.$p=u("qk");B.ml=function(a){this.cj.ml(a)};B.Fl=function(a){this.cj.Fl(a)};B.Rh=u("Zd");B.zu=function(){var a=ic.qC;a.m.Set(this.k.cf);var c=a.m,b=this.k.N;a.position.x=this.k.$c.x-(c.i.x*b.x+c.j.x*b.y);a.position.y=this.k.$c.y-(c.i.y*b.x+c.j.y*b.y);c=this.Oa.Sd.Mk;for(b=this.qk.La();b;b=b.next)b.hf.yu(c,a,this.u)};B.Sb=function(){this.u.m.Set(this.k.I);var a=this.u.m,c=this.k.N;this.u.position.x=this.k.q.x-(a.i.x*c.x+a.j.x*c.y);this.u.position.y=this.k.q.y-(a.i.y*c.x+a.j.y*c.y)};B.Si=function(a){if(this.$a!=
X.Mc&&a.$a!=X.Mc)return!1;for(var c=this.Ob;c;c=c.next)if(c.Ue==a&&!1==c.ph.hw)return!1;return!0};B.Qh=function(a){this.k.Qh(a);this.k.q.F(this.k.$c);this.k.I=this.k.cf;this.Sb()};ic.iq=0;var X=function(){this.position=T.p(0,0);this.Yr=T.p(0,0);this.Vi=this.xj=this.Nu=this.M=0;this.Ru=this.Mu=!0;this.Zi=this.gr=!1;this.type=X.Ie;this.He=!0;this.Jv=1};X.Ie=0;X.Tu=1;X.Mc=2;var nd=function(){this.Xn=[];for(var a=0;a<=md;a++)this.Xn[a]=null;this.Yn=[];for(a=0;a<=md;a++)this.Yn[a]=null;this.fk={}};B=nd.prototype;
B.La=function(a){return this.Xn[a]};B.Xj=function(a){var c=a.Ed;null==this.fk[c]&&(this.cg(a,c,md),this.Bu(a),a.gp.push(this))};B.Bu=function(a){var c=a.Wc(),b=a.Ed,d=a.ud(),e=a.Oi();c==X.Mc?this.cg(a,b,od):this.gg(b,od);c!=X.Ie?this.cg(a,b,pd):this.gg(b,pd);c!=X.Ie&&e&&d?this.cg(a,b,qd):this.gg(b,qd);d?this.cg(a,b,rd):this.gg(b,rd);e?this.cg(a,b,sd):this.gg(b,sd)};B.El=function(a){var c=a.Ed;if(null!=this.fk[c]){ua(a.gp,this);for(a=0;a<=md;a++)this.gg(c,a);delete this.fk[c]}};B.gg=function(a,c){var b=
this.fk[a];if(null!=b){var d=b[c];null!=d&&(b[c]=null,b=d.vf,d=d.next,null==b?this.Xn[c]=d:b.Cf(d),null==d?this.Yn[c]=b:d.Df(b))}};B.cg=function(a,c,b){var d=this.fk[c];if(null==d){for(var d=[],e=0;e<=md;e++)d[e]=null;this.fk[c]=d}null==d[b]&&(d[b]=new td(a),a=this.Yn[b],null!=a?a.Cf(d[b]):this.Xn[b]=d[b],d[b].Df(a),this.Yn[b]=d[b])};var od=0,pd=1,sd=2,qd=3,rd=4,md=5,td=function(a){this.body=a;this.vf=this.next=null};td.prototype.Cf=ba("next");td.prototype.Df=ba("vf");td.prototype.Sa=u("body");var kc=
q();kc.prototype.Si=function(a,c){var b=a.Vt(),d=c.Vt();return b.ji==d.ji&&0!=b.ji?0<b.ji:0!=(b.Vk&d.ik)&&0!=(b.ik&d.Vk)};kc.nz=new kc;var ud=function(){this.QB=[];this.zC=[]},jc=q();jc.prototype.zn=q();var wd=function(a){this.Oa=a;this.ms=kc.nz;this.uh=jc.Su;this.iw=new vd;this.Mk=new Vc};wd.prototype.Ox=function(a,c){var b=a.Sa(),d=c.Sa();if(b!=d&&d.Si(b)&&this.ms.Si(a,c)){for(b=d.Zd.La(ld);b;b=b.next)if(d=b.Oc.Ub,d==a){if(d=b.Oc.Nb,d==c)return}else if(d==c&&(d=b.Oc.Nb,d==a))return;this.iw.Ye(a,
c)}};wd.prototype.Hn=function(){var a=this;this.Mk.Sy(function(c,b){a.Ox(c,b)})};wd.prototype.Qb=function(a){0<a.Se.nc&&(a.Ub.Sa().hd(!0),a.Nb.Sa().hd(!0));a.Hy();this.iw.Qb(a)};wd.prototype.Rx=function(){for(var a=this.Oa.Zd.La(ld);a;a=a.next){var c=a.Oc,b=c.Ub,d=c.Nb,e=b.Sa(),g=d.Sa();if(!1!=e.ud()||!1!=g.ud()){if(c.uo){if(!1==g.Si(e)){this.Qb(c);continue}if(!1==this.ms.Si(b,d)){this.Qb(c);continue}c.Qx()}!1==this.Mk.Ml(b.Fj,d.Fj)?this.Qb(c):c.Au(this.uh)}}};var xd=function(){this.ik=1;this.Vk=
65535;this.ji=0};xd.prototype.Ac=function(){var a=new xd;a.ik=this.ik;a.Vk=this.Vk;a.ji=this.ji;return a};var hc=function(a,c,b){this.Ed="Fixture"+hc.iq++;this.tB=b.filter.Ac();this.Aj=Kc();this.Em=a;this.Bh=b.shape.Ac();this.cp=b.If;this.qs=b.qg;this.Mm=b.Lg;this.ep=b.Hr};B=hc.prototype;B.Kc=u("Bh");B.Pi=u("ep");B.Vt=function(){return this.tB.Ac()};B.Sa=u("Em");B.Wt=function(a){a||(a=new Bc);this.Bh.pl(a,this.cp);return a};B.Qb=function(){Fc.push(this.Aj)};B.ql=function(a,c){this.Bh.Zj(this.Aj,c);
this.Fj=a.ql(this.Aj,this)};B.rl=function(a){null!=this.Fj&&(a.rl(this.Fj),this.Fj=null)};B.yu=function(a,c,b){if(this.Fj){var d=Kc(),e=Kc();this.Bh.Zj(d,c);this.Bh.Zj(e,b);this.Aj.Bn(d,e);Fc.push(d);Fc.push(e);c=V.Ab(b.position,c.position);a.gq(this.Fj,this.Aj,c);T.Vc(c)}};hc.iq=0;var nc=function(){this.filter=new xd;this.filter.ik=1;this.filter.Vk=65535;this.filter.ji=0;this.shape=null;this.qg=0.2;this.If=this.Lg=0;this.Hr=!1},kd=function(){this.ir=this.hr=null;this.vo={}};kd.prototype.La=u("hr");
kd.prototype.Mx=function(a){var c=a.Ed;if(null==this.vo[c]){a=new yd(a);var b=this.ir;null!=b?b.Cf(a):this.hr=a;a.Df(b);this.ir=a;this.vo[c]=a}};kd.prototype.Gy=function(a){a=a.Ed;var c=this.vo[a];if(null!=c){var b=c.vf,c=c.next;null==b?this.hr=c:b.Cf(c);null==c?this.ir=b:c.Df(b);delete this.vo[a]}};var yd=function(a){this.hf=a;this.vf=this.next=null};yd.prototype.Cf=ba("next");yd.prototype.Df=ba("vf");var zd=function(a,c){this.CB=a;this.Qf=c;this.wg=[];this.dp=[];this.qi=[];this.vh=[];this.yd=[]};
B=zd.prototype;B.An=function(){this.wg=[];this.dp=[];this.qi=[];this.vh=[];this.yd=[]};B.Uh=function(a,c,b){this.Xy(a,c);this.Qf.rc(a,this.vh,this.vh.length);this.cz(a);this.Zy(a);this.$y(a);this.pu(this.Qf.xg);b&&this.Yy(a)};B.Xy=function(a,c){for(var b=0;b<this.dp.length;b++){var d=this.dp[b];d.n.x+=a.Ga*(c.x+d.G*d.wh.x);d.n.y+=a.Ga*(c.y+d.G*d.wh.y);d.D+=a.Ga*d.R*d.Jj;d.n.Fd(V.Ib(1-a.Ga*d.BB,0,1));d.D*=V.Ib(1-a.Ga*d.pB,0,1)}};B.cz=function(a){this.Qf.Ze(a);for(var c=0;c<this.yd.length;c++)this.yd[c].Ze(a);
for(c=0;c<a.tn;c++){for(var b=0;b<this.yd.length;b++)this.yd[b].Ge(a);this.Qf.Ge()}for(a=0;a<this.yd.length;a++)this.yd[a].Yp();this.Qf.Yp()};B.Zy=function(a){for(var c=0;c<this.qi.length;++c){var b=this.qi[c],d=a.Ga*b.n.x,e=a.Ga*b.n.y;4<d*d+e*e&&(b.n.Gd(),b.n.x=2*b.n.x*a.mh,b.n.y=2*b.n.y*a.mh);d=a.Ga*b.D;d*d>tc&&(b.D=0>b.D?-sc*a.mh:sc*a.mh);b.k.$c.F(b.k.q);b.k.cf=b.k.I;b.k.q.x+=a.Ga*b.n.x;b.k.q.y+=a.Ga*b.n.y;b.k.I+=a.Ga*b.D;b.Sb()}};B.$y=function(a){for(var c=0;c<a.Zm;c++){for(var b=this.Qf.Fe(0.2),
d=!0,e=0;e<this.yd.length;e++)var g=this.yd[e].Fe(0.2),d=d&&g;if(b&&d)break}};B.Yy=function(a){for(var c=Number.MAX_VALUE,b=0;b<this.qi.length;b++){var d=this.qi[b];!d.ks||Math.abs(d.D)>uc||1E-4<V.Rb(d.n,d.n)?c=d.Nm=0:(d.Nm+=a.Ga,c=Math.min(c,d.Nm))}if(0.5<=c)for(a=0;a<this.wg.length;a++)this.wg[a].hd(!1)};B.tq=function(a){var c=0,b=0;this.Qf.rc(a,this.vh,this.vh.length);for(var d=this.Qf,c=0;c<this.yd.length;++c)this.yd[c].Ze(a);for(c=0;c<a.tn;++c)for(d.Ge(),b=0;b<this.yd.length;++b)this.yd[b].Ge(a);
for(c=0;c<this.qi.length;++c){var b=this.qi[c],e=a.Ga*b.n.x,g=a.Ga*b.n.y;4<e*e+g*g&&(b.n.Gd(),b.n.x=2*b.n.x*a.mh,b.n.y=2*b.n.y*a.mh);e=a.Ga*b.D;e*e>tc&&(b.D=0>b.D?-sc*a.mh:sc*a.mh);b.k.$c.F(b.k.q);b.k.cf=b.k.I;b.k.q.x+=a.Ga*b.n.x;b.k.q.y+=a.Ga*b.n.y;b.k.I+=a.Ga*b.D;b.Sb()}for(c=0;c<a.Zm;++c){e=d.Fe(0.75);g=!0;for(b=0;b<this.yd.length;++b)var f=this.yd[b].Fe(0.2),g=g&&f;if(e&&g)break}this.pu(d.xg)};B.pu=function(a){if(null!=this.CB)for(var c=0;c<this.vh.length;++c)for(var b=a[c],d=new ud,e=0;e<b.uf;++e)d.QB[e]=
b.qc[e].oc,d.zC[e]=b.qc[e].Pg};B.Xj=function(a){this.wg.push(a);a.Wc()!=X.Ie&&(this.qi.push(a),a.Wc()==X.Mc&&this.dp.push(a))};B.Yj=function(a){this.vh.push(a)};B.Nt=function(a){this.yd.push(a)};var Ad=function(a,c,b,d,e){this.Ga=a;var g=0;0<a&&(g=1/a);this.mh=g;this.Cc=c;this.Zm=b;this.tn=d;this.Ph=e},lc=function(a,c){this.Sd=new wd(this);this.Qf=new Bd;this.ws=!1;this.Zc=new nd;this.Zd=new id;this.Ob=null;this.cj=new jd;this.fp=0;this.rB=this.JB=!0;this.ks=c;this.jw=a;this.kw=0;this.xB=this.Wp(new X)};
lc.cy=1-100*Number.MIN_VALUE;B=lc.prototype;B.tu=function(a){this.Sd.ms=a};B.uu=function(a){this.Sd.uh=a};B.Wp=function(a){a=new ic(a,this);this.Zc.Xj(a);return a};B.Fn=function(a){for(var c=a.Ob;c;){var b=c,c=c.next;this.Gn(b.ph)}for(c=a.cj.La();c;c=c.next)c.cv.El(a);for(c=a.Zd.La(ld);c;c=c.next)this.Sd.Qb(c.Oc);for(c=a.$p().La();c;c=c.next)a.Rt(c.hf);a.Qb();this.Zc.El(a)};B.En=function(a){var c=Z.Ye(a);c.Pk=null;if(c.pi=this.Ob)this.Ob.Pk=c;this.Ob=c;this.fp++;c.Td.ph=c;c.Td.Ue=c.U;c.Td.prev=null;
if(c.Td.next=c.T.Ob)c.T.Ob.prev=c.Td;c.T.Ob=c.Td;c.Ud.ph=c;c.Ud.Ue=c.T;c.Ud.prev=null;if(c.Ud.next=c.U.Ob)c.U.Ob.prev=c.Ud;c.U.Ob=c.Ud;var b=a.J,d=a.L;if(!a.Nq)for(a=d.Zd.La(ld);a;a=a.next)a.Oc.Kn(d)==b&&a.Oc.Tt();return c};B.Gn=function(a){var c=a.hw;a.Pk&&(a.Pk.pi=a.pi);a.pi&&(a.pi.Pk=a.Pk);a==this.Ob&&(this.Ob=a.pi);var b=a.T,d=a.U;b.hd(!0);d.hd(!0);a.Td.prev&&(a.Td.prev.next=a.Td.next);a.Td.next&&(a.Td.next.prev=a.Td.prev);a.Td==b.Ob&&(b.Ob=a.Td.next);a.Td.prev=null;a.Td.next=null;a.Ud.prev&&
(a.Ud.prev.next=a.Ud.next);a.Ud.next&&(a.Ud.next.prev=a.Ud.prev);a.Ud==d.Ob&&(d.Ob=a.Ud.next);a.Ud.prev=null;a.Ud.next=null;this.fp--;if(!c)for(a=d.Zd.La(ld);a;a=a.next)a.Oc.Kn(d)==b&&a.Oc.Tt()};B.ml=function(a){if(null!==a.Oa&&a.Oa!=this)throw Error("Controller can only be a member of one world");this.cj.ml(a);a.Oa=this;return a};B.Fl=function(a){this.cj.Fl(a);a.Oa=null;a.An()};B.Yg=function(a,c,b){this.ws&&(this.Sd.Hn(),this.ws=!1);a=new Ad(a,this.kw*a,c,b,this.JB);this.Sd.Rx();0<a.Ga&&(this.Uh(a),
this.rB&&this.tq(a),this.kw=a.mh)};B.Qt=function(){for(var a=this.Zc.La(od);a;a=a.next)a.body.wh.ga(),a.body.Jj=0};B.Rh=u("Zd");var Cd=[];lc.prototype.Uh=function(a){for(var c=this.cj.La();c;c=c.next)c.cv.Yg(a);for(var c=new zd(this.Sd.uh,this.Qf),b=this.Zc.La(md);b;b=b.next)b.body.Fb=!1;for(var d=this.Zd.La(ld);d;d=d.next)d.Oc.Fb=!1;for(b=this.Ob;b;b=b.pi)b.Fb=!1;for(b=this.Zc.La(qd);b;b=b.next)if(d=b.body,!d.Fb){c.An();Cd.length=0;var e=Cd;e.push(d);for(d.Fb=!0;0<e.length;){var g=e.pop();c.Xj(g);
g.ud()||g.hd(!0);if(g.Wc()!=X.Ie){for(d=g.Zd.La(Dd);d;d=d.next){var f=d.Oc;f.Fb||(c.Yj(f),f.Fb=!0,f=f.Kn(g),f.Fb||(e.push(f),f.Fb=!0))}for(d=g.Ob;d;d=d.next)!d.ph.Fb&&d.Ue.Oi()&&(c.Nt(d.ph),d.ph.Fb=!0,d.Ue.Fb||(e.push(d.Ue),d.Ue.Fb=!0))}}c.Uh(a,this.jw,this.ks)}for(b=this.Zc.La(qd);b;b=b.next)b.body.zu();this.Sd.Hn()};lc.prototype.tq=function(a){for(var c=new zd(this.Sd.uh,this.Qf),b=this.Zc.La(md);b;b=b.next){var d=b.body;d.Fb=!1;d.k.Bd=0}for(var e=this.Zd.La(ld);e;e=e.next)e.Oc.Fb=!1,e.Oc.Tk=null;
for(b=this.Ob;b;b=b.pi)b.Fb=!1;for(;;){var b=this.az(),g=b.OB,b=b.PB;if(null===g||lc.cy<b)break;e=g.Ub.Sa();d=g.Nb.Sa();lc.Zw.Set(e.k);lc.$w.Set(d.k);e.Qh(b);d.Qh(b);g.Au(this.Sd.uh);g.Tk=null;if(g.Cp||!g.enabled)e.k.Set(lc.Zw),d.k.Set(lc.$w),e.Sb(),d.Sb();else if(g.pn){e.Wc()!=X.Mc&&(e=d);c.An();Cd.length=0;g=Cd;g.push(e);for(e.Fb=!0;0<g.length;)if(d=g.pop(),c.Xj(d),d.ud()||d.hd(!0),d.Wc()==X.Mc){for(e=d.Zd.La(Dd);e&&32!=c.qB;e=e.next){var f=e.Oc;f.Fb||(c.Yj(f),f.Fb=!0,f=f.Kn(d),f.Fb||(f.Wc()!=X.Ie&&
(f.Qh(b),f.hd(!0),g.push(f)),f.Fb=!0))}for(d=d.Ob;d;d=d.next)32!=c.fp&&!d.ph.Fb&&d.Ue.Oi()&&(c.Nt(d.ph),d.ph.Fb=!0,d.Ue.Fb||(d.Ue.Wc()!=X.Ie&&(d.Ue.Qh(b),d.Ue.hd(!0),g.push(d.Ue)),d.Ue.Fb=!0))}c.tq(new Ad((1-b)*a.Ga,0,a.tn,a.Zm,!1));for(b=0;b<c.wg.length;b++)if(c.wg[b].Fb=!1,c.wg[b].ud()&&c.wg[b].Wc()==X.Mc)for(c.wg[b].zu(),e=c.wg[b].Zd.La(ld);e;e=e.next)e.Oc.Tk=null;for(b=0;b<c.qB;b++)c.vh[b].Fb=!1,c.vh[b].Tk=null;for(b=0;b<c.fp;b++)c.yd[b].Fb=!1;this.Sd.Hn()}}};lc.prototype.az=function(){for(var a=
null,c=1,b=this.Zd.La(Ed);b;b=b.next){var d=b.Oc;if(!this.bz(d)){var e=1;if(null!=d.Tk)e=d.Tk;else{if(d.pn)e=1;else{var e=d.Ub.Sa(),g=d.Nb.Sa(),f=e.k.Bd;e.k.Bd<g.k.Bd?(f=g.k.Bd,e.k.Qh(f)):g.k.Bd<e.k.Bd&&(f=e.k.Bd,g.k.Qh(f));e=d.Ux(e.k,g.k);0<e&&1>e&&(e=(1-e)*f+e)}d.Tk=e}Number.MIN_VALUE<e&&e<c&&(a=d,c=e)}}return{OB:a,PB:c}};lc.prototype.bz=function(a){var c=a.Ub.Sa();a=a.Nb.Sa();return c.Wc()==X.Mc&&c.ud()||a.Wc()==X.Mc&&a.ud()?!1:!0};var Gd=function(a,c){this.Ed="Contact"+Fd++;this.Se=new $c;this.Km=
new $c;this.pn=!1;var b=a.Sa(),d=c.Sa();this.Oq=b.Wc()!=X.Mc||b.Nk||d.Wc()!=X.Mc||d.Nk;this.Cp=a.Pi()||c.Pi();this.uo=!1;this.Ub=a;this.Nb=c;this.enabled=!0;this.Vn=b.Rh();this.Wn=d.Rh();this.Up=d.Oa.Rh();this.Ot()};B=Gd.prototype;B.Yc=function(a,c){this.Se.Yc();this.Km.Yc();this.pn=!1;var b=a.Sa(),d=c.Sa();this.Oq=b.Wc()!=X.Mc||b.Nk||d.Wc()!=X.Mc||d.Nk;this.Cp=a.Pi()||c.Pi();this.uo=!1;this.Ub=a;this.Nb=c;this.enabled=!0;this.Vn=b.Rh();this.Wn=d.Rh();this.Up=d.Oa.Rh();this.Ot()};B.Ot=function(){this.Vn.Yj(this);
this.Wn.Yj(this);this.Up.Yj(this);this.Cu()};B.Cu=function(){var a=!1,c=!1;!this.Pi()&&this.dq()&&(this.fq()&&(a=!0),this.Oq&&(c=!0));this.Vn.xq(this,a,c);this.Wn.xq(this,a,c);this.Up.xq(this,a,c)};B.Hy=function(){this.Vn.oq(this);this.Wn.oq(this);this.Up.oq(this)};B.fq=u("pn");B.Pi=u("Cp");B.dq=u("enabled");B.Kn=function(a){var c=this.Ub.Sa();return c!=a?c:this.Nb.Sa()};B.Tt=function(){this.uo=!0};B.Qx=function(){this.uo=!1};B.Au=function(a){var c=this.Km;this.Km=this.Se;this.Se=c;this.enabled=!0;
var b=!1,c=this.fq(),d=this.Ub.Sa(),e=this.Nb.Sa(),g=this.Ub.Aj.Ml(this.Nb.Aj);if(this.Cp){if(g){var b=this.Ub.Kc(),d=d.ie(),g=this.Nb.Kc(),f=e.ie(),e=new Qc;e.Eh=new Sc;e.Eh.Set(b);e.Fh=new Sc;e.Fh.Set(g);e.Mp=d;e.Np=f;e.Gx=!0;d=new fd;d.count=0;b=new Rc;Pc(b,d,e);b=b.gh<10*Number.MIN_VALUE}this.Se.nc=0}else{this.Oq=d.Wc()!=X.Mc||d.Nk||e.Wc()!=X.Mc||e.Nk?!0:!1;if(g)for(this.dg(),b=0<this.Se.nc,g=0;g<this.Se.nc;g++){f=this.Se.ma[g];f.Ej=0;for(var h=f.Ij=0;h<this.Km.nc;h++){var k=this.Km.ma[h];if(k.qf.Hd==
f.qf.Hd){f.Ej=k.Ej;f.Ij=k.Ij;break}}}else this.Se.nc=0;b!=c&&(d.hd(!0),e.hd(!0))}this.pn=b;b!=c&&this.Cu();!c&&b&&a.zn(this)};B.dg=q();B.Ux=function(a,c){Hd.Eh.Set(this.Ub.Kc());Hd.Fh.Set(this.Nb.Kc());Hd.ox=a;Hd.qx=c;Hd.DC=0.005;var b=Hd;Id++;var d=b.Eh,e=b.Fh,g=b.ox,f=b.qx,h=d.Za+e.Za,b=b.DC,k=0,l=0,m=0;Jd.count=0;for(Kd.Gx=!1;;){g.ie(Ld,k);f.ie(Qd,k);Kd.Eh=d;Kd.Fh=e;Kd.Mp=Ld;Kd.Np=Qd;Pc(Rd,Jd,Kd);if(0>=Rd.gh){k=1;break}Sd.rc(Jd,d,Ld,e,Qd);var n=Sd.dg(Ld,Qd);if(0>=n){k=1;break}0==l&&(m=n>h?Math.max(h-
b,0.75*h):Math.max(n-b,0.02*h));if(n-m<0.5*b){if(0==l){k=1;break}break}var p=k,v=k,r=1;g.ie(Ld,r);f.ie(Qd,r);var s=Sd.dg(Ld,Qd);if(s>=m){k=1;break}for(var y=0;;){var G=0,G=y&1?v+(m-n)*(r-v)/(s-n):0.5*(v+r);g.ie(Ld,G);f.ie(Qd,G);var H=Sd.dg(Ld,Qd);if(Math.abs(H-m)<0.025*b){p=G;break}H>m?(v=G,n=H):(r=G,s=H);y++;Td++;if(50==y)break}Ud=Math.max(Ud,y);if(p<(1+100*Number.MIN_VALUE)*k)break;k=p;l++;Vd++;if(1E3==l)break}Wd=Math.max(Wd,l);return k};var Hd=new gd,Fd=0,Xd=function(a,c){Gd.call(this,a,c)};S(Xd,
Gd);Xd.prototype.Yc=function(a,c){Gd.prototype.Yc.call(this,a,c)};Xd.prototype.dg=function(){var a=this.Se,c=this.Ub.Kc(),b=this.Ub.Sa().u,d=this.Nb.Kc(),e=this.Nb.Sa().u;a.nc=0;var g=e.position.x+(e.m.i.x*d.mb.x+e.m.j.x*d.mb.y)-(b.position.x+(b.m.i.x*c.mb.x+b.m.j.x*c.mb.y)),b=e.position.y+(e.m.i.y*d.mb.x+e.m.j.y*d.mb.y)-(b.position.y+(b.m.i.y*c.mb.x+b.m.j.y*c.mb.y)),e=c.Za+d.Za;g*g+b*b>e*e||(a.$a=1,a.Aa.F(c.mb),a.dd.ga(),a.nc=1,a.ma[0].Aa.F(d.mb),a.ma[0].qf.Qi(0))};var Zd=function(){this.vg=T.p(0,
0);this.mc=T.p(0,0);this.zd=T.p(0,0);this.Dh=new U;this.je=new U;this.qc=[];for(var a=0;2>a;a++)this.qc[a]=new Yd},Yd=function(){this.mc=T.p(0,0);this.Yb=T.p(0,0);this.Zb=T.p(0,0)};Yd.prototype.Yc=function(){this.mc.Set(0,0);this.Yb.Set(0,0);this.Zb.Set(0,0)};var vd=function(){this.Sf={};this.xh={};this.nl(Xd,mc.Af,mc.Af);this.nl($d,Y.Af,mc.Af);this.nl(ae,Y.Af,Y.Af);this.nl(be,"b2EdgeShape",mc.Af);this.nl(ce,Y.Af,"b2EdgeShape")};vd.prototype.nl=function(a,c,b){this.xh[c]=this.xh[c]||{};this.xh[c][b]=
this.xh[c][b]||[];this.Sf[c]=this.Sf[c]||{};this.Sf[c][b]=new de;this.Sf[c][b].hv=a;this.Sf[c][b].Qw=!0;c!=b&&(this.Sf[b]=this.Sf[b]||{},this.Sf[b][c]=new de,this.Sf[b][c].hv=a,this.Sf[b][c].Qw=!1)};vd.prototype.Ye=function(a,c){var b=a.Kc().Ni(),d=c.Kc().Ni(),e=this.Sf[b][d],g=e.hv;return null!=g?e.Qw?0<this.xh[b][d].length?(b=this.xh[b][d].pop(),b.Yc(a,c),b):new g(a,c):0<this.xh[d][b].length?(b=this.xh[d][b].pop(),b.Yc(c,a),b):new g(c,a):null};vd.prototype.Qb=function(a){var c=a.Ub.Kc().Ni(),b=
a.Nb.Kc().Ni();this.xh[c][b].push(a)};var id=function(){this.co=[];for(var a=0;a<=ld;a++)this.co[a]=null;this.eo=[];for(a=0;a<=ld;a++)this.eo[a]=null;this.bj={}};B=id.prototype;B.La=function(a){return this.co[a]};B.Yj=function(a){var c=a.Ed;if(null==this.bj[c]){this.bj[c]=[];for(var b=0;b<=ld;b++)this.bj[c][b]=null;this.cg(a,c,ld)}};B.xq=function(a,c,b){c?this.cg(a,a.Ed,Dd):this.gg(a.Ed,Dd);b?this.cg(a,a.Ed,Ed):this.gg(a.Ed,Ed)};B.oq=function(a){a=a.Ed;if(null!=this.bj[a]){for(var c=0;c<=ld;c++)this.gg(a,
c);delete this.bj[a]}};B.gg=function(a,c){var b=this.bj[a];if(null!=b){var d=b[c];if(null!=d){b[c]=null;var b=d.vf,e=d.next;null==b?this.co[c]=e:b.Cf(e);null==e?this.eo[c]=b:e.Df(b);ee.push(d)}}};B.cg=function(a,c,b){c=this.bj[c];if(null==c[b]){if(0<ee.length){var d=ee.pop();d.next=null;d.vf=null;d.Oc=a;a=d}else a=new fe(a);c[b]=a;a=this.eo[b];null!=a?(a.Cf(c[b]),c[b].Df(a)):this.co[b]=c[b];this.eo[b]=c[b]}};var Dd=0,Ed=1,ld=2,fe=function(a){this.Oc=a;this.vf=this.next=null},ee=[];fe.prototype.Cf=
ba("next");fe.prototype.Df=ba("vf");var de=q(),ge=function(){this.Ba=T.p(0,0);this.kp=[];this.ma=[];for(var a=0;2>a;a++)this.ma[a]=T.p(0,0)};ge.prototype.rc=function(a){switch(a.type){case 1:this.Uy(a);break;case 2:this.Vy(a);break;case 4:this.Wy(a)}};ge.prototype.Uy=function(a){var c=a.J.u.m,b=a.mc,d=a.J.u.position.x+(c.i.x*b.x+c.j.x*b.y),e=a.J.u.position.y+(c.i.y*b.x+c.j.y*b.y),c=a.L.u.m,b=a.qc[0].mc,g=a.L.u.position.x+(c.i.x*b.x+c.j.x*b.y),c=a.L.u.position.y+(c.i.y*b.x+c.j.y*b.y),b=g-d,f=c-e,h=
b*b+f*f;h>vc?(h=Math.sqrt(h),this.Ba.x=b/h,this.Ba.y=f/h):(this.Ba.x=1,this.Ba.y=0);this.ma[0].x=0.5*(d+g);this.ma[0].y=0.5*(e+c);this.kp[0]=b*this.Ba.x+f*this.Ba.y-a.wp};ge.prototype.Vy=function(a){this.Ba.x=a.J.u.m.i.x*a.vg.x+a.J.u.m.j.x*a.vg.y;this.Ba.y=a.J.u.m.i.y*a.vg.x+a.J.u.m.j.y*a.vg.y;for(var c=a.J.u.position.x+(a.J.u.m.i.x*a.mc.x+a.J.u.m.j.x*a.mc.y),b=a.J.u.position.y+(a.J.u.m.i.y*a.mc.x+a.J.u.m.j.y*a.mc.y),d=0;d<a.uf;d++){var e=a.L.u.position.x+(a.L.u.m.i.x*a.qc[d].mc.x+a.L.u.m.j.x*a.qc[d].mc.y),
g=a.L.u.position.y+(a.L.u.m.i.y*a.qc[d].mc.x+a.L.u.m.j.y*a.qc[d].mc.y);this.kp[d]=(e-c)*this.Ba.x+(g-b)*this.Ba.y-a.wp;this.ma[d].x=e;this.ma[d].y=g}};ge.prototype.Wy=function(a){this.Ba.x=a.L.u.m.i.x*a.vg.x+a.L.u.m.j.x*a.vg.y;this.Ba.y=a.L.u.m.i.y*a.vg.x+a.L.u.m.j.y*a.vg.y;for(var c=a.L.u.position.x+(a.L.u.m.i.x*a.mc.x+a.L.u.m.j.x*a.mc.y),b=a.L.u.position.y+(a.L.u.m.i.y*a.mc.x+a.L.u.m.j.y*a.mc.y),d=0;d<a.uf;d++){var e=a.J.u.position.x+(a.J.u.m.i.x*a.qc[d].mc.x+a.J.u.m.j.x*a.qc[d].mc.y),g=a.J.u.position.y+
(a.J.u.m.i.y*a.qc[d].mc.x+a.J.u.m.j.y*a.qc[d].mc.y);this.kp[d]=(e-c)*this.Ba.x+(g-b)*this.Ba.y-a.wp;this.ma[d].Set(e,g)}this.Ba.x*=-1;this.Ba.y*=-1};var Bd=function(){this.xg=[]};B=Bd.prototype;B.rc=function(a,c,b){for(this.Fm=b;this.xg.length<this.Fm;)this.xg[this.xg.length]=new Zd;for(a=0;a<b;a++){var d=c[a],e=d.Ub,g=d.Nb,f=e.Bh.Za,h=g.Bh.Za,k=e.Sa(),l=g.Sa(),m=d.Se,n=Math.sqrt(e.qs*g.qs),p=e.Mm>g.Mm?e.Mm:g.Mm,v=k.n.x,r=k.n.y,s=l.n.x,y=l.n.y,G=k.D,H=l.D;he.rc(m,k.u,f,l.u,h);g=he.Ba.x;d=he.Ba.y;
e=this.xg[a];e.J=k;e.L=l;e.KB=m;e.zd.x=g;e.zd.y=d;e.uf=m.nc;e.qg=n;e.Lg=p;e.vg.x=m.dd.x;e.vg.y=m.dd.y;e.mc.x=m.Aa.x;e.mc.y=m.Aa.y;e.wp=f+h;e.type=m.$a;for(f=0;f<e.uf;++f){n=m.ma[f];h=e.qc[f];h.oc=n.Ej;h.Pg=n.Ij;h.mc.F(n.Aa);var n=h.Yb.x=he.ma[f].x-k.k.q.x,p=h.Yb.y=he.ma[f].y-k.k.q.y,L=h.Zb.x=he.ma[f].x-l.k.q.x,z=h.Zb.y=he.ma[f].y-l.k.q.y,F=n*d-p*g,C=L*d-z*g,F=F*F,C=C*C;h.Dh=1/(k.G+l.G+k.R*F+l.R*C);var A=k.P*k.G+l.P*l.G,A=A+(k.P*k.R*F+l.P*l.R*C);h.Xz=1/A;C=d;A=-g;F=n*A-p*C;C=L*A-z*C;F*=F;C*=C;h.AC=
1/(k.G+l.G+k.R*F+l.R*C);h.sn=0;n=e.zd.x*(s+-H*z-v- -G*p)+e.zd.y*(y+H*L-r-G*n);-1>n&&(h.sn+=-e.Lg*n)}2==e.uf&&(y=e.qc[0],s=e.qc[1],m=k.G,k=k.R,v=l.G,l=l.R,r=y.Yb.x*d-y.Yb.y*g,y=y.Zb.x*d-y.Zb.y*g,G=s.Yb.x*d-s.Yb.y*g,s=s.Zb.x*d-s.Zb.y*g,g=m+v+k*r*r+l*y*y,d=m+v+k*G*G+l*s*s,l=m+v+k*r*G+l*y*s,g*g<100*(g*d-l*l)?(e.je.i.Set(g,l),e.je.j.Set(l,d),e.je.aq(e.Dh)):e.uf=1)}};B.Ze=function(a){for(var c=0;c<this.Fm;++c){var b=this.xg[c],d=b.J,e=b.L,g=d.G,f=d.R,h=e.G,k=e.R,l=b.zd.x,m=b.zd.y,n=m,p=-l,v=0,r=0;if(a.Ph)for(r=
b.uf,v=0;v<r;++v){var s=b.qc[v];s.oc*=a.Cc;s.Pg*=a.Cc;var y=s.oc*l+s.Pg*n,G=s.oc*m+s.Pg*p;d.D-=f*(s.Yb.x*G-s.Yb.y*y);d.n.x-=g*y;d.n.y-=g*G;e.D+=k*(s.Zb.x*G-s.Zb.y*y);e.n.x+=h*y;e.n.y+=h*G}else for(r=b.uf,v=0;v<r;++v)d=b.qc[v],d.oc=0,d.Pg=0}};B.Ge=function(){for(var a=0;a<this.Fm;a++)this.Ny(this.xg[a])};B.Ny=function(a){for(var c=a.zd.x,b=a.zd.y,d=0;d<a.uf;d++)Bd.prototype.Oy(a,a.qc[d]);if(1==a.uf){var d=a.qc[0],e=d.oc-d.Dh*((a.L.n.x-a.L.D*d.Zb.y-a.J.n.x+a.J.D*d.Yb.y)*c+(a.L.n.y+a.L.D*d.Zb.x-a.J.n.y-
a.J.D*d.Yb.x)*b-d.sn),e=0<e?e:0,g=e-d.oc,f=g*c,b=g*b;a.J.n.x-=a.J.G*f;a.J.n.y-=a.J.G*b;a.J.D-=a.J.R*(d.Yb.x*b-d.Yb.y*f);a.L.n.x+=a.L.G*f;a.L.n.y+=a.L.G*b;a.L.D+=a.L.R*(d.Zb.x*b-d.Zb.y*f);d.oc=e}else for(var d=a.qc[0],e=a.qc[1],g=d.oc,f=e.oc,h=(a.L.n.x-a.L.D*d.Zb.y-a.J.n.x+a.J.D*d.Yb.y)*c+(a.L.n.y+a.L.D*d.Zb.x-a.J.n.y-a.J.D*d.Yb.x)*b-d.sn,b=(a.L.n.x-a.L.D*e.Zb.y-a.J.n.x+a.J.D*e.Yb.y)*c+(a.L.n.y+a.L.D*e.Zb.x-a.J.n.y-a.J.D*e.Yb.x)*b-e.sn,h=h-(a.je.i.x*g+a.je.j.x*f),b=b-(a.je.i.y*g+a.je.j.y*f);;){c=-(a.Dh.i.x*
h+a.Dh.j.x*b);if(0<=c){var k=-(a.Dh.i.y*h+a.Dh.j.y*b);if(0<=k){this.Rn(a,d,e,c-g,k-f);d.oc=c;e.oc=k;break}}c=-d.Dh*h;if(0<=c&&0<=a.je.i.y*c+b){this.Rn(a,d,e,c-g,-f);d.oc=c;e.oc=0;break}c=-e.Dh*b;if(0<=c&&0<=a.je.j.x*c+h){this.Rn(a,d,e,-g,c-f);d.oc=0;e.oc=c;break}if(0<=h&&0<=b){this.Rn(a,d,e,-g,-f);d.oc=0;e.oc=0;break}break}};B.Oy=function(a,c){var b=a.zd.y,d=-a.zd.x,e=a.qg*c.oc,e=V.Ib(c.Pg-c.AC*((a.L.n.x-a.L.D*c.Zb.y-a.J.n.x+a.J.D*c.Yb.y)*b+(a.L.n.y+a.L.D*c.Zb.x-a.J.n.y-a.J.D*c.Yb.x)*d),-e,e),g=e-
c.Pg,b=g*b,d=g*d;a.J.n.x-=a.J.G*b;a.J.n.y-=a.J.G*d;a.J.D-=a.J.R*(c.Yb.x*d-c.Yb.y*b);a.L.n.x+=a.L.G*b;a.L.n.y+=a.L.G*d;a.L.D+=a.L.R*(c.Zb.x*d-c.Zb.y*b);c.Pg=e};B.Rn=function(a,c,b,d,e){var g=d*a.zd.x;d*=a.zd.y;var f=e*a.zd.x;e*=a.zd.y;a.J.n.x-=a.J.G*(g+f);a.J.n.y-=a.J.G*(d+e);a.J.D-=a.J.R*(c.Yb.x*d-c.Yb.y*g+b.Yb.x*e-b.Yb.y*f);a.L.n.x+=a.L.G*(g+f);a.L.n.y+=a.L.G*(d+e);a.L.D+=a.L.R*(c.Zb.x*d-c.Zb.y*g+b.Zb.x*e-b.Zb.y*f);c.oc=0;b.oc=0};B.Yp=function(){for(var a=0;a<this.Fm;++a)for(var c=this.xg[a],b=c.KB,
d=0;d<c.uf;++d){var e=b.ma[d],g=c.qc[d];e.Ej=g.oc;e.Ij=g.Pg}};B.Fe=function(a){void 0===a&&(a=0);for(var c=0,b=0;b<this.Fm;b++){var d=this.xg[b],e=d.J,g=d.L,f=e.P*e.G,h=e.P*e.R,k=g.P*g.G,l=g.P*g.R;ie.rc(d);for(var m=ie.Ba,n=0;n<d.uf;n++){var p=d.qc[n],v=ie.ma[n],r=ie.kp[n],s=v.x-e.k.q.x,y=v.y-e.k.q.y,G=v.x-g.k.q.x,v=v.y-g.k.q.y,c=c<r?c:r,r=-p.Xz*V.Ib(a*(r+0.005),-0.2,0),p=r*m.x,r=r*m.y;e.k.q.x-=f*p;e.k.q.y-=f*r;e.k.I-=h*(s*r-y*p);e.Sb();g.k.q.x+=k*p;g.k.q.y+=k*r;g.k.I+=l*(G*r-v*p);g.Sb()}}return-0.0075<
c};var be=function(a,c){Gd.call(this,a,c)};S(be,Gd);be.prototype.Yc=function(a,c){Gd.prototype.Yc.call(this,a,c)};be.prototype.dg=function(){this.Ub.Kc();this.Nb.Kc()};var $d=function(a,c){Gd.call(this,a,c)};S($d,Gd);$d.prototype.Yc=function(a,c){Gd.prototype.Yc.call(this,a,c)};$d.prototype.dg=function(){a:{var a=this.Se,c=this.Ub.Kc(),b=this.Ub.Sa().u,d=this.Nb.Kc(),e=this.Nb.Sa().u;a.nc=0;for(var g=e.position.x+(e.m.i.x*d.mb.x+e.m.j.x*d.mb.y)-b.position.x,f=e.position.y+(e.m.i.y*d.mb.x+e.m.j.y*
d.mb.y)-b.position.y,e=g*b.m.i.x+f*b.m.i.y,b=g*b.m.j.x+f*b.m.j.y,g=0,f=-Number.MAX_VALUE,h=c.Za+d.Za,k=0;k<c.Na;++k){var l=c.Ca[k].x*(e-c.H[k].x)+c.Ca[k].y*(b-c.H[k].y);if(l>h)break a;l>f&&(f=l,g=k)}l=g+1;l>=c.Na&&(l=0);var k=c.H[g],m=c.H[l];f<Number.MIN_VALUE?(a.nc=1,a.$a=2,a.dd.F(c.Ca[g]),a.Aa.x=0.5*(k.x+m.x),a.Aa.y=0.5*(k.y+m.y),a.ma[0].Aa.F(d.mb),a.ma[0].qf.Qi(0)):0>=(e-k.x)*(m.x-k.x)+(b-k.y)*(m.y-k.y)?(e-k.x)*(e-k.x)+(b-k.y)*(b-k.y)>h*h||(a.nc=1,a.$a=2,a.dd.x=e-k.x,a.dd.y=b-k.y,a.dd.Gd(),a.Aa.F(k),
a.ma[0].Aa.F(d.mb),a.ma[0].qf.Qi(0)):0>=(e-m.x)*(k.x-m.x)+(b-m.y)*(k.y-m.y)?(e-m.x)*(e-m.x)+(b-m.y)*(b-m.y)>h*h||(a.nc=1,a.$a=2,a.dd.x=e-m.x,a.dd.y=b-m.y,a.dd.Gd(),a.Aa.F(m),a.ma[0].Aa.F(d.mb),a.ma[0].qf.Qi(0)):(l=0.5*(k.x+m.x),k=0.5*(k.y+m.y),f=(e-l)*c.Ca[g].x+(b-k)*c.Ca[g].y,f>h||(a.nc=1,a.$a=2,a.dd.x=c.Ca[g].x,a.dd.y=c.Ca[g].y,a.dd.Gd(),a.Aa.Set(l,k),a.ma[0].Aa.F(d.mb),a.ma[0].qf.Qi(0)))}};var ce=function(a,c){Gd.call(this,a,c)};S(ce,Gd);ce.prototype.Yc=function(a,c){Gd.prototype.Yc.call(this,
a,c)};ce.prototype.dg=function(){this.Ub.Kc();this.Nb.Kc()};var ae=function(a,c){Gd.call(this,a,c)};S(ae,Gd);ae.prototype.Yc=function(a,c){Gd.prototype.Yc.call(this,a,c)};ae.prototype.dg=function(){var a=this.Se,c=this.Ub.Kc(),b=this.Ub.Sa().u,d=this.Nb.Kc(),e=this.Nb.Sa().u;a.nc=0;var g=c.Za+d.Za,f=Nc(c,b,d,e),h=f.Uu;if(!(f.Dp>g)){var k=Nc(d,e,c,b);if(!(k.Dp>g)){var l=c,m=d,n=b,p=e,v=0;a.$a=2;k.Dp>0.98*f.Dp+0.001&&(l=d,m=c,n=e,p=b,h=k.Uu,a.$a=4,v=1);c=h;b=p;d=je;void 0===c&&(c=0);for(var e=n.m.i.x*
l.Ca[c].x+n.m.j.x*l.Ca[c].y,f=n.m.i.y*l.Ca[c].x+n.m.j.y*l.Ca[c].y,k=b.m.i.x*e+b.m.i.y*f,f=b.m.j.x*e+b.m.j.y*f,e=k,k=0,r=Number.MAX_VALUE,s=0;s<m.Na;s++){var y=e*m.Ca[s].x+f*m.Ca[s].y;y<r&&(r=y,k=s)}e=k+1;e>=m.Na&&(e=0);d[0].xb.x=b.position.x+(b.m.i.x*m.H[k].x+b.m.j.x*m.H[k].y);d[0].xb.y=b.position.y+(b.m.i.y*m.H[k].x+b.m.j.y*m.H[k].y);d[0].id.xu(c);d[0].id.vu(k);d[0].id.wu(0);d[1].xb.x=b.position.x+(b.m.i.x*m.H[e].x+b.m.j.x*m.H[e].y);d[1].xb.y=b.position.y+(b.m.i.y*m.H[e].x+b.m.j.y*m.H[e].y);d[1].id.xu(c);
d[1].id.vu(e);d[1].id.wu(1);c=l.H[h];h=h+1<l.Na?l.H[h+1]:l.H[0];ke.Set(h.x-c.x,h.y-c.y);ke.Gd();le.x=ke.y;le.y=-ke.x;me.Set(0.5*(c.x+h.x),0.5*(c.y+h.y));ne.x=n.m.i.x*ke.x+n.m.j.x*ke.y;ne.y=n.m.i.y*ke.x+n.m.j.y*ke.y;oe.x=-ne.x;oe.y=-ne.y;pe.x=ne.y;pe.y=-ne.x;qe.x=n.position.x+(n.m.i.x*c.x+n.m.j.x*c.y);qe.y=n.position.y+(n.m.i.y*c.x+n.m.j.y*c.y);re.x=n.position.x+(n.m.i.x*h.x+n.m.j.x*h.y);re.y=n.position.y+(n.m.i.y*h.x+n.m.j.y*h.y);if(!(2>Lc(se,je,oe,-ne.x*qe.x-ne.y*qe.y+g)||2>Lc(te,se,ne,ne.x*re.x+
ne.y*re.y+g))){a.dd.F(le);a.Aa.F(me);n=pe.x*qe.x+pe.y*qe.y;for(l=h=0;2>l;++l)pe.x*te[l].xb.x+pe.y*te[l].xb.y-n<=g&&(c=te[l].xb.x-p.position.x,m=te[l].xb.y-p.position.y,a.ma[h].Aa.x=c*p.m.i.x+m*p.m.i.y,a.ma[h].Aa.y=c*p.m.j.x+m*p.m.j.y,a.ma[h].qf.Set(te[l].id),a.ma[h].qf.Jy(v),h++);a.nc=h}}}};var ve=function(){this.Ed="Controller"+ue++;this.Oa=null;this.Zc=new nd};ve.prototype.Yg=q();ve.prototype.Xj=function(a){this.Zc.Xj(a);a.ml(this)};ve.prototype.El=function(a){this.Zc.El(a);a.Fl(this)};ve.prototype.An=
function(){for(var a=this.Zc.La(md);a;a=a.next)this.El(a.body)};var ue=0,we=function(){ve.call(this);this.zd=T.p(0,-1);this.If=this.offset=0;this.Ix=T.p(0,0);this.mB=2;this.kz=1;this.JC=!0;this.Dv=null};S(we,ve);we.prototype.Yg=function(){this.JC&&(this.Dv=this.Oa.jw.Ac());for(var a=this.Zc.La(rd);a;a=a.next){for(var c=a.body,b=T.p(0,0),d=T.p(0,0),e=0,g=0,f=c.$p().La();f;f=f.next){var h=T.p(0,0),k=f.hf.Kc().Cn(this.zd,this.offset,c.ie(),h),e=e+k;b.x+=k*h.x;b.y+=k*h.y;var l=0,l=1,g=g+k*l;d.x+=k*h.x*
l;d.y+=k*h.y*l}e<Number.MIN_VALUE||(b.x/=e,b.y/=e,d.x/=g,d.y/=g,g=this.Dv.Sh(),g.Fd(this.If*e),c.bg(g,d),g=c.$x(b),g.vq(this.Ix),g.Fd(-this.mB*e),c.bg(g,b),c.yn(-c.of/c.P*e*c.In()*this.kz),T.Vc(b),T.Vc(d))}};var xe=function(){ve.call(this);this.Mt=T.p(0,0)};S(xe,ve);xe.prototype.Yg=function(a){a=T.p(this.Mt.x*a.Ga,this.Mt.y*a.Ga);for(var c=this.Zc.La(rd);c;c=c.next){var b=c.body,d=b.Li();b.Ri(T.p(d.x+a.x,d.y+a.y))}T.Vc(a)};var ye=function(){ve.call(this);this.Xx=T.p(0,0)};S(ye,ve);ye.prototype.Yg=
function(){for(var a=this.Zc.La(rd);a;a=a.next){var c=a.body;c.bg(this.Xx,c.ak())}};var jd=function(){this.Qq=this.Pq=null;this.fo={}};jd.prototype.La=u("Pq");jd.prototype.ml=function(a){var c=a.Ed;if(null==this.fo[c]){a=new ze(a);var b=this.Qq;null!=b?b.Cf(a):this.Pq=a;a.Df(b);this.Qq=a;this.fo[c]=a}};jd.prototype.Fl=function(a){a=a.Ed;var c=this.fo[a];if(null!=c){var b=c.vf,c=c.next;null==b?this.Pq=c:b.Cf(c);null==c?this.Qq=b:c.Df(b);delete this.fo[a]}};var ze=function(a){this.cv=a;this.vf=this.next=
null};ze.prototype.Cf=ba("next");ze.prototype.Df=ba("vf");var Ae=function(){ve.call(this);this.Ut=1;this.dB=!0};S(Ae,ve);Ae.prototype.Yg=function(){var a=null,c=null,b=0,d=null,e=null,g=0,f=0,h=0,g=null;if(this.dB)for(var k=this.Zc.La(md);k;k=k.next)for(var a=k.body,c=a.ak(),b=a.P,l=this.Zc.La(md);l;l=l.next){if(d=l.body,a.ud()||d.ud())e=d.ak(),g=e.x-c.x,f=e.y-c.y,h=g*g+f*f,h<Number.MIN_VALUE||(g=T.p(g,f),g.Fd(this.Ut/h/Math.sqrt(h)*b*d.P),a.ud()&&a.bg(g,c),g.Fd(-1),d.ud()&&d.bg(g,e),T.Vc(g))}else for(k=
this.Zc.La(md);k;k=k.next)for(a=bodyNode.body,c=a.ak(),b=a.P,l=this.Zc.La(md);l;l=l.next)if(d=bodyNode.body,a.ud()||d.ud())e=d.ak(),g=e.x-c.x,f=e.y-c.y,h=g*g+f*f,h<Number.MIN_VALUE||(g=T.p(g,f),g.Fd(this.Ut/h*b*d.P),a.ud()&&a.bg(g,c),g.Fd(-1),d.ud()&&d.bg(g,e),T.Vc(g))};var Be=function(){ve.call(this);this.Qy=new U;this.Bs=0};S(Be,ve);Be.prototype.Yg=function(a){a=a.Ga;if(!(a<=Number.MIN_VALUE)){a>this.Bs&&0<this.Bs&&(a=this.Bs);for(var c=this.Zc.La(rd);c;c=c.next){var b=c.body,d=b.cq(V.kc(this.Qy,
b.bq(b.Li())));b.Ri(T.p(b.Li().x+d.x*a,b.Li().y+d.y*a))}}};var Z=function(a){this.Td=new Ce;this.Ud=new Ce;this.Ag=T.p(0,0);this.Bg=T.p(0,0);this.$a=a.type;this.pi=this.Pk=null;this.T=a.J;this.U=a.L;this.hw=a.Nq};Z.prototype.Wc=u("$a");Z.prototype.tl=u("T");Z.prototype.Zp=u("U");Z.prototype.Oi=function(){return this.T.Oi()&&this.U.Oi()};Z.Ye=function(a){return a.Ye()};Z.prototype.Ze=q();Z.prototype.Ge=q();Z.prototype.Yp=q();Z.prototype.Fe=w(!1);Z.Sz=0;Z.lk=1;Z.Qz=2;Z.Zq=3;Z.Rz=4;Z.eE=5;Z.Oz=6;Z.Pz=
7;Z.Tz=8;Z.Nz=9;Z.Jd=0;Z.mg=1;Z.bd=2;Z.fi=3;var De=function(){this.type=Z.Sz;this.L=this.J=null;this.Nq=!1},Ce=q(),Ee=function(a){Z.call(this,a);this.ba=T.p(0,0);this.ca=T.p(0,0);this.Fc=T.p(0,0);this.ba.F(a.Db);this.ca.F(a.Eb);this.rs=a.length;this.os=a.yo;this.sB=a.ko;this.gw=this.Dj=this.A=0};S(Ee,Z);Ee.prototype.Ze=function(a){var c,b=0,d=this.T,e=this.U;c=d.u.m;var g=this.ba.x-d.k.N.x,f=this.ba.y-d.k.N.y,b=c.i.x*g+c.j.x*f,f=c.i.y*g+c.j.y*f,g=b;c=e.u.m;var h=this.ca.x-e.k.N.x,k=this.ca.y-e.k.N.y,
b=c.i.x*h+c.j.x*k,k=c.i.y*h+c.j.y*k,h=b;this.Fc.x=e.k.q.x+h-d.k.q.x-g;this.Fc.y=e.k.q.y+k-d.k.q.y-f;b=Math.sqrt(this.Fc.x*this.Fc.x+this.Fc.y*this.Fc.y);0.005<b?this.Fc.Fd(1/b):this.Fc.ga();c=g*this.Fc.y-f*this.Fc.x;var l=h*this.Fc.y-k*this.Fc.x;c=d.G+d.R*c*c+e.G+e.R*l*l;this.P=0!=c?1/c:0;if(0<this.os){var b=b-this.rs,l=2*Math.PI*this.os,m=this.P*l*l;this.Dj=a.Ga*(2*this.P*this.sB*l+a.Ga*m);this.Dj=0!=this.Dj?1/this.Dj:0;this.gw=b*a.Ga*m*this.Dj;this.P=c+this.Dj;this.P=0!=this.P?1/this.P:0}a.Ph?(this.A*=
a.Cc,a=this.A*this.Fc.x,c=this.A*this.Fc.y,d.n.x-=d.G*a,d.n.y-=d.G*c,d.D-=d.R*(g*c-f*a),e.n.x+=e.G*a,e.n.y+=e.G*c,e.D+=e.R*(h*c-k*a)):this.A=0};Ee.prototype.Ge=function(){var a=this.ba.x-this.T.k.N.x,c=this.ba.y-this.T.k.N.y,b=this.T.u.m.i.x*a+this.T.u.m.j.x*c,c=this.T.u.m.i.y*a+this.T.u.m.j.y*c,a=b,d=this.ca.x-this.U.k.N.x,e=this.ca.y-this.U.k.N.y,b=this.U.u.m.i.x*d+this.U.u.m.j.x*e,e=this.U.u.m.i.y*d+this.U.u.m.j.y*e,d=b,g=-this.P*(this.Fc.x*(this.U.n.x-this.U.D*e-(this.T.n.x-this.T.D*c))+this.Fc.y*
(this.U.n.y+this.U.D*d-(this.T.n.y+this.T.D*a))+this.gw+this.Dj*this.A);this.A+=g;b=g*this.Fc.x;g*=this.Fc.y;this.T.n.x-=this.T.G*b;this.T.n.y-=this.T.G*g;this.T.D-=this.T.R*(a*g-c*b);this.U.n.x+=this.U.G*b;this.U.n.y+=this.U.G*g;this.U.D+=this.U.R*(d*g-e*b)};Ee.prototype.Fe=function(){if(0<this.os)return!0;var a=this.ba.x-this.T.k.N.x,c=this.ba.y-this.T.k.N.y,b=this.T.u.m.i.x*a+this.T.u.m.j.x*c,c=this.T.u.m.i.y*a+this.T.u.m.j.y*c,a=b,d=this.ca.x-this.U.k.N.x,e=this.ca.y-this.U.k.N.y,b=this.U.u.m.i.x*
d+this.U.u.m.j.x*e,e=this.U.u.m.i.y*d+this.U.u.m.j.y*e,d=b,g=this.U.k.q.x+d-this.T.k.q.x-a,f=this.U.k.q.y+e-this.T.k.q.y-c,h=Math.sqrt(g*g+f*f),b=V.Ib(h-this.rs,-0.2,0.2),k=-this.P*b;this.Fc.Set(g/h,f/h);g=k*this.Fc.x;k*=this.Fc.y;this.T.k.q.x-=this.T.G*g;this.T.k.q.y-=this.T.G*k;this.T.k.I-=this.T.R*(a*k-c*g);this.U.k.q.x+=this.U.G*g;this.U.k.q.y+=this.U.G*k;this.U.k.I+=this.U.R*(d*k-e*g);this.T.Sb();this.U.Sb();return 0.005>Math.abs(b)};var oc=function(){De.call(this);this.Db=T.p(0,0);this.Eb=T.p(0,
0);this.type=Z.Zq;this.length=1;this.ko=this.yo=0};S(oc,De);oc.prototype.rc=function(a,c,b,d){this.J=a;this.L=c;this.Db.F(this.J.td(b));this.Eb.F(this.L.td(d));a=d.x-b.x;b=d.y-b.y;this.length=Math.sqrt(a*a+b*b);this.ko=this.yo=0};oc.prototype.Ye=function(){return new Ee(this)};var Fe=function(a){Z.call(this,a);this.Pe=T.p(0,0);this.Qe=T.p(0,0);this.us=new U;this.Oe=T.p(0,0);this.Pe.F(a.Db);this.Qe.F(a.Eb);this.us.ga();this.Dm=0;this.Oe.ga();this.sh=0;this.DB=a.LB;this.GB=a.MB};S(Fe,Z);Fe.prototype.Ze=
function(a){var c,b=0,d=this.T,e=this.U;c=d.u.m;var g=this.Pe.x-d.k.N.x,f=this.Pe.y-d.k.N.y,b=c.i.x*g+c.j.x*f,f=c.i.y*g+c.j.y*f,g=b;c=e.u.m;var h=this.Qe.x-e.k.N.x,k=this.Qe.y-e.k.N.y,b=c.i.x*h+c.j.x*k,k=c.i.y*h+c.j.y*k,h=b;c=d.G;var b=e.G,l=d.R,m=e.R,n=new U;n.i.x=c+b;n.j.x=0;n.i.y=0;n.j.y=c+b;n.i.x+=l*f*f;n.j.x+=-l*g*f;n.i.y+=-l*g*f;n.j.y+=l*g*g;n.i.x+=m*k*k;n.j.x+=-m*h*k;n.i.y+=-m*h*k;n.j.y+=m*h*h;n.aq(this.us);this.Dm=l+m;0<this.Dm&&(this.Dm=1/this.Dm);a.Ph?(this.Oe.x*=a.Cc,this.Oe.y*=a.Cc,this.sh*=
a.Cc,a=this.Oe,d.n.x-=c*a.x,d.n.y-=c*a.y,d.D-=l*(g*a.y-f*a.x+this.sh),e.n.x+=b*a.x,e.n.y+=b*a.y,e.D+=m*(h*a.y-k*a.x+this.sh)):(this.Oe.ga(),this.sh=0)};Fe.prototype.Ge=function(a){var c,b=0,d=this.T,e=this.U,g=d.n,f=d.D,h=e.n,k=e.D,l=d.G,m=e.G,n=d.R,p=e.R;c=d.u.m;var v=this.Pe.x-d.k.N.x,r=this.Pe.y-d.k.N.y,b=c.i.x*v+c.j.x*r,r=c.i.y*v+c.j.y*r,v=b;c=e.u.m;var s=this.Qe.x-e.k.N.x,y=this.Qe.y-e.k.N.y,b=c.i.x*s+c.j.x*y,y=c.i.y*s+c.j.y*y,s=b;c=0;var b=-this.Dm*(k-f),G=this.sh;c=a.Ga*this.GB;this.sh=V.Ib(this.sh+
b,-c,c);b=this.sh-G;f-=n*b;k+=p*b;c=V.kc(this.us,T.p(-(h.x-k*y-g.x+f*r),-(h.y+k*s-g.y-f*v)));b=this.Oe.Ac();this.Oe.Vg(c);c=a.Ga*this.DB;this.Oe.On()>c*c&&(this.Oe.Gd(),this.Oe.Fd(c));c=V.Ab(this.Oe,b);g.x-=l*c.x;g.y-=l*c.y;f-=n*(v*c.y-r*c.x);h.x+=m*c.x;h.y+=m*c.y;k+=p*(s*c.y-y*c.x);d.D=f;e.D=k};Fe.prototype.Fe=w(!0);var Ge=function(){De.call(this);this.Db=T.p(0,0);this.Eb=T.p(0,0);this.type=Z.Nz;this.MB=this.LB=0};S(Ge,De);Ge.prototype.rc=function(a,c,b){this.J=a;this.L=c;this.Db.F(this.J.td(b));
this.Eb.F(this.L.td(b))};Ge.prototype.Ye=function(){return new Fe(this)};var Ie=function(a){Z.call(this,a);this.yh=T.p(0,0);this.zh=T.p(0,0);this.ba=T.p(0,0);this.ca=T.p(0,0);this.Mb=new He;var c=a.Bk.$a,b=a.Ck.$a;this.Rk=this.Hj=this.Qk=this.Gj=null;var d=0,e=0;this.vB=a.Bk.tl();this.T=a.Bk.Zp();c==Z.lk?(this.Gj=a.Bk,this.yh.F(this.Gj.ba),this.ba.F(this.Gj.ca),d=this.Gj.Jn()):(this.Qk=a.Bk,this.yh.F(this.Qk.ba),this.ba.F(this.Qk.ca),d=this.Qk.wl());this.wB=a.Ck.tl();this.U=a.Ck.Zp();b==Z.lk?(this.Hj=
a.Ck,this.zh.F(this.Hj.ba),this.ca.F(this.Hj.ca),e=this.Hj.Jn()):(this.Rk=a.Ck,this.zh.F(this.Rk.ba),this.ca.F(this.Rk.ca),e=this.Rk.wl());this.Xb=a.xi;this.Ok=d+this.Xb*e;this.A=0};S(Ie,Z);Ie.prototype.Ze=function(a){var c=this.vB,b=this.wB,d=this.T,e=this.U,g=0,f=0,h=0,k=0,l=h=0,m=0;this.Mb.ga();this.Gj?(this.Mb.Ti=-1,m+=d.R):(c=c.u.m,f=this.Qk.ee,g=c.i.x*f.x+c.j.x*f.y,f=c.i.y*f.x+c.j.y*f.y,c=d.u.m,h=this.ba.x-d.k.N.x,k=this.ba.y-d.k.N.y,l=c.i.x*h+c.j.x*k,k=c.i.y*h+c.j.y*k,h=l*f-k*g,this.Mb.Of.Set(-g,
-f),this.Mb.Ti=-h,m+=d.G+d.R*h*h);this.Hj?(this.Mb.Ui=-this.Xb,m+=this.Xb*this.Xb*e.R):(c=b.u.m,f=this.Rk.ee,g=c.i.x*f.x+c.j.x*f.y,f=c.i.y*f.x+c.j.y*f.y,c=e.u.m,h=this.ca.x-e.k.N.x,k=this.ca.y-e.k.N.y,l=c.i.x*h+c.j.x*k,k=c.i.y*h+c.j.y*k,h=l*f-k*g,this.Mb.Pf.Set(-this.Xb*g,-this.Xb*f),this.Mb.Ui=-this.Xb*h,m+=this.Xb*this.Xb*(e.G+e.R*h*h));this.P=0<m?1/m:0;a.Ph?(d.n.x+=d.G*this.A*this.Mb.Of.x,d.n.y+=d.G*this.A*this.Mb.Of.y,d.D+=d.R*this.A*this.Mb.Ti,e.n.x+=e.G*this.A*this.Mb.Pf.x,e.n.y+=e.G*this.A*
this.Mb.Pf.y,e.D+=e.R*this.A*this.Mb.Ui):this.A=0};Ie.prototype.Ge=function(){var a=this.T,c=this.U,b=-this.P*this.Mb.Sx(a.n,a.D,c.n,c.D);this.A+=b;a.n.x+=a.G*b*this.Mb.Of.x;a.n.y+=a.G*b*this.Mb.Of.y;a.D+=a.R*b*this.Mb.Ti;c.n.x+=c.G*b*this.Mb.Pf.x;c.n.y+=c.G*b*this.Mb.Pf.y;c.D+=c.R*b*this.Mb.Ui};Ie.prototype.Fe=function(){var a=this.T,c=this.U,b=0,d=0,b=this.Gj?this.Gj.Jn():this.Qk.wl(),d=this.Hj?this.Hj.Jn():this.Rk.wl(),b=-this.P*(this.Ok-(b+this.Xb*d));a.k.q.x+=a.G*b*this.Mb.Of.x;a.k.q.y+=a.G*
b*this.Mb.Of.y;a.k.I+=a.R*b*this.Mb.Ti;c.k.q.x+=c.G*b*this.Mb.Pf.x;c.k.q.y+=c.G*b*this.Mb.Pf.y;c.k.I+=c.R*b*this.Mb.Ui;a.Sb();c.Sb();return!0};var Je=function(){De.call(this);this.type=Z.Oz;this.Ck=this.Bk=null;this.xi=1};S(Je,De);Je.prototype.rc=function(a,c,b){this.Bk=a;this.J=a.tl();this.Ck=c;this.L=c.tl();this.xi=b};Je.prototype.Ye=function(){return new Ie(this)};var He=function(){this.Of=T.p(0,0);this.Pf=T.p(0,0)};He.prototype.ga=function(){this.Of.ga();this.Ti=0;this.Pf.ga();this.Ui=0};He.prototype.Set=
function(a,c,b,d){void 0===c&&(c=0);void 0===d&&(d=0);this.Of.F(a);this.Ti=c;this.Pf.F(b);this.Ui=d};He.prototype.Sx=function(a,c,b,d){void 0===c&&(c=0);void 0===d&&(d=0);return this.Of.x*a.x+this.Of.y*a.y+this.Ti*c+(this.Pf.x*b.x+this.Pf.y*b.y)+this.Ui*d};var Ke=function(a){Z.call(this,a);this.ba=T.p(0,0);this.ca=T.p(0,0);this.ee=T.p(0,0);this.Ah=T.p(0,0);this.S=T.p(0,0);this.ka=T.p(0,0);this.$=new U;this.A=T.p(0,0);this.ba.F(a.Db);this.ca.F(a.Eb);this.ee.F(a.yj);this.Ah.x=-this.ee.y;this.Ah.y=this.ee.x;
this.A.ga();this.Ma=this.Vd=0;this.Re=a.js;this.Te=a.Ft;this.vs=a.As;this.Jm=a.Wk;this.Rf=a.gj;this.oi=a.mk;this.Fa=Z.Jd;this.S.ga();this.ka.ga()};S(Ke,Z);Ke.prototype.wl=function(){var a=this.T,c=this.U,b=a.Mn(this.ba),d=c.Mn(this.ca),c=d.x-b.x,b=d.y-b.y,a=a.cq(this.ee);return a.x*c+a.y*b};Ke.prototype.Ze=function(a){var c=this.T,b=this.U,d,e=0;this.Ag.F(c.Mi());this.Bg.F(b.Mi());var g=c.ie();b.ie();d=c.u.m;var f=this.ba.x-this.Ag.x,h=this.ba.y-this.Ag.y,e=d.i.x*f+d.j.x*h,h=d.i.y*f+d.j.y*h,f=e;d=
b.u.m;var k=this.ca.x-this.Bg.x,l=this.ca.y-this.Bg.y,e=d.i.x*k+d.j.x*l,l=d.i.y*k+d.j.y*l,k=e;d=b.k.q.x+k-c.k.q.x-f;e=b.k.q.y+l-c.k.q.y-h;this.Vb=c.G;this.Wb=b.G;this.wd=c.R;this.xd=b.R;this.S.F(V.kc(g.m,this.ee));this.ab=(d+f)*this.S.y-(e+h)*this.S.x;this.bb=k*this.S.y-l*this.S.x;this.Vd=this.Vb+this.Wb+this.wd*this.ab*this.ab+this.xd*this.bb*this.bb;this.Vd=this.Vd>Number.MIN_VALUE?1/this.Vd:0;this.ka.F(V.kc(g.m,this.Ah));this.gb=(d+f)*this.ka.y-(e+h)*this.ka.x;this.hb=k*this.ka.y-l*this.ka.x;g=
this.Vb;f=this.Wb;h=this.wd;k=this.xd;this.$.i.x=g+f+h*this.gb*this.gb+k*this.hb*this.hb;this.$.i.y=h*this.gb*this.ab+k*this.hb*this.bb;this.$.j.x=this.$.i.y;this.$.j.y=g+f+h*this.ab*this.ab+k*this.bb*this.bb;this.Rf?(d=this.S.x*d+this.S.y*e,0.01>Math.abs(this.Te-this.Re)?this.Fa=Z.fi:d<=this.Re?this.Fa!=Z.mg&&(this.Fa=Z.mg,this.A.y=0):d>=this.Te?this.Fa!=Z.bd&&(this.Fa=Z.bd,this.A.y=0):(this.Fa=Z.Jd,this.A.y=0)):this.Fa=Z.Jd;!1==this.oi&&(this.Ma=0);a.Ph?(this.A.x*=a.Cc,this.A.y*=a.Cc,this.Ma*=a.Cc,
a=this.A.x*this.ka.x+(this.Ma+this.A.y)*this.S.x,d=this.A.x*this.ka.y+(this.Ma+this.A.y)*this.S.y,e=this.A.x*this.gb+(this.Ma+this.A.y)*this.ab,g=this.A.x*this.hb+(this.Ma+this.A.y)*this.bb,c.n.x-=this.Vb*a,c.n.y-=this.Vb*d,c.D-=this.wd*e,b.n.x+=this.Wb*a,b.n.y+=this.Wb*d,b.D+=this.xd*g):(this.A.ga(),this.Ma=0)};Ke.prototype.Ge=function(a){var c=this.T,b=this.U,d=c.n,e=c.D,g=b.n,f=b.D,h=0,k=0,l=0,m=0;this.oi&&this.Fa!=Z.fi&&(m=this.Vd*(this.Jm-(this.S.x*(g.x-d.x)+this.S.y*(g.y-d.y)+this.bb*f-this.ab*
e)),h=this.Ma,k=a.Ga*this.vs,this.Ma=V.Ib(this.Ma+m,-k,k),m=this.Ma-h,h=m*this.S.x,k=m*this.S.y,l=m*this.ab,m*=this.bb,d.x-=this.Vb*h,d.y-=this.Vb*k,e-=this.wd*l,g.x+=this.Wb*h,g.y+=this.Wb*k,f+=this.xd*m);k=this.ka.x*(g.x-d.x)+this.ka.y*(g.y-d.y)+this.hb*f-this.gb*e;this.Rf&&this.Fa!=Z.Jd?(l=this.S.x*(g.x-d.x)+this.S.y*(g.y-d.y)+this.bb*f-this.ab*e,h=this.A.Ac(),a=this.$.Uh(T.p(0,0),-k,-l),this.A.Vg(a),this.Fa==Z.mg?this.A.y=Math.max(this.A.y,0):this.Fa==Z.bd&&(this.A.y=Math.min(this.A.y,0)),k=-k-
(this.A.y-h.y)*this.$.j.x,l=0,l=0!=this.$.i.x?k/this.$.i.x+h.x:h.x,this.A.x=l,a.x=this.A.x-h.x,a.y=this.A.y-h.y,h=a.x*this.ka.x+a.y*this.S.x,k=a.x*this.ka.y+a.y*this.S.y,l=a.x*this.gb+a.y*this.ab,m=a.x*this.hb+a.y*this.bb):(a=0,a=0!=this.$.i.x?-k/this.$.i.x:0,this.A.x+=a,h=a*this.ka.x,k=a*this.ka.y,l=a*this.gb,m=a*this.hb);d.x-=this.Vb*h;d.y-=this.Vb*k;e-=this.wd*l;g.x+=this.Wb*h;g.y+=this.Wb*k;f+=this.xd*m;c.n.F(d);c.D=e;b.n.F(g);b.D=f};Ke.prototype.Fe=function(){var a=this.T,c=this.U,b=a.k.q,d=
a.k.I,e=c.k.q,g=c.k.I,f,h=0,k=0,l=0,m=0,n=f=0,p=0,k=!1,v=0,r=U.$j(d),l=U.$j(g);f=r;var p=this.ba.x-this.Ag.x,s=this.ba.y-this.Ag.y,h=f.i.x*p+f.j.x*s,s=f.i.y*p+f.j.y*s,p=h;f=l;l=this.ca.x-this.Bg.x;m=this.ca.y-this.Bg.y;h=f.i.x*l+f.j.x*m;m=f.i.y*l+f.j.y*m;l=h;f=e.x+l-b.x-p;h=e.y+m-b.y-s;if(this.Rf){this.S=V.kc(r,this.ee);this.ab=(f+p)*this.S.y-(h+s)*this.S.x;this.bb=l*this.S.y-m*this.S.x;var y=this.S.x*f+this.S.y*h;0.01>Math.abs(this.Te-this.Re)?(v=V.Ib(y,-0.2,0.2),n=Math.abs(y),k=!0):y<=this.Re?(v=
V.Ib(y-this.Re+0.005,-0.2,0),n=this.Re-y,k=!0):y>=this.Te&&(v=V.Ib(y-this.Te+0.005,0,0.2),n=y-this.Te,k=!0)}this.ka=V.kc(r,this.Ah);this.gb=(f+p)*this.ka.y-(h+s)*this.ka.x;this.hb=l*this.ka.y-m*this.ka.x;r=T.p(0,0);s=this.ka.x*f+this.ka.y*h;n=Math.max(n,Math.abs(s));p=0;k?(k=this.Vb,l=this.Wb,m=this.wd,f=this.xd,this.$.i.x=k+l+m*this.gb*this.gb+f*this.hb*this.hb,this.$.i.y=m*this.gb*this.ab+f*this.hb*this.bb,this.$.j.x=this.$.i.y,this.$.j.y=k+l+m*this.ab*this.ab+f*this.bb*this.bb,this.$.Uh(r,-s,-v)):
(k=this.Vb,l=this.Wb,m=this.wd,f=this.xd,v=k+l+m*this.gb*this.gb+f*this.hb*this.hb,r.x=0!=v?-s/v:0,r.y=0);v=r.x*this.ka.x+r.y*this.S.x;k=r.x*this.ka.y+r.y*this.S.y;s=r.x*this.gb+r.y*this.ab;r=r.x*this.hb+r.y*this.bb;b.x-=this.Vb*v;b.y-=this.Vb*k;d-=this.wd*s;e.x+=this.Wb*v;e.y+=this.Wb*k;g+=this.xd*r;a.k.I=d;c.k.I=g;a.Sb();c.Sb();return 0.005>=n&&p<=qc};var Le=function(){De.call(this);this.Db=T.p(0,0);this.Eb=T.p(0,0);this.yj=T.p(0,0);this.type=Z.Pz;this.yj.Set(1,0);this.gj=!1;this.Ft=this.js=0;this.mk=
!1;this.Wk=this.As=0};S(Le,De);Le.prototype.rc=function(a,c,b,d){this.J=a;this.L=c;this.Db=this.J.td(b);this.Eb=this.L.td(b);this.yj=this.J.bq(d)};Le.prototype.Ye=function(){return new Ke(this)};var Me=function(a){Z.call(this,a);this.ba=T.p(0,0);this.ca=T.p(0,0);this.ee=T.p(0,0);this.Ah=T.p(0,0);this.S=T.p(0,0);this.ka=T.p(0,0);this.$=new xc;this.A=new wc(0,0,0);this.ba.F(a.Db);this.ca.F(a.Eb);this.ee.F(a.yj);this.Ah.x=-this.ee.y;this.Ah.y=this.ee.x;this.HB=a.Jg;this.A.ga();this.Ma=this.Vd=0;this.Re=
a.js;this.Te=a.Ft;this.vs=a.As;this.Jm=a.Wk;this.Rf=a.gj;this.oi=a.mk;this.Fa=Z.Jd;this.S.ga();this.ka.ga()};S(Me,Z);Me.prototype.wl=function(){var a=this.T,c=this.U,b=a.Mn(this.ba),d=c.Mn(this.ca),c=d.x-b.x,b=d.y-b.y,a=a.cq(this.ee);return a.x*c+a.y*b};Me.prototype.Ze=function(a){var c=this.T,b=this.U,d,e=0;this.Ag.F(c.Mi());this.Bg.F(b.Mi());var g=c.ie();b.ie();d=c.u.m;var f=this.ba.x-this.Ag.x,h=this.ba.y-this.Ag.y,e=d.i.x*f+d.j.x*h,h=d.i.y*f+d.j.y*h,f=e;d=b.u.m;var k=this.ca.x-this.Bg.x,l=this.ca.y-
this.Bg.y,e=d.i.x*k+d.j.x*l,l=d.i.y*k+d.j.y*l,k=e;d=b.k.q.x+k-c.k.q.x-f;e=b.k.q.y+l-c.k.q.y-h;this.Vb=c.G;this.Wb=b.G;this.wd=c.R;this.xd=b.R;this.S.F(V.kc(g.m,this.ee));this.ab=(d+f)*this.S.y-(e+h)*this.S.x;this.bb=k*this.S.y-l*this.S.x;this.Vd=this.Vb+this.Wb+this.wd*this.ab*this.ab+this.xd*this.bb*this.bb;this.Vd>Number.MIN_VALUE&&(this.Vd=1/this.Vd);this.ka.F(V.kc(g.m,this.Ah));this.gb=(d+f)*this.ka.y-(e+h)*this.ka.x;this.hb=k*this.ka.y-l*this.ka.x;g=this.Vb;f=this.Wb;h=this.wd;k=this.xd;this.$.i.x=
g+f+h*this.gb*this.gb+k*this.hb*this.hb;this.$.i.y=h*this.gb+k*this.hb;this.$.i.z=h*this.gb*this.ab+k*this.hb*this.bb;this.$.j.x=this.$.i.y;this.$.j.y=h+k;this.$.j.z=h*this.ab+k*this.bb;this.$.ya.x=this.$.i.z;this.$.ya.y=this.$.j.z;this.$.ya.z=g+f+h*this.ab*this.ab+k*this.bb*this.bb;this.Rf?(d=this.S.x*d+this.S.y*e,0.01>Math.abs(this.Te-this.Re)?this.Fa=Z.fi:d<=this.Re?this.Fa!=Z.mg&&(this.Fa=Z.mg,this.A.z=0):d>=this.Te?this.Fa!=Z.bd&&(this.Fa=Z.bd,this.A.z=0):(this.Fa=Z.Jd,this.A.z=0)):this.Fa=Z.Jd;
!1==this.oi&&(this.Ma=0);a.Ph?(this.A.x*=a.Cc,this.A.y*=a.Cc,this.Ma*=a.Cc,a=this.A.x*this.ka.x+(this.Ma+this.A.z)*this.S.x,d=this.A.x*this.ka.y+(this.Ma+this.A.z)*this.S.y,e=this.A.x*this.gb+this.A.y+(this.Ma+this.A.z)*this.ab,g=this.A.x*this.hb+this.A.y+(this.Ma+this.A.z)*this.bb,c.n.x-=this.Vb*a,c.n.y-=this.Vb*d,c.D-=this.wd*e,b.n.x+=this.Wb*a,b.n.y+=this.Wb*d,b.D+=this.xd*g):(this.A.ga(),this.Ma=0)};Me.prototype.Ge=function(a){var c=this.T,b=this.U,d=c.n,e=c.D,g=b.n,f=b.D,h=0,k=0,l=0,m=0;this.oi&&
this.Fa!=Z.fi&&(m=this.Vd*(this.Jm-(this.S.x*(g.x-d.x)+this.S.y*(g.y-d.y)+this.bb*f-this.ab*e)),h=this.Ma,a=a.Ga*this.vs,this.Ma=V.Ib(this.Ma+m,-a,a),m=this.Ma-h,h=m*this.S.x,k=m*this.S.y,l=m*this.ab,m*=this.bb,d.x-=this.Vb*h,d.y-=this.Vb*k,e-=this.wd*l,g.x+=this.Wb*h,g.y+=this.Wb*k,f+=this.xd*m);l=this.ka.x*(g.x-d.x)+this.ka.y*(g.y-d.y)+this.hb*f-this.gb*e;k=f-e;this.Rf&&this.Fa!=Z.Jd?(a=this.S.x*(g.x-d.x)+this.S.y*(g.y-d.y)+this.bb*f-this.ab*e,h=this.A.Ac(),a=this.$.Kl(new wc(0,0,0),-l,-k,-a),this.A.Vg(a),
this.Fa==Z.mg?this.A.z=Math.max(this.A.z,0):this.Fa==Z.bd&&(this.A.z=Math.min(this.A.z,0)),l=-l-(this.A.z-h.z)*this.$.ya.x,k=-k-(this.A.z-h.z)*this.$.ya.y,k=this.$.ck(T.p(0,0),l,k),k.x+=h.x,k.y+=h.y,this.A.x=k.x,this.A.y=k.y,a.x=this.A.x-h.x,a.y=this.A.y-h.y,a.z=this.A.z-h.z,h=a.x*this.ka.x+a.z*this.S.x,k=a.x*this.ka.y+a.z*this.S.y,l=a.x*this.gb+a.y+a.z*this.ab,m=a.x*this.hb+a.y+a.z*this.bb):(a=this.$.ck(T.p(0,0),-l,-k),this.A.x+=a.x,this.A.y+=a.y,h=a.x*this.ka.x,k=a.x*this.ka.y,l=a.x*this.gb+a.y,
m=a.x*this.hb+a.y);d.x-=this.Vb*h;d.y-=this.Vb*k;e-=this.wd*l;g.x+=this.Wb*h;g.y+=this.Wb*k;f+=this.xd*m;c.n.F(d);c.D=e;b.n.F(g);b.D=f};Me.prototype.Fe=function(){var a=this.T,c=this.U,b=a.k.q,d=a.k.I,e=c.k.q,g=c.k.I,f,h=0,k=0,l=0,m=h=f=0,n=0,k=!1,p=0,v=U.$j(d),r=U.$j(g);f=v;var n=this.ba.x-this.Ag.x,s=this.ba.y-this.Ag.y,h=f.i.x*n+f.j.x*s,s=f.i.y*n+f.j.y*s,n=h;f=r;r=this.ca.x-this.Bg.x;l=this.ca.y-this.Bg.y;h=f.i.x*r+f.j.x*l;l=f.i.y*r+f.j.y*l;r=h;f=e.x+r-b.x-n;h=e.y+l-b.y-s;if(this.Rf){this.S=V.kc(v,
this.ee);this.ab=(f+n)*this.S.y-(h+s)*this.S.x;this.bb=r*this.S.y-l*this.S.x;var y=this.S.x*f+this.S.y*h;0.01>Math.abs(this.Te-this.Re)?(p=V.Ib(y,-0.2,0.2),m=Math.abs(y),k=!0):y<=this.Re?(p=V.Ib(y-this.Re+0.005,-0.2,0),m=this.Re-y,k=!0):y>=this.Te&&(p=V.Ib(y-this.Te+0.005,0,0.2),m=y-this.Te,k=!0)}this.ka=V.kc(v,this.Ah);this.gb=(f+n)*this.ka.y-(h+s)*this.ka.x;this.hb=r*this.ka.y-l*this.ka.x;v=new wc(0,0,0);s=this.ka.x*f+this.ka.y*h;r=g-d-this.HB;m=Math.max(m,Math.abs(s));n=Math.abs(r);k?(k=this.Vb,
l=this.Wb,f=this.wd,h=this.xd,this.$.i.x=k+l+f*this.gb*this.gb+h*this.hb*this.hb,this.$.i.y=f*this.gb+h*this.hb,this.$.i.z=f*this.gb*this.ab+h*this.hb*this.bb,this.$.j.x=this.$.i.y,this.$.j.y=f+h,this.$.j.z=f*this.ab+h*this.bb,this.$.ya.x=this.$.i.z,this.$.ya.y=this.$.j.z,this.$.ya.z=k+l+f*this.ab*this.ab+h*this.bb*this.bb,this.$.Kl(v,-s,-r,-p)):(k=this.Vb,l=this.Wb,f=this.wd,h=this.xd,p=f*this.gb+h*this.hb,y=f+h,this.$.i.Set(k+l+f*this.gb*this.gb+h*this.hb*this.hb,p,0),this.$.j.Set(p,y,0),p=this.$.ck(T.p(0,
0),-s,-r),v.x=p.x,v.y=p.y,v.z=0);p=v.x*this.ka.x+v.z*this.S.x;k=v.x*this.ka.y+v.z*this.S.y;s=v.x*this.gb+v.y+v.z*this.ab;v=v.x*this.hb+v.y+v.z*this.bb;b.x-=this.Vb*p;b.y-=this.Vb*k;d-=this.wd*s;e.x+=this.Wb*p;e.y+=this.Wb*k;g+=this.xd*v;a.k.I=d;c.k.I=g;a.Sb();c.Sb();return 0.005>=m&&n<=qc};var Ne=function(){De.call(this);this.Db=T.p(0,0);this.Eb=T.p(0,0);this.yj=T.p(0,0);this.type=Z.Qz;this.yj.Set(1,0);this.Jg=0;this.gj=!1;this.Ft=this.js=0;this.mk=!1;this.Wk=this.As=0};S(Ne,De);Ne.prototype.rc=function(a,
c,b,d){this.J=a;this.L=c;this.Db=this.J.td(b);this.Eb=this.L.td(b);this.yj=this.J.bq(d);this.Jg=this.L.Dd()-this.J.Dd()};Ne.prototype.Ye=function(){return new Me(this)};var Qe=function(a){Z.call(this,a);this.yh=T.p(0,0);this.zh=T.p(0,0);this.ba=T.p(0,0);this.ca=T.p(0,0);this.nb=T.p(0,0);this.ob=T.p(0,0);this.pf=this.T.Oa.xB;this.yh.x=a.Go.x-this.pf.u.position.x;this.yh.y=a.Go.y-this.pf.u.position.y;this.zh.x=a.Ho.x-this.pf.u.position.x;this.zh.y=a.Ho.y-this.pf.u.position.y;this.ba.F(a.Db);this.ca.F(a.Eb);
this.Xb=a.xi;this.Ok=a.Vr+this.Xb*a.Wr;this.lw=Math.min(a.nw,this.Ok-this.Xb*Oe);this.mw=Math.min(a.ow,(this.Ok-Oe)/this.Xb);this.zg=this.yg=this.A=0};S(Qe,Z);Qe.prototype.Ze=function(a){var c=this.T,b=this.U,d;d=c.u.m;var e=this.ba.x-c.k.N.x,g=this.ba.y-c.k.N.y,f=d.i.x*e+d.j.x*g,g=d.i.y*e+d.j.y*g,e=f;d=b.u.m;var h=this.ca.x-b.k.N.x,k=this.ca.y-b.k.N.y,f=d.i.x*h+d.j.x*k,k=d.i.y*h+d.j.y*k,h=f;d=b.k.q.x+h;var f=b.k.q.y+k,l=this.pf.u.position.x+this.zh.x,m=this.pf.u.position.y+this.zh.y;this.nb.Set(c.k.q.x+
e-(this.pf.u.position.x+this.yh.x),c.k.q.y+g-(this.pf.u.position.y+this.yh.y));this.ob.Set(d-l,f-m);d=this.nb.fg();f=this.ob.fg();0.005<d?this.nb.Fd(1/d):this.nb.ga();0.005<f?this.ob.Fd(1/f):this.ob.ga();0<this.Ok-d-this.Xb*f?(this.xs=Z.Jd,this.A=0):this.xs=Z.bd;d<this.lw?(this.ss=Z.Jd,this.yg=0):this.ss=Z.bd;f<this.mw?(this.ts=Z.Jd,this.zg=0):this.ts=Z.bd;d=e*this.nb.y-g*this.nb.x;f=h*this.ob.y-k*this.ob.x;this.Hm=c.G+c.R*d*d;this.Im=b.G+b.R*f*f;this.jp=this.Hm+this.Xb*this.Xb*this.Im;this.Hm=1/
this.Hm;this.Im=1/this.Im;this.jp=1/this.jp;a.Ph?(this.A*=a.Cc,this.yg*=a.Cc,this.zg*=a.Cc,a=(-this.A-this.yg)*this.nb.x,d=(-this.A-this.yg)*this.nb.y,f=(-this.Xb*this.A-this.zg)*this.ob.x,l=(-this.Xb*this.A-this.zg)*this.ob.y,c.n.x+=c.G*a,c.n.y+=c.G*d,c.D+=c.R*(e*d-g*a),b.n.x+=b.G*f,b.n.y+=b.G*l,b.D+=b.R*(h*l-k*f)):this.zg=this.yg=this.A=0};Qe.prototype.Ge=function(){var a=this.T,c=this.U,b;b=a.u.m;var d=this.ba.x-a.k.N.x,e=this.ba.y-a.k.N.y,g=b.i.x*d+b.j.x*e,e=b.i.y*d+b.j.y*e,d=g;b=c.u.m;var f=
this.ca.x-c.k.N.x,h=this.ca.y-c.k.N.y,g=b.i.x*f+b.j.x*h,h=b.i.y*f+b.j.y*h,f=g,k=g=b=0,l=0;b=l=b=l=k=g=b=0;this.xs==Z.bd&&(b=a.n.x+-a.D*e,g=a.n.y+a.D*d,k=c.n.x+-c.D*h,l=c.n.y+c.D*f,b=-(this.nb.x*b+this.nb.y*g)-this.Xb*(this.ob.x*k+this.ob.y*l),l=this.jp*-b,b=this.A,this.A=Math.max(0,this.A+l),l=this.A-b,b=-l*this.nb.x,g=-l*this.nb.y,k=-this.Xb*l*this.ob.x,l=-this.Xb*l*this.ob.y,a.n.x+=a.G*b,a.n.y+=a.G*g,a.D+=a.R*(d*g-e*b),c.n.x+=c.G*k,c.n.y+=c.G*l,c.D+=c.R*(f*l-h*k));this.ss==Z.bd&&(b=a.n.x+-a.D*e,
g=a.n.y+a.D*d,b=-(this.nb.x*b+this.nb.y*g),l=-this.Hm*b,b=this.yg,this.yg=Math.max(0,this.yg+l),l=this.yg-b,b=-l*this.nb.x,g=-l*this.nb.y,a.n.x+=a.G*b,a.n.y+=a.G*g,a.D+=a.R*(d*g-e*b));this.ts==Z.bd&&(k=c.n.x+-c.D*h,l=c.n.y+c.D*f,b=-(this.ob.x*k+this.ob.y*l),l=-this.Im*b,b=this.zg,this.zg=Math.max(0,this.zg+l),l=this.zg-b,k=-l*this.ob.x,l=-l*this.ob.y,c.n.x+=c.G*k,c.n.y+=c.G*l,c.D+=c.R*(f*l-h*k))};Qe.prototype.Fe=function(){var a=this.T,c=this.U,b,d=this.pf.u.position.x+this.yh.x,e=this.pf.u.position.y+
this.yh.y,g=this.pf.u.position.x+this.zh.x,f=this.pf.u.position.y+this.zh.y,h=0,k=0,l=0,m=0,n=b=0,p=0,v=0,r=n=v=b=n=b=0;this.xs==Z.bd&&(b=a.u.m,h=this.ba.x-a.k.N.x,k=this.ba.y-a.k.N.y,n=b.i.x*h+b.j.x*k,k=b.i.y*h+b.j.y*k,h=n,b=c.u.m,l=this.ca.x-c.k.N.x,m=this.ca.y-c.k.N.y,n=b.i.x*l+b.j.x*m,m=b.i.y*l+b.j.y*m,l=n,b=a.k.q.x+h,n=a.k.q.y+k,p=c.k.q.x+l,v=c.k.q.y+m,this.nb.Set(b-d,n-e),this.ob.Set(p-g,v-f),b=this.nb.fg(),n=this.ob.fg(),0.005<b?this.nb.Fd(1/b):this.nb.ga(),0.005<n?this.ob.Fd(1/n):this.ob.ga(),
b=this.Ok-b-this.Xb*n,r=Math.max(r,-b),b=V.Ib(b+0.005,-0.2,0),v=-this.jp*b,b=-v*this.nb.x,n=-v*this.nb.y,p=-this.Xb*v*this.ob.x,v=-this.Xb*v*this.ob.y,a.k.q.x+=a.G*b,a.k.q.y+=a.G*n,a.k.I+=a.R*(h*n-k*b),c.k.q.x+=c.G*p,c.k.q.y+=c.G*v,c.k.I+=c.R*(l*v-m*p),a.Sb(),c.Sb());this.ss==Z.bd&&(b=a.u.m,h=this.ba.x-a.k.N.x,k=this.ba.y-a.k.N.y,n=b.i.x*h+b.j.x*k,k=b.i.y*h+b.j.y*k,h=n,b=a.k.q.x+h,n=a.k.q.y+k,this.nb.Set(b-d,n-e),b=this.nb.fg(),0.005<b?(this.nb.x*=1/b,this.nb.y*=1/b):this.nb.ga(),b=this.lw-b,r=Math.max(r,
-b),b=V.Ib(b+0.005,-0.2,0),v=-this.Hm*b,b=-v*this.nb.x,n=-v*this.nb.y,a.k.q.x+=a.G*b,a.k.q.y+=a.G*n,a.k.I+=a.R*(h*n-k*b),a.Sb());this.ts==Z.bd&&(b=c.u.m,l=this.ca.x-c.k.N.x,m=this.ca.y-c.k.N.y,n=b.i.x*l+b.j.x*m,m=b.i.y*l+b.j.y*m,l=n,p=c.k.q.x+l,v=c.k.q.y+m,this.ob.Set(p-g,v-f),n=this.ob.fg(),0.005<n?(this.ob.x*=1/n,this.ob.y*=1/n):this.ob.ga(),b=this.mw-n,r=Math.max(r,-b),b=V.Ib(b+0.005,-0.2,0),v=-this.Im*b,p=-v*this.ob.x,v=-v*this.ob.y,c.k.q.x+=c.G*p,c.k.q.y+=c.G*v,c.k.I+=c.R*(l*v-m*p),c.Sb());return 0.005>
r};var Oe=1,Re=function(){De.call(this);this.Go=T.p(0,0);this.Ho=T.p(0,0);this.Db=T.p(0,0);this.Eb=T.p(0,0);this.type=Z.Rz;this.Go.Set(-1,1);this.Ho.Set(1,1);this.Db.Set(-1,0);this.Eb.Set(1,0);this.ow=this.Wr=this.nw=this.Vr=0;this.xi=1;this.Nq=!0};S(Re,De);Re.prototype.rc=function(a,c,b,d,e,g,f){void 0===f&&(f=0);this.J=a;this.L=c;this.Go.F(b);this.Ho.F(d);this.Db=this.J.td(e);this.Eb=this.L.td(g);a=e.x-b.x;b=e.y-b.y;this.Vr=Math.sqrt(a*a+b*b);b=g.x-d.x;d=g.y-d.y;this.Wr=Math.sqrt(b*b+d*d);this.xi=
f;f=this.Vr+this.xi*this.Wr;this.nw=f-this.xi*Oe;this.ow=(f-Oe)/this.xi};Re.prototype.Ye=function(){return new Qe(this)};var Se=function(a){Z.call(this,a);this.je=new U;this.Al=new U;this.Bl=new U;this.Cl=new U;this.Pc=new wc(0,0,0);this.Jf=T.p(0,0);this.Ig=T.p(0,0);this.ba=T.p(0,0);this.ca=T.p(0,0);this.A=new wc(0,0,0);this.P=new xc;this.ba.F(a.Db);this.ca.F(a.Eb);this.Lm=a.Jg;this.A.ga();this.Ma=0;this.hp=a.hs;this.ys=a.Et;this.EB=a.pw;this.Jm=a.Wk;this.Rf=a.gj;this.oi=a.mk;this.Fa=Z.Jd};S(Se,Z);
Se.prototype.Jn=function(){return this.U.k.I-this.T.k.I-this.Lm};Se.prototype.Ze=function(a){var c=this.T,b=this.U,d,e=0;d=c.u.m;var g=this.ba.x-c.k.N.x,f=this.ba.y-c.k.N.y,e=d.i.x*g+d.j.x*f,f=d.i.y*g+d.j.y*f,g=e;d=b.u.m;var h=this.ca.x-b.k.N.x,k=this.ca.y-b.k.N.y,e=d.i.x*h+d.j.x*k,k=d.i.y*h+d.j.y*k,h=e;d=c.G;var e=b.G,l=c.R,m=b.R;this.P.i.x=d+e+f*f*l+k*k*m;this.P.j.x=-f*g*l-k*h*m;this.P.ya.x=-f*l-k*m;this.P.i.y=this.P.j.x;this.P.j.y=d+e+g*g*l+h*h*m;this.P.ya.y=g*l+h*m;this.P.i.z=this.P.ya.x;this.P.j.z=
this.P.ya.y;this.P.ya.z=l+m;this.Vd=1/(l+m);this.oi||(this.Ma=0);if(this.Rf){var n=b.k.I-c.k.I-this.Lm;Math.abs(this.ys-this.hp)<2*qc?this.Fa=Z.fi:n<=this.hp?(this.Fa!=Z.mg&&(this.A.z=0),this.Fa=Z.mg):n>=this.ys?(this.Fa!=Z.bd&&(this.A.z=0),this.Fa=Z.bd):(this.Fa=Z.Jd,this.A.z=0)}else this.Fa=Z.Jd;a.Ph?(this.A.x*=a.Cc,this.A.y*=a.Cc,this.Ma*=a.Cc,a=this.A.x,n=this.A.y,c.n.x-=d*a,c.n.y-=d*n,c.D-=l*(g*n-f*a+this.Ma+this.A.z),b.n.x+=e*a,b.n.y+=e*n,b.D+=m*(h*n-k*a+this.Ma+this.A.z)):(this.A.ga(),this.Ma=
0)};Se.prototype.Ge=function(a){var c=this.T,b=this.U,d=0,e=d=0,g=0,f=0,h=0,k=c.n,l=c.D,m=b.n,n=b.D,p=c.G,v=b.G,r=c.R,s=b.R;this.oi&&this.Fa!=Z.fi&&(e=this.Vd*-(n-l-this.Jm),g=this.Ma,f=a.Ga*this.EB,this.Ma=V.Ib(this.Ma+e,-f,f),e=this.Ma-g,l-=r*e,n+=s*e);if(this.Rf&&this.Fa!=Z.Jd){a=c.u.m;e=this.ba.x-c.k.N.x;g=this.ba.y-c.k.N.y;d=a.i.x*e+a.j.x*g;g=a.i.y*e+a.j.y*g;e=d;a=b.u.m;f=this.ca.x-b.k.N.x;h=this.ca.y-b.k.N.y;d=a.i.x*f+a.j.x*h;h=a.i.y*f+a.j.y*h;f=d;a=m.x+-n*h-k.x- -l*g;var y=m.y+n*f-k.y-l*e;
this.P.Kl(this.Pc,-a,-y,-(n-l));this.Fa==Z.fi?this.A.Vg(this.Pc):this.Fa==Z.mg?(d=this.A.z+this.Pc.z,0>d&&(this.P.ck(this.Ig,-a,-y),this.Pc.x=this.Ig.x,this.Pc.y=this.Ig.y,this.Pc.z=-this.A.z,this.A.x+=this.Ig.x,this.A.y+=this.Ig.y,this.A.z=0)):this.Fa==Z.bd&&(d=this.A.z+this.Pc.z,0<d&&(this.P.ck(this.Ig,-a,-y),this.Pc.x=this.Ig.x,this.Pc.y=this.Ig.y,this.Pc.z=-this.A.z,this.A.x+=this.Ig.x,this.A.y+=this.Ig.y,this.A.z=0));k.x-=p*this.Pc.x;k.y-=p*this.Pc.y;l-=r*(e*this.Pc.y-g*this.Pc.x+this.Pc.z);
m.x+=v*this.Pc.x;m.y+=v*this.Pc.y;n+=s*(f*this.Pc.y-h*this.Pc.x+this.Pc.z)}else a=c.u.m,e=this.ba.x-c.k.N.x,g=this.ba.y-c.k.N.y,d=a.i.x*e+a.j.x*g,g=a.i.y*e+a.j.y*g,e=d,a=b.u.m,f=this.ca.x-b.k.N.x,h=this.ca.y-b.k.N.y,d=a.i.x*f+a.j.x*h,h=a.i.y*f+a.j.y*h,f=d,this.P.ck(this.Jf,-(m.x+-n*h-k.x- -l*g),-(m.y+n*f-k.y-l*e)),this.A.x+=this.Jf.x,this.A.y+=this.Jf.y,k.x-=p*this.Jf.x,k.y-=p*this.Jf.y,l-=r*(e*this.Jf.y-g*this.Jf.x),m.x+=v*this.Jf.x,m.y+=v*this.Jf.y,n+=s*(f*this.Jf.y-h*this.Jf.x);c.n.F(k);c.D=l;
b.n.F(m);b.D=n};Se.prototype.Fe=function(){var a=0,c,b=this.T,d=this.U,e=0,g=c=0,f=0,h=0;if(this.Rf&&this.Fa!=Z.Jd){var a=d.k.I-b.k.I-this.Lm,k=0;this.Fa==Z.fi?(a=V.Ib(a-this.hp,-rc,rc),k=-this.Vd*a,e=Math.abs(a)):this.Fa==Z.mg?(a-=this.hp,e=-a,a=V.Ib(a+qc,-rc,0),k=-this.Vd*a):this.Fa==Z.bd&&(e=a-=this.ys,a=V.Ib(a-qc,0,rc),k=-this.Vd*a);b.k.I-=b.R*k;d.k.I+=d.R*k;b.Sb();d.Sb()}c=b.u.m;k=this.ba.x-b.k.N.x;a=this.ba.y-b.k.N.y;g=c.i.x*k+c.j.x*a;a=c.i.y*k+c.j.y*a;k=g;c=d.u.m;var l=this.ca.x-d.k.N.x,m=
this.ca.y-d.k.N.y,g=c.i.x*l+c.j.x*m,m=c.i.y*l+c.j.y*m,l=g,f=d.k.q.x+l-b.k.q.x-k,h=d.k.q.y+m-b.k.q.y-a,n=f*f+h*h;c=Math.sqrt(n);var g=b.G,p=d.G,v=b.R,r=d.R;n>0.05*0.05&&(n=1/(g+p),f=n*-f,h=n*-h,b.k.q.x-=0.5*g*f,b.k.q.y-=0.5*g*h,d.k.q.x+=0.5*p*f,d.k.q.y+=0.5*p*h,f=d.k.q.x+l-b.k.q.x-k,h=d.k.q.y+m-b.k.q.y-a);this.Al.i.x=g+p;this.Al.j.x=0;this.Al.i.y=0;this.Al.j.y=g+p;this.Bl.i.x=v*a*a;this.Bl.j.x=-v*k*a;this.Bl.i.y=-v*k*a;this.Bl.j.y=v*k*k;this.Cl.i.x=r*m*m;this.Cl.j.x=-r*l*m;this.Cl.i.y=-r*l*m;this.Cl.j.y=
r*l*l;this.je.Bf(this.Al);this.je.xn(this.Bl);this.je.xn(this.Cl);this.je.Uh(Te,-f,-h);f=Te.x;h=Te.y;b.k.q.x-=b.G*f;b.k.q.y-=b.G*h;b.k.I-=b.R*(k*h-a*f);d.k.q.x+=d.G*f;d.k.q.y+=d.G*h;d.k.I+=d.R*(l*h-m*f);b.Sb();d.Sb();return 0.005>=c&&e<=qc};var Te=T.p(0,0),pc=function(){De.call(this);this.Db=T.p(0,0);this.Eb=T.p(0,0);this.type=Z.lk;this.Db.ga();this.Eb.ga();this.Wk=this.pw=this.Et=this.hs=this.Jg=0;this.mk=this.gj=!1};S(pc,De);pc.prototype.rc=function(a,c,b){this.J=a;this.L=c;this.Db=this.J.td(b);
this.Eb=this.L.td(b);this.Jg=this.L.Dd()-this.J.Dd()};pc.prototype.Ye=function(){return new Se(this)};var Ue=function(a){Z.call(this,a);this.Pe=T.p(0,0);this.Qe=T.p(0,0);this.A=new wc(0,0,0);this.P=new xc;this.Pe.F(a.Db);this.Qe.F(a.Eb);this.Lm=a.Jg};S(Ue,Z);Ue.prototype.Ze=function(a){var c,b=0,d=this.T,e=this.U;c=d.u.m;var g=this.Pe.x-d.k.N.x,f=this.Pe.y-d.k.N.y,b=c.i.x*g+c.j.x*f,f=c.i.y*g+c.j.y*f,g=b;c=e.u.m;var h=this.Qe.x-e.k.N.x,k=this.Qe.y-e.k.N.y,b=c.i.x*h+c.j.x*k,k=c.i.y*h+c.j.y*k,h=b;c=
d.G;var b=e.G,l=d.R,m=e.R;this.P.i.x=c+b+f*f*l+k*k*m;this.P.j.x=-f*g*l-k*h*m;this.P.ya.x=-f*l-k*m;this.P.i.y=this.P.j.x;this.P.j.y=c+b+g*g*l+h*h*m;this.P.ya.y=g*l+h*m;this.P.i.z=this.P.ya.x;this.P.j.z=this.P.ya.y;this.P.ya.z=l+m;a.Ph?(this.A.x*=a.Cc,this.A.y*=a.Cc,this.A.z*=a.Cc,d.n.x-=c*this.A.x,d.n.y-=c*this.A.y,d.D-=l*(g*this.A.y-f*this.A.x+this.A.z),e.n.x+=b*this.A.x,e.n.y+=b*this.A.y,e.D+=m*(h*this.A.y-k*this.A.x+this.A.z)):this.A.ga()};Ue.prototype.Ge=function(){var a,c=0,b=this.T,d=this.U,
e=b.n,g=b.D,f=d.n,h=d.D,k=b.G,l=d.G,m=b.R,n=d.R;a=b.u.m;var p=this.Pe.x-b.k.N.x,v=this.Pe.y-b.k.N.y,c=a.i.x*p+a.j.x*v,v=a.i.y*p+a.j.y*v,p=c;a=d.u.m;var r=this.Qe.x-d.k.N.x,s=this.Qe.y-d.k.N.y,c=a.i.x*r+a.j.x*s,s=a.i.y*r+a.j.y*s,r=c;a=new wc(0,0,0);this.P.Kl(a,-(f.x-h*s-e.x+g*v),-(f.y+h*r-e.y-g*p),-(h-g));this.A.Vg(a);e.x-=k*a.x;e.y-=k*a.y;g-=m*(p*a.y-v*a.x+a.z);f.x+=l*a.x;f.y+=l*a.y;h+=n*(r*a.y-s*a.x+a.z);b.D=g;d.D=h};Ue.prototype.Fe=function(){var a,c=0,b=this.T,d=this.U;a=b.u.m;var e=this.Pe.x-
b.k.N.x,g=this.Pe.y-b.k.N.y,c=a.i.x*e+a.j.x*g,g=a.i.y*e+a.j.y*g,e=c;a=d.u.m;var f=this.Qe.x-d.k.N.x,h=this.Qe.y-d.k.N.y,c=a.i.x*f+a.j.x*h,h=a.i.y*f+a.j.y*h,f=c;a=b.G;var c=d.G,k=b.R,l=d.R,m=d.k.q.x+f-b.k.q.x-e,n=d.k.q.y+h-b.k.q.y-g,p=d.k.I-b.k.I-this.Lm,v=Math.sqrt(m*m+n*n),r=Math.abs(p);0.05<v&&(k*=1,l*=1);this.P.i.x=a+c+g*g*k+h*h*l;this.P.j.x=-g*e*k-h*f*l;this.P.ya.x=-g*k-h*l;this.P.i.y=this.P.j.x;this.P.j.y=a+c+e*e*k+f*f*l;this.P.ya.y=e*k+f*l;this.P.i.z=this.P.ya.x;this.P.j.z=this.P.ya.y;this.P.ya.z=
k+l;var s=new wc(0,0,0);this.P.Kl(s,-m,-n,-p);b.k.q.x-=a*s.x;b.k.q.y-=a*s.y;b.k.I-=k*(e*s.y-g*s.x+s.z);d.k.q.x+=c*s.x;d.k.q.y+=c*s.y;d.k.I+=l*(f*s.y-h*s.x+s.z);b.Sb();d.Sb();return 0.005>=v&&r<=qc};var Ve=function(){De.call(this);this.Db=T.p(0,0);this.Eb=T.p(0,0);this.type=Z.Tz;this.Jg=0};S(Ve,De);Ve.prototype.rc=function(a,c,b){this.J=a;this.L=c;this.Db.F(this.J.td(b));this.Eb.F(this.L.td(b));this.Jg=this.L.Dd()-this.J.Dd()};Ve.prototype.Ye=function(){return new Ue(this)};var je=[new Dc,new Dc],
se=[new Dc,new Dc],te=[new Dc,new Dc],ke=T.p(0,0),le=T.p(0,0),me=T.p(0,0),pe=T.p(0,0),ne=T.p(0,0),oe=T.p(0,0),qe=T.p(0,0),re=T.p(0,0),Id=0,Vd=0,Wd=0,Td=0,Ud=0,Jd=new fd,Kd=new Qc,Ld=new gc,Qd=new gc,Sd=new ad,Rd=new Rc;ic.qC=new gc;jc.Su=new jc;new function(){this.position=T.p(0,0);this.Ix=T.p(0,0);this.zd=T.p(0,0);this.id=new Cc};lc.rE=new gc;lc.Zw=new yc;lc.$w=new yc;var Hd=new gd,he=new hd,ie=new ge}
function We(a,c,b,d,e,g){return(b+0.1>=a&&a>=e-0.1||b-0.1<=a&&a<=e+0.1)&&(d+0.1>=c&&c>=g-0.1||d-0.1<=c&&c<=g+0.1)&&(0.1<Math.abs(e-b)?0.1>Math.abs((g-d)/(e-b)*(a-b)+d-c):0.1>Math.abs(a-b))}
function Xe(a){var c=[],b=0,d=0,e=0,g=0,f=0,h=f=0,k=0,l=0,m=0,g=0,n,p,v,r,s,y=g=b=0,G=0,e=[],k=[],H=!1,L=[],z=[];for(z.push(a);z.length;){c=z[0];d=c.length;H=!0;for(b=0;b<d;b++)if(l=b,m=b<d-1?b+1:b+1-d,g=b<d-2?b+2:b+2-d,a=c[l],n=c[m],g=c[g],g=a.x*n.y+n.x*g.y+g.x*a.y-a.y*n.x-n.y*g.x-g.y*a.x,0>g){H=!1;k=1E9;for(e=0;e<d;e++)if(e!==l&&e!==m){b=e;g=e<d-1?e+1:0;p=c[b];v=c[g];h=a.x;r=a.y;var F=n.x,C=n.y,f=p.x;p=p.y;var A=v.x;v=v.y;var t=F-h,x=C-r,I=A-f,R=v-p,I=(I*(p-r)-R*(f-h))/(x*I-t*R),t=h+I*t,x=r+I*x,
h=We(F,C,h,r,t,x),f=We(t,x,f,p,A,v);if(r=h&&f?T.p(t,x):null)f=n.x-r.x,h=n.y-r.y,f=f*f+h*h,f<k&&(G=b,y=g,s=r,k=f)}if(1E9===k)return[];e=[];k=[];b=G;g=y;p=c[b];v=c[g];0.1>Math.abs(v.x-s.x)&&0.1>Math.abs(v.y-s.y)||e.push(s);0.1>Math.abs(p.x-s.x)&&0.1>Math.abs(p.y-s.y)||k.push(s);G=-1;for(y=l;;){if(y!==g)e.push(c[y]);else{if(0>G||G>=d)return[];We(v.x,v.y,c[G].x,c[G].y,a.x,a.y)||e.push(c[y]);break}G=y;0>y-1?y=d-1:y--}e.reverse();G=-1;for(y=m;;){if(y!==b)k.push(c[y]);else{if(0>G||G>=d)return[];y!==b||We(p.x,
p.y,c[G].x,c[G].y,n.x,n.y)||k.push(c[y]);break}G=y;y+1>d-1?y=0:y++}z.push(e,k);z.shift();break}H&&L.push(z.shift())}return L}
function Ye(a){for(var c=0;4E3>c;c++)T.Zg.push(new T(0,0));this.g=a;this.he=new lc(T.p(0,10),!0);this.Rr=-1;a=new jc;a.Jb=this;a.zn=function(a){this.Jb.g.hC(a.Ub.Sa().bh.ta,a.Nb.Sa().bh.ta)};this.he.uu(a);a=new kc;a.Jb=this;a.Si=function(a,c){if(this.Jb.hz)return!0;var e=a.Sa().bh.ta.type,g=c.Sa().bh.ta.type,f=e.pa.Ey;return f&&f.contains(g)?!1:(f=g.pa.Ey)&&f.contains(e)?!1:!0};this.he.tu(a);this.xC=0;this.tn=8;this.Zm=3;this.hz=!0}
(function(){function a(){}function c(){}var b=T,d=X,e=nc,g=Y,f=mc,h=oc,k=pc,l=Ye.prototype;l.jb=function(a){this.Jb=a;this.g=a.g};l.jb.prototype.xa=q();l.Ta=function(a,b){this.type=a;this.Jb=a.Jb;this.ta=b;this.g=a.g;this.he=this.Jb.he};var m=l.Ta.prototype;m.xa=function(){this.Br=0!==this.V[0];this.av=this.V[1];this.Ys=0!==this.V[2];this.If=this.V[3];this.qg=this.V[4];this.Lg=this.V[5];this.xj=this.V[6];this.Vi=this.V[7];this.Zi=0!==this.V[8];this.enabled=0!==this.V[9];this.body=null;this.ta.Jc();
this.Qo=this.ta.x;this.Ro=this.ta.y;this.Pr=this.ta.M;this.Or=this.Sr=0;this.Vw=this.Qr=!1;this.Mr=null;this.Nr=-1;this.te?(this.te.length=0,this.sf.length=0,this.mi.clear()):(this.te=[],this.sf=[],this.mi=new La);var a=this;this.ze||(this.ww=function(b){a.Ms(b)});this.g.Dq(this.ww)};m.Pw=function(){this.ta.Jc();this.Sq();this.Mr=this.ta.Kb;this.Nr=this.ta.aa};m.Fg=function(){this.no();this.sf.length=0;this.mi.clear();this.body&&(this.he.Fn(this.body),this.body=null);this.g.iC(this.ww)};m.Ad=function(){var a=
{e:this.enabled,im:this.Br,pr:this.Ys,d:this.If,fr:this.qg,re:this.Lg,ld:this.xj,ad:this.Vi,b:this.Zi,mcj:this.sf};if(this.enabled){var c=b.p(0,0);c.F(this.body.Li());a.vx=c.x;a.vy=c.y;a.om=this.body.In()}return a};m.de=function(a){this.no();this.sf.length=0;this.mi.clear();this.body&&(this.he.Fn(this.body),this.body=null);this.enabled=a.e;this.Br=a.im;this.Ys=a.pr;this.If=a.d;this.qg=a.fr;this.Lg=a.re;this.xj=a.ld;this.Vi=a.ad;this.Zi=a.b;this.Qo=this.ta.x;this.Ro=this.ta.y;this.Pr=this.ta.M;this.Sr=
this.ta.width;this.Or=this.ta.height;this.enabled&&(this.Sq(),this.body.Ri(b.p(a.vx,a.vy)),this.body.Il(a.om),0===a.vx&&0===a.vy&&0===a.om||this.body.hd(!0),this.sf=a.mcj)};m.ek=function(){this.enabled&&this.dt();this.Jb.Rr=this.g.yf-1};m.Ms=function(a){var b,c,d,e=a.uid;d=b=0;for(c=this.sf.length;b<c;b++)this.sf[d]=this.sf[b],d<this.te.length&&(this.te[d]=this.te[b]),this.sf[b].pc[1]==e?this.he.Gn(this.te[b]):d++;this.sf.length=d;d<this.te.length&&(this.te.length=d);this.mi.remove(a)};m.no=function(){var a,
b;a=0;for(b=this.te.length;a<b;a++)this.he.Gn(this.te[a]);this.te.length=0};m.dt=function(){var a,b,c;a=0;for(b=this.sf.length;a<b;a++)switch(c=this.sf[a],c.type){case 0:this.Bz(c.pc[0],c.pc[1],c.pc[2],c.pc[3],c.pc[4]);break;case 1:this.Dz(c.pc[0],c.pc[1]);break;case 2:this.Cz(c.pc[0],c.pc[1],c.pc[2],c.pc[3])}};m.xz=function(){this.body&&(this.no(),this.he.Fn(this.body),this.body=null,this.ta.pa.Gf=null)};m.Sq=function(){if(this.enabled){var a=this.ta,c=!1,h=null,k=null,l,m,G,H,L,z;this.body&&(c=
!0,h=b.p(0,0),h.F(this.body.Li()),k=this.body.In(),this.xz());var F=new e;F.If=this.If;F.qg=this.qg;F.Lg=this.Lg;z=new d;z.type=this.Br?0:2;a.Jc();z.position.x=0.02*a.ub.Kj();z.position.y=0.02*a.ub.Lj();z.M=a.M;z.gr=this.Ys;z.xj=this.xj;z.Vi=this.Vi;z.Zi=this.Zi;m=this.ta.lb&&!this.ta.lb.xk();this.body=this.he.Wp(z);this.body.bh=this;z=this.av;m||0!==this.av||(z=1);m=Math.max(Math.abs(a.width),1);G=Math.max(Math.abs(a.height),1);var C=0>a.width;L=0>a.height;if(0===z){z=a.M;a.M=0;a.xc();a.Jc();var A=
a.ub.Kj()-a.x,t=a.ub.Lj()-a.y;a.M=z;a.xc();a.lb.gk(C?-m:m,L?-G:G,0);var x=a.lb.od;H=a.lb.Hg;z=[];z.length=H;for(l=0;l<H;l++)z[l]=b.p(x[2*l]-A,x[2*l+1]-t);C!==L&&z.reverse();l=m*G;L=T;var A=Xe(z),C=[],I,R,P,N,J,W,Q;P=0;for(N=A.length;P<N;P++){x=A[P];t=[];t.length=x.length;J=Q=0;for(W=x.length;J<W;J++)I=x[J],R=x[(J+1)%W],Q+=I.x*R.y-I.y*R.x,t[J]=L.p(I.x,I.y);Q=Math.abs(Q/2);Q>=0.001*l&&C.push(t)}for(l=0;l<H;l++)b.Vc(z[l]);if(C.length)for(l=0,m=C.length;l<m;l++){z=C[l];G=0;for(H=z.length;G<H;G++)L=z[G],
L.x*=0.02,L.y*=0.02;F.shape=new g;F.shape.pq(z,z.length);this.body.Dn(F);G=0;for(H=z.length;G<H;G++)b.Vc(z[G])}else F.shape=new g,F.shape.Qn(0.01*m,0.01*G),this.body.Dn(F)}else 1===z?(F.shape=new g,F.shape.Qn(0.01*m,0.01*G)):F.shape=new f(0.01*Math.min(m,G)),this.body.Dn(F);a.pa.Gf=this.body;this.Sr=a.width;this.Or=a.height;if(c)for(this.body.Ri(h),this.body.Il(k),b.Vc(h),this.dt(),z=this.mi.il(),l=0,m=z.length;l<m;l++)a=z[l].pa.Gf.bh,a.no(),a.dt()}};m.yc=function(){if(this.enabled){var a=this.ta,
c;0===this.Jb.xC?c=this.g.Gi/60:(c=this.g.Ao(this.ta),c>1/30&&(c=1/30));this.g.yf>this.Jb.Rr&&0<this.g.Gi&&(this.he.Yg(c,this.Jb.tn,this.Jb.Zm),this.he.Qt(),this.Jb.Rr=this.g.yf);if(this.Vw||a.width!==this.Sr||a.height!==this.Or||a.Kb!==this.Mr||a.aa!==this.Nr)this.Sq(),this.Vw=!1,this.Mr=a.Kb,this.Nr=a.aa;c=a.M!==this.Pr;if(a.x!==this.Qo||a.y!==this.Ro){a.Jc();var d=a.ub.Kj(),e=a.ub.Lj(),f=d-this.Qo,g=e-this.Ro;this.body.rq(b.p(0.02*d,0.02*e));this.body.Ri(b.p(f,g));this.Qr=!0;this.body.hd(!0)}else this.Qr&&
(this.Qr=!1,this.body.Ri(b.p(0,0)),this.body.rq(b.p(0.02*a.ub.Kj(),0.02*a.ub.Lj())));c&&(this.body.Pn(a.M),this.body.hd(!0));d=this.body.u.position;c=d.x/0.02;d=d.y/0.02;e=this.body.Dd();if(c!==a.x||d!==a.y||e!==a.M)if(a.x=c,a.y=d,a.M=e,a.xc(),a.Jc(),c=a.ub.Kj()-a.x,d=a.ub.Lj()-a.y,0!==c||0!==d)a.x-=c,a.y-=d,a.xc();this.Qo=a.x;this.Ro=a.y;this.Pr=a.M}};m.Bo=function(a){return-1!==a&&this.ta.rg?0===a&&this.body?(this.body.u.position.x+this.body.Mi().x)/0.02:this.ta.rg(a,!0):this.ta.x};m.Co=function(a){return-1!==
a&&this.ta.rg?0===a&&this.body?(this.body.u.position.y+this.body.Mi().y)/0.02:this.ta.rg(a,!1):this.ta.y};a.prototype.dq=u("enabled");l.C=new a;c.prototype.bg=function(a,c,d){if(this.enabled){var e=this.Bo(d);d=this.Co(d);this.body.bg(b.p(a,c),b.p(0.02*e,0.02*d))}};c.prototype.yn=function(a){this.enabled&&this.body.yn(va(a))};c.prototype.Il=function(a){this.enabled&&(this.body.Il(va(a)),this.body.hd(!0))};m.Bz=function(a,c,d,e,f){if(this.enabled&&(c=this.g.kj(c))&&c!=this.ta&&c.pa.Gf){c.pa.Gf.bh.mi.add(this.ta);
var g=this.Bo(a);a=this.Co(a);var k;c.rg?(k=c.rg(d,!0),d=c.rg(d,!1)):(k=c.x,d=c.y);var l=g-k,m=a-d,z=new h;z.rc(this.body,c.pa.Gf,b.p(0.02*g,0.02*a),b.p(0.02*k,0.02*d));z.length=0.02*Math.sqrt(l*l+m*m);z.ko=e;z.yo=f;this.te.push(this.he.En(z))}};m.Dz=function(a,c){if(this.enabled){var d=this.g.kj(c);if(d&&d!=this.ta&&d.pa.Gf){d.pa.Gf.bh.mi.add(this.ta);var e=this.Bo(a),f=this.Co(a),g=new k;g.rc(this.body,d.pa.Gf,b.p(0.02*e,0.02*f));this.te.push(this.he.En(g))}}};m.Cz=function(a,c,d,e){if(this.enabled&&
(c=this.g.kj(c))&&c!=this.ta&&c.pa.Gf){c.pa.Gf.bh.mi.add(this.ta);var f=this.Bo(a);a=this.Co(a);var g=new k;g.rc(this.body,c.pa.Gf,b.p(0.02*f,0.02*a));g.gj=!0;g.hs=va(d);g.Et=va(e);this.te.push(this.he.En(g))}};l.r=new c;l.vd=new (q())})();function Ze(a){this.g=a}
(function(){function a(){}var c=Ze.prototype;c.jb=function(a){this.Jb=a;this.g=a.g};c.jb.prototype.xa=q();c.Ta=function(a,b){this.type=a;this.Jb=a.Jb;this.ta=b;this.g=a.g};var b=c.Ta.prototype;b.xa=function(){this.ta.pa.vC=0!==this.V[0]};b.yc=q();a.prototype.dq=function(){return this.ta.pa.vC};c.C=new a;c.r=new (q())})();
function xb(){return[null,null,[[Zb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[E,!1,!0,!0,!0,!0,!0,!0,!0,!1],[$b,!1,!0,!0,!0,!0,!0,!0,!0,!0],[K,!1,!0,!0,!0,!0,!0,!0,!0,!1],[ac,!1,!0,!0,!0,!1,!1,!1,!1,!1],[bc,!1,!0,!0,!0,!0,!0,!0,!0,!0],[O,!0,!1,!1,!1,!1,!1,!1,!1,!1],[dc,!1,!0,!0,!0,!1,!0,!0,!0,!1],[ec,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Wb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Xb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Yb,!1,!0,!0,!0,!1,!1,!1,!1,!1]],[["t0",ec,!1,[],0,0,null,null,[],!1,!1,5348170403011429,[],[]],["t1",O,!1,[],0,0,null,null,
[],!1,!1,5360238741765463,[],[1]],["t2",Xb,!1,[],0,0,null,null,[],!1,!1,0x8126f96920bbe,[],[]],["t3",Wb,!1,[],0,0,null,null,[],!1,!1,432376389717995,[],[0,0,1,1,600,600,1E4,1,5E3,1]],["t4",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9839290381281396,[["images/sprite-sheet0.png",50316,0,0,217,215,1,0.502304,0.502326,[],[],1]]]],[],!1,!1,990576994578758,[]],["t5",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7728311902560766,[["images/sprite2-sheet0.png",219387,0,0,423,400,1,0.501182,0.5,[],[],1]]]],[],!1,
!1,8459144095756363,[]],["t6",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x52e358831d478,[["images/sprite3-sheet0.png",37075,0,0,170,146,1,0.5,0.5,[],[],1]]]],[],!1,!1,0x9e1bfa11ec1c2,[]],["t7",ac,!1,[],0,0,null,null,[],!1,!1,947774147381769,[]],["t8",K,!1,[],0,0,null,null,[],!1,!1,4827030901254223,[]],["t9",Yb,!1,[],0,0,null,null,[],!1,!1,7790987365828534,[]],["t10",Yb,!1,[],0,0,null,null,[],!1,!1,0xf0084904ac6e6,[]],["t11",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xf4410fcb290c7,[["images/sprite4-sheet0.png",
155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,0xcd2e6fd64c286,[]],["t12",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x7be2b9dc2f820,[["images/sprite5-sheet0.png",106253,0,0,600,600,1,0.5,0.5,[],[],1]]]],[],!1,!1,6820121296939562,[]],["t13",E,!1,[],2,0,null,[["Default",5,!1,1,0,!1,0x4493c24e3b3bc,[["images/bed-sheet0.png",39434,0,0,411,346,1,0.501217,0.5,[],[-0.0997565,-0.023121,0.0973235,-0.023121,0.323601,0,0.399026,0.381503,-0.00243354,0.352601,-0.381996,0.358382,-0.501217,0],0]]]],[["Solid",Ze,
9508820613077548],["Physics",Ye,0xfcd797eed9aa9]],!1,!1,0xd8c78e117d846,[]],["t14",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6829428320795143,[["images/sprite7-sheet0.png",39860,0,0,411,346,1,0.501217,0.5,[],[-0.0997565,-0.023121,0.0973235,-0.023121,0.323601,0,0.399026,0.381503,-0.00243354,0.352601,-0.381996,0.358382,-0.501217,0],0]]]],[],!1,!1,9274802680394052,[]],["t15",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0x66ebdd5a5596,[["images/sprite8-sheet0.png",21992,0,0,256,256,1,0.5,0.5,[],[-0.371094,
-0.371094,0,-0.46875,0.371094,-0.371094,0.398438,0,0.398438,0.398438,0,0.460938,-0.398437,0.398438,-0.398437,0],0]]]],[["Physics",Ye,6273409978780376]],!1,!1,5283031269357523,[]],["t16",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6371326504734376,[["images/sprite9-sheet0.png",94904,0,0,281,608,1,0.501779,0.5,[],[],1]]]],[],!1,!1,0x58b0be86f8557,[]],["t17",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0xb1abefbf17fc7,[["images/rope-sheet0.png",85900,0,0,281,608,1,0.501779,0.5,[],[-0.291815,-0.402961,-0.00355837,
0.00493401,-0.22064,-0.167763,-0.00355837,0,0.419929,0.463816,-0.00355837,0.457237,-0.41637,0],0]]]],[["Physics",Ye,8530225048291077]],!1,!1,0xeb504f4b63449,[]],["t18",E,!1,[],2,0,null,[["Default",5,!1,1,0,!1,0xd570860484ed9,[["images/manl2-sheet0.png",74798,0,0,400,400,1,0.5,0.5,[],[-0.215,-0.215,0,-0.4,0.1925,-0.1925,0.17,0,0.21,0.21,0,0.405,-0.0225,0.0225,-0.1,0],0]]]],[["Physics",Ye,5737804917750636],["Solid",Ze,7833806242764104]],!1,!1,7248368786204239,[]],["t19",E,!1,[],0,0,null,[["Default",
5,!1,1,0,!1,9318108852606134,[["images/sprite12-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0xde35f11428bb6,[]],["t20",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,5736133521292731,[["images/blocks-sheet0.png",551275,0,0,590,392,1,0.5,0.5,[],[],1]]]],[["Physics",Ye,0x687070f27b33b]],!1,!1,8185271244456742,[]],["t21",Zb,!1,[],0,0,null,null,[],!1,!1,4506308251954997,[],[]],["t22",K,!1,[],0,0,null,null,[],!1,!1,8149097137069857,[]],["t23",dc,!1,[],0,0,null,null,[],!1,!1,7246932446734744,[]],
["t24",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7237595559109563,[["images/sprite4-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,0x8638de15329e1,[]],["t25",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,9826465874912726,[["images/replayimg-sheet0.png",2128,0,0,183,66,1,0.502732,0.5,[],[-0.497268,-0.484848,-0.00546423,-0.5,0.491804,-0.484848,0.491804,0.484848,-0.00546423,0.5,-0.497268,0.484848],0]]]],[["Flash",fc,7013191320799287]],!1,!1,0x3cee987ef5e29,[]],["t26",Yb,!1,[],0,0,null,null,[],
!1,!1,0x648e41a99ab2d,[]],["t27",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6670458253435076,[["images/quit-sheet0.png",7815,0,0,91,40,1,0.505495,0.5,[],[],1]]]],[],!1,!1,8461922740301167,[]],["t28",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6988142836785479,[["images/sprite12-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,8778071708816892,[]],["t29",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,4767160942439896,[["images/replay1-sheet0.png",10021,0,0,121,40,1,0.504132,0.5,[],[],1]]]],[],!1,!1,
7305226564942774,[]],["t30",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,607695777833111,[["images/next1-sheet0.png",6869,0,0,97,40,1,0.505155,0.5,[],[],1]]]],[],!1,!1,9783723577662708,[]],["t31",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8697490866793993,[["images/quit1-sheet0.png",6604,0,0,91,40,1,0.505495,0.5,[],[],1]]]],[],!1,!1,5855509431807313,[]],["t32",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,637059151223297,[["images/sprite6-sheet0.png",55965,0,0,459,294,1,0.501089,0.5,[],[-0.222222,-0.064626,
0.224401,-0.071429,0.422658,0,0.46841,0.452381,-0.00217834,0.493197,-0.492375,0.486395,-0.501089,0],0]]]],[],!1,!1,0x81c1d87f4c9f7,[]],["t33",E,!1,[],2,0,null,[["Default",5,!1,1,0,!1,4927527890255636,[["images/bedl2-sheet0.png",39436,0,0,411,346,1,0.501217,0.5,[],[-0.0997565,-0.023121,0.0973235,-0.023121,0.323601,0,0.399026,0.381503,-0.00243354,0.352601,-0.381996,0.358382,-0.476886,0],0]]]],[["Solid",Ze,0x87a1f36a4d997],["Physics",Ye,4866446414945665]],!1,!1,9339275271383032,[]],["t34",E,!1,[],2,
0,null,[["Default",5,!1,1,0,!1,8620607651994485,[["images/blocks-sheet0.png",551275,0,0,590,392,1,0.5,0.5,[],[],1]]]],[["Physics",Ye,0x5e22c6540e541],["Solid",Ze,8556541279913119]],!1,!1,0x9fadb84e1c117,[]],["t35",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7587283517457788,[["images/sprite15-sheet0.png",76544,0,0,400,400,1,0.5,0.5,[],[-0.215,-0.215,0,-0.4,0.1925,-0.1925,0.17,0,0.21,0.21,0,0.405,-0.0225,0.0225,-0.1,0],0]]]],[],!1,!1,565009985426368,[]],["t36",K,!1,[],0,0,null,null,[],!1,!1,8638682144604633,
[]],["t37",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0x53f239c1299e3,[["images/sprite11-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[["Physics",Ye,8101774957743339]],!1,!1,0x894122d8922bc,[]],["t38",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,8274406108557,[["images/sprite13-sheet0.png",32469,0,0,273,211,1,0.501832,0.50237,[],[-0.223443,-0.14218,-0.00366303,-0.227488,0.223443,-0.146919,0.234432,-0.00473931,0.267399,0.199052,-0.00366303,0.374408,-0.260073,0.184834,-0.245421,-0.00473931],0]]]],[["Physics",
Ye,9668342660983008]],!1,!1,5614277193019635,[]],["t39",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x641d48f0e6815,[["images/sprite16-sheet0.png",13298,0,0,188,38,1,0.5,0.5,[],[],1]]]],[],!1,!1,9342848010815720,[]],["t40",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6382007172106599,[["images/sprite17-sheet0.png",5988,0,0,90,38,1,0.5,0.5,[],[],1]]]],[],!1,!1,0x6bb9883b5c1b9,[]],["t41",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0xe290ceaa6b05b,[["images/sprite18-sheet0.png",35209,0,0,243,207,1,0.502058,0.502415,
[],[-0.205761,-0.154589,-0.00411522,-0.236715,0.213992,-0.169082,0.27572,-0.00483093,0.230453,0.183575,-0.00411522,0.371981,-0.218107,0.164251,-0.255144,-0.00483093],0]]]],[["Physics",Ye,0x54664fba4ea2d]],!1,!1,387285292671342,[]],["t42",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,342096643724344,[["images/sprite19-sheet0.png",625405,0,0,724,869,1,0.5,0.500575,[],[-0.415746,-0.43038,0,-0.500575,0.411602,-0.426928,0.254144,-0.00115073,0.151934,0.209436,0,0.46145,-0.277624,-0.00115073],0]]]],[["Physics",
Ye,8746107371763142]],!1,!1,9959569226106872,[]],["t43",E,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0xa707b91a6259f,[["images/sprite20-sheet0.png",443878,0,0,960,720,1,0.5,0.5,[],[-0.159375,-0.0458333,0,-0.415278,0.15625,-0.0416667,0.167708,0,0.182292,0.0763889,0,0.422222,-0.184375,0.0791667,-0.173958,0],0]]]],[["Physics",Ye,9349938649462748]],!1,!1,0xc1a982f18e4bb,[]],["t44",bc,!1,[],0,0,["images/tiledbackground.png",141660,1],null,[],!1,!1,716733261277111,[]],["t45",E,!1,[],0,0,null,[["Default",5,
!1,1,0,!1,9866255427393116,[["images/sprite21-sheet0.png",141660,0,0,960,755,1,0.5,0.500662,[],[],1]]]],[],!1,!1,4983577905355907,[]],["t46",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x628a5b63779f7,[["images/sprite22-sheet0.png",255007,0,0,1E3,500,1,0.5,0.5,[],[],1]]]],[],!1,!1,4526475200124859,[]],["t47",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x3b15eabb6a36f,[["images/sprite23-sheet0.png",307897,0,0,960,599,1,0.5,0.500835,[],[],1]]]],[],!1,!1,8739214470882412,[]],["t48",K,!1,[],0,0,null,null,[],
!1,!1,8105046690521457,[]],["t49",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x96028316dca80,[["images/sprite24-sheet0.png",572851,0,0,960,720,1,0.5,0.5,[],[],1]]]],[],!1,!1,6064584175926781,[]],["t50",$b,!1,[],0,0,["images/spritefont.png",1427,3],null,[],!1,!1,0x6620f7ea79bca,[]],["t51",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x3b8ccb06e21dd,[["images/sprite25-sheet0.png",62385,0,0,284,177,1,0.5,0.502825,[],[],1]]]],[],!1,!1,7650157264675949,[]],["t52",K,!1,[],0,0,null,null,[],!1,!1,7192513179697793,
[]],["t53",K,!1,[],0,0,null,null,[],!1,!1,8505592178370877,[]],["t54",Yb,!1,[],0,0,null,null,[],!1,!1,7783033648699564,[]],["t55",E,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8149855482406412,[["images/sprite26-sheet0.png",21463,0,0,600,296,1,0.5,0.5,[],[-0.453333,-0.405405,0,-0.445946,0.453333,-0.405405,0.443333,0.385135,0,0.405405,-0.443333,0.385135],0]]]],[],!1,!1,7651983694649299,[]]],[],[["startpage",1280,1024,!1,"home-event",0xe38cfd1e7d65c,[["Layer 0",0,5219311130234725,!0,[255,255,255],!1,1,1,
1,!1,1,0,0,[[[399,328,0,535,312,0,0,1,0.501182,0.5,0,0,[]],5,4,[],[],[0,"Default",0,1]],[[69,65,0,138,131,0,0,1,0.5,0.5,0,0,[]],6,5,[],[],[0,"Default",0,1]],[[221,19,0,401,101,0,0,1,0,0,0,0,[]],8,6,[],[],["GRADE F",0,"bold 48pt Pristina","rgb(255,87,128)",0,0,0,0,0]],[[169,243,0,188,38,0,0,1,0.5,0.5,0,0,[]],39,7,[],[],[0,"Default",0,1]],[[161.5,195,0,100,39,0,0,1,0.5,0.5,0,0,[]],40,8,[],[],[0,"Default",0,1]]],[]]],[],[]],["level1",1280,1024,!1,"level1event",9661619607161016,[["Layer 0",1,7545059822251337,
!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[271.015,412,0,492,177,0,0,1,0.501217,0.5,0,0,[]],13,9,[],[[1],[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[98,66,0,122,265,0,0,1,0.501779,0.5,0,0,[]],17,19,[],[[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[201,137,0,469,213,0,0,1,0.5,0.5,0,0,[]],18,20,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[125.5,379,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,10,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[126.5,323,0,68,39,0,0,1,0.5,0.5,0,0,[]],
20,11,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[278.5,377,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,12,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[357.5,377,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,13,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[358.5,323,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,14,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[204.5,323,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,15,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[279.5,322,0,68,39,0,0,1,0.5,0.5,0,0,
[]],20,16,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[202.5,377,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,17,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[242,271,0,292,39,0,0,1,0.5,0.5,0,0,[]],20,18,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[440,36,0,297,55,0,0,1,0.5,0.5,0,0,[]],22,22,[],[],["GAME OVER",1,"bold 28pt Buxton Sketch","rgb(255,128,0)",1,1,1,0,0]],[[521,82,0,107,40,0,0,1,0.505495,0.5,0,0,[]],27,23,[],[],[1,"Default",0,1]],[[386,83,0,121,40,0,0,1,0.504132,0.5,0,
0,[]],29,25,[],[],[1,"Default",0,1]],[[388,128,0,97,40,0,0,1,0.505155,0.5,0,0,[]],30,24,[],[],[1,"Default",0,1]],[[519,128,0,91,36,0,0,1,0.505495,0.5,0,0,[]],31,26,[],[],[1,"Default",0,1]]],[]]],[],[]],["level2",1280,1024,!1,"level2event",6305598191597806,[["Layer 0",0,0x9cbcc35bcc7e9,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[309.951,393,0,503,221,0,0,1,0.501217,0.5,0,0,[]],33,27,[],[[1],[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[158,371,0,156,41,0,0,1,0.5,0.5,0,0,[]],34,28,[],[[0,0,0,1,0.5,0.2,
0,0.01,0,1],[1]],[0,"Default",0,1]],[[275,370.5,0,56,40,0,0,1,0.5,0.5,0,0,[]],34,29,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[344,323,0,197,41,0,0,1,0.5,0.5,0,0,[]],34,30,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[142,271,0,65,52,0,0,1,0.5,0.5,0,0,[]],34,31,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[392,370,0,156,41,0,0,1,0.5,0.5,0,0,[]],34,32,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[156,325,0,128,41,0,0,1,0.5,0.5,0,0,[]],34,33,[],
[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[272,269,0,173,52,0,0,1,0.5,0.5,0,0,[]],34,34,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[403,268,0,65,52,0,0,1,0.5,0.5,0,0,[]],34,35,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[224,147,0,469,213,0,0,1,0.5,0.5,0,0,[]],18,36,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[107,57,0,122,265,0,0,1,0.501779,0.5,0,0,[]],17,38,[],[[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[481,54,0,297,55,0,0,1,0.5,0.5,
0,0,[]],22,37,[],[],["GAME OVER",1,"bold 28pt Buxton Sketch","rgb(255,128,0)",1,1,1,0,0]],[[423,107,0,121,40,0,0,1,0.504132,0.5,0,0,[]],29,39,[],[],[1,"Default",0,1]],[[561,103,0,107,40,0,0,1,0.505495,0.5,0,0,[]],27,40,[],[],[1,"Default",0,1]],[[426,168,0,97,40,0,0,1,0.505155,0.5,0,0,[]],30,41,[],[],[1,"Default",0,1]],[[558,166,0,91,36,0,0,1,0.505495,0.5,0,0,[]],31,42,[],[],[1,"Default",0,1]]],[]]],[],[]],["level3",1280,1024,!1,"level3event",8770416859041233,[["Layer 0",0,0x71dc1eee3c5ad,!0,[255,
255,255],!1,1,1,1,!1,1,0,0,[[[323,414,0,492,177,0,0,1,0.501217,0.5,0,0,[]],13,43,[],[[1],[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[150,68,0,122,265,0,0,1,0.501779,0.5,0,0,[]],17,44,[],[[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[252,158,0,469,213,0,0,1,0.5,0.5,0,0,[]],18,45,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[151,389,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,46,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[219,345,0,195,39,0,0,1,0.5,0.5,0,0,[]],20,47,[],[[0,
0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[322,388,0,112,39,0,0,1,0.5,0.5,0,0,[]],20,48,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[419,388,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,49,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[397,344,0,139,39,0,0,1,0.5,0.5,0,0,[]],20,50,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[410,299,0,93,39,0,0,1,0.5,0.5,0,0,[]],20,51,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[322,299,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,52,[],[[0,0,0,
1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[226,388,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,53,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[201,300,0,160,39,0,0,1,0.5,0.5,0,0,[]],20,54,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[492,38,0,297,55,0,0,1,0.5,0.5,0,0,[]],22,55,[],[],["GAME OVER",1,"bold 28pt Buxton Sketch","rgb(255,128,0)",1,1,1,0,0]],[[573,84,0,107,40,0,0,1,0.505495,0.5,0,0,[]],27,56,[],[],[1,"Default",0,1]],[[436,85,0,121,40,0,0,1,0.504132,0.5,0,0,[]],29,57,[],[],[1,"Default",
0,1]],[[440,130,0,97,40,0,0,1,0.505155,0.5,0,0,[]],30,58,[],[],[1,"Default",0,1]],[[571,130,0,91,36,0,0,1,0.505495,0.5,0,0,[]],31,59,[],[],[1,"Default",0,1]],[[230,261.5,0,219,31,0,0,1,0.5,0.5,0,0,[]],20,60,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[395,259,0,89,28,0,0,1,0.5,0.5,0,0,[]],20,61,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]]],[]]],[],[]],["level4",1280,1024,!1,"level4event",0x63cda4431d2d4,[["Layer 0",0,0x52e0290025e62,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[324,411,
0,508,177,0,0,1,0.501217,0.5,0,0,[]],13,62,[],[[1],[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[141,65,0,122,265,0,0,1,0.501779,0.5,0,0,[]],17,63,[],[[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[228,165,0,469,213,0,0,1,0.5,0.5,0,0,[]],18,64,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[169,378,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,65,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[170,322,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,66,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",
0,1]],[[422.5,376,0,111,39,0,0,1,0.5,0.5,0,0,[]],20,68,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[383,324,0,46,39,0,0,1,0.5,0.5,0,0,[]],20,69,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[261,323,0,94,39,0,0,1,0.5,0.5,0,0,[]],20,70,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[306,377,0,106,39,0,0,1,0.5,0.5,0,0,[]],20,72,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[285,273,0,292,39,0,0,1,0.5,0.5,0,0,[]],20,73,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,
1]],[[483,35,0,297,55,0,0,1,0.5,0.5,0,0,[]],22,74,[],[],["GAME OVER",1,"bold 28pt Buxton Sketch","rgb(255,128,0)",1,1,1,0,0]],[[564,81,0,107,40,0,0,1,0.505495,0.5,0,0,[]],27,75,[],[],[1,"Default",0,1]],[[427,82,0,121,40,0,0,1,0.504132,0.5,0,0,[]],29,76,[],[],[1,"Default",0,1]],[[431,127,0,97,40,0,0,1,0.505155,0.5,0,0,[]],30,77,[],[],[1,"Default",0,1]],[[562,127,0,91,36,0,0,1,0.505495,0.5,0,0,[]],31,78,[],[],[1,"Default",0,1]],[[440,323,0,42,39,0,0,1,0.5,0.5,0,0,[]],20,67,[],[[0,0,0,1,0.5,0.2,0,0.01,
0,1]],[0,"Default",0,1]],[[333,319,0,79,63,0,0,1,0.501832,0.50237,0,0,[]],38,71,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[227,375,0,75,63,0,0,1,0.501832,0.50237,0,0,[]],38,79,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]]],[]]],[],[]],["level5",1280,1024,!1,"level5event",5991926005494881,[["Layer 0",0,8716814631603896,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[295.511,413,0,517,177,0,0,1,0.501217,0.5,0,0,[]],13,80,[],[[1],[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[97,21,0,122,
265,0,0,1,0.501779,0.5,0,0,[]],17,81,[],[[1,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[258,140,0,469,213,0,0,1,0.5,0.5,0,0,[]],18,82,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[1]],[0,"Default",0,1]],[[109,388,0,68,39,0,0,1,0.5,0.5,0,0,[]],20,83,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[142,341,0,104,39,0,0,1,0.5,0.5,0,0,[]],20,84,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[400.5,387,0,128,39,0,0,1,0.5,0.5,0,0,[]],20,85,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[299,
342,0,112,39,0,0,1,0.5,0.5,0,0,[]],20,86,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[276,387,0,94,39,0,0,1,0.5,0.5,0,0,[]],20,87,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[186,388,0,68,37,0,0,1,0.5,0.5,0,0,[]],20,88,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[124,296,0,54,39,0,0,1,0.5,0.5,0,0,[]],20,89,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[450,37,0,297,55,0,0,1,0.5,0.5,0,0,[]],22,90,[],[],["GAME OVER",1,"bold 28pt Buxton Sketch","rgb(255,128,0)",
1,1,1,0,0]],[[531,83,0,107,40,0,0,1,0.505495,0.5,0,0,[]],27,91,[],[],[1,"Default",0,1]],[[394,84,0,121,40,0,0,1,0.504132,0.5,0,0,[]],29,92,[],[],[1,"Default",0,1]],[[398,129,0,97,40,0,0,1,0.505155,0.5,0,0,[]],30,93,[],[],[1,"Default",0,1]],[[529,129,0,91,36,0,0,1,0.505495,0.5,0,0,[]],31,94,[],[],[1,"Default",0,1]],[[433.5,343,0,51,39,0,0,1,0.5,0.5,0,0,[]],20,95,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[218,338,0,79,63,0,0,1,0.501832,0.50237,0,0,[]],38,96,[],[[0,0,0,1,0.5,0.2,0,0.01,0,
1]],[0,"Default",0,1]],[[250,296,0,122,39,0,0,1,0.5,0.5,0,0,[]],20,98,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[426,296,0,62,39,0,0,1,0.5,0.5,0,0,[]],20,99,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[350.5,296,0,67,39,0,0,1,0.5,0.5,0,0,[]],20,100,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[379,344,0,83,60,0,0,1,0.502058,0.502415,0,0,[]],41,97,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[220,248,0,45,51,0,0,1,0.5,0.500575,0,0,[]],42,101,[],[[0,0,0,1,0.5,
0.2,0,0.01,0,1]],[0,"Default",0,1]],[[169,292,0,76,50,0,0,1,0.5,0.5,0,0,[]],43,102,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[149.5,252,0,104,39,0,0,1,0.5,0.5,0,0,[]],20,103,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[301.5,253,0,124,39,0,0,1,0.5,0.5,0,0,[]],20,104,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[423,252,0,104,39,0,0,1,0.5,0.5,0,0,[]],20,105,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]]],[]]],[],[]],["last",1280,1024,!1,"lastevent",0x7f23aea1b9373,
[["Layer 0",0,314864195770869,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[320.5,241.5,0,642,479,0,0,1,0.5,0.5,0,0,[]],46,106,[],[],[0,"Default",0,1]],[[325.571,108,0,104,36,0,0,1,0.505495,0.5,0,0,[]],31,107,[],[],[1,"Default",0,1]]],[]]],[],[]],["instructions",1280,1024,!1,"instructionsevent",8339706639345196,[["Layer 0",0,7429025988917732,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[319,240,0,638,478,0,0,1,0.5,0.502825,0,0,[]],51,108,[],[],[0,"Default",0,1]],[[212,20,0,265,36,0,0,1,0,0,0,0,[]],52,109,[],[],["INSTRUCTIONS",
0,"bold 18pt Times New Roman","rgb(255,255,255)",0,0,0,0,0]],[[13,65,0,612,300,0,0,1,0,0,0,0,[]],53,110,[],[],["Tinku failed in an exam.So he plans to commit suicide.As committing suicide is a sin the player needs to save him by making him fall on the bed.So destroy the blocks by clicking them and if you find any food items collect them. ",0,"20pt Times New Roman","rgb(255,255,255)",1,1,0,0,0]],[[545,36,0,151,44,0,0,1,0.5,0.5,0,0,[]],55,112,[],[],[0,"Default",0,1]]],[]]],[],[]]],[["home-event",[[0,
null,!1,null,9107301118986104,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0x7e11dedd437b2,!1,[[4,40]]]],[[-1,D.prototype.r.Xc,null,9183589781099234,!1,[[1,[2,"level1"]]]]]],[0,null,!1,null,6744203696763192,[[1,O.prototype.C.ib,null,1,!1,!1,!1,9835703484298344,!1,[[4,39]]]],[[-1,D.prototype.r.Xc,null,9178673763892716,!1,[[1,[2,"instructions"]]]]]]]],["level1event",[[1,"next",0,0,!1,!1,5545154156169275,!1],[1,"stop",0,0,!1,!1,6558396308975879,!1],[1,"start",0,0,!1,!1,0x48b95a463381b,!1],[0,null,!1,null,6824054596659513,
[[1,O.prototype.C.ib,null,1,!1,!1,!1,7491004972917395,!1,[[4,20]]]],[[20,E.prototype.r.Qb,null,5709154113645043,!1]]],[0,null,!1,null,4952594394079421,[[18,E.prototype.C.zl,null,0,!1,!1,!1,0x46f364c91b1f7,!1]],[[-1,D.prototype.r.bf,null,5944368190188921,!1,[[0,[1,2]]]],[22,K.prototype.r.X,null,0x86504f44fb725,!1,[[3,1]]],[29,E.prototype.r.X,null,5514166553654474,!1,[[3,1]]],[27,E.prototype.r.X,null,0x4203b50ca951d,!1,[[3,1]]],[30,E.prototype.r.X,null,5754753796088906,!1,[[3,0]]],[31,E.prototype.r.X,
null,0xca88e597fd502,!1,[[3,0]]],[-1,D.prototype.r.ac,null,0x8cb803cede2f9,!1,[[11,"start"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,5522341032446581,!1,[[11,"stop"],[7,[0,10]]]]]],[0,null,!1,null,472913496388024,[[1,O.prototype.C.ib,null,1,!1,!1,!1,8984859499884484,!1,[[4,29]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,8036495010013933,!1,[[11,"start"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Hl,null,5635697171417875,!1]]],[0,null,!1,null,9199149763258964,[[18,E.prototype.C.$e,null,0,!1,!1,!0,5708138079142869,
!1,[[4,13]]]],[[-1,D.prototype.r.bf,null,8359259320830402,!1,[[0,[1,2]]]],[22,K.prototype.r.hg,null,9337612579670648,!1,[[7,[2,"CONGRATULATIONS"]]]],[22,K.prototype.r.X,null,7898641320002185,!1,[[3,1]]],[30,E.prototype.r.X,null,0xec6b027c01c7e,!1,[[3,1]]],[31,E.prototype.r.X,null,482575480214025,!1,[[3,1]]],[29,E.prototype.r.X,null,5402962526191392,!1,[[3,0]]],[27,E.prototype.r.X,null,8578769165510152,!1,[[3,0]]],[-1,D.prototype.r.ac,null,9989920817530032,!1,[[11,"next"],[7,[0,10]]]],[-1,D.prototype.r.ac,
null,8406499582052954,!1,[[11,"stop"],[7,[0,10]]]]]],[0,null,!1,null,0xfbe8271f73beb,[[1,O.prototype.C.ib,null,1,!1,!1,!1,6761930704731713,!1,[[4,27]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,4569007342827788,!1,[[11,"stop"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0x9abb3b3692acc,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,0xf07e7dd5b5120,[[1,O.prototype.C.ib,null,1,!1,!1,!1,5658926045146852,!1,[[4,31]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xa3b1c14bb44ba,!1,[[11,"stop"],[8,0],[7,[0,10]]]]],
[[-1,D.prototype.r.Xc,null,960118532137739,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,0x5c7ff14831512,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0x79170bcd93460,!1,[[4,30]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,7399363737117134,!1,[[11,"next"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0x4cbf540658c4c,!1,[[1,[2,"level2"]]]]]]]],["level2event",[[1,"next2",0,0,!1,!1,7720708924350725,!1],[1,"stop2",0,0,!1,!1,0x95b1fe688fa99,!1],[1,"start2",0,0,!1,!1,8064573409230254,!1],[0,null,!1,null,0x44316a6bb1642,
[[1,O.prototype.C.ib,null,1,!1,!1,!1,0xf299a4870aa58,!1,[[4,34]]]],[[34,E.prototype.r.Qb,null,0xa35d419496479,!1]]],[0,null,!1,null,7041593458125268,[[18,E.prototype.C.zl,null,0,!1,!1,!1,0x392865786ad75,!1]],[[-1,D.prototype.r.bf,null,5967518395066833,!1,[[0,[1,2]]]],[22,K.prototype.r.X,null,0x3feaec835ad42,!1,[[3,1]]],[29,E.prototype.r.X,null,0x5835bd8fe366f,!1,[[3,1]]],[27,E.prototype.r.X,null,0x6dd4f965c37fe,!1,[[3,1]]],[30,E.prototype.r.X,null,9271386652117336,!1,[[3,0]]],[31,E.prototype.r.X,
null,9865634865036100,!1,[[3,0]]],[-1,D.prototype.r.ac,null,7285480730827313,!1,[[11,"start2"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,5722298055090927,!1,[[11,"stop2"],[7,[0,10]]]]]],[0,null,!1,null,5666052069187312,[[1,O.prototype.C.ib,null,1,!1,!1,!1,5838155405170959,!1,[[4,29]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,6875180708341129,!1,[[11,"start2"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Hl,null,9612872597003192,!1]]],[0,null,!1,null,6763694717053217,[[18,E.prototype.C.$e,null,0,!1,!1,!0,0x4eb2c1c30ed8f,
!1,[[4,33]]]],[[-1,D.prototype.r.bf,null,6794804042166287,!1,[[0,[1,2]]]],[22,K.prototype.r.hg,null,6209214818459026,!1,[[7,[2,"CONGRATULATIONS"]]]],[22,K.prototype.r.X,null,923125814288275,!1,[[3,1]]],[30,E.prototype.r.X,null,4678667257384518,!1,[[3,1]]],[31,E.prototype.r.X,null,0xb7f3d75fb2c16,!1,[[3,1]]],[29,E.prototype.r.X,null,880782421311541,!1,[[3,0]]],[27,E.prototype.r.X,null,6042490334744204,!1,[[3,0]]],[-1,D.prototype.r.ac,null,9078916915545606,!1,[[11,"next2"],[7,[0,10]]]],[-1,D.prototype.r.ac,
null,0xe9eeb2fa72e33,!1,[[11,"stop2"],[7,[0,10]]]]]],[0,null,!1,null,0xc846c53feabb8,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0xef4d1fd3ed547,!1,[[4,27]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,753791846466064,!1,[[11,"stop2"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0x6842d05e1d3c0,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,9250847143403482,[[1,O.prototype.C.ib,null,1,!1,!1,!1,6628285809909296,!1,[[4,31]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0x542bd3545f219,!1,[[11,"stop2"],[8,0],[7,[0,10]]]]],
[[-1,D.prototype.r.Xc,null,0x4157f8408ccfc,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,673384444869695,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0x799dfa377fb0f,!1,[[4,30]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,704785427986912,!1,[[11,"next2"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,5630745600672906,!1,[[1,[2,"level3"]]]]]]]],["level3event",[[1,"next3",0,0,!1,!1,8501408956240094,!1],[1,"stop3",0,0,!1,!1,7103791658513249,!1],[1,"start3",0,0,!1,!1,0x7ffb4852570f8,!1],[0,null,!1,null,7228953023139852,
[[1,O.prototype.C.ib,null,1,!1,!1,!1,7010310720562052,!1,[[4,20]]]],[[20,E.prototype.r.Qb,null,4980565433461827,!1]]],[0,null,!1,null,0x985292d674e23,[[18,E.prototype.C.zl,null,0,!1,!1,!1,0x4d5cbbd82ba5f,!1]],[[-1,D.prototype.r.bf,null,6860754462004038,!1,[[0,[1,2]]]],[22,K.prototype.r.X,null,0x444bfda4aac69,!1,[[3,1]]],[29,E.prototype.r.X,null,0x6a2cb55c01e9c,!1,[[3,1]]],[27,E.prototype.r.X,null,9010317049154372,!1,[[3,1]]],[30,E.prototype.r.X,null,4924760920461118,!1,[[3,0]]],[31,E.prototype.r.X,
null,0xc02595406bf79,!1,[[3,0]]],[-1,D.prototype.r.ac,null,9341580360705592,!1,[[11,"start3"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,6771678442757412,!1,[[11,"stop3"],[7,[0,10]]]]]],[0,null,!1,null,9135890892233960,[[1,O.prototype.C.ib,null,1,!1,!1,!1,8561379883843374,!1,[[4,29]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xead568b5a1009,!1,[[11,"start3"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Hl,null,0x62d89ba810a3b,!1]]],[0,null,!1,null,0x39ac1c7af7ced,[[18,E.prototype.C.$e,null,0,!1,!1,!0,0x7615050031339,
!1,[[4,13]]]],[[-1,D.prototype.r.bf,null,74987333195611,!1,[[0,[1,2]]]],[22,K.prototype.r.hg,null,0x3b2aeccfc3e2d,!1,[[7,[2,"CONGRATULATIONS"]]]],[22,K.prototype.r.X,null,0xe85052a4ec55e,!1,[[3,1]]],[30,E.prototype.r.X,null,7179465355371985,!1,[[3,1]]],[31,E.prototype.r.X,null,0xf86defd6ba90f,!1,[[3,1]]],[29,E.prototype.r.X,null,8691554339783167,!1,[[3,0]]],[27,E.prototype.r.X,null,8789925075491717,!1,[[3,0]]],[-1,D.prototype.r.ac,null,6348570678213529,!1,[[11,"next3"],[7,[0,10]]]],[-1,D.prototype.r.ac,
null,0x93c610436ac3f,!1,[[11,"stop3"],[7,[0,10]]]]]],[0,null,!1,null,0x76aa907d8f87,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0xf93cdac19fdb,!1,[[4,27]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0x95226f9be6bb1,!1,[[11,"stop3"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,9872721292438304,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,0xcb777e51e04ae,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0x9b064616eab06,!1,[[4,31]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0x665e83e2a8973,!1,[[11,"stop3"],[8,0],[7,[0,10]]]]],[[-1,
D.prototype.r.Xc,null,5161306539408384,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,0x92b414002629b,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0x40bca79248ee1,!1,[[4,30]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,7319974984370528,!1,[[11,"next3"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0x679531700521a,!1,[[1,[2,"level4"]]]]]]]],["level4event",[[1,"level4count",0,2,!1,!1,6758044202424827,!1],[1,"next4",0,0,!1,!1,0x63ccea086da3a,!1],[1,"stop4",0,0,!1,!1,7098097218130387,!1],[1,"start4",0,0,!1,!1,6285265387349415,
!1],[0,null,!1,null,9871228645750608,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0xa26d2729415db,!1,[[4,20]]]],[[20,E.prototype.r.Qb,null,5302878160665651,!1]]],[0,null,!1,null,0xe5ce667240739,[[18,E.prototype.C.zl,null,0,!1,!1,!1,926958590834698,!1]],[[-1,D.prototype.r.bf,null,9417418882585024,!1,[[0,[1,2]]]],[22,K.prototype.r.X,null,8004534525523442,!1,[[3,1]]],[29,E.prototype.r.X,null,8372551817495196,!1,[[3,1]]],[27,E.prototype.r.X,null,0xd8ce3af8a5cad,!1,[[3,1]]],[30,E.prototype.r.X,null,7214408229545032,
!1,[[3,0]]],[31,E.prototype.r.X,null,0x4fa5343bde08f,!1,[[3,0]]],[-1,D.prototype.r.ac,null,0xb7607b5332ad1,!1,[[11,"start4"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,5455087124768164,!1,[[11,"stop4"],[7,[0,10]]]]]],[0,null,!1,null,7583529329218008,[[18,E.prototype.C.$e,null,0,!1,!1,!0,6031148368690008,!1,[[4,13]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,9734570297741964,!1,[[11,"level4count"],[8,4],[7,[0,0]]]]],[[-1,D.prototype.r.bf,null,5859210476640564,!1,[[0,[1,2]]]],[22,K.prototype.r.hg,null,0x4022e054ef35f,
!1,[[7,[2,"GAME OVER"]]]],[22,K.prototype.r.X,null,0x59849a467c69b,!1,[[3,1]]],[30,E.prototype.r.X,null,6648191460388534,!1,[[3,0]]],[31,E.prototype.r.X,null,9997402114622476,!1,[[3,0]]],[29,E.prototype.r.X,null,0xb1c6f5a81304f,!1,[[3,1]]],[27,E.prototype.r.X,null,8231925503704874,!1,[[3,1]]],[-1,D.prototype.r.ac,null,8967461085917441,!1,[[11,"start4"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,0x7e828a5cdf087,!1,[[11,"stop4"],[7,[0,10]]]]]],[0,null,!1,null,408880335165945,[[18,E.prototype.C.$e,null,
0,!1,!1,!0,5050672617920033,!1,[[4,38]]]],[[-1,D.prototype.r.Ll,null,5936174986400863,!1,[[11,"level4count"],[7,[0,1]]]],[38,E.prototype.r.Qb,null,0xce587f2e6ec46,!1]]],[0,null,!1,null,0xf0d515271fce5,[[18,E.prototype.C.$e,null,0,!1,!1,!0,8656691477346549,!1,[[4,13]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xe6515ede3a2ad,!1,[[11,"level4count"],[8,0],[7,[0,0]]]]],[[-1,D.prototype.r.bf,null,4833708134250718,!1,[[0,[1,2]]]],[22,K.prototype.r.hg,null,8598374918490457,!1,[[7,[2,"CONGRATULATIONS"]]]],[22,
K.prototype.r.X,null,0xf8cbb7ffe2bcd,!1,[[3,1]]],[30,E.prototype.r.X,null,7605568824799434,!1,[[3,1]]],[31,E.prototype.r.X,null,0xde207ce71c810,!1,[[3,1]]],[29,E.prototype.r.X,null,0xb907d522c0a95,!1,[[3,0]]],[27,E.prototype.r.X,null,5388969071689765,!1,[[3,0]]],[-1,D.prototype.r.ac,null,0x8f6139b770d29,!1,[[11,"next4"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,0x39f11373ff243,!1,[[11,"stop4"],[7,[0,10]]]]]],[0,null,!1,null,7683349139030513,[[1,O.prototype.C.ib,null,1,!1,!1,!1,963377000372067,!1,[[4,
27]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,9402724041662264,!1,[[11,"stop4"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,8675553762523919,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,0x76465dcecdb6c,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0x8a1c9365ab90c,!1,[[4,31]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xe76398ab8f938,!1,[[11,"stop4"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0xedf38a972ba23,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,7004407074330648,[[1,O.prototype.C.ib,null,1,!1,!1,!1,6681586902270193,
!1,[[4,30]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,7656277586977356,!1,[[11,"next4"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0x46356ed6a1b1f,!1,[[1,[2,"level5"]]]]]],[0,null,!1,null,0xed4350bcffe12,[[1,O.prototype.C.ib,null,1,!1,!1,!1,0xd2c7635f4825e,!1,[[4,29]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,7586360194891641,!1,[[11,"start4"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Hl,null,825187873400528,!1]]]]],["level5event",[[1,"level5count2",0,4,!1,!1,4896012979199794,!1],[1,"next5",0,0,!1,!1,8762179147593477,
!1],[1,"stop5",0,0,!1,!1,0xa51d99aaed5f1,!1],[1,"start5",0,0,!1,!1,7033844401444163,!1],[0,null,!1,null,4610892060910295,[[1,O.prototype.C.ib,null,1,!1,!1,!1,7893382935084149,!1,[[4,20]]]],[[20,E.prototype.r.Qb,null,7697690736900541,!1]]],[0,null,!1,null,0xf8155cca4ef6b,[[18,E.prototype.C.zl,null,0,!1,!1,!1,7480696609235394,!1]],[[-1,D.prototype.r.bf,null,0xba95b53e46a8c,!1,[[0,[1,2]]]],[22,K.prototype.r.X,null,6625347121403392,!1,[[3,1]]],[29,E.prototype.r.X,null,0xa91be7cb75e46,!1,[[3,1]]],[27,
E.prototype.r.X,null,0x482875867c66c,!1,[[3,1]]],[30,E.prototype.r.X,null,5440374607236252,!1,[[3,0]]],[31,E.prototype.r.X,null,0x5cdaae68ce00e,!1,[[3,0]]],[-1,D.prototype.r.ac,null,0x5407346d0f4fd,!1,[[11,"start5"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,8438546381205198,!1,[[11,"stop5"],[7,[0,10]]]]]],[0,null,!1,null,8275815076738142,[[18,E.prototype.C.$e,null,0,!1,!1,!0,0xeddcef307497f,!1,[[4,13]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,4864137660813726,!1,[[11,"level5count2"],[8,4],[7,[0,0]]]]],
[[-1,D.prototype.r.bf,null,0x6fcf7e164bd16,!1,[[0,[1,2]]]],[22,K.prototype.r.hg,null,6739079420507333,!1,[[7,[2,"GAME OVER"]]]],[22,K.prototype.r.X,null,7496429465143415,!1,[[3,1]]],[30,E.prototype.r.X,null,7769208197461695,!1,[[3,0]]],[31,E.prototype.r.X,null,7147387496456262,!1,[[3,0]]],[29,E.prototype.r.X,null,7791973006366678,!1,[[3,1]]],[27,E.prototype.r.X,null,9778432780666832,!1,[[3,1]]],[-1,D.prototype.r.ac,null,5685376045784209,!1,[[11,"start5"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,5005767989716753,
!1,[[11,"stop5"],[7,[0,10]]]]]],[0,null,!1,null,0xc648e732fb723,[[18,E.prototype.C.$e,null,0,!1,!1,!0,0xcc97dbcfa5cf3,!1,[[4,38]]]],[[-1,D.prototype.r.Ll,null,7796893707214932,!1,[[11,"level5count2"],[7,[0,1]]]],[38,E.prototype.r.Qb,null,413288716556409,!1]]],[0,null,!1,null,0xc43b21a54ee17,[[18,E.prototype.C.$e,null,0,!1,!1,!0,7141017628961111,!1,[[4,13]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xc841958202709,!1,[[11,"level5count2"],[8,0],[7,[0,0]]]]],[[-1,D.prototype.r.bf,null,0xa1f61d7c3ee8b,!1,
[[0,[1,2]]]],[22,K.prototype.r.hg,null,0x974ce388b70e9,!1,[[7,[2,"CONGRATULATIONS"]]]],[22,K.prototype.r.X,null,0xcc7bac912b6a,!1,[[3,1]]],[30,E.prototype.r.X,null,5729408312083416,!1,[[3,1]]],[31,E.prototype.r.X,null,8523362352100977,!1,[[3,1]]],[29,E.prototype.r.X,null,8776622753473564,!1,[[3,0]]],[27,E.prototype.r.X,null,0xcdab0f49fc53,!1,[[3,0]]],[-1,D.prototype.r.ac,null,0xd0165ee8258a0,!1,[[11,"next5"],[7,[0,10]]]],[-1,D.prototype.r.ac,null,0xa30eb83eb647c,!1,[[11,"stop5"],[7,[0,10]]]]]],[0,
null,!1,null,9382498441866396,[[1,O.prototype.C.ib,null,1,!1,!1,!1,673779796967525,!1,[[4,27]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,8039770741787013,!1,[[11,"stop5"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0x46504baf1d88c,!1,[[1,[2,"startpage"]]]]]],[0,null,!1,null,6890417496729963,[[1,O.prototype.C.ib,null,1,!1,!1,!1,6711021690522487,!1,[[4,31]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xb4b0254a0237c,!1,[[11,"stop5"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,0xe0bb11f7a67b5,!1,[[1,[2,
"startpage"]]]]]],[0,null,!1,null,8483357288646931,[[1,O.prototype.C.ib,null,1,!1,!1,!1,5098794992721737,!1,[[4,30]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,0xca3c2a1d03a12,!1,[[11,"next5"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Xc,null,9438518876412364,!1,[[1,[2,"last"]]]]]],[0,null,!1,null,6408035946114692,[[1,O.prototype.C.ib,null,1,!1,!1,!1,7275854441585329,!1,[[4,29]]],[-1,D.prototype.C.$b,null,0,!1,!1,!1,944373010572134,!1,[[11,"start5"],[8,0],[7,[0,10]]]]],[[-1,D.prototype.r.Hl,null,6107703201795546,
!1]]],[0,null,!1,null,5158478934476893,[[18,E.prototype.C.$e,null,0,!1,!1,!0,0xa8f84306cca0b,!1,[[4,41]]]],[[41,E.prototype.r.Qb,null,7514034239560272,!1],[-1,D.prototype.r.Ll,null,7790870652798972,!1,[[11,"level5count2"],[7,[0,1]]]]]],[0,null,!1,null,362108899927142,[[18,E.prototype.C.$e,null,0,!1,!1,!0,0xe07e47ffa3d56,!1,[[4,42]]]],[[42,E.prototype.r.Qb,null,8968449646410063,!1],[-1,D.prototype.r.Ll,null,0x48eeb786f2583,!1,[[11,"level5count2"],[7,[0,1]]]]]],[0,null,!1,null,0x56321132361ae,[[18,
E.prototype.C.$e,null,0,!1,!1,!0,874272932608805,!1,[[4,43]]]],[[43,E.prototype.r.Qb,null,0x5126e4ec1dde1,!1],[-1,D.prototype.r.Ll,null,5972658731592643,!1,[[11,"level5count2"],[7,[0,1]]]]]]]],["lastevent",[[0,null,!1,null,7124834179015909,[[1,O.prototype.C.ib,null,1,!1,!1,!1,6458747437345411,!1,[[4,46]]]],[[-1,D.prototype.r.Xc,null,9708205138838318,!1,[[1,[2,"startpage"]]]]]]]],["instructionsevent",[[0,null,!1,null,6357819236575757,[[1,O.prototype.C.ib,null,1,!1,!1,!1,8848772926511223,!1,[[4,55]]]],
[[-1,D.prototype.r.Xc,null,4761706763838151,!1,[[1,[2,"startpage"]]]]]]]]],"media/",!1,640,480,4,!0,!0,!1,"1.0",1,!1,0,!0,113,!1,[]]};
