// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,ma,na,oa,pa,z,ra,sa,ta,ua,xa,ya,za,K,Aa,Ba,Ca,Fa,Ga,O,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Va,Wa,Xa,Ya,Za,$a,ab,bb,gb,hb,ib,jb,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,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ec,fc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(h){return h.__proto__}:function(h){return h.constructor.prototype});
(function(){function h(a,d,l,b){this.set(a,d,l,b)}function r(){this.ob=this.nb=this.qb=this.pb=this.Bb=this.Ab=this.Sa=this.Ra=0}function e(a,d,l,b){a<d?l<b?(u=a<l?a:l,J=d>b?d:b):(u=a<b?a:b,J=d>l?d:l):l<b?(u=d<l?d:l,J=a>b?a:b):(u=d<b?d:b,J=a>l?a:l)}function q(){this.items=this.Xd=null;this.Fi=0;x&&(this.Xd=new Set);this.Fh=[];this.Pe=!0}function t(a){X[N++]=a}function n(){this.S=this.Kl=this.y=this.Cm=0}function g(a){this.kb=[];this.Qj=this.Sj=this.Tj=this.Rj=0;this.nj(a)}function a(a,d){this.Hm=
a;this.Gm=d;this.cells={}}function c(a,d){this.Hm=a;this.Gm=d;this.cells={}}function f(a,d,l){var b;return G.length?(b=G.pop(),b.xn=a,b.x=d,b.y=l,b):new ba(a,d,l)}function d(a,d,b){this.xn=a;this.x=d;this.y=b;this.Hb=new ca}function b(a,d,b){var l;return y.length?(l=y.pop(),l.xn=a,l.x=d,l.y=b,l):new da(a,d,b)}function k(a,d,b){this.xn=a;this.x=d;this.y=b;this.Hb=[];this.Tg=!0;this.Ud=new ca;this.Nh=!1}function m(a,d){return a.Id-d.Id}ea=function(a){window.console&&window.console.log&&window.console.log(a)};
fa=function(a){window.console&&window.console.error&&window.console.error(a)};aa=function(a){return a};ga=function(a){return"undefined"===typeof a};ha=function(a){return"number"===typeof a};ia=function(a){return"string"===typeof a};ja=function(a){return 0<a&&0===(a-1&a)};ka=function(a){--a;for(var d=1;32>d;d<<=1)a=a|a>>d;return a+1};ma=function(a){return 0>a?-a:a};na=function(a,d){return a>d?a:d};oa=function(a,d){return a<d?a:d};pa=Math.PI;z=function(a){return 0<=a?a|0:(a|0)-1};ra=function(a){var d=
a|0;return d===a?d:d+1};sa=function(a,d,b,l,c,k,f,v){var p,m,u,g;a<b?(m=a,p=b):(m=b,p=a);c<f?(g=c,u=f):(g=f,u=c);if(p<g||m>u)return!1;d<l?(m=d,p=l):(m=l,p=d);k<v?(g=k,u=v):(g=v,u=k);if(p<g||m>u)return!1;p=c-a+f-b;m=k-d+v-l;a=b-a;d=l-d;c=f-c;k=v-k;v=ma(d*c-k*a);return ma(c*m-k*p)>v?!1:ma(a*m-d*p)<=v};h.prototype.set=function(a,d,b,l){this.left=a;this.top=d;this.right=b;this.bottom=l};h.prototype.Vh=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};h.prototype.width=
function(){return this.right-this.left};h.prototype.height=function(){return this.bottom-this.top};h.prototype.offset=function(a,d){this.left+=a;this.top+=d;this.right+=a;this.bottom+=d;return this};h.prototype.normalize=function(){var a=0;this.left>this.right&&(a=this.left,this.left=this.right,this.right=a);this.top>this.bottom&&(a=this.top,this.top=this.bottom,this.bottom=a)};h.prototype.Zq=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};h.prototype.$q=
function(a,d,b){return!(a.right+d<this.left||a.bottom+b<this.top||a.left+d>this.right||a.top+b>this.bottom)};h.prototype.tb=function(a,d){return a>=this.left&&a<=this.right&&d>=this.top&&d<=this.bottom};h.prototype.ai=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};ta=h;r.prototype.sh=function(a){this.Ra=a.left;this.Sa=a.top;this.Ab=a.right;this.Bb=a.top;this.pb=a.right;this.qb=a.bottom;this.nb=a.left;this.ob=a.bottom};r.prototype.Qs=function(a,
d){if(0===d)this.sh(a);else{var b=Math.sin(d),l=Math.cos(d),c=a.left*b,k=a.top*b,p=a.right*b,b=a.bottom*b,v=a.left*l,m=a.top*l,f=a.right*l,l=a.bottom*l;this.Ra=v-k;this.Sa=m+c;this.Ab=f-k;this.Bb=m+p;this.pb=f-b;this.qb=l+p;this.nb=v-b;this.ob=l+c}};r.prototype.offset=function(a,d){this.Ra+=a;this.Sa+=d;this.Ab+=a;this.Bb+=d;this.pb+=a;this.qb+=d;this.nb+=a;this.ob+=d;return this};var u=0,J=0;r.prototype.kq=function(a){e(this.Ra,this.Ab,this.pb,this.nb);a.left=u;a.right=J;e(this.Sa,this.Bb,this.qb,
this.ob);a.top=u;a.bottom=J};r.prototype.tb=function(a,d){var b=this.Ra,l=this.Sa,c=this.Ab-b,k=this.Bb-l,p=this.pb-b,v=this.qb-l,m=a-b,f=d-l,u=c*c+k*k,g=c*p+k*v,k=c*m+k*f,q=p*p+v*v,n=p*m+v*f,e=1/(u*q-g*g),c=(q*k-g*n)*e,u=(u*n-g*k)*e;if(0<=c&&0<u&&1>c+u)return!0;c=this.nb-b;k=this.ob-l;u=c*c+k*k;g=c*p+k*v;k=c*m+k*f;e=1/(u*q-g*g);c=(q*k-g*n)*e;u=(u*n-g*k)*e;return 0<=c&&0<u&&1>c+u};r.prototype.Vc=function(a,d){if(d)switch(a){case 0:return this.Ra;case 1:return this.Ab;case 2:return this.pb;case 3:return this.nb;
case 4:return this.Ra;default:return this.Ra}else switch(a){case 0:return this.Sa;case 1:return this.Bb;case 2:return this.qb;case 3:return this.ob;case 4:return this.Sa;default:return this.Sa}};r.prototype.Pr=function(){return(this.Ra+this.Ab+this.pb+this.nb)/4};r.prototype.Qr=function(){return(this.Sa+this.Bb+this.qb+this.ob)/4};r.prototype.ti=function(a,d,b,l){if(this.tb(a,d)||this.tb(b,l))return!0;var c,k,p,v,m;for(m=0;4>m;m++)if(c=this.Vc(m,!0),k=this.Vc(m,!1),p=this.Vc(m+1,!0),v=this.Vc(m+1,
!1),sa(a,d,b,l,c,k,p,v))return!0;return!1};r.prototype.Yq=function(a){var d=a.Pr(),b=a.Qr();if(this.tb(d,b))return!0;d=this.Pr();b=this.Qr();if(a.tb(d,b))return!0;var l,c,k,m,v,p,f,u;for(f=0;4>f;f++)for(u=0;4>u;u++)if(d=this.Vc(f,!0),b=this.Vc(f,!1),l=this.Vc(f+1,!0),c=this.Vc(f+1,!1),k=a.Vc(u,!0),m=a.Vc(u,!1),v=a.Vc(u+1,!0),p=a.Vc(u+1,!1),sa(d,b,l,c,k,m,v,p))return!0;return!1};ua=r;xa=function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b]);return a};ya=function(a,d){var b,l;d=z(d);if(!(0>d||
d>=a.length)){b=d;for(l=a.length-1;b<l;b++)a[b]=a[b+1];za(a,l)}};za=function(a,d){a.length=d};K=function(a){za(a,0)};Aa=function(a,d){K(a);var b,l;b=0;for(l=d.length;b<l;++b)a[b]=d[b]};Ba=function(a,d){a.push.apply(a,d)};Ca=function(a,d){var b,l;b=0;for(l=a.length;b<l;++b)if(a[b]===d)return b;return-1};Fa=function(a,d){var b=Ca(a,d);-1!==b&&ya(a,b)};Ga=function(a,d,b){return a<d?d:a>b?b:a};O=function(a){return a/(180/pa)};Ha=function(a){return 180/pa*a};Ia=function(a){a%=360;0>a&&(a+=360);return a};
Ja=function(a){a%=2*pa;0>a&&(a+=2*pa);return a};Ka=function(a){return Ia(Ha(a))};La=function(a){return Ja(O(a))};Ma=function(a,d,b,l){return Math.atan2(l-d,b-a)};Na=function(a,d){if(a===d)return 0;var b=Math.sin(a),l=Math.cos(a),c=Math.sin(d),k=Math.cos(d),b=b*c+l*k;return 1<=b?0:-1>=b?pa:Math.acos(b)};Oa=function(a,d,b){var l=Math.sin(a),c=Math.cos(a),k=Math.sin(d),m=Math.cos(d);return Math.acos(l*k+c*m)>b?0<c*k-l*m?Ja(a+b):Ja(a-b):Ja(d)};Pa=function(a,d){var b=Math.sin(a),l=Math.cos(a),c=Math.sin(d),
k=Math.cos(d);return 0>=l*c-b*k};Qa=function(a,d,b,l,c,k){if(0===b)return k?a:d;var m=Math.sin(b);b=Math.cos(b);a-=l;d-=c;var v=a*m;a=a*b-d*m;d=d*b+v;return k?a+l:d+c};Ra=function(a,d,b,l){a=b-a;d=l-d;return Math.sqrt(a*a+d*d)};Sa=function(a,d){return!a!==!d};Va=function(a,d,b){return a+(d-a)*b};Wa=function(a){for(var d in a)if(a.hasOwnProperty(d))return!0;return!1};Xa=function(a){for(var d in a)a.hasOwnProperty(d)&&delete a[d]};var A=+new Date;Ya=function(){if("undefined"!==typeof window.performance){var a=
window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.mozNow)return a.mozNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-A};var l=!1,p=l=!1,R=!1;"undefined"!==typeof window&&(l=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),l=!l&&/safari/i.test(navigator.userAgent),p=/(iphone|ipod|ipad)/i.test(navigator.userAgent),R=window.c2ejecta);var x=!l&&!R&&!p&&"undefined"!==
typeof Set&&"undefined"!==typeof Set.prototype.forEach;q.prototype.contains=function(a){return this.re()?!1:x?this.Xd.has(a):this.items&&this.items.hasOwnProperty(a)};q.prototype.add=function(a){if(x)this.Xd.has(a)||(this.Xd.add(a),this.Pe=!1);else{var d=a.toString(),b=this.items;b?b.hasOwnProperty(d)||(b[d]=a,this.Fi++,this.Pe=!1):(this.items={},this.items[d]=a,this.Fi=1,this.Pe=!1)}};q.prototype.remove=function(a){if(!this.re())if(x)this.Xd.has(a)&&(this.Xd["delete"](a),this.Pe=!1);else if(this.items){a=
a.toString();var d=this.items;d.hasOwnProperty(a)&&(delete d[a],this.Fi--,this.Pe=!1)}};q.prototype.clear=function(){this.re()||(x?this.Xd.clear():(this.items=null,this.Fi=0),K(this.Fh),this.Pe=!0)};q.prototype.re=function(){return 0===this.count()};q.prototype.count=function(){return x?this.Xd.size:this.Fi};var X=null,N=0;q.prototype.Cz=function(){if(!this.Pe){if(x)K(this.Fh),X=this.Fh,N=0,this.Xd.forEach(t),X=null,N=0;else{var a=this.Fh;K(a);var d,b=0,l=this.items;if(l)for(d in l)l.hasOwnProperty(d)&&
(a[b++]=l[d])}this.Pe=!0}};q.prototype.Hd=function(){this.Cz();return this.Fh};ca=q;new ca;Za=function(a,d){x?$a(a,d.Xd):ab(a,d.Hd())};$a=function(a,d){var b,l,c,k;l=b=0;for(c=a.length;b<c;++b)k=a[b],d.has(k)||(a[l++]=k);za(a,l)};ab=function(a,d){var b,l,c,k;l=b=0;for(c=a.length;b<c;++b)k=a[b],-1===Ca(d,k)&&(a[l++]=k);za(a,l)};n.prototype.add=function(a){this.y=a-this.Cm;this.Kl=this.S+this.y;this.Cm=this.Kl-this.S-this.y;this.S=this.Kl};n.prototype.reset=function(){this.S=this.Kl=this.y=this.Cm=
0};bb=n;gb=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.nj=function(a){this.As=a;this.ed=a.length/2;this.kb.length=a.length;this.Wj=this.Xj=-1;this.nq=0};g.prototype.Rf=function(){return!this.As.length};g.prototype.na=function(){for(var a=this.kb,d=a[0],b=d,l=a[1],c=l,k,m,v=1,p=this.ed;v<p;++v)m=2*v,k=a[m],m=a[m+1],k<d&&(d=k),k>b&&(b=k),m<l&&(l=m),m>c&&(c=m);this.Rj=d;this.Sj=b;this.Tj=l;this.Qj=c};g.prototype.sh=function(a,d,b){this.kb.length=8;this.ed=4;var l=this.kb;
l[0]=a.left-d;l[1]=a.top-b;l[2]=a.right-d;l[3]=a.top-b;l[4]=a.right-d;l[5]=a.bottom-b;l[6]=a.left-d;l[7]=a.bottom-b;this.Xj=a.right-a.left;this.Wj=a.bottom-a.top;this.na()};g.prototype.rh=function(a,d,b,l,c){this.kb.length=8;this.ed=4;var k=this.kb;k[0]=a.Ra-d;k[1]=a.Sa-b;k[2]=a.Ab-d;k[3]=a.Bb-b;k[4]=a.pb-d;k[5]=a.qb-b;k[6]=a.nb-d;k[7]=a.ob-b;this.Xj=l;this.Wj=c;this.na()};g.prototype.Ps=function(a){this.ed=a.ed;Aa(this.kb,a.kb);this.Rj=a.Rj;this.Tj-a.Tj;this.Sj=a.Sj;this.Qj=a.Qj};g.prototype.Bf=
function(a,d,b){if(this.Xj!==a||this.Wj!==d||this.nq!==b){this.Xj=a;this.Wj=d;this.nq=b;var l,c,k,m,v,p=0,f=1,u=this.As,g=this.kb;0!==b&&(p=Math.sin(b),f=Math.cos(b));b=0;for(k=this.ed;b<k;b++)l=2*b,c=l+1,m=u[l]*a,v=u[c]*d,g[l]=m*f-v*p,g[c]=v*f+m*p;this.na()}};g.prototype.tb=function(a,d){var b=this.kb;if(a===b[0]&&d===b[1])return!0;var l,c,k,m=this.ed,v=this.Rj-110,p=this.Tj-101,f=this.Sj+131,u=this.Qj+120,g,q,n=0,e=0;for(l=0;l<m;l++)c=2*l,k=(l+1)%m*2,g=b[c],c=b[c+1],q=b[k],k=b[k+1],sa(v,p,a,d,g,
c,q,k)&&n++,sa(f,u,a,d,g,c,q,k)&&e++;return 1===n%2||1===e%2};g.prototype.si=function(a,d,b){var l=a.kb,c=this.kb;if(this.tb(l[0]+d,l[1]+b)||a.tb(c[0]-d,c[1]-b))return!0;var k,m,v,p,f,u,g,q,n,e,t,A;k=0;for(p=this.ed;k<p;k++)for(m=2*k,v=(k+1)%p*2,q=c[m],m=c[m+1],n=c[v],e=c[v+1],v=0,g=a.ed;v<g;v++)if(f=2*v,u=(v+1)%g*2,t=l[f]+d,f=l[f+1]+b,A=l[u]+d,u=l[u+1]+b,sa(q,m,n,e,t,f,A,u))return!0;return!1};g.prototype.ti=function(a,d,b,l,c,k){var m=this.kb;if(this.tb(b-a,l-d))return!0;var v,p,f,u,g,q;v=0;for(p=
this.ed;v<p;v++)if(f=2*v,u=(v+1)%p*2,g=m[f]+a,f=m[f+1]+d,q=m[u]+a,u=m[u+1]+d,sa(b,l,c,k,g,f,q,u))return!0;return!1};hb=g;a.prototype.Ze=function(a,d,b){var l;l=this.cells[a];return l?(l=l[d])?l:b?(l=f(this,a,d),this.cells[a][d]=l):null:b?(l=f(this,a,d),this.cells[a]={},this.cells[a][d]=l):null};a.prototype.nc=function(a){return z(a/this.Hm)};a.prototype.oc=function(a){return z(a/this.Gm)};a.prototype.update=function(a,d,b){var l,c,k,m,v;if(d)for(l=d.left,c=d.right;l<=c;++l)for(k=d.top,m=d.bottom;k<=
m;++k)if(!b||!b.tb(l,k))if(v=this.Ze(l,k,!1))v.remove(a),v.re()&&(v.Hb.clear(),1E3>G.length&&G.push(v),this.cells[l][k]=null);if(b)for(l=b.left,c=b.right;l<=c;++l)for(k=b.top,m=b.bottom;k<=m;++k)d&&d.tb(l,k)||this.Ze(l,k,!0).Fn(a)};a.prototype.tl=function(a,d){var b,l,c,k,m,v;b=this.nc(a.left);c=this.oc(a.top);l=this.nc(a.right);for(m=this.oc(a.bottom);b<=l;++b)for(k=c;k<=m;++k)(v=this.Ze(b,k,!1))&&v.dump(d)};ib=a;c.prototype.Ze=function(a,d,l){var c;c=this.cells[a];return c?(c=c[d])?c:l?(c=b(this,
a,d),this.cells[a][d]=c):null:l?(c=b(this,a,d),this.cells[a]={},this.cells[a][d]=c):null};c.prototype.nc=function(a){return z(a/this.Hm)};c.prototype.oc=function(a){return z(a/this.Gm)};c.prototype.update=function(a,d,b){var l,c,k,m,v;if(d)for(l=d.left,c=d.right;l<=c;++l)for(k=d.top,m=d.bottom;k<=m;++k)if(!b||!b.tb(l,k))if(v=this.Ze(l,k,!1))v.remove(a),v.re()&&(v.reset(),1E3>y.length&&y.push(v),this.cells[l][k]=null);if(b)for(l=b.left,c=b.right;l<=c;++l)for(k=b.top,m=b.bottom;k<=m;++k)d&&d.tb(l,k)||
this.Ze(l,k,!0).Fn(a)};c.prototype.tl=function(a,d,b,l,c){var k,m;a=this.nc(a);d=this.oc(d);b=this.nc(b);for(k=this.oc(l);a<=b;++a)for(l=d;l<=k;++l)(m=this.Ze(a,l,!1))&&m.dump(c)};c.prototype.By=function(a){var d,b,l,c,k;d=a.left;l=a.top;b=a.right;for(c=a.bottom;d<=b;++d)for(a=l;a<=c;++a)if(k=this.Ze(d,a,!1))k.Tg=!1};jb=c;var G=[];d.prototype.re=function(){return this.Hb.re()};d.prototype.Fn=function(a){this.Hb.add(a)};d.prototype.remove=function(a){this.Hb.remove(a)};d.prototype.dump=function(a){Ba(a,
this.Hb.Hd())};ba=d;var y=[];k.prototype.re=function(){if(!this.Hb.length)return!0;if(this.Hb.length>this.Ud.count())return!1;this.cn();return!0};k.prototype.Fn=function(a){this.Ud.contains(a)?(this.Ud.remove(a),this.Ud.re()&&(this.Nh=!1)):this.Hb.length?(this.Hb[this.Hb.length-1].Pd()>a.Pd()&&(this.Tg=!1),this.Hb.push(a)):(this.Hb.push(a),this.Tg=!0)};k.prototype.remove=function(a){this.Ud.add(a);this.Nh=!0;30<=this.Ud.count()&&this.cn()};k.prototype.cn=function(){this.Nh&&(this.Ud.count()===this.Hb.length?
this.reset():(Za(this.Hb,this.Ud),this.Ud.clear(),this.Nh=!1))};k.prototype.Jw=function(){this.Tg||(this.Hb.sort(m),this.Tg=!0)};k.prototype.reset=function(){K(this.Hb);this.Tg=!0;this.Ud.clear();this.Nh=!1};k.prototype.dump=function(a){this.cn();this.Jw();this.Hb.length&&a.push(this.Hb)};da=k;var I="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");kb=function(a){return 0>=a||11<=a?"source-over":I[a-1]};lb=function(a,d,
b){if(b)switch(a.Zb=b.ONE,a.Ub=b.ONE_MINUS_SRC_ALPHA,d){case 1:a.Zb=b.ONE;a.Ub=b.ONE;break;case 3:a.Zb=b.ONE;a.Ub=b.ZERO;break;case 4:a.Zb=b.ONE_MINUS_DST_ALPHA;a.Ub=b.ONE;break;case 5:a.Zb=b.DST_ALPHA;a.Ub=b.ZERO;break;case 6:a.Zb=b.ZERO;a.Ub=b.SRC_ALPHA;break;case 7:a.Zb=b.ONE_MINUS_DST_ALPHA;a.Ub=b.ZERO;break;case 8:a.Zb=b.ZERO;a.Ub=b.ONE_MINUS_SRC_ALPHA;break;case 9:a.Zb=b.DST_ALPHA;a.Ub=b.ONE_MINUS_SRC_ALPHA;break;case 10:a.Zb=b.ONE_MINUS_DST_ALPHA,a.Ub=b.SRC_ALPHA}};mb=function(a){return Math.round(1E6*
a)/1E6};nb=function(a,d){return"string"!==typeof a||"string"!==typeof d||a.length!==d.length?!1:a===d?!0:a.toLowerCase()===d.toLowerCase()};ob=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||nb(a.tagName,"canvas")?!0:!1}})();var gc="undefined"!==typeof Float32Array?Float32Array:Array;function hc(h){var r=new gc(3);h&&(r[0]=h[0],r[1]=h[1],r[2]=h[2]);return r}
function ic(h){var r=new gc(16);h&&(r[0]=h[0],r[1]=h[1],r[2]=h[2],r[3]=h[3],r[4]=h[4],r[5]=h[5],r[6]=h[6],r[7]=h[7],r[8]=h[8],r[9]=h[9],r[10]=h[10],r[11]=h[11],r[12]=h[12],r[13]=h[13],r[14]=h[14],r[15]=h[15]);return r}function jc(h,r){r[0]=h[0];r[1]=h[1];r[2]=h[2];r[3]=h[3];r[4]=h[4];r[5]=h[5];r[6]=h[6];r[7]=h[7];r[8]=h[8];r[9]=h[9];r[10]=h[10];r[11]=h[11];r[12]=h[12];r[13]=h[13];r[14]=h[14];r[15]=h[15]}
function kc(h,r){var e=r[0],q=r[1];r=r[2];h[0]*=e;h[1]*=e;h[2]*=e;h[3]*=e;h[4]*=q;h[5]*=q;h[6]*=q;h[7]*=q;h[8]*=r;h[9]*=r;h[10]*=r;h[11]*=r}
function lc(h,r,e,q){q||(q=ic());var t,n,g,a,c,f,d,b,k=h[0],m=h[1];h=h[2];n=e[0];g=e[1];t=e[2];e=r[1];f=r[2];k===r[0]&&m===e&&h===f?(h=q,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):(e=k-r[0],f=m-r[1],d=h-r[2],b=1/Math.sqrt(e*e+f*f+d*d),e*=b,f*=b,d*=b,r=g*d-t*f,t=t*e-n*d,n=n*f-g*e,(b=Math.sqrt(r*r+t*t+n*n))?(b=1/b,r*=b,t*=b,n*=b):n=t=r=0,g=f*n-d*t,a=d*r-e*n,c=e*t-f*r,(b=Math.sqrt(g*g+a*a+c*c))?(b=1/b,g*=b,a*=b,c*=b):c=a=g=0,
q[0]=r,q[1]=g,q[2]=e,q[3]=0,q[4]=t,q[5]=a,q[6]=f,q[7]=0,q[8]=n,q[9]=c,q[10]=d,q[11]=0,q[12]=-(r*k+t*m+n*h),q[13]=-(g*k+a*m+c*h),q[14]=-(e*k+f*m+d*h),q[15]=1)}
(function(){function h(a,c,f){this.qc=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Ja=!!f;this.Gk=this.xi=!1;this.Om=0;this.gm=1;this.xp=1E3;this.Kz=(this.xp-this.gm)/32768;this.Em=hc([0,0,100]);this.xr=hc([0,0,0]);this.nt=hc([0,1,0]);this.Hj=hc([1,1,1]);this.yq=!0;this.Zk=ic();this.Qc=ic();this.Sn=ic();this.Nm=ic();this.L=a;this.Uq()}function r(a,c,f){this.L=a;this.oj=c;this.name=f;this.cd=a.getAttribLocation(c,"aPos");this.hf=a.getAttribLocation(c,
"aTex");this.ur=a.getUniformLocation(c,"matP");this.Uk=a.getUniformLocation(c,"matMV");this.bh=a.getUniformLocation(c,"opacity");this.$n=a.getUniformLocation(c,"colorFill");this.wr=a.getUniformLocation(c,"samplerFront");this.Qi=a.getUniformLocation(c,"samplerBack");this.bg=a.getUniformLocation(c,"destStart");this.ag=a.getUniformLocation(c,"destEnd");this.Si=a.getUniformLocation(c,"seconds");this.bo=a.getUniformLocation(c,"pixelWidth");this.ao=a.getUniformLocation(c,"pixelHeight");this.Pi=a.getUniformLocation(c,
"layerScale");this.Oi=a.getUniformLocation(c,"layerAngle");this.Ti=a.getUniformLocation(c,"viewOrigin");this.Ri=a.getUniformLocation(c,"scrollPos");this.by=!!(this.bo||this.ao||this.Si||this.Qi||this.bg||this.ag||this.Pi||this.Oi||this.Ti||this.Ri);this.Gr=this.Hr=-999;this.Yk=1;this.Cr=this.Br=0;this.Er=this.Ar=this.yr=1;this.Kr=this.Jr=this.Ir=this.Mr=this.Lr=this.Dr=0;this.Rn=[];this.Fr=ic();this.bh&&a.uniform1f(this.bh,1);this.$n&&a.uniform4f(this.$n,1,1,1,1);this.wr&&a.uniform1i(this.wr,0);this.Qi&&
a.uniform1i(this.Qi,1);this.bg&&a.uniform2f(this.bg,0,0);this.ag&&a.uniform2f(this.ag,1,1);this.Pi&&a.uniform1f(this.Pi,1);this.Oi&&a.uniform1f(this.Oi,0);this.Ti&&a.uniform2f(this.Ti,0,0);this.Ri&&a.uniform2f(this.Ri,0,0);this.Si&&a.uniform1f(this.Si,0);this.Kf=!1}function e(a,c){return a[0]===c[0]&&a[1]===c[1]&&a[2]===c[2]&&a[3]===c[3]&&a[4]===c[4]&&a[5]===c[5]&&a[6]===c[6]&&a[7]===c[7]&&a[8]===c[8]&&a[9]===c[9]&&a[10]===c[10]&&a[11]===c[11]&&a[12]===c[12]&&a[13]===c[13]&&a[14]===c[14]&&a[15]===
c[15]}function q(a,c){this.type=a;this.B=c;this.L=c.L;this.Qd=this.mc=this.hs=0;this.ka=this.kd=null;this.Rs=[]}var t=ic();h.prototype.Uq=function(){var a=this.L,c;this.or=1;this.Vf=this.Uf=null;this.fk=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.STENCIL_TEST);a.disable(a.DITHER);this.Ja?(a.enable(a.DEPTH_TEST),a.depthFunc(a.LEQUAL)):a.disable(a.DEPTH_TEST);this.pr=a.ONE;this.nr=a.ONE_MINUS_SRC_ALPHA;
this.Yl=new Float32Array(8E3*(this.Ja?3:2));this.Ll=new Float32Array(16E3);this.vs=new Float32Array(32E3);this.Co=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Co);a.bufferData(a.ARRAY_BUFFER,this.vs.byteLength,a.DYNAMIC_DRAW);this.Bj=Array(4);this.tj=Array(4);for(c=0;4>c;c++)this.Bj[c]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Bj[c]),a.bufferData(a.ARRAY_BUFFER,this.Yl.byteLength,a.DYNAMIC_DRAW),this.tj[c]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.tj[c]),a.bufferData(a.ARRAY_BUFFER,
this.Ll.byteLength,a.DYNAMIC_DRAW);this.ge=0;this.gy=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.gy);for(var f=new Uint16Array(12E3),d=c=0;12E3>c;)f[c++]=d,f[c++]=d+1,f[c++]=d+2,f[c++]=d,f[c++]=d+2,f[c++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,f,a.STATIC_DRAW);this.Do=this.xh=this.He=0;this.Wa=[];c=this.Ja?"attribute highp vec3 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, aPos.z, 1.0);\n\tvTex = aTex;\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}";f=this.Wh({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}"},c,"<default>");this.Wa.push(f);f=this.Wh({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.Wa.push(f);f=this.Wh({src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}"},c,"<earlyz>");this.Wa.push(f);f=this.Wh({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
c,"<fill>");this.Wa.push(f);for(var b in mc)mc.hasOwnProperty(b)&&this.Wa.push(this.Wh(mc[b],c,b));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.Oe=[];this.ee=0;this.Vb=!1;this.uq=this.Ji=-1;this.Cg=null;this.$m=a.createFramebuffer();this.jk=this.wl=null;this.hq=!1;this.Ja&&(this.jk=a.createRenderbuffer());this.wf=hc([0,0,0]);this.Nr=a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];2048<this.Nr&&(this.Nr=2048);this.yc(0)};r.prototype.rp=function(a){e(this.Fr,a)||(jc(a,this.Fr),this.L.uniformMatrix4fv(this.Uk,
!1,a))};h.prototype.Wh=function(a,c,f){var d=this.L,b=d.createShader(d.FRAGMENT_SHADER);d.shaderSource(b,a.src);d.compileShader(b);if(!d.getShaderParameter(b,d.COMPILE_STATUS))return d.deleteShader(b),null;var k=d.createShader(d.VERTEX_SHADER);d.shaderSource(k,c);d.compileShader(k);if(!d.getShaderParameter(k,d.COMPILE_STATUS))return d.deleteShader(b),d.deleteShader(k),null;c=d.createProgram();d.attachShader(c,b);d.attachShader(c,k);d.linkProgram(c);if(!d.getProgramParameter(c,d.LINK_STATUS))return d.deleteShader(b),
d.deleteShader(k),d.deleteProgram(c),null;d.useProgram(c);d.deleteShader(b);d.deleteShader(k);f=new r(d,c,f);f.Xm=a.Xm||0;f.Ym=a.Ym||0;f.tq=!!a.tq;f.Bd=!!a.Bd;f.fq=!!a.fq;f.la=a.la||[];a=0;for(b=f.la.length;a<b;a++)f.la[a][1]=d.getUniformLocation(c,f.la[a][0]),f.Rn.push(0),d.uniform1f(f.la[a][1],0);return f};h.prototype.sn=function(a){var c,f;c=0;for(f=this.Wa.length;c<f;c++)if(this.Wa[c].name===a)return c;return-1};h.prototype.zs=function(a,c,f){var d=this.Qc,b=this.Zk,k=[0,0,0,0,0,0,0,0];k[0]=d[0]*
a+d[4]*c+d[12];k[1]=d[1]*a+d[5]*c+d[13];k[2]=d[2]*a+d[6]*c+d[14];k[3]=d[3]*a+d[7]*c+d[15];k[4]=b[0]*k[0]+b[4]*k[1]+b[8]*k[2]+b[12]*k[3];k[5]=b[1]*k[0]+b[5]*k[1]+b[9]*k[2]+b[13]*k[3];k[6]=b[2]*k[0]+b[6]*k[1]+b[10]*k[2]+b[14]*k[3];k[7]=-k[2];0!==k[7]&&(k[7]=1/k[7],k[4]*=k[7],k[5]*=k[7],k[6]*=k[7],f[0]=(.5*k[4]+.5)*this.width,f[1]=(.5*k[5]+.5)*this.height)};h.prototype.kg=function(a,c,f){if(this.width!==a||this.height!==c||f){this.Ff();f=this.L;this.width=a;this.height=c;f.viewport(0,0,a,c);lc(this.Em,
this.xr,this.nt,this.Qc);if(this.Ja){var d=-a/2;a=a/2;var b=c/2;c=-c/2;var k=this.gm,m=this.xp,u=this.Zk;u||(u=ic());var g=a-d,q=c-b,l=m-k;u[0]=2/g;u[1]=0;u[2]=0;u[3]=0;u[4]=0;u[5]=2/q;u[6]=0;u[7]=0;u[8]=0;u[9]=0;u[10]=-2/l;u[11]=0;u[12]=-(d+a)/g;u[13]=-(c+b)/q;u[14]=-(m+k)/l;u[15]=1;this.Hj[0]=1;this.Hj[1]=1}else c=a/c,d=this.gm,a=this.xp,u=this.Zk,m=d*Math.tan(45*Math.PI/360),c*=m,b=-c,k=-m,u||(u=ic()),g=c-b,q=m-k,l=a-d,u[0]=2*d/g,u[1]=0,u[2]=0,u[3]=0,u[4]=0,u[5]=2*d/q,u[6]=0,u[7]=0,u[8]=(c+b)/
g,u[9]=(m+k)/q,u[10]=-(a+d)/l,u[11]=-1,u[12]=0,u[13]=0,u[14]=-(a*d*2)/l,u[15]=0,d=[0,0],a=[0,0],this.zs(0,0,d),this.zs(1,1,a),this.Hj[0]=1/(a[0]-d[0]),this.Hj[1]=-1/(a[1]-d[1]);d=0;for(a=this.Wa.length;d<a;d++)b=this.Wa[d],b.Kf=!1,b.ur&&(f.useProgram(b.oj),f.uniformMatrix4fv(b.ur,!1,this.Zk));f.useProgram(this.Wa[this.Ji].oj);f.bindTexture(f.TEXTURE_2D,null);f.activeTexture(f.TEXTURE1);f.bindTexture(f.TEXTURE_2D,null);f.activeTexture(f.TEXTURE0);this.Vf=this.Uf=null;this.jk&&(f.bindFramebuffer(f.FRAMEBUFFER,
this.$m),f.bindRenderbuffer(f.RENDERBUFFER,this.jk),f.renderbufferStorage(f.RENDERBUFFER,f.DEPTH_COMPONENT16,this.width,this.height),this.hq||(f.framebufferRenderbuffer(f.FRAMEBUFFER,f.DEPTH_ATTACHMENT,f.RENDERBUFFER,this.jk),this.hq=!0),f.bindRenderbuffer(f.RENDERBUFFER,null),f.bindFramebuffer(f.FRAMEBUFFER,null),this.wl=null)}};h.prototype.Wd=function(){lc(this.Em,this.xr,this.nt,this.Qc);kc(this.Qc,this.Hj)};h.prototype.translate=function(a,c){if(0!==a||0!==c){this.wf[0]=a;this.wf[1]=c;this.wf[2]=
0;var f=this.Qc,d=this.wf,b=d[0],k=d[1],d=d[2];f[12]=f[0]*b+f[4]*k+f[8]*d+f[12];f[13]=f[1]*b+f[5]*k+f[9]*d+f[13];f[14]=f[2]*b+f[6]*k+f[10]*d+f[14];f[15]=f[3]*b+f[7]*k+f[11]*d+f[15]}};h.prototype.scale=function(a,c){if(1!==a||1!==c)this.wf[0]=a,this.wf[1]=c,this.wf[2]=1,kc(this.Qc,this.wf)};h.prototype.Oo=function(a){if(0!==a){var c=this.Qc,f,d=Math.sin(a);a=Math.cos(a);var b=c[0],k=c[1],m=c[2],u=c[3],g=c[4],q=c[5],l=c[6],p=c[7];f?c!==f&&(f[8]=c[8],f[9]=c[9],f[10]=c[10],f[11]=c[11],f[12]=c[12],f[13]=
c[13],f[14]=c[14],f[15]=c[15]):f=c;f[0]=b*a+g*d;f[1]=k*a+q*d;f[2]=m*a+l*d;f[3]=u*a+p*d;f[4]=b*-d+g*a;f[5]=k*-d+q*a;f[6]=m*-d+l*a;f[7]=u*-d+p*a}};h.prototype.Gd=function(){if(!e(this.Sn,this.Qc)){var a=this.Fc();a.type=5;a.ka?jc(this.Qc,a.ka):a.ka=ic(this.Qc);jc(this.Qc,this.Sn);this.Vb=!1}};h.prototype.Dl=function(a){this.Ja&&(32760<a&&(a=32760),this.Om=this.Em[2]-this.gm-a*this.Kz)};q.prototype.sw=function(){var a=this.L,c=this.B;0!==this.mc?(a.depthMask(!0),a.colorMask(!1,!1,!1,!1),a.disable(a.BLEND),
a.bindFramebuffer(a.FRAMEBUFFER,c.$m),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.clear(a.DEPTH_BUFFER_BIT),a.bindFramebuffer(a.FRAMEBUFFER,null),c.Gk=!0):(a.depthMask(!1),a.colorMask(!0,!0,!0,!0),a.enable(a.BLEND),c.Gk=!1)};q.prototype.xw=function(){this.L.bindTexture(this.L.TEXTURE_2D,this.kd)};q.prototype.yw=function(){var a=this.L;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.kd);a.activeTexture(a.TEXTURE0)};q.prototype.uw=function(){var a=this.hs,
c=this.B;c.fk=a;c=c.Cg;c.bh&&c.Yk!==a&&(c.Yk=a,this.L.uniform1f(c.bh,a))};q.prototype.mw=function(){this.L.drawElements(this.L.TRIANGLES,this.Qd,this.L.UNSIGNED_SHORT,this.mc)};q.prototype.pw=function(){this.L.blendFunc(this.mc,this.Qd)};q.prototype.zw=function(){var a,c,f,d=this.B.Wa,b=this.B.uq;a=0;for(c=d.length;a<c;a++)f=d[a],a===b&&f.Uk?(f.rp(this.ka),f.Kf=!0):f.Kf=!1;jc(this.ka,this.B.Nm)};q.prototype.nw=function(){var a=this.L,c=this.B;this.kd?(c.Vf===this.kd&&(a.activeTexture(a.TEXTURE1),
a.bindTexture(a.TEXTURE_2D,null),c.Vf=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,c.$m),c.Gk||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.kd,0)):(c.Ja||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};q.prototype.kw=function(){var a=this.L,c=this.mc;0===c?(a.clearColor(this.ka[0],this.ka[1],this.ka[2],this.ka[3]),a.clear(a.COLOR_BUFFER_BIT)):1===c?(a.enable(a.SCISSOR_TEST),a.scissor(this.ka[0],
this.ka[1],this.ka[2],this.ka[3]),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST)):a.clear(a.DEPTH_BUFFER_BIT)};q.prototype.rw=function(){var a=this.L;0!==this.mc?a.enable(a.DEPTH_TEST):a.disable(a.DEPTH_TEST)};q.prototype.lw=function(){var a=this.L,c=this.B;c.Ja&&a.disable(a.DEPTH_TEST);var f=c.Wa[1];a.useProgram(f.oj);!f.Kf&&f.Uk&&(f.rp(c.Nm),f.Kf=!0);a.enableVertexAttribArray(f.cd);a.bindBuffer(a.ARRAY_BUFFER,c.Co);a.vertexAttribPointer(f.cd,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,
this.mc/4,this.Qd);f=c.Cg;a.useProgram(f.oj);0<=f.cd&&(a.enableVertexAttribArray(f.cd),a.bindBuffer(a.ARRAY_BUFFER,c.Bj[c.ge]),a.vertexAttribPointer(f.cd,c.Ja?3:2,a.FLOAT,!1,0,0));0<=f.hf&&(a.enableVertexAttribArray(f.hf),a.bindBuffer(a.ARRAY_BUFFER,c.tj[c.ge]),a.vertexAttribPointer(f.hf,2,a.FLOAT,!1,0,0));c.Ja&&a.enable(a.DEPTH_TEST)};q.prototype.vw=function(){var a=this.L,c=this.B,f=c.Wa[this.mc];c.uq=this.mc;c.Cg=f;a.useProgram(f.oj);!f.Kf&&f.Uk&&(f.rp(c.Nm),f.Kf=!0);f.bh&&f.Yk!==c.fk&&(f.Yk=c.fk,
a.uniform1f(f.bh,c.fk));0<=f.cd&&(a.enableVertexAttribArray(f.cd),a.bindBuffer(a.ARRAY_BUFFER,c.Bj[c.ge]),a.vertexAttribPointer(f.cd,c.Ja?3:2,a.FLOAT,!1,0,0));0<=f.hf&&(a.enableVertexAttribArray(f.hf),a.bindBuffer(a.ARRAY_BUFFER,c.tj[c.ge]),a.vertexAttribPointer(f.hf,2,a.FLOAT,!1,0,0))};q.prototype.qw=function(){var a=this.ka;this.L.uniform4f(this.B.Cg.$n,a[0],a[1],a[2],a[3])};q.prototype.ww=function(){var a,c,f=this.B.Cg,d=this.L;a=this.ka;f.Qi&&this.B.Vf!==this.kd&&(d.activeTexture(d.TEXTURE1),
d.bindTexture(d.TEXTURE_2D,this.kd),this.B.Vf=this.kd,d.activeTexture(d.TEXTURE0));var b=a[0];f.bo&&b!==f.Hr&&(f.Hr=b,d.uniform1f(f.bo,b));b=a[1];f.ao&&b!==f.Gr&&(f.Gr=b,d.uniform1f(f.ao,b));b=a[2];c=a[3];!f.bg||b===f.Br&&c===f.Cr||(f.Br=b,f.Cr=c,d.uniform2f(f.bg,b,c));b=a[4];c=a[5];!f.ag||b===f.yr&&c===f.Ar||(f.yr=b,f.Ar=b,d.uniform2f(f.ag,b,c));b=a[6];f.Pi&&b!==f.Er&&(f.Er=b,d.uniform1f(f.Pi,b));b=a[7];f.Oi&&b!==f.Dr&&(f.Dr=b,d.uniform1f(f.Oi,b));b=a[8];c=a[9];!f.Ti||b===f.Lr&&c===f.Mr||(f.Lr=b,
f.Mr=c,d.uniform2f(f.Ti,b,c));b=a[10];c=a[11];!f.Ri||b===f.Ir&&c===f.Jr||(f.Ir=b,f.Jr=c,d.uniform2f(f.Ri,b,c));b=a[12];f.Si&&b!==f.Kr&&(f.Kr=b,d.uniform1f(f.Si,b));if(f.la.length)for(a=0,c=f.la.length;a<c;a++)b=this.Rs[a],b!==f.Rn[a]&&(f.Rn[a]=b,d.uniform1f(f.la[a][1],b))};h.prototype.Fc=function(){this.ee===this.Oe.length&&this.Oe.push(new q(0,this));return this.Oe[this.ee++]};h.prototype.Ff=function(){if(0!==this.ee&&!this.L.isContextLost()){var a=this.L;0<this.Do&&(a.bindBuffer(a.ARRAY_BUFFER,
this.Co),a.bufferSubData(a.ARRAY_BUFFER,0,this.vs.subarray(0,this.Do)),c&&0<=c.cd&&"<point>"===c.name&&a.vertexAttribPointer(c.cd,4,a.FLOAT,!1,0,0));if(0<this.He){var c=this.Cg;a.bindBuffer(a.ARRAY_BUFFER,this.Bj[this.ge]);a.bufferSubData(a.ARRAY_BUFFER,0,this.Yl.subarray(0,this.He));c&&0<=c.cd&&"<point>"!==c.name&&a.vertexAttribPointer(c.cd,this.Ja?3:2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.tj[this.ge]);a.bufferSubData(a.ARRAY_BUFFER,0,this.Ll.subarray(0,this.xh));c&&0<=c.hf&&"<point>"!==
c.name&&a.vertexAttribPointer(c.hf,2,a.FLOAT,!1,0,0)}for(var f,a=0,c=this.ee;a<c;a++)switch(f=this.Oe[a],f.type){case 1:f.mw();break;case 2:f.xw();break;case 3:f.uw();break;case 4:f.pw();break;case 5:f.zw();break;case 6:f.nw();break;case 7:f.kw();break;case 8:f.lw();break;case 9:f.vw();break;case 10:f.ww();break;case 11:f.yw();break;case 12:f.qw();break;case 13:f.rw();break;case 14:f.sw()}this.Do=this.xh=this.He=this.ee=0;this.Gk=this.Vb=!1;this.ge++;4<=this.ge&&(this.ge=0)}};h.prototype.pf=function(a){if(a!==
this.or&&!this.xi){var c=this.Fc();c.type=3;this.or=c.hs=a;this.Vb=!1}};h.prototype.kc=function(a){if(a!==this.Uf){var c=this.Fc();c.type=2;this.Uf=c.kd=a;this.Vb=!1}};h.prototype.of=function(a,c){if((a!==this.pr||c!==this.nr)&&!this.xi){var f=this.Fc();f.type=4;f.mc=a;f.Qd=c;this.pr=a;this.nr=c;this.Vb=!1}};h.prototype.Js=function(){this.of(this.L.ONE,this.L.ONE_MINUS_SRC_ALPHA)};h.prototype.fj=function(a,c,f,d,b,k,m,u){15992<=this.He&&this.Ff();var g=this.He,q=this.xh,l=this.Yl,p=this.Ll,n=this.Om;
if(this.Vb)this.Oe[this.ee-1].Qd+=6;else{var e=this.Fc();e.type=1;e.mc=this.Ja?g:g/2*3;e.Qd=6;this.Vb=!0}this.Ja?(l[g++]=a,l[g++]=c,l[g++]=n,l[g++]=f,l[g++]=d,l[g++]=n,l[g++]=b,l[g++]=k,l[g++]=n,l[g++]=m,l[g++]=u,l[g++]=n):(l[g++]=a,l[g++]=c,l[g++]=f,l[g++]=d,l[g++]=b,l[g++]=k,l[g++]=m,l[g++]=u);p[q++]=0;p[q++]=0;p[q++]=1;p[q++]=0;p[q++]=1;p[q++]=1;p[q++]=0;p[q++]=1;this.He=g;this.xh=q};h.prototype.fd=function(a,c,f,d,b,k,m,g,q){15992<=this.He&&this.Ff();var n=this.He,l=this.xh,p=this.Yl,e=this.Ll,
t=this.Om;if(this.Vb)this.Oe[this.ee-1].Qd+=6;else{var h=this.Fc();h.type=1;h.mc=this.Ja?n:n/2*3;h.Qd=6;this.Vb=!0}var h=q.left,r=q.top,G=q.right;q=q.bottom;this.Ja?(p[n++]=a,p[n++]=c,p[n++]=t,p[n++]=f,p[n++]=d,p[n++]=t,p[n++]=b,p[n++]=k,p[n++]=t,p[n++]=m,p[n++]=g,p[n++]=t):(p[n++]=a,p[n++]=c,p[n++]=f,p[n++]=d,p[n++]=b,p[n++]=k,p[n++]=m,p[n++]=g);e[l++]=h;e[l++]=r;e[l++]=G;e[l++]=r;e[l++]=G;e[l++]=q;e[l++]=h;e[l++]=q;this.He=n;this.xh=l};h.prototype.yc=function(a){if(this.Ji!==a){if(!this.Wa[a]){if(0===
this.Ji)return;a=0}var c=this.Fc();c.type=9;this.Ji=c.mc=a;this.Vb=!1}};h.prototype.cj=function(a){a=this.Wa[a];return!(!a.bg&&!a.ag)};h.prototype.Fo=function(a){a=this.Wa[a];return!!(a.bg||a.ag||a.tq)};h.prototype.Eo=function(a){return this.Wa[a].Bd};h.prototype.Wy=function(a){a=this.Wa[a];return 0!==a.Xm||0!==a.Ym};h.prototype.Kx=function(a){return this.Wa[a].Xm};h.prototype.Lx=function(a){return this.Wa[a].Ym};h.prototype.Mx=function(a,c){return this.Wa[a].la[c][2]};h.prototype.rl=function(a){return this.Wa[a].fq};
h.prototype.qh=function(a,c,f,d,b,k,m,g,q,n,l,p,e,t,h){var r=this.Wa[this.Ji],G,y;if(r.by||h.length){G=this.Fc();G.type=10;G.ka?jc(this.Qc,G.ka):G.ka=ic();y=G.ka;y[0]=c;y[1]=f;y[2]=d;y[3]=b;y[4]=k;y[5]=m;y[6]=g;y[7]=q;y[8]=n;y[9]=l;y[10]=p;y[11]=e;y[12]=t;r.Qi?G.kd=a:G.kd=null;if(h.length)for(f=G.Rs,f.length=h.length,a=0,c=h.length;a<c;a++)f[a]=h[a];this.Vb=!1}};h.prototype.clear=function(a,c,f,d){var b=this.Fc();b.type=7;b.mc=0;b.ka||(b.ka=ic());b.ka[0]=a;b.ka[1]=c;b.ka[2]=f;b.ka[3]=d;this.Vb=!1};
h.prototype.clearRect=function(a,c,f,d){if(!(0>f||0>d)){var b=this.Fc();b.type=7;b.mc=1;b.ka||(b.ka=ic());b.ka[0]=a;b.ka[1]=c;b.ka[2]=f;b.ka[3]=d;this.Vb=!1}};h.prototype.Ms=function(a){if(this.Ja&&(a=!!a,this.xi!==a)){var c=this.Fc();c.type=14;c.mc=a?1:0;this.Vb=!1;this.xi=a;this.wl=null;this.xi?this.yc(2):this.yc(0)}};h.prototype.Ls=function(a){if(this.Ja){var c=this.Fc();c.type=13;c.mc=a?1:0;this.Vb=!1}};h.prototype.Eq=function(){jc(this.Sn,t);this.Wd();this.Gd();var a=this.width/2,c=this.height/
2;this.fj(-a,c,a,c,a,-c,-a,-c);jc(t,this.Qc);this.Gd()};h.prototype.Ks=function(a,c,f){this.yc(3);var d=this.Fc();d.type=12;d.ka||(d.ka=ic());d.ka[0]=a;d.ka[1]=c;d.ka[2]=f;d.ka[3]=1;this.Vb=!1};h.prototype.qz=function(){this.yc(0)};h.prototype.bz=function(){this.yc(2)};h.prototype.Vy=function(){this.Ff();this.L.flush()};var n=[],g={};h.prototype.$v=function(){K(n);g={}};h.prototype.Pc=function(a,c,f,d,b){c=!!c;f=!!f;var k=a.src+","+c+","+f+(c?","+b:""),m=null;if("undefined"!==typeof a.src&&g.hasOwnProperty(k))return m=
g[k],m.Vj++,m;this.Ff();var u=this.L,q=ja(a.width)&&ja(a.height),m=u.createTexture();u.bindTexture(u.TEXTURE_2D,m);u.pixelStorei(u.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var e=u.RGBA,l=u.RGBA,p=u.UNSIGNED_BYTE;if(d&&!this.qc)switch(d){case 1:l=e=u.RGB;break;case 2:p=u.UNSIGNED_SHORT_4_4_4_4;break;case 3:p=u.UNSIGNED_SHORT_5_5_5_1;break;case 4:l=e=u.RGB,p=u.UNSIGNED_SHORT_5_6_5}if(!q&&c){d=document.createElement("canvas");d.width=ka(a.width);d.height=ka(a.height);var t=d.getContext("2d");t.webkitImageSmoothingEnabled=
f;t.mozImageSmoothingEnabled=f;t.msImageSmoothingEnabled=f;t.imageSmoothingEnabled=f;t.drawImage(a,0,0,a.width,a.height,0,0,d.width,d.height);u.texImage2D(u.TEXTURE_2D,0,e,l,p,d)}else u.texImage2D(u.TEXTURE_2D,0,e,l,p,a);c?"repeat-x"===b?(u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_S,u.REPEAT),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_T,u.CLAMP_TO_EDGE)):("repeat-y"===b?u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_S,u.CLAMP_TO_EDGE):u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_S,u.REPEAT),u.texParameteri(u.TEXTURE_2D,
u.TEXTURE_WRAP_T,u.REPEAT)):(u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_S,u.CLAMP_TO_EDGE),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_T,u.CLAMP_TO_EDGE));f?(u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MAG_FILTER,u.LINEAR),q&&this.yq?(u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MIN_FILTER,u.LINEAR_MIPMAP_LINEAR),u.generateMipmap(u.TEXTURE_2D)):u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MIN_FILTER,u.LINEAR)):(u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MAG_FILTER,u.NEAREST),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MIN_FILTER,
u.NEAREST));u.bindTexture(u.TEXTURE_2D,null);this.Uf=null;m.ud=a.width;m.td=a.height;m.Vj=1;m.mq=k;n.push(m);return g[k]=m};h.prototype.Xc=function(a,c,f){var d;this.Ff();var b=this.L;this.qc&&(d=!1);var k=b.createTexture();b.bindTexture(b.TEXTURE_2D,k);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,a,c,0,b.RGBA,d?b.UNSIGNED_SHORT_4_4_4_4:b.UNSIGNED_BYTE,null);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,
b.TEXTURE_MAG_FILTER,f?b.LINEAR:b.NEAREST);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,f?b.LINEAR:b.NEAREST);b.bindTexture(b.TEXTURE_2D,null);this.Uf=null;k.ud=a;k.td=c;n.push(k);return k};h.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Vj&&1<a.Vj?a.Vj--:(this.Ff(),a===this.Uf&&(this.L.bindTexture(this.L.TEXTURE_2D,null),this.Uf=null),a===this.Vf&&(this.L.activeTexture(this.L.TEXTURE1),this.L.bindTexture(this.L.TEXTURE_2D,null),this.L.activeTexture(this.L.TEXTURE0),this.Vf=
null),Fa(n,a),"undefined"!==typeof a.mq&&delete g[a.mq],this.L.deleteTexture(a)))};h.prototype.gd=function(a){if(a!==this.wl){var c=this.Fc();c.type=6;this.wl=c.kd=a;this.Vb=!1}};pb=h})();
(function(){function h(){return"undefined"!==typeof jQuery?jQuery(window).width():window.innerWidth}function r(){return"undefined"!==typeof jQuery?jQuery(window).height():window.innerHeight}function e(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var d=this;this.Oc=(this.wi=/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.Nb=!!a.dc;this.br="undefined"!==typeof window.AppMobi||this.Nb;this.Nc=!!window.c2cocoonjs;this.bd=!!window.c2ejecta;this.Nc&&(CocoonJS.App.onSuspended.addEventListener(function(){d.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){d.setSuspended(!1)}));this.bd&&(document.addEventListener("pagehide",function(){d.setSuspended(!0)}),document.addEventListener("pageshow",
function(){d.setSuspended(!1)}),document.addEventListener("resize",function(){d.setSize(window.innerWidth,window.innerHeight)}));this.za=this.Nb||this.Nc||this.bd;this.yi=/edge\//i.test(navigator.userAgent);this.qc=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.yi;this.fr=/tizen/i.test(navigator.userAgent);this.Ek=/android/i.test(navigator.userAgent)&&!this.fr&&!this.qc&&!this.yi;this.On=(/iphone/i.test(navigator.userAgent)||
/ipod/i.test(navigator.userAgent))&&!this.qc&&!this.yi;this.lr=/ipad/i.test(navigator.userAgent);this.Vg=this.On||this.lr||this.bd;this.ty=this.On&&/os\s6/i.test(navigator.userAgent);this.vi=(/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent))&&!this.qc&&!this.yi;this.Hn=/amazonwebappplatform/i.test(navigator.userAgent);this.jy=/firefox/i.test(navigator.userAgent);this.er=/safari/i.test(navigator.userAgent)&&!this.vi&&!this.qc&&!this.yi;this.qy=/windows/i.test(navigator.userAgent);
this.oy=this.Rd="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.hr=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.ir=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.se=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Mn=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);
this.gr=!!window.cr_windows10;this.Ik=this.hr||this.ir||this.Mn||this.gr;this.iy=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Fk=this.Ek&&!this.vi&&!this.wi&&!this.jy&&!this.Hn&&!this.za;this.devicePixelRatio=1;this.Of=this.Oc||this.wi||this.br||this.Nc||this.Ek||this.Vg||this.se||this.Mn||this.iy||this.fr||this.bd;this.Of||(this.Of=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===
typeof cr_is_preview||this.Rd||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.Rd=!0);this.canvas=a;this.oq=document.getElementById("c2canvasdiv");this.B=this.L=null;this.wn="(unavailable)";this.Ja=!1;this.Ef=0;this.Ea=null;this.gn="";this.rk=!1;this.$r=this.as=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};
this.Nb&&(window.c2runtime=this);this.Rd&&(window.ondragover=function(a){a.preventDefault();return!1},window.ondrop=function(a){a.preventDefault();return!1},require("nw.gui").App.clearCache());this.Fk&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.V=this.width;this.U=this.height;this.dk=this.width;this.Yh=this.height;this.Li=window.innerWidth;this.Ki=window.innerHeight;this.ux=!1;this.ma=!0;this.Bi=!1;Date.now||(Date.now=
function(){return+new Date});this.plugins=[];this.types={};this.D=[];this.cb=[];this.$g={};this.zd=[];this.Wm={};this.me=[];this.Hh=[];this.Tl=[];this.Nv=[];this.Ov=[];this.mr=this.ep=null;this.Df={};this.Jn=this.bf=!1;this.xd=0;this.In=this.Ln=!1;this.vd=[];this.Hk=!1;this.te=this.Yb=this.Qk=this.So="";this.rj=this.Us=!1;this.Xe=this.We=0;this.Rr=30;this.Lm=this.Ui=0;this.rg=1;this.Fb=new bb;this.Ie=new bb;this.dl=this.vk=this.ci=this.qg=this.Xf=this.dn=this.Nk=0;this.Th=null;this.kk=[];this.Vm=
[];this.nk=-1;this.co=[[]];this.mp=this.Vk=0;this.sl(null);this.fo=[];this.Xk=-1;this.Vr=this.Xi=0;this.Vn=!0;this.ei=0;this.sj=[];this.ip=this.Ho=-1;this.Ei=!0;this.ah=0;this.Ai=!1;this.sz=0;this.yg=null;this.Ya=this.Ak=!1;this.Zr=new ca;this.no=new ca;this.oo=new ca;this.hj=[];this.Dd=new hb([]);this.hp=new hb([]);this.xg=[];this.ni={};this.Bg={};this.wg={};this.Gh={};this.iq={};this.sr=this.Pk=this.ib=this.yb=this.rr=this.Ok=this.Ba=null;this.Eh=this.Nn=!1;this.hn=[null,null];this.If=0;this.an=
"";this.ye={};this.pj=this.ff=null;this.Ws="";this.cl=[];this.az()}}function q(a,d){return 128>=d?a[3]:256>=d?a[2]:512>=d?a[1]:a[0]}function t(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function n(a,d,b,l){var c=indexedDB.open("_C2SaveStates");c.onupgradeneeded=t;c.onerror=l;c.onsuccess=function(c){c=c.target.result;c.onerror=l;c.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:d}).onsuccess=b}}function g(a,d,b){var l=indexedDB.open("_C2SaveStates");l.onupgradeneeded=
t;l.onerror=b;l.onsuccess=function(l){l=l.target.result;l.onerror=b;var c=l.transaction(["saves"]).objectStore("saves").get(a);c.onsuccess=function(){c.result?d(c.result.data):d(null)}}}function a(){ea("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location=window.location+"?continuous"}function c(a){var d,b={};for(d in a)!a.hasOwnProperty(d)||a[d]instanceof ca||a[d]&&"undefined"!==typeof a[d].xA||
(b[d]=a[d]);return b}var f=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;e.prototype.az=function(){var a=this,d;this.se?d=new ActiveXObject("Microsoft.XMLHTTP"):d=new XMLHttpRequest;var b="data.js";if(this.hr||this.se||this.Mn||this.gr)b="data.json";d.open("GET",b,!0);var l=!1;if(!this.za&&"response"in d&&"responseType"in d)try{d.responseType="json",l="json"===d.responseType}catch(c){l=
!1}if(!l&&"responseType"in d)try{d.responseType="text"}catch(k){}if("overrideMimeType"in d)try{d.overrideMimeType("application/json; charset=utf-8")}catch(m){}this.se?d.onreadystatechange=function(){4===d.readyState&&a.Sk(JSON.parse(d.responseText))}:(d.onload=function(){if(l)a.Sk(d.response);else if(a.bd){var b=d.responseText,b=b.substr(b.indexOf("{"));a.Sk(JSON.parse(b))}else a.Sk(JSON.parse(d.responseText))},d.onerror=function(a){fa("Error requesting "+b+":");fa(a)});d.send()};e.prototype.hy=function(){var a=
this,d,b,l,c,k,m,f,p,g;this.cf=(!this.za||this.bd)&&this.Ez&&!this.Fk;0===this.fc&&this.Vg&&(this.cf=!1);this.devicePixelRatio=this.cf?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.Rb();b=!(!this.ux&&(!this.vm||this.Rd||this.Ik||this.se||this.wi||this.Oc||this.Hn));0<this.fc&&this.setSize(h(),r(),!0);try{this.Hw&&(this.Nc||this.bd||!this.za)&&(d={alpha:b,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.L=this.canvas.getContext("webgl",
d)||this.canvas.getContext("experimental-webgl",d))}catch(u){}if(this.L){if(d=this.L.getExtension("WEBGL_debug_renderer_info"))this.wn=this.L.getParameter(d.UNMASKED_RENDERER_WEBGL)+" ["+this.L.getParameter(d.UNMASKED_VENDOR_WEBGL)+"]";this.Ja&&(this.wn+=" [front-to-back enabled]");this.za||(this.Ob=document.createElement("canvas"),jQuery(this.Ob).appendTo(this.canvas.parentNode),this.Ob.oncontextmenu=function(){return!1},this.Ob.onselectstart=function(){return!1},this.Ob.width=Math.round(this.dk*
this.devicePixelRatio),this.Ob.height=Math.round(this.Yh*this.devicePixelRatio),jQuery(this.Ob).css({width:this.dk+"px",height:this.Yh+"px"}),this.xs(),this.Bo=this.Ob.getContext("2d"));this.B=new pb(this.L,this.Of,this.Ja);this.B.kg(this.canvas.width,this.canvas.height);this.B.yq=0!==this.Aw;this.Ea=null;this.canvas.addEventListener("webglcontextlost",function(d){d.preventDefault();a.Iy();ea("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",
function(){a.B.Uq();a.B.kg(a.B.width,a.B.height,!0);a.yb=null;a.ib=null;a.hn[0]=null;a.hn[1]=null;a.Jy();a.ma=!0;ea("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);d=0;for(b=this.D.length;d<b;d++)for(k=this.D[d],l=0,c=k.ca.length;l<c;l++)f=k.ca[l],f.mb=this.B.sn(f.id),f.Bd=this.B.Eo(f.mb),this.Eh=this.Eh||this.B.cj(f.mb);d=0;for(b=this.zd.length;d<b;d++){p=this.zd[d];l=0;for(c=p.ca.length;l<c;l++)f=p.ca[l],f.mb=this.B.sn(f.id),f.Bd=this.B.Eo(f.mb);p.Fd();l=0;for(c=p.fa.length;l<
c;l++){g=p.fa[l];k=0;for(m=g.ca.length;k<m;k++)f=g.ca[k],f.mb=this.B.sn(f.id),f.Bd=this.B.Eo(f.mb),this.Eh=this.Eh||this.B.cj(f.mb);g.Fd()}}}else{if(0<this.fc&&this.Nb){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Ea=AppMobi.canvas.getContext("2d");try{this.Ea.samplingMode=this.da?"smooth":"sharp",this.Ea.globalScale=1,this.Ea.HTML5CompatibilityMode=!0,this.Ea.imageSmoothingEnabled=this.da}catch(q){}0!==this.width&&0!==this.height&&
(this.Ea.width=this.width,this.Ea.height=this.height)}this.Ea||(this.Nc?(d={antialias:!!this.da,alpha:b},this.Ea=this.canvas.getContext("2d",d)):(d={alpha:b},this.Ea=this.canvas.getContext("2d",d)),this.Ea.webkitImageSmoothingEnabled=this.da,this.Ea.mozImageSmoothingEnabled=this.da,this.Ea.msImageSmoothingEnabled=this.da,this.Ea.imageSmoothingEnabled=this.da);this.Bo=this.Ob=null}this.dt=function(d){a.Qa(!1,d)};window==window.top||this.za||this.Ik||this.se||(document.addEventListener("mousedown",
function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Nc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ea("Reloading for continuous preview"),this.Qk="__c2_continuouspreview",this.rj=!0),this.Oy&&!this.Of&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){a.setSuspended(!0)})));window.addEventListener("blur",
function(){a.hg()});this.za||(d=function(a){if(ob(a)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(d){}},window.navigator.pointerEnabled?document.addEventListener("pointerdown",d):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",d):document.addEventListener("touchstart",d),document.addEventListener("mousedown",d));0===this.fc&&this.cf&&1<this.devicePixelRatio&&
this.setSize(this.Pa,this.Ma,!0);this.kt();this.Zx();this.go();this.Z={}};e.prototype.setSize=function(a,d,b){var l=0,c=0,k=0,m=0,m=0,f=this.ty&&this.er&&!navigator.standalone&&!this.za&&!this.Oc;f&&(d+=60);if(this.Li!==a||this.Ki!==d||b){this.Li=a;this.Ki=d;var p=this.fc,g=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.Ai)&&!this.Oc;if(g||0!==this.fc||b)g&&0<this.If&&(p=this.If),b=this.devicePixelRatio,4<=p?(k=this.Pa/this.Ma,a/d>k?
(k*=d,5===p?(m=k*b/this.Pa,1<m?m=Math.floor(m):1>m&&(m=1/Math.ceil(1/m)),k=this.Pa*m/b,m=this.Ma*m/b,l=(a-k)/2,c=(d-m)/2,a=k,d=m):(l=(a-k)/2,a=k)):(m=a/k,5===p?(m=m*b/this.Ma,1<m?m=Math.floor(m):1>m&&(m=1/Math.ceil(1/m)),k=this.Pa*m/b,m=this.Ma*m/b,l=(a-k)/2,c=(d-m)/2,a=k):c=(d-m)/2,d=m),g&&!this.Rd&&(c=l=0)):this.Rd&&this.Ai&&0===this.Fq&&(l=Math.floor((a-this.Pa)/2),c=Math.floor((d-this.Ma)/2),a=this.Pa,d=this.Ma),2>p&&(this.Ph=b),this.cf&&this.lr&&1<b&&(1024<=a&&(a=1023),1024<=d&&(d=1023)),this.dk=
Math.round(a),this.Yh=Math.round(d),this.width=Math.round(a*b),this.height=Math.round(d*b),this.ma=!0,this.Bt?(this.V=this.width,this.U=this.height,this.Kc=!0):this.width<this.Pa&&this.height<this.Ma||1===p?(this.V=this.width,this.U=this.height,this.Kc=!0):(this.V=this.Pa,this.U=this.Ma,this.Kc=!1,2===p?(k=this.Pa/this.Ma,p=this.Li/this.Ki,p<k?this.V=this.U*p:p>k&&(this.U=this.V/p)):3===p&&(k=this.Pa/this.Ma,p=this.Li/this.Ki,p>k?this.V=this.U*p:p<k&&(this.U=this.V/p))),this.oq&&!this.za&&(jQuery(this.oq).css({width:Math.round(a)+
"px",height:Math.round(d)+"px","margin-left":Math.floor(l)+"px","margin-top":Math.floor(c)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+"px",height:Math.round(d)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*b),this.canvas.height=Math.round(d*b),this.bd?(this.canvas.style.left=Math.floor(l)+"px",this.canvas.style.top=Math.floor(c)+"px",this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(d)+"px"):this.cf&&!this.za&&(this.canvas.style.width=
Math.round(a)+"px",this.canvas.style.height=Math.round(d)+"px")),this.Ob&&(this.Ob.width=Math.round(a*b),this.Ob.height=Math.round(d*b),this.Ob.style.width=this.dk+"px",this.Ob.style.height=this.Yh+"px"),this.B&&this.B.kg(Math.round(a*b),Math.round(d*b)),this.Nb&&this.Ea&&(this.Ea.width=Math.round(a),this.Ea.height=Math.round(d)),this.Ea&&(this.Ea.webkitImageSmoothingEnabled=this.da,this.Ea.mozImageSmoothingEnabled=this.da,this.Ea.msImageSmoothingEnabled=this.da,this.Ea.imageSmoothingEnabled=this.da),
this.kt(),this.za||!f&&!this.On||window.setTimeout(function(){window.scrollTo(0,1)},100)}};e.prototype.kt=function(){if(this.Sv&&0!==this.zo){var a="portrait";2===this.zo&&(a="landscape");screen.orientation&&screen.orientation.lock?screen.orientation.lock(a):screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a)}};e.prototype.Iy=function(){this.B.$v();
this.Nn=!0;var a,d,b;a=0;for(d=this.D.length;a<d;a++)b=this.D[a],b.Yi&&b.Yi()};e.prototype.Jy=function(){this.Nn=!1;var a,d,b;a=0;for(d=this.D.length;a<d;a++)b=this.D[a],b.Zi&&b.Zi()};e.prototype.xs=function(){if(!this.za){var a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Ai)&&!this.Oc?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.Ob).css(a)}};var d=window.cancelAnimationFrame||window.mozCancelAnimationFrame||
window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;e.prototype.setSuspended=function(a){var b;if(a&&!this.Bi)for(ea("[Construct 2] Suspending"),this.Bi=!0,-1!==this.Ho&&d&&d(this.Ho),-1!==this.ip&&clearTimeout(this.ip),a=0,b=this.sj.length;a<b;a++)this.sj[a](!0);else if(!a&&this.Bi){ea("[Construct 2] Resuming");this.Bi=!1;this.Nk=Ya();this.Xf=Ya();a=this.Ui=this.vk=0;for(b=this.sj.length;a<b;a++)this.sj[a](!1);this.Qa(!1)}};e.prototype.aq=function(a){this.sj.push(a)};
e.prototype.Me=function(a){return this.cl[a]};e.prototype.Sk=function(a){a&&a.project||fa("Project model unavailable");a=a.project;this.name=a[0];this.Dq=a[1];this.fc=a[12];this.Fq=a[12];this.Pa=a[10];this.Ma=a[11];this.rs=this.Pa/2;this.ss=this.Ma/2;this.za&&!this.bd&&(4<=a[12]||0===a[12])&&(ea("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Fq=this.fc=3);this.tp=a[18];this.gf=a[19];if(0===this.gf){var d=new Image;d.crossOrigin=
"anonymous";d.src="loading-logo.png";this.ff={Wk:d}}else if(4===this.gf){d=new Image;d.src="";var b=new Image;b.src="";var l=new Image;l.src="";var c=new Image;c.src="";var k=new Image;k.src="";var m=new Image;m.src="";var p=new Image;p.src="";var f=new Image;f.src="";var g=new Image;g.src="";var u=new Image;u.src="";var q=new Image;q.src="";var n=new Image;n.src="";this.ff={Wk:[d,b,l,c],Sy:[k,m,p,f],Hz:[g,u,q,n]}}this.Xi=a[21];this.cl=nc();this.$d=new U(this);d=0;for(b=a[2].length;d<b;d++)p=a[2][d],
l=this.Me(p[0]),qb(p,l.prototype),f=new l(this),f.Gl=p[1],f.df=p[2],f.Tr=p[9],f.I&&f.I(),this.plugins.push(f);this.cl=nc();d=0;for(b=a[3].length;d<b;d++){p=a[3][d];k=this.Me(p[1]);f=null;l=0;for(c=this.plugins.length;l<c;l++)if(this.plugins[l]instanceof k){f=this.plugins[l];break}g=new f.T(f);g.name=p[0];g.R=p[2];g.Gn=p[3].slice(0);g.Gz=p[3].length;g.Tv=p[4];g.wx=p[5];g.qa=p[11];g.R?(g.fh=[],g.ne=this.ei++,g.Oa=null):(g.fh=null,g.ne=-1,g.Oa=[]);g.pk=null;g.Gg=null;g.zq=null;g.rc=!1;g.Bc=null;p[6]?
(g.uj=p[6][0],g.Ml=p[6][1],g.uf=p[6][2]):(g.uj=null,g.Ml=0,g.uf=0);p[7]?g.pc=p[7]:g.pc=null;g.index=d;g.k=[];g.hk=[];g.rf=[new rb(g)];g.je=0;g.Zc=null;g.hw=0;g.vh=!0;g.Ul=sb;g.Cx=tb;g.Ix=ub;g.X=vb;g.ej=wb;g.mh=xb;g.Ae=yb;g.yk=zb;g.jn=Ab;g.mn=Bb;g.Ic=Cb;g.pn=Db;g.ak=new ib(this.Pa,this.Ma);g.Oj=!0;g.Pj=!1;g.Z={};g.toString=Eb;g.cb=[];l=0;for(c=p[8].length;l<c;l++){u=p[8][l];q=this.Me(u[1]);n=null;k=0;for(m=this.cb.length;k<m;k++)if(this.cb[k]instanceof q){n=this.cb[k];break}n||(n=new q(this),n.bl=
[],n.al=new ca,n.I&&n.I(),this.cb.push(n),fc.rz&&n instanceof fc.rz&&(this.ep=n),fc.vy&&n instanceof fc.vy&&(this.mr=n));-1===n.bl.indexOf(g)&&n.bl.push(g);k=new n.T(n,g);k.name=u[0];k.qa=u[2];k.I();g.cb.push(k)}g.global=p[9];g.Kn=p[10];g.ca=[];l=0;for(c=p[12].length;l<c;l++)g.ca.push({id:p[12][l][0],name:p[12][l][1],mb:-1,Bd:!1,Sb:!0,index:l});g.GA=p[13];this.tp&&!g.R&&!g.Kn&&f.df||g.I();g.name&&(this.types[g.name]=g);this.D.push(g);f.Gl&&(l=new f.N(g),l.uid=this.Xi++,l.Bs=this.Vr++,l.Lf=0,l.li=
Fb,l.toString=Gb,l.A=p[14],l.I(),g.k.push(l),this.ye[l.uid.toString()]=l)}d=0;for(b=a[4].length;d<b;d++)for(k=a[4][d],m=this.D[k[0]],l=1,c=k.length;l<c;l++)p=this.D[k[l]],p.Oa.push(m),m.fh.push(p);d=0;for(b=a[28].length;d<b;d++){k=a[28][d];m=[];l=0;for(c=k.length;l<c;l++)m.push(this.D[k[l]]);l=0;for(c=m.length;l<c;l++)m[l].rc=!0,m[l].Bc=m}if(0<this.ei)for(d=0,b=this.D.length;d<b;d++)if(p=this.D[d],!p.R&&p.Oa.length){p.pk=Array(this.ei);p.Gg=Array(this.ei);p.zq=Array(this.ei);g=[];l=n=q=u=0;for(c=
p.Oa.length;l<c;l++)for(f=p.Oa[l],p.pk[f.ne]=u,u+=f.Gz,p.Gg[f.ne]=q,q+=f.Tv,p.zq[f.ne]=n,n+=f.wx,k=0,m=f.ca.length;k<m;k++)g.push(xa({},f.ca[k]));p.ca=g.concat(p.ca);l=0;for(c=p.ca.length;l<c;l++)p.ca[l].index=l}d=0;for(b=a[5].length;d<b;d++)p=a[5][d],l=new Hb(this,p),this.$g[l.name]=l,this.zd.push(l);d=0;for(b=a[6].length;d<b;d++)p=a[6][d],l=new Ib(this,p),this.Wm[l.name]=l,this.me.push(l);d=0;for(b=this.me.length;d<b;d++)this.me[d].bb();d=0;for(b=this.me.length;d<b;d++)this.me[d].pp();d=0;for(b=
this.Tl.length;d<b;d++)this.Tl[d].bb();K(this.Tl);this.Rv=a[7];this.an=a[8];this.Rc=a[9];this.Ph=1;this.Hw=a[13];this.da=a[14];this.vm=a[15];this.Ez=a[17];this.zo=a[20];this.Sv=0<this.zo;this.Oy=a[22];this.Kc=this.Bt=a[23];this.Aw=a[24];this.Ty=a[25];this.Ja=a[27]&&!this.qc;this.Hl=Date.now();K(this.cl);this.hy()};var b=!1;e.prototype.Zl=function(a,d){a.cocoonLazyLoad=!0;a.onerror=function(d){b=a.lq=!0;console&&console.error&&console.error("Error loading image '"+a.src+"': ",d)};this.bd?a.src=d:a.src||
("undefined"!==typeof XAPKReader?XAPKReader.get(d,function(d){a.src=d},function(l){b=a.lq=!0;console&&console.error&&console.error("Error extracting image '"+d+"' from expansion file: ",l)}):(a.crossOrigin="anonymous",a.src=d));this.Hh.push(a)};e.prototype.tx=function(a){var d,b;d=0;for(b=this.Hh.length;d<b;d++)if(this.Hh[d].aw===a)return this.Hh[d];return null};var k=0,m=!1;e.prototype.Zx=function(){this.yg&&(k=this.yg.oz(this.Rv))};e.prototype.gq=function(){var a=k,d=0,b=0,l=!0,c,p,b=0;for(c=this.Hh.length;b<
c;b++){p=this.Hh[b];var f=p.Mm;if(!f||0>=f)f=5E4;a+=f;p.src&&(p.complete||p.loaded)&&!p.lq?d+=f:l=!1}l&&this.Ty&&this.yg&&(m||(this.yg.uz(),m=!0),b=this.yg.Jx(),d+=b,b<k&&(l=!1));this.vc=0==a?1:d/a;return l};var u=!1;e.prototype.go=function(){if(this.Ea||this.B){var a=this.Ea||this.Bo;this.Ob&&this.xs();this.vc=0;this.qr=-1;var d=this;if(this.gq()&&(4!==this.gf||u))this.$x();else{var l=Date.now()-this.Hl;if(a){var c=this.width,k=this.height,p=this.devicePixelRatio;if(3>this.gf&&(this.Nc||500<=l&&
this.qr!=this.vc)){a.clearRect(0,0,c,k);var l=c/2,k=k/2,c=0===this.gf&&this.ff.Wk.complete,m=40*p,g=0,n=80*p,q;if(c){var e=this.ff.Wk,n=e.width*p;q=e.height*p;m=n/2;g=q/2;a.drawImage(e,z(l-m),z(k-g),n,q)}1>=this.gf?(l=z(l-m)+.5,k=z(k+(g+(c?12*p:0)))+.5,a.fillStyle=b?"red":"DodgerBlue",a.fillRect(l,k,Math.floor(n*this.vc),6*p),a.strokeStyle="black",a.strokeRect(l,k,n,6*p),a.strokeStyle="white",a.strokeRect(l-1*p,k-1*p,n+2*p,8*p)):2===this.gf&&(a.font=this.bd?"12pt ArialMT":"12pt Arial",a.fillStyle=
b?"#f00":"#999",a.FA="middle",p=Math.round(100*this.vc)+"%",c=a.measureText?a.measureText(p):null,a.fillText(p,l-(c?c.width:0)/2,k));this.qr=this.vc}else if(4===this.gf){this.Fw(a);f?f(function(){d.go()}):setTimeout(function(){d.go()},16);return}}setTimeout(function(){d.go()},this.Nc?10:100)}}};var J=-1,A="undefined"===typeof cr_is_preview?200:0,l=!0,p=!1,R=0,x=0,X="undefined"===typeof cr_is_preview?3E3:0,N=null,G=null,y=0;e.prototype.Fw=function(a){if(!u){for(var d=Math.ceil(this.width),c=Math.ceil(this.height),
k=this.ff.Wk,m=this.ff.Sy,f=this.ff.Hz,g=0;4>g;++g)if(!k[g].complete||!m[g].complete||!f[g].complete)return;0===y&&(J=Date.now());var g=Date.now(),n=!1,e=a,t,h;l||p?(a.clearRect(0,0,d,c),N&&N.width===d&&N.height===c||(N=document.createElement("canvas"),N.width=d,N.height=c,G=N.getContext("2d")),e=G,n=!0,l&&1===y&&(J=Date.now())):a.globalAlpha=1;e.fillStyle="#333333";e.fillRect(0,0,d,c);256<this.Yh?(t=Ga(.22*c,105,.6*d),h=.25*t,e.drawImage(q(m,t),.5*d-t/2,.2*c-h/2,t,h),h=t=Math.min(.395*c,.95*d),e.drawImage(q(k,
t),.5*d-t/2,.485*c-h/2,t,h),t=Ga(.22*c,105,.6*d),h=.25*t,e.drawImage(q(f,t),.5*d-t/2,.868*c-h/2,t,h),e.fillStyle="#3C3C3C",t=d,h=Math.max(.005*c,2),e.fillRect(0,.8*c-h/2,t,h),e.fillStyle=b?"red":"#E0FF65",t=d*this.vc,e.fillRect(.5*d-t/2,.8*c-h/2,t,h)):(h=t=.55*c,e.drawImage(q(k,t),.5*d-t/2,.45*c-h/2,t,h),e.fillStyle="#3C3C3C",t=d,h=Math.max(.005*c,2),e.fillRect(0,.85*c-h/2,t,h),e.fillStyle=b?"red":"#E0FF65",t=d*this.vc,e.fillRect(.5*d-t/2,.85*c-h/2,t,h));n&&(l?a.globalAlpha=0===y?0:Math.min((g-J)/
300,1):p&&(a.globalAlpha=Math.max(1-(g-x)/300,0)),a.drawImage(N,0,0,d,c));l&&300<=g-J&&2<=y&&(l=!1,R=g);!l&&g-R>=X&&!p&&1<=this.vc&&(p=!0,x=g);if(p&&g-x>=300+A||"undefined"!==typeof cr_is_preview&&1<=this.vc&&500>Date.now()-J)u=!0,p=l=!1,this.ff=G=N=null;++y}};e.prototype.$x=function(){this.Ob&&(this.canvas.parentNode.removeChild(this.Ob),this.Ob=this.Bo=null);this.Hl=Date.now();this.Xf=Ya();var a,d,b;if(this.tp)for(a=0,d=this.D.length;a<d;a++)b=this.D[a],b.R||b.Kn||!b.Aa.df||b.I();else this.Ei=!1;
a=0;for(d=this.zd.length;a<d;a++)this.zd[a].bw();2<=this.fc&&(a=this.Pa/this.Ma,d=this.width/this.height,this.Ph=2!==this.fc&&d>a||2===this.fc&&d<a?this.height/this.Ma:this.width/this.Pa);this.Dq?this.$g[this.Dq].fp():this.zd[0].fp();this.tp||(this.ah=1,this.trigger(U.prototype.m.Mp,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(d=this.D.length;a<d;a++)b=this.D[a],b.Hy&&b.Hy();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?
window.cr_setSuspended(!0):this.Qa(!1);this.Nb&&AppMobi.webview.execute("onGameReady();")};e.prototype.Qa=function(a,d,b){if(this.Ba){var l=Ya();if(b||!this.Bi||a){a||(f?this.Ho=f(this.dt):this.ip=setTimeout(this.dt,this.Of?1:16));d=d||l;var c=this.fc;((b=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Oc)||this.Ai)&&0<this.If&&(c=this.If);0<c&&(!this.Vg||window.self!==window.top)&&(c=window.innerHeight,this.Li===window.innerWidth&&
this.Ki===c||this.setSize(h(),r()));this.za||(b?(this.rk||(this.gn=jQuery(this.canvas).css("margin")||"0",this.rk=!0),this.vi||this.Rd||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.rk?(this.vi||this.Rd||jQuery(this.canvas).css("margin",this.gn),this.gn="",this.rk=!1,0===this.fc&&this.setSize(Math.round(this.as/this.devicePixelRatio),Math.round(this.$r/
this.devicePixelRatio),!0)):(this.as=this.width,this.$r=this.height));this.Ei&&(b=this.gq(),this.ah=this.vc,b&&(this.Ei=!1,this.vc=1,this.trigger(U.prototype.m.Mp,null)));this.Ay(d);!this.ma&&!this.Nc||this.Nn||this.rj||a||(this.ma=!1,this.B?this.ec():this.Md(),this.pj&&(this.canvas&&this.canvas.toDataURL&&(this.Ws=this.canvas.toDataURL(this.pj[0],this.pj[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.Ws),this.trigger(U.prototype.m.ru,null)),this.pj=null));this.zA||(this.qg++,this.ci++,this.vk++);
this.Ui+=Ya()-l}}};e.prototype.Ay=function(a){var d,b,l,c,k,p,m,f;1E3<=a-this.Xf&&(this.Xf+=1E3,1E3<=a-this.Xf&&(this.Xf=a),this.dn=this.vk,this.vk=0,this.Lm=this.Ui,this.Ui=0);0!==this.Nk&&(d=a-this.Nk,0>d&&(d=0),this.Xe=d/1E3,.5<this.Xe?this.Xe=0:this.Xe>1/this.Rr&&(this.Xe=1/this.Rr));this.Nk=a;this.We=this.Xe*this.rg;this.Fb.add(this.We);this.Ie.add(this.Xe);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Ai)&&!this.Oc;2<=this.fc||
a&&0<this.If?(d=this.Pa/this.Ma,b=this.width/this.height,l=this.fc,a&&0<this.If&&(l=this.If),this.Ph=2!==l&&b>d||2===l&&b<d?this.height/this.Ma:this.width/this.Pa,this.Ba&&(this.Ba.To(this.Ba.scrollX),this.Ba.Uo(this.Ba.scrollY))):this.Ph=this.cf?this.devicePixelRatio:1;this.Rb();this.xd++;this.$d.ez();this.xd--;this.Rb();this.xd++;b=this.Zr.Hd();a=0;for(d=b.length;a<d;a++)b[a].DA();a=0;for(d=this.D.length;a<d;a++)if(p=this.D[a],!p.R&&(p.cb.length||p.Oa.length))for(b=0,l=p.k.length;b<l;b++)for(m=
p.k[b],c=0,k=m.W.length;c<k;c++)m.W[c].Qa();a=0;for(d=this.D.length;a<d;a++)if(p=this.D[a],!p.R&&(p.cb.length||p.Oa.length))for(b=0,l=p.k.length;b<l;b++)for(m=p.k[b],c=0,k=m.W.length;c<k;c++)f=m.W[c],f.ys&&f.ys();b=this.no.Hd();a=0;for(d=b.length;a<d;a++)b[a].Qa();this.xd--;this.ay();for(a=0;this.Th&&10>a++;)this.wq(this.Th);a=0;for(d=this.me.length;a<d;a++)this.me[a].zn=!1;this.Ba.Gf&&this.Ba.Gf.lb();K(this.hj);this.Vn=!1;this.xd++;a=0;for(d=this.D.length;a<d;a++)if(p=this.D[a],!p.R&&(p.cb.length||
p.Oa.length))for(b=0,l=p.k.length;b<l;b++)for(m=p.k[b],c=0,k=m.W.length;c<k;c++)f=m.W[c],f.Ol&&f.Ol();b=this.oo.Hd();a=0;for(d=b.length;a<d;a++)b[a].Ol();this.xd--};e.prototype.hg=function(){var a,d,b,l,c,k,p,m,f;a=0;for(d=this.D.length;a<d;a++)if(p=this.D[a],!p.R)for(b=0,l=p.k.length;b<l;b++)if(m=p.k[b],m.hg&&m.hg(),m.W)for(c=0,k=m.W.length;c<k;c++)f=m.W[c],f.hg&&f.hg()};e.prototype.wq=function(a){var d=this.Ba;this.Ba.vz();var b,l,c,k,p,m,f;if(this.B)for(b=0,l=this.D.length;b<l;b++)p=this.D[b],
p.R||!p.xj||p.global&&0!==p.k.length||-1!==a.ri.indexOf(p)||p.xj();d==a&&K(this.$d.zc);K(this.hj);a.fp();b=0;for(l=this.D.length;b<l;b++)if(p=this.D[b],p.global||p.Aa.Gl)for(a=0,d=p.k.length;a<d;a++)if(m=p.k[a],m.to&&m.to(),m.W)for(c=0,k=m.W.length;c<k;c++)f=m.W[c],f.to&&f.to();this.Vn=this.ma=!0;this.Rb()};e.prototype.Ah=function(a){this.no.add(a)};e.prototype.xz=function(a){this.oo.add(a)};e.prototype.$e=function(a){return a&&-1!==a.hh?this.Xe*a.hh:this.We};e.prototype.Md=function(){this.Ba.Md(this.Ea);
this.Nb&&this.Ea.present()};e.prototype.ec=function(){this.Ja&&(this.Ef=1,this.Ba.Ve(this.B));this.Ba.ec(this.B);this.B.Vy()};e.prototype.um=function(a){a&&this.kk.push(a)};e.prototype.$y=function(a){Fa(this.kk,a)};e.prototype.Kg=function(a){a=a.toString();return this.ye.hasOwnProperty(a)?this.ye[a]:null};var I=[];e.prototype.Le=function(a){var d,b;d=a.type.name;var l=null;if(this.Df.hasOwnProperty(d)){if(l=this.Df[d],l.contains(a))return}else l=I.length?I.pop():new ca,this.Df[d]=l;l.add(a);this.bf=
!0;if(a.rc)for(d=0,b=a.siblings.length;d<b;d++)this.Le(a.siblings[d]);this.Jn&&l.Fh.push(a);this.In||(this.xd++,this.trigger(Object.getPrototypeOf(a.type.Aa).m.Hp,a),this.xd--)};e.prototype.Rb=function(){if(this.bf){var a,d,b,l,c,k;this.Jn=!0;b=0;for(c=this.vd.length;b<c;++b)for(a=this.vd[b],d=a.type,d.k.push(a),l=0,k=d.Oa.length;l<k;++l)d.Oa[l].k.push(a),d.Oa[l].vh=!0;K(this.vd);this.iu();Xa(this.Df);this.bf=this.Jn=!1}};e.prototype.iu=function(){for(var a in this.Df)this.Df.hasOwnProperty(a)&&this.Kt(this.Df[a])};
e.prototype.Kt=function(a){var d=a.Hd(),b=d[0].type,l,c,k,p,m,f;Za(b.k,a);b.vh=!0;0===b.k.length&&(b.Pj=!1);l=0;for(c=b.Oa.length;l<c;++l)f=b.Oa[l],Za(f.k,a),f.vh=!0;l=0;for(c=this.$d.zc.length;l<c;++l)if(m=this.$d.zc[l],m.lc.hasOwnProperty(b.index)&&Za(m.lc[b.index].qe,a),!b.R)for(k=0,p=b.Oa.length;k<p;++k)f=b.Oa[k],m.lc.hasOwnProperty(f.index)&&Za(m.lc[f.index].qe,a);if(m=d[0].u){if(m.Uc)for(k=m.k,l=0,c=k.length;l<c;++l)p=k[l],a.contains(p)&&(p.na(),m.Pb.update(p,p.wc,null),p.wc.set(0,0,-1,-1));
Za(m.k,a);m.mj(0)}for(l=0;l<d.length;++l)this.Jt(d[l],b);a.clear();I.push(a);this.ma=!0};e.prototype.Jt=function(a,d){var b,l,c;b=0;for(l=this.kk.length;b<l;++b)this.kk[b](a);a.Te&&d.ak.update(a,a.Te,null);(b=a.u)&&b.oh(a,!0);if(a.W)for(b=0,l=a.W.length;b<l;++b)c=a.W[b],c.lf&&c.lf(),c.behavior.al.remove(a);this.Zr.remove(a);this.no.remove(a);this.oo.remove(a);a.lf&&a.lf();this.ye.hasOwnProperty(a.uid.toString())&&delete this.ye[a.uid.toString()];this.dl--;100>d.hk.length&&d.hk.push(a)};e.prototype.sq=
function(a,d,b,l){if(a.R){var c=z(Math.random()*a.fh.length);return this.sq(a.fh[c],d,b,l)}return a.Zc?this.Ue(a.Zc,d,!1,b,l,!1):null};var w=[];e.prototype.Ue=function(a,d,b,l,c,k){var p,m,f,g;if(!a)return null;var u=this.D[a[1]],n=u.Aa.df;if(this.Ei&&n&&!u.Kn||n&&!this.B&&11===a[0][11])return null;var q=d;n||(d=null);var e;u.hk.length?(e=u.hk.pop(),e.Gc=!0,u.Aa.N.call(e,u)):(e=new u.Aa.N(u),e.Gc=!1);!b||k||this.ye.hasOwnProperty(a[2].toString())?e.uid=this.Xi++:e.uid=a[2];this.ye[e.uid.toString()]=
e;e.Bs=this.Vr++;e.Lf=u.k.length;p=0;for(m=this.vd.length;p<m;++p)this.vd[p].type===u&&e.Lf++;e.li=Fb;e.toString=Gb;f=a[3];if(e.Gc)Xa(e.Z);else{e.Z={};if("undefined"!==typeof cr_is_preview)for(e.Xq=[],e.Xq.length=f.length,p=0,m=f.length;p<m;p++)e.Xq[p]=f[p][1];e.xb=[];e.xb.length=f.length}p=0;for(m=f.length;p<m;p++)e.xb[p]=f[p][0];if(n){var t=a[0];e.x=ga(l)?t[0]:l;e.y=ga(c)?t[1]:c;e.z=t[2];e.width=t[3];e.height=t[4];e.depth=t[5];e.n=t[6];e.opacity=t[7];e.Wb=t[8];e.Xb=t[9];e.Tb=t[10];p=t[11];!this.B&&
u.ca.length&&(e.Tb=p);e.Uh=kb(e.Tb);this.L&&lb(e,e.Tb,this.L);if(e.Gc){p=0;for(m=t[12].length;p<m;p++)for(f=0,g=t[12][p].length;f<g;f++)e.Ta[p][f]=t[12][p][f];e.ja.set(0,0,0,0);e.Te.set(0,0,-1,-1);e.wc.set(0,0,-1,-1);e.cc.sh(e.ja);K(e.zm)}else{e.Ta=t[12].slice(0);p=0;for(m=e.Ta.length;p<m;p++)e.Ta[p]=t[12][p].slice(0);e.ya=[];e.Ne=[];e.Ne.length=u.ca.length;e.ja=new ta(0,0,0,0);e.Te=new ta(0,0,-1,-1);e.wc=new ta(0,0,-1,-1);e.cc=new ua;e.zm=[];e.G=Jb;e.wA=Lb;e.tb=Mb;e.na=Nb;e.Dz=Ob;e.ut=Pb;e.Pd=Qb}e.Bh=
!1;e.Az=0;e.zz=0;e.yz=null;14===t.length&&(e.Bh=!0,e.Az=t[13][0],e.zz=t[13][1],e.yz=t[13][2]);p=0;for(m=u.ca.length;p<m;p++)e.Ne[p]=!0;e.De=!0;e.Fd=Rb;e.Fd();e.yt=!!e.ya.length;e.ym=!0;e.Fm=!0;u.Oj=!0;e.visible=!0;e.hh=-1;e.u=d;e.Id=d.k.length;e.Ef=0;"undefined"===typeof e.ra&&(e.ra=null);this.ma=e.Kd=!0}var h;K(w);p=0;for(m=u.Oa.length;p<m;p++)w.push.apply(w,u.Oa[p].cb);w.push.apply(w,u.cb);if(e.Gc)for(p=0,m=w.length;p<m;p++){var R=w[p];h=e.W[p];h.Gc=!0;R.behavior.N.call(h,R,e);t=a[4][p];f=0;for(g=
t.length;f<g;f++)h.A[f]=t[f];h.I();R.behavior.al.add(e)}else for(e.W=[],p=0,m=w.length;p<m;p++)R=w[p],h=new R.behavior.N(R,e),h.Gc=!1,h.A=a[4][p].slice(0),h.I(),e.W.push(h),R.behavior.al.add(e);t=a[5];if(e.Gc)for(p=0,m=t.length;p<m;p++)e.A[p]=t[p];else e.A=t.slice(0);this.vd.push(e);this.bf=!0;d&&(d.Oh(e,!0),1!==d.tc||1!==d.uc)&&(u.Pj=!0);this.dl++;if(u.rc){if(e.rc=!0,e.Gc?K(e.siblings):e.siblings=[],!b&&!k){p=0;for(m=u.Bc.length;p<m;p++)if(u.Bc[p]!==u){if(!u.Bc[p].Zc)return null;e.siblings.push(this.Ue(u.Bc[p].Zc,
q,!1,n?e.x:l,n?e.y:c,!0))}p=0;for(m=e.siblings.length;p<m;p++)for(e.siblings[p].siblings.push(e),f=0;f<m;f++)p!==f&&e.siblings[p].siblings.push(e.siblings[f])}}else e.rc=!1,e.siblings=null;e.I();p=0;for(m=e.W.length;p<m;p++)e.W[p].Ry&&e.W[p].Ry();return e};e.prototype.gi=function(a){var d,b;d=0;for(b=this.Ba.fa.length;d<b;d++){var l=this.Ba.fa[d];if(nb(l.name,a))return l}return null};e.prototype.pe=function(a){a=z(a);0>a&&(a=0);a>=this.Ba.fa.length&&(a=this.Ba.fa.length-1);return this.Ba.fa[a]};e.prototype.Im=
function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].X().ea=!0};e.prototype.ej=function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].ej()};e.prototype.mh=function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].mh()};e.prototype.Ae=function(a){var d,b;d=0;for(b=a.length;d<b;d++)a[d].Ae()};e.prototype.pt=function(a){if(a.Oj){var d,b,l=a.k;d=0;for(b=l.length;d<b;++d)l[d].ut();l=this.vd;d=0;for(b=l.length;d<b;++d)l[d].type===a&&l[d].ut();a.Oj=!1}};e.prototype.Iq=function(a,d,b,l){var c,k,p=a?1!==a.tc||1!==a.uc:
!1;if(d.R)for(a=0,c=d.fh.length;a<c;++a)k=d.fh[a],p||k.Pj?Ba(l,k.k):(this.pt(k),k.ak.tl(b,l));else p||d.Pj?Ba(l,d.k):(this.pt(d),d.ak.tl(b,l))};e.prototype.tn=function(a,d,b,l){var c,k;c=0;for(k=d.length;c<k;++c)this.Iq(a,d[c],b,l)};e.prototype.Nq=function(a,d,b){var l=this.ep;l&&this.tn(a,l.bl,d,b)};e.prototype.Gx=function(a,d,b){var l=this.mr;l&&this.tn(a,l.bl,d,b)};e.prototype.wh=function(a,d,b,l){var c=a.X(),k,p,m,f,g,e;if(c.ea)for(l||(c.ea=!1,K(c.k)),k=0,f=a.k.length;k<f;k++){if(m=a.k[k],m.na(),
g=m.u.Xa(d,b,!0),e=m.u.Xa(d,b,!1),m.tb(g,e)){if(l)return!1;c.k.push(m)}}else{k=p=0;for(f=c.k.length;k<f;k++)if(m=c.k[k],m.na(),g=m.u.Xa(d,b,!0),e=m.u.Xa(d,b,!1),m.tb(g,e)){if(l)return!1;c.k[p]=c.k[k];p++}l||(c.k.length=p)}a.Ic();return l?!0:c.Dk()};e.prototype.Hc=function(a,d){if(!(a&&d&&a!==d&&a.Kd&&d.Kd))return!1;a.na();d.na();var b=a.u,l=d.u,c,k,p,m,f,g,e,u;if(b===l||b.tc===l.tc&&l.uc===l.uc&&b.scale===l.scale&&b.n===l.n&&b.ac===l.ac){if(!a.ja.Zq(d.ja)||!a.cc.Yq(d.cc)||a.Bh&&d.Bh)return!1;if(a.Bh)return this.bt(a,
d);if(d.Bh)return this.bt(d,a);e=a.ra&&!a.ra.Rf();c=d.ra&&!d.ra.Rf();if(!e&&!c)return!0;e?(a.ra.Bf(a.width,a.height,a.n),e=a.ra):(this.Dd.rh(a.cc,a.x,a.y,a.width,a.height),e=this.Dd);c?(d.ra.Bf(d.width,d.height,d.n),u=d.ra):(this.Dd.rh(d.cc,d.x,d.y,d.width,d.height),u=this.Dd);return e.si(u,d.x-a.x,d.y-a.y)}e=a.ra&&!a.ra.Rf();c=d.ra&&!d.ra.Rf();e?(a.ra.Bf(a.width,a.height,a.n),this.Dd.Ps(a.ra)):this.Dd.rh(a.cc,a.x,a.y,a.width,a.height);e=this.Dd;c?(d.ra.Bf(d.width,d.height,d.n),this.hp.Ps(d.ra)):
this.hp.rh(d.cc,d.x,d.y,d.width,d.height);u=this.hp;c=0;for(k=e.ed;c<k;c++)p=2*c,m=p+1,f=e.kb[p],g=e.kb[m],e.kb[p]=b.ic(f+a.x,g+a.y,!0),e.kb[m]=b.ic(f+a.x,g+a.y,!1);e.na();c=0;for(k=u.ed;c<k;c++)p=2*c,m=p+1,f=u.kb[p],g=u.kb[m],u.kb[p]=l.ic(f+d.x,g+d.y,!0),u.kb[m]=l.ic(f+d.x,g+d.y,!1);u.na();return e.si(u,0,0)};var P=new ua,L=new ta(0,0,0,0),B=[];e.prototype.bt=function(a,d){var b,l,c,k,p=d.ja,m=a.x,f=a.y;a.Ax(p,B);var g=d.ra&&!d.ra.Rf();b=0;for(l=B.length;b<l;++b)if(c=B[b],k=c.Yy,p.$q(k,m,f)&&(P.sh(k),
P.offset(m,f),P.Yq(d.cc)))if(g)if(d.ra.Bf(d.width,d.height,d.n),c.bj){if(c.bj.si(d.ra,d.x-(m+k.left),d.y-(f+k.top)))return K(B),!0}else{if(this.Dd.rh(P,0,0,k.right-k.left,k.bottom-k.top),this.Dd.si(d.ra,d.x,d.y))return K(B),!0}else if(c.bj){if(this.Dd.rh(d.cc,0,0,d.width,d.height),c.bj.si(this.Dd,-(m+k.left),-(f+k.top)))return K(B),!0}else return K(B),!0;K(B);return!1};e.prototype.$s=function(a,d,b,l,c){if(!c||!c.Kd)return!1;c.na();L.set(oa(a,b),oa(d,l),na(a,b),na(d,l));if(!c.ja.Zq(L))return!1;if(c.Bh){c.Ax(L,
B);var k,p,m,f=c.x,g=c.y;c=0;for(k=B.length;c<k;++c)if(p=B[c],m=p.Yy,L.$q(m,f,g)&&(P.sh(m),P.offset(f,g),P.ti(a,d,b,l)))if(p.bj){if(p.bj.ti(f+m.left,g+m.top,a,d,b,l))return K(B),!0}else return K(B),!0;K(B);return!1}if(!c.cc.ti(a,d,b,l))return!1;if(!c.ra||c.ra.Rf())return!0;c.ra.Bf(c.width,c.height,c.n);return c.ra.ti(c.x,c.y,a,d,b,l)};e.prototype.lt=function(a,d){if(!d)return!1;var b,l,c,k,p;b=0;for(l=a.cb.length;b<l;b++)if(a.cb[b].behavior instanceof d)return!0;if(!a.R)for(b=0,l=a.Oa.length;b<l;b++)for(p=
a.Oa[b],c=0,k=p.cb.length;c<k;c++)if(p.cb[c].behavior instanceof d)return!0;return!1};e.prototype.np=function(a){return this.lt(a,fc.cA)};e.prototype.op=function(a){return this.lt(a,fc.dA)};var E=[];e.prototype.Jb=function(a){var d,b,l;a.na();this.Nq(a.u,a.ja,E);d=0;for(b=E.length;d<b;++d)if(l=E[d],l.Z.solidEnabled&&this.Hc(a,l))return K(E),l;K(E);return null};var C=[];e.prototype.tf=function(a,d){var b=null;d&&(b=C,K(b));a.na();this.Gx(a.u,a.ja,E);var l,c,k;l=0;for(c=E.length;l<c;++l)if(k=E[l],k.Z.jumpthruEnabled&&
this.Hc(a,k))if(d)b.push(k);else return K(E),k;K(E);return b};e.prototype.Sc=function(a,d,b,l,c,k){l=l||50;var p=a.x,m=a.y,f,g=null,e=null;for(f=0;f<l;f++)if(a.x=p+d*f,a.y=m+b*f,a.G(),!this.Hc(a,g)&&((g=this.Jb(a))&&(e=g),!g&&(c&&(k?g=this.Hc(a,k)?k:null:g=this.tf(a),g&&(e=g)),!g)))return e&&this.Go(a,d,b,e),!0;a.x=p;a.y=m;a.G();return!1};e.prototype.Go=function(a,d,b,l){var c=2,k,p=!1;k=!1;for(var m=a.x,f=a.y;16>=c;)k=1/c,c*=2,a.x+=d*k*(p?1:-1),a.y+=b*k*(p?1:-1),a.G(),this.Hc(a,l)?k=p=!0:(k=p=!1,
m=a.x,f=a.y);k&&(a.x=m,a.y=f,a.G())};e.prototype.Ds=function(a,d){var b=ga(d)?100:d,l=0,c=a.x,k=a.y,p=0,m=0,f=0,g=this.Jb(a);if(!g)return!0;for(;l<=b;){switch(p){case 0:m=0;f=-1;l++;break;case 1:m=1;f=-1;break;case 2:m=1;f=0;break;case 3:f=m=1;break;case 4:m=0;f=1;break;case 5:m=-1;f=1;break;case 6:m=-1;f=0;break;case 7:f=m=-1}p=(p+1)%8;a.x=z(c+m*l);a.y=z(k+f*l);a.G();if(!this.Hc(a,g)&&(g=this.Jb(a),!g))return!0}a.x=c;a.y=k;a.G();return!1};e.prototype.nh=function(a,d){a.Kd&&d.Kd&&this.hj.push([a,
d])};e.prototype.Zv=function(a,d){var b,l,c;b=0;for(l=this.hj.length;b<l;b++)if(c=this.hj[b],c[0]==a&&c[1]==d||c[0]==d&&c[1]==a)return!0;return!1};e.prototype.Xv=function(a,d,b){var l=a.x,c=a.y,k=na(10,Ra(d,b,l,c)),p=Ma(d,b,l,c),m=this.Jb(a);if(!m)return Ja(p+pa);var f=m,g,e,u,n,q=O(5);for(g=1;36>g;g++)if(e=p-g*q,a.x=d+Math.cos(e)*k,a.y=b+Math.sin(e)*k,a.G(),!this.Hc(a,f)&&(f=this.Jb(a),!f)){u=e;break}36===g&&(u=Ja(p+pa));f=m;for(g=1;36>g;g++)if(e=p+g*q,a.x=d+Math.cos(e)*k,a.y=b+Math.sin(e)*k,a.G(),
!this.Hc(a,f)&&(f=this.Jb(a),!f)){n=e;break}36===g&&(n=Ja(p+pa));a.x=l;a.y=c;a.G();if(n===u)return n;a=Na(n,u)/2;a=Pa(n,u)?Ja(u+a+pa):Ja(n+a);u=Math.cos(p);p=Math.sin(p);n=Math.cos(a);a=Math.sin(a);d=u*n+p*a;return Ma(0,0,u-2*d*n,p-2*d*a)};var V=-1;e.prototype.trigger=function(a,d,b){if(!this.Ba)return!1;var l=this.Ba.Gf;if(!l)return!1;var c=!1,k,p,m;V++;var f=l.Qm;p=0;for(m=f.length;p<m;++p)k=this.it(a,d,f[p],b),c=c||k;k=this.it(a,d,l,b);V--;return c||k};e.prototype.it=function(a,d,b,l){var c=!1,
k,p,m,f;if(d)for(m=this.lp(a,d,d.type.name,b,l),c=c||m,f=d.type.Oa,k=0,p=f.length;k<p;++k)m=this.lp(a,d,f[k].name,b,l),c=c||m;else m=this.lp(a,d,"system",b,l),c=c||m;return c};e.prototype.lp=function(a,d,b,l,c){var k,p=!1,m=!1,m="undefined"!==typeof c,f=(m?l.Bq:l.jt)[b];if(!f)return p;var g=null;l=0;for(k=f.length;l<k;++l)if(f[l].method==a){g=f[l].bi;break}if(!g)return p;var e;m?e=g[c]:e=g;if(!e)return null;l=0;for(k=e.length;l<k;l++)a=e[l][0],c=e[l][1],m=this.qx(d,b,a,c),p=p||m;return p};e.prototype.qx=
function(a,d,b,l){var c,k,p=!1;this.mp++;var m=this.Db().Cb;m&&this.ej(m.qf);var f=1<this.mp;this.ej(b.qf);f&&this.Xy();var g=this.sl(b);g.Cb=b;a&&(c=this.types[d].X(),c.ea=!1,K(c.k),c.k[0]=a,this.types[d].Ic());a=!0;if(b.parent){d=g.Zs;for(c=b.parent;c;)d.push(c),c=c.parent;d.reverse();c=0;for(k=d.length;c<k;c++)if(!d[c].gz()){a=!1;break}}a&&(this.ci++,b.Ad?b.fz(l):b.lb(),p=p||g.Wf);this.nl();f&&this.Qy();this.Ae(b.qf);m&&this.Ae(m.qf);this.bf&&0===this.xd&&0===V&&!this.Ln&&this.Rb();this.mp--;return p};
e.prototype.Jg=function(){var a=this.Db();return a.Cb.sb[a.rb]};e.prototype.Xy=function(){this.Vk++;this.Vk>=this.co.length&&this.co.push([])};e.prototype.Qy=function(){this.Vk--};e.prototype.Jq=function(){return this.co[this.Vk]};e.prototype.sl=function(a){this.nk++;this.nk>=this.Vm.length&&this.Vm.push(new Sb);var d=this.Db();d.reset(a);return d};e.prototype.nl=function(){this.nk--};e.prototype.Db=function(){return this.Vm[this.nk]};e.prototype.Cs=function(){this.Xk++;this.Xk>=this.fo.length&&this.fo.push(aa({name:void 0,
index:0,Qb:!1}));var a=this.Bx();a.name=void 0;a.index=0;a.Qb=!1;return a};e.prototype.ws=function(){this.Xk--};e.prototype.Bx=function(){return this.fo[this.Xk]};e.prototype.Kq=function(a,d){for(var b,l,c,k,p,m;d;){b=0;for(l=d.jd.length;b<l;b++)if(m=d.jd[b],m instanceof Tb&&nb(a,m.name))return m;d=d.parent}b=0;for(l=this.me.length;b<l;b++)for(p=this.me[b],c=0,k=p.Ye.length;c<k;c++)if(m=p.Ye[c],m instanceof Tb&&nb(a,m.name))return m;return null};e.prototype.Lq=function(a){var d,b;d=0;for(b=this.zd.length;d<
b;d++)if(this.zd[d].qa===a)return this.zd[d];return null};e.prototype.hi=function(a){var d,b;d=0;for(b=this.D.length;d<b;d++)if(this.D[d].qa===a)return this.D[d];return null};e.prototype.Dx=function(a){var d,b;d=0;for(b=this.xg.length;d<b;d++)if(this.xg[d].qa===a)return this.xg[d];return null};e.prototype.jw=function(a,d){this.pj=[a,d];this.ma=!0};e.prototype.ay=function(){var d=this,b=this.So,l=this.te,c=this.Qk,k=!1;this.Us&&(k=!0,b="__c2_continuouspreview",this.Us=!1);if(b.length){this.Rb();l=
this.kz();if(window.indexedDB&&!this.Nc)n(b,l,function(){ea("Saved state to IndexedDB storage ("+l.length+" bytes)");d.te=l;d.trigger(U.prototype.m.lm,null);d.te="";k&&a()},function(c){try{localStorage.setItem("__c2save_"+b,l),ea("Saved state to WebStorage ("+l.length+" bytes)"),d.te=l,d.trigger(U.prototype.m.lm,null),d.te="",k&&a()}catch(p){ea("Failed to save game state: "+c+"; "+p)}});else try{localStorage.setItem("__c2save_"+b,l),ea("Saved state to WebStorage ("+l.length+" bytes)"),d.te=l,this.trigger(U.prototype.m.lm,
null),d.te="",k&&a()}catch(p){ea("Error saving to WebStorage: "+p)}this.Yb=this.Qk=this.So=""}if(c.length){if(window.indexedDB&&!this.Nc)g(c,function(a){a?(d.Yb=a,ea("Loaded state from IndexedDB storage ("+d.Yb.length+" bytes)")):(d.Yb=localStorage.getItem("__c2save_"+c)||"",ea("Loaded state from WebStorage ("+d.Yb.length+" bytes)"));d.rj=!1;d.Yb.length||d.trigger(U.prototype.m.im,null)},function(){d.Yb=localStorage.getItem("__c2save_"+c)||"";ea("Loaded state from WebStorage ("+d.Yb.length+" bytes)");
d.rj=!1;d.Yb.length||d.trigger(U.prototype.m.im,null)});else{try{this.Yb=localStorage.getItem("__c2save_"+c)||"",ea("Loaded state from WebStorage ("+this.Yb.length+" bytes)")}catch(m){this.Yb=""}this.rj=!1;d.Yb.length||d.trigger(U.prototype.m.im,null)}this.So=this.Qk=""}this.Yb.length&&(this.Rb(),this.zy(this.Yb),this.te=this.Yb,this.trigger(U.prototype.m.Hu,null),this.Yb=this.te="")};e.prototype.kz=function(){var a,d,b,l,k,p,m,f={c2save:!0,version:1,rt:{time:this.Fb.S,walltime:this.Ie.S,timescale:this.rg,
tickcount:this.qg,execcount:this.ci,next_uid:this.Xi,running_layout:this.Ba.qa,start_time_offset:Date.now()-this.Hl},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(d=this.D.length;a<d;a++)if(k=this.D[a],!k.R&&!this.np(k)){p={instances:[]};Wa(k.Z)&&(p.ex=c(k.Z));b=0;for(l=k.k.length;b<l;b++)p.instances.push(this.Ro(k.k[b]));f.types[k.qa.toString()]=p}a=0;for(d=this.zd.length;a<d;a++)b=this.zd[a],f.layouts[b.qa.toString()]=b.Va();l=f.events.groups;a=0;for(d=this.xg.length;a<
d;a++)b=this.xg[a],l[b.qa.toString()]=this.ni[b.mi].Mg;d=f.events.cnds;for(m in this.Bg)this.Bg.hasOwnProperty(m)&&(a=this.Bg[m],Wa(a.Z)&&(d[m]={ex:c(a.Z)}));d=f.events.acts;for(m in this.wg)this.wg.hasOwnProperty(m)&&(a=this.wg[m],Wa(a.Z)&&(d[m]={ex:a.Z}));d=f.events.vars;for(m in this.Gh)this.Gh.hasOwnProperty(m)&&(a=this.Gh[m],a.Jk||a.parent&&!a.Di||(d[m]=a.data));f.system=this.$d.Va();return JSON.stringify(f)};e.prototype.Fs=function(){var a,d,b,l,c,k;this.ye={};a=0;for(d=this.D.length;a<d;a++)if(b=
this.D[a],!b.R)for(l=0,c=b.k.length;l<c;l++)k=b.k[l],this.ye[k.uid.toString()]=k};e.prototype.zy=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){this.Hk=!0;var d=a.rt;this.Fb.reset();this.Fb.S=d.time;this.Ie.reset();this.Ie.S=d.walltime||0;this.rg=d.timescale;this.qg=d.tickcount;this.ci=d.execcount;this.Hl=Date.now()-d.start_time_offset;var b=d.running_layout;if(b!==this.Ba.qa)if(b=this.Lq(b))this.wq(b);else return;var l,c,k,p,m,f,g;f=a.types;for(c in f)if(f.hasOwnProperty(c)&&(p=this.hi(parseInt(c,
10)))&&!p.R&&!this.np(p)){f[c].ex?p.Z=f[c].ex:Xa(p.Z);m=p.k;k=f[c].instances;b=0;for(l=oa(m.length,k.length);b<l;b++)this.Rk(m[b],k[b]);b=k.length;for(l=m.length;b<l;b++)this.Le(m[b]);b=m.length;for(l=k.length;b<l;b++){m=null;if(p.Aa.df&&(m=this.Ba.zk(k[b].w.l),!m))continue;m=this.Ue(p.Zc,m,!1,0,0,!0);this.Rk(m,k[b])}p.vh=!0}this.Rb();this.Fs();l=a.layouts;for(c in l)l.hasOwnProperty(c)&&(b=this.Lq(parseInt(c,10)))&&b.jb(l[c]);l=a.events.groups;for(c in l)l.hasOwnProperty(c)&&(b=this.Dx(parseInt(c,
10)))&&this.ni[b.mi]&&this.ni[b.mi].mz(l[c]);b=a.events.cnds;for(c in b)b.hasOwnProperty(c)&&this.Bg.hasOwnProperty(c)&&(this.Bg[c].Z=b[c].ex);b=a.events.acts;for(c in b)b.hasOwnProperty(c)&&this.wg.hasOwnProperty(c)&&(this.wg[c].Z=b[c].ex);b=a.events.vars;for(c in b)b.hasOwnProperty(c)&&this.Gh.hasOwnProperty(c)&&(this.Gh[c].data=b[c]);this.Xi=d.next_uid;this.Hk=!1;this.$d.jb(a.system);b=0;for(l=this.D.length;b<l;b++)if(p=this.D[b],!p.R&&!this.np(p))for(c=0,a=p.k.length;c<a;c++){m=p.k[c];if(p.rc)for(f=
m.li(),K(m.siblings),d=0,k=p.Bc.length;d<k;d++)g=p.Bc[d],p!==g&&m.siblings.push(g.k[f]);m.Jd&&m.Jd();if(m.W)for(d=0,k=m.W.length;d<k;d++)f=m.W[d],f.Jd&&f.Jd()}this.ma=!0}};e.prototype.Ro=function(a,d){var b,l,k,p,m;p=a.type;k=p.Aa;var f={};d?f.c2=!0:f.uid=a.uid;Wa(a.Z)&&(f.ex=c(a.Z));if(a.xb&&a.xb.length)for(f.ivs={},b=0,l=a.xb.length;b<l;b++)f.ivs[a.type.Gn[b].toString()]=a.xb[b];if(k.df){k={x:a.x,y:a.y,w:a.width,h:a.height,l:a.u.qa,zi:a.Pd()};0!==a.n&&(k.a=a.n);1!==a.opacity&&(k.o=a.opacity);.5!==
a.Wb&&(k.hX=a.Wb);.5!==a.Xb&&(k.hY=a.Xb);0!==a.Tb&&(k.bm=a.Tb);a.visible||(k.v=a.visible);a.Kd||(k.ce=a.Kd);-1!==a.hh&&(k.mts=a.hh);if(p.ca.length)for(k.fx=[],b=0,l=p.ca.length;b<l;b++)m=p.ca[b],k.fx.push({name:m.name,active:a.Ne[m.index],params:a.Ta[m.index]});f.w=k}if(a.W&&a.W.length)for(f.behs={},b=0,l=a.W.length;b<l;b++)p=a.W[b],p.Va&&(f.behs[p.type.qa.toString()]=p.Va());a.Va&&(f.data=a.Va());return f};e.prototype.Fx=function(a,d){var b,l;b=0;for(l=a.Gn.length;b<l;b++)if(a.Gn[b]===d)return b;
return-1};e.prototype.zx=function(a,d){var b,l;b=0;for(l=a.W.length;b<l;b++)if(a.W[b].type.qa===d)return b;return-1};e.prototype.Rk=function(a,d,b){var l,c,k,p,m;m=a.type;p=m.Aa;if(b){if(!d.c2)return}else a.uid=d.uid;d.ex?a.Z=d.ex:Xa(a.Z);if(c=d.ivs)for(l in c)c.hasOwnProperty(l)&&(k=this.Fx(m,parseInt(l,10)),0>k||k>=a.xb.length||(a.xb[k]=c[l]));if(p.df){k=d.w;a.u.qa!==k.l&&(c=a.u,a.u=this.Ba.zk(k.l),a.u?(c.oh(a,!0),a.u.Oh(a,!0),a.G(),a.u.mj(0)):(a.u=c,b||this.Le(a)));a.x=k.x;a.y=k.y;a.width=k.w;
a.height=k.h;a.Id=k.zi;a.n=k.hasOwnProperty("a")?k.a:0;a.opacity=k.hasOwnProperty("o")?k.o:1;a.Wb=k.hasOwnProperty("hX")?k.hX:.5;a.Xb=k.hasOwnProperty("hY")?k.hY:.5;a.visible=k.hasOwnProperty("v")?k.v:!0;a.Kd=k.hasOwnProperty("ce")?k.ce:!0;a.hh=k.hasOwnProperty("mts")?k.mts:-1;a.Tb=k.hasOwnProperty("bm")?k.bm:0;a.Uh=kb(a.Tb);this.L&&lb(a,a.Tb,this.L);a.G();if(k.hasOwnProperty("fx"))for(b=0,c=k.fx.length;b<c;b++)p=m.mn(k.fx[b].name),0>p||(a.Ne[p]=k.fx[b].active,a.Ta[p]=k.fx[b].params);a.Fd()}if(m=
d.behs)for(l in m)m.hasOwnProperty(l)&&(b=this.zx(a,parseInt(l,10)),0>b||a.W[b].jb(m[l]));d.data&&a.jb(d.data)};Ub=function(a){return new e(document.getElementById(a))};Vb=function(a,d){return new e({dc:!0,width:a,height:d})};window.cr_createRuntime=Ub;window.cr_createDCRuntime=Vb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.Qh=!0;document.body.appendChild(a);a=new e(a);window.c2runtime=a;window.addEventListener("orientationchange",
function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=function(){var a=new e(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var h=document.getElementById("c2canvas");return h?h.c2runtime:window.c2runtime?window.c2runtime:null};
window.cr_getSnapshot=function(h,r){var e=window.cr_getC2Runtime();e&&e.jw(h,r)};window.cr_sizeCanvas=function(h,r){if(0!==h&&0!==r){var e=window.cr_getC2Runtime();e&&e.setSize(h,r)}};window.cr_setSuspended=function(h){var r=window.cr_getC2Runtime();r&&r.setSuspended(h)};
(function(){function h(a,b){this.b=a;this.Gf=null;this.scrollX=this.b.Pa/2;this.scrollY=this.b.Ma/2;this.scale=1;this.n=0;this.Hg=!0;this.name=b[0];this.width=b[1];this.height=b[2];this.mt=b[3];this.Ss=b[4];this.qa=b[5];var c=b[6],m,f;this.fa=[];this.ri=[];m=0;for(f=c.length;m<f;m++){var g=new Wb(this,c[m]);g.Xr=m;this.fa.push(g)}c=b[7];this.Nf=[];m=0;for(f=c.length;m<f;m++){var g=c[m],e=this.b.D[g[1]];e.Zc||(e.Zc=g);this.Nf.push(g);-1===this.ri.indexOf(e)&&this.ri.push(e)}this.ca=[];this.ya=[];this.De=
!0;this.Ta=[];m=0;for(f=b[8].length;m<f;m++)this.ca.push({id:b[8][m][0],name:b[8][m][1],mb:-1,Bd:!1,Sb:!0,index:m}),this.Ta.push(b[8][m][2].slice(0));this.Fd();this.Be=new ta(0,0,1,1);this.Jo=new ta(0,0,1,1);this.nf={}}function r(a,b){return a.Id-b.Id}function e(a,b){this.Gb=a;this.b=a.b;this.k=[];this.scale=1;this.n=0;this.ke=!1;this.Fe=new ta(0,0,0,0);this.et=new ua;this.Ka=this.Ia=this.La=this.Ha=0;this.sg=!1;this.Ke=-1;this.Jm=0;this.name=b[0];this.index=b[1];this.qa=b[2];this.visible=b[3];this.rd=
b[4];this.Ed=b[5];this.tc=b[6];this.uc=b[7];this.opacity=b[8];this.uk=b[9];this.Uc=b[10];this.ac=b[11];this.Tb=b[12];this.Gw=b[13];this.Uh="source-over";this.Ub=this.Zb=0;this.Pb=null;this.ue=q();this.Cd=!0;this.Zg=new ta(0,0,-1,-1);this.Kb=new ta(0,0,-1,-1);this.Uc&&(this.Pb=new jb(this.b.Pa,this.b.Ma));this.Vd=!1;var c=b[14],m,f;this.Xs=[];this.Mc=[];this.Xh=[];m=0;for(f=c.length;m<f;m++){var g=c[m],e=this.b.D[g[1]];e.Zc||(e.Zc=g,e.hw=this.index);this.Mc.push(g);-1===this.Gb.ri.indexOf(e)&&this.Gb.ri.push(e)}Aa(this.Xs,
this.Mc);this.ca=[];this.ya=[];this.De=!0;this.Ta=[];m=0;for(f=b[15].length;m<f;m++)this.ca.push({id:b[15][m][0],name:b[15][m][1],mb:-1,Bd:!1,Sb:!0,index:m}),this.Ta.push(b[15][m][2].slice(0));this.Fd();this.Be=new ta(0,0,1,1);this.Jo=new ta(0,0,1,1)}function q(){return a.length?a.pop():[]}function t(d){K(d);a.push(d)}h.prototype.jz=function(a){var b=a.type.qa.toString();this.nf.hasOwnProperty(b)||(this.nf[b]=[]);this.nf[b].push(this.b.Ro(a))};h.prototype.Qq=function(){var a=this.fa[0];return!a.Ed&&
1===a.opacity&&!a.uk&&a.visible};h.prototype.Fd=function(){K(this.ya);this.De=!0;var a,b,c;a=0;for(b=this.ca.length;a<b;a++)c=this.ca[a],c.Sb&&(this.ya.push(c),c.Bd||(this.De=!1))};h.prototype.ln=function(a){var b,c,m;b=0;for(c=this.ca.length;b<c;b++)if(m=this.ca[b],m.name===a)return m;return null};var n=[],g=!0;h.prototype.fp=function(){this.Ss&&(this.Gf=this.b.Wm[this.Ss],this.Gf.pp());this.b.Ba=this;this.scrollX=this.b.Pa/2;this.scrollY=this.b.Ma/2;var a,b,c,m,f,e,q;a=0;for(c=this.b.D.length;a<
c;a++)if(b=this.b.D[a],!b.R)for(f=b.k,b=0,m=f.length;b<m;b++)if(e=f[b],e.u){var l=e.u.Xr;l>=this.fa.length&&(l=this.fa.length-1);e.u=this.fa[l];-1===e.u.k.indexOf(e)&&e.u.k.push(e);e.u.sg=!0}if(!g)for(a=0,c=this.fa.length;a<c;++a)this.fa[a].k.sort(r);K(n);this.Vv();a=0;for(c=this.fa.length;a<c;a++)e=this.fa[a],e.dw(),e.Vl();f=!1;if(!this.Hg){for(q in this.nf)if(this.nf.hasOwnProperty(q)&&(b=this.b.hi(parseInt(q,10)))&&!b.R&&this.b.op(b)){m=this.nf[q];a=0;for(c=m.length;a<c;a++){e=null;if(b.Aa.df&&
(e=this.zk(m[a].w.l),!e))continue;e=this.b.Ue(b.Zc,e,!1,0,0,!0);this.b.Rk(e,m[a]);f=!0;n.push(e)}K(m)}a=0;for(c=this.fa.length;a<c;a++)this.fa[a].k.sort(r),this.fa[a].sg=!0}f&&(this.b.Rb(),this.b.Fs());for(a=0;a<n.length;a++)if(e=n[a],e.type.rc)for(c=e.li(),b=0,m=e.type.Bc.length;b<m;b++)q=e.type.Bc[b],e.type!==q&&(q.k.length>c?e.siblings.push(q.k[c]):q.Zc&&(f=this.b.Ue(q.Zc,e.u,!0,e.x,e.y,!0),this.b.Rb(),q.Ul(),e.siblings.push(f),n.push(f)));a=0;for(c=this.Nf.length;a<c;a++)this.b.Ue(this.Nf[a],
null,!0);this.b.Th=null;this.b.Rb();if(this.b.Ea&&!this.b.za)for(a=0,c=this.b.D.length;a<c;a++)q=this.b.D[a],!q.R&&q.k.length&&q.ql&&q.ql(this.b.Ea);a=0;for(c=n.length;a<c;a++)e=n[a],this.b.trigger(Object.getPrototypeOf(e.type.Aa).m.Lh,e);K(n);this.b.Hk||this.b.trigger(U.prototype.m.Lp,null);this.Hg=!1};h.prototype.bw=function(){var a,b,c,m,f;b=a=0;for(c=this.Nf.length;a<c;a++)m=this.Nf[a],f=this.b.D[m[1]],f.global?f.rc||this.b.Ue(m,null,!0):(this.Nf[b]=m,b++);za(this.Nf,b)};h.prototype.vz=function(){this.b.Hk||
this.b.trigger(U.prototype.m.Gu,null);this.b.In=!0;K(this.b.$d.zc);var a,b,c,m,f,e;if(!this.Hg)for(a=0,b=this.fa.length;a<b;a++)for(this.fa[a].sp(),f=this.fa[a].k,c=0,m=f.length;c<m;c++)e=f[c],e.type.global||this.b.op(e.type)&&this.jz(e);a=0;for(b=this.fa.length;a<b;a++){f=this.fa[a].k;c=0;for(m=f.length;c<m;c++)e=f[c],e.type.global||this.b.Le(e);this.b.Rb();K(f);this.fa[a].sg=!0}a=0;for(b=this.b.D.length;a<b;a++)if(f=this.b.D[a],!(f.global||f.Aa.df||f.Aa.Gl||f.R)){c=0;for(m=f.k.length;c<m;c++)this.b.Le(f.k[c]);
this.b.Rb()}g=!1;this.b.In=!1};new ta(0,0,0,0);h.prototype.Md=function(a){var b,c=a,m=!1,f=!this.b.Kc;f&&(this.b.Pk||(this.b.Pk=document.createElement("canvas"),b=this.b.Pk,b.width=this.b.V,b.height=this.b.U,this.b.sr=b.getContext("2d"),m=!0),b=this.b.Pk,c=this.b.sr,b.width!==this.b.V&&(b.width=this.b.V,m=!0),b.height!==this.b.U&&(b.height=this.b.U,m=!0),m&&(c.webkitImageSmoothingEnabled=this.b.da,c.mozImageSmoothingEnabled=this.b.da,c.msImageSmoothingEnabled=this.b.da,c.imageSmoothingEnabled=this.b.da));
c.globalAlpha=1;c.globalCompositeOperation="source-over";this.b.vm&&!this.Qq()&&c.clearRect(0,0,this.b.V,this.b.U);var g,e,m=0;for(g=this.fa.length;m<g;m++)e=this.fa[m],e.visible&&0<e.opacity&&11!==e.Tb&&(e.k.length||!e.Ed)?e.Md(c):e.Vl();f&&a.drawImage(b,0,0,this.b.width,this.b.height)};h.prototype.Ve=function(a){a.Ms(!0);this.b.ib||(this.b.ib=a.Xc(this.b.V,this.b.U,this.b.da));if(this.b.ib.ud!==this.b.V||this.b.ib.td!==this.b.U)a.deleteTexture(this.b.ib),this.b.ib=a.Xc(this.b.V,this.b.U,this.b.da);
a.gd(this.b.ib);this.b.Kc||a.kg(this.b.V,this.b.U);var b,c;for(b=this.fa.length-1;0<=b;--b)c=this.fa[b],c.visible&&1===c.opacity&&c.De&&0===c.Tb&&(c.k.length||!c.Ed)?c.Ve(a):c.Vl();a.Ms(!1)};h.prototype.ec=function(a){var b=0<this.ya.length||this.b.Eh||!this.b.Kc||this.b.Ja;if(b){this.b.ib||(this.b.ib=a.Xc(this.b.V,this.b.U,this.b.da));if(this.b.ib.ud!==this.b.V||this.b.ib.td!==this.b.U)a.deleteTexture(this.b.ib),this.b.ib=a.Xc(this.b.V,this.b.U,this.b.da);a.gd(this.b.ib);this.b.Kc||a.kg(this.b.V,
this.b.U)}else this.b.ib&&(a.gd(null),a.deleteTexture(this.b.ib),this.b.ib=null);this.b.vm&&!this.Qq()&&a.clear(0,0,0,0);var c,m,f;c=0;for(m=this.fa.length;c<m;c++)f=this.fa[c],f.visible&&0<f.opacity&&(f.k.length||!f.Ed)?f.ec(a):f.Vl();b&&(0===this.ya.length||1===this.ya.length&&this.b.Kc?(1===this.ya.length?(b=this.ya[0].index,a.yc(this.ya[0].mb),a.qh(null,1/this.b.V,1/this.b.U,0,0,1,1,this.scale,this.n,0,0,this.b.V/2,this.b.U/2,this.b.Fb.S,this.Ta[b]),a.rl(this.ya[0].mb)&&(this.b.ma=!0)):a.yc(0),
this.b.Kc||a.kg(this.b.width,this.b.height),a.gd(null),a.Ls(!1),a.pf(1),a.kc(this.b.ib),a.Js(),a.Wd(),a.Gd(),b=this.b.width/2,c=this.b.height/2,a.fj(-b,c,b,c,b,-c,-b,-c),a.kc(null),a.Ls(!0)):this.Lo(a,null,null,null))};h.prototype.ji=function(){return 0<this.ya.length||this.b.Eh||!this.b.Kc||this.b.Ja?this.b.ib:null};h.prototype.Mq=function(){var a=this.fa[0].ad(),b,c,m;b=1;for(c=this.fa.length;b<c;b++)m=this.fa[b],(0!==m.tc||0!==m.uc)&&m.ad()<a&&(a=m.ad());return a};h.prototype.To=function(a){if(!this.mt){var b=
1/this.Mq()*this.b.V/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.ma=!0)};h.prototype.Uo=function(a){if(!this.mt){var b=1/this.Mq()*this.b.U/2;a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.b.ma=!0)};h.prototype.Vv=function(){this.To(this.scrollX);this.Uo(this.scrollY)};h.prototype.Lo=function(a,b,c,m){var f=c?c.ya:b?b.ya:this.ya,g=1,e=0,l=0,p=0,n=this.b.V,q=this.b.U;c?(g=c.u.ad(),e=c.u.wb(),l=c.u.Ha,p=c.u.Ia,n=c.u.La,
q=c.u.Ka):b&&(g=b.ad(),e=b.wb(),l=b.Ha,p=b.Ia,n=b.La,q=b.Ka);var t=this.b.hn,h,r,y,I,w=0,P=1,L,B=this.b.V,E=this.b.U,C=B/2,V=E/2,v=b?b.Be:this.Be,D=b?b.Jo:this.Jo,M=0,S=0,H=0,F=0,Q=B,la=B,T=E,va=E,qa=y=0;I=c?c.u.wb():0;if(c){h=0;for(r=f.length;h<r;h++)y+=a.Kx(f[h].mb),qa+=a.Lx(f[h].mb);F=c.ja;M=b.ic(F.left,F.top,!0,!0);H=b.ic(F.left,F.top,!1,!0);Q=b.ic(F.right,F.bottom,!0,!0);T=b.ic(F.right,F.bottom,!1,!0);0!==I&&(h=b.ic(F.right,F.top,!0,!0),r=b.ic(F.right,F.top,!1,!0),S=b.ic(F.left,F.bottom,!0,!0),
F=b.ic(F.left,F.bottom,!1,!0),I=Math.min(M,Q,h,S),Q=Math.max(M,Q,h,S),M=I,I=Math.min(H,T,r,F),T=Math.max(H,T,r,F),H=I);M-=y;H-=qa;Q+=y;T+=qa;D.left=M/B;D.top=1-H/E;D.right=Q/B;D.bottom=1-T/E;S=M=z(M);F=H=z(H);la=Q=ra(Q);va=T=ra(T);S-=y;F-=qa;la+=y;va+=qa;0>M&&(M=0);0>H&&(H=0);Q>B&&(Q=B);T>E&&(T=E);0>S&&(S=0);0>F&&(F=0);la>B&&(la=B);va>E&&(va=E);v.left=M/B;v.top=1-H/E;v.right=Q/B;v.bottom=1-T/E}else v.left=D.left=0,v.top=D.top=0,v.right=D.right=1,v.bottom=D.bottom=1;qa=c&&(a.cj(f[0].mb)||0!==y||0!==
qa||1!==c.opacity||c.type.Aa.Tr)||b&&!c&&1!==b.opacity;a.Js();if(qa){t[w]||(t[w]=a.Xc(B,E,this.b.da));if(t[w].ud!==B||t[w].td!==E)a.deleteTexture(t[w]),t[w]=a.Xc(B,E,this.b.da);a.yc(0);a.gd(t[w]);L=va-F;a.clearRect(S,E-F-L,la-S,L);c?c.ec(a):(a.kc(this.b.yb),a.pf(b.opacity),a.Wd(),a.translate(-C,-V),a.Gd(),a.fd(M,T,Q,T,Q,H,M,H,v));D.left=D.top=0;D.right=D.bottom=1;c&&(I=v.top,v.top=v.bottom,v.bottom=I);w=1;P=0}a.pf(1);y=f.length-1;var Ta=a.Fo(f[y].mb)||!b&&!c&&!this.b.Kc,Da=0;h=0;for(r=f.length;h<
r;h++){t[w]||(t[w]=a.Xc(B,E,this.b.da));if(t[w].ud!==B||t[w].td!==E)a.deleteTexture(t[w]),t[w]=a.Xc(B,E,this.b.da);a.yc(f[h].mb);Da=f[h].index;a.rl(f[h].mb)&&(this.b.ma=!0);0!=h||qa?(a.qh(m,1/B,1/E,D.left,D.top,D.right,D.bottom,g,e,l,p,(l+n)/2,(p+q)/2,this.b.Fb.S,c?c.Ta[Da]:b?b.Ta[Da]:this.Ta[Da]),a.kc(null),h!==y||Ta?(a.gd(t[w]),L=va-F,I=E-F-L,a.clearRect(S,I,la-S,L)):(c?a.of(c.Zb,c.Ub):b&&a.of(b.Zb,b.Ub),a.gd(m)),a.kc(t[P]),a.Wd(),a.translate(-C,-V),a.Gd(),a.fd(M,T,Q,T,Q,H,M,H,v),h!==y||Ta||a.kc(null)):
(a.gd(t[w]),L=va-F,I=E-F-L,a.clearRect(S,I,la-S,L),c?(a.qh(m,1/c.width,1/c.height,D.left,D.top,D.right,D.bottom,g,e,l,p,(l+n)/2,(p+q)/2,this.b.Fb.S,c.Ta[Da]),c.ec(a)):(a.qh(m,1/B,1/E,0,0,1,1,g,e,l,p,(l+n)/2,(p+q)/2,this.b.Fb.S,b?b.Ta[Da]:this.Ta[Da]),a.kc(b?this.b.yb:this.b.ib),a.Wd(),a.translate(-C,-V),a.Gd(),a.fd(M,T,Q,T,Q,H,M,H,v)),D.left=D.top=0,D.right=D.bottom=1,c&&!Ta&&(I=T,T=H,H=I));w=0===w?1:0;P=0===w?1:0}Ta&&(a.yc(0),c?a.of(c.Zb,c.Ub):b?a.of(b.Zb,b.Ub):this.b.Kc||(a.kg(this.b.width,this.b.height),
C=this.b.width/2,V=this.b.height/2,H=M=0,Q=this.b.width,T=this.b.height),a.gd(m),a.kc(t[P]),a.Wd(),a.translate(-C,-V),a.Gd(),c&&1===f.length&&!qa?a.fd(M,H,Q,H,Q,T,M,T,v):a.fd(M,T,Q,T,Q,H,M,H,v),a.kc(null))};h.prototype.zk=function(a){var b,c;b=0;for(c=this.fa.length;b<c;b++)if(this.fa[b].qa===a)return this.fa[b];return null};h.prototype.Va=function(){var a,b,c,m={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.n,w:this.width,h:this.height,fv:this.Hg,persist:this.nf,fx:[],layers:{}};a=0;for(b=
this.ca.length;a<b;a++)c=this.ca[a],m.fx.push({name:c.name,active:c.Sb,params:this.Ta[c.index]});a=0;for(b=this.fa.length;a<b;a++)c=this.fa[a],m.layers[c.qa.toString()]=c.Va();return m};h.prototype.jb=function(a){var b,c,m,f;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.n=a.a;this.width=a.w;this.height=a.h;this.nf=a.persist;"undefined"!==typeof a.fv&&(this.Hg=a.fv);var g=a.fx;b=0;for(c=g.length;b<c;b++)if(m=this.ln(g[b].name))m.Sb=g[b].active,this.Ta[m.index]=g[b].params;this.Fd();b=a.layers;
for(f in b)b.hasOwnProperty(f)&&(a=this.zk(parseInt(f,10)))&&a.jb(b[f])};Hb=h;e.prototype.Fd=function(){K(this.ya);this.De=!0;var a,b,c;a=0;for(b=this.ca.length;a<b;a++)c=this.ca[a],c.Sb&&(this.ya.push(c),c.Bd||(this.De=!1))};e.prototype.ln=function(a){var b,c,m;b=0;for(c=this.ca.length;b<c;b++)if(m=this.ca[b],m.name===a)return m;return null};e.prototype.dw=function(){var a,b,c,m,f,g;b=a=0;for(c=this.Mc.length;a<c;a++){m=this.Mc[a];f=this.b.D[m[1]];g=this.b.op(f);f=!0;if(!g||this.Gb.Hg)m=this.b.Ue(m,
this,!0),n.push(m),m.type.global&&(f=!1,this.Xh.push(m.uid));f&&(this.Mc[b]=this.Mc[a],b++)}this.Mc.length=b;this.b.Rb();!this.b.B&&this.ca.length&&(this.Tb=this.Gw);this.Uh=kb(this.Tb);this.b.L&&lb(this,this.Tb,this.b.L);this.Cd=!0};e.prototype.oh=function(a,b){var c=Ca(this.k,a);0>c||(b&&this.Uc&&a.wc&&a.wc.right>=a.wc.left&&(a.na(),this.Pb.update(a,a.wc,null),a.wc.set(0,0,-1,-1)),c===this.k.length-1?this.k.pop():(ya(this.k,c),this.mj(c)),this.Cd=!0)};e.prototype.Oh=function(a,b){a.Id=this.k.length;
this.k.push(a);b&&this.Uc&&a.wc&&a.G();this.Cd=!0};e.prototype.Uy=function(a){this.k.unshift(a);this.mj(0)};e.prototype.Ey=function(a,b,c){var m=a.Pd();b=b.Pd();ya(this.k,m);m<b&&b--;c&&b++;b===this.k.length?this.k.push(a):this.k.splice(b,0,a);this.mj(m<b?m:b)};e.prototype.mj=function(a){-1===this.Ke?this.Ke=a:a<this.Ke&&(this.Ke=a);this.Cd=this.sg=!0};e.prototype.sp=function(){if(this.sg){-1===this.Ke&&(this.Ke=0);var a,b,c;if(this.Uc)for(a=this.Ke,b=this.k.length;a<b;++a)c=this.k[a],c.Id=a,this.Pb.By(c.wc);
else for(a=this.Ke,b=this.k.length;a<b;++a)this.k[a].Id=a;this.sg=!1;this.Ke=-1}};e.prototype.ad=function(a){return this.Hx()*(this.b.Kc||a?this.b.Ph:1)};e.prototype.Hx=function(){return(this.scale*this.Gb.scale-1)*this.ac+1};e.prototype.wb=function(){return this.ke?0:Ja(this.Gb.n+this.n)};var a=[],c=[],f=[];e.prototype.rn=function(){this.sp();this.Pb.tl(this.Ha,this.Ia,this.La,this.Ka,f);if(!f.length)return q();if(1===f.length){var a=q();Aa(a,f[0]);K(f);return a}for(var b=!0;1<f.length;){for(var a=
f,k=void 0,m=void 0,g=void 0,e=void 0,n=void 0,k=0,m=a.length;k<m-1;k+=2){var g=a[k],e=a[k+1],n=q(),l=g,p=e,h=n,r=0,X=0,N=0,G=l.length,y=p.length,I=void 0,w=void 0;for(h.length=G+y;r<G&&X<y;++N)I=l[r],w=p[X],I.Id<w.Id?(h[N]=I,++r):(h[N]=w,++X);for(;r<G;++r,++N)h[N]=l[r];for(;X<y;++X,++N)h[N]=p[X];b||(t(g),t(e));c.push(n)}1===m%2&&(b?(g=q(),Aa(g,a[m-1]),c.push(g)):c.push(a[m-1]));Aa(a,c);K(c);b=!1}a=f[0];K(f);return a};e.prototype.Md=function(a){this.Vd=this.uk||1!==this.opacity||0!==this.Tb;var b=
this.b.canvas,c=a,m=!1;this.Vd&&(this.b.Ok||(this.b.Ok=document.createElement("canvas"),b=this.b.Ok,b.width=this.b.V,b.height=this.b.U,this.b.rr=b.getContext("2d"),m=!0),b=this.b.Ok,c=this.b.rr,b.width!==this.b.V&&(b.width=this.b.V,m=!0),b.height!==this.b.U&&(b.height=this.b.U,m=!0),m&&(c.webkitImageSmoothingEnabled=this.b.da,c.mozImageSmoothingEnabled=this.b.da,c.msImageSmoothingEnabled=this.b.da,c.imageSmoothingEnabled=this.b.da),this.Ed&&c.clearRect(0,0,this.b.V,this.b.U));c.globalAlpha=1;c.globalCompositeOperation=
"source-over";this.Ed||(c.fillStyle="rgb("+this.rd[0]+","+this.rd[1]+","+this.rd[2]+")",c.fillRect(0,0,this.b.V,this.b.U));c.save();this.ke=!0;var m=this.Xa(0,0,!0,!0),f=this.Xa(0,0,!1,!0);this.ke=!1;this.b.Rc&&(m=Math.round(m),f=Math.round(f));this.zl(m,f,c);var g=this.ad();c.scale(g,g);c.translate(-m,-f);this.Uc?(this.Kb.left=this.Pb.nc(this.Ha),this.Kb.top=this.Pb.oc(this.Ia),this.Kb.right=this.Pb.nc(this.La),this.Kb.bottom=this.Pb.oc(this.Ka),this.Cd||!this.Kb.ai(this.Zg)?(t(this.ue),m=this.rn(),
this.Cd=!1,this.Zg.Vh(this.Kb)):m=this.ue):m=this.k;for(var e,l=null,f=0,g=m.length;f<g;++f)e=m[f],e!==l&&(this.Bw(e,c),l=e);this.Uc&&(this.ue=m);c.restore();this.Vd&&(a.globalCompositeOperation=this.Uh,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};e.prototype.Bw=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.na();var c=a.ja;c.right<this.Ha||c.bottom<this.Ia||c.left>this.La||c.top>this.Ka||(b.globalCompositeOperation=a.Uh,a.Md(b))}};e.prototype.Vl=function(){this.ke=!0;var a=this.Xa(0,
0,!0,!0),b=this.Xa(0,0,!1,!0);this.ke=!1;this.b.Rc&&(a=Math.round(a),b=Math.round(b));this.zl(a,b,null)};e.prototype.zl=function(a,b,c){var m=this.ad();this.Ha=a;this.Ia=b;this.La=a+1/m*this.b.V;this.Ka=b+1/m*this.b.U;a=this.wb();0!==a&&(c&&(c.translate(this.b.V/2,this.b.U/2),c.rotate(-a),c.translate(this.b.V/-2,this.b.U/-2)),this.Fe.set(this.Ha,this.Ia,this.La,this.Ka),this.Fe.offset((this.Ha+this.La)/-2,(this.Ia+this.Ka)/-2),this.et.Qs(this.Fe,a),this.et.kq(this.Fe),this.Fe.offset((this.Ha+this.La)/
2,(this.Ia+this.Ka)/2),this.Ha=this.Fe.left,this.Ia=this.Fe.top,this.La=this.Fe.right,this.Ka=this.Fe.bottom)};e.prototype.Ve=function(a){if(this.Vd=this.uk){this.b.yb||(this.b.yb=a.Xc(this.b.V,this.b.U,this.b.da));if(this.b.yb.ud!==this.b.V||this.b.yb.td!==this.b.U)a.deleteTexture(this.b.yb),this.b.yb=a.Xc(this.b.V,this.b.U,this.b.da);a.gd(this.b.yb)}this.ke=!0;var b=this.Xa(0,0,!0,!0),c=this.Xa(0,0,!1,!0);this.ke=!1;this.b.Rc&&(b=Math.round(b),c=Math.round(c));this.zl(b,c,null);b=this.ad();a.Wd();
a.scale(b,b);a.Oo(-this.wb());a.translate((this.Ha+this.La)/-2,(this.Ia+this.Ka)/-2);a.Gd();this.Uc?(this.Kb.left=this.Pb.nc(this.Ha),this.Kb.top=this.Pb.oc(this.Ia),this.Kb.right=this.Pb.nc(this.La),this.Kb.bottom=this.Pb.oc(this.Ka),this.Cd||!this.Kb.ai(this.Zg)?(t(this.ue),b=this.rn(),this.Cd=!1,this.Zg.Vh(this.Kb)):b=this.ue):b=this.k;for(var m,f=null,c=b.length-1;0<=c;--c)m=b[c],m!==f&&(this.Dw(b[c],a),f=m);this.Uc&&(this.ue=b);this.Ed||(this.Jm=this.b.Ef++,a.Dl(this.Jm),a.Ks(1,1,1),a.Eq(),a.bz())};
e.prototype.ec=function(a){var b=0,c=0;if(this.Vd=this.uk||1!==this.opacity||0<this.ya.length||0!==this.Tb){this.b.yb||(this.b.yb=a.Xc(this.b.V,this.b.U,this.b.da));if(this.b.yb.ud!==this.b.V||this.b.yb.td!==this.b.U)a.deleteTexture(this.b.yb),this.b.yb=a.Xc(this.b.V,this.b.U,this.b.da);a.gd(this.b.yb);this.Ed&&a.clear(0,0,0,0)}this.Ed||(this.b.Ja?(a.Dl(this.Jm),a.Ks(this.rd[0]/255,this.rd[1]/255,this.rd[2]/255),a.Eq(),a.qz()):a.clear(this.rd[0]/255,this.rd[1]/255,this.rd[2]/255,1));this.ke=!0;var m=
this.Xa(0,0,!0,!0),b=this.Xa(0,0,!1,!0);this.ke=!1;this.b.Rc&&(m=Math.round(m),b=Math.round(b));this.zl(m,b,null);m=this.ad();a.Wd();a.scale(m,m);a.Oo(-this.wb());a.translate((this.Ha+this.La)/-2,(this.Ia+this.Ka)/-2);a.Gd();this.Uc?(this.Kb.left=this.Pb.nc(this.Ha),this.Kb.top=this.Pb.oc(this.Ia),this.Kb.right=this.Pb.nc(this.La),this.Kb.bottom=this.Pb.oc(this.Ka),this.Cd||!this.Kb.ai(this.Zg)?(t(this.ue),b=this.rn(),this.Cd=!1,this.Zg.Vh(this.Kb)):b=this.ue):b=this.k;var f,g,e=null,c=0;for(f=b.length;c<
f;++c)g=b[c],g!==e&&(this.Cw(b[c],a),e=g);this.Uc&&(this.ue=b);this.Vd&&(b=this.ya.length?this.ya[0].mb:0,c=this.ya.length?this.ya[0].index:0,0===this.ya.length||1===this.ya.length&&!a.Fo(b)&&1===this.opacity?(1===this.ya.length?(a.yc(b),a.qh(this.Gb.ji(),1/this.b.V,1/this.b.U,0,0,1,1,m,this.wb(),this.Ha,this.Ia,(this.Ha+this.La)/2,(this.Ia+this.Ka)/2,this.b.Fb.S,this.Ta[c]),a.rl(b)&&(this.b.ma=!0)):a.yc(0),a.gd(this.Gb.ji()),a.pf(this.opacity),a.kc(this.b.yb),a.of(this.Zb,this.Ub),a.Wd(),a.Gd(),
m=this.b.V/2,b=this.b.U/2,a.fj(-m,b,m,b,m,-b,-m,-b),a.kc(null)):this.Gb.Lo(a,this,null,this.Gb.ji()))};e.prototype.Cw=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.na();var c=a.ja;c.right<this.Ha||c.bottom<this.Ia||c.left>this.La||c.top>this.Ka||(b.Dl(a.Ef),a.yt?this.Ew(a,b):(b.yc(0),b.of(a.Zb,a.Ub),a.ec(b)))}};e.prototype.Dw=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.na();var c=a.ja;c.right<this.Ha||c.bottom<this.Ia||c.left>this.La||c.top>this.Ka||(a.Ef=this.b.Ef++,0===a.Tb&&
1===a.opacity&&a.De&&a.Ve&&(b.Dl(a.Ef),a.Ve(b)))}};e.prototype.Ew=function(a,b){var c=a.ya[0].mb,f=a.ya[0].index,g=this.ad();if(1!==a.ya.length||b.Fo(c)||b.Wy(c)||(a.n||a.u.wb())&&b.cj(c)||1!==a.opacity||a.type.Aa.Tr)this.Gb.Lo(b,this,a,this.Vd?this.b.yb:this.Gb.ji()),b.Wd(),b.scale(g,g),b.Oo(-this.wb()),b.translate((this.Ha+this.La)/-2,(this.Ia+this.Ka)/-2),b.Gd();else{b.yc(c);b.of(a.Zb,a.Ub);b.rl(c)&&(this.b.ma=!0);var e=0,n=0,l=0,p=0;b.cj(c)&&(c=a.ja,e=this.ic(c.left,c.top,!0,!0),n=this.ic(c.left,
c.top,!1,!0),l=this.ic(c.right,c.bottom,!0,!0),c=this.ic(c.right,c.bottom,!1,!0),e=e/windowWidth,n=1-n/windowHeight,l=l/windowWidth,p=1-c/windowHeight);b.qh(this.Vd?this.b.yb:this.Gb.ji(),1/a.width,1/a.height,e,n,l,p,g,this.wb(),this.Ha,this.Ia,(this.Ha+this.La)/2,(this.Ia+this.Ka)/2,this.b.Fb.S,a.Ta[f]);a.ec(b)}};e.prototype.Xa=function(a,b,c,f){var g=this.b.devicePixelRatio;this.b.cf&&(a*=g,b*=g);var g=this.b.rs,e=this.b.ss,g=(this.Gb.scrollX-g)*this.tc+g,e=(this.Gb.scrollY-e)*this.uc+e,n=g,l=e,
p=1/this.ad(!f);f?(n-=this.b.V*p/2,l-=this.b.U*p/2):(n-=this.b.width*p/2,l-=this.b.height*p/2);n+=a*p;l+=b*p;b=this.wb();0!==b&&(n-=g,l-=e,a=Math.cos(b),b=Math.sin(b),f=n*a-l*b,l=l*a+n*b,n=f+g,l+=e);return c?n:l};e.prototype.ic=function(a,b,c,f){var g=this.b.rs,e=this.b.ss,n=(this.Gb.scrollX-g)*this.tc+g,l=(this.Gb.scrollY-e)*this.uc+e,e=n,g=l,p=this.wb();if(0!==p){a-=n;b-=l;var q=Math.cos(-p),p=Math.sin(-p),t=a*q-b*p;b=b*q+a*p;a=t+n;b+=l}n=1/this.ad(!f);f?(e-=this.b.V*n/2,g-=this.b.U*n/2):(e-=this.b.width*
n/2,g-=this.b.height*n/2);e=(a-e)/n;g=(b-g)/n;a=this.b.devicePixelRatio;this.b.cf&&!f&&(e/=a,g/=a);return c?e:g};e.prototype.Va=function(){var a,b,c,f={s:this.scale,a:this.n,vl:this.Ha,vt:this.Ia,vr:this.La,vb:this.Ka,v:this.visible,bc:this.rd,t:this.Ed,px:this.tc,py:this.uc,o:this.opacity,zr:this.ac,fx:[],cg:this.Xh,instances:[]};a=0;for(b=this.ca.length;a<b;a++)c=this.ca[a],f.fx.push({name:c.name,active:c.Sb,params:this.Ta[c.index]});return f};e.prototype.jb=function(a){var b,c,f;this.scale=a.s;
this.n=a.a;this.Ha=a.vl;this.Ia=a.vt;this.La=a.vr;this.Ka=a.vb;this.visible=a.v;this.rd=a.bc;this.Ed=a.t;this.tc=a.px;this.uc=a.py;this.opacity=a.o;this.ac=a.zr;this.Xh=a.cg||[];Aa(this.Mc,this.Xs);var g=new ca;b=0;for(f=this.Xh.length;b<f;++b)g.add(this.Xh[b]);c=b=0;for(f=this.Mc.length;b<f;++b)g.contains(this.Mc[b][2])||(this.Mc[c]=this.Mc[b],++c);za(this.Mc,c);c=a.fx;b=0;for(f=c.length;b<f;b++)if(a=this.ln(c[b].name))a.Sb=c[b].active,this.Ta[a.index]=c[b].params;this.Fd();this.k.sort(r);this.sg=
!0};Wb=e})();
(function(){function h(a,b){var c,d=a.length;switch(d){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<d;c++)if(a[c]!==b[c])return!1;return!0}}function r(a,b){return a.index-b.index}function e(a){var b,c,d,f;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(r);a.length>=u.length&&(u.length=a.length+1);u[a.length]||(u[a.length]=[]);f=u[a.length];b=0;for(c=f.length;b<c;b++)if(d=f[b],h(a,d))return d;f.push(a);return a}
function q(a,b){this.b=a;this.jt={};this.Bq={};this.zn=!1;this.Tq=new ca;this.Qm=[];this.wm=[];this.name=b[0];var c=b[1];this.Ye=[];var d,f;d=0;for(f=c.length;d<f;d++)this.Vq(c[d],null,this.Ye)}function t(a){this.type=a;this.k=[];this.ta=[];this.ea=!0}function n(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ca=[];this.qf=[];this.Rq=this.Pl=this.kp=this.En=this.group=this.dp=!1;this.sb=[];this.nd=[];this.jd=[];this.mi="";this.Mg=this.En=this.group=!1;this.bk=null;c[1]&&(this.mi=c[1][1].toLowerCase(),
this.group=!0,this.En=!!c[1][0],this.bk=[],this.Mg=this.En,this.b.xg.push(this),this.b.ni[this.mi]=this);this.Ad=c[2];this.qa=c[4];this.group||(this.b.iq[this.qa.toString()]=this);var d=c[5];a=0;for(b=d.length;a<b;a++){var f=new Xb(this,d[a]);f.index=a;this.sb.push(f);this.$p(f.type)}d=c[6];a=0;for(b=d.length;a<b;a++)f=new Yb(this,d[a]),f.index=a,this.nd.push(f);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.Vq(c[a],this,this.jd);this.Kk=!1;this.sb.length&&(this.Kk=null==this.sb[0].type&&
this.sb[0].Lb==U.prototype.m.Ap)}function g(a,b){var c,d,f;if(a&&(-1===b.indexOf(a)&&b.push(a),a.rc))for(c=0,d=a.Bc.length;c<d;c++)f=a.Bc[c],a!==f&&-1===b.indexOf(f)&&b.push(f)}function a(a,b){this.Jc=a;this.sheet=a.sheet;this.b=a.b;this.la=[];this.Ua=[];this.Z={};this.index=-1;this.Mh=!1;this.Lb=this.b.Me(b[1]);this.trigger=0<b[3];this.Aq=2===b[3];this.Sd=b[4];this.Pg=b[5];this.uy=b[6];this.qa=b[7];this.b.Bg[this.qa.toString()]=this;-1===b[0]?(this.type=null,this.lb=this.Qo,this.Af=null,this.sd=
-1):(this.type=this.b.D[b[0]],this.lb=this.uy?this.hz:this.Po,b[2]?(this.Af=this.type.yk(b[2]),this.sd=this.type.jn(b[2])):(this.Af=null,this.sd=-1),this.Jc.parent&&this.Jc.parent.El());this.Aq&&(this.lb=this.iz);if(10===b.length){var c,d,f=b[9];c=0;for(d=f.length;c<d;c++){var m=new Zb(this,f[c]);this.la.push(m)}this.Ua.length=f.length}}function c(a,b){this.Jc=a;this.sheet=a.sheet;this.b=a.b;this.la=[];this.Ua=[];this.Z={};this.index=-1;this.Mh=!1;this.Lb=this.b.Me(b[1]);-1===b[0]?(this.type=null,
this.lb=this.Qo,this.Af=null,this.sd=-1):(this.type=this.b.D[b[0]],this.lb=this.Po,b[2]?(this.Af=this.type.yk(b[2]),this.sd=this.type.jn(b[2])):(this.Af=null,this.sd=-1));this.qa=b[3];this.b.wg[this.qa.toString()]=this;if(6===b.length){var c,d,f=b[5];c=0;for(d=f.length;c<d;c++){var m=new Zb(this,f[c]);this.la.push(m)}this.Ua.length=f.length}}function f(){A++;J.length===A&&J.push(new $b);return J[A]}function d(a,b){this.dd=a;this.Jc=a.Jc;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Nd=null;this.Ee=
0;this.get=null;this.rq=0;this.Gb=null;this.key=0;this.object=null;this.index=0;this.zj=this.mg=this.zj=this.mg=this.Cq=this.Hf=this.Aj=null;this.ld=!1;var c,d,f;switch(b[0]){case 0:case 7:this.Nd=new ac(this,b[1]);this.Ee=0;this.get=this.Qx;break;case 1:this.Nd=new ac(this,b[1]);this.Ee=0;this.get=this.Rx;break;case 5:this.Nd=new ac(this,b[1]);this.Ee=0;this.get=this.Vx;break;case 3:case 8:this.rq=b[1];this.get=this.Ox;break;case 6:this.Gb=this.b.$g[b[1]];this.get=this.Wx;break;case 9:this.key=b[1];
this.get=this.Ux;break;case 4:this.object=this.b.D[b[1]];this.get=this.Xx;this.Jc.$p(this.object);this.dd instanceof Yb?this.Jc.El():this.Jc.parent&&this.Jc.parent.El();break;case 10:this.index=b[1];a.type.R?(this.get=this.Sx,this.ld=!0):this.get=this.Tx;break;case 11:this.Aj=b[1];this.Hf=null;this.get=this.Px;break;case 2:case 12:this.Cq=b[1];this.get=this.Nx;break;case 13:for(this.get=this.Yx,this.mg=[],this.zj=[],c=1,d=b.length;c<d;c++)f=new Zb(this.dd,b[c]),this.mg.push(f),this.zj.push(0)}}function b(a,
b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ca=[];this.name=c[1];this.Xl=c[2];this.Dn=c[3];this.Di=!!c[4];this.Jk=!!c[5];this.qa=c[6];this.b.Gh[this.qa.toString()]=this;this.data=this.Dn;this.parent?(this.dg=this.Di||this.Jk?-1:this.b.sz++,this.b.Ov.push(this)):(this.dg=-1,this.b.Nv.push(this))}function k(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ca=[];this.qi=null;this.fy=c[1];this.Sb=!0}function m(){this.Zs=[];this.reset(null)}var u=[];q.prototype.toString=function(){return this.name};
q.prototype.Vq=function(a,b,c){switch(a[0]){case 0:a=new bc(this,b,a);if(a.Ad)for(c.push(a),c=0,b=a.sb.length;c<b;c++)a.sb[c].trigger&&this.Wq(a,c);else a.kr()?this.Wq(a,0):c.push(a);break;case 1:a=new Tb(this,b,a);c.push(a);break;case 2:a=new cc(this,b,a),c.push(a)}};q.prototype.bb=function(){var a,b;a=0;for(b=this.Ye.length;a<b;a++)this.Ye[a].bb(a<b-1&&this.Ye[a+1].Kk)};q.prototype.pp=function(){K(this.Qm);K(this.wm);this.Zp(this);K(this.wm)};q.prototype.Zp=function(a){var b,c,d,f,m=a.Qm,g=a.wm,
k=this.Tq.Hd();b=0;for(c=k.length;b<c;++b)d=k[b],f=d.qi,!d.Sb||a===f||-1<g.indexOf(f)||(g.push(f),f.Zp(a),m.push(f))};q.prototype.lb=function(a){this.b.EA||(this.zn=!0,a||(this.b.Ln=!0));var b,c;b=0;for(c=this.Ye.length;b<c;b++){var d=this.Ye[b];d.lb();this.b.Im(d.Ca);this.b.bf&&this.b.Rb()}a||(this.b.Ln=!1)};q.prototype.Wq=function(a,b){a.Ad||this.b.Tl.push(a);var c,d,f=a.sb[b],m;f.type?m=f.type.name:m="system";var g=(c=f.Aq)?this.Bq:this.jt;g[m]||(g[m]=[]);m=g[m];g=f.Lb;if(c){if(f.la.length&&(f=
f.la[0],1===f.type&&2===f.Nd.type)){f=f.Nd.value.toLowerCase();c=0;for(d=m.length;c<d;c++)if(m[c].method==g){c=m[c].bi;c[f]?c[f].push([a,b]):c[f]=[[a,b]];return}c={};c[f]=[[a,b]];m.push({method:g,bi:c})}}else{c=0;for(d=m.length;c<d;c++)if(m[c].method==g){m[c].bi.push([a,b]);return}W&&g===W.prototype.m.vg?m.unshift({method:g,bi:[[a,b]]}):m.push({method:g,bi:[[a,b]]})}};Ib=q;t.prototype.Dk=function(){return this.ea?this.type.k.length:this.k.length};t.prototype.Mb=function(){return this.ea?this.type.k:
this.k};t.prototype.aj=function(a){a&&(a.b.Db().Cb.Ad?(this.ea&&(K(this.k),Aa(this.ta,a.type.k),this.ea=!1),a=this.ta.indexOf(a),-1!==a&&(this.k.push(this.ta[a]),this.ta.splice(a,1))):(this.ea=!1,K(this.k),this.k[0]=a))};rb=t;window._c2hh_="682A3662974FCDE1654DBA8165FCA79D95B52404";n.prototype.bb=function(a){var b,c=this.parent;if(this.group)for(this.Pl=!0;c;){if(!c.group){this.Pl=!1;break}c=c.parent}this.kp=!this.kr()&&(!this.parent||this.parent.group&&this.parent.Pl);this.Rq=!!a;this.qf=this.Ca.slice(0);
for(c=this.parent;c;){a=0;for(b=c.Ca.length;a<b;a++)this.Mv(c.Ca[a]);c=c.parent}this.Ca=e(this.Ca);this.qf=e(this.qf);a=0;for(b=this.sb.length;a<b;a++)this.sb[a].bb();a=0;for(b=this.nd.length;a<b;a++)this.nd[a].bb();a=0;for(b=this.jd.length;a<b;a++)this.jd[a].bb(a<b-1&&this.jd[a+1].Kk)};n.prototype.mz=function(a){if(this.Mg!==!!a){this.Mg=!!a;var b;a=0;for(b=this.bk.length;a<b;++a)this.bk[a].ot();0<b&&this.b.Ba.Gf&&this.b.Ba.Gf.pp()}};n.prototype.$p=function(a){g(a,this.Ca)};n.prototype.Mv=function(a){g(a,
this.qf)};n.prototype.El=function(){this.dp=!0;this.parent&&this.parent.El()};n.prototype.kr=function(){return this.sb.length?this.sb[0].trigger:!1};n.prototype.lb=function(){var a,b,c=!1,d=this.b,f=this.b.Db();f.Cb=this;var m=this.sb;this.Kk||(f.Tm=!1);if(this.Ad){0===m.length&&(c=!0);f.rb=0;for(a=m.length;f.rb<a;f.rb++)b=m[f.rb],b.trigger||(b=b.lb())&&(c=!0);(f.Wf=c)&&this.Al()}else{f.rb=0;for(a=m.length;f.rb<a;f.rb++)if(b=m[f.rb].lb(),!b){f.Wf=!1;this.kp&&d.bf&&d.Rb();return}f.Wf=!0;this.Al()}this.Iw(f)};
n.prototype.Iw=function(a){a.Wf&&this.Rq&&(a.Tm=!0);this.kp&&this.b.bf&&this.b.Rb()};n.prototype.fz=function(a){this.b.Db().Cb=this;this.sb[a].lb()&&(this.Al(),this.b.Db().Wf=!0)};n.prototype.Al=function(){var a=this.b.Db(),b;a.Ac=0;for(b=this.nd.length;a.Ac<b;a.Ac++)if(this.nd[a.Ac].lb())return;this.Hs()};n.prototype.dz=function(){var a=this.b.Db(),b;for(b=this.nd.length;a.Ac<b;a.Ac++)if(this.nd[a.Ac].lb())return;this.Hs()};n.prototype.Hs=function(){if(this.jd.length){var a,b,c,d,f=this.jd.length-
1;this.b.sl(this);if(this.dp)for(a=0,b=this.jd.length;a<b;a++)c=this.jd[a],(d=!this.Pl||!this.group&&a<f)&&this.b.mh(c.Ca),c.lb(),d?this.b.Ae(c.Ca):this.b.Im(c.Ca);else for(a=0,b=this.jd.length;a<b;a++)this.jd[a].lb();this.b.nl()}};n.prototype.gz=function(){var a=this.b.Db();a.Cb=this;var b=!1,c;a.rb=0;for(c=this.sb.length;a.rb<c;a.rb++)if(this.sb[a.rb].lb())b=!0;else if(!this.Ad)return!1;return this.Ad?b:!0};n.prototype.yl=function(){this.b.ci++;var a=this.b.Db().rb,b=this.b.sl(this);if(!this.Ad)for(b.rb=
a+1,a=this.sb.length;b.rb<a;b.rb++)if(!this.sb[b.rb].lb()){this.b.nl();return}this.Al();this.b.nl()};n.prototype.ky=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.sb[b].type===a.type)return!1;return!0};bc=n;a.prototype.bb=function(){var a,b,c;a=0;for(b=this.la.length;a<b;a++)c=this.la[a],c.bb(),c.ld&&(this.Mh=!0)};a.prototype.iz=function(){return!0};a.prototype.Qo=function(){var a,b;a=0;for(b=this.la.length;a<b;a++)this.Ua[a]=this.la[a].get();return Sa(this.Lb.apply(this.b.$d,
this.Ua),this.Pg)};a.prototype.hz=function(){var a,b;a=0;for(b=this.la.length;a<b;a++)this.Ua[a]=this.la[a].get();a=this.Lb.apply(this.Af?this.Af:this.type,this.Ua);this.type.Ic();return a};a.prototype.Po=function(){var a,b,c,d,f,m,g,k,e=this.type,n=e.X(),q=this.Jc.Ad&&!this.trigger;b=0;var t=e.rc,u=e.R,h=e.ne,r=this.sd,A=-1<r,J=this.Mh,D=this.la,M=this.Ua,S=this.Pg,H=this.Lb,F;if(J)for(b=0,f=D.length;b<f;++b)m=D[b],m.ld||(M[b]=m.get(0));else for(b=0,f=D.length;b<f;++b)M[b]=D[b].get(0);if(n.ea){K(n.k);
K(n.ta);F=e.k;a=0;for(d=F.length;a<d;++a){k=F[a];if(J)for(b=0,f=D.length;b<f;++b)m=D[b],m.ld&&(M[b]=m.get(a));A?(b=0,u&&(b=k.type.Gg[h]),b=H.apply(k.W[r+b],M)):b=H.apply(k,M);(g=Sa(b,S))?n.k.push(k):q&&n.ta.push(k)}e.finish&&e.finish(!0);n.ea=!1;e.Ic();return n.Dk()}c=0;F=(g=q&&!this.Jc.ky(this))?n.ta:n.k;var Q=!1;a=0;for(d=F.length;a<d;++a){k=F[a];if(J)for(b=0,f=D.length;b<f;++b)m=D[b],m.ld&&(M[b]=m.get(a));A?(b=0,u&&(b=k.type.Gg[h]),b=H.apply(k.W[r+b],M)):b=H.apply(k,M);if(Sa(b,S))if(Q=!0,g){if(n.k.push(k),
t)for(b=0,f=k.siblings.length;b<f;b++)m=k.siblings[b],m.type.X().k.push(m)}else{F[c]=k;if(t)for(b=0,f=k.siblings.length;b<f;b++)m=k.siblings[b],m.type.X().k[c]=m;c++}else if(g){F[c]=k;if(t)for(b=0,f=k.siblings.length;b<f;b++)m=k.siblings[b],m.type.X().ta[c]=m;c++}else if(q&&(n.ta.push(k),t))for(b=0,f=k.siblings.length;b<f;b++)m=k.siblings[b],m.type.X().ta.push(m)}za(F,c);if(t)for(u=e.Bc,a=0,d=u.length;a<d;a++)k=u[a].X(),g?za(k.ta,c):za(k.k,c);c=Q;if(g&&!Q)for(a=0,d=n.k.length;a<d;a++){k=n.k[a];if(J)for(b=
0,f=D.length;b<f;b++)m=D[b],m.ld&&(M[b]=m.get(a));b=A?H.apply(k.W[r],M):H.apply(k,M);if(Sa(b,S)){Q=!0;break}}e.finish&&e.finish(c||q);return q?Q:n.Dk()};Xb=a;c.prototype.bb=function(){var a,b,c;a=0;for(b=this.la.length;a<b;a++)c=this.la[a],c.bb(),c.ld&&(this.Mh=!0)};c.prototype.Qo=function(){var a=this.b,b,c,d=this.la,f=this.Ua;b=0;for(c=d.length;b<c;++b)f[b]=d[b].get();return this.Lb.apply(a.$d,f)};c.prototype.Po=function(){var a=this.type,b=this.sd,c=a.ne,d=this.Mh,f=this.la,m=this.Ua,g=this.Lb,
k=a.X().Mb(),a=a.R,e=-1<b,n,q,t,u,h,r;if(d)for(q=0,u=f.length;q<u;++q)h=f[q],h.ld||(m[q]=h.get(0));else for(q=0,u=f.length;q<u;++q)m[q]=f[q].get(0);n=0;for(t=k.length;n<t;++n){r=k[n];if(d)for(q=0,u=f.length;q<u;++q)h=f[q],h.ld&&(m[q]=h.get(n));e?(q=0,a&&(q=r.type.Gg[c]),g.apply(r.W[b+q],m)):g.apply(r,m)}return!1};Yb=c;var J=[],A=-1;d.prototype.bb=function(){var a,b;if(11===this.type)this.Hf=this.b.Kq(this.Aj,this.Jc.parent);else if(13===this.type)for(a=0,b=this.mg.length;a<b;a++)this.mg[a].bb();this.Nd&&
this.Nd.bb()};d.prototype.Dy=function(a){this.ld||!a||a.Aa.Gl||(this.ld=!0)};d.prototype.Os=function(){this.ld=!0};d.prototype.Qx=function(a){this.Ee=a||0;a=f();this.Nd.get(a);A--;return a.data};d.prototype.Rx=function(a){this.Ee=a||0;a=f();this.Nd.get(a);A--;return ia(a.data)?a.data:""};d.prototype.Xx=function(){return this.object};d.prototype.Ox=function(){return this.rq};d.prototype.Vx=function(a){this.Ee=a||0;a=f();this.Nd.get(a);A--;return a.Eb()?this.b.pe(a.data):this.b.gi(a.data)};d.prototype.Wx=
function(){return this.Gb};d.prototype.Ux=function(){return this.key};d.prototype.Tx=function(){return this.index};d.prototype.Sx=function(a){a=a||0;var b=this.dd.type,c=null,c=b.X(),d=c.Mb();if(d.length)c=d[a%d.length].type;else if(c.ta.length)c=c.ta[a%c.ta.length].type;else if(b.k.length)c=b.k[a%b.k.length].type;else return 0;return this.index+c.pk[b.ne]};d.prototype.Px=function(){return this.Hf};d.prototype.Nx=function(){return this.Cq};d.prototype.Yx=function(){var a,b;a=0;for(b=this.mg.length;a<
b;a++)this.zj[a]=this.mg[a].get();return this.zj};Zb=d;b.prototype.bb=function(){this.Ca=e(this.Ca)};b.prototype.lg=function(a){var b=this.b.Jq();this.parent&&!this.Di&&b?(this.dg>=b.length&&(b.length=this.dg+1),b[this.dg]=a):this.data=a};b.prototype.ki=function(){var a=this.b.Jq();return!this.parent||this.Di||!a||this.Jk?this.data:this.dg>=a.length||"undefined"===typeof a[this.dg]?this.Dn:a[this.dg]};b.prototype.lb=function(){!this.parent||this.Di||this.Jk||this.lg(this.Dn)};Tb=b;k.prototype.toString=
function(){return"include:"+this.qi.toString()};k.prototype.bb=function(){this.qi=this.b.Wm[this.fy];this.sheet.Tq.add(this);this.Ca=e(this.Ca);for(var a=this.parent;a;)a.group&&a.bk.push(this),a=a.parent;this.ot()};k.prototype.lb=function(){this.parent&&this.b.ej(this.b.D);this.qi.zn||this.qi.lb(!0);this.parent&&this.b.Ae(this.b.D)};k.prototype.ot=function(){for(var a=this.parent;a;){if(a.group&&!a.Mg){this.Sb=!1;return}a=a.parent}this.Sb=!0};cc=k;m.prototype.reset=function(a){this.Cb=a;this.Ac=
this.rb=0;K(this.Zs);this.Tm=this.Wf=!1};m.prototype.ny=function(){return this.Cb.dp?!0:this.rb<this.Cb.sb.length-1?!!this.Cb.Ca.length:!1};Sb=m})();
(function(){function h(g,a){this.dd=g;this.b=g.b;this.type=a[0];this.get=[this.Zw,this.Vw,this.kx,this.ox,this.Kw,this.mx,this.cx,this.Sw,this.bx,this.jx,this.Lw,this.ix,this.Tw,this.gx,this.$w,this.ax,this.Ww,this.Xw,this.Rw,this.nx,this.hx,this.Yw,this.Qw,this.Uw][this.type];var c=null;this.xe=this.la=this.Ua=this.Lb=this.Nl=this.second=this.first=this.value=null;this.sd=-1;this.wd=null;this.zt=-1;this.Hf=this.Aj=null;this.ph=!1;switch(this.type){case 0:case 1:case 2:this.value=a[1];break;case 3:this.first=
new ac(g,a[1]);break;case 18:this.first=new ac(g,a[1]);this.second=new ac(g,a[2]);this.Nl=new ac(g,a[3]);break;case 19:this.Lb=this.b.Me(a[1]);this.Lb!==U.prototype.P.random&&this.Lb!==U.prototype.P.qq||this.dd.Os();this.Ua=[];this.la=[];3===a.length?(c=a[2],this.Ua.length=c.length+1):this.Ua.length=1;break;case 20:this.xe=this.b.D[a[1]];this.sd=-1;this.Lb=this.b.Me(a[2]);this.ph=a[3];oc&&this.Lb===oc.prototype.P.It&&this.dd.Os();a[4]?this.wd=new ac(g,a[4]):this.wd=null;this.Ua=[];this.la=[];6===
a.length?(c=a[5],this.Ua.length=c.length+1):this.Ua.length=1;break;case 21:this.xe=this.b.D[a[1]];this.ph=a[2];a[3]?this.wd=new ac(g,a[3]):this.wd=null;this.zt=a[4];break;case 22:this.xe=this.b.D[a[1]];this.xe.yk(a[2]);this.sd=this.xe.jn(a[2]);this.Lb=this.b.Me(a[3]);this.ph=a[4];a[5]?this.wd=new ac(g,a[5]):this.wd=null;this.Ua=[];this.la=[];7===a.length?(c=a[6],this.Ua.length=c.length+1):this.Ua.length=1;break;case 23:this.Aj=a[1],this.Hf=null}this.dd.Dy(this.xe);4<=this.type&&17>=this.type&&(this.first=
new ac(g,a[1]),this.second=new ac(g,a[2]));if(c){var f,d;f=0;for(d=c.length;f<d;f++)this.la.push(new ac(g,c[f]))}}function r(){++n;t.length===n&&t.push(new $b);return t[n]}function e(g,a,c){var f,d;f=0;for(d=g.length;f<d;++f)g[f].get(c),a[f+1]=c.data}function q(g,a){this.type=g||dc.ug;this.data=a||0;this.fg=null;this.type==dc.ug&&(this.data=Math.floor(this.data))}h.prototype.bb=function(){23===this.type&&(this.Hf=this.dd.b.Kq(this.Aj,this.dd.Jc.parent));this.first&&this.first.bb();this.second&&this.second.bb();
this.Nl&&this.Nl.bb();this.wd&&this.wd.bb();if(this.la){var g,a;g=0;for(a=this.la.length;g<a;g++)this.la[g].bb()}};var t=[],n=-1;h.prototype.nx=function(g){var a=this.la,c=this.Ua;c[0]=g;g=r();e(a,c,g);--n;this.Lb.apply(this.b.$d,c)};h.prototype.hx=function(g){var a=this.xe,c=this.Ua,f=this.la,d=this.wd,b=this.Lb,k=this.dd.Ee,m=a.X(),q=m.Mb();if(!q.length)if(m.ta.length)q=m.ta;else{this.ph?g.Fa(""):g.Ga(0);return}c[0]=g;g.fg=a;g=r();e(f,c,g);d&&(d.get(g),g.Eb()&&(k=g.data,q=a.k));--n;a=q.length;if(k>=
a||k<=-a)k%=a;0>k&&(k+=a);b.apply(q[k],c)};h.prototype.Qw=function(g){var a=this.xe,c=this.Ua,f=this.la,d=this.wd,b=this.sd,k=this.Lb,m=this.dd.Ee,q=a.X(),t=q.Mb();if(!t.length)if(q.ta.length)t=q.ta;else{this.ph?g.Fa(""):g.Ga(0);return}c[0]=g;g.fg=a;g=r();e(f,c,g);d&&(d.get(g),g.Eb()&&(m=g.data,t=a.k));--n;f=t.length;if(m>=f||m<=-f)m%=f;0>m&&(m+=f);m=t[m];t=0;a.R&&(t=m.type.Gg[a.ne]);k.apply(m.W[b+t],c)};h.prototype.Yw=function(g){var a=this.wd,c=this.xe,f=this.zt,d=this.dd.Ee,b=c.X(),k=b.Mb();if(!k.length)if(b.ta.length)k=
b.ta;else{this.ph?g.Fa(""):g.Ga(0);return}if(a){b=r();a.get(b);if(b.Eb()){d=b.data;k=c.k;0!==k.length&&(d%=k.length,0>d&&(d+=k.length));d=c.pn(d);c=d.xb[f];ia(c)?g.Fa(c):g.M(c);--n;return}--n}a=k.length;if(d>=a||d<=-a)d%=a;0>d&&(d+=a);d=k[d];k=0;c.R&&(k=d.type.pk[c.ne]);c=d.xb[f+k];ia(c)?g.Fa(c):g.M(c)};h.prototype.Zw=function(g){g.type=dc.ug;g.data=this.value};h.prototype.Vw=function(g){g.type=dc.tg;g.data=this.value};h.prototype.kx=function(g){g.type=dc.String;g.data=this.value};h.prototype.ox=
function(g){this.first.get(g);g.Eb()&&(g.data=-g.data)};h.prototype.Kw=function(g){this.first.get(g);var a=r();this.second.get(a);g.Eb()&&a.Eb()&&(g.data+=a.data,a.Rg()&&g.dh());--n};h.prototype.mx=function(g){this.first.get(g);var a=r();this.second.get(a);g.Eb()&&a.Eb()&&(g.data-=a.data,a.Rg()&&g.dh());--n};h.prototype.cx=function(g){this.first.get(g);var a=r();this.second.get(a);g.Eb()&&a.Eb()&&(g.data*=a.data,a.Rg()&&g.dh());--n};h.prototype.Sw=function(g){this.first.get(g);var a=r();this.second.get(a);
g.Eb()&&a.Eb()&&(g.data/=a.data,g.dh());--n};h.prototype.bx=function(g){this.first.get(g);var a=r();this.second.get(a);g.Eb()&&a.Eb()&&(g.data%=a.data,a.Rg()&&g.dh());--n};h.prototype.jx=function(g){this.first.get(g);var a=r();this.second.get(a);g.Eb()&&a.Eb()&&(g.data=Math.pow(g.data,a.data),a.Rg()&&g.dh());--n};h.prototype.Lw=function(g){this.first.get(g);var a=r();this.second.get(a);a.Ug()||g.Ug()?this.Nw(g,a):this.Mw(g,a);--n};h.prototype.Nw=function(g,a){g.Ug()&&a.Ug()?this.Pw(g,a):this.Ow(g,
a)};h.prototype.Pw=function(g,a){g.data+=a.data};h.prototype.Ow=function(g,a){g.Ug()?g.data+=(Math.round(1E10*a.data)/1E10).toString():g.Fa(g.data.toString()+a.data)};h.prototype.Mw=function(g,a){g.Ga(g.data&&a.data?1:0)};h.prototype.ix=function(g){this.first.get(g);var a=r();this.second.get(a);g.Eb()&&a.Eb()&&(g.data||a.data?g.Ga(1):g.Ga(0));--n};h.prototype.Rw=function(g){this.first.get(g);g.data?this.second.get(g):this.Nl.get(g)};h.prototype.Tw=function(g){this.first.get(g);var a=r();this.second.get(a);
g.Ga(g.data===a.data?1:0);--n};h.prototype.gx=function(g){this.first.get(g);var a=r();this.second.get(a);g.Ga(g.data!==a.data?1:0);--n};h.prototype.$w=function(g){this.first.get(g);var a=r();this.second.get(a);g.Ga(g.data<a.data?1:0);--n};h.prototype.ax=function(g){this.first.get(g);var a=r();this.second.get(a);g.Ga(g.data<=a.data?1:0);--n};h.prototype.Ww=function(g){this.first.get(g);var a=r();this.second.get(a);g.Ga(g.data>a.data?1:0);--n};h.prototype.Xw=function(g){this.first.get(g);var a=r();
this.second.get(a);g.Ga(g.data>=a.data?1:0);--n};h.prototype.Uw=function(g){var a=this.Hf.ki();ha(a)?g.M(a):g.Fa(a)};ac=h;q.prototype.Rg=function(){return this.type===dc.tg};q.prototype.Eb=function(){return this.type===dc.ug||this.type===dc.tg};q.prototype.Ug=function(){return this.type===dc.String};q.prototype.dh=function(){this.Rg()||(this.Ug()&&(this.data=parseFloat(this.data)),this.type=dc.tg)};q.prototype.Ga=function(g){this.type=dc.ug;this.data=Math.floor(g)};q.prototype.M=function(g){this.type=
dc.tg;this.data=g};q.prototype.Fa=function(g){this.type=dc.String;this.data=g};q.prototype.Yo=function(g){ha(g)?(this.type=dc.tg,this.data=g):ia(g)?(this.type=dc.String,this.data=g.toString()):(this.type=dc.ug,this.data=0)};$b=q;dc={ug:0,tg:1,String:2}})();function U(h){this.b=h;this.zc=[]}
U.prototype.Va=function(){var h={},r,e,q,t,n,g,a,c;h.waits=[];var f=h.waits,d;r=0;for(e=this.zc.length;r<e;r++){g=this.zc[r];d={t:g.time,st:g.Vs,s:g.$o,ev:g.Eg.qa,sm:[],sols:{}};g.Eg.nd[g.Ac]&&(d.act=g.Eg.nd[g.Ac].qa);q=0;for(t=g.Ca.length;q<t;q++)d.sm.push(g.Ca[q].qa);for(n in g.lc)if(g.lc.hasOwnProperty(n)){a=this.b.D[parseInt(n,10)];c={sa:g.lc[n].Bl,insts:[]};q=0;for(t=g.lc[n].qe.length;q<t;q++)c.insts.push(g.lc[n].qe[q].uid);d.sols[a.qa.toString()]=c}f.push(d)}return h};
U.prototype.jb=function(h){h=h.waits;var r,e,q,t,n,g,a,c,f,d,b;K(this.zc);r=0;for(e=h.length;r<e;r++)if(g=h[r],c=this.b.iq[g.ev.toString()]){f=-1;q=0;for(t=c.nd.length;q<t;q++)if(c.nd[q].qa===g.act){f=q;break}if(-1!==f){a={lc:{},Ca:[],Rm:!1};a.time=g.t;a.Vs=g.st||"";a.$o=!!g.s;a.Eg=c;a.Ac=f;q=0;for(t=g.sm.length;q<t;q++)(c=this.b.hi(g.sm[q]))&&a.Ca.push(c);for(n in g.sols)if(g.sols.hasOwnProperty(n)&&(c=this.b.hi(parseInt(n,10)))){f=g.sols[n];d={Bl:f.sa,qe:[]};q=0;for(t=f.insts.length;q<t;q++)(b=
this.b.Kg(f.insts[q]))&&d.qe.push(b);a.lc[c.index.toString()]=d}this.zc.push(a)}}};
(function(){function h(){}function r(){}function e(){}var q=U.prototype;h.prototype.Vt=function(){return!0};h.prototype.Lp=function(){return!0};h.prototype.Gu=function(){return!0};h.prototype.Lt=function(a,f,d){return ec(a,f,d)};var t=[],n=-1;h.prototype.Bp=function(a){var f=a.X();n++;t.length===n&&t.push([]);var d=t[n];Aa(d,f.Mb());var b=this.b.Db(),g=b.Cb,m=b.ny(),b=this.b.Cs(),e,q,h,l,p,r,x=a.rc;if(m)for(m=0,e=d.length;m<e&&!b.Qb;m++){this.b.mh(g.Ca);l=d[m];f=a.X();f.ea=!1;K(f.k);f.k[0]=l;if(x)for(q=
0,h=l.siblings.length;q<h;q++)p=l.siblings[q],r=p.type.X(),r.ea=!1,K(r.k),r.k[0]=p;b.index=m;g.yl();this.b.Ae(g.Ca)}else for(f.ea=!1,K(f.k),m=0,e=d.length;m<e&&!b.Qb;m++){l=d[m];f.k[0]=l;if(x)for(q=0,h=l.siblings.length;q<h;q++)p=l.siblings[q],r=p.type.X(),r.ea=!1,K(r.k),r.k[0]=p;b.index=m;g.yl()}K(d);this.b.ws();n--;return!1};h.prototype.Dv=function(){var a=this.b.Jg().Z;"undefined"===typeof a.TriggerOnce_lastTick&&(a.TriggerOnce_lastTick=-1);var f=a.TriggerOnce_lastTick,d=this.b.qg;a.TriggerOnce_lastTick=
d;return this.b.Vn||f!==d-1};h.prototype.Ut=function(a){var f=this.b.Jg(),d=f.Z.Every_lastTime||0,b=this.b.Fb.S;"undefined"===typeof f.Z.Every_seconds&&(f.Z.Every_seconds=a);var g=f.Z.Every_seconds;if(b>=d+g)return f.Z.Every_lastTime=d+g,b>=f.Z.Every_lastTime+.04&&(f.Z.Every_lastTime=b),f.Z.Every_seconds=a,!0;b<d-.1&&(f.Z.Every_lastTime=b);return!1};h.prototype.Pt=function(a,f,d){return ec(a.ki(),f,d)};h.prototype.eu=function(a){return(a=this.b.ni[a.toLowerCase()])&&a.Mg};h.prototype.Wu=function(a){if(!a||
!a.k.length)return!1;a.X().ea=!0;a.Ic();return!0};h.prototype.Ap=function(){var a=this.b.Db();return a.Tm?!1:!a.Wf};h.prototype.Mp=function(){return!0};h.prototype.ru=function(){return!0};h.prototype.lm=function(){return!0};h.prototype.Hu=function(){return!0};h.prototype.im=function(){return!0};h.prototype.Ft=function(a,f,d){return Na(O(a),O(d))<=O(f)};h.prototype.du=function(a,f){return Pa(O(a),O(f))};h.prototype.bu=function(a,f,d){a=La(a);f=La(f);d=La(d);return Pa(d,f)?Pa(a,f)&&!Pa(a,d):!(!Pa(a,
f)&&Pa(a,d))};q.m=new h;r.prototype.Tt=function(a,f,d,b){if(f&&a&&(f=this.b.sq(a,f,d,b))){this.b.xd++;var g;this.b.trigger(Object.getPrototypeOf(a.Aa).m.Lh,f);if(f.rc)for(d=0,b=f.siblings.length;d<b;d++)g=f.siblings[d],this.b.trigger(Object.getPrototypeOf(g.type.Aa).m.Lh,g);this.b.xd--;a=a.X();a.ea=!1;K(a.k);a.k[0]=f;if(f.rc)for(d=0,b=f.siblings.length;d<b;d++)g=f.siblings[d],a=g.type.X(),a.ea=!1,K(a.k),a.k[0]=g}};r.prototype.Yu=function(a,f){this.b.Ba.To(a);this.b.Ba.Uo(f)};r.prototype.ov=function(a,
f){0===a.Xl?ha(f)?a.lg(f):a.lg(parseFloat(f)):1===a.Xl&&a.lg(f.toString())};r.prototype.Et=function(a,f){0===a.Xl?ha(f)?a.lg(a.ki()+f):a.lg(a.ki()+parseFloat(f)):1===a.Xl&&a.lg(a.ki()+f.toString())};r.prototype.nv=function(a){0>a&&(a=0);this.b.rg=a};r.prototype.gv=function(a,f){var d=f;0>d&&(d=0);if(a){var b=a.X().Mb(),g,m;g=0;for(m=b.length;g<m;g++)b[g].hh=d}};var g=[],a=[];r.prototype.Fv=function(c){if(!(0>c)){var f,d,b,k=this.b.Db(),m;g.length?m=g.pop():m={lc:{},Ca:[]};m.Rm=!1;m.time=this.b.Fb.S+
c;m.Vs="";m.$o=!1;m.Eg=k.Cb;m.Ac=k.Ac+1;c=0;for(f=this.b.D.length;c<f;c++)b=this.b.D[c],d=b.X(),d.ea&&-1===k.Cb.Ca.indexOf(b)||(m.Ca.push(b),b=void 0,a.length?b=a.pop():b={qe:[]},b.Bl=!1,b.Bl=d.ea,Aa(b.qe,d.k),m.lc[c.toString()]=b);this.zc.push(m);return!0}};r.prototype.Xt=function(a){if(!this.b.Ei&&!this.b.Th)for(var f in this.b.$g)if(this.b.$g.hasOwnProperty(f)&&nb(f,a)){this.b.Th=this.b.$g[f];break}};q.C=new r;e.prototype["int"]=function(a,f){ia(f)?(a.Ga(parseInt(f,10)),isNaN(a.data)&&(a.data=
0)):a.Ga(f)};e.prototype["float"]=function(a,f){ia(f)?(a.M(parseFloat(f)),isNaN(a.data)&&(a.data=0)):a.M(f)};e.prototype.wz=function(a,f){ia(f)?a.Fa(f):a.Fa(f.toString())};e.prototype.random=function(a,f,d){void 0===d?a.M(Math.random()*f):a.M(Math.random()*(d-f)+f)};e.prototype.sqrt=function(a,f){a.M(Math.sqrt(f))};e.prototype.abs=function(a,f){a.M(Math.abs(f))};e.prototype.round=function(a,f){a.Ga(Math.round(f))};e.prototype.floor=function(a,f){a.Ga(Math.floor(f))};e.prototype.ceil=function(a,f){a.Ga(Math.ceil(f))};
e.prototype.sin=function(a,f){a.M(Math.sin(O(f)))};e.prototype.cos=function(a,f){a.M(Math.cos(O(f)))};e.prototype.tan=function(a,f){a.M(Math.tan(O(f)))};e.prototype.asin=function(a,f){a.M(Ha(Math.asin(f)))};e.prototype.acos=function(a,f){a.M(Ha(Math.acos(f)))};e.prototype.atan=function(a,f){a.M(Ha(Math.atan(f)))};e.prototype.exp=function(a,f){a.M(Math.exp(f))};e.prototype.log10=function(a,f){a.M(Math.log(f)/Math.LN10)};e.prototype.max=function(a){var f=arguments[1];"number"!==typeof f&&(f=0);var d,
b,g;d=2;for(b=arguments.length;d<b;d++)g=arguments[d],"number"===typeof g&&f<g&&(f=g);a.M(f)};e.prototype.min=function(a){var f=arguments[1];"number"!==typeof f&&(f=0);var d,b,g;d=2;for(b=arguments.length;d<b;d++)g=arguments[d],"number"===typeof g&&f>g&&(f=g);a.M(f)};e.prototype.We=function(a){a.M(this.b.We)};e.prototype.rg=function(a){a.M(this.b.rg)};e.prototype.time=function(a){a.M(this.b.Fb.S)};e.prototype.qg=function(a){a.Ga(this.b.qg)};e.prototype.dl=function(a){a.Ga(this.b.dl)};e.prototype.dn=
function(a){a.Ga(this.b.dn)};e.prototype.n=function(a,f,d,b,g){a.M(Ha(Ma(f,d,b,g)))};e.prototype.Fy=function(a){a.Fa("\n")};e.prototype.yy=function(a,f,d,b){a.M(Va(f,d,b))};e.prototype.left=function(a,f,d){a.Fa(ia(f)?f.substr(0,d):"")};e.prototype.right=function(a,f,d){a.Fa(ia(f)?f.substr(f.length-d):"")};e.prototype.replace=function(a,f,d,b){ia(f)&&ia(d)&&ia(b)?a.Fa(f.replace(new RegExp(gb(d),"gi"),b)):a.Fa(ia(f)?f:"")};e.prototype.trim=function(a,f){a.Fa(ia(f)?f.trim():"")};e.prototype.xy=function(a){this.b.Ba?
a.Fa(this.b.Ba.name):a.Fa("")};e.prototype.qq=function(a){var f=z(Math.random()*(arguments.length-1));a.Yo(arguments[f+1])};e.prototype.Lm=function(a){a.M(this.b.Lm/1E3)};e.prototype.ah=function(a){a.M(this.b.ah)};e.prototype.Ny=function(a){a.Ga(this.b.Ma)};q.P=new e;q.ez=function(){var c,f,d,b,k,m,e=this.b.Db();c=0;for(d=this.zc.length;c<d;c++){b=this.zc[c];if(-1===b.time){if(!b.$o)continue}else if(b.time>this.b.Fb.S)continue;e.Cb=b.Eg;e.Ac=b.Ac;e.rb=0;for(f in b.lc)b.lc.hasOwnProperty(f)&&(k=this.b.D[parseInt(f,
10)].X(),m=b.lc[f],k.ea=m.Bl,Aa(k.k,m.qe),k=m,K(k.qe),a.push(k));b.Eg.dz();this.b.Im(b.Ca);b.Rm=!0}f=c=0;for(d=this.zc.length;c<d;c++)b=this.zc[c],this.zc[f]=b,b.Rm?(Xa(b.lc),K(b.Ca),g.push(b)):f++;za(this.zc,f)}})();
(function(){qb=function(h,e){var q=h[1],t=h[3],n=h[4],g=h[5],a=h[6],c=h[7],f=h[8];e.m||(e.m={});e.C||(e.C={});e.P||(e.P={});var d=e.m,b=e.C,k=e.P;t&&(d.Qt=function(a,b){return ec(this.x,a,b)},d.Rt=function(a,b){return ec(this.y,a,b)},d.Vz=function(){var a=this.u;this.na();var b=this.ja;return!(b.right<a.Ha||b.bottom<a.Ia||b.left>a.La||b.top>a.Ka)},d.Wz=function(){this.na();var a=this.ja,b=this.b.Ba;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},d.eA=function(a,b,c){var d=this.X(),f=
d.Mb();if(!f.length)return!1;var g=f[0],k=g,e=Ra(g.x,g.y,b,c),n,q,t;n=1;for(q=f.length;n<q;n++)if(g=f[n],t=Ra(g.x,g.y,b,c),0===a&&t<e||1===a&&t>e)e=t,k=g;d.aj(k);return!0},b.rv=function(a){this.x!==a&&(this.x=a,this.G())},b.sv=function(a){this.y!==a&&(this.y=a,this.G())},b.qm=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.G()},b.jv=function(a,b){var c=a.Ix(this);if(c){var d;c.nn?(d=c.nn(b,!0),c=c.nn(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.G()}},b.$z=function(a){0!==
a&&(this.x+=Math.cos(this.n)*a,this.y+=Math.sin(this.n)*a,this.G())},b.Zz=function(a,b){0!==b&&(this.x+=Math.cos(O(a))*b,this.y+=Math.sin(O(a))*b,this.G())},k.rm=function(a){a.M(this.x)},k.tm=function(a){a.M(this.y)},k.We=function(a){a.M(this.b.$e(this))});n&&(d.Sz=function(a,b){return ec(this.width,a,b)},d.Qz=function(a,b){return ec(this.height,a,b)},b.sA=function(a){this.width!==a&&(this.width=a,this.G())},b.cv=function(a){this.height!==a&&(this.height=a,this.G())},b.qA=function(a,b){if(this.width!==
a||this.height!==b)this.width=a,this.height=b,this.G()},k.tA=function(a){a.M(this.width)},k.$t=function(a){a.M(this.height)},k.Nz=function(a){this.na();a.M(this.ja.left)},k.Pz=function(a){this.na();a.M(this.ja.top)},k.Oz=function(a){this.na();a.M(this.ja.right)},k.Mz=function(a){this.na();a.M(this.ja.bottom)});g&&(d.Ft=function(a,b){return Na(this.n,O(b))<=O(a)},d.du=function(a){return Pa(this.n,O(a))},d.bu=function(a,b){var c=La(a),d=La(b),f=Ja(this.n);return Pa(d,c)?Pa(f,c)&&!Pa(f,d):!(!Pa(f,c)&&
Pa(f,d))},b.mA=function(a){a=O(Ia(a));isNaN(a)||this.n===a||(this.n=a,this.G())},b.iA=function(a){0===a||isNaN(a)||(this.n+=O(a),this.n=Ja(this.n),this.G())},b.jA=function(a){0===a||isNaN(a)||(this.n-=O(a),this.n=Ja(this.n),this.G())},b.kA=function(a,b){var c=Oa(this.n,O(b),O(a));isNaN(c)||this.n===c||(this.n=c,this.G())},b.lA=function(a,b,c){a=Oa(this.n,Math.atan2(c-this.y,b-this.x),O(a));isNaN(a)||this.n===a||(this.n=a,this.G())},b.rA=function(a,b){var c=Math.atan2(b-this.y,a-this.x);isNaN(c)||
this.n===c||(this.n=c,this.G())},k.Lz=function(a){a.M(Ka(this.n))});q||(d.Nt=function(a,b,c){return ec(this.xb[a],b,c)},d.cu=function(a){return this.xb[a]},d.fA=function(a,b){var c=this.X(),d=c.Mb();if(!d.length)return!1;var f=d[0],g=f,k=f.xb[b],e,n,q;e=1;for(n=d.length;e<n;e++)if(f=d[e],q=f.xb[b],0===a&&q<k||1===a&&q>k)k=q,g=f;c.aj(g);return!0},d.om=function(a){var b,c,d,f,g;if(this.b.Jg().Pg){g=this.X();if(g.ea)for(g.ea=!1,K(g.k),K(g.ta),d=this.k,b=0,c=d.length;b<c;b++)f=d[b],f.uid===a?g.ta.push(f):
g.k.push(f);else{d=b=0;for(c=g.k.length;b<c;b++)f=g.k[b],g.k[d]=f,f.uid===a?g.ta.push(f):d++;za(g.k,d)}this.Ic();return!!g.k.length}f=this.b.Kg(a);if(!f)return!1;g=this.X();if(!g.ea&&-1===g.k.indexOf(f))return!1;if(this.R)for(a=f.type.Oa,b=0,c=a.length;b<c;b++){if(a[b]===this)return g.aj(f),this.Ic(),!0}else if(f.type===this)return g.aj(f),this.Ic(),!0;return!1},d.Lh=function(){return!0},d.Hp=function(){return!0},b.dv=function(a,b){var c=this.xb;ha(c[a])?c[a]=ha(b)?b:parseFloat(b):ia(c[a])&&(c[a]=
ia(b)?b:b.toString())},b.Dt=function(a,b){var c=this.xb;ha(c[a])?c[a]=ha(b)?c[a]+b:c[a]+parseFloat(b):ia(c[a])&&(c[a]=ia(b)?c[a]+b:c[a]+b.toString())},b.Av=function(a,b){var c=this.xb;ha(c[a])&&(c[a]=ha(b)?c[a]-b:c[a]-parseFloat(b))},b.bv=function(a,b){this.xb[a]=b?1:0},b.Bv=function(a){this.xb[a]=1-this.xb[a]},b.zp=function(){this.b.Le(this)},b.mu||(b.mu=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.b.Rk(this,b,!0);this.Jd&&this.Jd();if(this.W)for(a=0,b=this.W.length;a<b;++a)c=this.W[a],
c.Jd&&c.Jd()}),k.St=function(a){var b=a.fg.k.length,c,d,f;c=0;for(d=this.b.vd.length;c<d;c++)f=this.b.vd[c],a.fg.R?0<=f.type.Oa.indexOf(a.fg)&&b++:f.type===a.fg&&b++;a.Ga(b)},k.hA=function(a){a.Ga(a.fg.X().Mb().length)},k.Ev=function(a){a.Ga(this.uid)},k.Tz=function(a){a.Ga(this.li())},k.yp||(k.yp=function(a){a.Fa(JSON.stringify(this.b.Ro(this,!0)))}));a&&(d.Xz=function(){return this.visible},b.qv=function(a){!a!==!this.visible&&(this.visible=a,this.b.ma=!0)},d.Rz=function(a,b){return ec(mb(100*this.opacity),
a,b)},b.pA=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ma=!0)},k.Opacity=function(a){a.M(mb(100*this.opacity))});c&&(d.Uz=function(a){return a?this.u===a:!1},d.gA=function(a){var b=this.X(),c=b.Mb();if(!c.length)return!1;var d=c[0],f=d,g,k;g=1;for(k=c.length;g<k;g++)if(d=c[g],0===a){if(d.u.index>f.u.index||d.u.index===f.u.index&&d.Pd()>f.Pd())f=d}else if(d.u.index<f.u.index||d.u.index===f.u.index&&d.Pd()<f.Pd())f=d;b.aj(f);return!0},b.bA=function(){var a=this.u,
b=a.k;b.length&&b[b.length-1]===this||(a.oh(this,!1),a.Oh(this,!1),this.b.ma=!0)},b.pu=function(){var a=this.u,b=a.k;b.length&&b[0]===this||(a.oh(this,!1),a.Uy(this),this.b.ma=!0)},b.aA=function(a){a&&a!=this.u&&(this.u.oh(this,!0),this.u=a,a.Oh(this,!0),this.b.ma=!0)},b.vA=function(a,b){var c=0===a;if(b){var d=b.Cx(this);d&&d.uid!==this.uid&&(this.u.index!==d.u.index&&(this.u.oh(this,!0),this.u=d.u,d.u.Oh(this,!0)),this.u.Ey(this,d,c),this.b.ma=!0)}},k.ku=function(a){a.Ga(this.u.Xr)},k.Yz=function(a){a.Fa(this.u.name)},
k.uA=function(a){a.Ga(this.Pd())});f&&(b.nA=function(a,b){if(this.b.B){var c=this.type.mn(b);if(!(0>c)){var d=1===a;this.Ne[c]!==d&&(this.Ne[c]=d,this.Fd(),this.b.ma=!0)}}},b.oA=function(a,b,c){if(this.b.B){var d=this.type.mn(a);0>d||(a=this.type.ca[d],d=this.Ta[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.B.Mx(a.mb,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.Sb&&(this.b.ma=!0))))}})};Jb=function(){this.Fm=this.ym=!0;this.type.Oj=!0;this.b.ma=!0;var h,e,q=this.zm;h=0;for(e=q.length;h<e;++h)q[h](this);this.u.Uc&&
this.na()};Lb=function(h){h&&this.zm.push(h)};Nb=function(){if(this.ym){var h=this.ja,e=this.cc;h.set(this.x,this.y,this.x+this.width,this.y+this.height);h.offset(-this.Wb*this.width,-this.Xb*this.height);this.n?(h.offset(-this.x,-this.y),e.Qs(h,this.n),e.offset(this.x,this.y),e.kq(h)):e.sh(h);h.normalize();this.ym=!1;this.Dz()}};var h=new ta(0,0,0,0);Ob=function(){if(this.u.Uc){var r=this.u.Pb,e=this.ja;h.set(r.nc(e.left),r.oc(e.top),r.nc(e.right),r.oc(e.bottom));this.wc.ai(h)||(this.wc.right<this.wc.left?
r.update(this,null,h):r.update(this,this.wc,h),this.wc.Vh(h),this.u.Cd=!0)}};Pb=function(){if(this.Fm&&this.Kd){this.na();var r=this.type.ak,e=this.ja;h.set(r.nc(e.left),r.oc(e.top),r.nc(e.right),r.oc(e.bottom));this.Te.ai(h)||(this.Te.right<this.Te.left?r.update(this,null,h):r.update(this,this.Te,h),this.Te.Vh(h),this.Fm=!1)}};Mb=function(h,e){return this.ja.tb(h,e)&&this.cc.tb(h,e)?this.ra&&!this.ra.Rf()?(this.ra.Bf(this.width,this.height,this.n),this.ra.tb(h-this.x,e-this.y)):!0:!1};Fb=function(){this.type.Ul();
return this.Lf};Qb=function(){this.u.sp();return this.Id};Rb=function(){K(this.ya);var h,e,q,t=!0;h=0;for(e=this.Ne.length;h<e;h++)this.Ne[h]&&(q=this.type.ca[h],this.ya.push(q),q.Bd||(t=!1));this.yt=!!this.ya.length;this.De=t};Gb=function(){return"Inst"+this.Bs};tb=function(h){if(h&&h.rc&&h.type!=this){var e,q,t;e=0;for(q=h.siblings.length;e<q;e++)if(t=h.siblings[e],t.type==this)return t}h=this.X().Mb();return h.length?h[0]:null};ub=function(h){var e=this.X().Mb();return e.length?e[h.li()%e.length]:
null};sb=function(){if(this.vh&&!this.R){var h,e;h=0;for(e=this.k.length;h<e;h++)this.k[h].Lf=h;var q=h,t=this.b.vd;h=0;for(e=t.length;h<e;++h)t[h].type===this&&(t[h].Lf=q++);this.vh=!1}};Db=function(h){if(h<this.k.length)return this.k[h];h-=this.k.length;var e=this.b.vd,q,t;q=0;for(t=e.length;q<t;++q)if(e[q].type===this){if(0===h)return e[q];--h}return null};vb=function(){return this.rf[this.je]};wb=function(){this.je++;this.je===this.rf.length?this.rf.push(new rb(this)):this.rf[this.je].ea=!0};
xb=function(){this.je++;this.je===this.rf.length&&this.rf.push(new rb(this));var h=this.rf[this.je],e=this.rf[this.je-1];e.ea?h.ea=!0:(h.ea=!1,Aa(h.k,e.k),Aa(h.ta,e.ta))};yb=function(){this.je--};zb=function(h){var e,q,t,n,g,a=0;if(!this.R)for(e=0,q=this.Oa.length;e<q;e++)for(g=this.Oa[e],t=0,n=g.cb.length;t<n;t++){if(h===g.cb[t].name)return this.Z.lastBehIndex=a,g.cb[t];a++}e=0;for(q=this.cb.length;e<q;e++){if(h===this.cb[e].name)return this.Z.lastBehIndex=a,this.cb[e];a++}return null};Ab=function(h){return this.yk(h)?
this.Z.lastBehIndex:-1};Bb=function(h){var e,q;e=0;for(q=this.ca.length;e<q;e++)if(this.ca[e].name===h)return e;return-1};Cb=function(){if(this.rc&&!this.R){var h,e,q,t,n,g,a;this.Ul();g=this.X();var c=g.ea,f=(h=this.b.Db())&&h.Cb&&h.Cb.Ad;h=0;for(e=this.Bc.length;h<e;h++)if(n=this.Bc[h],n!==this&&(n.Ul(),a=n.X(),a.ea=c,!c)){K(a.k);q=0;for(t=g.k.length;q<t;++q)a.k[q]=n.pn(g.k[q].Lf);if(f)for(K(a.ta),q=0,t=g.ta.length;q<t;++q)a.ta[q]=n.pn(g.ta[q].Lf)}}};Eb=function(){return"Type"+this.qa};ec=function(h,
e,q){if("undefined"===typeof h||"undefined"===typeof q)return!1;switch(e){case 0:return h===q;case 1:return h!==q;case 2:return h<q;case 3:return h<=q;case 4:return h>q;case 5:return h>=q;default:return!1}}})();var mc={};function pc(h){this.b=h}
(function(){function h(){}function r(){}function e(){}var q=!1,t=null,n=null,g="",a=pc.prototype;a.T=function(a){this.Aa=a;this.b=a.b};a.T.prototype.I=function(){};a.N=function(a){this.type=a;this.b=a.b;this.Ld=this.ef="";this.vc=0;this.timeout=-1;if(q=this.b.Rd)t=require("path"),n=require("fs"),g=t.dirname(process.execPath)+"\\"};var c=a.N.prototype,f=null;window.C2_AJAX_DCSide=function(a,b,c){f&&("success"===a?(f.Ld=b,f.ef=c,f.b.trigger(pc.prototype.m.Jj,f)):"error"===a?(f.Ld=b,f.b.trigger(pc.prototype.m.hm,
f)):"progress"===a&&(f.vc=c,f.Ld=b,f.b.trigger(pc.prototype.m.Qp,f)))};c.I=function(){f=this};c.Va=function(){return{lastData:this.ef}};c.jb=function(a){this.ef=a.lastData;this.Ld="";this.vc=0};var d={},b="";c.ow=function(a,c){if(this.b.Nb)AppMobi.webview.execute('C2_AJAX_WebSide("'+a+'", "'+c+'", "GET", null);');else{var f=this,e=null,h=function(){f.Ld=a;f.b.trigger(pc.prototype.m.hm,f)},l=function(){if(q){var a=g+c;n.existsSync(a)?n.readFile(a,{encoding:"utf8"},function(a,b){a?h():(f.ef=b.replace(/\r\n/g,
"\n"),f.b.trigger(pc.prototype.m.Jj,f))}):h()}else h()},p=function(b){b.lengthComputable&&(f.vc=b.loaded/b.total,f.Ld=a,f.b.trigger(pc.prototype.m.Qp,f))};try{this.b.se?e=new ActiveXObject("Microsoft.XMLHTTP"):e=new XMLHttpRequest;e.onreadystatechange=function(){4===e.readyState&&(f.Ld=a,e.responseText?f.ef=e.responseText.replace(/\r\n/g,"\n"):f.ef="",400<=e.status?f.b.trigger(pc.prototype.m.hm,f):q&&!f.ef.length||f.b.trigger(pc.prototype.m.Jj,f))};this.b.se||(e.onerror=l,e.ontimeout=l,e.onabort=
l,e.onprogress=p);e.open("GET",c);!this.b.se&&0<=this.timeout&&"undefined"!==typeof e.timeout&&(e.timeout=this.timeout);try{e.responseType="text"}catch(t){}if(e.setRequestHeader){for(var r in d)if(d.hasOwnProperty(r))try{e.setRequestHeader(r,d[r])}catch(X){}d={}}if(b&&e.overrideMimeType){try{e.overrideMimeType(b)}catch(N){}b=""}e.send()}catch(G){l()}}};h.prototype.Jj=function(a){return nb(a,this.Ld)};h.prototype.hm=function(a){return nb(a,this.Ld)};h.prototype.Qp=function(a){return nb(a,this.Ld)};
a.m=new h;r.prototype.Xu=function(a,b){this.ow(a,b)};a.C=new r;e.prototype.ju=function(a){a.Fa(this.ef)};a.P=new e})();function qc(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 r(a){a=a.toLowerCase();return Y.hasOwnProperty(a)&&Y[a].length?Y[a][0].Lc():C.destination}function e(){return C.createGain?C.createGain():C.createGainNode()}function q(a){return C.createDelay?C.createDelay(a):C.createDelayNode(a)}function t(a){a.start?a.start(0):a.noteOn(0)}function n(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function g(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function a(a,
b,c,d,f,l){this.type="filter";this.ab=[a,b,c,d,f,l];this.wa=e();this.ba=e();this.ba.gain.value=l;this.Y=e();this.Y.gain.value=1-l;this.gb=C.createBiquadFilter();this.gb.type="number"===typeof this.gb.type?a:Jc[a];this.gb.frequency.value=b;this.gb.detune&&(this.gb.detune.value=c);this.gb.Q.value=d;this.gb.gain.value=f;this.wa.connect(this.gb);this.wa.connect(this.Y);this.gb.connect(this.ba)}function c(a,b,c){this.type="delay";this.ab=[a,b,c];this.wa=e();this.ba=e();this.ba.gain.value=c;this.Y=e();
this.Y.gain.value=1-c;this.Vi=e();this.$c=q(a);this.$c.delayTime.value=a;this.ik=e();this.ik.gain.value=b;this.wa.connect(this.Vi);this.wa.connect(this.Y);this.Vi.connect(this.ba);this.Vi.connect(this.$c);this.$c.connect(this.ik);this.ik.connect(this.Vi)}function f(a,b,c,d){this.type="convolve";this.ab=[b,c,d];this.wa=e();this.ba=e();this.ba.gain.value=c;this.Y=e();this.Y.gain.value=1-c;this.Cf=C.createConvolver();a&&(this.Cf.normalize=b,this.Cf.buffer=a);this.wa.connect(this.Cf);this.wa.connect(this.Y);
this.Cf.connect(this.ba)}function d(a,b,c,d,f){this.type="flanger";this.ab=[a,b,c,d,f];this.wa=e();this.Y=e();this.Y.gain.value=1-f/2;this.ba=e();this.ba.gain.value=f/2;this.qk=e();this.qk.gain.value=d;this.$c=q(a+b);this.$c.delayTime.value=a;this.Ib=C.createOscillator();this.Ib.frequency.value=c;this.Ec=e();this.Ec.gain.value=b;this.wa.connect(this.$c);this.wa.connect(this.Y);this.$c.connect(this.ba);this.$c.connect(this.qk);this.qk.connect(this.$c);this.Ib.connect(this.Ec);this.Ec.connect(this.$c.delayTime);
t(this.Ib)}function b(a,b,c,d,f,l){this.type="phaser";this.ab=[a,b,c,d,f,l];this.wa=e();this.Y=e();this.Y.gain.value=1-l/2;this.ba=e();this.ba.gain.value=l/2;this.gb=C.createBiquadFilter();this.gb.type="number"===typeof this.gb.type?7:"allpass";this.gb.frequency.value=a;this.gb.detune&&(this.gb.detune.value=b);this.gb.Q.value=c;this.Ib=C.createOscillator();this.Ib.frequency.value=f;this.Ec=e();this.Ec.gain.value=d;this.wa.connect(this.gb);this.wa.connect(this.Y);this.gb.connect(this.ba);this.Ib.connect(this.Ec);
this.Ec.connect(this.gb.frequency);t(this.Ib)}function k(a){this.type="gain";this.ab=[a];this.xa=e();this.xa.gain.value=a}function m(a,b){this.type="tremolo";this.ab=[a,b];this.xa=e();this.xa.gain.value=1-b/2;this.Ib=C.createOscillator();this.Ib.frequency.value=a;this.Ec=e();this.Ec.gain.value=b/2;this.Ib.connect(this.Ec);this.Ec.connect(this.xa.gain);t(this.Ib)}function u(a,b){this.type="ringmod";this.ab=[a,b];this.wa=e();this.ba=e();this.ba.gain.value=b;this.Y=e();this.Y.gain.value=1-b;this.kj=
e();this.kj.gain.value=0;this.Ib=C.createOscillator();this.Ib.frequency.value=a;this.Ib.connect(this.kj.gain);t(this.Ib);this.wa.connect(this.kj);this.wa.connect(this.Y);this.kj.connect(this.ba)}function J(a,b,c,d,f){this.type="distortion";this.ab=[a,b,c,d,f];this.wa=e();this.pl=e();this.ol=e();this.lz(c,Math.pow(10,d/20));this.ba=e();this.ba.gain.value=f;this.Y=e();this.Y.gain.value=1-f;this.$l=C.createWaveShaper();this.gk=new Float32Array(65536);this.xx(a,b);this.$l.gk=this.gk;this.wa.connect(this.pl);
this.wa.connect(this.Y);this.pl.connect(this.$l);this.$l.connect(this.ol);this.ol.connect(this.ba)}function A(a,b,c,d,f){this.type="compressor";this.ab=[a,b,c,d,f];this.xa=C.createDynamicsCompressor();try{this.xa.threshold.value=a,this.xa.knee.value=b,this.xa.ratio.value=c,this.xa.attack.value=d,this.xa.release.value=f}catch(l){}}function l(a,b){this.type="analyser";this.ab=[a,b];this.xa=C.createAnalyser();this.xa.fftSize=a;this.xa.smoothingTimeConstant=b;this.vx=new Float32Array(this.xa.frequencyBinCount);
this.Ts=new Uint8Array(a);this.$i=0}function p(){this.aa=null;this.Tk=0;this.sf=[];this.ko=this.Mk=this.Lk=0}function R(a,b){this.src=a;this.pa=E;this.yd=b;this.Nj=!1;var c=this;this.io=this.Ao=null;this.kh=[];this.Cl=0;this.vp=this.Zm=this.Ys=this.kl=!1;1===E&&b&&(this.pa=0,this.Ao=e());this.zf=this.Da=null;var d;switch(this.pa){case 0:this.Da=new Audio;this.Da.crossOrigin="anonymous";this.Da.addEventListener("canplaythrough",function(){c.vp=!0});1===E&&C.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&
(this.Ys=!0,this.Da.addEventListener("canplay",function(){c.io||(c.io=C.createMediaElementSource(c.Da),c.io.connect(c.Ao))}));this.Da.autoplay=!1;this.Da.CA="auto";this.Da.src=a;break;case 1:d=new XMLHttpRequest;d.open("GET",a,!0);d.responseType="arraybuffer";d.onload=function(){c.zf=d.response;c.fw()};d.onerror=function(){c.Zm=!0};d.send();break;case 2:this.Da=!0;break;case 3:this.Da=!0}}function x(a,b){var c=this;this.tag=b;this.Qb=this.oe=!0;this.src=a.src;this.buffer=a;this.pa=E;this.yd=a.yd;
this.playbackRate=1;this.Og=!0;this.Cc=this.Tc=!1;this.xc=0;this.Ci=this.Sg=this.Sd=!1;this.volume=1;this.yo=function(){c.Cc||c.Tc||this!==c.Mj||(c.Og=!0,c.Qb=!0,L=c.tag,w.trigger(qc.prototype.m.Kj,P))};this.Mj=null;this.Qg=1===S&&!this.yd||2===S;this.gh=1;this.startTime=this.Qg?w.Fb.S:w.Ie.S;this.$a=this.ub=null;this.Td=!1;this.Za=null;this.os=this.ns=this.ls=this.ks=this.qs=this.ps=0;this.q=null;var d=!1;1!==this.pa||0!==this.buffer.pa||this.buffer.Ys||(this.pa=0);switch(this.pa){case 0:this.yd?
(this.q=a.Da,d=!a.Nj,a.Nj=!0):(this.q=new Audio,this.q.crossOrigin="anonymous",this.q.autoplay=!1,this.q.src=a.Da.src,d=!0);d&&this.q.addEventListener("ended",function(){L=c.tag;c.Qb=!0;w.trigger(qc.prototype.m.Kj,P)});break;case 1:this.ub=e();this.ub.connect(r(b));1===this.buffer.pa?a.Da&&(this.q=C.createBufferSource(),this.q.buffer=a.Da,this.q.connect(this.ub)):(this.q=this.buffer.Da,this.buffer.Ao.connect(this.ub),this.buffer.Nj||(this.buffer.Nj=!0,this.buffer.Da.addEventListener("ended",function(){L=
c.tag;c.Qb=!0;w.trigger(qc.prototype.m.Kj,P)})));break;case 2:this.q=new window.Media(B+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Og=!0,c.Qb=!0,L=c.tag,w.trigger(qc.prototype.m.Kj,P))});break;case 3:this.q=!0}}function X(a){K(Ea);if(a.length){var b,c,d;b=0;for(c=v.length;b<c;b++)d=v[b],nb(a,d.tag)&&Ea.push(d)}else D&&!D.Ng()&&(K(Ea),Ea[0]=D)}function N(a,b){Y.hasOwnProperty(a)?Y[a].push(b):Y[a]=[b];var c,d,f,l,g=C.destination;if(Y.hasOwnProperty(a)&&(f=Y[a],f.length))for(g=
f[0].Lc(),c=0,d=f.length;c<d;c++)l=f[c],c+1===d?l.Wc(C.destination):l.Wc(f[c+1].Lc());X(a);c=0;for(d=Ea.length;c<d;c++)Ea[c].Zy(g);Ua&&Kb===a&&(Ua.disconnect(),Ua.connect(g))}function G(){}function y(){}var I=qc.prototype;I.T=function(a){this.Aa=a;this.b=a.b};I.T.prototype.I=function(){};var w=null,P=null,L="",B="",E=0,C=null,V=[],v=[],D=null,M=!1,S=0,H=!1,F=1,Q=0,la=0,T=1,va=1,qa=10,Ta=1E4,Da=1,Ua=null,Kb="",cb=!1,db=[],Y={},Jc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");
a.prototype.Wc=function(a){this.ba.disconnect();this.ba.connect(a);this.Y.disconnect();this.Y.connect(a)};a.prototype.remove=function(){this.wa.disconnect();this.gb.disconnect();this.ba.disconnect();this.Y.disconnect()};a.prototype.Lc=function(){return this.wa};c.prototype.Wc=function(a){this.ba.disconnect();this.ba.connect(a);this.Y.disconnect();this.Y.connect(a)};c.prototype.remove=function(){this.wa.disconnect();this.Vi.disconnect();this.$c.disconnect();this.ik.disconnect();this.ba.disconnect();
this.Y.disconnect()};c.prototype.Lc=function(){return this.wa};f.prototype.Wc=function(a){this.ba.disconnect();this.ba.connect(a);this.Y.disconnect();this.Y.connect(a)};f.prototype.remove=function(){this.wa.disconnect();this.Cf.disconnect();this.ba.disconnect();this.Y.disconnect()};f.prototype.Lc=function(){return this.wa};d.prototype.Wc=function(a){this.Y.disconnect();this.Y.connect(a);this.ba.disconnect();this.ba.connect(a)};d.prototype.remove=function(){this.wa.disconnect();this.$c.disconnect();
this.Ib.disconnect();this.Ec.disconnect();this.Y.disconnect();this.ba.disconnect();this.qk.disconnect()};d.prototype.Lc=function(){return this.wa};b.prototype.Wc=function(a){this.Y.disconnect();this.Y.connect(a);this.ba.disconnect();this.ba.connect(a)};b.prototype.remove=function(){this.wa.disconnect();this.gb.disconnect();this.Ib.disconnect();this.Ec.disconnect();this.Y.disconnect();this.ba.disconnect()};b.prototype.Lc=function(){return this.wa};k.prototype.Wc=function(a){this.xa.disconnect();this.xa.connect(a)};
k.prototype.remove=function(){this.xa.disconnect()};k.prototype.Lc=function(){return this.xa};m.prototype.Wc=function(a){this.xa.disconnect();this.xa.connect(a)};m.prototype.remove=function(){this.Ib.disconnect();this.Ec.disconnect();this.xa.disconnect()};m.prototype.Lc=function(){return this.xa};u.prototype.Wc=function(a){this.ba.disconnect();this.ba.connect(a);this.Y.disconnect();this.Y.connect(a)};u.prototype.remove=function(){this.Ib.disconnect();this.kj.disconnect();this.wa.disconnect();this.ba.disconnect();
this.Y.disconnect()};u.prototype.Lc=function(){return this.wa};J.prototype.lz=function(a,b){.01>a&&(a=.01);this.pl.gain.value=a;this.ol.gain.value=Math.pow(1/a,.6)*b};J.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/d)*(a-b)));return b*c};J.prototype.xx=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),f=0,l=0;32768>l;++l)f=l/32768,f=this.shape(f,c,d),this.gk[32768+l]=f,this.gk[32768-l-1]=-f};J.prototype.Wc=function(a){this.ba.disconnect();
this.ba.connect(a);this.Y.disconnect();this.Y.connect(a)};J.prototype.remove=function(){this.wa.disconnect();this.pl.disconnect();this.$l.disconnect();this.ol.disconnect();this.ba.disconnect();this.Y.disconnect()};J.prototype.Lc=function(){return this.wa};A.prototype.Wc=function(a){this.xa.disconnect();this.xa.connect(a)};A.prototype.remove=function(){this.xa.disconnect()};A.prototype.Lc=function(){return this.xa};l.prototype.Qa=function(){this.xa.getFloatFrequencyData(this.vx);this.xa.getByteTimeDomainData(this.Ts);
for(var a=this.xa.fftSize,b=0,c=this.$i=0,d=0;b<a;b++)d=(this.Ts[b]-128)/128,0>d&&(d=-d),this.$i<d&&(this.$i=d),c+=d*d;this.$i=h(this.$i);h(Math.sqrt(c/a))};l.prototype.Wc=function(a){this.xa.disconnect();this.xa.connect(a)};l.prototype.remove=function(){this.xa.disconnect()};l.prototype.Lc=function(){return this.xa};p.prototype.lj=function(a){if(this.aa=a)this.Lk=this.aa.x,this.Mk=this.aa.y;K(this.sf)};p.prototype.Ck=function(){return!!this.aa};p.prototype.Qa=function(a){this.aa&&0!==a&&(this.ko=
Ma(this.Lk,this.Mk,this.aa.x,this.aa.y),a=Ra(this.Lk,this.Mk,this.aa.x,this.aa.y)/a,4>this.sf.length||this.sf.shift(),this.sf.push(a),this.Lk=this.aa.x,this.Mk=this.aa.y)};p.prototype.Oq=function(){if(!this.sf.length)return 0;var a,b,c=0;a=0;for(b=this.sf.length;a<b;a++)c+=this.sf[a];return c/this.sf.length};p.prototype.un=function(){return Math.cos(this.ko)*this.Oq()};p.prototype.vn=function(){return Math.sin(this.ko)*this.Oq()};var Gc=!1;R.prototype.fw=function(){if(!this.Da&&this.zf){var a=this;
if(C.decodeAudioData)C.decodeAudioData(this.zf,function(b){a.Da=b;a.zf=null;var c,d,f;if(ga(a.ll)||H)ga(a.ck)||(c=a.ck.Cf,c.normalize=a.Wr,c.buffer=b);else if(a.kh.length){c=0;for(d=a.kh.length;c<d;c++){b=a.kh[c];f=new x(a,b.ct);f.Xo(!0);if("undefined"!==typeof b.Yr&&(b.aa=w.Kg(b.Yr),!b.aa))continue;if(b.aa){var l=Qa(b.aa.x,b.aa.y,-b.aa.u.wb(),Q,la,!0),g=Qa(b.aa.x,b.aa.y,-b.aa.u.wb(),Q,la,!1);f.Wo(l,g,Ha(b.aa.n-b.aa.u.wb()),b.An,b.lo,b.po);f.lj(b.aa)}else f.Wo(b.x,b.y,b.Iv,b.An,b.lo,b.po);f.play(a.eo,
a.up,a.Cl);a.kl&&f.pause();v.push(f)}K(a.kh)}else f=new x(a,a.ll||""),f.play(a.eo,a.up,a.Cl),a.kl&&f.pause(),v.push(f)},function(){a.Zm=!0});else if(this.Da=C.createBuffer(this.zf,!1),this.zf=null,ga(this.ll)||H)ga(this.ck)||(b=this.ck.Cf,b.normalize=this.Wr,b.buffer=this.Da);else{var b=new x(this,this.ll);b.play(this.eo,this.up,this.Cl);this.kl&&b.pause();v.push(b)}}};R.prototype.cr=function(){switch(this.pa){case 0:var a=4<=this.Da.readyState;a&&(this.vp=!0);return a||this.vp;case 1:return!!this.zf||
!!this.Da;case 2:return!0;case 3:return!0}return!1};R.prototype.my=function(){switch(this.pa){case 0:return this.cr();case 1:return!!this.Da;case 2:return!0;case 3:return!0}return!1};R.prototype.cy=function(){switch(this.pa){case 0:return!!this.Da.error;case 1:return this.Zm}return!1};x.prototype.Ng=function(){switch(this.pa){case 0:return this.q.ended;case 1:return 1===this.buffer.pa?!this.oe&&!this.Qb&&this.q.loop||this.Cc?!1:this.Og:this.q.ended;case 2:return this.Og;case 3:!0}return!0};x.prototype.Yv=
function(){return this.oe||this.Qb?!0:this.Ng()};x.prototype.Xo=function(a){1===E&&(!this.Td&&a?this.ub&&(this.$a||(this.$a=C.createPanner(),this.$a.panningModel="number"===typeof this.$a.panningModel?T:["equalpower","HRTF","soundfield"][T],this.$a.distanceModel="number"===typeof this.$a.distanceModel?va:["linear","inverse","exponential"][va],this.$a.refDistance=qa,this.$a.maxDistance=Ta,this.$a.rolloffFactor=Da),this.ub.disconnect(),this.ub.connect(this.$a),this.$a.connect(r(this.tag)),this.Td=!0):
this.Td&&!a&&this.ub&&(this.$a.disconnect(),this.ub.disconnect(),this.ub.connect(r(this.tag)),this.Td=!1))};x.prototype.Wo=function(a,b,c,d,f,l){this.Td&&1===E&&(this.$a.setPosition(a,b,0),this.$a.setOrientation(Math.cos(O(c)),Math.sin(O(c)),0),this.$a.coneInnerAngle=d,this.$a.coneOuterAngle=f,this.$a.coneOuterGain=l,this.ps=a,this.qs=b,this.ks=c,this.ls=d,this.ns=f,this.os=l)};x.prototype.lj=function(a){this.Td&&1===E&&(this.Za||(this.Za=new p),this.Za.lj(a))};x.prototype.Qa=function(a){if(this.Td&&
1===E&&this.Za&&this.Za.Ck()&&this.Pf()){this.Za.Qa(a);a=this.Za.aa;var b=Qa(a.x,a.y,-a.u.wb(),Q,la,!0),c=Qa(a.x,a.y,-a.u.wb(),Q,la,!1);this.$a.setPosition(b,c,0);b=0;"undefined"!==typeof this.Za.aa.n&&(b=a.n-a.u.wb(),this.$a.setOrientation(Math.cos(b),Math.sin(b),0));b=Qa(this.Za.un(),this.Za.vn(),-a.u.wb(),0,0,!0);c=Qa(this.Za.un(),this.Za.vn(),-a.u.wb(),0,0,!1);this.$a.setVelocity(b,c,0)}};x.prototype.play=function(a,b,c){var d=this.q;this.Sd=a;this.volume=b;c=c||0;switch(this.pa){case 0:1!==d.playbackRate&&
(d.playbackRate=1);d.volume!==b*F&&(d.volume=b*F);d.loop!==a&&(d.loop=a);d.muted&&(d.muted=!1);if(d.currentTime!==c)try{d.currentTime=c}catch(f){}if(this.yd&&cb&&!w.Ya)db.push(this);else try{this.q.play()}catch(l){console&&console.log&&console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",l)}break;case 1:this.muted=!1;this.gh=1;if(1===this.buffer.pa)this.ub.gain.value=b*F,this.oe||(this.q=C.createBufferSource(),this.q.buffer=this.buffer.Da,this.q.connect(this.ub)),this.q.onended=
this.yo,this.Mj=this.q,this.q.loop=a,this.Og=!1,0===c?t(this.q):n(this.q,c,this.Jf());else{1!==d.playbackRate&&(d.playbackRate=1);d.loop!==a&&(d.loop=a);d.volume=b*F;if(d.currentTime!==c)try{d.currentTime=c}catch(g){}this.yd&&cb&&!w.Ya?db.push(this):d.play()}break;case 2:(!this.oe&&this.Qb||0!==c)&&d.seekTo(c);d.play();this.Og=!1;break;case 3:w.Nb?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.Qg?w.Fb.S:w.Ie.S)-c;this.Cc=this.Qb=
this.oe=!1};x.prototype.stop=function(){switch(this.pa){case 0:this.q.paused||this.q.pause();break;case 1:1===this.buffer.pa?g(this.q):this.q.paused||this.q.pause();break;case 2:this.q.stop();break;case 3:w.Nb&&AppMobi.context.stopSound(this.src)}this.Qb=!0;this.Cc=!1};x.prototype.pause=function(){if(!(this.oe||this.Qb||this.Ng()||this.Cc)){switch(this.pa){case 0:this.q.paused||this.q.pause();break;case 1:1===this.buffer.pa?(this.xc=this.qn(),this.Sd&&(this.xc=this.xc%this.Jf()),this.Cc=!0,g(this.q)):
this.q.paused||this.q.pause();break;case 2:this.q.pause();break;case 3:w.Nb&&AppMobi.context.stopSound(this.src)}this.Cc=!0}};x.prototype.cz=function(){if(!(this.oe||this.Qb||this.Ng())&&this.Cc){switch(this.pa){case 0:this.q.play();break;case 1:1===this.buffer.pa?(this.q=C.createBufferSource(),this.q.buffer=this.buffer.Da,this.q.connect(this.ub),this.q.onended=this.yo,this.Mj=this.q,this.q.loop=this.Sd,this.ub.gain.value=F*this.volume*this.gh,this.startTime=(this.Qg?w.Fb.S:w.Ie.S)-this.xc,n(this.q,
this.xc,this.Jf())):this.q.play();break;case 2:this.q.play();break;case 3:w.Nb&&AppMobi.context.resumeSound(this.src)}this.Cc=!1}};x.prototype.seek=function(a){if(!(this.oe||this.Qb||this.Ng()))switch(this.pa){case 0:try{this.q.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.pa)this.Cc?this.xc=a:(this.pause(),this.xc=a,this.cz());else try{this.q.currentTime=a}catch(c){}break;case 3:w.Nb&&AppMobi.context.seekSound(this.src,a)}};x.prototype.Zy=function(a){1===this.pa&&(this.Td?(this.$a.disconnect(),
this.$a.connect(a)):(this.ub.disconnect(),this.ub.connect(a)))};x.prototype.Jf=function(){switch(this.pa){case 0:if("undefined"!==typeof this.q.duration)return this.q.duration;break;case 1:return this.buffer.Da.duration;case 2:return this.q.getDuration();case 3:if(w.Nb)return AppMobi.context.getDurationSound(this.src)}return 0};x.prototype.qn=function(){var a=this.Jf(),b=0;switch(this.pa){case 0:"undefined"!==typeof this.q.currentTime&&(b=this.q.currentTime);break;case 1:if(1===this.buffer.pa){if(this.Cc)return this.xc;
b=(this.Qg?w.Fb.S:w.Ie.S)-this.startTime}else"undefined"!==typeof this.q.currentTime&&(b=this.q.currentTime);break;case 3:w.Nb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Sd&&b>a&&(b=a);return b};x.prototype.Pf=function(){return!this.Cc&&!this.oe&&!this.Qb&&!this.Ng()};x.prototype.Bz=function(){var a=this.volume*F;isFinite(a)||(a=0);switch(this.pa){case 0:"undefined"!==typeof this.q.volume&&this.q.volume!==a&&(this.q.volume=a);break;case 1:1===this.buffer.pa?this.ub.gain.value=a*this.gh:
"undefined"!==typeof this.q.volume&&this.q.volume!==a&&(this.q.volume=a)}};x.prototype.lk=function(a){switch(this.pa){case 0:this.q.muted!==!!a&&(this.q.muted=!!a);break;case 1:1===this.buffer.pa?(this.gh=a?0:1,this.ub.gain.value=F*this.volume*this.gh):this.q.muted!==!!a&&(this.q.muted=!!a)}};x.prototype.nz=function(){this.Sg=!0;this.lk(this.Sg||this.Ci)};x.prototype.Ns=function(a){this.Ci=!!a;this.lk(this.Sg||this.Ci)};x.prototype.tt=function(){var a=this.playbackRate;this.Qg&&(a*=w.rg);switch(this.pa){case 0:this.q.playbackRate!==
a&&(this.q.playbackRate=a);break;case 1:1===this.buffer.pa?this.q.playbackRate.value!==a&&(this.q.playbackRate.value=a):this.q.playbackRate!==a&&(this.q.playbackRate=a)}};x.prototype.pz=function(a){switch(this.pa){case 0:a?this.Pf()?(this.Tc=!0,this.q.pause()):this.Tc=!1:this.Tc&&(this.q.play(),this.Tc=!1);break;case 1:a?this.Pf()?(this.Tc=!0,1===this.buffer.pa?(this.xc=this.qn(),this.Sd&&(this.xc=this.xc%this.Jf()),g(this.q)):this.q.pause()):this.Tc=!1:this.Tc&&(1===this.buffer.pa?(this.q=C.createBufferSource(),
this.q.buffer=this.buffer.Da,this.q.connect(this.ub),this.q.onended=this.yo,this.Mj=this.q,this.q.loop=this.Sd,this.ub.gain.value=F*this.volume*this.gh,this.startTime=(this.Qg?w.Fb.S:w.Ie.S)-this.xc,n(this.q,this.xc,this.Jf())):this.q.play(),this.Tc=!1);break;case 2:a?this.Pf()?(this.q.pause(),this.Tc=!0):this.Tc=!1:this.Tc&&(this.Tc=!1,this.q.play())}};I.N=function(a){this.type=a;w=this.b=a.b;P=this;this.jc=null;this.Ni=-600;!(this.b.Vg||this.b.Ek&&(this.b.vi||this.b.Fk))||this.b.wi||this.b.za||
this.b.Hn||(cb=!0);C=null;"undefined"!==typeof AudioContext?(E=1,C=new AudioContext):"undefined"!==typeof webkitAudioContext&&(E=1,C=new webkitAudioContext);(this.b.Vg&&1===E||cb)&&document.addEventListener("touchstart",function(){var a,b,c;!Gc&&C&&(a=C.createBuffer(1,1,22050),b=C.createBufferSource(),b.buffer=a,b.connect(C.destination),t(b),Gc=!0);if(cb){if(!H)for(a=0,b=db.length;a<b;++a)c=db[a],c.Qb||c.Cc||c.q.play();K(db)}},!0);1!==E&&(this.b.Oc&&"undefined"!==typeof window.Media?E=2:this.b.br&&
(E=3));2===E&&(B=location.href,a=B.lastIndexOf("/"),-1<a&&(B=B.substr(0,a+1)),B=B.replace("file://",""));if(this.b.er&&this.b.qy&&"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.Le(this);else{if(this.b.Nb)M=this.b.Ek;else try{M=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(b){M=!1}this.b.Ah(this)}};var wa=I.N.prototype;wa.I=function(){this.b.yg=this;S=this.A[0];this.Ce=
this.A[1];this.Py=0!==this.A[2];T=this.A[3];va=this.A[4];this.Ni=-this.A[5];qa=this.A[6];Ta=this.A[7];Da=this.A[8];this.jc=new p;var a=this.b.V||this.b.width,b=this.b.U||this.b.height;1===E&&("undefined"!==typeof C.listener.dopplerFactor&&(C.listener.dopplerFactor=0),C.listener.setPosition(a/2,b/2,this.Ni),C.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){Ua&&Ua.disconnect();Kb=b.toLowerCase();Ua=C.createMediaStreamSource(a);Ua.connect(r(Kb))});this.b.aq(function(a){P.Ly(a)});
var c=this;this.b.um(function(a){c.qo(a)})};wa.qo=function(a){var b,c,d;b=0;for(c=v.length;b<c;b++)d=v[b],d.Za&&d.Za.aa===a&&(d.Za.aa=null,d.Td&&d.Pf()&&d.Sd&&d.stop());this.jc.aa===a&&(this.jc.aa=null)};wa.Va=function(){var a={silent:H,masterVolume:F,listenerZ:this.Ni,listenerUid:this.jc.Ck()?this.jc.aa.uid:-1,playing:[],effects:{}},b=a.playing,c,d,f,l,g,e;c=0;for(d=v.length;c<d;c++)f=v[c],!f.Pf()||3===this.Ce||f.yd&&1===this.Ce||!f.yd&&2===this.Ce||(l=f.qn(),f.Sd&&(l=l%f.Jf()),l={tag:f.tag,buffersrc:f.buffer.src,
is_music:f.yd,playbackTime:l,volume:f.volume,looping:f.Sd,muted:f.Sg,playbackRate:f.playbackRate,paused:f.Cc,resume_position:f.xc},f.Td&&(l.pan={},e=l.pan,f.Za&&f.Za.Ck()?e.objUid=f.Za.aa.uid:(e.x=f.ps,e.y=f.qs,e.a=f.ks),e.ia=f.ls,e.oa=f.ns,e.og=f.os),b.push(l));b=a.effects;for(g in Y)if(Y.hasOwnProperty(g)){f=[];c=0;for(d=Y[g].length;c<d;c++)f.push({type:Y[g][c].type,params:Y[g][c].ab});b[g]=f}return a};var eb=[];wa.jb=function(g){var e=g.silent;F=g.masterVolume;this.Ni=g.listenerZ;this.jc.lj(null);
var n=g.listenerUid;-1!==n&&(this.jc.Tk=n,eb.push(this.jc));var n=g.playing,q,h,t,r,x,R,X,G,y,w,I;if(3!==this.Ce)for(q=0,h=v.length;q<h;q++)y=v[q],y.yd&&1===this.Ce||(y.yd||2!==this.Ce)&&y.stop();for(x in Y)if(Y.hasOwnProperty(x))for(q=0,h=Y[x].length;q<h;q++)Y[x][q].remove();Xa(Y);for(x in g.effects)if(g.effects.hasOwnProperty(x))for(R=g.effects[x],q=0,h=R.length;q<h;q++)switch(t=R[q].type,w=R[q].params,t){case "filter":N(x,new a(w[0],w[1],w[2],w[3],w[4],w[5]));break;case "delay":N(x,new c(w[0],
w[1],w[2]));break;case "convolve":t=w[2];y=this.xk(t,!1);y.Da?t=new f(y.Da,w[0],w[1],t):(t=new f(null,w[0],w[1],t),y.Wr=w[0],y.ck=t);N(x,t);break;case "flanger":N(x,new d(w[0],w[1],w[2],w[3],w[4]));break;case "phaser":N(x,new b(w[0],w[1],w[2],w[3],w[4],w[5]));break;case "gain":N(x,new k(w[0]));break;case "tremolo":N(x,new m(w[0],w[1]));break;case "ringmod":N(x,new u(w[0],w[1]));break;case "distortion":N(x,new J(w[0],w[1],w[2],w[3],w[4]));break;case "compressor":N(x,new A(w[0],w[1],w[2],w[3],w[4]));
break;case "analyser":N(x,new l(w[0],w[1]))}q=0;for(h=n.length;q<h;q++)3===this.Ce||(g=n[q],t=g.buffersrc,r=g.is_music,x=g.tag,R=g.playbackTime,X=g.looping,G=g.volume,I=(w=g.pan)&&w.hasOwnProperty("objUid")?w.objUid:-1,r&&1===this.Ce)||!r&&2===this.Ce||((y=this.Hq(t,x,r,X,G))?(y.xc=g.resume_position,y.Xo(!!w),y.play(X,G,R),y.tt(),y.Bz(),y.lk(y.Sg||y.Ci),g.paused&&y.pause(),g.muted&&y.nz(),y.lk(y.Sg||y.Ci),w&&(-1!==I?(y.Za=y.Za||new p,y.Za.Tk=I,eb.push(y.Za)):y.Wo(w.x,w.y,w.a,w.ia,w.oa,w.og))):(y=
this.xk(t,r),y.Cl=R,y.kl=g.paused,w&&(-1!==I?y.kh.push({Yr:I,An:w.ia,lo:w.oa,po:w.og,ct:x}):y.kh.push({x:w.x,y:w.y,Iv:w.a,An:w.ia,lo:w.oa,po:w.og,ct:x}))));if(e&&!H){q=0;for(h=v.length;q<h;q++)v[q].Ns(!0);H=!0}else if(!e&&H){q=0;for(h=v.length;q<h;q++)v[q].Ns(!1);H=!1}};wa.Jd=function(){var a,b,c,d;a=0;for(b=eb.length;a<b;a++)c=eb[a],d=this.b.Kg(c.Tk),c.lj(d),c.Tk=-1,d&&(Q=d.x,la=d.y);K(eb)};wa.Ly=function(a){if(!this.Py){!a&&C&&C.resume&&C.resume();var b,c;b=0;for(c=v.length;b<c;b++)v[b].pz(a);a&&
C&&C.suspend&&C.suspend()}};wa.Qa=function(){var a=this.b.We,b,c,d;b=0;for(c=v.length;b<c;b++)d=v[b],d.Qa(a),0!==S&&d.tt();var f,l;for(f in Y)if(Y.hasOwnProperty(f))for(d=Y[f],b=0,c=d.length;b<c;b++)l=d[b],l.Qa&&l.Qa();1===E&&this.jc.Ck()&&(this.jc.Qa(a),Q=this.jc.aa.x,la=this.jc.aa.y,C.listener.setPosition(this.jc.aa.x,this.jc.aa.y,this.Ni),C.listener.setVelocity(this.jc.un(),this.jc.vn(),0))};var fb=[];wa.oz=function(a){var b,c,d,f,l,g=0;b=0;for(c=a.length;b<c;++b)if(d=a[b],f=d[0],d=2*d[1],(l=4<
f.length&&".ogg"===f.substr(f.length-4))&&M||!l&&!M)fb.push({filename:f,size:d,aa:null}),g+=d;return g};wa.uz=function(){var a,b,c,d;a=0;for(b=fb.length;a<b;++a)c=fb[a],d=this.b.an+c.filename,c.aa=this.xk(d,!1)};wa.Jx=function(){var a=0,b,c,d;b=0;for(c=fb.length;b<c;++b)d=fb[b],d.aa.my()||d.aa.cy()||this.b.za||this.b.Fk?a+=d.size:d.aa.cr()&&(a+=Math.floor(d.size/2));return a};wa.xk=function(a,b){var c,d,f,l=null;c=0;for(d=V.length;c<d;c++)if(f=V[c],f.src===a){l=f;break}l||(l=new R(a,b),V.push(l));
return l};wa.Hq=function(a,b,c,d,f){var l,g,e;l=0;for(g=v.length;l<g;l++)if(e=v[l],e.src===a&&(e.Yv()||c))return e.tag=b,e;a=this.xk(a,c);if(!a.Da)return"<preload>"!==b&&(a.ll=b,a.eo=d,a.up=f),null;e=new x(a,b);v.push(e);return e};var Ea=[];G.prototype.Kj=function(a){return nb(L,a)};G.prototype.gu=function(a){X(a);var b;a=0;for(b=Ea.length;a<b;a++)if(Ea[a].Pf())return!0;return!1};I.m=new G;y.prototype.Play=function(a,b,c,d){!H&&(c=Math.pow(10,c/20),isFinite(c)||(c=0),0>c&&(c=0),1<c&&(c=1),D=this.Hq(this.b.an+
a[0]+(M?".ogg":".m4a"),d,a[1],0!==b,c))&&(D.Xo(!1),D.play(0!==b,c))};y.prototype.wv=function(a){X(a);var b;a=0;for(b=Ea.length;a<b;a++)Ea[a].stop()};I.C=new y;I.P=new function(){}})();function Z(h){this.b=h}
(function(){function h(){}function r(){}var e=Z.prototype;e.T=function(e){this.Aa=e;this.b=e.b};e.T.prototype.I=function(){};e.N=function(e){this.type=e;this.b=e.b};e.N.prototype.I=function(){var e=this;window.addEventListener("resize",function(){e.b.trigger(Z.prototype.m.Ou,e)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){e.b.trigger(Z.prototype.m.Ku,e)}),window.addEventListener("offline",function(){e.b.trigger(Z.prototype.m.Ju,e)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){e.b.ah=1;e.b.trigger(Z.prototype.m.Tp,e)}),window.applicationCache.addEventListener("progress",function(h){e.b.ah=h.loaded/h.total}));this.b.Nb||(document.addEventListener("appMobi.device.update.available",function(){e.b.trigger(Z.prototype.m.Tp,e)}),document.addEventListener("backbutton",function(){e.b.trigger(Z.prototype.m.Ij,e)}),document.addEventListener("menubutton",function(){e.b.trigger(Z.prototype.m.jm,e)}),document.addEventListener("searchbutton",
function(){e.b.trigger(Z.prototype.m.Rp,e)}),document.addEventListener("tizenhwkey",function(h){var n;switch(h.keyName){case "back":n=e.b.trigger(Z.prototype.m.Ij,e);!n&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(n=e.b.trigger(Z.prototype.m.jm,e))||h.preventDefault()}}));this.b.Ik&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!e.b.trigger(Z.prototype.m.Ij,e)});this.b.aq(function(h){h?e.b.trigger(Z.prototype.m.Lu,e):e.b.trigger(Z.prototype.m.Pp,
e)});this.jr="undefined"!==typeof window.is_scirra_arcade};h.prototype.Ku=function(){return!0};h.prototype.Ju=function(){return!0};h.prototype.Tp=function(){return!0};h.prototype.Pp=function(){return!0};h.prototype.Lu=function(){return!0};h.prototype.Ou=function(){return!0};h.prototype.Ij=function(){return!0};h.prototype.jm=function(){return!0};h.prototype.Rp=function(){return!0};e.m=new h;r.prototype.Ht=function(){this.b.oy?window.nwgui.Window.get().blur():this.jr||this.b.za||window.blur()};r.prototype.Yt=
function(e,h){this.b.Nc?CocoonJS.App.openURL(e):this.b.bd?ejecta.openURL(e):this.b.Ik?Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(e)):navigator.app&&navigator.app.loadUrl?navigator.app.loadUrl(e,{openExternal:!0}):this.b.Oc?window.open(e,"_system"):this.jr||this.b.za||window.open(e,h)};e.C=new r;e.P=new function(){}})();function oc(h){this.b=h}
(function(){function h(){this.name="";this.ij=0;this.ab=[]}function r(){a++;a===g.length&&g.push(new h);return g[a]}function e(){}function q(){}function t(){}var n=oc.prototype;n.T=function(a){this.Aa=a;this.b=a.b};n.T.prototype.I=function(){};n.N=function(a){this.type=a;this.b=a.b};var g=[],a=-1;n.N.prototype.I=function(){var c=this;window.c2_callFunction=function(f,d){var b,g,e,n=r();n.name=f.toLowerCase();n.ij=0;if(d)for(n.ab.length=d.length,b=0,g=d.length;b<g;++b)e=d[b],n.ab[b]="number"===typeof e||
"string"===typeof e?e:"boolean"===typeof e?e?1:0:0;else K(n.ab);c.b.trigger(oc.prototype.m.Lj,c,n.name);a--;return n.ij}};e.prototype.Lj=function(c){var f=0>a?null:g[a];return f?nb(c,f.name):!1};e.prototype.Ot=function(c,f,d){var b=0>a?null:g[a];if(!b)return!1;c=z(c);return 0>c||c>=b.ab.length?!1:ec(b.ab[c],f,d)};n.m=new e;q.prototype.CallFunction=function(c,f){var d=r();d.name=c.toLowerCase();d.ij=0;Aa(d.ab,f);this.b.trigger(oc.prototype.m.Lj,this,d.name);a--};n.C=new q;t.prototype.Vu=function(c,
f){f=z(f);var d=0>a?null:g[a];d?0<=f&&f<d.ab.length?c.Yo(d.ab[f]):c.Ga(0):c.Ga(0)};t.prototype.It=function(c,f){var d=r();d.name=f.toLowerCase();d.ij=0;K(d.ab);var b,g;b=2;for(g=arguments.length;b<g;b++)d.ab.push(arguments[b]);this.b.trigger(oc.prototype.m.Lj,this,d.name);a--;c.Yo(d.ij)};n.P=new t})();function rc(h){this.b=h}
(function(){function h(){}var r=rc.prototype;r.T=function(e){this.Aa=e;this.b=e.b};r.T.prototype.I=function(){};r.N=function(e){this.type=e;this.b=e.b;this.Hi=Array(256);this.yj=Array(256);this.Ge=0};var e=r.N.prototype;e.I=function(){var e=this;this.b.za||(jQuery(document).keydown(function(n){e.ro(n)}),jQuery(document).keyup(function(n){e.so(n)}))};var q=[32,33,34,35,36,37,38,39,40,44];e.ro=function(e){var n=!1;window!=window.top&&-1<q.indexOf(e.which)&&(e.preventDefault(),n=!0,e.stopPropagation());
if(this.Hi[e.which])this.yj[e.which]&&!n&&e.preventDefault();else{this.Hi[e.which]=!0;this.Ge=e.which;this.b.Ya=!0;this.b.trigger(rc.prototype.m.qu,this);var g=this.b.trigger(rc.prototype.m.Du,this),a=this.b.trigger(rc.prototype.m.Eu,this);this.b.Ya=!1;if(g||a)this.yj[e.which]=!0,n||e.preventDefault()}};e.so=function(e){this.Hi[e.which]=!1;this.Ge=e.which;this.b.Ya=!0;this.b.trigger(rc.prototype.m.Fp,this);var n=this.b.trigger(rc.prototype.m.Kp,this),g=this.b.trigger(rc.prototype.m.Jp,this);this.b.Ya=
!1;if(n||g||this.yj[e.which])this.yj[e.which]=!0,e.preventDefault()};e.hg=function(){var e;for(e=0;256>e;++e)if(this.Hi[e]){this.Hi[e]=!1;this.Ge=e;this.b.trigger(rc.prototype.m.Fp,this);var n=this.b.trigger(rc.prototype.m.Kp,this),g=this.b.trigger(rc.prototype.m.Jp,this);if(n||g)this.yj[e]=!0}};e.Va=function(){return{triggerKey:this.Ge}};e.jb=function(e){this.Ge=e.triggerKey};h.prototype.Du=function(e){return e===this.Ge};h.prototype.qu=function(){return!0};h.prototype.Fp=function(){return!0};h.prototype.Kp=
function(e){return e===this.Ge};h.prototype.Eu=function(e){return e===this.Ge};h.prototype.Jp=function(e){return e===this.Ge};r.m=new h;r.C=new function(){};r.P=new function(){}})();function sc(h){this.b=h}
(function(){function h(){}function r(){}var e=sc.prototype;e.T=function(e){this.Aa=e;this.b=e.b};e.T.prototype.I=function(){};e.N=function(e){this.type=e;this.b=e.b;this.Bm=Array(4);this.ht=this.Rl=this.Ch=this.we=this.ve=0;this.yn=!1};var q=e.N.prototype;q.I=function(){var e=this;if(!this.b.za){jQuery(document).mousemove(function(a){e.vo(a)});jQuery(document).mousedown(function(a){e.uo(a)});jQuery(document).mouseup(function(a){e.wo(a)});jQuery(document).dblclick(function(a){e.Ky(a)});var g=function(a){e.My(a)};
document.addEventListener("mousewheel",g,!1);document.addEventListener("DOMMouseScroll",g,!1)}};var t={left:0,top:0};q.vo=function(e){var g=this.b.za?t:jQuery(this.b.canvas).offset();this.ve=e.pageX-g.left;this.we=e.pageY-g.top};q.Sr=function(){return 0<this.b.fc?!0:0<=this.ve&&0<=this.we&&this.ve<this.b.width&&this.we<this.b.height};q.uo=function(e){this.Sr()&&(this.Bm[e.which]=!0,this.b.Ya=!0,this.b.trigger(sc.prototype.m.Ep,this),this.Ch=e.which-1,this.Rl=0,this.b.trigger(sc.prototype.m.Gp,this),
this.b.trigger(sc.prototype.m.km,this),this.b.Ya=!1)};q.wo=function(e){this.Bm[e.which]&&(this.b.Ak&&!this.b.Of&&e.preventDefault(),this.b.Ak=!0,this.Bm[e.which]=!1,this.b.Ya=!0,this.Ch=e.which-1,this.b.trigger(sc.prototype.m.Nu,this),this.b.Ya=!1)};q.Ky=function(e){this.Sr()&&(e.preventDefault(),this.b.Ya=!0,this.Ch=e.which-1,this.Rl=1,this.b.trigger(sc.prototype.m.Gp,this),this.b.trigger(sc.prototype.m.km,this),this.b.Ya=!1)};q.My=function(e){this.ht=0>(e.wheelDelta?e.wheelDelta:e.detail?-e.detail:
0)?0:1;this.yn=!1;this.b.Ya=!0;this.b.trigger(sc.prototype.m.Uu,this);this.b.Ya=!1;this.yn&&ob(e)&&e.preventDefault()};h.prototype.Gp=function(e,g){return e===this.Ch&&g===this.Rl};h.prototype.Ep=function(){return!0};h.prototype.Nu=function(e){return e===this.Ch};h.prototype.fu=function(e){var g=this.b.Jg();return Sa(this.b.wh(e,this.ve,this.we,g.Pg),g.Pg)};h.prototype.km=function(e,g,a){return e!==this.Ch||g!==this.Rl?!1:this.b.wh(a,this.ve,this.we,!1)};h.prototype.Uu=function(e){this.yn=!0;return e===
this.ht};e.m=new h;e.C=new function(){};r.prototype.rm=function(e,g){var a,c,f,d,b;ga(g)?(a=this.b.pe(0),c=a.scale,f=a.ac,d=a.tc,b=a.n,a.scale=1,a.ac=1,a.tc=1,a.n=0,e.M(a.Xa(this.ve,this.we,!0)),a.scale=c,a.ac=f,a.tc=d,a.n=b):(a=ha(g)?this.b.pe(g):this.b.gi(g))?e.M(a.Xa(this.ve,this.we,!0)):e.M(0)};r.prototype.tm=function(e,g){var a,c,f,d,b;ga(g)?(a=this.b.pe(0),c=a.scale,f=a.ac,d=a.uc,b=a.n,a.scale=1,a.ac=1,a.uc=1,a.n=0,e.M(a.Xa(this.ve,this.we,!1)),a.scale=c,a.ac=f,a.uc=d,a.n=b):(a=ha(g)?this.b.pe(g):
this.b.gi(g))?e.M(a.Xa(this.ve,this.we,!1)):e.M(0)};e.P=new r})();function tc(h){this.b=h}
(function(){function h(e,h,n,g,a,c,f,d,b,k){e.save();e.fillStyle=h;h=a%n;var m=c%g;0>h&&(h+=n);0>m&&(m+=g);e.translate(h+b,m+k);e.fillRect(a-h-b,c-m-k,f,d);e.restore()}var r=tc.prototype;r.T=function(e){this.Aa=e;this.b=e.b};var e=r.T.prototype;e.I=function(){this.R||(this.K=new Image,this.K.Mm=this.Ml,this.b.Zl(this.K,this.uj),this.Dj=this.Gj=this.Fj=this.Ej=this.Kh=this.H=this.jq=this.gt=this.Gs=this.tr=this.bn=null)};e.Yi=function(){this.R||(this.Dj=this.Gj=this.Fj=this.Ej=this.Kh=this.H=null)};
e.Zi=function(){this.R||!this.k.length||this.H||(this.H=this.b.B.Pc(this.K,!0,this.b.da,this.uf))};e.xj=function(){this.R||this.k.length||!this.b.B||(this.b.B.deleteTexture(this.H),this.b.B.deleteTexture(this.Kh),this.b.B.deleteTexture(this.Ej),this.b.B.deleteTexture(this.Fj),this.b.B.deleteTexture(this.Gj),this.b.B.deleteTexture(this.Dj),this.Dj=this.Gj=this.Fj=this.Ej=this.Kh=this.H=null)};e.Yd=function(e,h,n,g){var a=document.createElement("canvas");n=n-e;g=g-h;a.width=n;a.height=g;a.getContext("2d").drawImage(this.K,
e,h,n,g,0,0,n,g);return a};e.ew=function(e,h,n,g){var a=this.K.width,c=this.K.height,f=a-h,d=c-g;if(this.b.B){if(!this.Kh){var b=this.b.B,k=this.b.da,m=this.uf;f>e&&d>n&&(this.Kh=b.Pc(this.Yd(e,n,f,d),!0,k,m));0<e&&d>n&&(this.Ej=b.Pc(this.Yd(0,n,e,d),!0,k,m,"repeat-y"));0<h&&d>n&&(this.Fj=b.Pc(this.Yd(f,n,a,d),!0,k,m,"repeat-y"));0<n&&f>e&&(this.Gj=b.Pc(this.Yd(e,0,f,n),!0,k,m,"repeat-x"));0<g&&f>e&&(this.Dj=b.Pc(this.Yd(e,d,f,c),!0,k,m,"repeat-x"))}}else this.bn||(b=this.b.Ea,f>e&&d>n&&(this.bn=
b.createPattern(this.Yd(e,n,f,d),"repeat")),0<e&&d>n&&(this.tr=b.createPattern(this.Yd(0,n,e,d),"repeat")),0<h&&d>n&&(this.Gs=b.createPattern(this.Yd(f,n,a,d),"repeat")),0<n&&f>e&&(this.gt=b.createPattern(this.Yd(e,0,f,n),"repeat")),0<g&&f>e&&(this.jq=b.createPattern(this.Yd(e,d,f,c),"repeat")))};r.N=function(e){this.type=e;this.b=e.b};e=r.N.prototype;e.I=function(){this.Wn=this.A[0];this.No=this.A[1];this.jp=this.A[2];this.Am=this.A[3];this.mk=this.A[4];this.fill=this.A[5];this.visible=0===this.A[6];
this.Is=0!==this.A[8];this.Gc?this.Be.set(0,0,0,0):this.Be=new ta(0,0,0,0);this.b.B&&!this.type.H&&(this.type.H=this.b.B.Pc(this.type.K,!1,this.b.da,this.type.uf));this.type.ew(this.Wn,this.No,this.jp,this.Am)};e.Md=function(e){var t=this.type.K,n=this.Wn,g=this.No,a=this.jp,c=this.Am,f=t.width,d=t.height,b=f-g,k=d-c;e.globalAlpha=this.opacity;e.save();var m=this.x,u=this.y,r=this.width,A=this.height;this.b.Rc&&(m=Math.round(m),u=Math.round(u));var l=-(this.Wb*this.width),p=-(this.Xb*this.height),
R=l%f,x=p%d;0>R&&(R+=f);0>x&&(x+=d);e.translate(m+R,u+x);f=l-R;p-=x;x=this.Is?1:0;0<n&&0<a&&e.drawImage(t,0,0,n+x,a+x,f,p,n+x,a+x);0<g&&0<a&&e.drawImage(t,b-x,0,g+x,a+x,f+r-g-x,p,g+x,a+x);0<g&&0<c&&e.drawImage(t,b-x,k-x,g+x,c+x,f+r-g-x,p+A-c-x,g+x,c+x);0<n&&0<c&&e.drawImage(t,0,k-x,n+x,c+x,f,p+A-c-x,n+x,c+x);0===this.mk?(x=2===this.fill?0:x,0<n&&k>a&&h(e,this.type.tr,n,k-a,f,p+a,n+x,A-a-c,0,0),0<g&&k>a&&h(e,this.type.Gs,g,k-a,f+r-g-x,p+a,g+x,A-a-c,x,0),0<a&&b>n&&h(e,this.type.gt,b-n,a,f+n,p,r-n-g,
a+x,0,0),0<c&&b>n&&h(e,this.type.jq,b-n,c,f+n,p+A-c-x,r-n-g,c+x,0,x)):1===this.mk&&(0<n&&k>a&&0<A-a-c&&e.drawImage(t,0,a,n,k-a,f,p+a,n,A-a-c),0<g&&k>a&&0<A-a-c&&e.drawImage(t,b,a,g,k-a,f+r-g,p+a,g,A-a-c),0<a&&b>n&&0<r-n-g&&e.drawImage(t,n,0,b-n,a,f+n,p,r-n-g,a),0<c&&b>n&&0<r-n-g&&e.drawImage(t,n,k,b-n,c,f+n,p+A-c,r-n-g,c));k>a&&b>n&&(0===this.fill?h(e,this.type.bn,b-n,k-a,f+n,p+a,r-n-g,A-a-c,0,0):1===this.fill&&0<r-n-g&&0<A-a-c&&e.drawImage(t,n,a,b-n,k-a,f+n,p+a,r-n-g,A-a-c));e.restore()};e.le=function(e,
h,n,g,a,c,f,d,b,k){e.kc(h);var m=this.Be;m.left=n/h.ud;m.top=g/h.td;m.right=(n+a)/h.ud;m.bottom=(g+c)/h.td;e.fd(f,d,f+b,d,f+b,d+k,f,d+k,m)};e.vj=function(e,h,n,g,a,c,f,d){e.kc(h);var b=this.Be;b.left=-f/h.ud;b.top=-d/h.td;b.right=(a-f)/h.ud;b.bottom=(c-d)/h.td;e.fd(n,g,n+a,g,n+a,g+c,n,g+c,b)};e.Ve=function(e){this.ec(e)};e.ec=function(e){var h=this.Wn,n=this.No,g=this.jp,a=this.Am,c=this.type.K.width-n,f=this.type.K.height-a;e.pf(this.opacity);var d=this.cc,b=d.Ra,d=d.Sa,k=this.width,m=this.height;
this.b.Rc&&(b=Math.round(b),d=Math.round(d));var u=this.Is?1:0;0<h&&0<g&&this.le(e,this.type.H,0,0,h+u,g+u,b,d,h+u,g+u);0<n&&0<g&&this.le(e,this.type.H,c-u,0,n+u,g+u,b+k-n-u,d,n+u,g+u);0<n&&0<a&&this.le(e,this.type.H,c-u,f-u,n+u,a+u,b+k-n-u,d+m-a-u,n+u,a+u);0<h&&0<a&&this.le(e,this.type.H,0,f-u,h+u,a+u,b,d+m-a-u,h+u,a+u);0===this.mk?(u=2===this.fill?0:u,0<h&&f>g&&this.vj(e,this.type.Ej,b,d+g,h+u,m-g-a,0,0),0<n&&f>g&&this.vj(e,this.type.Fj,b+k-n-u,d+g,n+u,m-g-a,u,0),0<g&&c>h&&this.vj(e,this.type.Gj,
b+h,d,k-h-n,g+u,0,0),0<a&&c>h&&this.vj(e,this.type.Dj,b+h,d+m-a-u,k-h-n,a+u,0,u)):1===this.mk&&(0<h&&f>g&&this.le(e,this.type.H,0,g,h,f-g,b,d+g,h,m-g-a),0<n&&f>g&&this.le(e,this.type.H,c,g,n,f-g,b+k-n,d+g,n,m-g-a),0<g&&c>h&&this.le(e,this.type.H,h,0,c-h,g,b+h,d,k-h-n,g),0<a&&c>h&&this.le(e,this.type.H,h,f,c-h,a,b+h,d+m-a,k-h-n,a));f>g&&c>h&&(0===this.fill?this.vj(e,this.type.Kh,b+h,d+g,k-h-n,m-g-a,0,0):1===this.fill&&this.le(e,this.type.H,h,g,c-h,f-g,b+h,d+g,k-h-n,m-g-a))};r.m=new function(){};r.C=
new function(){};r.P=new function(){}})();function W(h){this.b=h}
(function(){function h(){if(0===this.Pm.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.uh?b.drawImage(this.K,this.ih,this.jh,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.K,0,0,this.width,this.height);this.Pm=a.toDataURL("image/png")}return this.Pm}function r(){}function e(a){a[0]=0;a[1]=0;a[2]=0;k.push(a)}function q(a,b){return a<b?""+a+","+b:""+b+","+a}function t(a,b,c,d){b=b.uid;c=c.uid;var f=q(b,c);if(a.hasOwnProperty(f))a[f][2]=
d;else{var e=k.length?k.pop():[0,0,0];e[0]=b;e[1]=c;e[2]=d;a[f]=e}}function n(a,b,c){b=q(b.uid,c.uid);a.hasOwnProperty(b)&&(e(a[b]),delete a[b])}function g(a,b,c){b=q(b.uid,c.uid);if(a.hasOwnProperty(b))return m=a[b][2],!0;m=-2;return!1}function a(){}var c=W.prototype;c.T=function(a){this.Aa=a;this.b=a.b};var f=c.T.prototype;f.I=function(){if(!this.R){var a,b,c,d,f,e,g,k,m;this.od=[];this.oi=!1;a=0;for(b=this.pc.length;a<b;a++){f=this.pc[a];g={};g.name=f[0];g.speed=f[1];g.loop=f[2];g.Mo=f[3];g.xl=
f[4];g.ts=f[5];g.qa=f[6];g.frames=[];c=0;for(d=f[7].length;c<d;c++)e=f[7][c],k={},k.uj=e[0],k.Ml=e[1],k.ih=e[2],k.jh=e[3],k.width=e[4],k.height=e[5],k.duration=e[6],k.Wb=e[7],k.Xb=e[8],k.Cn=e[9],k.ml=e[10],k.us=e[11],k.uh=0!==k.width,k.Pm="",k.yA=h,m={left:0,top:0,right:1,bottom:1},k.Zo=m,k.H=null,(m=this.b.tx(e[0]))?k.K=m:(k.K=new Image,k.K.aw=e[0],k.K.Mm=e[1],k.K.Wv=null,this.b.Zl(k.K,e[0])),g.frames.push(k),this.od.push(k);this.pc[a]=g}}};f.qt=function(){var a,b,c;a=0;for(b=this.k.length;a<b;a++)c=
this.k[a],c.ek=c.Yc.H};f.Yi=function(){if(!this.R){var a,b,c;a=0;for(b=this.od.length;a<b;++a)c=this.od[a],c.K.Wv=null,c.H=null;this.oi=!1;this.qt()}};f.Zi=function(){if(!this.R&&this.k.length){var a,b,c;a=0;for(b=this.od.length;a<b;++a)c=this.od[a],c.H=this.b.B.Pc(c.K,!1,this.b.da,c.us);this.qt()}};f.Zn=function(){if(!this.R&&!this.oi&&this.b.B){var a,b,c;a=0;for(b=this.od.length;a<b;++a)c=this.od[a],c.H=this.b.B.Pc(c.K,!1,this.b.da,c.us);this.oi=!0}};f.xj=function(){if(!this.R&&!this.k.length&&
this.oi){var a,b,c;a=0;for(b=this.od.length;a<b;++a)c=this.od[a],this.b.B.deleteTexture(c.H),c.H=null;this.oi=!1}};var d=[];f.ql=function(a){var b,c,f;K(d);b=0;for(c=this.od.length;b<c;++b)f=this.od[b].K,-1===d.indexOf(f)&&(a.drawImage(f,0,0),d.push(f))};c.N=function(a){this.type=a;this.b=a.b;a=this.type.pc[0].frames[0].ml;this.Gc?this.ra.nj(a):this.ra=new hb(a)};var b=c.N.prototype;b.I=function(){this.visible=0===this.A[0];this.pi=this.Qf=!1;this.Kd=0!==this.A[3];1===this.type.pc.length&&1===this.type.pc[0].frames.length||
0===this.type.pc[0].speed||(this.b.Ah(this),this.Qf=!0);this.Na=this.Gq(this.A[1])||this.type.pc[0];this.O=this.A[2];0>this.O&&(this.O=0);this.O>=this.Na.frames.length&&(this.O=this.Na.frames.length-1);var a=this.Na.frames[this.O];this.ra.nj(a.ml);this.Wb=a.Wb;this.Xb=a.Xb;this.Zh=this.Na.speed;this.Gc?this.qd.reset():this.qd=new bb;this.Od=this.qd.S;this.be=!0;this.de=0;this.yf=!0;this.zg=this.dq="";this.pq=0;this.Sh=-1;this.type.Zn();var b,c,d,f,e,g,k,a=0;for(b=this.type.pc.length;a<b;a++)for(f=
this.type.pc[a],c=0,d=f.frames.length;c<d;c++)e=f.frames[c],0===e.width&&(e.width=e.K.width,e.height=e.K.height),e.uh&&(k=e.K,g=e.Zo,g.left=e.ih/k.width,g.top=e.jh/k.height,g.right=(e.ih+e.width)/k.width,g.bottom=(e.jh+e.height)/k.height,0===e.ih&&0===e.jh&&e.width===k.width&&e.height===k.height&&(e.uh=!1));this.Yc=this.Na.frames[this.O];this.ek=this.Yc.H};b.Va=function(){var a={a:this.Na.qa,f:this.O,cas:this.Zh,fs:this.Od,ar:this.de,at:this.qd.S};this.be||(a.ap=this.be);this.yf||(a.af=this.yf);return a};
b.jb=function(a){var b=this.yx(a.a);b&&(this.Na=b);this.O=a.f;0>this.O&&(this.O=0);this.O>=this.Na.frames.length&&(this.O=this.Na.frames.length-1);this.Zh=a.cas;this.Od=a.fs;this.de=a.ar;this.qd.reset();this.qd.S=a.at;this.be=a.hasOwnProperty("ap")?a.ap:!0;this.yf=a.hasOwnProperty("af")?a.af:!0;this.Yc=this.Na.frames[this.O];this.ek=this.Yc.H;this.ra.nj(this.Yc.ml);this.Wb=this.Yc.Wb;this.Xb=this.Yc.Xb};b.xm=function(a){this.O=a?0:this.Na.frames.length-1;this.be=!1;this.dq=this.Na.name;this.pi=!0;
this.b.trigger(W.prototype.m.Dp,this);this.b.trigger(W.prototype.m.Cp,this);this.pi=!1;this.de=0};b.Qh=function(){return this.qd.S};b.Qa=function(){this.qd.add(this.b.$e(this));this.zg.length&&this.vq();0<=this.Sh&&this.Sm();var a=this.qd.S,b=this.Na,c=b.frames[this.O],d=c.duration/this.Zh;this.be&&a>=this.Od+d&&(this.yf?this.O++:this.O--,this.Od+=d,this.O>=b.frames.length&&(b.ts?(this.yf=!1,this.O=b.frames.length-2):b.loop?this.O=b.xl:(this.de++,this.de>=b.Mo?this.xm(!1):this.O=b.xl)),0>this.O&&
(b.ts?(this.O=1,this.yf=!0,b.loop||(this.de++,this.de>=b.Mo&&this.xm(!0))):b.loop?this.O=b.xl:(this.de++,this.de>=b.Mo?this.xm(!0):this.O=b.xl)),0>this.O?this.O=0:this.O>=b.frames.length&&(this.O=b.frames.length-1),a>this.Od+b.frames[this.O].duration/this.Zh&&(this.Od=a),a=b.frames[this.O],this.vg(c,a),this.b.ma=!0)};b.Gq=function(a){var b,c,d;b=0;for(c=this.type.pc.length;b<c;b++)if(d=this.type.pc[b],nb(d.name,a))return d;return null};b.yx=function(a){var b,c,d;b=0;for(c=this.type.pc.length;b<c;b++)if(d=
this.type.pc[b],d.qa===a)return d;return null};b.vq=function(){var a=this.Na.frames[this.O],b=this.Gq(this.zg);this.zg="";!b||nb(b.name,this.Na.name)&&this.be||(this.Na=b,this.Zh=b.speed,0>this.O&&(this.O=0),this.O>=this.Na.frames.length&&(this.O=this.Na.frames.length-1),1===this.pq&&(this.O=0),this.be=!0,this.Od=this.qd.S,this.yf=!0,this.vg(a,this.Na.frames[this.O]),this.b.ma=!0)};b.Sm=function(){var a=this.Na.frames[this.O],b=this.O;this.O=z(this.Sh);0>this.O&&(this.O=0);this.O>=this.Na.frames.length&&
(this.O=this.Na.frames.length-1);b!==this.O&&(this.vg(a,this.Na.frames[this.O]),this.Od=this.qd.S,this.b.ma=!0);this.Sh=-1};b.vg=function(a,b){var c=a.width,d=a.height,f=b.width,e=b.height;c!=f&&(this.width*=f/c);d!=e&&(this.height*=e/d);this.Wb=b.Wb;this.Xb=b.Xb;this.ra.nj(b.ml);this.G();this.Yc=b;this.ek=b.H;c=0;for(d=this.W.length;c<d;c++)f=this.W[c],f.ds&&f.ds(a,b);this.b.trigger(W.prototype.m.vg,this)};b.Md=function(a){a.globalAlpha=this.opacity;var b=this.Yc,c=b.uh,d=b.K,f=this.x,e=this.y,g=
this.width,k=this.height;if(0===this.n&&0<=g&&0<=k)f-=this.Wb*g,e-=this.Xb*k,this.b.Rc&&(f=Math.round(f),e=Math.round(e)),c?a.drawImage(d,b.ih,b.jh,b.width,b.height,f,e,g,k):a.drawImage(d,f,e,g,k);else{this.b.Rc&&(f=Math.round(f),e=Math.round(e));a.save();var m=0<g?1:-1,h=0<k?1:-1;a.translate(f,e);1===m&&1===h||a.scale(m,h);a.rotate(this.n*m*h);f=0-this.Wb*ma(g);e=0-this.Xb*ma(k);c?a.drawImage(d,b.ih,b.jh,b.width,b.height,f,e,ma(g),ma(k)):a.drawImage(d,f,e,ma(g),ma(k));a.restore()}};b.Ve=function(a){this.ec(a)};
b.ec=function(a){a.kc(this.ek);a.pf(this.opacity);var b=this.Yc,c=this.cc;if(this.b.Rc){var d=Math.round(this.x)-this.x,f=Math.round(this.y)-this.y;b.uh?a.fd(c.Ra+d,c.Sa+f,c.Ab+d,c.Bb+f,c.pb+d,c.qb+f,c.nb+d,c.ob+f,b.Zo):a.fj(c.Ra+d,c.Sa+f,c.Ab+d,c.Bb+f,c.pb+d,c.qb+f,c.nb+d,c.ob+f)}else b.uh?a.fd(c.Ra,c.Sa,c.Ab,c.Bb,c.pb,c.qb,c.nb,c.ob,b.Zo):a.fj(c.Ra,c.Sa,c.Ab,c.Bb,c.pb,c.qb,c.nb,c.ob)};b.Ex=function(a){var b=this.Yc,c,d;c=0;for(d=b.Cn.length;c<d;c++)if(nb(a,b.Cn[c][0]))return c;return-1};b.nn=function(a,
b){var c=this.Yc,d=c.Cn,f;ia(a)?f=this.Ex(a):f=a-1;f=z(f);if(0>f||f>=d.length)return b?this.x:this.y;var e=(d[f][1]-c.Wb)*this.width,d=d[f][2],d=(d-c.Xb)*this.height,c=Math.cos(this.n);f=Math.sin(this.n);var g=e*c-d*f,d=d*c+e*f,e=g+this.x,d=d+this.y;return b?e:d};var k=[],m=-2,u=[];r.prototype.su=function(a){if(!a)return!1;var b=this.b,c=b.Jg(),d=c.type,f=null;c.Z.collmemory?f=c.Z.collmemory:(f={},c.Z.collmemory=f,b.um(function(a){var b=c.Z.collmemory;a=a.uid;var d,f;for(d in b)b.hasOwnProperty(d)&&
(f=b[d],f[0]===a||f[1]===a)&&(e(b[d]),delete b[d])}));var k=d.X(),h=a.X(),k=k.Mb(),q,r,A,J,L,B,E,C=this.b.qg,V=C-1,v=b.Db().Cb;for(r=0;r<k.length;r++){A=k[r];h.ea?(A.na(),this.b.Iq(A.u,a,A.ja,u),q=u):q=h.Mb();for(J=0;J<q.length;J++)L=q[J],b.Hc(A,L)||b.Zv(A,L)?(B=g(f,A,L),B=!B||m<V,t(f,A,L,C),B&&(b.mh(v.Ca),B=d.X(),E=a.X(),B.ea=!1,E.ea=!1,d===a?(B.k.length=2,B.k[0]=A,B.k[1]=L,d.Ic()):(B.k.length=1,E.k.length=1,B.k[0]=A,E.k[0]=L,d.Ic(),a.Ic()),v.yl(),b.Ae(v.Ca))):n(f,A,L);K(u)}return!1};var J=new ca,
A=!1;new ta(0,0,0,0);f.finish=function(a){if(A){if(a){var b=this.b.Db().Cb.Ad;a=null.X();var c=J.Hd(),d,f;if(a.ea){a.ea=!1;K(a.k);d=0;for(f=c.length;d<f;++d)a.k[d]=c[d];if(b)for(K(a.ta),d=0,f=null.k.length;d<f;++d)c=null.k[d],J.contains(c)||a.ta.push(c)}else if(b)for(b=a.k.length,d=0,f=c.length;d<f;++d)a.k[b+d]=c[d],Fa(a.ta,c[d]);else Aa(a.k,c);null.Ic()}J.clear();A=!1}};r.prototype.au=function(a){return this.zg.length?nb(this.zg,a):nb(this.Na.name,a)};r.prototype.Mt=function(a,b){return ec(this.O,
a,b)};r.prototype.Cp=function(a){return nb(this.dq,a)};r.prototype.Dp=function(){return!0};r.prototype.vg=function(){return!0};c.m=new r;a.prototype.xv=function(){this.be=!1};a.prototype.uv=function(a){this.be=!0;this.Od=this.qd.S;1===a&&0!==this.O&&(this.Sh=0,this.pi||this.Sm());this.Qf||(this.b.Ah(this),this.Qf=!0)};a.prototype.$u=function(a,b){this.zg=a;this.pq=b;this.Qf||(this.b.Ah(this),this.Qf=!0);this.pi||this.vq()};a.prototype.av=function(a){this.Sh=a;this.Qf||(this.b.Ah(this),this.Qf=!0);
this.pi||this.Sm()};c.C=new a;c.P=new function(){}})();function uc(h){this.b=h}
(function(){function h(a,b){return a.length?a.pop():new b}function r(a,b,c){if(c){var d;c=0;for(d=b.length;c<d;c++)a.length<g&&a.push(b[c]);K(b)}else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a.length<g&&a.push(b[d]),delete b[d])}function e(b,c,d){var f=b.$f;d=d.replace(/\s\s*$/,"");c>=f.length&&f.push(h(a,Object));c=f[c];c.text=d;c.width=b.ho(d);b.yh=na(b.yh,c.width)}function q(){}var t=uc.prototype;t.I=function(){};t.T=function(a){this.Aa=a;this.b=a.b};var n=t.T.prototype;n.I=function(){this.R||
(this.K=new Image,this.b.Zl(this.K,this.uj),this.H=null)};n.Yi=function(){this.R||(this.H=null)};n.Zi=function(){if(!this.R&&this.k.length){this.H||(this.H=this.b.B.Pc(this.K,!1,this.b.da,this.uf));var a,b;a=0;for(b=this.k.length;a<b;a++)this.k[a].H=this.H}};n.xj=function(){this.R||this.k.length||!this.H||(this.b.B.deleteTexture(this.H),this.H=null)};n.ql=function(a){a.drawImage(this.K,0,0)};t.N=function(a){this.type=a;this.b=a.b};n=t.N.prototype;n.lf=function(){r(a,this.$f,!0);r(c,this.Zj,!1);r(f,
this.$j,!1);Xa(this.Se)};n.I=function(){this.K=this.type.K;this.Yj=this.A[0];this.Qe=this.A[1];this.characterSet=this.A[2];this.text=this.A[3];this.Re=this.A[4];this.visible=0===this.A[5];this.Bk=this.A[6]/2;this.Wl=this.A[7]/2;this.Iz=0===this.A[9];this.Ag=this.A[10];this.lineHeight=this.A[11];this.pg=this.yh=0;this.Gc?(K(this.$f),Xa(this.Zj),Xa(this.$j),Xa(this.Se)):(this.$f=[],this.Zj={},this.$j={},this.Se={});this.zh=!0;this.Un=this.width;this.b.B&&(this.type.H||(this.type.H=this.b.B.Pc(this.type.K,
!1,this.b.da,this.type.uf)),this.H=this.type.H);this.tv()};n.Va=function(){var a={t:this.text,csc:this.Re,csp:this.Ag,lh:this.lineHeight,tw:this.yh,th:this.pg,lrt:this.wy,ha:this.Bk,va:this.Wl,cw:{}},b;for(b in this.Se)a.cw[b]=this.Se[b];return a};n.jb=function(a){this.text=a.t;this.Re=a.csc;this.Ag=a.csp;this.lineHeight=a.lh;this.yh=a.tw;this.pg=a.th;this.wy=a.lrt;a.hasOwnProperty("ha")&&(this.Bk=a.ha);a.hasOwnProperty("va")&&(this.Wl=a.va);for(var b in a.cw)this.Se[b]=a.cw[b];this.zh=!0;this.Un=
this.width};var g=1E3,a=[],c=[],f=[];n.tv=function(){for(var a=this.K,b=a.width,d=a.height,a=this.Yj,e=this.Qe,g=a/b,l=e/d,p=this.characterSet,b=Math.floor(b/a),d=Math.floor(d/e),n=0;n<p.length&&!(n>=b*d);n++){var q=n%b,t=Math.floor(n/b),r=p.charAt(n);if(this.b.B){var G=this.$j,y=q*g,I=t*l,q=(q+1)*g,t=(t+1)*l;void 0===G[r]&&(G[r]=h(f,ta));G[r].left=y;G[r].top=I;G[r].right=q;G[r].bottom=t}else G=this.Zj,q=q*a,t=t*e,y=a,I=e,void 0===G[r]&&(G[r]=h(c,Object)),G[r].x=q,G[r].y=t,G[r].At=y,G[r].Pq=I}};var d=
[];t.Cv=function(a){K(d);for(var b="",c,f=0;f<a.length;)if(c=a.charAt(f),"\n"===c)b.length&&(d.push(b),b=""),d.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)));d.push(b);b=""}else f<a.length&&(b+=c,f++);b.length&&d.push(b)};t.Gv=function(b){var c=b.text,d=b.$f;if(c&&c.length){var f=b.width;if(2>=f)r(a,d,!0);else{var e=b.Re,g=b.Ag;if(c.length*(b.Yj*e+g)-g<=f&&-1===c.indexOf("\n")&&(g=b.ho(c),g<=f)){r(a,d,!0);d.push(h(a,
Object));d[0].text=c;d[0].width=g;b.yh=g;b.pg=b.Qe*e+b.lineHeight;return}this.Hv(b);b.pg=d.length*(b.Qe*e+b.lineHeight)}}else r(a,d,!0)};t.Hv=function(b){var c=b.Iz,f=b.text,h=b.$f,n=b.width;c&&(this.Cv(f),f=d);var l="",p,q,t,r=0,N=!1;for(t=0;t<f.length;t++)"\n"===f[t]?(!0===N?N=!1:(e(b,r,l),r++),l=""):(N=!1,p=l,l+=f[t],q=b.ho(l.replace(/\s\s*$/,"")),q>n&&(""===p?(e(b,r,l),l="",N=!0):(e(b,r,p),l=f[t]),r++,c||" "!==l||(l="")));l.replace(/\s\s*$/,"").length&&(e(b,r,l),r++);for(t=r;t<h.length;t++)a.length<
g&&a.push(h[t]);h.length=r};n.ho=function(a){for(var b=this.Ag,c=a.length,d=0,f=0;f<c;f++)d+=this.kn(a.charAt(f))*this.Re+b;return d-(0<d?b:0)};n.kn=function(a){var b=this.Se;return void 0!==b[a]?b[a]:this.Yj};n.Es=function(){if(this.zh||this.width!==this.Un)this.pg=this.yh=0,this.type.Aa.Gv(this),this.zh=!1,this.Un=this.width};n.Md=function(a){var b=this.K;if(""!==this.text&&null!=b&&(this.Es(),!(this.height<this.Qe*this.Re+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.b.Rc&&
(b=Math.round(b),c=Math.round(c));var d=this.u.Ha,f=this.u.Ia,e=this.u.La,g=this.u.Ka;a.save();a.translate(b,c);a.rotate(this.n);for(var h=this.Bk,n=this.Re,q=this.Qe*n,t=this.lineHeight,r=this.Ag,y=this.$f,I,w=-(this.Wb*this.width),P=-(this.Xb*this.height),P=P+this.Wl*na(0,this.height-this.pg),L,B,E,C=0;C<y.length;C++){var V=y[C].text;I=h*na(0,this.width-y[C].width);L=w+I;P+=t;if(c+P+q<f)P+=q;else{for(var v=0;v<V.length;v++){B=V.charAt(v);I=this.kn(B);var D=this.Zj[B];if(b+L+I*n+r<d)L+=I*n+r;else{if(L+
I*n>this.width+1E-5)break;void 0!==D&&(B=L,E=P,0===this.n&&(B=Math.round(B),E=Math.round(E)),a.drawImage(this.K,D.x,D.y,D.At,D.Pq,B,E,D.At*n,D.Pq*n));L+=I*n+r;if(b+L>e)break}}P+=q;if(P+q+t>this.height||c+P>g)break}}a.restore()}};var b=new ua;n.ec=function(a){a.kc(this.H);a.pf(this.opacity);if(this.text&&(this.Es(),!(this.height<this.Qe*this.Re+this.lineHeight))){this.na();var c=this.cc,d=0,f=0;this.b.Rc&&(d=Math.round(this.x)-this.x,f=Math.round(this.y)-this.y);var e=this.u.Ha,g=this.u.Ia,h=this.u.La,
n=this.u.Ka,q=this.n,t=this.Bk,r=this.Wl,G=this.Re,y=this.Qe*G,I=this.lineHeight,w=this.Ag,P=this.$f,L=this.pg,B,E,C;0!==q&&(E=Math.cos(q),C=Math.sin(q));for(var d=c.Ra+d,c=c.Sa+f,V,r=r*na(0,this.height-L),v,D,L=0;L<P.length;L++)if(f=P[L].text,V=B=t*na(0,this.width-P[L].width),r+=I,0===q&&c+r+y<g)r+=y;else{for(var M=0;M<f.length;M++){var S=f.charAt(M);B=this.kn(S);S=this.$j[S];if(d+V+B*G+w<e)V+=B*G+w;else{if(V+B*G>this.width+1E-5)break;if(void 0!==S){var H=this.Yj*G,F=this.Qe*G;v=V;D=r;0===q&&(v=
Math.round(v),D=Math.round(D));b.Ra=v;b.Sa=D;b.Ab=v+H;b.Bb=D;b.nb=v;b.ob=D+F;b.pb=v+H;b.qb=D+F;0!==q&&(v=b,D=E,H=C,F=void 0,F=v.Ra*D-v.Sa*H,v.Sa=v.Sa*D+v.Ra*H,v.Ra=F,F=v.Ab*D-v.Bb*H,v.Bb=v.Bb*D+v.Ab*H,v.Ab=F,F=v.nb*D-v.ob*H,v.ob=v.ob*D+v.nb*H,v.nb=F,F=v.pb*D-v.qb*H,v.qb=v.qb*D+v.pb*H,v.pb=F);b.offset(d,c);a.fd(b.Ra,b.Sa,b.Ab,b.Bb,b.pb,b.qb,b.nb,b.ob,S)}V+=B*G+w;if(0===q&&d+V>h)break}}r+=y;if(r+y+I>this.height||c+r>n)break}}};t.m=new function(){};q.prototype.lv=function(a){ha(a)&&1E9>a&&(a=Math.round(1E10*
a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.zh=!0,this.b.ma=!0)};q.prototype.Gt=function(a){ha(a)&&(a=Math.round(1E10*a)/1E10);if(a=a.toString())this.text+=a,this.zh=!0,this.b.ma=!0};n.Qh=function(a,b){var c=parseInt(b,10);this.Se[a]!==c&&(this.Se[a]=c,this.zh=!0,this.b.ma=!0)};t.C=new q;t.P=new function(){}})();function vc(h){this.b=h}
(function(){var h=vc.prototype;h.T=function(e){this.Aa=e;this.b=e.b};var r=h.T.prototype;r.I=function(){this.R||(this.K=new Image,this.K.Mm=this.Ml,this.b.Zl(this.K,this.uj),this.H=this.pattern=null)};r.Yi=function(){this.R||(this.H=null)};r.Zi=function(){if(!this.R&&this.k.length){this.H||(this.H=this.b.B.Pc(this.K,!0,this.b.da,this.uf));var e,h;e=0;for(h=this.k.length;e<h;e++)this.k[e].H=this.H}};r.Zn=function(){this.R||this.H||!this.b.B||(this.H=this.b.B.Pc(this.K,!0,this.b.da,this.uf))};r.xj=
function(){this.R||this.k.length||!this.H||(this.b.B.deleteTexture(this.H),this.H=null)};r.ql=function(e){e.drawImage(this.K,0,0)};h.N=function(e){this.type=e;this.b=e.b};r=h.N.prototype;r.I=function(){this.visible=0===this.A[0];this.Be=new ta(0,0,0,0);this.Sq=!1;this.K=this.type.K;this.b.B?(this.type.Zn(),this.H=this.type.H):(this.type.pattern||(this.type.pattern=this.b.Ea.createPattern(this.type.K,"repeat")),this.pattern=this.type.pattern)};r.Jd=function(){this.Sq=!1;this.K=this.type.K};r.lf=function(){this.b.B&&
this.Sq&&this.H&&(this.b.B.deleteTexture(this.H),this.H=null)};r.Md=function(e){e.globalAlpha=this.opacity;e.save();e.fillStyle=this.pattern;var h=this.x,t=this.y;this.b.Rc&&(h=Math.round(h),t=Math.round(t));var n=-(this.Wb*this.width),g=-(this.Xb*this.height),a=n%this.K.width,c=g%this.K.height;0>a&&(a+=this.K.width);0>c&&(c+=this.K.height);e.translate(h,t);e.rotate(this.n);e.translate(a,c);e.fillRect(n-a,g-c,this.width,this.height);e.restore()};r.Ve=function(e){this.ec(e)};r.ec=function(e){e.kc(this.H);
e.pf(this.opacity);var h=this.Be;h.right=this.width/this.K.width;h.bottom=this.height/this.K.height;var t=this.cc;if(this.b.Rc){var n=Math.round(this.x)-this.x,g=Math.round(this.y)-this.y;e.fd(t.Ra+n,t.Sa+g,t.Ab+n,t.Bb+g,t.pb+n,t.qb+g,t.nb+n,t.ob+g,h)}else e.fd(t.Ra,t.Sa,t.Ab,t.Bb,t.pb,t.qb,t.nb,t.ob,h)};h.m=new function(){};h.C=new function(){};h.P=new function(){}})();function wc(h){this.b=h}
(function(){function h(a){c=a.x;f=a.y;d=a.z}function r(a,c,d,f){var g;g=b.length?b.pop():new e;g.init(a,c,d,f);return g}function e(){this.qj=this.id=this.Zf=this.Yf=this.y=this.x=this.Jl=this.Il=this.Tn=this.time=this.gp=0;this.wj=this.Sl=!1}function q(){}function t(){}var n=wc.prototype;n.T=function(a){this.Aa=a;this.b=a.b};n.T.prototype.I=function(){};n.N=function(a){this.type=a;this.b=a.b;this.touches=[];this.jo=!1};var g=n.N.prototype,a={left:0,top:0};g.fi=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 c=0,f=0,d=0,b=[];e.prototype.init=function(a,b,c,d){var f=Ya();this.gp=this.Tn=this.time=f;this.Il=a;this.Jl=b;this.x=a;this.y=b;this.Yf=a;this.Zf=b;this.id=c;this.qj=d;this.wj=this.Sl=!1};e.prototype.update=function(a,b,c){this.Tn=this.time;this.time=a;this.Yf=this.x;this.Zf=this.y;this.x=b;this.y=c;!this.wj&&15<=Ra(this.Il,this.Jl,this.x,this.y)&&(this.wj=!0)};e.prototype.Cy=function(a,b){!this.Sl&&500<=Ya()-this.gp&&!this.wj&&15>Ra(this.Il,
this.Jl,this.x,this.y)&&(this.Sl=!0,a.ae=this.qj,a.Dh=this.id,a.Lg=b,a.b.trigger(wc.prototype.m.Au,a),a.he=this.x,a.ie=this.y,a.b.trigger(wc.prototype.m.Bu,a),a.Lg=0)};var k=-1E3,m=-1E3,u=-1E4;e.prototype.Or=function(a,b){if(!this.Sl){var c=Ya();333>=c-this.gp&&!this.wj&&15>Ra(this.Il,this.Jl,this.x,this.y)&&(a.ae=this.qj,a.Dh=this.id,a.Lg=b,666>=c-u&&25>Ra(k,m,this.x,this.y)?(a.b.trigger(wc.prototype.m.tu,a),a.he=this.x,a.ie=this.y,a.b.trigger(wc.prototype.m.uu,a),m=k=-1E3,u=-1E4):(a.b.trigger(wc.prototype.m.Qu,
a),a.he=this.x,a.ie=this.y,a.b.trigger(wc.prototype.m.Ru,a),k=this.x,m=this.y,u=c),a.Lg=0)}};g.I=function(){this.ry=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Lg=this.Dh=this.ae=this.ie=this.he=this.Xp=this.Wp=this.Vp=this.Lv=this.Kv=this.Jv=this.jl=this.il=this.hl=0;this.Fz=0!==this.A[0];var a=0<this.b.fc?document:this.b.canvas,b=document;this.b.Nb?b=a=window.Canvas:this.b.Nc&&(b=a=window);var c=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){c.cs(a)},
!1),a.addEventListener("pointermove",function(a){c.bs(a)},!1),b.addEventListener("pointerup",function(a){c.fl(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.fl(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.cs(a)},!1),a.addEventListener("MSPointerMove",function(a){c.bs(a)},!1),b.addEventListener("MSPointerUp",function(a){c.fl(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.fl(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.gs(a)},
!1),a.addEventListener("touchmove",function(a){c.es(a)},!1),b.addEventListener("touchend",function(a){c.xo(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.xo(a,!0)},!1));if(this.ry){var d=function(a){a=a.reading;c.Vp=a.accelerationX;c.Wp=a.accelerationY;c.Xp=a.accelerationZ},f=function(a){a=a.reading;c.hl=a.yawDegrees;c.il=a.pitchDegrees;c.jl=a.rollDegrees},e=Windows.Devices.Sensors.Accelerometer.getDefault();e&&(e.reportInterval=Math.max(e.minimumReportInterval,16),e.addEventListener("readingchanged",
d));var g=Windows.Devices.Sensors.Inclinometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(e&&e.removeEventListener("readingchanged",d),g&&g.removeEventListener("readingchanged",f)):(e&&e.addEventListener("readingchanged",d),g&&g.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",function(a){c.hl=a.alpha||
0;c.il=a.beta||0;c.jl=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Jv=a.accelerationIncludingGravity.x||0,c.Kv=a.accelerationIncludingGravity.y||0,c.Lv=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.Vp=a.acceleration.x||0,c.Wp=a.acceleration.y||0,c.Xp=a.acceleration.z||0)},!1);this.Fz&&!this.b.za&&(jQuery(document).mousemove(function(a){c.vo(a)}),jQuery(document).mousedown(function(a){c.uo(a)}),jQuery(document).mouseup(function(a){c.wo(a)}));
!this.b.Vg&&this.b.Oc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(h,null,{frequency:40});this.b.xz(this)};g.bs=function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType){b.preventDefault&&b.preventDefault();var c=this.fi(b.pointerId),d=Ya();if(0<=c){var f=this.b.za?a:jQuery(this.b.canvas).offset(),c=this.touches[c];2>d-c.time||c.update(d,b.pageX-f.left,b.pageY-f.top)}}};g.cs=function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&
"mouse"!==b.pointerType){b.preventDefault&&ob(b)&&b.preventDefault();var c=this.b.za?a:jQuery(this.b.canvas).offset(),d=b.pageX-c.left,c=b.pageY-c.top;Ya();this.ae=this.touches.length;this.Dh=b.pointerId;this.touches.push(r(d,c,b.pointerId,this.ae));this.b.Ya=!0;this.b.trigger(wc.prototype.m.Op,this);this.b.trigger(wc.prototype.m.nm,this);this.he=d;this.ie=c;this.b.trigger(wc.prototype.m.mm,this);this.b.Ya=!1}};g.fl=function(a,c){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&
ob(a)&&a.preventDefault();var d=this.fi(a.pointerId);this.ae=0<=d?this.touches[d].qj:-1;this.Dh=0<=d?this.touches[d].id:-1;this.b.Ya=!0;this.b.trigger(wc.prototype.m.Np,this);this.b.trigger(wc.prototype.m.Sp,this);0<=d&&(c||this.touches[d].Or(this,d),100>b.length&&b.push(this.touches[d]),this.touches.splice(d,1));this.b.Ya=!1}};g.es=function(b){b.preventDefault&&b.preventDefault();var c=Ya(),d,f,e,g;d=0;for(f=b.changedTouches.length;d<f;d++)if(e=b.changedTouches[d],g=this.fi(e.identifier),0<=g){var k=
this.b.za?a:jQuery(this.b.canvas).offset();g=this.touches[g];2>c-g.time||g.update(c,e.pageX-k.left,e.pageY-k.top)}};g.gs=function(b){b.preventDefault&&ob(b)&&b.preventDefault();var c=this.b.za?a:jQuery(this.b.canvas).offset();Ya();this.b.Ya=!0;var d,f,e,g;d=0;for(f=b.changedTouches.length;d<f;d++)if(e=b.changedTouches[d],g=this.fi(e.identifier),-1===g){g=e.pageX-c.left;var k=e.pageY-c.top;this.ae=this.touches.length;this.Dh=e.identifier;this.touches.push(r(g,k,e.identifier,this.ae));this.b.trigger(wc.prototype.m.Op,
this);this.b.trigger(wc.prototype.m.nm,this);this.he=g;this.ie=k;this.b.trigger(wc.prototype.m.mm,this)}this.b.Ya=!1};g.xo=function(a,c){a.preventDefault&&ob(a)&&a.preventDefault();this.b.Ya=!0;var d,f,e;d=0;for(f=a.changedTouches.length;d<f;d++)e=a.changedTouches[d],e=this.fi(e.identifier),0<=e&&(this.ae=this.touches[e].qj,this.Dh=this.touches[e].id,this.b.trigger(wc.prototype.m.Np,this),this.b.trigger(wc.prototype.m.Sp,this),c||this.touches[e].Or(this,e),100>b.length&&b.push(this.touches[e]),this.touches.splice(e,
1));this.b.Ya=!1};g.Qh=function(){return this.b.Oc&&0===this.hl&&0!==d?90*d:this.hl};g.AA=function(){return this.b.Oc&&0===this.il&&0!==f?90*f:this.il};g.BA=function(){return this.b.Oc&&0===this.jl&&0!==c?90*c:this.jl};g.uo=function(a){this.gs({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.jo=!0};g.vo=function(a){this.jo&&this.es({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};g.wo=function(a){a.preventDefault&&this.b.Ak&&!this.b.Of&&a.preventDefault();this.b.Ak=
!0;this.xo({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.jo=!1};g.Ol=function(){var a,b,c,d=Ya();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.Tn=d),c.Cy(this,a)};q.prototype.nm=function(){return!0};q.prototype.Sp=function(){return!0};q.prototype.mm=function(a){return a?this.b.wh(a,this.he,this.ie,!1):!1};var J=[];q.prototype.hu=function(a){if(!a)return!1;var b=a.X(),c=b.Mb(),d,f,e,g,k,m;e=0;for(g=c.length;e<g;e++){var h=c[e];h.na();k=0;for(m=this.touches.length;k<
m;k++)if(f=this.touches[k],d=h.u.Xa(f.x,f.y,!0),f=h.u.Xa(f.x,f.y,!1),h.tb(d,f)){J.push(h);break}}return J.length?(b.ea=!1,Aa(b.k,J),a.Ic(),K(J),!0):!1};q.prototype.Op=function(a){a=Math.floor(a);return a===this.ae};q.prototype.Np=function(a){a=Math.floor(a);return a===this.ae};q.prototype.Au=function(){return!0};q.prototype.Qu=function(){return!0};q.prototype.tu=function(){return!0};q.prototype.Bu=function(a){return a?this.b.wh(a,this.he,this.ie,!1):!1};q.prototype.Ru=function(a){return a?this.b.wh(a,
this.he,this.ie,!1):!1};q.prototype.uu=function(a){return a?this.b.wh(a,this.he,this.ie,!1):!1};n.m=new q;t.prototype.rm=function(a,b){var c=this.Lg;if(0>c||c>=this.touches.length)a.M(0);else{var d,f,e,g,k;ga(b)?(d=this.b.pe(0),f=d.scale,e=d.ac,g=d.tc,k=d.n,d.scale=1,d.ac=1,d.tc=1,d.n=0,a.M(d.Xa(this.touches[c].x,this.touches[c].y,!0)),d.scale=f,d.ac=e,d.tc=g,d.n=k):(d=ha(b)?this.b.pe(b):this.b.gi(b))?a.M(d.Xa(this.touches[c].x,this.touches[c].y,!0)):a.M(0)}};t.prototype.tm=function(a,b){var c=this.Lg;
if(0>c||c>=this.touches.length)a.M(0);else{var d,f,e,g,k;ga(b)?(d=this.b.pe(0),f=d.scale,e=d.ac,g=d.uc,k=d.n,d.scale=1,d.ac=1,d.uc=1,d.n=0,a.M(d.Xa(this.touches[c].x,this.touches[c].y,!1)),d.scale=f,d.ac=e,d.uc=g,d.n=k):(d=ha(b)?this.b.pe(b):this.b.gi(b))?a.M(d.Xa(this.touches[c].x,this.touches[c].y,!1)):a.M(0)}};n.P=new t})();function xc(h){this.b=h}
(function(){function h(){}function r(){}function e(){}var q=xc.prototype;q.T=function(a){this.Aa=a;this.b=a.b};q.T.prototype.I=function(){};q.N=function(a){this.type=a;this.b=a.b};var t=q.N.prototype,n="",g="undefined"!==typeof window.is_scirra_arcade;g&&(n="arcade"+window.scirra_arcade_id);var a=!1;try{localStorage.getItem("test"),a=!0}catch(c){a=!1}t.I=function(){a||ea("[Construct 2] Webstorage plugin: local storage is not supported on this platform.")};h.prototype.nu=function(c){return a?null!=
localStorage.getItem(n+c):!1};h.prototype.Mu=function(){return!0};q.m=new h;r.prototype.yv=function(c,d){if(a)try{localStorage.setItem(n+c,d)}catch(b){this.b.trigger(xc.prototype.m.Mu,this)}};q.C=new r;e.prototype.ou=function(c,d){a?c.Fa(localStorage.getItem(n+d)||""):c.Fa("")};e.prototype.yp=function(c){if(a){var d={},b,e,m;b=0;for(e=localStorage.length;b<e;b++)m=localStorage.key(b),g?m.substr(0,n.length)===n&&(d[m.substr(n.length)]=localStorage.getItem(m)):d[m]=localStorage.getItem(m);c.Fa(JSON.stringify({c2dictionary:!0,
data:d}))}else c.Fa("")};q.P=new e})();function yc(h){this.b=h;this.b.qc&&(h={},window.XPathResult=h,h.NUMBER_TYPE=1,h.STRING_TYPE=2,h.UNORDERED_NODE_SNAPSHOT_TYPE=6,h.ORDERED_NODE_SNAPSHOT_TYPE=7)}
(function(){function h(){}function r(){}function e(){}var q=yc.prototype;q.T=function(e){this.Aa=e;this.b=e.b};q.T.prototype.I=function(){};q.N=function(e){this.type=e;this.b=e.b};var t=q.N.prototype;t.I=function(){this.xf=null;this.jf=[];this.b.za&&ea("[Construct 2] The XML object is not supported on this platform.")};t.Ct=function(e,g){if(this.xf){var a=this.jf.length?this.jf[this.jf.length-1]:this.xf.documentElement;try{return this.b.qc?a.selectSingleNode(e):this.xf.evaluate(e,a,null,g,null)}catch(c){return null}}};
t.Jz=function(e){var g=XPathResult.ORDERED_NODE_SNAPSHOT_TYPE;if(this.xf){var a=this.jf.length?this.jf[this.jf.length-1]:this.xf.documentElement;try{return this.b.qc?a.selectNodes(e):this.xf.evaluate(e,a,null,g,null)}catch(c){return null}}};t.xq=function(e,g){this.jf.push(g);this.b.mh(e.Ca);e.yl();this.b.Ae(e.Ca);this.jf.pop()};h.prototype.Bp=function(e){if(this.b.za)return!1;var g=this.b.Db().Cb;e=this.Jz(e);var a,c;if(e){var f=this.b.Cs();if(this.b.qc)for(a=0,c=e.length;a<c;a++)f.index=a,this.xq(g,
e[a]);else for(a=0,c=e.snapshotLength;a<c;a++)f.index=a,this.xq(g,e.snapshotItem(a));this.b.ws()}return!1};q.m=new h;r.prototype.lu=function(e){if(!this.b.za){var g,a,c=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);try{if(c)g=new Windows.Data.Xml.Dom.XmlDocument,g.loadXml(e);else if(this.b.qc){a=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"];for(var f=0;3>f;f++)try{if(g=new ActiveXObject(a[f]))break}catch(d){g=null}g&&(g.async="false",g.loadXML(e))}else a=
new DOMParser,g=a.parseFromString(e,"text/xml")}catch(b){g=null}g&&(this.xf=g,this.b.qc&&!c&&this.xf.setProperty("SelectionLanguage","XPath"))}};q.C=new r;e.prototype.zv=function(e,g){if(this.b.za)e.Fa("");else{var a;if(/firefox/i.test(navigator.userAgent))if(a=this.Ct(g,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE)){var c,f,d="";c=0;for(f=a.snapshotLength;c<f;c++)d+=a.snapshotItem(c).textContent;e.Fa(d)}else e.Fa("");else(a=this.Ct(g,XPathResult.STRING_TYPE))?this.b.qc?e.Fa(a.nodeValue||a.nodeTypedValue||
""):e.Fa(a.stringValue||""):e.Fa("")}};q.P=new e})();function zc(h){this.b=h}
(function(){function h(a,b){return b?4<=a?-1:a+16:16<=a?-1:a}function r(b){a[b.gamepad.index]=b.gamepad;n.trigger(zc.prototype.m.yu,g)}function e(b){n.trigger(zc.prototype.m.zu,g);a[b.gamepad.index]=null}function q(){}var t=zc.prototype;t.T=function(a){this.Aa=a;this.b=a.b};t.T.prototype.I=function(){};var n=null,g=null,a=Array(16),c="",f="",d=null,b={windows:{}};b.windows.firefox={};var k=[0,1,2,3,4,5,8,9,10,11],m=[0,1,[7,6],2,3,[14,15],[12,13]];b.windows.firefox.xbox360=function(a,b){return b?a>=
m.length?-1:ha(m[a])?m[a]+16:m[a]:a>=k.length?-1:k[a]};var u=[2,0,1,3,4,6,5,7,8,9],J=[0,1,2,3,[14,15],[12,13]];b.windows.firefox.logitechdualaction=function(a,b){return b?a>=J.length?-1:ha(J[a])?J[a]+16:J[a]:a>=u.length?-1:u[a]};t.N=function(a){this.type=a;n=this.b=a.b;g=this};var A=t.N.prototype;A.I=function(){this.Qn=0;var a=navigator.userAgent;c="windows";/mac/i.test(a)&&(c="mac");d=b[c];f="chrome";/firefox/i.test(a)&&(f="firefox");d&&(d=d[f]);window.addEventListener("webkitgamepadconnected",r,
!1);window.addEventListener("webkitgamepaddisconnected",e,!1);window.addEventListener("MozGamepadConnected",r,!1);window.addEventListener("MozGamepadDisconnected",e,!1);window.addEventListener("gamepadconnected",r,!1);window.addEventListener("gamepaddisconnected",e,!1);this.b.Ah(this);this.Yp=[]};A.Qa=function(){this.Yp.length=0;var b=null,c=!1;navigator.getGamepads?b=navigator.getGamepads():navigator.webkitGetGamepads?b=navigator.webkitGetGamepads():navigator.mozGetGamepads?b=navigator.mozGetGamepads():
navigator.msGetGamepads?b=navigator.msGetGamepads():this.b.ir&&window.cr_getGamepads?(b=window.cr_getGamepads(),c=!0):b=navigator.gamepads||navigator.webkitGamepads||navigator.MozGamepads||a;if(b){var f,e,g,k,m,n,q;f=0;for(e=b.length;f<e;f++){var t=b[f];if(t){if(t.fe)for(g=0;20>g;g++)t.Dm[g]=t.fe[g];else for(t.fe=Array(20),t.Dm=Array(20),g=0;20>g;g++)t.Dm[g]=0;c?g=h:d?(g="",k=t.id.toLowerCase(),-1<k.indexOf("xbox 360")?g="xbox360":-1<k.indexOf("logitech dual action")&&(g="logitechdualaction"),g=d[g]||
h):g=h;m=g;g=0;for(k=t.buttons.length;g<k;g++)q="undefined"!==typeof t.buttons[g].value?t.buttons[g].value:t.buttons[g],n=m(g,!1,q),0<=n&&20>n&&(t.fe[n]=100*q,50<=t.fe[n]&&50>t.Dm[n]&&(this.Qn=n));g=0;for(k=t.axes.length;g<k;g++)q=t.axes[g],n=m(g,!0,q),ha(n)?0<=n&&20>n&&(t.fe[n]=100*q):(t.fe[n[0]]=0,t.fe[n[1]]=0,0>=q?t.fe[n[0]]=Math.abs(100*q):t.fe[n[1]]=Math.abs(100*q));this.Yp.push(t)}}}};A.Va=function(){return{lastButton:this.Qn}};A.jb=function(a){this.Qn=a.lastButton};q.prototype.yu=function(){return!0};
q.prototype.zu=function(){return!0};t.m=new q;t.C=new function(){};t.P=new function(){}})();function Ac(h){this.b=h}
(function(){function h(){}var r=Ac.prototype;r.T=function(e,h){this.behavior=e;this.kf=h;this.b=e.b};r.T.prototype.I=function(){};r.N=function(e,h){this.type=e;this.behavior=e.behavior;this.j=h;this.b=e.b};var e=r.N.prototype;e.I=function(){this.bq=this.A[0];this.cq=this.A[1];this.Qv=this.A[2];this.Pv=this.A[3];this.j.na();this.cm=this.j.ja.left;this.fm=this.j.ja.top;this.dm=this.b.Pa-this.j.ja.left;this.em=this.b.Ma-this.j.ja.top;this.ul=this.b.Pa-this.j.ja.right;this.Uj=this.b.Ma-this.j.ja.bottom;
this.enabled=0!==this.A[4]};e.Va=function(){return{xleft:this.cm,ytop:this.fm,xright:this.dm,ybottom:this.em,rdiff:this.ul,bdiff:this.Uj,enabled:this.enabled}};e.jb=function(e){this.cm=e.xleft;this.fm=e.ytop;this.dm=e.xright;this.em=e.ybottom;this.ul=e.rdiff;this.Uj=e.bdiff;this.enabled=e.enabled};e.Qa=function(){if(this.enabled){var e,h=this.j.u,n=this.j,g=this.j.ja;0===this.bq?(n.na(),e=h.Ha+this.cm-g.left,0!==e&&(n.x+=e,n.G())):1===this.bq&&(n.na(),e=h.La-this.dm-g.left,0!==e&&(n.x+=e,n.G()));
0===this.cq?(n.na(),e=h.Ia+this.fm-g.top,0!==e&&(n.y+=e,n.G())):1===this.cq&&(n.na(),e=h.Ka-this.em-g.top,0!==e&&(n.y+=e,n.G()));1===this.Qv&&(n.na(),e=h.La-this.ul-g.right,0!==e&&(n.width+=e,0>n.width&&(n.width=0),n.G()));1===this.Pv&&(n.na(),e=h.Ka-this.Uj-g.bottom,0!==e&&(n.height+=e,0>n.height&&(n.height=0),n.G()))}};r.m=new function(){};h.prototype.pm=function(e){this.enabled&&0===e?this.enabled=!1:this.enabled||0===e||(this.j.na(),this.cm=this.j.ja.left,this.fm=this.j.ja.top,this.dm=this.b.Pa-
this.j.ja.left,this.em=this.b.Ma-this.j.ja.top,this.ul=this.b.Pa-this.j.ja.right,this.Uj=this.b.Ma-this.j.ja.bottom,this.enabled=!0)};r.C=new h;r.P=new function(){}})();function Bc(h){this.b=h}
(function(){function h(){}var r=Bc.prototype;r.T=function(e,h){this.behavior=e;this.kf=h;this.b=e.b};r.T.prototype.I=function(){};r.N=function(e,h){this.type=e;this.behavior=e.behavior;this.j=h;this.b=e.b};var e=r.N.prototype;e.I=function(){var e=this.A[0];this.md=this.A[1];this.gc=this.A[2];this.Uv=0!==this.A[3];this.Vo=0!==this.A[4];this.F=Math.cos(this.j.n)*e;this.J=Math.sin(this.j.n)*e;this.Yf=this.j.x;this.Zf=this.j.y;this.Yg=this.j.n;this.Ql=0;this.enabled=0!==this.A[5]};e.Va=function(){return{acc:this.md,
g:this.gc,dx:this.F,dy:this.J,lx:this.Yf,ly:this.Zf,lka:this.Yg,t:this.Ql,e:this.enabled}};e.jb=function(e){this.md=e.acc;this.gc=e.g;this.F=e.dx;this.J=e.dy;this.Yf=e.lx;this.Zf=e.ly;this.Yg=e.lka;this.Ql=e.t;this.enabled=e.e};e.Qa=function(){if(this.enabled){var e=this.b.$e(this.j),h,n;this.j.n!==this.Yg&&(this.Vo&&(h=Ra(0,0,this.F,this.J),this.F=Math.cos(this.j.n)*h,this.J=Math.sin(this.j.n)*h),this.Yg=this.j.n);0!==this.md&&(h=Ra(0,0,this.F,this.J),n=0===this.F&&0===this.J?this.j.n:Ma(0,0,this.F,
this.J),h+=this.md*e,0>h&&(h=0),this.F=Math.cos(n)*h,this.J=Math.sin(n)*h);0!==this.gc&&(this.J+=this.gc*e);this.Yf=this.j.x;this.Zf=this.j.y;if(0!==this.F||0!==this.J)if(this.j.x+=this.F*e,this.j.y+=this.J*e,this.Ql+=Ra(0,0,this.F*e,this.J*e),this.Vo&&(this.j.n=Ma(0,0,this.F,this.J),this.j.G(),this.Yg=this.j.n),this.j.G(),this.Uv&&(h=this.b.Jb(this.j)))this.b.nh(this.j,h),h=Ra(0,0,this.F,this.J),n=this.b.Xv(this.j,this.Yf,this.Zf),this.F=Math.cos(n)*h,this.J=Math.sin(n)*h,this.j.x+=this.F*e,this.j.y+=
this.J*e,this.j.G(),this.Vo&&(this.Yg=this.j.n=n,this.j.G()),this.b.Sc(this.j,this.F/h,this.J/h,Math.max(2.5*h*e,30))||this.b.Ds(this.j,100)}};r.m=new function(){};h.prototype.kv=function(e){var h=Ma(0,0,this.F,this.J);this.F=Math.cos(h)*e;this.J=Math.sin(h)*e};h.prototype.Up=function(e){this.gc=e};h.prototype.Zu=function(e){e=O(e);var h=Ra(0,0,this.F,this.J);this.F=Math.cos(e)*h;this.J=Math.sin(e)*h};h.prototype.pm=function(e){this.enabled=1===e};r.C=new h;r.P=new function(){}})();
function Cc(h){this.b=h}
(function(){function h(){}var r=Cc.prototype;r.T=function(e,h){this.behavior=e;this.kf=h;this.b=e.b};r.T.prototype.I=function(){};r.N=function(e,h){this.type=e;this.behavior=e.behavior;this.j=h;this.b=e.b};var e=r.N.prototype;e.I=function(){var e=1===this.A[0];this.di=this.A[1];this.Cj=this.A[2];this.ok=this.A[3];this.iw=this.A[4];this.zb=e?0:3;this.Gc?this.hd.reset():this.hd=new bb;this.eg=this.j.opacity?this.j.opacity:1;e&&(0===this.di?(this.zb=1,0===this.Cj&&(this.zb=2)):(this.j.opacity=0,this.b.ma=
!0))};e.Va=function(){return{fit:this.di,wt:this.Cj,fot:this.ok,s:this.zb,st:this.hd.S,mo:this.eg}};e.jb=function(e){this.di=e.fit;this.Cj=e.wt;this.ok=e.fot;this.zb=e.s;this.hd.reset();this.hd.S=e.st;this.eg=e.mo};e.Qa=function(){this.hd.add(this.b.$e(this.j));0===this.zb&&(this.j.opacity=this.hd.S/this.di*this.eg,this.b.ma=!0,this.j.opacity>=this.eg&&(this.j.opacity=this.eg,this.zb=1,this.hd.reset(),this.b.trigger(Cc.prototype.m.vu,this.j)));1===this.zb&&this.hd.S>=this.Cj&&(this.zb=2,this.hd.reset(),
this.b.trigger(Cc.prototype.m.Tu,this.j));2===this.zb&&0!==this.ok&&(this.j.opacity=this.eg-this.hd.S/this.ok*this.eg,this.b.ma=!0,0>this.j.opacity&&(this.j.opacity=0,this.zb=3,this.hd.reset(),this.b.trigger(Cc.prototype.m.wu,this.j),1===this.iw&&this.b.Le(this.j)))};e.Qh=function(){this.zb=0;this.hd.reset();0===this.di?(this.zb=1,0===this.Cj&&(this.zb=2)):(this.j.opacity=0,this.b.ma=!0)};h.prototype.wu=function(){return!0};h.prototype.vu=function(){return!0};h.prototype.Tu=function(){return!0};r.m=
new h;r.C=new function(){};r.P=new function(){}})();function Dc(h){this.b=h}
(function(){function h(){}function r(){}var e=Dc.prototype;e.T=function(e,h){this.behavior=e;this.kf=h;this.b=e.b};e.T.prototype.I=function(){};e.N=function(e,h){this.type=e;this.behavior=e.behavior;this.j=h;this.b=e.b};var q=e.N.prototype;q.I=function(){this.vf=this.Zd=this.zb=this.el=this.gl=0};q.Va=function(){return{ontime:this.gl,offtime:this.el,stage:this.zb,stagetimeleft:this.Zd,timeleft:this.vf}};q.jb=function(e){this.gl=e.ontime;this.el=e.offtime;this.zb=e.stage;this.Zd=e.stagetimeleft;this.vf=
e.timeleft};q.Qa=function(){if(!(0>=this.vf)){var e=this.b.$e(this.j);this.vf-=e;0>=this.vf?(this.vf=0,this.j.visible=!0,this.b.ma=!0,this.b.trigger(Dc.prototype.m.Ip,this.j)):(this.Zd-=e,0>=this.Zd&&(0===this.zb?(this.j.visible=!1,this.zb=1,this.Zd+=this.el):(this.j.visible=!0,this.zb=0,this.Zd+=this.gl),this.b.ma=!0))}};h.prototype.Ip=function(){return!0};e.m=new h;r.prototype.Wt=function(e,h,g){this.gl=e;this.el=h;this.zb=1;this.Zd=h;this.vf=g;this.j.visible=!1;this.b.ma=!0};e.C=new r;e.P=new function(){}})();
function Ec(h){this.b=h}
(function(){function h(){}var r=Ec.prototype;r.T=function(a,c){this.behavior=a;this.kf=c;this.b=a.b};var e=r.T.prototype;e.I=function(){this.gg=[]};e.rx=function(a){var c,f,d;c=0;for(f=a.W.length;c<f;++c)if(d=a.W[c],d instanceof Ec.prototype.N&&d.type===this)return d;return null};r.N=function(a,c){this.type=a;this.behavior=a.behavior;this.j=c;this.b=a.b};e=r.N.prototype;e.I=function(){this.Gy=this.A[0];this.Io=this.A[1];this.Km=O(this.A[2]);this.xt=0!==this.A[3]};e.lf=function(){};e.Va=function(){var a=
{r:this.Io,c:this.Km,t:[]},c,f;c=0;for(f=this.type.gg.length;c<f;c++)a.t.push(this.type.gg[c].qa);return a};e.jb=function(a){this.Io=a.r;this.Km=a.c;K(this.type.gg);var c,f,d;c=0;for(f=a.t.length;c<f;c++)(d=this.b.hi(a.t[c]))&&this.type.gg.push(d)};e.Qa=function(){};var q=[],t=new ta(0,0,0,0);e.ey=function(a,c){var f=this.j.x,d=this.j.y,b=this.j.n;0>this.j.width&&(b+=Math.PI);if(Ra(f,d,a,c)>this.Io||Na(b,Ma(f,d,a,c))>this.Km/2)return!1;var e,g;t.set(f,d,a,c);t.normalize();if(0===this.Gy)for(this.xt?
this.b.Nq(this.j.u,t,q):(b=this.b.ep)&&Ba(q,b.al.Hd()),b=0,e=q.length;b<e;++b){if(g=q[b],g.Z.solidEnabled&&g!==this.j&&this.b.$s(f,d,a,c,g))return K(q),!1}else{if(this.xt)this.b.tn(this.j.u,this.type.gg,t,q);else for(b=0,e=this.type.gg.length;b<e;++b)Ba(q,this.type.gg[b].k);b=0;for(e=q.length;b<e;++b)if(g=q[b],g!==this.j&&this.b.$s(f,d,a,c,g))return K(q),!1}K(q);return!0};var n=new ca,g=new ca;h.prototype.Zt=function(a){if(!a)return!1;var c,f,d,b,e,h,q,t,r=this.kf.X();a=a.X();var l=r.Mb(),p=a.Mb();
r.ea&&K(r.ta);a.ea&&K(a.ta);var R=this.b.Jg().Pg;c=0;for(d=l.length;c<d;++c){e=l[c];t=!1;h=this.rx(e);f=0;for(b=p.length;f<b;++f)q=p[f],e!==q&&Sa(h.ey(q.x,q.y),R)&&(t=!0,g.add(q));t&&n.add(e)}c=n.Hd();f=g.Hd();r.ea=!1;a.ea=!1;Aa(r.k,c);Aa(a.k,f);n.clear();g.clear();return r.Dk()};r.m=new h;r.C=new function(){};r.P=new function(){}})();function Fc(h){this.b=h}
(function(){function h(){}function r(){}var e=Fc.prototype;e.T=function(e,h){this.behavior=e;this.kf=h;this.b=e.b};e.T.prototype.I=function(){};e.N=function(e,h){this.type=e;this.behavior=e.behavior;this.j=h;this.b=e.b;this.Fl=this.cp=this.bp=this.Bn=this.Rh=this.$h=this.Wg=this.Xg=this.jj=this.Mi=!1;this.hc=null;this.Xn=-1;this.Tf=this.Sf=0;this.tk=!1;this.Fg=this.pd=0;this.sk=!0;this.J=this.F=0};var q=e.N.prototype;q.qp=function(){this.eb=Math.cos(this.Ig);this.fb=Math.sin(this.Ig);this.ig=Math.cos(this.Ig-
Math.PI/2);this.jg=Math.sin(this.Ig-Math.PI/2);this.eb=mb(this.eb);this.fb=mb(this.fb);this.ig=mb(this.ig);this.jg=mb(this.jg);this.wk=this.gc;0>this.gc&&(this.eb*=-1,this.fb*=-1,this.gc=Math.abs(this.gc))};q.I=function(){this.eh=this.A[0];this.md=this.A[1];this.Dg=this.A[2];this.Gi=this.A[3];this.wk=this.gc=this.A[4];this.$k=this.A[5];this.Um=0!==this.A[6];this.Pn=this.A[7]/1E3;this.gw=1===this.A[8];this.enabled=0!==this.A[9];this.Ih=!1;this.Jh=this.b.tf(this.j);this.Yn=-1;this.ng=0;this.Ig=O(90);
this.qp();var e=this;this.gw&&!this.b.za&&(jQuery(document).keydown(function(h){e.ro(h)}),jQuery(document).keyup(function(h){e.so(h)}));this.Gc||(this.Ur=function(h){e.qo(h)});this.b.um(this.Ur);this.j.Z.isPlatformBehavior=!0};q.Va=function(){return{ii:this.Bn,lfx:this.Sf,lfy:this.Tf,lfo:this.hc?this.hc.uid:-1,am:this.pd,en:this.enabled,fall:this.Fg,ft:this.sk,dx:this.F,dy:this.J,ms:this.eh,acc:this.md,dec:this.Dg,js:this.Gi,g:this.gc,g1:this.wk,mf:this.$k,wof:this.Ih,woj:this.Jh?this.Jh.uid:-1,ga:this.Ig,
edj:this.Um,cdj:this.Rh,dj:this.$h,sus:this.Pn}};q.jb=function(e){this.Bn=e.ii;this.Sf=e.lfx;this.Tf=e.lfy;this.Xn=e.lfo;this.pd=e.am;this.enabled=e.en;this.Fg=e.fall;this.sk=e.ft;this.F=e.dx;this.J=e.dy;this.eh=e.ms;this.md=e.acc;this.Dg=e.dec;this.Gi=e.js;this.gc=e.g;this.wk=e.g1;this.$k=e.mf;this.Ih=e.wof;this.Yn=e.woj;this.Ig=e.ga;this.Um=e.edj;this.Rh=e.cdj;this.$h=e.dj;this.Pn=e.sus;this.Fl=this.cp=this.bp=this.Wg=this.Xg=this.jj=this.Mi=!1;this.ng=0;this.qp()};q.Jd=function(){-1===this.Xn?
this.hc=null:this.hc=this.b.Kg(this.Xn);-1===this.Yn?this.Jh=null:this.Jh=this.b.Kg(this.Yn)};q.qo=function(e){this.hc==e&&(this.hc=null)};q.lf=function(){this.hc=null;this.b.$y(this.Ur)};q.ro=function(e){switch(e.which){case 38:e.preventDefault();this.Xg=!0;break;case 37:e.preventDefault();this.Mi=!0;break;case 39:e.preventDefault(),this.jj=!0}};q.so=function(e){switch(e.which){case 38:e.preventDefault();this.Wg=this.Xg=!1;break;case 37:e.preventDefault();this.Mi=!1;break;case 39:e.preventDefault(),
this.jj=!1}};q.hg=function(){this.Xg=this.jj=this.Mi=!1};q.Qh=function(){return 0>this.gc?-1:1};q.dr=function(){var e=null,h=null,g,a;g=this.j.x;a=this.j.y;this.j.x+=this.eb;this.j.y+=this.fb;this.j.G();if(this.hc&&this.b.Hc(this.j,this.hc))return this.j.x=g,this.j.y=a,this.j.G(),this.hc;(e=this.b.Jb(this.j))||0!==this.Fg||(h=this.b.tf(this.j,!0));this.j.x=g;this.j.y=a;this.j.G();if(e){if(this.b.Hc(this.j,e))return null;this.tk=!1;return e}if(h&&h.length){a=e=0;for(g=h.length;e<g;e++)h[a]=h[e],this.b.Hc(this.j,
h[e])||a++;if(1<=a)return this.tk=!0,h[0]}return null};q.Qa=function(){};q.ys=function(){var e=this.b.$e(this.j),h,g,a,c,f,d,b,k,m;this.Xg||this.Fl||(this.Wg=!1);var q=this.Mi||this.bp;a=this.jj||this.cp;var r=(c=this.Xg||this.Fl)&&!this.Wg;this.Fl=this.cp=this.bp=!1;if(this.enabled){this.Bn&&(r=c=a=q=!1);c||(this.ng=0);k=this.hc;m=!1;this.sk&&((this.b.Jb(this.j)||this.b.tf(this.j))&&this.b.Sc(this.j,-this.eb,-this.fb,4,!0),this.sk=!1);!k||0!==this.J||k.y===this.Tf&&k.x===this.Sf||(h=k.x-this.Sf,
g=k.y-this.Tf,this.j.x+=h,this.j.y+=g,this.j.G(),this.Sf=k.x,this.Tf=k.y,m=!0,this.b.Jb(this.j)&&this.b.Sc(this.j,-h,-g,2.5*Math.sqrt(h*h+g*g)));var A=this.dr();if(g=this.b.Jb(this.j))if(this.j.Z.inputPredicted)this.b.Sc(this.j,-this.eb,-this.fb,10,!1);else if(this.b.Ds(this.j,Math.max(this.j.width,this.j.height)/2))this.b.nh(this.j,g);else return;A?(this.Rh=this.$h=!1,0<this.J&&(this.Ih||(this.b.Go(this.j,-this.eb,-this.fb,A),this.Ih=!0),this.J=0),k!=A)?(this.hc=A,this.Sf=A.x,this.Tf=A.y,this.b.nh(this.j,
A)):m&&(g=this.b.Jb(this.j))&&(this.b.nh(this.j,g),0!==h&&(0<h?this.b.Sc(this.j,-this.ig,-this.jg):this.b.Sc(this.j,this.ig,this.jg)),this.b.Sc(this.j,-this.eb,-this.fb)):c||(this.Rh=!0);if(A&&r||!A&&this.Um&&c&&this.Rh&&!this.$h)k=this.j.x,m=this.j.y,this.j.x-=this.eb,this.j.y-=this.fb,this.j.G(),this.b.Jb(this.j)?r=!1:(this.ng=this.Pn,this.b.trigger(Fc.prototype.m.Cu,this.j),this.pd=2,this.J=-this.Gi,r=!0,A?this.Wg=!0:this.$h=!0),this.j.x=k,this.j.y=m,this.j.G();A||(c&&0<this.ng?(this.J=-this.Gi,
this.ng-=e):(this.hc=null,this.J+=this.gc*e,this.J>this.$k&&(this.J=this.$k)),r&&(this.Wg=!0));this.Ih=!!A;q==a&&(0>this.F?(this.F+=this.Dg*e,0<this.F&&(this.F=0)):0<this.F&&(this.F-=this.Dg*e,0>this.F&&(this.F=0)));q&&!a&&(this.F=0<this.F?this.F-(this.md+this.Dg)*e:this.F-this.md*e);a&&!q&&(this.F=0>this.F?this.F+(this.md+this.Dg)*e:this.F+this.md*e);this.F>this.eh?this.F=this.eh:this.F<-this.eh&&(this.F=-this.eh);q=!1;0!==this.F&&(k=this.j.x,m=this.j.y,h=this.F*e*this.ig,g=this.F*e*this.jg,this.j.x+=
this.ig*(1<this.F?1:-1)-this.eb,this.j.y+=this.jg*(1<this.F?1:-1)-this.fb,this.j.G(),c=!1,f=this.b.Jb(this.j),this.j.x=k+h,this.j.y=m+g,this.j.G(),a=this.b.Jb(this.j),!a&&A&&(a=this.b.tf(this.j))&&(this.j.x=k,this.j.y=m,this.j.G(),this.b.Hc(this.j,a)?(a=null,c=!1):c=!0,this.j.x=k+h,this.j.y=m+g,this.j.G()),a?(h=Math.abs(this.F*e)+2,f||!this.b.Sc(this.j,-this.eb,-this.fb,h,c,a))?(this.b.nh(this.j,a),h=Math.max(Math.abs(this.F*e*2.5),30),this.b.Sc(this.j,this.ig*(0>this.F?1:-1),this.jg*(0>this.F?1:
-1),h,!1)?!A||c||this.tk||(k=this.j.x,m=this.j.y,this.j.x+=this.eb,this.j.y+=this.fb,this.b.Jb(this.j)?this.b.Sc(this.j,-this.eb,-this.fb,3,!1)||(this.j.x=k,this.j.y=m,this.j.G()):(this.j.x=k,this.j.y=m,this.j.G())):(this.j.x=k,this.j.y=m,this.j.G()),c||(this.F=0)):!f&&!r&&Math.abs(this.J)<Math.abs(this.Gi/4)&&(this.J=0,A||(q=!0)):(k=this.dr(),A&&!k?(g=Math.ceil(Math.abs(this.F*e))+2,k=this.j.x,m=this.j.y,this.j.x+=this.eb*g,this.j.y+=this.fb*g,this.j.G(),this.b.Jb(this.j)||this.b.tf(this.j)?this.b.Sc(this.j,
-this.eb,-this.fb,g+2,!0):(this.j.x=k,this.j.y=m,this.j.G())):k&&0===this.J&&this.b.Go(this.j,-this.eb,-this.fb,k)));if(0!==this.J){k=this.j.x;m=this.j.y;this.j.x+=this.J*e*this.eb;this.j.y+=this.J*e*this.fb;h=this.j.x;a=this.j.y;this.j.G();g=this.b.Jb(this.j);c=!1;if(!g&&0<this.J&&!A){if((c=0<this.Fg?null:this.b.tf(this.j,!0))&&c.length){if(this.Jh){this.j.x=k;this.j.y=m;this.j.G();b=f=0;for(d=c.length;f<d;f++)c[b]=c[f],this.b.Hc(this.j,c[f])||b++;c.length=b;this.j.x=h;this.j.y=a;this.j.G()}1<=c.length&&
(g=c[0])}c=!!g}g&&(this.b.nh(this.j,g),this.ng=0,h=c?Math.abs(this.J*e*2.5+10):Math.max(Math.abs(this.J*e*2.5+10),30),this.b.Sc(this.j,this.eb*(0>this.J?1:-1),this.fb*(0>this.J?1:-1),h,c,g)?(this.hc=g,this.Sf=g.x,this.Tf=g.y,(this.tk=c)&&(q=!0),this.J=0):(this.j.x=k,this.j.y=m,this.j.G(),this.Ih=!0,c||(this.J=0)))}3!==this.pd&&0<this.J&&!A&&(this.b.trigger(Fc.prototype.m.xu,this.j),this.pd=3);if(A||q)3===this.pd||q||r&&0===this.J?(this.b.trigger(Fc.prototype.m.Fu,this.j),this.pd=0===this.F&&0===this.J?
0:1):(0!==this.pd&&0===this.F&&0===this.J&&(this.b.trigger(Fc.prototype.m.Pu,this.j),this.pd=0),1===this.pd||0===this.F&&0===this.J||r||(this.b.trigger(Fc.prototype.m.Iu,this.j),this.pd=1));0<this.Fg&&this.Fg--;this.Jh=this.b.tf(this.j)}};h.prototype.Cu=function(){return!0};h.prototype.xu=function(){return!0};h.prototype.Pu=function(){return!0};h.prototype.Iu=function(){return!0};h.prototype.Fu=function(){return!0};e.m=new h;r.prototype.Up=function(e){this.wk!==e&&(this.gc=e,this.qp(),this.b.Jb(this.j)&&
(this.b.Sc(this.j,this.eb,this.fb,10),this.j.x+=2*this.eb,this.j.y+=2*this.fb,this.j.G()),this.hc=null)};r.prototype.pv=function(e){this.J=e};r.prototype.pm=function(e){this.enabled!==(1===e)&&(this.enabled=1===e,this.enabled||(this.hc=null))};e.C=new r;e.P=new function(){}})();function Hc(h){this.b=h}
(function(){function h(){}var r=Hc.prototype;r.T=function(e,a){this.behavior=e;this.kf=a;this.b=e.b};r.T.prototype.I=function(){};r.N=function(e,a){this.type=e;this.behavior=e.behavior;this.j=a;this.b=e.b;this.hb=0};var e=r.N.prototype,q=2*Math.PI,t=Math.PI/2,n=3*Math.PI/2;e.I=function(){this.Sb=1===this.A[0];this.Wi=this.A[1];this.wp=this.A[2];this.ze=this.A[3];this.ze+=Math.random()*this.A[4];0===this.ze?this.hb=0:(this.hb=this.A[5]/this.ze*q,this.hb+=Math.random()*this.A[6]/this.ze*q);this.sc=
this.A[7];this.sc+=Math.random()*this.A[8];this.gj=this.Mf=this.ua=0;this.init()};e.Va=function(){return{i:this.hb,a:this.Sb,mv:this.Wi,w:this.wp,p:this.ze,mag:this.sc,iv:this.ua,iv2:this.Mf,r:this.gj,lkv:this.Dc,lkv2:this.Ii}};e.jb=function(e){this.hb=e.i;this.Sb=e.a;this.Wi=e.mv;this.wp=e.w;this.ze=e.p;this.sc=e.mag;this.ua=e.iv;this.Mf=e.iv2||0;this.gj=e.r;this.Dc=e.lkv;this.Ii=e.lkv2||0};e.init=function(){switch(this.Wi){case 0:this.ua=this.j.x;break;case 1:this.ua=this.j.y;break;case 2:this.ua=
this.j.width;this.gj=this.j.height/this.j.width;break;case 3:this.ua=this.j.width;break;case 4:this.ua=this.j.height;break;case 5:this.ua=this.j.n;this.sc=O(this.sc);break;case 6:this.ua=this.j.opacity;break;case 7:this.ua=0;break;case 8:this.ua=this.j.x,this.Mf=this.j.y}this.Dc=this.ua;this.Ii=this.Mf};e.Je=function(e){e=e%q;switch(this.wp){case 0:return Math.sin(e);case 1:return e<=t?e/t:e<=n?1-2*(e-t)/Math.PI:(e-n)/t-1;case 2:return 2*e/q-1;case 3:return-2*e/q+1;case 4:return e<Math.PI?-1:1}return 0};
e.Qa=function(){var e=this.b.$e(this.j);if(this.Sb&&0!==e){0===this.ze?this.hb=0:(this.hb+=e/this.ze*q,this.hb=this.hb%q);switch(this.Wi){case 0:this.j.x!==this.Dc&&(this.ua+=this.j.x-this.Dc);this.j.x=this.ua+this.Je(this.hb)*this.sc;this.Dc=this.j.x;break;case 1:this.j.y!==this.Dc&&(this.ua+=this.j.y-this.Dc);this.j.y=this.ua+this.Je(this.hb)*this.sc;this.Dc=this.j.y;break;case 2:this.j.width=this.ua+this.Je(this.hb)*this.sc;this.j.height=this.j.width*this.gj;break;case 3:this.j.width=this.ua+this.Je(this.hb)*
this.sc;break;case 4:this.j.height=this.ua+this.Je(this.hb)*this.sc;break;case 5:this.j.n!==this.Dc&&(this.ua=Ja(this.ua+(this.j.n-this.Dc)));this.j.n=Ja(this.ua+this.Je(this.hb)*this.sc);this.Dc=this.j.n;break;case 6:this.j.opacity=this.ua+this.Je(this.hb)*this.sc/100;0>this.j.opacity?this.j.opacity=0:1<this.j.opacity&&(this.j.opacity=1);break;case 8:this.j.x!==this.Dc&&(this.ua+=this.j.x-this.Dc),this.j.y!==this.Ii&&(this.Mf+=this.j.y-this.Ii),this.j.x=this.ua+Math.cos(this.j.n)*this.Je(this.hb)*
this.sc,this.j.y=this.Mf+Math.sin(this.j.n)*this.Je(this.hb)*this.sc,this.Dc=this.j.x,this.Ii=this.j.y}this.j.G()}};e.ds=function(e,a){switch(this.Wi){case 2:this.ua*=a.width/e.width;this.gj=a.height/a.width;break;case 3:this.ua*=a.width/e.width;break;case 4:this.ua*=a.height/e.height}};r.m=new function(){};h.prototype.hv=function(e){this.hb=e*q%q};r.C=new h;r.P=new function(){}})();function Ic(h){this.b=h}
(function(){function h(){}function r(){}var e=Ic.prototype;e.T=function(e,h){this.behavior=e;this.kf=h;this.b=e.b};e.T.prototype.I=function(){};e.N=function(e,h){this.type=e;this.behavior=e.behavior;this.j=h;this.b=e.b};var q=e.N.prototype;q.I=function(){this.$b={}};q.lf=function(){Xa(this.$b)};q.Va=function(){var e={},h,g;for(h in this.$b)this.$b.hasOwnProperty(h)&&(g=this.$b[h],e[h]={c:g.current.S,t:g.total.S,d:g.duration,r:g.Ko});return e};q.jb=function(e){this.$b={};for(var h in e)e.hasOwnProperty(h)&&
(this.$b[h]={current:new bb,total:new bb,duration:e[h].d,Ko:e[h].r},this.$b[h].current.S=e[h].c,this.$b[h].total.S=e[h].t)};q.Qa=function(){var e=this.b.$e(this.j),h,g;for(h in this.$b)this.$b.hasOwnProperty(h)&&(g=this.$b[h],g.current.add(e),g.total.add(e))};q.Ol=function(){var e,h;for(e in this.$b)this.$b.hasOwnProperty(e)&&(h=this.$b[e],h.current.S>=h.duration&&(h.Ko?h.current.S-=h.duration:delete this.$b[e]))};h.prototype.Su=function(e){e=e.toLowerCase();return(e=this.$b[e])?e.current.S>=e.duration:
!1};e.m=new h;r.prototype.vv=function(e,h,g){this.$b[g.toLowerCase()]={current:new bb,total:new bb,duration:e,Ko:1===h}};e.C=new r;e.P=new function(){}})();
function nc(){return[tc,pc,qc,Z,oc,zc,rc,sc,W,uc,vc,wc,xc,yc,Ic,Dc,Cc,Hc,Ac,Bc,Fc,Ec,U.prototype.m.Lp,U.prototype.C.Yu,Hc.prototype.C.hv,U.prototype.P.random,W.prototype.C.av,U.prototype.P.qq,U.prototype.m.Bp,W.prototype.m.Rt,W.prototype.P.$t,oc.prototype.C.CallFunction,W.prototype.P.Ev,W.prototype.P.tm,U.prototype.m.Vt,Bc.prototype.C.Zu,W.prototype.C.sv,U.prototype.P.round,oc.prototype.m.Lj,oc.prototype.m.Ot,W.prototype.m.om,oc.prototype.P.Vu,U.prototype.P.Ny,W.prototype.m.Cp,W.prototype.C.$u,Ic.prototype.C.vv,
Ic.prototype.m.Su,W.prototype.m.Mt,U.prototype.C.ov,U.prototype.m.Pt,W.prototype.C.bv,U.prototype.m.Ap,W.prototype.m.cu,W.prototype.m.au,U.prototype.C.Fv,U.prototype.m.Lt,U.prototype.P.xy,qc.prototype.C.wv,uc.prototype.C.lv,U.prototype.P.wz,yc.prototype.P.zv,uc.prototype.m.om,uc.prototype.C.Gt,U.prototype.P.Fy,U.prototype.P["int"],xc.prototype.P.ou,uc.prototype.C.zp,W.prototype.m.Nt,W.prototype.C.zp,xc.prototype.m.nu,xc.prototype.C.yv,uc.prototype.C.qm,wc.prototype.m.mm,qc.prototype.C.Play,sc.prototype.m.km,
uc.prototype.m.Lh,Dc.prototype.C.Wt,Dc.prototype.m.Ip,wc.prototype.m.nm,wc.prototype.m.hu,sc.prototype.m.Ep,sc.prototype.m.fu,Z.prototype.C.Yt,U.prototype.C.gv,W.prototype.C.rv,U.prototype.m.Dv,W.prototype.C.qm,W.prototype.C.qv,qc.prototype.m.gu,U.prototype.C.Xt,U.prototype.C.nv,U.prototype.C.Tt,W.prototype.P.ku,W.prototype.P.rm,Z.prototype.m.Ij,Z.prototype.m.jm,Z.prototype.m.Rp,Z.prototype.C.Ht,Z.prototype.m.Pp,W.prototype.m.Dp,uc.prototype.m.Hp,uc.prototype.P.St,W.prototype.C.dv,U.prototype.m.eu,
W.prototype.C.Bv,W.prototype.m.Qt,U.prototype.P.yy,U.prototype.P.We,U.prototype.m.Ut,W.prototype.C.Dt,U.prototype.m.Wu,Bc.prototype.C.Up,Fc.prototype.C.pm,Fc.prototype.C.pv,W.prototype.C.jv,Bc.prototype.C.kv,tc.prototype.m.om,tc.prototype.C.qm,tc.prototype.C.cv,W.prototype.C.uv,U.prototype.C.Et,W.prototype.m.Lh,W.prototype.C.pu,W.prototype.m.su,W.prototype.C.Av,Ec.prototype.m.Zt,U.prototype.P.n,pc.prototype.C.Xu,pc.prototype.m.Jj,yc.prototype.C.lu,pc.prototype.P.ju,W.prototype.C.xv]};
