// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function A(){return function(){}}function F(d){return function(){return this[d]}}function G(d){return function(){return d}}var aa,ba,L,ca,da,N,ea,fa,ga,ha,ia,ja,S,ka,la,pa,qa,ra,sa,ta,ua,va,U,wa,ya,za,Aa,Ba,Ga,Ha,Ia,Ja,Ka,La,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,V,Ob,Pb,Qb,W,Rb,Sb={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(d){return d.__proto__}:function(d){return d.constructor.prototype});
(function(){function d(l,g,a,r){this.set(l,g,a,r)}function k(){this.qb=this.pb=this.sb=this.rb=this.zb=this.yb=this.Ka=this.Ja=0}function c(l,g,a,r){l<g?a<r?(q=l<a?l:a,p=g>r?g:r):(q=l<r?l:r,p=g>a?g:a):a<r?(q=g<a?g:a,p=l>r?l:r):(q=g<r?g:r,p=l>a?l:a)}function h(){this.dd=this.ld=null;this.Cg=0;v?this.ld=new Set:this.dd={};this.ve=[];this.Ae=!0}function b(l){g[s++]=l}function a(){this.Oa=this.fj=this.y=this.Hj=0}function f(l){this.Ya=[];this.zh=this.Bh=this.Ch=this.Ah=0;this.fh(l)}function e(l,g){this.Up=
l;this.Tp=g;this.cells={}}function m(l,g,a){var n;return r.length?(n=r.pop(),n.Ar=l,n.x=g,n.y=a,n):new aa(l,g,a)}function u(l,g,a){this.Ar=l;this.x=g;this.y=a;this.Tg=new ba}L=function(l){window.console&&window.console.log&&window.console.log(l)};ca=function(l){return"undefined"===typeof l};da=function(l){return"number"===typeof l};N=function(l){return"string"===typeof l};ea=function(l){return 0<l&&0===(l-1&l)};fa=function(l){--l;for(var g=1;32>g;g<<=1)l|=l>>g;return l+1};ga=function(l){return 0>
l?-l:l};ha=function(l,g){return l<g?l:g};ia=Math.PI;ja=function(l){return l+0.5|0};S=function(l){return 0<=l?l|0:(l|0)-1};ka=function(l){var g=l|0;return g===l?g:g+1};la=function(l,g,a,r,n,f,e,b){var s,m,c,u;l<a?(m=l,s=a):(m=a,s=l);n<e?(u=n,c=e):(u=e,c=n);if(s<u||m>c)return!1;g<r?(m=g,s=r):(m=r,s=g);f<b?(u=f,c=b):(u=b,c=f);if(s<u||m>c)return!1;s=n-l+e-a;m=f-g+b-r;l=a-l;g=r-g;n=e-n;f=b-f;b=ga(g*n-f*l);return ga(n*m-f*s)>b?!1:ga(l*m-g*s)<=b};d.prototype.set=function(l,g,a,r){this.left=l;this.top=g;
this.right=a;this.bottom=r};d.prototype.copy=function(l){this.left=l.left;this.top=l.top;this.right=l.right;this.bottom=l.bottom};d.prototype.width=function(){return this.right-this.left};d.prototype.height=function(){return this.bottom-this.top};d.prototype.offset=function(l,g){this.left+=l;this.top+=g;this.right+=l;this.bottom+=g;return this};d.prototype.normalize=function(){var l=0;this.left>this.right&&(l=this.left,this.left=this.right,this.right=l);this.top>this.bottom&&(l=this.top,this.top=
this.bottom,this.bottom=l)};d.prototype.Gr=function(l){return!(l.right<this.left||l.bottom<this.top||l.left>this.right||l.top>this.bottom)};d.prototype.Hr=function(l,g,a){return!(l.right+g<this.left||l.bottom+a<this.top||l.left+g>this.right||l.top+a>this.bottom)};d.prototype.lc=function(l,g){return l>=this.left&&l<=this.right&&g>=this.top&&g<=this.bottom};d.prototype.qq=function(l){return this.left===l.left&&this.top===l.top&&this.right===l.right&&this.bottom===l.bottom};pa=d;k.prototype.eh=function(l){this.Ja=
l.left;this.Ka=l.top;this.yb=l.right;this.zb=l.top;this.rb=l.right;this.sb=l.bottom;this.pb=l.left;this.qb=l.bottom};k.prototype.yo=function(l,g){if(0===g)this.eh(l);else{var a=Math.sin(g),r=Math.cos(g),n=l.left*a,f=l.top*a,e=l.right*a,a=l.bottom*a,b=l.left*r,s=l.top*r,m=l.right*r,r=l.bottom*r;this.Ja=b-f;this.Ka=s+n;this.yb=m-f;this.zb=s+e;this.rb=m-a;this.sb=r+e;this.pb=b-a;this.qb=r+n}};k.prototype.offset=function(l,g){this.Ja+=l;this.Ka+=g;this.yb+=l;this.zb+=g;this.rb+=l;this.sb+=g;this.pb+=
l;this.qb+=g;return this};var q=0,p=0;k.prototype.pm=function(l){c(this.Ja,this.yb,this.rb,this.pb);l.left=q;l.right=p;c(this.Ka,this.zb,this.sb,this.qb);l.top=q;l.bottom=p};k.prototype.lc=function(l,g){var a=this.yb-this.Ja,r=this.zb-this.Ka,n=this.rb-this.Ja,f=this.sb-this.Ka,e=l-this.Ja,b=g-this.Ka,s=a*a+r*r,m=a*n+r*f,r=a*e+r*b,c=n*n+f*f,u=n*e+f*b,d=1/(s*c-m*m),a=(c*r-m*u)*d,s=(s*u-m*r)*d;if(0<=a&&0<s&&1>a+s)return!0;a=this.pb-this.Ja;r=this.qb-this.Ka;s=a*a+r*r;m=a*n+r*f;r=a*e+r*b;d=1/(s*c-m*
m);a=(c*r-m*u)*d;s=(s*u-m*r)*d;return 0<=a&&0<s&&1>a+s};k.prototype.Sd=function(l,g){if(g)switch(l){case 0:return this.Ja;case 1:return this.yb;case 2:return this.rb;case 3:return this.pb;case 4:return this.Ja;default:return this.Ja}else switch(l){case 0:return this.Ka;case 1:return this.zb;case 2:return this.sb;case 3:return this.qb;case 4:return this.Ka;default:return this.Ka}};k.prototype.Kn=function(){return(this.Ja+this.yb+this.rb+this.pb)/4};k.prototype.Ln=function(){return(this.Ka+this.zb+
this.sb+this.qb)/4};k.prototype.kn=function(l){var g=l.Kn(),a=l.Ln();if(this.lc(g,a))return!0;g=this.Kn();a=this.Ln();if(l.lc(g,a))return!0;var r,n,f,e,b,s,m,c;for(m=0;4>m;m++)for(c=0;4>c;c++)if(g=this.Sd(m,!0),a=this.Sd(m,!1),r=this.Sd(m+1,!0),n=this.Sd(m+1,!1),f=l.Sd(c,!0),e=l.Sd(c,!1),b=l.Sd(c+1,!0),s=l.Sd(c+1,!1),la(g,a,r,n,f,e,b,s))return!0;return!1};qa=k;ra=function(l,g){for(var a in g)g.hasOwnProperty(a)&&(l[a]=g[a]);return l};sa=function(l,g){var a,r;g=S(g);if(!(0>g||g>=l.length))if(0===g)l.shift();
else if(g===l.length-1)l.pop();else{a=g;for(r=l.length-1;a<r;a++)l[a]=l[a+1];l.length=r}};ta=function(l,g){l.length=g.length;var a,r;a=0;for(r=g.length;a<r;a++)l[a]=g[a]};ua=function(l,g){l.push.apply(l,g)};va=function(l,g){var a=l.indexOf(g);-1!==a&&sa(l,a)};U=function(l){return l/(180/ia)};wa=function(l){return l*(180/ia)};ya=function(l){l%=360;0>l&&(l+=360);return l};za=function(l){l%=2*ia;0>l&&(l+=2*ia);return l};Aa=function(l){return ya(wa(l))};Ba=function(l){return za(U(l))};Ga=function(l,g,
a,r){return Math.atan2(r-g,a-l)};Ha=function(l,g){if(l===g)return 0;var a=Math.sin(l),r=Math.cos(l),n=Math.sin(g),f=Math.cos(g),a=a*n+r*f;return 1<=a?0:-1>=a?ia:Math.acos(a)};Ia=function(l,g,a){var r=Math.sin(l),n=Math.cos(l),f=Math.sin(g),e=Math.cos(g);return Math.acos(r*f+n*e)>a?0<n*f-r*e?za(l+a):za(l-a):za(g)};Ja=function(l,g){var a=Math.sin(l),r=Math.cos(l),n=Math.sin(g),f=Math.cos(g);return 0>=r*n-a*f};Ka=function(l,g,a,r,n,f){if(0===a)return f?l:g;var e=Math.sin(a);a=Math.cos(a);l-=r;g-=n;var b=
l*e;l=l*a-g*e;g=g*a+b;return f?l+r:g+n};La=function(l,g,a,r){l=a-l;g=r-g;return Math.sqrt(l*l+g*g)};Pa=function(l,g){return!l!==!g};Qa=function(g){for(var a in g)if(g.hasOwnProperty(a))return!0;return!1};Ra=function(g){for(var a in g)g.hasOwnProperty(a)&&delete g[a]};var t=+new Date;Sa=function(){if("undefined"!==typeof window.performance){var g=window.performance;if("undefined"!==typeof g.now)return g.now();if("undefined"!==typeof g.webkitNow)return g.webkitNow();if("undefined"!==typeof g.mozNow)return g.mozNow();
if("undefined"!==typeof g.msNow)return g.msNow()}return Date.now()-t};var v="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;h.prototype.contains=function(g){return v?this.ld.has(g):this.dd.hasOwnProperty(g.toString())};h.prototype.add=function(g){if(v)this.ld.has(g)||(this.ld.add(g),this.Ae=!1);else{var a=g.toString();this.dd.hasOwnProperty(a)||(this.dd[a]=g,this.Cg++,this.Ae=!1)}return this};h.prototype.remove=function(g){v?this.ld.has(g)&&(this.ld["delete"](g),this.Ae=!1):(g=
g.toString(),this.dd.hasOwnProperty(g)&&(delete this.dd[g],this.Cg--,this.Ae=!1));return this};h.prototype.clear=function(){v?this.ld.clear():(this.dd={},this.Cg=0);this.ve.length=0;this.Ae=!0;return this};h.prototype.ae=function(){return v?0===this.ld.size:0===this.Cg};var g=null,s=0;h.prototype.Wo=function(){if(!this.Ae){if(v)this.ve.length=this.ld.size,g=this.ve,s=0,this.ld.forEach(b),g=null,s=0;else{this.ve.length=this.Cg;var l,a=0;for(l in this.dd)this.dd.hasOwnProperty(l)&&(this.ve[a++]=this.dd[l])}this.Ae=
!0}};h.prototype.Qs=function(){this.Wo();return this.ve.slice(0)};h.prototype.Md=function(){this.Wo();return this.ve};ba=h;a.prototype.add=function(g){this.y=g-this.Hj;this.fj=this.Oa+this.y;this.Hj=this.fj-this.Oa-this.y;this.Oa=this.fj};a.prototype.reset=function(){this.Oa=this.fj=this.y=this.Hj=0};Ta=a;Ua=function(g){return g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};f.prototype.fh=function(g){this.po=g;this.Pc=g.length/2;this.Ya.length=g.length;this.Eh=this.Fh=-1;this.rm=0};f.prototype.zf=function(){return!this.po.length};
f.prototype.Fa=function(){for(var g=this.Ya,a=g[0],r=a,n=g[1],f=n,e,b,s=1,m=this.Pc;s<m;++s)b=2*s,e=g[b],b=g[b+1],e<a&&(a=e),e>r&&(r=e),b<n&&(n=b),b>f&&(f=b);this.Ah=a;this.Bh=r;this.Ch=n;this.zh=f};f.prototype.eh=function(g,a,r){this.Ya.length=8;this.Pc=4;var n=this.Ya;n[0]=g.left-a;n[1]=g.top-r;n[2]=g.right-a;n[3]=g.top-r;n[4]=g.right-a;n[5]=g.bottom-r;n[6]=g.left-a;n[7]=g.bottom-r;this.Fh=g.right-g.left;this.Eh=g.bottom-g.top;this.Fa()};f.prototype.Rf=function(g,a,r,n,f){this.Ya.length=8;this.Pc=
4;var e=this.Ya;e[0]=g.Ja-a;e[1]=g.Ka-r;e[2]=g.yb-a;e[3]=g.zb-r;e[4]=g.rb-a;e[5]=g.sb-r;e[6]=g.pb-a;e[7]=g.qb-r;this.Fh=n;this.Eh=f;this.Fa()};f.prototype.xo=function(g){this.Pc=g.Pc;ta(this.Ya,g.Ya);this.Ah=g.Ah;this.Ch-g.Ch;this.Bh=g.Bh;this.zh=g.zh};f.prototype.lf=function(g,a,r){if(this.Fh!==g||this.Eh!==a||this.rm!==r){this.Fh=g;this.Eh=a;this.rm=r;var n,f,e,b,s,m=0,c=1,u=this.po,d=this.Ya;0!==r&&(m=Math.sin(r),c=Math.cos(r));r=0;for(e=this.Pc;r<e;r++)n=2*r,f=n+1,b=u[n]*g,s=u[f]*a,d[n]=b*c-s*
m,d[f]=s*c+b*m;this.Fa()}};f.prototype.lc=function(g,a){var r=this.Ya;if(g===r[0]&&a===r[1])return!0;var n,f,e,b=this.Pc,s=this.Ah-110,m=this.Ch-101,c=this.Bh+131,u=this.zh+120,d,h,p=0,k=0;for(n=0;n<b;n++)f=2*n,e=2*((n+1)%b),d=r[f],f=r[f+1],h=r[e],e=r[e+1],la(s,m,g,a,d,f,h,e)&&p++,la(c,u,g,a,d,f,h,e)&&k++;return 1===p%2||1===k%2};f.prototype.tg=function(g,a,r){var n=g.Ya,f=this.Ya;if(this.lc(n[0]+a,n[1]+r)||g.lc(f[0]-a,f[1]-r))return!0;var e,b,s,m,c,u,d,h,p,k,q,t;e=0;for(m=this.Pc;e<m;e++)for(b=2*
e,s=2*((e+1)%m),h=f[b],b=f[b+1],p=f[s],k=f[s+1],s=0,d=g.Pc;s<d;s++)if(c=2*s,u=2*((s+1)%d),q=n[c]+a,c=n[c+1]+r,t=n[u]+a,u=n[u+1]+r,la(h,b,p,k,q,c,t,u))return!0;return!1};Va=f;e.prototype.bk=function(g,a,r){var n;n=this.cells[g];return n?(n=n[a])?n:r?(n=m(this,g,a),this.cells[g][a]=n):null:r?(n=m(this,g,a),this.cells[g]={},this.cells[g][a]=n):null};e.prototype.uh=function(g){return S(g/this.Up)};e.prototype.vh=function(g){return S(g/this.Tp)};e.prototype.update=function(g,a,n){var f,e,b,s,m;if(a)for(f=
a.left,e=a.right;f<=e;++f)for(b=a.top,s=a.bottom;b<=s;++b)if(!n||!n.lc(f,b))if(m=this.bk(f,b,!1))m.remove(g),m.ae()&&(m.Tg.clear(),1E3>r.length&&r.push(m),this.cells[f][b]=null);if(n)for(f=n.left,e=n.right;f<=e;++f)for(b=n.top,s=n.bottom;b<=s;++b)a&&a.lc(f,b)||this.bk(f,b,!0).Fr(g)};e.prototype.ro=function(g,a){var r,n,f,e,b,s;r=this.uh(g.left);f=this.vh(g.top);n=this.uh(g.right);for(b=this.vh(g.bottom);r<=n;++r)for(e=f;e<=b;++e)(s=this.bk(r,e,!1))&&s.mq(a)};Wa=e;var r=[];u.prototype.ae=function(){return this.Tg.ae()};
u.prototype.Fr=function(g){this.Tg.add(g)};u.prototype.remove=function(g){this.Tg.remove(g)};u.prototype.mq=function(g){ua(g,this.Tg.Md())};aa=u;var n="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Xa=function(g){return 0>=g||11<=g?"source-over":n[g-1]};Ya=function(g,a,r){if(r)switch(g.xb=r.ONE,g.tb=r.ONE_MINUS_SRC_ALPHA,a){case 1:g.xb=r.ONE;g.tb=r.ONE;break;case 3:g.xb=r.ONE;g.tb=r.ZERO;break;case 4:g.xb=r.ONE_MINUS_DST_ALPHA;
g.tb=r.ONE;break;case 5:g.xb=r.DST_ALPHA;g.tb=r.ZERO;break;case 6:g.xb=r.ZERO;g.tb=r.SRC_ALPHA;break;case 7:g.xb=r.ONE_MINUS_DST_ALPHA;g.tb=r.ZERO;break;case 8:g.xb=r.ZERO;g.tb=r.ONE_MINUS_SRC_ALPHA;break;case 9:g.xb=r.DST_ALPHA;g.tb=r.ONE_MINUS_SRC_ALPHA;break;case 10:g.xb=r.ONE_MINUS_DST_ALPHA,g.tb=r.SRC_ALPHA}};Za=function(g){return ja(1E6*g)/1E6};bb=function(g,a){return"string"!==typeof g||"string"!==typeof a||g.length!==a.length?!1:g===a?!0:g.toLowerCase()===a.toLowerCase()}})();
var Tb="undefined"!==typeof Float32Array?Float32Array:Array;function Ub(d){var k=new Tb(3);d&&(k[0]=d[0],k[1]=d[1],k[2]=d[2]);return k}function Vb(d){var k=new Tb(16);d&&(k[0]=d[0],k[1]=d[1],k[2]=d[2],k[3]=d[3],k[4]=d[4],k[5]=d[5],k[6]=d[6],k[7]=d[7],k[8]=d[8],k[9]=d[9],k[10]=d[10],k[11]=d[11],k[12]=d[12],k[13]=d[13],k[14]=d[14],k[15]=d[15]);return k}
function Wb(d,k){k[0]=d[0];k[1]=d[1];k[2]=d[2];k[3]=d[3];k[4]=d[4];k[5]=d[5];k[6]=d[6];k[7]=d[7];k[8]=d[8];k[9]=d[9];k[10]=d[10];k[11]=d[11];k[12]=d[12];k[13]=d[13];k[14]=d[14];k[15]=d[15]}function Xb(d,k){var c=k[0],h=k[1];k=k[2];d[0]*=c;d[1]*=c;d[2]*=c;d[3]*=c;d[4]*=h;d[5]*=h;d[6]*=h;d[7]*=h;d[8]*=k;d[9]*=k;d[10]*=k;d[11]*=k}
function Yb(d,k,c,h){h||(h=Vb());var b,a,f,e,m,u,q,p,t=d[0],v=d[1];d=d[2];a=c[0];f=c[1];b=c[2];c=k[1];u=k[2];t===k[0]&&v===c&&d===u?(d=h,d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1):(c=t-k[0],u=v-k[1],q=d-k[2],p=1/Math.sqrt(c*c+u*u+q*q),c*=p,u*=p,q*=p,k=f*q-b*u,b=b*c-a*q,a=a*u-f*c,(p=Math.sqrt(k*k+b*b+a*a))?(p=1/p,k*=p,b*=p,a*=p):a=b=k=0,f=u*a-q*b,e=q*k-c*a,m=c*b-u*k,(p=Math.sqrt(f*f+e*e+m*m))?(p=1/p,f*=p,e*=p,m*=p):m=e=f=0,
h[0]=k,h[1]=f,h[2]=c,h[3]=0,h[4]=b,h[5]=e,h[6]=u,h[7]=0,h[8]=a,h[9]=m,h[10]=q,h[11]=0,h[12]=-(k*t+b*v+a*d),h[13]=-(f*t+e*v+m*d),h[14]=-(c*t+u*v+q*d),h[15]=1)}
(function(){function d(a){this.mi=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.tm=Ub([0,0,100]);this.In=Ub([0,0,0]);this.So=Ub([0,1,0]);this.Tl=Ub([1,1,1]);this.Hk=Vb();this.Ac=Vb();this.An=Vb();this.Mj=Vb();this.q=a;this.dn()}function k(a,f,e){this.q=a;this.gh=f;this.name=e;this.zc=a.getAttribLocation(f,"aPos");this.he=a.getAttribLocation(f,"aTex");this.Gn=a.getUniformLocation(f,"matP");this.Ff=a.getUniformLocation(f,"matMV");this.Gf=a.getUniformLocation(f,
"opacity");this.Hn=a.getUniformLocation(f,"samplerFront");this.Mg=a.getUniformLocation(f,"samplerBack");this.Te=a.getUniformLocation(f,"destStart");this.Se=a.getUniformLocation(f,"destEnd");this.Ek=a.getUniformLocation(f,"seconds");this.Dk=a.getUniformLocation(f,"pixelWidth");this.Ck=a.getUniformLocation(f,"pixelHeight");this.Bk=a.getUniformLocation(f,"layerScale");this.Gf&&a.uniform1f(this.Gf,1);this.Hn&&a.uniform1i(this.Hn,0);this.Mg&&a.uniform1i(this.Mg,1);this.Te&&a.uniform2f(this.Te,0,0);this.Se&&
a.uniform2f(this.Se,1,1);this.Je=!1}function c(a,f){this.type=a;this.D=f;this.q=f.q;this.bd=this.Cc=this.$n=0;this.M=this.Tc=null;this.ul=[]}d.prototype.dn=function(){var a=this.q,f;this.Bn=1;this.Qe=this.fe=null;this.Am=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.Cn=a.ONE;this.zn=a.ONE_MINUS_SRC_ALPHA;this.Zk=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Zk);this.oh=Array(4);
this.kh=Array(4);for(f=0;4>f;f++)this.oh[f]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.oh[f]),this.kh[f]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.kh[f]);this.wd=0;this.Er=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Er);this.Ql=new Float32Array(16E3);this.El=new Float32Array(16E3);this.gs=new Float32Array(32E3);for(var e=new Uint16Array(12E3),b=f=0;12E3>f;)e[f++]=b,e[f++]=b+1,e[f++]=b+2,e[f++]=b,e[f++]=b+2,e[f++]=b+3,b+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,e,a.STATIC_DRAW);
this.$k=this.rd=0;this.$a=[];f=this.Lj({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.$a.push(f);
f=this.Lj({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.$a.push(f);for(var c in Zb)Zb.hasOwnProperty(c)&&this.$a.push(this.Lj(Zb[c],
"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}",c));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.Ud=[];this.td=0;this.Ub=!1;this.Bm=this.Fg=-1;this.ig=null;this.Oq=a.createFramebuffer();this.to=null;this.te=Ub([0,0,0]);this.nd(0)};d.prototype.Lj=function(a,f,e){var b=this.q,c=b.createShader(b.FRAGMENT_SHADER);
b.shaderSource(c,a.src);b.compileShader(c);if(!b.getShaderParameter(c,b.COMPILE_STATUS))return b.deleteShader(c),null;var d=b.createShader(b.VERTEX_SHADER);b.shaderSource(d,f);b.compileShader(d);if(!b.getShaderParameter(d,b.COMPILE_STATUS))return b.deleteShader(c),b.deleteShader(d),null;f=b.createProgram();b.attachShader(f,c);b.attachShader(f,d);b.linkProgram(f);if(!b.getProgramParameter(f,b.LINK_STATUS))return b.deleteShader(c),b.deleteShader(d),b.deleteProgram(f),null;b.useProgram(f);b.deleteShader(c);
b.deleteShader(d);e=new k(b,f,e);e.Tj=a.Tj||0;e.Uj=a.Uj||0;e.zm=!!a.zm;e.mm=!!a.mm;e.I=a.I||[];a=0;for(c=e.I.length;a<c;a++)e.I[a][1]=b.getUniformLocation(f,e.I[a][0]),b.uniform1f(e.I[a][1],0);return e};d.prototype.fk=function(a){var f,b;f=0;for(b=this.$a.length;f<b;f++)if(this.$a[f].name===a)return f;return-1};d.prototype.oo=function(a,f,b){var c=this.Ac,d=this.Hk,h=[0,0,0,0,0,0,0,0];h[0]=c[0]*a+c[4]*f+c[12];h[1]=c[1]*a+c[5]*f+c[13];h[2]=c[2]*a+c[6]*f+c[14];h[3]=c[3]*a+c[7]*f+c[15];h[4]=d[0]*h[0]+
d[4]*h[1]+d[8]*h[2]+d[12]*h[3];h[5]=d[1]*h[0]+d[5]*h[1]+d[9]*h[2]+d[13]*h[3];h[6]=d[2]*h[0]+d[6]*h[1]+d[10]*h[2]+d[14]*h[3];h[7]=-h[2];0!==h[7]&&(h[7]=1/h[7],h[4]*=h[7],h[5]*=h[7],h[6]*=h[7],b[0]=(0.5*h[4]+0.5)*this.width,b[1]=(0.5*h[5]+0.5)*this.height)};d.prototype.Qf=function(a,f,b){if(this.width!==a||this.height!==f||b){this.Yd();this.width=a;this.height=f;this.q.viewport(0,0,a,f);f=a/f;var c=this.Hk,d;d=1*Math.tan(45*Math.PI/360);f*=d;a=-f;b=-d;c||(c=Vb());var h=f-a,p=d-b;c[0]=2/h;c[1]=0;c[2]=
0;c[3]=0;c[4]=0;c[5]=2/p;c[6]=0;c[7]=0;c[8]=(f+a)/h;c[9]=(d+b)/p;c[10]=-1001/999;c[11]=-1;c[12]=0;c[13]=0;c[14]=-2E3/999;c[15]=0;Yb(this.tm,this.In,this.So,this.Ac);a=[0,0];f=[0,0];this.oo(0,0,a);this.oo(1,1,f);this.Tl[0]=1/(f[0]-a[0]);this.Tl[1]=-1/(f[1]-a[1]);a=0;for(f=this.$a.length;a<f;a++)b=this.$a[a],b.Je=!1,b.Gn&&(this.q.useProgram(b.gh),this.q.uniformMatrix4fv(b.Gn,!1,this.Hk));this.q.useProgram(this.$a[this.Fg].gh);this.q.bindTexture(this.q.TEXTURE_2D,null);this.q.activeTexture(this.q.TEXTURE1);
this.q.bindTexture(this.q.TEXTURE_2D,null);this.q.activeTexture(this.q.TEXTURE0);this.Qe=this.fe=null}};d.prototype.kd=function(){Yb(this.tm,this.In,this.So,this.Ac);Xb(this.Ac,this.Tl)};d.prototype.translate=function(a,f){if(0!==a||0!==f){this.te[0]=a;this.te[1]=f;this.te[2]=0;var b=this.Ac,c=this.te,d=c[0],h=c[1],c=c[2];b[12]=b[0]*d+b[4]*h+b[8]*c+b[12];b[13]=b[1]*d+b[5]*h+b[9]*c+b[13];b[14]=b[2]*d+b[6]*h+b[10]*c+b[14];b[15]=b[3]*d+b[7]*h+b[11]*c+b[15]}};d.prototype.scale=function(a,f){if(1!==a||
1!==f)this.te[0]=a,this.te[1]=f,this.te[2]=1,Xb(this.Ac,this.te)};d.prototype.ll=function(a){if(0!==a){var f=this.Ac,b,c=Math.sin(a);a=Math.cos(a);var d=f[0],h=f[1],p=f[2],k=f[3],v=f[4],g=f[5],s=f[6],r=f[7];b?f!==b&&(b[8]=f[8],b[9]=f[9],b[10]=f[10],b[11]=f[11],b[12]=f[12],b[13]=f[13],b[14]=f[14],b[15]=f[15]):b=f;b[0]=d*a+v*c;b[1]=h*a+g*c;b[2]=p*a+s*c;b[3]=k*a+r*c;b[4]=d*-c+v*a;b[5]=h*-c+g*a;b[6]=p*-c+s*a;b[7]=k*-c+r*a}};d.prototype.qd=function(){for(var a=!1,b=0;16>b;b++)if(this.An[b]!==this.Ac[b]){a=
!0;break}a&&(a=this.Qc(),a.type=5,a.M?Wb(this.Ac,a.M):a.M=Vb(this.Ac),Wb(this.Ac,this.An),this.Ub=!1)};c.prototype.jq=function(){this.q.bindTexture(this.q.TEXTURE_2D,this.Tc)};c.prototype.kq=function(){var a=this.q;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Tc);a.activeTexture(a.TEXTURE0)};c.prototype.gq=function(){var a=this.$n,b=this.D;b.Am=a;b=b.ig;b.Gf&&this.q.uniform1f(b.Gf,a)};c.prototype.cq=function(){this.q.drawElements(this.q.TRIANGLES,this.bd,this.q.UNSIGNED_SHORT,2*this.Cc)};
c.prototype.fq=function(){this.q.blendFunc(this.Cc,this.bd)};c.prototype.lq=function(){var a,b,e,c=this.D.$a,d=this.D.Bm;a=0;for(b=c.length;a<b;a++)e=c[a],a===d&&e.Ff?(this.q.uniformMatrix4fv(e.Ff,!1,this.M),e.Je=!0):e.Je=!1;Wb(this.M,this.D.Mj)};c.prototype.dq=function(){var a=this.q,b=this.D;this.Tc?(b.Qe===this.Tc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.Qe=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.Oq),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,
a.TEXTURE_2D,this.Tc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};c.prototype.aq=function(){var a=this.q;0===this.Cc?(a.clearColor(this.M[0],this.M[1],this.M[2],this.M[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.M[0],this.M[1],this.M[2],this.M[3]),a.clearColor(0,0,0,0),a.clear(this.q.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};c.prototype.bq=function(){var a=this.q,b=this.D,e=b.$a[1];a.useProgram(e.gh);
!e.Je&&e.Ff&&(a.uniformMatrix4fv(e.Ff,!1,b.Mj),e.Je=!0);a.enableVertexAttribArray(e.zc);a.bindBuffer(a.ARRAY_BUFFER,b.Zk);a.vertexAttribPointer(e.zc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Cc/4,this.bd);e=b.ig;a.useProgram(e.gh);0<=e.zc&&(a.enableVertexAttribArray(e.zc),a.bindBuffer(a.ARRAY_BUFFER,b.oh[b.wd]),a.vertexAttribPointer(e.zc,2,a.FLOAT,!1,0,0));0<=e.he&&(a.enableVertexAttribArray(e.he),a.bindBuffer(a.ARRAY_BUFFER,b.kh[b.wd]),a.vertexAttribPointer(e.he,2,a.FLOAT,!1,0,0))};c.prototype.hq=
function(){var a=this.q,b=this.D,e=b.$a[this.Cc];b.Bm=this.Cc;b.ig=e;a.useProgram(e.gh);!e.Je&&e.Ff&&(a.uniformMatrix4fv(e.Ff,!1,b.Mj),e.Je=!0);e.Gf&&a.uniform1f(e.Gf,b.Am);0<=e.zc&&(a.enableVertexAttribArray(e.zc),a.bindBuffer(a.ARRAY_BUFFER,b.oh[b.wd]),a.vertexAttribPointer(e.zc,2,a.FLOAT,!1,0,0));0<=e.he&&(a.enableVertexAttribArray(e.he),a.bindBuffer(a.ARRAY_BUFFER,b.kh[b.wd]),a.vertexAttribPointer(e.he,2,a.FLOAT,!1,0,0))};c.prototype.iq=function(){var a,b,e=this.D.ig,c=this.q;e.Mg&&this.D.Qe!==
this.Tc&&(c.activeTexture(c.TEXTURE1),c.bindTexture(c.TEXTURE_2D,this.Tc),this.D.Qe=this.Tc,c.activeTexture(c.TEXTURE0));e.Dk&&c.uniform1f(e.Dk,this.M[0]);e.Ck&&c.uniform1f(e.Ck,this.M[1]);e.Te&&c.uniform2f(e.Te,this.M[2],this.M[3]);e.Se&&c.uniform2f(e.Se,this.M[4],this.M[5]);e.Bk&&c.uniform1f(e.Bk,this.M[6]);e.Ek&&c.uniform1f(e.Ek,Sa()/1E3);if(e.I.length)for(a=0,b=e.I.length;a<b;a++)c.uniform1f(e.I[a][1],this.ul[a])};d.prototype.Qc=function(){this.td===this.Ud.length&&this.Ud.push(new c(0,this));
return this.Ud[this.td++]};d.prototype.Yd=function(){if(0!==this.td&&!this.q.isContextLost()){var a=this.q;0<this.$k&&(a.bindBuffer(a.ARRAY_BUFFER,this.Zk),a.bufferData(a.ARRAY_BUFFER,this.gs.subarray(0,this.$k),a.STREAM_DRAW),b&&0<=b.zc&&"<point>"===b.name&&a.vertexAttribPointer(b.zc,4,a.FLOAT,!1,0,0));if(0<this.rd){var b=this.ig;a.bindBuffer(a.ARRAY_BUFFER,this.oh[this.wd]);a.bufferData(a.ARRAY_BUFFER,this.Ql.subarray(0,this.rd),a.STREAM_DRAW);b&&0<=b.zc&&"<point>"!==b.name&&a.vertexAttribPointer(b.zc,
2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.kh[this.wd]);a.bufferData(a.ARRAY_BUFFER,this.El.subarray(0,this.rd),a.STREAM_DRAW);b&&0<=b.he&&"<point>"!==b.name&&a.vertexAttribPointer(b.he,2,a.FLOAT,!1,0,0)}for(var e,a=0,b=this.td;a<b;a++)switch(e=this.Ud[a],e.type){case 1:e.cq();break;case 2:e.jq();break;case 3:e.gq();break;case 4:e.fq();break;case 5:e.lq();break;case 6:e.dq();break;case 7:e.aq();break;case 8:e.bq();break;case 9:e.hq();break;case 10:e.iq();break;case 11:e.kq()}this.$k=this.rd=
this.td=0;this.Ub=!1;this.wd++;4<=this.wd&&(this.wd=0)}};d.prototype.cf=function(a){if(a!==this.Bn){var b=this.Qc();b.type=3;this.Bn=b.$n=a;this.Ub=!1}};d.prototype.ac=function(a){if(a!==this.fe){var b=this.Qc();b.type=2;this.fe=b.Tc=a;this.Ub=!1}};d.prototype.le=function(a,b){if(a!==this.Cn||b!==this.zn){var e=this.Qc();e.type=4;e.Cc=a;e.bd=b;this.Cn=a;this.zn=b;this.Ub=!1}};d.prototype.vo=function(){this.le(this.q.ONE,this.q.ONE_MINUS_SRC_ALPHA)};d.prototype.Ti=function(a,b,e,c,d,h,p,k){15992<=
this.rd&&this.Yd();var v=this.rd,g=this.Ql,s=this.El;if(this.Ub)this.Ud[this.td-1].bd+=6;else{var r=this.Qc();r.type=1;r.Cc=3*(v/4);r.bd=6;this.Ub=!0}g[v]=a;s[v++]=0;g[v]=b;s[v++]=0;g[v]=e;s[v++]=1;g[v]=c;s[v++]=0;g[v]=d;s[v++]=1;g[v]=h;s[v++]=1;g[v]=p;s[v++]=0;g[v]=k;s[v++]=1;this.rd=v};d.prototype.jd=function(a,b,e,c,d,h,p,k,v){15992<=this.rd&&this.Yd();var g=this.rd,s=this.Ql,r=this.El;if(this.Ub)this.Ud[this.td-1].bd+=6;else{var n=this.Qc();n.type=1;n.Cc=3*(g/4);n.bd=6;this.Ub=!0}var n=v.left,
l=v.top,y=v.right;v=v.bottom;s[g]=a;r[g++]=n;s[g]=b;r[g++]=l;s[g]=e;r[g++]=y;s[g]=c;r[g++]=l;s[g]=d;r[g++]=y;s[g]=h;r[g++]=v;s[g]=p;r[g++]=n;s[g]=k;r[g++]=v;this.rd=g};d.prototype.nd=function(a){if(this.Fg!==a){if(!this.$a[a]){if(0===this.Fg)return;a=0}var b=this.Qc();b.type=9;this.Fg=b.Cc=a;this.Ub=!1}};d.prototype.Wg=function(a){a=this.$a[a];return!(!a.Te&&!a.Se)};d.prototype.cl=function(a){a=this.$a[a];return!!(a.Te||a.Se||a.zm)};d.prototype.ns=function(a){a=this.$a[a];return 0!==a.Tj||0!==a.Uj};
d.prototype.fr=function(a){return this.$a[a].Tj};d.prototype.gr=function(a){return this.$a[a].Uj};d.prototype.hr=function(a,b){return this.$a[a].I[b][2]};d.prototype.Qi=function(a){return this.$a[a].mm};d.prototype.Pf=function(a,b,e,c,d,h,p,k,v){var g=this.$a[this.Fg];if(g.Dk||g.Ck||g.Ek||g.Mg||g.Te||g.Se||g.Bk||v.length){var s=this.Qc();s.type=10;s.M?Wb(this.Ac,s.M):s.M=Vb();s.M[0]=b;s.M[1]=e;s.M[2]=c;s.M[3]=d;s.M[4]=h;s.M[5]=p;s.M[6]=k;s.Tc=g.Mg?a:null;if(v.length)for(s.ul.length=v.length,a=0,b=
v.length;a<b;a++)s.ul[a]=v[a];this.Ub=!1}};d.prototype.clear=function(a,b,e,c){var d=this.Qc();d.type=7;d.Cc=0;d.M||(d.M=Vb());d.M[0]=a;d.M[1]=b;d.M[2]=e;d.M[3]=c;this.Ub=!1};d.prototype.clearRect=function(a,b,e,c){var d=this.Qc();d.type=7;d.Cc=1;d.M||(d.M=Vb());d.M[0]=a;d.M[1]=b;d.M[2]=e;d.M[3]=c;this.Ub=!1};d.prototype.ls=function(){this.Yd();this.q.flush()};var h=[],b={};d.prototype.Ci=function(a,f,e,c){f=!!f;e=!!e;var d=a.src+","+f+","+e+(f?",undefined":""),k=null;if("undefined"!==typeof a.src&&
b.hasOwnProperty(d))return k=b[d],k.Dh++,k;this.Yd();var p=this.q,t=ea(a.width)&&ea(a.height),k=p.createTexture();p.bindTexture(p.TEXTURE_2D,k);p.pixelStorei(p.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var v=p.RGBA,g=p.RGBA,s=p.UNSIGNED_BYTE;if(c&&!this.mi)switch(c){case 1:g=v=p.RGB;break;case 2:s=p.UNSIGNED_SHORT_4_4_4_4;break;case 3:s=p.UNSIGNED_SHORT_5_5_5_1;break;case 4:g=v=p.RGB,s=p.UNSIGNED_SHORT_5_6_5}!t&&f?(c=document.createElement("canvas"),c.width=fa(a.width),c.height=fa(a.height),c.getContext("2d").drawImage(a,
0,0,a.width,a.height,0,0,c.width,c.height),p.texImage2D(p.TEXTURE_2D,0,v,g,s,c)):p.texImage2D(p.TEXTURE_2D,0,v,g,s,a);f?(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));e?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MAG_FILTER,p.LINEAR),t?(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.fe=null;k.eg=a.width;k.dg=a.height;k.Dh=1;k.qm=d;h.push(k);return b[d]=k};d.prototype.vd=function(a,b,e,c){this.Yd();var d=this.q;this.mi&&(c=!1);var k=d.createTexture();d.bindTexture(d.TEXTURE_2D,k);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,
c?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,null);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,e?d.LINEAR:d.NEAREST);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,e?d.LINEAR:d.NEAREST);d.bindTexture(d.TEXTURE_2D,null);this.fe=null;k.eg=a;k.dg=b;h.push(k);return k};d.prototype.Ss=function(a,b,e){this.Yd();var c=this.q;this.mi&&(e=!1);c.bindTexture(c.TEXTURE_2D,b);c.texImage2D(c.TEXTURE_2D,
0,c.RGBA,c.RGBA,e?c.UNSIGNED_SHORT_4_4_4_4:c.UNSIGNED_BYTE,a);c.bindTexture(c.TEXTURE_2D,null);this.fe=null};d.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Dh&&1<a.Dh?a.Dh--:(this.Yd(),a===this.fe&&(this.q.bindTexture(this.q.TEXTURE_2D,null),this.fe=null),a===this.Qe&&(this.q.activeTexture(this.q.TEXTURE1),this.q.bindTexture(this.q.TEXTURE_2D,null),this.q.activeTexture(this.q.TEXTURE0),this.Qe=null),va(h,a),"undefined"!==typeof a.qm&&delete b[a.qm],this.q.deleteTexture(a)))};d.prototype.md=
function(a){if(a!==this.to){var b=this.Qc();b.type=6;this.to=b.Tc=a;this.Ub=!1}};cb=d})();
(function(){function d(g){if(g&&(g.getContext||g.dc)&&!g.c2runtime){g.c2runtime=this;var a=this;this.nk=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.pn=!this.nk&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.Nb=!!g.dc;this.mn="undefined"!==typeof window.AppMobi||this.Nb;if(this.Jc=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),
CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)});this.ub=this.Nb||this.Jc;this.qn=/tizen/i.test(navigator.userAgent);this.li=/android/i.test(navigator.userAgent)&&!this.qn;this.mi=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.vn=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.un=/ipad/i.test(navigator.userAgent);this.sk=this.vn||this.un;this.vg=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);
this.Jr=/amazonwebappplatform/i.test(navigator.userAgent);this.nn=/firefox/i.test(navigator.userAgent);this.Nr=!this.vg&&/safari/i.test(navigator.userAgent);this.Or=/windows/i.test(navigator.userAgent);this.de="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.rn=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.sn=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Kr=!("undefined"===typeof window.c2isBlackberry10||
!window.c2isBlackberry10);this.ln=this.li&&!this.vg&&!this.nn&&!this.Jr&&!this.ub;this.devicePixelRatio=1;this.be=this.pn||this.nk||this.mn||this.Jc||this.li||this.sk||this.sn||this.Kr||this.qn;this.be||(this.be=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.de||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.de=!0);this.Lr="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");
this.canvas=g;this.um=document.getElementById("c2canvasdiv");this.pa=this.D=this.q=null;this.Xj="";this.Yh=!1;this.Un=this.Vn=0;this.canvas.oncontextmenu=function(g){g.preventDefault&&g.preventDefault();return!1};this.canvas.onselectstart=function(g){g.preventDefault&&g.preventDefault();return!1};this.Nb&&(window.c2runtime=this);this.de&&(window.hu=function(g){g.preventDefault();return!1},window.iu=function(g){g.preventDefault();return!1},require("nw.gui").App.clearCache());this.width=g.width;this.height=
g.height;this.V=this.width;this.U=this.height;this.Mh=this.width;this.Lh=this.height;this.Hg=window.innerWidth;this.Gg=window.innerHeight;this.ta=!0;this.xg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.u=[];this.Pa=[];this.xk={};this.Mc=[];this.Sj={};this.Fe=[];this.Nd=[];this.kj=[];this.Mp=[];this.Np=[];this.wn=this.Do=null;this.Yc=new ba;this.ok=!1;this.Kc=0;this.qk=!1;this.Rb=[];this.Dd=this.Db=this.Ai=this.pl="";this.ih=this.Bo=!1;this.Kj=this.Ng=this.Xd=
this.Ee=0;this.ef=1;this.oc=new Ta;this.si=0;this.Jn=!0;this.Hi=this.bi=this.He=this.pd=this.Ig=this.Wj=0;this.fg=null;this.Rh=[];this.Rj=[];this.Uh=-1;this.Fk=[[]];this.Ll=this.Ei=0;this.Si(null);this.jg=this.Pn=this.Sg=0;this.jh=[];this.ij=this.Ui=0;this.Bg=!0;this.Ef=0;this.wg=!1;this.Hs=0;this.Br=!1;this.vk=0;this.cd=this.gl=!1;this.Lk=new ba;this.Tn=new ba;this.Vi=[];this.Sc=new Va([]);this.Dl=new Va([]);this.Rd=[];this.jf={};this.nf={};this.kf={};this.Xf={};this.om={};this.Fn=this.xi=this.Xb=
this.pc=this.En=this.wi=this.wa=null;this.Wf=this.rk=!1;this.Yj=[null,null];this.Ie=0;this.Km="";this.Xe={};this.dj=this.Df=null;this.load();this.devicePixelRatio=(this.Ne=!this.ub&&this.Ps&&!this.ln)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.ob();var r,b=this.Cj&&!(this.de||this.rn||this.sn);0<this.Sb&&this.setSize(window.innerWidth,window.innerHeight,!0);try{!this.oq||!this.Jc&&this.ub||(r={alpha:b,depth:!1,antialias:!1,
failIfMajorPerformanceCaveat:!0},this.q=g.getContext("webgl",r)||g.getContext("experimental-webgl",r))}catch(l){}if(this.q){this.ub||(this.mb=document.createElement("canvas"),jQuery(this.mb).appendTo(this.canvas.parentNode),this.mb.oncontextmenu=G(!1),this.mb.onselectstart=G(!1),this.mb.width=this.Mh,this.mb.height=this.Lh,jQuery(this.mb).css({width:this.Mh+"px",height:this.Lh+"px"}),this.mo(),this.Xk=this.mb.getContext("2d"));this.D=new cb(this.q,this.be);this.D.Qf(g.width,g.height);this.pa=null;
this.canvas.addEventListener("webglcontextlost",function(g){g.preventDefault();a.Tr();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.D.dn();a.D.Qf(a.D.width,a.D.height,!0);a.pc=null;a.Xb=null;a.Yj[0]=null;a.Yj[1]=null;a.Ur();a.ta=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);var f,e,c,d,h,m;g=0;for(r=this.u.length;g<r;g++)for(e=this.u[g],b=0,f=e.S.length;b<f;b++)d=
e.S[b],d.nb=this.D.fk(d.id),this.Wf=this.Wf||this.D.Wg(d.nb);g=0;for(r=this.Mc.length;g<r;g++){h=this.Mc[g];b=0;for(f=h.S.length;b<f;b++)d=h.S[b],d.nb=this.D.fk(d.id);b=0;for(f=h.da.length;b<f;b++)for(m=h.da[b],e=0,c=m.S.length;e<c;e++)d=m.S[e],d.nb=this.D.fk(d.id),this.Wf=this.Wf||this.D.Wg(d.nb)}}else{if(0<this.Sb&&this.Nb){this.canvas=null;document.oncontextmenu=G(!1);document.onselectstart=G(!1);this.pa=AppMobi.canvas.getContext("2d");try{this.pa.samplingMode=this.ja?"smooth":"sharp",this.pa.globalScale=
1,this.pa.HTML5CompatibilityMode=!0,this.pa.imageSmoothingEnabled=this.ja}catch(p){}0!==this.width&&0!==this.height&&(this.pa.width=this.width,this.pa.height=this.height)}this.pa||(r=this.Jc?{antialias:!!this.ja,alpha:b}:{alpha:b},this.pa=g.getContext("2d",r),this.pa.webkitImageSmoothingEnabled=this.ja,this.pa.mozImageSmoothingEnabled=this.ja,this.pa.msImageSmoothingEnabled=this.ja,this.pa.imageSmoothingEnabled=this.ja);this.Xk=this.mb=null}this.hj=function(){a.Aa()};window==window.top||this.ub||
this.rn||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Jc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(L("Reloading for continuous preview"),this.Ai="__c2_continuouspreview",this.ih=!0),this.es&&!this.be&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){a.setSuspended(!0)})));
0===this.Sb&&this.Ne&&1<this.devicePixelRatio&&this.setSize(this.eb,this.cb,!0);this.Oo();this.go();this.Z={}}}function k(g){g.target.result.createObjectStore("saves",{keyPath:"slot"})}function c(g,a,r,b){var l=indexedDB.open("_C2SaveStates");l.onupgradeneeded=k;l.onerror=b;l.onsuccess=function(l){l=l.target.result;l.onerror=b;l.transaction(["saves"],"readwrite").objectStore("saves").put({slot:g,data:a}).onsuccess=r}}function h(g,a,r){var b=indexedDB.open("_C2SaveStates");b.onupgradeneeded=k;b.onerror=
r;b.onsuccess=function(b){b=b.target.result;b.onerror=r;var n=b.transaction(["saves"]).objectStore("saves").get(g);n.onsuccess=function(){n.result?a(n.result.data):a(null)}}}function b(){L("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(g){var a,r={};for(a in g)!g.hasOwnProperty(a)||g[a]instanceof ba||g[a]&&"undefined"!==typeof g[a].bu||(r[a]=g[a]);return r}
d.prototype.setSize=function(g,a,r){var b=0,l=0,f=0,e=0,e=0;if(this.Hg!==g||this.Gg!==a||r){this.Hg=g;this.Gg=a;var c=this.Sb,d=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.wg;if(d||0!==this.Sb||r)d&&0<this.Ie&&(c=this.Ie),4<=c?(r=this.eb/this.cb,g/a>r?(f=a*r,5===c?(e=f/this.eb,1<e?e=Math.floor(e):1>e&&(e=1/Math.ceil(1/e)),f=this.eb*e,e*=this.cb,b=(g-f)/2,l=(a-e)/2,g=f,a=e):(b=(g-f)/2,g=f)):(e=g/r,5===c?(e/=this.cb,1<e?e=Math.floor(e):
1>e&&(e=1/Math.ceil(1/e)),f=this.eb*e,e*=this.cb,b=(g-f)/2,l=(a-e)/2,g=f):l=(a-e)/2,a=e),d&&!this.de&&(l=b=0),b=Math.floor(b),l=Math.floor(l),g=Math.floor(g),a=Math.floor(a)):this.de&&this.wg&&0===this.Mm&&(b=Math.floor((g-this.eb)/2),l=Math.floor((a-this.cb)/2),g=this.eb,a=this.cb),2>c&&(this.cg=this.devicePixelRatio),this.Ne&&this.un&&1<this.devicePixelRatio&&(1024<=g&&(g=1023),1024<=a&&(a=1023)),d=this.devicePixelRatio,this.Mh=g,this.Lh=a,this.width=Math.round(g*d),this.height=Math.round(a*d),
this.ta=!0,this.Yo?(this.V=this.width,this.U=this.height,this.xc=!0):this.width<this.eb&&this.height<this.cb||1===c?(this.V=this.width,this.U=this.height,this.xc=!0):(this.V=this.eb,this.U=this.cb,this.xc=!1,2===c?(r=this.eb/this.cb,c=this.Hg/this.Gg,c<r?this.V=this.U*c:c>r&&(this.U=this.V/c)):3===c&&(r=this.eb/this.cb,c=this.Hg/this.Gg,c>r?this.V=this.U*c:c<r&&(this.U=this.V/c))),this.um&&!this.ub&&(jQuery(this.um).css({width:g+"px",height:a+"px","margin-left":b,"margin-top":l}),"undefined"!==typeof cr_is_preview&&
jQuery("#borderwrap").css({width:g+"px",height:a+"px"})),this.canvas&&(this.canvas.width=Math.round(g*d),this.canvas.height=Math.round(a*d),this.Ne&&jQuery(this.canvas).css({width:g+"px",height:a+"px"})),this.mb&&(this.mb.width=g,this.mb.height=a,jQuery(this.mb).css({width:g+"px",height:a+"px"})),this.D&&this.D.Qf(Math.round(g*d),Math.round(a*d)),this.Nb&&this.pa&&(this.pa.width=g,this.pa.height=a),this.pa&&(this.pa.webkitImageSmoothingEnabled=this.ja,this.pa.mozImageSmoothingEnabled=this.ja,this.pa.msImageSmoothingEnabled=
this.ja,this.pa.imageSmoothingEnabled=this.ja),this.Oo()}};d.prototype.Oo=function(){if(this.Op&&0!==this.Vk){var g="portrait";2===this.Vk&&(g="landscape");screen.lockOrientation?screen.lockOrientation(g):screen.webkitLockOrientation?screen.webkitLockOrientation(g):screen.mozLockOrientation?screen.mozLockOrientation(g):screen.msLockOrientation&&screen.msLockOrientation(g)}};d.prototype.Tr=function(){this.rk=!0;var g,a,b;g=0;for(a=this.u.length;g<a;g++)b=this.u[g],b.Ii&&b.Ii()};d.prototype.Ur=function(){this.rk=
!1;var g,a,b;g=0;for(a=this.u.length;g<a;g++)b=this.u[g],b.Uk&&b.Uk()};d.prototype.mo=function(){if(!this.ub){var g=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.wg?jQuery(this.canvas).offset():jQuery(this.canvas).position();g.position="absolute";jQuery(this.mb).css(g)}};var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;d.prototype.setSuspended=
function(g){var a;if(g&&!this.xg)for(L("[Construct 2] Suspending"),this.xg=!0,0!==this.Ui&&f&&f(this.Ui),0!==this.ij&&clearTimeout(this.ij),g=0,a=this.jh.length;g<a;g++)this.jh[g](!0);else if(!g&&this.xg){L("[Construct 2] Resuming");this.xg=!1;this.si=Sa();this.Ig=Sa();g=this.Ng=this.bi=0;for(a=this.jh.length;g<a;g++)this.jh[g](!1);this.Aa()}};d.prototype.jm=function(g){this.jh.push(g)};d.prototype.load=function(){var g=$b();this.name=g[0];this.Lm=g[1];this.Sb=g[11];this.Mm=g[11];this.eb=g[9];this.cb=
g[10];this.io=this.eb/2;this.jo=this.cb/2;this.ub&&(4<=g[11]||0===g[11])&&(L("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Mm=this.Sb=3);this.Ol=g[17];this.Lg=g[18];0===this.Lg&&(this.Df=new Image,this.Df.src="loading-logo.png");this.Sg=g[20];this.od=new X(this);var a,b,n,l,e,f,c,d,h;a=0;for(b=g[2].length;a<b;a++)c=g[2][a],db(c),h=new c[0](this),h.Bl=c[1],h.ee=c[2],h.Mn=c[9],h.O&&h.O(),this.plugins.push(h);g=$b();a=0;for(b=
g[3].length;a<b;a++){c=g[3][a];e=c[1];h=null;n=0;for(l=this.plugins.length;n<l;n++)if(this.plugins[n]instanceof e){h=this.plugins[n];break}var m=new h.ka(h);m.name=c[0];m.L=c[2];m.mk=c[3].slice(0);m.Rs=c[3].length;m.Pp=c[4];m.Rq=c[5];m.aa=c[11];m.L?(m.Jf=[],m.ad=this.jg++,m.ya=null):(m.Jf=null,m.ad=-1,m.ya=[]);m.Wh=null;m.sf=null;m.Gm=null;m.nc=!1;m.Hb=null;c[6]?(m.Fl=c[6][0],m.Gl=c[6][1],m.Hl=c[6][2]):(m.Fl=null,m.Gl=0,m.Hl=0);m.Qb=c[7]?c[7]:null;m.index=a;m.e=[];m.Ph=[];m.oe=[new eb(m)];m.xd=0;
m.uc=null;m.Tf=!0;m.lj=fb;m.Wq=gb;m.er=hb;m.ma=ib;m.Yg=jb;m.Ri=kb;m.Ye=lb;m.ci=mb;m.ak=nb;m.dk=ob;m.Wc=tb;m.Tm=ub;m.Jh=new Wa(this.eb,this.cb);m.wh=!0;m.xh=!1;m.Z={};m.toString=vb;m.Pa=[];n=0;for(l=c[8].length;n<l;n++){d=c[8][n];var p=d[1],k=null;e=0;for(f=this.Pa.length;e<f;e++)if(this.Pa[e]instanceof p){k=this.Pa[e];break}k||(k=new p(this),k.Gi=[],k.Ve=new ba,k.O&&k.O(),this.Pa.push(k),ac&&k instanceof ac&&(this.Do=k),bc&&k instanceof bc&&(this.wn=k));-1===k.Gi.indexOf(m)&&k.Gi.push(m);e=new k.ka(k,
m);e.name=d[0];e.aa=d[2];e.O();m.Pa.push(e)}m.global=c[9];m.pk=c[10];m.S=[];n=0;for(l=c[12].length;n<l;n++)m.S.push({id:c[12][n][0],name:c[12][n][1],nb:-1,jc:!0,index:n});m.ou=c[13];this.Ol&&!m.L&&!m.pk&&h.ee||m.O();m.name&&(this.types[m.name]=m);this.u.push(m);h.Bl&&(n=new h.Y(m),n.uid=this.Sg++,n.qo=this.Pn++,n.Ke=0,n.pg=wb,n.toString=xb,n.A=c[14],n.O(),m.e.push(n),this.Xe[n.uid.toString()]=n)}a=0;for(b=g[4].length;a<b;a++)for(e=g[4][a],f=this.u[e[0]],n=1,l=e.length;n<l;n++)c=this.u[e[n]],c.ya.push(f),
f.Jf.push(c);a=0;for(b=g[23].length;a<b;a++){e=g[23][a];f=[];n=0;for(l=e.length;n<l;n++)f.push(this.u[e[n]]);n=0;for(l=f.length;n<l;n++)f[n].nc=!0,f[n].Hb=f}if(0<this.jg)for(a=0,b=this.u.length;a<b;a++)if(c=this.u[a],!c.L&&c.ya.length){c.Wh=Array(this.jg);c.sf=Array(this.jg);c.Gm=Array(this.jg);m=[];n=k=p=d=0;for(l=c.ya.length;n<l;n++)for(h=c.ya[n],c.Wh[h.ad]=d,d+=h.Rs,c.sf[h.ad]=p,p+=h.Pp,c.Gm[h.ad]=k,k+=h.Rq,e=0,f=h.S.length;e<f;e++)m.push(ra({},h.S[e]));c.S=m.concat(c.S);n=0;for(l=c.S.length;n<
l;n++)c.S[n].index=n}a=0;for(b=g[5].length;a<b;a++)c=g[5][a],n=new yb(this,c),this.xk[n.name]=n,this.Mc.push(n);a=0;for(b=g[6].length;a<b;a++)c=g[6][a],n=new zb(this,c),this.Sj[n.name]=n,this.Fe.push(n);a=0;for(b=this.Fe.length;a<b;a++)this.Fe[a].Na();a=0;for(b=this.kj.length;a<b;a++)this.kj[a].Na();this.kj.length=0;this.Km=g[7];this.gd=g[8];this.cg=1;this.oq=g[12];this.ja=g[13];this.Cj=g[14];this.Ps=g[16];this.Vk=g[19];this.Op=0<this.Vk;this.es=g[21];this.xc=this.Yo=g[22];this.ej=Date.now()};d.prototype.Pq=
function(g){var a,b;a=0;for(b=this.Nd.length;a<b;a++)if(this.Nd[a].Wp===g)return this.Nd[a];return null};d.prototype.nm=function(){var g=0,a=0,b=!0,n,l;n=0;for(l=this.Nd.length;n<l;n++){var e=this.Nd[n].xm;if(!e||0>=e)e=5E4;g+=e;this.Nd[n].complete||this.Nd[n].loaded?a+=e:b=!1}this.Ze=0==g?0:a/g;return b};d.prototype.go=function(){if(this.pa||this.D){var g=this.pa||this.Xk;this.mb&&this.mo();this.Ze=0;this.Dn=-1;if(this.nm())this.yr();else{var a=Date.now()-this.ej;if(g){var b=this.width,n=this.height,
l=this.devicePixelRatio;this.mb&&(b=this.Mh,n=this.Lh,l=1);if(3!==this.Lg&&500<=a&&this.Dn!=this.Ze){g.clearRect(0,0,b,n);var a=b/2,n=n/2,b=0===this.Lg&&this.Df.complete,e=40*l,c=0,f=80*l,d;b&&(f=this.Df.width*l,d=this.Df.height*l,e=f/2,c=d/2,g.drawImage(this.Df,S(a-e),S(n-c),f,d));1>=this.Lg?(a=S(a-e)+0.5,n=S(n+(c+(b?12*l:0)))+0.5,g.fillStyle="DodgerBlue",g.fillRect(a,n,Math.floor(f*this.Ze),6*l),g.strokeStyle="black",g.strokeRect(a,n,f,6*l),g.strokeStyle="white",g.strokeRect(a-1*l,n-1*l,f+2*l,8*
l)):2===this.Lg&&(g.font="12pt Arial",g.fillStyle="#999",g.nu="middle",l=Math.round(100*this.Ze)+"%",b=g.measureText?g.measureText(l):null,g.fillText(l,a-(b?b.width:0)/2,n))}this.Dn=this.Ze}setTimeout(function(g){return function(){g.go()}}(this),100)}}};d.prototype.yr=function(){this.mb&&(this.canvas.parentNode.removeChild(this.mb),this.mb=this.Xk=null);this.ej=Date.now();this.Ig=Sa();var g,a,b;if(this.Ol)for(g=0,a=this.u.length;g<a;g++)b=this.u[g],b.L||b.pk||!b.Ia.ee||b.O();else this.Bg=!1;g=0;for(a=
this.Mc.length;g<a;g++)this.Mc[g].Xp();2<=this.Sb&&(g=this.eb/this.cb,a=this.width/this.height,this.cg=2!==this.Sb&&a>g||2===this.Sb&&a<g?this.height/this.cb:this.width/this.eb);this.Lm?this.xk[this.Lm].Cl():this.Mc[0].Cl();this.Ol||(this.Ef=1,this.trigger(X.prototype.k.xj,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();this.Aa();this.Nb&&AppMobi.webview.execute("onGameReady();")};var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||
window.msRequestAnimationFrame||window.oRequestAnimationFrame;d.prototype.Aa=function(){if(this.wa){var g=Sa();if(this.Br&&this.gl&&29>g-this.vk)this.gl=!1,this.vk=g,e?this.Ui=e(this.hj,this.canvas):this.ij=setTimeout(this.hj,this.be?1:16);else{this.gl=!0;this.vk=g;var a=this.Sb,b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(b||this.wg)&&0<this.Ie&&(a=this.Ie);if(0<a&&!this.vn){var a=window.innerWidth,n=window.innerHeight;this.Hg===a&&this.Gg===
n||this.setSize(a,n)}this.ub||(b?(this.Yh||(this.Xj=jQuery(this.canvas).css("margin")||"0",this.Yh=!0),this.vg||this.de||jQuery(this.canvas).css({"margin-left":""+Math.floor((screen.width-this.width/this.devicePixelRatio)/2)+"px","margin-top":""+Math.floor((screen.height-this.height/this.devicePixelRatio)/2)+"px"})):this.Yh?(this.vg||this.de||jQuery(this.canvas).css("margin",this.Xj),this.Xj="",this.Yh=!1,0===this.Sb&&this.setSize(Math.round(this.Vn/this.devicePixelRatio),Math.round(this.Un/this.devicePixelRatio),
!0)):(this.Vn=this.width,this.Un=this.height));this.Bg&&(b=this.nm(),this.Ef=this.Ze,b&&(this.Bg=!1,this.Ze=1,this.trigger(X.prototype.k.xj,null)));this.Sr();!this.ta&&!this.Jc||this.rk||this.ih||(this.ta=!1,this.D?this.wc():this.Zc(),this.dj&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.dj[0],this.dj[1]),this.trigger(X.prototype.k.jp,null)),this.dj=null));this.gu||(this.pd++,this.He++,this.bi++);this.Ng+=Sa()-g;this.xg||(e?this.Ui=e(this.hj,this.canvas):this.ij=setTimeout(this.hj,
this.be?1:16))}}};d.prototype.Sr=function(){var g,a,b,n,l,e,c,f,d;g=Sa();1E3<=g-this.Ig&&(this.Ig+=1E3,this.Wj=this.bi,this.bi=0,this.Kj=this.Ng,this.Ng=0);this.Jn&&(0!==this.si&&(a=g-this.si,0!==a||this.Lr?(this.Xd=a/1E3,0.5<this.Xd?this.Xd=0:0.1<this.Xd&&(this.Xd=0.1)):(10<=this.qu&&(this.Jn=!1),this.Xd=1/60)),this.si=g);this.Ee=this.Xd*this.ef;this.oc.add(this.Ee);g=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.wg;2<=this.Sb||g&&
0<this.Ie?(a=this.eb/this.cb,b=this.width/this.height,n=this.Sb,g&&0<this.Ie&&(n=this.Ie),this.cg=2!==n&&b>a||2===n&&b<a?this.height/this.cb:this.width/this.eb,this.wa&&(this.wa.ql(this.wa.scrollX),this.wa.rl(this.wa.scrollY))):this.cg=this.Ne?this.devicePixelRatio:1;this.ob();this.Kc++;this.od.ws();this.Kc--;this.ob();this.Kc++;g=0;for(a=this.u.length;g<a;g++)if(c=this.u[g],!c.L&&(c.Pa.length||c.ya.length))for(b=0,n=c.e.length;b<n;b++)for(f=c.e[b],l=0,e=f.R.length;l<e;l++)f.R[l].Aa();g=0;for(a=this.u.length;g<
a;g++)if(c=this.u[g],!c.L&&(c.Pa.length||c.ya.length))for(b=0,n=c.e.length;b<n;b++)for(f=c.e[b],l=0,e=f.R.length;l<e;l++)d=f.R[l],d.no&&d.no();b=this.Lk.Md();g=0;for(a=b.length;g<a;g++)b[g].Aa();this.Kc--;this.Cr();for(g=0;this.fg&&10>g++;)this.Em(this.fg);g=0;for(a=this.Fe.length;g<a;g++)this.Fe[g].hk=!1;this.wa.Th&&this.wa.Th.Ta();this.Vi.length=0;this.Kc++;g=0;for(a=this.u.length;g<a;g++)if(c=this.u[g],!c.L&&(c.Pa.length||c.ya.length))for(b=0,n=c.e.length;b<n;b++)for(f=c.e[b],l=0,e=f.R.length;l<
e;l++)d=f.R[l],d.Il&&d.Il();b=this.Tn.Md();g=0;for(a=b.length;g<a;g++)b[g].Il();this.Kc--};d.prototype.Em=function(g){var a=this.wa;this.wa.Is();var b,n,l,c,e,f,d;if(this.D)for(b=0,n=this.u.length;b<n;b++)e=this.u[b],e.L||!e.Nl||e.global&&0!==e.e.length||-1!==g.sg.indexOf(e)||e.Nl();a==g&&(this.od.Pb.length=0);g.Cl();b=0;for(n=this.u.length;b<n;b++)if(e=this.u[b],e.global||e.Ia.Bl)for(g=0,a=e.e.length;g<a;g++)if(f=e.e[g],f.Tk&&f.Tk(),f.R)for(l=0,c=f.R.length;l<c;l++)d=f.R[l],d.Tk&&d.Tk();this.ta=
!0;this.ob()};d.prototype.lh=function(g){this.Lk.add(g)};d.prototype.uf=function(g){return g&&-1!==g.Rg?this.Xd*g.Rg:this.Ee};d.prototype.Zc=function(){this.wa.Zc(this.pa);this.Nb&&this.pa.present()};d.prototype.wc=function(){this.wa.wc(this.D);this.D.ls()};d.prototype.Bj=function(g){g&&this.Rh.push(g)};d.prototype.ts=function(g){va(this.Rh,g)};d.prototype.mg=function(g){return this.Xe[g.toString()]};d.prototype.Pd=function(g){var a,b;if(!this.Yc.contains(g)){this.Yc.add(g);if(g.nc)for(a=0,b=g.siblings.length;a<
b;a++)this.Pd(g.siblings[a]);this.ok&&this.Yc.ve.push(g);this.Kc++;this.trigger(Object.getPrototypeOf(g.type.Ia).k.Zl,g);this.Kc--}};d.prototype.ob=function(){var g,a,b,n,l,e,c,f,d,h;this.ok=!0;n=0;for(e=this.Rb.length;n<e;n++)for(g=this.Rb[n],a=g.type,a.e.push(g),l=0,c=a.ya.length;l<c;l++)a.ya[l].e.push(g),a.ya[l].Tf=!0;this.Rb.length=0;e=this.Yc.Md();for(n=0;n<e.length;n++){g=e[n];a=g.type;b=a.e;l=0;for(c=this.Rh.length;l<c;l++)this.Rh[l](g);va(b,g);0===b.length&&(a.xh=!1);g.Ih&&a.Jh.update(g,g.Ih,
null);g.j&&(sa(g.j.e,g.Kb()),g.j.ic=!0);l=0;for(c=a.ya.length;l<c;l++)va(a.ya[l].e,g),a.ya[l].Tf=!0;if(g.R)for(l=0,c=g.R.length;l<c;l++)b=g.R[l],b.Nf&&b.Nf(),b.F.Ve.remove(g);this.Lk.remove(g);this.Tn.remove(g);l=0;for(c=this.od.Pb.length;l<c;l++)if(d=this.od.Pb[l],d.Eb.hasOwnProperty(a.index)&&va(d.Eb[a.index].Bd,g),!a.L)for(b=0,f=a.ya.length;b<f;b++)h=a.ya[b],d.Eb.hasOwnProperty(h.index)&&va(d.Eb[h.index].Bd,g);g.Nf&&g.Nf();this.Xe.hasOwnProperty(g.uid.toString())&&delete this.Xe[g.uid.toString()];
this.Hi--;64>a.Ph.length&&a.Ph.push(g);a.Tf=!0}this.Yc.ae()||(this.ta=!0);this.Yc.clear();this.ok=!1};d.prototype.ym=function(a,b,r,n){if(a.L){var l=S(Math.random()*a.Jf.length);return this.ym(a.Jf[l],b,r,n)}return a.uc?this.Vd(a.uc,b,!1,r,n,!1):null};var m=[];d.prototype.Vd=function(a,b,r,n,l,e){var c,f,d,h;if(!a)return null;var p=this.u[a[1]],k=p.Ia.ee;if(this.Bg&&k&&!p.pk||k&&!this.D&&11===a[0][11])return null;var u=b;k||(b=null);var q;p.Ph.length?(q=p.Ph.pop(),q.qc=!0,p.Ia.Y.call(q,p)):(q=new p.Ia.Y(p),
q.qc=!1);q.uid=r&&!e?a[2]:this.Sg++;this.Xe[q.uid.toString()]=q;q.qo=this.Pn++;q.Ke=p.e.length;c=0;for(f=this.Rb.length;c<f;++c)this.Rb[c].type===p&&q.Ke++;q.pg=wb;d=a[3];if(q.qc)Ra(q.Z);else{q.Z={};if("undefined"!==typeof cr_is_preview)for(q.jn=[],q.jn.length=d.length,c=0,f=d.length;c<f;c++)q.jn[c]=d[c][1];q.Wa=[];q.Wa.length=d.length}c=0;for(f=d.length;c<f;c++)q.Wa[c]=d[c][0];if(k){var t=a[0];q.x=ca(n)?t[0]:n;q.y=ca(l)?t[1]:l;q.z=t[2];q.width=t[3];q.height=t[4];q.depth=t[5];q.m=t[6];q.opacity=t[7];
q.Lb=t[8];q.Mb=t[9];q.Gb=t[10];c=t[11];!this.D&&p.S.length&&(q.Gb=c);q.gg=Xa(q.Gb);this.q&&Ya(q,q.Gb,this.q);if(q.qc){c=0;for(f=t[12].length;c<f;c++)for(d=0,h=t[12][c].length;d<h;d++)q.Ha[c][d]=t[12][c][d];q.La.set(0,0,0,0);q.Ih.set(0,0,-1,-1);q.Ab.eh(q.La);q.Gj.length=0}else{q.Ha=t[12].slice(0);c=0;for(f=q.Ha.length;c<f;c++)q.Ha[c]=t[12][c].slice(0);q.fa=[];q.Qd=[];q.Qd.length=p.S.length;q.La=new pa(0,0,0,0);q.Ih=new pa(0,0,-1,-1);q.Ab=new qa;q.Gj=[];q.C=Ab;q.au=Bb;q.lc=Cb;q.Fa=Db;q.Kb=Eb}q.mh=!1;
q.Ls=0;q.Ks=0;q.Js=null;14===t.length&&(q.mh=!0,q.Ls=t[13][0],q.Ks=t[13][1],q.Js=t[13][2]);c=0;for(f=p.S.length;c<f;c++)q.Qd[c]=!0;q.Ld=Fb;q.Ld();q.Xo=!!q.fa.length;q.Fj=!0;p.wh=!0;q.visible=!0;q.Rg=-1;q.j=b;q.gf=b.e.length;"undefined"===typeof q.la&&(q.la=null);this.ta=q.ud=!0}q.toString=xb;var v;c=m.length=0;for(f=p.ya.length;c<f;c++)m.push.apply(m,p.ya[c].Pa);m.push.apply(m,p.Pa);if(q.qc)for(c=0,f=m.length;c<f;c++){var w=m[c];v=q.R[c];v.qc=!0;w.F.Y.call(v,w,q);t=a[4][c];d=0;for(h=t.length;d<h;d++)v.A[d]=
t[d];v.O();w.F.Ve.add(q)}else for(q.R=[],c=0,f=m.length;c<f;c++)w=m[c],v=new w.F.Y(w,q),v.qc=!1,v.A=a[4][c].slice(0),v.O(),q.R.push(v),w.F.Ve.add(q);t=a[5];if(q.qc)for(c=0,f=t.length;c<f;c++)q.A[c]=t[c];else q.A=t.slice(0);this.Rb.push(q);b&&(b.e.push(q),1!==b.Fd||1!==b.Gd)&&(p.xh=!0);this.Hi++;if(p.nc){if(q.nc=!0,q.qc?q.siblings.length=0:q.siblings=[],!r&&!e){c=0;for(f=p.Hb.length;c<f;c++)if(p.Hb[c]!==p){if(!p.Hb[c].uc)return null;q.siblings.push(this.Vd(p.Hb[c].uc,u,!1,k?q.x:n,k?q.y:l,!0))}c=0;
for(f=q.siblings.length;c<f;c++)for(q.siblings[c].siblings.push(q),d=0;d<f;d++)c!==d&&q.siblings[c].siblings.push(q.siblings[d])}}else q.nc=!1,q.siblings=null;q.O();c=0;for(f=q.R.length;c<f;c++)q.R[c].ks&&q.R[c].ks();return q};d.prototype.br=function(a){var b,c;b=0;for(c=this.wa.da.length;b<c;b++){var n=this.wa.da[b];if(bb(n.name,a))return n}return null};d.prototype.cr=function(a){a=S(a);0>a&&(a=0);a>=this.wa.da.length&&(a=this.wa.da.length-1);return this.wa.da[a]};d.prototype.Ij=function(a){var b,
c;b=0;for(c=a.length;b<c;b++)a[b].ma().ua=!0};d.prototype.Yg=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Yg()};d.prototype.Ri=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Ri()};d.prototype.Ye=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Ye()};d.prototype.To=function(a){if(a.wh){var b,c,n=a.e;b=0;for(c=n.length;b<c;++b)n[b].Fa();a.wh=!1}};d.prototype.Pm=function(a,b,c,n){var l,e,f=a?1!==a.Fd||1!==a.Gd:!1;if(b.L)for(a=0,l=b.Jf.length;a<l;++a)e=b.Jf[a],f||e.xh?ua(n,e.e):(this.To(e),
e.Jh.ro(c,n));else f||b.xh?ua(n,b.e):(this.To(b),b.Jh.ro(c,n))};d.prototype.Wm=function(a,b,c,n){var l,e;l=0;for(e=b.length;l<e;++l)this.Pm(a,b[l],c,n)};d.prototype.ir=function(a,b,c){var n=this.Do;n&&this.Wm(a,n.Gi,b,c)};d.prototype.$q=function(a,b,c){var n=this.wn;n&&this.Wm(a,n.Gi,b,c)};d.prototype.Fc=function(a,b){if(!(a&&b&&a!==b&&a.ud&&b.ud))return!1;a.Fa();b.Fa();var c=a.j,n=b.j,l,e,f,d,h,m,p,k;if(c===n||c.Fd===n.Fd&&n.Gd===n.Gd&&c.scale===n.scale&&c.m===n.m&&c.ph===n.ph){if(!a.La.Gr(b.La)||
!a.Ab.kn(b.Ab)||a.mh&&b.mh)return!1;if(a.mh)return this.Ho(a,b);if(b.mh)return this.Ho(b,a);p=a.la&&!a.la.zf();l=b.la&&!b.la.zf();if(!p&&!l)return!0;p?(a.la.lf(a.width,a.height,a.m),p=a.la):(this.Sc.Rf(a.Ab,a.x,a.y,a.width,a.height),p=this.Sc);l?(b.la.lf(b.width,b.height,b.m),k=b.la):(this.Sc.Rf(b.Ab,b.x,b.y,b.width,b.height),k=this.Sc);return p.tg(k,b.x-a.x,b.y-a.y)}p=a.la&&!a.la.zf();l=b.la&&!b.la.zf();p?(a.la.lf(a.width,a.height,a.m),this.Sc.xo(a.la)):this.Sc.Rf(a.Ab,a.x,a.y,a.width,a.height);
p=this.Sc;l?(b.la.lf(b.width,b.height,b.m),this.Dl.xo(b.la)):this.Dl.Rf(b.Ab,b.x,b.y,b.width,b.height);k=this.Dl;l=0;for(e=p.Pc;l<e;l++)f=2*l,d=f+1,h=p.Ya[f],m=p.Ya[d],p.Ya[f]=c.Ea(h+a.x,m+a.y,!0),p.Ya[d]=c.Ea(h+a.x,m+a.y,!1);p.Fa();l=0;for(e=k.Pc;l<e;l++)f=2*l,d=f+1,h=k.Ya[f],m=k.Ya[d],k.Ya[f]=n.Ea(h+b.x,m+b.y,!0),k.Ya[d]=n.Ea(h+b.x,m+b.y,!1);k.Fa();return p.tg(k,0,0)};var u=new qa;new pa(0,0,0,0);d.prototype.Ho=function(a,b){var c=a.cu,n,l,e,f,d=b.La,h=a.x,m=a.y,p=b.la&&!b.la.zf();n=0;for(l=c.length;n<
l;++n)if(e=c[n],f=e.ku,d.Hr(f,h,m)&&(u.eh(f),u.offset(h,m),u.kn(b.Ab)))if(p)if(b.la.lf(b.width,b.height,b.m),e.al){if(e.al.tg(b.la,b.x-(h+f.left),b.y-(m+f.top)))return!0}else{if(this.Sc.Rf(u,0,0,f.right-f.left,f.bottom-f.top),this.Sc.tg(b.la,b.x,b.y))return!0}else if(e.al){if(this.Sc.Rf(b.Ab,0,0,b.width,b.height),e.al.tg(this.Sc,-(h+f.left),-(m+f.top)))return!0}else return!0;return!1};d.prototype.Po=function(a,b){if(!b)return!1;var c,n,l,e,f;c=0;for(n=a.Pa.length;c<n;c++)if(a.Pa[c].F instanceof b)return!0;
if(!a.L)for(c=0,n=a.ya.length;c<n;c++)for(f=a.ya[c],l=0,e=f.Pa.length;l<e;l++)if(f.Pa[l].F instanceof b)return!0;return!1};d.prototype.Qo=function(a){return this.Po(a,Sb.xt)};d.prototype.Ml=function(a){return this.Po(a,Sb.yt)};var q=[];d.prototype.cc=function(a){var b,c,n;a.Fa();this.ir(a.j,a.La,q);b=0;for(c=q.length;b<c;++b)if(n=q[b],n.Z.Eo&&this.Fc(a,n))return q.length=0,n;q.length=0;return null};var p=[];d.prototype.re=function(a,b){var c=null;b&&(c=p,c.length=0);a.Fa();this.$q(a.j,a.La,q);var n,
l,e;n=0;for(l=q.length;n<l;++n)if(e=q[n],e.Z.xn&&this.Fc(a,e))if(b)c.push(e);else return q.length=0,e;q.length=0;return c};d.prototype.hd=function(a,b,c,e,l,f){e=e||50;var d=a.x,h=a.y,m,p=null,k=null;for(m=0;m<e;m++)if(a.x=d+b*m,a.y=h+c*m,a.C(),!this.Fc(a,p)&&((p=this.cc(a))&&(k=p),!p&&(l&&(p=f?this.Fc(a,f)?f:null:this.re(a))&&(k=p),!p)))return k&&this.dl(a,b,c,k),!0;a.x=d;a.y=h;a.C();return!1};d.prototype.dl=function(a,b,c,e){var l=2,f,d=!1;f=!1;for(var h=a.x,m=a.y;16>=l;)f=1/l,l*=2,a.x+=b*f*(d?
1:-1),a.y+=c*f*(d?1:-1),a.C(),this.Fc(a,e)?f=d=!0:(f=d=!1,h=a.x,m=a.y);f&&(a.x=h,a.y=m,a.C())};d.prototype.qs=function(a,b){var c=ca(b)?100:b,e=0,l=a.x,f=a.y,d=0,h=0,m=0,p=this.cc(a);if(!p)return!0;for(;e<=c;){switch(d){case 0:h=0;m=-1;e++;break;case 1:h=1;m=-1;break;case 2:h=1;m=0;break;case 3:m=h=1;break;case 4:h=0;m=1;break;case 5:h=-1;m=1;break;case 6:h=-1;m=0;break;case 7:m=h=-1}d=(d+1)%8;a.x=S(l+h*e);a.y=S(f+m*e);a.C();if(!this.Fc(a,p)&&(p=this.cc(a),!p))return!0}a.x=l;a.y=f;a.C();return!1};
d.prototype.$g=function(a,b){a.ud&&b.ud&&this.Vi.push([a,b])};d.prototype.Vp=function(a,b){var c,e,l;c=0;for(e=this.Vi.length;c<e;c++)if(l=this.Vi[c],l[0]==a&&l[1]==b||l[0]==b&&l[1]==a)return!0;return!1};var t=[],v=-1;d.prototype.trigger=function(a,b,c){if(!this.wa)return!1;var e=this.wa.Th;if(!e)return!1;v++;v===t.length?t.push(new ba):t[v].clear();a=this.Mo(a,b,e,c);v--;return a};d.prototype.Mo=function(a,b,c,e){var l=t[v];if(l.contains(c))return!1;l.add(c);var l=c.cn.Md(),f=!1,d,h,m;d=0;for(h=
l.length;d<h;d++)l[d].Ir()&&(m=this.Mo(a,b,l[d].rg,e),f=f||m);if(b)for(m=this.Kl(a,b,b.type.name,c,e),f=f||m,d=0,h=b.type.ya.length;d<h;d++)m=this.Kl(a,b,b.type.ya[d].name,c,e),f=f||m;else m=this.Kl(a,b,"system",c,e),f=f||m;return f};d.prototype.Kl=function(a,b,c,e,l){var f,d=!1,h=!1,h="undefined"!==typeof l,m=(h?e.Im:e.No)[c];if(!m)return d;var p=null;e=0;for(f=m.length;e<f;e++)if(m[e].method==a){p=m[e].Vh;break}if(!p)return d;a=h?p[l]:p;if(!a)return null;e=0;for(f=a.length;e<f;e++)l=a[e][0],h=a[e][1],
h=this.Nq(b,c,l,h),d=d||h;return d};d.prototype.Nq=function(a,b,c,e){var l,f,d=!1;this.Ll++;var h=this.lb().Ib;h&&this.Yg(h.me);var m=1<this.Ll;this.Yg(c.me);m&&this.os();var p=this.Si(c);p.Ib=c;a&&(l=this.types[b].ma(),l.ua=!1,l.e.length=1,l.e[0]=a,this.types[b].Wc());a=!0;if(c.parent){b=p.Go;for(l=c.parent;l;)b.push(l),l=l.parent;b.reverse();l=0;for(f=b.length;l<f;l++)if(!b[l].ys()){a=!1;break}}a&&(this.He++,c.Nc?c.xs(e):c.Ta(),d=d||p.Re);this.Ni();m&&this.hs();this.Ye(c.me);h&&this.Ye(h.me);0!==
this.Kc||0!==v||this.qk||this.Yc.ae()&&!this.Rb.length||this.ob();this.Ll--;return d};d.prototype.Qm=function(){var a=this.lb();return a.Ib.Da[a.Ua]};d.prototype.Vq=function(){var a=this.lb();return a.Ib.rc[a.Fb]};d.prototype.os=function(){this.Ei++;this.Ei>=this.Fk.length&&this.Fk.push([])};d.prototype.hs=function(){this.Ei--};d.prototype.Rm=function(){return this.Fk[this.Ei]};d.prototype.Si=function(a){this.Uh++;this.Uh>=this.Rj.length&&this.Rj.push(new Gb);var b=this.lb();b.reset(a);return b};
d.prototype.Ni=function(){this.Uh--};d.prototype.lb=function(){return this.Rj[this.Uh]};d.prototype.Sm=function(a,b){for(var c,e,l,f,d,h;b;){c=0;for(e=b.Ec.length;c<e;c++)if(h=b.Ec[c],h instanceof Hb&&bb(a,h.name))return h;b=b.parent}c=0;for(e=this.Fe.length;c<e;c++)for(d=this.Fe[c],l=0,f=d.Zd.length;l<f;l++)if(h=d.Zd[l],h instanceof Hb&&bb(a,h.name))return h;return null};d.prototype.Um=function(a){var b,c;b=0;for(c=this.Mc.length;b<c;b++)if(this.Mc[b].aa===a)return this.Mc[b];return null};d.prototype.ei=
function(a){var b,c;b=0;for(c=this.u.length;b<c;b++)if(this.u[b].aa===a)return this.u[b];return null};d.prototype.Xq=function(a){var b,c;b=0;for(c=this.Rd.length;b<c;b++)if(this.Rd[b].aa===a)return this.Rd[b];return null};d.prototype.Cr=function(){var a=this,e=this.pl,f=this.Dd,n=this.Ai,l=!1;this.Bo&&(l=!0,e="__c2_continuouspreview",this.Bo=!1);if(e.length){this.ob();f=this.Cs();if(window.indexedDB&&!this.Jc)c(e,f,function(){L("Saved state to IndexedDB storage ("+f.length+" bytes)");a.Dd=f;a.trigger(X.prototype.k.yj,
null);a.Dd="";l&&b()},function(c){try{localStorage.setItem("__c2save_"+e,f),L("Saved state to WebStorage ("+f.length+" bytes)"),a.Dd=f,a.trigger(X.prototype.k.yj,null),a.Dd="",l&&b()}catch(n){L("Failed to save game state: "+c+"; "+n)}});else try{localStorage.setItem("__c2save_"+e,f),L("Saved state to WebStorage ("+f.length+" bytes)"),a.Dd=f,this.trigger(X.prototype.k.yj,null),a.Dd="",l&&b()}catch(d){L("Error saving to WebStorage: "+d)}this.Db=this.Ai=this.pl=""}n.length&&(window.indexedDB&&!this.Jc?
h(n,function(b){b?(a.Db=b,L("Loaded state from IndexedDB storage ("+a.Db.length+" bytes)")):(a.Db=localStorage.getItem("__c2save_"+n)||"",L("Loaded state from WebStorage ("+a.Db.length+" bytes)"));a.ih=!1;a.Db.length||a.trigger(X.prototype.k.wj,null)},function(){a.Db=localStorage.getItem("__c2save_"+n)||"";L("Loaded state from WebStorage ("+a.Db.length+" bytes)");a.ih=!1;a.Db.length||a.trigger(X.prototype.k.wj,null)}):(this.Db=localStorage.getItem("__c2save_"+n)||"",L("Loaded state from WebStorage ("+
this.Db.length+" bytes)"),this.ih=!1,a.Db.length||a.trigger(X.prototype.k.wj,null)),this.pl=this.Ai="");this.Db.length&&(this.ob(),this.Rr(this.Db),this.Dd=this.Db,this.trigger(X.prototype.k.up,null),this.Db=this.Dd="")};d.prototype.Cs=function(){var b,c,e,f,l,d,h,m={c2save:!0,version:1,rt:{time:this.oc.Oa,timescale:this.ef,tickcount:this.pd,execcount:this.He,next_uid:this.Sg,running_layout:this.wa.aa,start_time_offset:Date.now()-this.ej},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};
b=0;for(c=this.u.length;b<c;b++)if(l=this.u[b],!l.L&&!this.Qo(l)){d={instances:[]};Qa(l.Z)&&(d.ex=a(l.Z));e=0;for(f=l.e.length;e<f;e++)d.instances.push(this.ol(l.e[e]));m.types[l.aa.toString()]=d}b=0;for(c=this.Mc.length;b<c;b++)e=this.Mc[b],m.layouts[e.aa.toString()]=e.gb();f=m.events.groups;b=0;for(c=this.Rd.length;b<c;b++)e=this.Rd[b],f[e.aa.toString()]=!!this.jf[e.wf];c=m.events.cnds;for(h in this.nf)this.nf.hasOwnProperty(h)&&(b=this.nf[h],Qa(b.Z)&&(c[h]={ex:a(b.Z)}));c=m.events.acts;for(h in this.kf)this.kf.hasOwnProperty(h)&&
(b=this.kf[h],Qa(b.Z)&&(c[h]={ex:b.Z}));c=m.events.vars;for(h in this.Xf)this.Xf.hasOwnProperty(h)&&(b=this.Xf[h],b.ni||b.parent&&!b.Ag||(c[h]=b.data));m.system=this.od.gb();return JSON.stringify(m)};d.prototype.so=function(){var a,b,c,e,f,d;this.Xe={};a=0;for(b=this.u.length;a<b;a++)if(c=this.u[a],!c.L)for(e=0,f=c.e.length;e<f;e++)d=c.e[e],this.Xe[d.uid.toString()]=d};d.prototype.Rr=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.oc.reset();this.oc.Oa=b.time;this.ef=b.timescale;
this.pd=b.tickcount;this.He=b.execcount;this.ej=Date.now()-b.start_time_offset;var c=b.running_layout;if(c!==this.wa.aa)if(c=this.Um(c))this.Em(c);else return;var e,f,d,h,m,p,k;p=a.types;for(f in p)if(p.hasOwnProperty(f)&&(h=this.ei(parseInt(f,10)))&&!h.L&&!this.Qo(h)){p[f].ex?h.Z=p[f].ex:Ra(h.Z);m=h.e;d=p[f].instances;c=0;for(e=ha(m.length,d.length);c<e;c++)this.Bi(m[c],d[c]);c=d.length;for(e=m.length;c<e;c++)this.Pd(m[c]);c=m.length;for(e=d.length;c<e;c++){m=null;if(h.Ia.ee&&(m=this.wa.di(d[c].w.l),
!m))continue;m=this.Vd(h.uc,m,!1,0,0,!0);this.Bi(m,d[c])}h.Tf=!0}this.ob();this.so();e=a.layouts;for(f in e)e.hasOwnProperty(f)&&(c=this.Um(parseInt(f,10)))&&c.wb(e[f]);e=a.events.groups;for(f in e)e.hasOwnProperty(f)&&(c=this.Xq(parseInt(f,10)))&&(this.jf[c.wf]=e[f]);c=a.events.cnds;for(f in c)c.hasOwnProperty(f)&&this.nf.hasOwnProperty(f)&&(this.nf[f].Z=c[f].ex);c=a.events.acts;for(f in c)c.hasOwnProperty(f)&&this.kf.hasOwnProperty(f)&&(this.kf[f].Z=c[f].ex);c=a.events.vars;for(f in c)c.hasOwnProperty(f)&&
this.Xf.hasOwnProperty(f)&&(this.Xf[f].data=c[f]);this.Sg=b.next_uid;this.od.wb(a.system);c=0;for(e=this.u.length;c<e;c++)if(h=this.u[c],!h.L)for(f=0,a=h.e.length;f<a;f++){m=h.e[f];if(h.nc)for(p=m.pg(),b=m.siblings.length=0,d=h.Hb.length;b<d;b++)k=h.Hb[b],h!==k&&m.siblings.push(k.e[p]);m.Uc&&m.Uc();if(m.R)for(b=0,d=m.R.length;b<d;b++)p=m.R[b],p.Uc&&p.Uc()}this.ta=!0}};d.prototype.ol=function(b,c){var f,e,l,d,h;d=b.type;l=d.Ia;var m={};c?m.c2=!0:m.uid=b.uid;Qa(b.Z)&&(m.ex=a(b.Z));if(b.Wa&&b.Wa.length)for(m.ivs=
{},f=0,e=b.Wa.length;f<e;f++)m.ivs[b.type.mk[f].toString()]=b.Wa[f];if(l.ee){l={x:b.x,y:b.y,w:b.width,h:b.height,l:b.j.aa,zi:b.Kb()};0!==b.m&&(l.a=b.m);1!==b.opacity&&(l.o=b.opacity);0.5!==b.Lb&&(l.hX=b.Lb);0.5!==b.Mb&&(l.hY=b.Mb);0!==b.Gb&&(l.bm=b.Gb);b.visible||(l.v=b.visible);b.ud||(l.ce=b.ud);-1!==b.Rg&&(l.mts=b.Rg);if(d.S.length)for(l.fx=[],f=0,e=d.S.length;f<e;f++)h=d.S[f],l.fx.push({name:h.name,active:b.Qd[h.index],params:b.Ha[h.index]});m.w=l}if(b.R&&b.R.length)for(m.behs={},f=0,e=b.R.length;f<
e;f++)d=b.R[f],d.gb&&(m.behs[d.type.aa.toString()]=d.gb());b.gb&&(m.data=b.gb());return m};d.prototype.Zq=function(a,b){var c,f;c=0;for(f=a.mk.length;c<f;c++)if(a.mk[c]===b)return c;return-1};d.prototype.Uq=function(a,b){var c,f;c=0;for(f=a.R.length;c<f;c++)if(a.R[c].type.aa===b)return c;return-1};d.prototype.Bi=function(a,b,c){var f,e,d,h,m;m=a.type;d=m.Ia;if(c){if(!b.c2)return}else a.uid=b.uid;b.ex?a.Z=b.ex:Ra(a.Z);if(e=b.ivs)for(f in e)e.hasOwnProperty(f)&&(c=this.Zq(m,parseInt(f,10)),0>c||c>=
a.Wa.length||(a.Wa[c]=e[f]));if(d.ee){d=b.w;a.j.aa!==d.l&&(c=a.j,a.j=this.wa.di(d.l),a.j?(a.j.e.push(a),a.j.ic=!0,va(c.e,a),c.ic=!0):(a.j=c,this.Pd(a)));a.x=d.x;a.y=d.y;a.width=d.w;a.height=d.h;a.gf=d.zi;a.m=d.hasOwnProperty("a")?d.a:0;a.opacity=d.hasOwnProperty("o")?d.o:1;a.Lb=d.hasOwnProperty("hX")?d.hX:0.5;a.Mb=d.hasOwnProperty("hY")?d.hY:0.5;a.visible=d.hasOwnProperty("v")?d.v:!0;a.ud=d.hasOwnProperty("ce")?d.ce:!0;a.Rg=d.hasOwnProperty("mts")?d.mts:-1;a.Gb=d.hasOwnProperty("bm")?d.bm:0;a.gg=
Xa(a.Gb);this.q&&Ya(a,a.Gb,this.q);a.C();if(d.hasOwnProperty("fx"))for(c=0,e=d.fx.length;c<e;c++)h=m.dk(d.fx[c].name),0>h||(a.Qd[h]=d.fx[c].active,a.Ha[h]=d.fx[c].params);a.Ld()}if(m=b.behs)for(f in m)m.hasOwnProperty(f)&&(d=this.Uq(a,parseInt(f,10)),0>d||a.R[d].wb(m[f]));b.data&&a.wb(b.data)};Ib=function(a){return new d(document.getElementById(a))};Jb=function(a,b){return new d({dc:!0,width:a,height:b})};window.cr_createRuntime=Ib;window.cr_createDCRuntime=Jb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=
!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.mu=!0;document.body.appendChild(a);a=new d(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var d=document.getElementById("c2canvas");return d?d.c2runtime:window.c2runtime?window.c2runtime:null};
window.cr_sizeCanvas=function(d,k){if(0!==d&&0!==k){var c=window.cr_getC2Runtime();c&&c.setSize(d,k)}};window.cr_setSuspended=function(d){var k=window.cr_getC2Runtime();k&&k.setSuspended(d)};
(function(){function d(b,a){this.b=b;this.Th=null;this.scrollX=this.b.eb/2;this.scrollY=this.b.cb/2;this.scale=1;this.m=0;this.kg=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.Ro=a[3];this.zo=a[4];this.aa=a[5];var c=a[6],e,d;this.da=[];this.sg=[];e=0;for(d=c.length;e<d;e++){var h=new Kb(this,c[e]);h.Rn=e;this.da.push(h)}c=a[7];this.Me=[];e=0;for(d=c.length;e<d;e++){var h=c[e],k=this.b.u[h[1]];k.uc||(k.uc=h);this.Me.push(h);-1===this.sg.indexOf(k)&&this.sg.push(k)}this.S=[];this.fa=[];this.Ha=
[];e=0;for(d=a[8].length;e<d;e++)this.S.push({id:a[8][e][0],name:a[8][e][1],nb:-1,jc:!0,index:e}),this.Ha.push(a[8][e][2].slice(0));this.Ld();this.je=new pa(0,0,1,1);this.hl=new pa(0,0,1,1);this.ie={}}function k(b,a){this.qa=b;this.b=b.b;this.e=[];this.scale=1;this.m=0;this.De=!1;this.Kd=new pa(0,0,0,0);this.Lo=new qa;this.ec=this.hc=this.gc=this.fc=0;this.ic=!1;this.name=a[0];this.index=a[1];this.aa=a[2];this.visible=a[3];this.Td=a[4];this.ff=a[5];this.Fd=a[6];this.Gd=a[7];this.opacity=a[8];this.Vj=
a[9];this.ph=a[10];this.Gb=a[11];this.nq=a[12];this.gg="source-over";this.tb=this.xb=0;this.ke=!1;var c=a[13],e,d;this.xf=[];e=0;for(d=c.length;e<d;e++){var h=c[e],k=this.b.u[h[1]];k.uc||(k.uc=h);this.xf.push(h);-1===this.qa.sg.indexOf(k)&&this.qa.sg.push(k)}this.S=[];this.fa=[];this.Ha=[];e=0;for(d=a[14].length;e<d;e++)this.S.push({id:a[14][e][0],name:a[14][e][1],nb:-1,jc:!0,index:e}),this.Ha.push(a[14][e][2].slice(0));this.Ld();this.je=new pa(0,0,1,1);this.hl=new pa(0,0,1,1)}function c(b,a){return b.gf-
a.gf}d.prototype.Bs=function(b){var a=b.type.aa.toString();this.ie.hasOwnProperty(a)||(this.ie[a]=[]);this.ie[a].push(this.b.ol(b))};d.prototype.$m=function(){var b=this.da[0];return!b.ff&&1===b.opacity&&!b.Vj&&b.visible};d.prototype.Ld=function(){this.fa.length=0;var b,a,c;b=0;for(a=this.S.length;b<a;b++)c=this.S[b],c.jc&&this.fa.push(c)};d.prototype.ck=function(b){var a,c,e;a=0;for(c=this.S.length;a<c;a++)if(e=this.S[a],e.name===b)return e;return null};var h=[];d.prototype.Cl=function(){this.zo&&
(this.Th=this.b.Sj[this.zo]);this.b.wa=this;this.scrollX=this.b.eb/2;this.scrollY=this.b.cb/2;var b,a,f,e,d,k,q;b=0;for(f=this.b.u.length;b<f;b++)if(a=this.b.u[b],!a.L)for(d=a.e,a=0,e=d.length;a<e;a++)if(k=d[a],k.j){var p=k.j.Rn;p>=this.da.length&&(p=this.da.length-1);k.j=this.da[p];k.j.e.push(k);k.j.ic=!0}h.length=0;this.Qp();b=0;for(f=this.da.length;b<f;b++)k=this.da[b],k.Yp(),k.De=!0,a=k.Xc(0,0,!0,!0),e=k.Xc(0,0,!1,!0),k.De=!1,this.b.gd&&(a=a+0.5|0,e=e+0.5|0),k.kl(a,e,null);d=!1;if(!this.kg){for(q in this.ie)if(this.ie.hasOwnProperty(q)&&
(a=this.b.ei(parseInt(q,10)))&&!a.L&&this.b.Ml(a)){e=this.ie[q];b=0;for(f=e.length;b<f;b++){k=null;if(a.Ia.ee&&(k=this.di(e[b].w.l),!k))continue;k=this.b.Vd(a.uc,k,!1,0,0,!0);this.b.Bi(k,e[b]);d=!0;h.push(k)}e.length=0}b=0;for(f=this.da.length;b<f;b++)this.da[b].e.sort(c),this.da[b].ic=!0}d&&(this.b.ob(),this.b.so());for(b=0;b<h.length;b++)if(k=h[b],k.type.nc)for(f=k.pg(),a=0,e=k.type.Hb.length;a<e;a++)q=k.type.Hb[a],k.type!==q&&(q.e.length>f?k.siblings.push(q.e[f]):q.uc&&(d=this.b.Vd(q.uc,k.j,!0,
k.x,k.y,!0),this.b.ob(),q.lj(),k.siblings.push(d),h.push(d)));b=0;for(f=this.Me.length;b<f;b++)this.b.Vd(this.Me[b],null,!0);this.b.fg=null;this.b.ob();if(this.b.pa&&!this.b.ub)for(b=0,f=this.b.u.length;b<f;b++)q=this.b.u[b],!q.L&&q.e.length&&q.bl&&q.bl(this.b.pa);b=0;for(f=h.length;b<f;b++)k=h[b],this.b.trigger(Object.getPrototypeOf(k.type.Ia).k.uj,k);h.length=0;this.b.trigger(X.prototype.k.tp,null);this.kg=!1};d.prototype.Xp=function(){var b,a,c,e,d;a=b=0;for(c=this.Me.length;b<c;b++)e=this.Me[b],
d=this.b.u[e[1]],d.global?this.b.Vd(e,null,!0):(this.Me[a]=e,a++);this.Me.length=a};d.prototype.Is=function(){this.b.trigger(X.prototype.k.sp,null);this.b.od.Pb.length=0;var b,a,c,e,d,h;b=0;for(a=this.da.length;b<a;b++){d=this.da[b].e;c=0;for(e=d.length;c<e;c++)h=d[c],h.type.global||(this.b.Ml(h.type)&&this.Bs(h),this.b.Pd(h));this.b.ob();d.length=0;this.da[b].ic=!0}b=0;for(a=this.b.u.length;b<a;b++)if(d=this.b.u[b],!(d.global||d.Ia.ee||d.Ia.Bl||d.L)){c=0;for(e=d.e.length;c<e;c++)this.b.Pd(d.e[c]);
this.b.ob()}};d.prototype.Zc=function(b){var a,c=b,e=!1,d=!this.b.xc;d&&(this.b.xi||(this.b.xi=document.createElement("canvas"),a=this.b.xi,a.width=this.b.V,a.height=this.b.U,this.b.Fn=a.getContext("2d"),e=!0),a=this.b.xi,c=this.b.Fn,a.width!==this.b.V&&(a.width=this.b.V,e=!0),a.height!==this.b.U&&(a.height=this.b.U,e=!0),e&&(c.webkitImageSmoothingEnabled=this.b.ja,c.mozImageSmoothingEnabled=this.b.ja,c.msImageSmoothingEnabled=this.b.ja,c.imageSmoothingEnabled=this.b.ja));c.globalAlpha=1;c.globalCompositeOperation=
"source-over";this.b.Cj&&!this.$m()&&c.clearRect(0,0,this.b.V,this.b.U);var h,k,e=0;for(h=this.da.length;e<h;e++)k=this.da[e],k.visible&&0<k.opacity&&11!==k.Gb&&k.Zc(c);d&&b.drawImage(a,0,0,this.b.width,this.b.height)};d.prototype.wc=function(b){var a=0<this.fa.length||this.b.Wf||!this.b.xc;if(a){this.b.Xb||(this.b.Xb=b.vd(this.b.V,this.b.U,this.b.ja));if(this.b.Xb.eg!==this.b.V||this.b.Xb.dg!==this.b.U)b.deleteTexture(this.b.Xb),this.b.Xb=b.vd(this.b.V,this.b.U,this.b.ja);b.md(this.b.Xb);this.b.xc||
b.Qf(this.b.V,this.b.U)}else this.b.Xb&&(b.md(null),b.deleteTexture(this.b.Xb),this.b.Xb=null);this.b.Cj&&!this.$m()&&b.clear(0,0,0,0);var c,e;c=0;for(e=this.da.length;c<e;c++)this.da[c].visible&&0<this.da[c].opacity&&this.da[c].wc(b);a&&(0===this.fa.length||1===this.fa.length&&this.b.xc?(1===this.fa.length?(a=this.fa[0].index,b.nd(this.fa[0].nb),b.Pf(null,1/this.b.V,1/this.b.U,0,0,1,1,this.scale,this.Ha[a]),b.Qi(this.fa[0].nb)&&(this.b.ta=!0)):b.nd(0),this.b.xc||b.Qf(this.b.width,this.b.height),
b.md(null),b.cf(1),b.ac(this.b.Xb),b.vo(),b.kd(),b.qd(),a=this.b.width/2,c=this.b.height/2,b.Ti(-a,c,a,c,a,-c,-a,-c),b.ac(null)):this.il(b,null,null,null))};d.prototype.ng=function(){return 0<this.fa.length||this.b.Wf||!this.b.xc?this.b.Xb:null};d.prototype.Vm=function(){var b=this.da[0].Tb(),a,c,e;a=1;for(c=this.da.length;a<c;a++)e=this.da[a],(0!==e.Fd||0!==e.Gd)&&e.Tb()<b&&(b=e.Tb());return b};d.prototype.ql=function(b){if(!this.Ro){var a=this.b.V*(1/this.Vm())/2;b>this.width-a&&(b=this.width-a);
b<a&&(b=a)}this.scrollX!==b&&(this.scrollX=b,this.b.ta=!0)};d.prototype.rl=function(b){if(!this.Ro){var a=this.b.U*(1/this.Vm())/2;b>this.height-a&&(b=this.height-a);b<a&&(b=a)}this.scrollY!==b&&(this.scrollY=b,this.b.ta=!0)};d.prototype.Qp=function(){this.ql(this.scrollX);this.rl(this.scrollY)};d.prototype.il=function(b,a,c,e){var d=c?c.fa:a?a.fa:this.fa,h=c?c.j.Tb():a?a.Tb():1,k=this.b.Yj,p,t,v,g,s=0,r=1,n,l=this.b.V,y=this.b.U,C=l/2,O=y/2,J=a?a.je:this.je,x=a?a.hl:this.hl,D=0,E=0,H=0,T=0,B=l,I=
l,w=y,Q=y,K=v=0,M=c?c.j.Bb():0;if(c){p=0;for(t=d.length;p<t;p++)v+=b.fr(d[p].nb),K+=b.gr(d[p].nb);g=c.La;D=a.Ea(g.left,g.top,!0,!0);H=a.Ea(g.left,g.top,!1,!0);B=a.Ea(g.right,g.bottom,!0,!0);w=a.Ea(g.right,g.bottom,!1,!0);0!==M&&(p=a.Ea(g.right,g.top,!0,!0),t=a.Ea(g.right,g.top,!1,!0),E=a.Ea(g.left,g.bottom,!0,!0),T=a.Ea(g.left,g.bottom,!1,!0),g=Math.min(D,B,p,E),B=Math.max(D,B,p,E),D=g,g=Math.min(H,w,t,T),w=Math.max(H,w,t,T),H=g);D-=v;H-=K;B+=v;w+=K;x.left=D/l;x.top=1-H/y;x.right=B/l;x.bottom=1-w/
y;E=D=S(D);T=H=S(H);I=B=ka(B);Q=w=ka(w);E-=v;T-=K;I+=v;Q+=K;0>D&&(D=0);0>H&&(H=0);B>l&&(B=l);w>y&&(w=y);0>E&&(E=0);0>T&&(T=0);I>l&&(I=l);Q>y&&(Q=y);J.left=D/l;J.top=1-H/y;J.right=B/l;J.bottom=1-w/y}else J.left=x.left=0,J.top=x.top=0,J.right=x.right=1,J.bottom=x.bottom=1;K=c&&((c.m||M)&&b.Wg(d[0].nb)||0!==v||0!==K||1!==c.opacity||c.type.Ia.Mn)||a&&!c&&1!==a.opacity;b.vo();if(K){k[s]||(k[s]=b.vd(l,y,this.b.ja));if(k[s].eg!==l||k[s].dg!==y)b.deleteTexture(k[s]),k[s]=b.vd(l,y,this.b.ja);b.nd(0);b.md(k[s]);
n=Q-T;b.clearRect(E,y-T-n,I-E,n);c?c.wc(b):(b.ac(this.b.pc),b.cf(a.opacity),b.kd(),b.translate(-C,-O),b.qd(),b.jd(D,w,B,w,B,H,D,H,J));x.left=x.top=0;x.right=x.bottom=1;c&&(g=J.top,J.top=J.bottom,J.bottom=g);s=1;r=0}b.cf(1);v=d.length-1;var M=b.cl(d[v].nb)||!a&&!c&&!this.b.xc,z=0;p=0;for(t=d.length;p<t;p++){k[s]||(k[s]=b.vd(l,y,this.b.ja));if(k[s].eg!==l||k[s].dg!==y)b.deleteTexture(k[s]),k[s]=b.vd(l,y,this.b.ja);b.nd(d[p].nb);z=d[p].index;b.Qi(d[p].nb)&&(this.b.ta=!0);0!=p||K?(b.Pf(e,1/l,1/y,x.left,
x.top,x.right,x.bottom,h,c?c.Ha[z]:a?a.Ha[z]:this.Ha[z]),b.ac(null),p!==v||M?(b.md(k[s]),n=Q-T,g=y-T-n,b.clearRect(E,g,I-E,n)):(c?b.le(c.xb,c.tb):a&&b.le(a.xb,a.tb),b.md(e)),b.ac(k[r]),b.kd(),b.translate(-C,-O),b.qd(),b.jd(D,w,B,w,B,H,D,H,J),p!==v||M||b.ac(null)):(b.md(k[s]),n=Q-T,g=y-T-n,b.clearRect(E,g,I-E,n),c?(b.Pf(e,1/c.width,1/c.height,x.left,x.top,x.right,x.bottom,h,c.Ha[z]),c.wc(b)):(b.Pf(e,1/l,1/y,0,0,1,1,h,a?a.Ha[z]:this.Ha[z]),b.ac(a?this.b.pc:this.b.Xb),b.kd(),b.translate(-C,-O),b.qd(),
b.jd(D,w,B,w,B,H,D,H,J)),x.left=x.top=0,x.right=x.bottom=1,c&&!M&&(g=w,w=H,H=g));s=0===s?1:0;r=0===s?1:0}M&&(b.nd(0),c?b.le(c.xb,c.tb):a?b.le(a.xb,a.tb):this.b.xc||(b.Qf(this.b.width,this.b.height),C=this.b.width/2,O=this.b.height/2,H=D=0,B=this.b.width,w=this.b.height),b.md(e),b.ac(k[r]),b.kd(),b.translate(-C,-O),b.qd(),c&&1===d.length&&!K?b.jd(D,H,B,H,B,w,D,w,J):b.jd(D,w,B,w,B,H,D,H,J),b.ac(null))};d.prototype.di=function(b){var a,c;a=0;for(c=this.da.length;a<c;a++)if(this.da[a].aa===b)return this.da[a];
return null};d.prototype.gb=function(){var b,a,c,e={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.m,w:this.width,h:this.height,fv:this.kg,persist:this.ie,fx:[],layers:{}};b=0;for(a=this.S.length;b<a;b++)c=this.S[b],e.fx.push({name:c.name,active:c.jc,params:this.Ha[c.index]});b=0;for(a=this.da.length;b<a;b++)c=this.da[b],e.layers[c.aa.toString()]=c.gb();return e};d.prototype.wb=function(b){var a,c,e,d;this.scrollX=b.sx;this.scrollY=b.sy;this.scale=b.s;this.m=b.a;this.width=b.w;this.height=b.h;
this.ie=b.persist;"undefined"!==typeof b.fv&&(this.kg=b.fv);var h=b.fx;a=0;for(c=h.length;a<c;a++)if(e=this.ck(h[a].name))e.jc=h[a].active,this.Ha[e.index]=h[a].params;this.Ld();a=b.layers;for(d in a)a.hasOwnProperty(d)&&(b=this.di(parseInt(d,10)))&&b.wb(a[d])};yb=d;k.prototype.Ld=function(){this.fa.length=0;var b,a,c;b=0;for(a=this.S.length;b<a;b++)c=this.S[b],c.jc&&this.fa.push(c)};k.prototype.ck=function(b){var a,c,e;a=0;for(c=this.S.length;a<c;a++)if(e=this.S[a],e.name===b)return e;return null};
k.prototype.Yp=function(){var b,a,c,e,d,k;a=b=0;for(c=this.xf.length;b<c;b++){e=this.xf[b];d=this.b.u[e[1]];k=this.b.Ml(d);d=!0;if(!k||this.qa.kg)e=this.b.Vd(e,this,!0),h.push(e),e.type.global&&(d=!1);d&&(this.xf[a]=this.xf[b],a++)}this.xf.length=a;this.b.ob();!this.b.D&&this.S.length&&(this.Gb=this.nq);this.gg=Xa(this.Gb);this.b.q&&Ya(this,this.Gb,this.b.q)};k.prototype.Os=function(){if(this.ic){var b,a;b=0;for(a=this.e.length;b<a;b++)this.e[b].gf=b;this.ic=!1}};k.prototype.Tb=function(b){return this.dr()*
(this.b.xc||b?this.b.cg:1)};k.prototype.dr=function(){return(this.scale*this.qa.scale-1)*this.ph+1};k.prototype.Bb=function(){return this.De?0:za(this.qa.m+this.m)};k.prototype.Zc=function(b){this.ke=this.Vj||1!==this.opacity||0!==this.Gb;var a=this.b.canvas,c=b,e=!1;b.globalAlpha=1;b.globalCompositeOperation="source-over";this.ke&&(this.b.wi||(this.b.wi=document.createElement("canvas"),a=this.b.wi,a.width=this.b.V,a.height=this.b.U,this.b.En=a.getContext("2d"),e=!0),a=this.b.wi,c=this.b.En,a.width!==
this.b.V&&(a.width=this.b.V,e=!0),a.height!==this.b.U&&(a.height=this.b.U,e=!0),e&&(c.webkitImageSmoothingEnabled=this.b.ja,c.mozImageSmoothingEnabled=this.b.ja,c.msImageSmoothingEnabled=this.b.ja,c.imageSmoothingEnabled=this.b.ja),this.ff&&c.clearRect(0,0,this.b.V,this.b.U));this.ff||(c.fillStyle="rgb("+this.Td[0]+","+this.Td[1]+","+this.Td[2]+")",c.fillRect(0,0,this.b.V,this.b.U));c.save();this.De=!0;var e=this.Xc(0,0,!0,!0),d=this.Xc(0,0,!1,!0);this.De=!1;this.b.gd&&(e=e+0.5|0,d=d+0.5|0);this.kl(e,
d,c);var h=this.Tb();c.scale(h,h);c.translate(-e,-d);for(var k,e=0,d=this.e.length;e<d;e++)h=this.e[e],h.visible&&0!==h.width&&0!==h.height&&(h.Fa(),k=h.La,k.right<this.fc||k.bottom<this.hc||k.left>this.gc||k.top>this.ec||(c.globalCompositeOperation=h.gg,h.Zc(c)));c.restore();this.ke&&(b.globalCompositeOperation=this.gg,b.globalAlpha=this.opacity,b.drawImage(a,0,0))};k.prototype.kl=function(b,a,c){var e=this.Tb();this.fc=b;this.hc=a;this.gc=b+this.b.V*(1/e);this.ec=a+this.b.U*(1/e);b=this.Bb();0!==
b&&(c&&(c.translate(this.b.V/2,this.b.U/2),c.rotate(-b),c.translate(this.b.V/-2,this.b.U/-2)),this.Kd.set(this.fc,this.hc,this.gc,this.ec),this.Kd.offset((this.fc+this.gc)/-2,(this.hc+this.ec)/-2),this.Lo.yo(this.Kd,b),this.Lo.pm(this.Kd),this.Kd.offset((this.fc+this.gc)/2,(this.hc+this.ec)/2),this.fc=this.Kd.left,this.hc=this.Kd.top,this.gc=this.Kd.right,this.ec=this.Kd.bottom)};k.prototype.wc=function(b){var a=this.b.V,c=this.b.U,e=0,d=0;if(this.ke=this.Vj||1!==this.opacity||0<this.fa.length||0!==
this.Gb){this.b.pc||(this.b.pc=b.vd(this.b.V,this.b.U,this.b.ja));if(this.b.pc.eg!==this.b.V||this.b.pc.dg!==this.b.U)b.deleteTexture(this.b.pc),this.b.pc=b.vd(this.b.V,this.b.U,this.b.ja);b.md(this.b.pc);this.ff&&b.clear(0,0,0,0)}this.ff||b.clear(this.Td[0]/255,this.Td[1]/255,this.Td[2]/255,1);this.De=!0;var d=this.Xc(0,0,!0,!0),h=this.Xc(0,0,!1,!0);this.De=!1;this.b.gd&&(d=d+0.5|0,h=h+0.5|0);this.kl(d,h,null);h=this.Tb();b.kd();b.scale(h,h);b.ll(-this.Bb());b.translate((this.fc+this.gc)/-2,(this.hc+
this.ec)/-2);b.qd();var k,p,t;k=0;for(p=this.e.length;k<p;k++)if(t=this.e[k],t.visible&&0!==t.width&&0!==t.height&&(t.Fa(),e=t.La,!(e.right<this.fc||e.bottom<this.hc||e.left>this.gc||e.top>this.ec)))if(t.Xo)if(e=t.fa[0].nb,d=t.fa[0].index,1!==t.fa.length||b.cl(e)||b.ns(e)||(t.m||t.j.Bb())&&b.Wg(e)||1!==t.opacity||t.type.Ia.Mn)this.qa.il(b,this,t,this.ke?this.b.pc:this.qa.ng()),b.kd(),b.scale(h,h),b.ll(-this.Bb()),b.translate((this.fc+this.gc)/-2,(this.hc+this.ec)/-2),b.qd();else{b.nd(e);b.le(t.xb,
t.tb);b.Qi(e)&&(this.b.ta=!0);var v=0,g=0,s=0,r=0;b.Wg(e)&&(e=t.La,v=this.Ea(e.left,e.top,!0,!0),g=this.Ea(e.left,e.top,!1,!0),s=this.Ea(e.right,e.bottom,!0,!0),e=this.Ea(e.right,e.bottom,!1,!0),v/=a,g=1-g/c,s/=a,r=1-e/c);b.Pf(this.ke?this.b.pc:this.qa.ng(),1/t.width,1/t.height,v,g,s,r,this.Tb(),t.Ha[d]);t.wc(b)}else b.nd(0),b.le(t.xb,t.tb),t.wc(b);this.ke&&(e=this.fa.length?this.fa[0].nb:0,d=this.fa.length?this.fa[0].index:0,0===this.fa.length||1===this.fa.length&&!b.cl(e)&&1===this.opacity?(1===
this.fa.length?(b.nd(e),b.Pf(this.qa.ng(),1/this.b.V,1/this.b.U,0,0,1,1,this.Tb(),this.Ha[d]),b.Qi(e)&&(this.b.ta=!0)):b.nd(0),b.md(this.qa.ng()),b.cf(this.opacity),b.ac(this.b.pc),b.le(this.xb,this.tb),b.kd(),b.qd(),a=this.b.V/2,c=this.b.U/2,b.Ti(-a,c,a,c,a,-c,-a,-c),b.ac(null)):this.qa.il(b,this,null,this.qa.ng()))};k.prototype.Xc=function(b,a,c,e){var d=this.b.devicePixelRatio;this.b.Ne&&(b*=d,a*=d);var d=this.b.io,h=this.b.jo,d=(this.qa.scrollX-d)*this.Fd+d,h=(this.qa.scrollY-h)*this.Gd+h,k=1/
this.Tb(!e);e?(d-=this.b.V*k/2,h-=this.b.U*k/2):(d-=this.b.width*k/2,h-=this.b.height*k/2);d+=b*k;h+=a*k;a=this.Bb();0!==a&&(d-=this.qa.scrollX,h-=this.qa.scrollY,b=Math.cos(a),a=Math.sin(a),e=d*b-h*a,h=h*b+d*a,d=e+this.qa.scrollX,h+=this.qa.scrollY);return c?d:h};k.prototype.Ea=function(b,a,c,e){var d=this.Bb();if(0!==d){b-=this.qa.scrollX;a-=this.qa.scrollY;var h=Math.cos(-d),d=Math.sin(-d),k=b*h-a*d;a=a*h+b*d;b=k+this.qa.scrollX;a+=this.qa.scrollY}h=this.b.io;d=this.b.jo;h=(this.qa.scrollX-h)*
this.Fd+h;d=(this.qa.scrollY-d)*this.Gd+d;k=1/this.Tb(!e);e?(h-=this.b.V*k/2,d-=this.b.U*k/2):(h-=this.b.width*k/2,d-=this.b.height*k/2);h=(b-h)/k;d=(a-d)/k;b=this.b.devicePixelRatio;this.b.Ne&&(h/=b,d/=b);return c?h:d};k.prototype.gb=function(){var b,a,c,e={s:this.scale,a:this.m,vl:this.fc,vt:this.hc,vr:this.gc,vb:this.ec,v:this.visible,bc:this.Td,t:this.ff,px:this.Fd,py:this.Gd,o:this.opacity,zr:this.ph,fx:[],instances:[]};b=0;for(a=this.S.length;b<a;b++)c=this.S[b],e.fx.push({name:c.name,active:c.jc,
params:this.Ha[c.index]});return e};k.prototype.wb=function(b){var a,d;this.scale=b.s;this.m=b.a;this.fc=b.vl;this.hc=b.vt;this.gc=b.vr;this.ec=b.vb;this.visible=b.v;this.Td=b.bc;this.ff=b.t;this.Fd=b.px;this.Gd=b.py;this.opacity=b.o;this.ph=b.zr;var e=b.fx;b=0;for(a=e.length;b<a;b++)if(d=this.ck(e[b].name))d.jc=e[b].active,this.Ha[d.index]=e[b].params;this.Ld();this.e.sort(c);this.ic=!0};Kb=k})();
(function(){function d(a,b){var c,e=a.length;switch(e){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<e;c++)if(a[c]!==b[c])return!1;return!0}}function k(a,b){return a.index-b.index}function c(a){var b,c,e,f;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(k);a.length>=v.length&&(v.length=a.length+1);v[a.length]||(v[a.length]=[]);f=v[a.length];b=0;for(c=f.length;b<c;b++)if(e=f[b],d(a,e))return e;f.push(a);return a}
function h(a,b){this.b=a;this.No={};this.Im={};this.hk=!1;this.cn=new ba;this.name=b[0];var c=b[1];this.Zd=[];var e,d;e=0;for(d=c.length;e<d;e++)this.gn(c[e],null,this.Zd)}function b(a){this.type=a;this.e=[];this.na=[];this.ua=!0}function a(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.xa=[];this.me=[];this.an=this.jj=this.Jl=this.ki=this.group=this.Co=!1;this.Da=[];this.rc=[];this.Ec=[];c[1]?(this.wf=c[1][1].toLowerCase(),this.group=!0,this.ki=!!c[1][0],this.b.Rd.push(this),this.b.jf[this.wf.toLowerCase()]=
this.ki):(this.wf="",this.ki=this.group=!1);this.Nc=c[2];this.aa=c[4];this.group||(this.b.om[this.aa.toString()]=this);var e=c[5];a=0;for(b=e.length;a<b;a++){var d=new Lb(this,e[a]);d.index=a;this.Da.push(d);this.im(d.type)}e=c[6];a=0;for(b=e.length;a<b;a++)d=new Mb(this,e[a]),d.index=a,this.rc.push(d);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.gn(c[a],this,this.Ec);this.oi=!1;this.Da.length&&(this.oi=null==this.Da[0].type&&this.Da[0].Ra==X.prototype.k.$o)}function f(a,b){var c,
e,d;if(a&&(-1===b.indexOf(a)&&b.push(a),a.nc))for(c=0,e=a.Hb.length;c<e;c++)d=a.Hb[c],a!==d&&-1===b.indexOf(d)&&b.push(d)}function e(a,b){this.kc=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.T=[];this.Z={};this.index=-1;this.Ra=b[1];this.trigger=0<b[3];this.Hm=2===b[3];this.Ed=b[4];this.ug=b[5];this.Qr=b[6];this.aa=b[7];this.b.nf[this.aa.toString()]=this;-1===b[0]?(this.type=null,this.Ta=this.nl,this.ze=null,this.ib=-1):(this.type=this.b.u[b[0]],this.Ta=this.Qr?this.zs:this.ml,b[2]?(this.ze=this.type.ci(b[2]),
this.ib=this.type.ak(b[2])):(this.ze=null,this.ib=-1),this.kc.parent&&this.kc.parent.aj());this.Hm&&(this.Ta=this.As);if(10===b.length){var c,e,d=b[9];c=0;for(e=d.length;c<e;c++){var f=new Nb(this,d[c]);this.I.push(f)}this.T.length=d.length}}function m(a,b){this.kc=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.T=[];this.Z={};this.index=-1;this.Ra=b[1];-1===b[0]?(this.type=null,this.Ta=this.nl,this.ze=null,this.ib=-1):(this.type=this.b.u[b[0]],this.Ta=this.ml,b[2]?(this.ze=this.type.ci(b[2]),this.ib=
this.type.ak(b[2])):(this.ze=null,this.ib=-1));this.aa=b[3];this.b.kf[this.aa.toString()]=this;if(6===b.length){var c,e,d=b[5];c=0;for(e=d.length;c<e;c++){var f=new Nb(this,d[c]);this.I.push(f)}this.T.length=d.length}}function u(a,b){this.K=a;this.kc=a.kc;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.$c=null;this.wm=this.ne=0;this.qa=null;this.key=0;this.object=null;this.index=0;this.oj=this.Vf=this.Jm=this.Ge=this.nh=null;var c,e,d;switch(b[0]){case 0:case 7:this.$c=new V(this,b[1]);this.ne=
0;this.get=this.nr;break;case 1:this.$c=new V(this,b[1]);this.ne=0;this.get=this.or;break;case 5:this.$c=new V(this,b[1]);this.ne=0;this.get=this.sr;break;case 3:case 8:this.wm=b[1];this.get=this.lr;break;case 6:this.qa=this.b.xk[b[1]];this.get=this.tr;break;case 9:this.key=b[1];this.get=this.rr;break;case 4:this.object=this.b.u[b[1]];this.get=this.ur;this.kc.im(this.object);this.K instanceof Mb?this.kc.aj():this.kc.parent&&this.kc.parent.aj();break;case 10:this.index=b[1];this.get=a.type.L?this.pr:
this.qr;break;case 11:this.nh=b[1];this.Ge=null;this.get=this.mr;break;case 2:case 12:this.Jm=b[1];this.get=this.kr;break;case 13:for(this.get=this.xr,this.Vf=[],this.oj=[],c=1,e=b.length;c<e;c++)d=new Nb(this.K,b[c]),this.Vf.push(d),this.oj.push(0)}}function q(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.xa=[];this.name=c[1];this.lk=c[3];this.Ag=!!c[4];this.ni=!!c[5];this.aa=c[6];this.b.Xf[this.aa.toString()]=this;this.data=this.lk;this.parent?(this.Ue=this.Ag||this.ni?-1:this.b.Hs++,this.b.Np.push(this)):
(this.Ue=-1,this.b.Mp.push(this))}function p(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.xa=[];this.rg=null;this.Dr=c[1]}function t(){this.Go=[];this.reset(null)}var v=[];h.prototype.toString=F("name");h.prototype.gn=function(a,b,c){switch(a[0]){case 0:a=new Ob(this,b,a);if(a.Nc)for(c.push(a),c=0,b=a.Da.length;c<b;c++)a.Da[c].trigger&&this.hn(a,c);else a.tn()?this.hn(a,0):c.push(a);break;case 1:a=new Hb(this,b,a);c.push(a);break;case 2:a=new Pb(this,b,a),c.push(a)}};h.prototype.Na=function(){var a,
b;a=0;for(b=this.Zd.length;a<b;a++)this.Zd[a].Na(a<b-1&&this.Zd[a+1].oi)};h.prototype.Ta=function(a){this.b.lu||(this.hk=!0,a||(this.b.qk=!0));var b,c;b=0;for(c=this.Zd.length;b<c;b++){var e=this.Zd[b];e.Ta();this.b.Ij(e.xa);this.b.Yc.ae()&&!this.b.Rb.length||this.b.ob()}a||(this.b.qk=!1)};h.prototype.hn=function(a,b){a.Nc||this.b.kj.push(a);var c,e,d=a.Da[b],f;f=d.type?d.type.name:"system";var g=(c=d.Hm)?this.Im:this.No;g[f]||(g[f]=[]);f=g[f];g=d.Ra;if(c){if(d.I.length&&(d=d.I[0],1===d.type&&2===
d.$c.type)){d=d.$c.value.toLowerCase();c=0;for(e=f.length;c<e;c++)if(f[c].method==g){c=f[c].Vh;c[d]?c[d].push([a,b]):c[d]=[[a,b]];return}c={};c[d]=[[a,b]];f.push({method:g,Vh:c})}}else{c=0;for(e=f.length;c<e;c++)if(f[c].method==g){f[c].Vh.push([a,b]);return}f.push({method:g,Vh:[[a,b]]})}};zb=h;b.prototype.Zm=function(){return this.ua?this.type.e.length:this.e.length};b.prototype.yc=function(){return this.ua?this.type.e:this.e};b.prototype.Vg=function(a){a&&(a.b.lb().Ib.Nc?(this.ua&&(this.e.length=
0,ta(this.na,a.type.e),this.ua=!1),a=this.na.indexOf(a),-1!==a&&(this.e.push(this.na[a]),this.na.splice(a,1))):(this.ua=!1,this.e.length=1,this.e[0]=a))};eb=b;window._c2hh_="";a.prototype.Na=function(a){var b,e=this.parent;if(this.group)for(this.jj=!0;e;){if(!e.group){this.jj=!1;break}e=e.parent}this.Jl=!this.tn()&&(!this.parent||this.parent.group&&this.parent.jj);this.an=!!a;this.me=this.xa.slice(0);for(e=this.parent;e;){a=0;for(b=e.xa.length;a<b;a++)this.Lp(e.xa[a]);e=e.parent}this.xa=c(this.xa);
this.me=c(this.me);a=0;for(b=this.Da.length;a<b;a++)this.Da[a].Na();a=0;for(b=this.rc.length;a<b;a++)this.rc[a].Na();a=0;for(b=this.Ec.length;a<b;a++)this.Ec[a].Na(a<b-1&&this.Ec[a+1].oi)};a.prototype.im=function(a){f(a,this.xa)};a.prototype.Lp=function(a){f(a,this.me)};a.prototype.aj=function(){this.Co=!0;this.parent&&this.parent.aj()};a.prototype.tn=function(){return this.Da.length?this.Da[0].trigger:!1};a.prototype.Ta=function(){var a,b=!1,c,e=this.b.lb();e.Ib=this;this.oi||(e.Qj=!1);if(this.Nc){0===
this.Da.length&&(b=!0);e.Ua=0;for(a=this.Da.length;e.Ua<a;e.Ua++)this.Da[e.Ua].trigger||(c=this.Da[e.Ua].Ta())&&(b=!0);(e.Re=b)&&this.Yi()}else{e.Ua=0;for(a=this.Da.length;e.Ua<a;e.Ua++)if(c=this.Da[e.Ua].Ta(),!c){e.Re=!1;!this.Jl||this.b.Yc.ae()&&!this.b.Rb.length||this.b.ob();return}e.Re=!0;this.Yi()}this.pq(e)};a.prototype.pq=function(a){a.Re&&this.an&&(a.Qj=!0);!this.Jl||this.b.Yc.ae()&&!this.b.Rb.length||this.b.ob()};a.prototype.xs=function(a){this.b.lb().Ib=this;this.Da[a].Ta()&&(this.Yi(),
this.b.lb().Re=!0)};a.prototype.Yi=function(){var a=this.b.lb(),b;a.Fb=0;for(b=this.rc.length;a.Fb<b;a.Fb++)if(this.rc[a.Fb].Ta())return;this.uo()};a.prototype.us=function(){var a=this.b.lb(),b;for(b=this.rc.length;a.Fb<b;a.Fb++)if(this.rc[a.Fb].Ta())return;this.uo()};a.prototype.uo=function(){if(this.Ec.length){var a,b,c,e,d=this.Ec.length-1;this.b.Si(this);if(this.Co)for(a=0,b=this.Ec.length;a<b;a++)c=this.Ec[a],(e=!this.jj||!this.group&&a<d)&&this.b.Ri(c.xa),c.Ta(),e?this.b.Ye(c.xa):this.b.Ij(c.xa);
else for(a=0,b=this.Ec.length;a<b;a++)this.Ec[a].Ta();this.b.Ni()}};a.prototype.ys=function(){var a=this.b.lb();a.Ib=this;var b=!1,c;a.Ua=0;for(c=this.Da.length;a.Ua<c;a.Ua++)if(this.Da[a.Ua].Ta())b=!0;else if(!this.Nc)return!1;return this.Nc?b:!0};a.prototype.vs=function(){this.b.He++;var a=this.b.lb().Ua,b=this.b.Si(this);if(!this.Nc)for(b.Ua=a+1,a=this.Da.length;b.Ua<a;b.Ua++)if(!this.Da[b.Ua].Ta()){this.b.Ni();return}this.Yi();this.b.Ni()};a.prototype.Mr=function(a){var b=a.index;if(0===b)return!0;
for(--b;0<=b;--b)if(this.Da[b].type===a.type)return!1;return!0};Ob=a;e.prototype.Na=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.I[a].Na()};e.prototype.As=G(!0);e.prototype.nl=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.T[a]=this.I[a].get();return Pa(this.Ra.apply(this.b.od,this.T),this.ug)};e.prototype.zs=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.T[a]=this.I[a].get(a);a=this.Ra.apply(this.ze?this.ze:this.type,this.T);this.type.Wc();return a};e.prototype.ml=function(){var a,
b,c,e,d,f,g,h=this.type.ma(),k=this.kc.Nc&&!this.trigger,p=0,m=this.type.nc;if(h.ua){h.e.length=0;a=h.na.length=0;for(c=this.type.e.length;a<c;a++){f=this.type.e[a];b=0;for(e=this.I.length;b<e;b++)this.T[b]=this.I[b].get(a);-1<this.ib?(this.type.L&&(p=f.type.sf[this.type.ad]),b=this.Ra.apply(f.R[this.ib+p],this.T)):b=this.Ra.apply(f,this.T);(d=Pa(b,this.ug))?h.e.push(f):k&&h.na.push(f)}this.type.finish&&this.type.finish(!0);h.ua=!1;this.type.Wc();return h.Zm()}var q=0,t=(d=k&&!this.kc.Mr(this))?h.na:
h.e,u=!1;a=0;for(c=t.length;a<c;a++){f=t[a];b=0;for(e=this.I.length;b<e;b++)this.T[b]=this.I[b].get(a);-1<this.ib?(this.type.L&&(p=f.type.sf[this.type.ad]),b=this.Ra.apply(f.R[this.ib+p],this.T)):b=this.Ra.apply(f,this.T);if(Pa(b,this.ug))if(u=!0,d){if(h.e.push(f),m)for(b=0,e=f.siblings.length;b<e;b++)g=f.siblings[b],g.type.ma().e.push(g)}else{t[q]=f;if(m)for(b=0,e=f.siblings.length;b<e;b++)g=f.siblings[b],g.type.ma().e[q]=g;q++}else if(d){t[q]=f;if(m)for(b=0,e=f.siblings.length;b<e;b++)g=f.siblings[b],
g.type.ma().na[q]=g;q++}else if(k&&(h.na.push(f),m))for(b=0,e=f.siblings.length;b<e;b++)g=f.siblings[b],g.type.ma().na.push(g)}t.length=q;if(m)for(a=0,c=this.type.Hb.length;a<c;a++)f=this.type.Hb[a].ma(),d?f.na.length=q:f.e.length=q;p=u;if(d&&!u)for(a=0,c=h.e.length;a<c;a++){f=h.e[a];b=0;for(e=this.I.length;b<e;b++)this.T[b]=this.I[b].get(a);b=-1<this.ib?this.Ra.apply(f.R[this.ib],this.T):this.Ra.apply(f,this.T);if(Pa(b,this.ug)){u=!0;break}}this.type.finish&&this.type.finish(p||k);return k?u:h.Zm()};
Lb=e;m.prototype.Na=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.I[a].Na()};m.prototype.nl=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.T[a]=this.I[a].get();return this.Ra.apply(this.b.od,this.T)};m.prototype.ml=function(){var a=this.type.ma().yc(),b,c,e,d,f;b=0;for(e=a.length;b<e;b++){f=a[b];c=0;for(d=this.I.length;c<d;c++)this.T[c]=this.I[c].get(b);-1<this.ib?(c=0,this.type.L&&(c=f.type.sf[this.type.ad]),this.Ra.apply(f.R[this.ib+c],this.T)):this.Ra.apply(f,this.T)}return!1};
Mb=m;var g=[],s=-1;u.prototype.Na=function(){var a,b;if(11===this.type)this.Ge=this.b.Sm(this.nh,this.kc.parent);else if(13===this.type)for(a=0,b=this.Vf.length;a<b;a++)this.Vf[a].Na();this.$c&&this.$c.Na()};u.prototype.Za=function(){s++;g.length===s&&g.push(new Qb);return g[s]};u.prototype.Sa=function(){s--};u.prototype.nr=function(a){this.ne=a||0;a=this.Za();this.$c.get(a);this.Sa();return a.data};u.prototype.or=function(a){this.ne=a||0;a=this.Za();this.$c.get(a);this.Sa();return N(a.data)?a.data:
""};u.prototype.ur=F("object");u.prototype.lr=F("wm");u.prototype.sr=function(a){this.ne=a||0;a=this.Za();this.$c.get(a);this.Sa();return a.bb()?this.b.cr(a.data):this.b.br(a.data)};u.prototype.tr=F("qa");u.prototype.rr=F("key");u.prototype.qr=F("index");u.prototype.pr=function(a){var b=this.K.type,c=null,c=b.ma(),e=c.yc(),c=e.length?e[a%e.length].type:c.na[a%c.na.length].type;return this.index+c.Wh[b.ad]};u.prototype.mr=F("Ge");u.prototype.kr=F("Jm");u.prototype.xr=function(){var a,b;a=0;for(b=this.Vf.length;a<
b;a++)this.oj[a]=this.Vf[a].get();return this.oj};Nb=u;q.prototype.Na=function(){this.xa=c(this.xa)};q.prototype.Gs=function(a){var b=this.b.Rm();this.parent&&!this.Ag&&b?(this.Ue>=b.length&&(b.length=this.Ue+1),b[this.Ue]=a):this.data=a};q.prototype.jr=function(){var a=this.b.Rm();return!this.parent||this.Ag||!a||this.ni?this.data:this.Ue>=a.length||"undefined"===typeof a[this.Ue]?this.lk:a[this.Ue]};q.prototype.Ta=function(){!this.parent||this.Ag||this.ni||this.Gs(this.lk)};Hb=q;p.prototype.toString=
function(){return"include:"+this.rg.toString()};p.prototype.Na=function(){this.rg=this.b.Sj[this.Dr];this.sheet.cn.add(this);this.xa=c(this.xa)};p.prototype.Ta=function(){this.parent&&this.b.Yg(this.b.u);this.rg.hk||this.rg.Ta(!0);this.parent&&this.b.Ye(this.b.u)};p.prototype.Ir=function(){for(var a=this.parent;a;){if(a.group&&!this.b.jf[a.wf.toLowerCase()])return!1;a=a.parent}return!0};Pb=p;t.prototype.reset=function(a){this.Ib=a;this.Fb=this.Ua=0;this.Go.length=0;this.Qj=this.Re=!1};Gb=t})();
(function(){function d(c,d){this.K=c;this.b=c.b;this.type=d[0];this.get=[this.Bq,this.xq,this.Jq,this.Mq,this.rq,this.Kq,this.Fq,this.uq,this.Eq,this.Iq,this.sq,this.Hq,this.vq,this.Gq,this.Cq,this.Dq,this.yq,this.zq,this.tq,this.Lq,this.Fm,this.Aq,this.Fm,this.wq][this.type];var b=null;this.Zb=this.I=this.T=this.Ra=this.gj=this.hb=this.first=this.value=null;this.ib=-1;this.Ad=null;this.Pl=-1;this.Ge=this.nh=null;this.ah=!1;switch(this.type){case 0:case 1:case 2:this.value=d[1];break;case 3:this.first=
new V(c,d[1]);break;case 18:this.first=new V(c,d[1]);this.hb=new V(c,d[2]);this.gj=new V(c,d[3]);break;case 19:this.Ra=d[1];this.T=[];this.I=[];3===d.length?(b=d[2],this.T.length=b.length+1):this.T.length=1;break;case 20:this.Zb=this.b.u[d[1]];this.ib=-1;this.Ra=d[2];this.ah=d[3];this.Ad=d[4]?new V(c,d[4]):null;this.T=[];this.I=[];6===d.length?(b=d[5],this.T.length=b.length+1):this.T.length=1;break;case 21:this.Zb=this.b.u[d[1]];this.ah=d[2];this.Ad=d[3]?new V(c,d[3]):null;this.Pl=d[4];break;case 22:this.Zb=
this.b.u[d[1]];this.Zb.ci(d[2]);this.ib=this.Zb.ak(d[2]);this.Ra=d[3];this.ah=d[4];this.Ad=d[5]?new V(c,d[5]):null;this.T=[];this.I=[];7===d.length?(b=d[6],this.T.length=b.length+1):this.T.length=1;break;case 23:this.nh=d[1],this.Ge=null}4<=this.type&&17>=this.type&&(this.first=new V(c,d[1]),this.hb=new V(c,d[2]));if(b){var a,f;a=0;for(f=b.length;a<f;a++)this.I.push(new V(c,b[a]))}}function k(c,d){this.type=c||W.$f;this.data=d||0;this.Kf=null;this.type==W.$f&&(this.data=Math.floor(this.data))}d.prototype.Na=
function(){23===this.type&&(this.Ge=this.K.b.Sm(this.nh,this.K.kc.parent));this.first&&this.first.Na();this.hb&&this.hb.Na();this.gj&&this.gj.Na();this.Ad&&this.Ad.Na();if(this.I){var c,d;c=0;for(d=this.I.length;c<d;c++)this.I[c].Na()}};d.prototype.Lq=function(c){this.T[0]=c;c=this.K.Za();var d,b;d=0;for(b=this.I.length;d<b;d++)this.I[d].get(c),this.T[d+1]=c.data;this.K.Sa();this.Ra.apply(this.b.od,this.T)};d.prototype.Fm=function(c){var d=this.Zb.ma(),b=d.yc();if(!b.length)if(d.na.length)b=d.na;
else{this.ah?c.Bc(""):c.za(0);return}this.T[0]=c;c.Kf=this.Zb;c=this.K.Za();var a,d=0;for(a=this.I.length;d<a;d++)this.I[d].get(c),this.T[d+1]=c.data;d=this.K.ne;this.Ad&&(this.Ad.get(c),c.bb()&&(d=c.data,b=this.Zb.e));this.K.Sa();d%=b.length;0>d&&(d+=b.length);b=b[d];-1<this.ib?(c=0,this.Zb.L&&(c=b.type.sf[this.Zb.ad]),this.Ra.apply(b.R[this.ib+c],this.T)):this.Ra.apply(b,this.T)};d.prototype.Aq=function(c){var d=this.Zb.ma(),b=d.yc();if(!b.length)if(d.na.length)b=d.na;else{this.ah?c.Bc(""):c.za(0);
return}d=this.K.ne;if(this.Ad){var a=this.K.Za();this.Ad.get(a);if(a.bb()){d=a.data;b=this.Zb.e;d%=b.length;0>d&&(d+=b.length);b=b[d].Wa[this.Pl];N(b)?c.Bc(b):c.$(b);this.K.Sa();return}this.K.Sa()}d%=b.length;0>d&&(d+=b.length);b=b[d];d=0;this.Zb.L&&(d=b.type.Wh[this.Zb.ad]);b=b.Wa[this.Pl+d];N(b)?c.Bc(b):c.$(b)};d.prototype.Bq=function(c){c.type=W.$f;c.data=this.value};d.prototype.xq=function(c){c.type=W.Zf;c.data=this.value};d.prototype.Jq=function(c){c.type=W.Aj;c.data=this.value};d.prototype.Mq=
function(c){this.first.get(c);c.bb()&&(c.data=-c.data)};d.prototype.rq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data+=d.data,d.Af()&&c.Hf());this.K.Sa()};d.prototype.Kq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data-=d.data,d.Af()&&c.Hf());this.K.Sa()};d.prototype.Fq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data*=d.data,d.Af()&&c.Hf());this.K.Sa()};d.prototype.uq=function(c){this.first.get(c);
var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data/=d.data,c.Hf());this.K.Sa()};d.prototype.Eq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data%=d.data,d.Af()&&c.Hf());this.K.Sa()};d.prototype.Iq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data=Math.pow(c.data,d.data),d.Af()&&c.Hf());this.K.Sa()};d.prototype.sq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()?d.pi()?c.Bc(c.data.toString()+d.data):
c.data&&d.data?c.za(1):c.za(0):c.pi()&&(c.data=d.pi()?c.data+d.data:c.data+(Math.round(1E10*d.data)/1E10).toString());this.K.Sa()};d.prototype.Hq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.bb()&&d.bb()&&(c.data||d.data?c.za(1):c.za(0));this.K.Sa()};d.prototype.tq=function(c){this.first.get(c);c.data?this.hb.get(c):this.gj.get(c)};d.prototype.vq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.za(c.data===d.data?1:0);this.K.Sa()};d.prototype.Gq=function(c){this.first.get(c);
var d=this.K.Za();this.hb.get(d);c.za(c.data!==d.data?1:0);this.K.Sa()};d.prototype.Cq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.za(c.data<d.data?1:0);this.K.Sa()};d.prototype.Dq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.za(c.data<=d.data?1:0);this.K.Sa()};d.prototype.yq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.za(c.data>d.data?1:0);this.K.Sa()};d.prototype.zq=function(c){this.first.get(c);var d=this.K.Za();this.hb.get(d);c.za(c.data>=
d.data?1:0);this.K.Sa()};d.prototype.wq=function(c){var d=this.Ge.jr();da(d)?c.$(d):c.Bc(d)};V=d;k.prototype.Af=function(){return this.type===W.Zf};k.prototype.bb=function(){return this.type===W.$f||this.type===W.Zf};k.prototype.pi=function(){return this.type===W.Aj};k.prototype.Hf=function(){this.Af()||(this.pi()&&(this.data=parseFloat(this.data)),this.type=W.Zf)};k.prototype.za=function(c){this.type=W.$f;this.data=Math.floor(c)};k.prototype.$=function(c){this.type=W.Zf;this.data=c};k.prototype.Bc=
function(c){this.type=W.Aj;this.data=c};Qb=k;W={$f:0,Zf:1,Aj:2}})();function X(d){this.b=d;this.Pb=[]}
X.prototype.gb=function(){var d={},k,c,h,b,a,f,e,m;d.waits=[];var u=d.waits,q;k=0;for(c=this.Pb.length;k<c;k++){f=this.Pb[k];q={t:f.time,ev:f.pf.aa,sm:[],sols:{}};f.pf.rc[f.Fb]&&(q.act=f.pf.rc[f.Fb].aa);h=0;for(b=f.xa.length;h<b;h++)q.sm.push(f.xa[h].aa);for(a in f.Eb)if(f.Eb.hasOwnProperty(a)){e=this.b.u[parseInt(a,10)];m={sa:f.Eb[a].Zi,insts:[]};h=0;for(b=f.Eb[a].Bd.length;h<b;h++)m.insts.push(f.Eb[a].Bd[h].uid);q.sols[e.aa.toString()]=m}u.push(q)}return d};
X.prototype.wb=function(d){d=d.waits;var k,c,h,b,a,f,e,m,u,q,p;k=this.Pb.length=0;for(c=d.length;k<c;k++)if(f=d[k],m=this.b.om[f.ev.toString()]){u=-1;h=0;for(b=m.rc.length;h<b;h++)if(m.rc[h].aa===f.act){u=h;break}if(-1!==u){e={Eb:{},xa:[],Oj:!1};e.time=f.t;e.pf=m;e.Fb=u;h=0;for(b=f.sm.length;h<b;h++)(m=this.b.ei(f.sm[h]))&&e.xa.push(m);for(a in f.sols)if(f.sols.hasOwnProperty(a)&&(m=this.b.ei(parseInt(a,10)))){u=f.sols[a];q={Zi:u.sa,Bd:[]};h=0;for(b=u.insts.length;h<b;h++)(p=this.b.mg(u.insts[h]))&&
q.Bd.push(p);e.Eb[m.index.toString()]=q}this.Pb.push(e)}}};
(function(){function d(){}function k(){}function c(){}var h=X.prototype;d.prototype.tp=G(!0);d.prototype.sp=G(!0);d.prototype.sj=function(a){return this.b.jf[a.toLowerCase()]};d.prototype.$o=function(){var a=this.b.lb();return a.Qj?!1:!a.Re};d.prototype.xj=G(!0);d.prototype.jp=G(!0);d.prototype.yj=G(!0);d.prototype.up=G(!0);d.prototype.wj=G(!0);h.k=new d;var b=[],a=[];k.prototype.sh=function(c){if(!(0>c)){var d,h,k,q=this.b.lb(),p;p=b.length?b.pop():{Eb:{},xa:[]};p.Oj=!1;p.time=this.b.oc.Oa+c;p.pf=
q.Ib;p.Fb=q.Fb+1;c=0;for(d=this.b.u.length;c<d;c++)k=this.b.u[c],h=k.ma(),h.ua&&-1===q.Ib.xa.indexOf(k)||(p.xa.push(k),k=void 0,k=a.length?a.pop():{Bd:[]},k.Zi=!1,k.Zi=h.ua,ta(k.Bd,h.e),p.Eb[c.toString()]=k);this.Pb.push(p);return!0}};k.prototype.Dp=function(){if(!this.b.Bg&&!this.b.fg&&this.b.wa){this.b.fg=this.b.wa;var a,b,c;a=0;for(b=this.b.Rd.length;a<b;a++)c=this.b.Rd[a],this.b.jf[c.wf.toLowerCase()]=c.ki}};h.G=new k;c.prototype["int"]=function(a,b){N(b)?(a.za(parseInt(b,10)),isNaN(a.data)&&
(a.data=0)):a.za(b)};c.prototype["float"]=function(a,b){N(b)?(a.$(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.$(b)};c.prototype.random=function(a,b,c){void 0===c?a.$(Math.random()*b):a.$(Math.random()*(c-b)+b)};c.prototype.sqrt=function(a,b){a.$(Math.sqrt(b))};c.prototype.abs=function(a,b){a.$(Math.abs(b))};c.prototype.round=function(a,b){a.za(Math.round(b))};c.prototype.floor=function(a,b){a.za(Math.floor(b))};c.prototype.ceil=function(a,b){a.za(Math.ceil(b))};c.prototype.sin=function(a,b){a.$(Math.sin(U(b)))};
c.prototype.cos=function(a,b){a.$(Math.cos(U(b)))};c.prototype.tan=function(a,b){a.$(Math.tan(U(b)))};c.prototype.acos=function(a,b){a.$(wa(Math.acos(b)))};c.prototype.exp=function(a,b){a.$(Math.exp(b))};c.prototype.max=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b<arguments[c]&&(b=arguments[c]);a.$(b)};c.prototype.min=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b>arguments[c]&&(b=arguments[c]);a.$(b)};c.prototype.Ee=function(a){a.$(this.b.Ee)};
c.prototype.ef=function(a){a.$(this.b.ef)};c.prototype.time=function(a){a.$(this.b.oc.Oa)};c.prototype.pd=function(a){a.za(this.b.pd)};c.prototype.Hi=function(a){a.za(this.b.Hi)};c.prototype.Wj=function(a){a.za(this.b.Wj)};c.prototype.m=function(a,b,c,d,h){a.$(wa(Ga(b,c,d,h)))};c.prototype.left=function(a,b,c){a.Bc(N(b)?b.substr(0,c):"")};c.prototype.right=function(a,b,c){a.Bc(N(b)?b.substr(b.length-c):"")};c.prototype.replace=function(a,b,c,d){N(b)&&N(c)&&N(d)?a.Bc(b.replace(RegExp(Ua(c),"gi"),d)):
a.Bc(N(b)?b:"")};c.prototype.Kj=function(a){a.$(this.b.Kj/1E3)};c.prototype.Ef=function(a){a.$(this.b.Ef)};h.Jb=new c;h.ws=function(){var c,d,h,k,q,p,t=this.b.lb();c=0;for(h=this.Pb.length;c<h;c++)if(k=this.Pb[c],!(k.time>this.b.oc.Oa)){t.Ib=k.pf;t.Fb=k.Fb;t.Ua=0;for(d in k.Eb)k.Eb.hasOwnProperty(d)&&(q=this.b.u[parseInt(d,10)].ma(),p=k.Eb[d],q.ua=p.Zi,ta(q.e,p.Bd),q=p,q.Bd.length=0,a.push(q));k.pf.us();this.b.Ij(k.xa);k.Oj=!0}d=c=0;for(h=this.Pb.length;c<h;c++)k=this.Pb[c],this.Pb[d]=k,k.Oj?(Ra(k.Eb),
k.xa.length=0,b.push(k)):d++;this.Pb.length=d}})();
(function(){db=function(d){var c=d[0].prototype,h=d[1],b=d[3],a=d[4],f=d[5],e=d[6],m=d[7];d=d[8];c.k||(c.k={});c.G||(c.G={});c.Jb||(c.Jb={});var u=c.k,q=c.G,c=c.Jb;b&&(u.dt=function(a,b){return Rb(this.x,a,b)},u.et=function(a,b){return Rb(this.y,a,b)},u.mt=function(){var a=this.j;this.Fa();var b=this.La;return!(b.right<a.fc||b.bottom<a.hc||b.left>a.gc||b.top>a.ec)},u.nt=function(){this.Fa();var a=this.La,b=this.b.wa;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},u.At=function(a,b,c){var d=
this.ma(),e=d.yc();if(!e.length)return!1;var f=e[0],h=f,l=La(f.x,f.y,b,c),k,m,q;k=1;for(m=e.length;k<m;k++)if(f=e[k],q=La(f.x,f.y,b,c),0===a&&q<l||1===a&&q>l)l=q,h=f;d.Vg(h);return!0},q.Rt=function(a){this.x!==a&&(this.x=a,this.C())},q.St=function(a){this.y!==a&&(this.y=a,this.C())},q.Nt=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.C()},q.Ot=function(a,b){var c=a.er(this);if(c){var d;c.lg?(d=c.lg(b,!0),c=c.lg(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.C()}},
q.st=function(a){0!==a&&(this.x+=Math.cos(this.m)*a,this.y+=Math.sin(this.m)*a,this.C())},q.qt=function(a,b){0!==b&&(this.x+=Math.cos(U(a))*b,this.y+=Math.sin(U(a))*b,this.C())},c.Xt=function(a){a.$(this.x)},c.Yt=function(a){a.$(this.y)},c.Ee=function(a){a.$(this.b.uf(this))});a&&(u.ct=function(a,b){return Rb(this.width,a,b)},u.$s=function(a,b){return Rb(this.height,a,b)},q.Fp=function(a){this.width!==a&&(this.width=a,this.C())},q.Lt=function(a){this.height!==a&&(this.height=a,this.C())},q.Pt=function(a,
b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.C()},c.Wt=function(a){a.$(this.width)},c.ht=function(a){a.$(this.height)},c.Xs=function(a){this.Fa();a.$(this.La.left)},c.Zs=function(a){this.Fa();a.$(this.La.top)},c.Ys=function(a){this.Fa();a.$(this.La.right)},c.Ws=function(a){this.Fa();a.$(this.La.bottom)});f&&(u.Vs=function(a,b){return Ha(this.m,U(b))<=U(a)},u.kt=function(a){return Ja(this.m,U(a))},u.jt=function(a,b){var c=Ba(a),d=Ba(b),e=za(this.m);return Ja(d,c)?Ja(e,c)&&
!Ja(e,d):!(!Ja(e,c)&&Ja(e,d))},q.It=function(a){a=U(ya(a));isNaN(a)||this.m===a||(this.m=a,this.C())},q.Et=function(a){0===a||isNaN(a)||(this.m+=U(a),this.m=za(this.m),this.C())},q.Ft=function(a){0===a||isNaN(a)||(this.m-=U(a),this.m=za(this.m),this.C())},q.Gt=function(a,b){var c=Ia(this.m,U(b),U(a));isNaN(c)||this.m===c||(this.m=c,this.C())},q.Ht=function(a,b,c){a=Ia(this.m,Math.atan2(c-this.y,b-this.x),U(a));isNaN(a)||this.m===a||(this.m=a,this.C())},q.Qt=function(a,b){var c=Math.atan2(b-this.y,
a-this.x);isNaN(c)||this.m===c||(this.m=c,this.C())},c.Us=function(a){a.$(Aa(this.m))});h||(u.qh=function(a,b,c){return Rb(this.Wa[a],b,c)},u.Vl=function(a){return this.Wa[a]},u.Bt=function(a,b){var c=this.ma(),d=c.yc();if(!d.length)return!1;var e=d[0],f=e,h=e.Wa[b],l,k,m;l=1;for(k=d.length;l<k;l++)if(e=d[l],m=e.Wa[b],0===a&&m<h||1===a&&m>h)h=m,f=e;c.Vg(f);return!0},u.zt=function(a){var b,c,d,e,f;if(this.b.Qm().ug){f=this.ma();if(f.ua)for(f.ua=!1,f.e.length=0,f.na.length=0,d=this.e,b=0,c=d.length;b<
c;b++)e=d[b],e.uid===a?f.na.push(e):f.e.push(e);else{d=b=0;for(c=f.e.length;b<c;b++)e=f.e[b],f.e[d]=e,e.uid===a?f.na.push(e):d++;f.e.length=d}this.Wc();return!!f.e.length}e=this.b.mg(a);if(!e)return!1;f=this.ma();if(!f.ua&&-1===f.e.indexOf(e))return!1;if(this.L)for(a=e.type.ya,b=0,c=a.length;b<c;b++){if(a[b]===this)return f.Vg(e),this.Wc(),!0}else if(e.type===this)return f.Vg(e),this.Wc(),!0;return!1},u.uj=G(!0),u.Zl=G(!0),q.Ep=function(a,b){var c=this.Wa;da(c[a])?c[a]=da(b)?b:parseFloat(b):N(c[a])&&
(c[a]=N(b)?b:b.toString())},q.Ts=function(a,b){var c=this.Wa;da(c[a])?c[a]=da(b)?c[a]+b:c[a]+parseFloat(b):N(c[a])&&(c[a]=N(b)?c[a]+b:c[a]+b.toString())},q.Tt=function(a,b){var c=this.Wa;da(c[a])&&(c[a]=da(b)?c[a]-b:c[a]-parseFloat(b))},q.fm=function(a,b){this.Wa[a]=b?1:0},q.Ut=function(a){this.Wa[a]=1-this.Wa[a]},q.rj=function(){this.b.Pd(this)},q.dp||(q.dp=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.b.Bi(this,b,!0);this.Uc&&this.Uc();if(this.R)for(a=0,b=this.R.length;a<b;++a)c=
this.R[a],c.Uc&&c.Uc()}),c.gt=function(a){var b=a.Kf.e.length,c,d,e;c=0;for(d=this.b.Rb.length;c<d;c++)e=this.b.Rb[c],a.Kf.L?0<=e.type.ya.indexOf(a.Kf)&&b++:e.type===a.Kf&&b++;a.za(b)},c.Dt=function(a){a.za(a.Kf.ma().yc().length)},c.Vt=function(a){a.za(this.uid)},c.it=function(a){a.za(this.pg())},c.Zo||(c.Zo=function(a){a.Bc(JSON.stringify(this.b.ol(this,!0)))}));e&&(u.ot=F("visible"),q.bg=function(a){!a!==!this.visible&&(this.visible=a,this.b.ta=!0)},u.bt=function(a,b){return Rb(Za(100*this.opacity),
a,b)},q.Mt=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ta=!0)},c.Opacity=function(a){a.$(Za(100*this.opacity))});m&&(u.lt=function(a){return a?this.j===a:!1},u.Ct=function(a){var b=this.ma(),c=b.yc();if(!c.length)return!1;var d=c[0],e=d,f,h;f=1;for(h=c.length;f<h;f++)if(d=c[f],0===a){if(d.j.index>e.j.index||d.j.index===e.j.index&&d.Kb()>e.Kb())e=d}else if(d.j.index<e.j.index||d.j.index===e.j.index&&d.Kb()<e.Kb())e=d;b.Vg(e);return!0},q.wt=function(){var a=this.Kb();
a!==this.j.e.length-1&&(sa(this.j.e,a),this.j.e.push(this),this.b.ta=!0,this.j.ic=!0)},q.tt=function(){var a=this.Kb();0!==a&&(sa(this.j.e,a),this.j.e.unshift(this),this.b.ta=!0,this.j.ic=!0)},q.ut=function(a){a&&a!=this.j&&(sa(this.j.e,this.Kb()),this.j.ic=!0,this.j=a,this.gf=a.e.length,a.e.push(this),this.b.ta=!0)},q.$t=function(a,b){var c=0===a;if(b){var d=b.Wq(this);if(d&&d.uid!==this.uid){this.j.index!==d.j.index&&(sa(this.j.e,this.Kb()),this.j.ic=!0,this.j=d.j,this.gf=d.j.e.length,d.j.e.push(this));
var e=this.Kb(),d=d.Kb();sa(this.j.e,e);e<d&&d--;c&&d++;d===this.j.e.length?this.j.e.push(this):this.j.e.splice(d,0,this);this.j.ic=!0;this.b.ta=!0}}},c.cp=function(a){a.za(this.j.Rn)},c.pt=function(a){a.Bc(this.j.name)},c.Zt=function(a){a.za(this.Kb())});d&&(q.Jt=function(a,b){if(this.b.D){var c=this.type.dk(b);if(!(0>c)){var d=1===a;this.Qd[c]!==d&&(this.Qd[c]=d,this.Ld(),this.b.ta=!0)}}},q.Kt=function(a,b,c){if(this.b.D){var d=this.type.dk(a);0>d||(a=this.type.S[d],d=this.Ha[d],b=Math.floor(b),
0>b||b>=d.length||(1===this.b.D.hr(a.nb,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.jc&&(this.b.ta=!0))))}})};Ab=function(){this.Fj=!0;this.type.wh=!0;this.b.ta=!0;var d,c,h=this.Gj;d=0;for(c=h.length;d<c;++d)h[d](this)};Bb=function(d){d&&this.Gj.push(d)};var d=new pa(0,0,0,0);Db=function(){if(this.Fj){var k=this.La,c=this.Ab;k.set(this.x,this.y,this.x+this.width,this.y+this.height);k.offset(-this.Lb*this.width,-this.Mb*this.height);this.m?(k.offset(-this.x,-this.y),c.yo(k,this.m),c.offset(this.x,this.y),c.pm(k)):
c.eh(k);k.normalize();this.Fj=!1;if(this.ud){var c=this.type.Jh,h=this.Ih;d.set(c.uh(k.left),c.vh(k.top),c.uh(k.right),c.vh(k.bottom));h.qq(d)||(h.right<h.left?c.update(this,null,d):c.update(this,h,d),h.copy(d))}}};Cb=function(d,c){return this.La.lc(d,c)&&this.Ab.lc(d,c)?this.la&&!this.la.zf()?(this.la.lf(this.width,this.height,this.m),this.la.lc(d-this.x,c-this.y)):!0:!1};wb=function(){this.type.lj();return this.Ke};Eb=function(){this.j.Os();return this.gf};Fb=function(){this.fa.length=0;var d,c;
d=0;for(c=this.Qd.length;d<c;d++)this.Qd[d]&&this.fa.push(this.type.S[d]);this.Xo=!!this.fa.length};xb=function(){return"Inst"+this.qo};gb=function(d){if(d&&d.nc&&d.type!=this){var c,h,b;c=0;for(h=d.siblings.length;c<h;c++)if(b=d.siblings[c],b.type==this)return b}d=this.ma().yc();return d.length?d[0]:null};hb=function(d){var c=this.ma().yc();return c.length?c[d.pg()%c.length]:null};fb=function(){if(this.Tf&&!this.L){var d,c;d=0;for(c=this.e.length;d<c;d++)this.e[d].Ke=d;var h=d,b=this.b.Rb;d=0;for(c=
b.length;d<c;++d)b[d].type===this&&(b[d].Ke=h++);this.Tf=!1}};ub=function(d){if(d<this.e.length)return this.e[d];d-=this.e.length;var c=this.b.Rb,h,b;h=0;for(b=c.length;h<b;++h)if(c[h].type===this){if(0===d)return c[h];--d}return null};ib=function(){return this.oe[this.xd]};jb=function(){this.xd++;this.xd===this.oe.length?this.oe.push(new eb(this)):this.oe[this.xd].ua=!0};kb=function(){this.xd++;this.xd===this.oe.length&&this.oe.push(new eb(this));var d=this.oe[this.xd],c=this.oe[this.xd-1];c.ua?
d.ua=!0:(d.ua=!1,ta(d.e,c.e),ta(d.na,c.na))};lb=function(){this.xd--};mb=function(d){var c,h,b,a,f,e=0;if(!this.L)for(c=0,h=this.ya.length;c<h;c++)for(f=this.ya[c],b=0,a=f.Pa.length;b<a;b++){if(d===f.Pa[b].name)return this.Z.yn=e,f.Pa[b];e++}c=0;for(h=this.Pa.length;c<h;c++){if(d===this.Pa[c].name)return this.Z.yn=e,this.Pa[c];e++}return null};nb=function(d){return this.ci(d)?this.Z.yn:-1};ob=function(d){var c,h;c=0;for(h=this.S.length;c<h;c++)if(this.S[c].name===d)return c;return-1};tb=function(){if(this.nc&&
!this.L){var d,c,h,b,a,f,e;this.lj();f=this.ma();var m=f.ua,u=(d=this.b.lb())&&d.Ib&&d.Ib.Nc;d=0;for(c=this.Hb.length;d<c;d++)if(a=this.Hb[d],a!==this&&(a.lj(),e=a.ma(),e.ua=m,!m)){e.e.length=f.e.length;h=0;for(b=f.e.length;h<b;h++)e.e[h]=a.Tm(f.e[h].Ke);if(u)for(e.na.length=f.na.length,h=0,b=f.na.length;h<b;h++)e.na[h]=a.Tm(f.na[h].Ke)}}};vb=function(){return"Type"+this.aa};Rb=function(d,c,h){if("undefined"===typeof d||"undefined"===typeof h)return!1;switch(c){case 0:return d===h;case 1:return d!==
h;case 2:return d<h;case 3:return d<=h;case 4:return d>h;case 5:return d>=h;default:return!1}}})();var Zb={};function cc(d){this.b=d}
(function(){function d(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function k(a){a=a.toLowerCase();return R.hasOwnProperty(a)&&R[a].length?R[a][0].mc():z.destination}function c(){return z.createGain?z.createGain():z.createGainNode()}function h(a){return z.createDelay?z.createDelay(a):z.createDelayNode(a)}function b(a){a.start?a.start(0):a.noteOn(0)}function a(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 e(a,
b,d,e,f,g){this.type="filter";this.Oc=[a,b,d,e,f,g];this.ca=c();this.P=c();this.P.gain.value=g;this.N=c();this.N.gain.value=1-g;this.Qa=z.createBiquadFilter();this.Qa.type="number"===typeof this.Qa.type?a:rc[a];this.Qa.frequency.value=b;this.Qa.detune&&(this.Qa.detune.value=d);this.Qa.Q.value=e;this.Qa.gain.value=f;this.ca.connect(this.Qa);this.ca.connect(this.N);this.Qa.connect(this.P)}function m(a,b,d){this.type="delay";this.Oc=[a,b,d];this.ca=c();this.P=c();this.P.gain.value=d;this.N=c();this.N.gain.value=
1-d;this.Og=c();this.vc=h(a);this.vc.delayTime.value=a;this.Qh=c();this.Qh.gain.value=b;this.ca.connect(this.Og);this.ca.connect(this.N);this.Og.connect(this.P);this.Og.connect(this.vc);this.vc.connect(this.Qh);this.Qh.connect(this.Og)}function u(a,b,d,e){this.type="convolve";this.Oc=[b,d,e];this.ca=c();this.P=c();this.P.gain.value=d;this.N=c();this.N.gain.value=1-d;this.Ce=z.createConvolver();a&&(this.Ce.normalize=b,this.Ce.buffer=a);this.ca.connect(this.Ce);this.ca.connect(this.N);this.Ce.connect(this.P)}
function q(a,d,e,f,g){this.type="flanger";this.Oc=[a,d,e,f,g];this.ca=c();this.N=c();this.N.gain.value=1-g/2;this.P=c();this.P.gain.value=g/2;this.Xh=c();this.Xh.gain.value=f;this.vc=h(a+d);this.vc.delayTime.value=a;this.fb=z.createOscillator();this.fb.frequency.value=e;this.$b=c();this.$b.gain.value=d;this.ca.connect(this.vc);this.ca.connect(this.N);this.vc.connect(this.P);this.vc.connect(this.Xh);this.Xh.connect(this.vc);this.fb.connect(this.$b);this.$b.connect(this.vc.delayTime);b(this.fb)}function p(a,
d,e,f,g,l){this.type="phaser";this.Oc=[a,d,e,f,g,l];this.ca=c();this.N=c();this.N.gain.value=1-l/2;this.P=c();this.P.gain.value=l/2;this.Qa=z.createBiquadFilter();this.Qa.type="number"===typeof this.Qa.type?7:"allpass";this.Qa.frequency.value=a;this.Qa.detune&&(this.Qa.detune.value=d);this.Qa.Q.value=e;this.fb=z.createOscillator();this.fb.frequency.value=g;this.$b=c();this.$b.gain.value=f;this.ca.connect(this.Qa);this.ca.connect(this.N);this.Qa.connect(this.P);this.fb.connect(this.$b);this.$b.connect(this.Qa.frequency);
b(this.fb)}function t(a){this.type="gain";this.Oc=[a];this.ea=c();this.ea.gain.value=a}function v(a,d){this.type="tremolo";this.Oc=[a,d];this.ea=c();this.ea.gain.value=1-d/2;this.fb=z.createOscillator();this.fb.frequency.value=a;this.$b=c();this.$b.gain.value=d/2;this.fb.connect(this.$b);this.$b.connect(this.ea.gain);b(this.fb)}function g(a,d){this.type="ringmod";this.Oc=[a,d];this.ca=c();this.P=c();this.P.gain.value=d;this.N=c();this.N.gain.value=1-d;this.bh=c();this.bh.gain.value=0;this.fb=z.createOscillator();
this.fb.frequency.value=a;this.fb.connect(this.bh.gain);b(this.fb);this.ca.connect(this.bh);this.ca.connect(this.N);this.bh.connect(this.P)}function s(a,b,d,e,f){this.type="distortion";this.Oc=[a,b,d,e,f];this.ca=c();this.Pi=c();this.Oi=c();this.Ds(d,Math.pow(10,e/20));this.P=c();this.P.gain.value=f;this.N=c();this.N.gain.value=1-f;this.qj=z.createWaveShaper();this.Oh=new Float32Array(65536);this.Sq(a,b);this.qj.Oh=this.Oh;this.ca.connect(this.Pi);this.ca.connect(this.N);this.Pi.connect(this.qj);
this.qj.connect(this.Oi);this.Oi.connect(this.P)}function r(a,b,c,d,e){this.type="compressor";this.Oc=[a,b,c,d,e];this.ea=z.createDynamicsCompressor();this.ea.threshold.value=a;this.ea.knee.value=b;this.ea.ratio.value=c;this.ea.attack.value=d;this.ea.release.value=e}function n(a,b){this.type="analyser";this.Oc=[a,b];this.ea=z.createAnalyser();this.ea.fftSize=a;this.ea.smoothingTimeConstant=b;this.Qq=new Float32Array(this.ea.frequencyBinCount);this.Ao=new Uint8Array(a);this.Ug=0}function l(){this.W=
null;this.Di=0;this.pe=[];this.Jk=this.ri=this.qi=0}function y(a,b){this.src=a;this.ra=M;this.Lc=b;this.km=!1;var d=this;this.Ik=this.Wk=null;this.Of=[];this.$i=0;this.Fo=this.Ki=!1;M===w&&b&&(this.ra=I,this.Wk=c());this.yh=this.Ca=null;var e;switch(this.ra){case I:this.Ca=new Audio;M===w&&z.createMediaElementSource&&!E.nn&&(this.Fo=!0,this.Ca.addEventListener("canplay",function(){d.Ik||(d.Ik=z.createMediaElementSource(d.Ca),d.Ik.connect(d.Wk))}));this.Ca.autoplay=!1;this.Ca.ju="auto";this.Ca.src=
a;break;case w:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){d.yh=e.response;d.Zp()};e.send();break;case Q:this.Ca=!0;break;case K:this.Ca=!0}}function C(a,b){var d=this;this.qe=b;this.Dc=this.$d=!0;this.src=a.src;this.buffer=a;this.ra=M;this.Lc=a.Lc;this.playbackRate=1;this.Yk=!0;this.Cd=this.Id=!1;this.Rc=0;this.zg=this.Bf=this.Ed=!1;this.Qg=this.volume=1;this.startTime=E.oc.Oa;this.Ma=this.ab=null;this.fd=!1;this.Xa=null;this.eo=this.co=this.bo=this.ao=
this.ho=this.fo=0;this.n=null;var e=!1;this.ra!==w||this.buffer.ra!==I||this.buffer.Fo||(this.ra=I);switch(this.ra){case I:this.Lc?(this.n=a.Ca,e=!a.km,a.km=!0):(this.n=new Audio,this.n.autoplay=!1,this.n.src=a.Ca.src,e=!0);e&&this.n.addEventListener("ended",function(){T=d.qe;d.Dc=!0;E.trigger(cc.prototype.k.vj,H)});break;case w:this.ab=c();this.ab.connect(k(b));this.buffer.ra===w?a.Ca&&(this.n=z.createBufferSource(),this.n.buffer=a.Ca,this.n.connect(this.ab)):(this.n=this.buffer.Ca,this.buffer.Wk.connect(this.ab));
break;case Q:this.n=new window.Media(B+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(d.Yk=!0,d.Dc=!0,T=d.qe,E.trigger(cc.prototype.k.vj,H))});break;case K:this.n=!0}}function O(a,b){R.hasOwnProperty(a)?R[a].push(b):R[a]=[b];var c,d,e,f,g=z.destination;if(R.hasOwnProperty(a)&&(e=R[a],e.length))for(g=e[0].mc(),c=0,d=e.length;c<d;c++)f=e[c],c+1===d?f.sc(z.destination):f.sc(e[c+1].mc());Ca.length=0;if(a.length)for(c=0,d=P.length;c<d;c++)e=P[c],bb(a,e.qe)&&Ca.push(e);else Da&&!Da.qg()&&
(Ca.length=1,Ca[0]=Da);c=0;for(d=Ca.length;c<d;c++)Ca[c].rs(g);xa&&pb===a&&(xa.disconnect(),xa.connect(g))}function J(){}function x(){}var D=cc.prototype;D.ka=function(a){this.Ia=a;this.b=a.b};D.ka.prototype.O=A();var E=null,H=null,T="",B="",I=0,w=1,Q=2,K=3,M=I,z=null,qb=[],P=[],Da=null,$a=!1,ab=0,ma=!1,na=1,Ea=0,Fa=0,rb=1,sb=1,kc=10,lc=1E4,mc=1,xa=null,pb="",Ma=!1,Na=[],R={},rc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");e.prototype.sc=function(a){this.P.disconnect();
this.P.connect(a);this.N.disconnect();this.N.connect(a)};e.prototype.remove=function(){this.ca.disconnect();this.Qa.disconnect();this.P.disconnect();this.N.disconnect()};e.prototype.mc=F("ca");m.prototype.sc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};m.prototype.remove=function(){this.ca.disconnect();this.Og.disconnect();this.vc.disconnect();this.Qh.disconnect();this.P.disconnect();this.N.disconnect()};m.prototype.mc=F("ca");u.prototype.sc=function(a){this.P.disconnect();
this.P.connect(a);this.N.disconnect();this.N.connect(a)};u.prototype.remove=function(){this.ca.disconnect();this.Ce.disconnect();this.P.disconnect();this.N.disconnect()};u.prototype.mc=F("ca");q.prototype.sc=function(a){this.N.disconnect();this.N.connect(a);this.P.disconnect();this.P.connect(a)};q.prototype.remove=function(){this.ca.disconnect();this.vc.disconnect();this.fb.disconnect();this.$b.disconnect();this.N.disconnect();this.P.disconnect();this.Xh.disconnect()};q.prototype.mc=F("ca");p.prototype.sc=
function(a){this.N.disconnect();this.N.connect(a);this.P.disconnect();this.P.connect(a)};p.prototype.remove=function(){this.ca.disconnect();this.Qa.disconnect();this.fb.disconnect();this.$b.disconnect();this.N.disconnect();this.P.disconnect()};p.prototype.mc=F("ca");t.prototype.sc=function(a){this.ea.disconnect();this.ea.connect(a)};t.prototype.remove=function(){this.ea.disconnect()};t.prototype.mc=F("ea");v.prototype.sc=function(a){this.ea.disconnect();this.ea.connect(a)};v.prototype.remove=function(){this.fb.disconnect();
this.$b.disconnect();this.ea.disconnect()};v.prototype.mc=F("ea");g.prototype.sc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};g.prototype.remove=function(){this.fb.disconnect();this.bh.disconnect();this.ca.disconnect();this.P.disconnect();this.N.disconnect()};g.prototype.mc=F("ca");s.prototype.Ds=function(a,b){0.01>a&&(a=0.01);this.Pi.gain.value=a;this.Oi.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.Sq=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.Oh[32768+f]=e,this.Oh[32768-f-1]=-e};s.prototype.sc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};s.prototype.remove=function(){this.ca.disconnect();this.Pi.disconnect();this.qj.disconnect();this.Oi.disconnect();this.P.disconnect();this.N.disconnect()};s.prototype.mc=F("ca");
r.prototype.sc=function(a){this.ea.disconnect();this.ea.connect(a)};r.prototype.remove=function(){this.ea.disconnect()};r.prototype.mc=F("ea");n.prototype.Aa=function(){this.ea.getFloatFrequencyData(this.Qq);this.ea.getByteTimeDomainData(this.Ao);for(var a=this.ea.fftSize,b=0,c=this.Ug=0,e=0;b<a;b++)e=(this.Ao[b]-128)/128,0>e&&(e=-e),this.Ug<e&&(this.Ug=e),c+=e*e;this.Ug=d(this.Ug);d(Math.sqrt(c/a))};n.prototype.sc=function(a){this.ea.disconnect();this.ea.connect(a)};n.prototype.remove=function(){this.ea.disconnect()};
n.prototype.mc=F("ea");l.prototype.dh=function(a){if(this.W=a)this.qi=this.W.x,this.ri=this.W.y;this.pe.length=0};l.prototype.gi=function(){return!!this.W};l.prototype.Aa=function(a){this.W&&0!==a&&(this.Jk=Ga(this.qi,this.ri,this.W.x,this.W.y),a=La(this.qi,this.ri,this.W.x,this.W.y)/a,4>this.pe.length||this.pe.shift(),this.pe.push(a),this.qi=this.W.x,this.ri=this.W.y)};l.prototype.gk=function(){if(!this.pe.length)return 0;var a,b,c=0;a=0;for(b=this.pe.length;a<b;a++)c+=this.pe[a];return c/this.pe.length};
l.prototype.Xm=function(){return Math.cos(this.Jk)*this.gk()};l.prototype.Ym=function(){return Math.sin(this.Jk)*this.gk()};var nc=!1;y.prototype.Zp=function(){if(!this.Ca&&this.yh){var a=this;if(z.decodeAudioData)z.decodeAudioData(this.yh,function(b){a.Ca=b;var c,d,e;if(ca(a.Li)||ma)ca(a.Kh)||(c=a.Kh.Ce,c.normalize=a.Qn,c.buffer=b);else if(a.Of.length){c=0;for(d=a.Of.length;c<d;c++){b=a.Of[c];e=new C(a,b.Ko);e.tl(!0);if("undefined"!==typeof b.Sn&&(b.W=E.mg(b.Sn),!b.W))continue;if(b.W){var f=Ka(b.W.x,
b.W.y,-b.W.j.Bb(),Ea,Fa,!0),g=Ka(b.W.x,b.W.y,-b.W.j.Bb(),Ea,Fa,!1);e.sl(f,g,wa(b.W.m-b.W.j.Bb()),b.ik,b.Kk,b.Mk);e.dh(b.W)}else e.sl(b.x,b.y,b.Kp,b.ik,b.Kk,b.Mk);e.play(a.Gk,a.Rl,a.$i);a.Ki&&e.pause();P.push(e)}a.Of.length=0}else e=new C(a,a.Li),e.play(a.Gk,a.Rl,a.$i),a.Ki&&e.pause(),P.push(e)});else if(this.Ca=z.createBuffer(this.yh,!1),ca(this.Li)||ma)ca(this.Kh)||(b=this.Kh.Ce,b.normalize=this.Qn,b.buffer=this.Ca);else{var b=new C(this,this.Li);b.play(this.Gk,this.Rl,this.$i);this.Ki&&b.pause();
P.push(b)}}};C.prototype.qg=function(){switch(this.ra){case I:return this.n.ended;case w:return this.buffer.ra===w?!this.$d&&!this.Dc&&this.n.loop||this.Cd?!1:E.oc.Oa-this.startTime>this.buffer.Ca.duration:this.n.ended;case Q:return this.Yk;case K:!0}return!0};C.prototype.Sp=function(){return this.$d||this.Dc?!0:this.qg()};C.prototype.tl=function(a){M===w&&(!this.fd&&a?this.ab&&(this.Ma||(this.Ma=z.createPanner(),this.Ma.panningModel="number"===typeof this.Ma.panningModel?rb:["equalpower","HRTF",
"soundfield"][rb],this.Ma.distanceModel="number"===typeof this.Ma.distanceModel?sb:["linear","inverse","exponential"][sb],this.Ma.refDistance=kc,this.Ma.maxDistance=lc,this.Ma.rolloffFactor=mc),this.ab.disconnect(),this.ab.connect(this.Ma),this.Ma.connect(k(this.qe)),this.fd=!0):this.fd&&!a&&this.ab&&(this.Ma.disconnect(),this.ab.disconnect(),this.ab.connect(k(this.qe)),this.fd=!1))};C.prototype.sl=function(a,b,c,d,e,f){this.fd&&M===w&&(this.Ma.setPosition(a,b,0),this.Ma.setOrientation(Math.cos(U(c)),
Math.sin(U(c)),0),this.Ma.coneInnerAngle=d,this.Ma.coneOuterAngle=e,this.Ma.coneOuterGain=f,this.fo=a,this.ho=b,this.ao=c,this.bo=d,this.co=e,this.eo=f)};C.prototype.dh=function(a){this.fd&&M===w&&(this.Xa||(this.Xa=new l),this.Xa.dh(a))};C.prototype.Aa=function(a){if(this.fd&&M===w&&this.Xa&&this.Xa.gi()&&this.yf()){this.Xa.Aa(a);a=this.Xa.W;var b=Ka(a.x,a.y,-a.j.Bb(),Ea,Fa,!0),c=Ka(a.x,a.y,-a.j.Bb(),Ea,Fa,!1);this.Ma.setPosition(b,c,0);b=0;"undefined"!==typeof this.Xa.W.m&&(b=a.m-a.j.Bb(),this.Ma.setOrientation(Math.cos(b),
Math.sin(b),0));this.Ma.setVelocity(this.Xa.Xm(),this.Xa.Ym(),0)}};C.prototype.play=function(c,d,e){var f=this.n;this.Ed=c;this.volume=d;e=e||0;switch(this.ra){case I:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==d*na&&(f.volume=d*na);f.loop!==c&&(f.loop=c);f.muted&&(f.muted=!1);if(f.currentTime!==e)try{f.currentTime=e}catch(g){}this.Lc&&Ma&&!E.cd?Na.push(this):this.n.play();break;case w:this.muted=!1;this.Qg=1;if(this.buffer.ra===w)this.$d||(this.n=z.createBufferSource(),this.n.buffer=this.buffer.Ca,
this.n.connect(this.ab)),this.n.loop=c,this.ab.gain.value=d*na,0===e?b(this.n):a(this.n,e,this.vf());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==c&&(f.loop=c);this.ab.gain.value=d*na;if(f.currentTime!==e)try{f.currentTime=e}catch(l){}this.Lc&&Ma&&!E.cd?Na.push(this):f.play()}break;case Q:(!this.$d&&this.Dc||0!==e)&&f.seekTo(e);f.play();this.Yk=!1;break;case K:E.Nb?AppMobi.context.playSound(this.src,c):AppMobi.player.playSound(this.src,c)}this.playbackRate=1;this.startTime=E.oc.Oa-e;this.Cd=
this.Dc=this.$d=!1};C.prototype.stop=function(){switch(this.ra){case I:this.n.paused||this.n.pause();break;case w:this.buffer.ra===w?f(this.n):this.n.paused||this.n.pause();break;case Q:this.n.stop();break;case K:E.Nb&&AppMobi.context.stopSound(this.src)}this.Dc=!0;this.Cd=!1};C.prototype.pause=function(){if(!(this.$d||this.Dc||this.qg()||this.Cd)){switch(this.ra){case I:this.n.paused||this.n.pause();break;case w:this.buffer.ra===w?(this.Rc=this.ek(),this.Ed&&(this.Rc%=this.vf()),f(this.n)):this.n.paused||
this.n.pause();break;case Q:this.n.pause();break;case K:E.Nb&&AppMobi.context.stopSound(this.src)}this.Cd=!0}};C.prototype.rs=function(a){this.ra===w&&(this.fd?(this.Ma.disconnect(),this.Ma.connect(a)):(this.ab.disconnect(),this.ab.connect(a)))};C.prototype.vf=function(){switch(this.ra){case I:if("undefined"!==typeof this.n.duration)return this.n.duration;break;case w:return this.buffer.Ca.duration;case Q:return this.n.getDuration();case K:if(E.Nb)return AppMobi.context.getDurationSound(this.src)}return 0};
C.prototype.ek=function(){var a=this.vf(),b=0;switch(this.ra){case I:"undefined"!==typeof this.n.currentTime&&(b=this.n.currentTime);break;case w:if(this.buffer.ra===w){if(this.Cd)return this.Rc;b=E.oc.Oa-this.startTime}else"undefined"!==typeof this.n.currentTime&&(b=this.n.currentTime);break;case K:E.Nb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Ed&&b>a&&(b=a);return b};C.prototype.yf=function(){return!this.Cd&&!this.$d&&!this.Dc&&!this.qg()};C.prototype.Ns=function(){var a=this.volume*
na;switch(this.ra){case I:this.n.volume&&this.n.volume!==a&&(this.n.volume=a);break;case w:this.ab.gain.value=a*this.Qg}};C.prototype.Sh=function(a){switch(this.ra){case I:this.n.muted!==!!a&&(this.n.muted=!!a);break;case w:this.Qg=a?0:1,this.ab.gain.value=na*this.volume*this.Qg}};C.prototype.Es=function(){this.Bf=!0;this.Sh(this.Bf||this.zg)};C.prototype.wo=function(a){this.zg=!!a;this.Sh(this.Bf||this.zg)};C.prototype.Vo=function(){var a=this.playbackRate;if(1===ab&&!this.Lc||2===ab)a*=E.ef;switch(this.ra){case I:this.n.playbackRate!==
a&&(this.n.playbackRate=a);break;case w:this.buffer.ra===w?this.n.playbackRate.value!==a&&(this.n.playbackRate.value=a):this.n.playbackRate!==a&&(this.n.playbackRate=a)}};C.prototype.Fs=function(b){switch(this.ra){case I:b?this.yf()?(this.n.pause(),this.Id=!0):this.Id=!1:this.Id&&this.n.play();break;case w:b?this.yf()?(this.buffer.ra===w?(this.Rc=this.ek(),this.Ed&&(this.Rc%=this.vf()),f(this.n)):this.n.pause(),this.Id=!0):this.Id=!1:this.Id&&(this.buffer.ra===w?(this.n=z.createBufferSource(),this.n.buffer=
this.buffer.Ca,this.n.connect(this.ab),this.n.loop=this.Ed,this.ab.gain.value=na*this.volume*this.Qg,this.startTime=E.oc.Oa-this.Rc,a(this.n,this.Rc,this.vf())):this.n.play());break;case Q:b?this.yf()?(this.n.pause(),this.Id=!0):this.Id=!1:this.Id&&this.n.play()}};D.Y=function(a){this.type=a;E=this.b=a.b;H=this;this.Cb=null;this.Kg=-600;!(this.b.sk||this.b.li&&(this.b.vg||this.b.ln))||this.b.nk||this.b.ub||(Ma=!0);z=null;"undefined"!==typeof AudioContext?(M=w,z=new AudioContext):"undefined"!==typeof webkitAudioContext&&
(M=w,z=new webkitAudioContext);(this.b.sk&&M===w||Ma)&&document.addEventListener("touchstart",function(){var a,c,d;!nc&&z&&(a=z.createBuffer(1,1,22050),c=z.createBufferSource(),c.buffer=a,c.connect(z.destination),b(c),nc=!0);if(Ma){if(!ma)for(a=0,c=Na.length;a<c;++a)d=Na[a],d.Dc||d.Cd||d.n.play();Na.length=0}},!0);M!==w&&(this.b.pn?M=Q:this.b.mn&&(M=K));M===Q&&(B=location.href,a=B.lastIndexOf("/"),-1<a&&(B=B.substr(0,a+1)),B=B.replace("file://",""));if(this.b.Nr&&this.b.Or&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),
this.b.Pd(this);else{if(this.b.Nb)$a=this.b.li;else try{$a=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){$a=!1}this.b.lh(this)}};var oa=D.Y.prototype;oa.O=function(){ab=this.A[0];this.Jd=this.A[1];rb=this.A[2];sb=this.A[3];this.Kg=-this.A[4];kc=this.A[5];lc=this.A[6];mc=this.A[7];this.Cb=new l;M===w&&(z.listener.speedOfSound=this.A[8],z.listener.dopplerFactor=this.A[9],z.listener.setPosition(this.b.V/2,this.b.U/2,this.Kg),z.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){xa&&xa.disconnect();pb=b.toLowerCase();xa=z.createMediaStreamSource(a);xa.connect(k(pb))});this.b.jm(function(a){H.$r(a)});var a=this;this.b.Bj(function(b){a.Qk(b)})};oa.Qk=function(a){var b,c,d;b=0;for(c=P.length;b<c;b++)d=P[b],d.Xa&&d.Xa.W===a&&(d.Xa.W=null,d.fd&&d.yf()&&d.Ed&&d.stop());this.Cb.W===a&&(this.Cb.W=null)};oa.gb=function(){var a={silent:ma,masterVolume:na,listenerZ:this.Kg,listenerUid:this.Cb.gi()?this.Cb.W.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,g,l;c=0;for(d=
P.length;c<d;c++)e=P[c],!e.yf()||3===this.Jd||e.Lc&&1===this.Jd||!e.Lc&&2===this.Jd||(f=e.ek(),e.Ed&&(f%=e.vf()),f={tag:e.qe,buffersrc:e.buffer.src,is_music:e.Lc,playbackTime:f,volume:e.volume,looping:e.Ed,muted:e.Bf,playbackRate:e.playbackRate,paused:e.Cd,resume_position:e.Rc},e.fd&&(f.pan={},l=f.pan,e.Xa&&e.Xa.gi()?l.objUid=e.Xa.W.uid:(l.x=e.fo,l.y=e.ho,l.a=e.ao),l.ia=e.bo,l.oa=e.co,l.og=e.eo),b.push(f));b=a.effects;for(g in R)if(R.hasOwnProperty(g)){e=[];c=0;for(d=R[g].length;c<d;c++)e.push({type:R[g][c].type,
params:R[g][c].Oc});b[g]=e}return a};var Oa=[];oa.wb=function(a){var b=a.silent;na=a.masterVolume;this.Kg=a.listenerZ;this.Cb.dh(null);var c=a.listenerUid;-1!==c&&(this.Cb.Di=c,Oa.push(this.Cb));var c=a.playing,d,f,h,k,y,C,J,D,w,x,E;if(3!==this.Jd)for(d=0,f=P.length;d<f;d++)w=P[d],w.Lc&&1===this.Jd||(w.Lc||2!==this.Jd)&&w.stop();for(y in R)if(R.hasOwnProperty(y))for(d=0,f=R[y].length;d<f;d++)R[y][d].remove();Ra(R);for(y in a.effects)if(a.effects.hasOwnProperty(y))for(C=a.effects[y],d=0,f=C.length;d<
f;d++)switch(h=C[d].type,x=C[d].params,h){case "filter":O(y,new e(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":O(y,new m(x[0],x[1],x[2]));break;case "convolve":h=x[2];w=this.$j(h,!1);w.Ca?h=new u(w.Ca,x[0],x[1],h):(h=new u(null,x[0],x[1],h),w.Qn=x[0],w.Kh=h);O(y,h);break;case "flanger":O(y,new q(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":O(y,new p(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":O(y,new t(x[0]));break;case "tremolo":O(y,new v(x[0],x[1]));break;case "ringmod":O(y,new g(x[0],
x[1]));break;case "distortion":O(y,new s(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":O(y,new r(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":O(y,new n(x[0],x[1]))}d=0;for(f=c.length;d<f;d++)3===this.Jd||(a=c[d],h=a.buffersrc,k=a.is_music,y=a.tag,C=a.playbackTime,J=a.looping,D=a.volume,E=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,k&&1===this.Jd)||!k&&2===this.Jd||((w=this.Om(h,y,k,J,D))?(w.Rc=a.resume_position,w.tl(!!x),w.play(J,D,C),w.Vo(),w.Ns(),w.Sh(w.Bf||w.zg),a.paused&&w.pause(),
a.muted&&w.Es(),w.Sh(w.Bf||w.zg),x&&(-1!==E?(w.Xa=w.Xa||new l,w.Xa.Di=E,Oa.push(w.Xa)):w.sl(x.x,x.y,x.a,x.ia,x.oa,x.og))):(w=this.$j(h,k),w.$i=C,w.Ki=a.paused,x&&(-1!==E?w.Of.push({Sn:E,ik:x.ia,Kk:x.oa,Mk:x.og,Ko:y}):w.Of.push({x:x.x,y:x.y,Kp:x.a,ik:x.ia,Kk:x.oa,Mk:x.og,Ko:y}))));if(b&&!ma){d=0;for(f=P.length;d<f;d++)P[d].wo(!0);ma=!0}else if(!b&&ma){d=0;for(f=P.length;d<f;d++)P[d].wo(!1);ma=!1}};oa.Uc=function(){var a,b,c,d;a=0;for(b=Oa.length;a<b;a++)c=Oa[a],d=this.b.mg(c.Di),c.dh(d),c.Di=-1,d&&
(Ea=d.x,Fa=d.y);Oa.length=0};oa.$r=function(a){var b,c;b=0;for(c=P.length;b<c;b++)P[b].Fs(a)};oa.Aa=function(){var a=this.b.Ee,b,c,d;b=0;for(c=P.length;b<c;b++)d=P[b],d.Aa(a),d.ra===I||d.ra===K||d.$d||d.Dc||!d.qg()||(d.Dc=!0,T=d.qe,E.trigger(cc.prototype.k.vj,H)),0!==ab&&d.Vo();var e,f;for(e in R)if(R.hasOwnProperty(e))for(d=R[e],b=0,c=d.length;b<c;b++)f=d[b],f.Aa&&f.Aa();M===w&&this.Cb.gi()&&(this.Cb.Aa(a),Ea=this.Cb.W.x,Fa=this.Cb.W.y,z.listener.setPosition(this.Cb.W.x,this.Cb.W.y,this.Kg),z.listener.setVelocity(this.Cb.Xm(),
this.Cb.Ym(),0))};oa.$j=function(a,b){var c,d,e,f=null;c=0;for(d=qb.length;c<d;c++)if(e=qb[c],e.src===a){f=e;break}f||(f=new y(a,b),qb.push(f));return f};oa.Om=function(a,b,c,d,e){var f,g,l;f=0;for(g=P.length;f<g;f++)if(l=P[f],l.src===a&&(l.Sp()||c))return l.qe=b,l;a=this.$j(a,c);if(!a.Ca)return"<preload>"!==b&&(a.Li=b,a.Gk=d,a.Rl=e),null;l=new C(a,b);P.push(l);return l};var Ca=[];J.prototype.vj=function(a){return bb(T,a)};D.k=new J;x.prototype.em=function(a,b,c,d,e){!ma&&(d=Math.pow(10,d/20),0>d&&
(d=0),1<d&&(d=1),Da=this.Om(this.b.Km+b.toLowerCase()+($a?".ogg":".m4a"),e,1===a,0!==c,d))&&(Da.tl(!1),Da.play(0!==c,d))};D.G=new x;D.Jb=new (A())})();function Y(d){this.b=d}
(function(){function d(){}function k(){}var c=Y.prototype;c.ka=function(c){this.Ia=c;this.b=c.b};c.ka.prototype.O=A();c.Y=function(c){this.type=c;this.b=c.b};c.Y.prototype.O=function(){var c=this;window.addEventListener("resize",function(){c.b.trigger(Y.prototype.k.Ap,c)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){c.b.trigger(Y.prototype.k.xp,c)}),window.addEventListener("offline",function(){c.b.trigger(Y.prototype.k.wp,c)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){c.b.Ef=1;c.b.trigger(Y.prototype.k.dm,c)}),window.applicationCache.addEventListener("progress",function(b){c.b.Ef=b.loaded/b.total}));this.b.Nb||(document.addEventListener("appMobi.device.update.available",function(){c.b.trigger(Y.prototype.k.dm,c)}),document.addEventListener("backbutton",function(){c.b.trigger(Y.prototype.k.Wl,c)}),document.addEventListener("menubutton",function(){c.b.trigger(Y.prototype.k.cm,c)}),document.addEventListener("searchbutton",
function(){c.b.trigger(Y.prototype.k.Bp,c)}),document.addEventListener("tizenhwkey",function(b){var a;switch(b.keyName){case "back":a=c.b.trigger(Y.prototype.k.Wl,c);!a&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(a=c.b.trigger(Y.prototype.k.cm,c))||b.preventDefault()}}));this.b.jm(function(b){b?c.b.trigger(Y.prototype.k.yp,c):c.b.trigger(Y.prototype.k.zp,c)});this.Pr="undefined"!==typeof window.is_scirra_arcade};d.prototype.xp=G(!0);d.prototype.wp=G(!0);
d.prototype.dm=G(!0);d.prototype.zp=G(!0);d.prototype.yp=G(!0);d.prototype.Ap=G(!0);d.prototype.Wl=G(!0);d.prototype.cm=G(!0);d.prototype.Bp=G(!0);c.k=new d;k.prototype.bp=function(c){this.b.Jc?CocoonJS.App.openURL(c):this.Pr||this.b.ub||(window.location=c)};c.G=new k;c.Jb=new (A())})();function dc(d){this.b=d}
(function(){function d(){}var k=dc.prototype;k.ka=function(b){this.Ia=b;this.b=b.b};k.ka.prototype.O=A();k.Y=function(b){this.type=b;this.b=b.b;this.uk=Array(256);this.mj=Array(256);this.ue=0};var c=k.Y.prototype;c.O=function(){var b=this;this.b.ub||(jQuery(document).keydown(function(a){b.Rk(a)}),jQuery(document).keyup(function(a){b.Sk(a)}))};var h=[32,33,34,35,36,37,38,39,40,44];c.Rk=function(b){var a=!1;window!=window.top&&-1<h.indexOf(b.which)&&(b.preventDefault(),a=!0,b.stopPropagation());if(this.uk[b.which])this.mj[b.which]&&
!a&&b.preventDefault();else{this.uk[b.which]=!0;this.ue=b.which;this.b.cd=!0;this.b.trigger(dc.prototype.k.gp,this);var c=this.b.trigger(dc.prototype.k.np,this),d=this.b.trigger(dc.prototype.k.op,this);this.b.cd=!1;if(c||d)this.mj[b.which]=!0,a||b.preventDefault()}};c.Sk=function(b){this.uk[b.which]=!1;this.ue=b.which;this.b.cd=!0;this.b.trigger(dc.prototype.k.hp,this);var a=this.b.trigger(dc.prototype.k.qp,this),c=this.b.trigger(dc.prototype.k.pp,this);this.b.cd=!1;if(a||c||this.mj[b.which])this.mj[b.which]=
!0,b.preventDefault()};c.gb=function(){return{triggerKey:this.ue}};c.wb=function(b){this.ue=b.triggerKey};d.prototype.np=function(b){return b===this.ue};d.prototype.gp=G(!0);d.prototype.hp=G(!0);d.prototype.qp=function(b){return b===this.ue};d.prototype.op=function(b){return b===this.ue};d.prototype.pp=function(b){return b===this.ue};k.k=new d;k.G=new (A());k.Jb=new (A())})();function Z(d){this.b=d}
(function(){function d(){if(0===this.Nj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Sf?b.drawImage(this.X,this.Lf,this.Mf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.X,0,0,this.width,this.height);this.Nj=a.toDataURL("image/png")}return this.Nj}function k(){}function c(a){a[0]=0;a[1]=0;a[2]=0;t.push(a)}function h(a,b){return a<b?""+a+","+b:""+b+","+a}function b(a,b,c,d){b=b.uid;c=c.uid;var e=h(b,c);if(a.hasOwnProperty(e))a[e][2]=
d;else{var f=t.length?t.pop():[0,0,0];f[0]=b;f[1]=c;f[2]=d;a[e]=f}}function a(a,b,d){b=h(b.uid,d.uid);a.hasOwnProperty(b)&&(c(a[b]),delete a[b])}function f(a,b,c){b=h(b.uid,c.uid);if(a.hasOwnProperty(b))return v=a[b][2],!0;v=-2;return!1}function e(){}var m=Z.prototype;m.ka=function(a){this.Ia=a;this.b=a.b};var u=m.ka.prototype;u.O=function(){if(!this.L){var a,b,c,e,f,g,h,k,m;this.Hc=[];this.hi=!1;a=0;for(b=this.Qb.length;a<b;a++){f=this.Qb[a];h={};h.name=f[0];h.speed=f[1];h.loop=f[2];h.jl=f[3];h.Wi=
f[4];h.ko=f[5];h.aa=f[6];h.frames=[];c=0;for(e=f[7].length;c<e;c++)g=f[7][c],k={},k.Fl=g[0],k.Gl=g[1],k.Lf=g[2],k.Mf=g[3],k.width=g[4],k.height=g[5],k.duration=g[6],k.Lb=g[7],k.Mb=g[8],k.kk=g[9],k.Mi=g[10],k.lo=g[11],k.Sf=0!==k.width,k.Nj="",k.du=d,m={left:0,top:0,right:1,bottom:1},k.yl=m,k.Ba=null,(m=this.b.Pq(g[0]))?k.X=m:(k.X=new Image,k.X.idtkLoadDisposed=!0,k.X.src=g[0],k.X.Wp=g[0],k.X.xm=g[1],k.X.Rp=null,this.b.Nd.push(k.X)),h.frames.push(k),this.Hc.push(k);this.Qb[a]=h}}};u.Ms=function(){var a,
b,c;a=0;for(b=this.e.length;a<b;a++)c=this.e[a],c.Nh=c.tc.Ba};u.Ii=function(){if(!this.L){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],c.X.Rp=null,c.Ba=null}};u.Uk=function(){if(!this.L&&this.e.length){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],c.Ba=this.b.D.Ci(c.X,!1,this.b.ja,c.lo);this.Ms()}};u.Ak=function(){if(!this.L&&!this.hi&&this.b.D){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],c.Ba=this.b.D.Ci(c.X,!1,this.b.ja,c.lo);this.hi=!0}};u.Nl=function(){if(!this.L&&
!this.e.length&&this.hi){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],this.b.D.deleteTexture(c.Ba);this.hi=!1}};var q=[];u.bl=function(a){var b,c,d;b=q.length=0;for(c=this.Hc.length;b<c;++b)d=this.Hc[b].X,-1===q.indexOf(d)&&(a.drawImage(d,0,0),q.push(d))};m.Y=function(a){this.type=a;this.b=a.b;a=this.type.Qb[0].frames[0].Mi;this.qc?this.la.fh(a):this.la=new Va(a)};var p=m.Y.prototype;p.O=function(){this.visible=0===this.A[0];this.ji=this.yg=!1;this.ud=0!==this.A[3];1===this.type.Qb.length&&
1===this.type.Qb[0].frames.length||0===this.type.Qb[0].speed||(this.b.lh(this),this.yg=!0);this.Ga=this.Nm(this.A[1])||this.type.Qb[0];this.H=this.A[2];0>this.H&&(this.H=0);this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1);var a=this.Ga.frames[this.H];this.la.fh(a.Mi);this.Lb=a.Lb;this.Mb=a.Mb;this.hg=this.Ga.speed;this.qc?this.Vc.reset():this.Vc=new Ta;this.yd=this.Vc.Oa;this.ye=!0;this.sd=0;this.xe=!0;this.Hh=this.lm="";this.vm=0;this.Gh=-1;this.type.Ak();var b,c,d,e,f,g,h,a=0;for(b=
this.type.Qb.length;a<b;a++)for(e=this.type.Qb[a],c=0,d=e.frames.length;c<d;c++)f=e.frames[c],0===f.width&&(f.width=f.X.width,f.height=f.X.height),f.Sf&&(h=f.X,g=f.yl,g.left=f.Lf/h.width,g.top=f.Mf/h.height,g.right=(f.Lf+f.width)/h.width,g.bottom=(f.Mf+f.height)/h.height,0===f.Lf&&0===f.Mf&&f.width===h.width&&f.height===h.height&&(f.Sf=!1));this.tc=this.Ga.frames[this.H];this.Nh=this.tc.Ba};p.gb=function(){var a={a:this.Ga.aa,f:this.H,cas:this.hg,fs:this.yd,ar:this.sd,at:this.Vc.Oa};this.ye||(a.ap=
this.ye);this.xe||(a.af=this.xe);return a};p.wb=function(a){var b=this.Tq(a.a);b&&(this.Ga=b);this.H=a.f;0>this.H&&(this.H=0);this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1);this.hg=a.cas;this.yd=a.fs;this.sd=a.ar;this.Vc.reset();this.Vc.Oa=a.at;this.ye=a.hasOwnProperty("ap")?a.ap:!0;this.xe=a.hasOwnProperty("af")?a.af:!0;this.tc=this.Ga.frames[this.H];this.Nh=this.tc.Ba;this.la.fh(this.tc.Mi);this.Lb=this.tc.Lb;this.Mb=this.tc.Mb};p.Dj=function(a){this.H=a?0:this.Ga.frames.length-
1;this.ye=!1;this.lm=this.Ga.name;this.ji=!0;this.b.trigger(Z.prototype.k.fp,this);this.b.trigger(Z.prototype.k.ep,this);this.ji=!1;this.sd=0};p.fu=function(){return this.Vc.Oa};p.Aa=function(){this.Vc.add(this.b.uf(this));this.Hh.length&&this.Cm();0<=this.Gh&&this.Dm();var a=this.Vc.Oa,b=this.Ga,c=b.frames[this.H],d=c.duration/this.hg;this.ye&&a>=this.yd+d&&(this.xe?this.H++:this.H--,this.yd+=d,this.H>=b.frames.length&&(b.ko?(this.xe=!1,this.H=b.frames.length-2):b.loop?this.H=b.Wi:(this.sd++,this.sd>=
b.jl?this.Dj(!1):this.H=b.Wi)),0>this.H&&(b.ko?(this.H=1,this.xe=!0,b.loop||(this.sd++,this.sd>=b.jl&&this.Dj(!0))):b.loop?this.H=b.Wi:(this.sd++,this.sd>=b.jl?this.Dj(!0):this.H=b.Wi)),0>this.H?this.H=0:this.H>=b.frames.length&&(this.H=b.frames.length-1),a>this.yd+b.frames[this.H].duration/this.hg&&(this.yd=a),a=b.frames[this.H],this.ag(c,a),this.b.ta=!0)};p.Nm=function(a){var b,c,d;b=0;for(c=this.type.Qb.length;b<c;b++)if(d=this.type.Qb[b],bb(d.name,a))return d;return null};p.Tq=function(a){var b,
c,d;b=0;for(c=this.type.Qb.length;b<c;b++)if(d=this.type.Qb[b],d.aa===a)return d;return null};p.Cm=function(){var a=this.Ga.frames[this.H],b=this.Nm(this.Hh);this.Hh="";!b||bb(b.name,this.Ga.name)&&this.ye||(this.Ga=b,this.hg=b.speed,0>this.H&&(this.H=0),this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1),1===this.vm&&(this.H=0),this.ye=!0,this.yd=this.Vc.Oa,this.xe=!0,this.ag(a,this.Ga.frames[this.H]),this.b.ta=!0)};p.Dm=function(){var a=this.Ga.frames[this.H],b=this.H;this.H=S(this.Gh);
0>this.H&&(this.H=0);this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1);b!==this.H&&(this.ag(a,this.Ga.frames[this.H]),this.yd=this.Vc.Oa,this.b.ta=!0);this.Gh=-1};p.ag=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.Lb=b.Lb;this.Mb=b.Mb;this.la.fh(b.Mi);this.C();this.tc=b;this.Nh=b.Ba;c=0;for(d=this.R.length;c<d;c++)e=this.R[c],e.Yn&&e.Yn(a,b);this.b.trigger(Z.prototype.k.ag,this)};p.Zc=function(a){a.globalAlpha=this.opacity;
var b=this.tc,c=b.Sf,d=b.X,e=this.x,f=this.y,g=this.width,h=this.height;if(0===this.m&&0<=g&&0<=h)e-=this.Lb*g,f-=this.Mb*h,this.b.gd&&(e=e+0.5|0,f=f+0.5|0),c?a.drawImage(d,b.Lf,b.Mf,b.width,b.height,e,f,g,h):a.drawImage(d,e,f,g,h);else{this.b.gd&&(e=e+0.5|0,f=f+0.5|0);a.save();var k=0<g?1:-1,m=0<h?1:-1;a.translate(e,f);1===k&&1===m||a.scale(k,m);a.rotate(this.m*k*m);e=0-this.Lb*ga(g);f=0-this.Mb*ga(h);c?a.drawImage(d,b.Lf,b.Mf,b.width,b.height,e,f,ga(g),ga(h)):a.drawImage(d,e,f,ga(g),ga(h));a.restore()}};
p.wc=function(a){a.ac(this.Nh);a.cf(this.opacity);var b=this.tc,c=this.Ab;if(this.b.gd){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.Sf?a.jd(c.Ja+d,c.Ka+e,c.yb+d,c.zb+e,c.rb+d,c.sb+e,c.pb+d,c.qb+e,b.yl):a.Ti(c.Ja+d,c.Ka+e,c.yb+d,c.zb+e,c.rb+d,c.sb+e,c.pb+d,c.qb+e)}else b.Sf?a.jd(c.Ja,c.Ka,c.yb,c.zb,c.rb,c.sb,c.pb,c.qb,b.yl):a.Ti(c.Ja,c.Ka,c.yb,c.zb,c.rb,c.sb,c.pb,c.qb)};p.Yq=function(a){var b=this.tc,c,d;c=0;for(d=b.kk.length;c<d;c++)if(bb(a,b.kk[c][0]))return c;return-1};p.lg=function(a,
b){var c=this.tc,d=c.kk,e;e=N(a)?this.Yq(a):a-1;e=S(e);if(0>e||e>=d.length)return b?this.x:this.y;var f=(d[e][1]-c.Lb)*this.width,d=d[e][2],d=(d-c.Mb)*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 t=[],v=-2,g=[];k.prototype.we=function(d){if(!d)return!1;var e=this.b,h=e.Qm(),k=h.type;h.Z.Jj||(h.Z.Jj={},e.Bj(function(a){return function(b){b=b.uid;var d,e;for(d in a)a.hasOwnProperty(d)&&(e=a[d],e[0]===b||e[1]===b)&&(c(a[d]),delete a[d])}}(h.Z.Jj)));
var h=h.Z.Jj,m=k.ma(),q=d.ma(),m=m.yc(),p,r,u,t,s,B,I,w=this.b.pd,Q=w-1,K=e.lb().Ib;for(r=0;r<m.length;r++){u=m[r];q.ua?(u.Fa(),this.b.Pm(u.j,d,u.La,g),p=g):p=q.yc();for(t=0;t<p.length;t++)s=p[t],e.Fc(u,s)||e.Vp(u,s)?(B=f(h,u,s),B=!B||v<Q,b(h,u,s,w),B&&(e.Ri(K.xa),B=k.ma(),I=d.ma(),B.ua=!1,I.ua=!1,k===d?(B.e.length=2,B.e[0]=u,B.e[1]=s,k.Wc()):(B.e.length=1,I.e.length=1,B.e[0]=u,I.e[0]=s,k.Wc(),d.Wc()),K.vs(),e.Ye(K.xa))):a(h,u,s);g.length=0}return!1};var s=new ba,r=!1;u.finish=function(a){if(r){if(a){var b=
this.b.lb().Ib.Nc;a=null.ma();var c=s.Md(),d,e;if(a.ua){a.ua=!1;a.e.length=c.length;d=0;for(e=c.length;d<e;d++)a.e[d]=c[d];if(b)for(d=a.na.length=0,e=null.e.length;d<e;d++)c=null.e[d],s.contains(c)||a.na.push(c)}else if(b)for(b=a.e.length,a.e.length=b+c.length,d=0,e=c.length;d<e;d++)a.e[b+d]=c[d],va(a.na,c[d]);else ta(a.e,c);null.Wc()}s.clear();r=!1}};k.prototype.ep=function(a){return bb(this.lm,a)};k.prototype.fp=G(!0);k.prototype.ag=G(!0);m.k=new k;e.prototype.Gp=function(a,b,c){if(a&&b&&(b=this.b.ym(a,
b,this.lg(c,!0),this.lg(c,!1)))){"undefined"!==typeof b.m&&(b.m=this.m,b.C());this.b.Kc++;var d,e,f;this.b.trigger(Object.getPrototypeOf(a.Ia).k.uj,b);if(b.nc)for(d=0,e=b.siblings.length;d<e;d++)f=b.siblings[d],this.b.trigger(Object.getPrototypeOf(f.type.Ia).k.uj,f);this.b.Kc--;d=this.b.Vq();c=!1;if(ca(d.Z.hm)||d.Z.hm<this.b.He)c=!0,d.Z.hm=this.b.He;if(a!=this.type&&(a=a.ma(),a.ua=!1,c?(a.e.length=1,a.e[0]=b):a.e.push(b),b.nc))for(d=0,e=b.siblings.length;d<e;d++)f=b.siblings[d],a=f.type.ma(),a.ua=
!1,c?(a.e.length=1,a.e[0]=f):a.e.push(f)}};e.prototype.rh=function(a,b){this.Hh=a;this.vm=b;this.yg||(this.b.lh(this),this.yg=!0);this.ji||this.Cm()};e.prototype.zj=function(a){this.Gh=a;this.yg||(this.b.lh(this),this.yg=!0);this.ji||this.Dm()};m.G=new e;m.Jb=new (A())})();function ec(d){this.b=d}
(function(){function d(){return f.length?f.pop():{}}function k(a){var b,c;b=0;for(c=a.length;b<c;b++)f.push(a[b]);a.length=0}function c(){}var h=ec.prototype;h.O=function(){h.G.Fp=function(a){this.width!==a&&(this.width=a,this.df=!0,this.C())}};h.ka=function(a){this.Ia=a;this.b=a.b};var b=h.ka.prototype;b.O=A();b.Ii=function(){if(!this.L){var a,b,c;a=0;for(b=this.e.length;a<b;a++)c=this.e[a],c.ed=null,c.We=null,c.Yb=null}};h.Y=function(a){this.type=a;this.b=a.b;this.qc?this.ge.length=0:this.ge=[];
this.df=!0};b=h.Y.prototype;b.O=function(){this.text=this.A[0];this.visible=0===this.A[1];this.font=this.A[2];this.color=this.A[3];this.fi=this.A[4];this.nj=this.A[5];this.Ul=0===this.A[7];this.wk=this.vi=this.width;this.ti=this.height;this.yk=this.A[8];this.ai=this.qf="";this.Io=this.Jo=this.Xg=0;this.ds();this.Yb=this.We=this.ed=null;this.On=!1;this.Jg=this.b.pd;this.qc?this.je.set(0,0,1,1):this.je=new pa(0,0,1,1);this.b.D&&this.b.lh(this)};b.ds=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.Xg=parseInt(a[b].substr(0,a[b].length-2));this.el=Math.ceil(96*(this.Xg/72))+4;0<b&&(this.ai=a[b-1]);this.qf=a[b+1];for(b+=2;b<a.length;b++)this.qf+=" "+a[b];break}};b.gb=function(){return{t:this.text,f:this.font,c:this.color,ha:this.fi,va:this.nj,wr:this.Ul,lho:this.yk,fn:this.qf,fs:this.ai,ps:this.Xg,pxh:this.el,tw:this.Jo,th:this.Io,lrt:this.Jg}};b.wb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.fi=a.ha;this.nj=a.va;this.Ul=
a.wr;this.yk=a.lho;this.qf=a.fn;this.ai=a.fs;this.Xg=a.ps;this.el=a.pxh;this.Jo=a.tw;this.Io=a.th;this.Jg=a.lrt;this.df=!0;this.wk=this.vi=this.width;this.ti=this.height};b.Aa=function(){if(this.b.D&&this.Yb&&300<=this.b.pd-this.Jg){var a=this.j;this.Fa();var b=this.La;if(b.right<a.fc||b.bottom<a.hc||b.left>a.gc||b.top>a.ec)this.b.D.deleteTexture(this.Yb),this.ed=this.We=this.Yb=null}};b.Nf=function(){this.ed=this.We=null;this.b.D&&this.Yb&&this.b.D.deleteTexture(this.Yb);this.Yb=null};b.pu=function(){this.font=
this.ai+" "+this.Xg.toString()+"pt "+this.qf;this.df=!0;this.b.ta=!0};b.Zc=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.j.Tb(),a.save(),a.scale(c,c));if(this.df||this.width!==this.wk)this.type.Ia.Ip(this.text,this.ge,a,this.width,this.Ul),this.df=!1,this.wk=this.width;this.Fa();var c=b?0:this.Ab.Ja,d=b?0:this.Ab.Ka;this.b.gd&&(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 f=
d+this.height,h=this.el,h=h+this.yk,k,g;1===this.nj?d+=Math.max(this.height/2-this.ge.length*h/2,0):2===this.nj&&(d+=Math.max(this.height-this.ge.length*h-2,0));for(g=0;g<this.ge.length&&!(k=c,1===this.fi?k=c+(this.width-this.ge[g].width)/2:2===this.fi&&(k=c+(this.width-this.ge[g].width)),a.fillText(this.ge[g].text,k,d),d+=h,d>=f-h);g++);(0!==this.m||b)&&a.restore();this.Jg=this.b.pd};b.wc=function(a){if(!(1>this.width||1>this.height)){var b=this.df||this.On;this.On=!1;var c=this.j.Tb(),d=this.j.Bb(),
f=this.je,h=c*this.width,k=c*this.height,g=Math.ceil(h),s=Math.ceil(k),r=this.b.V/2,n=this.b.U/2;this.We||(this.ed=document.createElement("canvas"),this.ed.width=g,this.ed.height=s,this.vi=g,this.ti=s,b=!0,this.We=this.ed.getContext("2d"));if(g!==this.vi||s!==this.ti)this.ed.width=g,this.ed.height=s,this.Yb&&(a.deleteTexture(this.Yb),this.Yb=null),b=!0;b&&(this.We.clearRect(0,0,g,s),this.Zc(this.We,!0),this.Yb||(this.Yb=a.vd(g,s,this.b.ja,this.b.be)),a.Ss(this.ed,this.Yb,this.b.be));this.vi=g;this.ti=
s;a.ac(this.Yb);a.cf(this.opacity);a.kd();a.translate(-r,-n);a.qd();var l=this.Ab,y=this.b.devicePixelRatio;this.b.devicePixelRatio=1;var b=this.j.Ea(l.Ja,l.Ka,!0,!0),r=this.j.Ea(l.Ja,l.Ka,!1,!0),n=this.j.Ea(l.yb,l.zb,!0,!0),C=this.j.Ea(l.yb,l.zb,!1,!0),O=this.j.Ea(l.rb,l.sb,!0,!0),J=this.j.Ea(l.rb,l.sb,!1,!0),x=this.j.Ea(l.pb,l.qb,!0,!0),l=this.j.Ea(l.pb,l.qb,!1,!0);this.b.devicePixelRatio=y;if(this.b.gd||0===this.m&&0===d)var y=(b+0.5|0)-b,D=(r+0.5|0)-r,b=b+y,r=r+D,n=n+y,C=C+D,O=O+y,J=J+D,x=x+y,
l=l+D;0===this.m&&0===d?(n=b+g,C=r,O=n,J=r+s,x=b,l=J,f.right=1,f.bottom=1):(f.right=h/g,f.bottom=k/s);a.jd(b,r,n,C,O,J,x,l,f);a.kd();a.scale(c,c);a.ll(-this.j.Bb());a.translate((this.j.fc+this.j.gc)/-2,(this.j.hc+this.j.ec)/-2);a.qd();this.Jg=this.b.pd}};var a=[];h.Hp=function(b){a.length=0;for(var c="",d,f=0;f<b.length;)if(d=b.charAt(f),"\n"===d)c.length&&(a.push(c),c=""),a.push("\n"),++f;else if(" "===d||"\t"===d||"-"===d){do c+=b.charAt(f),f++;while(f<b.length&&(" "===b.charAt(f)||"\t"===b.charAt(f)));
a.push(c);c=""}else f<b.length&&(c+=d,f++);c.length&&a.push(c)};var f=[];h.Ip=function(a,b,c,f,h){if(a&&a.length)if(2>=f)k(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var t=c.measureText(a).width;if(t<=f){k(b);b.push(d());b[0].text=a;b[0].width=t;return}}this.Jp(a,b,c,f,h)}else k(b)};h.Jp=function(b,c,h,k,p){p&&(this.Hp(b),b=a);var t="",v,g,s,r=0;for(s=0;s<b.length;s++)"\n"===b[s]?(r>=c.length&&c.push(d()),g=c[r],g.text=t,g.width=h.measureText(t).width,r++,t=""):(v=t,t+=b[s],g=h.measureText(t).width,
g>=k&&(r>=c.length&&c.push(d()),g=c[r],g.text=v,g.width=h.measureText(v).width,r++,t=b[s],p||" "!==t||(t="")));t.length&&(r>=c.length&&c.push(d()),g=c[r],g.text=t,g.width=h.measureText(t).width,r++);for(s=r;s<c.length;s++)f.push(c[s]);c.length=r};h.k=new (A());c.prototype.gm=function(a){da(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.df=!0,this.b.ta=!0)};h.G=new c;h.Jb=new (A())})();function fc(d){this.b=d}
(function(){var d=fc.prototype;d.ka=function(c){this.Ia=c;this.b=c.b};var k=d.ka.prototype;k.O=function(){this.L||(this.X=new Image,this.X.idtkLoadDisposed=!0,this.X.src=this.Fl,this.X.xm=this.Gl,this.b.Nd.push(this.X),this.Ba=this.pattern=null)};k.Ii=function(){this.L||(this.Ba=null)};k.Uk=function(){if(!this.L&&this.e.length){this.Ba||(this.Ba=this.b.D.Ci(this.X,!0,this.b.ja,this.Hl));var c,d;c=0;for(d=this.e.length;c<d;c++)this.e[c].Ba=this.Ba}};k.Ak=function(){this.L||this.Ba||!this.b.D||(this.Ba=
this.b.D.Ci(this.X,!0,this.b.ja,this.Hl))};k.Nl=function(){this.L||this.e.length||!this.Ba||(this.b.D.deleteTexture(this.Ba),this.Ba=null)};k.bl=function(c){c.drawImage(this.X,0,0)};d.Y=function(c){this.type=c;this.b=c.b};k=d.Y.prototype;k.O=function(){this.visible=0===this.A[0];this.je=new pa(0,0,0,0);this.bn=!1;this.X=this.type.X;this.b.D?(this.type.Ak(),this.Ba=this.type.Ba):(this.type.pattern||(this.type.pattern=this.b.pa.createPattern(this.type.X,"repeat")),this.pattern=this.type.pattern)};k.Uc=
function(){this.bn=!1;this.X=this.type.X};k.Nf=function(){this.b.D&&this.bn&&this.Ba&&(this.b.D.deleteTexture(this.Ba),this.Ba=null)};k.Zc=function(c){c.globalAlpha=this.opacity;c.save();c.fillStyle=this.pattern;var d=this.x,b=this.y;this.b.gd&&(d=d+0.5|0,b=b+0.5|0);var a=-(this.Lb*this.width),f=-(this.Mb*this.height),e=a%this.X.width,k=f%this.X.height;0>e&&(e+=this.X.width);0>k&&(k+=this.X.height);c.translate(d,b);c.rotate(this.m);c.translate(e,k);c.fillRect(a-e,f-k,this.width,this.height);c.restore()};
k.wc=function(c){c.ac(this.Ba);c.cf(this.opacity);var d=this.je;d.right=this.width/this.X.width;d.bottom=this.height/this.X.height;var b=this.Ab;if(this.b.gd){var a=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;c.jd(b.Ja+a,b.Ka+f,b.yb+a,b.zb+f,b.rb+a,b.sb+f,b.pb+a,b.qb+f,d)}else c.jd(b.Ja,b.Ka,b.yb,b.zb,b.rb,b.sb,b.pb,b.qb,d)};d.k=new (A());d.G=new (A());d.Jb=new (A())})();
function gc(d){this.b=d;var k=this;this.b.ub||(jQuery(document).mousemove(function(c){k.Xr(c)}),jQuery(document).mousedown(function(c){k.Wr(c)}),jQuery(document).mouseup(function(c){k.Yr(c)}));d=0<this.b.Sb?document:this.b.canvas;this.b.Nb?d=window.Canvas:this.b.Jc&&(d=window);window.navigator.pointerEnabled?(d.addEventListener("pointerdown",function(c){k.Xn(c)},!1),d.addEventListener("pointermove",function(c){k.Wn(c)},!1),d.addEventListener("pointerup",function(c){k.Ji(c)},!1),d.addEventListener("pointercancel",
function(c){k.Ji(c)},!1)):window.navigator.msPointerEnabled?(d.addEventListener("MSPointerDown",function(c){k.Xn(c)},!1),d.addEventListener("MSPointerMove",function(c){k.Wn(c)},!1),d.addEventListener("MSPointerUp",function(c){k.Ji(c)},!1),d.addEventListener("MSPointerCancel",function(c){k.Ji(c)},!1)):(d.addEventListener("touchstart",function(c){k.bs(c)},!1),d.addEventListener("touchmove",function(c){k.as(c)},!1),d.addEventListener("touchend",function(c){k.Zn(c)},!1),d.addEventListener("touchcancel",
function(c){k.Zn(c)},!1))}
(function(){function d(a){var b,c;b=0;for(c=a.R.length;b<c;b++)if(a.R[b]instanceof h.Y)return a.R[b];return null}function k(){}function c(){}var h=gc.prototype,b={left:0,top:0};h.Wr=function(a){1===a.which&&this.Nk("leftmouse",a.pageX,a.pageY)};h.Xr=function(a){1===a.which&&this.Ok("leftmouse",a.pageX,a.pageY)};h.Yr=function(a){1===a.which&&this.Pk("leftmouse")};h.bs=function(a){a.preventDefault&&a.preventDefault();var b,c,d,h;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],h=d.identifier,
this.Nk(h?h.toString():"<none>",d.pageX,d.pageY)};h.as=function(a){a.preventDefault&&a.preventDefault();var b,c,d,h;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],h=d.identifier,this.Ok(h?h.toString():"<none>",d.pageX,d.pageY)};h.Zn=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=d.identifier,this.Pk(d?d.toString():"<none>")};h.Xn=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&
(a.preventDefault&&a.preventDefault(),this.Nk(a.pointerId.toString(),a.pageX,a.pageY))};h.Wn=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),this.Ok(a.pointerId.toString(),a.pageX,a.pageY))};h.Ji=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),this.Pk(a.pointerId.toString()))};h.Nk=function(a,c,h){var k=this.b.ub?b:jQuery(this.b.canvas).offset();c-=k.left;h-=k.top;
var q,p,t,v,k=this.Ve.Md(),g,s,r,n=null;g=0;for(s=k.length;g<s;g++)if(r=k[g],q=d(r),q.enabled&&!q.Wd&&(q=r.j.Xc(c,h,!0),p=r.j.Xc(c,h,!1),r.Fa(),r.lc(q,p)))n?r.j.index>n.j.index?(n=r,t=q,v=p):r.j.index===n.j.index&&r.Kb()>n.Kb()&&(n=r,t=q,v=p):(n=r,t=q,v=p);n&&d(n).Vr(a,t,v)};h.Ok=function(a,c,h){var k=this.b.ub?b:jQuery(this.b.canvas).offset();c-=k.left;h-=k.top;var q,p=this.Ve.Md(),t,v,g;t=0;for(v=p.length;t<v;t++)q=p[t],g=d(q),!g.enabled||!g.Wd||g.Wd&&g.Pj!==a||(k=q.j.Xc(c,h,!0),q=q.j.Xc(c,h,!1),
g.Zr(k,q))};h.Pk=function(a){var b=this.Ve.Md(),c,h,k;c=0;for(h=b.length;c<h;c++)k=b[c],k=d(k),k.Wd&&k.Pj===a&&k.cs()};h.ka=function(a){this.F=a;this.b=a.b};h.ka.prototype.O=A();h.Y=function(a,b){this.type=a;this.F=a.F;this.d=b;this.b=a.b};var a=h.Y.prototype;a.O=function(){this.Wd=!1;this.J=this.B=0;this.Pj="<none>";this.Ej=this.A[0];this.enabled=0!==this.A[1]};a.gb=function(){return{enabled:this.enabled}};a.wb=function(a){this.enabled=a.enabled;this.Wd=!1};a.Vr=function(a,b,c){this.B=b-this.d.x;
this.J=c-this.d.y;this.Wd=!0;this.Pj=a;this.b.cd=!0;this.b.trigger(gc.prototype.k.kp,this.d);this.b.cd=!1};a.Zr=function(a,b){var c=a-this.B,d=b-this.J;if(0===this.Ej){if(this.d.x!==c||this.d.y!==d)this.d.x=c,this.d.y=d,this.d.C()}else 1===this.Ej?this.d.x!==c&&(this.d.x=c,this.d.C()):2===this.Ej&&this.d.y!==d&&(this.d.y=d,this.d.C())};a.cs=function(){this.Wd=!1;this.b.cd=!0;this.b.trigger(gc.prototype.k.lp,this.d);this.b.cd=!1};a.Aa=A();k.prototype.kp=G(!0);k.prototype.lp=G(!0);h.k=new k;c.prototype.hf=
function(a){this.enabled=0!==a;this.enabled||(this.Wd=!1)};h.G=new c;h.Jb=new (A())})();function hc(d){this.b=d}
(function(){function d(){}function k(){}var c=hc.prototype;c.ka=function(b){this.F=b;this.b=b.b};c.ka.prototype.O=A();c.Y=function(b,a){this.type=b;this.F=b.F;this.d=a;this.b=b.b;this.cj=this.Al=this.zl=this.jk=this.Cf=this.Dg=this.Xi=this.yi=!1;this.Vb=null;this.zk=-1;this.Pe=this.Oe=0;this.$h=!1;this.rf=this.Ic=0;this.Zh=!0;this.J=this.B=0};var h=c.Y.prototype;h.Uo=function(){this.jb=Math.cos(this.tf);this.kb=Math.sin(this.tf);this.$e=Math.cos(this.tf-Math.PI/2);this.bf=Math.sin(this.tf-Math.PI/
2);this.jb=Za(this.jb);this.kb=Za(this.kb);this.$e=Za(this.$e);this.bf=Za(this.bf);this.Zj=this.zd;0>this.zd&&(this.jb*=-1,this.kb*=-1,this.zd=Math.abs(this.zd))};h.O=function(){this.If=this.A[0];this.Gc=this.A[1];this.of=this.A[2];this.tk=this.A[3];this.Zj=this.zd=this.A[4];this.Fi=this.A[5];this.$p=1===this.A[6];this.enabled=0!==this.A[7];this.Yf=!1;this.pj=this.b.re(this.d);this.tf=U(90);this.Uo();var b=this;this.$p&&!this.b.ub&&(jQuery(document).keydown(function(a){b.Rk(a)}),jQuery(document).keyup(function(a){b.Sk(a)}));
this.qc||(this.Nn=function(a){b.Qk(a)});this.b.Bj(this.Nn)};h.gb=function(){return{ii:this.jk,lfx:this.Oe,lfy:this.Pe,lfo:this.Vb?this.Vb.uid:-1,am:this.Ic,en:this.enabled,fall:this.rf,ft:this.Zh,dx:this.B,dy:this.J,ms:this.If,acc:this.Gc,dec:this.of,js:this.tk,g:this.zd,g1:this.Zj,mf:this.Fi,wof:this.Yf,woj:this.pj,ga:this.tf}};h.wb=function(b){this.jk=b.ii;this.Oe=b.lfx;this.Pe=b.lfy;this.zk=b.lfo;this.Ic=b.am;this.enabled=b.en;this.rf=b.fall;this.Zh=b.ft;this.B=b.dx;this.J=b.dy;this.If=b.ms;this.Gc=
b.acc;this.of=b.dec;this.tk=b.js;this.zd=b.g;this.Zj=b.g1;this.Fi=b.mf;this.Yf=b.wof;this.pj=b.woj;this.tf=b.ga;this.cj=this.Al=this.zl=this.Cf=this.Dg=this.Xi=this.yi=!1;this.Uo()};h.Uc=function(){this.Vb=-1===this.zk?null:this.b.mg(this.zk)};h.Qk=function(b){this.Vb==b&&(this.Vb=null)};h.Nf=function(){this.Vb=null;this.b.ts(this.Nn)};h.Rk=function(b){switch(b.which){case 38:b.preventDefault();this.Dg=!0;break;case 37:b.preventDefault();this.yi=!0;break;case 39:b.preventDefault(),this.Xi=!0}};h.Sk=
function(b){switch(b.which){case 38:b.preventDefault();this.Cf=this.Dg=!1;break;case 37:b.preventDefault();this.yi=!1;break;case 39:b.preventDefault(),this.Xi=!1}};h.eu=function(){return 0>this.zd?-1:1};h.on=function(){var b=null,a=null,c,d;c=this.d.x;d=this.d.y;this.d.x+=this.jb;this.d.y+=this.kb;this.d.C();if(this.Vb&&this.b.Fc(this.d,this.Vb))return this.d.x=c,this.d.y=d,this.d.C(),this.Vb;(b=this.b.cc(this.d))||0!==this.rf||(a=this.b.re(this.d,!0));this.d.x=c;this.d.y=d;this.d.C();if(b){if(this.b.Fc(this.d,
b))return null;this.$h=!1;return b}if(a&&a.length){d=b=0;for(c=a.length;b<c;b++)a[d]=a[b],this.b.Fc(this.d,a[b])||d++;if(1<=d)return this.$h=!0,a[0]}return null};h.Aa=A();h.no=function(){var b=this.b.uf(this.d),a,c,d,h,k,q,p,t,v;this.Dg||this.cj||(this.Cf=!1);var g=this.yi||this.zl;d=this.Xi||this.Al;var s=(this.Dg||this.cj)&&!this.Cf;this.cj=this.Al=this.zl=!1;if(this.enabled){this.jk&&(s=d=g=!1);t=this.Vb;v=!1;this.Zh&&((this.b.cc(this.d)||this.b.re(this.d))&&this.b.hd(this.d,-this.jb,-this.kb,
4,!0),this.Zh=!1);!t||0!==this.J||t.y===this.Pe&&t.x===this.Oe||(a=t.x-this.Oe,c=t.y-this.Pe,this.d.x+=a,this.d.y+=c,this.d.C(),this.Oe=t.x,this.Pe=t.y,v=!0,this.b.cc(this.d)&&this.b.hd(this.d,-a,-c,2.5*Math.sqrt(a*a+c*c)));var r=this.on();if(c=this.b.cc(this.d))if(this.b.qs(this.d,Math.max(this.d.width,this.d.height)/2))this.b.$g(this.d,c);else return;r?(0<this.J&&(this.Yf||(this.b.dl(this.d,-this.jb,-this.kb,r),this.Yf=!0),this.J=0),t!=r?(this.Vb=r,this.Oe=r.x,this.Pe=r.y,this.b.$g(this.d,r)):v&&
(c=this.b.cc(this.d))&&(this.b.$g(this.d,c),0!==a&&(0<a?this.b.hd(this.d,-this.$e,-this.bf):this.b.hd(this.d,this.$e,this.bf)),this.b.hd(this.d,-this.jb,-this.kb)),s&&(t=this.d.x,v=this.d.y,this.d.x-=this.jb,this.d.y-=this.kb,this.d.C(),this.b.cc(this.d)?s=!1:(this.b.trigger(hc.prototype.k.$l,this.d),this.Ic=2,this.J=-this.tk,this.Cf=!0),this.d.x=t,this.d.y=v,this.d.C())):(this.Vb=null,this.J+=this.zd*b,this.J>this.Fi&&(this.J=this.Fi),s&&(this.Cf=!0));this.Yf=!!r;g==d&&(0>this.B?(this.B+=this.of*
b,0<this.B&&(this.B=0)):0<this.B&&(this.B-=this.of*b,0>this.B&&(this.B=0)));g&&!d&&(this.B=0<this.B?this.B-(this.Gc+this.of)*b:this.B-this.Gc*b);d&&!g&&(this.B=0>this.B?this.B+(this.Gc+this.of)*b:this.B+this.Gc*b);this.B>this.If?this.B=this.If:this.B<-this.If&&(this.B=-this.If);g=!1;0!==this.B&&(t=this.d.x,v=this.d.y,a=this.B*b*this.$e,c=this.B*b*this.bf,this.d.x+=this.$e*(1<this.B?1:-1)-this.jb,this.d.y+=this.bf*(1<this.B?1:-1)-this.kb,this.d.C(),h=!1,k=this.b.cc(this.d),this.d.x=t+a,this.d.y=v+
c,this.d.C(),d=this.b.cc(this.d),!d&&r&&(d=this.b.re(this.d))&&(this.d.x=t,this.d.y=v,this.d.C(),this.b.Fc(this.d,d)?(d=null,h=!1):h=!0,this.d.x=t+a,this.d.y=v+c,this.d.C()),d?(a=Math.abs(this.B*b)+2,k||!this.b.hd(this.d,-this.jb,-this.kb,a,h,d))?(this.b.$g(this.d,d),a=Math.max(Math.abs(2.5*this.B*b),30),this.b.hd(this.d,this.$e*(0>this.B?1:-1),this.bf*(0>this.B?1:-1),a,!1)?!r||h||this.$h||(t=this.d.x,v=this.d.y,this.d.x+=this.jb,this.d.y+=this.kb,this.b.cc(this.d)?this.b.hd(this.d,-this.jb,-this.kb,
3,!1)||(this.d.x=t,this.d.y=v,this.d.C()):(this.d.x=t,this.d.y=v,this.d.C())):(this.d.x=t,this.d.y=v,this.d.C()),h||(this.B=0)):!k&&15>Math.abs(this.J)&&(this.J=0,r||(g=!0)):(t=this.on(),r&&!t?(c=Math.ceil(Math.abs(this.B*b))+2,t=this.d.x,v=this.d.y,this.d.x+=this.jb*c,this.d.y+=this.kb*c,this.d.C(),this.b.cc(this.d)||this.b.re(this.d)?this.b.hd(this.d,-this.jb,-this.kb,c+2,!0):(this.d.x=t,this.d.y=v,this.d.C())):t&&0===this.J&&this.b.dl(this.d,-this.jb,-this.kb,t)));if(0!==this.J){t=this.d.x;v=this.d.y;
this.d.x+=this.J*b*this.jb;this.d.y+=this.J*b*this.kb;a=this.d.x;d=this.d.y;this.d.C();c=this.b.cc(this.d);h=!1;if(!c&&0<this.J&&!r){if((h=0<this.rf?null:this.b.re(this.d,!0))&&h.length){if(this.pj){this.d.x=t;this.d.y=v;this.d.C();p=k=0;for(q=h.length;k<q;k++)h[p]=h[k],this.b.Fc(this.d,h[k])||p++;h.length=p;this.d.x=a;this.d.y=d;this.d.C()}1<=h.length&&(c=h[0])}h=!!c}c&&(this.b.$g(this.d,c),a=h?Math.abs(2.5*this.J*b+10):Math.max(Math.abs(2.5*this.J*b+10),30),this.b.hd(this.d,this.jb*(0>this.J?1:
-1),this.kb*(0>this.J?1:-1),a,h,c)?(this.Vb=c,this.Oe=c.x,this.Pe=c.y,(this.$h=h)&&(g=!0),this.J=0):(this.d.x=t,this.d.y=v,this.d.C(),this.Yf=!0,h||(this.J=0)))}3!==this.Ic&&0<this.J&&!r&&(this.b.trigger(hc.prototype.k.mp,this.d),this.Ic=3);if(r||g)3===this.Ic||g||s&&0===this.J?(this.b.trigger(hc.prototype.k.rp,this.d),this.Ic=0===this.B&&0===this.J?0:1):(0!==this.Ic&&0===this.B&&0===this.J&&(this.b.trigger(hc.prototype.k.Cp,this.d),this.Ic=0),1===this.Ic||0===this.B&&0===this.J||s||(this.b.trigger(hc.prototype.k.vp,
this.d),this.Ic=1));0<this.rf&&this.rf--;this.pj=this.b.re(this.d)}};d.prototype.tj=function(){return 0!==this.B||0!==this.J};d.prototype.$l=G(!0);d.prototype.mp=G(!0);d.prototype.Cp=G(!0);d.prototype.vp=G(!0);d.prototype.rp=G(!0);c.k=new d;k.prototype.hf=function(b){this.enabled!==(1===b)&&(this.enabled=1===b,this.enabled||(this.Vb=null))};c.G=new k;c.Jb=new (A())})();function ic(d){this.b=d}
(function(){var d=ic.prototype;d.ka=function(c){this.F=c;this.b=c.b};d.ka.prototype.O=A();d.Y=function(c,d){this.type=c;this.F=c.F;this.d=d;this.b=c.b};var k=d.Y.prototype;k.O=function(){this.speed=U(this.A[0]);this.Gc=U(this.A[1])};k.gb=function(){return{speed:this.speed,acc:this.Gc}};k.wb=function(c){this.speed=c.speed;this.Gc=c.acc};k.Aa=function(){var c=this.b.uf(this.d);0!==c&&(0!==this.Gc&&(this.speed+=this.Gc*c),0!==this.speed&&(this.d.m=za(this.d.m+this.speed*c),this.d.C()))};d.k=new (A());
d.G=new (A());d.Jb=new (A())})();function jc(d){this.b=d}
(function(){var d=jc.prototype;d.ka=function(a){this.F=a;this.b=a.b};d.ka.prototype.O=A();d.Y=function(a,b){this.type=a;this.F=a.F;this.d=b;this.b=a.b;this.Va=0};var k=d.Y.prototype,c=2*Math.PI,h=Math.PI/2,b=3*Math.PI/2;k.O=function(){this.jc=1===this.A[0];this.Pg=this.A[1];this.Sl=this.A[2];this.Hd=this.A[3];this.Hd+=Math.random()*this.A[4];0===this.Hd?this.Va=0:(this.Va=this.A[5]/this.Hd*c,this.Va+=Math.random()*this.A[6]/this.Hd*c);this.Ob=this.A[7];this.Ob+=Math.random()*this.A[8];this.Zg=this.Le=
this.ba=0;this.init()};k.gb=function(){return{i:this.Va,a:this.jc,mv:this.Pg,w:this.Sl,p:this.Hd,mag:this.Ob,iv:this.ba,iv2:this.Le,r:this.Zg,lkv:this.Wb,lkv2:this.Eg}};k.wb=function(a){this.Va=a.i;this.jc=a.a;this.Pg=a.mv;this.Sl=a.w;this.Hd=a.p;this.Ob=a.mag;this.ba=a.iv;this.Le=a.iv2||0;this.Zg=a.r;this.Wb=a.lkv;this.Eg=a.lkv2||0};k.init=function(){switch(this.Pg){case 0:this.ba=this.d.x;break;case 1:this.ba=this.d.y;break;case 2:this.ba=this.d.width;this.Zg=this.d.height/this.d.width;break;case 3:this.ba=
this.d.width;break;case 4:this.ba=this.d.height;break;case 5:this.ba=this.d.m;this.Ob=U(this.Ob);break;case 6:this.ba=this.d.opacity;break;case 7:this.ba=0;break;case 8:this.ba=this.d.x,this.Le=this.d.y}this.Wb=this.ba;this.Eg=this.Le};k.Od=function(a){a%=c;switch(this.Sl){case 0:return Math.sin(a);case 1:return a<=h?a/h:a<=b?1-2*(a-h)/Math.PI:(a-b)/h-1;case 2:return 2*a/c-1;case 3:return-2*a/c+1;case 4:return a<Math.PI?-1:1}return 0};k.Aa=function(){var a=this.b.uf(this.d);if(this.jc&&0!==a){0===
this.Hd?this.Va=0:(this.Va+=a/this.Hd*c,this.Va%=c);switch(this.Pg){case 0:this.d.x!==this.Wb&&(this.ba+=this.d.x-this.Wb);this.d.x=this.ba+this.Od(this.Va)*this.Ob;this.Wb=this.d.x;break;case 1:this.d.y!==this.Wb&&(this.ba+=this.d.y-this.Wb);this.d.y=this.ba+this.Od(this.Va)*this.Ob;this.Wb=this.d.y;break;case 2:this.d.width=this.ba+this.Od(this.Va)*this.Ob;this.d.height=this.d.width*this.Zg;break;case 3:this.d.width=this.ba+this.Od(this.Va)*this.Ob;break;case 4:this.d.height=this.ba+this.Od(this.Va)*
this.Ob;break;case 5:this.d.m!==this.Wb&&(this.ba=za(this.ba+(this.d.m-this.Wb)));this.d.m=za(this.ba+this.Od(this.Va)*this.Ob);this.Wb=this.d.m;break;case 6:this.d.opacity=this.ba+this.Od(this.Va)*this.Ob/100;0>this.d.opacity?this.d.opacity=0:1<this.d.opacity&&(this.d.opacity=1);break;case 8:this.d.x!==this.Wb&&(this.ba+=this.d.x-this.Wb),this.d.y!==this.Eg&&(this.Le+=this.d.y-this.Eg),this.d.x=this.ba+Math.cos(this.d.m)*this.Od(this.Va)*this.Ob,this.d.y=this.Le+Math.sin(this.d.m)*this.Od(this.Va)*
this.Ob,this.Wb=this.d.x,this.Eg=this.d.y}this.d.C()}};k.Yn=function(a,b){switch(this.Pg){case 2:this.ba*=b.width/a.width;this.Zg=b.height/b.width;break;case 3:this.ba*=b.width/a.width;break;case 4:this.ba*=b.height/a.height}};d.k=new (A());d.G=new (A());d.Jb=new (A())})();function oc(d){this.b=d}
(function(){function d(){}function k(){}function c(){}var h=oc.prototype;h.ka=function(a){this.F=a;this.b=a.b};h.ka.prototype.O=A();h.Y=function(a,b){this.type=a;this.F=a.F;this.d=b;this.b=a.b;this.Be=this.J=this.B=0};var b=h.Y.prototype;b.O=function(){this.Uf=this.A[0];this.fl=this.A[1];this.enabled=0!==this.A[2]};b.gb=function(){return{dx:this.B,dy:this.J,cancelStep:this.Be,enabled:this.enabled,stepMode:this.Uf,pxPerStep:this.fl}};b.wb=function(a){this.B=a.dx;this.J=a.dy;this.Be=a.cancelStep;this.enabled=
a.enabled;this.Uf=a.stepMode;this.fl=a.pxPerStep};b.gk=function(){return Math.sqrt(this.B*this.B+this.J*this.J)};b.Bb=function(){return Math.atan2(this.J,this.B)};b.step=function(a,b,c){if(0!==a||0!==b){var d=this.d.x,h=this.d.y,k,p=Math.round(Math.sqrt(a*a+b*b)/this.fl);0===p&&(p=1);var t;for(t=1;t<=p;t++)if(k=t/p,this.d.x=d+a*k,this.d.y=h+b*k,this.d.C(),this.b.trigger(c,this.d),1===this.Be){t--;k=t/p;this.d.x=d+a*k;this.d.y=h+b*k;this.d.C();break}else if(2===this.Be)break}};b.Aa=function(){var a=
this.b.uf(this.d),b=this.B*a,a=this.J*a;0===this.B&&0===this.J||!this.enabled||(this.Be=0,0===this.Uf?(this.d.x+=b,this.d.y+=a):1===this.Uf?this.step(b,a,oc.prototype.k.ip):2===this.Uf?(this.step(b,0,oc.prototype.k.Xl),this.Be=0,this.step(0,a,oc.prototype.k.Yl)):3===this.Uf&&(this.step(0,a,oc.prototype.k.Yl),this.Be=0,this.step(b,0,oc.prototype.k.Xl)),this.d.C())};d.prototype.tj=function(){return 0!=this.B||0!=this.J};d.prototype.ip=G(!0);d.prototype.Xl=G(!0);d.prototype.Yl=G(!0);h.k=new d;k.prototype.hf=
function(a){this.enabled=1===a};h.G=new k;c.prototype.B=function(a){a.$(this.B)};c.prototype.J=function(a){a.$(this.J)};h.Jb=new c})();function pc(d){this.b=d}(function(){var d=pc.prototype;d.ka=function(d){this.F=d;this.b=d.b};d.ka.prototype.O=A();d.Y=function(d,c){this.type=d;this.F=d.F;this.d=c;this.b=d.b};d=d.Y.prototype;d.O=A();d.Aa=function(){this.d.Fa();var d=this.d.La,c=this.d.j.qa;(0>d.right||0>d.bottom||d.left>c.width||d.top>c.height)&&this.b.Pd(this.d)}})();function bc(d){this.b=d}
(function(){function d(){}var k=bc.prototype;k.ka=function(c){this.F=c;this.b=c.b};k.ka.prototype.O=A();k.Y=function(c,b){this.type=c;this.F=c.F;this.d=b;this.b=c.b};var c=k.Y.prototype;c.O=function(){this.d.Z.xn=0!==this.A[0]};c.Aa=A();k.k=new (A());d.prototype.hf=function(c){this.d.Z.xn=!!c};k.G=new d})();function qc(d){this.b=d;this.xl=this.bj=this.hh=this.wl=0}
(function(){function d(){}var k=qc.prototype;k.ka=function(c){this.F=c;this.b=c.b};k.ka.prototype.O=A();k.Y=function(c,b){this.type=c;this.F=c.F;this.d=b;this.b=c.b};var c=k.Y.prototype;c.O=function(){this.enabled=0!==this.A[0]};c.gb=function(){return{smg:this.F.wl,ss:this.F.hh,se:this.F.bj,smd:this.F.xl}};c.wb=function(c){this.F.wl=c.smg;this.F.hh=c.ss;this.F.bj=c.se;this.F.xl=c.smd};c.Aa=A();c.Il=function(){if(this.enabled){var c=this.F.Ve.Qs(),b=0,a=0,d,e;d=0;for(e=c.length;d<e;d++)b+=c[d].x,a+=
c[d].y;d=this.d.j.qa;var k=this.b.oc.Oa,u=e=0;k>=this.F.hh&&k<this.F.bj&&(e=this.F.wl*Math.min(this.b.ef,1),0===this.F.xl&&(e*=1-(k-this.F.hh)/(this.F.bj-this.F.hh)),k=2*Math.random()*Math.PI,u=Math.random()*e,e=Math.cos(k)*u,u*=Math.sin(k));d.ql(b/c.length+e);d.rl(a/c.length+u)}};d.prototype.hf=function(c){this.enabled=0!==c};k.G=new d})();function ac(d){this.b=d}
(function(){function d(){}var k=ac.prototype;k.ka=function(c){this.F=c;this.b=c.b};k.ka.prototype.O=A();k.Y=function(c,b){this.type=c;this.F=c.F;this.d=b;this.b=c.b};var c=k.Y.prototype;c.O=function(){this.d.Z.Eo=0!==this.A[0]};c.Aa=A();k.k=new (A());d.prototype.hf=function(c){this.d.Z.Eo=!!c};k.G=new d})();
function $b(){return[null,null,[[cc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Y,!0,!1,!1,!1,!1,!1,!1,!1,!1],[dc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Z,!1,!0,!0,!0,!0,!0,!0,!0,!1],[ec,!1,!0,!0,!0,!0,!0,!0,!0,!1],[fc,!1,!0,!0,!0,!0,!0,!0,!0,!0]],[["t0",Z,!1,[5235682437080726],3,0,null,[["idle2piece",5,!1,1,0,!1,0x8d8461229e534,[["images/player-sheet1.png",201035,502,1,500,491,1,0.5,0.5010183453559875,[],[],0]]],["idle3piece",5,!1,1,0,!1,0xccb3807fd6f3f,[["images/player-sheet0.png",442367,1,497,500,492,1,0.5,0.5,[],[],0]]],
["moving2piece",5,!1,1,0,!1,7440677336381588,[["images/player-sheet0.png",442367,502,497,500,492,1,0.5,0.5,[],[-0.4959999918937683,-0.4959349632263184,0.4959999918937683,-0.4959349632263184,0.5,0.5,-0.4979999959468842,0.4979674816131592],0],["images/player-sheet1.png",201035,1,1,500,492,1,0.5,0.5,[],[-0.4959999918937683,-0.4959349632263184,0.4959999918937683,-0.4959349632263184,0.5,0.5,-0.4979999959468842,0.4979674816131592],0]]],["moving3piece",5,!1,1,0,!1,0xd46cbf8652047,[["images/player-sheet0.png",
442367,1,1,500,495,1,0.5,0.5010101199150085,[],[-0.5,-0.5010101199150085,0.5,-0.5010101199150085,0.4919999837875366,0.4909090995788574,-0.492000013589859,0.4909090995788574],0],["images/player-sheet0.png",442367,502,1,500,495,1,0.5,0.5010101199150085,[],[-0.5,-0.5010101199150085,0.5,-0.5010101199150085,0.4919999837875366,0.4909090995788574,-0.492000013589859,0.4909090995788574],0]]]],[["Platform",hc,8152704145732261],["ScrollTo",qc,7095455592649088],["DestroyOutsideLayout",pc,5282974045253237]],!1,
!1,5384851864677185,[],null],["t1",fc,!1,[],1,0,["images/solidtile.png",603,0],null,[["Solid",ac,0xe19bc4fae40b4]],!1,!1,7680292120821644,[],null],["t2",fc,!1,[],2,0,["images/movingblocks2.png",100,1],null,[["Solid",ac,5164853164186946],["Sine",jc,5543728631337878]],!1,!1,5694709682877464,[],null],["t3",fc,!1,[],1,0,["images/jumpthrutile.png",100,1],null,[["Jumpthru",bc,0xfcb43dea31512]],!1,!1,0x6910dd61dabe1,[],null],["t4",dc,!1,[],0,0,null,null,[],!1,!1,7808547326199526,[],null,[]],["t5",ec,!1,
[],0,0,null,null,[],!1,!1,7253498303689796,[],null],["t6",Z,!1,[],3,0,null,[["Default",5,!1,1,0,!1,6205048382729654,[["images/spinningbeam-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[["Rotate",ic,7337242148003873],["CustomMovement",oc,5342635530046222],["DragDrop",gc,0x4ac5a66b3a592]],!1,!1,5790199387862829,[],null],["t7",fc,!1,[],1,0,["images/breakingplatform.png",156,1],null,[["Solid",ac,7578072106865511]],!1,!1,9336380094744108,[],null],["t8",Z,!1,[],2,0,null,[["Default",5,!1,1,0,!1,0xb0e961a46fd1c,
[["images/movingblocks1-sheet0.png",12526,0,0,400,237,1,0.5,0.502109706401825,[],[-0.5,-0.502109706401825,0.5,-0.502109706401825,0.4975000023841858,0.4936708807945252,-0.002499997615814209,0.4978902935981751,-0.4975000023841858,0.4936708807945252],0]]]],[["Solid",ac,0x4356a3bbbec51],["Sine",jc,516787830011903]],!1,!1,0xa3cbc0c9d674,[],null],["t9",Z,!1,[],2,0,null,[["Default",5,!1,1,0,!1,8241265023539637,[["images/verticalbeam-sheet0.png",70732,0,0,183,800,1,0.5027322173118591,0.5,[],[-0.5027322173118591,
-0.5,0.4972677826881409,-0.5,0.4972677826881409,0.4950000047683716,-0.5027322173118591,0.5],0]]]],[["Solid",ac,6290145883677386],["Sine",jc,5203448494111635]],!1,!1,6955201566815553,[],null],["t10",Z,!1,[],0,0,null,[["Default",5,!0,1,0,!1,0xe5834eabc6765,[["images/goal-sheet0.png",332821,1,1,200,200,1,0.5,0.5,[],[],0],["images/goal-sheet0.png",332821,202,1,200,200,1,0.5,0.5,[],[],0],["images/goal-sheet0.png",332821,1,202,200,200,1,0.5,0.5,[],[],0],["images/goal-sheet0.png",332821,202,202,200,200,
1,0.5,0.5,[],[],0]]]],[],!1,!1,0x9a89bd4009fd6,[],null],["t11",Y,!1,[],0,0,null,null,[],!1,!1,9125924453095052,[],null,[]],["t12",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8827017826016592,[["images/triggertext-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,9850760035948212,[],null],["t13",ec,!1,[],0,0,null,null,[],!1,!1,283718156636937,[],null],["t14",Z,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0x81a5d9d4b6cd4,[["images/destructiblewall-sheet0.png",545,0,0,40,40,1,0.5,0.5,[],[],0]]]],[["Solid",
ac,5745582568192514]],!1,!1,5398241894084941,[],null],["t15",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5487991046705789,[["images/bosspiece-sheet0.png",37195,0,0,500,277,1,0.5,0.5018050670623779,[],[-0.449999988079071,-0.411552369594574,0.449999988079071,-0.411552369594574,0.2319999933242798,-0.003610134124755859,0.2260000109672546,0.003610074520111084,0,0.3501805067062378,-0.2380000054836273,0.02527076005935669,-0.2559999823570252,-0.003610134124755859],0]]]],[],!1,!1,5518942701718161,[],null],["t16",
Z,!1,[0xd1b645ea47807],0,0,null,[["Default",5,!1,1,0,!1,0x91538cf2ee4d7,[["images/triggertext-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0x6ec5105c5df83,[],null],["t17",Z,!1,[0x80128b85a2164],0,0,null,[["Default",5,!1,1,0,!1,0xb35740d0ad213,[["images/triggertext-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,4675283892117456,[],null],["t18",Z,!1,[],0,0,null,[["Default",0,!1,1,0,!1,0xa8a226b780deb,[["images/background-sheet0.png",3370617,1,1,1278,792,1,0.5,0.5,[],[],0],
["images/background-sheet0.png",3370617,1,794,1278,792,1,0.5,0.5,[],[],0]]]],[],!1,!1,9780659387052480,[],null],["t19",cc,!1,[],0,0,null,null,[],!1,!1,9920594861614940,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]]],[],[["Level2",8E4,1024,!1,"EventsLevel2",8200309602037103,[["Background",0,0x41587d32660db,!0,[255,255,255],!1,0.5,0.5,1,!1,1,0,0,[[[320,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,75,[],[],[0,"Default",0,1]],[[1520,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,0,[],[],[0,"Default",0,1]],[[320,1040,0,1200,
800,0,0,1,0.5,0.5,0,0,[]],18,76,[],[],[0,"Default",0,1]],[[1520,1040,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,77,[],[],[0,"Default",0,1]],[[2720,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,78,[],[],[0,"Default",0,1]],[[2720,1040,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,79,[],[],[0,"Default",0,1]],[[3920,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,80,[],[],[0,"Default",0,1]],[[3920,1040,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,81,[],[],[0,"Default",0,1]],[[5120,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,82,[],[],[0,"Default",
0,1]],[[5120,1040,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,83,[],[],[0,"Default",0,1]],[[6320,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,84,[],[],[0,"Default",0,1]],[[6320,1040,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,85,[],[],[0,"Default",0,1]],[[7520,240,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,86,[],[],[0,"Default",0,1]],[[7520,1040,0,1200,800,0,0,1,0.5,0.5,0,0,[]],18,87,[],[],[0,"Default",0,1]]],[]],["Game",1,9753090409472216,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[88,224,0,96,192,0,0,1,0.5,0.5,0,0,[]],17,74,[[1]],
[],[0,"Default",0,1]],[[7088,480,0,48,256,0,0,1,0.5,0.5,0,0,[]],14,71,[],[[1]],[0,"Default",0,1]],[[32,288,0,240,192,0,0,1,0,0,0,0,[]],1,2,[],[[1]],[0,0]],[[2704,192,0,96,32,0,0,1,0,0,0,0,[]],1,3,[],[[1]],[0,0]],[[2768,224,0,96,32,0,0,1,0,0,0,0,[]],1,4,[],[[1]],[0,0]],[[2528,272,0,128,32,0,0,1,0,0,0,0,[]],1,5,[],[[1]],[0,0]],[[4096,112,0,320,128,0,0,1,0,0,0,0,[]],2,6,[],[[1],[1,0,0,4,0,0,0,50,0]],[0,0]],[[4064,320,0,160,16,0,0,0.800000011920929,0,0,0,0,[]],3,7,[],[[1]],[0,0]],[[4752,896,0,160,16,
0,0,0.800000011920929,0,0,0,0,[]],3,8,[],[[1]],[0,0]],[[4592,336,0,372.0345458984375,32,0,0.1745329201221466,1,0,0,0,0,[]],1,9,[],[[1]],[0,0]],[[4560,880,0,96,32,0,0,1,0,0,0,0,[]],1,10,[],[[1]],[0,0]],[[4368,784,0,219,32,0,0.4535962343215942,1,0,0,0,0,[]],1,11,[],[[1]],[0,0]],[[4080,784,0,96,16,0,0,0.800000011920929,0,0,0,0,[]],3,12,[],[[1]],[0,0]],[[4080,896,0,96,32,0,0,1,0,0,0,0,[]],1,13,[],[[1]],[0,0]],[[4240,720,0,96,16,0,0,0.800000011920929,0,0,0,0,[]],3,14,[],[[1]],[0,0]],[[4704,960,0,96,16,
0,0,0.800000011920929,0,0,0,0,[]],3,15,[],[[1]],[0,0]],[[4992,672,0,1008,32,0,0,1,0,0,0,0,[]],2,16,[],[[1],[1,0,0,4,0,0,0,50,0]],[0,0]],[[4304,576,0,96,16,0,0,0.800000011920929,0,0,0,0,[]],3,17,[],[[1]],[0,0]],[[2896,336,0,96,16,0,0,1,0,0,0,0,[]],2,18,[],[[1],[1,0,0,4,0,0,0,50,0]],[0,0]],[[368,288,0,192,192,0,0,1,0,0,0,0,[]],1,23,[],[[1]],[0,0]],[[144,256,0,32,32,0,0,1,0,0,0,0,[]],1,24,[],[[1]],[0,0]],[[3072,336,0,192,192,0,0,1,0,0,0,0,[]],1,26,[],[[1]],[0,0]],[[3072,64,0,32,208,0,0,1,0,0,0,0,[]],
1,27,[],[[1]],[0,0]],[[3312,704,0,880,16,0,0,1,0,0,0,0,[]],1,28,[],[[1]],[0,0]],[[3552,624,0,640,16,0,0,1,0,0,0,0,[]],1,29,[],[[1]],[0,0]],[[3648,544,0,544,16,0,0,1,0,0,0,0,[]],1,30,[],[[1]],[0,0]],[[3792,464,0,400,16,0,0,1,0,0,0,0,[]],1,31,[],[[1]],[0,0]],[[3392,640,0,704,64,0,0,1,0,0,0,0,[]],2,32,[],[[1],[1,0,0,4,0,0,0,100,0]],[0,0]],[[3568,560,0,704,64,0,0,1,0,0,0,0,[]],2,33,[],[[1],[1,0,0,4,0,0,0,100,0]],[0,0]],[[3648,480,0,704,64,0,0,1,0,0,0,0,[]],2,34,[],[[1],[1,0,0,4,0,0,0,100,0]],[0,0]],[[3904,
432,0,39.19183731079102,39.19183731079102,0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,35,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[3328,608,0,48,48,0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,36,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[3408,512,0,48,48,0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,37,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[3472,416,0,48,48,0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,38,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[3904,384,0,39.19183731079102,39.19183731079102,
0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,39,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[3904,256,0,39.19183731079102,39.19183731079102,0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,40,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[3904,208,0,39.19183731079102,39.19183731079102,0,-0.771260678768158,1,0.5,0.5,0,0,[]],6,41,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[4384,704,0,80,16,0,0,1,0,0,0,0,[]],2,42,[],[[1],[1,0,0,4,0,0,0,100,0]],[0,0]],[[4528,704,0,80,16,0,0,1,0,0,0,0,[]],2,43,[],[[1],[1,
0,0,4,0,0,0,100,0]],[0,0]],[[4672,704,0,80,16,0,0,1,0,0,0,0,[]],2,44,[],[[1],[1,0,0,4,0,0,0,100,0]],[0,0]],[[4800,704,0,80,16,0,0,1,0,0,0,0,[]],2,45,[],[[1],[1,0,0,4,0,0,0,100,0]],[0,0]],[[656,384,0,192,192,0,0,1,0,0,0,0,[]],1,50,[],[[1]],[0,0]],[[752,288,0,192,192,0,0,1,0,0,0,0,[]],1,51,[],[[1]],[0,0]],[[848,352,0,160,272,0,0,1,0,0,0,0,[]],1,52,[],[[1]],[0,0]],[[1072,405,0,144,192,0,0,1,0,0,0,0,[]],1,53,[],[[1]],[0,0]],[[1264,256,0,192,192,0,0,1,0,0,0,0,[]],1,54,[],[[1]],[0,0]],[[1504,416,0,80,48,
0,0,1,0,0,0,0,[]],7,57,[],[[1]],[0,0]],[[1616,352,0,96,48,0,0,1,0,0,0,0,[]],7,25,[],[[1]],[0,0]],[[1680,560,0,112,48,0,0,1,0,0,0,0,[]],7,55,[],[[1]],[0,0]],[[1824,464,0,96,48,0,0,1,0,0,0,0,[]],7,56,[],[[1]],[0,0]],[[1936,384,0,80,48,0,0,1,0,0,0,0,[]],7,58,[],[[1]],[0,0]],[[2032,304,0,80,48,0,0,1,0,0,0,0,[]],7,59,[],[[1]],[0,0]],[[2240,352,0,96,48,0,0,1,0,0,0,0,[]],7,60,[],[[1]],[0,0]],[[160,124,0,256,144,0,0,1,0.5,0.502109706401825,0,0,[]],8,47,[],[[1],[1,1,0,4,0,0,0,50,0]],[0,"Default",0,1]],[[464,
115,0,256,144,0,0,1,0.5,0.502109706401825,0,0,[]],8,48,[],[[1],[1,0,0,4,0,0,0,50,0]],[0,"Default",0,1]],[[80,272,0,29.85074424743652,29.81403923034668,0,0,1,0.5,0.5010183453559875,0,0,[]],0,49,[[2]],[[330,1500,1500,650,1500,1E3,1,1],[1],[]],[0,"Default",0,1]],[[5296,320,0,100,500,0,0,1,0.5027322173118591,0.5,0,0,[]],9,1,[],[[1],[1,1,0,1,0,0,0,150,0]],[0,"Default",0,1]],[[5584,320,0,100,500,0,0,1,0.5027322173118591,0.5,0,0,[]],9,61,[],[[1],[1,1,0,1,0,0,0,150,0]],[0,"Default",0,1]],[[5872,320,0,100,
500,0,0,1,0.5027322173118591,0.5,0,0,[]],9,62,[],[[1],[1,1,0,1,0,0,0,150,0]],[0,"Default",0,1]],[[6688,576,0,592,32,0,0,1,0,0,0,0,[]],1,63,[],[[1]],[0,0]],[[7184,544,0,64,64,0,0,1,0.5,0.5,0,0,[]],10,64,[],[],[0,"Default",0,1]],[[6064,592,0,128,80,0,0,1,0,0,0,0,[]],1,67,[],[[1]],[0,0]],[[6224,528,0,128,80,0,0,1,0,0,0,0,[]],1,68,[],[[1]],[0,0]],[[6512,496,0,128,80,0,0,1,0,0,0,0,[]],1,69,[],[[1]],[0,0]],[[6432,520,0,112,880,0,0,1,0.5,0.5,0,0,[]],12,22,[],[],[0,"Default",0,1]],[[6944,512,0,48,32,0,0,
1,0.5,0.5018050670623779,0,0,[]],15,72,[],[],[0,"Default",0,1]],[[3168,224,0,80,304,0,0,1,0.5,0.5,0,0,[]],16,73,[[0]],[],[0,"Default",0,1]],[[4480,432,0,80,80,0,0.8280125856399536,1,0.5,0.5,0,0,[]],6,46,[],[[180,0],[0,5,1],[0,1]],[0,"Default",0,1]],[[6704,480,0,96,96,0,0,1,0,0,0,0,[]],1,89,[],[[1]],[0,0]]],[]],["UI",2,8907482208020588,!0,[255,255,255],!0,0,0,1,!1,1,0,0,[[[0,0,0,352,32,0,0,1,0,0,0,0,[]],5,19,[],[],["Usa las flechas para moverte",0,"bold 16pt Consolas","rgb(255,255,255)",0,0,0,0,0]],
[[208,80,0,208,80,0,0,1,0,0,0,0,[]],13,70,[],[],["",0,"bold 16pt Consolas","rgb(255,255,255)",1,1,0,0,0]]],[]]],[],[]]],[["EventsLevel2",[[0,[!0,"PlayerBehaviour"],!1,null,0xaa456061aab12,[[-1,X.prototype.k.sj,null,0,!1,!1,!1,0xaa456061aab12,!1,[[1,[2,"PlayerBehaviour"]]]]],[],[[0,null,!0,null,7556554822578419,[[0,Z.prototype.k.we,null,0,!1,!1,!0,8198257814640424,!1,[[4,6]]],[0,Z.prototype.k.we,null,0,!1,!1,!0,9479226513641504,!1,[[4,9]]]],[[0,Z.prototype.G.rj,null,5034506852697475,!1]]],[0,null,
!1,null,4967657995977905,[[0,Z.prototype.k.Zl,null,1,!1,!1,!1,9639044467563472,!1]],[],[[0,null,!1,null,6361101886000135,[[17,Z.prototype.k.Vl,null,0,!1,!1,!1,0xe0e8759e9a13,!1,[[10,0]]]],[[-1,X.prototype.G.Dp,null,0xbe3f8c9a9b63a,!1]]],[0,null,!1,null,0x72fe37d49e400,[[16,Z.prototype.k.Vl,null,0,!1,!1,!1,0xae14464040a28,!1,[[10,0]]]],[[16,Z.prototype.G.Gp,null,4733700905319677,!1,[[4,0],[5,[20,0,Z.prototype.Jb.cp,!1,null]],[7,[0,0]]]]]]]],[0,null,!1,null,8473713574663287,[[0,hc.prototype.k.$l,"Platform",
1,!1,!1,!1,7341550637194972,!1]],[[19,cc.prototype.G.em,null,0x47e4a8e0589e6,!1,[[3,0],[1,[2,"salto"]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]],[0,[!0,"StageElements"],!1,null,6454133988734784,[[-1,X.prototype.k.sj,null,0,!1,!1,!1,6454133988734784,!1,[[1,[2,"StageElements"]]]]],[],[[0,null,!1,null,606508136561119,[[16,Z.prototype.k.we,null,0,!1,!1,!0,6924196200349677,!1,[[4,0]]]],[[16,Z.prototype.G.fm,null,0xb4891e1aa123a,!1,[[10,0],[3,1]]],[17,Z.prototype.G.fm,null,8706147822099302,!1,[[10,0],[3,0]]]]],
[0,null,!1,null,0x65873e473ccdd,[[10,Z.prototype.k.we,null,0,!1,!1,!0,7203713647651435,!1,[[4,0]]]],[[11,Y.prototype.G.bp,null,0x940dcec394e8c,!1,[[1,[2,"../Level3/index.html"]]]]]],[0,null,!1,null,7242247748919832,[[15,Z.prototype.k.we,null,0,!1,!1,!0,8775031706252251,!1,[[4,0]]]],[[15,Z.prototype.G.rj,null,0xf94927caa6ebd,!1],[0,Z.prototype.G.zj,null,6998937443176704,!1,[[0,[0,1]]]],[13,ec.prototype.G.bg,null,0x5d60ede60ec88,!1,[[3,1]]],[13,ec.prototype.G.gm,null,0x822075447f3a,!1,[[7,[2,"You got: A piece of yourself"]]]],
[0,Z.prototype.G.Ep,null,9625950231141264,!1,[[10,0],[7,[0,3]]]],[-1,X.prototype.G.sh,null,6521154638704927,!1,[[0,[0,2]]]],[18,Z.prototype.G.zj,null,0x6e4e51a6871b4,!1,[[0,[0,1]]]],[14,Z.prototype.G.rj,null,0x851a5f50a881a,!1],[13,ec.prototype.G.bg,null,8081438391876111,!1,[[3,0]]],[-1,X.prototype.G.sh,null,0x8d9cc261a90ef,!1,[[0,[0,3]]]],[18,Z.prototype.G.zj,null,9509972067699166,!1,[[0,[0,0]]]]]],[0,null,!1,null,7696884792926722,[[12,Z.prototype.k.we,null,0,!1,!1,!0,6210489272366137,!1,[[4,0]]]],
[[13,ec.prototype.G.bg,null,0x5c71bebcb7a84,!1,[[3,1]]],[13,ec.prototype.G.gm,null,9333885654076724,!1,[[7,[2,"You can't deny your nature."]]]],[-1,X.prototype.G.sh,null,0xccb88cebc1531,!1,[[0,[0,3]]]],[13,ec.prototype.G.bg,null,0x8d98aa051405f,!1,[[3,0]]]]],[0,null,!1,null,9043596418879924,[[0,Z.prototype.k.we,null,0,!1,!1,!0,8710608775093137,!1,[[4,7]]]],[[-1,X.prototype.G.sh,null,9231022951536194,!1,[[0,[0,1]]]],[7,ac.prototype.G.hf,"Solid",6467404631506019,!1,[[3,0]]],[7,fc.prototype.G.bg,null,
4941327137407103,!1,[[3,0]]]]],[0,null,!1,null,0xfea284c2897f7,[[-1,X.prototype.k.xj,null,1,!1,!1,!1,5150882012697719,!1]],[[19,cc.prototype.G.em,null,8011538189902377,!1,[[3,1],[1,[2,"level2"]],[3,1],[0,[0,0]],[1,[2,""]]]]]]]],[0,[!0,"PlayerAnimation"],!1,null,5528145457336761,[[-1,X.prototype.k.sj,null,0,!1,!1,!1,5528145457336761,!1,[[1,[2,"PlayerAnimation"]]]]],[],[[0,null,!1,null,6238282613518988,[[0,hc.prototype.k.tj,"Platform",0,!1,!1,!1,6193689534650576,!1]],[],[[0,null,!1,null,6633137149215518,
[[0,Z.prototype.k.qh,null,0,!1,!1,!1,6299512336584382,!1,[[10,0],[8,0],[7,[0,2]]]]],[[0,Z.prototype.G.rh,null,0x6b5e4b4ce38d1,!1,[[1,[2,"moving2piece"]],[3,1]]]]],[0,null,!1,null,8587004414580678,[[0,Z.prototype.k.qh,null,0,!1,!1,!1,550533183242887,!1,[[10,0],[8,0],[7,[0,3]]]]],[[0,Z.prototype.G.rh,null,0x5b9fa7d16f636,!1,[[1,[2,"moving3piece"]],[3,1]]]]]]]]],[0,null,!1,null,8109978713220475,[[0,hc.prototype.k.tj,"Platform",0,!1,!0,!1,7718292037436023,!1]],[],[[0,null,!1,null,5217914284401943,[[0,
Z.prototype.k.qh,null,0,!1,!1,!1,0xd809018893168,!1,[[10,0],[8,0],[7,[0,2]]]]],[[0,Z.prototype.G.rh,null,7828315376384419,!1,[[1,[2,"idle2piece"]],[3,1]]]]],[0,null,!1,null,8935125343264141,[[0,Z.prototype.k.qh,null,0,!1,!1,!1,6253277120791995,!1,[[10,0],[8,0],[7,[0,3]]]]],[[0,Z.prototype.G.rh,null,8434105733430885,!1,[[1,[2,"idle3piece"]],[3,1]]]]]]]]]],"media/",!1,640,480,4,!0,!0,!0,"1.0",!0,!1,0,0,90,!1,!0,[]]};
