// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var aa,ba,ca,da,ea,ga,ha,ia,C,ja,ka,la,ma,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,Aa,Ba,Ca,E,Da,Ea,Fa,Ga,Ha,Ja,Ma,Na,Oa,Pa,Qa,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,kb,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(h){return h.__proto__}:function(h){return h.constructor.prototype});
(function(){function h(g,k,a,e){this.set(g,k,a,e)}function f(){this.Ya=this.Xa=this.$a=this.Za=this.hb=this.gb=this.Da=this.Ca=0}function a(g,k,a,e){g<k?a<e?(y=g<a?g:a,B=k>e?k:e):(y=g<e?g:e,B=k>a?k:a):a<e?(y=k<a?k:a,B=g>e?g:e):(y=k<e?k:e,B=g>a?g:a)}function b(){this.items=this.ud=null;this.vg=0;k&&(this.ud=new Set);this.Tg=[];this.Ie=!0}function c(g){D[G++]=g}function q(){this.xa=this.Dk=this.y=this.wl=0}function t(g){this.wb=[];this.Ii=this.Ki=this.Li=this.Ji=0;this.ki(g)}function r(g,k){this.zl=
g;this.yl=k;this.cells={}}function d(g,k){this.zl=g;this.yl=k;this.cells={}}function l(g,k,a){var e;return Q.length?(e=Q.pop(),e.hm=g,e.x=k,e.y=a,e):new ba(g,k,a)}function e(g,k,a){this.hm=g;this.x=k;this.y=a;this.Db=new ca}function m(g,k,a){var e;return L.length?(e=L.pop(),e.hm=g,e.x=k,e.y=a,e):new da(g,k,a)}function v(g,k,a){this.hm=g;this.x=k;this.y=a;this.Db=[];this.tg=!0;this.Od=new ca;this.ah=!1}function n(g,k){return g.zd-k.zd}ea=function(g){window.console&&window.console.log&&window.console.log(g)};
ga=function(g){window.console&&window.console.error&&window.console.error(g)};aa=function(g){return g};ha=function(g){return"undefined"===typeof g};ia=function(g){return"number"===typeof g};C=function(g){return"string"===typeof g};ja=function(g){return 0<g&&0===(g-1&g)};ka=function(g){--g;for(var k=1;32>k;k<<=1)g|=g>>k;return g+1};la=function(g){return 0>g?-g:g};ma=function(g,k){return g>k?g:k};pa=function(g,k){return g<k?g:k};qa=Math.PI;ra=function(g){return 0<=g?g|0:(g|0)-1};sa=function(g){var k=
g|0;return k===g?k:k+1};ta=function(g,k,a,e,u,d,q,n){var m,l,D,p;g<a?(l=g,m=a):(l=a,m=g);u<q?(p=u,D=q):(p=q,D=u);if(m<p||l>D)return!1;k<e?(l=k,m=e):(l=e,m=k);d<n?(p=d,D=n):(p=n,D=d);if(m<p||l>D)return!1;m=u-g+q-a;l=d-k+n-e;g=a-g;k=e-k;u=q-u;d=n-d;n=la(k*u-d*g);return la(u*l-d*m)>n?!1:la(g*l-k*m)<=n};h.prototype.set=function(g,k,a,e){this.left=g;this.top=k;this.right=a;this.bottom=e};h.prototype.Wi=function(g){this.left=g.left;this.top=g.top;this.right=g.right;this.bottom=g.bottom};h.prototype.width=
function(){return this.right-this.left};h.prototype.height=function(){return this.bottom-this.top};h.prototype.offset=function(g,k){this.left+=g;this.top+=k;this.right+=g;this.bottom+=k;return this};h.prototype.normalize=function(){var g=0;this.left>this.right&&(g=this.left,this.left=this.right,this.right=g);this.top>this.bottom&&(g=this.top,this.top=this.bottom,this.bottom=g)};h.prototype.Rv=function(g){return!(g.right<this.left||g.bottom<this.top||g.left>this.right||g.top>this.bottom)};h.prototype.Sv=
function(g,k,a){return!(g.right+k<this.left||g.bottom+a<this.top||g.left+k>this.right||g.top+a>this.bottom)};h.prototype.Qb=function(g,k){return g>=this.left&&g<=this.right&&k>=this.top&&k<=this.bottom};h.prototype.gj=function(g){return this.left===g.left&&this.top===g.top&&this.right===g.right&&this.bottom===g.bottom};ua=h;f.prototype.ji=function(g){this.Ca=g.left;this.Da=g.top;this.gb=g.right;this.hb=g.top;this.Za=g.right;this.$a=g.bottom;this.Xa=g.left;this.Ya=g.bottom};f.prototype.Rq=function(g,
k){if(0===k)this.ji(g);else{var a=Math.sin(k),e=Math.cos(k),u=g.left*a,d=g.top*a,q=g.right*a,a=g.bottom*a,n=g.left*e,m=g.top*e,l=g.right*e,e=g.bottom*e;this.Ca=n-d;this.Da=m+u;this.gb=l-d;this.hb=m+q;this.Za=l-a;this.$a=e+q;this.Xa=n-a;this.Ya=e+u}};f.prototype.offset=function(g,k){this.Ca+=g;this.Da+=k;this.gb+=g;this.hb+=k;this.Za+=g;this.$a+=k;this.Xa+=g;this.Ya+=k;return this};var y=0,B=0;f.prototype.Eo=function(g){a(this.Ca,this.gb,this.Za,this.Xa);g.left=y;g.right=B;a(this.Da,this.hb,this.$a,
this.Ya);g.top=y;g.bottom=B};f.prototype.Qb=function(g,k){var a=this.gb-this.Ca,e=this.hb-this.Da,u=this.Za-this.Ca,d=this.$a-this.Da,q=g-this.Ca,n=k-this.Da,m=a*a+e*e,l=a*u+e*d,e=a*q+e*n,D=u*u+d*d,p=u*q+d*n,b=1/(m*D-l*l),a=(D*e-l*p)*b,m=(m*p-l*e)*b;if(0<=a&&0<m&&1>a+m)return!0;a=this.Xa-this.Ca;e=this.Ya-this.Da;m=a*a+e*e;l=a*u+e*d;e=a*q+e*n;b=1/(m*D-l*l);a=(D*e-l*p)*b;m=(m*p-l*e)*b;return 0<=a&&0<m&&1>a+m};f.prototype.Kc=function(g,k){if(k)switch(g){case 0:return this.Ca;case 1:return this.gb;case 2:return this.Za;
case 3:return this.Xa;case 4:return this.Ca;default:return this.Ca}else switch(g){case 0:return this.Da;case 1:return this.hb;case 2:return this.$a;case 3:return this.Ya;case 4:return this.Da;default:return this.Da}};f.prototype.cq=function(){return(this.Ca+this.gb+this.Za+this.Xa)/4};f.prototype.dq=function(){return(this.Da+this.hb+this.$a+this.Ya)/4};f.prototype.up=function(g){var k=g.cq(),a=g.dq();if(this.Qb(k,a))return!0;k=this.cq();a=this.dq();if(g.Qb(k,a))return!0;var e,u,d,q,m,n,l,D;for(l=
0;4>l;l++)for(D=0;4>D;D++)if(k=this.Kc(l,!0),a=this.Kc(l,!1),e=this.Kc(l+1,!0),u=this.Kc(l+1,!1),d=g.Kc(D,!0),q=g.Kc(D,!1),m=g.Kc(D+1,!0),n=g.Kc(D+1,!1),ta(k,a,e,u,d,q,m,n))return!0;return!1};va=f;wa=function(g,k){for(var a in k)k.hasOwnProperty(a)&&(g[a]=k[a]);return g};xa=function(g,k){var a,e;k=ra(k);if(!(0>k||k>=g.length)){a=k;for(e=g.length-1;a<e;a++)g[a]=g[a+1];g.length=e}};ya=function(g,k){g.length=k.length;var a,e;a=0;for(e=k.length;a<e;a++)g[a]=k[a]};Aa=function(g,k){g.push.apply(g,k)};Ba=
function(g,k){var a,e;a=0;for(e=g.length;a<e;++a)if(g[a]===k)return a;return-1};Ca=function(g,k){var a=Ba(g,k);-1!==a&&xa(g,a)};E=function(g){return g/(180/qa)};Da=function(g){return 180/qa*g};Ea=function(g){g%=360;0>g&&(g+=360);return g};Fa=function(g){g%=2*qa;0>g&&(g+=2*qa);return g};Ga=function(g){return Ea(Da(g))};Ha=function(g){return Fa(E(g))};Ja=function(g,k,a,e){return Math.atan2(e-k,a-g)};Ma=function(g,k){if(g===k)return 0;var a=Math.sin(g),e=Math.cos(g),u=Math.sin(k),d=Math.cos(k),a=a*u+
e*d;return 1<=a?0:-1>=a?qa:Math.acos(a)};Na=function(g,k,a){var e=Math.sin(g),u=Math.cos(g),d=Math.sin(k),q=Math.cos(k);return Math.acos(e*d+u*q)>a?0<u*d-e*q?Fa(g+a):Fa(g-a):Fa(k)};Oa=function(g,k){var a=Math.sin(g),e=Math.cos(g),u=Math.sin(k),d=Math.cos(k);return 0>=e*u-a*d};Pa=function(g,k,a,e,u,d){if(0===a)return d?g:k;var q=Math.sin(a);a=Math.cos(a);g-=e;k-=u;var m=g*q;g=g*a-k*q;k=k*a+m;return d?g+e:k+u};Qa=function(g,k,a,e){g=a-g;k=e-k;return Math.sqrt(g*g+k*k)};Sa=function(g,k){return!g!==!k};
Ta=function(g){for(var k in g)if(g.hasOwnProperty(k))return!0;return!1};Ua=function(g){for(var k in g)g.hasOwnProperty(k)&&delete g[k]};var p=+new Date;Va=function(){if("undefined"!==typeof window.performance){var g=window.performance;if("undefined"!==typeof g.now)return g.now();if("undefined"!==typeof g.webkitNow)return g.webkitNow();if("undefined"!==typeof g.mozNow)return g.mozNow();if("undefined"!==typeof g.msNow)return g.msNow()}return Date.now()-p};var s=!1,g=s=!1,u=!1;"undefined"!==typeof window&&
(s=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),s=!s&&/safari/i.test(navigator.userAgent),g=/(iphone|ipod|ipad)/i.test(navigator.userAgent),u=window.c2ejecta);var k=!s&&!u&&!g&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;b.prototype.contains=function(g){return this.oe()?!1:k?this.ud.has(g):this.items&&this.items.hasOwnProperty(g)};b.prototype.add=function(g){if(k)this.ud.has(g)||(this.ud.add(g),this.Ie=!1);else{var a=g.toString(),e=this.items;
e?e.hasOwnProperty(a)||(e[a]=g,this.vg++,this.Ie=!1):(this.items={},this.items[a]=g,this.vg=1,this.Ie=!1)}};b.prototype.remove=function(g){if(!this.oe())if(k)this.ud.has(g)&&(this.ud["delete"](g),this.Ie=!1);else if(this.items){g=g.toString();var a=this.items;a.hasOwnProperty(g)&&(delete a[g],this.vg--,this.Ie=!1)}};b.prototype.clear=function(){this.oe()||(k?this.ud.clear():(this.items=null,this.vg=0),this.Tg.length=0,this.Ie=!0)};b.prototype.oe=function(){return 0===this.count()};b.prototype.count=
function(){return k?this.ud.size:this.vg};var D=null,G=0;b.prototype.rx=function(){if(!this.Ie){if(k)this.Tg.length=this.ud.size,D=this.Tg,G=0,this.ud.forEach(c),D=null,G=0;else{var g=this.Tg;g.length=this.vg;var a,e=0,u=this.items;if(u)for(a in u)u.hasOwnProperty(a)&&(g[e++]=u[a])}this.Ie=!0}};b.prototype.pf=function(){this.rx();return this.Tg};ca=b;new ca;Wa=function(g,a){k?Xa(g,a.ud):Ya(g,a.pf())};Xa=function(g,k){var a,e,u,d;e=a=0;for(u=g.length;a<u;++a)d=g[a],k.has(d)||(g[e++]=d);g.length=e};
Ya=function(g,k){var a,e,u,d;e=a=0;for(u=g.length;a<u;++a)d=g[a],-1===Ba(k,d)&&(g[e++]=d);g.length=e};q.prototype.add=function(g){this.y=g-this.wl;this.Dk=this.xa+this.y;this.wl=this.Dk-this.xa-this.y;this.xa=this.Dk};q.prototype.reset=function(){this.xa=this.Dk=this.y=this.wl=0};Za=q;$a=function(g){return g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};t.prototype.ki=function(g){this.Gq=g;this.qd=g.length/2;this.wb.length=g.length;this.Oi=this.Pi=-1;this.Ho=0};t.prototype.qg=function(){return!this.Gq.length};
t.prototype.ea=function(){for(var g=this.wb,k=g[0],a=k,e=g[1],u=e,d,q,m=1,n=this.qd;m<n;++m)q=2*m,d=g[q],q=g[q+1],d<k&&(k=d),d>a&&(a=d),q<e&&(e=q),q>u&&(u=q);this.Ji=k;this.Ki=a;this.Li=e;this.Ii=u};t.prototype.ji=function(g,k,a){this.wb.length=8;this.qd=4;var e=this.wb;e[0]=g.left-k;e[1]=g.top-a;e[2]=g.right-k;e[3]=g.top-a;e[4]=g.right-k;e[5]=g.bottom-a;e[6]=g.left-k;e[7]=g.bottom-a;this.Pi=g.right-g.left;this.Oi=g.bottom-g.top;this.ea()};t.prototype.Og=function(g,k,a,e,u){this.wb.length=8;this.qd=
4;var d=this.wb;d[0]=g.Ca-k;d[1]=g.Da-a;d[2]=g.gb-k;d[3]=g.hb-a;d[4]=g.Za-k;d[5]=g.$a-a;d[6]=g.Xa-k;d[7]=g.Ya-a;this.Pi=e;this.Oi=u;this.ea()};t.prototype.Qq=function(g){this.qd=g.qd;ya(this.wb,g.wb);this.Ji=g.Ji;this.Li-g.Li;this.Ki=g.Ki;this.Ii=g.Ii};t.prototype.bg=function(g,k,a){if(this.Pi!==g||this.Oi!==k||this.Ho!==a){this.Pi=g;this.Oi=k;this.Ho=a;var e,u,d,q,m,n=0,l=1,D=this.Gq,p=this.wb;0!==a&&(n=Math.sin(a),l=Math.cos(a));a=0;for(d=this.qd;a<d;a++)e=2*a,u=e+1,q=D[e]*g,m=D[u]*k,p[e]=q*l-m*
n,p[u]=m*l+q*n;this.ea()}};t.prototype.Qb=function(g,k){var a=this.wb;if(g===a[0]&&k===a[1])return!0;var e,u,d,q=this.qd,m=this.Ji-110,n=this.Li-101,l=this.Ki+131,D=this.Ii+120,p,b,G=0,c=0;for(e=0;e<q;e++)u=2*e,d=(e+1)%q*2,p=a[u],u=a[u+1],b=a[d],d=a[d+1],ta(m,n,g,k,p,u,b,d)&&G++,ta(l,D,g,k,p,u,b,d)&&c++;return 1===G%2||1===c%2};t.prototype.Bh=function(g,k,a){var e=g.wb,u=this.wb;if(this.Qb(e[0]+k,e[1]+a)||g.Qb(u[0]-k,u[1]-a))return!0;var d,q,m,n,l,D,p,b,G,c,f,Q;d=0;for(n=this.qd;d<n;d++)for(q=2*d,
m=(d+1)%n*2,b=u[q],q=u[q+1],G=u[m],c=u[m+1],m=0,p=g.qd;m<p;m++)if(l=2*m,D=(m+1)%p*2,f=e[l]+k,l=e[l+1]+a,Q=e[D]+k,D=e[D+1]+a,ta(b,q,G,c,f,l,Q,D))return!0;return!1};ab=t;r.prototype.Pe=function(g,k,a){var e;e=this.cells[g];return e?(e=e[k])?e:a?(e=l(this,g,k),this.cells[g][k]=e):null:a?(e=l(this,g,k),this.cells[g]={},this.cells[g][k]=e):null};r.prototype.Dc=function(g){return ra(g/this.zl)};r.prototype.Ec=function(g){return ra(g/this.yl)};r.prototype.update=function(g,k,a){var e,u,d,q,m;if(k)for(e=
k.left,u=k.right;e<=u;++e)for(d=k.top,q=k.bottom;d<=q;++d)if(!a||!a.Qb(e,d))if(m=this.Pe(e,d,!1))m.remove(g),m.oe()&&(m.Db.clear(),1E3>Q.length&&Q.push(m),this.cells[e][d]=null);if(a)for(e=a.left,u=a.right;e<=u;++e)for(d=a.top,q=a.bottom;d<=q;++d)k&&k.Qb(e,d)||this.Pe(e,d,!0).om(g)};r.prototype.mk=function(g,k){var a,e,u,d,q,m;a=this.Dc(g.left);u=this.Ec(g.top);e=this.Dc(g.right);for(q=this.Ec(g.bottom);a<=e;++a)for(d=u;d<=q;++d)(m=this.Pe(a,d,!1))&&m.dump(k)};bb=r;d.prototype.Pe=function(g,k,a){var e;
e=this.cells[g];return e?(e=e[k])?e:a?(e=m(this,g,k),this.cells[g][k]=e):null:a?(e=m(this,g,k),this.cells[g]={},this.cells[g][k]=e):null};d.prototype.Dc=function(g){return ra(g/this.zl)};d.prototype.Ec=function(g){return ra(g/this.yl)};d.prototype.update=function(g,k,a){var e,d,u,q,m;if(k)for(e=k.left,d=k.right;e<=d;++e)for(u=k.top,q=k.bottom;u<=q;++u)if(!a||!a.Qb(e,u))if(m=this.Pe(e,u,!1))m.remove(g),m.oe()&&(m.reset(),1E3>L.length&&L.push(m),this.cells[e][u]=null);if(a)for(e=a.left,d=a.right;e<=
d;++e)for(u=a.top,q=a.bottom;u<=q;++u)k&&k.Qb(e,u)||this.Pe(e,u,!0).om(g)};d.prototype.mk=function(g,k,a,e,u){var d,q;g=this.Dc(g);k=this.Ec(k);a=this.Dc(a);for(d=this.Ec(e);g<=a;++g)for(e=k;e<=d;++e)(q=this.Pe(g,e,!1))&&q.dump(u)};d.prototype.jw=function(g){var k,a,e,u,d;k=g.left;e=g.top;a=g.right;for(u=g.bottom;k<=a;++k)for(g=e;g<=u;++g)if(d=this.Pe(k,g,!1))d.tg=!1};cb=d;var Q=[];e.prototype.oe=function(){return this.Db.oe()};e.prototype.om=function(g){this.Db.add(g)};e.prototype.remove=function(g){this.Db.remove(g)};
e.prototype.dump=function(g){Aa(g,this.Db.pf())};ba=e;var L=[];v.prototype.oe=function(){if(!this.Db.length)return!0;if(this.Db.length>this.Od.count())return!1;this.Rl();return!0};v.prototype.om=function(g){this.Od.contains(g)?(this.Od.remove(g),this.Od.oe()&&(this.ah=!1)):this.Db.length?(this.Db[this.Db.length-1].Id()>g.Id()&&(this.tg=!1),this.Db.push(g)):(this.Db.push(g),this.tg=!0)};v.prototype.remove=function(g){this.Od.add(g);this.ah=!0;30<=this.Od.count()&&this.Rl()};v.prototype.Rl=function(){this.ah&&
(this.Od.count()===this.Db.length?this.reset():(Wa(this.Db,this.Od),this.Od.clear(),this.ah=!1))};v.prototype.Bu=function(){this.tg||(this.Db.sort(n),this.tg=!0)};v.prototype.reset=function(){this.Db.length=0;this.tg=!0;this.Od.clear();this.ah=!1};v.prototype.dump=function(g){this.Rl();this.Bu();this.Db.length&&g.push(this.Db)};da=v;var x="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");db=function(g){return 0>=g||11<=
g?"source-over":x[g-1]};eb=function(g,k,a){if(a)switch(g.Sb=a.ONE,g.Rb=a.ONE_MINUS_SRC_ALPHA,k){case 1:g.Sb=a.ONE;g.Rb=a.ONE;break;case 3:g.Sb=a.ONE;g.Rb=a.ZERO;break;case 4:g.Sb=a.ONE_MINUS_DST_ALPHA;g.Rb=a.ONE;break;case 5:g.Sb=a.DST_ALPHA;g.Rb=a.ZERO;break;case 6:g.Sb=a.ZERO;g.Rb=a.SRC_ALPHA;break;case 7:g.Sb=a.ONE_MINUS_DST_ALPHA;g.Rb=a.ZERO;break;case 8:g.Sb=a.ZERO;g.Rb=a.ONE_MINUS_SRC_ALPHA;break;case 9:g.Sb=a.DST_ALPHA;g.Rb=a.ONE_MINUS_SRC_ALPHA;break;case 10:g.Sb=a.ONE_MINUS_DST_ALPHA,g.Rb=
a.SRC_ALPHA}};fb=function(g){return Math.round(1E6*g)/1E6};kb=function(g,a){return"string"!==typeof g||"string"!==typeof a||g.length!==a.length?!1:g===a?!0:g.toLowerCase()===a.toLowerCase()};lb=function(g){g=g.target;return!g||g===document||g===window||document&&document.body&&g===document.body||kb(g.tagName,"canvas")?!0:!1}})();var dc="undefined"!==typeof Float32Array?Float32Array:Array;function ec(h){var f=new dc(3);h&&(f[0]=h[0],f[1]=h[1],f[2]=h[2]);return f}
function fc(h){var f=new dc(16);h&&(f[0]=h[0],f[1]=h[1],f[2]=h[2],f[3]=h[3],f[4]=h[4],f[5]=h[5],f[6]=h[6],f[7]=h[7],f[8]=h[8],f[9]=h[9],f[10]=h[10],f[11]=h[11],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);return f}function gc(h,f){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];f[9]=h[9];f[10]=h[10];f[11]=h[11];f[12]=h[12];f[13]=h[13];f[14]=h[14];f[15]=h[15]}
function hc(h,f){var a=f[0],b=f[1];f=f[2];h[0]*=a;h[1]*=a;h[2]*=a;h[3]*=a;h[4]*=b;h[5]*=b;h[6]*=b;h[7]*=b;h[8]*=f;h[9]*=f;h[10]*=f;h[11]*=f}
function ic(h,f,a,b){b||(b=fc());var c,q,t,r,d,l,e,m,v=h[0],n=h[1];h=h[2];q=a[0];t=a[1];c=a[2];a=f[1];l=f[2];v===f[0]&&n===a&&h===l?(h=b,h[0]=1,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=1,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=1,h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1):(a=v-f[0],l=n-f[1],e=h-f[2],m=1/Math.sqrt(a*a+l*l+e*e),a*=m,l*=m,e*=m,f=t*e-c*l,c=c*a-q*e,q=q*l-t*a,(m=Math.sqrt(f*f+c*c+q*q))?(m=1/m,f*=m,c*=m,q*=m):q=c=f=0,t=l*q-e*c,r=e*f-a*q,d=a*c-l*f,(m=Math.sqrt(t*t+r*r+d*d))?(m=1/m,t*=m,r*=m,d*=m):d=r=t=0,
b[0]=f,b[1]=t,b[2]=a,b[3]=0,b[4]=c,b[5]=r,b[6]=l,b[7]=0,b[8]=q,b[9]=d,b[10]=e,b[11]=0,b[12]=-(f*v+c*n+q*h),b[13]=-(t*v+r*n+d*h),b[14]=-(a*v+l*n+e*h),b[15]=1)}
(function(){function h(a){this.Te=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Io=ec([0,0,100]);this.Mp=ec([0,0,0]);this.jr=ec([0,1,0]);this.Sn=ec([1,1,1]);this.So=!0;this.Km=fc();this.Xc=fc();this.Ep=fc();this.El=fc();this.u=a;this.qp()}function f(a,b,c){this.u=a;this.li=b;this.name=c;this.Wc=a.getAttribLocation(b,"aPos");this.Ye=a.getAttribLocation(b,"aTex");this.Kp=a.getUniformLocation(b,"matP");this.Qj=a.getUniformLocation(b,"matMV");this.Ag=
a.getUniformLocation(b,"opacity");this.Lp=a.getUniformLocation(b,"samplerFront");this.Ph=a.getUniformLocation(b,"samplerBack");this.Rf=a.getUniformLocation(b,"destStart");this.Qf=a.getUniformLocation(b,"destEnd");this.Hm=a.getUniformLocation(b,"seconds");this.Gm=a.getUniformLocation(b,"pixelWidth");this.Fm=a.getUniformLocation(b,"pixelHeight");this.Oh=a.getUniformLocation(b,"layerScale");this.Nh=a.getUniformLocation(b,"layerAngle");this.Rh=a.getUniformLocation(b,"viewOrigin");this.Qh=a.getUniformLocation(b,
"scrollPos");this.Mv=!!(this.Gm||this.Fm||this.Hm||this.Ph||this.Rf||this.Qf||this.Oh||this.Nh||this.Rh||this.Qh);this.Up=this.Vp=-999;this.Tj=1;this.Qp=this.Pp=0;this.Sp=this.Op=this.Np=1;this.Xp=this.Wp=this.Zp=this.Yp=this.Rp=0;this.ym=[];this.Tp=fc();this.Ag&&a.uniform1f(this.Ag,1);this.Lp&&a.uniform1i(this.Lp,0);this.Ph&&a.uniform1i(this.Ph,1);this.Rf&&a.uniform2f(this.Rf,0,0);this.Qf&&a.uniform2f(this.Qf,1,1);this.Oh&&a.uniform1f(this.Oh,1);this.Nh&&a.uniform1f(this.Nh,0);this.Rh&&a.uniform2f(this.Rh,
0,0);this.Qh&&a.uniform2f(this.Qh,0,0);this.Df=!1}function a(a,b){this.type=a;this.A=b;this.u=b.u;this.Jd=this.bd=this.uq=0;this.za=this.wd=null;this.Sq=[]}h.prototype.qp=function(){var a=this.u,b;this.Fp=1;this.Kf=this.Xe=null;this.$i=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.Gp=a.ONE;this.Dp=a.ONE_MINUS_SRC_ALPHA;this.$m=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.$m);this.yi=
Array(4);this.qi=Array(4);for(b=0;4>b;b++)this.yi[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.yi[b]),this.qi[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.qi[b]);this.de=0;this.Pv=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Pv);this.On=new Float32Array(16E3);this.Bn=new Float32Array(16E3);this.Bw=new Float32Array(32E3);for(var c=new Uint16Array(12E3),d=b=0;12E3>b;)c[b++]=d,c[b++]=d+1,c[b++]=d+2,c[b++]=d,c[b++]=d+2,c[b++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,
a.STATIC_DRAW);this.an=this.Xd=0;this.zb=[];b=this.Dl({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.zb.push(b);b=this.Dl({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.zb.push(b);for(var l in jc)jc.hasOwnProperty(l)&&this.zb.push(this.Dl(jc[l],
"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}",l));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.He=[];this.ae=0;this.uc=!1;this.Po=this.Ih=-1;this.jh=null;this.Zu=a.createFramebuffer();this.Kq=null;this.nf=ec([0,0,0]);this.$p=a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];2048<this.$p&&
(this.$p=2048);this.Sd(0)};f.prototype.In=function(a){var b=this.Tp;if(b[0]!==a[0]||b[1]!==a[1]||b[2]!==a[2]||b[3]!==a[3]||b[4]!==a[4]||b[5]!==a[5]||b[6]!==a[6]||b[7]!==a[7]||b[8]!==a[8]||b[9]!==a[9]||b[10]!==a[10]||b[11]!==a[11]||b[12]!==a[12]||b[13]!==a[13]||b[14]!==a[14]||b[15]!==a[15])gc(a,this.Tp),this.u.uniformMatrix4fv(this.Qj,!1,a)};h.prototype.Dl=function(a,b,c){var d=this.u,l=d.createShader(d.FRAGMENT_SHADER);d.shaderSource(l,a.src);d.compileShader(l);if(!d.getShaderParameter(l,d.COMPILE_STATUS))return d.deleteShader(l),
null;var e=d.createShader(d.VERTEX_SHADER);d.shaderSource(e,b);d.compileShader(e);if(!d.getShaderParameter(e,d.COMPILE_STATUS))return d.deleteShader(l),d.deleteShader(e),null;b=d.createProgram();d.attachShader(b,l);d.attachShader(b,e);d.linkProgram(b);if(!d.getProgramParameter(b,d.LINK_STATUS))return d.deleteShader(l),d.deleteShader(e),d.deleteProgram(b),null;d.useProgram(b);d.deleteShader(l);d.deleteShader(e);c=new f(d,b,c);c.Ol=a.Ol||0;c.Pl=a.Pl||0;c.Oo=!!a.Oo;c.Bo=!!a.Bo;c.K=a.K||[];a=0;for(l=
c.K.length;a<l;a++)c.K[a][1]=d.getUniformLocation(b,c.K[a][0]),c.ym.push(0),d.uniform1f(c.K[a][1],0);return c};h.prototype.dm=function(a){var b,c;b=0;for(c=this.zb.length;b<c;b++)if(this.zb[b].name===a)return b;return-1};h.prototype.Fq=function(a,b,c){var d=this.Xc,l=this.Km,e=[0,0,0,0,0,0,0,0];e[0]=d[0]*a+d[4]*b+d[12];e[1]=d[1]*a+d[5]*b+d[13];e[2]=d[2]*a+d[6]*b+d[14];e[3]=d[3]*a+d[7]*b+d[15];e[4]=l[0]*e[0]+l[4]*e[1]+l[8]*e[2]+l[12]*e[3];e[5]=l[1]*e[0]+l[5]*e[1]+l[9]*e[2]+l[13]*e[3];e[6]=l[2]*e[0]+
l[6]*e[1]+l[10]*e[2]+l[14]*e[3];e[7]=-e[2];0!==e[7]&&(e[7]=1/e[7],e[4]*=e[7],e[5]*=e[7],e[6]*=e[7],c[0]=(.5*e[4]+.5)*this.width,c[1]=(.5*e[5]+.5)*this.height)};h.prototype.gf=function(a,b,c){if(this.width!==a||this.height!==b||c){this.Ne();this.width=a;this.height=b;this.u.viewport(0,0,a,b);b=a/b;var d=this.Km,l;l=1*Math.tan(45*Math.PI/360);b*=l;a=-b;c=-l;d||(d=fc());var e=b-a,m=l-c;d[0]=2/e;d[1]=0;d[2]=0;d[3]=0;d[4]=0;d[5]=2/m;d[6]=0;d[7]=0;d[8]=(b+a)/e;d[9]=(l+c)/m;d[10]=-1001/999;d[11]=-1;d[12]=
0;d[13]=0;d[14]=-2E3/999;d[15]=0;ic(this.Io,this.Mp,this.jr,this.Xc);a=[0,0];b=[0,0];this.Fq(0,0,a);this.Fq(1,1,b);this.Sn[0]=1/(b[0]-a[0]);this.Sn[1]=-1/(b[1]-a[1]);a=0;for(b=this.zb.length;a<b;a++)c=this.zb[a],c.Df=!1,c.Kp&&(this.u.useProgram(c.li),this.u.uniformMatrix4fv(c.Kp,!1,this.Km));this.u.useProgram(this.zb[this.Ih].li);this.u.bindTexture(this.u.TEXTURE_2D,null);this.u.activeTexture(this.u.TEXTURE1);this.u.bindTexture(this.u.TEXTURE_2D,null);this.u.activeTexture(this.u.TEXTURE0);this.Kf=
this.Xe=null}};h.prototype.Pd=function(){ic(this.Io,this.Mp,this.jr,this.Xc);hc(this.Xc,this.Sn)};h.prototype.translate=function(a,b){if(0!==a||0!==b){this.nf[0]=a;this.nf[1]=b;this.nf[2]=0;var c=this.Xc,d=this.nf,l=d[0],e=d[1],d=d[2];c[12]=c[0]*l+c[4]*e+c[8]*d+c[12];c[13]=c[1]*l+c[5]*e+c[9]*d+c[13];c[14]=c[2]*l+c[6]*e+c[10]*d+c[14];c[15]=c[3]*l+c[7]*e+c[11]*d+c[15]}};h.prototype.scale=function(a,b){if(1!==a||1!==b)this.nf[0]=a,this.nf[1]=b,this.nf[2]=1,hc(this.Xc,this.nf)};h.prototype.on=function(a){if(0!==
a){var b=this.Xc,c,d=Math.sin(a);a=Math.cos(a);var l=b[0],e=b[1],m=b[2],f=b[3],n=b[4],y=b[5],h=b[6],p=b[7];c?b!==c&&(c[8]=b[8],c[9]=b[9],c[10]=b[10],c[11]=b[11],c[12]=b[12],c[13]=b[13],c[14]=b[14],c[15]=b[15]):c=b;c[0]=l*a+n*d;c[1]=e*a+y*d;c[2]=m*a+h*d;c[3]=f*a+p*d;c[4]=l*-d+n*a;c[5]=e*-d+y*a;c[6]=m*-d+h*a;c[7]=f*-d+p*a}};h.prototype.Wd=function(){for(var a=!1,b=0;16>b;b++)if(this.Ep[b]!==this.Xc[b]){a=!0;break}a&&(a=this.rd(),a.type=5,a.za?gc(this.Xc,a.za):a.za=fc(this.Xc),gc(this.Xc,this.Ep),this.uc=
!1)};a.prototype.pu=function(){this.u.bindTexture(this.u.TEXTURE_2D,this.wd)};a.prototype.qu=function(){var a=this.u;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.wd);a.activeTexture(a.TEXTURE0)};a.prototype.mu=function(){var a=this.uq,b=this.A;b.$i=a;b=b.jh;b.Ag&&b.Tj!==a&&(b.Tj=a,this.u.uniform1f(b.Ag,a))};a.prototype.ju=function(){this.u.drawElements(this.u.TRIANGLES,this.Jd,this.u.UNSIGNED_SHORT,2*this.bd)};a.prototype.lu=function(){this.u.blendFunc(this.bd,this.Jd)};a.prototype.ru=
function(){var a,b,c,d=this.A.zb,l=this.A.Po;a=0;for(b=d.length;a<b;a++)c=d[a],a===l&&c.Qj?(c.In(this.za),c.Df=!0):c.Df=!1;gc(this.za,this.A.El)};a.prototype.ku=function(){var a=this.u,b=this.A;this.wd?(b.Kf===this.wd&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.Kf=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.Zu),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.wd,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,
null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};a.prototype.hu=function(){var a=this.u;0===this.bd?(a.clearColor(this.za[0],this.za[1],this.za[2],this.za[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.za[0],this.za[1],this.za[2],this.za[3]),a.clearColor(0,0,0,0),a.clear(this.u.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};a.prototype.iu=function(){var a=this.u,b=this.A,c=b.zb[1];a.useProgram(c.li);!c.Df&&c.Qj&&(c.In(b.El),c.Df=!0);a.enableVertexAttribArray(c.Wc);a.bindBuffer(a.ARRAY_BUFFER,
b.$m);a.vertexAttribPointer(c.Wc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.bd/4,this.Jd);c=b.jh;a.useProgram(c.li);0<=c.Wc&&(a.enableVertexAttribArray(c.Wc),a.bindBuffer(a.ARRAY_BUFFER,b.yi[b.de]),a.vertexAttribPointer(c.Wc,2,a.FLOAT,!1,0,0));0<=c.Ye&&(a.enableVertexAttribArray(c.Ye),a.bindBuffer(a.ARRAY_BUFFER,b.qi[b.de]),a.vertexAttribPointer(c.Ye,2,a.FLOAT,!1,0,0))};a.prototype.nu=function(){var a=this.u,b=this.A,c=b.zb[this.bd];b.Po=this.bd;b.jh=c;a.useProgram(c.li);!c.Df&&c.Qj&&(c.In(b.El),
c.Df=!0);c.Ag&&c.Tj!==b.$i&&(c.Tj=b.$i,a.uniform1f(c.Ag,b.$i));0<=c.Wc&&(a.enableVertexAttribArray(c.Wc),a.bindBuffer(a.ARRAY_BUFFER,b.yi[b.de]),a.vertexAttribPointer(c.Wc,2,a.FLOAT,!1,0,0));0<=c.Ye&&(a.enableVertexAttribArray(c.Ye),a.bindBuffer(a.ARRAY_BUFFER,b.qi[b.de]),a.vertexAttribPointer(c.Ye,2,a.FLOAT,!1,0,0))};a.prototype.ou=function(){var a,b,c=this.A.jh,d=this.u;a=this.za;c.Ph&&this.A.Kf!==this.wd&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.wd),this.A.Kf=this.wd,d.activeTexture(d.TEXTURE0));
var l=a[0];c.Gm&&l!==c.Vp&&(c.Vp=l,d.uniform1f(c.Gm,l));l=a[1];c.Fm&&l!==c.Up&&(c.Up=l,d.uniform1f(c.Fm,l));l=a[2];b=a[3];!c.Rf||l===c.Pp&&b===c.Qp||(c.Pp=l,c.Qp=b,d.uniform2f(c.Rf,l,b));l=a[4];b=a[5];!c.Qf||l===c.Np&&b===c.Op||(c.Np=l,c.Op=l,d.uniform2f(c.Qf,l,b));l=a[6];c.Oh&&l!==c.Sp&&(c.Sp=l,d.uniform1f(c.Oh,l));l=a[7];c.Nh&&l!==c.Rp&&(c.Rp=l,d.uniform1f(c.Nh,l));l=a[8];b=a[9];!c.Rh||l===c.Yp&&b===c.Zp||(c.Yp=l,c.Zp=b,d.uniform2f(c.Rh,l,b));l=a[10];b=a[11];!c.Qh||l===c.Wp&&b===c.Xp||(c.Wp=l,c.Xp=
b,d.uniform2f(c.Qh,l,b));c.Hm&&d.uniform1f(c.Hm,Va()/1E3);if(c.K.length)for(a=0,b=c.K.length;a<b;a++)l=this.Sq[a],l!==c.ym[a]&&(c.ym[a]=l,d.uniform1f(c.K[a][1],l))};h.prototype.rd=function(){this.ae===this.He.length&&this.He.push(new a(0,this));return this.He[this.ae++]};h.prototype.Ne=function(){if(0!==this.ae&&!this.u.isContextLost()){var a=this.u;0<this.an&&(a.bindBuffer(a.ARRAY_BUFFER,this.$m),a.bufferData(a.ARRAY_BUFFER,this.Bw.subarray(0,this.an),a.STREAM_DRAW),b&&0<=b.Wc&&"<point>"===b.name&&
a.vertexAttribPointer(b.Wc,4,a.FLOAT,!1,0,0));if(0<this.Xd){var b=this.jh;a.bindBuffer(a.ARRAY_BUFFER,this.yi[this.de]);a.bufferData(a.ARRAY_BUFFER,this.On.subarray(0,this.Xd),a.STREAM_DRAW);b&&0<=b.Wc&&"<point>"!==b.name&&a.vertexAttribPointer(b.Wc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.qi[this.de]);a.bufferData(a.ARRAY_BUFFER,this.Bn.subarray(0,this.Xd),a.STREAM_DRAW);b&&0<=b.Ye&&"<point>"!==b.name&&a.vertexAttribPointer(b.Ye,2,a.FLOAT,!1,0,0)}for(var c,a=0,b=this.ae;a<b;a++)switch(c=
this.He[a],c.type){case 1:c.ju();break;case 2:c.pu();break;case 3:c.mu();break;case 4:c.lu();break;case 5:c.ru();break;case 6:c.ku();break;case 7:c.hu();break;case 8:c.iu();break;case 9:c.nu();break;case 10:c.ou();break;case 11:c.qu()}this.an=this.Xd=this.ae=0;this.uc=!1;this.de++;4<=this.de&&(this.de=0)}};h.prototype.ff=function(a){if(a!==this.Fp){var b=this.rd();b.type=3;this.Fp=b.uq=a;this.uc=!1}};h.prototype.lc=function(a){if(a!==this.Xe){var b=this.rd();b.type=2;this.Xe=b.wd=a;this.uc=!1}};h.prototype.ef=
function(a,b){if(a!==this.Gp||b!==this.Dp){var c=this.rd();c.type=4;c.bd=a;c.Jd=b;this.Gp=a;this.Dp=b;this.uc=!1}};h.prototype.Oq=function(){this.ef(this.u.ONE,this.u.ONE_MINUS_SRC_ALPHA)};h.prototype.lk=function(a,b,c,d,l,e,m,f){15992<=this.Xd&&this.Ne();var n=this.Xd,y=this.On,h=this.Bn;if(this.uc)this.He[this.ae-1].Jd+=6;else{var p=this.rd();p.type=1;p.bd=n/4*3;p.Jd=6;this.uc=!0}y[n]=a;h[n++]=0;y[n]=b;h[n++]=0;y[n]=c;h[n++]=1;y[n]=d;h[n++]=0;y[n]=l;h[n++]=1;y[n]=e;h[n++]=1;y[n]=m;h[n++]=0;y[n]=
f;h[n++]=1;this.Xd=n};h.prototype.sd=function(a,b,c,d,l,e,m,f,n){15992<=this.Xd&&this.Ne();var y=this.Xd,h=this.On,p=this.Bn;if(this.uc)this.He[this.ae-1].Jd+=6;else{var s=this.rd();s.type=1;s.bd=y/4*3;s.Jd=6;this.uc=!0}var s=n.left,g=n.top,u=n.right;n=n.bottom;h[y]=a;p[y++]=s;h[y]=b;p[y++]=g;h[y]=c;p[y++]=u;h[y]=d;p[y++]=g;h[y]=l;p[y++]=u;h[y]=e;p[y++]=n;h[y]=m;p[y++]=s;h[y]=f;p[y++]=n;this.Xd=y};h.prototype.Sd=function(a){if(this.Ih!==a){if(!this.zb[a]){if(0===this.Ih)return;a=0}var b=this.rd();
b.type=9;this.Ih=b.bd=a;this.uc=!1}};h.prototype.ci=function(a){a=this.zb[a];return!(!a.Rf&&!a.Qf)};h.prototype.dn=function(a){a=this.zb[a];return!!(a.Rf||a.Qf||a.Oo)};h.prototype.Iw=function(a){a=this.zb[a];return 0!==a.Ol||0!==a.Pl};h.prototype.tv=function(a){return this.zb[a].Ol};h.prototype.uv=function(a){return this.zb[a].Pl};h.prototype.vv=function(a,b){return this.zb[a].K[b][2]};h.prototype.jk=function(a){return this.zb[a].Bo};h.prototype.Ng=function(a,b,c,d,l,e,m,f,n,y,h,p,s,g){var u=this.zb[this.Ih],
k,D;if(u.Mv||g.length){k=this.rd();k.type=10;k.za?gc(this.Xc,k.za):k.za=fc();D=k.za;D[0]=b;D[1]=c;D[2]=d;D[3]=l;D[4]=e;D[5]=m;D[6]=f;D[7]=n;D[8]=y;D[9]=h;D[10]=p;D[11]=s;k.wd=u.Ph?a:null;if(g.length)for(c=k.Sq,c.length=g.length,a=0,b=g.length;a<b;a++)c[a]=g[a];this.uc=!1}};h.prototype.clear=function(a,b,c,d){var l=this.rd();l.type=7;l.bd=0;l.za||(l.za=fc());l.za[0]=a;l.za[1]=b;l.za[2]=c;l.za[3]=d;this.uc=!1};h.prototype.clearRect=function(a,b,c,d){if(!(0>c||0>d)){var l=this.rd();l.type=7;l.bd=1;l.za||
(l.za=fc());l.za[0]=a;l.za[1]=b;l.za[2]=c;l.za[3]=d;this.uc=!1}};h.prototype.Hw=function(){this.Ne();this.u.flush()};var b=[],c={};h.prototype.au=function(){b.length=0;c={}};h.prototype.yg=function(a,f,h,d){f=!!f;h=!!h;var l=a.src+","+f+","+h+(f?",undefined":""),e=null;if("undefined"!==typeof a.src&&c.hasOwnProperty(l))return e=c[l],e.Ni++,e;this.Ne();var m=this.u,v=ja(a.width)&&ja(a.height),e=m.createTexture();m.bindTexture(m.TEXTURE_2D,e);m.pixelStorei(m.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var n=
m.RGBA,y=m.RGBA,B=m.UNSIGNED_BYTE;if(d&&!this.Te)switch(d){case 1:y=n=m.RGB;break;case 2:B=m.UNSIGNED_SHORT_4_4_4_4;break;case 3:B=m.UNSIGNED_SHORT_5_5_5_1;break;case 4:y=n=m.RGB,B=m.UNSIGNED_SHORT_5_6_5}if(!v&&f){d=document.createElement("canvas");d.width=ka(a.width);d.height=ka(a.height);var p=d.getContext("2d");p.webkitImageSmoothingEnabled=h;p.mozImageSmoothingEnabled=h;p.msImageSmoothingEnabled=h;p.imageSmoothingEnabled=h;p.drawImage(a,0,0,a.width,a.height,0,0,d.width,d.height);m.texImage2D(m.TEXTURE_2D,
0,n,y,B,d)}else m.texImage2D(m.TEXTURE_2D,0,n,y,B,a);f?(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));h?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,m.LINEAR),v&&this.So?(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.Xe=null;e.fh=a.width;e.eh=a.height;e.Ni=1;e.Go=l;b.push(e);return c[l]=e};h.prototype.be=function(a,c,f,d){this.Ne();var l=this.u;this.Te&&(d=!1);var e=l.createTexture();l.bindTexture(l.TEXTURE_2D,e);l.texImage2D(l.TEXTURE_2D,0,l.RGBA,a,c,0,l.RGBA,d?l.UNSIGNED_SHORT_4_4_4_4:l.UNSIGNED_BYTE,null);l.texParameteri(l.TEXTURE_2D,
l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE);l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE);l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,f?l.LINEAR:l.NEAREST);l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,f?l.LINEAR:l.NEAREST);l.bindTexture(l.TEXTURE_2D,null);this.Xe=null;e.fh=a;e.eh=c;b.push(e);return e};h.prototype.xx=function(a,b,c){this.Ne();var d=this.u;this.Te&&(c=!1);d.bindTexture(d.TEXTURE_2D,b);d.pixelStorei(d.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);try{d.texImage2D(d.TEXTURE_2D,
0,d.RGBA,d.RGBA,c?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,a)}catch(l){console&&console.error&&console.error("Error updating WebGL texture: ",l)}d.bindTexture(d.TEXTURE_2D,null);this.Xe=null};h.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Ni&&1<a.Ni?a.Ni--:(this.Ne(),a===this.Xe&&(this.u.bindTexture(this.u.TEXTURE_2D,null),this.Xe=null),a===this.Kf&&(this.u.activeTexture(this.u.TEXTURE1),this.u.bindTexture(this.u.TEXTURE_2D,null),this.u.activeTexture(this.u.TEXTURE0),this.Kf=null),
Ca(b,a),"undefined"!==typeof a.Go&&delete c[a.Go],this.u.deleteTexture(a)))};h.prototype.Rd=function(a){if(a!==this.Kq){var b=this.rd();b.type=6;this.Kq=b.wd=a;this.uc=!1}};mb=h})();
(function(){function h(){return"undefined"!==typeof jQuery?jQuery(window).width():window.innerWidth}function f(){return"undefined"!==typeof jQuery?jQuery(window).height():window.innerHeight}function a(g){if(g&&(g.getContext||g.dc)&&!g.c2runtime){g.c2runtime=this;var a=this;this.Uc=(this.Dh=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk))||"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||
"undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2iscordova&&window.c2iscordova;this.Ab=!!g.dc;this.ng="undefined"!==typeof window.AppMobi||this.Ab;this.Tc=!!window.c2cocoonjs;this.jd=!!window.c2ejecta;this.Tc&&(CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)}));this.jd&&(document.addEventListener("pagehide",function(){a.setSuspended(!0)}),document.addEventListener("pageshow",
function(){a.setSuspended(!1)}),document.addEventListener("resize",function(){a.setSize(window.innerWidth,window.innerHeight)}));this.Ja=this.Ab||this.Tc||this.jd;this.Te=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent)||/edge\//i.test(navigator.userAgent);this.yp=/tizen/i.test(navigator.userAgent);this.wj=/android/i.test(navigator.userAgent)&&!this.yp&&!this.Te;this.xm=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&
!this.Te;this.Cp=/ipad/i.test(navigator.userAgent);this.Cj=this.xm||this.Cp||this.jd;this.aw=this.xm&&/os\s6/i.test(navigator.userAgent);this.Ch=(/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent))&&!this.Te;this.vp=/amazonwebappplatform/i.test(navigator.userAgent);this.Vv=/firefox/i.test(navigator.userAgent);this.xp=/safari/i.test(navigator.userAgent)&&!this.Ch&&!this.Te;this.Yv=/windows/i.test(navigator.userAgent);this.Ue="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);
this.Ap=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.$v=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.pg=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.yj=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.zp=this.Ap||this.$v||this.yj;this.Tv=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.xj=this.wj&&!this.Ch&&!this.Dh&&!this.Vv&&!this.vp&&
!this.Ja;this.devicePixelRatio=1;this.ld=this.Uc||this.Dh||this.ng||this.Tc||this.wj||this.Cj||this.pg||this.yj||this.Tv||this.yp||this.jd;this.ld||(this.ld=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Ue||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Ue=!0);this.Uv="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=
g;this.Jo=document.getElementById("c2canvasdiv");this.Ba=this.A=this.u=null;this.Ul="";this.lj=!1;this.oq=this.pq=0;this.canvas.oncontextmenu=function(g){g.preventDefault&&g.preventDefault();return!1};this.canvas.onselectstart=function(g){g.preventDefault&&g.preventDefault();return!1};this.Ab&&(window.c2runtime=this);this.Ue&&(window.ondragover=function(g){g.preventDefault();return!1},window.ondrop=function(g){g.preventDefault();return!1},require("nw.gui").App.clearCache());this.xj&&"undefined"!==
typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=g.width;this.height=g.height;this.Y=this.width;this.X=this.height;this.Yi=this.width;this.Xi=this.height;this.Kh=window.innerWidth;this.Jh=window.innerHeight;this.bv=!1;this.ra=!0;this.Fh=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.B=[];this.jb=[];this.Cm={};this.nd=[];this.Nl={};this.je=[];this.Vg=[];this.Nk=[];this.Ot=[];this.Pt=[];this.wf={};this.rm=this.Se=!1;this.kd=0;
this.vm=!1;this.hd=[];this.qe=this.Yb=this.Mj=this.sn="";this.oi=this.Vq=!1;this.Cl=this.Sh=this.ie=this.he=0;this.mf=1;this.Ic=new Za;this.Yd=new Za;this.Hj=0;this.bq=!0;this.Vj=this.nj=this.mh=this.xd=this.Mf=this.Tl=0;this.uf=null;this.dj=[];this.Ml=[];this.hj=-1;this.Im=[[]];this.Fn=this.Rj=0;this.kk(null);this.Bg=[];this.Sj=-1;this.jq=this.Vh=0;this.Bm=!0;this.nh=0;this.pi=[];this.Kk=this.nk=-1;this.ug=!0;this.Pf=0;this.Eh=!1;this.cx=0;this.ag=null;this.Kv=!1;this.zm=0;this.vc=this.im=this.hn=
!1;this.nq=new ca;this.Rm=new ca;this.Sm=new ca;this.kn=[];this.vd=new ab([]);this.An=new ab([]);this.Ee=[];this.lg={};this.dg={};this.$f={};this.Ug={};this.Do={};this.Jp=this.Lj=this.xc=this.Jc=this.Ip=this.Kj=this.Aa=null;this.Sg=this.wm=!1;this.Vl=[null,null];this.Bf=0;this.kj="";this.Ze={};this.zk=this.zg=null;this.Uj=[];this.Mw()}}function b(g){g.target.result.createObjectStore("saves",{keyPath:"slot"})}function c(g,a,k,e){var d=indexedDB.open("_C2SaveStates");d.onupgradeneeded=b;d.onerror=e;
d.onsuccess=function(d){d=d.target.result;d.onerror=e;d.transaction(["saves"],"readwrite").objectStore("saves").put({slot:g,data:a}).onsuccess=k}}function q(g,a,k){var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=b;e.onerror=k;e.onsuccess=function(e){e=e.target.result;e.onerror=k;var d=e.transaction(["saves"]).objectStore("saves").get(g);d.onsuccess=function(){d.result?a(d.result.data):a(null)}}}function t(){ea("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<
window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function r(g){var a,k={};for(a in g)!g.hasOwnProperty(a)||g[a]instanceof ca||g[a]&&"undefined"!==typeof g[a].Ay||(k[a]=g[a]);return k}a.prototype.Mw=function(){var g=this,a;a=this.pg?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;var k="data.js";if(this.Ap||this.pg||this.yj)k="data.json";a.open("GET",k,!0);var e=!1;if(!this.Ja&&"response"in a&&"responseType"in a)try{a.responseType="json",
e="json"===a.responseType}catch(d){e=!1}if(!e&&"responseType"in a)try{a.responseType="text"}catch(b){}if("overrideMimeType"in a)try{a.overrideMimeType("application/json; charset=utf-8")}catch(m){}this.pg?a.onreadystatechange=function(){4===a.readyState&&g.Oj(JSON.parse(a.responseText))}:(a.onload=function(){if(e)g.Oj(a.response);else if(g.jd){var k=a.responseText,k=k.substr(k.indexOf("{"));g.Oj(JSON.parse(k))}else g.Oj(JSON.parse(a.responseText))},a.onerror=function(g){ga("Error requesting "+k+":");
ga(g)});a.send()};a.prototype.Qv=function(){var g=this,a,k,e,d,b,m,c,n,l;this.devicePixelRatio=(this.Hf=(!this.Ja||this.jd)&&this.ux&&!this.xj)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.Ob();k=!(!this.bv&&(!this.pl||this.Ue||this.zp||this.pg||this.Dh||this.Uc||this.vp));0<this.tc&&this.setSize(h(),f(),!0);try{this.yu&&(this.Tc||this.jd||!this.Ja)&&(a={alpha:k,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.u=
this.canvas.getContext("webgl",a)||this.canvas.getContext("experimental-webgl",a))}catch(p){}if(this.u){this.Ja||(this.Mb=document.createElement("canvas"),jQuery(this.Mb).appendTo(this.canvas.parentNode),this.Mb.oncontextmenu=function(){return!1},this.Mb.onselectstart=function(){return!1},this.Mb.width=this.Yi,this.Mb.height=this.Xi,jQuery(this.Mb).css({width:this.Yi+"px",height:this.Xi+"px"}),this.Eq(),this.Zm=this.Mb.getContext("2d"));this.A=new mb(this.u,this.ld);this.A.gf(this.canvas.width,this.canvas.height);
this.A.So=0!==this.su;this.Ba=null;this.canvas.addEventListener("webglcontextlost",function(a){a.preventDefault();g.ow();ea("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){g.A.qp();g.A.gf(g.A.width,g.A.height,!0);g.Jc=null;g.xc=null;g.Vl[0]=null;g.Vl[1]=null;g.pw();g.ra=!0;ea("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);a=0;for(k=this.B.length;a<k;a++)for(b=this.B[a],e=0,d=b.R.length;e<d;e++)c=
b.R[e],c.Nb=this.A.dm(c.id),this.Sg=this.Sg||this.A.ci(c.Nb);a=0;for(k=this.nd.length;a<k;a++){n=this.nd[a];e=0;for(d=n.R.length;e<d;e++)c=n.R[e],c.Nb=this.A.dm(c.id);e=0;for(d=n.Z.length;e<d;e++)for(l=n.Z[e],b=0,m=l.R.length;b<m;b++)c=l.R[b],c.Nb=this.A.dm(c.id),this.Sg=this.Sg||this.A.ci(c.Nb)}}else{if(0<this.tc&&this.Ab){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Ba=AppMobi.canvas.getContext("2d");try{this.Ba.samplingMode=this.ja?
"smooth":"sharp",this.Ba.globalScale=1,this.Ba.HTML5CompatibilityMode=!0,this.Ba.imageSmoothingEnabled=this.ja}catch(y){}0!==this.width&&0!==this.height&&(this.Ba.width=this.width,this.Ba.height=this.height)}this.Ba||(a=this.Tc?{antialias:!!this.ja,alpha:k}:{alpha:k},this.Ba=this.canvas.getContext("2d",a),this.Ba.webkitImageSmoothingEnabled=this.ja,this.Ba.mozImageSmoothingEnabled=this.ja,this.Ba.msImageSmoothingEnabled=this.ja,this.Ba.imageSmoothingEnabled=this.ja);this.Zm=this.Mb=null}this.Jk=function(){g.Gb(!1)};
window==window.top||this.Ja||this.zp||this.pg||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Tc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ea("Reloading for continuous preview"),this.Mj="__c2_continuouspreview",this.oi=!0),this.zw&&!this.ld&&(jQuery(window).focus(function(){g.setSuspended(!1)}),
jQuery(window).blur(function(){g.setSuspended(!0)})));this.Ja||(a=function(g){if(lb(g)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(a){}},window.navigator.pointerEnabled?document.addEventListener("pointerdown",a):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",a):document.addEventListener("touchstart",a),document.addEventListener("mousedown",a));0===this.tc&&
this.Hf&&1<this.devicePixelRatio&&this.setSize(this.Va,this.Ua,!0);this.fr();this.Iv();this.go();this.Ia={}};a.prototype.setSize=function(g,a,k){var e=0,d=0,b=0,m=0,m=0,c=this.aw&&this.xp&&!navigator.standalone&&!this.Ja&&!this.Uc;c&&(a+=60);if(this.Kh!==g||this.Jh!==a||k){this.Kh=g;this.Jh=a;var n=this.tc,l=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.Eh)&&!this.Uc;if(l||0!==this.tc||k)l&&0<this.Bf&&(n=this.Bf),k=this.devicePixelRatio,
4<=n?(b=this.Va/this.Ua,g/a>b?(b*=a,5===n?(m=b*k/this.Va,1<m?m=Math.floor(m):1>m&&(m=1/Math.ceil(1/m)),b=this.Va*m/k,m=this.Ua*m/k,e=(g-b)/2,d=(a-m)/2,g=b,a=m):(e=(g-b)/2,g=b)):(m=g/b,5===n?(m=m*k/this.Ua,1<m?m=Math.floor(m):1>m&&(m=1/Math.ceil(1/m)),b=this.Va*m/k,m=this.Ua*m/k,e=(g-b)/2,d=(a-m)/2,g=b):d=(a-m)/2,a=m),l&&!this.Ue&&(d=e=0)):this.Ue&&this.Eh&&0===this.Zo&&(e=Math.floor((g-this.Va)/2),d=Math.floor((a-this.Ua)/2),g=this.Va,a=this.Ua),2>n&&(this.dh=k),this.Hf&&this.Cp&&1<k&&(1024<=g&&(g=
1023),1024<=a&&(a=1023)),this.Yi=Math.round(g),this.Xi=Math.round(a),this.width=Math.round(g*k),this.height=Math.round(a*k),this.ra=!0,this.tr?(this.Y=this.width,this.X=this.height,this.Sc=!0):this.width<this.Va&&this.height<this.Ua||1===n?(this.Y=this.width,this.X=this.height,this.Sc=!0):(this.Y=this.Va,this.X=this.Ua,this.Sc=!1,2===n?(b=this.Va/this.Ua,n=this.Kh/this.Jh,n<b?this.Y=this.X*n:n>b&&(this.X=this.Y/n)):3===n&&(b=this.Va/this.Ua,n=this.Kh/this.Jh,n>b?this.Y=this.X*n:n<b&&(this.X=this.Y/
n))),this.Jo&&!this.Ja&&(jQuery(this.Jo).css({width:Math.round(g)+"px",height:Math.round(a)+"px","margin-left":Math.floor(e)+"px","margin-top":Math.floor(d)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(g)+"px",height:Math.round(a)+"px"})),this.canvas&&(this.canvas.width=Math.round(g*k),this.canvas.height=Math.round(a*k),this.jd?(this.canvas.style.left=Math.floor(e)+"px",this.canvas.style.top=Math.floor(d)+"px",this.canvas.style.width=Math.round(g)+"px",this.canvas.style.height=
Math.round(a)+"px"):this.Hf&&!this.Ja&&jQuery(this.canvas).css({width:Math.round(g)+"px",height:Math.round(a)+"px"})),this.Mb&&(this.Mb.width=Math.round(g),this.Mb.height=Math.round(a),jQuery(this.Mb).css({width:Math.round(g)+"px",height:Math.round(a)+"px"})),this.A&&this.A.gf(Math.round(g*k),Math.round(a*k)),this.Ab&&this.Ba&&(this.Ba.width=Math.round(g),this.Ba.height=Math.round(a)),this.Ba&&(this.Ba.webkitImageSmoothingEnabled=this.ja,this.Ba.mozImageSmoothingEnabled=this.ja,this.Ba.msImageSmoothingEnabled=
this.ja,this.Ba.imageSmoothingEnabled=this.ja),this.fr(),this.Ja||!c&&!this.xm||window.setTimeout(function(){window.scrollTo(0,1)},100)}};a.prototype.fr=function(){if(this.Tt&&0!==this.Xm){var g="portrait";2===this.Xm&&(g="landscape");screen.orientation&&screen.orientation.lock?screen.orientation.lock(g):screen.lockOrientation?screen.lockOrientation(g):screen.webkitLockOrientation?screen.webkitLockOrientation(g):screen.mozLockOrientation?screen.mozLockOrientation(g):screen.msLockOrientation&&screen.msLockOrientation(g)}};
a.prototype.ow=function(){this.A.au();this.wm=!0;var g,a,k;g=0;for(a=this.B.length;g<a;g++)k=this.B[g],k.Wh&&k.Wh()};a.prototype.pw=function(){this.wm=!1;var g,a,k;g=0;for(a=this.B.length;g<a;g++)k=this.B[g],k.Yj&&k.Yj()};a.prototype.Eq=function(){if(!this.Ja){var g=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Eh)&&!this.Uc?jQuery(this.canvas).offset():jQuery(this.canvas).position();g.position="absolute";jQuery(this.Mb).css(g)}};var d=
window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;a.prototype.setSuspended=function(g){var a;if(g&&!this.Fh)for(ea("[Construct 2] Suspending"),this.Fh=!0,-1!==this.nk&&d&&d(this.nk),-1!==this.Kk&&clearTimeout(this.Kk),g=0,a=this.pi.length;g<a;g++)this.pi[g](!0);else if(!g&&this.Fh){ea("[Construct 2] Resuming");this.Fh=!1;this.Hj=Va();this.Mf=Va();g=this.Sh=this.nj=0;for(a=this.pi.length;g<a;g++)this.pi[g](!1);
this.Gb(!1)}};a.prototype.vo=function(g){this.pi.push(g)};a.prototype.Ce=function(g){return this.Uj[g]};a.prototype.Oj=function(g){g&&g.project||ga("Project model unavailable");g=g.project;this.name=g[0];this.Yo=g[1];this.tc=g[12];this.Zo=g[12];this.Va=g[10];this.Ua=g[11];this.Bq=this.Va/2;this.Cq=this.Ua/2;this.Ja&&!this.jd&&(4<=g[12]||0===g[12])&&(ea("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Zo=this.tc=3);this.Mn=g[18];
this.Mh=g[19];0===this.Mh&&(this.zg=new Image,this.zg.src="loading-logo.png");this.Vh=g[21];this.Uj=kc();this.Td=new I(this);var a,k,e,d,b,m,c,n,l;a=0;for(k=g[2].length;a<k;a++)c=g[2][a],e=this.Ce(c[0]),nb(c,e.prototype),l=new e(this),l.yk=c[1],l.We=c[2],l.fq=c[9],l.C&&l.C(),this.plugins.push(l);this.Uj=kc();a=0;for(k=g[3].length;a<k;a++){c=g[3][a];b=this.Ce(c[1]);l=null;e=0;for(d=this.plugins.length;e<d;e++)if(this.plugins[e]instanceof b){l=this.plugins[e];break}var p=new l.M(l);p.name=c[0];p.G=
c[2];p.pm=c[3].slice(0);p.wx=c[3].length;p.Ut=c[4];p.dv=c[5];p.da=c[11];p.G?(p.Dg=[],p.ke=this.nh++,p.Ra=null):(p.Dg=null,p.ke=-1,p.Ra=[]);p.ij=null;p.hg=null;p.Uo=null;p.wc=!1;p.pc=null;c[6]?(p.Fk=c[6][0],p.Cn=c[6][1],p.ri=c[6][2]):(p.Fk=null,p.Cn=0,p.ri=0);p.oc=c[7]?c[7]:null;p.index=a;p.d=[];p.bj=[];p.kf=[new ob(p)];p.ge=0;p.Pc=null;p.fu=0;p.Qg=!0;p.Pk=pb;p.ep=qb;p.rv=rb;p.S=sb;p.ei=tb;p.te=ub;p.$c=vb;p.qj=wb;p.Xl=xb;p.am=yb;p.ac=zb;p.gp=Ab;p.hh=new bb(this.Va,this.Ua);p.Gi=!0;p.Hi=!1;p.Ia={};
p.toString=Bb;p.jb=[];e=0;for(d=c[8].length;e<d;e++){n=c[8][e];var f=this.Ce(n[1]),h=null;b=0;for(m=this.jb.length;b<m;b++)if(this.jb[b]instanceof f){h=this.jb[b];break}h||(h=new f(this),h.hq=[],h.Pm=new ca,h.C&&h.C(),this.jb.push(h));-1===h.hq.indexOf(p)&&h.hq.push(p);b=new h.M(h,p);b.name=n[0];b.da=n[2];b.C();p.jb.push(b)}p.global=c[9];p.um=c[10];p.R=[];e=0;for(d=c[12].length;e<d;e++)p.R.push({id:c[12][e][0],name:c[12][e][1],Nb:-1,$b:!0,index:e});p.Py=c[13];this.Mn&&!p.G&&!p.um&&l.We||p.C();p.name&&
(this.types[p.name]=p);this.B.push(p);l.yk&&(e=new l.I(p),e.uid=this.Vh++,e.Hq=this.jq++,e.Ff=0,e.vh=Cb,e.toString=Db,e.r=c[14],e.C(),p.d.push(e),this.Ze[e.uid.toString()]=e)}a=0;for(k=g[4].length;a<k;a++)for(b=g[4][a],m=this.B[b[0]],e=1,d=b.length;e<d;e++)c=this.B[b[e]],c.Ra.push(m),m.Dg.push(c);a=0;for(k=g[27].length;a<k;a++){b=g[27][a];m=[];e=0;for(d=b.length;e<d;e++)m.push(this.B[b[e]]);e=0;for(d=m.length;e<d;e++)m[e].wc=!0,m[e].pc=m}if(0<this.nh)for(a=0,k=this.B.length;a<k;a++)if(c=this.B[a],
!c.G&&c.Ra.length){c.ij=Array(this.nh);c.hg=Array(this.nh);c.Uo=Array(this.nh);p=[];e=h=f=n=0;for(d=c.Ra.length;e<d;e++)for(l=c.Ra[e],c.ij[l.ke]=n,n+=l.wx,c.hg[l.ke]=f,f+=l.Ut,c.Uo[l.ke]=h,h+=l.dv,b=0,m=l.R.length;b<m;b++)p.push(wa({},l.R[b]));c.R=p.concat(c.R);e=0;for(d=c.R.length;e<d;e++)c.R[e].index=e}a=0;for(k=g[5].length;a<k;a++)c=g[5][a],e=new Eb(this,c),this.Cm[e.name]=e,this.nd.push(e);a=0;for(k=g[6].length;a<k;a++)c=g[6][a],e=new Fb(this,c),this.Nl[e.name]=e,this.je.push(e);a=0;for(k=this.je.length;a<
k;a++)this.je[a].eb();a=0;for(k=this.je.length;a<k;a++)this.je[a].Hn();a=0;for(k=this.Nk.length;a<k;a++)this.Nk[a].eb();this.Nk.length=0;this.St=g[7];this.kj=g[8];this.Zc=g[9];this.dh=1;this.yu=g[13];this.ja=g[14];this.pl=g[15];this.ux=g[17];this.Xm=g[20];this.Tt=0<this.Xm;this.zw=g[22];this.Sc=this.tr=g[23];this.su=g[24];this.Fw=g[25];this.Ak=Date.now();this.Uj.length=0;this.Qv()};var l=!1;a.prototype.Qn=function(a,e){a.cocoonLazyLoad=!0;a.onerror=function(e){l=a.Fo=!0;console&&console.error&&console.error("Error loading image '"+
a.src+"': ",e)};this.jd?a.src=e:a.src||("undefined"!==typeof XAPKReader?XAPKReader.get(e,function(e){a.src=e},function(k){l=a.Fo=!0;console&&console.error&&console.error("Error extracting image '"+e+"' from expansion file: ",k)}):a.src=e);this.Vg.push(a)};a.prototype.$u=function(a){var e,k;e=0;for(k=this.Vg.length;e<k;e++)if(this.Vg[e].bu===a)return this.Vg[e];return null};var e=0,m=!1;a.prototype.Iv=function(){this.ag&&(e=this.ag.$w(this.St))};a.prototype.Co=function(){var a=e,d=0,k=0,b=!0,c,n,k=
0;for(c=this.Vg.length;k<c;k++){n=this.Vg[k];var p=n.Mo;if(!p||0>=p)p=5E4;a+=p;n.src&&(n.complete||n.loaded)&&!n.Fo?d+=p:b=!1}b&&this.Fw&&this.ag&&(m||(this.ag.dx(),m=!0),k=this.ag.sv(),d+=k,k<e&&(b=!1));this.qa=0==a?0:d/a;return b};a.prototype.go=function(){if(this.Ba||this.A){var a=this.Ba||this.Zm;this.Mb&&this.Eq();this.qa=0;this.Hp=-1;if(this.Co())this.Jv();else{var e=Date.now()-this.Ak;if(a){var k=this.width,d=this.height,b=this.devicePixelRatio;this.Mb&&(k=this.Yi,d=this.Xi,b=1);if(3!==this.Mh&&
(this.Tc||500<=e&&this.Hp!=this.qa)){a.clearRect(0,0,k,d);var e=k/2,d=d/2,k=0===this.Mh&&this.zg.complete,c=40*b,m=0,n=80*b,p;k&&(n=this.zg.width*b,p=this.zg.height*b,c=n/2,m=p/2,a.drawImage(this.zg,ra(e-c),ra(d-m),n,p));1>=this.Mh?(e=ra(e-c)+.5,d=ra(d+(m+(k?12*b:0)))+.5,a.fillStyle=l?"red":"DodgerBlue",a.fillRect(e,d,Math.floor(n*this.qa),6*b),a.strokeStyle="black",a.strokeRect(e,d,n,6*b),a.strokeStyle="white",a.strokeRect(e-1*b,d-1*b,n+2*b,8*b)):2===this.Mh&&(a.font=this.jd?"12pt ArialMT":"12pt Arial",
a.fillStyle=l?"#f00":"#999",a.Oy="middle",b=Math.round(100*this.qa)+"%",k=a.measureText?a.measureText(b):null,a.fillText(b,e-(k?k.width:0)/2,d))}this.Hp=this.qa}setTimeout(function(a){return function(){a.go()}}(this),this.Tc?10:100)}}};a.prototype.Jv=function(){this.Mb&&(this.canvas.parentNode.removeChild(this.Mb),this.Mb=this.Zm=null);this.Ak=Date.now();this.Mf=Va();var a,e,k;if(this.Mn)for(a=0,e=this.B.length;a<e;a++)k=this.B[a],k.G||k.um||!k.ba.We||k.C();else this.ug=!1;a=0;for(e=this.nd.length;a<
e;a++)this.nd[a].cu();2<=this.tc&&(a=this.Va/this.Ua,e=this.width/this.height,this.dh=2!==this.tc&&e>a||2===this.tc&&e<a?this.height/this.Ua:this.width/this.Va);this.Yo?this.Cm[this.Yo].yn():this.nd[0].yn();this.Mn||(this.Pf=1,this.trigger(I.prototype.g.bo,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(e=this.B.length;a<e;a++)k=this.B[a],k.nw&&k.nw();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):
this.Gb(!1);this.Ab&&AppMobi.webview.execute("onGameReady();")};var v=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;a.prototype.Gb=function(a){if(this.Aa){var e=Va();if(this.Kv&&this.hn&&29>e-this.zm)this.hn=!1,this.zm=e,v?this.nk=v(this.Jk,this.canvas):this.Kk=setTimeout(this.Jk,this.ld?1:16);else{this.hn=!0;this.zm=e;var k=this.tc,d=(document.mozFullScreen||document.webkitIsFullScreen||
document.fullScreen||!!document.msFullscreenElement)&&!this.Uc;(d||this.Eh)&&0<this.Bf&&(k=this.Bf);0<k&&(!this.Cj||window.self!==window.top)&&(k=window.innerHeight,this.Kh===window.innerWidth&&this.Jh===k||this.setSize(h(),f()));this.Ja||(d?(this.lj||(this.Ul=jQuery(this.canvas).css("margin")||"0",this.lj=!0),this.Ch||this.Ue||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.lj?(this.Ch||this.Ue||jQuery(this.canvas).css("margin",this.Ul),this.Ul="",this.lj=!1,0===this.tc&&this.setSize(Math.round(this.pq/this.devicePixelRatio),Math.round(this.oq/this.devicePixelRatio),!0)):(this.pq=this.width,this.oq=this.height));this.ug&&(d=this.Co(),this.Pf=this.qa,d&&(this.ug=!1,this.qa=1,this.trigger(I.prototype.g.bo,null)));this.hw();!this.ra&&!this.Tc||this.wm||this.oi||a||(this.ra=!1,this.A?this.fc():this.qc(),this.zk&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.zk[0],
this.zk[1]),this.trigger(I.prototype.g.xs,null)),this.zk=null));this.Iy||(this.xd++,this.mh++,this.nj++);this.Sh+=Va()-e;this.Fh||a||(v?this.nk=v(this.Jk,this.canvas):this.Kk=setTimeout(this.Jk,this.ld?1:16))}}};a.prototype.hw=function(){var a,e,k,d,b,c,m,n,p;a=Va();1E3<=a-this.Mf&&(this.Mf+=1E3,1E3<=a-this.Mf&&(this.Mf=a),this.Tl=this.nj,this.nj=0,this.Cl=this.Sh,this.Sh=0);this.bq&&(0!==this.Hj&&(e=a-this.Hj,0!==e||this.Uv?(this.ie=e/1E3,.5<this.ie?this.ie=0:.1<this.ie&&(this.ie=.1)):(10<=this.Ry&&
(this.bq=!1),this.ie=1/60)),this.Hj=a);this.he=this.ie*this.mf;this.Ic.add(this.he);this.Yd.add(this.ie);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Eh)&&!this.Uc;2<=this.tc||a&&0<this.Bf?(e=this.Va/this.Ua,k=this.width/this.height,d=this.tc,a&&0<this.Bf&&(d=this.Bf),this.dh=2!==d&&k>e||2===d&&k<e?this.height/this.Ua:this.width/this.Va,this.Aa&&(this.Aa.Mq(this.Aa.scrollX),this.Aa.Nq(this.Aa.scrollY))):this.dh=this.Hf?this.devicePixelRatio:
1;this.Ob();this.kd++;this.Td.Qw();this.kd--;this.Ob();this.kd++;k=this.nq.pf();a=0;for(e=k.length;a<e;a++)k[a].Ky();a=0;for(e=this.B.length;a<e;a++)if(m=this.B[a],!m.G&&(m.jb.length||m.Ra.length))for(k=0,d=m.d.length;k<d;k++)for(n=m.d[k],b=0,c=n.W.length;b<c;b++)n.W[b].Gb();a=0;for(e=this.B.length;a<e;a++)if(m=this.B[a],!m.G&&(m.jb.length||m.Ra.length))for(k=0,d=m.d.length;k<d;k++)for(n=m.d[k],b=0,c=n.W.length;b<c;b++)p=n.W[b],p.Ew&&p.Ew();k=this.Rm.pf();a=0;for(e=k.length;a<e;a++)k[a].Gb();this.kd--;
this.Lv();for(a=0;this.uf&&10>a++;)this.Ro(this.uf);a=0;for(e=this.je.length;a<e;a++)this.je[a].km=!1;this.Aa.yf&&this.Aa.yf.rb();this.kn.length=0;this.Bm=!1;this.kd++;a=0;for(e=this.B.length;a<e;a++)if(m=this.B[a],!m.G&&(m.jb.length||m.Ra.length))for(k=0,d=m.d.length;k<d;k++)for(n=m.d[k],b=0,c=n.W.length;b<c;b++)p=n.W[b],p.Ik&&p.Ik();k=this.Sm.pf();a=0;for(e=k.length;a<e;a++)k[a].Ik();this.kd--};a.prototype.Ro=function(a){var e=this.Aa;this.Aa.hx();var k,d,b,c,m,n,p;if(this.A)for(k=0,d=this.B.length;k<
d;k++)m=this.B[k],m.G||!m.Ok||m.global&&0!==m.d.length||-1!==a.Ah.indexOf(m)||m.Ok();e==a&&(this.Td.mc.length=0);a.yn();k=0;for(d=this.B.length;k<d;k++)if(m=this.B[k],m.global||m.ba.yk)for(a=0,e=m.d.length;a<e;a++)if(n=m.d[a],n.Vm&&n.Vm(),n.W)for(b=0,c=n.W.length;b<c;b++)p=n.W[b],p.Vm&&p.Vm();this.Bm=this.ra=!0;this.Ob()};a.prototype.Vf=function(a){this.Rm.add(a)};a.prototype.lx=function(a){this.Sm.add(a)};a.prototype.Zl=function(a){return a&&-1!==a.Uh?this.ie*a.Uh:this.he};a.prototype.qc=function(){this.Aa.qc(this.Ba);
this.Ab&&this.Ba.present()};a.prototype.fc=function(){this.Aa.fc(this.A);this.A.Hw()};a.prototype.ol=function(a){a&&this.dj.push(a)};a.prototype.Lw=function(a){Ca(this.dj,a)};a.prototype.sh=function(a){a=a.toString();return this.Ze.hasOwnProperty(a)?this.Ze[a]:null};var n=[];a.prototype.rf=function(a){var e,k;e=a.type.name;var d=null;if(this.wf.hasOwnProperty(e)){if(d=this.wf[e],d.contains(a))return}else d=n.length?n.pop():new ca,this.wf[e]=d;d.add(a);this.Se=!0;if(a.wc)for(e=0,k=a.siblings.length;e<
k;e++)this.rf(a.siblings[e]);this.rm&&d.Tg.push(a);this.kd++;this.trigger(Object.getPrototypeOf(a.type.ba).g.Xn,a);this.kd--};a.prototype.Ob=function(){if(this.Se){var a,e,k,d,b,m;this.rm=!0;k=0;for(b=this.hd.length;k<b;++k)for(a=this.hd[k],e=a.type,e.d.push(a),d=0,m=e.Ra.length;d<m;++d)e.Ra[d].d.push(a),e.Ra[d].Qg=!0;this.hd.length=0;this.ls();Ua(this.wf);this.Se=this.rm=!1}};a.prototype.ls=function(){for(var a in this.wf)this.wf.hasOwnProperty(a)&&this.Gr(this.wf[a])};a.prototype.Gr=function(a){var e=
a.pf(),k=e[0].type,d,b,m,c,p,l;Wa(k.d,a);k.Qg=!0;0===k.d.length&&(k.Hi=!1);d=0;for(b=k.Ra.length;d<b;++d)l=k.Ra[d],Wa(l.d,a),l.Qg=!0;d=0;for(b=this.Td.mc.length;d<b;++d)if(p=this.Td.mc[d],p.Zb.hasOwnProperty(k.index)&&Wa(p.Zb[k.index].ne,a),!k.G)for(m=0,c=k.Ra.length;m<c;++m)l=k.Ra[m],p.Zb.hasOwnProperty(l.index)&&Wa(p.Zb[l.index].ne,a);if(p=e[0].i){if(p.yd)for(m=p.d,d=0,b=m.length;d<b;++d)c=m[d],a.contains(c)&&(c.ea(),p.Ac.update(c,c.jc,null),c.jc.set(0,0,-1,-1));Wa(p.d,a);p.ii(0)}for(d=0;d<e.length;++d)this.Fr(e[d],
k);a.clear();n.push(a);this.ra=!0};a.prototype.Fr=function(a,e){var k,d,b;k=0;for(d=this.dj.length;k<d;++k)this.dj[k](a);a.Mc&&e.hh.update(a,a.Mc,null);(k=a.i)&&k.Lg(a,!0);if(a.W)for(k=0,d=a.W.length;k<d;++k)b=a.W[k],b.$e&&b.$e(),b.behavior.Pm.remove(a);this.nq.remove(a);this.Rm.remove(a);this.Sm.remove(a);a.$e&&a.$e();this.Ze.hasOwnProperty(a.uid.toString())&&delete this.Ze[a.uid.toString()];this.Vj--;100>e.bj.length&&e.bj.push(a)};a.prototype.No=function(a,e,k,d){if(a.G){var b=ra(Math.random()*
a.Dg.length);return this.No(a.Dg[b],e,k,d)}return a.Pc?this.Le(a.Pc,e,!1,k,d,!1):null};var y=[];a.prototype.Le=function(a,e,k,d,b,m){var c,n,p,l;if(!a)return null;var f=this.B[a[1]],h=f.ba.We;if(this.ug&&h&&!f.um||h&&!this.A&&11===a[0][11])return null;var v=e;h||(e=null);var s;f.bj.length?(s=f.bj.pop(),s.ic=!0,f.ba.I.call(s,f)):(s=new f.ba.I(f),s.ic=!1);s.uid=k&&!m?a[2]:this.Vh++;this.Ze[s.uid.toString()]=s;s.Hq=this.jq++;s.Ff=f.d.length;c=0;for(n=this.hd.length;c<n;++c)this.hd[c].type===f&&s.Ff++;
s.vh=Cb;s.toString=Db;p=a[3];if(s.ic)Ua(s.Ia);else{s.Ia={};if("undefined"!==typeof cr_is_preview)for(s.tp=[],s.tp.length=p.length,c=0,n=p.length;c<n;c++)s.tp[c]=p[c][1];s.ub=[];s.ub.length=p.length}c=0;for(n=p.length;c<n;c++)s.ub[c]=p[c][0];if(h){var q=a[0];s.x=ha(d)?q[0]:d;s.y=ha(b)?q[1]:b;s.z=q[2];s.width=q[3];s.height=q[4];s.depth=q[5];s.k=q[6];s.opacity=q[7];s.Ub=q[8];s.Vb=q[9];s.ec=q[10];c=q[11];!this.A&&f.R.length&&(s.ec=c);s.ih=db(s.ec);this.u&&eb(s,s.ec,this.u);if(s.ic){c=0;for(n=q[12].length;c<
n;c++)for(p=0,l=q[12][c].length;p<l;p++)s.Wa[c][p]=q[12][c][p];s.fa.set(0,0,0,0);s.Mc.set(0,0,-1,-1);s.jc.set(0,0,-1,-1);s.Pb.ji(s.fa);s.ul.length=0}else{s.Wa=q[12].slice(0);c=0;for(n=s.Wa.length;c<n;c++)s.Wa[c]=q[12][c].slice(0);s.ma=[];s.De=[];s.De.length=f.R.length;s.fa=new ua(0,0,0,0);s.Mc=new ua(0,0,-1,-1);s.jc=new ua(0,0,-1,-1);s.Pb=new va;s.ul=[];s.wa=Gb;s.zy=Hb;s.Qb=Ib;s.ea=Jb;s.tx=Kb;s.or=Lb;s.Id=Mb}s.si=!1;s.ox=0;s.nx=0;s.mx=null;14===q.length&&(s.si=!0,s.ox=q[13][0],s.nx=q[13][1],s.mx=
q[13][2]);c=0;for(n=f.R.length;c<n;c++)s.De[c]=!0;s.Ae=Ob;s.Ae();s.qr=!!s.ma.length;s.tl=!0;s.xl=!0;f.Gi=!0;s.visible=!0;s.Uh=-1;s.i=e;s.zd=e.d.length;"undefined"===typeof s.ta&&(s.ta=null);this.ra=s.Cd=!0}var B;c=y.length=0;for(n=f.Ra.length;c<n;c++)y.push.apply(y,f.Ra[c].jb);y.push.apply(y,f.jb);if(s.ic)for(c=0,n=y.length;c<n;c++){var t=y[c];B=s.W[c];B.ic=!0;t.behavior.I.call(B,t,s);q=a[4][c];p=0;for(l=q.length;p<l;p++)B.r[p]=q[p];B.C();t.behavior.Pm.add(s)}else for(s.W=[],c=0,n=y.length;c<n;c++)t=
y[c],B=new t.behavior.I(t,s),B.ic=!1,B.r=a[4][c].slice(0),B.C(),s.W.push(B),t.behavior.Pm.add(s);q=a[5];if(s.ic)for(c=0,n=q.length;c<n;c++)s.r[c]=q[c];else s.r=q.slice(0);this.hd.push(s);this.Se=!0;e&&(e.bh(s,!0),1!==e.hc||1!==e.Yc)&&(f.Hi=!0);this.Vj++;if(f.wc){if(s.wc=!0,s.ic?s.siblings.length=0:s.siblings=[],!k&&!m){c=0;for(n=f.pc.length;c<n;c++)if(f.pc[c]!==f){if(!f.pc[c].Pc)return null;s.siblings.push(this.Le(f.pc[c].Pc,v,!1,h?s.x:d,h?s.y:b,!0))}c=0;for(n=s.siblings.length;c<n;c++)for(s.siblings[c].siblings.push(s),
p=0;p<n;p++)c!==p&&s.siblings[c].siblings.push(s.siblings[p])}}else s.wc=!1,s.siblings=null;s.C();c=0;for(n=s.W.length;c<n;c++)s.W[c].Dw&&s.W[c].Dw();return s};a.prototype.jg=function(a){var e,k;e=0;for(k=this.Aa.Z.length;e<k;e++){var d=this.Aa.Z[e];if(kb(d.name,a))return d}return null};a.prototype.le=function(a){a=ra(a);0>a&&(a=0);a>=this.Aa.Z.length&&(a=this.Aa.Z.length-1);return this.Aa.Z[a]};a.prototype.rj=function(a){return ia(a)?this.le(a):this.jg(a.toString())};a.prototype.Al=function(a){var e,
k;e=0;for(k=a.length;e<k;e++)a[e].S().T=!0};a.prototype.ei=function(a){var e,k;e=0;for(k=a.length;e<k;e++)a[e].ei()};a.prototype.te=function(a){var e,k;e=0;for(k=a.length;e<k;e++)a[e].te()};a.prototype.$c=function(a){var e,k;e=0;for(k=a.length;e<k;e++)a[e].$c()};a.prototype.lr=function(a){if(a.Gi){var e,k,d=a.d;e=0;for(k=d.length;e<k;++e)d[e].or();d=this.hd;e=0;for(k=d.length;e<k;++e)d[e].type===a&&d[e].or();a.Gi=!1}};a.prototype.kv=function(a,e,k,d){var b,c,m=a?1!==a.hc||1!==a.Yc:!1;if(e.G)for(a=
0,b=e.Dg.length;a<b;++a)c=e.Dg[a],m||c.Hi?Aa(d,c.d):(this.lr(c),c.hh.mk(k,d));else m||e.Hi?Aa(d,e.d):(this.lr(e),e.hh.mk(k,d))};a.prototype.Ek=function(a,e,k){var d=a.S(),b,c,m,n,p,l;if(d.T)for(d.T=!1,b=d.d.length=0,n=a.d.length;b<n;b++)m=a.d[b],m.ea(),p=m.i.Hb(e,k,!0),l=m.i.Hb(e,k,!1),m.Qb(p,l)&&d.d.push(m);else{b=c=0;for(n=d.d.length;b<n;b++)m=d.d[b],m.ea(),p=m.i.Hb(e,k,!0),l=m.i.Hb(e,k,!1),m.Qb(p,l)&&(d.d[c]=d.d[b],c++);d.d.length=c}a.ac();return d.jm()};a.prototype.kx=function(a,e){if(!(a&&e&&
a!==e&&a.Cd&&e.Cd))return!1;a.ea();e.ea();var k=a.i,d=e.i,b,c,m,n,p,l,s,f;if(k===d||k.hc===d.hc&&d.Yc===d.Yc&&k.scale===d.scale&&k.k===d.k&&k.Cc===d.Cc){if(!a.fa.Rv(e.fa)||!a.Pb.up(e.Pb)||a.si&&e.si)return!1;if(a.si)return this.$q(a,e);if(e.si)return this.$q(e,a);s=a.ta&&!a.ta.qg();b=e.ta&&!e.ta.qg();if(!s&&!b)return!0;s?(a.ta.bg(a.width,a.height,a.k),s=a.ta):(this.vd.Og(a.Pb,a.x,a.y,a.width,a.height),s=this.vd);b?(e.ta.bg(e.width,e.height,e.k),f=e.ta):(this.vd.Og(e.Pb,e.x,e.y,e.width,e.height),f=
this.vd);return s.Bh(f,e.x-a.x,e.y-a.y)}s=a.ta&&!a.ta.qg();b=e.ta&&!e.ta.qg();s?(a.ta.bg(a.width,a.height,a.k),this.vd.Qq(a.ta)):this.vd.Og(a.Pb,a.x,a.y,a.width,a.height);s=this.vd;b?(e.ta.bg(e.width,e.height,e.k),this.An.Qq(e.ta)):this.An.Og(e.Pb,e.x,e.y,e.width,e.height);f=this.An;b=0;for(c=s.qd;b<c;b++)m=2*b,n=m+1,p=s.wb[m],l=s.wb[n],s.wb[m]=k.Ta(p+a.x,l+a.y,!0),s.wb[n]=k.Ta(p+a.x,l+a.y,!1);s.ea();b=0;for(c=f.qd;b<c;b++)m=2*b,n=m+1,p=f.wb[m],l=f.wb[n],f.wb[m]=d.Ta(p+e.x,l+e.y,!0),f.wb[n]=d.Ta(p+
e.x,l+e.y,!1);f.ea();return s.Bh(f,0,0)};var B=new va;new ua(0,0,0,0);var p=[];a.prototype.$q=function(a,e){var k,d,b,c,m=e.fa,n=a.x,l=a.y;a.Ey(m,p);var s=e.ta&&!e.ta.qg();k=0;for(d=p.length;k<d;++k)if(b=p[k],c=b.Ly,m.Sv(c,n,l)&&(B.ji(c),B.offset(n,l),B.up(e.Pb)))if(s)if(e.ta.bg(e.width,e.height,e.k),b.bn){if(b.bn.Bh(e.ta,e.x-(n+c.left),e.y-(l+c.top)))return p.length=0,!0}else{if(this.vd.Og(B,0,0,c.right-c.left,c.bottom-c.top),this.vd.Bh(e.ta,e.x,e.y))return p.length=0,!0}else if(b.bn){if(this.vd.Og(e.Pb,
0,0,e.width,e.height),b.bn.Bh(this.vd,-(n+c.left),-(l+c.top)))return p.length=0,!0}else return p.length=0,!0;p.length=0;return!1};a.prototype.gr=function(a,e){if(!e)return!1;var k,d,b,c,m;k=0;for(d=a.jb.length;k<d;k++)if(a.jb[k].behavior instanceof e)return!0;if(!a.G)for(k=0,d=a.Ra.length;k<d;k++)for(m=a.Ra[k],b=0,c=m.jb.length;b<c;b++)if(m.jb[b].behavior instanceof e)return!0;return!1};a.prototype.hr=function(a){return this.gr(a,cc.Vx)};a.prototype.Gn=function(a){return this.gr(a,cc.Wx)};a.prototype.Yt=
function(a,e){var k,d,b;k=0;for(d=this.kn.length;k<d;k++)if(b=this.kn[k],b[0]==a&&b[1]==e||b[0]==e&&b[1]==a)return!0;return!1};var s=-1;a.prototype.trigger=function(a,e,k){if(!this.Aa)return!1;var d=this.Aa.yf;if(!d)return!1;var b=!1,c,m,n;s++;var p=d.Hl;m=0;for(n=p.length;m<n;++m)c=this.dr(a,e,p[m],k),b=b||c;c=this.dr(a,e,d,k);s--;return b||c};a.prototype.dr=function(a,e,k,d){var b=!1,c,m,n,p;if(e)for(n=this.En(a,e,e.type.name,k,d),b=b||n,p=e.type.Ra,c=0,m=p.length;c<m;++c)n=this.En(a,e,p[c].name,
k,d),b=b||n;else n=this.En(a,e,"system",k,d),b=b||n;return b};a.prototype.En=function(a,e,k,d,b){var c,m=!1,n=!1,n="undefined"!==typeof b,p=(n?d.Wo:d.er)[k];if(!p)return m;var l=null;d=0;for(c=p.length;d<c;++d)if(p[d].method==a){l=p[d].kh;break}if(!l)return m;a=n?l[b]:l;if(!a)return null;d=0;for(c=a.length;d<c;d++)b=a[d][0],n=a[d][1],n=this.Yu(e,k,b,n),m=m||n;return m};a.prototype.Yu=function(a,e,k,d){var b,c,m=!1;this.Fn++;var n=this.pb().lb;n&&this.ei(n.hf);var p=1<this.Fn;this.ei(k.hf);p&&this.Jw();
var l=this.kk(k);l.lb=k;a&&(b=this.types[e].S(),b.T=!1,b.d.length=1,b.d[0]=a,this.types[e].ac());a=!0;if(k.parent){e=l.Zq;for(b=k.parent;b;)e.push(b),b=b.parent;e.reverse();b=0;for(c=e.length;b<c;b++)if(!e[b].Sw()){a=!1;break}}a&&(this.mh++,k.od?k.Rw(d):k.rb(),m=m||l.Lf);this.fk();p&&this.Cw();this.$c(k.hf);n&&this.$c(n.hf);this.Se&&0===this.kd&&0===s&&!this.vm&&this.Ob();this.Fn--;return m};a.prototype.qh=function(){var a=this.pb();return a.lb.sb[a.kb]};a.prototype.Jw=function(){this.Rj++;this.Rj>=
this.Im.length&&this.Im.push([])};a.prototype.Cw=function(){this.Rj--};a.prototype.bp=function(){return this.Im[this.Rj]};a.prototype.kk=function(a){this.hj++;this.hj>=this.Ml.length&&this.Ml.push(new Pb);var e=this.pb();e.reset(a);return e};a.prototype.fk=function(){this.hj--};a.prototype.pb=function(){return this.Ml[this.hj]};a.prototype.en=function(a){this.Sj++;this.Sj>=this.Bg.length&&this.Bg.push(aa({name:a,index:0,Na:!1}));var e=this.cp();e.name=a;e.index=0;e.Na=!1;return e};a.prototype.cn=
function(){this.Sj--};a.prototype.cp=function(){return this.Bg[this.Sj]};a.prototype.dp=function(a,e){for(var k,d,b,c,m,n;e;){k=0;for(d=e.cd.length;k<d;k++)if(n=e.cd[k],n instanceof Qb&&kb(a,n.name))return n;e=e.parent}k=0;for(d=this.je.length;k<d;k++)for(m=this.je[k],b=0,c=m.Oe.length;b<c;b++)if(n=m.Oe[b],n instanceof Qb&&kb(a,n.name))return n;return null};a.prototype.hp=function(a){var e,k;e=0;for(k=this.nd.length;e<k;e++)if(this.nd[e].da===a)return this.nd[e];return null};a.prototype.tj=function(a){var e,
k;e=0;for(k=this.B.length;e<k;e++)if(this.B[e].da===a)return this.B[e];return null};a.prototype.nv=function(a){var e,k;e=0;for(k=this.Ee.length;e<k;e++)if(this.Ee[e].da===a)return this.Ee[e];return null};a.prototype.Lv=function(){var a=this,e=this.sn,k=this.qe,d=this.Mj,b=!1;this.Vq&&(b=!0,e="__c2_continuouspreview",this.Vq=!1);if(e.length){this.Ob();k=this.Ww();if(window.indexedDB&&!this.Tc)c(e,k,function(){ea("Saved state to IndexedDB storage ("+k.length+" bytes)");a.qe=k;a.trigger(I.prototype.g.bl,
null);a.qe="";b&&t()},function(d){try{localStorage.setItem("__c2save_"+e,k),ea("Saved state to WebStorage ("+k.length+" bytes)"),a.qe=k,a.trigger(I.prototype.g.bl,null),a.qe="",b&&t()}catch(c){ea("Failed to save game state: "+d+"; "+c)}});else try{localStorage.setItem("__c2save_"+e,k),ea("Saved state to WebStorage ("+k.length+" bytes)"),a.qe=k,this.trigger(I.prototype.g.bl,null),a.qe="",b&&t()}catch(m){ea("Error saving to WebStorage: "+m)}this.Yb=this.Mj=this.sn=""}d.length&&(window.indexedDB&&!this.Tc?
q(d,function(e){e?(a.Yb=e,ea("Loaded state from IndexedDB storage ("+a.Yb.length+" bytes)")):(a.Yb=localStorage.getItem("__c2save_"+d)||"",ea("Loaded state from WebStorage ("+a.Yb.length+" bytes)"));a.oi=!1;a.Yb.length||a.trigger(I.prototype.g.$k,null)},function(){a.Yb=localStorage.getItem("__c2save_"+d)||"";ea("Loaded state from WebStorage ("+a.Yb.length+" bytes)");a.oi=!1;a.Yb.length||a.trigger(I.prototype.g.$k,null)}):(this.Yb=localStorage.getItem("__c2save_"+d)||"",ea("Loaded state from WebStorage ("+
this.Yb.length+" bytes)"),this.oi=!1,a.Yb.length||a.trigger(I.prototype.g.$k,null)),this.sn=this.Mj="");this.Yb.length&&(this.Ob(),this.dw(this.Yb),this.qe=this.Yb,this.trigger(I.prototype.g.Hs,null),this.Yb=this.qe="")};a.prototype.Ww=function(){var a,e,k,d,b,c,m,n={c2save:!0,version:1,rt:{time:this.Ic.xa,walltime:this.Yd.xa,timescale:this.mf,tickcount:this.xd,execcount:this.mh,next_uid:this.Vh,running_layout:this.Aa.da,start_time_offset:Date.now()-this.Ak},types:{},layouts:{},events:{groups:{},
cnds:{},acts:{},vars:{}}};a=0;for(e=this.B.length;a<e;a++)if(b=this.B[a],!b.G&&!this.hr(b)){c={instances:[]};Ta(b.Ia)&&(c.ex=r(b.Ia));k=0;for(d=b.d.length;k<d;k++)c.instances.push(this.rn(b.d[k]));n.types[b.da.toString()]=c}a=0;for(e=this.nd.length;a<e;a++)k=this.nd[a],n.layouts[k.da.toString()]=k.yb();d=n.events.groups;a=0;for(e=this.Ee.length;a<e;a++)k=this.Ee[a],d[k.da.toString()]=this.lg[k.wh].Re;e=n.events.cnds;for(m in this.dg)this.dg.hasOwnProperty(m)&&(a=this.dg[m],Ta(a.Ia)&&(e[m]={ex:r(a.Ia)}));
e=n.events.acts;for(m in this.$f)this.$f.hasOwnProperty(m)&&(a=this.$f[m],Ta(a.Ia)&&(e[m]={ex:a.Ia}));e=n.events.vars;for(m in this.Ug)this.Ug.hasOwnProperty(m)&&(a=this.Ug[m],a.zj||a.parent&&!a.Hh||(e[m]=a.data));n.system=this.Td.yb();return JSON.stringify(n)};a.prototype.Jq=function(){var a,e,k,d,b,c;this.Ze={};a=0;for(e=this.B.length;a<e;a++)if(k=this.B[a],!k.G)for(d=0,b=k.d.length;d<b;d++)c=k.d[d],this.Ze[c.uid.toString()]=c};a.prototype.dw=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var e=
a.rt;this.Ic.reset();this.Ic.xa=e.time;this.Yd.reset();this.Yd.xa=e.walltime||0;this.mf=e.timescale;this.xd=e.tickcount;this.mh=e.execcount;this.Ak=Date.now()-e.start_time_offset;var k=e.running_layout;if(k!==this.Aa.da)if(k=this.hp(k))this.Ro(k);else return;var d,b,c,m,n,p,l;p=a.types;for(b in p)if(p.hasOwnProperty(b)&&(m=this.tj(parseInt(b,10)))&&!m.G&&!this.hr(m)){p[b].ex?m.Ia=p[b].ex:Ua(m.Ia);n=m.d;c=p[b].instances;k=0;for(d=pa(n.length,c.length);k<d;k++)this.Nj(n[k],c[k]);k=c.length;for(d=n.length;k<
d;k++)this.rf(n[k]);k=n.length;for(d=c.length;k<d;k++){n=null;if(m.ba.We&&(n=this.Aa.sj(c[k].w.l),!n))continue;n=this.Le(m.Pc,n,!1,0,0,!0);this.Nj(n,c[k])}m.Qg=!0}this.Ob();this.Jq();d=a.layouts;for(b in d)d.hasOwnProperty(b)&&(k=this.hp(parseInt(b,10)))&&k.Lb(d[b]);d=a.events.groups;for(b in d)d.hasOwnProperty(b)&&(k=this.nv(parseInt(b,10)))&&this.lg[k.wh]&&(this.lg[k.wh].Re=d[b]);k=a.events.cnds;for(b in k)k.hasOwnProperty(b)&&this.dg.hasOwnProperty(b)&&(this.dg[b].Ia=k[b].ex);k=a.events.acts;for(b in k)k.hasOwnProperty(b)&&
this.$f.hasOwnProperty(b)&&(this.$f[b].Ia=k[b].ex);k=a.events.vars;for(b in k)k.hasOwnProperty(b)&&this.Ug.hasOwnProperty(b)&&(this.Ug[b].data=k[b]);this.Vh=e.next_uid;this.Td.Lb(a.system);k=0;for(d=this.B.length;k<d;k++)if(m=this.B[k],!m.G)for(b=0,a=m.d.length;b<a;b++){n=m.d[b];if(m.wc)for(p=n.vh(),e=n.siblings.length=0,c=m.pc.length;e<c;e++)l=m.pc[e],m!==l&&n.siblings.push(l.d[p]);n.Ad&&n.Ad();if(n.W)for(e=0,c=n.W.length;e<c;e++)p=n.W[e],p.Ad&&p.Ad()}this.ra=!0}};a.prototype.rn=function(a,e){var d,
b,c,m,n;m=a.type;c=m.ba;var p={};e?p.c2=!0:p.uid=a.uid;Ta(a.Ia)&&(p.ex=r(a.Ia));if(a.ub&&a.ub.length)for(p.ivs={},d=0,b=a.ub.length;d<b;d++)p.ivs[a.type.pm[d].toString()]=a.ub[d];if(c.We){c={x:a.x,y:a.y,w:a.width,h:a.height,l:a.i.da,zi:a.Id()};0!==a.k&&(c.a=a.k);1!==a.opacity&&(c.o=a.opacity);.5!==a.Ub&&(c.hX=a.Ub);.5!==a.Vb&&(c.hY=a.Vb);0!==a.ec&&(c.bm=a.ec);a.visible||(c.v=a.visible);a.Cd||(c.ce=a.Cd);-1!==a.Uh&&(c.mts=a.Uh);if(m.R.length)for(c.fx=[],d=0,b=m.R.length;d<b;d++)n=m.R[d],c.fx.push({name:n.name,
active:a.De[n.index],params:a.Wa[n.index]});p.w=c}if(a.W&&a.W.length)for(p.behs={},d=0,b=a.W.length;d<b;d++)m=a.W[d],m.yb&&(p.behs[m.type.da.toString()]=m.yb());a.yb&&(p.data=a.yb());return p};a.prototype.pv=function(a,e){var d,b;d=0;for(b=a.pm.length;d<b;d++)if(a.pm[d]===e)return d;return-1};a.prototype.jv=function(a,e){var d,b;d=0;for(b=a.W.length;d<b;d++)if(a.W[d].type.da===e)return d;return-1};a.prototype.Nj=function(a,e,d){var b,c,m,n,p;p=a.type;m=p.ba;if(d){if(!e.c2)return}else a.uid=e.uid;
e.ex?a.Ia=e.ex:Ua(a.Ia);if(c=e.ivs)for(b in c)c.hasOwnProperty(b)&&(d=this.pv(p,parseInt(b,10)),0>d||d>=a.ub.length||(a.ub[d]=c[b]));if(m.We){m=e.w;a.i.da!==m.l&&(d=a.i,a.i=this.Aa.sj(m.l),a.i?(d.Lg(a,!0),a.i.bh(a,!0),a.wa(),a.i.ii(0)):(a.i=d,this.rf(a)));a.x=m.x;a.y=m.y;a.width=m.w;a.height=m.h;a.zd=m.zi;a.k=m.hasOwnProperty("a")?m.a:0;a.opacity=m.hasOwnProperty("o")?m.o:1;a.Ub=m.hasOwnProperty("hX")?m.hX:.5;a.Vb=m.hasOwnProperty("hY")?m.hY:.5;a.visible=m.hasOwnProperty("v")?m.v:!0;a.Cd=m.hasOwnProperty("ce")?
m.ce:!0;a.Uh=m.hasOwnProperty("mts")?m.mts:-1;a.ec=m.hasOwnProperty("bm")?m.bm:0;a.ih=db(a.ec);this.u&&eb(a,a.ec,this.u);a.wa();if(m.hasOwnProperty("fx"))for(d=0,c=m.fx.length;d<c;d++)n=p.am(m.fx[d].name),0>n||(a.De[n]=m.fx[d].active,a.Wa[n]=m.fx[d].params);a.Ae()}if(p=e.behs)for(b in p)p.hasOwnProperty(b)&&(m=this.jv(a,parseInt(b,10)),0>m||a.W[m].Lb(p[b]));e.data&&a.Lb(e.data)};Rb=function(e){return new a(document.getElementById(e))};Sb=function(e,d){return new a({dc:!0,width:e,height:d})};window.cr_createRuntime=
Rb;window.cr_createDCRuntime=Sb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var e=document.createElement("screencanvas")||document.createElement("canvas");e.Ny=!0;document.body.appendChild(e);e=new a(e);window.c2runtime=e;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return e};window.createEjectaRuntime=function(){var e=new a(document.getElementById("canvas"));
window.c2runtime=e;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return e}})();window.cr_getC2Runtime=function(){var h=document.getElementById("c2canvas");return h?h.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(h,f){if(0!==h&&0!==f){var a=window.cr_getC2Runtime();a&&a.setSize(h,f)}};window.cr_setSuspended=function(h){var f=window.cr_getC2Runtime();f&&f.setSuspended(h)};
(function(){function h(a,d){this.b=a;this.yf=null;this.scrollX=this.b.Va/2;this.scrollY=this.b.Ua/2;this.scale=1;this.k=0;this.ig=!0;this.name=d[0];this.width=d[1];this.height=d[2];this.ir=d[3];this.Tq=d[4];this.da=d[5];var b=d[6],c,l;this.Z=[];this.Ah=[];c=0;for(l=b.length;c<l;c++){var f=new Tb(this,b[c]);f.lq=c;this.Z.push(f)}b=d[7];this.Gf=[];c=0;for(l=b.length;c<l;c++){var f=b[c],p=this.b.B[f[1]];p.Pc||(p.Pc=f);this.Gf.push(f);-1===this.Ah.indexOf(p)&&this.Ah.push(p)}this.R=[];this.ma=[];this.Wa=
[];c=0;for(l=d[8].length;c<l;c++)this.R.push({id:d[8][c][0],name:d[8][c][1],Nb:-1,$b:!0,index:c}),this.Wa.push(d[8][c][2].slice(0));this.Ae();this.cf=new ua(0,0,1,1);this.jn=new ua(0,0,1,1);this.bf={}}function f(a,d){return a.zd-d.zd}function a(a,d){this.Cb=a;this.b=a.b;this.d=[];this.scale=1;this.k=0;this.xf=!1;this.ye=new ua(0,0,0,0);this.cr=new va;this.Oa=this.La=this.Pa=this.Ka=0;this.qf=!1;this.Be=-1;this.name=d[0];this.index=d[1];this.da=d[2];this.visible=d[3];this.Ge=d[4];this.ze=d[5];this.hc=
d[6];this.Yc=d[7];this.opacity=d[8];this.Sl=d[9];this.yd=d[10];this.Cc=d[11];this.ec=d[12];this.xu=d[13];this.ih="source-over";this.Rb=this.Sb=0;this.Ac=null;this.xg=b();this.ue=!0;this.Gj=new ua(0,0,-1,-1);this.Oc=new ua(0,0,-1,-1);this.yd&&(this.Ac=new cb(this.b.Va,this.b.Ua));this.df=!1;var c=d[14],n,l;this.mg=[];n=0;for(l=c.length;n<l;n++){var f=c[n],p=this.b.B[f[1]];p.Pc||(p.Pc=f,p.fu=this.index);this.mg.push(f);-1===this.Cb.Ah.indexOf(p)&&this.Cb.Ah.push(p)}this.R=[];this.ma=[];this.Wa=[];n=
0;for(l=d[15].length;n<l;n++)this.R.push({id:d[15][n][0],name:d[15][n][1],Nb:-1,$b:!0,index:n}),this.Wa.push(d[15][n][2].slice(0));this.Ae();this.cf=new ua(0,0,1,1);this.jn=new ua(0,0,1,1)}function b(){return r.length?r.pop():[]}function c(a){a.length=0;r.push(a)}h.prototype.Vw=function(a){var d=a.type.da.toString();this.bf.hasOwnProperty(d)||(this.bf[d]=[]);this.bf[d].push(this.b.rn(a))};h.prototype.mp=function(){var a=this.Z[0];return!a.ze&&1===a.opacity&&!a.Sl&&a.visible};h.prototype.Ae=function(){this.ma.length=
0;var a,d,b;a=0;for(d=this.R.length;a<d;a++)b=this.R[a],b.$b&&this.ma.push(b)};h.prototype.$l=function(a){var d,b,c;d=0;for(b=this.R.length;d<b;d++)if(c=this.R[d],c.name===a)return c;return null};var q=[],t=!0;h.prototype.yn=function(){this.Tq&&(this.yf=this.b.Nl[this.Tq],this.yf.Hn());this.b.Aa=this;this.scrollX=this.b.Va/2;this.scrollY=this.b.Ua/2;var a,d,b,c,l,h,p;a=0;for(b=this.b.B.length;a<b;a++)if(d=this.b.B[a],!d.G)for(l=d.d,d=0,c=l.length;d<c;d++)if(h=l[d],h.i){var s=h.i.lq;s>=this.Z.length&&
(s=this.Z.length-1);h.i=this.Z[s];-1===h.i.d.indexOf(h)&&h.i.d.push(h);h.i.qf=!0}if(!t)for(a=0,b=this.Z.length;a<b;++a)this.Z[a].d.sort(f);q.length=0;this.Vt();a=0;for(b=this.Z.length;a<b;a++)h=this.Z[a],h.du(),h.Kn();l=!1;if(!this.ig){for(p in this.bf)if(this.bf.hasOwnProperty(p)&&(d=this.b.tj(parseInt(p,10)))&&!d.G&&this.b.Gn(d)){c=this.bf[p];a=0;for(b=c.length;a<b;a++){h=null;if(d.ba.We&&(h=this.sj(c[a].w.l),!h))continue;h=this.b.Le(d.Pc,h,!1,0,0,!0);this.b.Nj(h,c[a]);l=!0;q.push(h)}c.length=0}a=
0;for(b=this.Z.length;a<b;a++)this.Z[a].d.sort(f),this.Z[a].qf=!0}l&&(this.b.Ob(),this.b.Jq());for(a=0;a<q.length;a++)if(h=q[a],h.type.wc)for(b=h.vh(),d=0,c=h.type.pc.length;d<c;d++)p=h.type.pc[d],h.type!==p&&(p.d.length>b?h.siblings.push(p.d[b]):p.Pc&&(l=this.b.Le(p.Pc,h.i,!0,h.x,h.y,!0),this.b.Ob(),p.Pk(),h.siblings.push(l),q.push(l)));a=0;for(b=this.Gf.length;a<b;a++)this.b.Le(this.Gf[a],null,!0);this.b.uf=null;this.b.Ob();if(this.b.Ba&&!this.b.Ja)for(a=0,b=this.b.B.length;a<b;a++)p=this.b.B[a],
!p.G&&p.d.length&&p.ik&&p.ik(this.b.Ba);a=0;for(b=q.length;a<b;a++)h=q[a],this.b.trigger(Object.getPrototypeOf(h.type.ba).g.Ci,h);q.length=0;this.b.trigger(I.prototype.g.ao,null);this.ig=!1};h.prototype.cu=function(){var a,d,b,c,l;d=a=0;for(b=this.Gf.length;a<b;a++)c=this.Gf[a],l=this.b.B[c[1]],l.global?this.b.Le(c,null,!0):(this.Gf[d]=c,d++);this.Gf.length=d};h.prototype.hx=function(){this.b.trigger(I.prototype.g.$n,null);this.b.Td.mc.length=0;var a,d,b,c,l,f;if(!this.ig)for(a=0,d=this.Z.length;a<
d;a++)for(this.Z[a].Ln(),l=this.Z[a].d,b=0,c=l.length;b<c;b++)f=l[b],f.type.global||this.b.Gn(f.type)&&this.Vw(f);a=0;for(d=this.Z.length;a<d;a++){l=this.Z[a].d;b=0;for(c=l.length;b<c;b++)f=l[b],f.type.global||this.b.rf(f);this.b.Ob();l.length=0;this.Z[a].qf=!0}a=0;for(d=this.b.B.length;a<d;a++)if(l=this.b.B[a],!(l.global||l.ba.We||l.ba.yk||l.G)){b=0;for(c=l.d.length;b<c;b++)this.b.rf(l.d[b]);this.b.Ob()}t=!1};new ua(0,0,0,0);h.prototype.qc=function(a){var d,b=a,c=!1,l=!this.b.Sc;l&&(this.b.Lj||(this.b.Lj=
document.createElement("canvas"),d=this.b.Lj,d.width=this.b.Y,d.height=this.b.X,this.b.Jp=d.getContext("2d"),c=!0),d=this.b.Lj,b=this.b.Jp,d.width!==this.b.Y&&(d.width=this.b.Y,c=!0),d.height!==this.b.X&&(d.height=this.b.X,c=!0),c&&(b.webkitImageSmoothingEnabled=this.b.ja,b.mozImageSmoothingEnabled=this.b.ja,b.msImageSmoothingEnabled=this.b.ja,b.imageSmoothingEnabled=this.b.ja));b.globalAlpha=1;b.globalCompositeOperation="source-over";this.b.pl&&!this.mp()&&b.clearRect(0,0,this.b.Y,this.b.X);var f,
p,c=0;for(f=this.Z.length;c<f;c++)p=this.Z[c],p.visible&&0<p.opacity&&11!==p.ec&&(p.d.length||!p.ze)?p.qc(b):p.Kn();l&&a.drawImage(d,0,0,this.b.width,this.b.height)};h.prototype.fc=function(a){var d=0<this.ma.length||this.b.Sg||!this.b.Sc;if(d){this.b.xc||(this.b.xc=a.be(this.b.Y,this.b.X,this.b.ja));if(this.b.xc.fh!==this.b.Y||this.b.xc.eh!==this.b.X)a.deleteTexture(this.b.xc),this.b.xc=a.be(this.b.Y,this.b.X,this.b.ja);a.Rd(this.b.xc);this.b.Sc||a.gf(this.b.Y,this.b.X)}else this.b.xc&&(a.Rd(null),
a.deleteTexture(this.b.xc),this.b.xc=null);this.b.pl&&!this.mp()&&a.clear(0,0,0,0);var b,c,l;b=0;for(c=this.Z.length;b<c;b++)l=this.Z[b],l.visible&&0<l.opacity&&(l.d.length||!l.ze)?l.fc(a):l.Kn();d&&(0===this.ma.length||1===this.ma.length&&this.b.Sc?(1===this.ma.length?(d=this.ma[0].index,a.Sd(this.ma[0].Nb),a.Ng(null,1/this.b.Y,1/this.b.X,0,0,1,1,this.scale,this.k,0,0,this.b.Y/2,this.b.X/2,this.Wa[d]),a.jk(this.ma[0].Nb)&&(this.b.ra=!0)):a.Sd(0),this.b.Sc||a.gf(this.b.width,this.b.height),a.Rd(null),
a.ff(1),a.lc(this.b.xc),a.Oq(),a.Pd(),a.Wd(),d=this.b.width/2,b=this.b.height/2,a.lk(-d,b,d,b,d,-b,-d,-b),a.lc(null)):this.ln(a,null,null,null))};h.prototype.uh=function(){return 0<this.ma.length||this.b.Sg||!this.b.Sc?this.b.xc:null};h.prototype.ip=function(){var a=this.Z[0].Hc(),d,b,c;d=1;for(b=this.Z.length;d<b;d++)c=this.Z[d],(0!==c.hc||0!==c.Yc)&&c.Hc()<a&&(a=c.Hc());return a};h.prototype.Mq=function(a){if(!this.ir){var d=1/this.ip()*this.b.Y/2;a>this.width-d&&(a=this.width-d);a<d&&(a=d)}this.scrollX!==
a&&(this.scrollX=a,this.b.ra=!0)};h.prototype.Nq=function(a){if(!this.ir){var d=1/this.ip()*this.b.X/2;a>this.height-d&&(a=this.height-d);a<d&&(a=d)}this.scrollY!==a&&(this.scrollY=a,this.b.ra=!0)};h.prototype.Vt=function(){this.Mq(this.scrollX);this.Nq(this.scrollY)};h.prototype.ln=function(a,d,b,c){var l=b?b.ma:d?d.ma:this.ma,f=1,p=0,s=0,g=0,h=this.b.Y,k=this.b.X;b?(f=b.i.Hc(),p=b.i.ob(),s=b.i.Ka,g=b.i.La,h=b.i.Pa,k=b.i.Oa):d&&(f=d.Hc(),p=d.ob(),s=d.Ka,g=d.La,h=d.Pa,k=d.Oa);var q=this.b.Vl,G,Q,
t,r,P=0,U=1,F,M=this.b.Y,K=this.b.X,V=M/2,N=K/2,w=d?d.cf:this.cf,A=d?d.jn:this.jn,z=0,R=0,J=0,O=0,H=M,fa=M,S=K,na=K,oa=t=0,Ia=b?b.i.ob():0;if(b){G=0;for(Q=l.length;G<Q;G++)t+=a.tv(l[G].Nb),oa+=a.uv(l[G].Nb);r=b.fa;z=d.Ta(r.left,r.top,!0,!0);J=d.Ta(r.left,r.top,!1,!0);H=d.Ta(r.right,r.bottom,!0,!0);S=d.Ta(r.right,r.bottom,!1,!0);0!==Ia&&(G=d.Ta(r.right,r.top,!0,!0),Q=d.Ta(r.right,r.top,!1,!0),R=d.Ta(r.left,r.bottom,!0,!0),O=d.Ta(r.left,r.bottom,!1,!0),r=Math.min(z,H,G,R),H=Math.max(z,H,G,R),z=r,r=
Math.min(J,S,Q,O),S=Math.max(J,S,Q,O),J=r);z-=t;J-=oa;H+=t;S+=oa;A.left=z/M;A.top=1-J/K;A.right=H/M;A.bottom=1-S/K;R=z=ra(z);O=J=ra(J);fa=H=sa(H);na=S=sa(S);R-=t;O-=oa;fa+=t;na+=oa;0>z&&(z=0);0>J&&(J=0);H>M&&(H=M);S>K&&(S=K);0>R&&(R=0);0>O&&(O=0);fa>M&&(fa=M);na>K&&(na=K);w.left=z/M;w.top=1-J/K;w.right=H/M;w.bottom=1-S/K}else w.left=A.left=0,w.top=A.top=0,w.right=A.right=1,w.bottom=A.bottom=1;oa=b&&((b.k||Ia)&&a.ci(l[0].Nb)||0!==t||0!==oa||1!==b.opacity||b.type.ba.fq)||d&&!b&&1!==d.opacity;a.Oq();
if(oa){q[P]||(q[P]=a.be(M,K,this.b.ja));if(q[P].fh!==M||q[P].eh!==K)a.deleteTexture(q[P]),q[P]=a.be(M,K,this.b.ja);a.Sd(0);a.Rd(q[P]);F=na-O;a.clearRect(R,K-O-F,fa-R,F);b?b.fc(a):(a.lc(this.b.Jc),a.ff(d.opacity),a.Pd(),a.translate(-V,-N),a.Wd(),a.sd(z,S,H,S,H,J,z,J,w));A.left=A.top=0;A.right=A.bottom=1;b&&(r=w.top,w.top=w.bottom,w.bottom=r);P=1;U=0}a.ff(1);t=l.length-1;var Ia=a.dn(l[t].Nb)||!d&&!b&&!this.b.Sc,La=0;G=0;for(Q=l.length;G<Q;G++){q[P]||(q[P]=a.be(M,K,this.b.ja));if(q[P].fh!==M||q[P].eh!==
K)a.deleteTexture(q[P]),q[P]=a.be(M,K,this.b.ja);a.Sd(l[G].Nb);La=l[G].index;a.jk(l[G].Nb)&&(this.b.ra=!0);0!=G||oa?(a.Ng(c,1/M,1/K,A.left,A.top,A.right,A.bottom,f,p,s,g,(s+h)/2,(g+k)/2,b?b.Wa[La]:d?d.Wa[La]:this.Wa[La]),a.lc(null),G!==t||Ia?(a.Rd(q[P]),F=na-O,r=K-O-F,a.clearRect(R,r,fa-R,F)):(b?a.ef(b.Sb,b.Rb):d&&a.ef(d.Sb,d.Rb),a.Rd(c)),a.lc(q[U]),a.Pd(),a.translate(-V,-N),a.Wd(),a.sd(z,S,H,S,H,J,z,J,w),G!==t||Ia||a.lc(null)):(a.Rd(q[P]),F=na-O,r=K-O-F,a.clearRect(R,r,fa-R,F),b?(a.Ng(c,1/b.width,
1/b.height,A.left,A.top,A.right,A.bottom,f,p,s,g,(s+h)/2,(g+k)/2,b.Wa[La]),b.fc(a)):(a.Ng(c,1/M,1/K,0,0,1,1,f,p,s,g,(s+h)/2,(g+k)/2,d?d.Wa[La]:this.Wa[La]),a.lc(d?this.b.Jc:this.b.xc),a.Pd(),a.translate(-V,-N),a.Wd(),a.sd(z,S,H,S,H,J,z,J,w)),A.left=A.top=0,A.right=A.bottom=1,b&&!Ia&&(r=S,S=J,J=r));P=0===P?1:0;U=0===P?1:0}Ia&&(a.Sd(0),b?a.ef(b.Sb,b.Rb):d?a.ef(d.Sb,d.Rb):this.b.Sc||(a.gf(this.b.width,this.b.height),V=this.b.width/2,N=this.b.height/2,J=z=0,H=this.b.width,S=this.b.height),a.Rd(c),a.lc(q[U]),
a.Pd(),a.translate(-V,-N),a.Wd(),b&&1===l.length&&!oa?a.sd(z,J,H,J,H,S,z,S,w):a.sd(z,S,H,S,H,J,z,J,w),a.lc(null))};h.prototype.sj=function(a){var d,b;d=0;for(b=this.Z.length;d<b;d++)if(this.Z[d].da===a)return this.Z[d];return null};h.prototype.yb=function(){var a,d,b,c={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.k,w:this.width,h:this.height,fv:this.ig,persist:this.bf,fx:[],layers:{}};a=0;for(d=this.R.length;a<d;a++)b=this.R[a],c.fx.push({name:b.name,active:b.$b,params:this.Wa[b.index]});
a=0;for(d=this.Z.length;a<d;a++)b=this.Z[a],c.layers[b.da.toString()]=b.yb();return c};h.prototype.Lb=function(a){var d,b,c,l;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.k=a.a;this.width=a.w;this.height=a.h;this.bf=a.persist;"undefined"!==typeof a.fv&&(this.ig=a.fv);var f=a.fx;d=0;for(b=f.length;d<b;d++)if(c=this.$l(f[d].name))c.$b=f[d].active,this.Wa[c.index]=f[d].params;this.Ae();d=a.layers;for(l in d)d.hasOwnProperty(l)&&(a=this.sj(parseInt(l,10)))&&a.Lb(d[l])};Eb=h;a.prototype.Ae=
function(){this.ma.length=0;var a,d,b;a=0;for(d=this.R.length;a<d;a++)b=this.R[a],b.$b&&this.ma.push(b)};a.prototype.$l=function(a){var d,b,c;d=0;for(b=this.R.length;d<b;d++)if(c=this.R[d],c.name===a)return c;return null};a.prototype.du=function(){var a,d,b,c,l,f;d=a=0;for(b=this.mg.length;a<b;a++){c=this.mg[a];l=this.b.B[c[1]];f=this.b.Gn(l);l=!0;if(!f||this.Cb.ig)c=this.b.Le(c,this,!0),q.push(c),c.type.global&&(l=!1);l&&(this.mg[d]=this.mg[a],d++)}this.mg.length=d;this.b.Ob();!this.b.A&&this.R.length&&
(this.ec=this.xu);this.ih=db(this.ec);this.b.u&&eb(this,this.ec,this.b.u);this.ue=!0};a.prototype.Lg=function(a,d){var b=Ba(this.d,a);0>b||(d&&this.yd&&a.jc&&a.jc.right>=a.jc.left&&(a.ea(),this.Ac.update(a,a.jc,null),a.jc.set(0,0,-1,-1)),b===this.d.length-1?this.d.pop():(xa(this.d,b),this.ii(b)),this.ue=!0)};a.prototype.bh=function(a,d){a.zd=this.d.length;this.d.push(a);d&&this.yd&&a.jc&&a.wa();this.ue=!0};a.prototype.Gw=function(a){this.d.unshift(a);this.ii(0)};a.prototype.mw=function(a,d,b){var c=
a.Id();d=d.Id();xa(this.d,c);c<d&&d--;b&&d++;d===this.d.length?this.d.push(a):this.d.splice(d,0,a);this.ii(c<d?c:d)};a.prototype.ii=function(a){-1===this.Be?this.Be=a:a<this.Be&&(this.Be=a);this.ue=this.qf=!0};a.prototype.Ln=function(){if(this.qf){-1===this.Be&&(this.Be=0);var a,d,b;if(this.yd)for(a=this.Be,d=this.d.length;a<d;++a)b=this.d[a],b.zd=a,this.Ac.jw(b.jc);else for(a=this.Be,d=this.d.length;a<d;++a)this.d[a].zd=a;this.qf=!1;this.Be=-1}};a.prototype.Hc=function(a){return this.qv()*(this.b.Sc||
a?this.b.dh:1)};a.prototype.qv=function(){return(this.scale*this.Cb.scale-1)*this.Cc+1};a.prototype.ob=function(){return this.xf?0:Fa(this.Cb.k+this.k)};var r=[],d=[],l=[];a.prototype.jp=function(){this.Ln();this.Ac.mk(this.Ka,this.La,this.Pa,this.Oa,l);if(!l.length)return b();if(1===l.length){var a=b();ya(a,l[0]);l.length=0;return a}for(var m=!0;1<l.length;){for(var a=l,f=void 0,n=void 0,h=void 0,q=void 0,p=void 0,f=0,n=a.length;f<n-1;f+=2){var h=a[f],q=a[f+1],p=b(),s=h,g=q,u=p,k=0,D=0,G=0,r=s.length,
t=g.length,x=void 0,P=void 0;for(u.length=r+t;k<r&&D<t;++G)x=s[k],P=g[D],x.zd<P.zd?(u[G]=x,++k):(u[G]=P,++D);for(;k<r;++k,++G)u[G]=s[k];for(;D<t;++D,++G)u[G]=g[D];m||(c(h),c(q));d.push(p)}1===n%2&&(m?(h=b(),ya(h,a[n-1]),d.push(h)):d.push(a[n-1]));ya(a,d);d.length=0;m=!1}a=l[0];l.length=0;return a};a.prototype.qc=function(a){this.df=this.Sl||1!==this.opacity||0!==this.ec;var d=this.b.canvas,b=a,l=!1;this.df&&(this.b.Kj||(this.b.Kj=document.createElement("canvas"),d=this.b.Kj,d.width=this.b.Y,d.height=
this.b.X,this.b.Ip=d.getContext("2d"),l=!0),d=this.b.Kj,b=this.b.Ip,d.width!==this.b.Y&&(d.width=this.b.Y,l=!0),d.height!==this.b.X&&(d.height=this.b.X,l=!0),l&&(b.webkitImageSmoothingEnabled=this.b.ja,b.mozImageSmoothingEnabled=this.b.ja,b.msImageSmoothingEnabled=this.b.ja,b.imageSmoothingEnabled=this.b.ja),this.ze&&b.clearRect(0,0,this.b.Y,this.b.X));b.globalAlpha=1;b.globalCompositeOperation="source-over";this.ze||(b.fillStyle="rgb("+this.Ge[0]+","+this.Ge[1]+","+this.Ge[2]+")",b.fillRect(0,0,
this.b.Y,this.b.X));b.save();this.xf=!0;var l=this.Hb(0,0,!0,!0),f=this.Hb(0,0,!1,!0);this.xf=!1;this.b.Zc&&(l=Math.round(l),f=Math.round(f));this.nn(l,f,b);var h=this.Hc();b.scale(h,h);b.translate(-l,-f);this.yd?(this.Oc.left=this.Ac.Dc(this.Ka),this.Oc.top=this.Ac.Ec(this.La),this.Oc.right=this.Ac.Dc(this.Pa),this.Oc.bottom=this.Ac.Ec(this.Oa),this.ue||!this.Oc.gj(this.Gj)?(c(this.xg),l=this.jp(),this.ue=!1,this.Gj.Wi(this.Oc)):l=this.xg):l=this.d;for(var p,s=null,f=0,h=l.length;f<h;++f)p=l[f],
p!==s&&(this.tu(p,b),s=p);this.yd&&(this.xg=l);b.restore();this.df&&(a.globalCompositeOperation=this.ih,a.globalAlpha=this.opacity,a.drawImage(d,0,0))};a.prototype.tu=function(a,d){if(a.visible&&0!==a.width&&0!==a.height){a.ea();var b=a.fa;b.right<this.Ka||b.bottom<this.La||b.left>this.Pa||b.top>this.Oa||(d.globalCompositeOperation=a.ih,a.qc(d))}};a.prototype.Kn=function(){this.xf=!0;var a=this.Hb(0,0,!0,!0),d=this.Hb(0,0,!1,!0);this.xf=!1;this.b.Zc&&(a=Math.round(a),d=Math.round(d));this.nn(a,d,
null)};a.prototype.nn=function(a,d,b){var c=this.Hc();this.Ka=a;this.La=d;this.Pa=a+1/c*this.b.Y;this.Oa=d+1/c*this.b.X;a=this.ob();0!==a&&(b&&(b.translate(this.b.Y/2,this.b.X/2),b.rotate(-a),b.translate(this.b.Y/-2,this.b.X/-2)),this.ye.set(this.Ka,this.La,this.Pa,this.Oa),this.ye.offset((this.Ka+this.Pa)/-2,(this.La+this.Oa)/-2),this.cr.Rq(this.ye,a),this.cr.Eo(this.ye),this.ye.offset((this.Ka+this.Pa)/2,(this.La+this.Oa)/2),this.Ka=this.ye.left,this.La=this.ye.top,this.Pa=this.ye.right,this.Oa=
this.ye.bottom)};a.prototype.fc=function(a){var d=0,b=0;if(this.df=this.Sl||1!==this.opacity||0<this.ma.length||0!==this.ec){this.b.Jc||(this.b.Jc=a.be(this.b.Y,this.b.X,this.b.ja));if(this.b.Jc.fh!==this.b.Y||this.b.Jc.eh!==this.b.X)a.deleteTexture(this.b.Jc),this.b.Jc=a.be(this.b.Y,this.b.X,this.b.ja);a.Rd(this.b.Jc);this.ze&&a.clear(0,0,0,0)}this.ze||a.clear(this.Ge[0]/255,this.Ge[1]/255,this.Ge[2]/255,1);this.xf=!0;var l=this.Hb(0,0,!0,!0),d=this.Hb(0,0,!1,!0);this.xf=!1;this.b.Zc&&(l=Math.round(l),
d=Math.round(d));this.nn(l,d,null);l=this.Hc();a.Pd();a.scale(l,l);a.on(-this.ob());a.translate((this.Ka+this.Pa)/-2,(this.La+this.Oa)/-2);a.Wd();this.yd?(this.Oc.left=this.Ac.Dc(this.Ka),this.Oc.top=this.Ac.Ec(this.La),this.Oc.right=this.Ac.Dc(this.Pa),this.Oc.bottom=this.Ac.Ec(this.Oa),this.ue||!this.Oc.gj(this.Gj)?(c(this.xg),d=this.jp(),this.ue=!1,this.Gj.Wi(this.Oc)):d=this.xg):d=this.d;var f,h,p=null,b=0;for(f=d.length;b<f;++b)h=d[b],h!==p&&(this.uu(d[b],a),p=h);this.yd&&(this.xg=d);this.df&&
(d=this.ma.length?this.ma[0].Nb:0,b=this.ma.length?this.ma[0].index:0,0===this.ma.length||1===this.ma.length&&!a.dn(d)&&1===this.opacity?(1===this.ma.length?(a.Sd(d),a.Ng(this.Cb.uh(),1/this.b.Y,1/this.b.X,0,0,1,1,l,this.ob(),this.Ka,this.La,(this.Ka+this.Pa)/2,(this.La+this.Oa)/2,this.Wa[b]),a.jk(d)&&(this.b.ra=!0)):a.Sd(0),a.Rd(this.Cb.uh()),a.ff(this.opacity),a.lc(this.b.Jc),a.ef(this.Sb,this.Rb),a.Pd(),a.Wd(),l=this.b.Y/2,d=this.b.X/2,a.lk(-l,d,l,d,l,-d,-l,-d),a.lc(null)):this.Cb.ln(a,this,null,
this.Cb.uh()))};a.prototype.uu=function(a,d){if(a.visible&&0!==a.width&&0!==a.height){a.ea();var b=a.fa;b.right<this.Ka||b.bottom<this.La||b.left>this.Pa||b.top>this.Oa||(a.qr?this.vu(a,d):(d.Sd(0),d.ef(a.Sb,a.Rb),a.fc(d)))}};a.prototype.vu=function(a,d){var b=a.ma[0].Nb,c=a.ma[0].index,l=this.Hc();if(1!==a.ma.length||d.dn(b)||d.Iw(b)||(a.k||a.i.ob())&&d.ci(b)||1!==a.opacity||a.type.ba.fq)this.Cb.ln(d,this,a,this.df?this.b.Jc:this.Cb.uh()),d.Pd(),d.scale(l,l),d.on(-this.ob()),d.translate((this.Ka+
this.Pa)/-2,(this.La+this.Oa)/-2),d.Wd();else{d.Sd(b);d.ef(a.Sb,a.Rb);d.jk(b)&&(this.b.ra=!0);var f=0,p=0,s=0,g=0;d.ci(b)&&(b=a.fa,f=this.Ta(b.left,b.top,!0,!0),p=this.Ta(b.left,b.top,!1,!0),s=this.Ta(b.right,b.bottom,!0,!0),b=this.Ta(b.right,b.bottom,!1,!0),f/=windowWidth,p=1-p/windowHeight,s/=windowWidth,g=1-b/windowHeight);d.Ng(this.df?this.b.Jc:this.Cb.uh(),1/a.width,1/a.height,f,p,s,g,l,this.ob(),this.Ka,this.La,(this.Ka+this.Pa)/2,(this.La+this.Oa)/2,a.Wa[c]);a.fc(d)}};a.prototype.Hb=function(a,
d,b,c){var l=this.b.devicePixelRatio;this.b.Hf&&(a*=l,d*=l);var l=this.b.Bq,f=this.b.Cq,l=(this.Cb.scrollX-l)*this.hc+l,f=(this.Cb.scrollY-f)*this.Yc+f,p=l,s=f,g=1/this.Hc(!c);c?(p-=this.b.Y*g/2,s-=this.b.X*g/2):(p-=this.b.width*g/2,s-=this.b.height*g/2);p+=a*g;s+=d*g;d=this.ob();0!==d&&(p-=l,s-=f,a=Math.cos(d),d=Math.sin(d),c=p*a-s*d,s=s*a+p*d,p=c+l,s+=f);return b?p:s};a.prototype.Ta=function(a,d,b,c){var l=this.b.Bq,f=this.b.Cq,p=(this.Cb.scrollX-l)*this.hc+l,s=(this.Cb.scrollY-f)*this.Yc+f,f=p,
l=s,g=this.ob();if(0!==g){a-=p;d-=s;var h=Math.cos(-g),g=Math.sin(-g),k=a*h-d*g;d=d*h+a*g;a=k+p;d+=s}p=1/this.Hc(!c);c?(f-=this.b.Y*p/2,l-=this.b.X*p/2):(f-=this.b.width*p/2,l-=this.b.height*p/2);f=(a-f)/p;l=(d-l)/p;a=this.b.devicePixelRatio;this.b.Hf&&!c&&(f/=a,l/=a);return b?f:l};a.prototype.yb=function(){var a,d,b,c={s:this.scale,a:this.k,vl:this.Ka,vt:this.La,vr:this.Pa,vb:this.Oa,v:this.visible,bc:this.Ge,t:this.ze,px:this.hc,py:this.Yc,o:this.opacity,zr:this.Cc,fx:[],instances:[]};a=0;for(d=
this.R.length;a<d;a++)b=this.R[a],c.fx.push({name:b.name,active:b.$b,params:this.Wa[b.index]});return c};a.prototype.Lb=function(a){var d,b;this.scale=a.s;this.k=a.a;this.Ka=a.vl;this.La=a.vt;this.Pa=a.vr;this.Oa=a.vb;this.visible=a.v;this.Ge=a.bc;this.ze=a.t;this.hc=a.px;this.Yc=a.py;this.opacity=a.o;this.Cc=a.zr;var c=a.fx;a=0;for(d=c.length;a<d;a++)if(b=this.$l(c[a].name))b.$b=c[a].active,this.Wa[b.index]=c[a].params;this.Ae();this.d.sort(f);this.qf=!0};Tb=a})();
(function(){function h(a,d){var b,c=a.length;switch(c){case 0:return!0;case 1:return a[0]===d[0];case 2:return a[0]===d[0]&&a[1]===d[1];default:for(b=0;b<c;b++)if(a[b]!==d[b])return!1;return!0}}function f(a,d){return a.index-d.index}function a(a){var d,b,c,e;2===a.length?a[0].index>a[1].index&&(d=a[0],a[0]=a[1],a[1]=d):2<a.length&&a.sort(f);a.length>=n.length&&(n.length=a.length+1);n[a.length]||(n[a.length]=[]);e=n[a.length];d=0;for(b=e.length;d<b;d++)if(c=e[d],h(a,c))return c;e.push(a);return a}
function b(a,d){this.b=a;this.er={};this.Wo={};this.km=!1;this.pp=new ca;this.Hl=[];this.ql=[];this.name=d[0];var b=d[1];this.Oe=[];var c,e;c=0;for(e=b.length;c<e;c++)this.rp(b[c],null,this.Oe)}function c(a){this.type=a;this.d=[];this.ca=[];this.T=!0}function q(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.V=[];this.hf=[];this.np=this.Lk=this.Dn=this.vj=this.group=this.xn=!1;this.sb=[];this.ed=[];this.cd=[];this.wh="";this.Re=this.vj=this.group=!1;this.Ui=null;b[1]&&(this.wh=b[1][1].toLowerCase(),
this.group=!0,this.vj=!!b[1][0],this.Ui=[],this.Re=this.vj,this.b.Ee.push(this),this.b.lg[this.wh]=this);this.od=b[2];this.da=b[4];this.group||(this.b.Do[this.da.toString()]=this);var c=b[5];a=0;for(d=c.length;a<d;a++){var e=new Ub(this,c[a]);e.index=a;this.sb.push(e);this.uo(e.type)}c=b[6];a=0;for(d=c.length;a<d;a++)e=new Vb(this,c[a]),e.index=a,this.ed.push(e);if(8===b.length)for(b=b[7],a=0,d=b.length;a<d;a++)this.sheet.rp(b[a],this,this.cd);this.Aj=!1;this.sb.length&&(this.Aj=null==this.sb[0].type&&
this.sb[0].Jb==I.prototype.g.Tn)}function t(a,d){var b,c,e;if(a&&(-1===d.indexOf(a)&&d.push(a),a.wc))for(b=0,c=a.pc.length;b<c;b++)e=a.pc[b],a!==e&&-1===d.indexOf(e)&&d.push(e)}function r(a,d){this.Fc=a;this.sheet=a.sheet;this.b=a.b;this.K=[];this.Fa=[];this.Ia={};this.index=-1;this.$g=!1;this.Jb=this.b.Ce(d[1]);this.trigger=0<d[3];this.Vo=2===d[3];this.Kd=d[4];this.qm=d[5];this.bw=d[6];this.da=d[7];this.b.dg[this.da.toString()]=this;-1===d[0]?(this.type=null,this.rb=this.qn,this.tf=null,this.Lc=
-1):(this.type=this.b.B[d[0]],this.rb=this.bw?this.Tw:this.pn,d[2]?(this.tf=this.type.qj(d[2]),this.Lc=this.type.Xl(d[2])):(this.tf=null,this.Lc=-1),this.Fc.parent&&this.Fc.parent.vk());this.Vo&&(this.rb=this.Uw);if(10===d.length){var b,c,e=d[9];b=0;for(c=e.length;b<c;b++){var l=new Wb(this,e[b]);this.K.push(l)}this.Fa.length=e.length}}function d(a,d){this.Fc=a;this.sheet=a.sheet;this.b=a.b;this.K=[];this.Fa=[];this.Ia={};this.index=-1;this.$g=!1;this.Jb=this.b.Ce(d[1]);-1===d[0]?(this.type=null,
this.rb=this.qn,this.tf=null,this.Lc=-1):(this.type=this.b.B[d[0]],this.rb=this.pn,d[2]?(this.tf=this.type.qj(d[2]),this.Lc=this.type.Xl(d[2])):(this.tf=null,this.Lc=-1));this.da=d[3];this.b.$f[this.da.toString()]=this;if(6===d.length){var b,c,e=d[5];b=0;for(c=e.length;b<c;b++){var l=new Wb(this,e[b]);this.K.push(l)}this.Fa.length=e.length}}function l(a,d){this.F=a;this.Fc=a.Fc;this.sheet=a.sheet;this.b=a.b;this.type=d[0];this.Dd=null;this.jf=0;this.get=null;this.Lo=0;this.Cb=null;this.key=0;this.object=
null;this.index=0;this.vi=this.Uf=this.vi=this.Uf=this.Xo=this.zf=this.wi=null;this.dd=!1;var b,c,e;switch(d[0]){case 0:case 7:this.Dd=new Xb(this,d[1]);this.jf=0;this.get=this.Av;break;case 1:this.Dd=new Xb(this,d[1]);this.jf=0;this.get=this.Bv;break;case 5:this.Dd=new Xb(this,d[1]);this.jf=0;this.get=this.gm;break;case 3:case 8:this.Lo=d[1];this.get=this.yv;break;case 6:this.Cb=this.b.Cm[d[1]];this.get=this.Fv;break;case 9:this.key=d[1];this.get=this.Ev;break;case 4:this.object=this.b.B[d[1]];this.get=
this.Gv;this.Fc.uo(this.object);this.F instanceof Vb?this.Fc.vk():this.Fc.parent&&this.Fc.parent.vk();break;case 10:this.index=d[1];a.type.G?(this.get=this.Cv,this.dd=!0):this.get=this.Dv;break;case 11:this.wi=d[1];this.zf=null;this.get=this.zv;break;case 2:case 12:this.Xo=d[1];this.get=this.xv;break;case 13:for(this.get=this.Hv,this.Uf=[],this.vi=[],b=1,c=d.length;b<c;b++)e=new Wb(this.F,d[b]),this.Uf.push(e),this.vi.push(0)}}function e(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.V=[];this.name=
b[1];this.rr=b[2];this.nm=b[3];this.Hh=!!b[4];this.zj=!!b[5];this.da=b[6];this.b.Ug[this.da.toString()]=this;this.data=this.nm;this.parent?(this.Sf=this.Hh||this.zj?-1:this.b.cx++,this.b.Pt.push(this)):(this.Sf=-1,this.b.Ot.push(this))}function m(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.V=[];this.zh=null;this.Ov=b[1];this.$b=!0}function v(){this.Zq=[];this.reset(null)}var n=[];b.prototype.toString=function(){return this.name};b.prototype.rp=function(a,d,b){switch(a[0]){case 0:a=new Yb(this,
d,a);if(a.od)for(b.push(a),b=0,d=a.sb.length;b<d;b++)a.sb[b].trigger&&this.sp(a,b);else a.Bp()?this.sp(a,0):b.push(a);break;case 1:a=new Qb(this,d,a);b.push(a);break;case 2:a=new Zb(this,d,a),b.push(a)}};b.prototype.eb=function(){var a,d;a=0;for(d=this.Oe.length;a<d;a++)this.Oe[a].eb(a<d-1&&this.Oe[a+1].Aj)};b.prototype.Hn=function(){this.Hl.length=0;this.ql.length=0;this.to(this);this.ql.length=0};b.prototype.to=function(a){var d,b,c,e,l=a.Hl,n=a.ql,m=this.pp.pf();d=0;for(b=m.length;d<b;++d)c=m[d],
e=c.zh,!c.$b||a===e||-1<n.indexOf(e)||(n.push(e),e.to(a),l.push(e))};b.prototype.rb=function(a){this.b.My||(this.km=!0,a||(this.b.vm=!0));var d,b;d=0;for(b=this.Oe.length;d<b;d++){var c=this.Oe[d];c.rb();this.b.Al(c.V);this.b.Se&&this.b.Ob()}a||(this.b.vm=!1)};b.prototype.sp=function(a,d){a.od||this.b.Nk.push(a);var b,c,e=a.sb[d],l;l=e.type?e.type.name:"system";var n=(b=e.Vo)?this.Wo:this.er;n[l]||(n[l]=[]);l=n[l];n=e.Jb;if(b){if(e.K.length&&(e=e.K[0],1===e.type&&2===e.Dd.type)){e=e.Dd.value.toLowerCase();
b=0;for(c=l.length;b<c;b++)if(l[b].method==n){b=l[b].kh;b[e]?b[e].push([a,d]):b[e]=[[a,d]];return}b={};b[e]=[[a,d]];l.push({method:n,kh:b})}}else{b=0;for(c=l.length;b<c;b++)if(l[b].method==n){l[b].kh.push([a,d]);return}T&&n===T.prototype.g.Zf?l.unshift({method:n,kh:[[a,d]]}):l.push({method:n,kh:[[a,d]]})}};Fb=b;c.prototype.jm=function(){return this.T?this.type.d.length:this.d.length};c.prototype.Tb=function(){return this.T?this.type.d:this.d};c.prototype.ai=function(a){a&&(a.b.pb().lb.od?(this.T&&
(this.d.length=0,ya(this.ca,a.type.d),this.T=!1),a=this.ca.indexOf(a),-1!==a&&(this.d.push(this.ca[a]),this.ca.splice(a,1))):(this.T=!1,this.d.length=1,this.d[0]=a))};ob=c;window._c2hh_="EDCBCFEC54173B63A2A33889AFDD7754E6B81B76";q.prototype.eb=function(d){var b,e=this.parent;if(this.group)for(this.Lk=!0;e;){if(!e.group){this.Lk=!1;break}e=e.parent}this.Dn=!this.Bp()&&(!this.parent||this.parent.group&&this.parent.Lk);this.np=!!d;this.hf=this.V.slice(0);for(e=this.parent;e;){d=0;for(b=e.V.length;d<
b;d++)this.Nt(e.V[d]);e=e.parent}this.V=a(this.V);this.hf=a(this.hf);d=0;for(b=this.sb.length;d<b;d++)this.sb[d].eb();d=0;for(b=this.ed.length;d<b;d++)this.ed[d].eb();d=0;for(b=this.cd.length;d<b;d++)this.cd[d].eb(d<b-1&&this.cd[d+1].Aj)};q.prototype.tk=function(a){if(this.Re!==!!a){this.Re=!!a;var d;a=0;for(d=this.Ui.length;a<d;++a)this.Ui[a].kr();0<d&&this.b.Aa.yf&&this.b.Aa.yf.Hn()}};q.prototype.uo=function(a){t(a,this.V)};q.prototype.Nt=function(a){t(a,this.hf)};q.prototype.vk=function(){this.xn=
!0;this.parent&&this.parent.vk()};q.prototype.Bp=function(){return this.sb.length?this.sb[0].trigger:!1};q.prototype.rb=function(){var a,d=!1,b,e=this.b,c=this.b.pb();c.lb=this;var l=this.sb;this.Aj||(c.Ll=!1);if(this.od){0===l.length&&(d=!0);c.kb=0;for(a=l.length;c.kb<a;c.kb++)l[c.kb].trigger||(b=l[c.kb].rb())&&(d=!0);(c.Lf=d)&&this.qk()}else{c.kb=0;for(a=l.length;c.kb<a;c.kb++)if(b=l[c.kb].rb(),!b){c.Lf=!1;this.Dn&&e.Se&&e.Ob();return}c.Lf=!0;this.qk()}this.Au(c)};q.prototype.Au=function(a){a.Lf&&
this.np&&(a.Ll=!0);this.Dn&&this.b.Se&&this.b.Ob()};q.prototype.Rw=function(a){this.b.pb().lb=this;this.sb[a].rb()&&(this.qk(),this.b.pb().Lf=!0)};q.prototype.qk=function(){var a=this.b.pb(),d;a.nc=0;for(d=this.ed.length;a.nc<d;a.nc++)if(this.ed[a.nc].rb())return;this.Lq()};q.prototype.Ow=function(){var a=this.b.pb(),d;for(d=this.ed.length;a.nc<d;a.nc++)if(this.ed[a.nc].rb())return;this.Lq()};q.prototype.Lq=function(){if(this.cd.length){var a,d,b,e,c=this.cd.length-1;this.b.kk(this);if(this.xn)for(a=
0,d=this.cd.length;a<d;a++)b=this.cd[a],(e=!this.Lk||!this.group&&a<c)&&this.b.te(b.V),b.rb(),e?this.b.$c(b.V):this.b.Al(b.V);else for(a=0,d=this.cd.length;a<d;a++)this.cd[a].rb();this.b.fk()}};q.prototype.Sw=function(){var a=this.b.pb();a.lb=this;var d=!1,b;a.kb=0;for(b=this.sb.length;a.kb<b;a.kb++)if(this.sb[a.kb].rb())d=!0;else if(!this.od)return!1;return this.od?d:!0};q.prototype.Qd=function(){this.b.mh++;var a=this.b.pb().kb,d=this.b.kk(this);if(!this.od)for(d.kb=a+1,a=this.sb.length;d.kb<a;d.kb++)if(!this.sb[d.kb].rb())return this.b.fk(),
!1;this.qk();this.b.fk();return!0};q.prototype.Wv=function(a){var d=a.index;if(0===d)return!0;for(--d;0<=d;--d)if(this.sb[d].type===a.type)return!1;return!0};Yb=q;r.prototype.eb=function(){var a,d,b;a=0;for(d=this.K.length;a<d;a++)b=this.K[a],b.eb(),b.dd&&(this.$g=!0)};r.prototype.Uw=function(){return!0};r.prototype.qn=function(){var a,d;a=0;for(d=this.K.length;a<d;a++)this.Fa[a]=this.K[a].get();return Sa(this.Jb.apply(this.b.Td,this.Fa),this.qm)};r.prototype.Tw=function(){var a,d;a=0;for(d=this.K.length;a<
d;a++)this.Fa[a]=this.K[a].get();a=this.Jb.apply(this.tf?this.tf:this.type,this.Fa);this.type.ac();return a};r.prototype.pn=function(){var a,d,b,e,c,l,n,m,f=this.type,h=f.S(),q=this.Fc.od&&!this.trigger;d=0;var y=f.wc,r=f.G,t=f.ke,B=this.Lc,v=-1<B,N=this.$g,w=this.K,A=this.Fa,z=this.qm,R=this.Jb,J;if(N)for(d=0,c=w.length;d<c;++d)l=w[d],l.dd||(A[d]=l.get(0));else for(d=0,c=w.length;d<c;++d)A[d]=w[d].get(0);if(h.T){h.d.length=0;h.ca.length=0;J=f.d;a=0;for(e=J.length;a<e;++a){m=J[a];if(N)for(d=0,c=w.length;d<
c;++d)l=w[d],l.dd&&(A[d]=l.get(a));v?(d=0,r&&(d=m.type.hg[t]),d=R.apply(m.W[B+d],A)):d=R.apply(m,A);(n=Sa(d,z))?h.d.push(m):q&&h.ca.push(m)}f.finish&&f.finish(!0);h.T=!1;f.ac();return h.jm()}b=0;J=(n=q&&!this.Fc.Wv(this))?h.ca:h.d;var O=!1;a=0;for(e=J.length;a<e;++a){m=J[a];if(N)for(d=0,c=w.length;d<c;++d)l=w[d],l.dd&&(A[d]=l.get(a));v?(d=0,r&&(d=m.type.hg[t]),d=R.apply(m.W[B+d],A)):d=R.apply(m,A);if(Sa(d,z))if(O=!0,n){if(h.d.push(m),y)for(d=0,c=m.siblings.length;d<c;d++)l=m.siblings[d],l.type.S().d.push(l)}else{J[b]=
m;if(y)for(d=0,c=m.siblings.length;d<c;d++)l=m.siblings[d],l.type.S().d[b]=l;b++}else if(n){J[b]=m;if(y)for(d=0,c=m.siblings.length;d<c;d++)l=m.siblings[d],l.type.S().ca[b]=l;b++}else if(q&&(h.ca.push(m),y))for(d=0,c=m.siblings.length;d<c;d++)l=m.siblings[d],l.type.S().ca.push(l)}J.length=b;if(y)for(r=f.pc,a=0,e=r.length;a<e;a++)m=r[a].S(),n?m.ca.length=b:m.d.length=b;b=O;if(n&&!O)for(a=0,e=h.d.length;a<e;a++){m=h.d[a];if(N)for(d=0,c=w.length;d<c;d++)l=w[d],l.dd&&(A[d]=l.get(a));d=v?R.apply(m.W[B],
A):R.apply(m,A);if(Sa(d,z)){O=!0;break}}f.finish&&f.finish(b||q);return q?O:h.jm()};Ub=r;d.prototype.eb=function(){var a,d,b;a=0;for(d=this.K.length;a<d;a++)b=this.K[a],b.eb(),b.dd&&(this.$g=!0)};d.prototype.qn=function(){var a,d;a=0;for(d=this.K.length;a<d;a++)this.Fa[a]=this.K[a].get();return this.Jb.apply(this.b.Td,this.Fa)};d.prototype.pn=function(){var a=this.type.S().Tb(),d=this.type.G,b=this.type.ke,c=this.Lc,e=-1<c,l=this.$g,n=this.K,m=this.Fa,f=this.Jb,h,q,y,r,B,t;if(l)for(q=0,r=n.length;q<
r;++q)B=n[q],B.dd||(m[q]=B.get(0));else for(q=0,r=n.length;q<r;++q)m[q]=n[q].get(0);h=0;for(y=a.length;h<y;++h){t=a[h];if(l)for(q=0,r=n.length;q<r;++q)B=n[q],B.dd&&(m[q]=B.get(h));e?(q=0,d&&(q=t.type.hg[b]),f.apply(t.W[c+q],m)):f.apply(t,m)}return!1};Vb=d;var y=[],B=-1;l.prototype.eb=function(){var a,d;if(11===this.type)this.zf=this.b.dp(this.wi,this.Fc.parent);else if(13===this.type)for(a=0,d=this.Uf.length;a<d;a++)this.Uf[a].eb();this.Dd&&this.Dd.eb()};l.prototype.lw=function(a){this.dd||!a||a.ba.yk||
(this.dd=!0)};l.prototype.Pq=function(){this.dd=!0};l.prototype.xb=function(){B++;y.length===B&&y.push(new $b);return y[B]};l.prototype.qb=function(){B--};l.prototype.Av=function(a){this.jf=a||0;a=this.xb();this.Dd.get(a);this.qb();return a.data};l.prototype.Bv=function(a){this.jf=a||0;a=this.xb();this.Dd.get(a);this.qb();return C(a.data)?a.data:""};l.prototype.Gv=function(){return this.object};l.prototype.yv=function(){return this.Lo};l.prototype.gm=function(a){this.jf=a||0;a=this.xb();this.Dd.get(a);
this.qb();return a.Bb()?this.b.le(a.data):this.b.jg(a.data)};l.prototype.Fv=function(){return this.Cb};l.prototype.Ev=function(){return this.key};l.prototype.Dv=function(){return this.index};l.prototype.Cv=function(a){a=a||0;var d=this.F.type,b=null,b=d.S(),c=b.Tb();if(c.length)b=c[a%c.length].type;else if(b.ca.length)b=b.ca[a%b.ca.length].type;else if(d.d.length)b=d.d[a%d.d.length].type;else return 0;return this.index+b.ij[d.ke]};l.prototype.zv=function(){return this.zf};l.prototype.xv=function(){return this.Xo};
l.prototype.Hv=function(){var a,d;a=0;for(d=this.Uf.length;a<d;a++)this.vi[a]=this.Uf[a].get();return this.vi};Wb=l;e.prototype.eb=function(){this.V=a(this.V)};e.prototype.xk=function(a){var d=this.b.bp();this.parent&&!this.Hh&&d?(this.Sf>=d.length&&(d.length=this.Sf+1),d[this.Sf]=a):this.data=a};e.prototype.wv=function(){var a=this.b.bp();return!this.parent||this.Hh||!a||this.zj?this.data:this.Sf>=a.length||"undefined"===typeof a[this.Sf]?this.nm:a[this.Sf]};e.prototype.rb=function(){!this.parent||
this.Hh||this.zj||this.xk(this.nm)};Qb=e;m.prototype.toString=function(){return"include:"+this.zh.toString()};m.prototype.eb=function(){this.zh=this.b.Nl[this.Ov];this.sheet.pp.add(this);this.V=a(this.V);for(var d=this.parent;d;)d.group&&d.Ui.push(this),d=d.parent;this.kr()};m.prototype.rb=function(){this.parent&&this.b.ei(this.b.B);this.zh.km||this.zh.rb(!0);this.parent&&this.b.$c(this.b.B)};m.prototype.kr=function(){for(var a=this.parent;a;){if(a.group&&!a.Re){this.$b=!1;return}a=a.parent}this.$b=
!0};Zb=m;v.prototype.reset=function(a){this.lb=a;this.nc=this.kb=0;this.Zq.length=0;this.Ll=this.Lf=!1};v.prototype.tm=function(){return this.lb.xn?!0:this.kb<this.lb.sb.length-1?!!this.lb.V.length:!1};Pb=v})();
(function(){function h(a,b){this.F=a;this.b=a.b;this.type=b[0];this.get=[this.Mu,this.Iu,this.Uu,this.Xu,this.Cu,this.Vu,this.Qu,this.Fu,this.Pu,this.Tu,this.Du,this.Su,this.Gu,this.Ru,this.Nu,this.Ou,this.Ju,this.Ku,this.Eu,this.Wu,this.To,this.Lu,this.To,this.Hu][this.type];var c=null;this.gc=this.K=this.Fa=this.Jb=this.Hk=this.Fb=this.first=this.value=null;this.Lc=-1;this.me=null;this.Nn=-1;this.zf=this.wi=null;this.fi=!1;switch(this.type){case 0:case 1:case 2:this.value=b[1];break;case 3:this.first=
new Xb(a,b[1]);break;case 18:this.first=new Xb(a,b[1]);this.Fb=new Xb(a,b[2]);this.Hk=new Xb(a,b[3]);break;case 19:this.Jb=this.b.Ce(b[1]);this.Jb!==I.prototype.n.random&&this.Jb!==I.prototype.n.Zt||this.F.Pq();this.Fa=[];this.K=[];3===b.length?(c=b[2],this.Fa.length=c.length+1):this.Fa.length=1;break;case 20:this.gc=this.b.B[b[1]];this.Lc=-1;this.Jb=this.b.Ce(b[2]);this.fi=b[3];lc&&this.Jb===lc.prototype.n.Wk&&this.F.Pq();this.me=b[4]?new Xb(a,b[4]):null;this.Fa=[];this.K=[];6===b.length?(c=b[5],
this.Fa.length=c.length+1):this.Fa.length=1;break;case 21:this.gc=this.b.B[b[1]];this.fi=b[2];this.me=b[3]?new Xb(a,b[3]):null;this.Nn=b[4];break;case 22:this.gc=this.b.B[b[1]];this.gc.qj(b[2]);this.Lc=this.gc.Xl(b[2]);this.Jb=this.b.Ce(b[3]);this.fi=b[4];this.me=b[5]?new Xb(a,b[5]):null;this.Fa=[];this.K=[];7===b.length?(c=b[6],this.Fa.length=c.length+1):this.Fa.length=1;break;case 23:this.wi=b[1],this.zf=null}this.F.lw(this.gc);4<=this.type&&17>=this.type&&(this.first=new Xb(a,b[1]),this.Fb=new Xb(a,
b[2]));if(c){var f,h;f=0;for(h=c.length;f<h;f++)this.K.push(new Xb(a,c[f]))}}function f(a,b){this.type=a||ac.Yf;this.data=b||0;this.Gg=null;this.type==ac.Yf&&(this.data=Math.floor(this.data))}h.prototype.eb=function(){23===this.type&&(this.zf=this.F.b.dp(this.wi,this.F.Fc.parent));this.first&&this.first.eb();this.Fb&&this.Fb.eb();this.Hk&&this.Hk.eb();this.me&&this.me.eb();if(this.K){var a,b;a=0;for(b=this.K.length;a<b;a++)this.K[a].eb()}};h.prototype.Wu=function(a){this.Fa[0]=a;a=this.F.xb();var b,
c;b=0;for(c=this.K.length;b<c;b++)this.K[b].get(a),this.Fa[b+1]=a.data;this.F.qb();this.Jb.apply(this.b.Td,this.Fa)};h.prototype.To=function(a){var b=this.gc.S(),c=b.Tb();if(!c.length)if(b.ca.length)c=b.ca;else{this.fi?a.Ga(""):a.J(0);return}this.Fa[0]=a;a.Gg=this.gc;a=this.F.xb();var f,b=0;for(f=this.K.length;b<f;b++)this.K[b].get(a),this.Fa[b+1]=a.data;b=this.F.jf;this.me&&(this.me.get(a),a.Bb()&&(b=a.data,c=this.gc.d));this.F.qb();b%=c.length;0>b&&(b+=c.length);c=c[b];-1<this.Lc?(a=0,this.gc.G&&
(a=c.type.hg[this.gc.ke]),this.Jb.apply(c.W[this.Lc+a],this.Fa)):this.Jb.apply(c,this.Fa)};h.prototype.Lu=function(a){var b=this.gc.S(),c=b.Tb();if(!c.length)if(b.ca.length)c=b.ca;else{this.fi?a.Ga(""):a.J(0);return}b=this.F.jf;if(this.me){var f=this.F.xb();this.me.get(f);if(f.Bb()){b=f.data;c=this.gc.d;b%=c.length;0>b&&(b+=c.length);c=c[b].ub[this.Nn];C(c)?a.Ga(c):a.q(c);this.F.qb();return}this.F.qb()}b%=c.length;0>b&&(b+=c.length);c=c[b];b=0;this.gc.G&&(b=c.type.ij[this.gc.ke]);c=c.ub[this.Nn+b];
C(c)?a.Ga(c):a.q(c)};h.prototype.Mu=function(a){a.type=ac.Yf;a.data=this.value};h.prototype.Iu=function(a){a.type=ac.Xf;a.data=this.value};h.prototype.Uu=function(a){a.type=ac.String;a.data=this.value};h.prototype.Xu=function(a){this.first.get(a);a.Bb()&&(a.data=-a.data)};h.prototype.Cu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&(a.data+=b.data,b.rg()&&a.Cg());this.F.qb()};h.prototype.Vu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&
(a.data-=b.data,b.rg()&&a.Cg());this.F.qb()};h.prototype.Qu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&(a.data*=b.data,b.rg()&&a.Cg());this.F.qb()};h.prototype.Fu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&(a.data/=b.data,a.Cg());this.F.qb()};h.prototype.Pu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&(a.data%=b.data,b.rg()&&a.Cg());this.F.qb()};h.prototype.Tu=function(a){this.first.get(a);var b=
this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&(a.data=Math.pow(a.data,b.data),b.rg()&&a.Cg());this.F.qb()};h.prototype.Du=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()?b.Bj()?a.Ga(a.data.toString()+b.data):a.data&&b.data?a.J(1):a.J(0):a.Bj()&&(a.data=b.Bj()?a.data+b.data:a.data+(Math.round(1E10*b.data)/1E10).toString());this.F.qb()};h.prototype.Su=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.Bb()&&b.Bb()&&(a.data||b.data?a.J(1):a.J(0));this.F.qb()};h.prototype.Eu=
function(a){this.first.get(a);a.data?this.Fb.get(a):this.Hk.get(a)};h.prototype.Gu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.J(a.data===b.data?1:0);this.F.qb()};h.prototype.Ru=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.J(a.data!==b.data?1:0);this.F.qb()};h.prototype.Nu=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.J(a.data<b.data?1:0);this.F.qb()};h.prototype.Ou=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.J(a.data<=
b.data?1:0);this.F.qb()};h.prototype.Ju=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.J(a.data>b.data?1:0);this.F.qb()};h.prototype.Ku=function(a){this.first.get(a);var b=this.F.xb();this.Fb.get(b);a.J(a.data>=b.data?1:0);this.F.qb()};h.prototype.Hu=function(a){var b=this.zf.wv();ia(b)?a.q(b):a.Ga(b)};Xb=h;f.prototype.rg=function(){return this.type===ac.Xf};f.prototype.Bb=function(){return this.type===ac.Yf||this.type===ac.Xf};f.prototype.Bj=function(){return this.type===ac.String};
f.prototype.Cg=function(){this.rg()||(this.Bj()&&(this.data=parseFloat(this.data)),this.type=ac.Xf)};f.prototype.J=function(a){this.type=ac.Yf;this.data=Math.floor(a)};f.prototype.q=function(a){this.type=ac.Xf;this.data=a};f.prototype.Ga=function(a){this.type=ac.String;this.data=a};f.prototype.ad=function(a){ia(a)?(this.type=ac.Xf,this.data=a):C(a)?(this.type=ac.String,this.data=a.toString()):(this.type=ac.Yf,this.data=0)};$b=f;ac={Yf:0,Xf:1,String:2}})();function I(h){this.b=h;this.mc=[]}
I.prototype.yb=function(){var h={},f,a,b,c,q,t,r,d;h.waits=[];var l=h.waits,e;f=0;for(a=this.mc.length;f<a;f++){t=this.mc[f];e={t:t.time,st:t.Wq,s:t.wn,ev:t.fg.da,sm:[],sols:{}};t.fg.ed[t.nc]&&(e.act=t.fg.ed[t.nc].da);b=0;for(c=t.V.length;b<c;b++)e.sm.push(t.V[b].da);for(q in t.Zb)if(t.Zb.hasOwnProperty(q)){r=this.b.B[parseInt(q,10)];d={sa:t.Zb[q].rk,insts:[]};b=0;for(c=t.Zb[q].ne.length;b<c;b++)d.insts.push(t.Zb[q].ne[b].uid);e.sols[r.da.toString()]=d}l.push(e)}return h};
I.prototype.Lb=function(h){h=h.waits;var f,a,b,c,q,t,r,d,l,e,m;f=this.mc.length=0;for(a=h.length;f<a;f++)if(t=h[f],d=this.b.Do[t.ev.toString()]){l=-1;b=0;for(c=d.ed.length;b<c;b++)if(d.ed[b].da===t.act){l=b;break}if(-1!==l){r={Zb:{},V:[],Il:!1};r.time=t.t;r.Wq=t.st||"";r.wn=!!t.s;r.fg=d;r.nc=l;b=0;for(c=t.sm.length;b<c;b++)(d=this.b.tj(t.sm[b]))&&r.V.push(d);for(q in t.sols)if(t.sols.hasOwnProperty(q)&&(d=this.b.tj(parseInt(q,10)))){l=t.sols[q];e={rk:l.sa,ne:[]};b=0;for(c=l.insts.length;b<c;b++)(m=
this.b.sh(l.insts[b]))&&e.ne.push(m);r.Zb[d.index.toString()]=e}this.mc.push(r)}}};
(function(){function h(){}function f(){}function a(){}var b=I.prototype;h.prototype.Sr=function(){return!0};h.prototype.ao=function(){return!0};h.prototype.$n=function(){return!0};h.prototype.Hr=function(a,b,c){return bc(a,b,c)};h.prototype.os=function(a){return a?a.visible:!1};h.prototype.Ht=function(){var a=this.b.pb(),b=a.lb,c=a.tm(),a=this.b.en();if(c)for(c=0;!a.Na;c++)this.b.te(b.V),a.index=c,b.Qd()||(a.Na=!0),this.b.$c(b.V);else for(c=0;!a.Na;c++)a.index=c,b.Qd()||(a.Na=!0);this.b.cn();return!1};
h.prototype.Ur=function(a,b,c){var m=this.b.pb(),f=m.lb,m=m.tm();a=this.b.en(a);if(c<b)if(m)for(;b>=c&&!a.Na;--b)this.b.te(f.V),a.index=b,f.Qd(),this.b.$c(f.V);else for(;b>=c&&!a.Na;--b)a.index=b,f.Qd();else if(m)for(;b<=c&&!a.Na;++b)this.b.te(f.V),a.index=b,f.Qd(),this.b.$c(f.V);else for(;b<=c&&!a.Na;++b)a.index=b,f.Qd();this.b.cn();return!1};var c=[],q=-1;h.prototype.Vr=function(a){var b=a.S();q++;c.length===q&&c.push([]);var e=c[q];ya(e,b.Tb());var m=this.b.pb(),f=m.lb,n=m.tm(),m=this.b.en(),h,
r,p,s,g,u,k=a.wc;if(n)for(n=0,h=e.length;n<h&&!m.Na;n++){this.b.te(f.V);s=e[n];b=a.S();b.T=!1;b.d.length=1;b.d[0]=s;if(k)for(r=0,p=s.siblings.length;r<p;r++)g=s.siblings[r],u=g.type.S(),u.T=!1,u.d.length=1,u.d[0]=g;m.index=n;f.Qd();this.b.$c(f.V)}else for(b.T=!1,b.d.length=1,n=0,h=e.length;n<h&&!m.Na;n++){s=e[n];b.d[0]=s;if(k)for(r=0,p=s.siblings.length;r<p;r++)g=s.siblings[r],u=g.type.S(),u.T=!1,u.d.length=1,u.d[0]=g;m.index=n;f.Qd()}e.length=0;this.b.cn();q--;return!1};h.prototype.Vs=function(a,
b,e,m){var f,n,h,r;if(a){q++;c.length===q&&c.push([]);var p=c[q],s=a.S();ya(p,s.Tb());s.T&&(s.ca.length=0);var g=this.b.qh();h=f=0;for(n=p.length;f<n;f++)r=p[f],p[h]=r,b=g.K[1].get(f),m=g.K[3].get(f),bc(b,e,m)?h++:s.ca.push(r);p.length=h;s.T=!1;ya(s.d,p);p.length=0;q--;a.ac();return!!s.d.length}};h.prototype.Ws=function(a,b){var e,m,f,n;if(a){q++;c.length===q&&c.push([]);var h=c[q],r=a.S();ya(h,r.Tb());r.T&&(r.ca.length=0);var p=this.b.qh();f=e=0;for(m=h.length;e<m;e++)n=h[e],h[f]=n,(b=p.K[1].get(e))?
f++:r.ca.push(n);h.length=f;r.T=!1;ya(r.d,h);h.length=0;q--;a.ac();return!!r.d.length}};h.prototype.Dt=function(){var a=this.b.qh().Ia;"undefined"===typeof a.TriggerOnce_lastTick&&(a.TriggerOnce_lastTick=-1);var b=a.TriggerOnce_lastTick,c=this.b.xd;a.TriggerOnce_lastTick=c;return this.b.Bm||b!==c-1};h.prototype.ds=function(a){return(a=this.b.lg[a.toLowerCase()])&&a.Re};h.prototype.Us=function(a){if(!a||!a.d.length)return!1;a.S().T=!0;a.ac();return!0};h.prototype.gs=function(){return this.b.ld};h.prototype.Tn=
function(){var a=this.b.pb();return a.Ll?!1:!a.Lf};h.prototype.bo=function(){return!0};h.prototype.xs=function(){return!0};h.prototype.bl=function(){return!0};h.prototype.Hs=function(){return!0};h.prototype.$k=function(){return!0};h.prototype.xr=function(a,b,c){return Ma(E(a),E(c))<=E(b)};h.prototype.cs=function(a,b){return Oa(E(a),E(b))};h.prototype.bs=function(a,b,c){a=Ha(a);b=Ha(b);c=Ha(c);return Oa(c,b)?Oa(a,b)&&!Oa(a,c):!(!Oa(a,b)&&Oa(a,c))};b.g=new h;f.prototype.Wr=function(a){this.b.ug||this.b.uf||
(this.b.uf=a)};f.prototype.Lr=function(a,b,c,m){if(b&&a&&(b=this.b.No(a,b,c,m))){this.b.kd++;var f;this.b.trigger(Object.getPrototypeOf(a.ba).g.Ci,b);if(b.wc)for(c=0,m=b.siblings.length;c<m;c++)f=b.siblings[c],this.b.trigger(Object.getPrototypeOf(f.type.ba).g.Ci,f);this.b.kd--;a=a.S();a.T=!1;a.d.length=1;a.d[0]=b;if(b.wc)for(c=0,m=b.siblings.length;c<m;c++)f=b.siblings[c],a=f.type.S(),a.T=!1,a.d.length=1,a.d[0]=f}};f.prototype.tt=function(a,b){0===a.rr?ia(b)?a.xk(b):a.xk(parseFloat(b)):1===a.rr&&
a.xk(b.toString())};f.prototype.lt=function(a,b){var c=this.b.lg[a.toLowerCase()];if(c)switch(b){case 0:c.tk(!1);break;case 1:c.tk(!0);break;case 2:c.tk(!c.Re)}};f.prototype.qt=function(a){0>a&&(a=0);this.b.mf=a};var t=[],r=[];f.prototype.Gt=function(a){if(!(0>a)){var b,c,m,f=this.b.pb(),n;n=t.length?t.pop():{Zb:{},V:[]};n.Il=!1;n.time=this.b.Ic.xa+a;n.Wq="";n.wn=!1;n.fg=f.lb;n.nc=f.nc+1;a=0;for(b=this.b.B.length;a<b;a++)m=this.b.B[a],c=m.S(),c.T&&-1===f.lb.V.indexOf(m)||(n.V.push(m),m=void 0,m=r.length?
r.pop():{ne:[]},m.rk=!1,m.rk=c.T,ya(m.ne,c.d),n.Zb[a.toString()]=m);this.mc.push(n);return!0}};f.prototype.et=function(){if(!this.b.ug&&!this.b.uf&&this.b.Aa){this.b.uf=this.b.Aa;var a,b,c;a=0;for(b=this.b.Ee.length;a<b;a++)c=this.b.Ee[a],c.tk(c.vj)}};b.j=new f;a.prototype["int"]=function(a,b){C(b)?(a.J(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.J(b)};a.prototype["float"]=function(a,b){C(b)?(a.q(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.q(b)};a.prototype.jx=function(a,b){C(b)?a.Ga(b):a.Ga(b.toString())};
a.prototype.random=function(a,b,c){void 0===c?a.q(Math.random()*b):a.q(Math.random()*(c-b)+b)};a.prototype.sqrt=function(a,b){a.q(Math.sqrt(b))};a.prototype.abs=function(a,b){a.q(Math.abs(b))};a.prototype.round=function(a,b){a.J(Math.round(b))};a.prototype.floor=function(a,b){a.J(Math.floor(b))};a.prototype.ceil=function(a,b){a.J(Math.ceil(b))};a.prototype.sin=function(a,b){a.q(Math.sin(E(b)))};a.prototype.cos=function(a,b){a.q(Math.cos(E(b)))};a.prototype.tan=function(a,b){a.q(Math.tan(E(b)))};a.prototype.asin=
function(a,b){a.q(Da(Math.asin(b)))};a.prototype.acos=function(a,b){a.q(Da(Math.acos(b)))};a.prototype.atan=function(a,b){a.q(Da(Math.atan(b)))};a.prototype.exp=function(a,b){a.q(Math.exp(b))};a.prototype.log10=function(a,b){a.q(Math.log(b)/Math.LN10)};a.prototype.max=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var c,f,h;c=2;for(f=arguments.length;c<f;c++)h=arguments[c],"number"===typeof h&&b<h&&(b=h);a.q(b)};a.prototype.min=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);
var c,f,h;c=2;for(f=arguments.length;c<f;c++)h=arguments[c],"number"===typeof h&&b>h&&(b=h);a.q(b)};a.prototype.he=function(a){a.q(this.b.he)};a.prototype.mf=function(a){a.q(this.b.mf)};a.prototype.time=function(a){a.q(this.b.Ic.xa)};a.prototype.xd=function(a){a.J(this.b.xd)};a.prototype.Vj=function(a){a.J(this.b.Vj)};a.prototype.Tl=function(a){a.J(this.b.Tl)};a.prototype.iw=function(a,b){var c,f,h;if(this.b.Bg.length)if(b){f=0;for(h=this.b.Bg.length;f<h;f++)if(c=this.b.Bg[f],c.name===b){a.J(c.index);
return}a.J(0)}else c=this.b.cp(),a.J(c?c.index:-1);else a.J(0)};a.prototype.gu=function(a,b,c,f,h){a.q(Qa(b,c,f,h))};a.prototype.k=function(a,b,c,f,h){a.q(Da(Ja(b,c,f,h)))};a.prototype.Xw=function(a){a.q(this.b.Aa.scrollX)};a.prototype.$t=function(a,b,c,f){b<c?a.q(c):b>f?a.q(f):a.q(b)};a.prototype.find=function(a,b,c){C(b)&&C(c)?a.J(b.search(new RegExp($a(c),"i"))):a.J(-1)};a.prototype.left=function(a,b,c){a.Ga(C(b)?b.substr(0,c):"")};a.prototype.right=function(a,b,c){a.Ga(C(b)?b.substr(b.length-
c):"")};a.prototype.replace=function(a,b,c,f){C(b)&&C(c)&&C(f)?a.Ga(b.replace(new RegExp($a(c),"gi"),f)):a.Ga(C(b)?b:"")};a.prototype.trim=function(a,b){a.Ga(C(b)?b.trim():"")};a.prototype.Zt=function(a){var b=ra(Math.random()*(arguments.length-1));a.ad(arguments[b+1])};a.prototype.Cl=function(a){a.q(this.b.Cl/1E3)};a.prototype.zx=function(a,b){var c=this.b.rj(b);a.q(c?c.Ka:0)};a.prototype.Bx=function(a,b){var c=this.b.rj(b);a.q(c?c.La:0)};a.prototype.Ax=function(a,b){var c=this.b.rj(b);a.q(c?c.Pa:
0)};a.prototype.yx=function(a,b){var c=this.b.rj(b);a.q(c?c.Oa:0)};a.prototype.Pf=function(a){a.q(this.b.Pf)};b.n=new a;b.Qw=function(){var a,b,c,f,h,n,q=this.b.pb();a=0;for(c=this.mc.length;a<c;a++){f=this.mc[a];if(-1===f.time){if(!f.wn)continue}else if(f.time>this.b.Ic.xa)continue;q.lb=f.fg;q.nc=f.nc;q.kb=0;for(b in f.Zb)f.Zb.hasOwnProperty(b)&&(h=this.b.B[parseInt(b,10)].S(),n=f.Zb[b],h.T=n.rk,ya(h.d,n.ne),h=n,h.ne.length=0,r.push(h));f.fg.Ow();this.b.Al(f.V);f.Il=!0}b=a=0;for(c=this.mc.length;a<
c;a++)f=this.mc[a],this.mc[b]=f,f.Il?(Ua(f.Zb),f.V.length=0,t.push(f)):b++;this.mc.length=b}})();
(function(){nb=function(f,a){var b=f[1],c=f[3],h=f[4],t=f[5],r=f[6],d=f[7],l=f[8];a.g||(a.g={});a.j||(a.j={});a.n||(a.n={});var e=a.g,m=a.j,v=a.n;c&&(e.Jr=function(a,b){return bc(this.x,a,b)},e.Mx=function(a,b){return bc(this.y,a,b)},e.hs=function(){var a=this.i;this.ea();var b=this.fa;return!(b.right<a.Ka||b.bottom<a.La||b.left>a.Pa||b.top>a.Oa)},e.Rx=function(){this.ea();var a=this.fa,b=this.b.Aa;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},e.Xs=function(a,b,d){var c=this.S(),e=
c.Tb();if(!e.length)return!1;var g=e[0],l=g,k=Qa(g.x,g.y,b,d),f,m,h;f=1;for(m=e.length;f<m;f++)if(g=e[f],h=Qa(g.x,g.y,b,d),0===a&&h<k||1===a&&h>k)k=h,l=g;c.ai(l);return!0},m.Ei=function(a){this.x!==a&&(this.x=a,this.wa())},m.ut=function(a){this.y!==a&&(this.y=a,this.wa())},m.lo=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.wa()},m.my=function(a,b){var d=a.rv(this);if(d){var c;d.rh?(c=d.rh(b,!0),d=d.rh(b,!1)):(c=d.x,d=d.y);if(this.x!==c||this.y!==d)this.x=c,this.y=d,this.wa()}},m.Tx=
function(a){0!==a&&(this.x+=Math.cos(this.k)*a,this.y+=Math.sin(this.k)*a,this.wa())},m.Sx=function(a,b){0!==b&&(this.x+=Math.cos(E(a))*b,this.y+=Math.sin(E(a))*b,this.wa())},v.Fi=function(a){a.q(this.x)},v.nl=function(a){a.q(this.y)},v.he=function(a){a.q(this.b.Zl(this))});h&&(e.Lx=function(a,b){return bc(this.width,a,b)},e.Ix=function(a,b){return bc(this.height,a,b)},m.il=function(a){this.width!==a&&(this.width=a,this.wa())},m.ko=function(a){this.height!==a&&(this.height=a,this.wa())},m.hl=function(a,
b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.wa()},v.kl=function(a){a.q(this.width)},v.Un=function(a){a.q(this.height)},v.Fx=function(a){this.ea();a.q(this.fa.left)},v.Hx=function(a){this.ea();a.q(this.fa.top)},v.Gx=function(a){this.ea();a.q(this.fa.right)},v.Ex=function(a){this.ea();a.q(this.fa.bottom)});t&&(e.xr=function(a,b){return Ma(this.k,E(b))<=E(a)},e.cs=function(a){return Oa(this.k,E(a))},e.bs=function(a,b){var d=Ha(a),c=Ha(b),e=Fa(this.k);return Oa(c,d)?Oa(e,d)&&
!Oa(e,c):!(!Oa(e,d)&&Oa(e,c))},m.ft=function(a){a=E(Ea(a));isNaN(a)||this.k===a||(this.k=a,this.wa())},m.ay=function(a){0===a||isNaN(a)||(this.k+=E(a),this.k=Fa(this.k),this.wa())},m.by=function(a){0===a||isNaN(a)||(this.k-=E(a),this.k=Fa(this.k),this.wa())},m.cy=function(a,b){var d=Na(this.k,E(b),E(a));isNaN(d)||this.k===d||(this.k=d,this.wa())},m.dy=function(a,b,d){a=Na(this.k,Math.atan2(d-this.y,b-this.x),E(a));isNaN(a)||this.k===a||(this.k=a,this.wa())},m.oy=function(a,b){var d=Math.atan2(b-this.y,
a-this.x);isNaN(d)||this.k===d||(this.k=d,this.wa())},v.Dx=function(a){a.q(Ga(this.k))});b||(e.Ir=function(a,b,d){return bc(this.ub[a],b,d)},e.Px=function(a){return this.ub[a]},e.Xx=function(a,b){var d=this.S(),c=d.Tb();if(!c.length)return!1;var e=c[0],g=e,l=e.ub[b],k,f,m;k=1;for(f=c.length;k<f;k++)if(e=c[k],m=e.ub[b],0===a&&m<l||1===a&&m>l)l=m,g=e;d.ai(g);return!0},e.Xg=function(a){var b,d,c,e,g;if(this.b.qh().qm){g=this.S();if(g.T)for(g.T=!1,g.d.length=0,g.ca.length=0,c=this.d,b=0,d=c.length;b<
d;b++)e=c[b],e.uid===a?g.ca.push(e):g.d.push(e);else{c=b=0;for(d=g.d.length;b<d;b++)e=g.d[b],g.d[c]=e,e.uid===a?g.ca.push(e):c++;g.d.length=c}this.ac();return!!g.d.length}e=this.b.sh(a);if(!e)return!1;g=this.S();if(!g.T&&-1===g.d.indexOf(e))return!1;if(this.G)for(a=e.type.Ra,b=0,d=a.length;b<d;b++){if(a[b]===this)return g.ai(e),this.ac(),!0}else if(e.type===this)return g.ai(e),this.ac(),!0;return!1},e.Ci=function(){return!0},e.Xn=function(){return!0},m.Yg=function(a,b){var d=this.ub;ia(d[a])?d[a]=
ia(b)?b:parseFloat(b):C(d[a])&&(d[a]=C(b)?b:b.toString())},m.Cx=function(a,b){var d=this.ub;ia(d[a])?d[a]=ia(b)?d[a]+b:d[a]+parseFloat(b):C(d[a])&&(d[a]=C(b)?d[a]+b:d[a]+b.toString())},m.ty=function(a,b){var d=this.ub;ia(d[a])&&(d[a]=ia(b)?d[a]-b:d[a]-parseFloat(b))},m.ey=function(a,b){this.ub[a]=b?1:0},m.vy=function(a){this.ub[a]=1-this.ub[a]},m.Bi=function(){this.b.rf(this)},m.qs||(m.qs=function(a){var b,d;try{b=JSON.parse(a)}catch(c){return}this.b.Nj(this,b,!0);this.Ad&&this.Ad();if(this.W)for(a=
0,b=this.W.length;a<b;++a)d=this.W[a],d.Ad&&d.Ad()}),v.Kr=function(a){var b=a.Gg.d.length,d,c,e;d=0;for(c=this.b.hd.length;d<c;d++)e=this.b.hd[d],a.Gg.G?0<=e.type.Ra.indexOf(a.Gg)&&b++:e.type===a.Gg&&b++;a.J(b)},v.Ys=function(a){a.J(a.Gg.S().Tb().length)},v.Zg=function(a){a.J(this.uid)},v.Nx=function(a){a.J(this.vh())},v.Wg||(v.Wg=function(a){a.Ga(JSON.stringify(this.b.rn(this,!0)))}));r&&(e.ks=function(){return this.visible},m.oo=function(a){!a!==!this.visible&&(this.visible=a,this.b.ra=!0)},e.Jx=
function(a,b){return bc(fb(100*this.opacity),a,b)},m.nt=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ra=!0)},v.Opacity=function(a){a.q(fb(100*this.opacity))});d&&(e.Qx=function(a){return a?this.i===a:!1},e.Yx=function(a){var b=this.S(),d=b.Tb();if(!d.length)return!1;var c=d[0],e=c,g,l;g=1;for(l=d.length;g<l;g++)if(c=d[g],0===a){if(c.i.index>e.i.index||c.i.index===e.i.index&&c.Id()>e.Id())e=c}else if(c.i.index<e.i.index||c.i.index===e.i.index&&c.Id()<e.Id())e=c;b.ai(e);
return!0},m.us=function(){var a=this.i,b=a.d;b.length&&b[b.length-1]===this||(a.Lg(this,!1),a.bh(this,!1),this.b.ra=!0)},m.Ux=function(){var a=this.i,b=a.d;b.length&&b[0]===this||(a.Lg(this,!1),a.Gw(this),this.b.ra=!0)},m.ts=function(a){a&&a!=this.i&&(this.i.Lg(this,!0),this.i=a,a.bh(this,!0),this.b.ra=!0)},m.yy=function(a,b){var d=0===a;if(b){var c=b.ep(this);c&&c.uid!==this.uid&&(this.i.index!==c.i.index&&(this.i.Lg(this,!0),this.i=c.i,c.i.bh(this,!0)),this.i.mw(this,c,d),this.b.ra=!0)}},v.ns=function(a){a.J(this.i.lq)},
v.ms=function(a){a.Ga(this.i.name)},v.xy=function(a){a.J(this.Id())});l&&(m.iy=function(a,b){if(this.b.A){var d=this.type.am(b);if(!(0>d)){var c=1===a;this.De[d]!==c&&(this.De[d]=c,this.Ae(),this.b.ra=!0)}}},m.jy=function(a,b,d){if(this.b.A){var c=this.type.am(a);0>c||(a=this.type.R[c],c=this.Wa[c],b=Math.floor(b),0>b||b>=c.length||(1===this.b.A.vv(a.Nb,b)&&(d/=100),c[b]!==d&&(c[b]=d,a.$b&&(this.b.ra=!0))))}})};Gb=function(){this.xl=this.tl=!0;this.type.Gi=!0;this.b.ra=!0;var f,a,b=this.ul;f=0;for(a=
b.length;f<a;++f)b[f](this);this.i.yd&&this.ea()};Hb=function(f){f&&this.ul.push(f)};Jb=function(){if(this.tl){var f=this.fa,a=this.Pb;f.set(this.x,this.y,this.x+this.width,this.y+this.height);f.offset(-this.Ub*this.width,-this.Vb*this.height);this.k?(f.offset(-this.x,-this.y),a.Rq(f,this.k),a.offset(this.x,this.y),a.Eo(f)):a.ji(f);f.normalize();this.tl=!1;this.tx()}};var h=new ua(0,0,0,0);Kb=function(){if(this.i.yd){var f=this.i.Ac,a=this.fa;h.set(f.Dc(a.left),f.Ec(a.top),f.Dc(a.right),f.Ec(a.bottom));
this.jc.gj(h)||(this.jc.right<this.jc.left?f.update(this,null,h):f.update(this,this.jc,h),this.jc.Wi(h),this.i.ue=!0)}};Lb=function(){if(this.xl&&this.Cd){this.ea();var f=this.type.hh,a=this.fa;h.set(f.Dc(a.left),f.Ec(a.top),f.Dc(a.right),f.Ec(a.bottom));this.Mc.gj(h)||(this.Mc.right<this.Mc.left?f.update(this,null,h):f.update(this,this.Mc,h),this.Mc.Wi(h),this.xl=!1)}};Ib=function(f,a){return this.fa.Qb(f,a)&&this.Pb.Qb(f,a)?this.ta&&!this.ta.qg()?(this.ta.bg(this.width,this.height,this.k),this.ta.Qb(f-
this.x,a-this.y)):!0:!1};Cb=function(){this.type.Pk();return this.Ff};Mb=function(){this.i.Ln();return this.zd};Ob=function(){this.ma.length=0;var f,a;f=0;for(a=this.De.length;f<a;f++)this.De[f]&&this.ma.push(this.type.R[f]);this.qr=!!this.ma.length};Db=function(){return"Inst"+this.Hq};qb=function(f){if(f&&f.wc&&f.type!=this){var a,b,c;a=0;for(b=f.siblings.length;a<b;a++)if(c=f.siblings[a],c.type==this)return c}f=this.S().Tb();return f.length?f[0]:null};rb=function(f){var a=this.S().Tb();return a.length?
a[f.vh()%a.length]:null};pb=function(){if(this.Qg&&!this.G){var f,a;f=0;for(a=this.d.length;f<a;f++)this.d[f].Ff=f;var b=f,c=this.b.hd;f=0;for(a=c.length;f<a;++f)c[f].type===this&&(c[f].Ff=b++);this.Qg=!1}};Ab=function(f){if(f<this.d.length)return this.d[f];f-=this.d.length;var a=this.b.hd,b,c;b=0;for(c=a.length;b<c;++b)if(a[b].type===this){if(0===f)return a[b];--f}return null};sb=function(){return this.kf[this.ge]};tb=function(){this.ge++;this.ge===this.kf.length?this.kf.push(new ob(this)):this.kf[this.ge].T=
!0};ub=function(){this.ge++;this.ge===this.kf.length&&this.kf.push(new ob(this));var f=this.kf[this.ge],a=this.kf[this.ge-1];a.T?f.T=!0:(f.T=!1,ya(f.d,a.d),ya(f.ca,a.ca))};vb=function(){this.ge--};wb=function(f){var a,b,c,h,t,r=0;if(!this.G)for(a=0,b=this.Ra.length;a<b;a++)for(t=this.Ra[a],c=0,h=t.jb.length;c<h;c++){if(f===t.jb[c].name)return this.Ia.lastBehIndex=r,t.jb[c];r++}a=0;for(b=this.jb.length;a<b;a++){if(f===this.jb[a].name)return this.Ia.lastBehIndex=r,this.jb[a];r++}return null};xb=function(f){return this.qj(f)?
this.Ia.lastBehIndex:-1};yb=function(f){var a,b;a=0;for(b=this.R.length;a<b;a++)if(this.R[a].name===f)return a;return-1};zb=function(){if(this.wc&&!this.G){var f,a,b,c,h,t,r;this.Pk();t=this.S();var d=t.T,l=(f=this.b.pb())&&f.lb&&f.lb.od;f=0;for(a=this.pc.length;f<a;f++)if(h=this.pc[f],h!==this&&(h.Pk(),r=h.S(),r.T=d,!d)){r.d.length=t.d.length;b=0;for(c=t.d.length;b<c;b++)r.d[b]=h.gp(t.d[b].Ff);if(l)for(r.ca.length=t.ca.length,b=0,c=t.ca.length;b<c;b++)r.ca[b]=h.gp(t.ca[b].Ff)}}};Bb=function(){return"Type"+
this.da};bc=function(f,a,b){if("undefined"===typeof f||"undefined"===typeof b)return!1;switch(a){case 0:return f===b;case 1:return f!==b;case 2:return f<b;case 3:return f<=b;case 4:return f>b;case 5:return f>=b;default:return!1}}})();var jc={};function mc(h){this.b=h}
(function(){function h(){return r.length?r.pop():[]}function f(a){var b,c;b=0;for(c=a.length;b<c;b++)Array.isArray(a[b])&&f(a[b]);a.length=0;r.push(a)}function a(){}function b(){}function c(){}var q=mc.prototype;q.M=function(a){this.ba=a;this.b=a.b};q.M.prototype.C=function(){};q.I=function(a){this.type=a;this.b=a.b};var t=q.I.prototype,r=[];Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});t.C=function(){this.ua=this.r[0];this.Ea=this.r[1];this.Ha=
this.r[2];this.ic||(this.cc=h());var a=this.cc;a.length=this.ua;var b,c,f;for(b=0;b<this.ua;b++)for(a[b]||(a[b]=h()),a[b].length=this.Ea,c=0;c<this.Ea;c++)for(a[b][c]||(a[b][c]=h()),a[b][c].length=this.Ha,f=0;f<this.Ha;f++)a[b][c][f]=0;this.sc=[];this.Ed=[];this.Af=[];this.Rc=-1};t.$e=function(){var a;for(a=0;a<this.ua;a++)f(this.cc[a]);this.cc.length=0};t.Kc=function(a,b,c){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);return isNaN(a)||0>a||a>this.ua-1||isNaN(b)||0>b||b>this.Ea-1||isNaN(c)||0>
c||c>this.Ha-1?0:this.cc[a][b][c]};t.set=function(a,b,c,f){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);isNaN(a)||0>a||a>this.ua-1||isNaN(b)||0>b||b>this.Ea-1||isNaN(c)||0>c||c>this.Ha-1||(this.cc[a][b][c]=f)};t.iv=function(){return JSON.stringify({c2array:!0,size:[this.ua,this.Ea,this.Ha],data:this.cc})};t.yb=function(){return{size:[this.ua,this.Ea,this.Ha],data:this.cc}};t.Lb=function(a){var b=a.size;this.ua=b[0];this.Ea=b[1];this.Ha=b[2];this.cc=a.data};t.gf=function(a,b,c){0>a&&(a=0);0>b&&
(b=0);0>c&&(c=0);if(this.ua!==a||this.Ea!==b||this.Ha!==c){this.ua=a;this.Ea=b;this.Ha=c;var f,q,n=this.cc;n.length=a;for(a=0;a<this.ua;a++)for(ha(n[a])&&(n[a]=h()),n[a].length=b,f=0;f<this.Ea;f++)for(ha(n[a][f])&&(n[a][f]=h()),n[a][f].length=c,q=0;q<this.Ha;q++)ha(n[a][f][q])&&(n[a][f][q]=0)}};t.fp=function(){return 0<=this.Rc&&this.Rc<this.sc.length?this.sc[this.Rc]:0};t.lv=function(){return 0<=this.Rc&&this.Rc<this.Ed.length?this.Ed[this.Rc]:0};t.mv=function(){return 0<=this.Rc&&this.Rc<this.Af.length?
this.Af[this.Rc]:0};a.prototype.Jr=function(a,b,c){return bc(this.Kc(a,0,0),b,c)};t.Kl=function(a){this.b.te(a.V);a.Qd();this.b.$c(a.V)};a.prototype.Cr=function(a){var b=this.b.pb().lb;this.Rc++;var c=this.Rc;c===this.sc.length?(this.sc.push(0),this.Ed.push(0),this.Af.push(0)):(this.sc[c]=0,this.Ed[c]=0,this.Af[c]=0);switch(a){case 0:for(this.sc[c]=0;this.sc[c]<this.ua;this.sc[c]++)for(this.Ed[c]=0;this.Ed[c]<this.Ea;this.Ed[c]++)for(this.Af[c]=0;this.Af[c]<this.Ha;this.Af[c]++)this.Kl(b);break;case 1:for(this.sc[c]=
0;this.sc[c]<this.ua;this.sc[c]++)for(this.Ed[c]=0;this.Ed[c]<this.Ea;this.Ed[c]++)this.Kl(b);break;case 2:for(this.sc[c]=0;this.sc[c]<this.ua;this.sc[c]++)this.Kl(b)}this.Rc--;return!1};q.g=new a;b.prototype.Xk=function(){var a,b,c;for(a=0;a<this.ua;a++)for(b=0;b<this.Ea;b++)for(c=0;c<this.Ha;c++)this.cc[a][b][c]=0};b.prototype.hl=function(a,b,c){this.gf(a,b,c)};b.prototype.Ei=function(a,b){this.set(a,0,0,b)};b.prototype.dt=function(a,b,c){var f=0,q=0,n=0,r=this.cc;switch(c){case 0:0===a?(f=r.length,
r.push(h())):(f=0,r.unshift(h()));for(r[f].length=this.Ea;q<this.Ea;q++)for(r[f][q]=h(),r[f][q].length=this.Ha,n=0;n<this.Ha;n++)r[f][q][n]=b;this.ua++;break;case 1:for(;f<this.ua;f++)for(0===a?(q=r[f].length,r[f].push(h())):(q=0,r[f].unshift(h())),r[f][q].length=this.Ha,n=0;n<this.Ha;n++)r[f][q][n]=b;this.Ea++;break;case 2:for(;f<this.ua;f++)for(q=0;q<this.Ea;q++)0===a?r[f][q].push(b):r[f][q].unshift(b);this.Ha++}};b.prototype.jo=function(a){var b=0,c=0,f=this.cc;if(0!==this.ua&&0!==this.Ea&&0!==
this.Ha)switch(a){case 0:f.reverse();break;case 1:for(;b<this.ua;b++)f[b].reverse();break;case 2:for(;b<this.ua;b++)for(c=0;c<this.Ea;c++)f[b][c].reverse();this.Ha--}};b.prototype.Or=function(a,b){var c=0,h=0;a=Math.floor(a);var q=this.cc;if(!(0>a))switch(b){case 0:if(a>=this.ua)break;f(q[a]);q.splice(a,1);this.ua--;break;case 1:if(a>=this.Ea)break;for(;c<this.ua;c++)f(q[c][a]),q[c].splice(a,1);this.Ea--;break;case 2:if(a>=this.Ha)break;for(;c<this.ua;c++)for(h=0;h<this.Ea;h++)q[c][h].splice(a,1);
this.Ha--}};b.prototype.$r=function(a,b,c){var f=0,q=0,n=0;b=Math.floor(b);var r=this.cc;if(!(0>b))switch(c){case 0:if(b>this.ua)break;f=b;r.splice(f,0,h());for(r[f].length=this.Ea;q<this.Ea;q++)for(r[f][q]=h(),r[f][q].length=this.Ha,n=0;n<this.Ha;n++)r[f][q][n]=a;this.ua++;break;case 1:if(b>this.Ea)break;for(;f<this.ua;f++)for(q=b,r[f].splice(q,0,h()),r[f][q].length=this.Ha,n=0;n<this.Ha;n++)r[f][q][n]=a;this.Ea++;break;case 2:if(b>this.Ha)break;for(;f<this.ua;f++)for(q=0;q<this.Ea;q++)r[f][q].splice(b,
0,a);this.Ha++}};q.j=new b;c.prototype.Dr=function(a,b,c,f){a.ad(this.Kc(b,c||0,f||0))};c.prototype.kl=function(a){a.J(this.ua)};c.prototype.Un=function(a){a.J(this.Ea)};c.prototype.Nr=function(a){a.J(this.fp())};c.prototype.Mr=function(a){a.ad(this.Kc(this.fp(),this.lv(),this.mv()))};c.prototype.Zr=function(a,b){for(var c=0;c<this.ua;c++)if(this.cc[c][0][0]===b){a.J(c);return}a.J(-1)};c.prototype.Wg=function(a){a.Ga(this.iv())};q.n=new c})();function nc(h){this.b=h}
(function(){function h(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function f(a){a=a.toLowerCase();return Z.hasOwnProperty(a)&&Z[a].length?Z[a][0].Gc():w.destination}function a(){return w.createGain?w.createGain():w.createGainNode()}function b(a){return w.createDelay?w.createDelay(a):w.createDelayNode(a)}function c(a){a.start?a.start(0):a.noteOn(0)}function q(a,b,d){a.start?a.start(0,b):a.noteGrainOn(0,b,d-b)}function t(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function r(b,
d,c,e,k,g){this.type="filter";this.Ma=[b,d,c,e,k,g];this.ga=a();this.P=a();this.P.gain.value=g;this.N=a();this.N.gain.value=1-g;this.mb=w.createBiquadFilter();this.mb.type="number"===typeof this.mb.type?b:ad[b];this.mb.frequency.value=d;this.mb.detune&&(this.mb.detune.value=c);this.mb.Q.value=e;this.mb.gain.value=k;this.ga.connect(this.mb);this.ga.connect(this.N);this.mb.connect(this.P)}function d(d,c,e){this.type="delay";this.Ma=[d,c,e];this.ga=a();this.P=a();this.P.gain.value=e;this.N=a();this.N.gain.value=
1-e;this.Th=a();this.Qc=b(d);this.Qc.delayTime.value=d;this.cj=a();this.cj.gain.value=c;this.ga.connect(this.Th);this.ga.connect(this.N);this.Th.connect(this.P);this.Th.connect(this.Qc);this.Qc.connect(this.cj);this.cj.connect(this.Th)}function l(b,d,c,e){this.type="convolve";this.Ma=[d,c,e];this.ga=a();this.P=a();this.P.gain.value=c;this.N=a();this.N.gain.value=1-c;this.vf=w.createConvolver();b&&(this.vf.normalize=d,this.vf.buffer=b);this.ga.connect(this.vf);this.ga.connect(this.N);this.vf.connect(this.P)}
function e(d,e,k,g,f){this.type="flanger";this.Ma=[d,e,k,g,f];this.ga=a();this.N=a();this.N.gain.value=1-f/2;this.P=a();this.P.gain.value=f/2;this.jj=a();this.jj.gain.value=g;this.Qc=b(d+e);this.Qc.delayTime.value=d;this.Eb=w.createOscillator();this.Eb.frequency.value=k;this.zc=a();this.zc.gain.value=e;this.ga.connect(this.Qc);this.ga.connect(this.N);this.Qc.connect(this.P);this.Qc.connect(this.jj);this.jj.connect(this.Qc);this.Eb.connect(this.zc);this.zc.connect(this.Qc.delayTime);c(this.Eb)}function m(b,
d,e,k,g,f){this.type="phaser";this.Ma=[b,d,e,k,g,f];this.ga=a();this.N=a();this.N.gain.value=1-f/2;this.P=a();this.P.gain.value=f/2;this.mb=w.createBiquadFilter();this.mb.type="number"===typeof this.mb.type?7:"allpass";this.mb.frequency.value=b;this.mb.detune&&(this.mb.detune.value=d);this.mb.Q.value=e;this.Eb=w.createOscillator();this.Eb.frequency.value=g;this.zc=a();this.zc.gain.value=k;this.ga.connect(this.mb);this.ga.connect(this.N);this.mb.connect(this.P);this.Eb.connect(this.zc);this.zc.connect(this.mb.frequency);
c(this.Eb)}function v(b){this.type="gain";this.Ma=[b];this.ka=a();this.ka.gain.value=b}function n(b,d){this.type="tremolo";this.Ma=[b,d];this.ka=a();this.ka.gain.value=1-d/2;this.Eb=w.createOscillator();this.Eb.frequency.value=b;this.zc=a();this.zc.gain.value=d/2;this.Eb.connect(this.zc);this.zc.connect(this.ka.gain);c(this.Eb)}function y(b,d){this.type="ringmod";this.Ma=[b,d];this.ga=a();this.P=a();this.P.gain.value=d;this.N=a();this.N.gain.value=1-d;this.gi=a();this.gi.gain.value=0;this.Eb=w.createOscillator();
this.Eb.frequency.value=b;this.Eb.connect(this.gi.gain);c(this.Eb);this.ga.connect(this.gi);this.ga.connect(this.N);this.gi.connect(this.P)}function B(b,d,c,e,k){this.type="distortion";this.Ma=[b,d,c,e,k];this.ga=a();this.hk=a();this.gk=a();this.Yw(c,Math.pow(10,e/20));this.P=a();this.P.gain.value=k;this.N=a();this.N.gain.value=1-k;this.Rk=w.createWaveShaper();this.aj=new Float32Array(65536);this.gv(b,d);this.Rk.aj=this.aj;this.ga.connect(this.hk);this.ga.connect(this.N);this.hk.connect(this.Rk);
this.Rk.connect(this.gk);this.gk.connect(this.P)}function p(a,b,d,c,e){this.type="compressor";this.Ma=[a,b,d,c,e];this.ka=w.createDynamicsCompressor();try{this.ka.threshold.value=a,this.ka.knee.value=b,this.ka.ratio.value=d,this.ka.attack.value=c,this.ka.release.value=e}catch(k){}}function s(a,b){this.type="analyser";this.Ma=[a,b];this.ka=w.createAnalyser();this.ka.fftSize=a;this.ka.smoothingTimeConstant=b;this.cv=new Float32Array(this.ka.frequencyBinCount);this.Uq=new Uint8Array(a);this.$h=0}function g(){this.O=
null;this.Pj=0;this.lf=[];this.Om=this.Fj=this.Ej=0}function u(b,d){this.src=b;this.aa=N;this.md=d;this.xo=!1;var c=this;this.Mm=this.Ym=null;this.Kg=[];this.sk=0;this.Rn=this.Ql=this.Xq=this.ak=!1;1===N&&d&&(this.aa=0,this.Ym=a());this.sf=this.ya=null;var e;switch(this.aa){case 0:this.ya=new Audio;this.ya.addEventListener("canplaythrough",function(){c.Rn=!0});1===N&&w.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.Xq=!0,this.ya.addEventListener("canplay",function(){c.Mm||(c.Mm=
w.createMediaElementSource(c.ya),c.Mm.connect(c.Ym))}));this.ya.autoplay=!1;this.ya.Jy="auto";this.ya.src=b;break;case 1:e=new XMLHttpRequest;e.open("GET",b,!0);e.responseType="arraybuffer";e.onload=function(){c.sf=e.response;c.eu()};e.onerror=function(){c.Ql=!0};e.send();break;case 2:this.ya=!0;break;case 3:this.ya=!0}}function k(b,d){var c=this;this.tag=d;this.Na=this.Gd=!0;this.src=b.src;this.buffer=b;this.aa=N;this.md=b.md;this.playbackRate=1;this.Bl=!0;this.Vc=this.ve=!1;this.kc=0;this.Gh=this.sg=
this.Kd=!1;this.volume=1;this.If=1===O&&!this.md||2===O;this.Eg=1;this.startTime=this.If?F.Ic.xa:F.Yd.xa;this.bb=this.nb=null;this.Md=!1;this.ab=null;this.yq=this.xq=this.wq=this.vq=this.Aq=this.zq=0;this.p=null;var e=!1;1!==this.aa||0!==this.buffer.aa||this.buffer.Xq||(this.aa=0);switch(this.aa){case 0:this.md?(this.p=b.ya,e=!b.xo,b.xo=!0):(this.p=new Audio,this.p.autoplay=!1,this.p.src=b.ya.src,e=!0);e&&this.p.addEventListener("ended",function(){K=c.tag;c.Na=!0;F.trigger(nc.prototype.g.Zk,M)});
break;case 1:this.nb=a();this.nb.connect(f(d));1===this.buffer.aa?b.ya&&(this.p=w.createBufferSource(),this.p.buffer=b.ya,this.p.connect(this.nb)):(this.p=this.buffer.ya,this.buffer.Ym.connect(this.nb));break;case 2:this.p=new window.Media(V+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Bl=!0,c.Na=!0,K=c.tag,F.trigger(nc.prototype.g.Zk,M))});break;case 3:this.p=!0}}function D(a,b){var d=a.Ve()?1:0,c=b.Ve()?1:0;return d===c?0:d<c?1:-1}function G(a,b){Ka.length=0;if(a.length){var d,
c,e;d=0;for(c=z.length;d<c;d++)e=z[d],kb(a,e.tag)&&Ka.push(e);b&&Ka.sort(D)}else R&&!R.Ef()&&(Ka.length=1,Ka[0]=R)}function Q(a,b){Z.hasOwnProperty(a)?Z[a].push(b):Z[a]=[b];var d,c,e,k,g=w.destination;if(Z.hasOwnProperty(a)&&(e=Z[a],e.length))for(g=e[0].Gc(),d=0,c=e.length;d<c;d++)k=e[d],d+1===c?k.Nc(w.destination):k.Nc(e[d+1].Gc());G(a);d=0;for(c=Ka.length;d<c;d++)Ka[d].Kw(g);Ra&&Nb===a&&(Ra.disconnect(),Ra.connect(g))}function L(){}function x(){}function P(){}var U=nc.prototype;U.M=function(a){this.ba=
a;this.b=a.b};U.M.prototype.C=function(){};var F=null,M=null,K="",V="",N=0,w=null,A=[],z=[],R=null,J=!1,O=0,H=!1,fa=1,S=0,na=0,oa=1,Ia=1,La=10,Nc=1E4,Oc=1,Ra=null,Nb="",gb=!1,hb=[],Z={},ad="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");r.prototype.Nc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};r.prototype.remove=function(){this.ga.disconnect();this.mb.disconnect();this.P.disconnect();this.N.disconnect()};r.prototype.Gc=
function(){return this.ga};d.prototype.Nc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};d.prototype.remove=function(){this.ga.disconnect();this.Th.disconnect();this.Qc.disconnect();this.cj.disconnect();this.P.disconnect();this.N.disconnect()};d.prototype.Gc=function(){return this.ga};l.prototype.Nc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};l.prototype.remove=function(){this.ga.disconnect();this.vf.disconnect();
this.P.disconnect();this.N.disconnect()};l.prototype.Gc=function(){return this.ga};e.prototype.Nc=function(a){this.N.disconnect();this.N.connect(a);this.P.disconnect();this.P.connect(a)};e.prototype.remove=function(){this.ga.disconnect();this.Qc.disconnect();this.Eb.disconnect();this.zc.disconnect();this.N.disconnect();this.P.disconnect();this.jj.disconnect()};e.prototype.Gc=function(){return this.ga};m.prototype.Nc=function(a){this.N.disconnect();this.N.connect(a);this.P.disconnect();this.P.connect(a)};
m.prototype.remove=function(){this.ga.disconnect();this.mb.disconnect();this.Eb.disconnect();this.zc.disconnect();this.N.disconnect();this.P.disconnect()};m.prototype.Gc=function(){return this.ga};v.prototype.Nc=function(a){this.ka.disconnect();this.ka.connect(a)};v.prototype.remove=function(){this.ka.disconnect()};v.prototype.Gc=function(){return this.ka};n.prototype.Nc=function(a){this.ka.disconnect();this.ka.connect(a)};n.prototype.remove=function(){this.Eb.disconnect();this.zc.disconnect();this.ka.disconnect()};
n.prototype.Gc=function(){return this.ka};y.prototype.Nc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};y.prototype.remove=function(){this.Eb.disconnect();this.gi.disconnect();this.ga.disconnect();this.P.disconnect();this.N.disconnect()};y.prototype.Gc=function(){return this.ga};B.prototype.Yw=function(a,b){.01>a&&(a=.01);this.hk.gain.value=a;this.gk.gain.value=Math.pow(1/a,.6)*b};B.prototype.shape=function(a,b,d){var c=1.05*d*b-b;d=0>a?-1:1;a=0>a?-a:a;b=
a<b?a:b+c*(1-Math.exp(-(1/c)*(a-b)));return b*d};B.prototype.gv=function(a,b){for(var d=Math.pow(10,a/20),c=Math.pow(10,b/20),e=0,k=0;32768>k;++k)e=k/32768,e=this.shape(e,d,c),this.aj[32768+k]=e,this.aj[32768-k-1]=-e};B.prototype.Nc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};B.prototype.remove=function(){this.ga.disconnect();this.hk.disconnect();this.Rk.disconnect();this.gk.disconnect();this.P.disconnect();this.N.disconnect()};B.prototype.Gc=function(){return this.ga};
p.prototype.Nc=function(a){this.ka.disconnect();this.ka.connect(a)};p.prototype.remove=function(){this.ka.disconnect()};p.prototype.Gc=function(){return this.ka};s.prototype.Gb=function(){this.ka.getFloatFrequencyData(this.cv);this.ka.getByteTimeDomainData(this.Uq);for(var a=this.ka.fftSize,b=0,d=this.$h=0,c=0;b<a;b++)c=(this.Uq[b]-128)/128,0>c&&(c=-c),this.$h<c&&(this.$h=c),d+=c*c;this.$h=h(this.$h);h(Math.sqrt(d/a))};s.prototype.Nc=function(a){this.ka.disconnect();this.ka.connect(a)};s.prototype.remove=
function(){this.ka.disconnect()};s.prototype.Gc=function(){return this.ka};g.prototype.hi=function(a){if(this.O=a)this.Ej=this.O.x,this.Fj=this.O.y;this.lf.length=0};g.prototype.uj=function(){return!!this.O};g.prototype.Gb=function(a){this.O&&0!==a&&(this.Om=Ja(this.Ej,this.Fj,this.O.x,this.O.y),a=Qa(this.Ej,this.Fj,this.O.x,this.O.y)/a,4>this.lf.length||this.lf.shift(),this.lf.push(a),this.Ej=this.O.x,this.Fj=this.O.y)};g.prototype.kp=function(){if(!this.lf.length)return 0;var a,b,d=0;a=0;for(b=
this.lf.length;a<b;a++)d+=this.lf[a];return d/this.lf.length};g.prototype.em=function(){return Math.cos(this.Om)*this.kp()};g.prototype.fm=function(){return Math.sin(this.Om)*this.kp()};var Pc=!1;u.prototype.eu=function(){if(!this.ya&&this.sf){var a=this;if(w.decodeAudioData)w.decodeAudioData(this.sf,function(b){a.ya=b;a.sf=null;var d,c,e;if(ha(a.ck)||H)ha(a.Vi)||(d=a.Vi.vf,d.normalize=a.kq,d.buffer=b);else if(a.Kg.length){d=0;for(c=a.Kg.length;d<c;d++){b=a.Kg[d];e=new k(a,b.br);e.un(!0);if("undefined"!==
typeof b.mq&&(b.O=F.sh(b.mq),!b.O))continue;if(b.O){var g=Pa(b.O.x,b.O.y,-b.O.i.ob(),S,na,!0),f=Pa(b.O.x,b.O.y,-b.O.i.ob(),S,na,!1);e.tn(g,f,Da(b.O.k-b.O.i.ob()),b.lm,b.Qm,b.Tm);e.hi(b.O)}else e.tn(b.x,b.y,b.Jt,b.lm,b.Qm,b.Tm);e.play(a.Jm,a.Pn,a.sk);a.ak&&e.pause();z.push(e)}a.Kg.length=0}else e=new k(a,a.ck),e.play(a.Jm,a.Pn,a.sk),a.ak&&e.pause(),z.push(e)},function(){a.Ql=!0});else if(this.ya=w.createBuffer(this.sf,!1),this.sf=null,ha(this.ck)||H)ha(this.Vi)||(b=this.Vi.vf,b.normalize=this.kq,b.buffer=
this.ya);else{var b=new k(this,this.ck);b.play(this.Jm,this.Pn,this.sk);this.ak&&b.pause();z.push(b)}}};u.prototype.wp=function(){switch(this.aa){case 0:var a=4<=this.ya.readyState;a&&(this.Rn=!0);return a||this.Rn;case 1:return!!this.sf||!!this.ya;case 2:return!0;case 3:return!0}return!1};u.prototype.Xv=function(){switch(this.aa){case 0:return this.wp();case 1:return!!this.ya;case 2:return!0;case 3:return!0}return!1};u.prototype.Nv=function(){switch(this.aa){case 0:return!!this.ya.error;case 1:return this.Ql}return!1};
k.prototype.Ef=function(){var a;switch(this.aa){case 0:return this.p.ended;case 1:if(1===this.buffer.aa){if(!this.Gd&&!this.Na&&this.p.loop||this.Vc)return!1;a=this.If?F.Ic.xa:F.Yd.xa;return a-this.startTime>this.buffer.ya.duration}return this.p.ended;case 2:return this.Bl;case 3:!0}return!0};k.prototype.Xt=function(){return this.Gd||this.Na?!0:this.Ef()};k.prototype.un=function(a){1===N&&(!this.Md&&a?this.nb&&(this.bb||(this.bb=w.createPanner(),this.bb.panningModel="number"===typeof this.bb.panningModel?
oa:["equalpower","HRTF","soundfield"][oa],this.bb.distanceModel="number"===typeof this.bb.distanceModel?Ia:["linear","inverse","exponential"][Ia],this.bb.refDistance=La,this.bb.maxDistance=Nc,this.bb.rolloffFactor=Oc),this.nb.disconnect(),this.nb.connect(this.bb),this.bb.connect(f(this.tag)),this.Md=!0):this.Md&&!a&&this.nb&&(this.bb.disconnect(),this.nb.disconnect(),this.nb.connect(f(this.tag)),this.Md=!1))};k.prototype.tn=function(a,b,d,c,e,k){this.Md&&1===N&&(this.bb.setPosition(a,b,0),this.bb.setOrientation(Math.cos(E(d)),
Math.sin(E(d)),0),this.bb.coneInnerAngle=c,this.bb.coneOuterAngle=e,this.bb.coneOuterGain=k,this.zq=a,this.Aq=b,this.vq=d,this.wq=c,this.xq=e,this.yq=k)};k.prototype.hi=function(a){this.Md&&1===N&&(this.ab||(this.ab=new g),this.ab.hi(a))};k.prototype.Gb=function(a){if(this.Md&&1===N&&this.ab&&this.ab.uj()&&this.Ve()){this.ab.Gb(a);a=this.ab.O;var b=Pa(a.x,a.y,-a.i.ob(),S,na,!0),d=Pa(a.x,a.y,-a.i.ob(),S,na,!1);this.bb.setPosition(b,d,0);b=0;"undefined"!==typeof this.ab.O.k&&(b=a.k-a.i.ob(),this.bb.setOrientation(Math.cos(b),
Math.sin(b),0));b=Pa(this.ab.em(),this.ab.fm(),-a.i.ob(),0,0,!0);d=Pa(this.ab.em(),this.ab.fm(),-a.i.ob(),0,0,!1);this.bb.setVelocity(b,d,0)}};k.prototype.play=function(a,b,d){var e=this.p;this.Kd=a;this.volume=b;d=d||0;switch(this.aa){case 0:1!==e.playbackRate&&(e.playbackRate=1);e.volume!==b*fa&&(e.volume=b*fa);e.loop!==a&&(e.loop=a);e.muted&&(e.muted=!1);if(e.currentTime!==d)try{e.currentTime=d}catch(k){}if(this.md&&gb&&!F.vc)hb.push(this);else try{this.p.play()}catch(g){console&&console.log&&
console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",g)}break;case 1:this.muted=!1;this.Eg=1;if(1===this.buffer.aa)this.Gd||(this.p=w.createBufferSource(),this.p.buffer=this.buffer.ya,this.p.connect(this.nb)),this.p.loop=a,this.nb.gain.value=b*fa,0===d?c(this.p):q(this.p,d,this.Qe());else{1!==e.playbackRate&&(e.playbackRate=1);e.loop!==a&&(e.loop=a);this.nb.gain.value=b*fa;if(e.currentTime!==d)try{e.currentTime=d}catch(f){}this.md&&gb&&!F.vc?hb.push(this):e.play()}break;
case 2:(!this.Gd&&this.Na||0!==d)&&e.seekTo(d);e.play();this.Bl=!1;break;case 3:F.Ab?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.If?F.Ic.xa:F.Yd.xa)-d;this.Vc=this.Na=this.Gd=!1};k.prototype.stop=function(){switch(this.aa){case 0:this.p.paused||this.p.pause();break;case 1:1===this.buffer.aa?t(this.p):this.p.paused||this.p.pause();break;case 2:this.p.stop();break;case 3:F.Ab&&AppMobi.context.stopSound(this.src)}this.Na=!0;this.Vc=
!1};k.prototype.pause=function(){if(!(this.Gd||this.Na||this.Ef()||this.Vc)){switch(this.aa){case 0:this.p.paused||this.p.pause();break;case 1:1===this.buffer.aa?(this.kc=this.cm(),this.Kd&&(this.kc%=this.Qe()),t(this.p)):this.p.paused||this.p.pause();break;case 2:this.p.pause();break;case 3:F.Ab&&AppMobi.context.stopSound(this.src)}this.Vc=!0}};k.prototype.Nw=function(){if(!(this.Gd||this.Na||this.Ef())&&this.Vc){switch(this.aa){case 0:this.p.play();break;case 1:1===this.buffer.aa?(this.p=w.createBufferSource(),
this.p.buffer=this.buffer.ya,this.p.connect(this.nb),this.p.loop=this.Kd,this.nb.gain.value=fa*this.volume*this.Eg,this.startTime=(this.If?F.Ic.xa:F.Yd.xa)-this.kc,q(this.p,this.kc,this.Qe())):this.p.play();break;case 2:this.p.play();break;case 3:F.Ab&&AppMobi.context.resumeSound(this.src)}this.Vc=!1}};k.prototype.seek=function(a){if(!(this.Gd||this.Na||this.Ef()))switch(this.aa){case 0:try{this.p.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.aa)this.Vc?this.kc=a:(this.pause(),this.kc=a,
this.Nw());else try{this.p.currentTime=a}catch(d){}break;case 3:F.Ab&&AppMobi.context.seekSound(this.src,a)}};k.prototype.Kw=function(a){1===this.aa&&(this.Md?(this.bb.disconnect(),this.bb.connect(a)):(this.nb.disconnect(),this.nb.connect(a)))};k.prototype.Qe=function(){switch(this.aa){case 0:if("undefined"!==typeof this.p.duration)return this.p.duration;break;case 1:return this.buffer.ya.duration;case 2:return this.p.getDuration();case 3:if(F.Ab)return AppMobi.context.getDurationSound(this.src)}return 0};
k.prototype.cm=function(){var a=this.Qe(),b=0;switch(this.aa){case 0:"undefined"!==typeof this.p.currentTime&&(b=this.p.currentTime);break;case 1:if(1===this.buffer.aa){if(this.Vc)return this.kc;b=(this.If?F.Ic.xa:F.Yd.xa)-this.startTime}else"undefined"!==typeof this.p.currentTime&&(b=this.p.currentTime);break;case 3:F.Ab&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Kd&&b>a&&(b=a);return b};k.prototype.Ve=function(){return!this.Vc&&!this.Gd&&!this.Na&&!this.Ef()};k.prototype.qx=function(){var a=
this.volume*fa;switch(this.aa){case 0:this.p.volume&&this.p.volume!==a&&(this.p.volume=a);break;case 1:this.nb.gain.value=a*this.Eg}};k.prototype.ej=function(a){switch(this.aa){case 0:this.p.muted!==!!a&&(this.p.muted=!!a);break;case 1:this.Eg=a?0:1,this.nb.gain.value=fa*this.volume*this.Eg}};k.prototype.Zw=function(){this.sg=!0;this.ej(this.sg||this.Gh)};k.prototype.uk=function(a){this.Gh=!!a;this.ej(this.sg||this.Gh)};k.prototype.nr=function(){var a=this.playbackRate;this.If&&(a*=F.mf);switch(this.aa){case 0:this.p.playbackRate!==
a&&(this.p.playbackRate=a);break;case 1:1===this.buffer.aa?this.p.playbackRate.value!==a&&(this.p.playbackRate.value=a):this.p.playbackRate!==a&&(this.p.playbackRate=a)}};k.prototype.bx=function(a){switch(this.aa){case 0:a?this.Ve()?(this.p.pause(),this.ve=!0):this.ve=!1:this.ve&&this.p.play();break;case 1:a?this.Ve()?(1===this.buffer.aa?(this.kc=this.cm(),this.Kd&&(this.kc%=this.Qe()),t(this.p)):this.p.pause(),this.ve=!0):this.ve=!1:this.ve&&(1===this.buffer.aa?(this.p=w.createBufferSource(),this.p.buffer=
this.buffer.ya,this.p.connect(this.nb),this.p.loop=this.Kd,this.nb.gain.value=fa*this.volume*this.Eg,this.startTime=(this.If?F.Ic.xa:F.Yd.xa)-this.kc,q(this.p,this.kc,this.Qe())):this.p.play());break;case 2:a?this.Ve()?(this.p.pause(),this.ve=!0):this.ve=!1:this.ve&&this.p.play()}};U.I=function(a){this.type=a;F=this.b=a.b;M=this;this.Xb=null;this.Lh=-600;!(this.b.Cj||this.b.wj&&(this.b.Ch||this.b.xj))||this.b.Dh||this.b.Ja||(gb=!0);w=null;"undefined"!==typeof AudioContext?(N=1,w=new AudioContext):
"undefined"!==typeof webkitAudioContext&&(N=1,w=new webkitAudioContext);(this.b.Cj&&1===N||gb)&&document.addEventListener("touchstart",function(){var a,b,d;!Pc&&w&&(a=w.createBuffer(1,1,22050),b=w.createBufferSource(),b.buffer=a,b.connect(w.destination),c(b),Pc=!0);if(gb){if(!H)for(a=0,b=hb.length;a<b;++a)d=hb[a],d.Na||d.Vc||d.p.play();hb.length=0}},!0);1!==N&&(this.b.Uc&&"undefined"!==typeof window.Media?N=2:this.b.ng&&(N=3));2===N&&(V=location.href,a=V.lastIndexOf("/"),-1<a&&(V=V.substr(0,a+1)),
V=V.replace("file://",""));if(this.b.xp&&this.b.Yv&&"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.rf(this);else{if(this.b.Ab)J=this.b.wj;else try{J=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(b){J=!1}this.b.Vf(this)}};var za=U.I.prototype;za.C=function(){this.b.ag=this;O=this.r[0];this.we=this.r[1];this.Aw=0!==this.r[2];oa=this.r[3];Ia=this.r[4];this.Lh=-this.r[5];
La=this.r[6];Nc=this.r[7];Oc=this.r[8];this.Xb=new g;var a=this.b.Y||this.b.width,b=this.b.X||this.b.height;1===N&&(w.listener.speedOfSound=this.r[9],w.listener.dopplerFactor=this.r[10],w.listener.setPosition(a/2,b/2,this.Lh),w.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){Ra&&Ra.disconnect();Nb=b.toLowerCase();Ra=w.createMediaStreamSource(a);Ra.connect(f(Nb))});this.b.vo(function(a){M.xw(a)});var d=this;this.b.ol(function(a){d.Um(a)})};za.Um=function(a){var b,d,c;
b=0;for(d=z.length;b<d;b++)c=z[b],c.ab&&c.ab.O===a&&(c.ab.O=null,c.Md&&c.Ve()&&c.Kd&&c.stop());this.Xb.O===a&&(this.Xb.O=null)};za.yb=function(){var a={silent:H,masterVolume:fa,listenerZ:this.Lh,listenerUid:this.Xb.uj()?this.Xb.O.uid:-1,playing:[],effects:{}},b=a.playing,d,c,e,k,g,f;d=0;for(c=z.length;d<c;d++)e=z[d],!e.Ve()||3===this.we||e.md&&1===this.we||!e.md&&2===this.we||(k=e.cm(),e.Kd&&(k%=e.Qe()),k={tag:e.tag,buffersrc:e.buffer.src,is_music:e.md,playbackTime:k,volume:e.volume,looping:e.Kd,
muted:e.sg,playbackRate:e.playbackRate,paused:e.Vc,resume_position:e.kc},e.Md&&(k.pan={},f=k.pan,e.ab&&e.ab.uj()?f.objUid=e.ab.O.uid:(f.x=e.zq,f.y=e.Aq,f.a=e.vq),f.ia=e.wq,f.oa=e.xq,f.og=e.yq),b.push(k));b=a.effects;for(g in Z)if(Z.hasOwnProperty(g)){e=[];d=0;for(c=Z[g].length;d<c;d++)e.push({type:Z[g][d].type,params:Z[g][d].Ma});b[g]=e}return a};var ib=[];za.Lb=function(a){var b=a.silent;fa=a.masterVolume;this.Lh=a.listenerZ;this.Xb.hi(null);var c=a.listenerUid;-1!==c&&(this.Xb.Pj=c,ib.push(this.Xb));
var c=a.playing,k,f,h,q,u,G,D,t,L,x,U;if(3!==this.we)for(k=0,f=z.length;k<f;k++)L=z[k],L.md&&1===this.we||(L.md||2!==this.we)&&L.stop();for(u in Z)if(Z.hasOwnProperty(u))for(k=0,f=Z[u].length;k<f;k++)Z[u][k].remove();Ua(Z);for(u in a.effects)if(a.effects.hasOwnProperty(u))for(G=a.effects[u],k=0,f=G.length;k<f;k++)switch(h=G[k].type,x=G[k].params,h){case "filter":Q(u,new r(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":Q(u,new d(x[0],x[1],x[2]));break;case "convolve":h=x[2];L=this.pj(h,!1);L.ya?
h=new l(L.ya,x[0],x[1],h):(h=new l(null,x[0],x[1],h),L.kq=x[0],L.Vi=h);Q(u,h);break;case "flanger":Q(u,new e(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":Q(u,new m(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":Q(u,new v(x[0]));break;case "tremolo":Q(u,new n(x[0],x[1]));break;case "ringmod":Q(u,new y(x[0],x[1]));break;case "distortion":Q(u,new B(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":Q(u,new p(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":Q(u,new s(x[0],x[1]))}k=0;for(f=c.length;k<
f;k++)3===this.we||(a=c[k],h=a.buffersrc,q=a.is_music,u=a.tag,G=a.playbackTime,D=a.looping,t=a.volume,U=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,q&&1===this.we)||!q&&2===this.we||((L=this.Wl(h,u,q,D,t))?(L.kc=a.resume_position,L.un(!!x),L.play(D,t,G),L.nr(),L.qx(),L.ej(L.sg||L.Gh),a.paused&&L.pause(),a.muted&&L.Zw(),L.ej(L.sg||L.Gh),x&&(-1!==U?(L.ab=L.ab||new g,L.ab.Pj=U,ib.push(L.ab)):L.tn(x.x,x.y,x.a,x.ia,x.oa,x.og))):(L=this.pj(h,q),L.sk=G,L.ak=a.paused,x&&(-1!==U?L.Kg.push({mq:U,lm:x.ia,
Qm:x.oa,Tm:x.og,br:u}):L.Kg.push({x:x.x,y:x.y,Jt:x.a,lm:x.ia,Qm:x.oa,Tm:x.og,br:u}))));if(b&&!H){k=0;for(f=z.length;k<f;k++)z[k].uk(!0);H=!0}else if(!b&&H){k=0;for(f=z.length;k<f;k++)z[k].uk(!1);H=!1}};za.Ad=function(){var a,b,d,c;a=0;for(b=ib.length;a<b;a++)d=ib[a],c=this.b.sh(d.Pj),d.hi(c),d.Pj=-1,c&&(S=c.x,na=c.y);ib.length=0};za.xw=function(a){if(!this.Aw){!a&&w&&w.resume&&w.resume();var b,d;b=0;for(d=z.length;b<d;b++)z[b].bx(a);a&&w&&w.suspend&&w.suspend()}};za.Gb=function(){var a=this.b.he,
b,d,c;b=0;for(d=z.length;b<d;b++)c=z[b],c.Gb(a),0===c.aa||3===c.aa||c.Gd||c.Na||!c.Ef()||(c.Na=!0,K=c.tag,F.trigger(nc.prototype.g.Zk,M)),0!==O&&c.nr();var e,k;for(e in Z)if(Z.hasOwnProperty(e))for(c=Z[e],b=0,d=c.length;b<d;b++)k=c[b],k.Gb&&k.Gb();1===N&&this.Xb.uj()&&(this.Xb.Gb(a),S=this.Xb.O.x,na=this.Xb.O.y,w.listener.setPosition(this.Xb.O.x,this.Xb.O.y,this.Lh),w.listener.setVelocity(this.Xb.em(),this.Xb.fm(),0))};var jb=[];za.$w=function(a){var b,d,c,e,k,g=0;b=0;for(d=a.length;b<d;++b)if(c=
a[b],e=c[0],c=2*c[1],(k=4<e.length&&".ogg"===e.substr(e.length-4))&&J||!k&&!J)jb.push({filename:e,size:c,O:null}),g+=c;return g};za.dx=function(){var a,b,d,c;a=0;for(b=jb.length;a<b;++a)d=jb[a],c=this.b.kj+d.filename,d.O=this.pj(c,!1)};za.sv=function(){var a=0,b,d,c;b=0;for(d=jb.length;b<d;++b)c=jb[b],c.O.Xv()||c.O.Nv()||this.b.Ja||this.b.xj?a+=c.size:c.O.wp()&&(a+=Math.floor(c.size/2));return a};za.pj=function(a,b){var d,c,e,k=null;d=0;for(c=A.length;d<c;d++)if(e=A[d],e.src===a){k=e;break}k||(k=
new u(a,b),A.push(k));return k};za.Wl=function(a,b,d,c,e){var g,f,l;g=0;for(f=z.length;g<f;g++)if(l=z[g],l.src===a&&(l.Xt()||d))return l.tag=b,l;a=this.pj(a,d);if(!a.ya)return"<preload>"!==b&&(a.ck=b,a.Jm=c,a.Pn=e),null;l=new k(a,b);z.push(l);return l};var Ka=[];L.prototype.Zk=function(a){return kb(K,a)};U.g=new L;x.prototype.Play=function(a,b,d,c){!H&&(d=Math.pow(10,d/20),0>d&&(d=0),1<d&&(d=1),R=this.Wl(this.b.kj+a[0]+(J?".ogg":".m4a"),c,a[1],0!==b,d))&&(R.un(!1),R.play(0!==b,d))};x.prototype.ct=
function(a){if(!H){var b=a[1];a=this.b.kj+a[0]+(J?".ogg":".m4a");3===N?this.b.Ab?AppMobi.context.loadSound(a):AppMobi.player.loadSound(a):2!==N&&this.Wl(a,"<preload>",b,!1)}};x.prototype.po=function(a){G(a);var b;a=0;for(b=Ka.length;a<b;a++)Ka[a].stop()};x.prototype.At=function(){var a,b;a=0;for(b=z.length;a<b;a++)z[a].stop()};x.prototype.pt=function(a){var b;2===a&&(a=H?1:0);if(0===a&&!H){a=0;for(b=z.length;a<b;a++)z[a].uk(!0);H=!0}else if(1===a&&H){a=0;for(b=z.length;a<b;a++)z[a].uk(!1);H=!1}};
U.j=new x;P.prototype.Rr=function(a,b){G(b,!0);Ka.length?a.q(Ka[0].Qe()):a.q(0)};U.n=new P})();function oc(h){this.b=h}
(function(){function h(){}function f(){}var a=oc.prototype;a.M=function(a){this.ba=a;this.b=a.b};a.M.prototype.C=function(){};a.I=function(a){this.type=a;this.b=a.b};a.I.prototype.C=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(oc.prototype.g.Ns,a)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(oc.prototype.g.Js,a)}),window.addEventListener("offline",function(){a.b.trigger(oc.prototype.g.Is,a)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){a.b.Pf=1;a.b.trigger(oc.prototype.g.io,a)}),window.applicationCache.addEventListener("progress",function(c){a.b.Pf=c.loaded/c.total}));this.b.Ab||(document.addEventListener("appMobi.device.update.available",function(){a.b.trigger(oc.prototype.g.io,a)}),document.addEventListener("backbutton",function(){a.b.trigger(oc.prototype.g.Yk,a)}),document.addEventListener("menubutton",function(){a.b.trigger(oc.prototype.g.co,a)}),document.addEventListener("searchbutton",
function(){a.b.trigger(oc.prototype.g.Qs,a)}),document.addEventListener("tizenhwkey",function(c){var f;switch(c.keyName){case "back":f=a.b.trigger(oc.prototype.g.Yk,a);!f&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(f=a.b.trigger(oc.prototype.g.co,a))||c.preventDefault()}}));this.b.yj&&(WinJS.Application.onbackclick=function(){return!!a.b.trigger(oc.prototype.g.Yk,a)});this.b.vo(function(c){c?a.b.trigger(oc.prototype.g.Ks,a):a.b.trigger(oc.prototype.g.Ls,
a)})};h.prototype.Js=function(){return!0};h.prototype.Is=function(){return!0};h.prototype.io=function(){return!0};h.prototype.Ls=function(){return!0};h.prototype.Ks=function(){return!0};h.prototype.Ns=function(){return!0};h.prototype.Yk=function(){return!0};h.prototype.co=function(){return!0};h.prototype.Qs=function(){return!0};a.g=new h;a.j=new function(){};f.prototype.URL=function(a){a.Ga(this.b.Ja?"":window.location.toString())};f.prototype.Qr=function(a){a.Ga(this.b.Ja?"":window.location.hostname)};
f.prototype.Ft=function(a){a.Ga(this.b.Ja?"":navigator.appVersion)};f.prototype.bt=function(a){a.Ga(this.b.Ja?"":navigator.platform)};f.prototype.Tr=function(a,c){if(eval){var f=0;try{f=eval(c)}catch(h){console&&console.error&&console.error("Error executing Javascript: ",h)}"number"===typeof f?a.ad(f):"string"===typeof f?a.ad(f):"boolean"===typeof f?a.ad(f?1:0):a.ad(0)}else a.ad(0)};a.n=new f})();function pc(h){this.b=h}
(function(){function h(){}function f(){}var a=pc.prototype;a.M=function(a){this.ba=a;this.b=a.b};a.M.prototype.C=function(){};a.I=function(a){this.type=a;this.b=a.b};var b=a.I.prototype;b.C=function(){this.Me={}};b.yb=function(){return this.Me};b.Lb=function(a){this.Me=a;for(var b in this.Me);};a.g=new function(){};h.prototype.ur=function(a,b){this.Me[a]=b};h.prototype.mt=function(a,b){this.Me.hasOwnProperty(a)&&(this.Me[a]=b)};h.prototype.Xk=function(){Ua(this.Me)};a.j=new h;f.prototype.Wg=function(a){a.Ga(JSON.stringify({c2dictionary:!0,
data:this.Me}))};a.n=new f})();function qc(h){this.b=h}
(function(){function h(){}function f(){}var a=qc.prototype;a.M=function(a){this.ba=a;this.b=a.b};var b=!1;a.M.prototype.C=function(){};a.I=function(a){this.type=a;this.b=a.b};a.I.prototype.C=function(){this.sl=this.r[0];var a=this;if(this.sl.length)if(window.c2cocoonjs)CocoonJS.App.onLoadInTheWebViewSucceed.addEventListener(function(){CocoonJS.App.forwardAsync("load_flurry('"+a.sl+"');")}),CocoonJS.App.loadInTheWebView("webview/webview.html");else{var f=document.createElement("script");f.src="https://cdn.flurry.com/js/flurry.js";
document.getElementsByTagName("head")[0].appendChild(f);f.onload=function(){b=!0;window.onerror=function(a,b,d){FlurryAgent.logError(b,a,d)}}}else console.log("Flurry object: no API key provided. Please enter an API Key before using the object.")};h.prototype.av=function(){return b};a.g=new h;window.flurry_from_cocoon_ready=function(){b=!0};window.flurry_eval=function(a){b&&(window.c2cocoonjs?CocoonJS.App.forwardAsync(a):eval(a))};f.prototype.ew=function(a){window.flurry_eval("FlurryAgent['logEvent']('"+
a+"');")};f.prototype.fw=function(a,b){window.flurry_eval("FlurryAgent['logEvent']('"+a+"', "+JSON.stringify(JSON.parse(b).data)+");")};f.prototype.gw=function(a,b){window.flurry_eval("FlurryAgent['logEvent']('"+a+"', "+JSON.stringify(JSON.parse(b).data)+", true);")};f.prototype.zu=function(a,b){window.flurry_eval("FlurryAgent['endTimedEvent']('"+a+"', "+JSON.stringify(JSON.parse(b).data)+");")};f.prototype.gx=function(){window.flurry_eval("FlurryAgent['startSession']('"+this.sl+"');")};a.j=new f;
a.n=new function(){}})();function lc(h){this.b=h}
(function(){function h(){this.name="";this.td=0;this.Ma=[]}function f(){r++;r===t.length&&t.push(new h);return t[r]}function a(){}function b(){}function c(){}var q=lc.prototype;q.M=function(a){this.ba=a;this.b=a.b};q.M.prototype.C=function(){};q.I=function(a){this.type=a;this.b=a.b};var t=[],r=-1;q.I.prototype.C=function(){var a=this;window.c2_callFunction=function(b,c){var h,q,n,t=f();t.name=b.toLowerCase();t.td=0;if(c)for(t.Ma.length=c.length,h=0,q=c.length;h<q;++h)n=c[h],t.Ma[h]="number"===typeof n||
"string"===typeof n?n:"boolean"===typeof n?n?1:0:0;else t.Ma.length=0;a.b.trigger(lc.prototype.g.Di,a,t.name);r--;return t.td}};a.prototype.Di=function(a){var b=0>r?null:t[r];return b?kb(a,b.name):!1};q.g=new a;b.prototype.CallFunction=function(a,b){var c=f();c.name=a.toLowerCase();c.td=0;ya(c.Ma,b);this.b.trigger(lc.prototype.g.Di,this,c.name);r--};b.prototype.gl=function(a){var b=0>r?null:t[r];b&&(b.td=a)};q.j=new b;c.prototype.fl=function(a,b){b=ra(b);var c=0>r?null:t[r];c?0<=b&&b<c.Ma.length?
a.ad(c.Ma[b]):a.J(0):a.J(0)};c.prototype.Wk=function(a,b){var c=f();c.name=b.toLowerCase();c.td=0;c.Ma.length=0;var h,q;h=2;for(q=arguments.length;h<q;h++)c.Ma.push(arguments[h]);this.b.trigger(lc.prototype.g.Di,this,c.name);r--;a.ad(c.td)};q.n=new c})();function rc(h){this.b=h}
(function(){function h(){}var f=rc.prototype;f.M=function(a){this.ba=a;this.b=a.b};f.M.prototype.C=function(){};f.I=function(a){this.type=a;this.b=a.b;this.Dj=Array(256);this.Qk=Array(256);this.of=0};var a=f.I.prototype;a.C=function(){var a=this;this.b.Ja||(jQuery(document).keydown(function(b){a.qw(b)}),jQuery(document).keyup(function(b){a.rw(b)}))};var b=[32,33,34,35,36,37,38,39,40,44];a.qw=function(a){var f=!1;window!=window.top&&-1<b.indexOf(a.which)&&(a.preventDefault(),f=!0,a.stopPropagation());
if(this.Dj[a.which])this.Qk[a.which]&&!f&&a.preventDefault();else{this.Dj[a.which]=!0;this.of=a.which;this.b.vc=!0;this.b.trigger(rc.prototype.g.vs,this);var h=this.b.trigger(rc.prototype.g.Ds,this),r=this.b.trigger(rc.prototype.g.Es,this);this.b.vc=!1;if(h||r)this.Qk[a.which]=!0,f||a.preventDefault()}};a.rw=function(a){this.Dj[a.which]=!1;this.of=a.which;this.b.vc=!0;this.b.trigger(rc.prototype.g.ws,this);var b=this.b.trigger(rc.prototype.g.Gs,this),f=this.b.trigger(rc.prototype.g.Fs,this);this.b.vc=
!1;if(b||f||this.Qk[a.which])this.Qk[a.which]=!0,a.preventDefault()};a.yb=function(){return{triggerKey:this.of}};a.Lb=function(a){this.of=a.triggerKey};h.prototype.es=function(a){return this.Dj[a]};h.prototype.Ds=function(a){return a===this.of};h.prototype.vs=function(){return!0};h.prototype.ws=function(){return!0};h.prototype.Gs=function(a){return a===this.of};h.prototype.Es=function(a){return a===this.of};h.prototype.Fs=function(a){return a===this.of};f.g=new h;f.j=new function(){};f.n=new function(){}})();
function sc(h){this.b=h}(function(){var h=sc.prototype;h.M=function(a){this.ba=a;this.b=a.b};h.M.prototype.C=function(){};h.I=function(a){this.type=a;this.b=a.b};var f=h.I.prototype;f.C=function(){};f.qc=function(){};f.fc=function(){};h.g=new function(){};h.j=new function(){};h.n=new function(){}})();function tc(h){this.b=h}
(function(){function h(){this.name="";this.td=0;this.Ma=[]}function f(a){a.Hd+=1;a.Hd===a.oj.length&&a.oj.push(new h);return a.oj[a.Hd]}function a(a){return 0>a.Hd?null:a.oj[a.Hd]}function b(){}function c(){}function q(){}var t=tc.prototype;t.M=function(a){this.ba=a;this.b=a.b};t.M.prototype.C=function(){};t.I=function(a){this.type=a;this.b=a.b};t.I.prototype.C=function(){this.oj=[];this.Hd=-1;this.Fl=""};b.prototype.al=function(b){var d=a(this);return d?kb(b,d.name):!1};t.g=new b;c.prototype.Er=
function(a,b){var c=f(this);c.name=a.toLowerCase();c.td=0;this.Fl=a.toLowerCase();ya(c.Ma,b);this.b.trigger(tc.prototype.g.al,this);--this.Hd};c.prototype.gl=function(b){var d=a(this);d&&(d.td=b)};t.j=new c;q.prototype.fl=function(b,d){d=ra(d);var c=a(this);c?0<=d&&d<c.Ma.length?b.ad(c.Ma[d]):b.J(0):b.J(0)};q.prototype.Wk=function(a,b){var c=f(this);c.name=b.toLowerCase();this.Fl=b.toLowerCase();c.td=0;c.Ma.length=0;var e,h;e=2;for(h=arguments.length;e<h;e++)c.Ma.push(arguments[e]);this.b.trigger(tc.prototype.g.al,
this);--this.Hd;a.ad(c.td)};t.n=new q})();function uc(h){this.b=h}
(function(){function h(a,b){var f=a.x,d=a.y,h=b.x,e=b.y;return d>e?1:d==e?f==h?0:c&&f>h||!c&&f<h?1:-1:-1}function f(){}var a=uc.prototype;a.M=function(a){this.ba=a;this.b=a.b};a.M.prototype.C=function(){};a.I=function(a){this.type=a;this.b=a.b};var b=a.I.prototype,c=!0;b.C=function(){c=0==this.r[0]};b.qc=function(){};b.gm=function(a){return"number"==typeof a?this.b.le(a):this.b.jg(a)};b.yb=function(){return{xi:c}};b.Lb=function(a){c=a.xi};a.g=new function(){};a.j=new f;f.prototype.wt=function(a){var b=
this.gm(a);null==b?alart("Z Sort: Can not find layer  "+a):(b.d.sort(h),b.qf=!0,this.b.ra=!0)};a.n=new function(){}})();var vc=null,wc=null,xc=0;function yc(h){this.b=h}
(function(){function h(){}function f(){}var a=yc.prototype;a.M=function(a){this.ba=a;this.b=a.b};a.M.prototype.C=function(){console.log("typeProto.onCreate")};a.I=function(a){this.type=a;this.b=a.b;this.Jf=2};var b=a.I.prototype;b.C=function(){vc=this.b;wc=this;wc.Jf=xc+1;wc.By="";wc.Fl="";vc.Jf=xc;xc++;this.Jf=wc.Jf;console.log("Signalton instanceProto.onCreate ",this.Jf);console.log(this.Jf);console.log(String(this.Jf))};b.qc=function(){};b.fc=function(){};b.Ox=function(){return!0};h.prototype.Yn=
function(){return!0};a.g=new h;f.prototype.Pr=function(){vc.trigger(yc.prototype.g.Yn,this)};a.j=new f;a.n=new function(){}})();function T(h){this.b=h}
(function(){function h(){if(0===this.Gl.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Pg?b.drawImage(this.L,this.Hg,this.Ig,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.L,0,0,this.width,this.height);this.Gl=a.toDataURL("image/png")}return this.Gl}function f(){}function a(a){a[0]=0;a[1]=0;a[2]=0;n.push(a)}function b(a,b){return a<b?""+a+","+b:""+b+","+a}function c(a,d,c,e){d=d.uid;c=c.uid;var f=b(d,c);if(a.hasOwnProperty(f))a[f][2]=
e;else{var h=n.length?n.pop():[0,0,0];h[0]=d;h[1]=c;h[2]=e;a[f]=h}}function q(d,c,e){c=b(c.uid,e.uid);d.hasOwnProperty(c)&&(a(d[c]),delete d[c])}function t(a,d,c){d=b(d.uid,c.uid);if(a.hasOwnProperty(d))return y=a[d][2],!0;y=-2;return!1}function r(){}function d(){}var l=T.prototype;l.M=function(a){this.ba=a;this.b=a.b};var e=l.M.prototype;e.C=function(){if(!this.G){var a,b,d,c,e,f,l,m,n;this.fd=[];this.xh=!1;a=0;for(b=this.oc.length;a<b;a++){e=this.oc[a];l={};l.name=e[0];l.speed=e[1];l.loop=e[2];
l.mn=e[3];l.pk=e[4];l.se=e[5];l.da=e[6];l.frames=[];d=0;for(c=e[7].length;d<c;d++)f=e[7][d],m={},m.Fk=f[0],m.Cn=f[1],m.Hg=f[2],m.Ig=f[3],m.width=f[4],m.height=f[5],m.duration=f[6],m.Ub=f[7],m.Vb=f[8],m.mm=f[9],m.ek=f[10],m.Dq=f[11],m.Pg=0!==m.width,m.Gl="",m.Fy=h,n={left:0,top:0,right:1,bottom:1},m.vn=n,m.U=null,(n=this.b.$u(f[0]))?m.L=n:(m.L=new Image,m.L.bu=f[0],m.L.Mo=f[1],m.L.Wt=null,this.b.Qn(m.L,f[0])),l.frames.push(m),this.fd.push(m);this.oc[a]=l}}};e.mr=function(){var a,b,d;a=0;for(b=this.d.length;a<
b;a++)d=this.d[a],d.Zi=d.Ib.U};e.Wh=function(){if(!this.G){var a,b,d;a=0;for(b=this.fd.length;a<b;++a)d=this.fd[a],d.L.Wt=null,d.U=null;this.xh=!1;this.mr()}};e.Yj=function(){if(!this.G&&this.d.length){var a,b,d;a=0;for(b=this.fd.length;a<b;++a)d=this.fd[a],d.U=this.b.A.yg(d.L,!1,this.b.ja,d.Dq);this.mr()}};e.Em=function(){if(!this.G&&!this.xh&&this.b.A){var a,b,d;a=0;for(b=this.fd.length;a<b;++a)d=this.fd[a],d.U=this.b.A.yg(d.L,!1,this.b.ja,d.Dq);this.xh=!0}};e.Ok=function(){if(!this.G&&!this.d.length&&
this.xh){var a,b,d;a=0;for(b=this.fd.length;a<b;++a)d=this.fd[a],this.b.A.deleteTexture(d.U),d.U=null;this.xh=!1}};var m=[];e.ik=function(a){var b,d,c;b=m.length=0;for(d=this.fd.length;b<d;++b)c=this.fd[b].L,-1===m.indexOf(c)&&(a.drawImage(c,0,0),m.push(c))};l.I=function(a){this.type=a;this.b=a.b;a=this.type.oc[0].frames[0].ek;this.ic?this.ta.ki(a):this.ta=new ab(a)};var v=l.I.prototype;v.C=function(){this.visible=0===this.r[0];this.yh=this.pe=!1;this.Cd=0!==this.r[3];1===this.type.oc.length&&1===
this.type.oc[0].frames.length||0===this.type.oc[0].speed||(this.b.Vf(this),this.pe=!0);this.Qa=this.$o(this.r[1])||this.type.oc[0];this.D=this.r[2];0>this.D&&(this.D=0);this.D>=this.Qa.frames.length&&(this.D=this.Qa.frames.length-1);var a=this.Qa.frames[this.D];this.ta.ki(a.ek);this.Ub=a.Ub;this.Vb=a.Vb;this.eg=this.Qa.speed;this.ic?this.gd.reset():this.gd=new Za;this.Fd=this.gd.xa;this.Zd=!0;this.$d=0;this.Fe=!0;this.Qi=this.Ao="";this.Ko=0;this.gh=-1;this.type.Em();var b,d,c,e,f,h,l,a=0;for(b=this.type.oc.length;a<
b;a++)for(e=this.type.oc[a],d=0,c=e.frames.length;d<c;d++)f=e.frames[d],0===f.width&&(f.width=f.L.width,f.height=f.L.height),f.Pg&&(l=f.L,h=f.vn,h.left=f.Hg/l.width,h.top=f.Ig/l.height,h.right=(f.Hg+f.width)/l.width,h.bottom=(f.Ig+f.height)/l.height,0===f.Hg&&0===f.Ig&&f.width===l.width&&f.height===l.height&&(f.Pg=!1));this.Ib=this.Qa.frames[this.D];this.Zi=this.Ib.U};v.yb=function(){var a={a:this.Qa.da,f:this.D,cas:this.eg,fs:this.Fd,ar:this.$d,at:this.gd.xa};this.Zd||(a.ap=this.Zd);this.Fe||(a.af=
this.Fe);return a};v.Lb=function(a){var b=this.hv(a.a);b&&(this.Qa=b);this.D=a.f;0>this.D&&(this.D=0);this.D>=this.Qa.frames.length&&(this.D=this.Qa.frames.length-1);this.eg=a.cas;this.Fd=a.fs;this.$d=a.ar;this.gd.reset();this.gd.xa=a.at;this.Zd=a.hasOwnProperty("ap")?a.ap:!0;this.Fe=a.hasOwnProperty("af")?a.af:!0;this.Ib=this.Qa.frames[this.D];this.Zi=this.Ib.U;this.ta.ki(this.Ib.ek);this.Ub=this.Ib.Ub;this.Vb=this.Ib.Vb};v.rl=function(a){this.D=a?0:this.Qa.frames.length-1;this.Zd=!1;this.Ao=this.Qa.name;
this.yh=!0;this.b.trigger(T.prototype.g.Wn,this);this.b.trigger(T.prototype.g.Vn,this);this.yh=!1;this.$d=0};v.Hy=function(){return this.gd.xa};v.Gb=function(){this.gd.add(this.b.Zl(this));this.Qi.length&&this.Qo();0<=this.gh&&this.Jl();var a=this.gd.xa,b=this.Qa,d=b.frames[this.D],c=d.duration/this.eg;this.Zd&&a>=this.Fd+c&&(this.Fe?this.D++:this.D--,this.Fd+=c,this.D>=b.frames.length&&(b.se?(this.Fe=!1,this.D=b.frames.length-2):b.loop?this.D=b.pk:(this.$d++,this.$d>=b.mn?this.rl(!1):this.D=b.pk)),
0>this.D&&(b.se?(this.D=1,this.Fe=!0,b.loop||(this.$d++,this.$d>=b.mn&&this.rl(!0))):b.loop?this.D=b.pk:(this.$d++,this.$d>=b.mn?this.rl(!0):this.D=b.pk)),0>this.D?this.D=0:this.D>=b.frames.length&&(this.D=b.frames.length-1),a>this.Fd+b.frames[this.D].duration/this.eg&&(this.Fd=a),a=b.frames[this.D],this.Zf(d,a),this.b.ra=!0)};v.$o=function(a){var b,d,c;b=0;for(d=this.type.oc.length;b<d;b++)if(c=this.type.oc[b],kb(c.name,a))return c;return null};v.hv=function(a){var b,d,c;b=0;for(d=this.type.oc.length;b<
d;b++)if(c=this.type.oc[b],c.da===a)return c;return null};v.Qo=function(){var a=this.Qa.frames[this.D],b=this.$o(this.Qi);this.Qi="";!b||kb(b.name,this.Qa.name)&&this.Zd||(this.Qa=b,this.eg=b.speed,0>this.D&&(this.D=0),this.D>=this.Qa.frames.length&&(this.D=this.Qa.frames.length-1),1===this.Ko&&(this.D=0),this.Zd=!0,this.Fd=this.gd.xa,this.Fe=!0,this.Zf(a,this.Qa.frames[this.D]),this.b.ra=!0)};v.Jl=function(){var a=this.Qa.frames[this.D],b=this.D;this.D=ra(this.gh);0>this.D&&(this.D=0);this.D>=this.Qa.frames.length&&
(this.D=this.Qa.frames.length-1);b!==this.D&&(this.Zf(a,this.Qa.frames[this.D]),this.Fd=this.gd.xa,this.b.ra=!0);this.gh=-1};v.Zf=function(a,b){var d=a.width,c=a.height,e=b.width,f=b.height;d!=e&&(this.width*=e/d);c!=f&&(this.height*=f/c);this.Ub=b.Ub;this.Vb=b.Vb;this.ta.ki(b.ek);this.wa();this.Ib=b;this.Zi=b.U;d=0;for(c=this.W.length;d<c;d++)e=this.W[d],e.ww&&e.ww(a,b);this.b.trigger(T.prototype.g.Zf,this)};v.qc=function(a){a.globalAlpha=this.opacity;var b=this.Ib,d=b.Pg,c=b.L,e=this.x,f=this.y,
h=this.width,l=this.height;if(0===this.k&&0<=h&&0<=l)e-=this.Ub*h,f-=this.Vb*l,this.b.Zc&&(e=Math.round(e),f=Math.round(f)),d?a.drawImage(c,b.Hg,b.Ig,b.width,b.height,e,f,h,l):a.drawImage(c,e,f,h,l);else{this.b.Zc&&(e=Math.round(e),f=Math.round(f));a.save();var m=0<h?1:-1,n=0<l?1:-1;a.translate(e,f);1===m&&1===n||a.scale(m,n);a.rotate(this.k*m*n);e=0-this.Ub*la(h);f=0-this.Vb*la(l);d?a.drawImage(c,b.Hg,b.Ig,b.width,b.height,e,f,la(h),la(l)):a.drawImage(c,e,f,la(h),la(l));a.restore()}};v.fc=function(a){a.lc(this.Zi);
a.ff(this.opacity);var b=this.Ib,d=this.Pb;if(this.b.Zc){var c=Math.round(this.x)-this.x,e=Math.round(this.y)-this.y;b.Pg?a.sd(d.Ca+c,d.Da+e,d.gb+c,d.hb+e,d.Za+c,d.$a+e,d.Xa+c,d.Ya+e,b.vn):a.lk(d.Ca+c,d.Da+e,d.gb+c,d.hb+e,d.Za+c,d.$a+e,d.Xa+c,d.Ya+e)}else b.Pg?a.sd(d.Ca,d.Da,d.gb,d.hb,d.Za,d.$a,d.Xa,d.Ya,b.vn):a.lk(d.Ca,d.Da,d.gb,d.hb,d.Za,d.$a,d.Xa,d.Ya)};v.ov=function(a){var b=this.Ib,d,c;d=0;for(c=b.mm.length;d<c;d++)if(kb(a,b.mm[d][0]))return d;return-1};v.rh=function(a,b){var d=this.Ib,c=d.mm,
e;e=C(a)?this.ov(a):a-1;e=ra(e);if(0>e||e>=c.length)return b?this.x:this.y;var f=(c[e][1]-d.Ub)*this.width,c=c[e][2],c=(c-d.Vb)*this.height,d=Math.cos(this.k);e=Math.sin(this.k);var h=f*d-c*e,c=c*d+f*e,f=h+this.x,c=c+this.y;return b?f:c};var n=[],y=-2,B=[];f.prototype.ys=function(b){if(!b)return!1;var d=this.b,e=d.qh(),f=e.type;e.Ia.collmemory||(e.Ia.collmemory={},d.ol(function(b){return function(d){d=d.uid;var c,e;for(c in b)b.hasOwnProperty(c)&&(e=b[c],e[0]===d||e[1]===d)&&(a(b[c]),delete b[c])}}(e.Ia.collmemory)));
var e=e.Ia.collmemory,h=f.S(),l=b.S(),h=h.Tb(),m,n,p,r,s,v,K,V=this.b.xd,N=V-1,w=d.pb().lb;for(n=0;n<h.length;n++){p=h[n];l.T?(p.ea(),this.b.kv(p.i,b,p.fa,B),m=B):m=l.Tb();for(r=0;r<m.length;r++)s=m[r],d.kx(p,s)||d.Yt(p,s)?(v=t(e,p,s),v=!v||y<N,c(e,p,s,V),v&&(d.te(w.V),v=f.S(),K=b.S(),v.T=!1,K.T=!1,f===b?(v.d.length=2,v.d[0]=p,v.d[1]=s,f.ac()):(v.d.length=1,K.d.length=1,v.d[0]=p,K.d[0]=s,f.ac(),b.ac()),w.Qd(),d.$c(w.V))):q(e,p,s);B.length=0}return!1};var p=new ca,s=!1;new ua(0,0,0,0);e.finish=function(a){if(s){if(a){var b=
this.b.pb().lb.od;a=null.S();var d=p.pf(),c,e;if(a.T){a.T=!1;a.d.length=d.length;c=0;for(e=d.length;c<e;c++)a.d[c]=d[c];if(b)for(c=a.ca.length=0,e=null.d.length;c<e;c++)d=null.d[c],p.contains(d)||a.ca.push(d)}else if(b)for(b=a.d.length,a.d.length=b+d.length,c=0,e=d.length;c<e;c++)a.d[b+c]=d[c],Ca(a.ca,d[c]);else ya(a.d,d);null.ac()}p.clear();s=!1}};f.prototype.Vn=function(a){return kb(this.Ao,a)};f.prototype.Wn=function(){return!0};f.prototype.Zf=function(){return!0};l.g=new f;r.prototype.Bt=function(){this.Zd=
!1};r.prototype.zt=function(a){this.Zd=!0;this.Fd=this.gd.xa;1===a&&0!==this.D&&(this.gh=0,this.yh||this.Jl());this.pe||(this.b.Vf(this),this.pe=!0)};r.prototype.gt=function(a,b){this.Qi=a;this.Ko=b;this.pe||(this.b.Vf(this),this.pe=!0);this.yh||this.Qo()};r.prototype.ht=function(a){this.gh=a;this.pe||(this.b.Vf(this),this.pe=!0);this.yh||this.Jl()};r.prototype.it=function(a){this.eg=la(a);this.Fe=0<=a;this.pe||(this.b.Vf(this),this.pe=!0)};r.prototype.mo=function(a){var b=this.Ib,d=b.width*a*(0>
this.width?-1:1);a=b.height*a*(0>this.height?-1:1);if(this.width!==d||this.height!==a)this.width=d,this.height=a,this.wa()};r.prototype.jt=function(a){this.Cd!==(0!==a)&&((this.Cd=0!==a)?this.wa():(this.Mc.right>=this.Mc.left&&this.type.hh.update(this,this.Mc,null),this.Mc.set(0,0,-1,-1)))};l.j=new r;d.prototype.yr=function(a){a.J(this.D)};d.prototype.Ar=function(a){a.J(this.Qa.frames.length)};d.prototype.Br=function(a){a.Ga(this.Qa.name)};d.prototype.Xr=function(a,b){a.q(this.rh(b,!0))};d.prototype.Yr=
function(a,b){a.q(this.rh(b,!1))};l.n=new d})();function zc(h){this.b=h}
(function(){function h(a,b){return a.length?a.pop():new b}function f(a,b,d){if(d){var c;d=0;for(c=b.length;d<c;d++)a.length<r&&a.push(b[d]);b.length=0}else for(c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a.length<r&&a.push(b[c]),delete b[c])}function a(a,b,c){var e=a.Wb;c=c.replace(/\s\s*$/,"");b>=e.length&&e.push(h(d,Object));b=e[b];b.text=c;b.width=a.Lm(c);a.xe=ma(a.xe,b.width)}function b(){}function c(){}var q=zc.prototype;q.C=function(){};q.M=function(a){this.ba=a;this.b=a.b};var t=q.M.prototype;
t.C=function(){this.G||(this.L=new Image,this.b.Qn(this.L,this.Fk),this.U=null)};t.Wh=function(){this.G||(this.U=null)};t.Yj=function(){if(!this.G&&this.d.length){this.U||(this.U=this.b.A.yg(this.L,!1,this.b.ja,this.ri));var a,b;a=0;for(b=this.d.length;a<b;a++)this.d[a].U=this.U}};t.Ok=function(){this.G||this.d.length||!this.U||(this.b.A.deleteTexture(this.U),this.U=null)};t.ik=function(a){a.drawImage(this.L,0,0)};q.I=function(a){this.type=a;this.b=a.b};t=q.I.prototype;t.$e=function(){f(d,this.Wb,
!0);f(l,this.Si,!1);f(e,this.Ti,!1);Ua(this.Ke)};t.C=function(){this.L=this.type.L;this.Ri=this.r[0];this.Je=this.r[1];this.characterSet=this.r[2];this.text=this.r[3];this.Bd=this.r[4];this.visible=0===this.r[5];this.Cf=this.r[6]/2;this.Wf=this.r[7]/2;this.Ai=0===this.r[9];this.cg=this.r[10];this.lineHeight=this.r[11];this.Ud=this.xe=0;this.ic?(this.Wb.length=0,Ua(this.Si),Ua(this.Ti),Ua(this.Ke)):(this.Wb=[],this.Si={},this.Ti={},this.Ke={});this.Bc=!0;this.Of=this.width;this.b.A&&(this.type.U||
(this.type.U=this.b.A.yg(this.type.L,!1,this.b.ja,this.type.ri)),this.U=this.type.U);this.xt()};t.yb=function(){var a={t:this.text,csc:this.Bd,csp:this.cg,lh:this.lineHeight,tw:this.xe,th:this.Ud,lrt:this.Nf,cw:{}},b;for(b in this.Ke)a.cw[b]=this.Ke[b];return a};t.Lb=function(a){this.text=a.t;this.Bd=a.csc;this.cg=a.csp;this.lineHeight=a.lh;this.xe=a.tw;this.Ud=a.th;this.Nf=a.lrt;for(var b in a.cw)this.Ke[b]=a.cw[b];this.Bc=!0;this.Of=this.width};var r=1E3,d=[],l=[],e=[];t.xt=function(){for(var a=
this.L,b=a.width,d=a.height,a=this.Ri,c=this.Je,f=a/b,g=c/d,m=this.characterSet,b=Math.floor(b/a),d=Math.floor(d/c),k=0;k<m.length&&!(k>=b*d);k++){var q=k%b,r=Math.floor(k/b),t=m.charAt(k);if(this.b.A){var v=this.Ti,x=q*f,P=r*g,q=(q+1)*f,r=(r+1)*g;void 0===v[t]&&(v[t]=h(e,ua));v[t].left=x;v[t].top=P;v[t].right=q;v[t].bottom=r}else v=this.Si,q*=a,r*=c,x=a,P=c,void 0===v[t]&&(v[t]=h(l,Object)),v[t].x=q,v[t].y=r,v[t].sr=x,v[t].lp=P}};var m=[];q.jl=function(a){m.length=0;for(var b="",d,c=0;c<a.length;)if(d=
a.charAt(c),"\n"===d)b.length&&(m.push(b),b=""),m.push("\n"),++c;else if(" "===d||"\t"===d||"-"===d){do b+=a.charAt(c),c++;while(c<a.length&&(" "===a.charAt(c)||"\t"===a.charAt(c)));m.push(b);b=""}else c<a.length&&(b+=d,c++);b.length&&m.push(b)};q.ll=function(a){var b=a.text,c=a.Wb;if(b&&b.length){var e=a.width;if(2>=e)f(d,c,!0);else{var l=a.Bd,g=a.cg;if(b.length*(a.Ri*l+g)-g<=e&&-1===b.indexOf("\n")&&(g=a.Lm(b),g<=e)){f(d,c,!0);c.push(h(d,Object));c[0].text=b;c[0].width=g;a.xe=g;a.Ud=a.Je*l+a.lineHeight;
return}this.ml(a);a.Ud=c.length*(a.Je*l+a.lineHeight)}}else f(d,c,!0)};q.ml=function(b){var c=b.Ai,e=b.text,f=b.Wb,h=b.width;c&&(this.jl(e),e=m);var g="",l,k,q,t=0,v=!1;for(q=0;q<e.length;q++)"\n"===e[q]?(!0===v?v=!1:(a(b,t,g),t++),g=""):(v=!1,l=g,g+=e[q],k=b.Lm(g.replace(/\s\s*$/,"")),k>h&&(""===l?(a(b,t,g),g="",v=!0):(a(b,t,l),g=e[q]),t++,c||" "!==g||(g="")));g.replace(/\s\s*$/,"").length&&(a(b,t,g),t++);for(q=t;q<f.length;q++)d.length<r&&d.push(f[q]);f.length=t};t.Lm=function(a){for(var b=this.cg,
d=a.length,c=0,e=0;e<d;e++)c+=this.Yl(a.charAt(e))*this.Bd+b;return c-(0<c?b:0)};t.Yl=function(a){var b=this.Ke;return void 0!==b[a]?b[a]:this.Ri};t.Iq=function(){if(this.Bc||this.width!==this.Of)this.Ud=this.xe=0,this.type.ba.ll(this),this.Bc=!1,this.Of=this.width};t.qc=function(a){var b=this.L;if(""!==this.text&&null!=b&&(this.Iq(),!(this.height<this.Je*this.Bd+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,d=this.y;this.b.Zc&&(b=Math.round(b),d=Math.round(d));var c=this.i.Ka,e=this.i.La,
f=this.i.Pa,h=this.i.Oa;a.save();a.translate(b,d);a.rotate(this.k);for(var k=this.Cf,l=this.Bd,m=this.Je*l,q=this.lineHeight,r=this.cg,t=this.Wb,v,U=-(this.Ub*this.width),F=-(this.Vb*this.height),F=F+this.Wf*ma(0,this.height-this.Ud),M,K,V,N=0;N<t.length;N++){var w=t[N].text;v=k*ma(0,this.width-t[N].width);M=U+v;F+=q;if(d+F+m<e)F+=m;else{for(var A=0;A<w.length;A++){K=w.charAt(A);v=this.Yl(K);var z=this.Si[K];if(b+M+v*l+r<c)M+=v*l+r;else{if(M+v*l>this.width+1E-5)break;void 0!==z&&(K=M,V=F,0===this.k&&
(K=Math.round(K),V=Math.round(V)),a.drawImage(this.L,z.x,z.y,z.sr,z.lp,K,V,z.sr*l,z.lp*l));M+=v*l+r;if(b+M>f)break}}F+=m;if(F+m+q>this.height||d+F>h)break}}a.restore()}};var v=new va;t.fc=function(a){a.lc(this.U);a.ff(this.opacity);if(this.text&&(this.Iq(),!(this.height<this.Je*this.Bd+this.lineHeight))){this.ea();var b=this.Pb,d=0,c=0;this.b.Zc&&(d=Math.round(this.x)-this.x,c=Math.round(this.y)-this.y);var e=this.i.Ka,f=this.i.La,h=this.i.Pa,k=this.i.Oa,l=this.k,m=this.Cf,q=this.Wf,r=this.Bd,t=this.Je*
r,P=this.lineHeight,U=this.cg,F=this.Wb,M=this.Ud,K,V,N;0!==l&&(V=Math.cos(l),N=Math.sin(l));for(var d=b.Ca+d,b=b.Da+c,w,q=q*ma(0,this.height-M),A,z,M=0;M<F.length;M++)if(c=F[M].text,w=K=m*ma(0,this.width-F[M].width),q+=P,0===l&&b+q+t<f)q+=t;else{for(var R=0;R<c.length;R++){var J=c.charAt(R);K=this.Yl(J);J=this.Ti[J];if(d+w+K*r+U<e)w+=K*r+U;else{if(w+K*r>this.width+1E-5)break;if(void 0!==J){var O=this.Ri*r,H=this.Je*r;A=w;z=q;0===l&&(A=Math.round(A),z=Math.round(z));v.Ca=A;v.Da=z;v.gb=A+O;v.hb=z;
v.Xa=A;v.Ya=z+H;v.Za=A+O;v.$a=z+H;0!==l&&(A=v,z=V,O=N,H=void 0,H=A.Ca*z-A.Da*O,A.Da=A.Da*z+A.Ca*O,A.Ca=H,H=A.gb*z-A.hb*O,A.hb=A.hb*z+A.gb*O,A.gb=H,H=A.Xa*z-A.Ya*O,A.Ya=A.Ya*z+A.Xa*O,A.Xa=H,H=A.Za*z-A.$a*O,A.$a=A.$a*z+A.Za*O,A.Za=H);v.offset(d,b);a.sd(v.Ca,v.Da,v.gb,v.hb,v.Za,v.$a,v.Xa,v.Ya,J)}w+=K*r+U;if(0===l&&d+w>h)break}}q+=t;if(q+t+P>this.height||b+q>k)break}}};q.g=new function(){};b.prototype.no=function(a){ia(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,
this.Bc=!0,this.b.ra=!0)};b.prototype.mo=function(a){a!==this.Bd&&(this.Bd=a,this.Bc=!0,this.b.ra=!0)};t.fy=function(a,b){var d=parseInt(b,10);this.Ke[a]!==d&&(this.Ke[a]=d,this.Bc=!0,this.b.ra=!0)};q.j=new b;c.prototype.Text=function(a){a.Ga(this.text)};q.n=new c})();function Ac(h){this.b=h}
(function(){function h(){return r.length?r.pop():{}}function f(a){var b,c;b=0;for(c=a.length;b<c;b++)r.push(a[b]);a.length=0}function a(){}function b(){}var c=Ac.prototype;c.C=function(){c.j.il=function(a){this.width!==a&&(this.width=a,this.Bc=!0,this.wa())}};c.M=function(a){this.ba=a;this.b=a.b};var q=c.M.prototype;q.C=function(){};q.Wh=function(){if(!this.G){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.Ld=null,c.Tf=null,c.yc=null}};c.I=function(a){this.type=a;this.b=a.b;this.ic?this.Wb.length=
0:this.Wb=[];this.Bc=!0};q=c.I.prototype;q.C=function(){this.text=this.r[0];this.visible=0===this.r[1];this.font=this.r[2];this.color=this.r[3];this.Cf=this.r[4];this.Wf=this.r[5];this.Ai=0===this.r[7];this.Of=this.Jj=this.width;this.Ij=this.height;this.Dm=this.r[8];this.mj=this.gg="";this.Ud=this.xe=this.di=0;this.yw();this.yc=this.Tf=this.Ld=null;this.iq=!1;this.Nf=this.b.xd;this.ic?this.cf.set(0,0,1,1):this.cf=new ua(0,0,1,1);this.b.A&&this.b.Vf(this)};q.yw=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.di=parseInt(a[b].substr(0,a[b].length-2));this.gn=Math.ceil(this.di/72*96)+4;0<b&&(this.mj=a[b-1]);this.gg=a[b+1];for(b+=2;b<a.length;b++)this.gg+=" "+a[b];break}};q.yb=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Cf,va:this.Wf,wr:this.Ai,lho:this.Dm,fn:this.gg,fs:this.mj,ps:this.di,pxh:this.gn,tw:this.xe,th:this.Ud,lrt:this.Nf}};q.Lb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Cf=a.ha;this.Wf=
a.va;this.Ai=a.wr;this.Dm=a.lho;this.gg=a.fn;this.mj=a.fs;this.di=a.ps;this.gn=a.pxh;this.xe=a.tw;this.Ud=a.th;this.Nf=a.lrt;this.Bc=!0;this.Of=this.Jj=this.width;this.Ij=this.height};q.Gb=function(){if(this.b.A&&this.yc&&300<=this.b.xd-this.Nf){var a=this.i;this.ea();var b=this.fa;if(b.right<a.Ka||b.bottom<a.La||b.left>a.Pa||b.top>a.Oa)this.b.A.deleteTexture(this.yc),this.Ld=this.Tf=this.yc=null}};q.$e=function(){this.Ld=this.Tf=null;this.b.A&&this.yc&&this.b.A.deleteTexture(this.yc);this.yc=null};
q.Qy=function(){this.font=this.mj+" "+this.di.toString()+"pt "+this.gg;this.Bc=!0;this.b.ra=!0};q.qc=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.Hc(),a.save(),a.scale(c,c));if(this.Bc||this.width!==this.Of)this.type.ba.ll(this.text,this.Wb,a,this.width,this.Ai),this.Bc=!1,this.Of=this.width;this.ea();var c=b?0:this.Pb.Ca,f=b?0:this.Pb.Da;this.b.Zc&&(c=c+.5|0,f=f+.5|0);0===this.k||b||(a.save(),a.translate(c,f),a.rotate(this.k),
f=c=0);var h=f+this.height,q=this.gn,q=q+this.Dm,r,t;1===this.Wf?f+=Math.max(this.height/2-this.Wb.length*q/2,0):2===this.Wf&&(f+=Math.max(this.height-this.Wb.length*q-2,0));for(t=0;t<this.Wb.length&&!(r=c,1===this.Cf?r=c+(this.width-this.Wb[t].width)/2:2===this.Cf&&(r=c+(this.width-this.Wb[t].width)),a.fillText(this.Wb[t].text,r,f),f+=q,f>=h-q);t++);(0!==this.k||b)&&a.restore();this.Nf=this.b.xd};q.fc=function(a){if(!(1>this.width||1>this.height)){var b=this.Bc||this.iq;this.iq=!1;var c=this.i.Hc(),
f=this.i.ob(),h=this.cf,q=c*this.width,r=c*this.height,t=Math.ceil(q),p=Math.ceil(r),s=this.b.Y/2,g=this.b.X/2;this.Tf||(this.Ld=document.createElement("canvas"),this.Ld.width=t,this.Ld.height=p,this.Jj=t,this.Ij=p,b=!0,this.Tf=this.Ld.getContext("2d"));if(t!==this.Jj||p!==this.Ij)this.Ld.width=t,this.Ld.height=p,this.yc&&(a.deleteTexture(this.yc),this.yc=null),b=!0;b&&(this.Tf.clearRect(0,0,t,p),this.qc(this.Tf,!0),this.yc||(this.yc=a.be(t,p,this.b.ja,this.b.ld)),a.xx(this.Ld,this.yc,this.b.ld));
this.Jj=t;this.Ij=p;a.lc(this.yc);a.ff(this.opacity);a.Pd();a.translate(-s,-g);a.Wd();var u=this.Pb,b=this.i.Ta(u.Ca,u.Da,!0,!0),s=this.i.Ta(u.Ca,u.Da,!1,!0),g=this.i.Ta(u.gb,u.hb,!0,!0),k=this.i.Ta(u.gb,u.hb,!1,!0),D=this.i.Ta(u.Za,u.$a,!0,!0),G=this.i.Ta(u.Za,u.$a,!1,!0),Q=this.i.Ta(u.Xa,u.Ya,!0,!0),u=this.i.Ta(u.Xa,u.Ya,!1,!0);if(this.b.Zc||0===this.k&&0===f)var L=(b+.5|0)-b,x=(s+.5|0)-s,b=b+L,s=s+x,g=g+L,k=k+x,D=D+L,G=G+x,Q=Q+L,u=u+x;0===this.k&&0===f?(g=b+t,k=s,D=g,G=s+p,Q=b,u=G,h.right=1,h.bottom=
1):(h.right=q/t,h.bottom=r/p);a.sd(b,s,g,k,D,G,Q,u,h);a.Pd();a.scale(c,c);a.on(-this.i.ob());a.translate((this.i.Ka+this.i.Pa)/-2,(this.i.La+this.i.Oa)/-2);a.Wd();this.Nf=this.b.xd}};var t=[];c.jl=function(a){t.length=0;for(var b="",c,f=0;f<a.length;)if(c=a.charAt(f),"\n"===c)b.length&&(t.push(b),b=""),t.push("\n"),++f;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(f),f++;while(f<a.length&&(" "===a.charAt(f)||"\t"===a.charAt(f)));t.push(b);b=""}else f<a.length&&(b+=c,f++);b.length&&t.push(b)};
var r=[];c.ll=function(a,b,c,m,q){if(a&&a.length)if(2>=m)f(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var n=c.measureText(a).width;if(n<=m){f(b);b.push(h());b[0].text=a;b[0].width=n;return}}this.ml(a,b,c,m,q)}else f(b)};c.ml=function(a,b,c,f,q){q&&(this.jl(a),a=t);var n="",y,B,p,s=0;for(p=0;p<a.length;p++)"\n"===a[p]?(s>=b.length&&b.push(h()),B=b[s],B.text=n,B.width=c.measureText(n).width,s++,n=""):(y=n,n+=a[p],B=c.measureText(n).width,B>=f&&(s>=b.length&&b.push(h()),B=b[s],B.text=y,B.width=
c.measureText(y).width,s++,n=a[p],q||" "!==n||(n="")));n.length&&(s>=b.length&&b.push(h()),B=b[s],B.text=n,B.width=c.measureText(n).width,s++);for(p=s;p<b.length;p++)r.push(b[p]);b.length=s};c.g=new function(){};a.prototype.no=function(a){ia(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Bc=!0,this.b.ra=!0)};c.j=new a;b.prototype.Text=function(a){a.Ga(this.text)};c.n=new b})();function Bc(h){this.b=h}
(function(){var h=Bc.prototype;h.M=function(a){this.ba=a;this.b=a.b};var f=h.M.prototype;f.C=function(){this.G||(this.L=new Image,this.L.Mo=this.Cn,this.b.Qn(this.L,this.Fk),this.U=this.pattern=null)};f.Wh=function(){this.G||(this.U=null)};f.Yj=function(){if(!this.G&&this.d.length){this.U||(this.U=this.b.A.yg(this.L,!0,this.b.ja,this.ri));var a,b;a=0;for(b=this.d.length;a<b;a++)this.d[a].U=this.U}};f.Em=function(){this.G||this.U||!this.b.A||(this.U=this.b.A.yg(this.L,!0,this.b.ja,this.ri))};f.Ok=
function(){this.G||this.d.length||!this.U||(this.b.A.deleteTexture(this.U),this.U=null)};f.ik=function(a){a.drawImage(this.L,0,0)};h.I=function(a){this.type=a;this.b=a.b};f=h.I.prototype;f.C=function(){this.visible=0===this.r[0];this.cf=new ua(0,0,0,0);this.op=!1;this.L=this.type.L;this.b.A?(this.type.Em(),this.U=this.type.U):(this.type.pattern||(this.type.pattern=this.b.Ba.createPattern(this.type.L,"repeat")),this.pattern=this.type.pattern)};f.Ad=function(){this.op=!1;this.L=this.type.L};f.$e=function(){this.b.A&&
this.op&&this.U&&(this.b.A.deleteTexture(this.U),this.U=null)};f.qc=function(a){a.globalAlpha=this.opacity;a.save();a.fillStyle=this.pattern;var b=this.x,c=this.y;this.b.Zc&&(b=Math.round(b),c=Math.round(c));var f=-(this.Ub*this.width),h=-(this.Vb*this.height),r=f%this.L.width,d=h%this.L.height;0>r&&(r+=this.L.width);0>d&&(d+=this.L.height);a.translate(b,c);a.rotate(this.k);a.translate(r,d);a.fillRect(f-r,h-d,this.width,this.height);a.restore()};f.fc=function(a){a.lc(this.U);a.ff(this.opacity);var b=
this.cf;b.right=this.width/this.L.width;b.bottom=this.height/this.L.height;var c=this.Pb;if(this.b.Zc){var f=Math.round(this.x)-this.x,h=Math.round(this.y)-this.y;a.sd(c.Ca+f,c.Da+h,c.gb+f,c.hb+h,c.Za+f,c.$a+h,c.Xa+f,c.Ya+h,b)}else a.sd(c.Ca,c.Da,c.gb,c.hb,c.Za,c.$a,c.Xa,c.Ya,b)};h.g=new function(){};h.j=new function(){};h.n=new function(){}})();function W(h){this.b=h}
(function(){function h(a){l=a.x;e=a.y;m=a.z}function f(a){v=a.x;n=a.y;y=a.z}function a(a,c,d,e){var f;f=B.length?B.pop():new b;f.init(a,c,d,e);return f}function b(){this.ni=this.id=this.y=this.x=this.Ck=this.Bk=this.Am=this.time=this.zn=0;this.ti=this.Mk=!1}function c(){}function q(){}var t=W.prototype;t.M=function(a){this.ba=a;this.b=a.b};t.M.prototype.C=function(){};t.I=function(a){this.type=a;this.b=a.b;this.touches=[];this.Nm=!1};var r=t.I.prototype,d={left:0,top:0};r.oh=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 l=0,e=0,m=0,v=0,n=0,y=0,B=[];b.prototype.init=function(a,b,c,d){var e=Va();this.zn=this.Am=this.time=e;this.Bk=a;this.Ck=b;this.x=a;this.y=b;this.id=c;this.ni=d;this.ti=this.Mk=!1};b.prototype.update=function(a,b,c){this.Am=this.time;this.time=a;this.x=b;this.y=c;!this.ti&&15<=Qa(this.Bk,this.Ck,this.x,this.y)&&(this.ti=!0)};b.prototype.kw=function(a,b){!this.Mk&&500<=Va()-this.zn&&!this.ti&&15>Qa(this.Bk,this.Ck,
this.x,this.y)&&(this.Mk=!0,a.Vd=this.ni,a.Rg=this.id,a.kg=b,a.b.trigger(W.prototype.g.Bs,a),a.ee=this.x,a.fe=this.y,a.b.trigger(W.prototype.g.Cs,a),a.kg=0)};var p=-1E3,s=-1E3,g=-1E4;b.prototype.aq=function(a,b){if(!this.Mk){var c=Va();333>=c-this.zn&&!this.ti&&15>Qa(this.Bk,this.Ck,this.x,this.y)&&(a.Vd=this.ni,a.Rg=this.id,a.kg=b,666>=c-g&&25>Qa(p,s,this.x,this.y)?(a.b.trigger(W.prototype.g.zs,a),a.ee=this.x,a.fe=this.y,a.b.trigger(W.prototype.g.As,a),s=p=-1E3,g=-1E4):(a.b.trigger(W.prototype.g.Ss,
a),a.ee=this.x,a.fe=this.y,a.b.trigger(W.prototype.g.Ts,a),p=this.x,s=this.y,g=c),a.kg=0)}};r.C=function(){this.Zv=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.kg=this.Rg=this.Vd=this.fe=this.ee=this.so=this.ro=this.qo=this.Mt=this.Lt=this.Kt=this.Zh=this.Yh=this.Xh=0;this.vx=0!==this.r[0];var a=0<this.b.tc?document:this.b.canvas,b=document;this.b.Ab?b=a=window.Canvas:this.b.Tc&&(b=a=window);var c=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){c.rq(a)},
!1),a.addEventListener("pointermove",function(a){c.qq(a)},!1),b.addEventListener("pointerup",function(a){c.Xj(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.Xj(a,!0)},!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.rq(a)},!1),a.addEventListener("MSPointerMove",function(a){c.qq(a)},!1),b.addEventListener("MSPointerUp",function(a){c.Xj(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.Xj(a,!0)},!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.tq(a)},
!1),a.addEventListener("touchmove",function(a){c.sq(a)},!1),b.addEventListener("touchend",function(a){c.Wm(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.Wm(a,!0)},!1));if(this.Zv){var d=function(a){a=a.reading;c.qo=a.accelerationX;c.ro=a.accelerationY;c.so=a.accelerationZ},e=function(a){a=a.reading;c.Xh=a.yawDegrees;c.Yh=a.pitchDegrees;c.Zh=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",
d));var l=Windows.Devices.Sensors.Inclinometer.getDefault();l&&(l.reportInterval=Math.max(l.minimumReportInterval,16),l.addEventListener("readingchanged",e));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",d),l&&l.removeEventListener("readingchanged",e)):(g&&g.addEventListener("readingchanged",d),l&&l.addEventListener("readingchanged",e))},!1)}else window.addEventListener("deviceorientation",function(a){c.Xh=a.alpha||
0;c.Yh=a.beta||0;c.Zh=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Kt=a.accelerationIncludingGravity.x||0,c.Lt=a.accelerationIncludingGravity.y||0,c.Mt=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.qo=a.acceleration.x||0,c.ro=a.acceleration.y||0,c.so=a.acceleration.z||0)},!1);this.vx&&!this.b.Ja&&(jQuery(document).mousemove(function(a){c.uw(a)}),jQuery(document).mousedown(function(a){c.sw(a)}),jQuery(document).mouseup(function(a){c.vw(a)}));
this.b.ng&&!this.b.Ab&&AppMobi.accelerometer.watchAcceleration(h,{frequency:40,adjustForRotation:!0});this.b.Uc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(f,null,{frequency:40});this.b.lx(this)};r.qq=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.oh(a.pointerId),c=Va();if(0<=b){var e=this.b.Ja?d:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||
b.update(c,a.pageX-e.left,a.pageY-e.top)}}};r.rq=function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType){b.preventDefault&&lb(b)&&b.preventDefault();var c=this.b.Ja?d:jQuery(this.b.canvas).offset(),e=b.pageX-c.left,c=b.pageY-c.top;Va();this.Vd=this.touches.length;this.Rg=b.pointerId;this.touches.push(a(e,c,b.pointerId,this.Vd));this.b.vc=!0;this.b.trigger(W.prototype.g.fo,this);this.b.trigger(W.prototype.g.ho,this);this.ee=e;this.fe=c;this.b.trigger(W.prototype.g.el,this);
this.b.vc=!1}};r.Xj=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&lb(a)&&a.preventDefault();var c=this.oh(a.pointerId);this.Vd=0<=c?this.touches[c].ni:-1;this.Rg=0<=c?this.touches[c].id:-1;this.b.vc=!0;this.b.trigger(W.prototype.g.eo,this);this.b.trigger(W.prototype.g.dl,this);0<=c&&(b||this.touches[c].aq(this,c),100>B.length&&B.push(this.touches[c]),this.touches.splice(c,1));this.b.vc=!1}};r.sq=function(a){a.preventDefault&&a.preventDefault();
var b=Va(),c,e,f,g;c=0;for(e=a.changedTouches.length;c<e;c++)if(f=a.changedTouches[c],g=this.oh(f.identifier),0<=g){var h=this.b.Ja?d:jQuery(this.b.canvas).offset();g=this.touches[g];2>b-g.time||g.update(b,f.pageX-h.left,f.pageY-h.top)}};r.tq=function(b){b.preventDefault&&lb(b)&&b.preventDefault();var c=this.b.Ja?d:jQuery(this.b.canvas).offset();Va();this.b.vc=!0;var e,f,g,h;e=0;for(f=b.changedTouches.length;e<f;e++)if(g=b.changedTouches[e],h=this.oh(g.identifier),-1===h){h=g.pageX-c.left;var l=g.pageY-
c.top;this.Vd=this.touches.length;this.Rg=g.identifier;this.touches.push(a(h,l,g.identifier,this.Vd));this.b.trigger(W.prototype.g.fo,this);this.b.trigger(W.prototype.g.ho,this);this.ee=h;this.fe=l;this.b.trigger(W.prototype.g.el,this)}this.b.vc=!1};r.Wm=function(a,b){a.preventDefault&&lb(a)&&a.preventDefault();this.b.vc=!0;var c,d,e;c=0;for(d=a.changedTouches.length;c<d;c++)e=a.changedTouches[c],e=this.oh(e.identifier),0<=e&&(this.Vd=this.touches[e].ni,this.Rg=this.touches[e].id,this.b.trigger(W.prototype.g.eo,
this),this.b.trigger(W.prototype.g.dl,this),b||this.touches[e].aq(this,e),100>B.length&&B.push(this.touches[e]),this.touches.splice(e,1));this.b.vc=!1};r.Cy=function(){return this.b.ng&&0===this.Xh&&0!==m?90*m:this.b.Uc&&0===this.Xh&&0!==y?90*y:this.Xh};r.Dy=function(){return this.b.ng&&0===this.Yh&&0!==e?-90*e:this.b.Uc&&0===this.Yh&&0!==n?90*n:this.Yh};r.Gy=function(){return this.b.ng&&0===this.Zh&&0!==l?90*l:this.b.Uc&&0===this.Zh&&0!==v?90*v:this.Zh};r.sw=function(a){a.preventDefault&&this.b.im&&
!this.b.ld&&a.preventDefault();this.tq({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Nm=!0};r.uw=function(a){this.Nm&&this.sq({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};r.vw=function(a){a.preventDefault&&this.b.im&&!this.b.ld&&a.preventDefault();this.b.im=!0;this.Wm({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Nm=!1};r.Ik=function(){var a,b,c,d=Va();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.Am=d),c.kw(this,
a)};c.prototype.ho=function(){return!0};c.prototype.dl=function(){return!0};c.prototype.el=function(a){return a?this.b.Ek(a,this.ee,this.fe):!1};var u=[];c.prototype.js=function(a){if(!a)return!1;var b=a.S(),c=b.Tb(),d,e,f,g,h,l;f=0;for(g=c.length;f<g;f++){var m=c[f];m.ea();h=0;for(l=this.touches.length;h<l;h++)if(e=this.touches[h],d=m.i.Hb(e.x,e.y,!0),e=m.i.Hb(e.x,e.y,!1),m.Qb(d,e)){u.push(m);break}}return u.length?(b.T=!1,ya(b.d,u),a.ac(),u.length=0,!0):!1};c.prototype.fo=function(a){a=Math.floor(a);
return a===this.Vd};c.prototype.eo=function(a){a=Math.floor(a);return a===this.Vd};c.prototype.Bs=function(){return!0};c.prototype.Ss=function(){return!0};c.prototype.zs=function(){return!0};c.prototype.Cs=function(a){return a?this.b.Ek(a,this.ee,this.fe):!1};c.prototype.Ts=function(a){return a?this.b.Ek(a,this.ee,this.fe):!1};c.prototype.As=function(a){return a?this.b.Ek(a,this.ee,this.fe):!1};t.g=new c;q.prototype.Fi=function(a,b){var c=this.kg;if(0>c||c>=this.touches.length)a.q(0);else{var d,e,
f,g,h;ha(b)?(d=this.b.le(0),e=d.scale,f=d.Cc,g=d.hc,h=d.k,d.scale=1,d.Cc=1,d.hc=1,d.k=0,a.q(d.Hb(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.Cc=f,d.hc=g,d.k=h):(d=ia(b)?this.b.le(b):this.b.jg(b))?a.q(d.Hb(this.touches[c].x,this.touches[c].y,!0)):a.q(0)}};q.prototype.It=function(a,b,c){b=Math.floor(b);if(0>b||b>=this.touches.length)a.q(0);else{var d,e,f,g;ha(c)?(c=this.b.le(0),d=c.scale,e=c.Cc,f=c.hc,g=c.k,c.scale=1,c.Cc=1,c.hc=1,c.k=0,a.q(c.Hb(this.touches[b].x,this.touches[b].y,!0)),c.scale=
d,c.Cc=e,c.hc=f,c.k=g):(c=ia(c)?this.b.le(c):this.b.jg(c))?a.q(c.Hb(this.touches[b].x,this.touches[b].y,!0)):a.q(0)}};q.prototype.nl=function(a,b){var c=this.kg;if(0>c||c>=this.touches.length)a.q(0);else{var d,e,f,g,h;ha(b)?(d=this.b.le(0),e=d.scale,f=d.Cc,g=d.Yc,h=d.k,d.scale=1,d.Cc=1,d.Yc=1,d.k=0,a.q(d.Hb(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.Cc=f,d.Yc=g,d.k=h):(d=ia(b)?this.b.le(b):this.b.jg(b))?a.q(d.Hb(this.touches[c].x,this.touches[c].y,!1)):a.q(0)}};t.n=new q})();
function Cc(h){this.b=h}
(function(){function h(){}function f(){}function a(){}var b=Cc.prototype;b.M=function(a){this.ba=a;this.b=a.b};b.M.prototype.C=function(){};b.I=function(a){this.type=a;this.b=a.b};var c=b.I.prototype,q="",t="undefined"!==typeof window.is_scirra_arcade;t&&(q="arcade"+window.scirra_arcade_id);c.C=function(){"undefined"===typeof localStorage&&ea("[Construct 2] Webstorage plugin: local storage is not supported on this platform.");"undefined"===typeof sessionStorage&&ea("[Construct 2] Webstorage plugin: session storage is not supported on this platform.")};h.prototype.rs=
function(a){return"undefined"===typeof localStorage?!1:null!=localStorage.getItem(q+a)};h.prototype.Ms=function(){return!0};b.g=new h;f.prototype.Ct=function(a,b){if("undefined"!==typeof localStorage)try{localStorage.setItem(q+a,b)}catch(c){this.b.trigger(Cc.prototype.g.Ms,this)}};b.j=new f;a.prototype.ss=function(a,b){"undefined"===typeof localStorage?a.Ga(""):a.Ga(localStorage.getItem(q+b)||"")};a.prototype.Wg=function(a){if("undefined"===typeof localStorage)a.Ga("");else{var b={},c,e,f;c=0;for(e=
localStorage.length;c<e;c++)f=localStorage.key(c),t?f.substr(0,q.length)===q&&(b[f.substr(q.length)]=localStorage.getItem(f)):b[f]=localStorage.getItem(f);a.Ga(JSON.stringify({c2dictionary:!0,data:b}))}};b.n=new a})();function Dc(h){this.b=h}
(function(){function h(){}var f=Dc.prototype;f.M=function(a){this.behavior=a;this.b=a.b};f.M.prototype.C=function(){};f.I=function(a,c){this.type=a;this.behavior=a.behavior;this.e=c;this.b=a.b};var a=f.I.prototype;a.C=function(){this.yo=this.r[0];this.zo=this.r[1];this.Rt=this.r[2];this.Qt=this.r[3];this.e.ea();this.Sk=this.e.fa.left;this.Vk=this.e.fa.top;this.Tk=this.b.Va-this.e.fa.left;this.Uk=this.b.Ua-this.e.fa.top;this.ok=this.b.Va-this.e.fa.right;this.Mi=this.b.Ua-this.e.fa.bottom;this.enabled=
0!==this.r[4]};a.yb=function(){return{xleft:this.Sk,ytop:this.Vk,xright:this.Tk,ybottom:this.Uk,rdiff:this.ok,bdiff:this.Mi,enabled:this.enabled}};a.Lb=function(a){this.Sk=a.xleft;this.Vk=a.ytop;this.Tk=a.xright;this.Uk=a.ybottom;this.ok=a.rdiff;this.Mi=a.bdiff;this.enabled=a.enabled};a.Gb=function(){if(this.enabled){var a,c=this.e.i,f=this.e,h=this.e.fa;0===this.yo?(f.ea(),a=c.Ka+this.Sk-h.left,0!==a&&(f.x+=a,f.wa())):1===this.yo&&(f.ea(),a=c.Pa-this.Tk-h.left,0!==a&&(f.x+=a,f.wa()));0===this.zo?
(f.ea(),a=c.La+this.Vk-h.top,0!==a&&(f.y+=a,f.wa())):1===this.zo&&(f.ea(),a=c.Oa-this.Uk-h.top,0!==a&&(f.y+=a,f.wa()));1===this.Rt&&(f.ea(),a=c.Pa-this.ok-h.right,0!==a&&(f.width+=a,0>f.width&&(f.width=0),f.wa()));1===this.Qt&&(f.ea(),a=c.Oa-this.Mi-h.bottom,0!==a&&(f.height+=a,0>f.height&&(f.height=0),f.wa()))}};f.g=new function(){};h.prototype.kt=function(a){this.enabled&&0===a?this.enabled=!1:this.enabled||0===a||(this.e.ea(),this.Sk=this.e.fa.left,this.Vk=this.e.fa.top,this.Tk=this.b.Va-this.e.fa.left,
this.Uk=this.b.Ua-this.e.fa.top,this.ok=this.b.Va-this.e.fa.right,this.Mi=this.b.Ua-this.e.fa.bottom,this.enabled=!0)};f.j=new h;f.n=new function(){}})();function Ec(h){this.b=h}
(function(){function h(){}function f(){}var a=Ec.prototype;a.M=function(a){this.behavior=a;this.b=a.b};a.M.prototype.C=function(){};a.I=function(a,b){this.type=a;this.behavior=a.behavior;this.e=b;this.b=a.b};var b=a.I.prototype;b.C=function(){this.cb=null;this.bk=-1;this.mode=this.wg=this.Gk=this.Fg=this.re=this.bi=0;var a=this;this.ic||(this.gq=function(b){a.Um(b)});this.b.ol(this.gq)};b.yb=function(){return{uid:this.cb?this.cb.uid:-1,pa:this.bi,pd:this.re,msa:this.Fg,tsa:this.Gk,lka:this.wg,m:this.mode}};
b.Lb=function(a){this.bk=a.uid;this.bi=a.pa;this.re=a.pd;this.Fg=a.msa;this.Gk=a.tsa;this.wg=a.lka;this.mode=a.m};b.Ad=function(){this.cb=-1===this.bk?null:this.b.sh(this.bk);this.bk=-1};b.Um=function(a){this.cb==a&&(this.cb=null)};b.$e=function(){this.cb=null;this.b.Lw(this.gq)};b.Gb=function(){};b.Ik=function(){if(this.cb){this.wg!==this.e.k&&(this.Fg=Fa(this.Fg+(this.e.k-this.wg)));var a=this.e.x,b=this.e.y;if(3===this.mode||4===this.mode){var f=Qa(this.e.x,this.e.y,this.cb.x,this.cb.y);if(f>this.re||
4===this.mode&&f<this.re)b=Ja(this.cb.x,this.cb.y,this.e.x,this.e.y),a=this.cb.x+Math.cos(b)*this.re,b=this.cb.y+Math.sin(b)*this.re}else a=this.cb.x+Math.cos(this.cb.k+this.bi)*this.re,b=this.cb.y+Math.sin(this.cb.k+this.bi)*this.re;this.wg=f=Fa(this.Fg+(this.cb.k-this.Gk));0!==this.mode&&1!==this.mode&&3!==this.mode&&4!==this.mode||this.e.x===a&&this.e.y===b||(this.e.x=a,this.e.y=b,this.e.wa());0!==this.mode&&2!==this.mode||this.e.k===f||(this.e.k=f,this.e.wa())}};a.g=new function(){};h.prototype.Zs=
function(a,b){if(a){var f=a.ep(this.e);f&&(this.cb=f,this.bi=Ja(f.x,f.y,this.e.x,this.e.y)-f.k,this.re=Qa(f.x,f.y,this.e.x,this.e.y),this.wg=this.Fg=this.e.k,this.Gk=f.k,this.mode=b)}};h.prototype.Et=function(){this.cb=null};a.j=new h;f.prototype.$s=function(a){a.J(this.cb?this.cb.uid:-1)};a.n=new f})();var Fc=[],Gc=[],Hc=[],Ic=[],Jc=[],Kc=[],Lc=[],Mc=[],Qc=[];function Rc(h,f){return Math.round(h/f*1E4)}
function Sc(h,f,a,b){var c=0;switch(h){case 0:c=1*f/a+0;break;case 1:c=1*(f/=a)*f+0;break;case 2:c=-1*(f/=a)*(f-2)+0;break;case 3:c=1>(f/=a/2)?.5*f*f+0:-.5*(--f*(f-2)-1)+0;break;case 4:c=1*(f/=a)*f*f+0;break;case 5:c=1*((f=f/a-1)*f*f+1)+0;break;case 6:c=1>(f/=a/2)?.5*f*f*f+0:.5*((f-=2)*f*f+2)+0;break;case 7:c=1*(f/=a)*f*f*f+0;break;case 8:c=-1*((f=f/a-1)*f*f*f-1)+0;break;case 9:c=1>(f/=a/2)?.5*f*f*f*f+0:-.5*((f-=2)*f*f*f-2)+0;break;case 10:c=1*(f/=a)*f*f*f*f+0;break;case 11:c=1*((f=f/a-1)*f*f*f*f+
1)+0;break;case 12:c=1>(f/=a/2)?.5*f*f*f*f*f+0:.5*((f-=2)*f*f*f*f+2)+0;break;case 13:c=Jc[Rc(f,a)];break;case 14:c=Kc[Rc(f,a)];break;case 15:c=Lc[Rc(f,a)];break;case 16:h=0;0==h&&(h=1.70158);c=1*(f/=a)*f*((h+1)*f-h)+0;break;case 17:c=Mc[Rc(f,a)];break;case 18:c=Qc[Rc(f,a)];break;case 19:c=Gc[Rc(f,a)];break;case 20:c=Hc[Rc(f,a)];break;case 21:c=Ic[Rc(f,a)];break;case 22:c=1-Fc[Rc(a-f,a)]+0;break;case 23:c=Fc[Rc(f,a)];break;case 24:c=f<a/2?.5*(1-Fc[Rc(a-2*f,a)]+0)+0:.5*Fc[Rc(2*f-a,a)]+.5;break;case 25:f=
f/a/2;c=2*f*f*(3-2*f);break;case 26:f=(f/a+1)/2;c=2*f*f*(3-2*f)-1;break;case 27:f/=a,c=f*f*(3-2*f)}return b?1-c:c}
for(var Tc=0,Uc=0,Vc=0,X=0,Y=0,Wc=0;1E4>=Wc;Wc++){X=Wc/1E4;(X/=1)<1/2.75||(X<2/2.75?X-=1.5/2.75:X<2.5/2.75?X-=2.25/2.75:X-=2.625/2.75);var Xc,Yc=Wc/1E4;Xc=(Yc/=1)<1/2.75?7.5625*Yc*Yc+0:Yc<2/2.75?1*(7.5625*(Yc-=1.5/2.75)*Yc+.75)+0:Yc<2.5/2.75?1*(7.5625*(Yc-=2.25/2.75)*Yc+.9375)+0:1*(7.5625*(Yc-=2.625/2.75)*Yc+.984375)+0;Fc[Wc]=Xc;X=Wc/1E4;Vc=Uc=0;X/=1;0==Vc&&(Vc=.3);0==Uc||Uc<Math.abs(1)?(Uc=1,Y=Vc/4):Y=Vc/(2*Math.PI)*Math.asin(1/Uc);Tc=-(Uc*Math.pow(2,10*--X)*Math.sin(2*(1*X-Y)*Math.PI/Vc))+0;Gc[Wc]=
Tc;X=Wc/1E4;Vc=Uc=0;X/=1;0==Vc&&(Vc=.3);0==Uc||Uc<Math.abs(1)?(Uc=1,Y=Vc/4):Y=Vc/(2*Math.PI)*Math.asin(1/Uc);Tc=Uc*Math.pow(2,-10*X)*Math.sin(2*(1*X-Y)*Math.PI/Vc)+1;Hc[Wc]=Tc;X=Wc/1E4;Vc=Uc=0;X/=.5;0==Vc&&(Vc=.3*1.5);0==Uc||Uc<Math.abs(1)?(Uc=1,Y=Vc/4):Y=Vc/(2*Math.PI)*Math.asin(1/Uc);Tc=1>X?-.5*Uc*Math.pow(2,10*--X)*Math.sin(2*(1*X-Y)*Math.PI/Vc)+0:Uc*Math.pow(2,-10*--X)*Math.sin(2*(1*X-Y)*Math.PI/Vc)*.5+1;Ic[Wc]=Tc;X=Wc/1E4;Jc[Wc]=-(Math.sqrt(1-X*X)-1);X=Wc/1E4;Kc[Wc]=Math.sqrt(1-(X-1)*(X-1));
X=Wc/1E4;Tc=1>(X/=.5)?-.5*(Math.sqrt(1-X*X)-1)+0:.5*(Math.sqrt(1-(X-=2)*X)+1)+0;Lc[Wc]=Tc;X=Wc/1E4;Y=0;0==Y&&(Y=1.70158);Tc=1*((X=X/1-1)*X*((Y+1)*X+Y)+1)+0;Mc[Wc]=Tc;X=Wc/1E4;Y=0;0==Y&&(Y=1.70158);Tc=1>(X/=.5)?.5*X*X*(((Y*=1.525)+1)*X-Y)+0:.5*((X-=2)*X*(((Y*=1.525)+1)*X+Y)+2)+0;Qc[Wc]=Tc}
function Zc(h,f,a,b,c,q,t){this.name=h;this.value=0;this.Mg(b);this.wk(c);this.fj=a;this.ib=f;this.duration=q;this.state=this.qa=0;this.Zj=this.$j=this.Wj=this.Jg=!1;this.Kb=this.Sa=0;this.rc=t;this.se=1;this.ph=!1}Zc.prototype={};Zc.prototype.Mg=function(h){this.na=parseFloat(h.split(",")[0]);this.tb=parseFloat(h.split(",")[1]);this.Kb=this.Sa=0};Zc.prototype.wk=function(h){this.la=parseFloat(h.split(",")[0]);this.fb=parseFloat(h.split(",")[1]);isNaN(this.fb)&&(this.fb=this.la)};
Zc.prototype.cl=function(h){if(0===this.state)return-1;1===this.state&&(this.qa+=h);2===this.state&&(this.qa-=h);3===this.state&&(this.state=0);if(4===this.state||6===this.state)this.qa+=h*this.se;5===this.state&&(this.qa+=h*this.se);return 0>this.qa?(this.qa=0,4===this.state?this.se=1:6===this.state?(this.se=1,this.ph=!1):this.state=0,this.Zj=!0,0):this.qa>this.duration?(this.qa=this.duration,4===this.state?this.se=-1:6===this.state?(this.se=-1,this.ph=!0):5===this.state?this.qa=0:this.state=0,this.Wj=
!0,1):this.ph?Sc(this.fj,this.duration-this.qa,this.duration,this.ph):Sc(this.fj,this.qa,this.duration,this.ph)};function $c(h){this.b=h}
(function(){var h=$c.prototype;h.M=function(a){this.behavior=a;this.b=a.b};h.M.prototype.C=function(){};h.I=function(a,b){this.type=a;this.behavior=a.behavior;this.e=b;this.b=a.b};var f=h.I.prototype;f.C=function(){this.dk=this.r[0];this.$b=1==this.dk||2==this.dk||3==this.dk||4==this.dk;this.ib=this.r[1];this.wu=this.r[2];this.target=this.r[3];this.Yq=this.r[4];this.pr=!1;1===this.Yq&&(this.target="relative("+this.target+")");this.duration=this.r[5];this.rc=1===this.r[6];this.value=0;this.H={};this.wo(this.ib,
this.wu,"current",this.target,this.duration,this.rc);1===this.r[0]&&this.mi(0);2===this.r[0]&&this.mi(2);3===this.r[0]&&this.mi(3);4===this.r[0]&&this.mi(4)};f.Nd=function(a,b){void 0===b&&(b="current");var c=b.replace(/^\s\s*/,"").replace(/\s\s*$/,"");b=b.replace(/^\s\s*/,"").replace(/\s\s*$/,"");var f=this.value;if("current"===b)switch(a){case 0:c=this.e.x+","+this.e.y;break;case 1:c=this.e.width+","+this.e.height;break;case 2:c=this.e.width+","+this.e.height;break;case 3:c=this.e.width+","+this.e.height;
break;case 4:c=Da(this.e.k)+","+Da(this.e.k);break;case 5:c=100*this.e.opacity+","+100*this.e.opacity;break;case 6:c=f+","+f;break;case 7:c=this.e.x+","+this.e.y;break;case 8:c=this.e.x+","+this.e.y;break;case 9:c=void 0!==this.e.Ib?this.e.width/this.e.Ib.width+","+this.e.height/this.e.Ib.height:"1,1"}if("relative"===b.substring(0,8)){var h=b.match(/\((.*?)\)/);if(h)var r=parseFloat(h[1].split(",")[0]),d=parseFloat(h[1].split(",")[1]);isNaN(r)&&(r=0);isNaN(d)&&(d=0);switch(a){case 0:c=this.e.x+r+
","+(this.e.y+d);break;case 1:c=this.e.width+r+","+(this.e.height+d);break;case 2:c=this.e.width+r+","+(this.e.height+d);break;case 3:c=this.e.width+r+","+(this.e.height+d);break;case 4:c=Da(this.e.k)+r+","+(Da(this.e.k)+d);break;case 5:c=100*this.e.opacity+r+","+(100*this.e.opacity+d);break;case 6:c=f+r+","+f+r;break;case 7:c=this.e.x+r+","+this.e.y;break;case 8:c=this.e.x+","+(this.e.y+r);break;case 9:c=r+","+d}}return c};f.wo=function(a,b,c,f,h,r){c=this.Nd(a,c);f=this.Nd(a,f);void 0!==this.H["default"]&&
delete this.H["default"];this.H["default"]=new Zc("default",a,b,c,f,h,r);this.H["default"].he=0};f.yb=function(){};f.Lb=function(){};f.ax=function(a){1<a&&(a=1);0>a&&(a=0);for(var b in this.H){var c=this.H[b];c.Sa=0;c.Kb=0;c.state=3;c.qa=a*c.duration;var f=c.cl(0);this.Jn(c,f)}};f.mi=function(a){for(var b in this.H){var c=this.H[b];if(this.pr){var f=this.Nd(c.ib,"current"),h=this.Nd(c.ib,this.target);c.Mg(f);c.wk(h)}0===a&&(c.qa=1E-6,c.Sa=0,c.Kb=0,c.Jg=!0,c.state=1);1===a&&(c.state=1);if(2===a||4===
a)c.qa=1E-6,c.Sa=0,c.Kb=0,c.Jg=!0,2==a&&(c.state=4),4==a&&(c.state=6);3===a&&(c.qa=1E-6,c.Sa=0,c.Kb=0,c.Jg=!0,c.state=5)}};f.ix=function(a){for(var b in this.H){var c=this.H[b];1===a&&(c.qa=0);2===a&&(c.qa=c.duration);c.state=3;var f=c.cl(0);this.Jn(c,f)}};f.Pw=function(a){for(var b in this.H){var c=this.H[b];1===a&&(c.qa=c.duration,c.Sa=0,c.Kb=0,c.$j=!0);c.state=2}};f.Jn=function(a,b){if(0===a.ib)a.rc?(this.e.x=a.na+(a.la-a.na)*b,this.e.y=a.tb+(a.fb-a.tb)*b):(this.e.x+=(a.la-a.na)*b-a.Sa,this.e.y+=
(a.fb-a.tb)*b-a.Kb,a.Sa=(a.la-a.na)*b,a.Kb=(a.fb-a.tb)*b);else if(1===a.ib)a.rc?(this.e.width=a.na+(a.la-a.na)*b,this.e.height=a.tb+(a.fb-a.tb)*b):(this.e.width+=(a.la-a.na)*b-a.Sa,this.e.height+=(a.fb-a.tb)*b-a.Kb,a.Sa=(a.la-a.na)*b,a.Kb=(a.fb-a.tb)*b);else if(2===a.ib)a.rc?this.e.width=a.na+(a.la-a.na)*b:(this.e.width+=(a.la-a.na)*b-a.Sa,a.Sa=(a.la-a.na)*b);else if(3===a.ib)a.rc?this.e.height=a.tb+(a.fb-a.tb)*b:(this.e.height+=(a.fb-a.tb)*b-a.Kb,a.Kb=(a.fb-a.tb)*b);else if(4===a.ib)if(a.rc){var c=
a.na+(a.la-a.na)*b;this.e.k=Fa(E(c))}else c=(a.la-a.na)*b-a.Sa,this.e.k=Fa(this.e.k+E(c)),a.Sa=(a.la-a.na)*b;else if(5===a.ib)a.rc?this.e.opacity=(a.na+(a.la-a.na)*b)/100:(this.e.opacity+=((a.la-a.na)*b-a.Sa)/100,a.Sa=(a.la-a.na)*b);else if(6===a.ib)a.rc?this.value=a.na+(a.la-a.na)*b:(this.value+=(a.la-a.na)*b-a.Sa,a.Sa=(a.la-a.na)*b);else if(7===a.ib)a.rc?this.e.x=a.na+(a.la-a.na)*b:(this.e.x+=(a.la-a.na)*b-a.Sa,a.Sa=(a.la-a.na)*b);else if(8===a.ib)a.rc?this.e.y=a.tb+(a.fb-a.tb)*b:(this.e.y+=(a.fb-
a.tb)*b-a.Kb,a.Kb=(a.fb-a.tb)*b);else if(9===a.ib){var c=a.na+(a.la-a.na)*b,f=a.tb+(a.fb-a.tb)*b;0>this.e.width&&(c=a.na+(a.la+a.na)*-b);0>this.e.height&&(f=a.tb+(a.fb+a.tb)*-b);a.rc?(this.e.width=this.e.Ib.width*c,this.e.height=this.e.Ib.height*f):(0>this.e.width?(this.e.width=this.e.width/(-1+a.Sa)*c,a.Sa=c+1):(this.e.width=this.e.width/(1+a.Sa)*c,a.Sa=c-1),0>this.e.height?(this.e.height=this.e.height/(-1+a.Kb)*f,a.Kb=f+1):(this.e.height=this.e.height/(1+a.Kb)*f,a.Kb=f-1))}this.e.wa()};f.Gb=function(){var a=
this.b.Zl(this.e),b=this.H["default"];0!==b.state&&(b.Jg&&(this.b.trigger($c.prototype.g.Rs,this.e),b.Jg=!1),b.$j&&(this.b.trigger($c.prototype.g.Ps,this.e),b.$j=!1),this.$b=1==b.state||2==b.state||4==b.state||5==b.state||6==b.state,a=b.cl(a),this.Jn(b,a),b.Wj&&(this.b.trigger($c.prototype.g.Zn,this.e),b.Wj=!1),b.Zj&&(this.b.trigger($c.prototype.g.Os,this.e),b.Zj=!1))};h.g={};f=h.g;f.as=function(){return 0!==this.H["default"].state};f.Kx=function(a,b){var c=this.H["default"];return bc(c.qa/c.duration,
a,b)};f.Rs=function(){return void 0===this.H["default"]?!1:this.H["default"].Jg};f.Ps=function(){return void 0===this.H["default"]?!1:this.H["default"].$j};f.Zn=function(){return void 0===this.H["default"]?!1:this.H["default"].Wj};f.Os=function(){return void 0===this.H["default"]?!1:this.H["default"].Zj};h.j={};f=h.j;f.yt=function(a,b){this.pr=1==b;this.mi(a)};f.po=function(a){this.ix(a)};f.jo=function(a){this.Pw(a)};f.$x=function(a){this.ax(a)};f.gy=function(a){isNaN(a)||0>a||void 0===this.H["default"]||
(this.H["default"].duration=a)};f.ky=function(a){void 0!==this.H["default"]&&(this.H["default"].rc=1===a)};f.ly=function(a){void 0!==this.H["default"]&&(a=this.Nd(this.H["default"].ib,a),this.H["default"].Mg(a))};f.ny=function(a,b,c){if(void 0!==this.H["default"]&&!isNaN(c)){var f=this.H["default"],h=c+"";this.Yq=b;var r="",d="";if(1===b){this.target="relative("+h+")";switch(a){case 0:r=this.e.x+c;d=f.fb;break;case 1:r=f.la;d=this.e.y+c;break;case 2:d=r=""+Da(this.e.k+E(c));break;case 3:d=r=""+100*
this.e.opacity+c;break;case 4:r=this.e.width+c;d=f.fb;break;case 5:r=f.la;d=this.e.height+c;break;case 6:d=r=c}h=r+","+d}else{switch(a){case 0:r=c;d=f.fb;break;case 1:r=f.la;d=c;break;case 2:d=r=c;break;case 3:d=r=c;break;case 4:r=c;d=f.fb;break;case 5:r=f.la;d=c;break;case 6:d=r=c}this.target=h=r+","+d}a=this.Nd(this.H["default"].ib,"current");h=this.Nd(this.H["default"].ib,h);f.Mg(a);f.wk(h)}};f.qy=function(a){void 0!==this.H["default"]&&(this.H["default"].ib=a)};f.hy=function(a){void 0!==this.H["default"]&&
(this.H["default"].fj=a)};f.ry=function(a){var b=this.H["default"];this.value=a;6===b.ib&&b.Mg(this.Nd(b.ib,"current"))};f.ot=function(a,b,c,f,h){if(void 0===this.H["default"])this.wo(a,b,initial,c,f,h);else{var r=this.H["default"];r.ib=a;r.fj=b;r.Mg(this.Nd(a,"current"));r.wk(this.Nd(a,c));r.duration=f;r.rc=1===h}};h.n={};h=h.n;h.Zx=function(a){a.q(this.H["default"].qa/this.H["default"].duration)};h.Rr=function(a){a.q(this.H["default"].duration)};h.uy=function(a){var b=this.H["default"],c="N/A";
switch(b.ib){case 0:c=b.la;break;case 1:c=b.fb;break;case 2:c=b.la;break;case 3:c=b.la;break;case 4:c=b.la;break;case 5:c=b.fb;break;case 6:c=b.la}a.q(c)};h.wy=function(a){a.q(this.value)}})();
function kc(){return[nc,mc,oc,pc,qc,lc,rc,sc,tc,uc,yc,T,zc,Ac,Bc,W,Cc,Ec,Dc,$c,I.prototype.g.ds,W.prototype.g.dl,T.prototype.j.ht,I.prototype.g.Vr,W.prototype.g.js,T.prototype.g.Ir,T.prototype.j.Yg,I.prototype.g.Tn,lc.prototype.j.CallFunction,W.prototype.g.el,T.prototype.g.ks,I.prototype.g.ao,T.prototype.j.Bt,lc.prototype.g.Di,I.prototype.g.Sr,I.prototype.j.tt,lc.prototype.n.fl,I.prototype.g.Hr,lc.prototype.j.gl,T.prototype.j.oo,I.prototype.n.time,I.prototype.n.mf,nc.prototype.j.pt,nc.prototype.j.At,
nc.prototype.j.Play,oc.prototype.n.Tr,I.prototype.g.Dt,I.prototype.j.qt,T.prototype.j.Bi,Bc.prototype.j.Bi,I.prototype.j.Lr,Bc.prototype.j.il,Bc.prototype.j.ko,Cc.prototype.g.rs,tc.prototype.j.Yg,I.prototype.n["int"],Cc.prototype.n.ss,sc.prototype.j.Yg,I.prototype.n.max,I.prototype.n.min,I.prototype.n.right,I.prototype.n.left,Cc.prototype.j.Ct,I.prototype.n.zx,I.prototype.n.Ax,I.prototype.n.yx,I.prototype.n.Bx,I.prototype.n.Xw,I.prototype.g.Us,$c.prototype.g.as,$c.prototype.j.po,T.prototype.n.Fi,
T.prototype.n.nl,T.prototype.j.Ei,T.prototype.n.ms,T.prototype.j.ut,T.prototype.j.lo,$c.prototype.j.ot,I.prototype.n.jx,T.prototype.n.Zg,I.prototype.g.Vs,T.prototype.n.ns,I.prototype.g.os,T.prototype.g.Xg,$c.prototype.j.yt,$c.prototype.g.Zn,T.prototype.j.nt,I.prototype.g.$n,I.prototype.j.lt,zc.prototype.j.no,zc.prototype.j.Bi,mc.prototype.j.Ei,I.prototype.n.random,T.prototype.n.Kr,T.prototype.j.mo,T.prototype.j.it,T.prototype.g.Wn,yc.prototype.j.Yg,yc.prototype.j.Pr,I.prototype.j.Wr,qc.prototype.g.av,
qc.prototype.j.gx,pc.prototype.j.ur,oc.prototype.n.bt,oc.prototype.n.Qr,oc.prototype.n.URL,oc.prototype.n.Ft,qc.prototype.j.fw,pc.prototype.n.Wg,pc.prototype.j.Xk,I.prototype.n.Pf,nc.prototype.j.ct,T.prototype.j.gt,I.prototype.n.round,zc.prototype.j.Ei,I.prototype.n.floor,tc.prototype.j.Er,tc.prototype.n.Zg,qc.prototype.j.gw,I.prototype.g.gs,I.prototype.g.Ws,Ec.prototype.n.$s,qc.prototype.j.ew,I.prototype.j.et,T.prototype.g.Ci,T.prototype.n.Ar,zc.prototype.j.oo,Dc.prototype.j.kt,Ec.prototype.j.Et,
T.prototype.n.yr,pc.prototype.j.mt,Ec.prototype.j.Zs,zc.prototype.j.lo,mc.prototype.n.Dr,tc.prototype.g.al,tc.prototype.n.fl,tc.prototype.j.gl,sc.prototype.n.Zg,W.prototype.n.Fi,zc.prototype.g.Xg,yc.prototype.g.Yn,T.prototype.g.ys,T.prototype.j.jt,T.prototype.j.ts,T.prototype.j.ft,T.prototype.g.Vn,T.prototype.g.Xn,I.prototype.n.abs,I.prototype.n.gu,I.prototype.j.Gt,I.prototype.g.Ur,I.prototype.n.k,I.prototype.n.cos,I.prototype.n.sin,I.prototype.n.iw,T.prototype.n.Br,I.prototype.n.$t,T.prototype.j.hl,
T.prototype.j.us,T.prototype.g.Xs,mc.prototype.n.kl,mc.prototype.j.hl,zc.prototype.n.Zg,T.prototype.n.Xr,T.prototype.n.Yr,zc.prototype.j.il,zc.prototype.j.Yg,mc.prototype.j.Xk,sc.prototype.j.Bi,mc.prototype.j.dt,tc.prototype.n.Wk,sc.prototype.g.Xg,tc.prototype.g.Xg,I.prototype.g.Ht,mc.prototype.j.$r,T.prototype.n.Un,mc.prototype.g.Cr,mc.prototype.n.Nr,mc.prototype.n.Mr,$c.prototype.j.jo,I.prototype.n.he,T.prototype.j.ko,W.prototype.n.It,rc.prototype.g.es,T.prototype.j.zt,I.prototype.n.sqrt,T.prototype.n.kl,
T.prototype.n.Ys,T.prototype.n.Opacity,I.prototype.n.ceil,mc.prototype.g.Xg,mc.prototype.j.Or,mc.prototype.n.Zr,mc.prototype.n.Zg,qc.prototype.j.zu,zc.prototype.n.Fi,zc.prototype.n.nl,T.prototype.g.hs,uc.prototype.j.wt]};
