// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function y(){return function(){}}function A(h){return function(){return this[h]}}function H(h){return function(){return h}}var aa,da,N,ea,fa,Q,ga,ha,ia,ja,ka,la,R,ma,na,oa,sa,ta,ua,va,wa,xa,U,ya,za,Aa,Ca,Da,Ea,Ia,Ja,Ka,La,Ma,Na,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,V,Pb,Qb,Rb,Sb,Tb,Ub={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(h){return h.__proto__}:function(h){return h.constructor.prototype});
(function(){function h(d,n,a,r){this.set(d,n,a,r)}function q(){this.nb=this.mb=this.pb=this.ob=this.tb=this.sb=this.Ea=this.Da=0}function c(d,n,a,r){d<n?a<r?(p=d<a?d:a,k=n>r?n:r):(p=d<r?d:r,k=n>a?n:a):a<r?(p=n<a?n:a,k=d>r?d:r):(p=n<r?n:r,k=d>a?d:a)}function m(){this.Zc=this.fd=null;this.zg=0;s?this.fd=new Set:this.Zc={};this.We=[];this.te=!0}function b(d){v[n++]=d}function a(){this.Ka=this.Pi=this.y=this.tj=0}function e(d){this.Sa=[];this.rh=this.uh=this.vh=this.sh=0;this.dh(d)}function f(d,n){this.Mp=
d;this.Lp=n;this.cells={}}function l(n,a,r){var e;return d.length?(e=d.pop(),e.pr=n,e.x=a,e.y=r,e):new aa(n,a,r)}function g(d,n,a){this.pr=d;this.x=n;this.y=a;this.Sg=new da}N=function(d){window.console&&window.console.log&&window.console.log(d)};ea=function(d){return"undefined"===typeof d};fa=function(d){return"number"===typeof d};Q=function(d){return"string"===typeof d};ga=function(d){return 0<d&&0===(d-1&d)};ha=function(d){--d;for(var n=1;32>n;n<<=1)d|=d>>n;return d+1};ia=function(d){return 0>
d?-d:d};ja=function(d,n){return d<n?d:n};ka=Math.PI;la=function(d){return d+0.5|0};R=function(d){return 0<=d?d|0:(d|0)-1};ma=function(d){var n=d|0;return n===d?n:n+1};na=function(d,n,a,r,e,b,f,l){var k,c,g,p;d<a?(c=d,k=a):(c=a,k=d);e<f?(p=e,g=f):(p=f,g=e);if(k<p||c>g)return!1;n<r?(c=n,k=r):(c=r,k=n);b<l?(p=b,g=l):(p=l,g=b);if(k<p||c>g)return!1;k=e-d+f-a;c=b-n+l-r;d=a-d;n=r-n;e=f-e;b=l-b;l=ia(n*e-b*d);return ia(e*c-b*k)>l?!1:ia(d*c-n*k)<=l};h.prototype.set=function(d,n,a,r){this.left=d;this.top=n;
this.right=a;this.bottom=r};h.prototype.copy=function(d){this.left=d.left;this.top=d.top;this.right=d.right;this.bottom=d.bottom};h.prototype.width=function(){return this.right-this.left};h.prototype.height=function(){return this.bottom-this.top};h.prototype.offset=function(d,n){this.left+=d;this.top+=n;this.right+=d;this.bottom+=n;return this};h.prototype.normalize=function(){var d=0;this.left>this.right&&(d=this.left,this.left=this.right,this.right=d);this.top>this.bottom&&(d=this.top,this.top=
this.bottom,this.bottom=d)};h.prototype.yr=function(d){return!(d.right<this.left||d.bottom<this.top||d.left>this.right||d.top>this.bottom)};h.prototype.Ar=function(d,n,a){return!(d.right+n<this.left||d.bottom+a<this.top||d.left+n>this.right||d.top+a>this.bottom)};h.prototype.Lb=function(d,n){return d>=this.left&&d<=this.right&&n>=this.top&&n<=this.bottom};h.prototype.lq=function(d){return this.left===d.left&&this.top===d.top&&this.right===d.right&&this.bottom===d.bottom};oa=h;q.prototype.bh=function(d){this.Da=
d.left;this.Ea=d.top;this.sb=d.right;this.tb=d.top;this.ob=d.right;this.pb=d.bottom;this.mb=d.left;this.nb=d.bottom};q.prototype.jo=function(d,n){if(0===n)this.bh(d);else{var a=Math.sin(n),r=Math.cos(n),e=d.left*a,b=d.top*a,f=d.right*a,a=d.bottom*a,l=d.left*r,k=d.top*r,c=d.right*r,r=d.bottom*r;this.Da=l-b;this.Ea=k+e;this.sb=c-b;this.tb=k+f;this.ob=c-a;this.pb=r+f;this.mb=l-a;this.nb=r+e}};q.prototype.offset=function(d,n){this.Da+=d;this.Ea+=n;this.sb+=d;this.tb+=n;this.ob+=d;this.pb+=n;this.mb+=
d;this.nb+=n;return this};var p=0,k=0;q.prototype.$l=function(d){c(this.Da,this.sb,this.ob,this.mb);d.left=p;d.right=k;c(this.Ea,this.tb,this.pb,this.nb);d.top=p;d.bottom=k};q.prototype.Lb=function(d,n){var a=this.sb-this.Da,r=this.tb-this.Ea,e=this.ob-this.Da,b=this.pb-this.Ea,f=d-this.Da,l=n-this.Ea,k=a*a+r*r,c=a*e+r*b,r=a*f+r*l,g=e*e+b*b,p=e*f+b*l,h=1/(k*g-c*c),a=(g*r-c*p)*h,k=(k*p-c*r)*h;if(0<=a&&0<k&&1>a+k)return!0;a=this.mb-this.Da;r=this.nb-this.Ea;k=a*a+r*r;c=a*e+r*b;r=a*f+r*l;h=1/(k*g-c*
c);a=(g*r-c*p)*h;k=(k*p-c*r)*h;return 0<=a&&0<k&&1>a+k};q.prototype.Nd=function(d,n){if(n)switch(d){case 0:return this.Da;case 1:return this.sb;case 2:return this.ob;case 3:return this.mb;case 4:return this.Da;default:return this.Da}else switch(d){case 0:return this.Ea;case 1:return this.tb;case 2:return this.pb;case 3:return this.nb;case 4:return this.Ea;default:return this.Ea}};q.prototype.un=function(){return(this.Da+this.sb+this.ob+this.mb)/4};q.prototype.vn=function(){return(this.Ea+this.tb+
this.pb+this.nb)/4};q.prototype.Nm=function(d){var n=d.un(),a=d.vn();if(this.Lb(n,a))return!0;n=this.un();a=this.vn();if(d.Lb(n,a))return!0;var r,e,b,f,k,l,c,g;for(c=0;4>c;c++)for(g=0;4>g;g++)if(n=this.Nd(c,!0),a=this.Nd(c,!1),r=this.Nd(c+1,!0),e=this.Nd(c+1,!1),b=d.Nd(g,!0),f=d.Nd(g,!1),k=d.Nd(g+1,!0),l=d.Nd(g+1,!1),na(n,a,r,e,b,f,k,l))return!0;return!1};sa=q;ta=function(d,n){for(var a in n)n.hasOwnProperty(a)&&(d[a]=n[a]);return d};ua=function(d,n){var a,r;n=R(n);if(!(0>n||n>=d.length))if(0===n)d.shift();
else if(n===d.length-1)d.pop();else{a=n;for(r=d.length-1;a<r;a++)d[a]=d[a+1];d.length=r}};va=function(d,n){d.length=n.length;var a,r;a=0;for(r=n.length;a<r;a++)d[a]=n[a]};wa=function(d,n){d.push.apply(d,n)};xa=function(d,n){var a=d.indexOf(n);-1!==a&&ua(d,a)};U=function(d){return d/(180/ka)};ya=function(d){return d*(180/ka)};za=function(d){d%=360;0>d&&(d+=360);return d};Aa=function(d){d%=2*ka;0>d&&(d+=2*ka);return d};Ca=function(d){return za(ya(d))};Da=function(d){return Aa(U(d))};Ea=function(d,n,
a,r){return Math.atan2(r-n,a-d)};Ia=function(d,n){if(d===n)return 0;var a=Math.sin(d),r=Math.cos(d),e=Math.sin(n),b=Math.cos(n),a=a*e+r*b;return 1<=a?0:-1>=a?ka:Math.acos(a)};Ja=function(d,n,a){var r=Math.sin(d),e=Math.cos(d),b=Math.sin(n),f=Math.cos(n);return Math.acos(r*b+e*f)>a?0<e*b-r*f?Aa(d+a):Aa(d-a):Aa(n)};Ka=function(d,n){var a=Math.sin(d),r=Math.cos(d),e=Math.sin(n),b=Math.cos(n);return 0>=r*e-a*b};La=function(d,n,a,r,e,b){if(0===a)return b?d:n;var f=Math.sin(a);a=Math.cos(a);d-=r;n-=e;var k=
d*f;d=d*a-n*f;n=n*a+k;return b?d+r:n+e};Ma=function(d,n,a,r){d=a-d;n=r-n;return Math.sqrt(d*d+n*n)};Na=function(d,n){return!d!==!n};Ra=function(d){for(var n in d)if(d.hasOwnProperty(n))return!0;return!1};Sa=function(d){for(var n in d)d.hasOwnProperty(n)&&delete d[n]};var K=+new Date;Ta=function(){if("undefined"!==typeof window.performance){var d=window.performance;if("undefined"!==typeof d.now)return d.now();if("undefined"!==typeof d.webkitNow)return d.webkitNow();if("undefined"!==typeof d.mozNow)return d.mozNow();
if("undefined"!==typeof d.msNow)return d.msNow()}return Date.now()-K};var s="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;m.prototype.contains=function(d){return s?this.fd.has(d):this.Zc.hasOwnProperty(d.toString())};m.prototype.add=function(d){if(s)this.fd.has(d)||(this.fd.add(d),this.te=!1);else{var n=d.toString();this.Zc.hasOwnProperty(n)||(this.Zc[n]=d,this.zg++,this.te=!1)}return this};m.prototype.remove=function(d){s?this.fd.has(d)&&(this.fd["delete"](d),this.te=!1):(d=
d.toString(),this.Zc.hasOwnProperty(d)&&(delete this.Zc[d],this.zg--,this.te=!1));return this};m.prototype.clear=function(){s?this.fd.clear():(this.Zc={},this.zg=0);this.We.length=0;this.te=!0;return this};m.prototype.Vd=function(){return s?0===this.fd.size:0===this.zg};var v=null,n=0;m.prototype.Js=function(){if(!this.te){if(s)this.We.length=this.fd.size,v=this.We,n=0,this.fd.forEach(b),v=null,n=0;else{this.We.length=this.zg;var d,a=0;for(d in this.Zc)this.Zc.hasOwnProperty(d)&&(this.We[a++]=this.Zc[d])}this.te=
!0}};m.prototype.Tf=function(){this.Js();return this.We};da=m;a.prototype.add=function(d){this.y=d-this.tj;this.Pi=this.Ka+this.y;this.tj=this.Pi-this.Ka-this.y;this.Ka=this.Pi};a.prototype.reset=function(){this.Ka=this.Pi=this.y=this.tj=0};Ua=a;Va=function(d){return d.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};e.prototype.dh=function(d){this.Wn=d;this.Lc=d.length/2;this.Sa.length=d.length;this.xh=this.yh=-1;this.dm=0};e.prototype.sf=function(){return!this.Wn.length};e.prototype.wa=function(){for(var d=
this.Sa,n=d[0],a=n,r=d[1],e=r,b,f,k=1,l=this.Lc;k<l;++k)f=2*k,b=d[f],f=d[f+1],b<n&&(n=b),b>a&&(a=b),f<r&&(r=f),f>e&&(e=f);this.sh=n;this.uh=a;this.vh=r;this.rh=e};e.prototype.bh=function(d,n,a){this.Sa.length=8;this.Lc=4;var r=this.Sa;r[0]=d.left-n;r[1]=d.top-a;r[2]=d.right-n;r[3]=d.top-a;r[4]=d.right-n;r[5]=d.bottom-a;r[6]=d.left-n;r[7]=d.bottom-a;this.yh=d.right-d.left;this.xh=d.bottom-d.top;this.wa()};e.prototype.Mf=function(d,n,a,r,e){this.Sa.length=8;this.Lc=4;var b=this.Sa;b[0]=d.Da-n;b[1]=
d.Ea-a;b[2]=d.sb-n;b[3]=d.tb-a;b[4]=d.ob-n;b[5]=d.pb-a;b[6]=d.mb-n;b[7]=d.nb-a;this.yh=r;this.xh=e;this.wa()};e.prototype.io=function(d){this.Lc=d.Lc;va(this.Sa,d.Sa);this.sh=d.sh;this.vh-d.vh;this.uh=d.uh;this.rh=d.rh};e.prototype.ef=function(d,n,a){if(this.yh!==d||this.xh!==n||this.dm!==a){this.yh=d;this.xh=n;this.dm=a;var r,e,b,f,k,l=0,c=1,g=this.Wn,p=this.Sa;0!==a&&(l=Math.sin(a),c=Math.cos(a));a=0;for(b=this.Lc;a<b;a++)r=2*a,e=r+1,f=g[r]*d,k=g[e]*n,p[r]=f*c-k*l,p[e]=k*c+f*l;this.wa()}};e.prototype.Lb=
function(d,n){var a=this.Sa;if(d===a[0]&&n===a[1])return!0;var r,e,b,f=this.Lc,k=this.sh-110,l=this.vh-101,c=this.uh+131,g=this.rh+120,p,h,m=0,K=0;for(r=0;r<f;r++)e=2*r,b=2*((r+1)%f),p=a[e],e=a[e+1],h=a[b],b=a[b+1],na(k,l,d,n,p,e,h,b)&&m++,na(c,g,d,n,p,e,h,b)&&K++;return 1===m%2||1===K%2};e.prototype.tg=function(d,n,a){var r=d.Sa,e=this.Sa;if(this.Lb(r[0]+n,r[1]+a)||d.Lb(e[0]-n,e[1]-a))return!0;var b,f,k,l,c,g,p,h,m,K,s,q;b=0;for(l=this.Lc;b<l;b++)for(f=2*b,k=2*((b+1)%l),h=e[f],f=e[f+1],m=e[k],K=
e[k+1],k=0,p=d.Lc;k<p;k++)if(c=2*k,g=2*((k+1)%p),s=r[c]+n,c=r[c+1]+a,q=r[g]+n,g=r[g+1]+a,na(h,f,m,K,s,c,q,g))return!0;return!1};Wa=e;f.prototype.Qj=function(d,n,a){var r;r=this.cells[d];return r?(r=r[n])?r:a?(r=l(this,d,n),this.cells[d][n]=r):null:a?(r=l(this,d,n),this.cells[d]={},this.cells[d][n]=r):null};f.prototype.mh=function(d){return R(d/this.Mp)};f.prototype.nh=function(d){return R(d/this.Lp)};f.prototype.update=function(n,a,r){var e,b,f,k,l;if(a)for(e=a.left,b=a.right;e<=b;++e)for(f=a.top,
k=a.bottom;f<=k;++f)if(!r||!r.Lb(e,f))if(l=this.Qj(e,f,!1))l.remove(n),l.Vd()&&(l.Sg.clear(),1E3>d.length&&d.push(l),this.cells[e][f]=null);if(r)for(e=r.left,b=r.right;e<=b;++e)for(f=r.top,k=r.bottom;f<=k;++f)a&&a.Lb(e,f)||this.Qj(e,f,!0).xr(n)};f.prototype.Yn=function(d,n){var a,r,e,b,f,k;a=this.mh(d.left);e=this.nh(d.top);r=this.mh(d.right);for(f=this.nh(d.bottom);a<=r;++a)for(b=e;b<=f;++b)(k=this.Qj(a,b,!1))&&k.hq(n)};Xa=f;var d=[];g.prototype.Vd=function(){return this.Sg.Vd()};g.prototype.xr=
function(d){this.Sg.add(d)};g.prototype.remove=function(d){this.Sg.remove(d)};g.prototype.hq=function(d){wa(d,this.Sg.Tf())};aa=g;var r="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Ya=function(d){return 0>=d||11<=d?"source-over":r[d-1]};Za=function(d,n,a){if(a)switch(d.rb=a.ONE,d.qb=a.ONE_MINUS_SRC_ALPHA,n){case 1:d.rb=a.ONE;d.qb=a.ONE;break;case 3:d.rb=a.ONE;d.qb=a.ZERO;break;case 4:d.rb=a.ONE_MINUS_DST_ALPHA;d.qb=
a.ONE;break;case 5:d.rb=a.DST_ALPHA;d.qb=a.ZERO;break;case 6:d.rb=a.ZERO;d.qb=a.SRC_ALPHA;break;case 7:d.rb=a.ONE_MINUS_DST_ALPHA;d.qb=a.ZERO;break;case 8:d.rb=a.ZERO;d.qb=a.ONE_MINUS_SRC_ALPHA;break;case 9:d.rb=a.DST_ALPHA;d.qb=a.ONE_MINUS_SRC_ALPHA;break;case 10:d.rb=a.ONE_MINUS_DST_ALPHA,d.qb=a.SRC_ALPHA}};$a=function(d){return la(1E6*d)/1E6};cb=function(d,n){return"string"!==typeof d||"string"!==typeof n||d.length!==n.length?!1:d===n?!0:d.toLowerCase()===n.toLowerCase()}})();
var Vb="undefined"!==typeof Float32Array?Float32Array:Array;function Wb(h){var q=new Vb(3);h&&(q[0]=h[0],q[1]=h[1],q[2]=h[2]);return q}function Xb(h){var q=new Vb(16);h&&(q[0]=h[0],q[1]=h[1],q[2]=h[2],q[3]=h[3],q[4]=h[4],q[5]=h[5],q[6]=h[6],q[7]=h[7],q[8]=h[8],q[9]=h[9],q[10]=h[10],q[11]=h[11],q[12]=h[12],q[13]=h[13],q[14]=h[14],q[15]=h[15]);return q}
function Yb(h,q){q[0]=h[0];q[1]=h[1];q[2]=h[2];q[3]=h[3];q[4]=h[4];q[5]=h[5];q[6]=h[6];q[7]=h[7];q[8]=h[8];q[9]=h[9];q[10]=h[10];q[11]=h[11];q[12]=h[12];q[13]=h[13];q[14]=h[14];q[15]=h[15]}function Zb(h,q){var c=q[0],m=q[1];q=q[2];h[0]*=c;h[1]*=c;h[2]*=c;h[3]*=c;h[4]*=m;h[5]*=m;h[6]*=m;h[7]*=m;h[8]*=q;h[9]*=q;h[10]*=q;h[11]*=q}
function $b(h,q,c,m){m||(m=Xb());var b,a,e,f,l,g,p,k,K=h[0],s=h[1];h=h[2];a=c[0];e=c[1];b=c[2];c=q[1];g=q[2];K===q[0]&&s===c&&h===g?(h=m,h[0]=1,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=1,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=1,h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1):(c=K-q[0],g=s-q[1],p=h-q[2],k=1/Math.sqrt(c*c+g*g+p*p),c*=k,g*=k,p*=k,q=e*p-b*g,b=b*c-a*p,a=a*g-e*c,(k=Math.sqrt(q*q+b*b+a*a))?(k=1/k,q*=k,b*=k,a*=k):a=b=q=0,e=g*a-p*b,f=p*q-c*a,l=c*b-g*q,(k=Math.sqrt(e*e+f*f+l*l))?(k=1/k,e*=k,f*=k,l*=k):l=f=e=0,
m[0]=q,m[1]=e,m[2]=c,m[3]=0,m[4]=b,m[5]=f,m[6]=g,m[7]=0,m[8]=a,m[9]=l,m[10]=p,m[11]=0,m[12]=-(q*K+b*s+a*h),m[13]=-(e*K+f*s+l*h),m[14]=-(c*K+g*s+p*h),m[15]=1)}
(function(){function h(a){this.bi=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.em=Wb([0,0,100]);this.rn=Wb([0,0,0]);this.Fo=Wb([0,1,0]);this.Gl=Wb([1,1,1]);this.Dk=Xb();this.vc=Xb();this.cn=Xb();this.Aj=Xb();this.p=a;this.Jm()}function q(a,e,b){this.p=a;this.eh=e;this.name=b;this.uc=a.getAttribLocation(e,"aPos");this.ae=a.getAttribLocation(e,"aTex");this.pn=a.getUniformLocation(e,"matP");this.Af=a.getUniformLocation(e,"matMV");this.Bf=a.getUniformLocation(e,
"opacity");this.qn=a.getUniformLocation(e,"samplerFront");this.Lg=a.getUniformLocation(e,"samplerBack");this.Le=a.getUniformLocation(e,"destStart");this.Ke=a.getUniformLocation(e,"destEnd");this.Ak=a.getUniformLocation(e,"seconds");this.zk=a.getUniformLocation(e,"pixelWidth");this.yk=a.getUniformLocation(e,"pixelHeight");this.Kg=a.getUniformLocation(e,"layerScale");this.Jg=a.getUniformLocation(e,"layerAngle");this.Mg=a.getUniformLocation(e,"viewOrigin");this.sr=!!(this.zk||this.yk||this.Ak||this.Lg||
this.Le||this.Ke||this.Kg||this.Jg||this.Mg);this.Bf&&a.uniform1f(this.Bf,1);this.qn&&a.uniform1i(this.qn,0);this.Lg&&a.uniform1i(this.Lg,1);this.Le&&a.uniform2f(this.Le,0,0);this.Ke&&a.uniform2f(this.Ke,1,1);this.Kg&&a.uniform1f(this.Kg,1);this.Jg&&a.uniform1f(this.Jg,0);this.Mg&&a.uniform2f(this.Mg,0,0);this.Ce=!1}function c(a,e){this.type=a;this.r=e;this.p=e.p;this.Yc=this.zc=this.Hn=0;this.ba=this.Pc=null;this.ko=[]}h.prototype.Jm=function(){var a=this.p,e;this.dn=1;this.Ie=this.Zd=null;this.jm=
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.hn=a.ONE;this.an=a.ONE_MINUS_SRC_ALPHA;this.Rk=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Rk);this.kh=Array(4);this.hh=Array(4);for(e=0;4>e;e++)this.kh[e]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.kh[e]),this.hh[e]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.hh[e]);this.rd=0;this.ur=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,
this.ur);this.El=new Float32Array(16E3);this.sl=new Float32Array(16E3);this.as=new Float32Array(32E3);for(var b=new Uint16Array(12E3),l=e=0;12E3>e;)b[e++]=l,b[e++]=l+1,b[e++]=l+2,b[e++]=l,b[e++]=l+2,b[e++]=l+3,l+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,b,a.STATIC_DRAW);this.Sk=this.ld=0;this.Va=[];e=this.zj({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.Va.push(e);e=this.zj({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.Va.push(e);for(var c in ac)ac.hasOwnProperty(c)&&this.Va.push(this.zj(ac[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.Pd=[];this.od=0;this.Ob=!1;this.km=this.Cg=-1;this.gg=null;this.Jq=a.createFramebuffer();this.ao=
null;this.pe=Wb([0,0,0]);this.hd(0)};h.prototype.zj=function(a,e,b){var l=this.p,c=l.createShader(l.FRAGMENT_SHADER);l.shaderSource(c,a.src);l.compileShader(c);if(!l.getShaderParameter(c,l.COMPILE_STATUS))return l.deleteShader(c),null;var p=l.createShader(l.VERTEX_SHADER);l.shaderSource(p,e);l.compileShader(p);if(!l.getShaderParameter(p,l.COMPILE_STATUS))return l.deleteShader(c),l.deleteShader(p),null;e=l.createProgram();l.attachShader(e,c);l.attachShader(e,p);l.linkProgram(e);if(!l.getProgramParameter(e,
l.LINK_STATUS))return l.deleteShader(c),l.deleteShader(p),l.deleteProgram(e),null;l.useProgram(e);l.deleteShader(c);l.deleteShader(p);b=new q(l,e,b);b.Hj=a.Hj||0;b.Ij=a.Ij||0;b.im=!!a.im;b.Xl=!!a.Xl;b.A=a.A||[];a=0;for(c=b.A.length;a<c;a++)b.A[a][1]=l.getUniformLocation(e,b.A[a][0]),l.uniform1f(b.A[a][1],0);return b};h.prototype.Yj=function(a){var e,b;e=0;for(b=this.Va.length;e<b;e++)if(this.Va[e].name===a)return e;return-1};h.prototype.Vn=function(a,e,b){var l=this.vc,c=this.Dk,p=[0,0,0,0,0,0,0,
0];p[0]=l[0]*a+l[4]*e+l[12];p[1]=l[1]*a+l[5]*e+l[13];p[2]=l[2]*a+l[6]*e+l[14];p[3]=l[3]*a+l[7]*e+l[15];p[4]=c[0]*p[0]+c[4]*p[1]+c[8]*p[2]+c[12]*p[3];p[5]=c[1]*p[0]+c[5]*p[1]+c[9]*p[2]+c[13]*p[3];p[6]=c[2]*p[0]+c[6]*p[1]+c[10]*p[2]+c[14]*p[3];p[7]=-p[2];0!==p[7]&&(p[7]=1/p[7],p[4]*=p[7],p[5]*=p[7],p[6]*=p[7],b[0]=(0.5*p[4]+0.5)*this.width,b[1]=(0.5*p[5]+0.5)*this.height)};h.prototype.Lf=function(a,e,b){if(this.width!==a||this.height!==e||b){this.Sd();this.width=a;this.height=e;this.p.viewport(0,0,
a,e);e=a/e;var l=this.Dk,c;c=1*Math.tan(45*Math.PI/360);e*=c;a=-e;b=-c;l||(l=Xb());var p=e-a,k=c-b;l[0]=2/p;l[1]=0;l[2]=0;l[3]=0;l[4]=0;l[5]=2/k;l[6]=0;l[7]=0;l[8]=(e+a)/p;l[9]=(c+b)/k;l[10]=-1001/999;l[11]=-1;l[12]=0;l[13]=0;l[14]=-2E3/999;l[15]=0;$b(this.em,this.rn,this.Fo,this.vc);a=[0,0];e=[0,0];this.Vn(0,0,a);this.Vn(1,1,e);this.Gl[0]=1/(e[0]-a[0]);this.Gl[1]=-1/(e[1]-a[1]);a=0;for(e=this.Va.length;a<e;a++)b=this.Va[a],b.Ce=!1,b.pn&&(this.p.useProgram(b.eh),this.p.uniformMatrix4fv(b.pn,!1,this.Dk));
this.p.useProgram(this.Va[this.Cg].eh);this.p.bindTexture(this.p.TEXTURE_2D,null);this.p.activeTexture(this.p.TEXTURE1);this.p.bindTexture(this.p.TEXTURE_2D,null);this.p.activeTexture(this.p.TEXTURE0);this.Ie=this.Zd=null}};h.prototype.ed=function(){$b(this.em,this.rn,this.Fo,this.vc);Zb(this.vc,this.Gl)};h.prototype.translate=function(a,e){if(0!==a||0!==e){this.pe[0]=a;this.pe[1]=e;this.pe[2]=0;var b=this.vc,l=this.pe,c=l[0],p=l[1],l=l[2];b[12]=b[0]*c+b[4]*p+b[8]*l+b[12];b[13]=b[1]*c+b[5]*p+b[9]*
l+b[13];b[14]=b[2]*c+b[6]*p+b[10]*l+b[14];b[15]=b[3]*c+b[7]*p+b[11]*l+b[15]}};h.prototype.scale=function(a,b){if(1!==a||1!==b)this.pe[0]=a,this.pe[1]=b,this.pe[2]=1,Zb(this.vc,this.pe)};h.prototype.el=function(a){if(0!==a){var b=this.vc,f,l=Math.sin(a);a=Math.cos(a);var c=b[0],p=b[1],k=b[2],h=b[3],m=b[4],q=b[5],n=b[6],d=b[7];f?b!==f&&(f[8]=b[8],f[9]=b[9],f[10]=b[10],f[11]=b[11],f[12]=b[12],f[13]=b[13],f[14]=b[14],f[15]=b[15]):f=b;f[0]=c*a+m*l;f[1]=p*a+q*l;f[2]=k*a+n*l;f[3]=h*a+d*l;f[4]=c*-l+m*a;f[5]=
p*-l+q*a;f[6]=k*-l+n*a;f[7]=h*-l+d*a}};h.prototype.kd=function(){for(var a=!1,b=0;16>b;b++)if(this.cn[b]!==this.vc[b]){a=!0;break}a&&(a=this.Mc(),a.type=5,a.ba?Yb(this.vc,a.ba):a.ba=Xb(this.vc),Yb(this.vc,this.cn),this.Ob=!1)};c.prototype.dq=function(){this.p.bindTexture(this.p.TEXTURE_2D,this.Pc)};c.prototype.fq=function(){var a=this.p;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Pc);a.activeTexture(a.TEXTURE0)};c.prototype.aq=function(){var a=this.Hn,b=this.r;b.jm=a;b=b.gg;b.Bf&&
this.p.uniform1f(b.Bf,a)};c.prototype.Yp=function(){this.p.drawElements(this.p.TRIANGLES,this.Yc,this.p.UNSIGNED_SHORT,2*this.zc)};c.prototype.$p=function(){this.p.blendFunc(this.zc,this.Yc)};c.prototype.gq=function(){var a,b,f,l=this.r.Va,c=this.r.km;a=0;for(b=l.length;a<b;a++)f=l[a],a===c&&f.Af?(this.p.uniformMatrix4fv(f.Af,!1,this.ba),f.Ce=!0):f.Ce=!1;Yb(this.ba,this.r.Aj)};c.prototype.Zp=function(){var a=this.p,b=this.r;this.Pc?(b.Ie===this.Pc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,
null),b.Ie=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.Jq),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Pc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};c.prototype.Wp=function(){var a=this.p;0===this.zc?(a.clearColor(this.ba[0],this.ba[1],this.ba[2],this.ba[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.ba[0],this.ba[1],this.ba[2],this.ba[3]),
a.clearColor(0,0,0,0),a.clear(this.p.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};c.prototype.Xp=function(){var a=this.p,b=this.r,f=b.Va[1];a.useProgram(f.eh);!f.Ce&&f.Af&&(a.uniformMatrix4fv(f.Af,!1,b.Aj),f.Ce=!0);a.enableVertexAttribArray(f.uc);a.bindBuffer(a.ARRAY_BUFFER,b.Rk);a.vertexAttribPointer(f.uc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.zc/4,this.Yc);f=b.gg;a.useProgram(f.eh);0<=f.uc&&(a.enableVertexAttribArray(f.uc),a.bindBuffer(a.ARRAY_BUFFER,b.kh[b.rd]),a.vertexAttribPointer(f.uc,
2,a.FLOAT,!1,0,0));0<=f.ae&&(a.enableVertexAttribArray(f.ae),a.bindBuffer(a.ARRAY_BUFFER,b.hh[b.rd]),a.vertexAttribPointer(f.ae,2,a.FLOAT,!1,0,0))};c.prototype.bq=function(){var a=this.p,b=this.r,f=b.Va[this.zc];b.km=this.zc;b.gg=f;a.useProgram(f.eh);!f.Ce&&f.Af&&(a.uniformMatrix4fv(f.Af,!1,b.Aj),f.Ce=!0);f.Bf&&a.uniform1f(f.Bf,b.jm);0<=f.uc&&(a.enableVertexAttribArray(f.uc),a.bindBuffer(a.ARRAY_BUFFER,b.kh[b.rd]),a.vertexAttribPointer(f.uc,2,a.FLOAT,!1,0,0));0<=f.ae&&(a.enableVertexAttribArray(f.ae),
a.bindBuffer(a.ARRAY_BUFFER,b.hh[b.rd]),a.vertexAttribPointer(f.ae,2,a.FLOAT,!1,0,0))};c.prototype.cq=function(){var a,b,f=this.r.gg,c=this.p;a=this.ba;f.Lg&&this.r.Ie!==this.Pc&&(c.activeTexture(c.TEXTURE1),c.bindTexture(c.TEXTURE_2D,this.Pc),this.r.Ie=this.Pc,c.activeTexture(c.TEXTURE0));f.zk&&c.uniform1f(f.zk,a[0]);f.yk&&c.uniform1f(f.yk,a[1]);f.Le&&c.uniform2f(f.Le,a[2],a[3]);f.Ke&&c.uniform2f(f.Ke,a[4],a[5]);f.Kg&&c.uniform1f(f.Kg,a[6]);f.Jg&&c.uniform1f(f.Jg,a[7]);f.Mg&&c.uniform2f(f.Mg,a[8],
a[9]);f.Ak&&c.uniform1f(f.Ak,Ta()/1E3);if(f.A.length)for(a=0,b=f.A.length;a<b;a++)c.uniform1f(f.A[a][1],this.ko[a])};h.prototype.Mc=function(){this.od===this.Pd.length&&this.Pd.push(new c(0,this));return this.Pd[this.od++]};h.prototype.Sd=function(){if(0!==this.od&&!this.p.isContextLost()){var a=this.p;0<this.Sk&&(a.bindBuffer(a.ARRAY_BUFFER,this.Rk),a.bufferData(a.ARRAY_BUFFER,this.as.subarray(0,this.Sk),a.STREAM_DRAW),b&&0<=b.uc&&"<point>"===b.name&&a.vertexAttribPointer(b.uc,4,a.FLOAT,!1,0,0));
if(0<this.ld){var b=this.gg;a.bindBuffer(a.ARRAY_BUFFER,this.kh[this.rd]);a.bufferData(a.ARRAY_BUFFER,this.El.subarray(0,this.ld),a.STREAM_DRAW);b&&0<=b.uc&&"<point>"!==b.name&&a.vertexAttribPointer(b.uc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.hh[this.rd]);a.bufferData(a.ARRAY_BUFFER,this.sl.subarray(0,this.ld),a.STREAM_DRAW);b&&0<=b.ae&&"<point>"!==b.name&&a.vertexAttribPointer(b.ae,2,a.FLOAT,!1,0,0)}for(var f,a=0,b=this.od;a<b;a++)switch(f=this.Pd[a],f.type){case 1:f.Yp();break;case 2:f.dq();
break;case 3:f.aq();break;case 4:f.$p();break;case 5:f.gq();break;case 6:f.Zp();break;case 7:f.Wp();break;case 8:f.Xp();break;case 9:f.bq();break;case 10:f.cq();break;case 11:f.fq()}this.Sk=this.ld=this.od=0;this.Ob=!1;this.rd++;4<=this.rd&&(this.rd=0)}};h.prototype.Te=function(a){if(a!==this.dn){var b=this.Mc();b.type=3;this.dn=b.Hn=a;this.Ob=!1}};h.prototype.Vb=function(a){if(a!==this.Zd){var b=this.Mc();b.type=2;this.Zd=b.Pc=a;this.Ob=!1}};h.prototype.he=function(a,b){if(a!==this.hn||b!==this.an){var f=
this.Mc();f.type=4;f.zc=a;f.Yc=b;this.hn=a;this.an=b;this.Ob=!1}};h.prototype.fo=function(){this.he(this.p.ONE,this.p.ONE_MINUS_SRC_ALPHA)};h.prototype.Fi=function(a,b,f,c,g,p,k,h){15992<=this.ld&&this.Sd();var m=this.ld,q=this.El,n=this.sl;if(this.Ob)this.Pd[this.od-1].Yc+=6;else{var d=this.Mc();d.type=1;d.zc=3*(m/4);d.Yc=6;this.Ob=!0}q[m]=a;n[m++]=0;q[m]=b;n[m++]=0;q[m]=f;n[m++]=1;q[m]=c;n[m++]=0;q[m]=g;n[m++]=1;q[m]=p;n[m++]=1;q[m]=k;n[m++]=0;q[m]=h;n[m++]=1;this.ld=m};h.prototype.dd=function(a,
b,f,c,g,p,k,h,m){15992<=this.ld&&this.Sd();var q=this.ld,n=this.El,d=this.sl;if(this.Ob)this.Pd[this.od-1].Yc+=6;else{var r=this.Mc();r.type=1;r.zc=3*(q/4);r.Yc=6;this.Ob=!0}var r=m.left,z=m.top,B=m.right;m=m.bottom;n[q]=a;d[q++]=r;n[q]=b;d[q++]=z;n[q]=f;d[q++]=B;n[q]=c;d[q++]=z;n[q]=g;d[q++]=B;n[q]=p;d[q++]=m;n[q]=k;d[q++]=r;n[q]=h;d[q++]=m;this.ld=q};h.prototype.hd=function(a){if(this.Cg!==a){if(!this.Va[a]){if(0===this.Cg)return;a=0}var b=this.Mc();b.type=9;this.Cg=b.zc=a;this.Ob=!1}};h.prototype.Vg=
function(a){a=this.Va[a];return!(!a.Le&&!a.Ke)};h.prototype.Vk=function(a){a=this.Va[a];return!!(a.Le||a.Ke||a.im)};h.prototype.es=function(a){a=this.Va[a];return 0!==a.Hj||0!==a.Ij};h.prototype.Yq=function(a){return this.Va[a].Hj};h.prototype.Zq=function(a){return this.Va[a].Ij};h.prototype.$q=function(a,b){return this.Va[a].A[b][2]};h.prototype.Ei=function(a){return this.Va[a].Xl};h.prototype.Kf=function(a,b,f,c,g,p,k,h,m,q,n,d){var r=this.Va[this.Cg],z,B;if(r.sr||d.length){z=this.Mc();z.type=10;
z.ba?Yb(this.vc,z.ba):z.ba=Xb();B=z.ba;B[0]=b;B[1]=f;B[2]=c;B[3]=g;B[4]=p;B[5]=k;B[6]=h;B[7]=m;B[8]=q;B[9]=n;z.Pc=r.Lg?a:null;if(d.length)for(f=z.ko,f.length=d.length,a=0,b=d.length;a<b;a++)f[a]=d[a];this.Ob=!1}};h.prototype.clear=function(a,b,f,c){var g=this.Mc();g.type=7;g.zc=0;g.ba||(g.ba=Xb());g.ba[0]=a;g.ba[1]=b;g.ba[2]=f;g.ba[3]=c;this.Ob=!1};h.prototype.clearRect=function(a,b,f,c){var g=this.Mc();g.type=7;g.zc=1;g.ba||(g.ba=Xb());g.ba[0]=a;g.ba[1]=b;g.ba[2]=f;g.ba[3]=c;this.Ob=!1};h.prototype.ds=
function(){this.Sd();this.p.flush()};var m=[],b={};h.prototype.qi=function(a,e,f,c){e=!!e;f=!!f;var g=a.src+","+e+","+f+(e?",undefined":""),p=null;if("undefined"!==typeof a.src&&b.hasOwnProperty(g))return p=b[g],p.wh++,p;this.Sd();var k=this.p,h=ga(a.width)&&ga(a.height),p=k.createTexture();k.bindTexture(k.TEXTURE_2D,p);k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var q=k.RGBA,v=k.RGBA,n=k.UNSIGNED_BYTE;if(c&&!this.bi)switch(c){case 1:v=q=k.RGB;break;case 2:n=k.UNSIGNED_SHORT_4_4_4_4;break;
case 3:n=k.UNSIGNED_SHORT_5_5_5_1;break;case 4:v=q=k.RGB,n=k.UNSIGNED_SHORT_5_6_5}!h&&e?(c=document.createElement("canvas"),c.width=ha(a.width),c.height=ha(a.height),c.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,c.width,c.height),k.texImage2D(k.TEXTURE_2D,0,q,v,n,c)):k.texImage2D(k.TEXTURE_2D,0,q,v,n,a);e?(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_S,k.REPEAT),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_T,k.REPEAT)):(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_S,k.CLAMP_TO_EDGE),k.texParameteri(k.TEXTURE_2D,
k.TEXTURE_WRAP_T,k.CLAMP_TO_EDGE));f?(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MAG_FILTER,k.LINEAR),h?(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.LINEAR_MIPMAP_LINEAR),k.generateMipmap(k.TEXTURE_2D)):k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.LINEAR)):(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MAG_FILTER,k.NEAREST),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.NEAREST));k.bindTexture(k.TEXTURE_2D,null);this.Zd=null;p.dg=a.width;p.cg=a.height;p.wh=1;p.cm=g;m.push(p);return b[g]=
p};h.prototype.qd=function(a,b,f,c){this.Sd();var g=this.p;this.bi&&(c=!1);var p=g.createTexture();g.bindTexture(g.TEXTURE_2D,p);g.texImage2D(g.TEXTURE_2D,0,g.RGBA,a,b,0,g.RGBA,c?g.UNSIGNED_SHORT_4_4_4_4:g.UNSIGNED_BYTE,null);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,f?g.LINEAR:g.NEAREST);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,f?g.LINEAR:g.NEAREST);g.bindTexture(g.TEXTURE_2D,
null);this.Zd=null;p.dg=a;p.cg=b;m.push(p);return p};h.prototype.Ms=function(a,b,c){this.Sd();var l=this.p;this.bi&&(c=!1);l.bindTexture(l.TEXTURE_2D,b);l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);l.texImage2D(l.TEXTURE_2D,0,l.RGBA,l.RGBA,c?l.UNSIGNED_SHORT_4_4_4_4:l.UNSIGNED_BYTE,a);l.bindTexture(l.TEXTURE_2D,null);this.Zd=null};h.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.wh&&1<a.wh?a.wh--:(this.Sd(),a===this.Zd&&(this.p.bindTexture(this.p.TEXTURE_2D,null),this.Zd=null),
a===this.Ie&&(this.p.activeTexture(this.p.TEXTURE1),this.p.bindTexture(this.p.TEXTURE_2D,null),this.p.activeTexture(this.p.TEXTURE0),this.Ie=null),xa(m,a),"undefined"!==typeof a.cm&&delete b[a.cm],this.p.deleteTexture(a)))};h.prototype.gd=function(a){if(a!==this.ao){var b=this.Mc();b.type=6;this.ao=b.Pc=a;this.Ob=!1}};db=h})();
(function(){function h(n){if(n&&(n.getContext||n.dc)&&!n.c2runtime){n.c2runtime=this;var d=this;this.kk=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.nk=!this.kk&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.Pb=!!n.dc;this.Pm="undefined"!==typeof window.AppMobi||this.Pb;if(this.yd=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){d.setSuspended(!0)}),
CocoonJS.App.onActivated.addEventListener(function(){d.setSuspended(!1)});this.Pa=this.Pb||this.yd;this.Tm=/tizen/i.test(navigator.userAgent);this.ai=/android/i.test(navigator.userAgent)&&!this.Tm;this.bi=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.rk=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.Xm=/ipad/i.test(navigator.userAgent);this.qk=this.rk||this.Xm;this.Hr=this.rk&&/os\s6/i.test(navigator.userAgent);this.ug=/chrome/i.test(navigator.userAgent)||
/chromium/i.test(navigator.userAgent);this.Cr=/amazonwebappplatform/i.test(navigator.userAgent);this.Qm=/firefox/i.test(navigator.userAgent);this.Sm=!this.ug&&/safari/i.test(navigator.userAgent);this.Gr=/windows/i.test(navigator.userAgent);this.Xd="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.Um=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Vm=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Dr=!("undefined"===
typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Om=this.ai&&!this.ug&&!this.Qm&&!this.Cr&&!this.Pa;this.devicePixelRatio=1;this.Wd=this.nk||this.kk||this.Pm||this.yd||this.ai||this.qk||this.Vm||this.Dr||this.Tm;this.Wd||(this.Wd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Xd||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Xd=!0);this.Er="undefined"!==
typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=n;this.zh=document.getElementById("c2canvasdiv");this.ca=this.r=this.p=null;this.Lj="";this.Qh=!1;this.Fn=this.Gn=0;this.canvas.oncontextmenu=function(d){d.preventDefault&&d.preventDefault();return!1};this.canvas.onselectstart=function(d){d.preventDefault&&d.preventDefault();return!1};this.Pb&&(window.c2runtime=this);this.Xd&&(window.Xt=function(d){d.preventDefault();return!1},window.Yt=function(d){d.preventDefault();return!1},
require("nw.gui").App.clearCache());this.width=n.width;this.height=n.height;this.O=this.width;this.N=this.height;this.Eh=this.width;this.Dh=this.height;this.Eg=window.innerWidth;this.Dg=window.innerHeight;this.ka=!0;this.wg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.q=[];this.La=[];this.xf={};this.Ic=[];this.Fj={};this.ze=[];this.Hd=[];this.Wi=[];this.Dp=[];this.Ep=[];this.Ym=this.po=null;this.Uc=new da;this.lk=!1;this.Gc=0;this.ok=!1;this.Db=[];this.Ad=
this.yb=this.oi=this.jl="";this.fh=this.no=!1;this.yj=this.Ng=this.Rd=this.xe=0;this.Qf=1;this.gc=new Ua;this.hi=0;this.tn=!0;this.wi=this.Uh=this.Gj=this.Ed=this.Fg=this.Kj=0;this.ue=null;this.Jh=[];this.Ej=[];this.Mh=-1;this.Bk=[[]];this.zl=this.si=0;this.Xk(null);this.Mr=[];this.sn=-1;this.hg=this.An=this.Rg=0;this.gh=[];this.Ti=this.Gi=0;this.vf=!0;this.zf=0;this.vg=!1;this.As=0;this.qr=!1;this.tk=0;this.sc=this.ak=this.$k=!1;this.Ik=new da;this.En=new da;this.$n=[];this.Oc=new Wa([]);this.rl=
new Wa([]);this.df=[];this.ag={};this.ff={};this.cf={};this.Uf={};this.Zl={};this.on=this.mi=this.Qb=this.ic=this.nn=this.li=this.la=null;this.Sf=this.pk=!1;this.Mj=[null,null];this.Be=0;this.rm="";this.Oe={};this.Ni=this.yf=null;this.load();this.devicePixelRatio=(this.Fe=!this.Pa&&this.Ks&&!this.Om)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.lb();var a,b=this.oj&&!(this.Xd||this.Um||this.Vm);0<this.Nb&&this.setSize(window.innerWidth,
window.innerHeight,!0);try{!this.jq||!this.yd&&this.Pa||(a={alpha:b,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.p=n.getContext("webgl",a)||n.getContext("experimental-webgl",a))}catch(e){}if(this.p){this.Pa||(this.hb=document.createElement("canvas"),jQuery(this.hb).appendTo(this.canvas.parentNode),this.hb.oncontextmenu=H(!1),this.hb.onselectstart=H(!1),this.hb.width=this.Eh,this.hb.height=this.Dh,jQuery(this.hb).css({width:this.Eh+"px",height:this.Dh+"px"}),this.Tn(),this.Pk=this.hb.getContext("2d"));
this.r=new db(this.p,this.Wd);this.r.Lf(n.width,n.height);this.ca=null;this.canvas.addEventListener("webglcontextlost",function(n){n.preventDefault();d.Or();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){d.r.Jm();d.r.Lf(d.r.width,d.r.height,!0);d.ic=null;d.Qb=null;d.Mj[0]=null;d.Mj[1]=null;d.Pr();d.ka=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);var c,f,k,l,p,g;
n=0;for(a=this.q.length;n<a;n++)for(f=this.q[n],b=0,c=f.I.length;b<c;b++)l=f.I[b],l.ib=this.r.Yj(l.id),this.Sf=this.Sf||this.r.Vg(l.ib);n=0;for(a=this.Ic.length;n<a;n++){p=this.Ic[n];b=0;for(c=p.I.length;b<c;b++)l=p.I[b],l.ib=this.r.Yj(l.id);b=0;for(c=p.U.length;b<c;b++)for(g=p.U[b],f=0,k=g.I.length;f<k;f++)l=g.I[f],l.ib=this.r.Yj(l.id),this.Sf=this.Sf||this.r.Vg(l.ib)}}else{if(0<this.Nb&&this.Pb){this.canvas=null;document.oncontextmenu=H(!1);document.onselectstart=H(!1);this.ca=AppMobi.canvas.getContext("2d");
try{this.ca.samplingMode=this.Y?"smooth":"sharp",this.ca.globalScale=1,this.ca.HTML5CompatibilityMode=!0,this.ca.imageSmoothingEnabled=this.Y}catch(h){}0!==this.width&&0!==this.height&&(this.ca.width=this.width,this.ca.height=this.height)}this.ca||(a=this.yd?{antialias:!!this.Y,alpha:b}:{alpha:b},this.ca=n.getContext("2d",a),this.ca.webkitImageSmoothingEnabled=this.Y,this.ca.mozImageSmoothingEnabled=this.Y,this.ca.msImageSmoothingEnabled=this.Y,this.ca.imageSmoothingEnabled=this.Y);this.Pk=this.hb=
null}this.Ri=function(){d.cb()};window==window.top||this.Pa||this.Um||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.yd&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(N("Reloading for continuous preview"),this.oi="__c2_continuouspreview",this.fh=!0),this.$r&&!this.Wd&&(jQuery(window).focus(function(){d.setSuspended(!1)}),
jQuery(window).blur(function(){d.setSuspended(!0)})));0===this.Nb&&this.Fe&&1<this.devicePixelRatio&&this.setSize(this.$a,this.Za,!0);this.Bo();this.go();this.X={}}}function q(n){n.target.result.createObjectStore("saves",{keyPath:"slot"})}function c(n,d,a,b){var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=q;e.onerror=b;e.onsuccess=function(e){e=e.target.result;e.onerror=b;e.transaction(["saves"],"readwrite").objectStore("saves").put({slot:n,data:d}).onsuccess=a}}function m(n,d,a){var b=indexedDB.open("_C2SaveStates");
b.onupgradeneeded=q;b.onerror=a;b.onsuccess=function(b){b=b.target.result;b.onerror=a;var e=b.transaction(["saves"]).objectStore("saves").get(n);e.onsuccess=function(){e.result?d(e.result.data):d(null)}}}function b(){N("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(n){var d,a={};for(d in n)!n.hasOwnProperty(d)||n[d]instanceof da||n[d]&&"undefined"!==typeof n[d].Qt||
(a[d]=n[d]);return a}h.prototype.setSize=function(n,d,a){var b=0,e=0,c=0,f=0,f=0,k=this.Hr&&this.Sm&&!navigator.standalone&&!this.Pa&&!this.nk;k&&(d+=60);if(this.Eg!==n||this.Dg!==d||a){this.Eg=n;this.Dg=d;var l=this.Nb,p=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.vg;if(p||0!==this.Nb||a)p&&0<this.Be&&(l=this.Be),4<=l?(a=this.$a/this.Za,n/d>a?(c=d*a,5===l?(f=c/this.$a,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),c=this.$a*f,f*=this.Za,
b=(n-c)/2,e=(d-f)/2,n=c,d=f):(b=(n-c)/2,n=c)):(f=n/a,5===l?(f/=this.Za,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),c=this.$a*f,f*=this.Za,b=(n-c)/2,e=(d-f)/2,n=c):e=(d-f)/2,d=f),p&&!this.Xd&&(e=b=0),b=Math.floor(b),e=Math.floor(e),n=Math.floor(n),d=Math.floor(d)):this.Xd&&this.vg&&0===this.um&&(b=Math.floor((n-this.$a)/2),e=Math.floor((d-this.Za)/2),n=this.$a,d=this.Za),2>l&&(this.bg=this.devicePixelRatio),this.Fe&&this.Xm&&1<this.devicePixelRatio&&(1024<=n&&(n=1023),1024<=d&&(d=1023)),p=this.devicePixelRatio,
this.Eh=n,this.Dh=d,this.width=Math.round(n*p),this.height=Math.round(d*p),this.ka=!0,this.No?(this.O=this.width,this.N=this.height,this.qc=!0):this.width<this.$a&&this.height<this.Za||1===l?(this.O=this.width,this.N=this.height,this.qc=!0):(this.O=this.$a,this.N=this.Za,this.qc=!1,2===l?(a=this.$a/this.Za,l=this.Eg/this.Dg,l<a?this.O=this.N*l:l>a&&(this.N=this.O/l)):3===l&&(a=this.$a/this.Za,l=this.Eg/this.Dg,l>a?this.O=this.N*l:l<a&&(this.N=this.O/l))),this.zh&&!this.Pa&&(jQuery(this.zh).css({width:n+
"px",height:d+"px","margin-left":b,"margin-top":e}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:n+"px",height:d+"px"})),this.canvas&&(this.canvas.width=Math.round(n*p),this.canvas.height=Math.round(d*p),this.Fe&&jQuery(this.canvas).css({width:n+"px",height:d+"px"})),this.hb&&(this.hb.width=n,this.hb.height=d,jQuery(this.hb).css({width:n+"px",height:d+"px"})),this.r&&this.r.Lf(Math.round(n*p),Math.round(d*p)),this.Pb&&this.ca&&(this.ca.width=n,this.ca.height=d),this.ca&&(this.ca.webkitImageSmoothingEnabled=
this.Y,this.ca.mozImageSmoothingEnabled=this.Y,this.ca.msImageSmoothingEnabled=this.Y,this.ca.imageSmoothingEnabled=this.Y),this.Bo(),k&&window.setTimeout(function(){window.scrollTo(0,1)},100)}};h.prototype.Bo=function(){if(this.Gp&&0!==this.Nk){var n="portrait";2===this.Nk&&(n="landscape");screen.lockOrientation?screen.lockOrientation(n):screen.webkitLockOrientation?screen.webkitLockOrientation(n):screen.mozLockOrientation?screen.mozLockOrientation(n):screen.msLockOrientation&&screen.msLockOrientation(n)}};
h.prototype.Or=function(){this.pk=!0;var n,d,a;n=0;for(d=this.q.length;n<d;n++)a=this.q[n],a.xi&&a.xi()};h.prototype.Pr=function(){this.pk=!1;var n,d,a;n=0;for(d=this.q.length;n<d;n++)a=this.q[n],a.Mk&&a.Mk()};h.prototype.Tn=function(){if(!this.Pa){var n=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.vg?jQuery(this.canvas).offset():jQuery(this.canvas).position();n.position="absolute";jQuery(this.hb).css(n)}};var e=window.cancelAnimationFrame||
window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;h.prototype.setSuspended=function(n){var d;if(n&&!this.wg)for(N("[Construct 2] Suspending"),this.wg=!0,0!==this.Gi&&e&&e(this.Gi),0!==this.Ti&&clearTimeout(this.Ti),n=0,d=this.gh.length;n<d;n++)this.gh[n](!0);else if(!n&&this.wg){N("[Construct 2] Resuming");this.wg=!1;this.hi=Ta();this.Fg=Ta();n=this.Ng=this.Uh=0;for(d=this.gh.length;n<d;n++)this.gh[n](!1);this.cb()}};h.prototype.Ul=
function(n){this.gh.push(n)};h.prototype.load=function(){var n=bc();this.name=n[0];this.tm=n[1];this.Nb=n[11];this.um=n[11];this.$a=n[9];this.Za=n[10];this.On=this.$a/2;this.Pn=this.Za/2;this.Pa&&(4<=n[11]||0===n[11])&&(N("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.um=this.Nb=3);this.Cl=n[17];this.Ig=n[18];0===this.Ig&&(this.yf=new Image,this.yf.src="loading-logo.png");this.Rg=n[20];this.jd=new W(this);var d,a,b,e,f,c,k,
l,p;d=0;for(a=n[2].length;d<a;d++)k=n[2][d],eb(k),p=new k[0](this),p.pl=k[1],p.Yd=k[2],p.xn=k[9],p.ja&&p.ja(),this.plugins.push(p);n=bc();d=0;for(a=n[3].length;d<a;d++){k=n[3][d];f=k[1];p=null;b=0;for(e=this.plugins.length;b<e;b++)if(this.plugins[b]instanceof f){p=this.plugins[b];break}var g=new p.Wa(p);g.name=k[0];g.F=k[2];g.jk=k[3].slice(0);g.Ls=k[3].length;g.Hp=k[4];g.Mq=k[5];g.S=k[11];g.F?(g.Ef=[],g.Wc=this.hg++,g.ra=null):(g.Ef=null,g.Wc=-1,g.ra=[]);g.Oh=null;g.kf=null;g.nm=null;g.fc=!1;g.Cb=
null;k[6]?(g.tl=k[6][0],g.ul=k[6][1],g.wl=k[6][2]):(g.tl=null,g.ul=0,g.wl=0);g.Jb=k[7]?k[7]:null;g.index=d;g.d=[];g.Hh=[];g.ke=[new fb(g)];g.sd=0;g.oc=null;g.Tp=0;g.Of=!0;g.Xi=gb;g.Rq=hb;g.Xq=ib;g.ea=jb;g.Xg=kb;g.Wk=lb;g.Jf=mb;g.Vh=nb;g.Pj=rb;g.Uj=sb;g.Md=tb;g.Am=ub;g.Bh=new Xa(this.$a,this.Za);g.oh=!0;g.ph=!1;g.X={};g.toString=vb;g.La=[];b=0;for(e=k[8].length;b<e;b++){l=k[8][b];var h=l[1],m=null;f=0;for(c=this.La.length;f<c;f++)if(this.La[f]instanceof h){m=this.La[f];break}m||(m=new h(this),m.vi=
[],m.Gk=new da,m.ja&&m.ja(),this.La.push(m),Ub.zs&&m instanceof Ub.zs&&(this.po=m),Ub.Jr&&m instanceof Ub.Jr&&(this.Ym=m));-1===m.vi.indexOf(g)&&m.vi.push(g);f=new m.Wa(m,g);f.name=l[0];f.S=l[2];f.ja();g.La.push(f)}g.global=k[9];g.mk=k[10];g.I=[];b=0;for(e=k[12].length;b<e;b++)g.I.push({id:k[12][b][0],name:k[12][b][1],ib:-1,md:!0,index:b});g.eu=k[13];this.Cl&&!g.F&&!g.mk&&p.Yd||g.ja();g.name&&(this.types[g.name]=g);this.q.push(g);p.pl&&(b=new p.Fa(g),b.uid=this.Rg++,b.Xn=this.An++,b.De=0,b.ng=wb,
b.toString=xb,b.B=k[14],b.ja(),g.d.push(b),this.Oe[b.uid.toString()]=b)}d=0;for(a=n[4].length;d<a;d++)for(f=n[4][d],c=this.q[f[0]],b=1,e=f.length;b<e;b++)k=this.q[f[b]],k.ra.push(c),c.Ef.push(k);d=0;for(a=n[23].length;d<a;d++){f=n[23][d];c=[];b=0;for(e=f.length;b<e;b++)c.push(this.q[f[b]]);b=0;for(e=c.length;b<e;b++)c[b].fc=!0,c[b].Cb=c}if(0<this.hg)for(d=0,a=this.q.length;d<a;d++)if(k=this.q[d],!k.F&&k.ra.length){k.Oh=Array(this.hg);k.kf=Array(this.hg);k.nm=Array(this.hg);g=[];b=m=h=l=0;for(e=k.ra.length;b<
e;b++)for(p=k.ra[b],k.Oh[p.Wc]=l,l+=p.Ls,k.kf[p.Wc]=h,h+=p.Hp,k.nm[p.Wc]=m,m+=p.Mq,f=0,c=p.I.length;f<c;f++)g.push(ta({},p.I[f]));k.I=g.concat(k.I);b=0;for(e=k.I.length;b<e;b++)k.I[b].index=b}d=0;for(a=n[5].length;d<a;d++)k=n[5][d],b=new yb(this,k),this.xf[b.name]=b,this.Ic.push(b);d=0;for(a=n[6].length;d<a;d++)k=n[6][d],b=new zb(this,k),this.Fj[b.name]=b,this.ze.push(b);d=0;for(a=this.ze.length;d<a;d++)this.ze[d].Ja();d=0;for(a=this.Wi.length;d<a;d++)this.Wi[d].Ja();this.Wi.length=0;this.rm=n[7];
this.bd=n[8];this.bg=1;this.jq=n[12];this.Y=n[13];this.oj=n[14];this.Ks=n[16];this.Nk=n[19];this.Gp=0<this.Nk;this.$r=n[21];this.qc=this.No=n[22];this.Oi=Date.now()};h.prototype.Kq=function(n){var d,a;d=0;for(a=this.Hd.length;d<a;d++)if(this.Hd[d].Op===n)return this.Hd[d];return null};h.prototype.Yl=function(){var n=0,d=0,a=!0,b,e;b=0;for(e=this.Hd.length;b<e;b++){var f=this.Hd[b].gm;if(!f||0>=f)f=5E4;n+=f;this.Hd[b].complete||this.Hd[b].loaded?d+=f:a=!1}this.Qe=0==n?0:d/n;return a};h.prototype.go=
function(){if(this.ca||this.r){var n=this.ca||this.Pk;this.hb&&this.Tn();this.Qe=0;this.mn=-1;if(this.Yl())this.or();else{var d=Date.now()-this.Oi;if(n){var a=this.width,b=this.height,e=this.devicePixelRatio;this.hb&&(a=this.Eh,b=this.Dh,e=1);if(3!==this.Ig&&500<=d&&this.mn!=this.Qe){n.clearRect(0,0,a,b);var d=a/2,b=b/2,a=0===this.Ig&&this.yf.complete,f=40*e,c=0,k=80*e,l;a&&(k=this.yf.width*e,l=this.yf.height*e,f=k/2,c=l/2,n.drawImage(this.yf,R(d-f),R(b-c),k,l));1>=this.Ig?(d=R(d-f)+0.5,b=R(b+(c+
(a?12*e:0)))+0.5,n.fillStyle="DodgerBlue",n.fillRect(d,b,Math.floor(k*this.Qe),6*e),n.strokeStyle="black",n.strokeRect(d,b,k,6*e),n.strokeStyle="white",n.strokeRect(d-1*e,b-1*e,k+2*e,8*e)):2===this.Ig&&(n.font="12pt Arial",n.fillStyle="#999",n.du="middle",e=Math.round(100*this.Qe)+"%",a=n.measureText?n.measureText(e):null,n.fillText(e,d-(a?a.width:0)/2,b))}this.mn=this.Qe}setTimeout(function(d){return function(){d.go()}}(this),100)}}};h.prototype.or=function(){this.hb&&(this.canvas.parentNode.removeChild(this.hb),
this.hb=this.Pk=null);this.Oi=Date.now();this.Fg=Ta();var a,d,b;if(this.Cl)for(a=0,d=this.q.length;a<d;a++)b=this.q[a],b.F||b.mk||!b.za.Yd||b.ja();else this.vf=!1;a=0;for(d=this.Ic.length;a<d;a++)this.Ic[a].Pp();2<=this.Nb&&(a=this.$a/this.Za,d=this.width/this.height,this.bg=2!==this.Nb&&d>a||2===this.Nb&&d<a?this.height/this.Za:this.width/this.$a);this.tm?this.xf[this.tm].ql():this.Ic[0].ql();this.Cl||(this.zf=1,this.trigger(W.prototype.j.Ml,null));navigator.splashscreen&&navigator.splashscreen.hide&&
navigator.splashscreen.hide();a=0;for(d=this.q.length;a<d;a++)b=this.q[a],b.Nr&&b.Nr();this.cb();this.Pb&&AppMobi.webview.execute("onGameReady();")};var f=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;h.prototype.cb=function(){if(this.la){var a=Ta();if(this.qr&&this.$k&&29>a-this.tk)this.$k=!1,this.tk=a,f?this.Gi=f(this.Ri,this.canvas):this.Ti=setTimeout(this.Ri,this.Wd?1:16);else{this.$k=
!0;this.tk=a;var d=this.Nb,b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(b||this.vg)&&0<this.Be&&(d=this.Be);if(0<d&&(!this.rk||window.self!==window.top)){var d=window.innerWidth,e=window.innerHeight;this.Eg===d&&this.Dg===e||this.setSize(d,e)}this.Pa||(b?(this.Qh||(this.Lj=jQuery(this.canvas).css("margin")||"0",this.Qh=!0),this.ug||this.Xd||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.Qh?(this.ug||this.Xd||jQuery(this.canvas).css("margin",this.Lj),this.Lj="",this.Qh=!1,0===this.Nb&&this.setSize(Math.round(this.Gn/this.devicePixelRatio),Math.round(this.Fn/this.devicePixelRatio),!0)):(this.Gn=this.width,this.Fn=this.height));this.vf&&(b=this.Yl(),this.zf=this.Qe,b&&(this.vf=!1,this.Qe=1,this.trigger(W.prototype.j.Ml,null)));this.Lr();!this.ka&&!this.yd||this.pk||this.fh||(this.ka=
!1,this.r?this.ac():this.Fc(),this.Ni&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Ni[0],this.Ni[1]),this.trigger(W.prototype.j.cp,null)),this.Ni=null));this.Vt||(this.Ed++,this.Gj++,this.Uh++);this.Ng+=Ta()-a;this.wg||(f?this.Gi=f(this.Ri,this.canvas):this.Ti=setTimeout(this.Ri,this.Wd?1:16))}}};h.prototype.Lr=function(){var a,d,b,e,f,c,k,l,g;a=Ta();1E3<=a-this.Fg&&(this.Fg+=1E3,this.Kj=this.Uh,this.Uh=0,this.yj=this.Ng,this.Ng=0);this.tn&&(0!==this.hi&&(d=a-this.hi,0!==d||this.Er?
(this.Rd=d/1E3,0.5<this.Rd?this.Rd=0:0.1<this.Rd&&(this.Rd=0.1)):(10<=this.fu&&(this.tn=!1),this.Rd=1/60)),this.hi=a);this.xe=this.Rd*this.Qf;this.gc.add(this.xe);a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.vg;2<=this.Nb||a&&0<this.Be?(d=this.$a/this.Za,b=this.width/this.height,e=this.Nb,a&&0<this.Be&&(e=this.Be),this.bg=2!==e&&b>d||2===e&&b<d?this.height/this.Za:this.width/this.$a,this.la&&(this.la.co(this.la.scrollX),this.la.eo(this.la.scrollY))):
this.bg=this.Fe?this.devicePixelRatio:1;this.lb();this.Gc++;this.jd.os();this.Gc--;this.lb();this.Gc++;a=0;for(d=this.q.length;a<d;a++)if(k=this.q[a],!k.F&&(k.La.length||k.ra.length))for(b=0,e=k.d.length;b<e;b++)for(l=k.d[b],f=0,c=l.M.length;f<c;f++)l.M[f].cb();a=0;for(d=this.q.length;a<d;a++)if(k=this.q[a],!k.F&&(k.La.length||k.ra.length))for(b=0,e=k.d.length;b<e;b++)for(l=k.d[b],f=0,c=l.M.length;f<c;f++)g=l.M[f],g.Un&&g.Un();b=this.Ik.Tf();a=0;for(d=b.length;a<d;a++)b[a].cb();this.Gc--;this.rr();
for(a=0;this.ue&&10>a++;)this.lm(this.ue);a=0;for(d=this.ze.length;a<d;a++)this.ze[a].dk=!1;this.la.Lh&&this.la.Lh.Ua();this.$n.length=0;this.Gc++;a=0;for(d=this.q.length;a<d;a++)if(k=this.q[a],!k.F&&(k.La.length||k.ra.length))for(b=0,e=k.d.length;b<e;b++)for(l=k.d[b],f=0,c=l.M.length;f<c;f++)g=l.M[f],g.wo&&g.wo();b=this.En.Tf();a=0;for(d=b.length;a<d;a++)b[a].wo();this.Gc--};h.prototype.lm=function(a){var d=this.la;this.la.Bs();var b,e,f,k,c,l,g;if(this.r)for(b=0,e=this.q.length;b<e;b++)c=this.q[b],
c.F||!c.Bl||c.global&&0!==c.d.length||-1!==a.sg.indexOf(c)||c.Bl();d==a&&(this.jd.Hb.length=0);a.ql();b=0;for(e=this.q.length;b<e;b++)if(c=this.q[b],c.global||c.za.pl)for(a=0,d=c.d.length;a<d;a++)if(l=c.d[a],l.Lk&&l.Lk(),l.M)for(f=0,k=l.M.length;f<k;f++)g=l.M[f],g.Lk&&g.Lk();this.ka=!0;this.lb()};h.prototype.Si=function(a){this.Ik.add(a)};h.prototype.Sj=function(a){return a&&-1!==a.Qg?this.Rd*a.Qg:this.xe};h.prototype.Fc=function(){this.la.Fc(this.ca);this.Pb&&this.ca.present()};h.prototype.ac=function(){this.la.ac(this.r);
this.r.ds()};h.prototype.Sl=function(a){a&&this.Jh.push(a)};h.prototype.ls=function(a){xa(this.Jh,a)};h.prototype.kg=function(a){return this.Oe[a.toString()]};h.prototype.Jd=function(a){var d,b;if(!this.Uc.contains(a)){this.Uc.add(a);if(a.fc)for(d=0,b=a.siblings.length;d<b;d++)this.Jd(a.siblings[d]);this.lk&&this.Uc.We.push(a);this.Gc++;this.trigger(Object.getPrototypeOf(a.type.za).j.ep,a);this.Gc--}};h.prototype.lb=function(){var a,d,b,e,f,k,c,l,g,p;this.lk=!0;e=0;for(k=this.Db.length;e<k;e++)for(a=
this.Db[e],d=a.type,d.d.push(a),f=0,c=d.ra.length;f<c;f++)d.ra[f].d.push(a),d.ra[f].Of=!0;this.Db.length=0;k=this.Uc.Tf();for(e=0;e<k.length;e++){a=k[e];d=a.type;b=d.d;f=0;for(c=this.Jh.length;f<c;f++)this.Jh[f](a);xa(b,a);0===b.length&&(d.ph=!1);a.Ah&&d.Bh.update(a,a.Ah,null);a.i&&(ua(a.i.d,a.ec()),a.i.Zb=!0);f=0;for(c=d.ra.length;f<c;f++)xa(d.ra[f].d,a),d.ra[f].Of=!0;if(a.M)for(f=0,c=a.M.length;f<c;f++)b=a.M[f],b.Pe&&b.Pe(),b.lc.Gk.remove(a);this.Ik.remove(a);this.En.remove(a);f=0;for(c=this.jd.Hb.length;f<
c;f++)if(g=this.jd.Hb[f],g.zb.hasOwnProperty(d.index)&&xa(g.zb[d.index].xd,a),!d.F)for(b=0,l=d.ra.length;b<l;b++)p=d.ra[b],g.zb.hasOwnProperty(p.index)&&xa(g.zb[p.index].xd,a);a.Pe&&a.Pe();this.Oe.hasOwnProperty(a.uid.toString())&&delete this.Oe[a.uid.toString()];this.wi--;64>d.Hh.length&&d.Hh.push(a);d.Of=!0}this.Uc.Vd()||(this.ka=!0);this.Uc.clear();this.lk=!1};h.prototype.hm=function(a,d,b,f){if(a.F){var e=R(Math.random()*a.Ef.length);return this.hm(a.Ef[e],d,b,f)}return a.oc?this.Qd(a.oc,d,!1,
b,f,!1):null};var l=[];h.prototype.Qd=function(a,d,b,f,e,c){var k,g,p,h;if(!a)return null;var m=this.q[a[1]],K=m.za.Yd;if(this.vf&&K&&!m.mk||K&&!this.r&&11===a[0][11])return null;var q=d;K||(d=null);var s;m.Hh.length?(s=m.Hh.pop(),s.jc=!0,m.za.Fa.call(s,m)):(s=new m.za.Fa(m),s.jc=!1);s.uid=b&&!c?a[2]:this.Rg++;this.Oe[s.uid.toString()]=s;s.Xn=this.An++;s.De=m.d.length;k=0;for(g=this.Db.length;k<g;++k)this.Db[k].type===m&&s.De++;s.ng=wb;p=a[3];if(s.jc)Sa(s.X);else{s.X={};if("undefined"!==typeof cr_is_preview)for(s.Mm=
[],s.Mm.length=p.length,k=0,g=p.length;k<g;k++)s.Mm[k]=p[k][1];s.Ra=[];s.Ra.length=p.length}k=0;for(g=p.length;k<g;k++)s.Ra[k]=p[k][0];if(K){var v=a[0];s.x=ea(f)?v[0]:f;s.y=ea(e)?v[1]:e;s.z=v[2];s.width=v[3];s.height=v[4];s.depth=v[5];s.k=v[6];s.opacity=v[7];s.Fb=v[8];s.Gb=v[9];s.Ab=v[10];k=v[11];!this.r&&m.I.length&&(s.Ab=k);s.eg=Ya(s.Ab);this.p&&Za(s,s.Ab,this.p);if(s.jc){k=0;for(g=v[12].length;k<g;k++)for(p=0,h=v[12][k].length;p<h;p++)s.Ca[k][p]=v[12][k][p];s.Aa.set(0,0,0,0);s.Ah.set(0,0,-1,-1);
s.ub.bh(s.Aa);s.rj.length=0}else{s.Ca=v[12].slice(0);k=0;for(g=s.Ca.length;k<g;k++)s.Ca[k]=v[12][k].slice(0);s.W=[];s.Ld=[];s.Ld.length=m.I.length;s.Aa=new oa(0,0,0,0);s.Ah=new oa(0,0,-1,-1);s.ub=new sa;s.rj=[];s.D=Ab;s.Pt=Bb;s.Lb=Cb;s.wa=Db;s.Lo=Eb;s.ec=Fb}s.ih=!1;s.Fs=0;s.Es=0;s.Ds=null;14===v.length&&(s.ih=!0,s.Fs=v[13][0],s.Es=v[13][1],s.Ds=v[13][2]);k=0;for(g=m.I.length;k<g;k++)s.Ld[k]=!0;s.Gd=Gb;s.Gd();s.Mo=!!s.W.length;s.qj=!0;s.uj=!0;m.oh=!0;s.visible=!0;s.Qg=-1;s.i=d;s.Xe=d.d.length;"undefined"===
typeof s.Z&&(s.Z=null);this.ka=s.pd=!0}s.toString=xb;var t;k=l.length=0;for(g=m.ra.length;k<g;k++)l.push.apply(l,m.ra[k].La);l.push.apply(l,m.La);if(s.jc)for(k=0,g=l.length;k<g;k++){var E=l[k];t=s.M[k];t.jc=!0;E.lc.Fa.call(t,E,s);v=a[4][k];p=0;for(h=v.length;p<h;p++)t.B[p]=v[p];t.ja();E.lc.Gk.add(s)}else for(s.M=[],k=0,g=l.length;k<g;k++)E=l[k],t=new E.lc.Fa(E,s),t.jc=!1,t.B=a[4][k].slice(0),t.ja(),s.M.push(t),E.lc.Gk.add(s);v=a[5];if(s.jc)for(k=0,g=v.length;k<g;k++)s.B[k]=v[k];else s.B=v.slice(0);
this.Db.push(s);d&&(d.d.push(s),1!==d.wc||1!==d.xc)&&(m.ph=!0);this.wi++;if(m.fc){if(s.fc=!0,s.jc?s.siblings.length=0:s.siblings=[],!b&&!c){k=0;for(g=m.Cb.length;k<g;k++)if(m.Cb[k]!==m){if(!m.Cb[k].oc)return null;s.siblings.push(this.Qd(m.Cb[k].oc,q,!1,K?s.x:f,K?s.y:e,!0))}k=0;for(g=s.siblings.length;k<g;k++)for(s.siblings[k].siblings.push(s),p=0;p<g;p++)k!==p&&s.siblings[k].siblings.push(s.siblings[p])}}else s.fc=!1,s.siblings=null;s.ja();k=0;for(g=s.M.length;k<g;k++)s.M[k].cs&&s.M[k].cs();return s};
h.prototype.Wj=function(a){var d,b;d=0;for(b=this.la.U.length;d<b;d++){var k=this.la.U[d];if(cb(k.name,a))return k}return null};h.prototype.jg=function(a){a=R(a);0>a&&(a=0);a>=this.la.U.length&&(a=this.la.U.length-1);return this.la.U[a]};h.prototype.xj=function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].ea().pa=!0};h.prototype.Xg=function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].Xg()};h.prototype.Wk=function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].Wk()};h.prototype.Jf=function(a){var d,b;d=0;
for(b=a.length;d<b;d++)a[d].Jf()};h.prototype.Go=function(a){if(a.oh){var d,b,k=a.d;d=0;for(b=k.length;d<b;++d)k[d].Lo();k=this.Db;d=0;for(b=k.length;d<b;++d)k[d].type===a&&k[d].Lo();a.oh=!1}};h.prototype.xm=function(a,d,b,k){var f,e,c=a?1!==a.wc||1!==a.xc:!1;if(d.F)for(a=0,f=d.Ef.length;a<f;++a)e=d.Ef[a],c||e.ph?wa(k,e.d):(this.Go(e),e.Bh.Yn(b,k));else c||d.ph?wa(k,d.d):(this.Go(d),d.Bh.Yn(b,k))};h.prototype.Em=function(a,d,b,k){var e,f;e=0;for(f=d.length;e<f;++e)this.xm(a,d[e],b,k)};h.prototype.br=
function(a,d,b){var k=this.po;k&&this.Em(a,k.vi,d,b)};h.prototype.Vq=function(a,d,b){var k=this.Ym;k&&this.Em(a,k.vi,d,b)};h.prototype.Cs=function(a,d,b){var k=a.ea(),e,f,c,l,g,p;if(k.pa)for(k.pa=!1,e=k.d.length=0,l=a.d.length;e<l;e++)c=a.d[e],c.wa(),g=c.i.Kb(d,b,!0),p=c.i.Kb(d,b,!1),c.Lb(g,p)&&k.d.push(c);else{e=f=0;for(l=k.d.length;e<l;e++)c=k.d[e],c.wa(),g=c.i.Kb(d,b,!0),p=c.i.Kb(d,b,!1),c.Lb(g,p)&&(k.d[f]=k.d[e],f++);k.d.length=f}a.Md();return k.ck()};h.prototype.Bc=function(a,d){if(!(a&&d&&a!==
d&&a.pd&&d.pd))return!1;a.wa();d.wa();var b=a.i,k=d.i,e,f,c,l,g,p,m,h;if(b===k||b.wc===k.wc&&k.xc===k.xc&&b.scale===k.scale&&b.k===k.k&&b.Qc===k.Qc){if(!a.Aa.yr(d.Aa)||!a.ub.Nm(d.ub)||a.ih&&d.ih)return!1;if(a.ih)return this.so(a,d);if(d.ih)return this.so(d,a);m=a.Z&&!a.Z.sf();e=d.Z&&!d.Z.sf();if(!m&&!e)return!0;m?(a.Z.ef(a.width,a.height,a.k),m=a.Z):(this.Oc.Mf(a.ub,a.x,a.y,a.width,a.height),m=this.Oc);e?(d.Z.ef(d.width,d.height,d.k),h=d.Z):(this.Oc.Mf(d.ub,d.x,d.y,d.width,d.height),h=this.Oc);return m.tg(h,
d.x-a.x,d.y-a.y)}m=a.Z&&!a.Z.sf();e=d.Z&&!d.Z.sf();m?(a.Z.ef(a.width,a.height,a.k),this.Oc.io(a.Z)):this.Oc.Mf(a.ub,a.x,a.y,a.width,a.height);m=this.Oc;e?(d.Z.ef(d.width,d.height,d.k),this.rl.io(d.Z)):this.rl.Mf(d.ub,d.x,d.y,d.width,d.height);h=this.rl;e=0;for(f=m.Lc;e<f;e++)c=2*e,l=c+1,g=m.Sa[c],p=m.Sa[l],m.Sa[c]=b.ma(g+a.x,p+a.y,!0),m.Sa[l]=b.ma(g+a.x,p+a.y,!1);m.wa();e=0;for(f=h.Lc;e<f;e++)c=2*e,l=c+1,g=h.Sa[c],p=h.Sa[l],h.Sa[c]=k.ma(g+d.x,p+d.y,!0),h.Sa[l]=k.ma(g+d.x,p+d.y,!1);h.wa();return m.tg(h,
0,0)};var g=new sa;new oa(0,0,0,0);var p=[];h.prototype.so=function(a,d){var b,k,e,f,c=d.Aa,l=a.x,m=a.y;a.Rt(c,p);var h=d.Z&&!d.Z.sf();b=0;for(k=p.length;b<k;++b)if(e=p[b],f=e.$t,c.Ar(f,l,m)&&(g.bh(f),g.offset(l,m),g.Nm(d.ub)))if(h)if(d.Z.ef(d.width,d.height,d.k),e.Tk){if(e.Tk.tg(d.Z,d.x-(l+f.left),d.y-(m+f.top)))return p.length=0,!0}else{if(this.Oc.Mf(g,0,0,f.right-f.left,f.bottom-f.top),this.Oc.tg(d.Z,d.x,d.y))return p.length=0,!0}else if(e.Tk){if(this.Oc.Mf(d.ub,0,0,d.width,d.height),e.Tk.tg(this.Oc,
-(l+f.left),-(m+f.top)))return p.length=0,!0}else return p.length=0,!0;p.length=0;return!1};h.prototype.Co=function(a,d){if(!d)return!1;var b,k,e,f,c;b=0;for(k=a.La.length;b<k;b++)if(a.La[b].lc instanceof d)return!0;if(!a.F)for(b=0,k=a.ra.length;b<k;b++)for(c=a.ra[b],e=0,f=c.La.length;e<f;e++)if(c.La[e].lc instanceof d)return!0;return!1};h.prototype.Do=function(a){return this.Co(a,Ub.mt)};h.prototype.Al=function(a){return this.Co(a,Ub.nt)};var k=[];h.prototype.Wb=function(a){var d,b,e;a.wa();this.br(a.i,
a.Aa,k);d=0;for(b=k.length;d<b;++d)if(e=k[d],e.X.cu&&this.Bc(a,e))return k.length=0,e;k.length=0;return null};var K=[];h.prototype.ne=function(a,d){var b=null;d&&(b=K,b.length=0);a.wa();this.Vq(a.i,a.Aa,k);var e,f,c;e=0;for(f=k.length;e<f;++e)if(c=k[e],c.X.Wt&&this.Bc(a,c))if(d)b.push(c);else return k.length=0,c;k.length=0;return b};h.prototype.cd=function(a,d,b,k,e,f){k=k||50;var c=a.x,l=a.y,g,p=null,m=null;for(g=0;g<k;g++)if(a.x=c+d*g,a.y=l+b*g,a.D(),!this.Bc(a,p)&&((p=this.Wb(a))&&(m=p),!p&&(e&&
(p=f?this.Bc(a,f)?f:null:this.ne(a))&&(m=p),!p)))return m&&this.Yk(a,d,b,m),!0;a.x=c;a.y=l;a.D();return!1};h.prototype.Yk=function(a,d,b,k){var e=2,f,c=!1;f=!1;for(var l=a.x,g=a.y;16>=e;)f=1/e,e*=2,a.x+=d*f*(c?1:-1),a.y+=b*f*(c?1:-1),a.D(),this.Bc(a,k)?f=c=!0:(f=c=!1,l=a.x,g=a.y);f&&(a.x=l,a.y=g,a.D())};h.prototype.hs=function(a,d){var b=ea(d)?100:d,k=0,e=a.x,f=a.y,c=0,l=0,g=0,p=this.Wb(a);if(!p)return!0;for(;k<=b;){switch(c){case 0:l=0;g=-1;k++;break;case 1:l=1;g=-1;break;case 2:l=1;g=0;break;case 3:g=
l=1;break;case 4:l=0;g=1;break;case 5:l=-1;g=1;break;case 6:l=-1;g=0;break;case 7:g=l=-1}c=(c+1)%8;a.x=R(e+l*k);a.y=R(f+g*k);a.D();if(!this.Bc(a,p)&&(p=this.Wb(a),!p))return!0}a.x=e;a.y=f;a.D();return!1};h.prototype.Yg=function(a,d){a.pd&&d.pd&&this.$n.push([a,d])};var s=[],v=-1;h.prototype.trigger=function(a,d,b){if(!this.la)return!1;var k=this.la.Lh;if(!k)return!1;v++;v===s.length?s.push(new da):s[v].clear();a=this.zo(a,d,k,b);v--;return a};h.prototype.zo=function(a,d,b,k){var e=s[v];if(e.contains(b))return!1;
e.add(b);var e=b.Im.Tf(),f=!1,c,l,g;c=0;for(l=e.length;c<l;c++)e[c].Br()&&(g=this.zo(a,d,e[c].rg,k),f=f||g);if(d)for(g=this.yl(a,d,d.type.name,b,k),f=f||g,c=0,l=d.type.ra.length;c<l;c++)g=this.yl(a,d,d.type.ra[c].name,b,k),f=f||g;else g=this.yl(a,d,"system",b,k),f=f||g;return f};h.prototype.yl=function(a,d,b,k,e){var f,c=!1,l=!1,l="undefined"!==typeof e,g=(l?k.pm:k.Ao)[b];if(!g)return c;var p=null;k=0;for(f=g.length;k<f;k++)if(g[k].method==a){p=g[k].Nh;break}if(!p)return c;a=l?p[e]:p;if(!a)return null;
k=0;for(f=a.length;k<f;k++)e=a[k][0],l=a[k][1],l=this.Iq(d,b,e,l),c=c||l;return c};h.prototype.Iq=function(a,d,b,k){var e,f,c=!1;this.zl++;var l=this.wb().Mb;l&&this.Xg(l.ie);var g=1<this.zl;this.Xg(b.ie);g&&this.gs();var p=this.Xk(b);p.Mb=b;a&&(e=this.types[d].ea(),e.pa=!1,e.d.length=1,e.d[0]=a,this.types[d].Md());a=!0;if(b.parent){d=p.ro;for(e=b.parent;e;)d.push(e),e=e.parent;d.reverse();e=0;for(f=d.length;e<f;e++)if(!d[e].rs()){a=!1;break}}a&&(this.Gj++,b.Jc?b.qs(k):b.Ua(),c=c||p.Je);this.Sn();
g&&this.bs();this.Jf(b.ie);l&&this.Jf(l.ie);0!==this.Gc||0!==v||this.ok||this.Uc.Vd()&&!this.Db.length||this.lb();this.zl--;return c};h.prototype.Rj=function(){var a=this.wb();return a.Mb.Ga[a.Bb]};h.prototype.gs=function(){this.si++;this.si>=this.Bk.length&&this.Bk.push([])};h.prototype.bs=function(){this.si--};h.prototype.ym=function(){return this.Bk[this.si]};h.prototype.Xk=function(a){this.Mh++;this.Mh>=this.Ej.length&&this.Ej.push(new Hb);var d=this.wb();d.reset(a);return d};h.prototype.Sn=function(){this.Mh--};
h.prototype.wb=function(){return this.Ej[this.Mh]};h.prototype.Qq=function(){return this.Mr[this.sn]};h.prototype.zm=function(a,d){for(var b,k,e,f,c,l;d;){b=0;for(k=d.Ac.length;b<k;b++)if(l=d.Ac[b],l instanceof Ib&&cb(a,l.name))return l;d=d.parent}b=0;for(k=this.ze.length;b<k;b++)for(c=this.ze[b],e=0,f=c.Td.length;e<f;e++)if(l=c.Td[e],l instanceof Ib&&cb(a,l.name))return l;return null};h.prototype.Bm=function(a){var d,b;d=0;for(b=this.Ic.length;d<b;d++)if(this.Ic[d].S===a)return this.Ic[d];return null};
h.prototype.Xh=function(a){var d,b;d=0;for(b=this.q.length;d<b;d++)if(this.q[d].S===a)return this.q[d];return null};h.prototype.Sq=function(a){var d,b;d=0;for(b=this.df.length;d<b;d++)if(this.df[d].S===a)return this.df[d];return null};h.prototype.rr=function(){var a=this,d=this.jl,k=this.Ad,e=this.oi,f=!1;this.no&&(f=!0,d="__c2_continuouspreview",this.no=!1);if(d.length){this.lb();k=this.vs();if(window.indexedDB&&!this.yd)c(d,k,function(){N("Saved state to IndexedDB storage ("+k.length+" bytes)");
a.Ad=k;a.trigger(W.prototype.j.lj,null);a.Ad="";f&&b()},function(e){try{localStorage.setItem("__c2save_"+d,k),N("Saved state to WebStorage ("+k.length+" bytes)"),a.Ad=k,a.trigger(W.prototype.j.lj,null),a.Ad="",f&&b()}catch(c){N("Failed to save game state: "+e+"; "+c)}});else try{localStorage.setItem("__c2save_"+d,k),N("Saved state to WebStorage ("+k.length+" bytes)"),a.Ad=k,this.trigger(W.prototype.j.lj,null),a.Ad="",f&&b()}catch(l){N("Error saving to WebStorage: "+l)}this.yb=this.oi=this.jl=""}e.length&&
(window.indexedDB&&!this.yd?m(e,function(d){d?(a.yb=d,N("Loaded state from IndexedDB storage ("+a.yb.length+" bytes)")):(a.yb=localStorage.getItem("__c2save_"+e)||"",N("Loaded state from WebStorage ("+a.yb.length+" bytes)"));a.fh=!1;a.yb.length||a.trigger(W.prototype.j.jj,null)},function(){a.yb=localStorage.getItem("__c2save_"+e)||"";N("Loaded state from WebStorage ("+a.yb.length+" bytes)");a.fh=!1;a.yb.length||a.trigger(W.prototype.j.jj,null)}):(this.yb=localStorage.getItem("__c2save_"+e)||"",N("Loaded state from WebStorage ("+
this.yb.length+" bytes)"),this.fh=!1,a.yb.length||a.trigger(W.prototype.j.jj,null)),this.jl=this.oi="");this.yb.length&&(this.lb(),this.Kr(this.yb),this.Ad=this.yb,this.trigger(W.prototype.j.jp,null),this.yb=this.Ad="")};h.prototype.vs=function(){var b,d,k,e,f,c,l,g={c2save:!0,version:1,rt:{time:this.gc.Ka,timescale:this.Qf,tickcount:this.Ed,execcount:this.Gj,next_uid:this.Rg,running_layout:this.la.S,start_time_offset:Date.now()-this.Oi},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};
b=0;for(d=this.q.length;b<d;b++)if(f=this.q[b],!f.F&&!this.Do(f)){c={instances:[]};Ra(f.X)&&(c.ex=a(f.X));k=0;for(e=f.d.length;k<e;k++)c.instances.push(this.il(f.d[k]));g.types[f.S.toString()]=c}b=0;for(d=this.Ic.length;b<d;b++)k=this.Ic[b],g.layouts[k.S.toString()]=k.Ub();e=g.events.groups;b=0;for(d=this.df.length;b<d;b++)k=this.df[b],e[k.S.toString()]=!!this.ag[k.pg];d=g.events.cnds;for(l in this.ff)this.ff.hasOwnProperty(l)&&(b=this.ff[l],Ra(b.X)&&(d[l]={ex:a(b.X)}));d=g.events.acts;for(l in this.cf)this.cf.hasOwnProperty(l)&&
(b=this.cf[l],Ra(b.X)&&(d[l]={ex:b.X}));d=g.events.vars;for(l in this.Uf)this.Uf.hasOwnProperty(l)&&(b=this.Uf[l],b.ci||b.parent&&!b.yg||(d[l]=b.data));g.system=this.jd.Ub();return JSON.stringify(g)};h.prototype.Zn=function(){var a,d,b,k,e,f;this.Oe={};a=0;for(d=this.q.length;a<d;a++)if(b=this.q[a],!b.F)for(k=0,e=b.d.length;k<e;k++)f=b.d[k],this.Oe[f.uid.toString()]=f};h.prototype.Kr=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var d=a.rt;this.gc.reset();this.gc.Ka=d.time;this.Qf=d.timescale;
this.Ed=d.tickcount;this.Oi=Date.now()-d.start_time_offset;var b=d.running_layout;if(b!==this.la.S)if(b=this.Bm(b))this.lm(b);else return;var k,e,f,c,l,g,p;g=a.types;for(e in g)if(g.hasOwnProperty(e)&&(c=this.Xh(parseInt(e,10)))&&!c.F&&!this.Do(c)){g[e].ex?c.X=g[e].ex:Sa(c.X);l=c.d;f=g[e].instances;b=0;for(k=ja(l.length,f.length);b<k;b++)this.pi(l[b],f[b]);b=f.length;for(k=l.length;b<k;b++)this.Jd(l[b]);b=l.length;for(k=f.length;b<k;b++){l=null;if(c.za.Yd&&(l=this.la.Wh(f[b].w.l),!l))continue;l=this.Qd(c.oc,
l,!1,0,0,!0);this.pi(l,f[b])}c.Of=!0}this.lb();this.Zn();k=a.layouts;for(e in k)k.hasOwnProperty(e)&&(b=this.Bm(parseInt(e,10)))&&b.tc(k[e]);k=a.events.groups;for(e in k)k.hasOwnProperty(e)&&(b=this.Sq(parseInt(e,10)))&&(this.ag[b.pg]=k[e]);b=a.events.cnds;for(e in b)b.hasOwnProperty(e)&&this.ff.hasOwnProperty(e)&&(this.ff[e].X=b[e].ex);b=a.events.acts;for(e in b)b.hasOwnProperty(e)&&this.cf.hasOwnProperty(e)&&(this.cf[e].X=b[e].ex);b=a.events.vars;for(e in b)b.hasOwnProperty(e)&&this.Uf.hasOwnProperty(e)&&
(this.Uf[e].data=b[e]);this.Rg=d.next_uid;this.jd.tc(a.system);b=0;for(k=this.q.length;b<k;b++)if(c=this.q[b],!c.F)for(e=0,a=c.d.length;e<a;e++){l=c.d[e];if(c.fc)for(g=l.ng(),d=l.siblings.length=0,f=c.Cb.length;d<f;d++)p=c.Cb[d],c!==p&&l.siblings.push(p.d[g]);l.Sc&&l.Sc();if(l.M)for(d=0,f=l.M.length;d<f;d++)g=l.M[d],g.Sc&&g.Sc()}this.ka=!0}};h.prototype.il=function(b,d){var k,e,f,c,l;c=b.type;f=c.za;var g={};d?g.c2=!0:g.uid=b.uid;Ra(b.X)&&(g.ex=a(b.X));if(b.Ra&&b.Ra.length)for(g.ivs={},k=0,e=b.Ra.length;k<
e;k++)g.ivs[b.type.jk[k].toString()]=b.Ra[k];if(f.Yd){f={x:b.x,y:b.y,w:b.width,h:b.height,l:b.i.S,zi:b.ec()};0!==b.k&&(f.a=b.k);1!==b.opacity&&(f.o=b.opacity);0.5!==b.Fb&&(f.hX=b.Fb);0.5!==b.Gb&&(f.hY=b.Gb);0!==b.Ab&&(f.bm=b.Ab);b.visible||(f.v=b.visible);b.pd||(f.ce=b.pd);-1!==b.Qg&&(f.mts=b.Qg);if(c.I.length)for(f.fx=[],k=0,e=c.I.length;k<e;k++)l=c.I[k],f.fx.push({name:l.name,active:b.Ld[l.index],params:b.Ca[l.index]});g.w=f}if(b.M&&b.M.length)for(g.behs={},k=0,e=b.M.length;k<e;k++)c=b.M[k],c.Ub&&
(g.behs[c.type.S.toString()]=c.Ub());b.Ub&&(g.data=b.Ub());return g};h.prototype.Uq=function(a,d){var b,k;b=0;for(k=a.jk.length;b<k;b++)if(a.jk[b]===d)return b;return-1};h.prototype.Pq=function(a,b){var k,e;k=0;for(e=a.M.length;k<e;k++)if(a.M[k].type.S===b)return k;return-1};h.prototype.pi=function(a,b,k){var e,f,c,l,g;g=a.type;c=g.za;if(k){if(!b.c2)return}else a.uid=b.uid;b.ex?a.X=b.ex:Sa(a.X);if(f=b.ivs)for(e in f)f.hasOwnProperty(e)&&(k=this.Uq(g,parseInt(e,10)),0>k||k>=a.Ra.length||(a.Ra[k]=f[e]));
if(c.Yd){c=b.w;a.i.S!==c.l&&(k=a.i,a.i=this.la.Wh(c.l),a.i?(a.i.d.push(a),a.i.Zb=!0,xa(k.d,a),k.Zb=!0):(a.i=k,this.Jd(a)));a.x=c.x;a.y=c.y;a.width=c.w;a.height=c.h;a.Xe=c.zi;a.k=c.hasOwnProperty("a")?c.a:0;a.opacity=c.hasOwnProperty("o")?c.o:1;a.Fb=c.hasOwnProperty("hX")?c.hX:0.5;a.Gb=c.hasOwnProperty("hY")?c.hY:0.5;a.visible=c.hasOwnProperty("v")?c.v:!0;a.pd=c.hasOwnProperty("ce")?c.ce:!0;a.Qg=c.hasOwnProperty("mts")?c.mts:-1;a.Ab=c.hasOwnProperty("bm")?c.bm:0;a.eg=Ya(a.Ab);this.p&&Za(a,a.Ab,this.p);
a.D();if(c.hasOwnProperty("fx"))for(k=0,f=c.fx.length;k<f;k++)l=g.Uj(c.fx[k].name),0>l||(a.Ld[l]=c.fx[k].active,a.Ca[l]=c.fx[k].params);a.Gd()}if(g=b.behs)for(e in g)g.hasOwnProperty(e)&&(c=this.Pq(a,parseInt(e,10)),0>c||a.M[c].tc(g[e]));b.data&&a.tc(b.data)};Jb=function(a){return new h(document.getElementById(a))};Kb=function(a,b){return new h({dc:!0,width:a,height:b})};window.cr_createRuntime=Jb;window.cr_createDCRuntime=Kb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||
document.createElement("canvas");a.bu=!0;document.body.appendChild(a);a=new h(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 h=document.getElementById("c2canvas");return h?h.c2runtime:window.c2runtime?window.c2runtime:null};
window.cr_sizeCanvas=function(h,q){if(0!==h&&0!==q){var c=window.cr_getC2Runtime();c&&c.setSize(h,q)}};window.cr_setSuspended=function(h){var q=window.cr_getC2Runtime();q&&q.setSuspended(h)};
(function(){function h(b,a){this.b=b;this.Lh=null;this.scrollX=this.b.$a/2;this.scrollY=this.b.Za/2;this.scale=1;this.k=0;this.ig=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.Eo=a[3];this.lo=a[4];this.S=a[5];var e=a[6],f,c;this.U=[];this.sg=[];f=0;for(c=e.length;f<c;f++){var g=new Lb(this,e[f]);g.Cn=f;this.U.push(g)}e=a[7];this.Ee=[];f=0;for(c=e.length;f<c;f++){var g=e[f],p=this.b.q[g[1]];p.oc||(p.oc=g);this.Ee.push(g);-1===this.sg.indexOf(p)&&this.sg.push(p)}this.I=[];this.W=[];this.Ca=
[];f=0;for(c=a[8].length;f<c;f++)this.I.push({id:a[8][f][0],name:a[8][f][1],ib:-1,md:!0,index:f}),this.Ca.push(a[8][f][2].slice(0));this.Gd();this.fe=new oa(0,0,1,1);this.al=new oa(0,0,1,1);this.ee={}}function q(b,a){this.na=b;this.b=b.b;this.d=[];this.scale=1;this.k=0;this.we=!1;this.Fd=new oa(0,0,0,0);this.xo=new sa;this.Xb=this.kb=this.Yb=this.jb=0;this.Zb=!1;this.name=a[0];this.index=a[1];this.S=a[2];this.visible=a[3];this.Od=a[4];this.Ve=a[5];this.wc=a[6];this.xc=a[7];this.opacity=a[8];this.Jj=
a[9];this.Qc=a[10];this.Ab=a[11];this.iq=a[12];this.eg="source-over";this.qb=this.rb=0;this.ge=!1;var e=a[13],f,c;this.of=[];f=0;for(c=e.length;f<c;f++){var g=e[f],p=this.b.q[g[1]];p.oc||(p.oc=g,p.Tp=this.index);this.of.push(g);-1===this.na.sg.indexOf(p)&&this.na.sg.push(p)}this.I=[];this.W=[];this.Ca=[];f=0;for(c=a[14].length;f<c;f++)this.I.push({id:a[14][f][0],name:a[14][f][1],ib:-1,md:!0,index:f}),this.Ca.push(a[14][f][2].slice(0));this.Gd();this.fe=new oa(0,0,1,1);this.al=new oa(0,0,1,1)}function c(b,
a){return b.Xe-a.Xe}h.prototype.us=function(b){var a=b.type.S.toString();this.ee.hasOwnProperty(a)||(this.ee[a]=[]);this.ee[a].push(this.b.il(b))};h.prototype.Fm=function(){var b=this.U[0];return!b.Ve&&1===b.opacity&&!b.Jj&&b.visible};h.prototype.Gd=function(){this.W.length=0;var b,a,e;b=0;for(a=this.I.length;b<a;b++)e=this.I[b],e.md&&this.W.push(e)};h.prototype.Tj=function(b){var a,e,f;a=0;for(e=this.I.length;a<e;a++)if(f=this.I[a],f.name===b)return f;return null};var m=[];h.prototype.ql=function(){this.lo&&
(this.Lh=this.b.Fj[this.lo]);this.b.la=this;this.scrollX=this.b.$a/2;this.scrollY=this.b.Za/2;var b,a,e,f,l,g,p;b=0;for(e=this.b.q.length;b<e;b++)if(a=this.b.q[b],!a.F)for(l=a.d,a=0,f=l.length;a<f;a++)if(g=l[a],g.i){var k=g.i.Cn;k>=this.U.length&&(k=this.U.length-1);g.i=this.U[k];g.i.d.push(g);g.i.Zb=!0}m.length=0;this.Ip();b=0;for(e=this.U.length;b<e;b++)g=this.U[b],g.Qp(),g.we=!0,a=g.Kb(0,0,!0,!0),f=g.Kb(0,0,!1,!0),g.we=!1,this.b.bd&&(a=a+0.5|0,f=f+0.5|0),g.dl(a,f,null);l=!1;if(!this.ig){for(p in this.ee)if(this.ee.hasOwnProperty(p)&&
(a=this.b.Xh(parseInt(p,10)))&&!a.F&&this.b.Al(a)){f=this.ee[p];b=0;for(e=f.length;b<e;b++){g=null;if(a.za.Yd&&(g=this.Wh(f[b].w.l),!g))continue;g=this.b.Qd(a.oc,g,!1,0,0,!0);this.b.pi(g,f[b]);l=!0;m.push(g)}f.length=0}b=0;for(e=this.U.length;b<e;b++)this.U[b].d.sort(c),this.U[b].Zb=!0}l&&(this.b.lb(),this.b.Zn());for(b=0;b<m.length;b++)if(g=m[b],g.type.fc)for(e=g.ng(),a=0,f=g.type.Cb.length;a<f;a++)p=g.type.Cb[a],g.type!==p&&(p.d.length>e?g.siblings.push(p.d[e]):p.oc&&(l=this.b.Qd(p.oc,g.i,!0,g.x,
g.y,!0),this.b.lb(),p.Xi(),g.siblings.push(l),m.push(l)));b=0;for(e=this.Ee.length;b<e;b++)this.b.Qd(this.Ee[b],null,!0);this.b.ue=null;this.b.lb();if(this.b.ca&&!this.b.Pa)for(b=0,e=this.b.q.length;b<e;b++)p=this.b.q[b],!p.F&&p.d.length&&p.Uk&&p.Uk(this.b.ca);b=0;for(e=m.length;b<e;b++)g=m[b],this.b.trigger(Object.getPrototypeOf(g.type.za).j.gj,g);m.length=0;this.b.trigger(W.prototype.j.ij,null);this.ig=!1};h.prototype.Pp=function(){var b,a,e,f,c;a=b=0;for(e=this.Ee.length;b<e;b++)f=this.Ee[b],c=
this.b.q[f[1]],c.global?this.b.Qd(f,null,!0):(this.Ee[a]=f,a++);this.Ee.length=a};h.prototype.Bs=function(){this.b.trigger(W.prototype.j.ip,null);this.b.jd.Hb.length=0;var b,a,e,f,c,g;b=0;for(a=this.U.length;b<a;b++){c=this.U[b].d;e=0;for(f=c.length;e<f;e++)g=c[e],g.type.global||(this.b.Al(g.type)&&this.us(g),this.b.Jd(g));this.b.lb();c.length=0;this.U[b].Zb=!0}b=0;for(a=this.b.q.length;b<a;b++)if(c=this.b.q[b],!(c.global||c.za.Yd||c.za.pl||c.F)){e=0;for(f=c.d.length;e<f;e++)this.b.Jd(c.d[e]);this.b.lb()}};
h.prototype.Fc=function(b){var a,e=b,c=!1,l=!this.b.qc;l&&(this.b.mi||(this.b.mi=document.createElement("canvas"),a=this.b.mi,a.width=this.b.O,a.height=this.b.N,this.b.on=a.getContext("2d"),c=!0),a=this.b.mi,e=this.b.on,a.width!==this.b.O&&(a.width=this.b.O,c=!0),a.height!==this.b.N&&(a.height=this.b.N,c=!0),c&&(e.webkitImageSmoothingEnabled=this.b.Y,e.mozImageSmoothingEnabled=this.b.Y,e.msImageSmoothingEnabled=this.b.Y,e.imageSmoothingEnabled=this.b.Y));e.globalAlpha=1;e.globalCompositeOperation=
"source-over";this.b.oj&&!this.Fm()&&e.clearRect(0,0,this.b.O,this.b.N);var g,p,c=0;for(g=this.U.length;c<g;c++)p=this.U[c],p.visible&&0<p.opacity&&11!==p.Ab&&p.Fc(e);l&&b.drawImage(a,0,0,this.b.width,this.b.height)};h.prototype.ac=function(b){var a=0<this.W.length||this.b.Sf||!this.b.qc;if(a){this.b.Qb||(this.b.Qb=b.qd(this.b.O,this.b.N,this.b.Y));if(this.b.Qb.dg!==this.b.O||this.b.Qb.cg!==this.b.N)b.deleteTexture(this.b.Qb),this.b.Qb=b.qd(this.b.O,this.b.N,this.b.Y);b.gd(this.b.Qb);this.b.qc||b.Lf(this.b.O,
this.b.N)}else this.b.Qb&&(b.gd(null),b.deleteTexture(this.b.Qb),this.b.Qb=null);this.b.oj&&!this.Fm()&&b.clear(0,0,0,0);var e,c;e=0;for(c=this.U.length;e<c;e++)this.U[e].visible&&0<this.U[e].opacity&&this.U[e].ac(b);a&&(0===this.W.length||1===this.W.length&&this.b.qc?(1===this.W.length?(a=this.W[0].index,b.hd(this.W[0].ib),b.Kf(null,1/this.b.O,1/this.b.N,0,0,1,1,this.scale,this.k,0,0,this.Ca[a]),b.Ei(this.W[0].ib)&&(this.b.ka=!0)):b.hd(0),this.b.qc||b.Lf(this.b.width,this.b.height),b.gd(null),b.Te(1),
b.Vb(this.b.Qb),b.fo(),b.ed(),b.kd(),a=this.b.width/2,e=this.b.height/2,b.Fi(-a,e,a,e,a,-e,-a,-e),b.Vb(null)):this.bl(b,null,null,null))};h.prototype.lg=function(){return 0<this.W.length||this.b.Sf||!this.b.qc?this.b.Qb:null};h.prototype.Cm=function(){var b=this.U[0].Eb(),a,e,c;a=1;for(e=this.U.length;a<e;a++)c=this.U[a],(0!==c.wc||0!==c.xc)&&c.Eb()<b&&(b=c.Eb());return b};h.prototype.co=function(b){if(!this.Eo){var a=this.b.O*(1/this.Cm())/2;b>this.width-a&&(b=this.width-a);b<a&&(b=a)}this.scrollX!==
b&&(this.scrollX=b,this.b.ka=!0)};h.prototype.eo=function(b){if(!this.Eo){var a=this.b.N*(1/this.Cm())/2;b>this.height-a&&(b=this.height-a);b<a&&(b=a)}this.scrollY!==b&&(this.scrollY=b,this.b.ka=!0)};h.prototype.Ip=function(){this.co(this.scrollX);this.eo(this.scrollY)};h.prototype.bl=function(b,a,e,c){var l=e?e.W:a?a.W:this.W,g=1,p=0,k=0,m=0;e?(g=e.i.Eb(),p=e.i.Oa(),k=e.i.jb,m=e.i.kb):a&&(g=a.Eb(),p=a.Oa(),k=a.jb,m=a.kb);var h=this.b.Mj,q,n,d,r,z=0,B=1,F,G=this.b.O,I=this.b.N,ba=G/2,T=I/2,C=a?a.fe:
this.fe,J=a?a.al:this.al,M=0,O=0,D=0,t=0,E=G,S=G,u=I,x=I,X=d=0,L=e?e.i.Oa():0;if(e){q=0;for(n=l.length;q<n;q++)d+=b.Yq(l[q].ib),X+=b.Zq(l[q].ib);r=e.Aa;M=a.ma(r.left,r.top,!0,!0);D=a.ma(r.left,r.top,!1,!0);E=a.ma(r.right,r.bottom,!0,!0);u=a.ma(r.right,r.bottom,!1,!0);0!==L&&(q=a.ma(r.right,r.top,!0,!0),n=a.ma(r.right,r.top,!1,!0),O=a.ma(r.left,r.bottom,!0,!0),t=a.ma(r.left,r.bottom,!1,!0),r=Math.min(M,E,q,O),E=Math.max(M,E,q,O),M=r,r=Math.min(D,u,n,t),u=Math.max(D,u,n,t),D=r);M-=d;D-=X;E+=d;u+=X;
J.left=M/G;J.top=1-D/I;J.right=E/G;J.bottom=1-u/I;O=M=R(M);t=D=R(D);S=E=ma(E);x=u=ma(u);O-=d;t-=X;S+=d;x+=X;0>M&&(M=0);0>D&&(D=0);E>G&&(E=G);u>I&&(u=I);0>O&&(O=0);0>t&&(t=0);S>G&&(S=G);x>I&&(x=I);C.left=M/G;C.top=1-D/I;C.right=E/G;C.bottom=1-u/I}else C.left=J.left=0,C.top=J.top=0,C.right=J.right=1,C.bottom=J.bottom=1;X=e&&((e.k||L)&&b.Vg(l[0].ib)||0!==d||0!==X||1!==e.opacity||e.type.za.xn)||a&&!e&&1!==a.opacity;b.fo();if(X){h[z]||(h[z]=b.qd(G,I,this.b.Y));if(h[z].dg!==G||h[z].cg!==I)b.deleteTexture(h[z]),
h[z]=b.qd(G,I,this.b.Y);b.hd(0);b.gd(h[z]);F=x-t;b.clearRect(O,I-t-F,S-O,F);e?e.ac(b):(b.Vb(this.b.ic),b.Te(a.opacity),b.ed(),b.translate(-ba,-T),b.kd(),b.dd(M,u,E,u,E,D,M,D,C));J.left=J.top=0;J.right=J.bottom=1;e&&(r=C.top,C.top=C.bottom,C.bottom=r);z=1;B=0}b.Te(1);d=l.length-1;var L=b.Vk(l[d].ib)||!a&&!e&&!this.b.qc,ca=0;q=0;for(n=l.length;q<n;q++){h[z]||(h[z]=b.qd(G,I,this.b.Y));if(h[z].dg!==G||h[z].cg!==I)b.deleteTexture(h[z]),h[z]=b.qd(G,I,this.b.Y);b.hd(l[q].ib);ca=l[q].index;b.Ei(l[q].ib)&&
(this.b.ka=!0);0!=q||X?(b.Kf(c,1/G,1/I,J.left,J.top,J.right,J.bottom,g,p,k,m,e?e.Ca[ca]:a?a.Ca[ca]:this.Ca[ca]),b.Vb(null),q!==d||L?(b.gd(h[z]),F=x-t,r=I-t-F,b.clearRect(O,r,S-O,F)):(e?b.he(e.rb,e.qb):a&&b.he(a.rb,a.qb),b.gd(c)),b.Vb(h[B]),b.ed(),b.translate(-ba,-T),b.kd(),b.dd(M,u,E,u,E,D,M,D,C),q!==d||L||b.Vb(null)):(b.gd(h[z]),F=x-t,r=I-t-F,b.clearRect(O,r,S-O,F),e?(b.Kf(c,1/e.width,1/e.height,J.left,J.top,J.right,J.bottom,g,p,k,m,e.Ca[ca]),e.ac(b)):(b.Kf(c,1/G,1/I,0,0,1,1,g,p,k,m,a?a.Ca[ca]:this.Ca[ca]),
b.Vb(a?this.b.ic:this.b.Qb),b.ed(),b.translate(-ba,-T),b.kd(),b.dd(M,u,E,u,E,D,M,D,C)),J.left=J.top=0,J.right=J.bottom=1,e&&!L&&(r=u,u=D,D=r));z=0===z?1:0;B=0===z?1:0}L&&(b.hd(0),e?b.he(e.rb,e.qb):a?b.he(a.rb,a.qb):this.b.qc||(b.Lf(this.b.width,this.b.height),ba=this.b.width/2,T=this.b.height/2,D=M=0,E=this.b.width,u=this.b.height),b.gd(c),b.Vb(h[B]),b.ed(),b.translate(-ba,-T),b.kd(),e&&1===l.length&&!X?b.dd(M,D,E,D,E,u,M,u,C):b.dd(M,u,E,u,E,D,M,D,C),b.Vb(null))};h.prototype.Wh=function(b){var a,
e;a=0;for(e=this.U.length;a<e;a++)if(this.U[a].S===b)return this.U[a];return null};h.prototype.Ub=function(){var b,a,e,c={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.k,w:this.width,h:this.height,fv:this.ig,persist:this.ee,fx:[],layers:{}};b=0;for(a=this.I.length;b<a;b++)e=this.I[b],c.fx.push({name:e.name,active:e.md,params:this.Ca[e.index]});b=0;for(a=this.U.length;b<a;b++)e=this.U[b],c.layers[e.S.toString()]=e.Ub();return c};h.prototype.tc=function(b){var a,e,c,l;this.scrollX=b.sx;this.scrollY=
b.sy;this.scale=b.s;this.k=b.a;this.width=b.w;this.height=b.h;this.ee=b.persist;"undefined"!==typeof b.fv&&(this.ig=b.fv);var g=b.fx;a=0;for(e=g.length;a<e;a++)if(c=this.Tj(g[a].name))c.md=g[a].active,this.Ca[c.index]=g[a].params;this.Gd();a=b.layers;for(l in a)a.hasOwnProperty(l)&&(b=this.Wh(parseInt(l,10)))&&b.tc(a[l])};yb=h;q.prototype.Gd=function(){this.W.length=0;var b,a,e;b=0;for(a=this.I.length;b<a;b++)e=this.I[b],e.md&&this.W.push(e)};q.prototype.Tj=function(b){var a,e,c;a=0;for(e=this.I.length;a<
e;a++)if(c=this.I[a],c.name===b)return c;return null};q.prototype.Qp=function(){var b,a,e,c,l,g;a=b=0;for(e=this.of.length;b<e;b++){c=this.of[b];l=this.b.q[c[1]];g=this.b.Al(l);l=!0;if(!g||this.na.ig)c=this.b.Qd(c,this,!0),m.push(c),c.type.global&&(l=!1);l&&(this.of[a]=this.of[b],a++)}this.of.length=a;this.b.lb();!this.b.r&&this.I.length&&(this.Ab=this.iq);this.eg=Ya(this.Ab);this.b.p&&Za(this,this.Ab,this.b.p)};q.prototype.Is=function(){if(this.Zb){var b,a;b=0;for(a=this.d.length;b<a;b++)this.d[b].Xe=
b;this.Zb=!1}};q.prototype.Eb=function(b){return this.Wq()*(this.b.qc||b?this.b.bg:1)};q.prototype.Wq=function(){return(this.scale*this.na.scale-1)*this.Qc+1};q.prototype.Oa=function(){return this.we?0:Aa(this.na.k+this.k)};q.prototype.Fc=function(b){this.ge=this.Jj||1!==this.opacity||0!==this.Ab;var a=this.b.canvas,c=b,f=!1;b.globalAlpha=1;b.globalCompositeOperation="source-over";this.ge&&(this.b.li||(this.b.li=document.createElement("canvas"),a=this.b.li,a.width=this.b.O,a.height=this.b.N,this.b.nn=
a.getContext("2d"),f=!0),a=this.b.li,c=this.b.nn,a.width!==this.b.O&&(a.width=this.b.O,f=!0),a.height!==this.b.N&&(a.height=this.b.N,f=!0),f&&(c.webkitImageSmoothingEnabled=this.b.Y,c.mozImageSmoothingEnabled=this.b.Y,c.msImageSmoothingEnabled=this.b.Y,c.imageSmoothingEnabled=this.b.Y),this.Ve&&c.clearRect(0,0,this.b.O,this.b.N));this.Ve||(c.fillStyle="rgb("+this.Od[0]+","+this.Od[1]+","+this.Od[2]+")",c.fillRect(0,0,this.b.O,this.b.N));c.save();this.we=!0;var f=this.Kb(0,0,!0,!0),l=this.Kb(0,0,!1,
!0);this.we=!1;this.b.bd&&(f=f+0.5|0,l=l+0.5|0);this.dl(f,l,c);var g=this.Eb();c.scale(g,g);c.translate(-f,-l);for(var p,f=0,l=this.d.length;f<l;f++)g=this.d[f],g.visible&&0!==g.width&&0!==g.height&&(g.wa(),p=g.Aa,p.right<this.jb||p.bottom<this.kb||p.left>this.Yb||p.top>this.Xb||(c.globalCompositeOperation=g.eg,g.Fc(c)));c.restore();this.ge&&(b.globalCompositeOperation=this.eg,b.globalAlpha=this.opacity,b.drawImage(a,0,0))};q.prototype.dl=function(b,a,c){var f=this.Eb();this.jb=b;this.kb=a;this.Yb=
b+this.b.O*(1/f);this.Xb=a+this.b.N*(1/f);b=this.Oa();0!==b&&(c&&(c.translate(this.b.O/2,this.b.N/2),c.rotate(-b),c.translate(this.b.O/-2,this.b.N/-2)),this.Fd.set(this.jb,this.kb,this.Yb,this.Xb),this.Fd.offset((this.jb+this.Yb)/-2,(this.kb+this.Xb)/-2),this.xo.jo(this.Fd,b),this.xo.$l(this.Fd),this.Fd.offset((this.jb+this.Yb)/2,(this.kb+this.Xb)/2),this.jb=this.Fd.left,this.kb=this.Fd.top,this.Yb=this.Fd.right,this.Xb=this.Fd.bottom)};q.prototype.ac=function(b){var a=this.b.O,c=this.b.N,f=0,l=0;
if(this.ge=this.Jj||1!==this.opacity||0<this.W.length||0!==this.Ab){this.b.ic||(this.b.ic=b.qd(this.b.O,this.b.N,this.b.Y));if(this.b.ic.dg!==this.b.O||this.b.ic.cg!==this.b.N)b.deleteTexture(this.b.ic),this.b.ic=b.qd(this.b.O,this.b.N,this.b.Y);b.gd(this.b.ic);this.Ve&&b.clear(0,0,0,0)}this.Ve||b.clear(this.Od[0]/255,this.Od[1]/255,this.Od[2]/255,1);this.we=!0;var l=this.Kb(0,0,!0,!0),g=this.Kb(0,0,!1,!0);this.we=!1;this.b.bd&&(l=l+0.5|0,g=g+0.5|0);this.dl(l,g,null);g=this.Eb();b.ed();b.scale(g,
g);b.el(-this.Oa());b.translate((this.jb+this.Yb)/-2,(this.kb+this.Xb)/-2);b.kd();var p,k,m;p=0;for(k=this.d.length;p<k;p++)if(m=this.d[p],m.visible&&0!==m.width&&0!==m.height&&(m.wa(),f=m.Aa,!(f.right<this.jb||f.bottom<this.kb||f.left>this.Yb||f.top>this.Xb)))if(m.Mo)if(f=m.W[0].ib,l=m.W[0].index,1!==m.W.length||b.Vk(f)||b.es(f)||(m.k||m.i.Oa())&&b.Vg(f)||1!==m.opacity||m.type.za.xn)this.na.bl(b,this,m,this.ge?this.b.ic:this.na.lg()),b.ed(),b.scale(g,g),b.el(-this.Oa()),b.translate((this.jb+this.Yb)/
-2,(this.kb+this.Xb)/-2),b.kd();else{b.hd(f);b.he(m.rb,m.qb);b.Ei(f)&&(this.b.ka=!0);var h=0,q=0,n=0,d=0;b.Vg(f)&&(f=m.Aa,h=this.ma(f.left,f.top,!0,!0),q=this.ma(f.left,f.top,!1,!0),n=this.ma(f.right,f.bottom,!0,!0),f=this.ma(f.right,f.bottom,!1,!0),h/=a,q=1-q/c,n/=a,d=1-f/c);b.Kf(this.ge?this.b.ic:this.na.lg(),1/m.width,1/m.height,h,q,n,d,this.Eb(),this.Oa(),this.jb,this.kb,m.Ca[l]);m.ac(b)}else b.hd(0),b.he(m.rb,m.qb),m.ac(b);this.ge&&(f=this.W.length?this.W[0].ib:0,l=this.W.length?this.W[0].index:
0,0===this.W.length||1===this.W.length&&!b.Vk(f)&&1===this.opacity?(1===this.W.length?(b.hd(f),b.Kf(this.na.lg(),1/this.b.O,1/this.b.N,0,0,1,1,this.Eb(),this.Oa(),this.jb,this.kb,this.Ca[l]),b.Ei(f)&&(this.b.ka=!0)):b.hd(0),b.gd(this.na.lg()),b.Te(this.opacity),b.Vb(this.b.ic),b.he(this.rb,this.qb),b.ed(),b.kd(),a=this.b.O/2,c=this.b.N/2,b.Fi(-a,c,a,c,a,-c,-a,-c),b.Vb(null)):this.na.bl(b,this,null,this.na.lg()))};q.prototype.Kb=function(b,a,c,f){var l=this.b.devicePixelRatio;this.b.Fe&&(b*=l,a*=l);
var l=this.b.On,g=this.b.Pn,l=(this.na.scrollX-l)*this.wc+l,g=(this.na.scrollY-g)*this.xc+g,p=1/this.Eb(!f);f?(l-=this.b.O*p/2,g-=this.b.N*p/2):(l-=this.b.width*p/2,g-=this.b.height*p/2);l+=b*p;g+=a*p;a=this.Oa();0!==a&&(l-=this.na.scrollX,g-=this.na.scrollY,b=Math.cos(a),a=Math.sin(a),f=l*b-g*a,g=g*b+l*a,l=f+this.na.scrollX,g+=this.na.scrollY);return c?l:g};q.prototype.ma=function(b,a,c,f){var l=this.Oa();if(0!==l){b-=this.na.scrollX;a-=this.na.scrollY;var g=Math.cos(-l),l=Math.sin(-l),p=b*g-a*l;
a=a*g+b*l;b=p+this.na.scrollX;a+=this.na.scrollY}g=this.b.On;l=this.b.Pn;g=(this.na.scrollX-g)*this.wc+g;l=(this.na.scrollY-l)*this.xc+l;p=1/this.Eb(!f);f?(g-=this.b.O*p/2,l-=this.b.N*p/2):(g-=this.b.width*p/2,l-=this.b.height*p/2);g=(b-g)/p;l=(a-l)/p;b=this.b.devicePixelRatio;this.b.Fe&&(g/=b,l/=b);return c?g:l};q.prototype.Ub=function(){var b,a,c,f={s:this.scale,a:this.k,vl:this.jb,vt:this.kb,vr:this.Yb,vb:this.Xb,v:this.visible,bc:this.Od,t:this.Ve,px:this.wc,py:this.xc,o:this.opacity,zr:this.Qc,
fx:[],instances:[]};b=0;for(a=this.I.length;b<a;b++)c=this.I[b],f.fx.push({name:c.name,active:c.md,params:this.Ca[c.index]});return f};q.prototype.tc=function(b){var a,e;this.scale=b.s;this.k=b.a;this.jb=b.vl;this.kb=b.vt;this.Yb=b.vr;this.Xb=b.vb;this.visible=b.v;this.Od=b.bc;this.Ve=b.t;this.wc=b.px;this.xc=b.py;this.opacity=b.o;this.Qc=b.zr;var f=b.fx;b=0;for(a=f.length;b<a;b++)if(e=this.Tj(f[b].name))e.md=f[b].active,this.Ca[e.index]=f[b].params;this.Gd();this.d.sort(c);this.Zb=!0};Lb=q})();
(function(){function h(a,b){var c,k=a.length;switch(k){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<k;c++)if(a[c]!==b[c])return!1;return!0}}function q(a,b){return a.index-b.index}function c(a){var b,c,k,e;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(q);a.length>=s.length&&(s.length=a.length+1);s[a.length]||(s[a.length]=[]);e=s[a.length];b=0;for(c=e.length;b<c;b++)if(k=e[b],h(a,k))return k;e.push(a);return a}
function m(a,b){this.b=a;this.Ao={};this.pm={};this.dk=!1;this.Im=new da;this.name=b[0];var c=b[1];this.Td=[];var k,e;k=0;for(e=c.length;k<e;k++)this.Km(c[k],null,this.Td)}function b(a){this.type=a;this.d=[];this.$=[];this.pa=!0}function a(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.ua=[];this.ie=[];this.Gm=this.Ui=this.xl=this.ik=this.group=this.oo=!1;this.Ga=[];this.Cc=[];this.Ac=[];c[1]?(this.pg=c[1][1].toLowerCase(),this.group=!0,this.ik=!!c[1][0],this.b.df.push(this),this.b.ag[this.pg.toLowerCase()]=
this.ik):(this.pg="",this.ik=this.group=!1);this.Jc=c[2];this.S=c[4];this.group||(this.b.Zl[this.S.toString()]=this);var k=c[5];a=0;for(b=k.length;a<b;a++){var e=new Mb(this,k[a]);e.index=a;this.Ga.push(e);this.Tl(e.type)}k=c[6];a=0;for(b=k.length;a<b;a++)e=new Nb(this,k[a]),e.index=a,this.Cc.push(e);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.Km(c[a],this,this.Ac);this.di=!1;this.Ga.length&&(this.di=null==this.Ga[0].type&&this.Ga[0].Na==W.prototype.j.Ro)}function e(a,b){var c,k,
e;if(a&&(-1===b.indexOf(a)&&b.push(a),a.fc))for(c=0,k=a.Cb.length;c<k;c++)e=a.Cb[c],a!==e&&-1===b.indexOf(e)&&b.push(e)}function f(a,b){this.$b=a;this.sheet=a.sheet;this.b=a.b;this.A=[];this.L=[];this.X={};this.index=-1;this.Na=b[1];this.trigger=0<b[3];this.om=2===b[3];this.Bd=b[4];this.pf=b[5];this.Ir=b[6];this.S=b[7];this.b.ff[this.S.toString()]=this;-1===b[0]?(this.type=null,this.Ua=this.hl,this.se=null,this.eb=-1):(this.type=this.b.q[b[0]],this.Ua=this.Ir?this.ss:this.gl,b[2]?(this.se=this.type.Vh(b[2]),
this.eb=this.type.Pj(b[2])):(this.se=null,this.eb=-1),this.$b.parent&&this.$b.parent.Li());this.om&&(this.Ua=this.ts);if(10===b.length){var c,k,e=b[9];c=0;for(k=e.length;c<k;c++){var f=new Ob(this,e[c]);this.A.push(f)}this.L.length=e.length}}function l(a,b){this.$b=a;this.sheet=a.sheet;this.b=a.b;this.A=[];this.L=[];this.X={};this.index=-1;this.Na=b[1];-1===b[0]?(this.type=null,this.Ua=this.hl,this.se=null,this.eb=-1):(this.type=this.b.q[b[0]],this.Ua=this.gl,b[2]?(this.se=this.type.Vh(b[2]),this.eb=
this.type.Pj(b[2])):(this.se=null,this.eb=-1));this.S=b[3];this.b.cf[this.S.toString()]=this;if(6===b.length){var c,k,e=b[5];c=0;for(k=e.length;c<k;c++){var f=new Ob(this,e[c]);this.A.push(f)}this.L.length=e.length}}function g(a,b){this.C=a;this.$b=a.$b;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Vc=null;this.fm=this.je=0;this.na=null;this.key=0;this.object=null;this.index=0;this.Zi=this.Pf=this.qm=this.Ae=this.jh=null;var c,k,e;switch(b[0]){case 0:case 7:this.Vc=new V(this,b[1]);this.je=0;
this.get=this.fr;break;case 1:this.Vc=new V(this,b[1]);this.je=0;this.get=this.gr;break;case 5:this.Vc=new V(this,b[1]);this.je=0;this.get=this.kr;break;case 3:case 8:this.fm=b[1];this.get=this.dr;break;case 6:this.na=this.b.xf[b[1]];this.get=this.lr;break;case 9:this.key=b[1];this.get=this.jr;break;case 4:this.object=this.b.q[b[1]];this.get=this.mr;this.$b.Tl(this.object);this.C instanceof Nb?this.$b.Li():this.$b.parent&&this.$b.parent.Li();break;case 10:this.index=b[1];this.get=a.type.F?this.hr:
this.ir;break;case 11:this.jh=b[1];this.Ae=null;this.get=this.er;break;case 2:case 12:this.qm=b[1];this.get=this.cr;break;case 13:for(this.get=this.nr,this.Pf=[],this.Zi=[],c=1,k=b.length;c<k;c++)e=new Ob(this.C,b[c]),this.Pf.push(e),this.Zi.push(0)}}function p(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.ua=[];this.name=c[1];this.$i=c[2];this.hk=c[3];this.yg=!!c[4];this.ci=!!c[5];this.S=c[6];this.b.Uf[this.S.toString()]=this;this.data=this.hk;this.parent?(this.Me=this.yg||this.ci?-1:this.b.As++,
this.b.Ep.push(this)):(this.Me=-1,this.b.Dp.push(this))}function k(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.ua=[];this.rg=null;this.tr=c[1]}function K(){this.ro=[];this.reset(null)}var s=[];m.prototype.toString=A("name");m.prototype.Km=function(a,b,c){switch(a[0]){case 0:a=new Pb(this,b,a);if(a.Jc)for(c.push(a),c=0,b=a.Ga.length;c<b;c++)a.Ga[c].trigger&&this.Lm(a,c);else a.Wm()?this.Lm(a,0):c.push(a);break;case 1:a=new Ib(this,b,a);c.push(a);break;case 2:a=new Qb(this,b,a),c.push(a)}};m.prototype.Ja=
function(){var a,b;a=0;for(b=this.Td.length;a<b;a++)this.Td[a].Ja(a<b-1&&this.Td[a+1].di)};m.prototype.Ua=function(a){this.b.au||(this.dk=!0,a||(this.b.ok=!0));var b,c;b=0;for(c=this.Td.length;b<c;b++){var k=this.Td[b];k.Ua();this.b.xj(k.ua);this.b.Uc.Vd()&&!this.b.Db.length||this.b.lb()}a||(this.b.ok=!1)};m.prototype.Lm=function(a,b){a.Jc||this.b.Wi.push(a);var c,k,e=a.Ga[b],f;f=e.type?e.type.name:"system";var g=(c=e.om)?this.pm:this.Ao;g[f]||(g[f]=[]);f=g[f];g=e.Na;if(c){if(e.A.length&&(e=e.A[0],
1===e.type&&2===e.Vc.type)){e=e.Vc.value.toLowerCase();c=0;for(k=f.length;c<k;c++)if(f[c].method==g){c=f[c].Nh;c[e]?c[e].push([a,b]):c[e]=[[a,b]];return}c={};c[e]=[[a,b]];f.push({method:g,Nh:c})}}else{c=0;for(k=f.length;c<k;c++)if(f[c].method==g){f[c].Nh.push([a,b]);return}f.push({method:g,Nh:[[a,b]]})}};zb=m;b.prototype.ck=function(){return this.pa?this.type.d.length:this.d.length};b.prototype.Xc=function(){return this.pa?this.type.d:this.d};b.prototype.Ug=function(a){a&&(a.b.wb().Mb.Jc?(this.pa&&
(this.d.length=0,va(this.$,a.type.d),this.pa=!1),a=this.$.indexOf(a),-1!==a&&(this.d.push(this.$[a]),this.$.splice(a,1))):(this.pa=!1,this.d.length=1,this.d[0]=a))};fb=b;window._c2hh_="";a.prototype.Ja=function(a){var b,k=this.parent;if(this.group)for(this.Ui=!0;k;){if(!k.group){this.Ui=!1;break}k=k.parent}this.xl=!this.Wm()&&(!this.parent||this.parent.group&&this.parent.Ui);this.Gm=!!a;this.ie=this.ua.slice(0);for(k=this.parent;k;){a=0;for(b=k.ua.length;a<b;a++)this.Cp(k.ua[a]);k=k.parent}this.ua=
c(this.ua);this.ie=c(this.ie);a=0;for(b=this.Ga.length;a<b;a++)this.Ga[a].Ja();a=0;for(b=this.Cc.length;a<b;a++)this.Cc[a].Ja();a=0;for(b=this.Ac.length;a<b;a++)this.Ac[a].Ja(a<b-1&&this.Ac[a+1].di)};a.prototype.Tl=function(a){e(a,this.ua)};a.prototype.Cp=function(a){e(a,this.ie)};a.prototype.Li=function(){this.oo=!0;this.parent&&this.parent.Li()};a.prototype.Wm=function(){return this.Ga.length?this.Ga[0].trigger:!1};a.prototype.Ua=function(){var a,b=!1,c,k=this.b.wb();k.Mb=this;this.di||(k.Dj=!1);
if(this.Jc){0===this.Ga.length&&(b=!0);k.Bb=0;for(a=this.Ga.length;k.Bb<a;k.Bb++)this.Ga[k.Bb].trigger||(c=this.Ga[k.Bb].Ua())&&(b=!0);(k.Je=b)&&this.fl()}else{k.Bb=0;for(a=this.Ga.length;k.Bb<a;k.Bb++)if(c=this.Ga[k.Bb].Ua(),!c){k.Je=!1;!this.xl||this.b.Uc.Vd()&&!this.b.Db.length||this.b.lb();return}k.Je=!0;this.fl()}this.kq(k)};a.prototype.kq=function(a){a.Je&&this.Gm&&(a.Dj=!0);!this.xl||this.b.Uc.Vd()&&!this.b.Db.length||this.b.lb()};a.prototype.qs=function(a){this.b.wb().Mb=this;this.Ga[a].Ua()&&
(this.fl(),this.b.wb().Je=!0)};a.prototype.fl=function(){var a=this.b.wb(),b;a.Ib=0;for(b=this.Cc.length;a.Ib<b;a.Ib++)if(this.Cc[a.Ib].Ua())return;this.bo()};a.prototype.ns=function(){var a=this.b.wb(),b;for(b=this.Cc.length;a.Ib<b;a.Ib++)if(this.Cc[a.Ib].Ua())return;this.bo()};a.prototype.bo=function(){if(this.Ac.length){var a,b,c,k,e=this.Ac.length-1;this.b.Xk(this);if(this.oo)for(a=0,b=this.Ac.length;a<b;a++)c=this.Ac[a],(k=!this.Ui||!this.group&&a<e)&&this.b.Wk(c.ua),c.Ua(),k?this.b.Jf(c.ua):
this.b.xj(c.ua);else for(a=0,b=this.Ac.length;a<b;a++)this.Ac[a].Ua();this.b.Sn()}};a.prototype.rs=function(){var a=this.b.wb();a.Mb=this;var b=!1,c;a.Bb=0;for(c=this.Ga.length;a.Bb<c;a.Bb++)if(this.Ga[a.Bb].Ua())b=!0;else if(!this.Jc)return!1;return this.Jc?b:!0};a.prototype.Fr=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.Ga[b].type===a.type)return!1;return!0};Pb=a;f.prototype.Ja=function(){var a,b;a=0;for(b=this.A.length;a<b;a++)this.A[a].Ja()};f.prototype.ts=H(!0);f.prototype.hl=
function(){var a,b;a=0;for(b=this.A.length;a<b;a++)this.L[a]=this.A[a].get();return Na(this.Na.apply(this.b.jd,this.L),this.pf)};f.prototype.ss=function(){var a,b;a=0;for(b=this.A.length;a<b;a++)this.L[a]=this.A[a].get(a);a=this.Na.apply(this.se?this.se:this.type,this.L);this.type.Md();return a};f.prototype.gl=function(){var a,b,c,k,e,f,g,l=this.type.ea(),p=this.$b.Jc&&!this.trigger,n=0,m=this.type.fc;if(l.pa){l.d.length=0;a=l.$.length=0;for(c=this.type.d.length;a<c;a++){f=this.type.d[a];b=0;for(k=
this.A.length;b<k;b++)this.L[b]=this.A[b].get(a);-1<this.eb?(this.type.F&&(n=f.type.kf[this.type.Wc]),b=this.Na.apply(f.M[this.eb+n],this.L)):b=this.Na.apply(f,this.L);(e=Na(b,this.pf))?l.d.push(f):p&&l.$.push(f)}this.type.finish&&this.type.finish(!0);l.pa=!1;this.type.Md();return l.ck()}var h=0,q=(e=p&&!this.$b.Fr(this))?l.$:l.d,s=!1;a=0;for(c=q.length;a<c;a++){f=q[a];b=0;for(k=this.A.length;b<k;b++)this.L[b]=this.A[b].get(a);-1<this.eb?(this.type.F&&(n=f.type.kf[this.type.Wc]),b=this.Na.apply(f.M[this.eb+
n],this.L)):b=this.Na.apply(f,this.L);if(Na(b,this.pf))if(s=!0,e){if(l.d.push(f),m)for(b=0,k=f.siblings.length;b<k;b++)g=f.siblings[b],g.type.ea().d.push(g)}else{q[h]=f;if(m)for(b=0,k=f.siblings.length;b<k;b++)g=f.siblings[b],g.type.ea().d[h]=g;h++}else if(e){q[h]=f;if(m)for(b=0,k=f.siblings.length;b<k;b++)g=f.siblings[b],g.type.ea().$[h]=g;h++}else if(p&&(l.$.push(f),m))for(b=0,k=f.siblings.length;b<k;b++)g=f.siblings[b],g.type.ea().$.push(g)}q.length=h;if(m)for(a=0,c=this.type.Cb.length;a<c;a++)f=
this.type.Cb[a].ea(),e?f.$.length=h:f.d.length=h;n=s;if(e&&!s)for(a=0,c=l.d.length;a<c;a++){f=l.d[a];b=0;for(k=this.A.length;b<k;b++)this.L[b]=this.A[b].get(a);b=-1<this.eb?this.Na.apply(f.M[this.eb],this.L):this.Na.apply(f,this.L);if(Na(b,this.pf)){s=!0;break}}this.type.finish&&this.type.finish(n||p);return p?s:l.ck()};Mb=f;l.prototype.Ja=function(){var a,b;a=0;for(b=this.A.length;a<b;a++)this.A[a].Ja()};l.prototype.hl=function(){var a,b;a=0;for(b=this.A.length;a<b;a++)this.L[a]=this.A[a].get();
return this.Na.apply(this.b.jd,this.L)};l.prototype.gl=function(){var a=this.type.ea().Xc(),b,c,k,e,f;b=0;for(k=a.length;b<k;b++){f=a[b];c=0;for(e=this.A.length;c<e;c++)this.L[c]=this.A[c].get(b);-1<this.eb?(c=0,this.type.F&&(c=f.type.kf[this.type.Wc]),this.Na.apply(f.M[this.eb+c],this.L)):this.Na.apply(f,this.L)}return!1};Nb=l;var v=[],n=-1;g.prototype.Ja=function(){var a,b;if(11===this.type)this.Ae=this.b.zm(this.jh,this.$b.parent);else if(13===this.type)for(a=0,b=this.Pf.length;a<b;a++)this.Pf[a].Ja();
this.Vc&&this.Vc.Ja()};g.prototype.Ta=function(){n++;v.length===n&&v.push(new Rb);return v[n]};g.prototype.Qa=function(){n--};g.prototype.fr=function(a){this.je=a||0;a=this.Ta();this.Vc.get(a);this.Qa();return a.data};g.prototype.gr=function(a){this.je=a||0;a=this.Ta();this.Vc.get(a);this.Qa();return Q(a.data)?a.data:""};g.prototype.mr=A("object");g.prototype.dr=A("fm");g.prototype.kr=function(a){this.je=a||0;a=this.Ta();this.Vc.get(a);this.Qa();return a.Ya()?this.b.jg(a.data):this.b.Wj(a.data)};
g.prototype.lr=A("na");g.prototype.jr=A("key");g.prototype.ir=A("index");g.prototype.hr=function(a){var b=this.C.type,c=null,c=b.ea(),k=c.Xc(),c=k.length?k[a%k.length].type:c.$[a%c.$.length].type;return this.index+c.Oh[b.Wc]};g.prototype.er=A("Ae");g.prototype.cr=A("qm");g.prototype.nr=function(){var a,b;a=0;for(b=this.Pf.length;a<b;a++)this.Zi[a]=this.Pf[a].get();return this.Zi};Ob=g;p.prototype.Ja=function(){this.ua=c(this.ua)};p.prototype.Ue=function(a){var b=this.b.ym();this.parent&&!this.yg&&
b?(this.Me>=b.length&&(b.length=this.Me+1),b[this.Me]=a):this.data=a};p.prototype.mg=function(){var a=this.b.ym();return!this.parent||this.yg||!a||this.ci?this.data:this.Me>=a.length||"undefined"===typeof a[this.Me]?this.hk:a[this.Me]};p.prototype.Ua=function(){!this.parent||this.yg||this.ci||this.Ue(this.hk)};Ib=p;k.prototype.toString=function(){return"include:"+this.rg.toString()};k.prototype.Ja=function(){this.rg=this.b.Fj[this.tr];this.sheet.Im.add(this);this.ua=c(this.ua)};k.prototype.Ua=function(){this.parent&&
this.b.Xg(this.b.q);this.rg.dk||this.rg.Ua(!0);this.parent&&this.b.Jf(this.b.q)};k.prototype.Br=function(){for(var a=this.parent;a;){if(a.group&&!this.b.ag[a.pg.toLowerCase()])return!1;a=a.parent}return!0};Qb=k;K.prototype.reset=function(a){this.Mb=a;this.Ib=this.Bb=0;this.ro.length=0;this.Dj=this.Je=!1};Hb=K})();
(function(){function h(c,m){this.C=c;this.b=c.b;this.type=m[0];this.get=[this.wq,this.sq,this.Eq,this.Hq,this.mq,this.Fq,this.Aq,this.pq,this.zq,this.Dq,this.nq,this.Cq,this.qq,this.Bq,this.xq,this.yq,this.tq,this.uq,this.oq,this.Gq,this.mm,this.vq,this.mm,this.rq][this.type];var b=null;this.Sb=this.A=this.L=this.Na=this.Qi=this.bb=this.first=this.value=null;this.eb=-1;this.wd=null;this.Dl=-1;this.Ae=this.jh=null;this.Zg=!1;switch(this.type){case 0:case 1:case 2:this.value=m[1];break;case 3:this.first=
new V(c,m[1]);break;case 18:this.first=new V(c,m[1]);this.bb=new V(c,m[2]);this.Qi=new V(c,m[3]);break;case 19:this.Na=m[1];this.L=[];this.A=[];3===m.length?(b=m[2],this.L.length=b.length+1):this.L.length=1;break;case 20:this.Sb=this.b.q[m[1]];this.eb=-1;this.Na=m[2];this.Zg=m[3];this.wd=m[4]?new V(c,m[4]):null;this.L=[];this.A=[];6===m.length?(b=m[5],this.L.length=b.length+1):this.L.length=1;break;case 21:this.Sb=this.b.q[m[1]];this.Zg=m[2];this.wd=m[3]?new V(c,m[3]):null;this.Dl=m[4];break;case 22:this.Sb=
this.b.q[m[1]];this.Sb.Vh(m[2]);this.eb=this.Sb.Pj(m[2]);this.Na=m[3];this.Zg=m[4];this.wd=m[5]?new V(c,m[5]):null;this.L=[];this.A=[];7===m.length?(b=m[6],this.L.length=b.length+1):this.L.length=1;break;case 23:this.jh=m[1],this.Ae=null}4<=this.type&&17>=this.type&&(this.first=new V(c,m[1]),this.bb=new V(c,m[2]));if(b){var a,e;a=0;for(e=b.length;a<e;a++)this.A.push(new V(c,b[a]))}}function q(c,m){this.type=c||Sb.Yf;this.data=m||0;this.Ff=null;this.type==Sb.Yf&&(this.data=Math.floor(this.data))}h.prototype.Ja=
function(){23===this.type&&(this.Ae=this.C.b.zm(this.jh,this.C.$b.parent));this.first&&this.first.Ja();this.bb&&this.bb.Ja();this.Qi&&this.Qi.Ja();this.wd&&this.wd.Ja();if(this.A){var c,m;c=0;for(m=this.A.length;c<m;c++)this.A[c].Ja()}};h.prototype.Gq=function(c){this.L[0]=c;c=this.C.Ta();var m,b;m=0;for(b=this.A.length;m<b;m++)this.A[m].get(c),this.L[m+1]=c.data;this.C.Qa();this.Na.apply(this.b.jd,this.L)};h.prototype.mm=function(c){var m=this.Sb.ea(),b=m.Xc();if(!b.length)if(m.$.length)b=m.$;else{this.Zg?
c.yc(""):c.ta(0);return}this.L[0]=c;c.Ff=this.Sb;c=this.C.Ta();var a,m=0;for(a=this.A.length;m<a;m++)this.A[m].get(c),this.L[m+1]=c.data;m=this.C.je;this.wd&&(this.wd.get(c),c.Ya()&&(m=c.data,b=this.Sb.d));this.C.Qa();m%=b.length;0>m&&(m+=b.length);b=b[m];-1<this.eb?(c=0,this.Sb.F&&(c=b.type.kf[this.Sb.Wc]),this.Na.apply(b.M[this.eb+c],this.L)):this.Na.apply(b,this.L)};h.prototype.vq=function(c){var m=this.Sb.ea(),b=m.Xc();if(!b.length)if(m.$.length)b=m.$;else{this.Zg?c.yc(""):c.ta(0);return}m=this.C.je;
if(this.wd){var a=this.C.Ta();this.wd.get(a);if(a.Ya()){m=a.data;b=this.Sb.d;m%=b.length;0>m&&(m+=b.length);b=b[m].Ra[this.Dl];Q(b)?c.yc(b):c.J(b);this.C.Qa();return}this.C.Qa()}m%=b.length;0>m&&(m+=b.length);b=b[m];m=0;this.Sb.F&&(m=b.type.Oh[this.Sb.Wc]);b=b.Ra[this.Dl+m];Q(b)?c.yc(b):c.J(b)};h.prototype.wq=function(c){c.type=Sb.Yf;c.data=this.value};h.prototype.sq=function(c){c.type=Sb.Wf;c.data=this.value};h.prototype.Eq=function(c){c.type=Sb.nj;c.data=this.value};h.prototype.Hq=function(c){this.first.get(c);
c.Ya()&&(c.data=-c.data)};h.prototype.mq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()&&m.Ya()&&(c.data+=m.data,m.tf()&&c.Cf());this.C.Qa()};h.prototype.Fq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()&&m.Ya()&&(c.data-=m.data,m.tf()&&c.Cf());this.C.Qa()};h.prototype.Aq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()&&m.Ya()&&(c.data*=m.data,m.tf()&&c.Cf());this.C.Qa()};h.prototype.pq=function(c){this.first.get(c);var m=this.C.Ta();
this.bb.get(m);c.Ya()&&m.Ya()&&(c.data/=m.data,c.Cf());this.C.Qa()};h.prototype.zq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()&&m.Ya()&&(c.data%=m.data,m.tf()&&c.Cf());this.C.Qa()};h.prototype.Dq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()&&m.Ya()&&(c.data=Math.pow(c.data,m.data),m.tf()&&c.Cf());this.C.Qa()};h.prototype.nq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()?m.ei()?c.yc(c.data.toString()+m.data):c.data&&m.data?c.ta(1):
c.ta(0):c.ei()&&(c.data=m.ei()?c.data+m.data:c.data+(Math.round(1E10*m.data)/1E10).toString());this.C.Qa()};h.prototype.Cq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.Ya()&&m.Ya()&&(c.data||m.data?c.ta(1):c.ta(0));this.C.Qa()};h.prototype.oq=function(c){this.first.get(c);c.data?this.bb.get(c):this.Qi.get(c)};h.prototype.qq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.ta(c.data===m.data?1:0);this.C.Qa()};h.prototype.Bq=function(c){this.first.get(c);var m=this.C.Ta();
this.bb.get(m);c.ta(c.data!==m.data?1:0);this.C.Qa()};h.prototype.xq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.ta(c.data<m.data?1:0);this.C.Qa()};h.prototype.yq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.ta(c.data<=m.data?1:0);this.C.Qa()};h.prototype.tq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.ta(c.data>m.data?1:0);this.C.Qa()};h.prototype.uq=function(c){this.first.get(c);var m=this.C.Ta();this.bb.get(m);c.ta(c.data>=m.data?1:0);
this.C.Qa()};h.prototype.rq=function(c){var m=this.Ae.mg();fa(m)?c.J(m):c.yc(m)};V=h;q.prototype.tf=function(){return this.type===Sb.Wf};q.prototype.Ya=function(){return this.type===Sb.Yf||this.type===Sb.Wf};q.prototype.ei=function(){return this.type===Sb.nj};q.prototype.Cf=function(){this.tf()||(this.ei()&&(this.data=parseFloat(this.data)),this.type=Sb.Wf)};q.prototype.ta=function(c){this.type=Sb.Yf;this.data=Math.floor(c)};q.prototype.J=function(c){this.type=Sb.Wf;this.data=c};q.prototype.yc=function(c){this.type=
Sb.nj;this.data=c};Rb=q;Sb={Yf:0,Wf:1,nj:2}})();function W(h){this.b=h;this.Hb=[]}
W.prototype.Ub=function(){var h={},q,c,m,b,a,e,f,l;h.waits=[];var g=h.waits,p;q=0;for(c=this.Hb.length;q<c;q++){e=this.Hb[q];p={t:e.time,ev:e.hf.S,sm:[],sols:{}};e.hf.Cc[e.Ib]&&(p.act=e.hf.Cc[e.Ib].S);m=0;for(b=e.ua.length;m<b;m++)p.sm.push(e.ua[m].S);for(a in e.zb)if(e.zb.hasOwnProperty(a)){f=this.b.q[parseInt(a,10)];l={sa:e.zb[a].Ji,insts:[]};m=0;for(b=e.zb[a].xd.length;m<b;m++)l.insts.push(e.zb[a].xd[m].uid);p.sols[f.S.toString()]=l}g.push(p)}return h};
W.prototype.tc=function(h){h=h.waits;var q,c,m,b,a,e,f,l,g,p,k;q=this.Hb.length=0;for(c=h.length;q<c;q++)if(e=h[q],l=this.b.Zl[e.ev.toString()]){g=-1;m=0;for(b=l.Cc.length;m<b;m++)if(l.Cc[m].S===e.act){g=m;break}if(-1!==g){f={zb:{},ua:[],Cj:!1};f.time=e.t;f.hf=l;f.Ib=g;m=0;for(b=e.sm.length;m<b;m++)(l=this.b.Xh(e.sm[m]))&&f.ua.push(l);for(a in e.sols)if(e.sols.hasOwnProperty(a)&&(l=this.b.Xh(parseInt(a,10)))){g=e.sols[a];p={Ji:g.sa,xd:[]};m=0;for(b=g.insts.length;m<b;m++)(k=this.b.kg(g.insts[m]))&&
p.xd.push(k);f.zb[l.index.toString()]=p}this.Hb.push(f)}}};
(function(){function h(){}function q(){}function c(){}var m=W.prototype;h.prototype.To=H(!0);h.prototype.ij=H(!0);h.prototype.ip=H(!0);h.prototype.So=function(a){var b=this.b.Rj(),c=b.X.dj||0,g=this.b.gc.Ka;"undefined"===typeof b.X.ej&&(b.X.ej=a);var p=b.X.ej;return g>=c+p?(b.X.dj=c+p,g>=b.X.dj+0.04&&(b.X.dj=g),b.X.ej=a,!0):!1};h.prototype.Il=function(a,b,c){return Tb(a.mg(),b,c)};h.prototype.Ze=function(a){return this.b.ag[a.toLowerCase()]};h.prototype.Ro=function(){var a=this.b.wb();return a.Dj?
!1:!a.Je};h.prototype.Ml=H(!0);h.prototype.cp=H(!0);h.prototype.lj=H(!0);h.prototype.jp=H(!0);h.prototype.jj=H(!0);m.j=new h;q.prototype.Xf=function(a){this.b.vf||this.b.ue||(this.b.ue=a)};q.prototype.Ye=function(a,b,c,g){if(b&&a&&(b=this.b.hm(a,b,c,g))){this.b.Gc++;var p;this.b.trigger(Object.getPrototypeOf(a.za).j.gj,b);if(b.fc)for(c=0,g=b.siblings.length;c<g;c++)p=b.siblings[c],this.b.trigger(Object.getPrototypeOf(p.type.za).j.gj,p);this.b.Gc--;a=a.ea();a.pa=!1;a.d.length=1;a.d[0]=b;if(b.fc)for(c=
0,g=b.siblings.length;c<g;c++)p=b.siblings[c],a=p.type.ea(),a.pa=!1,a.d.length=1,a.d[0]=p}};q.prototype.Rl=function(a,b){0===a.$i?fa(b)?a.Ue(b):a.Ue(parseFloat(b)):1===a.$i&&a.Ue(b.toString())};q.prototype.Oo=function(a,b){0===a.$i?fa(b)?a.Ue(a.mg()+b):a.Ue(a.mg()+parseFloat(b)):1===a.$i&&a.Ue(a.mg()+b.toString())};var b=[],a=[];q.prototype.$f=function(c){if(!(0>c)){var f,l,g,p=this.b.wb(),k;k=b.length?b.pop():{zb:{},ua:[]};k.Cj=!1;k.time=this.b.gc.Ka+c;k.hf=p.Mb;k.Ib=p.Ib+1;c=0;for(f=this.b.q.length;c<
f;c++)g=this.b.q[c],l=g.ea(),l.pa&&-1===p.Mb.ua.indexOf(g)||(k.ua.push(g),g=void 0,g=a.length?a.pop():{xd:[]},g.Ji=!1,g.Ji=l.pa,va(g.xd,l.d),k.zb[c.toString()]=g);this.Hb.push(k);return!0}};q.prototype.mj=function(){0>this.b.sn||(this.b.Qq().kc=!0)};q.prototype.Uo=function(a){if(!this.b.vf&&!this.b.ue)for(var b in this.b.xf)if(this.b.xf.hasOwnProperty(b)&&cb(b,a)){this.b.ue=this.b.xf[b];break}};m.n=new q;c.prototype["int"]=function(a,b){Q(b)?(a.ta(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.ta(b)};
c.prototype["float"]=function(a,b){Q(b)?(a.J(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.J(b)};c.prototype.random=function(a,b,c){void 0===c?a.J(Math.random()*b):a.J(Math.random()*(c-b)+b)};c.prototype.sqrt=function(a,b){a.J(Math.sqrt(b))};c.prototype.abs=function(a,b){a.J(Math.abs(b))};c.prototype.round=function(a,b){a.ta(Math.round(b))};c.prototype.floor=function(a,b){a.ta(Math.floor(b))};c.prototype.ceil=function(a,b){a.ta(Math.ceil(b))};c.prototype.sin=function(a,b){a.J(Math.sin(U(b)))};c.prototype.cos=
function(a,b){a.J(Math.cos(U(b)))};c.prototype.tan=function(a,b){a.J(Math.tan(U(b)))};c.prototype.acos=function(a,b){a.J(ya(Math.acos(b)))};c.prototype.exp=function(a,b){a.J(Math.exp(b))};c.prototype.max=function(a){var b=arguments[1],c,g;c=2;for(g=arguments.length;c<g;c++)b<arguments[c]&&(b=arguments[c]);a.J(b)};c.prototype.min=function(a){var b=arguments[1],c,g;c=2;for(g=arguments.length;c<g;c++)b>arguments[c]&&(b=arguments[c]);a.J(b)};c.prototype.xe=function(a){a.J(this.b.xe)};c.prototype.Qf=function(a){a.J(this.b.Qf)};
c.prototype.time=function(a){a.J(this.b.gc.Ka)};c.prototype.Ed=function(a){a.ta(this.b.Ed)};c.prototype.wi=function(a){a.ta(this.b.wi)};c.prototype.Kj=function(a){a.ta(this.b.Kj)};c.prototype.k=function(a,b,c,g,p){a.J(ya(Ea(b,c,g,p)))};c.prototype.left=function(a,b,c){a.yc(Q(b)?b.substr(0,c):"")};c.prototype.right=function(a,b,c){a.yc(Q(b)?b.substr(b.length-c):"")};c.prototype.replace=function(a,b,c,g){Q(b)&&Q(c)&&Q(g)?a.yc(b.replace(RegExp(Va(c),"gi"),g)):a.yc(Q(b)?b:"")};c.prototype.yj=function(a){a.J(this.b.yj/
1E3)};c.prototype.zf=function(a){a.J(this.b.zf)};m.qa=new c;m.os=function(){var c,f,l,g,p,k,m=this.b.wb();c=0;for(l=this.Hb.length;c<l;c++)if(g=this.Hb[c],!(g.time>this.b.gc.Ka)){m.Mb=g.hf;m.Ib=g.Ib;m.Bb=0;for(f in g.zb)g.zb.hasOwnProperty(f)&&(p=this.b.q[parseInt(f,10)].ea(),k=g.zb[f],p.pa=k.Ji,va(p.d,k.xd),p=k,p.xd.length=0,a.push(p));g.hf.ns();this.b.xj(g.ua);g.Cj=!0}f=c=0;for(l=this.Hb.length;c<l;c++)g=this.Hb[c],this.Hb[f]=g,g.Cj?(Sa(g.zb),g.ua.length=0,b.push(g)):f++;this.Hb.length=f}})();
(function(){eb=function(h){var c=h[0].prototype,m=h[1],b=h[3],a=h[4],e=h[5],f=h[6],l=h[7];h=h[8];c.j||(c.j={});c.n||(c.n={});c.qa||(c.qa={});var g=c.j,p=c.n,c=c.qa;b&&(g.cj=function(a,b){return Tb(this.x,a,b)},g.Xs=function(a,b){return Tb(this.y,a,b)},g.dt=function(){var a=this.i;this.wa();var b=this.Aa;return!(b.right<a.jb||b.bottom<a.kb||b.left>a.Yb||b.top>a.Xb)},g.Xo=function(){this.wa();var a=this.Aa,b=this.b.la;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},g.pt=function(a,b,c){var e=
this.ea(),f=e.Xc();if(!f.length)return!1;var d=f[0],g=d,l=Ma(d.x,d.y,b,c),p,m,h;p=1;for(m=f.length;p<m;p++)if(d=f[p],h=Ma(d.x,d.y,b,c),0===a&&h<l||1===a&&h>l)l=h,g=d;e.Ug(g);return!0},p.Kd=function(a){this.x!==a&&(this.x=a,this.D())},p.It=function(a){this.y!==a&&(this.y=a,this.D())},p.Et=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.D()},p.Ft=function(a,b){var c=a.Xq(this);if(c){var e;c.Vj?(e=c.Vj(b,!0),c=c.Vj(b,!1)):(e=c.x,c=c.y);if(this.x!==e||this.y!==c)this.x=e,this.y=c,this.D()}},
p.jt=function(a){0!==a&&(this.x+=Math.cos(this.k)*a,this.y+=Math.sin(this.k)*a,this.D())},p.it=function(a,b){0!==b&&(this.x+=Math.cos(U(a))*b,this.y+=Math.sin(U(a))*b,this.D())},c.Rc=function(a){a.J(this.x)},c.$e=function(a){a.J(this.y)},c.xe=function(a){a.J(this.b.Sj(this))});a&&(g.Ws=function(a,b){return Tb(this.width,a,b)},g.Ts=function(a,b){return Tb(this.height,a,b)},p.xp=function(a){this.width!==a&&(this.width=a,this.D())},p.Bt=function(a){this.height!==a&&(this.height=a,this.D())},p.Gt=function(a,
b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.D()},c.Mt=function(a){a.J(this.width)},c.Zs=function(a){a.J(this.height)},c.Qs=function(a){this.wa();a.J(this.Aa.left)},c.Ss=function(a){this.wa();a.J(this.Aa.top)},c.Rs=function(a){this.wa();a.J(this.Aa.right)},c.Ps=function(a){this.wa();a.J(this.Aa.bottom)});e&&(g.Os=function(a,b){return Ia(this.k,U(b))<=U(a)},g.bt=function(a){return Ka(this.k,U(a))},g.Vo=function(a,b){var c=Da(a),e=Da(b),f=Aa(this.k);return Ka(e,c)?Ka(f,c)&&
!Ka(f,e):!(!Ka(f,c)&&Ka(f,e))},p.Pl=function(a){a=U(za(a));isNaN(a)||this.k===a||(this.k=a,this.D())},p.ut=function(a){0===a||isNaN(a)||(this.k+=U(a),this.k=Aa(this.k),this.D())},p.wt=function(a){0===a||isNaN(a)||(this.k-=U(a),this.k=Aa(this.k),this.D())},p.xt=function(a,b){var c=Ja(this.k,U(b),U(a));isNaN(c)||this.k===c||(this.k=c,this.D())},p.yt=function(a,b,c){a=Ja(this.k,Math.atan2(c-this.y,b-this.x),U(a));isNaN(a)||this.k===a||(this.k=a,this.D())},p.Ht=function(a,b){var c=Math.atan2(b-this.y,
a-this.x);isNaN(c)||this.k===c||(this.k=c,this.D())},c.Po=function(a){a.J(Ca(this.k))});m||(g.Us=function(a,b,c){return Tb(this.Ra[a],b,c)},g.Wo=function(a){return this.Ra[a]},g.qt=function(a,b){var c=this.ea(),e=c.Xc();if(!e.length)return!1;var f=e[0],d=f,g=f.Ra[b],l,p,m;l=1;for(p=e.length;l<p;l++)if(f=e[l],m=f.Ra[b],0===a&&m<g||1===a&&m>g)g=m,d=f;c.Ug(d);return!0},g.ot=function(a){var b,c,e,f,d;if(this.b.Rj().pf){d=this.ea();if(d.pa)for(d.pa=!1,d.d.length=0,d.$.length=0,e=this.d,b=0,c=e.length;b<
c;b++)f=e[b],f.uid===a?d.$.push(f):d.d.push(f);else{e=b=0;for(c=d.d.length;b<c;b++)f=d.d[b],d.d[e]=f,f.uid===a?d.$.push(f):e++;d.d.length=e}this.Md();return!!d.d.length}f=this.b.kg(a);if(!f)return!1;d=this.ea();if(!d.pa&&-1===d.d.indexOf(f))return!1;if(this.F)for(a=f.type.ra,b=0,c=a.length;b<c;b++){if(a[b]===this)return d.Ug(f),this.Md(),!0}else if(f.type===this)return d.Ug(f),this.Md(),!0;return!1},g.gj=H(!0),g.ep=H(!0),p.Ct=function(a,b){var c=this.Ra;fa(c[a])?c[a]=fa(b)?b:parseFloat(b):Q(c[a])&&
(c[a]=Q(b)?b:b.toString())},p.Ns=function(a,b){var c=this.Ra;fa(c[a])?c[a]=fa(b)?c[a]+b:c[a]+parseFloat(b):Q(c[a])&&(c[a]=Q(b)?c[a]+b:c[a]+b.toString())},p.Jt=function(a,b){var c=this.Ra;fa(c[a])&&(c[a]=fa(b)?c[a]-b:c[a]-parseFloat(b))},p.Ql=function(a,b){this.Ra[a]=b?1:0},p.Kt=function(a){this.Ra[a]=1-this.Ra[a]},p.Id=function(){this.b.Jd(this)},p.Yo||(p.Yo=function(a){var b,c;try{b=JSON.parse(a)}catch(e){return}this.b.pi(this,b,!0);this.Sc&&this.Sc();if(this.M)for(a=0,b=this.M.length;a<b;++a)c=
this.M[a],c.Sc&&c.Sc()}),c.Ys=function(a){var b=a.Ff.d.length,c,e,f;c=0;for(e=this.b.Db.length;c<e;c++)f=this.b.Db[c],a.Ff.F?0<=f.type.ra.indexOf(a.Ff)&&b++:f.type===a.Ff&&b++;a.ta(b)},c.tt=function(a){a.ta(a.Ff.ea().Xc().length)},c.Lt=function(a){a.ta(this.uid)},c.$s=function(a){a.ta(this.ng())},c.Qo||(c.Qo=function(a){a.yc(JSON.stringify(this.b.il(this,!0)))}));f&&(g.et=A("visible"),p.vp=function(a){!a!==!this.visible&&(this.visible=a,this.b.ka=!0)},g.Vs=function(a,b){return Tb($a(100*this.opacity),
a,b)},p.Dt=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ka=!0)},c.Opacity=function(a){a.J($a(100*this.opacity))});l&&(g.ct=function(a){return a?this.i===a:!1},g.st=function(a){var b=this.ea(),c=b.Xc();if(!c.length)return!1;var e=c[0],f=e,d,g;d=1;for(g=c.length;d<g;d++)if(e=c[d],0===a){if(e.i.index>f.i.index||e.i.index===f.i.index&&e.ec()>f.ec())f=e}else if(e.i.index<f.i.index||e.i.index===f.i.index&&e.ec()<f.ec())f=e;b.Ug(f);return!0},p.Zo=function(){var a=this.ec();
a!==this.i.d.length-1&&(ua(this.i.d,a),this.i.d.push(this),this.b.ka=!0,this.i.Zb=!0)},p.kt=function(){var a=this.ec();0!==a&&(ua(this.i.d,a),this.i.d.unshift(this),this.b.ka=!0,this.i.Zb=!0)},p.lt=function(a){a&&a!=this.i&&(ua(this.i.d,this.ec()),this.i.Zb=!0,this.i=a,this.Xe=a.d.length,a.d.push(this),this.b.ka=!0)},p.Ot=function(a,b){var c=0===a;if(b){var e=b.Rq(this);if(e&&e.uid!==this.uid){this.i.index!==e.i.index&&(ua(this.i.d,this.ec()),this.i.Zb=!0,this.i=e.i,this.Xe=e.i.d.length,e.i.d.push(this));
var f=this.ec(),e=e.ec();ua(this.i.d,f);f<e&&e--;c&&e++;e===this.i.d.length?this.i.d.push(this):this.i.d.splice(e,0,this);this.i.Zb=!0;this.b.ka=!0}}},c.ht=function(a){a.ta(this.i.Cn)},c.gt=function(a){a.yc(this.i.name)},c.Nt=function(a){a.ta(this.ec())});h&&(p.zt=function(a,b){if(this.b.r){var c=this.type.Uj(b);if(!(0>c)){var e=1===a;this.Ld[c]!==e&&(this.Ld[c]=e,this.Gd(),this.b.ka=!0)}}},p.At=function(a,b,c){if(this.b.r){var e=this.type.Uj(a);0>e||(a=this.type.I[e],e=this.Ca[e],b=Math.floor(b),
0>b||b>=e.length||(1===this.b.r.$q(a.ib,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.md&&(this.b.ka=!0))))}})};Ab=function(){this.uj=this.qj=!0;this.type.oh=!0;this.b.ka=!0;var h,c,m=this.rj;h=0;for(c=m.length;h<c;++h)m[h](this)};Bb=function(h){h&&this.rj.push(h)};Db=function(){if(this.qj){var h=this.Aa,c=this.ub;h.set(this.x,this.y,this.x+this.width,this.y+this.height);h.offset(-this.Fb*this.width,-this.Gb*this.height);this.k?(h.offset(-this.x,-this.y),c.jo(h,this.k),c.offset(this.x,this.y),c.$l(h)):c.bh(h);
h.normalize();this.qj=!1}};var h=new oa(0,0,0,0);Eb=function(){if(this.uj&&this.pd){this.wa();var q=this.type.Bh,c=this.Ah,m=this.Aa;h.set(q.mh(m.left),q.nh(m.top),q.mh(m.right),q.nh(m.bottom));c.lq(h)||(c.right<c.left?q.update(this,null,h):q.update(this,c,h),c.copy(h),this.uj=!1)}};Cb=function(h,c){return this.Aa.Lb(h,c)&&this.ub.Lb(h,c)?this.Z&&!this.Z.sf()?(this.Z.ef(this.width,this.height,this.k),this.Z.Lb(h-this.x,c-this.y)):!0:!1};wb=function(){this.type.Xi();return this.De};Fb=function(){this.i.Is();
return this.Xe};Gb=function(){this.W.length=0;var h,c;h=0;for(c=this.Ld.length;h<c;h++)this.Ld[h]&&this.W.push(this.type.I[h]);this.Mo=!!this.W.length};xb=function(){return"Inst"+this.Xn};hb=function(h){if(h&&h.fc&&h.type!=this){var c,m,b;c=0;for(m=h.siblings.length;c<m;c++)if(b=h.siblings[c],b.type==this)return b}h=this.ea().Xc();return h.length?h[0]:null};ib=function(h){var c=this.ea().Xc();return c.length?c[h.ng()%c.length]:null};gb=function(){if(this.Of&&!this.F){var h,c;h=0;for(c=this.d.length;h<
c;h++)this.d[h].De=h;var m=h,b=this.b.Db;h=0;for(c=b.length;h<c;++h)b[h].type===this&&(b[h].De=m++);this.Of=!1}};ub=function(h){if(h<this.d.length)return this.d[h];h-=this.d.length;var c=this.b.Db,m,b;m=0;for(b=c.length;m<b;++m)if(c[m].type===this){if(0===h)return c[m];--h}return null};jb=function(){return this.ke[this.sd]};kb=function(){this.sd++;this.sd===this.ke.length?this.ke.push(new fb(this)):this.ke[this.sd].pa=!0};lb=function(){this.sd++;this.sd===this.ke.length&&this.ke.push(new fb(this));
var h=this.ke[this.sd],c=this.ke[this.sd-1];c.pa?h.pa=!0:(h.pa=!1,va(h.d,c.d),va(h.$,c.$))};mb=function(){this.sd--};nb=function(h){var c,m,b,a,e,f=0;if(!this.F)for(c=0,m=this.ra.length;c<m;c++)for(e=this.ra[c],b=0,a=e.La.length;b<a;b++){if(h===e.La[b].name)return this.X.Zm=f,e.La[b];f++}c=0;for(m=this.La.length;c<m;c++){if(h===this.La[c].name)return this.X.Zm=f,this.La[c];f++}return null};rb=function(h){return this.Vh(h)?this.X.Zm:-1};sb=function(h){var c,m;c=0;for(m=this.I.length;c<m;c++)if(this.I[c].name===
h)return c;return-1};tb=function(){if(this.fc&&!this.F){var h,c,m,b,a,e,f;this.Xi();e=this.ea();var l=e.pa,g=(h=this.b.wb())&&h.Mb&&h.Mb.Jc;h=0;for(c=this.Cb.length;h<c;h++)if(a=this.Cb[h],a!==this&&(a.Xi(),f=a.ea(),f.pa=l,!l)){f.d.length=e.d.length;m=0;for(b=e.d.length;m<b;m++)f.d[m]=a.Am(e.d[m].De);if(g)for(f.$.length=e.$.length,m=0,b=e.$.length;m<b;m++)f.$[m]=a.Am(e.$[m].De)}}};vb=function(){return"Type"+this.S};Tb=function(h,c,m){if("undefined"===typeof h||"undefined"===typeof m)return!1;switch(c){case 0:return h===
m;case 1:return h!==m;case 2:return h<m;case 3:return h<=m;case 4:return h>m;case 5:return h>=m;default:return!1}}})();var ac={};function cc(h){this.b=h}
(function(){function h(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function q(a){a=a.toLowerCase();return P.hasOwnProperty(a)&&P[a].length?P[a][0].cc():x.destination}function c(){return x.createGain?x.createGain():x.createGainNode()}function m(a){return x.createDelay?x.createDelay(a):x.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 e(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function f(a,
b,d,e,f,k){this.type="filter";this.Kc=[a,b,d,e,f,k];this.T=c();this.H=c();this.H.gain.value=k;this.G=c();this.G.gain.value=1-k;this.Ma=x.createBiquadFilter();this.Ma.type="number"===typeof this.Ma.type?a:nc[a];this.Ma.frequency.value=b;this.Ma.detune&&(this.Ma.detune.value=d);this.Ma.Q.value=e;this.Ma.gain.value=f;this.T.connect(this.Ma);this.T.connect(this.G);this.Ma.connect(this.H)}function l(a,b,d){this.type="delay";this.Kc=[a,b,d];this.T=c();this.H=c();this.H.gain.value=d;this.G=c();this.G.gain.value=
1-d;this.Og=c();this.pc=m(a);this.pc.delayTime.value=a;this.Ih=c();this.Ih.gain.value=b;this.T.connect(this.Og);this.T.connect(this.G);this.Og.connect(this.H);this.Og.connect(this.pc);this.pc.connect(this.Ih);this.Ih.connect(this.Og)}function g(a,b,d,e){this.type="convolve";this.Kc=[b,d,e];this.T=c();this.H=c();this.H.gain.value=d;this.G=c();this.G.gain.value=1-d;this.ve=x.createConvolver();a&&(this.ve.normalize=b,this.ve.buffer=a);this.T.connect(this.ve);this.T.connect(this.G);this.ve.connect(this.H)}
function p(a,d,e,f,k){this.type="flanger";this.Kc=[a,d,e,f,k];this.T=c();this.G=c();this.G.gain.value=1-k/2;this.H=c();this.H.gain.value=k/2;this.Ph=c();this.Ph.gain.value=f;this.pc=m(a+d);this.pc.delayTime.value=a;this.ab=x.createOscillator();this.ab.frequency.value=e;this.Tb=c();this.Tb.gain.value=d;this.T.connect(this.pc);this.T.connect(this.G);this.pc.connect(this.H);this.pc.connect(this.Ph);this.Ph.connect(this.pc);this.ab.connect(this.Tb);this.Tb.connect(this.pc.delayTime);b(this.ab)}function k(a,
d,e,f,k,g){this.type="phaser";this.Kc=[a,d,e,f,k,g];this.T=c();this.G=c();this.G.gain.value=1-g/2;this.H=c();this.H.gain.value=g/2;this.Ma=x.createBiquadFilter();this.Ma.type="number"===typeof this.Ma.type?7:"allpass";this.Ma.frequency.value=a;this.Ma.detune&&(this.Ma.detune.value=d);this.Ma.Q.value=e;this.ab=x.createOscillator();this.ab.frequency.value=k;this.Tb=c();this.Tb.gain.value=f;this.T.connect(this.Ma);this.T.connect(this.G);this.Ma.connect(this.H);this.ab.connect(this.Tb);this.Tb.connect(this.Ma.frequency);
b(this.ab)}function K(a){this.type="gain";this.Kc=[a];this.V=c();this.V.gain.value=a}function s(a,d){this.type="tremolo";this.Kc=[a,d];this.V=c();this.V.gain.value=1-d/2;this.ab=x.createOscillator();this.ab.frequency.value=a;this.Tb=c();this.Tb.gain.value=d/2;this.ab.connect(this.Tb);this.Tb.connect(this.V.gain);b(this.ab)}function v(a,d){this.type="ringmod";this.Kc=[a,d];this.T=c();this.H=c();this.H.gain.value=d;this.G=c();this.G.gain.value=1-d;this.$g=c();this.$g.gain.value=0;this.ab=x.createOscillator();
this.ab.frequency.value=a;this.ab.connect(this.$g.gain);b(this.ab);this.T.connect(this.$g);this.T.connect(this.G);this.$g.connect(this.H)}function n(a,b,d,e,f){this.type="distortion";this.Kc=[a,b,d,e,f];this.T=c();this.Di=c();this.Ci=c();this.ws(d,Math.pow(10,e/20));this.H=c();this.H.gain.value=f;this.G=c();this.G.gain.value=1-f;this.bj=x.createWaveShaper();this.Gh=new Float32Array(65536);this.Nq(a,b);this.bj.Gh=this.Gh;this.T.connect(this.Di);this.T.connect(this.G);this.Di.connect(this.bj);this.bj.connect(this.Ci);
this.Ci.connect(this.H)}function d(a,b,c,d,e){this.type="compressor";this.Kc=[a,b,c,d,e];this.V=x.createDynamicsCompressor();try{this.V.threshold.value=a,this.V.knee.value=b,this.V.ratio.value=c,this.V.attack.value=d,this.V.release.value=e}catch(f){}}function r(a,b){this.type="analyser";this.Kc=[a,b];this.V=x.createAnalyser();this.V.fftSize=a;this.V.smoothingTimeConstant=b;this.Lq=new Float32Array(this.V.frequencyBinCount);this.mo=new Uint8Array(a);this.Tg=0}function z(){this.P=null;this.ri=0;this.le=
[];this.Fk=this.gi=this.fi=0}function B(a,b){this.src=a;this.fa=u;this.Hc=b;this.Vl=!1;var d=this;this.Ek=this.Ok=null;this.If=[];this.Ki=0;this.qo=this.yi=!1;u===t&&b&&(this.fa=D,this.Ok=c());this.qh=this.ya=null;var e;switch(this.fa){case D:this.ya=new Audio;u===t&&x.createMediaElementSource&&!C.Qm&&(this.qo=!0,this.ya.addEventListener("canplay",function(){d.Ek||(d.Ek=x.createMediaElementSource(d.ya),d.Ek.connect(d.Ok))}));this.ya.autoplay=!1;this.ya.Zt="auto";this.ya.src=a;break;case t:e=new XMLHttpRequest;
e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){d.qh=e.response;d.Rp()};e.send();break;case E:this.ya=!0;break;case S:this.ya=!0}}function F(a,b){var d=this;this.me=b;this.kc=this.Ud=!0;this.src=a.src;this.buffer=a;this.fa=u;this.Hc=a.Hc;this.playbackRate=1;this.Qk=!0;this.zd=this.Cd=!1;this.Nc=0;this.xg=this.uf=this.Bd=!1;this.Pg=this.volume=1;this.startTime=C.gc.Ka;this.Ia=this.Xa=null;this.ad=!1;this.Ha=null;this.Ln=this.Kn=this.Jn=this.In=this.Nn=this.Mn=0;this.m=null;var e=
!1;this.fa!==t||this.buffer.fa!==D||this.buffer.qo||(this.fa=D);switch(this.fa){case D:this.Hc?(this.m=a.ya,e=!a.Vl,a.Vl=!0):(this.m=new Audio,this.m.autoplay=!1,this.m.src=a.ya.src,e=!0);e&&this.m.addEventListener("ended",function(){M=d.me;d.kc=!0;C.trigger(cc.prototype.j.hj,J)});break;case t:this.Xa=c();this.Xa.connect(q(b));this.buffer.fa===t?a.ya&&(this.m=x.createBufferSource(),this.m.buffer=a.ya,this.m.connect(this.Xa)):(this.m=this.buffer.ya,this.buffer.Ok.connect(this.Xa));break;case E:this.m=
new window.Media(O+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(d.Qk=!0,d.kc=!0,M=d.me,C.trigger(cc.prototype.j.hj,J))});break;case S:this.m=!0}}function G(a,b){P.hasOwnProperty(a)?P[a].push(b):P[a]=[b];var c,d,e,f,k=x.destination;if(P.hasOwnProperty(a)&&(e=P[a],e.length))for(k=e[0].cc(),c=0,d=e.length;c<d;c++)f=e[c],c+1===d?f.mc(x.destination):f.mc(e[c+1].cc());Fa.length=0;if(a.length)for(c=0,d=L.length;c<d;c++)e=L[c],cb(a,e.me)&&Fa.push(e);else ca&&!ca.qg()&&(Fa.length=1,Fa[0]=
ca);c=0;for(d=Fa.length;c<d;c++)Fa[c].ks(k);Ba&&ob===a&&(Ba.disconnect(),Ba.connect(k))}function I(){}function ba(){}var T=cc.prototype;T.Wa=function(a){this.za=a;this.b=a.b};T.Wa.prototype.ja=y();var C=null,J=null,M="",O="",D=0,t=1,E=2,S=3,u=D,x=null,X=[],L=[],ca=null,ab=!1,bb=0,pa=!1,qa=1,Ga=0,Ha=0,pb=1,qb=1,jc=10,kc=1E4,lc=1,Ba=null,ob="",Oa=!1,Pa=[],P={},nc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");f.prototype.mc=function(a){this.H.disconnect();this.H.connect(a);
this.G.disconnect();this.G.connect(a)};f.prototype.remove=function(){this.T.disconnect();this.Ma.disconnect();this.H.disconnect();this.G.disconnect()};f.prototype.cc=A("T");l.prototype.mc=function(a){this.H.disconnect();this.H.connect(a);this.G.disconnect();this.G.connect(a)};l.prototype.remove=function(){this.T.disconnect();this.Og.disconnect();this.pc.disconnect();this.Ih.disconnect();this.H.disconnect();this.G.disconnect()};l.prototype.cc=A("T");g.prototype.mc=function(a){this.H.disconnect();this.H.connect(a);
this.G.disconnect();this.G.connect(a)};g.prototype.remove=function(){this.T.disconnect();this.ve.disconnect();this.H.disconnect();this.G.disconnect()};g.prototype.cc=A("T");p.prototype.mc=function(a){this.G.disconnect();this.G.connect(a);this.H.disconnect();this.H.connect(a)};p.prototype.remove=function(){this.T.disconnect();this.pc.disconnect();this.ab.disconnect();this.Tb.disconnect();this.G.disconnect();this.H.disconnect();this.Ph.disconnect()};p.prototype.cc=A("T");k.prototype.mc=function(a){this.G.disconnect();
this.G.connect(a);this.H.disconnect();this.H.connect(a)};k.prototype.remove=function(){this.T.disconnect();this.Ma.disconnect();this.ab.disconnect();this.Tb.disconnect();this.G.disconnect();this.H.disconnect()};k.prototype.cc=A("T");K.prototype.mc=function(a){this.V.disconnect();this.V.connect(a)};K.prototype.remove=function(){this.V.disconnect()};K.prototype.cc=A("V");s.prototype.mc=function(a){this.V.disconnect();this.V.connect(a)};s.prototype.remove=function(){this.ab.disconnect();this.Tb.disconnect();
this.V.disconnect()};s.prototype.cc=A("V");v.prototype.mc=function(a){this.H.disconnect();this.H.connect(a);this.G.disconnect();this.G.connect(a)};v.prototype.remove=function(){this.ab.disconnect();this.$g.disconnect();this.T.disconnect();this.H.disconnect();this.G.disconnect()};v.prototype.cc=A("T");n.prototype.ws=function(a,b){0.01>a&&(a=0.01);this.Di.gain.value=a;this.Ci.gain.value=Math.pow(1/a,0.6)*b};n.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/
d)*(a-b)));return b*c};n.prototype.Nq=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.Gh[32768+f]=e,this.Gh[32768-f-1]=-e};n.prototype.mc=function(a){this.H.disconnect();this.H.connect(a);this.G.disconnect();this.G.connect(a)};n.prototype.remove=function(){this.T.disconnect();this.Di.disconnect();this.bj.disconnect();this.Ci.disconnect();this.H.disconnect();this.G.disconnect()};n.prototype.cc=A("T");d.prototype.mc=function(a){this.V.disconnect();
this.V.connect(a)};d.prototype.remove=function(){this.V.disconnect()};d.prototype.cc=A("V");r.prototype.cb=function(){this.V.getFloatFrequencyData(this.Lq);this.V.getByteTimeDomainData(this.mo);for(var a=this.V.fftSize,b=0,c=this.Tg=0,d=0;b<a;b++)d=(this.mo[b]-128)/128,0>d&&(d=-d),this.Tg<d&&(this.Tg=d),c+=d*d;this.Tg=h(this.Tg);h(Math.sqrt(c/a))};r.prototype.mc=function(a){this.V.disconnect();this.V.connect(a)};r.prototype.remove=function(){this.V.disconnect()};r.prototype.cc=A("V");z.prototype.ah=
function(a){if(this.P=a)this.fi=this.P.x,this.gi=this.P.y;this.le.length=0};z.prototype.Zh=function(){return!!this.P};z.prototype.cb=function(a){this.P&&0!==a&&(this.Fk=Ea(this.fi,this.gi,this.P.x,this.P.y),a=Ma(this.fi,this.gi,this.P.x,this.P.y)/a,4>this.le.length||this.le.shift(),this.le.push(a),this.fi=this.P.x,this.gi=this.P.y)};z.prototype.Dm=function(){if(!this.le.length)return 0;var a,b,c=0;a=0;for(b=this.le.length;a<b;a++)c+=this.le[a];return c/this.le.length};z.prototype.Zj=function(){return Math.cos(this.Fk)*
this.Dm()};z.prototype.$j=function(){return Math.sin(this.Fk)*this.Dm()};var mc=!1;B.prototype.Rp=function(){if(!this.ya&&this.qh){var a=this;if(x.decodeAudioData)x.decodeAudioData(this.qh,function(b){a.ya=b;var c,d,e;if(ea(a.Ai)||pa)ea(a.Ch)||(c=a.Ch.ve,c.normalize=a.Bn,c.buffer=b);else if(a.If.length){c=0;for(d=a.If.length;c<d;c++){b=a.If[c];e=new F(a,b.vo);e.ll(!0);if("undefined"!==typeof b.Dn&&(b.P=C.kg(b.Dn),!b.P))continue;if(b.P){var f=La(b.P.x,b.P.y,-b.P.i.Oa(),Ga,Ha,!0),k=La(b.P.x,b.P.y,-b.P.i.Oa(),
Ga,Ha,!1);e.kl(f,k,ya(b.P.k-b.P.i.Oa()),b.ek,b.Hk,b.Jk);e.ah(b.P)}else e.kl(b.x,b.y,b.Bp,b.ek,b.Hk,b.Jk);e.play(a.Ck,a.Fl,a.Ki);a.yi&&e.pause();L.push(e)}a.If.length=0}else e=new F(a,a.Ai),e.play(a.Ck,a.Fl,a.Ki),a.yi&&e.pause(),L.push(e)});else if(this.ya=x.createBuffer(this.qh,!1),ea(this.Ai)||pa)ea(this.Ch)||(b=this.Ch.ve,b.normalize=this.Bn,b.buffer=this.ya);else{var b=new F(this,this.Ai);b.play(this.Ck,this.Fl,this.Ki);this.yi&&b.pause();L.push(b)}}};F.prototype.qg=function(){switch(this.fa){case D:return this.m.ended;
case t:return this.buffer.fa===t?!this.Ud&&!this.kc&&this.m.loop||this.zd?!1:C.gc.Ka-this.startTime>this.buffer.ya.duration:this.m.ended;case E:return this.Qk;case S:!0}return!0};F.prototype.Kp=function(){return this.Ud||this.kc?!0:this.qg()};F.prototype.ll=function(a){u===t&&(!this.ad&&a?this.Xa&&(this.Ia||(this.Ia=x.createPanner(),this.Ia.panningModel="number"===typeof this.Ia.panningModel?pb:["equalpower","HRTF","soundfield"][pb],this.Ia.distanceModel="number"===typeof this.Ia.distanceModel?qb:
["linear","inverse","exponential"][qb],this.Ia.refDistance=jc,this.Ia.maxDistance=kc,this.Ia.rolloffFactor=lc),this.Xa.disconnect(),this.Xa.connect(this.Ia),this.Ia.connect(q(this.me)),this.ad=!0):this.ad&&!a&&this.Xa&&(this.Ia.disconnect(),this.Xa.disconnect(),this.Xa.connect(q(this.me)),this.ad=!1))};F.prototype.kl=function(a,b,c,d,e,f){this.ad&&u===t&&(this.Ia.setPosition(a,b,0),this.Ia.setOrientation(Math.cos(U(c)),Math.sin(U(c)),0),this.Ia.coneInnerAngle=d,this.Ia.coneOuterAngle=e,this.Ia.coneOuterGain=
f,this.Mn=a,this.Nn=b,this.In=c,this.Jn=d,this.Kn=e,this.Ln=f)};F.prototype.ah=function(a){this.ad&&u===t&&(this.Ha||(this.Ha=new z),this.Ha.ah(a))};F.prototype.cb=function(a){if(this.ad&&u===t&&this.Ha&&this.Ha.Zh()&&this.rf()){this.Ha.cb(a);a=this.Ha.P;var b=La(a.x,a.y,-a.i.Oa(),Ga,Ha,!0),c=La(a.x,a.y,-a.i.Oa(),Ga,Ha,!1);this.Ia.setPosition(b,c,0);b=0;"undefined"!==typeof this.Ha.P.k&&(b=a.k-a.i.Oa(),this.Ia.setOrientation(Math.cos(b),Math.sin(b),0));b=La(this.Ha.Zj(),this.Ha.$j(),-a.i.Oa(),0,0,
!0);c=La(this.Ha.Zj(),this.Ha.$j(),-a.i.Oa(),0,0,!1);this.Ia.setVelocity(b,c,0)}};F.prototype.play=function(c,d,e){var f=this.m;this.Bd=c;this.volume=d;e=e||0;switch(this.fa){case D:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==d*qa&&(f.volume=d*qa);f.loop!==c&&(f.loop=c);f.muted&&(f.muted=!1);if(f.currentTime!==e)try{f.currentTime=e}catch(k){}this.Hc&&Oa&&!C.sc?Pa.push(this):this.m.play();break;case t:this.muted=!1;this.Pg=1;if(this.buffer.fa===t)this.Ud||(this.m=x.createBufferSource(),this.m.buffer=
this.buffer.ya,this.m.connect(this.Xa)),this.m.loop=c,this.Xa.gain.value=d*qa,0===e?b(this.m):a(this.m,e,this.nf());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==c&&(f.loop=c);this.Xa.gain.value=d*qa;if(f.currentTime!==e)try{f.currentTime=e}catch(g){}this.Hc&&Oa&&!C.sc?Pa.push(this):f.play()}break;case E:(!this.Ud&&this.kc||0!==e)&&f.seekTo(e);f.play();this.Qk=!1;break;case S:C.Pb?AppMobi.context.playSound(this.src,c):AppMobi.player.playSound(this.src,c)}this.playbackRate=1;this.startTime=
C.gc.Ka-e;this.zd=this.kc=this.Ud=!1};F.prototype.stop=function(){switch(this.fa){case D:this.m.paused||this.m.pause();break;case t:this.buffer.fa===t?e(this.m):this.m.paused||this.m.pause();break;case E:this.m.stop();break;case S:C.Pb&&AppMobi.context.stopSound(this.src)}this.kc=!0;this.zd=!1};F.prototype.pause=function(){if(!(this.Ud||this.kc||this.qg()||this.zd)){switch(this.fa){case D:this.m.paused||this.m.pause();break;case t:this.buffer.fa===t?(this.Nc=this.Xj(),this.Bd&&(this.Nc%=this.nf()),
e(this.m)):this.m.paused||this.m.pause();break;case E:this.m.pause();break;case S:C.Pb&&AppMobi.context.stopSound(this.src)}this.zd=!0}};F.prototype.ks=function(a){this.fa===t&&(this.ad?(this.Ia.disconnect(),this.Ia.connect(a)):(this.Xa.disconnect(),this.Xa.connect(a)))};F.prototype.nf=function(){switch(this.fa){case D:if("undefined"!==typeof this.m.duration)return this.m.duration;break;case t:return this.buffer.ya.duration;case E:return this.m.getDuration();case S:if(C.Pb)return AppMobi.context.getDurationSound(this.src)}return 0};
F.prototype.Xj=function(){var a=this.nf(),b=0;switch(this.fa){case D:"undefined"!==typeof this.m.currentTime&&(b=this.m.currentTime);break;case t:if(this.buffer.fa===t){if(this.zd)return this.Nc;b=C.gc.Ka-this.startTime}else"undefined"!==typeof this.m.currentTime&&(b=this.m.currentTime);break;case S:C.Pb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Bd&&b>a&&(b=a);return b};F.prototype.rf=function(){return!this.zd&&!this.Ud&&!this.kc&&!this.qg()};F.prototype.Hs=function(){var a=this.volume*
qa;switch(this.fa){case D:this.m.volume&&this.m.volume!==a&&(this.m.volume=a);break;case t:this.Xa.gain.value=a*this.Pg}};F.prototype.Kh=function(a){switch(this.fa){case D:this.m.muted!==!!a&&(this.m.muted=!!a);break;case t:this.Pg=a?0:1,this.Xa.gain.value=qa*this.volume*this.Pg}};F.prototype.xs=function(){this.uf=!0;this.Kh(this.uf||this.xg)};F.prototype.ho=function(a){this.xg=!!a;this.Kh(this.uf||this.xg)};F.prototype.Jo=function(){var a=this.playbackRate;if(1===bb&&!this.Hc||2===bb)a*=C.Qf;switch(this.fa){case D:this.m.playbackRate!==
a&&(this.m.playbackRate=a);break;case t:this.buffer.fa===t?this.m.playbackRate.value!==a&&(this.m.playbackRate.value=a):this.m.playbackRate!==a&&(this.m.playbackRate=a)}};F.prototype.ys=function(b){switch(this.fa){case D:b?this.rf()?(this.m.pause(),this.Cd=!0):this.Cd=!1:this.Cd&&this.m.play();break;case t:b?this.rf()?(this.buffer.fa===t?(this.Nc=this.Xj(),this.Bd&&(this.Nc%=this.nf()),e(this.m)):this.m.pause(),this.Cd=!0):this.Cd=!1:this.Cd&&(this.buffer.fa===t?(this.m=x.createBufferSource(),this.m.buffer=
this.buffer.ya,this.m.connect(this.Xa),this.m.loop=this.Bd,this.Xa.gain.value=qa*this.volume*this.Pg,this.startTime=C.gc.Ka-this.Nc,a(this.m,this.Nc,this.nf())):this.m.play());break;case E:b?this.rf()?(this.m.pause(),this.Cd=!0):this.Cd=!1:this.Cd&&this.m.play()}};T.Fa=function(a){this.type=a;C=this.b=a.b;J=this;this.xb=null;this.Hg=-600;!(this.b.qk||this.b.ai&&(this.b.ug||this.b.Om))||this.b.kk||this.b.Pa||(Oa=!0);x=null;"undefined"!==typeof AudioContext?(u=t,x=new AudioContext):"undefined"!==typeof webkitAudioContext&&
(u=t,x=new webkitAudioContext);(this.b.qk&&u===t||Oa)&&document.addEventListener("touchstart",function(){var a,c,d;!mc&&x&&(a=x.createBuffer(1,1,22050),c=x.createBufferSource(),c.buffer=a,c.connect(x.destination),b(c),mc=!0);if(Oa){if(!pa)for(a=0,c=Pa.length;a<c;++a)d=Pa[a],d.kc||d.zd||d.m.play();Pa.length=0}},!0);u!==t&&(this.b.nk?u=E:this.b.Pm&&(u=S));u===E&&(O=location.href,a=O.lastIndexOf("/"),-1<a&&(O=O.substr(0,a+1)),O=O.replace("file://",""));if(this.b.Sm&&this.b.Gr&&"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.Jd(this);else{if(this.b.Pb)ab=this.b.ai;else try{ab=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){ab=!1}this.b.Si(this)}};var ra=T.Fa.prototype;ra.ja=function(){bb=this.B[0];this.Dd=this.B[1];pb=this.B[2];qb=this.B[3];this.Hg=-this.B[4];jc=this.B[5];kc=this.B[6];lc=this.B[7];this.xb=new z;u===t&&(x.listener.speedOfSound=this.B[8],x.listener.dopplerFactor=this.B[9],x.listener.setPosition(this.b.O/2,this.b.N/2,this.Hg),x.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){Ba&&Ba.disconnect();ob=b.toLowerCase();Ba=x.createMediaStreamSource(a);Ba.connect(q(ob))});this.b.Ul(function(a){J.Xr(a)});var a=this;this.b.Sl(function(b){a.Kk(b)})};ra.Kk=function(a){var b,c,d;b=0;for(c=L.length;b<c;b++)d=L[b],d.Ha&&d.Ha.P===a&&(d.Ha.P=null,d.ad&&d.rf()&&d.Bd&&d.stop());this.xb.P===a&&(this.xb.P=null)};ra.Ub=function(){var a={silent:pa,masterVolume:qa,listenerZ:this.Hg,listenerUid:this.xb.Zh()?this.xb.P.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,k,g;c=0;for(d=
L.length;c<d;c++)e=L[c],!e.rf()||3===this.Dd||e.Hc&&1===this.Dd||!e.Hc&&2===this.Dd||(f=e.Xj(),e.Bd&&(f%=e.nf()),f={tag:e.me,buffersrc:e.buffer.src,is_music:e.Hc,playbackTime:f,volume:e.volume,looping:e.Bd,muted:e.uf,playbackRate:e.playbackRate,paused:e.zd,resume_position:e.Nc},e.ad&&(f.pan={},g=f.pan,e.Ha&&e.Ha.Zh()?g.objUid=e.Ha.P.uid:(g.x=e.Mn,g.y=e.Nn,g.a=e.In),g.ia=e.Jn,g.oa=e.Kn,g.og=e.Ln),b.push(f));b=a.effects;for(k in P)if(P.hasOwnProperty(k)){e=[];c=0;for(d=P[k].length;c<d;c++)e.push({type:P[k][c].type,
params:P[k][c].Kc});b[k]=e}return a};var Qa=[];ra.tc=function(a){var b=a.silent;qa=a.masterVolume;this.Hg=a.listenerZ;this.xb.ah(null);var c=a.listenerUid;-1!==c&&(this.xb.ri=c,Qa.push(this.xb));var c=a.playing,e,h,m,q,t,x,B,D,u,w,C;if(3!==this.Dd)for(e=0,h=L.length;e<h;e++)u=L[e],u.Hc&&1===this.Dd||(u.Hc||2!==this.Dd)&&u.stop();for(t in P)if(P.hasOwnProperty(t))for(e=0,h=P[t].length;e<h;e++)P[t][e].remove();Sa(P);for(t in a.effects)if(a.effects.hasOwnProperty(t))for(x=a.effects[t],e=0,h=x.length;e<
h;e++)switch(m=x[e].type,w=x[e].params,m){case "filter":G(t,new f(w[0],w[1],w[2],w[3],w[4],w[5]));break;case "delay":G(t,new l(w[0],w[1],w[2]));break;case "convolve":m=w[2];u=this.Oj(m,!1);u.ya?m=new g(u.ya,w[0],w[1],m):(m=new g(null,w[0],w[1],m),u.Bn=w[0],u.Ch=m);G(t,m);break;case "flanger":G(t,new p(w[0],w[1],w[2],w[3],w[4]));break;case "phaser":G(t,new k(w[0],w[1],w[2],w[3],w[4],w[5]));break;case "gain":G(t,new K(w[0]));break;case "tremolo":G(t,new s(w[0],w[1]));break;case "ringmod":G(t,new v(w[0],
w[1]));break;case "distortion":G(t,new n(w[0],w[1],w[2],w[3],w[4]));break;case "compressor":G(t,new d(w[0],w[1],w[2],w[3],w[4]));break;case "analyser":G(t,new r(w[0],w[1]))}e=0;for(h=c.length;e<h;e++)3===this.Dd||(a=c[e],m=a.buffersrc,q=a.is_music,t=a.tag,x=a.playbackTime,B=a.looping,D=a.volume,C=(w=a.pan)&&w.hasOwnProperty("objUid")?w.objUid:-1,q&&1===this.Dd)||!q&&2===this.Dd||((u=this.wm(m,t,q,B,D))?(u.Nc=a.resume_position,u.ll(!!w),u.play(B,D,x),u.Jo(),u.Hs(),u.Kh(u.uf||u.xg),a.paused&&u.pause(),
a.muted&&u.xs(),u.Kh(u.uf||u.xg),w&&(-1!==C?(u.Ha=u.Ha||new z,u.Ha.ri=C,Qa.push(u.Ha)):u.kl(w.x,w.y,w.a,w.ia,w.oa,w.og))):(u=this.Oj(m,q),u.Ki=x,u.yi=a.paused,w&&(-1!==C?u.If.push({Dn:C,ek:w.ia,Hk:w.oa,Jk:w.og,vo:t}):u.If.push({x:w.x,y:w.y,Bp:w.a,ek:w.ia,Hk:w.oa,Jk:w.og,vo:t}))));if(b&&!pa){e=0;for(h=L.length;e<h;e++)L[e].ho(!0);pa=!0}else if(!b&&pa){e=0;for(h=L.length;e<h;e++)L[e].ho(!1);pa=!1}};ra.Sc=function(){var a,b,c,d;a=0;for(b=Qa.length;a<b;a++)c=Qa[a],d=this.b.kg(c.ri),c.ah(d),c.ri=-1,d&&
(Ga=d.x,Ha=d.y);Qa.length=0};ra.Xr=function(a){var b,c;b=0;for(c=L.length;b<c;b++)L[b].ys(a)};ra.cb=function(){var a=this.b.xe,b,c,d;b=0;for(c=L.length;b<c;b++)d=L[b],d.cb(a),d.fa===D||d.fa===S||d.Ud||d.kc||!d.qg()||(d.kc=!0,M=d.me,C.trigger(cc.prototype.j.hj,J)),0!==bb&&d.Jo();var e,f;for(e in P)if(P.hasOwnProperty(e))for(d=P[e],b=0,c=d.length;b<c;b++)f=d[b],f.cb&&f.cb();u===t&&this.xb.Zh()&&(this.xb.cb(a),Ga=this.xb.P.x,Ha=this.xb.P.y,x.listener.setPosition(this.xb.P.x,this.xb.P.y,this.Hg),x.listener.setVelocity(this.xb.Zj(),
this.xb.$j(),0))};ra.Oj=function(a,b){var c,d,e,f=null;c=0;for(d=X.length;c<d;c++)if(e=X[c],e.src===a){f=e;break}f||(f=new B(a,b),X.push(f));return f};ra.wm=function(a,b,c,d,e){var f,k,g;f=0;for(k=L.length;f<k;f++)if(g=L[f],g.src===a&&(g.Kp()||c))return g.me=b,g;a=this.Oj(a,c);if(!a.ya)return"<preload>"!==b&&(a.Ai=b,a.Ck=d,a.Fl=e),null;g=new F(a,b);L.push(g);return g};var Fa=[];I.prototype.hj=function(a){return cb(M,a)};T.j=new I;ba.prototype.Play=function(a,b,c,d){!pa&&(c=Math.pow(10,c/20),0>c&&
(c=0),1<c&&(c=1),ca=this.wm(this.b.rm+a[0]+(ab?".ogg":".m4a"),d,a[1],0!==b,c))&&(ca.ll(!1),ca.play(0!==b,c))};T.n=new ba;T.qa=new (y())})();function Y(h){this.b=h}
(function(){function h(){}var q=Y.prototype;q.Wa=function(c){this.za=c;this.b=c.b};q.Wa.prototype.ja=y();q.Fa=function(c){this.type=c;this.b=c.b};q.Fa.prototype.ja=function(){var c=this;window.addEventListener("resize",function(){c.b.trigger(Y.prototype.j.qp,c)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){c.b.trigger(Y.prototype.j.mp,c)}),window.addEventListener("offline",function(){c.b.trigger(Y.prototype.j.lp,c)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){c.b.zf=1;c.b.trigger(Y.prototype.j.Ol,c)}),window.applicationCache.addEventListener("progress",function(h){c.b.zf=h.loaded/h.total}));this.b.Pb||(document.addEventListener("appMobi.device.update.available",function(){c.b.trigger(Y.prototype.j.Ol,c)}),document.addEventListener("backbutton",function(){c.b.trigger(Y.prototype.j.Kl,c)}),document.addEventListener("menubutton",function(){c.b.trigger(Y.prototype.j.Nl,c)}),document.addEventListener("searchbutton",
function(){c.b.trigger(Y.prototype.j.rp,c)}),document.addEventListener("tizenhwkey",function(h){var b;switch(h.keyName){case "back":b=c.b.trigger(Y.prototype.j.Kl,c);!b&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(b=c.b.trigger(Y.prototype.j.Nl,c))||h.preventDefault()}}));this.b.Ul(function(h){h?c.b.trigger(Y.prototype.j.np,c):c.b.trigger(Y.prototype.j.op,c)})};h.prototype.mp=H(!0);h.prototype.lp=H(!0);h.prototype.Ol=H(!0);h.prototype.op=H(!0);h.prototype.np=
H(!0);h.prototype.qp=H(!0);h.prototype.Kl=H(!0);h.prototype.Nl=H(!0);h.prototype.rp=H(!0);q.j=new h;q.n=new (y());q.qa=new (y())})();function dc(h){this.b=h}
(function(){function h(){}function q(){}var c=dc.prototype;c.Wa=function(b){this.za=b;this.b=b.b};c.Wa.prototype.ja=y();c.Fa=function(b){this.type=b;this.b=b.b};var m=c.Fa.prototype;m.ja=function(){this.b.Pa?N("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.qf=1===this.B[0],this.rc=document.createElement("input"),this.aa=this.qf?document.createElement("label"):this.rc,this.Bg=null,this.rc.type=this.qf?"checkbox":"button",this.rc.id=this.B[6],jQuery(this.aa).appendTo(this.b.zh?
this.b.zh:"body"),this.qf?(jQuery(this.rc).appendTo(this.aa),this.Bg=document.createTextNode(this.B[1]),jQuery(this.aa).append(this.Bg),this.rc.checked=0!==this.B[7],jQuery(this.aa).css("font-family","sans-serif"),jQuery(this.aa).css("display","inline-block"),jQuery(this.aa).css("color","black")):this.rc.value=this.B[1],this.aa.title=this.B[2],this.rc.disabled=0===this.B[4],this.Fp=0!==this.B[5],this.ye=!1,0===this.B[3]&&(jQuery(this.aa).hide(),this.visible=!1,this.ye=!0),this.rc.onclick=function(b){return function(a){a.stopPropagation();
b.b.sc=!0;b.b.trigger(dc.prototype.j.dp,b);b.b.sc=!1}}(this),this.aa.addEventListener("touchstart",function(b){b.stopPropagation()},!1),this.aa.addEventListener("touchmove",function(b){b.stopPropagation()},!1),this.aa.addEventListener("touchend",function(b){b.stopPropagation()},!1),jQuery(this.aa).mousedown(function(b){b.stopPropagation()}),jQuery(this.aa).mouseup(function(b){b.stopPropagation()}),jQuery(this.aa).keydown(function(b){b.stopPropagation()}),jQuery(this.aa).keyup(function(b){b.stopPropagation()}),
this.kn=this.ln=this.$m=this.gn=this.jn=this.bn=0,this.Ko(!0),this.b.Si(this))};m.Ub=function(){var b={tooltip:this.aa.title,disabled:!!this.rc.disabled};this.qf?(b.checked=!!this.rc.checked,b.text=this.Bg.nodeValue):b.text=this.aa.value;return b};m.tc=function(b){this.aa.title=b.tooltip;this.rc.disabled=b.disabled;this.qf?(this.rc.checked=b.checked,this.Bg.nodeValue=b.text):this.aa.value=b.text};m.Pe=function(){this.b.Pa||(jQuery(this.aa).remove(),this.aa=null)};m.cb=function(){this.Ko()};m.Ko=function(b){if(!this.b.Pa){var a=
this.i.ma(this.x,this.y,!0),c=this.i.ma(this.x,this.y,!1),f=this.i.ma(this.x+this.width,this.y+this.height,!0),l=this.i.ma(this.x+this.width,this.y+this.height,!1);if(!this.visible||!this.i.visible||0>=f||0>=l||a>=this.b.width||c>=this.b.height)this.ye||jQuery(this.aa).hide(),this.ye=!0;else{1>a&&(a=1);1>c&&(c=1);f>=this.b.width&&(f=this.b.width-1);l>=this.b.height&&(l=this.b.height-1);var g=window.innerWidth,h=window.innerHeight;b||this.bn!==a||this.jn!==c||this.gn!==f||this.$m!==l||this.ln!==g||
this.kn!==h?(this.bn=a,this.jn=c,this.gn=f,this.$m=l,this.ln=g,this.kn=h,this.ye&&(jQuery(this.aa).show(),this.ye=!1),b=Math.round(a)+jQuery(this.b.canvas).offset().left,g=Math.round(c)+jQuery(this.b.canvas).offset().top,jQuery(this.aa).css("position","absolute"),jQuery(this.aa).offset({left:b,top:g}),jQuery(this.aa).width(Math.round(f-a)),jQuery(this.aa).height(Math.round(l-c)),this.Fp&&jQuery(this.aa).css("font-size",this.i.Eb()/this.b.devicePixelRatio-0.2+"em")):this.ye&&(jQuery(this.aa).show(),
this.ye=!1)}}};m.Fc=y();m.ac=y();h.prototype.dp=H(!0);c.j=new h;q.prototype.lh=function(b){this.b.Pa||(this.qf?this.Bg.nodeValue=b:this.aa.value=b)};q.prototype.vp=function(b){this.b.Pa||(this.visible=0!==b)};c.n=new q;c.qa=new (y())})();function ec(h){this.b=h}
(function(){function h(){}function q(){}var c=ec.prototype;c.Wa=function(a){this.za=a;this.b=a.b};c.Wa.prototype.ja=y();c.Fa=function(a){this.type=a;this.b=a.b;this.sj=Array(4);this.yo=this.Vi=this.Rf=this.de=this.be=0;this.bk=!1};var m=c.Fa.prototype;m.ja=function(){var a=this;if(!this.b.Pa){jQuery(document).mousemove(function(b){a.Ur(b)});jQuery(document).mousedown(function(b){a.Tr(b)});jQuery(document).mouseup(function(b){a.Vr(b)});jQuery(document).dblclick(function(b){a.Qr(b)});var b=function(b){a.Yr(b)};
document.addEventListener("mousewheel",b,!1);document.addEventListener("DOMMouseScroll",b,!1)}};var b={left:0,top:0};m.Ur=function(a){var c=this.b.Pa?b:jQuery(this.b.canvas).offset();this.be=a.pageX-c.left;this.de=a.pageY-c.top};m.wn=function(){return 0<this.b.Nb?!0:0<=this.be&&0<=this.de&&this.be<this.b.width&&this.de<this.b.height};m.Tr=function(a){this.wn()&&(this.b.ak&&a.preventDefault(),this.sj[a.which]=!0,this.b.sc=!0,this.b.trigger(ec.prototype.j.Jl,this),this.Rf=a.which-1,this.Vi=0,this.b.trigger(ec.prototype.j.Ll,
this),this.b.trigger(ec.prototype.j.kj,this),this.b.sc=!1)};m.Vr=function(a){this.sj[a.which]&&(this.b.ak&&a.preventDefault(),this.b.ak=!0,this.sj[a.which]=!1,this.b.sc=!0,this.Rf=a.which-1,this.b.trigger(ec.prototype.j.pp,this),this.b.sc=!1)};m.Qr=function(a){this.wn()&&(a.preventDefault(),this.b.sc=!0,this.Rf=a.which-1,this.Vi=1,this.b.trigger(ec.prototype.j.Ll,this),this.b.trigger(ec.prototype.j.kj,this),this.b.sc=!1)};m.Yr=function(a){this.yo=0>(a.wheelDelta?a.wheelDelta:a.detail?-a.detail:0)?
0:1;this.bk=!1;this.b.sc=!0;this.b.trigger(ec.prototype.j.tp,this);this.b.sc=!1;this.bk&&a.preventDefault()};h.prototype.Ll=function(a,b){return a===this.Rf&&b===this.Vi};h.prototype.Jl=H(!0);h.prototype.pp=function(a){return a===this.Rf};h.prototype.kj=function(a,b,c){return a!==this.Rf||b!==this.Vi?!1:this.b.Cs(c,this.be,this.de)};h.prototype.tp=function(a){this.bk=!0;return a===this.yo};c.j=new h;c.n=new (y());q.prototype.Rc=function(a,b){var c,l,g,h,k;ea(b)?(c=this.b.jg(0),l=c.scale,g=c.Qc,h=
c.wc,k=c.k,c.scale=this.b.la.scale,c.Qc=1,c.wc=1,c.k=this.b.la.k,a.J(c.Kb(this.be,this.de,!0)),c.scale=l,c.Qc=g,c.wc=h,c.k=k):(c=fa(b)?this.b.jg(b):this.b.Wj(b))?a.J(c.Kb(this.be,this.de,!0)):a.J(0)};q.prototype.$e=function(a,b){var c,l,g,h,k;ea(b)?(c=this.b.jg(0),l=c.scale,g=c.Qc,h=c.xc,k=c.k,c.scale=this.b.la.scale,c.Qc=1,c.xc=1,c.k=this.b.la.k,a.J(c.Kb(this.be,this.de,!1)),c.scale=l,c.Qc=g,c.xc=h,c.k=k):(c=fa(b)?this.b.jg(b):this.b.Wj(b))?a.J(c.Kb(this.be,this.de,!1)):a.J(0)};c.qa=new q})();
function Z(h){this.b=h}
(function(){function h(){if(0===this.Bj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Nf?b.drawImage(this.R,this.Gf,this.Hf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.R,0,0,this.width,this.height);this.Bj=a.toDataURL("image/png")}return this.Bj}function q(){}var c=Z.prototype;c.Wa=function(a){this.za=a;this.b=a.b};var m=c.Wa.prototype;m.ja=function(){if(!this.F){var a,b,c,e,f,g,d,l,m;this.Dc=[];this.$h=
!1;a=0;for(b=this.Jb.length;a<b;a++){f=this.Jb[a];d={};d.name=f[0];d.speed=f[1];d.loop=f[2];d.cl=f[3];d.Hi=f[4];d.Qn=f[5];d.S=f[6];d.frames=[];c=0;for(e=f[7].length;c<e;c++)g=f[7][c],l={},l.tl=g[0],l.ul=g[1],l.Gf=g[2],l.Hf=g[3],l.width=g[4],l.height=g[5],l.duration=g[6],l.Fb=g[7],l.Gb=g[8],l.gk=g[9],l.Bi=g[10],l.Rn=g[11],l.Nf=0!==l.width,l.Bj="",l.St=h,m={left:0,top:0,right:1,bottom:1},l.ml=m,l.xa=null,(m=this.b.Kq(g[0]))?l.R=m:(l.R=new Image,l.R.idtkLoadDisposed=!0,l.R.src=g[0],l.R.Op=g[0],l.R.gm=
g[1],l.R.Jp=null,this.b.Hd.push(l.R)),d.frames.push(l),this.Dc.push(l);this.Jb[a]=d}}};m.Gs=function(){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.Fh=c.nc.xa};m.xi=function(){if(!this.F){var a,b,c;a=0;for(b=this.Dc.length;a<b;++a)c=this.Dc[a],c.R.Jp=null,c.xa=null}};m.Mk=function(){if(!this.F&&this.d.length){var a,b,c;a=0;for(b=this.Dc.length;a<b;++a)c=this.Dc[a],c.xa=this.b.r.qi(c.R,!1,this.b.Y,c.Rn);this.Gs()}};m.xk=function(){if(!this.F&&!this.$h&&this.b.r){var a,b,c;a=0;for(b=this.Dc.length;a<
b;++a)c=this.Dc[a],c.xa=this.b.r.qi(c.R,!1,this.b.Y,c.Rn);this.$h=!0}};m.Bl=function(){if(!this.F&&!this.d.length&&this.$h){var a,b,c;a=0;for(b=this.Dc.length;a<b;++a)c=this.Dc[a],this.b.r.deleteTexture(c.xa);this.$h=!1}};var b=[];m.Uk=function(a){var c,e,f;c=b.length=0;for(e=this.Dc.length;c<e;++c)f=this.Dc[c].R,-1===b.indexOf(f)&&(a.drawImage(f,0,0),b.push(f))};c.Fa=function(a){this.type=a;this.b=a.b;a=this.type.Jb[0].frames[0].Bi;this.jc?this.Z.dh(a):this.Z=new Wa(a)};var a=c.Fa.prototype;a.ja=
function(){this.visible=0===this.B[0];this.pd=0!==this.B[3];1===this.type.Jb.length&&1===this.type.Jb[0].frames.length||0===this.type.Jb[0].speed||this.b.Si(this);this.Ba=this.vm(this.B[1])||this.type.Jb[0];this.u=this.B[2];0>this.u&&(this.u=0);this.u>=this.Ba.frames.length&&(this.u=this.Ba.frames.length-1);var a=this.Ba.frames[this.u];this.Z.dh(a.Bi);this.Fb=a.Fb;this.Gb=a.Gb;this.fg=this.Ba.speed;this.jc?this.Tc.reset():this.Tc=new Ua;this.ud=this.Tc.Ka;this.re=!0;this.nd=0;this.qe=!0;this.wj=this.Wl=
"";this.Np=0;this.vj=-1;this.type.xk();var b,c,e,f,g,d,l,a=0;for(b=this.type.Jb.length;a<b;a++)for(f=this.type.Jb[a],c=0,e=f.frames.length;c<e;c++)g=f.frames[c],0===g.width&&(g.width=g.R.width,g.height=g.R.height),g.Nf&&(l=g.R,d=g.ml,d.left=g.Gf/l.width,d.top=g.Hf/l.height,d.right=(g.Gf+g.width)/l.width,d.bottom=(g.Hf+g.height)/l.height,0===g.Gf&&0===g.Hf&&g.width===l.width&&g.height===l.height&&(g.Nf=!1));this.nc=this.Ba.frames[this.u];this.Fh=this.nc.xa};a.Ub=function(){var a={a:this.Ba.S,f:this.u,
cas:this.fg,fs:this.ud,ar:this.nd,at:this.Tc.Ka};this.re||(a.ap=this.re);this.qe||(a.af=this.qe);return a};a.tc=function(a){var b=this.Oq(a.a);b&&(this.Ba=b);this.u=a.f;0>this.u&&(this.u=0);this.u>=this.Ba.frames.length&&(this.u=this.Ba.frames.length-1);this.fg=a.cas;this.ud=a.fs;this.nd=a.ar;this.Tc.reset();this.Tc.Ka=a.at;this.re=a.hasOwnProperty("ap")?a.ap:!0;this.qe=a.hasOwnProperty("af")?a.af:!0;this.nc=this.Ba.frames[this.u];this.Fh=this.nc.xa;this.Z.dh(this.nc.Bi);this.Fb=this.nc.Fb;this.Gb=
this.nc.Gb};a.pj=function(a){this.u=a?0:this.Ba.frames.length-1;this.re=!1;this.Wl=this.Ba.name;this.b.trigger(Z.prototype.j.bp,this);this.b.trigger(Z.prototype.j.$o,this);this.nd=0};a.Ut=function(){return this.Tc.Ka};a.cb=function(){this.Tc.add(this.b.Sj(this));this.wj.length&&this.Up();0<=this.vj&&this.Vp();var a=this.Tc.Ka,b=this.Ba,c=b.frames[this.u],e=c.duration/this.fg;this.re&&a>=this.ud+e&&(this.qe?this.u++:this.u--,this.ud+=e,this.u>=b.frames.length&&(b.Qn?(this.qe=!1,this.u=b.frames.length-
2):b.loop?this.u=b.Hi:(this.nd++,this.nd>=b.cl?this.pj(!1):this.u=b.Hi)),0>this.u&&(b.Qn?(this.u=1,this.qe=!0,b.loop||(this.nd++,this.nd>=b.cl&&this.pj(!0))):b.loop?this.u=b.Hi:(this.nd++,this.nd>=b.cl?this.pj(!0):this.u=b.Hi)),0>this.u?this.u=0:this.u>=b.frames.length&&(this.u=b.frames.length-1),a>this.ud+b.frames[this.u].duration/this.fg&&(this.ud=a),a=b.frames[this.u],this.Zf(c,a),this.b.ka=!0)};a.vm=function(a){var b,c,e;b=0;for(c=this.type.Jb.length;b<c;b++)if(e=this.type.Jb[b],cb(e.name,a))return e;
return null};a.Oq=function(a){var b,c,e;b=0;for(c=this.type.Jb.length;b<c;b++)if(e=this.type.Jb[b],e.S===a)return e;return null};a.Up=function(){var a=this.Ba.frames[this.u],b=this.vm(this.wj);this.wj="";!b||cb(b.name,this.Ba.name)&&this.re||(this.Ba=b,this.fg=b.speed,0>this.u&&(this.u=0),this.u>=this.Ba.frames.length&&(this.u=this.Ba.frames.length-1),1===this.Np&&(this.u=0),this.re=!0,this.ud=this.Tc.Ka,this.qe=!0,this.Zf(a,this.Ba.frames[this.u]),this.b.ka=!0)};a.Vp=function(){var a=this.Ba.frames[this.u],
b=this.u;this.u=R(this.vj);0>this.u&&(this.u=0);this.u>=this.Ba.frames.length&&(this.u=this.Ba.frames.length-1);b!==this.u&&(this.Zf(a,this.Ba.frames[this.u]),this.ud=this.Tc.Ka,this.b.ka=!0);this.vj=-1};a.Zf=function(a,b){var c=a.width,e=a.height,f=b.width,g=b.height;c!=f&&(this.width*=f/c);e!=g&&(this.height*=g/e);this.Fb=b.Fb;this.Gb=b.Gb;this.Z.dh(b.Bi);this.D();this.nc=b;this.Fh=b.xa;c=0;for(e=this.M.length;c<e;c++)f=this.M[c],f.Wr&&f.Wr(a,b);this.b.trigger(Z.prototype.j.Zf,this)};a.Fc=function(a){a.globalAlpha=
this.opacity;var b=this.nc,c=b.Nf,e=b.R,f=this.x,g=this.y,d=this.width,l=this.height;if(0===this.k&&0<=d&&0<=l)f-=this.Fb*d,g-=this.Gb*l,this.b.bd&&(f=f+0.5|0,g=g+0.5|0),c?a.drawImage(e,b.Gf,b.Hf,b.width,b.height,f,g,d,l):a.drawImage(e,f,g,d,l);else{this.b.bd&&(f=f+0.5|0,g=g+0.5|0);a.save();var h=0<d?1:-1,m=0<l?1:-1;a.translate(f,g);1===h&&1===m||a.scale(h,m);a.rotate(this.k*h*m);f=0-this.Fb*ia(d);g=0-this.Gb*ia(l);c?a.drawImage(e,b.Gf,b.Hf,b.width,b.height,f,g,ia(d),ia(l)):a.drawImage(e,f,g,ia(d),
ia(l));a.restore()}};a.ac=function(a){a.Vb(this.Fh);a.Te(this.opacity);var b=this.nc,c=this.ub;if(this.b.bd){var e=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;b.Nf?a.dd(c.Da+e,c.Ea+f,c.sb+e,c.tb+f,c.ob+e,c.pb+f,c.mb+e,c.nb+f,b.ml):a.Fi(c.Da+e,c.Ea+f,c.sb+e,c.tb+f,c.ob+e,c.pb+f,c.mb+e,c.nb+f)}else b.Nf?a.dd(c.Da,c.Ea,c.sb,c.tb,c.ob,c.pb,c.mb,c.nb,b.ml):a.Fi(c.Da,c.Ea,c.sb,c.tb,c.ob,c.pb,c.mb,c.nb)};a.Tq=function(a){var b=this.nc,c,e;c=0;for(e=b.gk.length;c<e;c++)if(cb(a,b.gk[c][0]))return c;return-1};
a.Vj=function(a,b){var c=this.nc,e=c.gk,f;f=Q(a)?this.Tq(a):a-1;f=R(f);if(0>f||f>=e.length)return b?this.x:this.y;var g=(e[f][1]-c.Fb)*this.width,e=e[f][2],e=(e-c.Gb)*this.height,c=Math.cos(this.k);f=Math.sin(this.k);var d=g*c-e*f,e=e*c+g*f,g=d+this.x,e=e+this.y;return b?g:e};var e=[],f=null,l=new da,g=!1;m.finish=function(a){if(g){if(a){var b=this.b.wb().Mb.Jc;a=f.ea();var c=l.Tf(),e,h;if(a.pa){a.pa=!1;a.d.length=c.length;e=0;for(h=c.length;e<h;e++)a.d[e]=c[e];if(b)for(e=a.$.length=0,h=f.d.length;e<
h;e++)c=f.d[e],l.contains(c)||a.$.push(c)}else if(b)for(b=a.d.length,a.d.length=b+c.length,e=0,h=c.length;e<h;e++)a.d[b+e]=c[e],xa(a.$,c[e]);else va(a.d,c);f.Md()}l.clear();g=!1}};q.prototype.fj=function(a){if(a){var b=!1,c,h,m,n=this.b.Rj(),d=n.type,n=n.pf;c=a.ea();h=this.b.wb().Mb.Jc;var q;c.pa?(this.wa(),this.b.xm(this.i,a,this.Aa,e),q=e):q=h?c.$:c.d;f=a;g=d!==a&&!n;c=0;for(h=q.length;c<h;c++)if(m=q[c],this.b.Bc(this,m)){b=!0;if(n)break;d!==a&&l.add(m)}e.length=0;a=b}else a=!1;return a};q.prototype.$o=
function(a){return cb(this.Wl,a)};q.prototype.bp=H(!0);q.prototype.Zf=H(!0);c.j=new q;c.n=new (y());c.qa=new (y())})();function fc(h){this.b=h}
(function(){function h(){return f.length?f.pop():{}}function q(a){var b,c;b=0;for(c=a.length;b<c;b++)f.push(a[b]);a.length=0}function c(){}var m=fc.prototype;m.ja=function(){m.n.xp=function(a){this.width!==a&&(this.width=a,this.oe=!0,this.D())}};m.Wa=function(a){this.za=a;this.b=a.b};var b=m.Wa.prototype;b.ja=y();b.xi=function(){if(!this.F){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.$c=null,c.Ne=null,c.Rb=null}};m.Fa=function(a){this.type=a;this.b=a.b;this.jc?this.$d.length=0:this.$d=
[];this.oe=!0};var b=m.Fa.prototype,a={};b.ja=function(){this.text=this.B[0];this.visible=0===this.B[1];this.font=this.B[2];this.color=this.B[3];this.Yh=this.B[4];this.Yi=this.B[5];this.Hl=0===this.B[7];this.uk=this.ki=this.width;this.ji=this.height;this.vk=this.B[8];this.Th=this.td="";this.to=this.uo=this.Wg=0;this.Zr();this.Rb=this.Ne=this.$c=null;this.zn=!1;this.Gg=this.b.Ed;this.jc?this.fe.set(0,0,1,1):this.fe=new oa(0,0,1,1);this.b.r&&this.b.Si(this)};b.Zr=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.Wg=parseInt(a[b].substr(0,a[b].length-2));this.Zk=Math.ceil(96*(this.Wg/72))+4;0<b&&(this.Th=a[b-1]);this.td=a[b+1];for(b+=2;b<a.length;b++)this.td+=" "+a[b];break}};b.Ub=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Yh,va:this.Yi,wr:this.Hl,lho:this.vk,fn:this.td,fs:this.Th,ps:this.Wg,pxh:this.Zk,tw:this.uo,th:this.to,lrt:this.Gg}};b.tc=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Yh=a.ha;this.Yi=
a.va;this.Hl=a.wr;this.vk=a.lho;this.td=a.fn;this.Th=a.fs;this.Wg=a.ps;this.Zk=a.pxh;this.uo=a.tw;this.to=a.th;this.Gg=a.lrt;this.oe=!0;this.uk=this.ki=this.width;this.ji=this.height};b.cb=function(){if(this.b.r&&this.Rb&&300<=this.b.Ed-this.Gg){var a=this.i;this.wa();var b=this.Aa;if(b.right<a.jb||b.bottom<a.kb||b.left>a.Yb||b.top>a.Xb)this.b.r.deleteTexture(this.Rb),this.$c=this.Ne=this.Rb=null}};b.Pe=function(){this.$c=this.Ne=null;this.b.r&&this.Rb&&this.b.r.deleteTexture(this.Rb);this.Rb=null};
b.Ho=function(){this.font=this.Th+" "+this.Wg.toString()+"pt "+this.td;this.oe=!0;this.b.ka=!0};b.Fc=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.i.Eb(),a.save(),a.scale(c,c));if(this.oe||this.width!==this.uk)this.type.za.zp(this.text,this.$d,a,this.width,this.Hl),this.oe=!1,this.uk=this.width;this.wa();var c=b?0:this.ub.Da,e=b?0:this.ub.Ea;this.b.bd&&(c=c+0.5|0,e=e+0.5|0);0===this.k||b||(a.save(),a.translate(c,e),a.rotate(this.k),
e=c=0);var f=e+this.height,h=this.Zk,h=h+this.vk,m,n;1===this.Yi?e+=Math.max(this.height/2-this.$d.length*h/2,0):2===this.Yi&&(e+=Math.max(this.height-this.$d.length*h-2,0));for(n=0;n<this.$d.length&&!(m=c,1===this.Yh?m=c+(this.width-this.$d[n].width)/2:2===this.Yh&&(m=c+(this.width-this.$d[n].width)),a.fillText(this.$d[n].text,m,e),e+=h,e>=f-h);n++);(0!==this.k||b)&&a.restore();this.Gg=this.b.Ed};b.ac=function(a){if(!(1>this.width||1>this.height)){var b=this.oe||this.zn;this.zn=!1;var c=this.i.Eb(),
e=this.i.Oa(),f=this.fe,h=c*this.width,m=c*this.height,n=Math.ceil(h),d=Math.ceil(m),q=this.b.O/2,z=this.b.N/2;this.Ne||(this.$c=document.createElement("canvas"),this.$c.width=n,this.$c.height=d,this.ki=n,this.ji=d,b=!0,this.Ne=this.$c.getContext("2d"));if(n!==this.ki||d!==this.ji)this.$c.width=n,this.$c.height=d,this.Rb&&(a.deleteTexture(this.Rb),this.Rb=null),b=!0;b&&(this.Ne.clearRect(0,0,n,d),this.Fc(this.Ne,!0),this.Rb||(this.Rb=a.qd(n,d,this.b.Y,this.b.Wd)),a.Ms(this.$c,this.Rb,this.b.Wd));
this.ki=n;this.ji=d;a.Vb(this.Rb);a.Te(this.opacity);a.ed();a.translate(-q,-z);a.kd();var B=this.ub,F=this.b.devicePixelRatio;this.b.devicePixelRatio=1;var b=this.i.ma(B.Da,B.Ea,!0,!0),q=this.i.ma(B.Da,B.Ea,!1,!0),z=this.i.ma(B.sb,B.tb,!0,!0),G=this.i.ma(B.sb,B.tb,!1,!0),I=this.i.ma(B.ob,B.pb,!0,!0),ba=this.i.ma(B.ob,B.pb,!1,!0),T=this.i.ma(B.mb,B.nb,!0,!0),B=this.i.ma(B.mb,B.nb,!1,!0);this.b.devicePixelRatio=F;if(this.b.bd||0===this.k&&0===e)var F=(b+0.5|0)-b,C=(q+0.5|0)-q,b=b+F,q=q+C,z=z+F,G=G+
C,I=I+F,ba=ba+C,T=T+F,B=B+C;0===this.k&&0===e?(z=b+n,G=q,I=z,ba=q+d,T=b,B=ba,f.right=1,f.bottom=1):(f.right=h/n,f.bottom=m/d);a.dd(b,q,z,G,I,ba,T,B,f);a.ed();a.scale(c,c);a.el(-this.i.Oa());a.translate((this.i.jb+this.i.Yb)/-2,(this.i.kb+this.i.Xb)/-2);a.kd();this.Gg=this.b.Ed}};var e=[];m.yp=function(a){e.length=0;for(var b="",c,f=0;f<a.length;)if(c=a.charAt(f),"\n"===c)b.length&&(e.push(b),b=""),e.push("\n"),++f;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(f),f++;while(f<a.length&&(" "===
a.charAt(f)||"\t"===a.charAt(f)));e.push(b);b=""}else f<a.length&&(b+=c,f++);b.length&&e.push(b)};var f=[];m.zp=function(a,b,c,e,f){if(a&&a.length)if(2>=e)q(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var m=c.measureText(a).width;if(m<=e){q(b);b.push(h());b[0].text=a;b[0].width=m;return}}this.Ap(a,b,c,e,f)}else q(b)};m.Ap=function(a,b,c,k,m){m&&(this.yp(a),a=e);var q="",v,n,d,r=0;for(d=0;d<a.length;d++)"\n"===a[d]?(r>=b.length&&b.push(h()),n=b[r],n.text=q,n.width=c.measureText(q).width,r++,q=
""):(v=q,q+=a[d],n=c.measureText(q).width,n>=k&&(r>=b.length&&b.push(h()),n=b[r],n.text=v,n.width=c.measureText(v).width,r++,q=a[d],m||" "!==q||(q="")));q.length&&(r>=b.length&&b.push(h()),n=b[r],n.text=q,n.width=c.measureText(q).width,r++);for(d=r;d<b.length;d++)f.push(b[d]);b.length=r};m.j=new (y());c.prototype.lh=function(a){fa(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.oe=!0,this.b.ka=!0)};c.prototype.wp=function(b,c){if(this.b.Pa)N("[Construct 2] Text plugin: 'Set web font' not supported on this platform - the action has been ignored");
else{var e=this,f=function(){e.b.ka=!0;e.oe=!0};if(a.hasOwnProperty(c)){var h="'"+b+"'";if(this.td!==h)for(this.td=h,this.Ho(),h=1;10>h;h++)setTimeout(f,100*h),setTimeout(f,1E3*h)}else for(h=document.createElement("link"),h.href=c,h.rel="stylesheet",h.type="text/css",h.onload=f,document.getElementsByTagName("head")[0].appendChild(h),a[c]=!0,this.td="'"+b+"'",this.Ho(),h=1;10>h;h++)setTimeout(f,100*h),setTimeout(f,1E3*h)}};m.n=new c;m.qa=new (y())})();function gc(h){this.b=h}
(function(){var h=gc.prototype;h.Wa=function(c){this.za=c;this.b=c.b};var q=h.Wa.prototype;q.ja=function(){this.F||(this.R=new Image,this.R.idtkLoadDisposed=!0,this.R.src=this.tl,this.R.gm=this.ul,this.b.Hd.push(this.R),this.xa=this.pattern=null)};q.xi=function(){this.F||(this.xa=null)};q.Mk=function(){if(!this.F&&this.d.length){this.xa||(this.xa=this.b.r.qi(this.R,!0,this.b.Y,this.wl));var c,h;c=0;for(h=this.d.length;c<h;c++)this.d[c].xa=this.xa}};q.xk=function(){this.F||this.xa||!this.b.r||(this.xa=
this.b.r.qi(this.R,!0,this.b.Y,this.wl))};q.Bl=function(){this.F||this.d.length||!this.xa||(this.b.r.deleteTexture(this.xa),this.xa=null)};q.Uk=function(c){c.drawImage(this.R,0,0)};h.Fa=function(c){this.type=c;this.b=c.b};q=h.Fa.prototype;q.ja=function(){this.visible=0===this.B[0];this.fe=new oa(0,0,0,0);this.Hm=!1;this.R=this.type.R;this.b.r?(this.type.xk(),this.xa=this.type.xa):(this.type.pattern||(this.type.pattern=this.b.ca.createPattern(this.type.R,"repeat")),this.pattern=this.type.pattern)};
q.Sc=function(){this.Hm=!1;this.R=this.type.R};q.Pe=function(){this.b.r&&this.Hm&&this.xa&&(this.b.r.deleteTexture(this.xa),this.xa=null)};q.Fc=function(c){c.globalAlpha=this.opacity;c.save();c.fillStyle=this.pattern;var h=this.x,b=this.y;this.b.bd&&(h=h+0.5|0,b=b+0.5|0);var a=-(this.Fb*this.width),e=-(this.Gb*this.height),f=a%this.R.width,l=e%this.R.height;0>f&&(f+=this.R.width);0>l&&(l+=this.R.height);c.translate(h,b);c.rotate(this.k);c.translate(f,l);c.fillRect(a-f,e-l,this.width,this.height);
c.restore()};q.ac=function(c){c.Vb(this.xa);c.Te(this.opacity);var h=this.fe;h.right=this.width/this.R.width;h.bottom=this.height/this.R.height;var b=this.ub;if(this.b.bd){var a=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;c.dd(b.Da+a,b.Ea+e,b.sb+a,b.tb+e,b.ob+a,b.pb+e,b.mb+a,b.nb+e,h)}else c.dd(b.Da,b.Ea,b.sb,b.tb,b.ob,b.pb,b.mb,b.nb,h)};h.j=new (y());h.n=new (y());h.qa=new (y())})();function hc(h){this.b=h}
(function(){function h(){}function q(){}var c=hc.prototype;c.Wa=function(b){this.lc=b;this.b=b.b};c.Wa.prototype.ja=y();c.Fa=function(b,a){this.type=b;this.lc=b.lc;this.e=a;this.b=b.b;this.Mi=this.ol=this.nl=this.fk=this.wf=this.Ag=this.Ii=this.ni=!1;this.hc=null;this.wk=-1;this.He=this.Ge=0;this.Sh=!1;this.jf=this.Ec=0;this.Rh=!0;this.da=this.K=0};var m=c.Fa.prototype;m.Io=function(){this.fb=Math.cos(this.lf);this.gb=Math.sin(this.lf);this.Re=Math.cos(this.lf-Math.PI/2);this.Se=Math.sin(this.lf-
Math.PI/2);this.fb=$a(this.fb);this.gb=$a(this.gb);this.Re=$a(this.Re);this.Se=$a(this.Se);this.Nj=this.vd;0>this.vd&&(this.fb*=-1,this.gb*=-1,this.vd=Math.abs(this.vd))};m.ja=function(){this.Df=this.B[0];this.bf=this.B[1];this.gf=this.B[2];this.sk=this.B[3];this.Nj=this.vd=this.B[4];this.ti=this.B[5];this.Sp=1===this.B[6];this.enabled=0!==this.B[7];this.Vf=!1;this.aj=this.b.ne(this.e);this.lf=U(90);this.Io();var b=this;this.Sp&&!this.b.Pa&&(jQuery(document).keydown(function(a){b.Rr(a)}),jQuery(document).keyup(function(a){b.Sr(a)}));
this.jc||(this.yn=function(a){b.Kk(a)});this.b.Sl(this.yn)};m.Ub=function(){return{ii:this.fk,lfx:this.Ge,lfy:this.He,lfo:this.hc?this.hc.uid:-1,am:this.Ec,en:this.enabled,fall:this.jf,ft:this.Rh,dx:this.K,dy:this.da,ms:this.Df,acc:this.bf,dec:this.gf,js:this.sk,g:this.vd,g1:this.Nj,mf:this.ti,wof:this.Vf,woj:this.aj,ga:this.lf}};m.tc=function(b){this.fk=b.ii;this.Ge=b.lfx;this.He=b.lfy;this.wk=b.lfo;this.Ec=b.am;this.enabled=b.en;this.jf=b.fall;this.Rh=b.ft;this.K=b.dx;this.da=b.dy;this.Df=b.ms;
this.bf=b.acc;this.gf=b.dec;this.sk=b.js;this.vd=b.g;this.Nj=b.g1;this.ti=b.mf;this.Vf=b.wof;this.aj=b.woj;this.lf=b.ga;this.Mi=this.ol=this.nl=this.wf=this.Ag=this.Ii=this.ni=!1;this.Io()};m.Sc=function(){this.hc=-1===this.wk?null:this.b.kg(this.wk)};m.Kk=function(b){this.hc==b&&(this.hc=null)};m.Pe=function(){this.hc=null;this.b.ls(this.yn)};m.Rr=function(b){switch(b.which){case 38:b.preventDefault();this.Ag=!0;break;case 37:b.preventDefault();this.ni=!0;break;case 39:b.preventDefault(),this.Ii=
!0}};m.Sr=function(b){switch(b.which){case 38:b.preventDefault();this.wf=this.Ag=!1;break;case 37:b.preventDefault();this.ni=!1;break;case 39:b.preventDefault(),this.Ii=!1}};m.Tt=function(){return 0>this.vd?-1:1};m.Rm=function(){var b=null,a=null,c,f;c=this.e.x;f=this.e.y;this.e.x+=this.fb;this.e.y+=this.gb;this.e.D();if(this.hc&&this.b.Bc(this.e,this.hc))return this.e.x=c,this.e.y=f,this.e.D(),this.hc;(b=this.b.Wb(this.e))||0!==this.jf||(a=this.b.ne(this.e,!0));this.e.x=c;this.e.y=f;this.e.D();if(b){if(this.b.Bc(this.e,
b))return null;this.Sh=!1;return b}if(a&&a.length){f=b=0;for(c=a.length;b<c;b++)a[f]=a[b],this.b.Bc(this.e,a[b])||f++;if(1<=f)return this.Sh=!0,a[0]}return null};m.cb=y();m.Un=function(){var b=this.b.Sj(this.e),a,c,f,h,g,m,k,q,s;this.Ag||this.Mi||(this.wf=!1);var v=this.ni||this.nl;f=this.Ii||this.ol;var n=(this.Ag||this.Mi)&&!this.wf;this.Mi=this.ol=this.nl=!1;if(this.enabled){this.fk&&(n=f=v=!1);q=this.hc;s=!1;this.Rh&&((this.b.Wb(this.e)||this.b.ne(this.e))&&this.b.cd(this.e,-this.fb,-this.gb,
4,!0),this.Rh=!1);!q||0!==this.da||q.y===this.He&&q.x===this.Ge||(a=q.x-this.Ge,c=q.y-this.He,this.e.x+=a,this.e.y+=c,this.e.D(),this.Ge=q.x,this.He=q.y,s=!0,this.b.Wb(this.e)&&this.b.cd(this.e,-a,-c,2.5*Math.sqrt(a*a+c*c)));var d=this.Rm();if(c=this.b.Wb(this.e))if(this.b.hs(this.e,Math.max(this.e.width,this.e.height)/2))this.b.Yg(this.e,c);else return;d?(0<this.da&&(this.Vf||(this.b.Yk(this.e,-this.fb,-this.gb,d),this.Vf=!0),this.da=0),q!=d?(this.hc=d,this.Ge=d.x,this.He=d.y,this.b.Yg(this.e,d)):
s&&(c=this.b.Wb(this.e))&&(this.b.Yg(this.e,c),0!==a&&(0<a?this.b.cd(this.e,-this.Re,-this.Se):this.b.cd(this.e,this.Re,this.Se)),this.b.cd(this.e,-this.fb,-this.gb)),n&&(q=this.e.x,s=this.e.y,this.e.x-=this.fb,this.e.y-=this.gb,this.e.D(),this.b.Wb(this.e)?n=!1:(this.b.trigger(hc.prototype.j.gp,this.e),this.Ec=2,this.da=-this.sk,this.wf=!0),this.e.x=q,this.e.y=s,this.e.D())):(this.hc=null,this.da+=this.vd*b,this.da>this.ti&&(this.da=this.ti),n&&(this.wf=!0));this.Vf=!!d;v==f&&(0>this.K?(this.K+=
this.gf*b,0<this.K&&(this.K=0)):0<this.K&&(this.K-=this.gf*b,0>this.K&&(this.K=0)));v&&!f&&(this.K=0<this.K?this.K-(this.bf+this.gf)*b:this.K-this.bf*b);f&&!v&&(this.K=0>this.K?this.K+(this.bf+this.gf)*b:this.K+this.bf*b);this.K>this.Df?this.K=this.Df:this.K<-this.Df&&(this.K=-this.Df);v=!1;0!==this.K&&(q=this.e.x,s=this.e.y,a=this.K*b*this.Re,c=this.K*b*this.Se,this.e.x+=this.Re*(1<this.K?1:-1)-this.fb,this.e.y+=this.Se*(1<this.K?1:-1)-this.gb,this.e.D(),h=!1,g=this.b.Wb(this.e),this.e.x=q+a,this.e.y=
s+c,this.e.D(),f=this.b.Wb(this.e),!f&&d&&(f=this.b.ne(this.e))&&(this.e.x=q,this.e.y=s,this.e.D(),this.b.Bc(this.e,f)?(f=null,h=!1):h=!0,this.e.x=q+a,this.e.y=s+c,this.e.D()),f?(a=Math.abs(this.K*b)+2,g||!this.b.cd(this.e,-this.fb,-this.gb,a,h,f))?(this.b.Yg(this.e,f),a=Math.max(Math.abs(2.5*this.K*b),30),this.b.cd(this.e,this.Re*(0>this.K?1:-1),this.Se*(0>this.K?1:-1),a,!1)?!d||h||this.Sh||(q=this.e.x,s=this.e.y,this.e.x+=this.fb,this.e.y+=this.gb,this.b.Wb(this.e)?this.b.cd(this.e,-this.fb,-this.gb,
3,!1)||(this.e.x=q,this.e.y=s,this.e.D()):(this.e.x=q,this.e.y=s,this.e.D())):(this.e.x=q,this.e.y=s,this.e.D()),h||(this.K=0)):!g&&15>Math.abs(this.da)&&(this.da=0,d||(v=!0)):(q=this.Rm(),d&&!q?(c=Math.ceil(Math.abs(this.K*b))+2,q=this.e.x,s=this.e.y,this.e.x+=this.fb*c,this.e.y+=this.gb*c,this.e.D(),this.b.Wb(this.e)||this.b.ne(this.e)?this.b.cd(this.e,-this.fb,-this.gb,c+2,!0):(this.e.x=q,this.e.y=s,this.e.D())):q&&0===this.da&&this.b.Yk(this.e,-this.fb,-this.gb,q)));if(0!==this.da){q=this.e.x;
s=this.e.y;this.e.x+=this.da*b*this.fb;this.e.y+=this.da*b*this.gb;a=this.e.x;f=this.e.y;this.e.D();c=this.b.Wb(this.e);h=!1;if(!c&&0<this.da&&!d){if((h=0<this.jf?null:this.b.ne(this.e,!0))&&h.length){if(this.aj){this.e.x=q;this.e.y=s;this.e.D();k=g=0;for(m=h.length;g<m;g++)h[k]=h[g],this.b.Bc(this.e,h[g])||k++;h.length=k;this.e.x=a;this.e.y=f;this.e.D()}1<=h.length&&(c=h[0])}h=!!c}c&&(this.b.Yg(this.e,c),a=h?Math.abs(2.5*this.da*b+10):Math.max(Math.abs(2.5*this.da*b+10),30),this.b.cd(this.e,this.fb*
(0>this.da?1:-1),this.gb*(0>this.da?1:-1),a,h,c)?(this.hc=c,this.Ge=c.x,this.He=c.y,(this.Sh=h)&&(v=!0),this.da=0):(this.e.x=q,this.e.y=s,this.e.D(),this.Vf=!0,h||(this.da=0)))}3!==this.Ec&&0<this.da&&!d&&(this.b.trigger(hc.prototype.j.fp,this.e),this.Ec=3);if(d||v)3===this.Ec||v||n&&0===this.da?(this.b.trigger(hc.prototype.j.hp,this.e),this.Ec=0===this.K&&0===this.da?0:1):(0!==this.Ec&&0===this.K&&0===this.da&&(this.b.trigger(hc.prototype.j.sp,this.e),this.Ec=0),1===this.Ec||0===this.K&&0===this.da||
n||(this.b.trigger(hc.prototype.j.kp,this.e),this.Ec=1));0<this.jf&&this.jf--;this.aj=this.b.ne(this.e)}};h.prototype.gp=H(!0);h.prototype.fp=H(!0);h.prototype.sp=H(!0);h.prototype.kp=H(!0);h.prototype.hp=H(!0);c.j=new h;q.prototype.up=function(b){this.da=b};c.n=new q;c.qa=new (y())})();function ic(h){this.b=h}
(function(){var h=ic.prototype;h.Wa=function(h){this.lc=h;this.b=h.b};h.Wa.prototype.ja=y();h.Fa=function(h,c){this.type=h;this.lc=h.lc;this.e=c;this.b=h.b};h=h.Fa.prototype;h.ja=y();h.cb=function(){this.e.wa();var h=this.e.Aa,c=this.e.i.na;(0>h.right||0>h.bottom||h.left>c.width||h.top>c.height)&&this.b.Jd(this.e)}})();
function bc(){return[null,"Start",[[cc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Y,!0,!1,!1,!1,!1,!1,!1,!1,!1],[dc,!1,!0,!0,!0,!1,!1,!1,!1,!1],[ec,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Z,!1,!0,!0,!0,!0,!0,!0,!0,!1],[fc,!1,!0,!0,!0,!0,!0,!0,!0,!1],[gc,!1,!0,!0,!0,!0,!0,!0,!0,!0]],[["t0",Z,!1,[],1,0,null,[["Default",5,!1,1,0,!1,0x9cf3de55b74d,[["images/bird-sheet0.png",5352,1,1,70,41,1,0.5142857432365417,1.170731663703919,[],[-0.2142857313156128,-0.6585366725921631,-0.01428574323654175,-0.9512196779251099,-0.01428574323654175,
-0.3170726895332336,0.1285712718963623,-0.6829266548156738,0.3857142329216003,-0.3414636850357056,-0.01428574323654175,-0.2926826477050781,-0.4571428298950195,-0.2682926654815674,-0.1999997496604919,-0.6829266548156738],0],["images/bird-sheet0.png",5352,1,43,70,41,1,0.5142857432365417,0.5365853905677795,[],[-0.2428567409515381,-0.07317039370536804,-0.01428574323654175,-0.2682923972606659,0.3571432828903198,-0.317073404788971,0.1857142448425293,-0.04878038167953491,0.1857142448425293,-0.04878038167953491,
-0.01428574323654175,0.3414636254310608,-0.399999737739563,0.2682926058769226,-0.2571427524089813,-0.04878038167953491],0]]]],[["Platform",hc,5178987554423825]],!1,!1,7655953109634694,[],null],["t1",dc,!1,[],0,0,null,null,[],!1,!1,0x978a934282253,[],null],["t2",ec,!1,[],0,0,null,null,[],!1,!1,8846390461634233,[],null,[]],["t3",gc,!1,[],0,0,["images/tiledbackground.png",93,1],null,[],!1,!1,7074001819537027,[],null],["t4",gc,!1,[],0,0,["images/tiledbackground2.png",93,1],null,[],!1,!1,0x911491cebc40b,
[],null],["t5",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5403016070098888,[["images/background-sheet0.png",227864,0,0,400,500,1,0.5,0.5,[],[],1]]]],[],!1,!1,953656317085853,[],null],["t6",Z,!1,[594544762936064],1,0,null,[["Default",5,!1,1,0,!1,7052596752156929,[["images/bottompipe-sheet0.png",49919,0,0,70,604,1,0.5,0.5,[],[-0.5,-0.5,0.4714289903640747,-0.4966887533664703,0.4714289903640747,0,0.4285709857940674,0.4917219877243042,-0.4714286029338837,0.4966890215873718,-0.4714286029338837,0],0]]]],[["DestroyOutsideLayout",
ic,4763301410271605]],!1,!1,9618256118790168,[],null],["t7",Z,!1,[],1,0,null,[["Default",5,!1,1,0,!1,290853698256507,[["images/toppipe-sheet0.png",50036,0,0,70,604,1,0.5,0.5,[],[-0.4285714030265808,-0.4917218387126923,0.4714289903640747,-0.4966887533664703,0.4714289903640747,0,0.5,0.5,-0.4714286029338837,0.4966890215873718,-0.4714286029338837,0],0]]]],[["DestroyOutsideLayout",ic,0xe277fc307687]],!1,!1,0xa8aa3754ecd2a,[],null],["t8",fc,!1,[],0,0,null,null,[],!1,!1,8463788785676717,[],null],["t9",Z,
!1,[],0,0,null,[["Default",5,!1,1,0,!1,8147977195382181,[["images/sprite-sheet0.png",263791,0,0,400,500,1,0.5,0.5,[],[],1]]]],[],!1,!1,0xc449578cad692,[],null],["t10",dc,!1,[],0,0,null,null,[],!1,!1,9906374471482008,[],null],["t11",Y,!1,[],0,0,null,null,[],!1,!1,669069303560179,[],null,[]],["t12",fc,!1,[],0,0,null,null,[],!1,!1,0xaddee186e050a,[],null],["t13",fc,!1,[],0,0,null,null,[],!1,!1,831150484098518,[],null],["t14",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7999774849661258,[["images/sprite2-sheet0.png",
168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0x393860a8f7f79,[],null],["t15",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xb9f741d811af1,[["images/sprite2-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0xd7fd2244189cc,[],null],["t16",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7643914742676748,[["images/sprite4-sheet0.png",185214,0,0,502,502,1,0.5,0.5,[],[],0]]]],[],!1,!1,0xf8ebadb253113,[],null],["t17",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9732407450960428,[["images/sprite5-sheet0.png",
310,0,0,164,80,1,0.5,0.5,[],[-0.4817073047161102,-0.4625000059604645,0,-0.4625000059604645,0.4146339893341065,-0.324999988079071,0.4695119857788086,0,0.4695119857788086,0.4374999403953552,0,0.3374999761581421,-0.4207316935062408,0.3374999761581421,-0.4878048896789551,0],0]]]],[],!1,!1,8267288744520896,[],null],["t18",dc,!1,[],0,0,null,null,[],!1,!1,9254263657152202,[],null],["t19",cc,!1,[],0,0,null,null,[],!1,!1,0x655b71375e4a9,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t20",Z,!1,[],0,0,null,[["Default",
5,!1,1,0,!1,411764701791669,[["images/sprite6-sheet0.png",75387,0,0,2048,1152,1,0.5,0.5,[],[],0]]]],[],!1,!1,5160700500652444,[],null]],[],[["Splash",400,500,!1,"Splash",9011614459782224,[["Layer 0",0,0xab506f5b51a66,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[200,249,0,400,501,0,0,1,0.5,0.5,0,0,[]],20,13,[],[],[0,"Default",0,1]]],[]]],[],[]],["Start",400,500,!1,"Start",5642885501120438,[["Layer 0",0,0x59e1be0fcd8a5,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[201,250,0,400,500,0,0,1,0.5,0.5,0,0,[]],9,8,[],[],
[0,"Default",0,1]],[[196,437,0,164,80,0,0,1,0.5,0.5,0,0,[]],17,1,[],[],[0,"Default",0,1]]],[]]],[],[]],["Game",400,500,!1,"Game",6198708927320934,[["Layer 0",0,355627206710923,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[200.5,250,0,401,500,0,0,1,0.5,0.5,0,0,[]],5,5,[],[],[0,"Default",0,1]],[[57.41984558105469,229.136474609375,0,48,34,0,0,1,0.5142857432365417,1.170731663703919,0,0,[]],0,0,[],[[0,300,1500,0,1500,1E3,1,1]],[0,"Default",0,1]],[[-69,472,0,1118,28,0,0,1,0,0,0,0,[]],3,3,[],[],[0,0]],[[0,453,0,
1107,19,0,0,1,0,0,0,0,[]],4,4,[],[],[0,0]],[[450,651,0,70,604,0,0,1,0.5,0.5,0,0,[]],6,6,[[0]],[[]],[0,"Default",0,1]],[[450,-131,0,70,604,0,0,1,0.5,0.5,0,0,[]],7,7,[],[[]],[0,"Default",0,1]],[[182,49,0,36,47,0,0,1,0,0,0,0,[]],8,9,[],[],["0",0,"26pt Arial","rgb(255,255,255)",0,0,0,0,0]],[[133,578,0,87,77,0,0,1,0.5,0.5,1,0,[]],16,10,[],[],[0,"Default",0,1]]],[]]],[],[]]],[["Game",[[1,"SECONDSPEROBSTACLE",0,2,!1,!0,0x5bf010b64db3c,!1],[1,"JUMPSTRENGTH",0,350,!1,!0,6706328064360653,!1],[1,"SCROLLSPEED",
0,3,!1,!0,0xc6a8ff77fc51,!1],[1,"Score",0,0,!1,!1,0x5c248b788c4f5,!1],[0,[!0,"Start"],!1,null,0x79b2493328c60,[[-1,W.prototype.j.Ze,null,0,!1,!1,!1,0x79b2493328c60,!1,[[1,[2,"Start"]]]]],[],[[0,null,!1,null,0x7fb9c20c1c4f4,[[-1,W.prototype.j.ij,null,1,!1,!1,!1,7552674298305292,!1]],[[8,fc.prototype.n.lh,null,7981695657209981,!1,[[7,[0,0]]]],[8,fc.prototype.n.wp,null,8858143142522444,!1,[[1,[2,"Erica One"]],[1,[2,"http://fonts.googleapis.com/css?family=Erica+One"]]]],[4,gc.prototype.n.Kd,null,8531867926373433,
!1,[[0,[0,0]]]],[3,gc.prototype.n.Kd,null,7883271464586618,!1,[[0,[0,0]]]],[-1,W.prototype.n.Rl,null,5362289503657037,!1,[[11,"Score"],[7,[0,0]]]]]]]],[0,[!0,"Movement"],!1,null,0x4fa414ac0c414,[[-1,W.prototype.j.Ze,null,0,!1,!1,!1,0x4fa414ac0c414,!1,[[1,[2,"Movement"]]]]],[],[[0,null,!1,null,9923654974799748,[[2,ec.prototype.j.Jl,null,1,!1,!1,!1,9651225947764782,!1]],[[0,hc.prototype.n.up,"Platform",8776672419371477,!1,[[0,[3,[23,"JUMPSTRENGTH"]]]]],[0,Z.prototype.n.Pl,null,4906042596798172,!1,[[0,
[0,320]]]]]],[0,null,!1,null,0xb5e14d8b40f2,[[0,Z.prototype.j.Vo,null,0,!1,!1,!1,7423593987601416,!1,[[0,[0,1]],[0,[0,360]]]]],[[0,Z.prototype.n.Pl,null,5698124432107209,!1,[[0,[4,[20,0,Z.prototype.qa.Po,!1,null],[0,1]]]]]]]]],[0,[!0,"Collisions"],!1,null,9558025647412416,[[-1,W.prototype.j.Ze,null,0,!1,!1,!1,9558025647412416,!1,[[1,[2,"Collisions"]]]]],[],[[0,null,!1,null,0x9b4a6aa23552,[[0,Z.prototype.j.fj,null,0,!1,!1,!1,6202042408238202,!1,[[4,4]]]],[[-1,W.prototype.n.mj,null,6847307981367166,
!1],[-1,W.prototype.n.Ye,null,7079177526229063,!1,[[4,16],[5,[0,0]],[0,[20,0,Z.prototype.qa.Rc,!1,null]],[0,[20,0,Z.prototype.qa.$e,!1,null]]]],[0,Z.prototype.n.Id,null,937614127465167,!1],[-1,W.prototype.n.$f,null,7574549193803809,!1,[[0,[0,1]]]],[16,Z.prototype.n.Id,null,0xc0639258bd44c,!1],[-1,W.prototype.n.Uo,null,8905881445671172,!1,[[1,[2,"Start"]]]]]],[0,null,!1,null,0xb1f259f4e4c41,[[0,Z.prototype.j.fj,null,0,!1,!1,!1,7033929425378829,!1,[[4,7]]]],[[-1,W.prototype.n.mj,null,5303491968874832,
!1],[-1,W.prototype.n.Ye,null,6423204285909042,!1,[[4,16],[5,[0,0]],[0,[20,0,Z.prototype.qa.Rc,!1,null]],[0,[20,0,Z.prototype.qa.$e,!1,null]]]],[0,Z.prototype.n.Id,null,0xff5b61d502628,!1],[-1,W.prototype.n.$f,null,7087502967256194,!1,[[0,[1,1]]]],[16,Z.prototype.n.Id,null,9198185853710828,!1],[-1,W.prototype.n.Xf,null,8267426138872097,!1,[[6,"Start"]]]]],[0,null,!1,null,6661993072735907,[[0,Z.prototype.j.fj,null,0,!1,!1,!1,0xc2dec64614c99,!1,[[4,6]]]],[[-1,W.prototype.n.mj,null,9225399626374044,
!1],[-1,W.prototype.n.Ye,null,5220375483061908,!1,[[4,16],[5,[0,0]],[0,[20,0,Z.prototype.qa.Rc,!1,null]],[0,[20,0,Z.prototype.qa.$e,!1,null]]]],[0,Z.prototype.n.Id,null,6495163945485496,!1],[-1,W.prototype.n.$f,null,5967479359818251,!1,[[0,[1,1]]]],[16,Z.prototype.n.Id,null,9907654545309136,!1],[-1,W.prototype.n.Xf,null,0x759f92cf158be,!1,[[6,"Start"]]]]],[0,null,!1,null,9569398275688900,[[0,Z.prototype.j.Xo,null,0,!1,!1,!1,0xd2a15c96ebb43,!1]],[[-1,W.prototype.n.Ye,null,9652545498494894,!1,[[4,16],
[5,[0,0]],[0,[20,0,Z.prototype.qa.Rc,!1,null]],[0,[20,0,Z.prototype.qa.$e,!1,null]]]],[0,Z.prototype.n.Id,null,7384317415134697,!1],[-1,W.prototype.n.$f,null,6270539244440752,!1,[[0,[1,1]]]],[16,Z.prototype.n.Id,null,6661443992290692,!1],[-1,W.prototype.n.Xf,null,8628296172319708,!1,[[6,"Start"]]]]]]],[0,[!0,"Scoring"],!1,null,0xf2791f34175d,[[-1,W.prototype.j.Ze,null,0,!1,!1,!1,0xf2791f34175d,!1,[[1,[2,"Scoring"]]]]],[],[[0,null,!1,null,0xa10b4746e5408,[[6,Z.prototype.j.cj,null,0,!1,!1,!1,7198601104534188,
!1,[[8,3],[0,[20,0,Z.prototype.qa.Rc,!1,null]]]],[6,Z.prototype.j.Wo,null,0,!1,!0,!1,9504905685329224,!1,[[10,0]]]],[[-1,W.prototype.n.Oo,null,0xd77c4ecfee059,!1,[[11,"Score"],[7,[0,1]]]],[8,fc.prototype.n.lh,null,0x777f548914531,!1,[[7,[23,"Score"]]]],[6,Z.prototype.n.Ql,null,0x5b14e2f44299b,!1,[[10,0],[3,1]]]]]]],[0,[!0,"Background"],!1,null,0x7e0fe3c8497b1,[[-1,W.prototype.j.Ze,null,0,!1,!1,!1,0x7e0fe3c8497b1,!1,[[1,[2,"Background"]]]]],[],[[0,null,!1,null,0x7519a4ef02af6,[[3,gc.prototype.j.cj,
null,0,!1,!1,!1,6540219589020234,!1,[[8,3],[0,[0,-560]]]]],[[3,gc.prototype.n.Kd,null,9755675412106924,!1,[[0,[0,0]]]]]],[0,null,!1,null,30454140128404,[[4,gc.prototype.j.cj,null,0,!1,!1,!1,0x446d5cd3f1cb7,!1,[[8,3],[0,[0,-410]]]]],[[4,gc.prototype.n.Kd,null,0x4065c9db3bcc0,!1,[[0,[0,0]]]]]],[0,null,!1,null,0x4ec47142457bc,[[-1,W.prototype.j.To,null,0,!1,!1,!1,0x41d2c7ea9c5ed,!1]],[[6,Z.prototype.n.Kd,null,7511133595224626,!1,[[0,[5,[20,6,Z.prototype.qa.Rc,!1,null],[23,"SCROLLSPEED"]]]]],[7,Z.prototype.n.Kd,
null,8323998578270259,!1,[[0,[5,[20,7,Z.prototype.qa.Rc,!1,null],[23,"SCROLLSPEED"]]]]],[4,gc.prototype.n.Kd,null,0x7cd9cc810ba65,!1,[[0,[5,[20,4,gc.prototype.qa.Rc,!1,null],[23,"SCROLLSPEED"]]]]],[3,gc.prototype.n.Kd,null,9315588896493164,!1,[[0,[5,[20,3,gc.prototype.qa.Rc,!1,null],[23,"SCROLLSPEED"]]]]]]]]],[0,[!0,"Obstacle"],!1,null,9794049253184592,[[-1,W.prototype.j.Ze,null,0,!1,!1,!1,9794049253184592,!1,[[1,[2,"Obstacle"]]]]],[],[[0,null,!1,null,6640649658259165,[[-1,W.prototype.j.So,null,0,
!1,!1,!1,4811019573960773,!1,[[0,[23,"SECONDSPEROBSTACLE"]]]]],[[-1,W.prototype.n.Ye,null,0x62e328b22527a,!1,[[4,7],[5,[0,0]],[0,[0,400]],[0,[19,W.prototype.qa.random,[[0,50],[0,-150]]]]]],[-1,W.prototype.n.Ye,null,0x8fa93e5db4a1f,!1,[[4,6],[5,[0,0]],[0,[0,400]],[0,[4,[20,7,Z.prototype.qa.$e,!1,null],[0,700]]]]],[8,fc.prototype.n.Zo,null,0xab94651d81946,!1],[6,Z.prototype.n.Ql,null,0xb87d687994a6e,!1,[[10,0],[3,0]]]]]]],[0,null,!1,null,0x583cf9aa225b9,[[-1,W.prototype.j.Il,null,0,!1,!1,!1,8750418526722434,
!1,[[11,"Score"],[8,5],[7,[23,"Rekord"]]]]],[[-1,W.prototype.n.Rl,null,0xf4bcf31125b0c,!1,[[11,"Rekord"],[7,[23,"Score"]]]]]]]],["Start",[[1,"Rekord",0,0,!1,!1,0xcdfb1d0cbc89d,!1],[0,null,!1,null,7932559691747911,[[-1,W.prototype.j.Il,null,0,!1,!1,!1,0xd34bd8f3f2353,!1,[[11,"Score"],[8,4],[7,[23,"Rekord"]]]]],[[13,fc.prototype.n.lh,null,9289491761527216,!1,[[7,[2,"Score"]]]]]],[0,null,!1,null,9741220577370902,[[2,ec.prototype.j.kj,null,1,!1,!1,!1,482132380324983,!1,[[3,0],[3,0],[4,17]]]],[[-1,W.prototype.n.Xf,
null,9979818305322048,!1,[[6,"Game"]]]]]]],["Splash",[[0,null,!1,null,8390921754449096,[[-1,W.prototype.j.ij,null,1,!1,!1,!1,0x4b64811d0d6d6,!1]],[[19,cc.prototype.n.Play,null,9253969412917332,!1,[[2,["567313_cry-plays-the-music",!0]],[3,1],[0,[0,1]],[1,[2,"kupa"]]]],[-1,W.prototype.n.$f,null,8881386789349729,!1,[[0,[1,1]]]],[-1,W.prototype.n.Xf,null,6378621669526922,!1,[[6,"Start"]]]]]]]],"media/",!1,400,500,1,!0,!0,!0,"1.1.0.3",!0,!1,0,0,14,!1,!0,[]]};
