// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function x(){return function(){}}function D(d){return function(){return this[d]}}function G(d){return function(){return d}}var aa,ba,H,ca,da,J,ea,fa,ga,ha,ia,ka,la,ma,na,oa,ra,sa,ta,va,wa,xa,S,ya,za,Aa,Ca,Da,Ea,Fa,Ja,Ka,La,Ma,Na,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(d){return d.__proto__}:function(d){return d.constructor.prototype});
(function(){function d(a,n,f,l){this.set(a,n,f,l)}function k(){this.Eb=this.Db=this.Gb=this.Fb=this.Ub=this.Tb=this.Ra=this.Qa=0}function e(a,n,f,l){a<n?f<l?(u=a<f?a:f,m=n>l?n:l):(u=a<l?a:l,m=n>f?n:f):f<l?(u=n<f?n:f,m=a>l?a:l):(u=n<l?n:l,m=a>f?a:f)}function h(){this.Zc=this.dd=null;this.ng=0;f?this.dd=new Set:this.Zc={};this.Se=[];this.qe=!0}function c(a){s[q++]=a}function a(){this.Ya=this.Ri=this.y=this.rj=0}function b(a){this.Ua=[];this.lh=this.nh=this.oh=this.mh=0;this.Xg(a)}function g(a,n){this.Qp=
a;this.Pp=n;this.cells={}}function p(a,n,f){var b;return l.length?(b=l.pop(),b.sr=a,b.x=n,b.y=f,b):new aa(a,n,f)}function t(a,n,f){this.sr=a;this.x=n;this.y=f;this.Fg=new ba}H=function(a){window.console&&window.console.log&&window.console.log(a)};ca=function(a){return"undefined"===typeof a};da=function(a){return"number"===typeof a};J=function(a){return"string"===typeof a};ea=function(a){return 0<a&&0===(a-1&a)};fa=function(a){--a;for(var n=1;32>n;n<<=1)a|=a>>n;return a+1};ga=function(a){return 0>
a?-a:a};ha=function(a,n){return a<n?a:n};ia=Math.PI;ka=function(a){return a+0.5|0};la=function(a){return 0<=a?a|0:(a|0)-1};ma=function(a){var n=a|0;return n===a?n:n+1};na=function(a,n,f,l,b,g,s,c){var q,p,m,A;a<f?(p=a,q=f):(p=f,q=a);b<s?(A=b,m=s):(A=s,m=b);if(q<A||p>m)return!1;n<l?(p=n,q=l):(p=l,q=n);g<c?(A=g,m=c):(A=c,m=g);if(q<A||p>m)return!1;q=b-a+s-f;p=g-n+c-l;a=f-a;n=l-n;b=s-b;g=c-g;c=ga(n*b-g*a);return ga(b*p-g*q)>c?!1:ga(a*p-n*q)<=c};d.prototype.set=function(a,n,f,l){this.left=a;this.top=n;
this.right=f;this.bottom=l};d.prototype.copy=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};d.prototype.width=function(){return this.right-this.left};d.prototype.height=function(){return this.bottom-this.top};d.prototype.offset=function(a,n){this.left+=a;this.top+=n;this.right+=a;this.bottom+=n;return this};d.prototype.normalize=function(){var a=0;this.left>this.right&&(a=this.left,this.left=this.right,this.right=a);this.top>this.bottom&&(a=this.top,this.top=
this.bottom,this.bottom=a)};d.prototype.Dr=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};d.prototype.Er=function(a,n,f){return!(a.right+n<this.left||a.bottom+f<this.top||a.left+n>this.right||a.top+f>this.bottom)};d.prototype.Jb=function(a,n){return a>=this.left&&a<=this.right&&n>=this.top&&n<=this.bottom};d.prototype.nq=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};oa=d;k.prototype.Df=function(a){this.Qa=
a.left;this.Ra=a.top;this.Tb=a.right;this.Ub=a.top;this.Fb=a.right;this.Gb=a.bottom;this.Db=a.left;this.Eb=a.bottom};k.prototype.qo=function(a,n){if(0===n)this.Df(a);else{var f=Math.sin(n),l=Math.cos(n),b=a.left*f,g=a.top*f,s=a.right*f,f=a.bottom*f,c=a.left*l,q=a.top*l,p=a.right*l,l=a.bottom*l;this.Qa=c-g;this.Ra=q+b;this.Tb=p-g;this.Ub=q+s;this.Fb=p-f;this.Gb=l+s;this.Db=c-f;this.Eb=l+b}};k.prototype.offset=function(a,n){this.Qa+=a;this.Ra+=n;this.Tb+=a;this.Ub+=n;this.Fb+=a;this.Gb+=n;this.Db+=
a;this.Eb+=n;return this};var u=0,m=0;k.prototype.mm=function(a){e(this.Qa,this.Tb,this.Fb,this.Db);a.left=u;a.right=m;e(this.Ra,this.Ub,this.Gb,this.Eb);a.top=u;a.bottom=m};k.prototype.Jb=function(a,n){var f=this.Tb-this.Qa,l=this.Ub-this.Ra,b=this.Fb-this.Qa,g=this.Gb-this.Ra,s=a-this.Qa,c=n-this.Ra,q=f*f+l*l,p=f*b+l*g,l=f*s+l*c,m=b*b+g*g,A=b*s+g*c,e=1/(q*m-p*p),f=(m*l-p*A)*e,q=(q*A-p*l)*e;if(0<=f&&0<q&&1>f+q)return!0;f=this.Db-this.Qa;l=this.Eb-this.Ra;q=f*f+l*l;p=f*b+l*g;l=f*s+l*c;e=1/(q*m-p*
p);f=(m*l-p*A)*e;q=(q*A-p*l)*e;return 0<=f&&0<q&&1>f+q};k.prototype.Nd=function(a,n){if(n)switch(a){case 0:return this.Qa;case 1:return this.Tb;case 2:return this.Fb;case 3:return this.Db;case 4:return this.Qa;default:return this.Qa}else switch(a){case 0:return this.Ra;case 1:return this.Ub;case 2:return this.Gb;case 3:return this.Eb;case 4:return this.Ra;default:return this.Ra}};k.prototype.zn=function(){return(this.Qa+this.Tb+this.Fb+this.Db)/4};k.prototype.An=function(){return(this.Ra+this.Ub+
this.Gb+this.Eb)/4};k.prototype.Xm=function(a){var n=a.zn(),f=a.An();if(this.Jb(n,f))return!0;n=this.zn();f=this.An();if(a.Jb(n,f))return!0;var l,b,g,s,q,c,p,m;for(p=0;4>p;p++)for(m=0;4>m;m++)if(n=this.Nd(p,!0),f=this.Nd(p,!1),l=this.Nd(p+1,!0),b=this.Nd(p+1,!1),g=a.Nd(m,!0),s=a.Nd(m,!1),q=a.Nd(m+1,!0),c=a.Nd(m+1,!1),na(n,f,l,b,g,s,q,c))return!0;return!1};ra=k;sa=function(a,n){for(var f in n)n.hasOwnProperty(f)&&(a[f]=n[f]);return a};ta=function(a,n){var f,l;n=la(n);if(!(0>n||n>=a.length))if(0===
n)a.shift();else if(n===a.length-1)a.pop();else{f=n;for(l=a.length-1;f<l;f++)a[f]=a[f+1];a.length=l}};va=function(a,n){a.length=n.length;var f,l;f=0;for(l=n.length;f<l;f++)a[f]=n[f]};wa=function(a,n){a.push.apply(a,n)};xa=function(a,n){var f=a.indexOf(n);-1!==f&&ta(a,f)};S=function(a){return a/(180/ia)};ya=function(a){return a*(180/ia)};za=function(a){a%=360;0>a&&(a+=360);return a};Aa=function(a){a%=2*ia;0>a&&(a+=2*ia);return a};Ca=function(a){return za(ya(a))};Da=function(a){return Aa(S(a))};Ea=
function(a,n,f,l){return Math.atan2(l-n,f-a)};Fa=function(a,n){if(a===n)return 0;var f=Math.sin(a),l=Math.cos(a),b=Math.sin(n),g=Math.cos(n),f=f*b+l*g;return 1<=f?0:-1>=f?ia:Math.acos(f)};Ja=function(a,n,f){var l=Math.sin(a),b=Math.cos(a),g=Math.sin(n),s=Math.cos(n);return Math.acos(l*g+b*s)>f?0<b*g-l*s?Aa(a+f):Aa(a-f):Aa(n)};Ka=function(a,n){var f=Math.sin(a),l=Math.cos(a),b=Math.sin(n),g=Math.cos(n);return 0>=l*b-f*g};La=function(a,n,f,l,b,g){if(0===f)return g?a:n;var s=Math.sin(f);f=Math.cos(f);
a-=l;n-=b;var q=a*s;a=a*f-n*s;n=n*f+q;return g?a+l:n+b};Ma=function(a,n,f,l){a=f-a;n=l-n;return Math.sqrt(a*a+n*n)};Na=function(a,n){return!a!==!n};Ra=function(a){for(var n in a)if(a.hasOwnProperty(n))return!0;return!1};Sa=function(a){for(var n in a)a.hasOwnProperty(n)&&delete a[n]};var n=+new Date;Ta=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==
typeof a.mozNow)return a.mozNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-n};var f="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;h.prototype.contains=function(a){return f?this.dd.has(a):this.Zc.hasOwnProperty(a.toString())};h.prototype.add=function(a){if(f)this.dd.has(a)||(this.dd.add(a),this.qe=!1);else{var n=a.toString();this.Zc.hasOwnProperty(n)||(this.Zc[n]=a,this.ng++,this.qe=!1)}return this};h.prototype.remove=function(a){f?this.dd.has(a)&&(this.dd["delete"](a),
this.qe=!1):(a=a.toString(),this.Zc.hasOwnProperty(a)&&(delete this.Zc[a],this.ng--,this.qe=!1));return this};h.prototype.clear=function(){f?this.dd.clear():(this.Zc={},this.ng=0);this.Se.length=0;this.qe=!0;return this};h.prototype.Ud=function(){return f?0===this.dd.size:0===this.ng};var s=null,q=0;h.prototype.Os=function(){if(!this.qe){if(f)this.Se.length=this.dd.size,s=this.Se,q=0,this.dd.forEach(c),s=null,q=0;else{this.Se.length=this.ng;var a,n=0;for(a in this.Zc)this.Zc.hasOwnProperty(a)&&(this.Se[n++]=
this.Zc[a])}this.qe=!0}};h.prototype.Gd=function(){this.Os();return this.Se};ba=h;a.prototype.add=function(a){this.y=a-this.rj;this.Ri=this.Ya+this.y;this.rj=this.Ri-this.Ya-this.y;this.Ya=this.Ri};a.prototype.reset=function(){this.Ya=this.Ri=this.y=this.rj=0};Ua=a;Va=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};b.prototype.Xg=function(a){this.ao=a;this.Oc=a.length/2;this.Ua.length=a.length;this.rh=this.sh=-1;this.om=0};b.prototype.hf=function(){return!this.ao.length};b.prototype.Ba=
function(){for(var a=this.Ua,n=a[0],f=n,l=a[1],b=l,g,s,q=1,c=this.Oc;q<c;++q)s=2*q,g=a[s],s=a[s+1],g<n&&(n=g),g>f&&(f=g),s<l&&(l=s),s>b&&(b=s);this.mh=n;this.nh=f;this.oh=l;this.lh=b};b.prototype.Df=function(a,n,f){this.Ua.length=8;this.Oc=4;var l=this.Ua;l[0]=a.left-n;l[1]=a.top-f;l[2]=a.right-n;l[3]=a.top-f;l[4]=a.right-n;l[5]=a.bottom-f;l[6]=a.left-n;l[7]=a.bottom-f;this.sh=a.right-a.left;this.rh=a.bottom-a.top;this.Ba()};b.prototype.Cf=function(a,n,f,l,b){this.Ua.length=8;this.Oc=4;var g=this.Ua;
g[0]=a.Qa-n;g[1]=a.Ra-f;g[2]=a.Tb-n;g[3]=a.Ub-f;g[4]=a.Fb-n;g[5]=a.Gb-f;g[6]=a.Db-n;g[7]=a.Eb-f;this.sh=l;this.rh=b;this.Ba()};b.prototype.po=function(a){this.Oc=a.Oc;va(this.Ua,a.Ua);this.mh=a.mh;this.oh-a.oh;this.nh=a.nh;this.lh=a.lh};b.prototype.We=function(a,n,f){if(this.sh!==a||this.rh!==n||this.om!==f){this.sh=a;this.rh=n;this.om=f;var l,b,g,s,q,c=0,p=1,m=this.ao,A=this.Ua;0!==f&&(c=Math.sin(f),p=Math.cos(f));f=0;for(g=this.Oc;f<g;f++)l=2*f,b=l+1,s=m[l]*a,q=m[b]*n,A[l]=s*p-q*c,A[b]=q*p+s*c;
this.Ba()}};b.prototype.Jb=function(a,n){var f=this.Ua;if(a===f[0]&&n===f[1])return!0;var l,b,g,s=this.Oc,q=this.mh-110,c=this.oh-101,p=this.nh+131,m=this.lh+120,A,e,t=0,d=0;for(l=0;l<s;l++)b=2*l,g=2*((l+1)%s),A=f[b],b=f[b+1],e=f[g],g=f[g+1],na(q,c,a,n,A,b,e,g)&&t++,na(p,m,a,n,A,b,e,g)&&d++;return 1===t%2||1===d%2};b.prototype.gg=function(a,n,f){var l=a.Ua,b=this.Ua;if(this.Jb(l[0]+n,l[1]+f)||a.Jb(b[0]-n,b[1]-f))return!0;var g,s,q,c,p,m,A,e,t,d,h,k;g=0;for(c=this.Oc;g<c;g++)for(s=2*g,q=2*((g+1)%c),
e=b[s],s=b[s+1],t=b[q],d=b[q+1],q=0,A=a.Oc;q<A;q++)if(p=2*q,m=2*((q+1)%A),h=l[p]+n,p=l[p+1]+f,k=l[m]+n,m=l[m+1]+f,na(e,s,t,d,h,p,k,m))return!0;return!1};Wa=b;g.prototype.Rj=function(a,n,f){var l;l=this.cells[a];return l?(l=l[n])?l:f?(l=p(this,a,n),this.cells[a][n]=l):null:f?(l=p(this,a,n),this.cells[a]={},this.cells[a][n]=l):null};g.prototype.fh=function(a){return la(a/this.Qp)};g.prototype.gh=function(a){return la(a/this.Pp)};g.prototype.update=function(a,n,f){var b,g,s,q,c;if(n)for(b=n.left,g=n.right;b<=
g;++b)for(s=n.top,q=n.bottom;s<=q;++s)if(!f||!f.Jb(b,s))if(c=this.Rj(b,s,!1))c.remove(a),c.Ud()&&(c.Fg.clear(),1E3>l.length&&l.push(c),this.cells[b][s]=null);if(f)for(b=f.left,g=f.right;b<=g;++b)for(s=f.top,q=f.bottom;s<=q;++s)n&&n.Jb(b,s)||this.Rj(b,s,!0).Cr(a)};g.prototype.co=function(a,n){var f,l,b,g,s,q;f=this.fh(a.left);b=this.gh(a.top);l=this.fh(a.right);for(s=this.gh(a.bottom);f<=l;++f)for(g=b;g<=s;++g)(q=this.Rj(f,g,!1))&&q.jq(n)};Xa=g;var l=[];t.prototype.Ud=function(){return this.Fg.Ud()};
t.prototype.Cr=function(a){this.Fg.add(a)};t.prototype.remove=function(a){this.Fg.remove(a)};t.prototype.jq=function(a){wa(a,this.Fg.Gd())};aa=t;var A="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Ya=function(a){return 0>=a||11<=a?"source-over":A[a-1]};Za=function(a,n,f){if(f)switch(a.nb=f.ONE,a.kb=f.ONE_MINUS_SRC_ALPHA,n){case 1:a.nb=f.ONE;a.kb=f.ONE;break;case 3:a.nb=f.ONE;a.kb=f.ZERO;break;case 4:a.nb=f.ONE_MINUS_DST_ALPHA;
a.kb=f.ONE;break;case 5:a.nb=f.DST_ALPHA;a.kb=f.ZERO;break;case 6:a.nb=f.ZERO;a.kb=f.SRC_ALPHA;break;case 7:a.nb=f.ONE_MINUS_DST_ALPHA;a.kb=f.ZERO;break;case 8:a.nb=f.ZERO;a.kb=f.ONE_MINUS_SRC_ALPHA;break;case 9:a.nb=f.DST_ALPHA;a.kb=f.ONE_MINUS_SRC_ALPHA;break;case 10:a.nb=f.ONE_MINUS_DST_ALPHA,a.kb=f.SRC_ALPHA}};ab=function(a){return ka(1E6*a)/1E6};bb=function(a,n){return"string"!==typeof a||"string"!==typeof n||a.length!==n.length?!1:a===n?!0:a.toLowerCase()===n.toLowerCase()}})();
var Vb="undefined"!==typeof Float32Array?Float32Array:Array;function Wb(d){var k=new Vb(3);d&&(k[0]=d[0],k[1]=d[1],k[2]=d[2]);return k}function Xb(d){var k=new Vb(16);d&&(k[0]=d[0],k[1]=d[1],k[2]=d[2],k[3]=d[3],k[4]=d[4],k[5]=d[5],k[6]=d[6],k[7]=d[7],k[8]=d[8],k[9]=d[9],k[10]=d[10],k[11]=d[11],k[12]=d[12],k[13]=d[13],k[14]=d[14],k[15]=d[15]);return k}
function Yb(d,k){k[0]=d[0];k[1]=d[1];k[2]=d[2];k[3]=d[3];k[4]=d[4];k[5]=d[5];k[6]=d[6];k[7]=d[7];k[8]=d[8];k[9]=d[9];k[10]=d[10];k[11]=d[11];k[12]=d[12];k[13]=d[13];k[14]=d[14];k[15]=d[15]}function Zb(d,k){var e=k[0],h=k[1];k=k[2];d[0]*=e;d[1]*=e;d[2]*=e;d[3]*=e;d[4]*=h;d[5]*=h;d[6]*=h;d[7]*=h;d[8]*=k;d[9]*=k;d[10]*=k;d[11]*=k}
function $b(d,k,e,h){h||(h=Xb());var c,a,b,g,p,t,u,m,n=d[0],f=d[1];d=d[2];a=e[0];b=e[1];c=e[2];e=k[1];t=k[2];n===k[0]&&f===e&&d===t?(d=h,d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1):(e=n-k[0],t=f-k[1],u=d-k[2],m=1/Math.sqrt(e*e+t*t+u*u),e*=m,t*=m,u*=m,k=b*u-c*t,c=c*e-a*u,a=a*t-b*e,(m=Math.sqrt(k*k+c*c+a*a))?(m=1/m,k*=m,c*=m,a*=m):a=c=k=0,b=t*a-u*c,g=u*k-e*a,p=e*c-t*k,(m=Math.sqrt(b*b+g*g+p*p))?(m=1/m,b*=m,g*=m,p*=m):p=g=b=0,
h[0]=k,h[1]=b,h[2]=e,h[3]=0,h[4]=c,h[5]=g,h[6]=t,h[7]=0,h[8]=a,h[9]=p,h[10]=u,h[11]=0,h[12]=-(k*n+c*f+a*d),h[13]=-(b*n+g*f+p*d),h[14]=-(e*n+t*f+u*d),h[15]=1)}
(function(){function d(a){this.Yh=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.pm=Wb([0,0,100]);this.xn=Wb([0,0,0]);this.Ko=Wb([0,1,0]);this.Ll=Wb([1,1,1]);this.Gk=Xb();this.Cc=Xb();this.ln=Xb();this.Bj=Xb();this.m=a;this.Tm()}function k(a,b,g){this.m=a;this.Yg=b;this.name=g;this.Bc=a.getAttribLocation(b,"aPos");this.$d=a.getAttribLocation(b,"aTex");this.vn=a.getUniformLocation(b,"matP");this.nf=a.getUniformLocation(b,"matMV");this.of=a.getUniformLocation(b,
"opacity");this.wn=a.getUniformLocation(b,"samplerFront");this.zg=a.getUniformLocation(b,"samplerBack");this.Ke=a.getUniformLocation(b,"destStart");this.Je=a.getUniformLocation(b,"destEnd");this.Dk=a.getUniformLocation(b,"seconds");this.Ck=a.getUniformLocation(b,"pixelWidth");this.Bk=a.getUniformLocation(b,"pixelHeight");this.Ak=a.getUniformLocation(b,"layerScale");this.of&&a.uniform1f(this.of,1);this.wn&&a.uniform1i(this.wn,0);this.zg&&a.uniform1i(this.zg,1);this.Ke&&a.uniform2f(this.Ke,0,0);this.Je&&
a.uniform2f(this.Je,1,1);this.Ce=!1}function e(a,b){this.type=a;this.u=b;this.m=b.m;this.yc=this.qc=this.Ln=0;this.F=this.Rc=null;this.pl=[]}d.prototype.Tm=function(){var a=this.m,b;this.mn=1;this.He=this.Yd=null;this.um=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.on=a.ONE;this.jn=a.ONE_MINUS_SRC_ALPHA;this.Xk=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Xk);this.eh=Array(4);
this.ah=Array(4);for(b=0;4>b;b++)this.eh[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.eh[b]),this.ah[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.ah[b]);this.od=0;this.Br=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Br);this.Jl=new Float32Array(16E3);this.yl=new Float32Array(16E3);this.Xn=new Float32Array(32E3);for(var g=new Uint16Array(12E3),c=b=0;12E3>b;)g[b++]=c,g[b++]=c+1,g[b++]=c+2,g[b++]=c,g[b++]=c+2,g[b++]=c+3,c+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,g,a.STATIC_DRAW);
this.xf=this.jd=0;this.Xa=[];b=this.yj({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.Xa.push(b);
b=this.yj({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.Xa.push(b);for(var e in ac)ac.hasOwnProperty(e)&&this.Xa.push(this.yj(ac[e],
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}",e));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.ld=[];this.Tc=0;this.Yb=this.Pb=!1;this.vm=this.pg=-1;this.Vf=null;this.Lq=a.createFramebuffer();this.fo=null;this.ke=Wb([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.Sr=a[0];this.Rr=
a[1];this.fd(0)};d.prototype.yj=function(a,b,g){var c=this.m,e=c.createShader(c.FRAGMENT_SHADER);c.shaderSource(e,a.src);c.compileShader(e);if(!c.getShaderParameter(e,c.COMPILE_STATUS))return c.deleteShader(e),null;var d=c.createShader(c.VERTEX_SHADER);c.shaderSource(d,b);c.compileShader(d);if(!c.getShaderParameter(d,c.COMPILE_STATUS))return c.deleteShader(e),c.deleteShader(d),null;b=c.createProgram();c.attachShader(b,e);c.attachShader(b,d);c.linkProgram(b);if(!c.getProgramParameter(b,c.LINK_STATUS))return c.deleteShader(e),
c.deleteShader(d),c.deleteProgram(b),null;c.useProgram(b);c.deleteShader(e);c.deleteShader(d);g=new k(c,b,g);g.Ij=a.Ij||0;g.Jj=a.Jj||0;g.tm=!!a.tm;g.jm=!!a.jm;g.D=a.D||[];a=0;for(e=g.D.length;a<e;a++)g.D[a][1]=c.getUniformLocation(b,g.D[a][0]),c.uniform1f(g.D[a][1],0);return g};d.prototype.Yj=function(a){var b,g;b=0;for(g=this.Xa.length;b<g;b++)if(this.Xa[b].name===a)return b;return-1};d.prototype.$n=function(a,b,g){var c=this.Cc,e=this.Gk,d=[0,0,0,0,0,0,0,0];d[0]=c[0]*a+c[4]*b+c[12];d[1]=c[1]*a+
c[5]*b+c[13];d[2]=c[2]*a+c[6]*b+c[14];d[3]=c[3]*a+c[7]*b+c[15];d[4]=e[0]*d[0]+e[4]*d[1]+e[8]*d[2]+e[12]*d[3];d[5]=e[1]*d[0]+e[5]*d[1]+e[9]*d[2]+e[13]*d[3];d[6]=e[2]*d[0]+e[6]*d[1]+e[10]*d[2]+e[14]*d[3];d[7]=-d[2];0!==d[7]&&(d[7]=1/d[7],d[4]*=d[7],d[5]*=d[7],d[6]*=d[7],g[0]=(0.5*d[4]+0.5)*this.width,g[1]=(0.5*d[5]+0.5)*this.height)};d.prototype.Bf=function(a,b,g){if(this.width!==a||this.height!==b||g){this.qd();this.width=a;this.height=b;this.m.viewport(0,0,a,b);b=a/b;var c=this.Gk,e;e=1*Math.tan(45*
Math.PI/360);b*=e;a=-b;g=-e;c||(c=Xb());var d=b-a,m=e-g;c[0]=2/d;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=2/m;c[6]=0;c[7]=0;c[8]=(b+a)/d;c[9]=(e+g)/m;c[10]=-1001/999;c[11]=-1;c[12]=0;c[13]=0;c[14]=-2E3/999;c[15]=0;$b(this.pm,this.xn,this.Ko,this.Cc);a=[0,0];b=[0,0];this.$n(0,0,a);this.$n(1,1,b);this.Ll[0]=1/(b[0]-a[0]);this.Ll[1]=-1/(b[1]-a[1]);a=0;for(b=this.Xa.length;a<b;a++)g=this.Xa[a],g.Ce=!1,g.vn&&(this.m.useProgram(g.Yg),this.m.uniformMatrix4fv(g.vn,!1,this.Gk));this.m.useProgram(this.Xa[this.pg].Yg);
this.m.bindTexture(this.m.TEXTURE_2D,null);this.m.activeTexture(this.m.TEXTURE1);this.m.bindTexture(this.m.TEXTURE_2D,null);this.m.activeTexture(this.m.TEXTURE0);this.He=this.Yd=null}};d.prototype.cd=function(){$b(this.pm,this.xn,this.Ko,this.Cc);Zb(this.Cc,this.Ll)};d.prototype.translate=function(a,b){if(0!==a||0!==b){this.ke[0]=a;this.ke[1]=b;this.ke[2]=0;var g=this.Cc,c=this.ke,e=c[0],d=c[1],c=c[2];g[12]=g[0]*e+g[4]*d+g[8]*c+g[12];g[13]=g[1]*e+g[5]*d+g[9]*c+g[13];g[14]=g[2]*e+g[6]*d+g[10]*c+g[14];
g[15]=g[3]*e+g[7]*d+g[11]*c+g[15]}};d.prototype.scale=function(a,b){if(1!==a||1!==b)this.ke[0]=a,this.ke[1]=b,this.ke[2]=1,Zb(this.Cc,this.ke)};d.prototype.il=function(a){if(0!==a){var b=this.Cc,g,c=Math.sin(a);a=Math.cos(a);var e=b[0],d=b[1],m=b[2],n=b[3],f=b[4],s=b[5],q=b[6],l=b[7];g?b!==g&&(g[8]=b[8],g[9]=b[9],g[10]=b[10],g[11]=b[11],g[12]=b[12],g[13]=b[13],g[14]=b[14],g[15]=b[15]):g=b;g[0]=e*a+f*c;g[1]=d*a+s*c;g[2]=m*a+q*c;g[3]=n*a+l*c;g[4]=e*-c+f*a;g[5]=d*-c+s*a;g[6]=m*-c+q*a;g[7]=n*-c+l*a}};
d.prototype.hd=function(){for(var a=!1,b=0;16>b;b++)if(this.ln[b]!==this.Cc[b]){a=!0;break}a&&(a=this.Dc(),a.type=5,a.F?Yb(this.Cc,a.F):a.F=Xb(this.Cc),Yb(this.Cc,this.ln),this.Yb=this.Pb=!1)};e.prototype.gq=function(){this.m.bindTexture(this.m.TEXTURE_2D,this.Rc)};e.prototype.hq=function(){var a=this.m;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Rc);a.activeTexture(a.TEXTURE0)};e.prototype.cq=function(){var a=this.Ln,b=this.u;b.um=a;b=b.Vf;b.of&&this.m.uniform1f(b.of,a)};e.prototype.$p=
function(){this.m.drawElements(this.m.TRIANGLES,this.yc,this.m.UNSIGNED_SHORT,2*this.qc)};e.prototype.bq=function(){this.m.blendFunc(this.qc,this.yc)};e.prototype.iq=function(){var a,b,g,c=this.u.Xa,e=this.u.vm;a=0;for(b=c.length;a<b;a++)g=c[a],a===e&&g.nf?(this.m.uniformMatrix4fv(g.nf,!1,this.F),g.Ce=!0):g.Ce=!1;Yb(this.F,this.u.Bj)};e.prototype.aq=function(){var a=this.m,b=this.u;this.Rc?(b.He===this.Rc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.He=null,a.activeTexture(a.TEXTURE0)),
a.bindFramebuffer(a.FRAMEBUFFER,b.Lq),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Rc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};e.prototype.Yp=function(){var a=this.m;0===this.qc?(a.clearColor(this.F[0],this.F[1],this.F[2],this.F[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.F[0],this.F[1],this.F[2],this.F[3]),a.clearColor(0,0,0,0),a.clear(this.m.COLOR_BUFFER_BIT),
a.disable(a.SCISSOR_TEST))};e.prototype.Zp=function(){var a=this.m,b=this.u,g=b.Xa[1];a.useProgram(g.Yg);!g.Ce&&g.nf&&(a.uniformMatrix4fv(g.nf,!1,b.Bj),g.Ce=!0);a.enableVertexAttribArray(g.Bc);a.bindBuffer(a.ARRAY_BUFFER,b.Xk);a.vertexAttribPointer(g.Bc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.qc/4,this.yc);g=b.Vf;a.useProgram(g.Yg);0<=g.Bc&&(a.enableVertexAttribArray(g.Bc),a.bindBuffer(a.ARRAY_BUFFER,b.eh[b.od]),a.vertexAttribPointer(g.Bc,2,a.FLOAT,!1,0,0));0<=g.$d&&(a.enableVertexAttribArray(g.$d),
a.bindBuffer(a.ARRAY_BUFFER,b.ah[b.od]),a.vertexAttribPointer(g.$d,2,a.FLOAT,!1,0,0))};e.prototype.dq=function(){var a=this.m,b=this.u,g=b.Xa[this.qc];b.vm=this.qc;b.Vf=g;a.useProgram(g.Yg);!g.Ce&&g.nf&&(a.uniformMatrix4fv(g.nf,!1,b.Bj),g.Ce=!0);g.of&&a.uniform1f(g.of,b.um);0<=g.Bc&&(a.enableVertexAttribArray(g.Bc),a.bindBuffer(a.ARRAY_BUFFER,b.eh[b.od]),a.vertexAttribPointer(g.Bc,2,a.FLOAT,!1,0,0));0<=g.$d&&(a.enableVertexAttribArray(g.$d),a.bindBuffer(a.ARRAY_BUFFER,b.ah[b.od]),a.vertexAttribPointer(g.$d,
2,a.FLOAT,!1,0,0))};e.prototype.fq=function(){var a,b,g=this.u.Vf,c=this.m;g.zg&&this.u.He!==this.Rc&&(c.activeTexture(c.TEXTURE1),c.bindTexture(c.TEXTURE_2D,this.Rc),this.u.He=this.Rc,c.activeTexture(c.TEXTURE0));g.Ck&&c.uniform1f(g.Ck,this.F[0]);g.Bk&&c.uniform1f(g.Bk,this.F[1]);g.Ke&&c.uniform2f(g.Ke,this.F[2],this.F[3]);g.Je&&c.uniform2f(g.Je,this.F[4],this.F[5]);g.Ak&&c.uniform1f(g.Ak,this.F[6]);g.Dk&&c.uniform1f(g.Dk,Ta()/1E3);if(g.D.length)for(a=0,b=g.D.length;a<b;a++)c.uniform1f(g.D[a][1],
this.pl[a])};d.prototype.Dc=function(){this.Tc===this.ld.length&&this.ld.push(new e(0,this));return this.ld[this.Tc++]};d.prototype.qd=function(){if(0!==this.Tc&&!this.m.isContextLost()){var a=this.m;0<this.xf&&(a.bindBuffer(a.ARRAY_BUFFER,this.Xk),a.bufferData(a.ARRAY_BUFFER,this.Xn.subarray(0,this.xf),a.STREAM_DRAW),b&&0<=b.Bc&&"<point>"===b.name&&a.vertexAttribPointer(b.Bc,4,a.FLOAT,!1,0,0));if(0<this.jd){var b=this.Vf;a.bindBuffer(a.ARRAY_BUFFER,this.eh[this.od]);a.bufferData(a.ARRAY_BUFFER,this.Jl.subarray(0,
this.jd),a.STREAM_DRAW);b&&0<=b.Bc&&"<point>"!==b.name&&a.vertexAttribPointer(b.Bc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.ah[this.od]);a.bufferData(a.ARRAY_BUFFER,this.yl.subarray(0,this.jd),a.STREAM_DRAW);b&&0<=b.$d&&"<point>"!==b.name&&a.vertexAttribPointer(b.$d,2,a.FLOAT,!1,0,0)}for(var g,a=0,b=this.Tc;a<b;a++)switch(g=this.ld[a],g.type){case 1:g.$p();break;case 2:g.gq();break;case 3:g.cq();break;case 4:g.bq();break;case 5:g.iq();break;case 6:g.aq();break;case 7:g.Yp();break;case 8:g.Zp();
break;case 9:g.dq();break;case 10:g.fq();break;case 11:g.hq()}this.xf=this.jd=this.Tc=0;this.Yb=this.Pb=!1;this.od++;4<=this.od&&(this.od=0)}};d.prototype.Qe=function(a){if(a!==this.mn){var b=this.Dc();b.type=3;this.mn=b.Ln=a;this.Yb=this.Pb=!1}};d.prototype.gc=function(a){if(a!==this.Yd){var b=this.Dc();b.type=2;this.Yd=b.Rc=a;this.Yb=this.Pb=!1}};d.prototype.ee=function(a,b){if(a!==this.on||b!==this.jn){var g=this.Dc();g.type=4;g.qc=a;g.yc=b;this.on=a;this.jn=b;this.Yb=this.Pb=!1}};d.prototype.mo=
function(){this.ee(this.m.ONE,this.m.ONE_MINUS_SRC_ALPHA)};d.prototype.Tg=function(a,b,g,c,e,d,m,n){15992<=this.jd&&this.qd();var f=this.jd,s=this.Jl,q=this.yl;if(this.Pb)this.ld[this.Tc-1].yc+=6;else{var l=this.Dc();l.type=1;l.qc=3*(f/4);l.yc=6;this.Pb=!0;this.Yb=!1}s[f]=a;q[f++]=0;s[f]=b;q[f++]=0;s[f]=g;q[f++]=1;s[f]=c;q[f++]=0;s[f]=e;q[f++]=1;s[f]=d;q[f++]=1;s[f]=m;q[f++]=0;s[f]=n;q[f++]=1;this.jd=f};d.prototype.be=function(a,b,g,c,e,d,m,n,f){15992<=this.jd&&this.qd();var s=this.jd,q=this.Jl,l=
this.yl;if(this.Pb)this.ld[this.Tc-1].yc+=6;else{var A=this.Dc();A.type=1;A.qc=3*(s/4);A.yc=6;this.Pb=!0;this.Yb=!1}var A=f.left,v=f.top,h=f.right;f=f.bottom;q[s]=a;l[s++]=A;q[s]=b;l[s++]=v;q[s]=g;l[s++]=h;q[s]=c;l[s++]=v;q[s]=e;l[s++]=h;q[s]=d;l[s++]=f;q[s]=m;l[s++]=A;q[s]=n;l[s++]=f;this.jd=s};d.prototype.hs=function(a,b,g,c){7996<=this.xf&&this.qd();var e=this.xf,d=this.Xn;if(this.Yb)this.ld[this.Tc-1].yc++;else{var m=this.Dc();m.type=8;m.qc=e;m.yc=1;this.Yb=!0;this.Pb=!1}d[e++]=a;d[e++]=b;d[e++]=
g;d[e++]=c;this.xf=e};d.prototype.fd=function(a){if(this.pg!==a){if(!this.Xa[a]){if(0===this.pg)return;a=0}var b=this.Dc();b.type=9;this.pg=b.qc=a;this.Yb=this.Pb=!1}};d.prototype.Qg=function(a){a=this.Xa[a];return!(!a.Ke&&!a.Je)};d.prototype.$k=function(a){a=this.Xa[a];return!!(a.Ke||a.Je||a.tm)};d.prototype.ns=function(a){a=this.Xa[a];return 0!==a.Ij||0!==a.Jj};d.prototype.$q=function(a){return this.Xa[a].Ij};d.prototype.br=function(a){return this.Xa[a].Jj};d.prototype.cr=function(a,b){return this.Xa[a].D[b][2]};
d.prototype.Gi=function(a){return this.Xa[a].jm};d.prototype.Af=function(a,b,g,c,e,d,m,n,f){var s=this.Xa[this.pg];if(s.Ck||s.Bk||s.Dk||s.zg||s.Ke||s.Je||s.Ak||f.length){var q=this.Dc();q.type=10;q.F?Yb(this.Cc,q.F):q.F=Xb();q.F[0]=b;q.F[1]=g;q.F[2]=c;q.F[3]=e;q.F[4]=d;q.F[5]=m;q.F[6]=n;q.Rc=s.zg?a:null;if(f.length)for(q.pl.length=f.length,a=0,b=f.length;a<b;a++)q.pl[a]=f[a];this.Yb=this.Pb=!1}};d.prototype.clear=function(a,b,c,e){var d=this.Dc();d.type=7;d.qc=0;d.F||(d.F=Xb());d.F[0]=a;d.F[1]=b;
d.F[2]=c;d.F[3]=e;this.Yb=this.Pb=!1};d.prototype.clearRect=function(a,b,c,e){var d=this.Dc();d.type=7;d.qc=1;d.F||(d.F=Xb());d.F[0]=a;d.F[1]=b;d.F[2]=c;d.F[3]=e;this.Yb=this.Pb=!1};d.prototype.ms=function(){this.qd();this.m.flush()};var h=[],c={};d.prototype.ni=function(a,b,g,e){b=!!b;g=!!g;var d=a.src+","+b+","+g+(b?",undefined":""),k=null;if("undefined"!==typeof a.src&&c.hasOwnProperty(d))return k=c[d],k.qh++,k;this.qd();var m=this.m,n=ea(a.width)&&ea(a.height),k=m.createTexture();m.bindTexture(m.TEXTURE_2D,
k);m.pixelStorei(m.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var f=m.RGBA,s=m.RGBA,q=m.UNSIGNED_BYTE;if(e&&!this.Yh)switch(e){case 1:s=f=m.RGB;break;case 2:q=m.UNSIGNED_SHORT_4_4_4_4;break;case 3:q=m.UNSIGNED_SHORT_5_5_5_1;break;case 4:s=f=m.RGB,q=m.UNSIGNED_SHORT_5_6_5}!n&&b?(e=document.createElement("canvas"),e.width=fa(a.width),e.height=fa(a.height),e.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,e.width,e.height),m.texImage2D(m.TEXTURE_2D,0,f,s,q,e)):m.texImage2D(m.TEXTURE_2D,0,f,s,q,a);b?(m.texParameteri(m.TEXTURE_2D,
m.TEXTURE_WRAP_S,m.REPEAT),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.REPEAT)):(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_S,m.CLAMP_TO_EDGE),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.CLAMP_TO_EDGE));g?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,m.LINEAR),n?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.LINEAR_MIPMAP_LINEAR),m.generateMipmap(m.TEXTURE_2D)):m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.LINEAR)):(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,m.NEAREST),
m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.NEAREST));m.bindTexture(m.TEXTURE_2D,null);this.Yd=null;k.Tf=a.width;k.Sf=a.height;k.qh=1;k.nm=d;h.push(k);return c[d]=k};d.prototype.nd=function(a,b,c,e){this.qd();var d=this.m;this.Yh&&(e=!1);var k=d.createTexture();d.bindTexture(d.TEXTURE_2D,k);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,e?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,null);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,
d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,c?d.LINEAR:d.NEAREST);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,c?d.LINEAR:d.NEAREST);d.bindTexture(d.TEXTURE_2D,null);this.Yd=null;k.Tf=a;k.Sf=b;h.push(k);return k};d.prototype.Ss=function(a,b,c){this.qd();var e=this.m;this.Yh&&(c=!1);e.bindTexture(e.TEXTURE_2D,b);e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,c?e.UNSIGNED_SHORT_4_4_4_4:e.UNSIGNED_BYTE,a);e.bindTexture(e.TEXTURE_2D,null);this.Yd=null};d.prototype.deleteTexture=
function(a){a&&("undefined"!==typeof a.qh&&1<a.qh?a.qh--:(this.qd(),a===this.Yd&&(this.m.bindTexture(this.m.TEXTURE_2D,null),this.Yd=null),a===this.He&&(this.m.activeTexture(this.m.TEXTURE1),this.m.bindTexture(this.m.TEXTURE_2D,null),this.m.activeTexture(this.m.TEXTURE0),this.He=null),xa(h,a),"undefined"!==typeof a.nm&&delete c[a.nm],this.m.deleteTexture(a)))};d.prototype.ed=function(a){if(a!==this.fo){var b=this.Dc();b.type=6;this.fo=b.Rc=a;this.Yb=this.Pb=!1}};cb=d})();
(function(){function d(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var f=this;this.lk=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.ff=!this.lk&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.lb=!!a.dc;this.ef="undefined"!==typeof window.AppMobi||this.lb;if(this.Ac=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){f.setSuspended(!0)}),
CocoonJS.App.onActivated.addEventListener(function(){f.setSuspended(!1)});this.qa=this.lb||this.Ac;this.$m=/tizen/i.test(navigator.userAgent);this.kk=/android/i.test(navigator.userAgent)&&!this.$m;this.Yh=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.en=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.dn=/ipad/i.test(navigator.userAgent);this.qk=this.en||this.dn;this.ig=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);
this.Gr=/amazonwebappplatform/i.test(navigator.userAgent);this.Zm=/firefox/i.test(navigator.userAgent);this.Kr=!this.ig&&/safari/i.test(navigator.userAgent);this.Lr=/windows/i.test(navigator.userAgent);this.Wd="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.an=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.bn=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Hr=!("undefined"===typeof window.c2isBlackberry10||
!window.c2isBlackberry10);this.Ym=this.kk&&!this.ig&&!this.Zm&&!this.Gr&&!this.qa;this.devicePixelRatio=1;this.Vd=this.ff||this.lk||this.ef||this.Ac||this.kk||this.qk||this.bn||this.Hr||this.$m;this.Vd||(this.Vd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Wd||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Wd=!0);this.Ir="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");
this.canvas=a;this.uh=document.getElementById("c2canvasdiv");this.la=this.u=this.m=null;this.Mj="";this.Lh=!1;this.Jn=this.Kn=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.lb&&(window.c2runtime=this);this.Wd&&(window.nu=function(a){a.preventDefault();return!1},window.ou=function(a){a.preventDefault();return!1},require("nw.gui").App.clearCache());this.width=a.width;this.height=
a.height;this.R=this.width;this.P=this.height;this.zh=this.width;this.yh=this.height;this.rg=window.innerWidth;this.qg=window.innerHeight;this.ca=!0;this.kg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.q=[];this.Ma=[];this.xk={};this.Lc=[];this.Hj={};this.ye=[];this.Hd=[];this.Yi=[];this.Hp=[];this.Ip=[];this.Uc=new ba;this.mk=!1;this.ud=0;this.ok=!1;this.Xb=[];this.wd=this.tb=this.li=this.nl="";this.Zg=this.uo=!1;this.xj=this.Ag=this.Qd=this.we=0;this.Kf=
1;this.Kc=new Ua;this.fi=0;this.yn=!0;this.ri=this.Oh=this.Ih=this.Dd=this.sg=this.Lj=0;this.vj=null;this.Dj=[];this.Gj=[];this.Gh=-1;this.Ek=[[]];this.El=this.pi=0;this.bl(null);this.Xf=this.Fn=this.Eg=0;this.$g=[];this.Vi=this.Hi=0;this.bi=!0;this.mf=0;this.jg=!1;this.Es=0;this.tr=!1;this.tk=0;this.ma=this.Be=this.dl=!1;this.Lk=new ba;this.Mk=new ba;this.rs=[];this.Qc=new Wa([]);this.wl=new Wa([]);this.Ve=[];this.hh={};this.Xe={};this.Ue={};this.Nf={};this.lm={};this.un=this.ki=this.ac=this.nc=
this.tn=this.ji=this.Y=null;this.Mf=this.pk=!1;this.Nj=[null,null];this.Ae=0;this.Ne={};this.Ni=this.lf=null;this.load();this.devicePixelRatio=(this.Ge=!this.qa&&this.Ps&&!this.Ym)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.jb();var b,c=this.mj&&!(this.Wd||this.an||this.bn);0<this.qb&&this.setSize(window.innerWidth,window.innerHeight,!0);try{!this.lq||!this.Ac&&this.qa||(b={alpha:c,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},
this.m=a.getContext("webgl",b)||a.getContext("experimental-webgl",b))}catch(l){}if(this.m){this.qa||(this.gb=document.createElement("canvas"),jQuery(this.gb).appendTo(this.canvas.parentNode),this.gb.oncontextmenu=G(!1),this.gb.onselectstart=G(!1),this.gb.width=this.zh,this.gb.height=this.yh,jQuery(this.gb).css({width:this.zh+"px",height:this.yh+"px"}),this.Zn(),this.Vk=this.gb.getContext("2d"));this.u=new cb(this.m,this.Vd);this.u.Bf(a.width,a.height);this.la=null;this.canvas.addEventListener("webglcontextlost",
function(a){a.preventDefault();f.Tr();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){f.u.Tm();f.u.Bf(f.u.width,f.u.height,!0);f.nc=null;f.ac=null;f.Nj[0]=null;f.Nj[1]=null;f.Ur();f.ca=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);var g,v,e,m,d,p;a=0;for(b=this.q.length;a<b;a++)for(v=this.q[a],c=0,g=v.L.length;c<g;c++)m=v.L[c],m.hb=this.u.Yj(m.id),this.Mf=this.Mf||
this.u.Qg(m.hb);a=0;for(b=this.Lc.length;a<b;a++){d=this.Lc[a];c=0;for(g=d.L.length;c<g;c++)m=d.L[c],m.hb=this.u.Yj(m.id);c=0;for(g=d.V.length;c<g;c++)for(p=d.V[c],v=0,e=p.L.length;v<e;v++)m=p.L[v],m.hb=this.u.Yj(m.id),this.Mf=this.Mf||this.u.Qg(m.hb)}}else{if(0<this.qb&&this.lb){this.canvas=null;document.oncontextmenu=G(!1);document.onselectstart=G(!1);this.la=AppMobi.canvas.getContext("2d");try{this.la.samplingMode=this.$?"smooth":"sharp",this.la.globalScale=1,this.la.HTML5CompatibilityMode=!0,
this.la.imageSmoothingEnabled=this.$}catch(h){}0!==this.width&&0!==this.height&&(this.la.width=this.width,this.la.height=this.height)}this.la||(b=this.Ac?{antialias:!!this.$,alpha:c}:{alpha:c},this.la=a.getContext("2d",b),this.la.webkitImageSmoothingEnabled=this.$,this.la.mozImageSmoothingEnabled=this.$,this.la.msImageSmoothingEnabled=this.$,this.la.imageSmoothingEnabled=this.$);this.Vk=this.gb=null}this.Ui=function(){f.Aa()};window==window.top||this.qa||this.an||(document.addEventListener("mousedown",
function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Ac&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(H("Reloading for continuous preview"),this.li="__c2_continuouspreview",this.Zg=!0),this.gs&&!this.Vd&&(jQuery(window).focus(function(){f.setSuspended(!1)}),jQuery(window).blur(function(){f.setSuspended(!0)})));0===this.qb&&this.Ge&&1<this.devicePixelRatio&&
this.setSize(this.bb,this.ab,!0);this.Go();this.go();this.Ea={}}}function k(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function e(a,f,b,c){var l=indexedDB.open("_C2SaveStates");l.onupgradeneeded=k;l.onerror=c;l.onsuccess=function(l){l=l.target.result;l.onerror=c;l.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:f}).onsuccess=b}}function h(a,f,b){var c=indexedDB.open("_C2SaveStates");c.onupgradeneeded=k;c.onerror=b;c.onsuccess=function(l){l=l.target.result;
l.onerror=b;var c=l.transaction(["saves"]).objectStore("saves").get(a);c.onsuccess=function(){c.result?f(c.result.data):f(null)}}}function c(){H("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(a){var f,c={};for(f in a)!a.hasOwnProperty(f)||a[f]instanceof ba||a[f]&&"undefined"!==typeof a[f].fu||(c[f]=a[f]);return c}d.prototype.setSize=function(a,f,c){var b=
0,l=0,g=0,v=0,v=0;if(this.rg!==a||this.qg!==f||c){this.rg=a;this.qg=f;var m=this.qb,e=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.jg;if(e||0!==this.qb||c)e&&0<this.Ae&&(m=this.Ae),4<=m?(c=this.bb/this.ab,a/f>c?(g=f*c,5===m?(v=g/this.bb,1<v?v=Math.floor(v):1>v&&(v=1/Math.ceil(1/v)),g=this.bb*v,v*=this.ab,b=(a-g)/2,l=(f-v)/2,a=g,f=v):(b=(a-g)/2,a=g)):(v=a/c,5===m?(v/=this.ab,1<v?v=Math.floor(v):1>v&&(v=1/Math.ceil(1/v)),g=this.bb*v,
v*=this.ab,b=(a-g)/2,l=(f-v)/2,a=g):l=(f-v)/2,f=v),e&&!this.Wd&&(l=b=0),b=Math.floor(b),l=Math.floor(l),a=Math.floor(a),f=Math.floor(f)):this.Wd&&this.jg&&0===this.Gm&&(b=Math.floor((a-this.bb)/2),l=Math.floor((f-this.ab)/2),a=this.bb,f=this.ab),2>m&&(this.Rf=this.devicePixelRatio),this.Ge&&this.dn&&1<this.devicePixelRatio&&(1024<=a&&(a=1023),1024<=f&&(f=1023)),e=this.devicePixelRatio,this.zh=a,this.yh=f,this.width=Math.round(a*e),this.height=Math.round(f*e),this.ca=!0,this.Po?(this.R=this.width,
this.P=this.height,this.xc=!0):this.width<this.bb&&this.height<this.ab||1===m?(this.R=this.width,this.P=this.height,this.xc=!0):(this.R=this.bb,this.P=this.ab,this.xc=!1,2===m?(c=this.bb/this.ab,m=this.rg/this.qg,m<c?this.R=this.P*m:m>c&&(this.P=this.R/m)):3===m&&(c=this.bb/this.ab,m=this.rg/this.qg,m>c?this.R=this.P*m:m<c&&(this.P=this.R/m))),this.uh&&!this.qa&&(jQuery(this.uh).css({width:a+"px",height:f+"px","margin-left":b,"margin-top":l}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:a+
"px",height:f+"px"})),this.canvas&&(this.canvas.width=Math.round(a*e),this.canvas.height=Math.round(f*e),this.Ge&&jQuery(this.canvas).css({width:a+"px",height:f+"px"})),this.gb&&(this.gb.width=a,this.gb.height=f,jQuery(this.gb).css({width:a+"px",height:f+"px"})),this.u&&this.u.Bf(Math.round(a*e),Math.round(f*e)),this.lb&&this.la&&(this.la.width=a,this.la.height=f),this.la&&(this.la.webkitImageSmoothingEnabled=this.$,this.la.mozImageSmoothingEnabled=this.$,this.la.msImageSmoothingEnabled=this.$,this.la.imageSmoothingEnabled=
this.$),this.Go()}};d.prototype.Go=function(){if(this.Kp&&0!==this.Tk){var a="portrait";2===this.Tk&&(a="landscape");screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a)}};d.prototype.Tr=function(){this.pk=!0;var a,f,c;a=0;for(f=this.q.length;a<f;a++)c=this.q[a],c.si&&c.si()};d.prototype.Ur=function(){this.pk=!1;var a,f,c;a=0;for(f=this.q.length;a<
f;a++)c=this.q[a],c.Sk&&c.Sk()};d.prototype.Zn=function(){if(!this.qa){var a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.jg?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.gb).css(a)}};var b=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;d.prototype.setSuspended=function(a){var f;
if(a&&!this.kg)for(H("[Construct 2] Suspending"),this.kg=!0,0!==this.Hi&&b&&b(this.Hi),0!==this.Vi&&clearTimeout(this.Vi),a=0,f=this.$g.length;a<f;a++)this.$g[a](!0);else if(!a&&this.kg){H("[Construct 2] Resuming");this.kg=!1;this.fi=Ta();this.sg=Ta();a=this.Ag=this.Oh=0;for(f=this.$g.length;a<f;a++)this.$g[a](!1);this.Aa()}};d.prototype.gm=function(a){this.$g.push(a)};d.prototype.load=function(){var a=bc();this.name=a[0];this.Fm=a[1];this.qb=a[11];this.Gm=a[11];this.bb=a[9];this.ab=a[10];this.Sn=
this.bb/2;this.Tn=this.ab/2;this.qa&&(4<=a[11]||0===a[11])&&(H("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Gm=this.qb=3);this.Hl=a[17];this.yg=a[18];0===this.yg&&(this.lf=new Image,this.lf.src="loading-logo.png");this.Eg=a[20];this.gd=new T(this);var f,c,b,l,g,m,e,d,p;f=0;for(c=a[2].length;f<c;f++)e=a[2][f],db(e),p=new e[0](this),p.rl=e[1],p.Xd=e[2],p.Cn=e[9],p.M&&p.M(),this.plugins.push(p);a=bc();f=0;for(c=a[3].length;f<
c;f++){e=a[3][f];g=e[1];p=null;b=0;for(l=this.plugins.length;b<l;b++)if(this.plugins[b]instanceof g){p=this.plugins[b];break}var h=new p.ea(p);h.name=e[0];h.H=e[2];h.jk=e[3].slice(0);h.Rs=e[3].length;h.Lp=e[4];h.Oq=e[5];h.T=e[11];h.H?(h.qi=[],h.Xc=this.Xf++,h.ra=null):(h.qi=null,h.Xc=-1,h.ra=[]);h.Jh=null;h.$e=null;h.Bm=null;h.Ic=!1;h.Ib=null;e[6]?(h.zl=e[6][0],h.Al=e[6][1],h.Bl=e[6][2]):(h.zl=null,h.Al=0,h.Bl=0);h.Wb=e[7]?e[7]:null;h.index=f;h.e=[];h.Ch=[];h.he=[new eb(h)];h.pd=0;h.Vc=null;h.Gf=
!0;h.Zi=fb;h.Uq=gb;h.Zq=hb;h.ta=ib;h.Sg=jb;h.al=kb;h.yf=lb;h.Ph=mb;h.Qj=nb;h.Vj=sb;h.Md=tb;h.Km=ub;h.wh=new Xa(this.bb,this.ab);h.ih=!0;h.jh=!1;h.Ea={};h.toString=vb;h.Ma=[];b=0;for(l=e[8].length;b<l;b++){d=e[8][b];var k=d[1],t=null;g=0;for(m=this.Ma.length;g<m;g++)if(this.Ma[g]instanceof k){t=this.Ma[g];break}t||(t=new k(this),t.Dn=[],t.qf=new ba,t.M&&t.M(),this.Ma.push(t));-1===t.Dn.indexOf(h)&&t.Dn.push(h);g=new t.ea(t,h);g.name=d[0];g.T=d[2];g.M();h.Ma.push(g)}h.global=e[9];h.nk=e[10];h.L=[];
b=0;for(l=e[12].length;b<l;b++)h.L.push({id:e[12][b][0],name:e[12][b][1],hb:-1,Ab:!0,index:b});h.vu=e[13];this.Hl&&!h.H&&!h.nk&&p.Xd||h.M();h.name&&(this.types[h.name]=h);this.q.push(h);p.rl&&(b=new p.W(h),b.uid=this.Eg++,b.bo=this.Fn++,b.De=0,b.bg=wb,b.toString=xb,b.I=e[14],b.M(),h.e.push(b),this.Ne[b.uid.toString()]=b)}f=0;for(c=a[4].length;f<c;f++)for(g=a[4][f],m=this.q[g[0]],b=1,l=g.length;b<l;b++)e=this.q[g[b]],e.ra.push(m),m.qi.push(e);f=0;for(c=a[23].length;f<c;f++){g=a[23][f];m=[];b=0;for(l=
g.length;b<l;b++)m.push(this.q[g[b]]);b=0;for(l=m.length;b<l;b++)m[b].Ic=!0,m[b].Ib=m}if(0<this.Xf)for(f=0,c=this.q.length;f<c;f++)if(e=this.q[f],!e.H&&e.ra.length){e.Jh=Array(this.Xf);e.$e=Array(this.Xf);e.Bm=Array(this.Xf);h=[];b=t=k=d=0;for(l=e.ra.length;b<l;b++)for(p=e.ra[b],e.Jh[p.Xc]=d,d+=p.Rs,e.$e[p.Xc]=k,k+=p.Lp,e.Bm[p.Xc]=t,t+=p.Oq,g=0,m=p.L.length;g<m;g++)h.push(sa({},p.L[g]));e.L=h.concat(e.L);b=0;for(l=e.L.length;b<l;b++)e.L[b].index=b}f=0;for(c=a[5].length;f<c;f++)e=a[5][f],b=new yb(this,
e),this.xk[b.name]=b,this.Lc.push(b);f=0;for(c=a[6].length;f<c;f++)e=a[6][f],b=new zb(this,e),this.Hj[b.name]=b,this.ye.push(b);f=0;for(c=this.ye.length;f<c;f++)this.ye[f].Ka();f=0;for(c=this.Yi.length;f<c;f++)this.Yi[f].Ka();this.Yi.length=0;this.bd=a[8];this.Rf=1;this.lq=a[12];this.$=a[13];this.mj=a[14];this.Ps=a[16];this.Tk=a[19];this.Kp=0<this.Tk;this.gs=a[21];this.xc=this.Po=a[22];this.Qi=Date.now()};d.prototype.Mq=function(a){var f,b;f=0;for(b=this.Hd.length;f<b;f++)if(this.Hd[f].Sp===a)return this.Hd[f];
return null};d.prototype.km=function(){var a=0,f=0,b=!0,c,l;c=0;for(l=this.Hd.length;c<l;c++){var g=this.Hd[c].rm;if(!g||0>=g)g=5E4;a+=g;this.Hd[c].complete||this.Hd[c].loaded?f+=g:b=!1}this.Pe=0==a?0:f/a;return b};d.prototype.go=function(){if(this.la||this.u){var a=this.la||this.Vk;this.gb&&this.Zn();this.Pe=0;this.sn=-1;if(this.km())this.rr();else{var f=Date.now()-this.Qi;if(a){var b=this.width,c=this.height,l=this.devicePixelRatio;this.gb&&(b=this.zh,c=this.yh,l=1);if(3!==this.yg&&500<=f&&this.sn!=
this.Pe){a.clearRect(0,0,b,c);var f=b/2,c=c/2,b=0===this.yg&&this.lf.complete,g=40*l,e=0,m=80*l,d;b&&(m=this.lf.width*l,d=this.lf.height*l,g=m/2,e=d/2,a.drawImage(this.lf,la(f-g),la(c-e),m,d));1>=this.yg?(f=la(f-g)+0.5,c=la(c+(e+(b?12*l:0)))+0.5,a.fillStyle="DodgerBlue",a.fillRect(f,c,Math.floor(m*this.Pe),6*l),a.strokeStyle="black",a.strokeRect(f,c,m,6*l),a.strokeStyle="white",a.strokeRect(f-1*l,c-1*l,m+2*l,8*l)):2===this.yg&&(a.font="12pt Arial",a.fillStyle="#999",a.uu="middle",l=Math.round(100*
this.Pe)+"%",b=a.measureText?a.measureText(l):null,a.fillText(l,f-(b?b.width:0)/2,c))}this.sn=this.Pe}setTimeout(function(a){return function(){a.go()}}(this),100)}}};d.prototype.rr=function(){this.gb&&(this.canvas.parentNode.removeChild(this.gb),this.gb=this.Vk=null);this.Qi=Date.now();this.sg=Ta();var a,f,b;if(this.Hl)for(a=0,f=this.q.length;a<f;a++)b=this.q[a],b.H||b.nk||!b.ua.Xd||b.M();else this.bi=!1;a=0;for(f=this.Lc.length;a<f;a++)this.Lc[a].Tp();2<=this.qb&&(a=this.bb/this.ab,f=this.width/
this.height,this.Rf=2!==this.qb&&f>a||2===this.qb&&f<a?this.height/this.ab:this.width/this.bb);this.Fm?this.xk[this.Fm].tl():this.Lc[0].tl();this.Hl||(this.mf=1,this.trigger(T.prototype.d.Ql,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();this.Aa();this.lb&&AppMobi.webview.execute("onGameReady();")};var g=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;
d.prototype.Aa=function(){if(this.Y){var a=Ta();if(this.tr&&this.dl&&29>a-this.tk)this.dl=!1,this.tk=a,g?this.Hi=g(this.Ui,this.canvas):this.Vi=setTimeout(this.Ui,this.Vd?1:16);else{this.dl=!0;this.tk=a;var f=this.qb,b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(b||this.jg)&&0<this.Ae&&(f=this.Ae);if(0<f&&!this.en){var f=window.innerWidth,c=window.innerHeight;this.rg===f&&this.qg===c||this.setSize(f,c)}this.qa||(b?(this.Lh||(this.Mj=jQuery(this.canvas).css("margin")||
"0",this.Lh=!0),this.ig||this.Wd||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.Lh?(this.ig||this.Wd||jQuery(this.canvas).css("margin",this.Mj),this.Mj="",this.Lh=!1,0===this.qb&&this.setSize(Math.round(this.Kn/this.devicePixelRatio),Math.round(this.Jn/this.devicePixelRatio),!0)):(this.Kn=this.width,this.Jn=this.height));this.bi&&(b=this.km(),
this.mf=this.Pe,b&&(this.bi=!1,this.Pe=1,this.trigger(T.prototype.d.Ql,null)));this.Qr();!this.ca&&!this.Ac||this.pk||this.Zg||(this.ca=!1,this.u?this.Kb():this.lc(),this.Ni&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Ni[0],this.Ni[1]),this.trigger(T.prototype.d.Yo,null)),this.Ni=null));this.mu||(this.Dd++,this.Ih++,this.Oh++);this.Ag+=Ta()-a;this.kg||(g?this.Hi=g(this.Ui,this.canvas):this.Vi=setTimeout(this.Ui,this.Vd?1:16))}}};d.prototype.Qr=function(){var a,f,b,c,l,g,e,m,
d;a=Ta();1E3<=a-this.sg&&(this.sg+=1E3,this.Lj=this.Oh,this.Oh=0,this.xj=this.Ag,this.Ag=0);this.yn&&(0!==this.fi&&(f=a-this.fi,0!==f||this.Ir?(this.Qd=f/1E3,0.5<this.Qd?this.Qd=0:0.1<this.Qd&&(this.Qd=0.1)):(10<=this.xu&&(this.yn=!1),this.Qd=1/60)),this.fi=a);this.we=this.Qd*this.Kf;this.Kc.add(this.we);a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.jg;2<=this.qb||a&&0<this.Ae?(f=this.bb/this.ab,b=this.width/this.height,c=this.qb,
a&&0<this.Ae&&(c=this.Ae),this.Rf=2!==c&&b>f||2===c&&b<f?this.height/this.ab:this.width/this.bb,this.Y&&(this.Y.ko(this.Y.scrollX),this.Y.lo(this.Y.scrollY))):this.Rf=this.Ge?this.devicePixelRatio:1;this.jb();this.ud++;this.gd.ts();this.ud--;this.jb();this.ud++;a=0;for(f=this.q.length;a<f;a++)if(e=this.q[a],!e.H&&(e.Ma.length||e.ra.length))for(b=0,c=e.e.length;b<c;b++)for(m=e.e[b],l=0,g=m.K.length;l<g;l++)m.K[l].Aa();a=0;for(f=this.q.length;a<f;a++)if(e=this.q[a],!e.H&&(e.Ma.length||e.ra.length))for(b=
0,c=e.e.length;b<c;b++)for(m=e.e[b],l=0,g=m.K.length;l<g;l++)d=m.K[l],d.ls&&d.ls();b=this.Lk.Gd();a=0;for(f=b.length;a<f;a++)b[a].Aa();this.ud--;this.ur();for(a=0;this.vj&&10>a++;)this.xm(this.vj);a=0;for(f=this.ye.length;a<f;a++)this.ye[a].bk=!1;this.Y.Fh&&this.Y.Fh.Wa();this.rs.length=0;this.ud++;a=0;for(f=this.q.length;a<f;a++)if(e=this.q[a],!e.H&&(e.Ma.length||e.ra.length))for(b=0,c=e.e.length;b<c;b++)for(m=e.e[b],l=0,g=m.K.length;l<g;l++)d=m.K[l],d.Ti&&d.Ti();b=this.Mk.Gd();a=0;for(f=b.length;a<
f;a++)b[a].Ti();this.ud--};d.prototype.xm=function(a){var f=this.Y;this.Y.Fs();var b,c,l,g,e,m,d;if(this.u)for(b=0,c=this.q.length;b<c;b++)e=this.q[b],e.H||!e.Gl||e.global&&0!==e.e.length||-1!==a.fg.indexOf(e)||e.Gl();f==a&&(this.gd.ic.length=0);a.tl();b=0;for(c=this.q.length;b<c;b++)if(e=this.q[b],e.global||e.ua.rl)for(a=0,f=e.e.length;a<f;a++)if(m=e.e[a],m.Rk&&m.Rk(),m.K)for(l=0,g=m.K.length;l<g;l++)d=m.K[l],d.Rk&&d.Rk();this.ca=!0;this.jb()};d.prototype.Jf=function(a){this.Lk.add(a)};d.prototype.Hs=
function(a){this.Mk.add(a)};d.prototype.Tj=function(a){return a&&-1!==a.Dg?this.Qd*a.Dg:this.we};d.prototype.lc=function(){this.Y.lc(this.la);this.lb&&this.la.present()};d.prototype.Kb=function(){this.Y.Kb(this.u);this.u.ms()};d.prototype.Ep=function(a){a&&this.Dj.push(a)};d.prototype.Rh=function(a){return this.Ne[a.toString()]};d.prototype.Id=function(a){var f,b;if(!this.Uc.contains(a)){this.Uc.add(a);if(a.Ic)for(f=0,b=a.siblings.length;f<b;f++)this.Id(a.siblings[f]);this.mk&&this.Uc.Se.push(a);
this.ud++;this.trigger(Object.getPrototypeOf(a.type.ua).d.bp,a);this.ud--}};d.prototype.jb=function(){var a,f,b,c,l,g,e,m,d,h;this.mk=!0;c=0;for(g=this.Xb.length;c<g;c++)for(a=this.Xb[c],f=a.type,f.e.push(a),l=0,e=f.ra.length;l<e;l++)f.ra[l].e.push(a),f.ra[l].Gf=!0;this.Xb.length=0;g=this.Uc.Gd();for(c=0;c<g.length;c++){a=g[c];f=a.type;b=f.e;l=0;for(e=this.Dj.length;l<e;l++)this.Dj[l](a);xa(b,a);0===b.length&&(f.jh=!1);a.vh&&f.wh.update(a,a.vh,null);a.i&&(ta(a.i.e,a.Ob()),a.i.jc=!0);l=0;for(e=f.ra.length;l<
e;l++)xa(f.ra[l].e,a),f.ra[l].Gf=!0;if(a.K)for(l=0,e=a.K.length;l<e;l++)b=a.K[l],b.uf&&b.uf(),b.Bb.qf.remove(a);this.Lk.remove(a);this.Mk.remove(a);l=0;for(e=this.gd.ic.length;l<e;l++)if(d=this.gd.ic[l],d.hc.hasOwnProperty(f.index)&&xa(d.hc[f.index].Fe,a),!f.H)for(b=0,m=f.ra.length;b<m;b++)h=f.ra[b],d.hc.hasOwnProperty(h.index)&&xa(d.hc[h.index].Fe,a);a.uf&&a.uf();this.Ne.hasOwnProperty(a.uid.toString())&&delete this.Ne[a.uid.toString()];this.ri--;64>f.Ch.length&&f.Ch.push(a);f.Gf=!0}this.Uc.Ud()||
(this.ca=!0);this.Uc.clear();this.mk=!1};var p=[];d.prototype.te=function(a,f,b,c,l,g){var e,m,d,h;if(!a)return null;var k=this.q[a[1]],t=k.ua.Xd;if(this.bi&&t&&!k.nk||t&&!this.u&&11===a[0][11])return null;var u=f;t||(f=null);var r;k.Ch.length?(r=k.Ch.pop(),r.oc=!0,k.ua.W.call(r,k)):(r=new k.ua.W(k),r.oc=!1);r.uid=b&&!g?a[2]:this.Eg++;this.Ne[r.uid.toString()]=r;r.bo=this.Fn++;r.De=k.e.length;e=0;for(m=this.Xb.length;e<m;++e)this.Xb[e].type===k&&r.De++;r.bg=wb;d=a[3];if(r.oc)Sa(r.Ea);else{r.Ea={};
if("undefined"!==typeof cr_is_preview)for(r.Wm=[],r.Wm.length=d.length,e=0,m=d.length;e<m;e++)r.Wm[e]=d[e][1];r.Sa=[];r.Sa.length=d.length}e=0;for(m=d.length;e<m;e++)r.Sa[e]=d[e][0];if(t){var z=a[0];r.x=ca(c)?z[0]:c;r.y=ca(l)?z[1]:l;r.z=z[2];r.width=z[3];r.height=z[4];r.depth=z[5];r.j=z[6];r.opacity=z[7];r.Zb=z[8];r.$b=z[9];r.Cb=z[10];e=z[11];!this.u&&k.L.length&&(r.Cb=e);r.Pd=Ya(r.Cb);this.m&&Za(r,r.Cb,this.m);if(r.oc){e=0;for(m=z[12].length;e<m;e++)for(d=0,h=z[12][e].length;d<h;d++)r.Da[e][d]=z[12][e][d];
r.Ga.set(0,0,0,0);r.vh.set(0,0,-1,-1);r.pb.Df(r.Ga);r.pj.length=0}else{r.Da=z[12].slice(0);e=0;for(m=r.Da.length;e<m;e++)r.Da[e]=z[12][e].slice(0);r.Z=[];r.Jd=[];r.Jd.length=k.L.length;r.Ga=new oa(0,0,0,0);r.vh=new oa(0,0,-1,-1);r.pb=new ra;r.pj=[];r.Fa=Ab;r.Gp=Bb;r.Jb=Cb;r.Ba=Db;r.Ob=Eb}r.bh=!1;r.Ks=0;r.Js=0;r.Is=null;14===z.length&&(r.bh=!0,r.Ks=z[13][0],r.Js=z[13][1],r.Is=z[13][2]);e=0;for(m=k.L.length;e<m;e++)r.Jd[e]=!0;r.Fd=Fb;r.Fd();r.Oo=!!r.Z.length;r.ph=!0;k.ih=!0;r.visible=!0;r.Dg=-1;r.i=
f;r.Te=f.e.length;"undefined"===typeof r.aa&&(r.aa=null);this.ca=r.re=!0}r.toString=xb;var M;e=p.length=0;for(m=k.ra.length;e<m;e++)p.push.apply(p,k.ra[e].Ma);p.push.apply(p,k.Ma);if(r.oc)for(e=0,m=p.length;e<m;e++){var C=p[e];M=r.K[e];M.oc=!0;C.Bb.W.call(M,C,r);z=a[4][e];d=0;for(h=z.length;d<h;d++)M.I[d]=z[d];M.M();C.Bb.qf.add(r)}else for(r.K=[],e=0,m=p.length;e<m;e++)C=p[e],M=new C.Bb.W(C,r),M.oc=!1,M.I=a[4][e].slice(0),M.M(),r.K.push(M),C.Bb.qf.add(r);z=a[5];if(r.oc)for(e=0,m=z.length;e<m;e++)r.I[e]=
z[e];else r.I=z.slice(0);this.Xb.push(r);f&&(f.e.push(r),1!==f.Rb||1!==f.Sb)&&(k.jh=!0);this.ri++;if(k.Ic){if(r.Ic=!0,r.oc?r.siblings.length=0:r.siblings=[],!b&&!g){e=0;for(m=k.Ib.length;e<m;e++)if(k.Ib[e]!==k){if(!k.Ib[e].Vc)return null;r.siblings.push(this.te(k.Ib[e].Vc,u,!1,t?r.x:c,t?r.y:l,!0))}e=0;for(m=r.siblings.length;e<m;e++)for(r.siblings[e].siblings.push(r),d=0;d<m;d++)e!==d&&r.siblings[e].siblings.push(r.siblings[d])}}else r.Ic=!1,r.siblings=null;r.M();e=0;for(m=r.K.length;e<m;e++)r.K[e].ks&&
r.K[e].ks();return r};d.prototype.$f=function(a){var f,b;f=0;for(b=this.Y.V.length;f<b;f++){var c=this.Y.V[f];if(bb(c.name,a))return c}return null};d.prototype.sd=function(a){a=la(a);0>a&&(a=0);a>=this.Y.V.length&&(a=this.Y.V.length-1);return this.Y.V[a]};d.prototype.wj=function(a){var f,b;f=0;for(b=a.length;f<b;f++)a[f].ta().za=!0};d.prototype.Sg=function(a){var f,b;f=0;for(b=a.length;f<b;f++)a[f].Sg()};d.prototype.al=function(a){var f,b;f=0;for(b=a.length;f<b;f++)a[f].al()};d.prototype.yf=function(a){var f,
b;f=0;for(b=a.length;f<b;f++)a[f].yf()};d.prototype.Lo=function(a){if(a.ih){var f,b,c=a.e;f=0;for(b=c.length;f<b;++f)c[f].Ba();a.ih=!1}};d.prototype.Tq=function(a,f,b,c){var l,g,e=a?1!==a.Rb||1!==a.Sb:!1;if(f.H)for(a=0,l=f.qi.length;a<l;++a)g=f.qi[a],e||g.jh?wa(c,g.e):(this.Lo(g),g.wh.co(b,c));else e||f.jh?wa(c,f.e):(this.Lo(f),f.wh.co(b,c))};d.prototype.xl=function(a,f,b,c){var l=a.ta(),g,e,m,d,h,p;if(l.za)for(c||(l.za=!1,l.e.length=0),g=0,d=a.e.length;g<d;g++){if(m=a.e[g],m.Ba(),h=m.i.Ha(f,b,!0),
p=m.i.Ha(f,b,!1),m.Jb(h,p)){if(c)return!1;l.e.push(m)}}else{g=e=0;for(d=l.e.length;g<d;g++)if(m=l.e[g],m.Ba(),h=m.i.Ha(f,b,!0),p=m.i.Ha(f,b,!1),m.Jb(h,p)){if(c)return!1;l.e[e]=l.e[g];e++}c||(l.e.length=e)}a.Md();return c?!0:l.ak()};d.prototype.Gs=function(a,f){if(!(a&&f&&a!==f&&a.re&&f.re))return!1;a.Ba();f.Ba();var b=a.i,c=f.i,l,g,e,m,d,h,p,k;if(b===c||b.Rb===c.Rb&&c.Sb===c.Sb&&b.scale===c.scale&&b.j===c.j&&b.ob===c.ob){if(!a.Ga.Dr(f.Ga)||!a.pb.Xm(f.pb)||a.bh&&f.bh)return!1;if(a.bh)return this.yo(a,
f);if(f.bh)return this.yo(f,a);p=a.aa&&!a.aa.hf();l=f.aa&&!f.aa.hf();if(!p&&!l)return!0;p?(a.aa.We(a.width,a.height,a.j),p=a.aa):(this.Qc.Cf(a.pb,a.x,a.y,a.width,a.height),p=this.Qc);l?(f.aa.We(f.width,f.height,f.j),k=f.aa):(this.Qc.Cf(f.pb,f.x,f.y,f.width,f.height),k=this.Qc);return p.gg(k,f.x-a.x,f.y-a.y)}p=a.aa&&!a.aa.hf();l=f.aa&&!f.aa.hf();p?(a.aa.We(a.width,a.height,a.j),this.Qc.po(a.aa)):this.Qc.Cf(a.pb,a.x,a.y,a.width,a.height);p=this.Qc;l?(f.aa.We(f.width,f.height,f.j),this.wl.po(f.aa)):
this.wl.Cf(f.pb,f.x,f.y,f.width,f.height);k=this.wl;l=0;for(g=p.Oc;l<g;l++)e=2*l,m=e+1,d=p.Ua[e],h=p.Ua[m],p.Ua[e]=b.na(d+a.x,h+a.y,!0),p.Ua[m]=b.na(d+a.x,h+a.y,!1);p.Ba();l=0;for(g=k.Oc;l<g;l++)e=2*l,m=e+1,d=k.Ua[e],h=k.Ua[m],k.Ua[e]=c.na(d+f.x,h+f.y,!0),k.Ua[m]=c.na(d+f.x,h+f.y,!1);k.Ba();return p.gg(k,0,0)};var t=new ra;new oa(0,0,0,0);d.prototype.yo=function(a,f){var b=a.gu,c,l,g,e,m=f.Ga,d=a.x,h=a.y,p=f.aa&&!f.aa.hf();c=0;for(l=b.length;c<l;++c)if(g=b[c],e=g.qu,m.Er(e,d,h)&&(t.Df(e),t.offset(d,
h),t.Xm(f.pb)))if(p)if(f.aa.We(f.width,f.height,f.j),g.Yk){if(g.Yk.gg(f.aa,f.x-(d+e.left),f.y-(h+e.top)))return!0}else{if(this.Qc.Cf(t,0,0,e.right-e.left,e.bottom-e.top),this.Qc.gg(f.aa,f.x,f.y))return!0}else if(g.Yk){if(this.Qc.Cf(f.pb,0,0,f.width,f.height),g.Yk.gg(this.Qc,-(d+e.left),-(h+e.top)))return!0}else return!0;return!1};d.prototype.Ho=function(a,f){if(!f)return!1;var b,c,l,g,e;b=0;for(c=a.Ma.length;b<c;b++)if(a.Ma[b].Bb instanceof f)return!0;if(!a.H)for(b=0,c=a.ra.length;b<c;b++)for(e=a.ra[b],
l=0,g=e.Ma.length;l<g;l++)if(e.Ma[l].Bb instanceof f)return!0;return!1};d.prototype.Io=function(a){return this.Ho(a,Ub.Ct)};d.prototype.Fl=function(a){return this.Ho(a,Ub.Dt)};var u=[],m=-1;d.prototype.trigger=function(a,f,b){if(!this.Y)return!1;var c=this.Y.Fh;if(!c)return!1;m++;m===u.length?u.push(new ba):u[m].clear();a=this.Eo(a,f,c,b);m--;return a};d.prototype.Eo=function(a,f,b,c){var l=u[m];if(l.contains(b))return!1;l.add(b);var l=b.Sm.Gd(),g=!1,e,d,h;e=0;for(d=l.length;e<d;e++)l[e].Fr()&&(h=
this.Eo(a,f,l[e].eg,c),g=g||h);if(f)for(h=this.Dl(a,f,f.type.name,b,c),g=g||h,e=0,d=f.type.ra.length;e<d;e++)h=this.Dl(a,f,f.type.ra[e].name,b,c),g=g||h;else h=this.Dl(a,f,"system",b,c),g=g||h;return g};d.prototype.Dl=function(a,f,b,c,l){var g,e=!1,m=!1,m="undefined"!==typeof l,d=(m?c.Dm:c.Fo)[b];if(!d)return e;var h=null;c=0;for(g=d.length;c<g;c++)if(d[c].method==a){h=d[c].Hh;break}if(!h)return e;a=m?h[l]:h;if(!a)return null;c=0;for(g=a.length;c<g;c++)l=a[c][0],m=a[c][1],m=this.Kq(f,b,l,m),e=e||
m;return e};d.prototype.Kq=function(a,f,b,c){var l,g,e=!1;this.El++;var d=this.Nb().vc;d&&this.Sg(d.fe);var h=1<this.El;this.Sg(b.fe);h&&this.os();var p=this.bl(b);p.vc=b;a&&(l=this.types[f].ta(),l.za=!1,l.e.length=1,l.e[0]=a,this.types[f].Md());a=!0;if(b.parent){f=p.xo;for(l=b.parent;l;)f.push(l),l=l.parent;f.reverse();l=0;for(g=f.length;l<g;l++)if(!f[l].vs()){a=!1;break}}a&&(this.Ih++,b.Mc?b.us(c):b.Wa(),e=e||p.Ie);this.Yn();h&&this.js();this.yf(b.fe);d&&this.yf(d.fe);0!==this.ud||0!==m||this.ok||
this.Uc.Ud()&&!this.Xb.length||this.jb();this.El--;return e};d.prototype.Sj=function(){var a=this.Nb();return a.vc.Ia[a.Hb]};d.prototype.os=function(){this.pi++;this.pi>=this.Ek.length&&this.Ek.push([])};d.prototype.js=function(){this.pi--};d.prototype.Im=function(){return this.Ek[this.pi]};d.prototype.bl=function(a){this.Gh++;this.Gh>=this.Gj.length&&this.Gj.push(new Gb);var f=this.Nb();f.reset(a);return f};d.prototype.Yn=function(){this.Gh--};d.prototype.Nb=function(){return this.Gj[this.Gh]};d.prototype.Jm=
function(a,f){for(var b,c,l,g,e,m;f;){b=0;for(c=f.Fc.length;b<c;b++)if(m=f.Fc[b],m instanceof Hb&&bb(a,m.name))return m;f=f.parent}b=0;for(c=this.ye.length;b<c;b++)for(e=this.ye[b],l=0,g=e.Rd.length;l<g;l++)if(m=e.Rd[l],m instanceof Hb&&bb(a,m.name))return m;return null};d.prototype.Lm=function(a){var f,b;f=0;for(b=this.Lc.length;f<b;f++)if(this.Lc[f].T===a)return this.Lc[f];return null};d.prototype.Sh=function(a){var f,b;f=0;for(b=this.q.length;f<b;f++)if(this.q[f].T===a)return this.q[f];return null};
d.prototype.Vq=function(a){var f,b;f=0;for(b=this.Ve.length;f<b;f++)if(this.Ve[f].T===a)return this.Ve[f];return null};d.prototype.ur=function(){var a=this,f=this.nl,b=this.wd,g=this.li,l=!1;this.uo&&(l=!0,f="__c2_continuouspreview",this.uo=!1);if(f.length){this.jb();b=this.zs();if(window.indexedDB&&!this.Ac)e(f,b,function(){H("Saved state to IndexedDB storage ("+b.length+" bytes)");a.wd=b;a.trigger(T.prototype.d.hj,null);a.wd="";l&&c()},function(g){try{localStorage.setItem("__c2save_"+f,b),H("Saved state to WebStorage ("+
b.length+" bytes)"),a.wd=b,a.trigger(T.prototype.d.hj,null),a.wd="",l&&c()}catch(e){H("Failed to save game state: "+g+"; "+e)}});else try{localStorage.setItem("__c2save_"+f,b),H("Saved state to WebStorage ("+b.length+" bytes)"),a.wd=b,this.trigger(T.prototype.d.hj,null),a.wd="",l&&c()}catch(m){H("Error saving to WebStorage: "+m)}this.tb=this.li=this.nl=""}g.length&&(window.indexedDB&&!this.Ac?h(g,function(b){b?(a.tb=b,H("Loaded state from IndexedDB storage ("+a.tb.length+" bytes)")):(a.tb=localStorage.getItem("__c2save_"+
g)||"",H("Loaded state from WebStorage ("+a.tb.length+" bytes)"));a.Zg=!1;a.tb.length||a.trigger(T.prototype.d.gj,null)},function(){a.tb=localStorage.getItem("__c2save_"+g)||"";H("Loaded state from WebStorage ("+a.tb.length+" bytes)");a.Zg=!1;a.tb.length||a.trigger(T.prototype.d.gj,null)}):(this.tb=localStorage.getItem("__c2save_"+g)||"",H("Loaded state from WebStorage ("+this.tb.length+" bytes)"),this.Zg=!1,a.tb.length||a.trigger(T.prototype.d.gj,null)),this.nl=this.li="");this.tb.length&&(this.jb(),
this.Pr(this.tb),this.wd=this.tb,this.trigger(T.prototype.d.mp,null),this.tb=this.wd="")};d.prototype.zs=function(){var b,f,c,g,l,e,m,d={c2save:!0,version:1,rt:{time:this.Kc.Ya,timescale:this.Kf,tickcount:this.Dd,execcount:this.Ih,next_uid:this.Eg,running_layout:this.Y.T,start_time_offset:Date.now()-this.Qi},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};b=0;for(f=this.q.length;b<f;b++)if(l=this.q[b],!l.H&&!this.Io(l)){e={instances:[]};Ra(l.Ea)&&(e.ex=a(l.Ea));c=0;for(g=l.e.length;c<
g;c++)e.instances.push(this.ml(l.e[c]));d.types[l.T.toString()]=e}b=0;for(f=this.Lc.length;b<f;b++)c=this.Lc[b],d.layouts[c.T.toString()]=c.mb();g=d.events.groups;b=0;for(f=this.Ve.length;b<f;b++)c=this.Ve[b],g[c.T.toString()]=!!this.hh[c.cg];f=d.events.cnds;for(m in this.Xe)this.Xe.hasOwnProperty(m)&&(b=this.Xe[m],Ra(b.Ea)&&(f[m]={ex:a(b.Ea)}));f=d.events.acts;for(m in this.Ue)this.Ue.hasOwnProperty(m)&&(b=this.Ue[m],Ra(b.Ea)&&(f[m]={ex:b.Ea}));f=d.events.vars;for(m in this.Nf)this.Nf.hasOwnProperty(m)&&
(b=this.Nf[m],b.Zh||b.parent&&!b.mg||(f[m]=b.data));d.system=this.gd.mb();return JSON.stringify(d)};d.prototype.eo=function(){var a,b,c,g,l,e;this.Ne={};a=0;for(b=this.q.length;a<b;a++)if(c=this.q[a],!c.H)for(g=0,l=c.e.length;g<l;g++)e=c.e[g],this.Ne[e.uid.toString()]=e};d.prototype.Pr=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.Kc.reset();this.Kc.Ya=b.time;this.Kf=b.timescale;this.Dd=b.tickcount;this.Ih=b.execcount;this.Qi=Date.now()-b.start_time_offset;var c=b.running_layout;
if(c!==this.Y.T)if(c=this.Lm(c))this.xm(c);else return;var g,l,e,m,d,h,p;h=a.types;for(l in h)if(h.hasOwnProperty(l)&&(m=this.Sh(parseInt(l,10)))&&!m.H&&!this.Io(m)){h[l].ex?m.Ea=h[l].ex:Sa(m.Ea);d=m.e;e=h[l].instances;c=0;for(g=ha(d.length,e.length);c<g;c++)this.mi(d[c],e[c]);c=e.length;for(g=d.length;c<g;c++)this.Id(d[c]);c=d.length;for(g=e.length;c<g;c++){d=null;if(m.ua.Xd&&(d=this.Y.Qh(e[c].w.l),!d))continue;d=this.te(m.Vc,d,!1,0,0,!0);this.mi(d,e[c])}m.Gf=!0}this.jb();this.eo();g=a.layouts;for(l in g)g.hasOwnProperty(l)&&
(c=this.Lm(parseInt(l,10)))&&c.Qb(g[l]);g=a.events.groups;for(l in g)g.hasOwnProperty(l)&&(c=this.Vq(parseInt(l,10)))&&(this.hh[c.cg]=g[l]);c=a.events.cnds;for(l in c)c.hasOwnProperty(l)&&this.Xe.hasOwnProperty(l)&&(this.Xe[l].Ea=c[l].ex);c=a.events.acts;for(l in c)c.hasOwnProperty(l)&&this.Ue.hasOwnProperty(l)&&(this.Ue[l].Ea=c[l].ex);c=a.events.vars;for(l in c)c.hasOwnProperty(l)&&this.Nf.hasOwnProperty(l)&&(this.Nf[l].data=c[l]);this.Eg=b.next_uid;this.gd.Qb(a.system);c=0;for(g=this.q.length;c<
g;c++)if(m=this.q[c],!m.H)for(l=0,a=m.e.length;l<a;l++){d=m.e[l];if(m.Ic)for(h=d.bg(),b=d.siblings.length=0,e=m.Ib.length;b<e;b++)p=m.Ib[b],m!==p&&d.siblings.push(p.e[h]);d.Kd&&d.Kd();if(d.K)for(b=0,e=d.K.length;b<e;b++)h=d.K[b],h.Kd&&h.Kd()}this.ca=!0}};d.prototype.ml=function(b,c){var g,e,l,m,d;m=b.type;l=m.ua;var h={};c?h.c2=!0:h.uid=b.uid;Ra(b.Ea)&&(h.ex=a(b.Ea));if(b.Sa&&b.Sa.length)for(h.ivs={},g=0,e=b.Sa.length;g<e;g++)h.ivs[b.type.jk[g].toString()]=b.Sa[g];if(l.Xd){l={x:b.x,y:b.y,w:b.width,
h:b.height,l:b.i.T,zi:b.Ob()};0!==b.j&&(l.a=b.j);1!==b.opacity&&(l.o=b.opacity);0.5!==b.Zb&&(l.hX=b.Zb);0.5!==b.$b&&(l.hY=b.$b);0!==b.Cb&&(l.bm=b.Cb);b.visible||(l.v=b.visible);b.re||(l.ce=b.re);-1!==b.Dg&&(l.mts=b.Dg);if(m.L.length)for(l.fx=[],g=0,e=m.L.length;g<e;g++)d=m.L[g],l.fx.push({name:d.name,active:b.Jd[d.index],params:b.Da[d.index]});h.w=l}if(b.K&&b.K.length)for(h.behs={},g=0,e=b.K.length;g<e;g++)m=b.K[g],m.mb&&(h.behs[m.type.T.toString()]=m.mb());b.mb&&(h.data=b.mb());return h};d.prototype.Xq=
function(a,b){var c,g;c=0;for(g=a.jk.length;c<g;c++)if(a.jk[c]===b)return c;return-1};d.prototype.Sq=function(a,b){var c,g;c=0;for(g=a.K.length;c<g;c++)if(a.K[c].type.T===b)return c;return-1};d.prototype.mi=function(a,b,c){var g,l,e,m,d;d=a.type;e=d.ua;if(c){if(!b.c2)return}else a.uid=b.uid;b.ex?a.Ea=b.ex:Sa(a.Ea);if(l=b.ivs)for(g in l)l.hasOwnProperty(g)&&(c=this.Xq(d,parseInt(g,10)),0>c||c>=a.Sa.length||(a.Sa[c]=l[g]));if(e.Xd){e=b.w;a.i.T!==e.l&&(c=a.i,a.i=this.Y.Qh(e.l),a.i?(a.i.e.push(a),a.i.jc=
!0,xa(c.e,a),c.jc=!0):(a.i=c,this.Id(a)));a.x=e.x;a.y=e.y;a.width=e.w;a.height=e.h;a.Te=e.zi;a.j=e.hasOwnProperty("a")?e.a:0;a.opacity=e.hasOwnProperty("o")?e.o:1;a.Zb=e.hasOwnProperty("hX")?e.hX:0.5;a.$b=e.hasOwnProperty("hY")?e.hY:0.5;a.visible=e.hasOwnProperty("v")?e.v:!0;a.re=e.hasOwnProperty("ce")?e.ce:!0;a.Dg=e.hasOwnProperty("mts")?e.mts:-1;a.Cb=e.hasOwnProperty("bm")?e.bm:0;a.Pd=Ya(a.Cb);this.m&&Za(a,a.Cb,this.m);a.Fa();if(e.hasOwnProperty("fx"))for(c=0,l=e.fx.length;c<l;c++)m=d.Vj(e.fx[c].name),
0>m||(a.Jd[m]=e.fx[c].active,a.Da[m]=e.fx[c].params);a.Fd()}if(d=b.behs)for(g in d)d.hasOwnProperty(g)&&(e=this.Sq(a,parseInt(g,10)),0>e||a.K[e].Qb(d[g]));b.data&&a.Qb(b.data)};Ib=function(a){return new d(document.getElementById(a))};Jb=function(a,b){return new d({dc:!0,width:a,height:b})};window.cr_createRuntime=Ib;window.cr_createDCRuntime=Jb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.su=!0;document.body.appendChild(a);
a=new d(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var d=document.getElementById("c2canvas");return d?d.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(d,k){if(0!==d&&0!==k){var e=window.cr_getC2Runtime();e&&e.setSize(d,k)}};
window.cr_setSuspended=function(d){var k=window.cr_getC2Runtime();k&&k.setSuspended(d)};
(function(){function d(c,a){this.b=c;this.Fh=null;this.scrollX=this.b.bb/2;this.scrollY=this.b.ab/2;this.scale=1;this.j=0;this.Zf=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.Jo=a[3];this.ro=a[4];this.T=a[5];var b=a[6],g,e;this.V=[];this.fg=[];g=0;for(e=b.length;g<e;g++){var d=new Kb(this,b[g]);d.Hn=g;this.V.push(d)}b=a[7];this.Ee=[];g=0;for(e=b.length;g<e;g++){var d=b[g],h=this.b.q[d[1]];h.Vc||(h.Vc=d);this.Ee.push(d);-1===this.fg.indexOf(h)&&this.fg.push(h)}this.L=[];this.Z=[];this.Da=
[];g=0;for(e=a[8].length;g<e;g++)this.L.push({id:a[8][g][0],name:a[8][g][1],hb:-1,Ab:!0,index:g}),this.Da.push(a[8][g][2].slice(0));this.Fd();this.zf=new oa(0,0,1,1);this.el=new oa(0,0,1,1);this.ae={}}function k(c,a){this.pa=c;this.b=c.b;this.e=[];this.scale=1;this.j=0;this.ue=!1;this.Ed=new oa(0,0,0,0);this.Co=new ra;this.wb=this.zb=this.yb=this.xb=0;this.jc=!1;this.name=a[0];this.index=a[1];this.T=a[2];this.visible=a[3];this.Od=a[4];this.Re=a[5];this.Rb=a[6];this.Sb=a[7];this.opacity=a[8];this.Kj=
a[9];this.ob=a[10];this.Cb=a[11];this.kq=a[12];this.Pd="source-over";this.kb=this.nb=0;this.de=!1;var b=a[13],g,e;this.df=[];g=0;for(e=b.length;g<e;g++){var d=b[g],h=this.b.q[d[1]];h.Vc||(h.Vc=d);this.df.push(d);-1===this.pa.fg.indexOf(h)&&this.pa.fg.push(h)}this.L=[];this.Z=[];this.Da=[];g=0;for(e=a[14].length;g<e;g++)this.L.push({id:a[14][g][0],name:a[14][g][1],hb:-1,Ab:!0,index:g}),this.Da.push(a[14][g][2].slice(0));this.Fd();this.zf=new oa(0,0,1,1);this.el=new oa(0,0,1,1)}function e(c,a){return c.Te-
a.Te}d.prototype.ys=function(c){var a=c.type.T.toString();this.ae.hasOwnProperty(a)||(this.ae[a]=[]);this.ae[a].push(this.b.ml(c))};d.prototype.Qm=function(){var c=this.V[0];return!c.Re&&1===c.opacity&&!c.Kj&&c.visible};d.prototype.Fd=function(){this.Z.length=0;var c,a,b;c=0;for(a=this.L.length;c<a;c++)b=this.L[c],b.Ab&&this.Z.push(b)};d.prototype.Uj=function(c){var a,b,g;a=0;for(b=this.L.length;a<b;a++)if(g=this.L[a],g.name===c)return g;return null};var h=[];d.prototype.tl=function(){this.ro&&(this.Fh=
this.b.Hj[this.ro]);this.b.Y=this;this.scrollX=this.b.bb/2;this.scrollY=this.b.ab/2;var c,a,b,g,d,k,u;c=0;for(b=this.b.q.length;c<b;c++)if(a=this.b.q[c],!a.H)for(d=a.e,a=0,g=d.length;a<g;a++)if(k=d[a],k.i){var m=k.i.Hn;m>=this.V.length&&(m=this.V.length-1);k.i=this.V[m];k.i.e.push(k);k.i.jc=!0}h.length=0;this.Mp();c=0;for(b=this.V.length;c<b;c++)k=this.V[c],k.Up(),k.ue=!0,a=k.Ha(0,0,!0,!0),g=k.Ha(0,0,!1,!0),k.ue=!1,this.b.bd&&(a=a+0.5|0,g=g+0.5|0),k.hl(a,g,null);d=!1;if(!this.Zf){for(u in this.ae)if(this.ae.hasOwnProperty(u)&&
(a=this.b.Sh(parseInt(u,10)))&&!a.H&&this.b.Fl(a)){g=this.ae[u];c=0;for(b=g.length;c<b;c++){k=null;if(a.ua.Xd&&(k=this.Qh(g[c].w.l),!k))continue;k=this.b.te(a.Vc,k,!1,0,0,!0);this.b.mi(k,g[c]);d=!0;h.push(k)}g.length=0}c=0;for(b=this.V.length;c<b;c++)this.V[c].e.sort(e),this.V[c].jc=!0}d&&(this.b.jb(),this.b.eo());for(c=0;c<h.length;c++)if(k=h[c],k.type.Ic)for(b=k.bg(),a=0,g=k.type.Ib.length;a<g;a++)u=k.type.Ib[a],k.type!==u&&(u.e.length>b?k.siblings.push(u.e[b]):u.Vc&&(d=this.b.te(u.Vc,k.i,!0,k.x,
k.y,!0),this.b.jb(),u.Zi(),k.siblings.push(d),h.push(d)));c=0;for(b=this.Ee.length;c<b;c++)this.b.te(this.Ee[c],null,!0);this.b.vj=null;this.b.jb();if(this.b.la&&!this.b.qa)for(c=0,b=this.b.q.length;c<b;c++)u=this.b.q[c],!u.H&&u.e.length&&u.Zk&&u.Zk(this.b.la);c=0;for(b=h.length;c<b;c++)k=h[c],this.b.trigger(Object.getPrototypeOf(k.type.ua).d.$o,k);h.length=0;this.b.trigger(T.prototype.d.lp,null);this.Zf=!1};d.prototype.Tp=function(){var c,a,b,g,e;a=c=0;for(b=this.Ee.length;c<b;c++)g=this.Ee[c],e=
this.b.q[g[1]],e.global?this.b.te(g,null,!0):(this.Ee[a]=g,a++);this.Ee.length=a};d.prototype.Fs=function(){this.b.trigger(T.prototype.d.kp,null);this.b.gd.ic.length=0;var c,a,b,g,e,d;c=0;for(a=this.V.length;c<a;c++){e=this.V[c].e;b=0;for(g=e.length;b<g;b++)d=e[b],d.type.global||(this.b.Fl(d.type)&&this.ys(d),this.b.Id(d));this.b.jb();e.length=0;this.V[c].jc=!0}c=0;for(a=this.b.q.length;c<a;c++)if(e=this.b.q[c],!(e.global||e.ua.Xd||e.ua.rl||e.H)){b=0;for(g=e.e.length;b<g;b++)this.b.Id(e.e[b]);this.b.jb()}};
d.prototype.lc=function(c){var a,b=c,g=!1,e=!this.b.xc;e&&(this.b.ki||(this.b.ki=document.createElement("canvas"),a=this.b.ki,a.width=this.b.R,a.height=this.b.P,this.b.un=a.getContext("2d"),g=!0),a=this.b.ki,b=this.b.un,a.width!==this.b.R&&(a.width=this.b.R,g=!0),a.height!==this.b.P&&(a.height=this.b.P,g=!0),g&&(b.webkitImageSmoothingEnabled=this.b.$,b.mozImageSmoothingEnabled=this.b.$,b.msImageSmoothingEnabled=this.b.$,b.imageSmoothingEnabled=this.b.$));b.globalAlpha=1;b.globalCompositeOperation=
"source-over";this.b.mj&&!this.Qm()&&b.clearRect(0,0,this.b.R,this.b.P);var d,h,g=0;for(d=this.V.length;g<d;g++)h=this.V[g],h.visible&&0<h.opacity&&11!==h.Cb&&h.lc(b);e&&c.drawImage(a,0,0,this.b.width,this.b.height)};d.prototype.Kb=function(c){var a=0<this.Z.length||this.b.Mf||!this.b.xc;if(a){this.b.ac||(this.b.ac=c.nd(this.b.R,this.b.P,this.b.$));if(this.b.ac.Tf!==this.b.R||this.b.ac.Sf!==this.b.P)c.deleteTexture(this.b.ac),this.b.ac=c.nd(this.b.R,this.b.P,this.b.$);c.ed(this.b.ac);this.b.xc||c.Bf(this.b.R,
this.b.P)}else this.b.ac&&(c.ed(null),c.deleteTexture(this.b.ac),this.b.ac=null);this.b.mj&&!this.Qm()&&c.clear(0,0,0,0);var b,g;b=0;for(g=this.V.length;b<g;b++)this.V[b].visible&&0<this.V[b].opacity&&this.V[b].Kb(c);a&&(0===this.Z.length||1===this.Z.length&&this.b.xc?(1===this.Z.length?(a=this.Z[0].index,c.fd(this.Z[0].hb),c.Af(null,1/this.b.R,1/this.b.P,0,0,1,1,this.scale,this.Da[a]),c.Gi(this.Z[0].hb)&&(this.b.ca=!0)):c.fd(0),this.b.xc||c.Bf(this.b.width,this.b.height),c.ed(null),c.Qe(1),c.gc(this.b.ac),
c.mo(),c.cd(),c.hd(),a=this.b.width/2,b=this.b.height/2,c.Tg(-a,b,a,b,a,-b,-a,-b),c.gc(null)):this.fl(c,null,null,null))};d.prototype.ag=function(){return 0<this.Z.length||this.b.Mf||!this.b.xc?this.b.ac:null};d.prototype.Mm=function(){var c=this.V[0].rb(),a,b,g;a=1;for(b=this.V.length;a<b;a++)g=this.V[a],(0!==g.Rb||0!==g.Sb)&&g.rb()<c&&(c=g.rb());return c};d.prototype.ko=function(c){if(!this.Jo){var a=this.b.R*(1/this.Mm())/2;c>this.width-a&&(c=this.width-a);c<a&&(c=a)}this.scrollX!==c&&(this.scrollX=
c,this.b.ca=!0)};d.prototype.lo=function(c){if(!this.Jo){var a=this.b.P*(1/this.Mm())/2;c>this.height-a&&(c=this.height-a);c<a&&(c=a)}this.scrollY!==c&&(this.scrollY=c,this.b.ca=!0)};d.prototype.Mp=function(){this.ko(this.scrollX);this.lo(this.scrollY)};d.prototype.fl=function(c,a,b,g){var e=b?b.Z:a?a.Z:this.Z,d=b?b.i.rb():a?a.rb():1,h=this.b.Nj,m,n,f,k,q=0,l=1,A,v=this.b.R,K=this.b.P,F=v/2,P=K/2,O=a?a.zf:this.zf,I=a?a.el:this.el,w=0,r=0,z=0,M=0,C=v,E=v,L=K,U=K,N=f=0,B=b?b.i.Mb():0;if(b){m=0;for(n=
e.length;m<n;m++)f+=c.$q(e[m].hb),N+=c.br(e[m].hb);k=b.Ga;w=a.na(k.left,k.top,!0,!0);z=a.na(k.left,k.top,!1,!0);C=a.na(k.right,k.bottom,!0,!0);L=a.na(k.right,k.bottom,!1,!0);0!==B&&(m=a.na(k.right,k.top,!0,!0),n=a.na(k.right,k.top,!1,!0),r=a.na(k.left,k.bottom,!0,!0),M=a.na(k.left,k.bottom,!1,!0),k=Math.min(w,C,m,r),C=Math.max(w,C,m,r),w=k,k=Math.min(z,L,n,M),L=Math.max(z,L,n,M),z=k);w-=f;z-=N;C+=f;L+=N;I.left=w/v;I.top=1-z/K;I.right=C/v;I.bottom=1-L/K;r=w=la(w);M=z=la(z);E=C=ma(C);U=L=ma(L);r-=f;
M-=N;E+=f;U+=N;0>w&&(w=0);0>z&&(z=0);C>v&&(C=v);L>K&&(L=K);0>r&&(r=0);0>M&&(M=0);E>v&&(E=v);U>K&&(U=K);O.left=w/v;O.top=1-z/K;O.right=C/v;O.bottom=1-L/K}else O.left=I.left=0,O.top=I.top=0,O.right=I.right=1,O.bottom=I.bottom=1;N=b&&((b.j||B)&&c.Qg(e[0].hb)||0!==f||0!==N||1!==b.opacity||b.type.ua.Cn)||a&&!b&&1!==a.opacity;c.mo();if(N){h[q]||(h[q]=c.nd(v,K,this.b.$));if(h[q].Tf!==v||h[q].Sf!==K)c.deleteTexture(h[q]),h[q]=c.nd(v,K,this.b.$);c.fd(0);c.ed(h[q]);A=U-M;c.clearRect(r,K-M-A,E-r,A);b?b.Kb(c):
(c.gc(this.b.nc),c.Qe(a.opacity),c.cd(),c.translate(-F,-P),c.hd(),c.be(w,L,C,L,C,z,w,z,O));I.left=I.top=0;I.right=I.bottom=1;b&&(k=O.top,O.top=O.bottom,O.bottom=k);q=1;l=0}c.Qe(1);f=e.length-1;var B=c.$k(e[f].hb)||!a&&!b&&!this.b.xc,ja=0;m=0;for(n=e.length;m<n;m++){h[q]||(h[q]=c.nd(v,K,this.b.$));if(h[q].Tf!==v||h[q].Sf!==K)c.deleteTexture(h[q]),h[q]=c.nd(v,K,this.b.$);c.fd(e[m].hb);ja=e[m].index;c.Gi(e[m].hb)&&(this.b.ca=!0);0!=m||N?(c.Af(g,1/v,1/K,I.left,I.top,I.right,I.bottom,d,b?b.Da[ja]:a?a.Da[ja]:
this.Da[ja]),c.gc(null),m!==f||B?(c.ed(h[q]),A=U-M,k=K-M-A,c.clearRect(r,k,E-r,A)):(b?c.ee(b.nb,b.kb):a&&c.ee(a.nb,a.kb),c.ed(g)),c.gc(h[l]),c.cd(),c.translate(-F,-P),c.hd(),c.be(w,L,C,L,C,z,w,z,O),m!==f||B||c.gc(null)):(c.ed(h[q]),A=U-M,k=K-M-A,c.clearRect(r,k,E-r,A),b?(c.Af(g,1/b.width,1/b.height,I.left,I.top,I.right,I.bottom,d,b.Da[ja]),b.Kb(c)):(c.Af(g,1/v,1/K,0,0,1,1,d,a?a.Da[ja]:this.Da[ja]),c.gc(a?this.b.nc:this.b.ac),c.cd(),c.translate(-F,-P),c.hd(),c.be(w,L,C,L,C,z,w,z,O)),I.left=I.top=0,
I.right=I.bottom=1,b&&!B&&(k=L,L=z,z=k));q=0===q?1:0;l=0===q?1:0}B&&(c.fd(0),b?c.ee(b.nb,b.kb):a?c.ee(a.nb,a.kb):this.b.xc||(c.Bf(this.b.width,this.b.height),F=this.b.width/2,P=this.b.height/2,z=w=0,C=this.b.width,L=this.b.height),c.ed(g),c.gc(h[l]),c.cd(),c.translate(-F,-P),c.hd(),b&&1===e.length&&!N?c.be(w,z,C,z,C,L,w,L,O):c.be(w,L,C,L,C,z,w,z,O),c.gc(null))};d.prototype.Qh=function(c){var a,b;a=0;for(b=this.V.length;a<b;a++)if(this.V[a].T===c)return this.V[a];return null};d.prototype.mb=function(){var c,
a,b,g={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.j,w:this.width,h:this.height,fv:this.Zf,persist:this.ae,fx:[],layers:{}};c=0;for(a=this.L.length;c<a;c++)b=this.L[c],g.fx.push({name:b.name,active:b.Ab,params:this.Da[b.index]});c=0;for(a=this.V.length;c<a;c++)b=this.V[c],g.layers[b.T.toString()]=b.mb();return g};d.prototype.Qb=function(c){var a,b,g,e;this.scrollX=c.sx;this.scrollY=c.sy;this.scale=c.s;this.j=c.a;this.width=c.w;this.height=c.h;this.ae=c.persist;"undefined"!==typeof c.fv&&(this.Zf=
c.fv);var d=c.fx;a=0;for(b=d.length;a<b;a++)if(g=this.Uj(d[a].name))g.Ab=d[a].active,this.Da[g.index]=d[a].params;this.Fd();a=c.layers;for(e in a)a.hasOwnProperty(e)&&(c=this.Qh(parseInt(e,10)))&&c.Qb(a[e])};yb=d;k.prototype.Fd=function(){this.Z.length=0;var c,a,b;c=0;for(a=this.L.length;c<a;c++)b=this.L[c],b.Ab&&this.Z.push(b)};k.prototype.Uj=function(c){var a,b,e;a=0;for(b=this.L.length;a<b;a++)if(e=this.L[a],e.name===c)return e;return null};k.prototype.Up=function(){var c,a,b,e,d,k;a=c=0;for(b=
this.df.length;c<b;c++){e=this.df[c];d=this.b.q[e[1]];k=this.b.Fl(d);d=!0;if(!k||this.pa.Zf)e=this.b.te(e,this,!0),h.push(e),e.type.global&&(d=!1);d&&(this.df[a]=this.df[c],a++)}this.df.length=a;this.b.jb();!this.b.u&&this.L.length&&(this.Cb=this.kq);this.Pd=Ya(this.Cb);this.b.m&&Za(this,this.Cb,this.b.m)};k.prototype.Ns=function(){if(this.jc){var c,a;c=0;for(a=this.e.length;c<a;c++)this.e[c].Te=c;this.jc=!1}};k.prototype.rb=function(c){return this.Yq()*(this.b.xc||c?this.b.Rf:1)};k.prototype.Yq=
function(){return(this.scale*this.pa.scale-1)*this.ob+1};k.prototype.Mb=function(){return this.ue?0:Aa(this.pa.j+this.j)};k.prototype.lc=function(c){this.de=this.Kj||1!==this.opacity||0!==this.Cb;var a=this.b.canvas,b=c,e=!1;c.globalAlpha=1;c.globalCompositeOperation="source-over";this.de&&(this.b.ji||(this.b.ji=document.createElement("canvas"),a=this.b.ji,a.width=this.b.R,a.height=this.b.P,this.b.tn=a.getContext("2d"),e=!0),a=this.b.ji,b=this.b.tn,a.width!==this.b.R&&(a.width=this.b.R,e=!0),a.height!==
this.b.P&&(a.height=this.b.P,e=!0),e&&(b.webkitImageSmoothingEnabled=this.b.$,b.mozImageSmoothingEnabled=this.b.$,b.msImageSmoothingEnabled=this.b.$,b.imageSmoothingEnabled=this.b.$),this.Re&&b.clearRect(0,0,this.b.R,this.b.P));this.Re||(b.fillStyle="rgb("+this.Od[0]+","+this.Od[1]+","+this.Od[2]+")",b.fillRect(0,0,this.b.R,this.b.P));b.save();this.ue=!0;var e=this.Ha(0,0,!0,!0),d=this.Ha(0,0,!1,!0);this.ue=!1;this.b.bd&&(e=e+0.5|0,d=d+0.5|0);this.hl(e,d,b);var h=this.rb();b.scale(h,h);b.translate(-e,
-d);for(var k,e=0,d=this.e.length;e<d;e++)h=this.e[e],h.visible&&0!==h.width&&0!==h.height&&(h.Ba(),k=h.Ga,k.right<this.xb||k.bottom<this.zb||k.left>this.yb||k.top>this.wb||(b.globalCompositeOperation=h.Pd,h.lc(b)));b.restore();this.de&&(c.globalCompositeOperation=this.Pd,c.globalAlpha=this.opacity,c.drawImage(a,0,0))};k.prototype.hl=function(c,a,b){var e=this.rb();this.xb=c;this.zb=a;this.yb=c+this.b.R*(1/e);this.wb=a+this.b.P*(1/e);c=this.Mb();0!==c&&(b&&(b.translate(this.b.R/2,this.b.P/2),b.rotate(-c),
b.translate(this.b.R/-2,this.b.P/-2)),this.Ed.set(this.xb,this.zb,this.yb,this.wb),this.Ed.offset((this.xb+this.yb)/-2,(this.zb+this.wb)/-2),this.Co.qo(this.Ed,c),this.Co.mm(this.Ed),this.Ed.offset((this.xb+this.yb)/2,(this.zb+this.wb)/2),this.xb=this.Ed.left,this.zb=this.Ed.top,this.yb=this.Ed.right,this.wb=this.Ed.bottom)};k.prototype.Kb=function(c){var a=this.b.R,b=this.b.P,e=0,d=0;if(this.de=this.Kj||1!==this.opacity||0<this.Z.length||0!==this.Cb){this.b.nc||(this.b.nc=c.nd(this.b.R,this.b.P,
this.b.$));if(this.b.nc.Tf!==this.b.R||this.b.nc.Sf!==this.b.P)c.deleteTexture(this.b.nc),this.b.nc=c.nd(this.b.R,this.b.P,this.b.$);c.ed(this.b.nc);this.Re&&c.clear(0,0,0,0)}this.Re||c.clear(this.Od[0]/255,this.Od[1]/255,this.Od[2]/255,1);this.ue=!0;var d=this.Ha(0,0,!0,!0),h=this.Ha(0,0,!1,!0);this.ue=!1;this.b.bd&&(d=d+0.5|0,h=h+0.5|0);this.hl(d,h,null);h=this.rb();c.cd();c.scale(h,h);c.il(-this.Mb());c.translate((this.xb+this.yb)/-2,(this.zb+this.wb)/-2);c.hd();var k,m,n;k=0;for(m=this.e.length;k<
m;k++)if(n=this.e[k],n.visible&&0!==n.width&&0!==n.height&&(n.Ba(),e=n.Ga,!(e.right<this.xb||e.bottom<this.zb||e.left>this.yb||e.top>this.wb)))if(n.Oo)if(e=n.Z[0].hb,d=n.Z[0].index,1!==n.Z.length||c.$k(e)||c.ns(e)||(n.j||n.i.Mb())&&c.Qg(e)||1!==n.opacity||n.type.ua.Cn)this.pa.fl(c,this,n,this.de?this.b.nc:this.pa.ag()),c.cd(),c.scale(h,h),c.il(-this.Mb()),c.translate((this.xb+this.yb)/-2,(this.zb+this.wb)/-2),c.hd();else{c.fd(e);c.ee(n.nb,n.kb);c.Gi(e)&&(this.b.ca=!0);var f=0,s=0,q=0,l=0;c.Qg(e)&&
(e=n.Ga,f=this.na(e.left,e.top,!0,!0),s=this.na(e.left,e.top,!1,!0),q=this.na(e.right,e.bottom,!0,!0),e=this.na(e.right,e.bottom,!1,!0),f/=a,s=1-s/b,q/=a,l=1-e/b);c.Af(this.de?this.b.nc:this.pa.ag(),1/n.width,1/n.height,f,s,q,l,this.rb(),n.Da[d]);n.Kb(c)}else c.fd(0),c.ee(n.nb,n.kb),n.Kb(c);this.de&&(e=this.Z.length?this.Z[0].hb:0,d=this.Z.length?this.Z[0].index:0,0===this.Z.length||1===this.Z.length&&!c.$k(e)&&1===this.opacity?(1===this.Z.length?(c.fd(e),c.Af(this.pa.ag(),1/this.b.R,1/this.b.P,0,
0,1,1,this.rb(),this.Da[d]),c.Gi(e)&&(this.b.ca=!0)):c.fd(0),c.ed(this.pa.ag()),c.Qe(this.opacity),c.gc(this.b.nc),c.ee(this.nb,this.kb),c.cd(),c.hd(),a=this.b.R/2,b=this.b.P/2,c.Tg(-a,b,a,b,a,-b,-a,-b),c.gc(null)):this.pa.fl(c,this,null,this.pa.ag()))};k.prototype.Ha=function(c,a,b,e){var d=this.b.devicePixelRatio;this.b.Ge&&(c*=d,a*=d);var d=this.b.Sn,h=this.b.Tn,d=(this.pa.scrollX-d)*this.Rb+d,h=(this.pa.scrollY-h)*this.Sb+h,k=1/this.rb(!e);e?(d-=this.b.R*k/2,h-=this.b.P*k/2):(d-=this.b.width*
k/2,h-=this.b.height*k/2);d+=c*k;h+=a*k;a=this.Mb();0!==a&&(d-=this.pa.scrollX,h-=this.pa.scrollY,c=Math.cos(a),a=Math.sin(a),e=d*c-h*a,h=h*c+d*a,d=e+this.pa.scrollX,h+=this.pa.scrollY);return b?d:h};k.prototype.na=function(c,a,b,e){var d=this.Mb();if(0!==d){c-=this.pa.scrollX;a-=this.pa.scrollY;var h=Math.cos(-d),d=Math.sin(-d),k=c*h-a*d;a=a*h+c*d;c=k+this.pa.scrollX;a+=this.pa.scrollY}h=this.b.Sn;d=this.b.Tn;h=(this.pa.scrollX-h)*this.Rb+h;d=(this.pa.scrollY-d)*this.Sb+d;k=1/this.rb(!e);e?(h-=this.b.R*
k/2,d-=this.b.P*k/2):(h-=this.b.width*k/2,d-=this.b.height*k/2);h=(c-h)/k;d=(a-d)/k;c=this.b.devicePixelRatio;this.b.Ge&&(h/=c,d/=c);return b?h:d};k.prototype.mb=function(){var c,a,b,e={s:this.scale,a:this.j,vl:this.xb,vt:this.zb,vr:this.yb,vb:this.wb,v:this.visible,bc:this.Od,t:this.Re,px:this.Rb,py:this.Sb,o:this.opacity,zr:this.ob,fx:[],instances:[]};c=0;for(a=this.L.length;c<a;c++)b=this.L[c],e.fx.push({name:b.name,active:b.Ab,params:this.Da[b.index]});return e};k.prototype.Qb=function(c){var a,
b;this.scale=c.s;this.j=c.a;this.xb=c.vl;this.zb=c.vt;this.yb=c.vr;this.wb=c.vb;this.visible=c.v;this.Od=c.bc;this.Re=c.t;this.Rb=c.px;this.Sb=c.py;this.opacity=c.o;this.ob=c.zr;var g=c.fx;c=0;for(a=g.length;c<a;c++)if(b=this.Uj(g[c].name))b.Ab=g[c].active,this.Da[b.index]=g[c].params;this.Fd();this.e.sort(e);this.jc=!0};Kb=k})();
(function(){function d(a,b){var c,e=a.length;switch(e){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<e;c++)if(a[c]!==b[c])return!1;return!0}}function k(a,b){return a.index-b.index}function e(a){var b,c,e,g;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(k);a.length>=f.length&&(f.length=a.length+1);f[a.length]||(f[a.length]=[]);g=f[a.length];b=0;for(c=g.length;b<c;b++)if(e=g[b],d(a,e))return e;g.push(a);return a}
function h(a,b){this.b=a;this.Fo={};this.Dm={};this.bk=!1;this.Sm=new ba;this.name=b[0];var c=b[1];this.Rd=[];var e,f;e=0;for(f=c.length;e<f;e++)this.Um(c[e],null,this.Rd)}function c(a){this.type=a;this.e=[];this.ba=[];this.za=!0}function a(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.La=[];this.fe=[];this.Rm=this.Wi=this.Cl=this.fk=this.group=this.vo=!1;this.Ia=[];this.Gc=[];this.Fc=[];c[1]?(this.cg=c[1][1].toLowerCase(),this.group=!0,this.fk=!!c[1][0],this.b.Ve.push(this),this.b.hh[this.cg.toLowerCase()]=
this.fk):(this.cg="",this.fk=this.group=!1);this.Mc=c[2];this.T=c[4];this.group||(this.b.lm[this.T.toString()]=this);var e=c[5];a=0;for(b=e.length;a<b;a++){var f=new Lb(this,e[a]);f.index=a;this.Ia.push(f);this.fm(f.type)}e=c[6];a=0;for(b=e.length;a<b;a++)f=new Mb(this,e[a]),f.index=a,this.Gc.push(f);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.Um(c[a],this,this.Fc);this.$h=!1;this.Ia.length&&(this.$h=null==this.Ia[0].type&&this.Ia[0].Oa==T.prototype.d.Qo)}function b(a,b){var c,e,
f;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Ic))for(c=0,e=a.Ib.length;c<e;c++)f=a.Ib[c],a!==f&&-1===b.indexOf(f)&&b.push(f)}function g(a,b){this.kc=a;this.sheet=a.sheet;this.b=a.b;this.D=[];this.O=[];this.Ea={};this.index=-1;this.Oa=b[1];this.trigger=0<b[3];this.Cm=2===b[3];this.xd=b[4];this.Td=b[5];this.Or=b[6];this.T=b[7];this.b.Xe[this.T.toString()]=this;-1===b[0]?(this.type=null,this.Wa=this.ll,this.pe=null,this.fb=-1):(this.type=this.b.q[b[0]],this.Wa=this.Or?this.ws:this.kl,b[2]?(this.pe=this.type.Ph(b[2]),
this.fb=this.type.Qj(b[2])):(this.pe=null,this.fb=-1),this.kc.parent&&this.kc.parent.Li());this.Cm&&(this.Wa=this.xs);if(10===b.length){var c,e,f=b[9];c=0;for(e=f.length;c<e;c++){var g=new Nb(this,f[c]);this.D.push(g)}this.O.length=f.length}}function p(a,b){this.kc=a;this.sheet=a.sheet;this.b=a.b;this.D=[];this.O=[];this.Ea={};this.index=-1;this.Oa=b[1];-1===b[0]?(this.type=null,this.Wa=this.ll,this.pe=null,this.fb=-1):(this.type=this.b.q[b[0]],this.Wa=this.kl,b[2]?(this.pe=this.type.Ph(b[2]),this.fb=
this.type.Qj(b[2])):(this.pe=null,this.fb=-1));this.T=b[3];this.b.Ue[this.T.toString()]=this;if(6===b.length){var c,e,f=b[5];c=0;for(e=f.length;c<e;c++){var g=new Nb(this,f[c]);this.D.push(g)}this.O.length=f.length}}function t(a,b){this.n=a;this.kc=a.kc;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Wc=null;this.qm=this.ge=0;this.pa=null;this.key=0;this.object=null;this.index=0;this.bj=this.Hf=this.Em=this.ze=this.dh=null;var c,e,f;switch(b[0]){case 0:case 7:this.Wc=new Ob(this,b[1]);this.ge=0;
this.get=this.ir;break;case 1:this.Wc=new Ob(this,b[1]);this.ge=0;this.get=this.jr;break;case 5:this.Wc=new Ob(this,b[1]);this.ge=0;this.get=this.nr;break;case 3:case 8:this.qm=b[1];this.get=this.fr;break;case 6:this.pa=this.b.xk[b[1]];this.get=this.or;break;case 9:this.key=b[1];this.get=this.mr;break;case 4:this.object=this.b.q[b[1]];this.get=this.pr;this.kc.fm(this.object);this.n instanceof Mb?this.kc.Li():this.kc.parent&&this.kc.parent.Li();break;case 10:this.index=b[1];this.get=a.type.H?this.kr:
this.lr;break;case 11:this.dh=b[1];this.ze=null;this.get=this.hr;break;case 2:case 12:this.Em=b[1];this.get=this.er;break;case 13:for(this.get=this.qr,this.Hf=[],this.bj=[],c=1,e=b.length;c<e;c++)f=new Nb(this.n,b[c]),this.Hf.push(f),this.bj.push(0)}}function u(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.La=[];this.name=c[1];this.ek=c[3];this.mg=!!c[4];this.Zh=!!c[5];this.T=c[6];this.b.Nf[this.T.toString()]=this;this.data=this.ek;this.parent?(this.Le=this.mg||this.Zh?-1:this.b.Es++,this.b.Ip.push(this)):
(this.Le=-1,this.b.Hp.push(this))}function m(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.La=[];this.eg=null;this.Ar=c[1]}function n(){this.xo=[];this.reset(null)}var f=[];h.prototype.toString=D("name");h.prototype.Um=function(a,b,c){switch(a[0]){case 0:a=new Pb(this,b,a);if(a.Mc)for(c.push(a),c=0,b=a.Ia.length;c<b;c++)a.Ia[c].trigger&&this.Vm(a,c);else a.cn()?this.Vm(a,0):c.push(a);break;case 1:a=new Hb(this,b,a);c.push(a);break;case 2:a=new Qb(this,b,a),c.push(a)}};h.prototype.Ka=function(){var a,
b;a=0;for(b=this.Rd.length;a<b;a++)this.Rd[a].Ka(a<b-1&&this.Rd[a+1].$h)};h.prototype.Wa=function(a){this.b.ru||(this.bk=!0,a||(this.b.ok=!0));var b,c;b=0;for(c=this.Rd.length;b<c;b++){var e=this.Rd[b];e.Wa();this.b.wj(e.La);this.b.Uc.Ud()&&!this.b.Xb.length||this.b.jb()}a||(this.b.ok=!1)};h.prototype.Vm=function(a,b){a.Mc||this.b.Yi.push(a);var c,e,f=a.Ia[b],g;g=f.type?f.type.name:"system";var d=(c=f.Cm)?this.Dm:this.Fo;d[g]||(d[g]=[]);g=d[g];d=f.Oa;if(c){if(f.D.length&&(f=f.D[0],1===f.type&&2===
f.Wc.type)){f=f.Wc.value.toLowerCase();c=0;for(e=g.length;c<e;c++)if(g[c].method==d){c=g[c].Hh;c[f]?c[f].push([a,b]):c[f]=[[a,b]];return}c={};c[f]=[[a,b]];g.push({method:d,Hh:c})}}else{c=0;for(e=g.length;c<e;c++)if(g[c].method==d){g[c].Hh.push([a,b]);return}g.push({method:d,Hh:[[a,b]]})}};zb=h;c.prototype.ak=function(){return this.za?this.type.e.length:this.e.length};c.prototype.Yc=function(){return this.za?this.type.e:this.e};c.prototype.Pg=function(a){a&&(a.b.Nb().vc.Mc?(this.za&&(this.e.length=
0,va(this.ba,a.type.e),this.za=!1),a=this.ba.indexOf(a),-1!==a&&(this.e.push(this.ba[a]),this.ba.splice(a,1))):(this.za=!1,this.e.length=1,this.e[0]=a))};eb=c;window._c2hh_="F06E9460EEE0416309F699A500583484F97B8E42";a.prototype.Ka=function(a){var b,c=this.parent;if(this.group)for(this.Wi=!0;c;){if(!c.group){this.Wi=!1;break}c=c.parent}this.Cl=!this.cn()&&(!this.parent||this.parent.group&&this.parent.Wi);this.Rm=!!a;this.fe=this.La.slice(0);for(c=this.parent;c;){a=0;for(b=c.La.length;a<b;a++)this.Fp(c.La[a]);
c=c.parent}this.La=e(this.La);this.fe=e(this.fe);a=0;for(b=this.Ia.length;a<b;a++)this.Ia[a].Ka();a=0;for(b=this.Gc.length;a<b;a++)this.Gc[a].Ka();a=0;for(b=this.Fc.length;a<b;a++)this.Fc[a].Ka(a<b-1&&this.Fc[a+1].$h)};a.prototype.fm=function(a){b(a,this.La)};a.prototype.Fp=function(a){b(a,this.fe)};a.prototype.Li=function(){this.vo=!0;this.parent&&this.parent.Li()};a.prototype.cn=function(){return this.Ia.length?this.Ia[0].trigger:!1};a.prototype.Wa=function(){var a,b=!1,c,e=this.b.Nb();e.vc=this;
this.$h||(e.Fj=!1);if(this.Mc){0===this.Ia.length&&(b=!0);e.Hb=0;for(a=this.Ia.length;e.Hb<a;e.Hb++)this.Ia[e.Hb].trigger||(c=this.Ia[e.Hb].Wa())&&(b=!0);(e.Ie=b)&&this.jl()}else{e.Hb=0;for(a=this.Ia.length;e.Hb<a;e.Hb++)if(c=this.Ia[e.Hb].Wa(),!c){e.Ie=!1;!this.Cl||this.b.Uc.Ud()&&!this.b.Xb.length||this.b.jb();return}e.Ie=!0;this.jl()}this.mq(e)};a.prototype.mq=function(a){a.Ie&&this.Rm&&(a.Fj=!0);!this.Cl||this.b.Uc.Ud()&&!this.b.Xb.length||this.b.jb()};a.prototype.us=function(a){this.b.Nb().vc=
this;this.Ia[a].Wa()&&(this.jl(),this.b.Nb().Ie=!0)};a.prototype.jl=function(){var a=this.b.Nb(),b;a.rc=0;for(b=this.Gc.length;a.rc<b;a.rc++)if(this.Gc[a.rc].Wa())return;this.ho()};a.prototype.ss=function(){var a=this.b.Nb(),b;for(b=this.Gc.length;a.rc<b;a.rc++)if(this.Gc[a.rc].Wa())return;this.ho()};a.prototype.ho=function(){if(this.Fc.length){var a,b,c,e,f=this.Fc.length-1;this.b.bl(this);if(this.vo)for(a=0,b=this.Fc.length;a<b;a++)c=this.Fc[a],(e=!this.Wi||!this.group&&a<f)&&this.b.al(c.La),c.Wa(),
e?this.b.yf(c.La):this.b.wj(c.La);else for(a=0,b=this.Fc.length;a<b;a++)this.Fc[a].Wa();this.b.Yn()}};a.prototype.vs=function(){var a=this.b.Nb();a.vc=this;var b=!1,c;a.Hb=0;for(c=this.Ia.length;a.Hb<c;a.Hb++)if(this.Ia[a.Hb].Wa())b=!0;else if(!this.Mc)return!1;return this.Mc?b:!0};a.prototype.Jr=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.Ia[b].type===a.type)return!1;return!0};Pb=a;g.prototype.Ka=function(){var a,b;a=0;for(b=this.D.length;a<b;a++)this.D[a].Ka()};g.prototype.xs=
G(!0);g.prototype.ll=function(){var a,b;a=0;for(b=this.D.length;a<b;a++)this.O[a]=this.D[a].get();return Na(this.Oa.apply(this.b.gd,this.O),this.Td)};g.prototype.ws=function(){var a,b;a=0;for(b=this.D.length;a<b;a++)this.O[a]=this.D[a].get(a);a=this.Oa.apply(this.pe?this.pe:this.type,this.O);this.type.Md();return a};g.prototype.kl=function(){var a,b,c,e,f,g,d,m=this.type.ta(),h=this.kc.Mc&&!this.trigger,k=0,n=this.type.Ic;if(m.za){m.e.length=0;a=m.ba.length=0;for(c=this.type.e.length;a<c;a++){g=this.type.e[a];
b=0;for(e=this.D.length;b<e;b++)this.O[b]=this.D[b].get(a);-1<this.fb?(this.type.H&&(k=g.type.$e[this.type.Xc]),b=this.Oa.apply(g.K[this.fb+k],this.O)):b=this.Oa.apply(g,this.O);(f=Na(b,this.Td))?m.e.push(g):h&&m.ba.push(g)}this.type.finish&&this.type.finish(!0);m.za=!1;this.type.Md();return m.ak()}var p=0,q=(f=h&&!this.kc.Jr(this))?m.ba:m.e,s=!1;a=0;for(c=q.length;a<c;a++){g=q[a];b=0;for(e=this.D.length;b<e;b++)this.O[b]=this.D[b].get(a);-1<this.fb?(this.type.H&&(k=g.type.$e[this.type.Xc]),b=this.Oa.apply(g.K[this.fb+
k],this.O)):b=this.Oa.apply(g,this.O);if(Na(b,this.Td))if(s=!0,f){if(m.e.push(g),n)for(b=0,e=g.siblings.length;b<e;b++)d=g.siblings[b],d.type.ta().e.push(d)}else{q[p]=g;if(n)for(b=0,e=g.siblings.length;b<e;b++)d=g.siblings[b],d.type.ta().e[p]=d;p++}else if(f){q[p]=g;if(n)for(b=0,e=g.siblings.length;b<e;b++)d=g.siblings[b],d.type.ta().ba[p]=d;p++}else if(h&&(m.ba.push(g),n))for(b=0,e=g.siblings.length;b<e;b++)d=g.siblings[b],d.type.ta().ba.push(d)}q.length=p;if(n)for(a=0,c=this.type.Ib.length;a<c;a++)g=
this.type.Ib[a].ta(),f?g.ba.length=p:g.e.length=p;k=s;if(f&&!s)for(a=0,c=m.e.length;a<c;a++){g=m.e[a];b=0;for(e=this.D.length;b<e;b++)this.O[b]=this.D[b].get(a);b=-1<this.fb?this.Oa.apply(g.K[this.fb],this.O):this.Oa.apply(g,this.O);if(Na(b,this.Td)){s=!0;break}}this.type.finish&&this.type.finish(k||h);return h?s:m.ak()};Lb=g;p.prototype.Ka=function(){var a,b;a=0;for(b=this.D.length;a<b;a++)this.D[a].Ka()};p.prototype.ll=function(){var a,b;a=0;for(b=this.D.length;a<b;a++)this.O[a]=this.D[a].get();
return this.Oa.apply(this.b.gd,this.O)};p.prototype.kl=function(){var a=this.type.ta().Yc(),b,c,e,f,g;b=0;for(e=a.length;b<e;b++){g=a[b];c=0;for(f=this.D.length;c<f;c++)this.O[c]=this.D[c].get(b);-1<this.fb?(c=0,this.type.H&&(c=g.type.$e[this.type.Xc]),this.Oa.apply(g.K[this.fb+c],this.O)):this.Oa.apply(g,this.O)}return!1};Mb=p;var s=[],q=-1;t.prototype.Ka=function(){var a,b;if(11===this.type)this.ze=this.b.Jm(this.dh,this.kc.parent);else if(13===this.type)for(a=0,b=this.Hf.length;a<b;a++)this.Hf[a].Ka();
this.Wc&&this.Wc.Ka()};t.prototype.Va=function(){q++;s.length===q&&s.push(new Rb);return s[q]};t.prototype.Pa=function(){q--};t.prototype.ir=function(a){this.ge=a||0;a=this.Va();this.Wc.get(a);this.Pa();return a.data};t.prototype.jr=function(a){this.ge=a||0;a=this.Va();this.Wc.get(a);this.Pa();return J(a.data)?a.data:""};t.prototype.pr=D("object");t.prototype.fr=D("qm");t.prototype.nr=function(a){this.ge=a||0;a=this.Va();this.Wc.get(a);this.Pa();return a.$a()?this.b.sd(a.data):this.b.$f(a.data)};
t.prototype.or=D("pa");t.prototype.mr=D("key");t.prototype.lr=D("index");t.prototype.kr=function(a){var b=this.n.type,c=null,c=b.ta(),e=c.Yc(),c=e.length?e[a%e.length].type:c.ba[a%c.ba.length].type;return this.index+c.Jh[b.Xc]};t.prototype.hr=D("ze");t.prototype.er=D("Em");t.prototype.qr=function(){var a,b;a=0;for(b=this.Hf.length;a<b;a++)this.bj[a]=this.Hf[a].get();return this.bj};Nb=t;u.prototype.Ka=function(){this.La=e(this.La)};u.prototype.Ds=function(a){var b=this.b.Im();this.parent&&!this.mg&&
b?(this.Le>=b.length&&(b.length=this.Le+1),b[this.Le]=a):this.data=a};u.prototype.dr=function(){var a=this.b.Im();return!this.parent||this.mg||!a||this.Zh?this.data:this.Le>=a.length||"undefined"===typeof a[this.Le]?this.ek:a[this.Le]};u.prototype.Wa=function(){!this.parent||this.mg||this.Zh||this.Ds(this.ek)};Hb=u;m.prototype.toString=function(){return"include:"+this.eg.toString()};m.prototype.Ka=function(){this.eg=this.b.Hj[this.Ar];this.sheet.Sm.add(this);this.La=e(this.La)};m.prototype.Wa=function(){this.parent&&
this.b.Sg(this.b.q);this.eg.bk||this.eg.Wa(!0);this.parent&&this.b.yf(this.b.q)};m.prototype.Fr=function(){for(var a=this.parent;a;){if(a.group&&!this.b.hh[a.cg.toLowerCase()])return!1;a=a.parent}return!0};Qb=m;n.prototype.reset=function(a){this.vc=a;this.rc=this.Hb=0;this.xo.length=0;this.Fj=this.Ie=!1};Gb=n})();
(function(){function d(e,d){this.n=e;this.b=e.b;this.type=d[0];this.get=[this.yq,this.uq,this.Gq,this.Jq,this.oq,this.Hq,this.Cq,this.rq,this.Bq,this.Fq,this.pq,this.Eq,this.sq,this.Dq,this.zq,this.Aq,this.vq,this.wq,this.qq,this.Iq,this.Am,this.xq,this.Am,this.tq][this.type];var c=null;this.ec=this.D=this.O=this.Oa=this.Si=this.eb=this.first=this.value=null;this.fb=-1;this.td=null;this.Il=-1;this.ze=this.dh=null;this.Ug=!1;switch(this.type){case 0:case 1:case 2:this.value=d[1];break;case 3:this.first=
new Ob(e,d[1]);break;case 18:this.first=new Ob(e,d[1]);this.eb=new Ob(e,d[2]);this.Si=new Ob(e,d[3]);break;case 19:this.Oa=d[1];this.O=[];this.D=[];3===d.length?(c=d[2],this.O.length=c.length+1):this.O.length=1;break;case 20:this.ec=this.b.q[d[1]];this.fb=-1;this.Oa=d[2];this.Ug=d[3];this.td=d[4]?new Ob(e,d[4]):null;this.O=[];this.D=[];6===d.length?(c=d[5],this.O.length=c.length+1):this.O.length=1;break;case 21:this.ec=this.b.q[d[1]];this.Ug=d[2];this.td=d[3]?new Ob(e,d[3]):null;this.Il=d[4];break;
case 22:this.ec=this.b.q[d[1]];this.ec.Ph(d[2]);this.fb=this.ec.Qj(d[2]);this.Oa=d[3];this.Ug=d[4];this.td=d[5]?new Ob(e,d[5]):null;this.O=[];this.D=[];7===d.length?(c=d[6],this.O.length=c.length+1):this.O.length=1;break;case 23:this.dh=d[1],this.ze=null}4<=this.type&&17>=this.type&&(this.first=new Ob(e,d[1]),this.eb=new Ob(e,d[2]));if(c){var a,b;a=0;for(b=c.length;a<b;a++)this.D.push(new Ob(e,c[a]))}}function k(e,d){this.type=e||Sb.Pf;this.data=d||0;this.rf=null;this.type==Sb.Pf&&(this.data=Math.floor(this.data))}
d.prototype.Ka=function(){23===this.type&&(this.ze=this.n.b.Jm(this.dh,this.n.kc.parent));this.first&&this.first.Ka();this.eb&&this.eb.Ka();this.Si&&this.Si.Ka();this.td&&this.td.Ka();if(this.D){var e,d;e=0;for(d=this.D.length;e<d;e++)this.D[e].Ka()}};d.prototype.Iq=function(e){this.O[0]=e;e=this.n.Va();var d,c;d=0;for(c=this.D.length;d<c;d++)this.D[d].get(e),this.O[d+1]=e.data;this.n.Pa();this.Oa.apply(this.b.gd,this.O)};d.prototype.Am=function(e){var d=this.ec.ta(),c=d.Yc();if(!c.length)if(d.ba.length)c=
d.ba;else{this.Ug?e.pc(""):e.wa(0);return}this.O[0]=e;e.rf=this.ec;e=this.n.Va();var a,d=0;for(a=this.D.length;d<a;d++)this.D[d].get(e),this.O[d+1]=e.data;d=this.n.ge;this.td&&(this.td.get(e),e.$a()&&(d=e.data,c=this.ec.e));this.n.Pa();d%=c.length;0>d&&(d+=c.length);c=c[d];-1<this.fb?(e=0,this.ec.H&&(e=c.type.$e[this.ec.Xc]),this.Oa.apply(c.K[this.fb+e],this.O)):this.Oa.apply(c,this.O)};d.prototype.xq=function(e){var d=this.ec.ta(),c=d.Yc();if(!c.length)if(d.ba.length)c=d.ba;else{this.Ug?e.pc(""):
e.wa(0);return}d=this.n.ge;if(this.td){var a=this.n.Va();this.td.get(a);if(a.$a()){d=a.data;c=this.ec.e;d%=c.length;0>d&&(d+=c.length);c=c[d].Sa[this.Il];J(c)?e.pc(c):e.B(c);this.n.Pa();return}this.n.Pa()}d%=c.length;0>d&&(d+=c.length);c=c[d];d=0;this.ec.H&&(d=c.type.Jh[this.ec.Xc]);c=c.Sa[this.Il+d];J(c)?e.pc(c):e.B(c)};d.prototype.yq=function(e){e.type=Sb.Pf;e.data=this.value};d.prototype.uq=function(e){e.type=Sb.Of;e.data=this.value};d.prototype.Gq=function(e){e.type=Sb.jj;e.data=this.value};d.prototype.Jq=
function(e){this.first.get(e);e.$a()&&(e.data=-e.data)};d.prototype.oq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data+=d.data,d.jf()&&e.pf());this.n.Pa()};d.prototype.Hq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data-=d.data,d.jf()&&e.pf());this.n.Pa()};d.prototype.Cq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data*=d.data,d.jf()&&e.pf());this.n.Pa()};d.prototype.rq=function(e){this.first.get(e);
var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data/=d.data,e.pf());this.n.Pa()};d.prototype.Bq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data%=d.data,d.jf()&&e.pf());this.n.Pa()};d.prototype.Fq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data=Math.pow(e.data,d.data),d.jf()&&e.pf());this.n.Pa()};d.prototype.pq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()?d.ai()?e.pc(e.data.toString()+d.data):
e.data&&d.data?e.wa(1):e.wa(0):e.ai()&&(e.data=d.ai()?e.data+d.data:e.data+(Math.round(1E10*d.data)/1E10).toString());this.n.Pa()};d.prototype.Eq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.$a()&&d.$a()&&(e.data||d.data?e.wa(1):e.wa(0));this.n.Pa()};d.prototype.qq=function(e){this.first.get(e);e.data?this.eb.get(e):this.Si.get(e)};d.prototype.sq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.wa(e.data===d.data?1:0);this.n.Pa()};d.prototype.Dq=function(e){this.first.get(e);
var d=this.n.Va();this.eb.get(d);e.wa(e.data!==d.data?1:0);this.n.Pa()};d.prototype.zq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.wa(e.data<d.data?1:0);this.n.Pa()};d.prototype.Aq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.wa(e.data<=d.data?1:0);this.n.Pa()};d.prototype.vq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.wa(e.data>d.data?1:0);this.n.Pa()};d.prototype.wq=function(e){this.first.get(e);var d=this.n.Va();this.eb.get(d);e.wa(e.data>=
d.data?1:0);this.n.Pa()};d.prototype.tq=function(e){var d=this.ze.dr();da(d)?e.B(d):e.pc(d)};Ob=d;k.prototype.jf=function(){return this.type===Sb.Of};k.prototype.$a=function(){return this.type===Sb.Pf||this.type===Sb.Of};k.prototype.ai=function(){return this.type===Sb.jj};k.prototype.pf=function(){this.jf()||(this.ai()&&(this.data=parseFloat(this.data)),this.type=Sb.Of)};k.prototype.wa=function(e){this.type=Sb.Pf;this.data=Math.floor(e)};k.prototype.B=function(e){this.type=Sb.Of;this.data=e};k.prototype.pc=
function(e){this.type=Sb.jj;this.data=e};Rb=k;Sb={Pf:0,Of:1,jj:2}})();function T(d){this.b=d;this.ic=[]}
T.prototype.mb=function(){var d={},k,e,h,c,a,b,g,p;d.waits=[];var t=d.waits,u;k=0;for(e=this.ic.length;k<e;k++){b=this.ic[k];u={t:b.time,ev:b.Wf.T,sm:[],sols:{}};b.Wf.Gc[b.rc]&&(u.act=b.Wf.Gc[b.rc].T);h=0;for(c=b.La.length;h<c;h++)u.sm.push(b.La[h].T);for(a in b.hc)if(b.hc.hasOwnProperty(a)){g=this.b.q[parseInt(a,10)];p={sa:b.hc[a].jo,insts:[]};h=0;for(c=b.hc[a].Fe.length;h<c;h++)p.insts.push(b.hc[a].Fe[h].uid);u.sols[g.T.toString()]=p}t.push(u)}return d};
T.prototype.Qb=function(d){d=d.waits;var k,e,h,c,a,b,g,p,t,u,m;k=this.ic.length=0;for(e=d.length;k<e;k++)if(b=d[k],p=this.b.lm[b.ev.toString()]){t=-1;h=0;for(c=p.Gc.length;h<c;h++)if(p.Gc[h].T===b.act){t=h;break}if(-1!==t){g={hc:{},La:[],wm:!1};g.time=b.t;g.Wf=p;g.rc=t;h=0;for(c=b.sm.length;h<c;h++)(p=this.b.Sh(b.sm[h]))&&g.La.push(p);for(a in b.sols)if(b.sols.hasOwnProperty(a)&&(p=this.b.Sh(parseInt(a,10)))){t=b.sols[a];u={jo:t.sa,Fe:[]};h=0;for(c=t.insts.length;h<c;h++)(m=this.b.Rh(t.insts[h]))&&
u.Fe.push(m);g.hc[p.index.toString()]=u}this.ic.push(g)}}};
(function(){function d(){}function k(){}var e=T.prototype;d.prototype.ja=G(!0);d.prototype.lp=G(!0);d.prototype.kp=G(!0);d.prototype.Qo=function(){var a=this.b.Nb();return a.Fj?!1:!a.Ie};d.prototype.Ql=G(!0);d.prototype.Yo=G(!0);d.prototype.hj=G(!0);d.prototype.mp=G(!0);d.prototype.gj=G(!0);e.d=new d;var h=[],c=[];e.C=new (x());k.prototype["int"]=function(a,b){J(b)?(a.wa(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.wa(b)};k.prototype["float"]=function(a,b){J(b)?(a.B(parseFloat(b)),isNaN(a.data)&&
(a.data=0)):a.B(b)};k.prototype.random=function(a,b,c){void 0===c?a.B(Math.random()*b):a.B(Math.random()*(c-b)+b)};k.prototype.sqrt=function(a,b){a.B(Math.sqrt(b))};k.prototype.abs=function(a,b){a.B(Math.abs(b))};k.prototype.round=function(a,b){a.wa(Math.round(b))};k.prototype.floor=function(a,b){a.wa(Math.floor(b))};k.prototype.ceil=function(a,b){a.wa(Math.ceil(b))};k.prototype.sin=function(a,b){a.B(Math.sin(S(b)))};k.prototype.cos=function(a,b){a.B(Math.cos(S(b)))};k.prototype.tan=function(a,b){a.B(Math.tan(S(b)))};
k.prototype.acos=function(a,b){a.B(ya(Math.acos(b)))};k.prototype.exp=function(a,b){a.B(Math.exp(b))};k.prototype.max=function(a){var b=arguments[1],c,e;c=2;for(e=arguments.length;c<e;c++)b<arguments[c]&&(b=arguments[c]);a.B(b)};k.prototype.min=function(a){var b=arguments[1],c,e;c=2;for(e=arguments.length;c<e;c++)b>arguments[c]&&(b=arguments[c]);a.B(b)};k.prototype.we=function(a){a.B(this.b.we)};k.prototype.Kf=function(a){a.B(this.b.Kf)};k.prototype.time=function(a){a.B(this.b.Kc.Ya)};k.prototype.Dd=
function(a){a.wa(this.b.Dd)};k.prototype.ri=function(a){a.wa(this.b.ri)};k.prototype.Lj=function(a){a.wa(this.b.Lj)};k.prototype.j=function(a,b,c,e,d){a.B(ya(Ea(b,c,e,d)))};k.prototype.left=function(a,b,c){a.pc(J(b)?b.substr(0,c):"")};k.prototype.right=function(a,b,c){a.pc(J(b)?b.substr(b.length-c):"")};k.prototype.replace=function(a,b,c,e){J(b)&&J(c)&&J(e)?a.pc(b.replace(RegExp(Va(c),"gi"),e)):a.pc(J(b)?b:"")};k.prototype.xj=function(a){a.B(this.b.xj/1E3)};k.prototype.mf=function(a){a.B(this.b.mf)};
e.Lb=new k;e.ts=function(){var a,b,e,d,k,u,m=this.b.Nb();a=0;for(e=this.ic.length;a<e;a++)if(d=this.ic[a],!(d.time>this.b.Kc.Ya)){m.vc=d.Wf;m.rc=d.rc;m.Hb=0;for(b in d.hc)d.hc.hasOwnProperty(b)&&(k=this.b.q[parseInt(b,10)].ta(),u=d.hc[b],k.za=u.jo,va(k.e,u.Fe),k=u,k.Fe.length=0,c.push(k));d.Wf.ss();this.b.wj(d.La);d.wm=!0}b=a=0;for(e=this.ic.length;a<e;a++)d=this.ic[a],this.ic[b]=d,d.wm?(Sa(d.hc),d.La.length=0,h.push(d)):b++;this.ic.length=b}})();
(function(){db=function(d){var e=d[0].prototype,h=d[1],c=d[3],a=d[4],b=d[5],g=d[6],p=d[7];d=d[8];e.d||(e.d={});e.C||(e.C={});e.Lb||(e.Lb={});var t=e.d,u=e.C,e=e.Lb;c&&(t.et=function(a,b){return Tb(this.x,a,b)},t.gt=function(a,b){return Tb(this.y,a,b)},t.pt=function(){var a=this.i;this.Ba();var b=this.Ga;return!(b.right<a.xb||b.bottom<a.zb||b.left>a.yb||b.top>a.wb)},t.qt=function(){this.Ba();var a=this.Ga,b=this.b.Y;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},t.Ft=function(a,b,c){var e=
this.ta(),d=e.Yc();if(!d.length)return!1;var g=d[0],k=g,h=Ma(g.x,g.y,b,c),p,t,u;p=1;for(t=d.length;p<t;p++)if(g=d[p],u=Ma(g.x,g.y,b,c),0===a&&u<h||1===a&&u>h)h=u,k=g;e.Pg(k);return!0},u.Yt=function(a){this.x!==a&&(this.x=a,this.Fa())},u.Zt=function(a){this.y!==a&&(this.y=a,this.Fa())},u.Ut=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.Fa()},u.Vt=function(a,b){var c=a.Zq(this);if(c){var e;c.Wj?(e=c.Wj(b,!0),c=c.Wj(b,!1)):(e=c.x,c=c.y);if(this.x!==e||this.y!==c)this.x=e,this.y=c,this.Fa()}},
u.yt=function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.Fa())},u.xt=function(a,b){0!==b&&(this.x+=Math.cos(S(a))*b,this.y+=Math.sin(S(a))*b,this.Fa())},e.Yl=function(a){a.B(this.x)},e.Zl=function(a){a.B(this.y)},e.we=function(a){a.B(this.b.Tj(this))});a&&(t.dt=function(a,b){return Tb(this.width,a,b)},t.$s=function(a,b){return Tb(this.height,a,b)},u.wp=function(a){this.width!==a&&(this.width=a,this.Fa())},u.Rt=function(a){this.height!==a&&(this.height=a,this.Fa())},u.Wt=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.Fa()},e.cu=function(a){a.B(this.width)},e.jt=function(a){a.B(this.height)},e.Xs=function(a){this.Ba();a.B(this.Ga.left)},e.Zs=function(a){this.Ba();a.B(this.Ga.top)},e.Ys=function(a){this.Ba();a.B(this.Ga.right)},e.Ws=function(a){this.Ba();a.B(this.Ga.bottom)});b&&(t.Vs=function(a,b){return Fa(this.j,S(b))<=S(a)},t.nt=function(a){return Ka(this.j,S(a))},t.lt=function(a,b){var c=Da(a),e=Da(b),d=Aa(this.j);return Ka(e,
c)?Ka(d,c)&&!Ka(d,e):!(!Ka(d,c)&&Ka(d,e))},u.Nt=function(a){a=S(za(a));isNaN(a)||this.j===a||(this.j=a,this.Fa())},u.Jt=function(a){0===a||isNaN(a)||(this.j+=S(a),this.j=Aa(this.j),this.Fa())},u.Kt=function(a){0===a||isNaN(a)||(this.j-=S(a),this.j=Aa(this.j),this.Fa())},u.Lt=function(a,b){var c=Ja(this.j,S(b),S(a));isNaN(c)||this.j===c||(this.j=c,this.Fa())},u.Mt=function(a,b,c){a=Ja(this.j,Math.atan2(c-this.y,b-this.x),S(a));isNaN(a)||this.j===a||(this.j=a,this.Fa())},u.Xt=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.j===c||(this.j=c,this.Fa())},e.Us=function(a){a.B(Ca(this.j))});h||(t.bt=function(a,b,c){return Tb(this.Sa[a],b,c)},t.mt=function(a){return this.Sa[a]},t.Gt=function(a,b){var c=this.ta(),e=c.Yc();if(!e.length)return!1;var d=e[0],g=d,k=d.Sa[b],h,p,t;h=1;for(p=e.length;h<p;h++)if(d=e[h],t=d.Sa[b],0===a&&t<k||1===a&&t>k)k=t,g=d;c.Pg(g);return!0},t.Et=function(a){var b,c,e,d,g;if(this.b.Sj().Td){g=this.ta();if(g.za)for(g.za=!1,g.e.length=0,g.ba.length=0,e=this.e,b=0,c=
e.length;b<c;b++)d=e[b],d.uid===a?g.ba.push(d):g.e.push(d);else{e=b=0;for(c=g.e.length;b<c;b++)d=g.e[b],g.e[e]=d,d.uid===a?g.ba.push(d):e++;g.e.length=e}this.Md();return!!g.e.length}d=this.b.Rh(a);if(!d)return!1;g=this.ta();if(!g.za&&-1===g.e.indexOf(d))return!1;if(this.H)for(a=d.type.ra,b=0,c=a.length;b<c;b++){if(a[b]===this)return g.Pg(d),this.Md(),!0}else if(d.type===this)return g.Pg(d),this.Md(),!0;return!1},t.$o=G(!0),t.bp=G(!0),u.St=function(a,b){var c=this.Sa;da(c[a])?c[a]=da(b)?b:parseFloat(b):
J(c[a])&&(c[a]=J(b)?b:b.toString())},u.Ts=function(a,b){var c=this.Sa;da(c[a])?c[a]=da(b)?c[a]+b:c[a]+parseFloat(b):J(c[a])&&(c[a]=J(b)?c[a]+b:c[a]+b.toString())},u.$t=function(a,b){var c=this.Sa;da(c[a])&&(c[a]=da(b)?c[a]-b:c[a]-parseFloat(b))},u.Ot=function(a,b){this.Sa[a]=b?1:0},u.au=function(a){this.Sa[a]=1-this.Sa[a]},u.it=function(){this.b.Id(this)},u.So||(u.So=function(a){var b,c;try{b=JSON.parse(a)}catch(e){return}this.b.mi(this,b,!0);this.Kd&&this.Kd();if(this.K)for(a=0,b=this.K.length;a<
b;++a)c=this.K[a],c.Kd&&c.Kd()}),e.ht=function(a){var b=a.rf.e.length,c,e,d;c=0;for(e=this.b.Xb.length;c<e;c++)d=this.b.Xb[c],a.rf.H?0<=d.type.ra.indexOf(a.rf)&&b++:d.type===a.rf&&b++;a.wa(b)},e.It=function(a){a.wa(a.rf.ta().Yc().length)},e.bu=function(a){a.wa(this.uid)},e.kt=function(a){a.wa(this.bg())},e.Nl||(e.Nl=function(a){a.pc(JSON.stringify(this.b.ml(this,!0)))}));g&&(t.tt=D("visible"),u.vp=function(a){!a!==!this.visible&&(this.visible=a,this.b.ca=!0)},t.ct=function(a,b){return Tb(ab(100*this.opacity),
a,b)},u.Tt=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ca=!0)},e.Opacity=function(a){a.B(ab(100*this.opacity))});p&&(t.ot=function(a){return a?this.i===a:!1},t.Ht=function(a){var b=this.ta(),c=b.Yc();if(!c.length)return!1;var e=c[0],d=e,g,k;g=1;for(k=c.length;g<k;g++)if(e=c[g],0===a){if(e.i.index>d.i.index||e.i.index===d.i.index&&e.Ob()>d.Ob())d=e}else if(e.i.index<d.i.index||e.i.index===d.i.index&&e.Ob()<d.Ob())d=e;b.Pg(d);return!0},u.Bt=function(){var a=this.Ob();
a!==this.i.e.length-1&&(ta(this.i.e,a),this.i.e.push(this),this.b.ca=!0,this.i.jc=!0)},u.zt=function(){var a=this.Ob();0!==a&&(ta(this.i.e,a),this.i.e.unshift(this),this.b.ca=!0,this.i.jc=!0)},u.At=function(a){a&&a!=this.i&&(ta(this.i.e,this.Ob()),this.i.jc=!0,this.i=a,this.Te=a.e.length,a.e.push(this),this.b.ca=!0)},u.eu=function(a,b){var c=0===a;if(b){var e=b.Uq(this);if(e&&e.uid!==this.uid){this.i.index!==e.i.index&&(ta(this.i.e,this.Ob()),this.i.jc=!0,this.i=e.i,this.Te=e.i.e.length,e.i.e.push(this));
var d=this.Ob(),e=e.Ob();ta(this.i.e,d);d<e&&e--;c&&e++;e===this.i.e.length?this.i.e.push(this):this.i.e.splice(e,0,this);this.i.jc=!0;this.b.ca=!0}}},e.wt=function(a){a.wa(this.i.Hn)},e.ut=function(a){a.pc(this.i.name)},e.du=function(a){a.wa(this.Ob())});d&&(u.Pt=function(a,b){if(this.b.u){var c=this.type.Vj(b);if(!(0>c)){var e=1===a;this.Jd[c]!==e&&(this.Jd[c]=e,this.Fd(),this.b.ca=!0)}}},u.Qt=function(a,b,c){if(this.b.u){var e=this.type.Vj(a);0>e||(a=this.type.L[e],e=this.Da[e],b=Math.floor(b),
0>b||b>=e.length||(1===this.b.u.cr(a.hb,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.Ab&&(this.b.ca=!0))))}})};Ab=function(){this.ph=!0;this.type.ih=!0;this.b.ca=!0;var d,e,h=this.pj;d=0;for(e=h.length;d<e;++d)h[d](this)};Bb=function(d){d&&this.pj.push(d)};var d=new oa(0,0,0,0);Db=function(){if(this.ph){var k=this.Ga,e=this.pb;k.set(this.x,this.y,this.x+this.width,this.y+this.height);k.offset(-this.Zb*this.width,-this.$b*this.height);this.j?(k.offset(-this.x,-this.y),e.qo(k,this.j),e.offset(this.x,this.y),e.mm(k)):
e.Df(k);k.normalize();this.ph=!1;if(this.re){var e=this.type.wh,h=this.vh;d.set(e.fh(k.left),e.gh(k.top),e.fh(k.right),e.gh(k.bottom));h.nq(d)||(h.right<h.left?e.update(this,null,d):e.update(this,h,d),h.copy(d))}}};Cb=function(d,e){return this.Ga.Jb(d,e)&&this.pb.Jb(d,e)?this.aa&&!this.aa.hf()?(this.aa.We(this.width,this.height,this.j),this.aa.Jb(d-this.x,e-this.y)):!0:!1};wb=function(){this.type.Zi();return this.De};Eb=function(){this.i.Ns();return this.Te};Fb=function(){this.Z.length=0;var d,e;
d=0;for(e=this.Jd.length;d<e;d++)this.Jd[d]&&this.Z.push(this.type.L[d]);this.Oo=!!this.Z.length};xb=function(){return"Inst"+this.bo};gb=function(d){if(d&&d.Ic&&d.type!=this){var e,h,c;e=0;for(h=d.siblings.length;e<h;e++)if(c=d.siblings[e],c.type==this)return c}d=this.ta().Yc();return d.length?d[0]:null};hb=function(d){var e=this.ta().Yc();return e.length?e[d.bg()%e.length]:null};fb=function(){if(this.Gf&&!this.H){var d,e;d=0;for(e=this.e.length;d<e;d++)this.e[d].De=d;var h=d,c=this.b.Xb;d=0;for(e=
c.length;d<e;++d)c[d].type===this&&(c[d].De=h++);this.Gf=!1}};ub=function(d){if(d<this.e.length)return this.e[d];d-=this.e.length;var e=this.b.Xb,h,c;h=0;for(c=e.length;h<c;++h)if(e[h].type===this){if(0===d)return e[h];--d}return null};ib=function(){return this.he[this.pd]};jb=function(){this.pd++;this.pd===this.he.length?this.he.push(new eb(this)):this.he[this.pd].za=!0};kb=function(){this.pd++;this.pd===this.he.length&&this.he.push(new eb(this));var d=this.he[this.pd],e=this.he[this.pd-1];e.za?
d.za=!0:(d.za=!1,va(d.e,e.e),va(d.ba,e.ba))};lb=function(){this.pd--};mb=function(d){var e,h,c,a,b,g=0;if(!this.H)for(e=0,h=this.ra.length;e<h;e++)for(b=this.ra[e],c=0,a=b.Ma.length;c<a;c++){if(d===b.Ma[c].name)return this.Ea.gn=g,b.Ma[c];g++}e=0;for(h=this.Ma.length;e<h;e++){if(d===this.Ma[e].name)return this.Ea.gn=g,this.Ma[e];g++}return null};nb=function(d){return this.Ph(d)?this.Ea.gn:-1};sb=function(d){var e,h;e=0;for(h=this.L.length;e<h;e++)if(this.L[e].name===d)return e;return-1};tb=function(){if(this.Ic&&
!this.H){var d,e,h,c,a,b,g;this.Zi();b=this.ta();var p=b.za,t=(d=this.b.Nb())&&d.vc&&d.vc.Mc;d=0;for(e=this.Ib.length;d<e;d++)if(a=this.Ib[d],a!==this&&(a.Zi(),g=a.ta(),g.za=p,!p)){g.e.length=b.e.length;h=0;for(c=b.e.length;h<c;h++)g.e[h]=a.Km(b.e[h].De);if(t)for(g.ba.length=b.ba.length,h=0,c=b.ba.length;h<c;h++)g.ba[h]=a.Km(b.ba[h].De)}}};vb=function(){return"Type"+this.T};Tb=function(d,e,h){if("undefined"===typeof d||"undefined"===typeof h)return!1;switch(e){case 0:return d===h;case 1:return d!==
h;case 2:return d<h;case 3:return d<=h;case 4:return d>h;case 5:return d>=h;default:return!1}}})();var ac={};function cc(d){this.b=d}
(function(){function d(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function k(a){a=a.toLowerCase();return R.hasOwnProperty(a)&&R[a].length?R[a][0].mc():B.destination}function e(){return B.createGain?B.createGain():B.createGainNode()}function h(a){return B.createDelay?B.createDelay(a):B.createDelayNode(a)}function c(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 b(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function g(a,
b,c,d,f,g){this.type="filter";this.Nc=[a,b,c,d,f,g];this.U=e();this.J=e();this.J.gain.value=g;this.G=e();this.G.gain.value=1-g;this.Na=B.createBiquadFilter();this.Na.type="number"===typeof this.Na.type?a:pc[a];this.Na.frequency.value=b;this.Na.detune&&(this.Na.detune.value=c);this.Na.Q.value=d;this.Na.gain.value=f;this.U.connect(this.Na);this.U.connect(this.G);this.Na.connect(this.J)}function p(a,b,c){this.type="delay";this.Nc=[a,b,c];this.U=e();this.J=e();this.J.gain.value=c;this.G=e();this.G.gain.value=
1-c;this.Bg=e();this.wc=h(a);this.wc.delayTime.value=a;this.Dh=e();this.Dh.gain.value=b;this.U.connect(this.Bg);this.U.connect(this.G);this.Bg.connect(this.J);this.Bg.connect(this.wc);this.wc.connect(this.Dh);this.Dh.connect(this.Bg)}function t(a,b,c,d){this.type="convolve";this.Nc=[b,c,d];this.U=e();this.J=e();this.J.gain.value=c;this.G=e();this.G.gain.value=1-c;this.se=B.createConvolver();a&&(this.se.normalize=b,this.se.buffer=a);this.U.connect(this.se);this.U.connect(this.G);this.se.connect(this.J)}
function u(a,b,d,f,g){this.type="flanger";this.Nc=[a,b,d,f,g];this.U=e();this.G=e();this.G.gain.value=1-g/2;this.J=e();this.J.gain.value=g/2;this.Kh=e();this.Kh.gain.value=f;this.wc=h(a+b);this.wc.delayTime.value=a;this.cb=B.createOscillator();this.cb.frequency.value=d;this.fc=e();this.fc.gain.value=b;this.U.connect(this.wc);this.U.connect(this.G);this.wc.connect(this.J);this.wc.connect(this.Kh);this.Kh.connect(this.wc);this.cb.connect(this.fc);this.fc.connect(this.wc.delayTime);c(this.cb)}function m(a,
b,d,f,g,m){this.type="phaser";this.Nc=[a,b,d,f,g,m];this.U=e();this.G=e();this.G.gain.value=1-m/2;this.J=e();this.J.gain.value=m/2;this.Na=B.createBiquadFilter();this.Na.type="number"===typeof this.Na.type?7:"allpass";this.Na.frequency.value=a;this.Na.detune&&(this.Na.detune.value=b);this.Na.Q.value=d;this.cb=B.createOscillator();this.cb.frequency.value=g;this.fc=e();this.fc.gain.value=f;this.U.connect(this.Na);this.U.connect(this.G);this.Na.connect(this.J);this.cb.connect(this.fc);this.fc.connect(this.Na.frequency);
c(this.cb)}function n(a){this.type="gain";this.Nc=[a];this.X=e();this.X.gain.value=a}function f(a,b){this.type="tremolo";this.Nc=[a,b];this.X=e();this.X.gain.value=1-b/2;this.cb=B.createOscillator();this.cb.frequency.value=a;this.fc=e();this.fc.gain.value=b/2;this.cb.connect(this.fc);this.fc.connect(this.X.gain);c(this.cb)}function s(a,b){this.type="ringmod";this.Nc=[a,b];this.U=e();this.J=e();this.J.gain.value=b;this.G=e();this.G.gain.value=1-b;this.Vg=e();this.Vg.gain.value=0;this.cb=B.createOscillator();
this.cb.frequency.value=a;this.cb.connect(this.Vg.gain);c(this.cb);this.U.connect(this.Vg);this.U.connect(this.G);this.Vg.connect(this.J)}function q(a,b,c,d,f){this.type="distortion";this.Nc=[a,b,c,d,f];this.U=e();this.Fi=e();this.Ei=e();this.As(c,Math.pow(10,d/20));this.J=e();this.J.gain.value=f;this.G=e();this.G.gain.value=1-f;this.cj=B.createWaveShaper();this.Bh=new Float32Array(65536);this.Pq(a,b);this.cj.Bh=this.Bh;this.U.connect(this.Fi);this.U.connect(this.G);this.Fi.connect(this.cj);this.cj.connect(this.Ei);
this.Ei.connect(this.J)}function l(a,b,c,e,d){this.type="compressor";this.Nc=[a,b,c,e,d];this.X=B.createDynamicsCompressor();this.X.threshold.value=a;this.X.knee.value=b;this.X.ratio.value=c;this.X.attack.value=e;this.X.release.value=d}function A(a,b){this.type="analyser";this.Nc=[a,b];this.X=B.createAnalyser();this.X.fftSize=a;this.X.smoothingTimeConstant=b;this.Nq=new Float32Array(this.X.frequencyBinCount);this.so=new Uint8Array(a);this.Og=0}function v(){this.S=null;this.oi=0;this.ie=[];this.Jk=
this.ei=this.di=0}function K(a,b){this.src=a;this.ga=N;this.Jc=b;this.hm=!1;var c=this;this.Hk=this.Uk=null;this.wf=[];this.Ki=0;this.wo=this.Bi=!1;N===E&&b&&(this.ga=C,this.Uk=e());this.kh=this.ya=null;var d;switch(this.ga){case C:this.ya=new Audio;N===E&&B.createMediaElementSource&&!w.Zm&&(this.wo=!0,this.ya.addEventListener("canplay",function(){c.Hk||(c.Hk=B.createMediaElementSource(c.ya),c.Hk.connect(c.Uk))}));this.ya.autoplay=!1;this.ya.pu="auto";this.ya.src=a;break;case E:d=new XMLHttpRequest;
d.open("GET",a,!0);d.responseType="arraybuffer";d.onload=function(){c.kh=d.response;c.Vp()};d.send();break;case L:this.ya=!0;break;case U:this.ya=!0}}function F(a,b){var c=this;this.je=b;this.Ec=this.Sd=!0;this.src=a.src;this.buffer=a;this.ga=N;this.Jc=a.Jc;this.playbackRate=1;this.Wk=!0;this.vd=this.Bd=!1;this.Pc=0;this.lg=this.kf=this.xd=!1;this.Cg=this.volume=1;this.startTime=w.Kc.Ya;this.Ja=this.Za=null;this.ad=!1;this.Ta=null;this.Pn=this.On=this.Nn=this.Mn=this.Rn=this.Qn=0;this.k=null;var d=
!1;this.ga!==E||this.buffer.ga!==C||this.buffer.wo||(this.ga=C);switch(this.ga){case C:this.Jc?(this.k=a.ya,d=!a.hm,a.hm=!0):(this.k=new Audio,this.k.autoplay=!1,this.k.src=a.ya.src,d=!0);d&&this.k.addEventListener("ended",function(){z=c.je;c.Ec=!0;w.trigger(cc.prototype.d.fj,r)});break;case E:this.Za=e();this.Za.connect(k(b));this.buffer.ga===E?a.ya&&(this.k=B.createBufferSource(),this.k.buffer=a.ya,this.k.connect(this.Za)):(this.k=this.buffer.ya,this.buffer.Uk.connect(this.Za));break;case L:this.k=
new window.Media(M+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Wk=!0,c.Ec=!0,z=c.je,w.trigger(cc.prototype.d.fj,r))});break;case U:this.k=!0}}function P(a,b){R.hasOwnProperty(a)?R[a].push(b):R[a]=[b];var c,e,d,f,g=B.destination;if(R.hasOwnProperty(a)&&(d=R[a],d.length))for(g=d[0].mc(),c=0,e=d.length;c<e;c++)f=d[c],c+1===e?f.tc(B.destination):f.tc(d[c+1].mc());Ga.length=0;if(a.length)for(c=0,e=Q.length;c<e;c++)d=Q[c],bb(a,d.je)&&Ga.push(d);else ob&&!ob.dg()&&(Ga.length=1,Ga[0]=
ob);c=0;for(e=Ga.length;c<e;c++)Ga[c].qs(g);Ba&&pb===a&&(Ba.disconnect(),Ba.connect(g))}function O(){}var I=cc.prototype;I.ea=function(a){this.ua=a;this.b=a.b};I.ea.prototype.M=x();var w=null,r=null,z="",M="",C=0,E=1,L=2,U=3,N=C,B=null,ja=[],Q=[],ob=null,$a=0,ua=!1,pa=1,Ha=0,Ia=0,qb=1,rb=1,lc=10,mc=1E4,nc=1,Ba=null,pb="",Oa=!1,Pa=[],R={},pc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");g.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.G.disconnect();
this.G.connect(a)};g.prototype.remove=function(){this.U.disconnect();this.Na.disconnect();this.J.disconnect();this.G.disconnect()};g.prototype.mc=D("U");p.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.G.disconnect();this.G.connect(a)};p.prototype.remove=function(){this.U.disconnect();this.Bg.disconnect();this.wc.disconnect();this.Dh.disconnect();this.J.disconnect();this.G.disconnect()};p.prototype.mc=D("U");t.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.G.disconnect();
this.G.connect(a)};t.prototype.remove=function(){this.U.disconnect();this.se.disconnect();this.J.disconnect();this.G.disconnect()};t.prototype.mc=D("U");u.prototype.tc=function(a){this.G.disconnect();this.G.connect(a);this.J.disconnect();this.J.connect(a)};u.prototype.remove=function(){this.U.disconnect();this.wc.disconnect();this.cb.disconnect();this.fc.disconnect();this.G.disconnect();this.J.disconnect();this.Kh.disconnect()};u.prototype.mc=D("U");m.prototype.tc=function(a){this.G.disconnect();
this.G.connect(a);this.J.disconnect();this.J.connect(a)};m.prototype.remove=function(){this.U.disconnect();this.Na.disconnect();this.cb.disconnect();this.fc.disconnect();this.G.disconnect();this.J.disconnect()};m.prototype.mc=D("U");n.prototype.tc=function(a){this.X.disconnect();this.X.connect(a)};n.prototype.remove=function(){this.X.disconnect()};n.prototype.mc=D("X");f.prototype.tc=function(a){this.X.disconnect();this.X.connect(a)};f.prototype.remove=function(){this.cb.disconnect();this.fc.disconnect();
this.X.disconnect()};f.prototype.mc=D("X");s.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.G.disconnect();this.G.connect(a)};s.prototype.remove=function(){this.cb.disconnect();this.Vg.disconnect();this.U.disconnect();this.J.disconnect();this.G.disconnect()};s.prototype.mc=D("U");q.prototype.As=function(a,b){0.01>a&&(a=0.01);this.Fi.gain.value=a;this.Ei.gain.value=Math.pow(1/a,0.6)*b};q.prototype.shape=function(a,b,c){var e=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+e*(1-Math.exp(-(1/
e)*(a-b)));return b*c};q.prototype.Pq=function(a,b){for(var c=Math.pow(10,a/20),e=Math.pow(10,b/20),d=0,f=0;32768>f;++f)d=f/32768,d=this.shape(d,c,e),this.Bh[32768+f]=d,this.Bh[32768-f-1]=-d};q.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.G.disconnect();this.G.connect(a)};q.prototype.remove=function(){this.U.disconnect();this.Fi.disconnect();this.cj.disconnect();this.Ei.disconnect();this.J.disconnect();this.G.disconnect()};q.prototype.mc=D("U");l.prototype.tc=function(a){this.X.disconnect();
this.X.connect(a)};l.prototype.remove=function(){this.X.disconnect()};l.prototype.mc=D("X");A.prototype.Aa=function(){this.X.getFloatFrequencyData(this.Nq);this.X.getByteTimeDomainData(this.so);for(var a=this.X.fftSize,b=0,c=this.Og=0,e=0;b<a;b++)e=(this.so[b]-128)/128,0>e&&(e=-e),this.Og<e&&(this.Og=e),c+=e*e;this.Og=d(this.Og);d(Math.sqrt(c/a))};A.prototype.tc=function(a){this.X.disconnect();this.X.connect(a)};A.prototype.remove=function(){this.X.disconnect()};A.prototype.mc=D("X");v.prototype.Wg=
function(a){if(this.S=a)this.di=this.S.x,this.ei=this.S.y;this.ie.length=0};v.prototype.Wh=function(){return!!this.S};v.prototype.Aa=function(a){this.S&&0!==a&&(this.Jk=Ea(this.di,this.ei,this.S.x,this.S.y),a=Ma(this.di,this.ei,this.S.x,this.S.y)/a,4>this.ie.length||this.ie.shift(),this.ie.push(a),this.di=this.S.x,this.ei=this.S.y)};v.prototype.Nm=function(){if(!this.ie.length)return 0;var a,b,c=0;a=0;for(b=this.ie.length;a<b;a++)c+=this.ie[a];return c/this.ie.length};v.prototype.Om=function(){return Math.cos(this.Jk)*
this.Nm()};v.prototype.Pm=function(){return Math.sin(this.Jk)*this.Nm()};var oc=!1;K.prototype.Vp=function(){if(!this.ya&&this.kh){var a=this;if(B.decodeAudioData)B.decodeAudioData(this.kh,function(b){a.ya=b;var c,e,d;if(ca(a.Ci)||ua)ca(a.xh)||(c=a.xh.se,c.normalize=a.Gn,c.buffer=b);else if(a.wf.length){c=0;for(e=a.wf.length;c<e;c++){b=a.wf[c];d=new F(a,b.Bo);d.no(!0);if("undefined"!==typeof b.In&&(b.S=w.Rh(b.In),!b.S))continue;if(b.S){var f=La(b.S.x,b.S.y,-b.S.i.Mb(),Ha,Ia,!0),g=La(b.S.x,b.S.y,-b.S.i.Mb(),
Ha,Ia,!1);d.ol(f,g,ya(b.S.j-b.S.i.Mb()),b.ck,b.Kk,b.Nk);d.Wg(b.S)}else d.ol(b.x,b.y,b.Ap,b.ck,b.Kk,b.Nk);d.play(a.Fk,a.Kl,a.Ki);a.Bi&&d.pause();Q.push(d)}a.wf.length=0}else d=new F(a,a.Ci),d.play(a.Fk,a.Kl,a.Ki),a.Bi&&d.pause(),Q.push(d)});else if(this.ya=B.createBuffer(this.kh,!1),ca(this.Ci)||ua)ca(this.xh)||(b=this.xh.se,b.normalize=this.Gn,b.buffer=this.ya);else{var b=new F(this,this.Ci);b.play(this.Fk,this.Kl,this.Ki);this.Bi&&b.pause();Q.push(b)}}};F.prototype.dg=function(){switch(this.ga){case C:return this.k.ended;
case E:return this.buffer.ga===E?!this.Sd&&!this.Ec&&this.k.loop||this.vd?!1:w.Kc.Ya-this.startTime>this.buffer.ya.duration:this.k.ended;case L:return this.Wk;case U:!0}return!0};F.prototype.Op=function(){return this.Sd||this.Ec?!0:this.dg()};F.prototype.no=function(a){N===E&&(!this.ad&&a?this.Za&&(this.Ja||(this.Ja=B.createPanner(),this.Ja.panningModel="number"===typeof this.Ja.panningModel?qb:["equalpower","HRTF","soundfield"][qb],this.Ja.distanceModel="number"===typeof this.Ja.distanceModel?rb:
["linear","inverse","exponential"][rb],this.Ja.refDistance=lc,this.Ja.maxDistance=mc,this.Ja.rolloffFactor=nc),this.Za.disconnect(),this.Za.connect(this.Ja),this.Ja.connect(k(this.je)),this.ad=!0):this.ad&&!a&&this.Za&&(this.Ja.disconnect(),this.Za.disconnect(),this.Za.connect(k(this.je)),this.ad=!1))};F.prototype.ol=function(a,b,c,e,d,f){this.ad&&N===E&&(this.Ja.setPosition(a,b,0),this.Ja.setOrientation(Math.cos(S(c)),Math.sin(S(c)),0),this.Ja.coneInnerAngle=e,this.Ja.coneOuterAngle=d,this.Ja.coneOuterGain=
f,this.Qn=a,this.Rn=b,this.Mn=c,this.Nn=e,this.On=d,this.Pn=f)};F.prototype.Wg=function(a){this.ad&&N===E&&(this.Ta||(this.Ta=new v),this.Ta.Wg(a))};F.prototype.Aa=function(a){if(this.ad&&N===E&&this.Ta&&this.Ta.Wh()&&this.gf()){this.Ta.Aa(a);a=this.Ta.S;var b=La(a.x,a.y,-a.i.Mb(),Ha,Ia,!0),c=La(a.x,a.y,-a.i.Mb(),Ha,Ia,!1);this.Ja.setPosition(b,c,0);b=0;"undefined"!==typeof this.Ta.S.j&&(b=a.j-a.i.Mb(),this.Ja.setOrientation(Math.cos(b),Math.sin(b),0));this.Ja.setVelocity(this.Ta.Om(),this.Ta.Pm(),
0)}};F.prototype.play=function(b,e,d){var f=this.k;this.xd=b;this.volume=e;d=d||0;switch(this.ga){case C:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==e*pa&&(f.volume=e*pa);f.loop!==b&&(f.loop=b);f.muted&&(f.muted=!1);if(f.currentTime!==d)try{f.currentTime=d}catch(g){}this.Jc&&Oa&&!w.ma?Pa.push(this):this.k.play();break;case E:this.muted=!1;this.Cg=1;if(this.buffer.ga===E)this.Sd||(this.k=B.createBufferSource(),this.k.buffer=this.buffer.ya,this.k.connect(this.Za)),this.k.loop=b,this.Za.gain.value=
e*pa,0===d?c(this.k):a(this.k,d,this.bf());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==b&&(f.loop=b);this.Za.gain.value=e*pa;if(f.currentTime!==d)try{f.currentTime=d}catch(m){}this.Jc&&Oa&&!w.ma?Pa.push(this):f.play()}break;case L:(!this.Sd&&this.Ec||0!==d)&&f.seekTo(d);f.play();this.Wk=!1;break;case U:w.lb?AppMobi.context.playSound(this.src,b):AppMobi.player.playSound(this.src,b)}this.playbackRate=1;this.startTime=w.Kc.Ya-d;this.vd=this.Ec=this.Sd=!1};F.prototype.stop=function(){switch(this.ga){case C:this.k.paused||
this.k.pause();break;case E:this.buffer.ga===E?b(this.k):this.k.paused||this.k.pause();break;case L:this.k.stop();break;case U:w.lb&&AppMobi.context.stopSound(this.src)}this.Ec=!0;this.vd=!1};F.prototype.pause=function(){if(!(this.Sd||this.Ec||this.dg()||this.vd)){switch(this.ga){case C:this.k.paused||this.k.pause();break;case E:this.buffer.ga===E?(this.Pc=this.Xj(),this.xd&&(this.Pc%=this.bf()),b(this.k)):this.k.paused||this.k.pause();break;case L:this.k.pause();break;case U:w.lb&&AppMobi.context.stopSound(this.src)}this.vd=
!0}};F.prototype.qs=function(a){this.ga===E&&(this.ad?(this.Ja.disconnect(),this.Ja.connect(a)):(this.Za.disconnect(),this.Za.connect(a)))};F.prototype.bf=function(){switch(this.ga){case C:if("undefined"!==typeof this.k.duration)return this.k.duration;break;case E:return this.buffer.ya.duration;case L:return this.k.getDuration();case U:if(w.lb)return AppMobi.context.getDurationSound(this.src)}return 0};F.prototype.Xj=function(){var a=this.bf(),b=0;switch(this.ga){case C:"undefined"!==typeof this.k.currentTime&&
(b=this.k.currentTime);break;case E:if(this.buffer.ga===E){if(this.vd)return this.Pc;b=w.Kc.Ya-this.startTime}else"undefined"!==typeof this.k.currentTime&&(b=this.k.currentTime);break;case U:w.lb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.xd&&b>a&&(b=a);return b};F.prototype.gf=function(){return!this.vd&&!this.Sd&&!this.Ec&&!this.dg()};F.prototype.Ms=function(){var a=this.volume*pa;switch(this.ga){case C:this.k.volume&&this.k.volume!==a&&(this.k.volume=a);break;case E:this.Za.gain.value=
a*this.Cg}};F.prototype.Eh=function(a){switch(this.ga){case C:this.k.muted!==!!a&&(this.k.muted=!!a);break;case E:this.Cg=a?0:1,this.Za.gain.value=pa*this.volume*this.Cg}};F.prototype.Bs=function(){this.kf=!0;this.Eh(this.kf||this.lg)};F.prototype.oo=function(a){this.lg=!!a;this.Eh(this.kf||this.lg)};F.prototype.Mo=function(){var a=this.playbackRate;if(1===$a&&!this.Jc||2===$a)a*=w.Kf;switch(this.ga){case C:this.k.playbackRate!==a&&(this.k.playbackRate=a);break;case E:this.buffer.ga===E?this.k.playbackRate.value!==
a&&(this.k.playbackRate.value=a):this.k.playbackRate!==a&&(this.k.playbackRate=a)}};F.prototype.Cs=function(c){switch(this.ga){case C:c?this.gf()?(this.k.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&this.k.play();break;case E:c?this.gf()?(this.buffer.ga===E?(this.Pc=this.Xj(),this.xd&&(this.Pc%=this.bf()),b(this.k)):this.k.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&(this.buffer.ga===E?(this.k=B.createBufferSource(),this.k.buffer=this.buffer.ya,this.k.connect(this.Za),this.k.loop=this.xd,this.Za.gain.value=
pa*this.volume*this.Cg,this.startTime=w.Kc.Ya-this.Pc,a(this.k,this.Pc,this.bf())):this.k.play());break;case L:c?this.gf()?(this.k.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&this.k.play()}};I.W=function(a){this.type=a;w=this.b=a.b;r=this;this.sb=null;this.xg=-600;!(this.b.qk||this.b.kk&&(this.b.ig||this.b.Ym))||this.b.lk||this.b.qa||(Oa=!0);B=null;"undefined"!==typeof AudioContext?(N=E,B=new AudioContext):"undefined"!==typeof webkitAudioContext&&(N=E,B=new webkitAudioContext);(this.b.qk&&N===E||Oa)&&
document.addEventListener("touchstart",function(){var a,b,e;!oc&&B&&(a=B.createBuffer(1,1,22050),b=B.createBufferSource(),b.buffer=a,b.connect(B.destination),c(b),oc=!0);if(Oa){if(!ua)for(a=0,b=Pa.length;a<b;++a)e=Pa[a],e.Ec||e.vd||e.k.play();Pa.length=0}},!0);N!==E&&(this.b.ff?N=L:this.b.ef&&(N=U));N===L&&(M=location.href,a=M.lastIndexOf("/"),-1<a&&(M=M.substr(0,a+1)),M=M.replace("file://",""));if(this.b.Kr&&this.b.Lr&&"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.Id(this);else{if(!this.b.lb)try{new Audio}catch(b){}this.b.Jf(this)}};var qa=I.W.prototype;qa.M=function(){$a=this.I[0];this.Cd=this.I[1];qb=this.I[2];rb=this.I[3];this.xg=-this.I[4];lc=this.I[5];mc=this.I[6];nc=this.I[7];this.sb=new v;N===E&&(B.listener.speedOfSound=this.I[8],B.listener.dopplerFactor=this.I[9],B.listener.setPosition(this.b.R/2,this.b.P/2,this.xg),B.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){Ba&&Ba.disconnect();pb=b.toLowerCase();Ba=B.createMediaStreamSource(a);
Ba.connect(k(pb))});this.b.gm(function(a){r.bs(a)});var a=this;this.b.Ep(function(b){a.Xr(b)})};qa.Xr=function(a){var b,c,e;b=0;for(c=Q.length;b<c;b++)e=Q[b],e.Ta&&e.Ta.S===a&&(e.Ta.S=null,e.ad&&e.gf()&&e.xd&&e.stop());this.sb.S===a&&(this.sb.S=null)};qa.mb=function(){var a={silent:ua,masterVolume:pa,listenerZ:this.xg,listenerUid:this.sb.Wh()?this.sb.S.uid:-1,playing:[],effects:{}},b=a.playing,c,e,d,f,g,m;c=0;for(e=Q.length;c<e;c++)d=Q[c],!d.gf()||3===this.Cd||d.Jc&&1===this.Cd||!d.Jc&&2===this.Cd||
(f=d.Xj(),d.xd&&(f%=d.bf()),f={tag:d.je,buffersrc:d.buffer.src,is_music:d.Jc,playbackTime:f,volume:d.volume,looping:d.xd,muted:d.kf,playbackRate:d.playbackRate,paused:d.vd,resume_position:d.Pc},d.ad&&(f.pan={},m=f.pan,d.Ta&&d.Ta.Wh()?m.objUid=d.Ta.S.uid:(m.x=d.Qn,m.y=d.Rn,m.a=d.Mn),m.ia=d.Nn,m.oa=d.On,m.og=d.Pn),b.push(f));b=a.effects;for(g in R)if(R.hasOwnProperty(g)){d=[];c=0;for(e=R[g].length;c<e;c++)d.push({type:R[g][c].type,params:R[g][c].Nc});b[g]=d}return a};var Qa=[];qa.Qb=function(a){var b=
a.silent;pa=a.masterVolume;this.xg=a.listenerZ;this.sb.Wg(null);var c=a.listenerUid;-1!==c&&(this.sb.oi=c,Qa.push(this.sb));var c=a.playing,d,e,h,k,r,F,z,K,w,y,B;if(3!==this.Cd)for(d=0,e=Q.length;d<e;d++)w=Q[d],w.Jc&&1===this.Cd||(w.Jc||2!==this.Cd)&&w.stop();for(r in R)if(R.hasOwnProperty(r))for(d=0,e=R[r].length;d<e;d++)R[r][d].remove();Sa(R);for(r in a.effects)if(a.effects.hasOwnProperty(r))for(F=a.effects[r],d=0,e=F.length;d<e;d++)switch(h=F[d].type,y=F[d].params,h){case "filter":P(r,new g(y[0],
y[1],y[2],y[3],y[4],y[5]));break;case "delay":P(r,new p(y[0],y[1],y[2]));break;case "convolve":h=y[2];w=this.Pj(h,!1);w.ya?h=new t(w.ya,y[0],y[1],h):(h=new t(null,y[0],y[1],h),w.Gn=y[0],w.xh=h);P(r,h);break;case "flanger":P(r,new u(y[0],y[1],y[2],y[3],y[4]));break;case "phaser":P(r,new m(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "gain":P(r,new n(y[0]));break;case "tremolo":P(r,new f(y[0],y[1]));break;case "ringmod":P(r,new s(y[0],y[1]));break;case "distortion":P(r,new q(y[0],y[1],y[2],y[3],y[4]));
break;case "compressor":P(r,new l(y[0],y[1],y[2],y[3],y[4]));break;case "analyser":P(r,new A(y[0],y[1]))}d=0;for(e=c.length;d<e;d++)3===this.Cd||(a=c[d],h=a.buffersrc,k=a.is_music,r=a.tag,F=a.playbackTime,z=a.looping,K=a.volume,B=(y=a.pan)&&y.hasOwnProperty("objUid")?y.objUid:-1,k&&1===this.Cd)||!k&&2===this.Cd||((w=this.Rq(h,r,k,z,K))?(w.Pc=a.resume_position,w.no(!!y),w.play(z,K,F),w.Mo(),w.Ms(),w.Eh(w.kf||w.lg),a.paused&&w.pause(),a.muted&&w.Bs(),w.Eh(w.kf||w.lg),y&&(-1!==B?(w.Ta=w.Ta||new v,w.Ta.oi=
B,Qa.push(w.Ta)):w.ol(y.x,y.y,y.a,y.ia,y.oa,y.og))):(w=this.Pj(h,k),w.Ki=F,w.Bi=a.paused,y&&(-1!==B?w.wf.push({In:B,ck:y.ia,Kk:y.oa,Nk:y.og,Bo:r}):w.wf.push({x:y.x,y:y.y,Ap:y.a,ck:y.ia,Kk:y.oa,Nk:y.og,Bo:r}))));if(b&&!ua){d=0;for(e=Q.length;d<e;d++)Q[d].oo(!0);ua=!0}else if(!b&&ua){d=0;for(e=Q.length;d<e;d++)Q[d].oo(!1);ua=!1}};qa.Kd=function(){var a,b,c,d;a=0;for(b=Qa.length;a<b;a++)c=Qa[a],d=this.b.Rh(c.oi),c.Wg(d),c.oi=-1,d&&(Ha=d.x,Ia=d.y);Qa.length=0};qa.bs=function(a){var b,c;b=0;for(c=Q.length;b<
c;b++)Q[b].Cs(a)};qa.Aa=function(){var a=this.b.we,b,c,d;b=0;for(c=Q.length;b<c;b++)d=Q[b],d.Aa(a),d.ga===C||d.ga===U||d.Sd||d.Ec||!d.dg()||(d.Ec=!0,z=d.je,w.trigger(cc.prototype.d.fj,r)),0!==$a&&d.Mo();var e,f;for(e in R)if(R.hasOwnProperty(e))for(d=R[e],b=0,c=d.length;b<c;b++)f=d[b],f.Aa&&f.Aa();N===E&&this.sb.Wh()&&(this.sb.Aa(a),Ha=this.sb.S.x,Ia=this.sb.S.y,B.listener.setPosition(this.sb.S.x,this.sb.S.y,this.xg),B.listener.setVelocity(this.sb.Om(),this.sb.Pm(),0))};qa.Pj=function(a,b){var c,
d,e,f=null;c=0;for(d=ja.length;c<d;c++)if(e=ja[c],e.src===a){f=e;break}f||(f=new K(a,b),ja.push(f));return f};qa.Rq=function(a,b,c,d,e){var f,g,m;f=0;for(g=Q.length;f<g;f++)if(m=Q[f],m.src===a&&(m.Op()||c))return m.je=b,m;a=this.Pj(a,c);if(!a.ya)return"<preload>"!==b&&(a.Ci=b,a.Fk=d,a.Kl=e),null;m=new F(a,b);Q.push(m);return m};var Ga=[];O.prototype.fj=function(a){return bb(z,a)};I.d=new O;I.C=new (x());I.Lb=new (x())})();function dc(d){this.b=d}
(function(){function d(){}function k(){}var e=dc.prototype;e.ea=function(d){this.ua=d;this.b=d.b};e.ea.prototype.M=x();e.W=function(d){this.type=d;this.b=d.b};e.W.prototype.M=function(){var d=this;window.addEventListener("resize",function(){d.b.trigger(dc.prototype.d.sp,d)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){d.b.trigger(dc.prototype.d.op,d)}),window.addEventListener("offline",function(){d.b.trigger(dc.prototype.d.np,d)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){d.b.mf=1;d.b.trigger(dc.prototype.d.Xl,d)}),window.applicationCache.addEventListener("progress",function(c){d.b.mf=c.loaded/c.total}));this.b.lb||(document.addEventListener("appMobi.device.update.available",function(){d.b.trigger(dc.prototype.d.Xl,d)}),document.addEventListener("backbutton",function(){d.b.trigger(dc.prototype.d.Ol,d)}),document.addEventListener("menubutton",function(){d.b.trigger(dc.prototype.d.Rl,d)}),document.addEventListener("searchbutton",
function(){d.b.trigger(dc.prototype.d.tp,d)}),document.addEventListener("tizenhwkey",function(c){var a;switch(c.keyName){case "back":a=d.b.trigger(dc.prototype.d.Ol,d);!a&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(a=d.b.trigger(dc.prototype.d.Rl,d))||c.preventDefault()}}));this.b.gm(function(c){c?d.b.trigger(dc.prototype.d.pp,d):d.b.trigger(dc.prototype.d.qp,d)});this.Nr="undefined"!==typeof window.is_scirra_arcade};d.prototype.op=G(!0);d.prototype.np=
G(!0);d.prototype.Xl=G(!0);d.prototype.qp=G(!0);d.prototype.pp=G(!0);d.prototype.sp=G(!0);d.prototype.Ol=G(!0);d.prototype.Rl=G(!0);d.prototype.tp=G(!0);e.d=new d;k.prototype.Ro=function(d,c){this.b.Ac?CocoonJS.App.openURL(d):this.Nr||this.b.qa||window.open(d,c)};e.C=new k;e.Lb=new (x())})();function ec(d){this.b=d}
(function(){function d(){}function k(){}var e=ec.prototype;e.ea=function(c){this.ua=c;this.b=c.b};e.ea.prototype.M=x();e.W=function(c){this.type=c;this.b=c.b};var h=e.W.prototype;h.M=function(){this.b.qa?H("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.hg=1===this.I[0],this.zc=document.createElement("input"),this.fa=this.hg?document.createElement("label"):this.zc,this.ci=null,this.zc.type=this.hg?"checkbox":"button",this.zc.id=this.I[6],jQuery(this.fa).appendTo(this.b.uh?
this.b.uh:"body"),this.hg?(jQuery(this.zc).appendTo(this.fa),this.ci=document.createTextNode(this.I[1]),jQuery(this.fa).append(this.ci),this.zc.checked=0!==this.I[7],jQuery(this.fa).css("font-family","sans-serif"),jQuery(this.fa).css("display","inline-block"),jQuery(this.fa).css("color","black")):this.zc.value=this.I[1],this.fa.title=this.I[2],this.zc.disabled=0===this.I[4],this.Jp=0!==this.I[5],this.xe=!1,0===this.I[3]&&(jQuery(this.fa).hide(),this.visible=!1,this.xe=!0),this.zc.onclick=function(c){return function(a){a.stopPropagation();
c.b.ma=!0;c.b.trigger(ec.prototype.d.Zo,c);c.b.ma=!1}}(this),this.fa.addEventListener("touchstart",function(c){c.stopPropagation()},!1),this.fa.addEventListener("touchmove",function(c){c.stopPropagation()},!1),this.fa.addEventListener("touchend",function(c){c.stopPropagation()},!1),jQuery(this.fa).mousedown(function(c){c.stopPropagation()}),jQuery(this.fa).mouseup(function(c){c.stopPropagation()}),jQuery(this.fa).keydown(function(c){c.stopPropagation()}),jQuery(this.fa).keyup(function(c){c.stopPropagation()}),
this.qn=this.rn=this.hn=this.nn=this.pn=this.kn=0,this.No(!0),this.b.Jf(this))};h.mb=function(){var c={tooltip:this.fa.title,disabled:!!this.zc.disabled};this.hg?(c.checked=!!this.zc.checked,c.text=this.ci.nodeValue):c.text=this.fa.value;return c};h.Qb=function(c){this.fa.title=c.tooltip;this.zc.disabled=c.disabled;this.hg?(this.zc.checked=c.checked,this.ci.nodeValue=c.text):this.fa.value=c.text};h.uf=function(){this.b.qa||(jQuery(this.fa).remove(),this.fa=null)};h.Aa=function(){this.No()};h.No=function(c){if(!this.b.qa){var a=
this.i.na(this.x,this.y,!0),b=this.i.na(this.x,this.y,!1),d=this.i.na(this.x+this.width,this.y+this.height,!0),e=this.i.na(this.x+this.width,this.y+this.height,!1);if(!this.visible||!this.i.visible||0>=d||0>=e||a>=this.b.width||b>=this.b.height)this.xe||jQuery(this.fa).hide(),this.xe=!0;else{1>a&&(a=1);1>b&&(b=1);d>=this.b.width&&(d=this.b.width-1);e>=this.b.height&&(e=this.b.height-1);var h=window.innerWidth,k=window.innerHeight;c||this.kn!==a||this.pn!==b||this.nn!==d||this.hn!==e||this.rn!==h||
this.qn!==k?(this.kn=a,this.pn=b,this.nn=d,this.hn=e,this.rn=h,this.qn=k,this.xe&&(jQuery(this.fa).show(),this.xe=!1),c=Math.round(a)+jQuery(this.b.canvas).offset().left,h=Math.round(b)+jQuery(this.b.canvas).offset().top,jQuery(this.fa).css("position","absolute"),jQuery(this.fa).offset({left:c,top:h}),jQuery(this.fa).width(Math.round(d-a)),jQuery(this.fa).height(Math.round(e-b)),this.Jp&&jQuery(this.fa).css("font-size",this.i.rb()/this.b.devicePixelRatio-0.2+"em")):this.xe&&(jQuery(this.fa).show(),
this.xe=!1)}}};h.lc=x();h.Kb=x();d.prototype.Zo=G(!0);e.d=new d;k.prototype.vp=function(c){this.b.qa||(this.visible=0!==c)};e.C=new k;e.Lb=new (x())})();function fc(d){this.b=d}
(function(){function d(){}var k=fc.prototype;k.ea=function(c){this.ua=c;this.b=c.b};k.ea.prototype.M=x();k.W=function(c){this.type=c;this.b=c.b;this.rk=Array(256);this.$i=Array(256);this.le=0};var e=k.W.prototype;e.M=function(){var c=this;this.b.qa||(jQuery(document).keydown(function(a){c.Yr(a)}),jQuery(document).keyup(function(a){c.Zr(a)}))};var h=[32,33,34,35,36,37,38,39,40,44];e.Yr=function(c){var a=!1;window!=window.top&&-1<h.indexOf(c.which)&&(c.preventDefault(),a=!0,c.stopPropagation());if(this.rk[c.which])this.$i[c.which]&&
!a&&c.preventDefault();else{this.rk[c.which]=!0;this.le=c.which;this.b.ma=!0;this.b.trigger(fc.prototype.d.Wo,this);var b=this.b.trigger(fc.prototype.d.gp,this),d=this.b.trigger(fc.prototype.d.hp,this);this.b.ma=!1;if(b||d)this.$i[c.which]=!0,a||c.preventDefault()}};e.Zr=function(c){this.rk[c.which]=!1;this.le=c.which;this.b.ma=!0;this.b.trigger(fc.prototype.d.Xo,this);var a=this.b.trigger(fc.prototype.d.jp,this),b=this.b.trigger(fc.prototype.d.ip,this);this.b.ma=!1;if(a||b||this.$i[c.which])this.$i[c.which]=
!0,c.preventDefault()};e.mb=function(){return{triggerKey:this.le}};e.Qb=function(c){this.le=c.triggerKey};d.prototype.gp=function(c){return c===this.le};d.prototype.Wo=G(!0);d.prototype.Xo=G(!0);d.prototype.jp=function(c){return c===this.le};d.prototype.hp=function(c){return c===this.le};d.prototype.ip=function(c){return c===this.le};k.d=new d;k.C=new (x());k.Lb=new (x())})();function V(d){this.b=d}
(function(){function d(){}function k(){}var e=V.prototype;e.ea=function(a){this.ua=a;this.b=a.b};e.ea.prototype.M=x();e.W=function(a){this.type=a;this.b=a.b;this.qj=Array(4);this.Do=this.Xi=this.Lf=this.zd=this.yd=0;this.$j=!1};var h=e.W.prototype;h.M=function(){var a=this;if(!this.b.qa){jQuery(document).mousemove(function(b){a.Hg(b)});jQuery(document).mousedown(function(b){a.Gg(b)});jQuery(document).mouseup(function(b){a.Ig(b)});jQuery(document).dblclick(function(b){a.Vr(b)});var b=function(b){a.ds(b)};
document.addEventListener("mousewheel",b,!1);document.addEventListener("DOMMouseScroll",b,!1)}};var c={left:0,top:0};h.Hg=function(a){var b=this.b.qa?c:jQuery(this.b.canvas).offset();this.yd=a.pageX-b.left;this.zd=a.pageY-b.top};h.Bn=function(){return 0<this.b.qb?!0:0<=this.yd&&0<=this.zd&&this.yd<this.b.width&&this.zd<this.b.height};h.Gg=function(a){this.Bn()&&(this.b.Be&&a.preventDefault(),this.qj[a.which]=!0,this.b.ma=!0,this.b.trigger(V.prototype.d.Vo,this),this.Lf=a.which-1,this.Xi=0,this.b.trigger(V.prototype.d.Pl,
this),this.b.trigger(V.prototype.d.Ul,this),this.b.ma=!1)};h.Ig=function(a){this.qj[a.which]&&(this.b.Be&&a.preventDefault(),this.b.Be=!0,this.qj[a.which]=!1,this.b.ma=!0,this.Lf=a.which-1,this.b.trigger(V.prototype.d.rp,this),this.b.ma=!1)};h.Vr=function(a){this.Bn()&&(a.preventDefault(),this.b.ma=!0,this.Lf=a.which-1,this.Xi=1,this.b.trigger(V.prototype.d.Pl,this),this.b.trigger(V.prototype.d.Ul,this),this.b.ma=!1)};h.ds=function(a){this.Do=0>(a.wheelDelta?a.wheelDelta:a.detail?-a.detail:0)?0:1;
this.$j=!1;this.b.ma=!0;this.b.trigger(V.prototype.d.up,this);this.b.ma=!1;this.$j&&a.preventDefault()};d.prototype.Pl=function(a,b){return a===this.Lf&&b===this.Xi};d.prototype.Vo=G(!0);d.prototype.rp=function(a){return a===this.Lf};d.prototype.ka=function(a){var b=this.b.Sj();return Na(this.b.xl(a,this.yd,this.zd,b.Td),b.Td)};d.prototype.Ul=function(a,b,c){return a!==this.Lf||b!==this.Xi?!1:this.b.xl(c,this.yd,this.zd,!1)};d.prototype.up=function(a){this.$j=!0;return a===this.Do};e.d=new d;e.C=
new (x());k.prototype.Yl=function(a,b){var c,d,e,h,m;ca(b)?(c=this.b.sd(0),d=c.scale,e=c.ob,h=c.Rb,m=c.j,c.scale=this.b.Y.scale,c.ob=1,c.Rb=1,c.j=this.b.Y.j,a.B(c.Ha(this.yd,this.zd,!0)),c.scale=d,c.ob=e,c.Rb=h,c.j=m):(c=da(b)?this.b.sd(b):this.b.$f(b))?a.B(c.Ha(this.yd,this.zd,!0)):a.B(0)};k.prototype.Zl=function(a,b){var c,d,e,h,m;ca(b)?(c=this.b.sd(0),d=c.scale,e=c.ob,h=c.Sb,m=c.j,c.scale=this.b.Y.scale,c.ob=1,c.Sb=1,c.j=this.b.Y.j,a.B(c.Ha(this.yd,this.zd,!1)),c.scale=d,c.ob=e,c.Sb=h,c.j=m):(c=
da(b)?this.b.sd(b):this.b.$f(b))?a.B(c.Ha(this.yd,this.zd,!1)):a.B(0)};e.Lb=new k})();function gc(d){this.b=d}
(function(){function d(a){this.n=a;this.Ab=!1;this.j=this.speed=this.y=this.x=0;this.opacity=1;this.Ld=this.cf=this.size=this.Th=0}function k(){}var e=gc.prototype;e.ea=function(a){this.ua=a;this.b=a.b};var h=e.ea.prototype;h.M=function(){this.H||(this.xa=new Image,this.xa.idtkLoadDisposed=!0,this.xa.src=this.zl,this.xa.rm=this.Al,this.ib=null,this.b.Hd.push(this.xa))};h.si=function(){this.H||(this.ib=null)};h.Sk=function(){this.H||!this.e.length||this.ib||(this.ib=this.b.u.ni(this.xa,!0,this.b.$,
this.Bl))};h.zk=function(){this.H||this.ib||!this.b.u||(this.ib=this.b.u.ni(this.xa,!0,this.b.$,this.Bl))};h.Gl=function(){this.H||this.e.length||!this.ib||(this.b.u.deleteTexture(this.ib),this.ib=null)};h.Zk=function(a){a.drawImage(this.xa,0,0)};d.prototype.init=function(){var a=this.n;this.x=a.x-a.dj/2+Math.random()*a.dj;this.y=a.y-a.ej/2+Math.random()*a.ej;this.speed=a.ik-a.Oi/2+Math.random()*a.Oi;this.j=a.j-a.Pi/2+Math.random()*a.Pi;this.opacity=a.gk;this.size=a.hk-a.Mi/2+Math.random()*a.Mi;this.Th=
a.Zj-a.Uh/2+Math.random()*a.Uh;this.Ld=this.cf=0};d.prototype.Aa=function(a){var b=this.n;this.x+=Math.cos(this.j)*this.speed*a;this.y+=Math.sin(this.j)*this.speed*a;this.y+=this.cf*a;this.speed+=b.kj*a;this.size+=this.Th*a;this.cf+=b.Oj*a;this.Ld+=a;1>this.size?this.Ab=!1:(0!==b.ug&&(this.j+=Math.random()*b.ug*a-b.ug*a/2),0!==b.wg&&(this.speed+=Math.random()*b.wg*a-b.wg*a/2),0!==b.vg&&(this.opacity+=Math.random()*b.vg*a-b.vg*a/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=
b.Ye&&this.Ld>=b.timeout&&(this.Ab=!1),2===b.Ye&&0>=this.speed&&(this.Ab=!1))};d.prototype.lc=function(a){var b=this.n.opacity*this.opacity;if(0!==b){0===this.n.Ye&&(b*=1-this.Ld/this.n.timeout);a.globalAlpha=b;var b=this.x-this.size/2,c=this.y-this.size/2;this.n.b.bd&&(b=b+0.5|0,c=c+0.5|0);a.drawImage(this.n.type.xa,b,c,this.size,this.size)}};d.prototype.Kb=function(a){var b=this.n.opacity*this.opacity;0===this.n.Ye&&(b*=1-this.Ld/this.n.timeout);var c=this.size,d=c*this.n.Un,e=this.x-c/2,h=this.y-
c/2;this.n.b.bd&&(e=e+0.5|0,h=h+0.5|0);1>d||0===b||(d<a.Sr||d>a.Rr?(a.Qe(b),a.Tg(e,h,e+c,h,e+c,h+c,e,h+c)):a.hs(this.x,this.y,d,b))};d.prototype.left=function(){return this.x-this.size/2};d.prototype.right=function(){return this.x+this.size/2};d.prototype.top=function(){return this.y-this.size/2};d.prototype.bottom=function(){return this.y+this.size/2};e.W=function(a){this.type=a;this.b=a.b};var h=e.W.prototype,c=[];h.M=function(){var a=this.I;this.Ii=a[0];this.Pi=S(a[1]);this.Ef=a[2];this.sl=!0;
this.ik=a[3];this.hk=a[4];this.gk=a[5]/100;this.Zj=a[6];this.dj=a[7];this.ej=a[8];this.Oi=a[9];this.Mi=a[10];this.Uh=a[11];this.kj=a[12];this.Oj=a[13];this.ug=a[14];this.wg=a[15];this.vg=a[16];this.Ye=a[17];this.timeout=a[18];this.Oe=0;this.Un=1;this.xi=this.x;this.Ai=this.y;this.yi=this.x;this.wi=this.y;this.Gp(function(a){a.Ga.set(a.xi,a.Ai,a.yi,a.wi);a.pb.Df(a.Ga);a.ph=!1});this.oc||(this.ub=[]);this.b.Jf(this);this.type.zk();if(1===this.Ef)for(a=0;a<this.Ii;a++)this.lj().opacity=0;this.Mh=!0};
h.mb=function(){var a={r:this.Ii,sc:this.Pi,st:this.Ef,s:this.sl,isp:this.ik,isz:this.hk,io:this.gk,gr:this.Zj,xr:this.dj,yr:this.ej,spr:this.Oi,szr:this.Mi,grnd:this.Uh,acc:this.kj,g:this.Oj,lar:this.ug,lsr:this.wg,lor:this.vg,dm:this.Ye,to:this.timeout,pcc:this.Oe,ft:this.Mh,p:[]},b,c,d,e=a.p;b=0;for(c=this.ub.length;b<c;b++)d=this.ub[b],e.push([d.x,d.y,d.speed,d.j,d.opacity,d.Th,d.size,d.cf,d.Ld]);return a};h.Qb=function(a){this.Ii=a.r;this.Pi=a.sc;this.Ef=a.st;this.sl=a.s;this.ik=a.isp;this.hk=
a.isz;this.gk=a.io;this.Zj=a.gr;this.dj=a.xr;this.ej=a.yr;this.Oi=a.spr;this.Mi=a.szr;this.Uh=a.grnd;this.kj=a.acc;this.Oj=a.g;this.ug=a.lar;this.wg=a.lsr;this.vg=a.lor;this.Ye=a.dm;this.timeout=a.to;this.Oe=a.pcc;this.Mh=a.ft;c.push.apply(c,this.ub);this.ub.length=0;var b,d,e,h=a.p;a=0;for(b=h.length;a<b;a++)d=this.lj(),e=h[a],d.x=e[0],d.y=e[1],d.speed=e[2],d.j=e[3],d.opacity=e[4],d.Th=e[5],d.size=e[6],d.cf=e[7],d.Ld=e[8]};h.uf=function(){c.push.apply(c,this.ub);this.ub.length=0};h.lj=function(){var a;
c.length?(a=c.pop(),a.n=this):a=new d(this);this.ub.push(a);a.Ab=!0;return a};h.Aa=function(){var a=this.b.Tj(this),b,d,e,h;if(0===this.Ef&&this.sl)for(this.Oe+=a*this.Ii,d=la(this.Oe),this.Oe-=d,b=0;b<d;b++)e=this.lj(),e.init();this.xi=this.x;this.Ai=this.y;this.yi=this.x;this.wi=this.y;h=b=0;for(d=this.ub.length;b<d;b++)e=this.ub[b],this.ub[h]=e,this.b.ca=!0,1===this.Ef&&this.Mh&&e.init(),e.Aa(a),e.Ab?(e.left()<this.xi&&(this.xi=e.left()),e.right()>this.yi&&(this.yi=e.right()),e.top()<this.Ai&&
(this.Ai=e.top()),e.bottom()>this.wi&&(this.wi=e.bottom()),h++):c.push(e);this.ub.length=h;this.Fa();this.Mh=!1;1===this.Ef&&0===this.ub.length&&this.b.Id(this)};h.lc=function(a){var b,c,d,e=this.i;b=0;for(c=this.ub.length;b<c;b++)d=this.ub[b],d.right()>=e.xb&&d.bottom()>=e.zb&&d.left()<=e.yb&&d.top()<=e.wb&&d.lc(a)};h.Kb=function(a){this.Un=this.i.rb();a.gc(this.type.ib);var b,c,d,e=this.i;b=0;for(c=this.ub.length;b<c;b++)d=this.ub[b],d.right()>=e.xb&&d.bottom()>=e.zb&&d.left()<=e.yb&&d.top()<=e.wb&&
d.Kb(a)};e.d=new (x());k.prototype.da=function(a){this.Pd=Ya(a);Za(this,a,this.b.m);this.b.ca=!0};e.C=new k;e.Lb=new (x())})();function W(d){this.b=d}
(function(){function d(){if(0===this.Cj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Ff?b.drawImage(this.xa,this.sf,this.tf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.xa,0,0,this.width,this.height);this.Cj=a.toDataURL("image/png")}return this.Cj}function k(){}function e(){}var h=W.prototype;h.ea=function(a){this.ua=a;this.b=a.b};var c=h.ea.prototype;c.M=function(){if(!this.H){var a,b,c,e,g,l,h,k,p;this.Hc=
[];this.Xh=!1;a=0;for(b=this.Wb.length;a<b;a++){g=this.Wb[a];h={};h.name=g[0];h.speed=g[1];h.loop=g[2];h.gl=g[3];h.Ji=g[4];h.Vn=g[5];h.T=g[6];h.frames=[];c=0;for(e=g[7].length;c<e;c++)l=g[7][c],k={},k.zl=l[0],k.Al=l[1],k.sf=l[2],k.tf=l[3],k.width=l[4],k.height=l[5],k.duration=l[6],k.Zb=l[7],k.$b=l[8],k.dk=l[9],k.Di=l[10],k.Wn=l[11],k.Ff=0!==k.width,k.Cj="",k.ju=d,p={left:0,top:0,right:1,bottom:1},k.ql=p,k.ib=null,(p=this.b.Mq(l[0]))?k.xa=p:(k.xa=new Image,k.xa.idtkLoadDisposed=!0,k.xa.src=l[0],k.xa.Sp=
l[0],k.xa.rm=l[1],k.xa.Np=null,this.b.Hd.push(k.xa)),h.frames.push(k),this.Hc.push(k);this.Wb[a]=h}}};c.Ls=function(){var a,b,c;a=0;for(b=this.e.length;a<b;a++)c=this.e[a],c.Ah=c.uc.ib};c.si=function(){if(!this.H){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],c.xa.Np=null,c.ib=null}};c.Sk=function(){if(!this.H&&this.e.length){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],c.ib=this.b.u.ni(c.xa,!1,this.b.$,c.Wn);this.Ls()}};c.zk=function(){if(!this.H&&!this.Xh&&this.b.u){var a,b,
c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],c.ib=this.b.u.ni(c.xa,!1,this.b.$,c.Wn);this.Xh=!0}};c.Gl=function(){if(!this.H&&!this.e.length&&this.Xh){var a,b,c;a=0;for(b=this.Hc.length;a<b;++a)c=this.Hc[a],this.b.u.deleteTexture(c.ib);this.Xh=!1}};var a=[];c.Zk=function(b){var c,d,e;c=a.length=0;for(d=this.Hc.length;c<d;++c)e=this.Hc[c].xa,-1===a.indexOf(e)&&(b.drawImage(e,0,0),a.push(e))};h.W=function(a){this.type=a;this.b=a.b;a=this.type.Wb[0].frames[0].Di;this.oc?this.aa.Xg(a):this.aa=new Wa(a)};
var b=h.W.prototype;b.M=function(){this.visible=0===this.I[0];this.re=0!==this.I[3];1===this.type.Wb.length&&1===this.type.Wb[0].frames.length||0===this.type.Wb[0].speed||this.b.Jf(this);this.Ca=this.Hm(this.I[1])||this.type.Wb[0];this.A=this.I[2];0>this.A&&(this.A=0);this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1);var a=this.Ca.frames[this.A];this.aa.Xg(a.Di);this.Zb=a.Zb;this.$b=a.$b;this.Uf=this.Ca.speed;this.oc?this.Sc.reset():this.Sc=new Ua;this.rd=this.Sc.Ya;this.oe=!0;this.kd=
0;this.ne=!0;this.uj=this.im="";this.Rp=0;this.tj=-1;this.type.zk();var b,c,d,e,g,h,k,a=0;for(b=this.type.Wb.length;a<b;a++)for(e=this.type.Wb[a],c=0,d=e.frames.length;c<d;c++)g=e.frames[c],0===g.width&&(g.width=g.xa.width,g.height=g.xa.height),g.Ff&&(k=g.xa,h=g.ql,h.left=g.sf/k.width,h.top=g.tf/k.height,h.right=(g.sf+g.width)/k.width,h.bottom=(g.tf+g.height)/k.height,0===g.sf&&0===g.tf&&g.width===k.width&&g.height===k.height&&(g.Ff=!1));this.uc=this.Ca.frames[this.A];this.Ah=this.uc.ib};b.mb=function(){var a=
{a:this.Ca.T,f:this.A,cas:this.Uf,fs:this.rd,ar:this.kd,at:this.Sc.Ya};this.oe||(a.ap=this.oe);this.ne||(a.af=this.ne);return a};b.Qb=function(a){var b=this.Qq(a.a);b&&(this.Ca=b);this.A=a.f;0>this.A&&(this.A=0);this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1);this.Uf=a.cas;this.rd=a.fs;this.kd=a.ar;this.Sc.reset();this.Sc.Ya=a.at;this.oe=a.hasOwnProperty("ap")?a.ap:!0;this.ne=a.hasOwnProperty("af")?a.af:!0;this.uc=this.Ca.frames[this.A];this.Ah=this.uc.ib;this.aa.Xg(this.uc.Di);this.Zb=
this.uc.Zb;this.$b=this.uc.$b};b.nj=function(a){this.A=a?0:this.Ca.frames.length-1;this.oe=!1;this.im=this.Ca.name;this.b.trigger(W.prototype.d.Uo,this);this.b.trigger(W.prototype.d.To,this);this.kd=0};b.lu=function(){return this.Sc.Ya};b.Aa=function(){this.Sc.add(this.b.Tj(this));this.uj.length&&this.Wp();0<=this.tj&&this.Xp();var a=this.Sc.Ya,b=this.Ca,c=b.frames[this.A],d=c.duration/this.Uf;this.oe&&a>=this.rd+d&&(this.ne?this.A++:this.A--,this.rd+=d,this.A>=b.frames.length&&(b.Vn?(this.ne=!1,
this.A=b.frames.length-2):b.loop?this.A=b.Ji:(this.kd++,this.kd>=b.gl?this.nj(!1):this.A=b.Ji)),0>this.A&&(b.Vn?(this.A=1,this.ne=!0,b.loop||(this.kd++,this.kd>=b.gl&&this.nj(!0))):b.loop?this.A=b.Ji:(this.kd++,this.kd>=b.gl?this.nj(!0):this.A=b.Ji)),0>this.A?this.A=0:this.A>=b.frames.length&&(this.A=b.frames.length-1),a>this.rd+b.frames[this.A].duration/this.Uf&&(this.rd=a),a=b.frames[this.A],this.Qf(c,a),this.b.ca=!0)};b.Hm=function(a){var b,c,d;b=0;for(c=this.type.Wb.length;b<c;b++)if(d=this.type.Wb[b],
bb(d.name,a))return d;return null};b.Qq=function(a){var b,c,d;b=0;for(c=this.type.Wb.length;b<c;b++)if(d=this.type.Wb[b],d.T===a)return d;return null};b.Wp=function(){var a=this.Ca.frames[this.A],b=this.Hm(this.uj);this.uj="";!b||bb(b.name,this.Ca.name)&&this.oe||(this.Ca=b,this.Uf=b.speed,0>this.A&&(this.A=0),this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1),1===this.Rp&&(this.A=0),this.oe=!0,this.rd=this.Sc.Ya,this.ne=!0,this.Qf(a,this.Ca.frames[this.A]),this.b.ca=!0)};b.Xp=function(){var a=
this.Ca.frames[this.A],b=this.A;this.A=la(this.tj);0>this.A&&(this.A=0);this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1);b!==this.A&&(this.Qf(a,this.Ca.frames[this.A]),this.rd=this.Sc.Ya,this.b.ca=!0);this.tj=-1};b.Qf=function(a,b){var c=a.width,d=a.height,e=b.width,g=b.height;c!=e&&(this.width*=e/c);d!=g&&(this.height*=g/d);this.Zb=b.Zb;this.$b=b.$b;this.aa.Xg(b.Di);this.Fa();this.uc=b;this.Ah=b.ib;c=0;for(d=this.K.length;c<d;c++)e=this.K[c],e.as&&e.as(a,b);this.b.trigger(W.prototype.d.Qf,
this)};b.lc=function(a){a.globalAlpha=this.opacity;var b=this.uc,c=b.Ff,d=b.xa,e=this.x,g=this.y,h=this.width,k=this.height;if(0===this.j&&0<=h&&0<=k)e-=this.Zb*h,g-=this.$b*k,this.b.bd&&(e=e+0.5|0,g=g+0.5|0),c?a.drawImage(d,b.sf,b.tf,b.width,b.height,e,g,h,k):a.drawImage(d,e,g,h,k);else{this.b.bd&&(e=e+0.5|0,g=g+0.5|0);a.save();var p=0<h?1:-1,t=0<k?1:-1;a.translate(e,g);1===p&&1===t||a.scale(p,t);a.rotate(this.j*p*t);e=0-this.Zb*ga(h);g=0-this.$b*ga(k);c?a.drawImage(d,b.sf,b.tf,b.width,b.height,
e,g,ga(h),ga(k)):a.drawImage(d,e,g,ga(h),ga(k));a.restore()}};b.Kb=function(a){a.gc(this.Ah);a.Qe(this.opacity);var b=this.uc,c=this.pb;if(this.b.bd){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.Ff?a.be(c.Qa+d,c.Ra+e,c.Tb+d,c.Ub+e,c.Fb+d,c.Gb+e,c.Db+d,c.Eb+e,b.ql):a.Tg(c.Qa+d,c.Ra+e,c.Tb+d,c.Ub+e,c.Fb+d,c.Gb+e,c.Db+d,c.Eb+e)}else b.Ff?a.be(c.Qa,c.Ra,c.Tb,c.Ub,c.Fb,c.Gb,c.Db,c.Eb,b.ql):a.Tg(c.Qa,c.Ra,c.Tb,c.Ub,c.Fb,c.Gb,c.Db,c.Eb)};b.Wq=function(a){var b=this.uc,c,d;c=0;for(d=b.dk.length;c<
d;c++)if(bb(a,b.dk[c][0]))return c;return-1};b.Wj=function(a,b){var c=this.uc,d=c.dk,e;e=J(a)?this.Wq(a):a-1;e=la(e);if(0>e||e>=d.length)return b?this.x:this.y;var g=(d[e][1]-c.Zb)*this.width,d=d[e][2],d=(d-c.$b)*this.height,c=Math.cos(this.j);e=Math.sin(this.j);var h=g*c-d*e,d=d*c+g*e,g=h+this.x,d=d+this.y;return b?g:d};var g=[],p=null,t=new ba,u=!1;c.finish=function(a){if(u){if(a){var b=this.b.Nb().vc.Mc;a=p.ta();var c=t.Gd(),d,e;if(a.za){a.za=!1;a.e.length=c.length;d=0;for(e=c.length;d<e;d++)a.e[d]=
c[d];if(b)for(d=a.ba.length=0,e=p.e.length;d<e;d++)c=p.e[d],t.contains(c)||a.ba.push(c)}else if(b)for(b=a.e.length,a.e.length=b+c.length,d=0,e=c.length;d<e;d++)a.e[b+d]=c[d],xa(a.ba,c[d]);else va(a.e,c);p.Md()}t.clear();u=!1}};k.prototype.Vb=function(a){if(a){var b=!1,c,d,e,h=this.b.Sj(),k=h.type,h=h.Td;c=a.ta();d=this.b.Nb().vc.Mc;var v;c.za?(this.Ba(),this.b.Tq(this.i,a,this.Ga,g),v=g):v=d?c.ba:c.e;p=a;u=k!==a&&!h;c=0;for(d=v.length;c<d;c++)if(e=v[c],this.b.Gs(this,e)){b=!0;if(h)break;k!==a&&t.add(e)}g.length=
0;a=b}else a=!1;return a};k.prototype.To=function(a){return bb(this.im,a)};k.prototype.Uo=G(!0);k.prototype.Qf=G(!0);h.d=new k;e.prototype.da=function(a){this.Pd=Ya(a);Za(this,a,this.b.m);this.b.ca=!0};h.C=new e;h.Lb=new (x())})();function hc(d){this.b=d}
(function(){function d(){return b.length?b.pop():{}}function k(a){var c,d;c=0;for(d=a.length;c<d;c++)b.push(a[c]);a.length=0}function e(){}var h=hc.prototype;h.M=function(){h.C.wp=function(a){this.width!==a&&(this.width=a,this.If=!0,this.Fa())}};h.ea=function(a){this.ua=a;this.b=a.b};var c=h.ea.prototype;c.M=x();c.si=function(){if(!this.H){var a,b,c;a=0;for(b=this.e.length;a<b;a++)c=this.e[a],c.$c=null,c.Me=null,c.cc=null}};h.W=function(a){this.type=a;this.b=a.b;this.oc?this.Zd.length=0:this.Zd=[];
this.If=!0};c=h.W.prototype;c.M=function(){this.text=this.I[0];this.visible=0===this.I[1];this.font=this.I[2];this.color=this.I[3];this.Vh=this.I[4];this.aj=this.I[5];this.Ml=0===this.I[7];this.uk=this.ii=this.width;this.gi=this.height;this.yk=this.I[8];this.Nh=this.Ze="";this.zo=this.Ao=this.Rg=0;this.es();this.cc=this.Me=this.$c=null;this.En=!1;this.tg=this.b.Dd;this.oc?this.zf.set(0,0,1,1):this.zf=new oa(0,0,1,1);this.b.u&&this.b.Jf(this)};c.es=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.Rg=parseInt(a[b].substr(0,a[b].length-2));this.cl=Math.ceil(96*(this.Rg/72))+4;0<b&&(this.Nh=a[b-1]);this.Ze=a[b+1];for(b+=2;b<a.length;b++)this.Ze+=" "+a[b];break}};c.mb=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Vh,va:this.aj,wr:this.Ml,lho:this.yk,fn:this.Ze,fs:this.Nh,ps:this.Rg,pxh:this.cl,tw:this.Ao,th:this.zo,lrt:this.tg}};c.Qb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Vh=a.ha;this.aj=a.va;this.Ml=
a.wr;this.yk=a.lho;this.Ze=a.fn;this.Nh=a.fs;this.Rg=a.ps;this.cl=a.pxh;this.Ao=a.tw;this.zo=a.th;this.tg=a.lrt;this.If=!0;this.uk=this.ii=this.width;this.gi=this.height};c.Aa=function(){if(this.b.u&&this.cc&&300<=this.b.Dd-this.tg){var a=this.i;this.Ba();var b=this.Ga;if(b.right<a.xb||b.bottom<a.zb||b.left>a.yb||b.top>a.wb)this.b.u.deleteTexture(this.cc),this.$c=this.Me=this.cc=null}};c.uf=function(){this.$c=this.Me=null;this.b.u&&this.cc&&this.b.u.deleteTexture(this.cc);this.cc=null};c.wu=function(){this.font=
this.Nh+" "+this.Rg.toString()+"pt "+this.Ze;this.If=!0;this.b.ca=!0};c.lc=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.rb(),a.save(),a.scale(c,c));if(this.If||this.width!==this.uk)this.type.ua.yp(this.text,this.Zd,a,this.width,this.Ml),this.If=!1,this.uk=this.width;this.Ba();var c=b?0:this.pb.Qa,d=b?0:this.pb.Ra;this.b.bd&&(c=c+0.5|0,d=d+0.5|0);0===this.j||b||(a.save(),a.translate(c,d),a.rotate(this.j),d=c=0);var e=
d+this.height,h=this.cl,h=h+this.yk,f,k;1===this.aj?d+=Math.max(this.height/2-this.Zd.length*h/2,0):2===this.aj&&(d+=Math.max(this.height-this.Zd.length*h-2,0));for(k=0;k<this.Zd.length&&!(f=c,1===this.Vh?f=c+(this.width-this.Zd[k].width)/2:2===this.Vh&&(f=c+(this.width-this.Zd[k].width)),a.fillText(this.Zd[k].text,f,d),d+=h,d>=e-h);k++);(0!==this.j||b)&&a.restore();this.tg=this.b.Dd};c.Kb=function(a){if(!(1>this.width||1>this.height)){var b=this.If||this.En;this.En=!1;var c=this.i.rb(),d=this.i.Mb(),
e=this.zf,h=c*this.width,f=c*this.height,k=Math.ceil(h),q=Math.ceil(f),l=this.b.R/2,A=this.b.P/2;this.Me||(this.$c=document.createElement("canvas"),this.$c.width=k,this.$c.height=q,this.ii=k,this.gi=q,b=!0,this.Me=this.$c.getContext("2d"));if(k!==this.ii||q!==this.gi)this.$c.width=k,this.$c.height=q,this.cc&&(a.deleteTexture(this.cc),this.cc=null),b=!0;b&&(this.Me.clearRect(0,0,k,q),this.lc(this.Me,!0),this.cc||(this.cc=a.nd(k,q,this.b.$,this.b.Vd)),a.Ss(this.$c,this.cc,this.b.Vd));this.ii=k;this.gi=
q;a.gc(this.cc);a.Qe(this.opacity);a.cd();a.translate(-l,-A);a.hd();var v=this.pb,K=this.b.devicePixelRatio;this.b.devicePixelRatio=1;var b=this.i.na(v.Qa,v.Ra,!0,!0),l=this.i.na(v.Qa,v.Ra,!1,!0),A=this.i.na(v.Tb,v.Ub,!0,!0),F=this.i.na(v.Tb,v.Ub,!1,!0),P=this.i.na(v.Fb,v.Gb,!0,!0),O=this.i.na(v.Fb,v.Gb,!1,!0),I=this.i.na(v.Db,v.Eb,!0,!0),v=this.i.na(v.Db,v.Eb,!1,!0);this.b.devicePixelRatio=K;if(this.b.bd||0===this.j&&0===d)var K=(b+0.5|0)-b,w=(l+0.5|0)-l,b=b+K,l=l+w,A=A+K,F=F+w,P=P+K,O=O+w,I=I+K,
v=v+w;0===this.j&&0===d?(A=b+k,F=l,P=A,O=l+q,I=b,v=O,e.right=1,e.bottom=1):(e.right=h/k,e.bottom=f/q);a.be(b,l,A,F,P,O,I,v,e);a.cd();a.scale(c,c);a.il(-this.i.Mb());a.translate((this.i.xb+this.i.yb)/-2,(this.i.zb+this.i.wb)/-2);a.hd();this.tg=this.b.Dd}};var a=[];h.xp=function(b){a.length=0;for(var c="",d,e=0;e<b.length;)if(d=b.charAt(e),"\n"===d)c.length&&(a.push(c),c=""),a.push("\n"),++e;else if(" "===d||"\t"===d||"-"===d){do c+=b.charAt(e),e++;while(e<b.length&&(" "===b.charAt(e)||"\t"===b.charAt(e)));
a.push(c);c=""}else e<b.length&&(c+=d,e++);c.length&&a.push(c)};var b=[];h.yp=function(a,b,c,e,h){if(a&&a.length)if(2>=e)k(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var n=c.measureText(a).width;if(n<=e){k(b);b.push(d());b[0].text=a;b[0].width=n;return}}this.zp(a,b,c,e,h)}else k(b)};h.zp=function(c,e,h,k,m){m&&(this.xp(c),c=a);var n="",f,s,q,l=0;for(q=0;q<c.length;q++)"\n"===c[q]?(l>=e.length&&e.push(d()),s=e[l],s.text=n,s.width=h.measureText(n).width,l++,n=""):(f=n,n+=c[q],s=h.measureText(n).width,
s>=k&&(l>=e.length&&e.push(d()),s=e[l],s.text=f,s.width=h.measureText(f).width,l++,n=c[q],m||" "!==n||(n="")));n.length&&(l>=e.length&&e.push(d()),s=e[l],s.text=n,s.width=h.measureText(n).width,l++);for(q=l;q<e.length;q++)b.push(e[q]);e.length=l};h.d=new (x());e.prototype.da=function(a){this.Pd=Ya(a);Za(this,a,this.b.m);this.b.ca=!0};h.C=new e;h.Lb=new (x())})();function ic(d){this.b=d}
(function(){function d(a){g=a.x;p=a.y;t=a.z}function k(a){u=a.x;m=a.y;n=a.z}function e(){}function h(){}var c=ic.prototype;c.ea=function(a){this.ua=a;this.b=a.b};c.ea.prototype.M=x();c.W=function(a){this.type=a;this.b=a.b;this.touches=[];this.Ik=!1};var a=c.W.prototype,b={left:0,top:0};a.Yf=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var g=0,p=0,t=0,u=0,m=0,n=0;a.M=function(){this.Mr=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);
this.me=this.Aj=this.zj=this.cm=this.am=this.$l=this.Dp=this.Cp=this.Bp=this.Ng=this.Mg=this.Lg=0;this.Qs=0!==this.I[0];var a=0<this.b.qb?document:this.b.canvas,b=document;this.b.lb?b=a=window.Canvas:this.b.Ac&&(b=a=window);var c=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){c.Kg(a)},!1),a.addEventListener("pointermove",function(a){c.Jg(a)},!1),b.addEventListener("pointerup",function(a){c.Ad(a)},!1),b.addEventListener("pointercancel",function(a){c.Ad(a)},!1),this.b.canvas&&
(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.b.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",function(a){a.preventDefault()},!1))):window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.Kg(a)},!1),a.addEventListener("MSPointerMove",function(a){c.Jg(a)},!1),b.addEventListener("MSPointerUp",
function(a){c.Ad(a)},!1),b.addEventListener("MSPointerCancel",function(a){c.Ad(a)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){c.vi(a)},!1),a.addEventListener("touchmove",function(a){c.ti(a)},!1),b.addEventListener("touchend",function(a){c.vf(a)},!1),b.addEventListener("touchcancel",function(a){c.vf(a)},!1));if(this.Mr){var e=
function(a){a=a.reading;c.$l=a.accelerationX;c.am=a.accelerationY;c.cm=a.accelerationZ},g=function(a){a=a.reading;c.Lg=a.yawDegrees;c.Mg=a.pitchDegrees;c.Ng=a.rollDegrees},h=Windows.Devices.Sensors.Accelerometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",e));var m=Windows.Devices.Sensors.Inclinometer.getDefault();m&&(m.reportInterval=Math.max(m.minimumReportInterval,16),m.addEventListener("readingchanged",g));document.addEventListener("visibilitychange",
function(){document.hidden||document.msHidden?(h&&h.removeEventListener("readingchanged",e),m&&m.removeEventListener("readingchanged",g)):(h&&h.addEventListener("readingchanged",e),m&&m.addEventListener("readingchanged",g))},!1)}else window.addEventListener("deviceorientation",function(a){c.Lg=a.alpha||0;c.Mg=a.beta||0;c.Ng=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Bp=a.accelerationIncludingGravity.x,c.Cp=a.accelerationIncludingGravity.y,
c.Dp=a.accelerationIncludingGravity.z);a.acceleration&&(c.$l=a.acceleration.x,c.am=a.acceleration.y,c.cm=a.acceleration.z)},!1);this.Qs&&!this.b.qa&&(jQuery(document).mousemove(function(a){c.Hg(a)}),jQuery(document).mousedown(function(a){c.Gg(a)}),jQuery(document).mouseup(function(a){c.Ig(a)}));this.b.ef&&!this.b.lb&&AppMobi.accelerometer.watchAcceleration(d,{frequency:40,adjustForRotation:!0});this.b.ff&&navigator.accelerometer.watchAcceleration(k,null,{frequency:40});this.b.Hs(this)};a.Jg=function(a){if(a.pointerType!==
a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.Yf(a.pointerId),d=Ta();if(0<=c){var e=this.b.qa?b:jQuery(this.b.canvas).offset(),c=this.touches[c];2>d-c.time||(c.hi=c.time,c.vk=c.x,c.wk=c.y,c.time=d,c.x=a.pageX-e.left,c.y=a.pageY-e.top)}}};a.Kg=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.b.qa?b:jQuery(this.b.canvas).offset(),d=a.pageX-c.left,c=a.pageY-c.top,e=Ta();this.me=
this.touches.length;this.touches.push({time:e,x:d,y:c,hi:e,vk:d,wk:c,id:a.pointerId,ul:this.me});this.b.ma=!0;this.b.trigger(ic.prototype.d.Tl,this);this.b.trigger(ic.prototype.d.Wl,this);this.zj=d;this.Aj=c;this.b.trigger(ic.prototype.d.ij,this);this.b.ma=!1}};a.Ad=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),a=this.Yf(a.pointerId),this.me=0<=a?this.touches[a].ul:-1,this.b.ma=!0,this.b.trigger(ic.prototype.d.Sl,this),this.b.trigger(ic.prototype.d.Vl,
this),this.b.ma=!1,0<=a&&this.touches.splice(a,1))};a.ti=function(a){a.preventDefault&&a.preventDefault();var c=Ta(),d,e,g,h;d=0;for(e=a.changedTouches.length;d<e;d++)if(g=a.changedTouches[d],h=this.Yf(g.identifier),0<=h){var k=this.b.qa?b:jQuery(this.b.canvas).offset();h=this.touches[h];2>c-h.time||(h.hi=h.time,h.vk=h.x,h.wk=h.y,h.time=c,h.x=g.pageX-k.left,h.y=g.pageY-k.top)}};a.vi=function(a){a.preventDefault&&a.preventDefault();var c=this.b.qa?b:jQuery(this.b.canvas).offset(),d=Ta();this.b.ma=
!0;var e,g,h,k;e=0;for(g=a.changedTouches.length;e<g;e++)if(h=a.changedTouches[e],k=this.Yf(h.identifier),-1===k){k=h.pageX-c.left;var m=h.pageY-c.top;this.me=this.touches.length;this.touches.push({time:d,x:k,y:m,hi:d,vk:k,wk:m,id:h.identifier,ul:this.me});this.b.trigger(ic.prototype.d.Tl,this);this.b.trigger(ic.prototype.d.Wl,this);this.zj=k;this.Aj=m;this.b.trigger(ic.prototype.d.ij,this)}this.b.ma=!1};a.vf=function(a){a.preventDefault&&a.preventDefault();this.b.ma=!0;var b,c,d;b=0;for(c=a.changedTouches.length;b<
c;b++)d=a.changedTouches[b],d=this.Yf(d.identifier),0<=d&&(this.me=this.touches[d].ul,this.b.trigger(ic.prototype.d.Sl,this),this.b.trigger(ic.prototype.d.Vl,this),this.touches.splice(d,1));this.b.ma=!1};a.hu=function(){return this.b.ef&&0===this.Lg&&0!==t?90*t:this.b.ff&&0===this.Lg&&0!==n?90*n:this.Lg};a.iu=function(){return this.b.ef&&0===this.Mg&&0!==p?-90*p:this.b.ff&&0===this.Mg&&0!==m?-90*m:this.Mg};a.ku=function(){return this.b.ef&&0===this.Ng&&0!==g?90*g:this.b.ff&&0===this.Ng&&0!==u?90*
u:this.Ng};a.Gg=function(a){a.preventDefault&&this.b.Be&&a.preventDefault();this.vi({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Ik=!0};a.Hg=function(a){a.preventDefault&&this.b.Be&&a.preventDefault();this.Ik&&this.ti({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.Ig=function(a){a.preventDefault&&this.b.Be&&a.preventDefault();this.b.Be=!0;this.vf({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Ik=!1};a.Ti=function(){var a,b,c,d=Ta();a=
0;for(b=this.touches.length;a<b;a++)c=this.touches[a],c.time<=d-50&&(c.hi=d)};e.prototype.Wl=G(!0);e.prototype.Vl=G(!0);e.prototype.ij=function(a){return a?this.b.xl(a,this.zj,this.Aj,!1):!1};e.prototype.Tl=function(a){a=Math.floor(a);return a===this.me};e.prototype.Sl=function(a){a=Math.floor(a);return a===this.me};c.d=new e;h.prototype.Yl=function(a,b){if(this.touches.length){var c,d,e,g,h;ca(b)?(c=this.b.sd(0),d=c.scale,e=c.ob,g=c.Rb,h=c.j,c.scale=this.b.Y.scale,c.ob=1,c.Rb=1,c.j=this.b.Y.j,a.B(c.Ha(this.touches[0].x,
this.touches[0].y,!0)),c.scale=d,c.ob=e,c.Rb=g,c.j=h):(c=da(b)?this.b.sd(b):this.b.$f(b))?a.B(c.Ha(this.touches[0].x,this.touches[0].y,!0)):a.B(0)}else a.B(0)};h.prototype.Zl=function(a,b){if(this.touches.length){var c,d,e,g,h;ca(b)?(c=this.b.sd(0),d=c.scale,e=c.ob,g=c.Sb,h=c.j,c.scale=this.b.Y.scale,c.ob=1,c.Sb=1,c.j=this.b.Y.j,a.B(c.Ha(this.touches[0].x,this.touches[0].y,!1)),c.scale=d,c.ob=e,c.Sb=g,c.j=h):(c=da(b)?this.b.sd(b):this.b.$f(b))?a.B(c.Ha(this.touches[0].x,this.touches[0].y,!1)):a.B(0)}else a.B(0)};
c.Lb=new h})();function jc(d){this.b=d}
(function(){function d(){}var k=jc.prototype;k.ea=function(a){this.ua=a;this.b=a.b};k.ea.prototype.M=x();k.W=function(a){this.type=a;this.b=a.b};var e=k.W.prototype,h="",c="undefined"!==typeof window.is_scirra_arcade;c&&(h="arcade"+window.scirra_arcade_id);e.M=x();k.d=new (x());k.C=new (x());d.prototype.Nl=function(a){var b={},d,e,k;d=0;for(e=localStorage.length;d<e;d++)k=localStorage.key(d),c?k.substr(0,h.length)===h&&(b[k.substr(h.length)]=localStorage.getItem(k)):b[k]=localStorage.getItem(k);a.pc(JSON.stringify({c2dictionary:!0,
data:b}))};k.Lb=new d})();function kc(d){this.b=d}
(function(){function d(a,b){return b?4<=a?-1:a+u:16<=a?-1:a}function k(c){g[c.gamepad.index]=c.gamepad;a.trigger(kc.prototype.d.ep,b)}function e(c){a.trigger(kc.prototype.d.fp,b);g[c.gamepad.index]=null}function h(){}var c=kc.prototype;c.ea=function(a){this.ua=a;this.b=a.b};c.ea.prototype.M=x();var a=null,b=null,g=Array(16),p="",t="",u=16,m=null,n={windows:{}};n.windows.firefox={};var f=[0,1,2,3,4,5,8,9,10,11],s=[0,1,[7,6],2,3,[14,15],[12,13]];n.windows.firefox.xbox360=function(a,b){return b?a>=s.length?
-1:da(s[a])?s[a]+u:s[a]:a>=f.length?-1:f[a]};var q=[2,0,1,3,4,6,5,7,8,9],l=[0,1,2,3,[14,15],[12,13]];n.windows.firefox.logitechdualaction=function(a,b){return b?a>=l.length?-1:da(l[a])?l[a]+u:l[a]:a>=q.length?-1:q[a]};c.W=function(c){this.type=c;a=this.b=c.b;b=this};var A=c.W.prototype;A.M=function(){this.sk=0;var a=navigator.userAgent;p="windows";/mac/i.test(a)&&(p="mac");m=n[p];t="chrome";/firefox/i.test(a)&&(t="firefox");m&&(m=m[t]);window.addEventListener("webkitgamepadconnected",k,!1);window.addEventListener("webkitgamepaddisconnected",
e,!1);window.addEventListener("MozGamepadConnected",k,!1);window.addEventListener("MozGamepadDisconnected",e,!1);window.addEventListener("gamepadconnected",k,!1);window.addEventListener("gamepaddisconnected",e,!1);this.b.Jf(this);this.em=[]};A.Aa=function(){this.em.length=0;var a=null;if(a=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():navigator.mozGetGamepads?navigator.mozGetGamepads():navigator.gamepads||navigator.webkitGamepads||navigator.MozGamepads||
g){var b,c,e,f,h,k,l;b=0;for(c=a.length;b<c;b++){var n=a[b];if(n){if(n.md)for(e=0;20>e;e++)n.sj[e]=n.md[e];else for(n.md=Array(20),n.sj=Array(20),e=0;20>e;e++)n.sj[e]=0;m?(e="",f=n.id.toLowerCase(),-1<f.indexOf("xbox 360")?e="xbox360":-1<f.indexOf("logitech dual action")&&(e="logitechdualaction"),h=m[e]||d):h=d;e=0;for(f=n.buttons.length;e<f;e++)l=n.buttons[e],k=h(e,!1,l),0<=k&&20>k&&(n.md[k]=100*l,50<=n.md[k]&&50>n.sj[k]&&(this.sk=k));e=0;for(f=n.axes.length;e<f;e++)l=n.axes[e],k=h(e,!0,l),da(k)?
0<=k&&20>k&&(n.md[k]=100*l):(n.md[k[0]]=0,n.md[k[1]]=0,0>=l?n.md[k[0]]=Math.abs(100*l):n.md[k[1]]=Math.abs(100*l));this.em.push(n)}}}};A.mb=function(){return{lastButton:this.sk}};A.Qb=function(a){this.sk=a.lastButton};h.prototype.ep=G(!0);h.prototype.fp=G(!0);c.d=new h;c.C=new (x());c.Lb=new (x())})();
function X(d){this.b=d;var k=this;this.b.qa||(jQuery(document).mousemove(function(d){k.Hg(d)}),jQuery(document).mousedown(function(d){k.Gg(d)}),jQuery(document).mouseup(function(d){k.Ig(d)}));d=0<this.b.qb?document:this.b.canvas;this.b.lb?d=window.Canvas:this.b.Ac&&(d=window);window.navigator.pointerEnabled?(d.addEventListener("pointerdown",function(d){k.Kg(d)},!1),d.addEventListener("pointermove",function(d){k.Jg(d)},!1),d.addEventListener("pointerup",function(d){k.Ad(d)},!1),d.addEventListener("pointercancel",
function(d){k.Ad(d)},!1)):window.navigator.msPointerEnabled?(d.addEventListener("MSPointerDown",function(d){k.Kg(d)},!1),d.addEventListener("MSPointerMove",function(d){k.Jg(d)},!1),d.addEventListener("MSPointerUp",function(d){k.Ad(d)},!1),d.addEventListener("MSPointerCancel",function(d){k.Ad(d)},!1)):(d.addEventListener("touchstart",function(d){k.vi(d)},!1),d.addEventListener("touchmove",function(d){k.ti(d)},!1),d.addEventListener("touchend",function(d){k.vf(d)},!1),d.addEventListener("touchcancel",
function(d){k.vf(d)},!1))}
(function(){function d(a){var b,c;b=0;for(c=a.K.length;b<c;b++)if(a.K[b]instanceof e.W)return a.K[b];return null}function k(){}var e=X.prototype,h={left:0,top:0};e.Gg=function(a){1===a.which&&this.Ok("leftmouse",a.pageX,a.pageY)};e.Hg=function(a){1===a.which&&this.Pk("leftmouse",a.pageX,a.pageY)};e.Ig=function(a){1===a.which&&this.Qk("leftmouse")};e.vi=function(a){a.preventDefault&&a.preventDefault();var b,c,d,e;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],e=d.identifier,this.Ok(e?
e.toString():"<none>",d.pageX,d.pageY)};e.ti=function(a){a.preventDefault&&a.preventDefault();var b,c,d,e;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],e=d.identifier,this.Pk(e?e.toString():"<none>",d.pageX,d.pageY)};e.vf=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=d.identifier,this.Qk(d?d.toString():"<none>")};e.Kg=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&
a.preventDefault(),this.Ok(a.pointerId.toString(),a.pageX,a.pageY))};e.Jg=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),this.Pk(a.pointerId.toString(),a.pageX,a.pageY))};e.Ad=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),this.Qk(a.pointerId.toString()))};e.Ok=function(a,b,c){var e=this.b.qa?h:jQuery(this.b.canvas).offset();b-=e.left;c-=e.top;var k,u,m,n,e=this.qf.Gd(),
f,s,q,l=null;f=0;for(s=e.length;f<s;f++)if(q=e[f],k=d(q),k.enabled&&!k.ve&&(k=q.i.Ha(b,c,!0),u=q.i.Ha(b,c,!1),q.Ba(),q.Jb(k,u)))l?q.i.index>l.i.index?(l=q,m=k,n=u):q.i.index===l.i.index&&q.Ob()>l.Ob()&&(l=q,m=k,n=u):(l=q,m=k,n=u);l&&d(l).Wr(a,m,n)};e.Pk=function(a,b,c){var e=this.b.qa?h:jQuery(this.b.canvas).offset();b-=e.left;c-=e.top;var k,u=this.qf.Gd(),m,n,f;m=0;for(n=u.length;m<n;m++)k=u[m],f=d(k),!f.enabled||!f.ve||f.ve&&f.Ej!==a||(e=k.i.Ha(b,c,!0),k=k.i.Ha(b,c,!1),f.$r(e,k))};e.Qk=function(a){var b=
this.qf.Gd(),c,e,h;c=0;for(e=b.length;c<e;c++)h=b[c],h=d(h),h.ve&&h.Ej===a&&h.cs()};e.ea=function(a){this.Bb=a;this.b=a.b};e.ea.prototype.M=x();e.W=function(a,b){this.type=a;this.Bb=a.Bb;this.N=b;this.b=a.b};var c=e.W.prototype;c.M=function(){this.ve=!1;this.zm=this.ym=0;this.Ej="<none>";this.oj=this.I[0];this.enabled=0!==this.I[1]};c.mb=function(){return{enabled:this.enabled}};c.Qb=function(a){this.enabled=a.enabled;this.ve=!1};c.Wr=function(a,b,c){this.ym=b-this.N.x;this.zm=c-this.N.y;this.ve=!0;
this.Ej=a;this.b.ma=!0;this.b.trigger(X.prototype.d.cp,this.N);this.b.ma=!1};c.$r=function(a,b){var c=a-this.ym,d=b-this.zm;if(0===this.oj){if(this.N.x!==c||this.N.y!==d)this.N.x=c,this.N.y=d,this.N.Fa()}else 1===this.oj?this.N.x!==c&&(this.N.x=c,this.N.Fa()):2===this.oj&&this.N.y!==d&&(this.N.y=d,this.N.Fa())};c.cs=function(){this.ve=!1;this.b.ma=!0;this.b.trigger(X.prototype.d.dp,this.N);this.b.ma=!1};c.Aa=x();k.prototype.cp=G(!0);k.prototype.dp=G(!0);e.d=new k;e.C=new (x());e.Lb=new (x())})();
function Y(d){this.b=d}
(function(){var d=Y.prototype;d.ea=function(d){this.Bb=d;this.b=d.b};d.ea.prototype.M=x();d.W=function(d,e){this.type=d;this.Bb=d.Bb;this.N=e;this.b=d.b;this.mode=0};d=d.W.prototype;d.M=function(){this.mode=this.I[0]};d.Aa=x();d.Ti=function(){this.N.Ba();var d=this.N.Ga,e=this.N.i.pa,h=!1;0===this.mode?(0>this.N.x&&(this.N.x=0,h=!0),0>this.N.y&&(this.N.y=0,h=!0),this.N.x>e.width&&(this.N.x=e.width,h=!0),this.N.y>e.height&&(this.N.y=e.height,h=!0)):(0>d.left&&(this.N.x-=d.left,h=!0),0>d.top&&(this.N.y-=
d.top,h=!0),d.right>e.width&&(this.N.x-=d.right-e.width,h=!0),d.bottom>e.height&&(this.N.y-=d.bottom-e.height,h=!0));h&&this.N.Fa()}})();function Z(d){this.b=d}(function(){var d=Z.prototype;d.ea=function(d){this.Bb=d;this.b=d.b};d.ea.prototype.M=x();d.W=function(d,h){this.type=d;this.Bb=d.Bb;this.N=h;this.b=d.b};var k=d.W.prototype;k.M=function(){this.N.Ea.tu=0!==this.I[0]};k.Aa=x();d.d=new (x());d.C=new (x())})();
function bc(){return[null,null,[[cc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[dc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[ec,!1,!0,!0,!0,!1,!1,!1,!1,!1],[kc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[fc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[V,!0,!1,!1,!1,!1,!1,!1,!1,!1],[gc,!1,!0,!0,!1,!0,!0,!0,!0,!0],[W,!1,!0,!0,!0,!0,!0,!0,!0,!1],[hc,!1,!0,!0,!0,!0,!0,!0,!0,!1],[ic,!0,!1,!1,!1,!1,!1,!1,!1,!1],[jc,!0,!1,!1,!1,!1,!1,!1,!1,!1]],[["t0",fc,!1,[],0,0,null,null,[],!1,!1,4787195834710922,[],null,[]],["t1",kc,!1,[],0,0,null,null,[],!1,!1,9759805953199822,
[],null,[25]],["t2",ic,!1,[],0,0,null,null,[],!1,!1,7320566297413672,[],null,[1]],["t3",cc,!1,[],0,0,null,null,[],!1,!1,894081990155546,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t4",dc,!1,[],0,0,null,null,[],!1,!1,0xf39b386a34189,[],null,[]],["t5",jc,!1,[],0,0,null,null,[],!1,!1,9816425187912760,[],null,[]],["t6",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,6407586903465468,[["images/statue3-sheet0.png",55356,0,0,236,507,1,0.5,0.5088757276535034,[],[],0]]]],[["Solid",Z,829918199961001],["DragDrop",X,4575829170389449],
["BoundToLayout",Y,0x953bf010283ac]],!1,!1,916193288443282,[],null],["t7",gc,!1,[],0,0,["images/particles.png",168,3],null,[],!1,!1,0x8ffc714c0edc6,[],null],["t8",W,!1,[0xdcdc20a65300b],3,0,null,[["Comic",1,!1,0,0,!1,8778692614991834,[["images/statue6-sheet0.png",31975,0,0,171,549,1,0.5146198868751526,0.500910758972168,[],[-0.0994148850440979,-0.3715847730636597,-0.01754388213157654,-0.4772313535213471,0.1929821372032166,-0.4098360538482666,0.3157891035079956,-0.001821756362915039,0.2163740992546082,
0.4153002500534058,-0.01754388213157654,0.1730422377586365,-0.2631578743457794,0.420765221118927,-0.2923978865146637,-0.001821756362915039],0]]]],[["Solid",Z,0x6192e29d80e32],["BoundToLayout",Y,0xf3f1f5f0ee100],["DragDrop",X,0xdd57e56ea8645]],!1,!1,8325957634444367,[],null],["t9",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,579647034189415,[["images/statue2-sheet0.png",33360,0,0,158,578,1,0.5,0.5,[],[-0.2341769933700562,-0.4273355901241303,0,-0.4930795729160309,0.1265820264816284,-0.39792400598526,0.462024986743927,
0,0.2278479933738709,0.4256060123443604,0,0.439445972442627,-0.2151899933815002,0.4221450090408325,-0.4746834933757782,0],0]]]],[["Solid",Z,7805800481090485],["BoundToLayout",Y,0x81066c5fac225],["DragDrop",X,0xb62412ea1ef1]],!1,!1,0x3905cf42ae0cb,[],null],["t10",W,!1,[4823446060769124],3,0,null,[["Comic",5,!1,1,0,!1,6364369793954237,[["images/statue1-sheet0.png",20901,0,0,118,419,1,0.5,0.5011933445930481,[],[-0.1440680027008057,-0.4009543359279633,0,-0.49164679646492,0.1864410042762756,-0.412887841463089,
0.3728809952735901,-0.002386331558227539,0.4491530060768127,0.4844866394996643,-0.4152542054653168,0.4749406576156616,-0.3305079936981201,-0.002386331558227539],0]]]],[["Solid",Z,0x8097b3e6840f6],["BoundToLayout",Y,0x6a16d5770b0b4],["DragDrop",X,670008591312062]],!1,!1,4624478702758373,[],null],["t11",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,0x3dda309e5b945,[["images/statue8-sheet0.png",125391,0,0,595,587,1,0.5042017102241516,0.5059625506401062,[],[-0.4689075946807861,-0.4701874554157257,-0.005041718482971191,
-0.5025554299354553,0.2672272920608521,-0.274275541305542,0.4638652801513672,-0.006814539432525635,0.3949583172798157,0.3918224573135376,-0.005041718482971191,0.4940374493598938,-0.1008407175540924,-0.006814539432525635],0]]]],[["Solid",Z,0xf1de1251d5137],["BoundToLayout",Y,6072859293575587],["DragDrop",X,7090671140328885]],!1,!1,6322501089417467,[],null],["t12",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,5292335784248234,[["images/statue9-sheet0.png",63363,0,0,278,471,1,0.5035971403121948,0.5095541477203369,
[],[-0.2014391422271729,-0.3312101364135742,-0.003597140312194824,-0.4713375568389893,0.3597118854522705,-0.4288747310638428,0.4244608879089356,-0.01061615347862244,0.3920858502388001,0.4288748502731323,-0.003597140312194824,0.4670908451080322,-0.3525181412696838,0.4012738466262817,-0.3093521595001221,-0.01061615347862244],0]]]],[["Solid",Z,0x81c7094761e64],["BoundToLayout",Y,6409702287888747],["DragDrop",X,8289674130359555]],!1,!1,5385930471033154,[],null],["t13",W,!1,[],3,0,null,[["Default",5,!1,
1,0,!1,4948751356114969,[["images/trigono-sheet0.png",7031,0,0,84,82,1,0.5,0.5,[],[],1]]]],[["Solid",Z,5435053436465587],["BoundToLayout",Y,6630300463435678],["DragDrop",X,9761074235150684]],!1,!1,0x8ed2152e4a375,[],null],["t14",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,4542201985027845,[["images/tympano-sheet0.png",21306,1,1,141,100,1,0.5035461187362671,0.5099999904632568,[],[-0.3049641251564026,-0.2299999892711639,-0.007092118263244629,-0.3499999940395355,0.3120568990707398,-0.25,0.375886857509613,
-0.009999990463256836,0.3404259085655212,0.2699999809265137,-0.007092118263244629,0.4700000286102295,-0.3829791247844696,0.3199999928474426,-0.3900711238384247,-0.009999990463256836],0]]],["Realistic",5,!1,1,0,!1,5852577134425548,[["images/tympano-sheet0.png",21306,1,102,141,100,1,0.5035461187362671,0.5,[],[-0.326241135597229,-0.25,-0.007092118263244629,-0.3700000047683716,0.375886857509613,-0.3299999833106995,0.4609928727149963,0,0.3404259085655212,0.2799999713897705,-0.007092118263244629,0.4700000286102295,
-0.3829791247844696,0.3299999833106995,-0.4609929323196411,0],0]]]],[["Solid",Z,9431591891356596],["BoundToLayout",Y,0x910d70a7d0ef7],["DragDrop",X,0x4924d933d437a]],!1,!1,7328459656626094,[],null],["t15",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,5773373109128013,[["images/statue7-sheet0.png",291039,0,0,385,572,1,0.501298725605011,0.5,[],[],0]]]],[["Solid",Z,0x3aaee7a9f1e57],["BoundToLayout",Y,0x3d2f97cacc481],["DragDrop",X,0xa020bfb43a0a2]],!1,!1,0x6cbd85340856f,[],null],["t16",W,!1,[],3,0,null,[["Comic",
5,!1,1,0,!1,7043724090809917,[["images/statue4-sheet0.png",97938,0,0,466,599,1,0.5021459460258484,0.5091819763183594,[],[-0.2038629353046417,-0.4006679654121399,-0.002145946025848389,-0.4774624705314636,0.1802570819854736,-0.2621039748191834,0.2746780514717102,-0.01001697778701782,0.4399140477180481,0.1886480450630188,-0.002145946025848389,0.4908180236816406,-0.4721030592918396,0.4674460291862488,-0.4248927533626556,0.07679504156112671],0]]]],[["Solid",Z,6203974309425053],["BoundToLayout",Y,6714891745145534],
["DragDrop",X,0xd64f72fbccac8]],!1,!1,0x7eee762688be6,[],null],["t17",W,!1,[0x9f8b10ae8bfdc],3,0,null,[["Comic",5,!1,1,0,!1,0xb0aeb49b3d8e4,[["images/statue5-sheet0.png",25839,0,0,130,426,1,0.5,0.5234741568565369,[],[-0.1538459956645966,-0.4178401529788971,0,-0.4859154522418976,0.1769229769706726,-0.4248825609683991,0.3769230246543884,0.4389668703079224,0,0.4600938558578491,-0.4461537897586823,0.4600938558578491,-0.4000000059604645,-0.02347415685653687],0]]]],[["Solid",Z,0xaa32e0f7e4e8b],["BoundToLayout",
Y,785193266747405],["DragDrop",X,0xadfd06e33859a]],!1,!1,0xfe388f19ae600,[],null],["t18",W,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9749873436701740,[["images/archaic_frame-sheet0.png",8385,0,0,323,400,1,0.504643976688385,0.5,[],[-0.4798761904239655,-0.4799999892711639,0.4767799973487854,-0.4850000143051148,0.495356023311615,0,0.4798760414123535,0.4874999523162842,-0.00619196891784668,0.4599999785423279,-0.4891640841960907,0.4874999523162842],0]]]],[],!1,!1,8982119856643661,[],null],["t19",W,!1,[],
0,0,null,[["Default",5,!1,1,0,!1,9206237231088326,[["images/archaic_frame-sheet0.png",8385,0,0,323,400,1,0.504643976688385,0.5,[],[-0.4798761904239655,-0.4799999892711639,0.4767799973487854,-0.4850000143051148,0.495356023311615,0,0.4798760414123535,0.4874999523162842,-0.00619196891784668,0.4599999785423279,-0.4891640841960907,0.4874999523162842],0]]]],[],!1,!1,0x5e42d6103e6c8,[],null],["t20",ec,!1,[],0,0,null,null,[],!1,!1,7901930255186771,[],null],["t21",W,!1,[],0,0,null,[["Default",5,!1,1,0,!1,
5972597527971801,[["images/bg-sheet0.png",1905,0,0,900,700,1,0.5,0.5,[],[],1]]]],[],!1,!1,7044328811108535,[],null],["t22",W,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8360045090577918,[["images/sprite-sheet0.png",3068,0,0,96,82,1,0.5,0.5,[],[-0.21875,-0.1707319915294647,0,-0.2804880142211914,0.1145830154418945,-0.04878100752830505,0.2708330154418945,0,0.1770830154418945,0.1219509840011597,0,0.3902440071105957,-0.3854169845581055,0.365854024887085,-0.2916669845581055,0],0],["images/sprite-sheet1.png",
1628,0,0,96,82,1,0.5,0.5,[],[-0.2291670143604279,-0.1829270124435425,0,-0.2195119857788086,0.375,-0.3536590039730072,0.125,0,0.28125,0.2439020276069641,0,0.1829270124435425,-0.3229169845581055,0.2926830053329468,-0.4791666865348816,0],0]]]],[],!1,!1,5294219847857286,[],null],["t23",V,!1,[],0,0,null,null,[],!1,!1,6848302393419447,[],null,[]],["t24",hc,!1,[],0,0,null,null,[],!1,!1,6356661945689791,[],null],["t25",hc,!1,[],0,0,null,null,[],!1,!1,0xe06b393fde00a,[],null],["t26",hc,!1,[],0,0,null,null,
[],!1,!1,6731630737982142,[],null],["t27",hc,!1,[],0,0,null,null,[],!1,!1,0xd0893e5335daf,[],null],["t28",hc,!1,[],0,0,null,null,[],!1,!1,5069212911548707,[],null],["t29",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,7507902041903304,[["images/statue10-sheet0.png",26269,0,0,230,395,1,0.5043478012084961,0.5088607668876648,[],[-0.4304347932338715,-0.4658227562904358,0.152174174785614,-0.3088607788085938,0.2739132046699524,-0.01012676954269409,0.1000002026557922,0.2607592344284058,-0.004347801208496094,0.4886072278022766,
-0.3739128112792969,0.4151902198791504,-0.3434777855873108,-0.01012676954269409],0]]]],[["Solid",Z,4719667377171236],["BoundToLayout",Y,5568845482927786],["DragDrop",X,6460607610574348]],!1,!1,0x69ba580595da8,[],null],["t30",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,0xd01b0129f5173,[["images/statue11-sheet0.png",58914,0,0,265,531,1,0.505660355091095,0.508474588394165,[],[-0.1924523413181305,-0.3521655797958374,-0.007547348737716675,-0.5047081112861633,0.1811316609382629,-0.3521655797958374,0.4716986417770386,
-0.009416580200195312,0.3849056363105774,0.436911404132843,-0.007547348737716675,0.4858754277229309,-0.2905663549900055,0.3841804265975952,-0.2716983556747437,-0.009416580200195312],0]]]],[["Solid",Z,4989908221472548],["BoundToLayout",Y,9774976090282212],["DragDrop",X,0xcd2b81698f313]],!1,!1,6336621188404754,[],null],["t31",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,31490436364445,[["images/statue12-sheet0.png",78215,0,0,452,599,1,0.5066371560096741,0.5091819763183594,[],[-0.2809731364250183,-0.3388979732990265,
-0.006637156009674072,-0.4290483593940735,0.2676988244056702,-0.3388979732990265,0.3318588137626648,-0.01001697778701782,0.227875828742981,0.2904840111732483,-0.006637156009674072,0.3622699975967407,-0.1991151571273804,0.2587650418281555,-0.353982150554657,-0.01001697778701782],0]]]],[["Solid",Z,4584903298775154],["BoundToLayout",Y,8036621373885657],["DragDrop",X,8788243360016265]],!1,!1,8257200211248001,[],null],["t32",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,4894661467640266,[["images/statue13-sheet0.png",
49428,0,0,301,575,1,0.5049833655357361,0.5095652341842651,[],[-0.1196013689041138,-0.3078262209892273,-0.006644368171691895,-0.3460872173309326,0.2225916385650635,-0.3669562339782715,0.448504626750946,-0.01043522357940674,0.4252496361732483,0.4539127945899963,-0.006644368171691895,0.4799997806549072,-0.05980035662651062,0.2573917508125305,-0.06312337517738342,-0.01043522357940674],0]]]],[["Solid",Z,8942315599624979],["BoundToLayout",Y,737085017712514],["DragDrop",X,4666337839703084]],!1,!1,0xaa061b759ca31,
[],null],["t33",W,!1,[],3,0,null,[["Comic",5,!1,1,0,!1,891022983125338,[["images/statue14-sheet0.png",29461,0,0,215,378,1,0.5069767236709595,0.5105820298194885,[],[-0.09767472743988037,-0.2777780294418335,-0.009302735328674316,-0.3888890147209168,0.2372092604637146,-0.3650790452957153,0.3581392765045166,-0.01058202981948853,0.2744182944297791,0.3650789856910706,-0.009302735328674316,0.478835940361023,-0.3255817294120789,0.3862429857254028,-0.1116277277469635,-0.01058202981948853],0]]]],[["Solid",
Z,7070826056594438],["BoundToLayout",Y,5279201663996157],["DragDrop",X,0xff745331a8942]],!1,!1,292833924492539,[],null],["t34",W,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5006646126613695,[["images/meander-sheet0.png",68113,0,0,900,50,1,0.5011110901832581,0.5,[],[],1]]]],[],!1,!1,6534973711731198,[],null],["t35",hc,!1,[],0,0,null,null,[],!1,!1,8090929115344979,[],null],["t36",W,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x4f281a3bbbead,[["images/info-sheet0.png",256,0,0,32,32,1,0.5,0.5,[],[],0]]]],[],!1,
!1,0x46456511b38bf,[],null]],[],[["Layout 1",900,700,!1,"Event sheet 1",0xf532dcb1c5ba6,[["Layer 0",0,9323869874827052,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[135,285,0,84,82,0,0,1,0.5,0.5,0,0,[]],13,36,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[364,261,0,96,82,0,0,1,0.5,0.5,0,0,[]],22,45,[],[],[0,"Default",0,1]]],[]],["Layer 1",1,0xcf57deb3c62a4,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[449,351,0,900,700,0,0,1,0.5,0.5,0,0,[]],21,44,[],[],[0,"Default",0,1]],[[550,289,0,46,135,0,0,1,0.5,0.5011933445930481,
0,0,[]],10,33,[[-1]],[[1],[1],[0,1]],[0,"Default",0,1]],[[179,97,0,67,184,0,0,1,0.5,0.5234741568565369,0,0,[]],17,40,[[-1]],[[1],[1],[0,1]],[0,"Default",0,1]],[[867,73,0,62.69674301147461,130.3472442626953,0,0,1,0.5,0.5088757276535034,0,0,[]],6,30,[],[[1],[0,1],[1]],[0,"Default",0,1]],[[486,78,0,54,151,0,0,1,0.5146198868751526,0.500910758972168,0,0,[]],8,31,[[-1]],[[1],[1],[0,1]],[0,"Default",0,1]],[[685,184,0,41,142,0,0,1,0.5,0.5,0,0,[]],9,32,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[377,130,0,107,
113,0,0,1,0.5042017102241516,0.5059625506401062,0,0,[]],11,34,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[272,62,0,79,121,0,0,1,0.5035971403121948,0.5095541477203369,0,0,[]],12,35,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[808,203,0,89,130,0,0,1,0.501298725605011,0.5,0,0,[]],15,38,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[119,212,0,88,110,0,0,1,0.5021459460258484,0.5091819763183594,0,0,[]],16,39,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[345,307,0,211,50,0,0,1,0,0,0,0,[]],24,20,[],[],["\u0397 \u03b3\u03bb\u03c5\u03c0\u03c4\u03b9\u03ba\u03ae \u03c3\u03c4\u03b7\u03bd \u0391\u03c1\u03c7\u03b1\u03af\u03b1 \u0395\u03bb\u03bb\u03ac\u03b4\u03b1",
0,"bold 14pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[384,616,0,147,29,0,0,1,0,0,0,0,[]],20,43,[],[],[0,"\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0391\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7\u03c2","\u0395\u03bb\u03ad\u03b3\u03c7\u03b5\u03b9 \u03c4\u03b9\u03c2 \u03c3\u03c9\u03c3\u03c4\u03ad\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03b9\u03c2 \u03bb\u03ac\u03b8\u03bf\u03c2 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ad\u03c2",1,1,1,"",0]],[[328,366,0,245,126,0,0,1,0,0,0,0,[]],25,21,[],[],["\u03a3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03b1\u03c6\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b1 \u03b3\u03bb\u03c5\u03c0\u03c4\u03ac \u03c3\u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1 \u03c0\u03bf\u03c5 \u03c0\u03b9\u03c3\u03c4\u03ad\u03c5\u03b5\u03c4\u03b5 \u03bf\u03c4\u03b9 \u03b1\u03bd\u03ae\u03ba\u03bf\u03c5\u03bd. \u0392\u03ac\u03bb\u03c4\u03b5 \u03c4\u03b1 \u03ad\u03c1\u03b3\u03b1 \u03c4\u03b7\u03c2 \u0391\u03c1\u03c7\u03b1\u03ca\u03ba\u03ae\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5 \u03c3\u03c4\u03bf \u03b1\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03cc \u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03ac \u03c4\u03b7\u03c2 \u039a\u03bb\u03b1\u03c3\u03b9\u03ba\u03ae\u03c2 \u03b5\u03c0\u03bf\u03c7\u03ae\u03c2 \u03c3\u03c4\u03bf \u03b4\u03b5\u03be\u03af \u03ba\u03bf\u03c5\u03c4\u03ac\u03ba\u03b9.",
0,"12pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[332,500,0,247,109,0,0,1,0,0,0,0,[]],26,22,[],[],["\u0395\u03bb\u03ad\u03b3\u03be\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ad\u03c2 \u03c3\u03b1\u03c2 \u03c0\u03b7\u03b3\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03bf \u03c0\u03bf\u03bd\u03c4\u03af\u03ba\u03b9 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b7\u03bd \u03c0\u03b5\u03c1\u03b9\u03bf\u03c7\u03ae '\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0391\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7\u03c2'. \u038c\u03c3\u03b1 \u03b3\u03bb\u03c5\u03c0\u03c4\u03ac \u03b3\u03af\u03bd\u03bf\u03c5\u03bd \u03c3\u03ba\u03bf\u03cd\u03c1\u03b1 \u03c7\u03c1\u03b5\u03b9\u03ac\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03b8\u03ad\u03c3\u03b7\u03c2.",
0,"12pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[34,619,0,263,30,0,0,1,0,0,0,0,[]],27,23,[],[],["\u0391\u03c1\u03c7\u03b1\u03ca\u03ba\u03ae \u03b5\u03c0\u03bf\u03c7\u03ae (700-500 \u03c0.\u03a7.)",0,"bold 14pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[608,617,0,263,30,0,0,1,0,0,0,0,[]],28,24,[],[],["\u039a\u03bb\u03b1\u03c3\u03b9\u03ba\u03ae \u03b5\u03c0\u03bf\u03c7\u03ae (500 \u03c0.\u03a7.-323 \u03c0.\u03a7.) ",0,"bold 14pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[592,126,0,104,141,0,0,1,0.5043478012084961,0.5088607668876648,
0,0,[]],29,25,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[258,202,0,74,137,0,0,1,0.505660355091095,0.508474588394165,0,0,[]],30,26,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[449,247,0,106,125,0,0,1,0.5066371560096741,0.5091819763183594,0,0,[]],31,27,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[745,72,0,86,131,0,0,1,0.5049833655357361,0.5095652341842651,0,0,[]],32,28,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[53,85,0,96,155,0,0,1,0.5069767236709595,0.5105820298194885,0,0,[]],33,29,[],[[1],[1],[0,1]],[0,"Default",
0,1]],[[450,676,0,900,50,0,0,1,0.5011110901832581,0.5,0,0,[]],34,37,[],[],[0,"Default",0,1]],[[164,467,0,323,400,0,0,1,0.504643976688385,0.5,0,0,[]],18,41,[],[],[0,"Default",0,1]],[[735,464,0,316.6666564941406,400,0,0,1,0.504643976688385,0.5,0,0,[]],19,42,[],[],[0,"Default",0,1]],[[35,591,0,262,30,0,0,1,0,0,0,0,[]],35,46,[],[],["\u0391\u03c1\u03c7\u03b1\u03ca\u03ba\u03ae \u03c0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2",0,"bold 12pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[605,586,0,262,30,0,0,1,0,0,0,0,
[]],35,47,[],[],["\u039a\u03bb\u03b1\u03c3\u03b9\u03ba\u03ae \u03b5\u03c0\u03bf\u03c7\u03ae",0,"bold 12pt Arial","rgb(0,0,0)",1,0,0,0,0]],[[556,631,0,32,32,0,0,1,0.5,0.5,0,0,[]],36,48,[],[],[0,"Default",0,1]]],[]]],[],[]],["Invisible",800,600,!1,null,0xd80c0ca8e7a1f,[["Layer 0",0,9160626157452592,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[153,405,0,323,400,0,0,1,0.504643976688385,0.5,0,0,[]],18,17,[],[],[0,"Default",0,1]],[[108,419,0,236,507,0,0,1,0.5,0.5088757276535034,0,0,[]],6,6,[],[[1],[0,1],[1]],
[0,"Default",0,1]],[[212,432,0,171,549,0,0,1,0.5146198868751526,0.500910758972168,0,0,[]],8,7,[[-1]],[[1],[1],[0,1]],[0,"Default",0,1]],[[694,397,0,124.5769271850586,578,0,0,1,0.5,0.5,0,0,[]],9,8,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[203,326,0,118,419,0,0,1,0.5,0.5011933445930481,0,0,[]],10,9,[[-1]],[[1],[1],[0,1]],[0,"Default",0,1]],[[605,302,0,595,587,0,0,1,0.5042017102241516,0.5059625506401062,0,0,[]],11,10,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[711,296,0,225.2758483886719,381.510009765625,
0,0,1,0.5035971403121948,0.5095541477203369,0,0,[]],12,11,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[597,423,0,84,82,0,0,1,0.5,0.5,0,0,[]],13,12,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[109,311,0,141,100,0,0,1,0.5035461187362671,0.5099999904632568,0,0,[]],14,13,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[208,522,0,385,572,0,0,1,0.501298725605011,0.5,0,0,[]],15,14,[],[[1],[1],[0,1]],[0,"Default",0,1]],[[112,522,0,466,599,0,0,1,0.5021459460258484,0.5091819763183594,0,0,[]],16,15,[],[[1],[1],[0,1]],[0,"Default",
0,1]],[[679,498,0,84.5,394.0499877929688,0,0,1,0.5,0.5234741568565369,0,0,[]],17,16,[[-1]],[[1],[1],[0,1]],[0,"Default",0,1]],[[650,398,0,315.0105895996094,386,0,0,1,0.504643976688385,0.5,0,0,[]],19,18,[],[],[0,"Default",0,1]]],[]]],[],[]]],[["Event sheet 1",[[0,null,!1,null,0x6db4d03abc230,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,8443143086991036,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,0x5a7ece9f47c85,!1,[[4,20]]],[8,W.prototype.d.Vb,null,0,!1,!1,!1,0x82f535bdce387,!1,[[4,19]]]],[[8,W.prototype.C.da,
null,9937583031670364,!1,[[3,8]]]]],[0,null,!1,null,0x60691198e2867,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,9255388118251780,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,0x8945d0a3ebc83,!1,[[4,20]]]],[[8,W.prototype.C.da,null,9859072014677592,!1,[[3,0]]]]],[0,null,!1,null,7734170458656366,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,8313590439623904,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,7871551324059706,!1,[[4,20]]],[9,W.prototype.d.Vb,null,0,!1,!1,!1,6170460332306285,!1,[[4,19]]]],[[9,W.prototype.C.da,null,
0xbef6eda486bf4,!1,[[3,8]]]]],[0,null,!1,null,0xcc6569ee8bf70,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,6022818084757461,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,5049775180556842,!1,[[4,20]]]],[[9,W.prototype.C.da,null,9150578222984142,!1,[[3,0]]]]],[0,null,!1,null,5332541405559556,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,403450997284165,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,0xaf2209e97e347,!1,[[4,20]]],[10,W.prototype.d.Vb,null,0,!1,!1,!1,8054524950562622,!1,[[4,19]]]],[[10,W.prototype.C.da,null,8925257621452953,
!1,[[3,8]]]]],[0,null,!1,null,950593361226178,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,9687240458631660,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,0x67b1371cdf481,!1,[[4,20]]]],[[10,W.prototype.C.da,null,0x750cd173c0696,!1,[[3,0]]]]],[0,null,!1,null,9533420456407428,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0x3bc0117564275,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,0x86603ff8184ff,!1,[[4,20]]],[11,W.prototype.d.Vb,null,0,!1,!1,!1,0x53fd7fe6835aa,!1,[[4,18]]]],[[11,W.prototype.C.da,null,9593642048817760,!1,[[3,
8]]]]],[0,null,!1,null,7767368588755569,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,7276501021750413,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,0xea757da43c666,!1,[[4,20]]]],[[11,W.prototype.C.da,null,842624621828673,!1,[[3,0]]]]],[0,null,!1,null,0xe0751345e6734,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,5322002275254393,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,8854543157600731,!1,[[4,20]]],[12,W.prototype.d.Vb,null,0,!1,!1,!1,865928545314158,!1,[[4,18]]]],[[12,W.prototype.C.da,null,7921988332452393,!1,[[3,8]]]]],
[0,null,!1,null,8460475288031178,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0x9f1eddcb798a9,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,7300775105726479,!1,[[4,20]]]],[[12,W.prototype.C.da,null,5892203795034405,!1,[[3,0]]]]],[0,null,!1,null,0x5344e636a86d7,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,6479607792954405,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,6380150670842483,!1,[[4,20]]],[6,W.prototype.d.Vb,null,0,!1,!1,!1,0x5b850bdde5639,!1,[[4,19]]]],[[6,W.prototype.C.da,null,8099832565356102,!1,[[3,8]]]]],[0,
null,!1,null,6111244350940186,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,5865420172365231,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,8897452040916514,!1,[[4,20]]]],[[6,W.prototype.C.da,null,0x726ae302a6ef9,!1,[[3,0]]]]],[0,null,!1,null,4601017251558131,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0x5fcef6557f1a9,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,6909269123236821,!1,[[4,20]]],[15,W.prototype.d.Vb,null,0,!1,!1,!1,8301788501838139,!1,[[4,19]]]],[[15,W.prototype.C.da,null,5619273227970505,!1,[[3,8]]]]],[0,null,
!1,null,8766307668493394,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,7795495663166702,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,0xc97d103eba145,!1,[[4,20]]]],[[15,W.prototype.C.da,null,436502352078485,!1,[[3,0]]]]],[0,null,!1,null,994641518098469,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,9355626384999924,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,0xc2568747f68b7,!1,[[4,20]]],[16,W.prototype.d.Vb,null,0,!1,!1,!1,0x48c67cc0f47f4,!1,[[4,19]]]],[[16,W.prototype.C.da,null,6530101676530018,!1,[[3,8]]]]],[0,null,!1,
null,0x505ef25a13edd,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,9669167975086580,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,85958420004066,!1,[[4,20]]]],[[16,W.prototype.C.da,null,579043424590687,!1,[[3,0]]]]],[0,null,!1,null,8890553699466571,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,7881487885846418,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,0x40193eda509f3,!1,[[4,20]]],[17,W.prototype.d.Vb,null,0,!1,!1,!1,0x464b2dfda21fa,!1,[[4,19]]]],[[17,W.prototype.C.da,null,6879453175011446,!1,[[3,8]]]]],[0,null,!1,null,
0x9f90116896a96,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0xbaa6f0459ced5,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,8098676372574967,!1,[[4,20]]]],[[17,W.prototype.C.da,null,5988234442272094,!1,[[3,0]]]]],[0,null,!1,null,0xe6a693df2b15e,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0xbaba027bec26f,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,8335218980101838,!1,[[4,20]]],[29,W.prototype.d.Vb,null,0,!1,!1,!1,7510390880905382,!1,[[4,18]]]],[[29,W.prototype.C.da,null,8500974945591659,!1,[[3,8]]]]],[0,null,!1,null,0xf559fa15a2d55,
[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0x949aad06e4bcd,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,8823030373917437,!1,[[4,20]]]],[[29,W.prototype.C.da,null,8524619455179518,!1,[[3,0]]]]],[0,null,!1,null,6576132480804827,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,0xc95895bd72922,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,0x8e6b209da83d5,!1,[[4,20]]],[30,W.prototype.d.Vb,null,0,!1,!1,!1,0x8ba18ad2e6b9b,!1,[[4,18]]]],[[30,W.prototype.C.da,null,7828473948485584,!1,[[3,8]]]]],[0,null,!1,null,0x694e10b2c3c8e,[[-1,
T.prototype.d.ja,null,0,!1,!1,!1,7142638811895938,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,8819634489298102,!1,[[4,20]]]],[[30,W.prototype.C.da,null,6298269932993018,!1,[[3,0]]]]],[0,null,!1,null,0x911440a847ed4,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,4801472243697104,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,9270356571995694,!1,[[4,20]]],[31,W.prototype.d.Vb,null,0,!1,!1,!1,6428765634545813,!1,[[4,18]]]],[[31,W.prototype.C.da,null,0x6733e6319e8fd,!1,[[3,8]]]]],[0,null,!1,null,7745331221494896,[[-1,
T.prototype.d.ja,null,0,!1,!1,!1,8768950262999176,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,7529698401863463,!1,[[4,20]]]],[[31,W.prototype.C.da,null,0xf0889f8d602b2,!1,[[3,0]]]]],[0,null,!1,null,5547276907826739,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,8048520651100539,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,6786124250698477,!1,[[4,20]]],[32,W.prototype.d.Vb,null,0,!1,!1,!1,6712801479406556,!1,[[4,18]]]],[[32,W.prototype.C.da,null,9192778210860204,!1,[[3,8]]]]],[0,null,!1,null,5561578652811273,[[-1,
T.prototype.d.ja,null,0,!1,!1,!1,5398656243400492,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,6295622928197269,!1,[[4,20]]]],[[32,W.prototype.C.da,null,32484946699662,!1,[[3,0]]]]],[0,null,!1,null,7311014986256315,[[-1,T.prototype.d.ja,null,0,!1,!1,!1,8175347750890167,!1],[23,V.prototype.d.ka,null,0,!1,!1,!1,9008196545757112,!1,[[4,20]]],[33,W.prototype.d.Vb,null,0,!1,!1,!1,5241047859423823,!1,[[4,18]]]],[[33,W.prototype.C.da,null,669843429411321,!1,[[3,8]]]]],[0,null,!1,null,9141622810905058,[[-1,T.prototype.d.ja,
null,0,!1,!1,!1,0xcd90eb465e183,!1],[23,V.prototype.d.ka,null,0,!1,!0,!1,0x526becce29853,!1,[[4,20]]]],[[33,W.prototype.C.da,null,0x78fb567ff1dc9,!1,[[3,0]]]]],[0,null,!1,null,7585682849901256,[[2,ic.prototype.d.ij,null,1,!1,!1,!1,7515061107978581,!1,[[4,36]]]],[[4,dc.prototype.C.Ro,null,0x4eab391c94a72,!1,[[1,[2,"credits.html"]],[1,[2,"NewWindow"]]]]]]]]],"media/",!1,900,700,4,!0,!0,!0,"1.0",!0,!1,0,0,49,!1,!0,[]]};
