// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var aa,ba,fa,ha,ia,ka,la,x,ma,na,oa,pa,qa,sa,L,ta,ua,va,wa,xa,za,Aa,R,Ba,Da,Ea,Fa,Ga,T,Ha,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ec,fc={},gc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});
(function(){function e(a,d,h,c){this.set(a,d,h,c)}function p(){this.$b=this.Zb=this.cc=this.ac=this.qc=this.pc=this.Gb=this.Fb=0}function m(a,d,h,c){a<d?h<c?(D=a<h?a:h,K=d>c?d:c):(D=a<c?a:c,K=d>h?d:h):h<c?(D=d<h?d:h,K=a>c?a:c):(D=d<c?d:c,K=a>h?a:h)}function q(){this.items=this.Ua=null;this.ai=0;ca&&(this.Ua=new Set);this.lh=[];this.Le=!0}function n(a){O[S++]=a}function t(){this.M=this.nl=this.y=this.Pl=0}function b(a){this.Ya=[];this.hj=this.jj=this.kj=this.ij=0;this.Ki(a)}function a(a,d){this.Tl=
a;this.Sl=d;this.cells={}}function f(a,d){this.Tl=a;this.Sl=d;this.cells={}}function g(a,d,h){var c;return B.length?(c=B.pop(),c.Jm=a,c.x=d,c.y=h,c):new aa(a,d,h)}function d(a,d,h){this.Jm=a;this.x=d;this.y=h;this.rb=new ba}function c(a,d,h){var c;return A.length?(c=A.pop(),c.Jm=a,c.x=d,c.y=h,c):new fa(a,d,h)}function w(a,d,h){this.Jm=a;this.x=d;this.y=h;this.rb=[];this.Hg=!0;this.Td=new ba;this.ph=!1}function k(a,d){return a.Fd-d.Fd}ha=function(a){window.console&&window.console.log&&window.console.log(a)};
ia=function(a){window.console&&window.console.error&&window.console.error(a)};ka=function(a){return"undefined"===typeof a};la=function(a){return"number"===typeof a};x=function(a){return"string"===typeof a};ma=function(a){return 0<a&&0===(a-1&a)};na=function(a){--a;for(var d=1;32>d;d<<=1)a=a|a>>d;return a+1};oa=function(a){return 0>a?-a:a};pa=function(a,d){return a>d?a:d};qa=function(a,d){return a<d?a:d};sa=Math.PI;L=function(a){return 0<=a?a|0:(a|0)-1};ta=function(a){var d=a|0;return d===a?d:d+1};
ua=function(a,d,h,c,f,l,g,k){var b,r,y,z;a<h?(r=a,b=h):(r=h,b=a);f<g?(z=f,y=g):(z=g,y=f);if(b<z||r>y)return!1;d<c?(r=d,b=c):(r=c,b=d);l<k?(z=l,y=k):(z=k,y=l);if(b<z||r>y)return!1;b=f-a+g-h;r=l-d+k-c;a=h-a;d=c-d;f=g-f;l=k-l;k=oa(d*f-l*a);return oa(f*r-l*b)>k?!1:oa(a*r-d*b)<=k};e.prototype.set=function(a,d,h,c){this.left=a;this.top=d;this.right=h;this.bottom=c};e.prototype.vh=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};e.prototype.width=function(){return this.right-
this.left};e.prototype.height=function(){return this.bottom-this.top};e.prototype.offset=function(a,d){this.left+=a;this.top+=d;this.right+=a;this.bottom+=d;return this};e.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)};e.prototype.Ym=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};e.prototype.Zm=function(a,d,h){return!(a.right+
d<this.left||a.bottom+h<this.top||a.left+d>this.right||a.top+h>this.bottom)};e.prototype.ob=function(a,d){return a>=this.left&&a<=this.right&&d>=this.top&&d<=this.bottom};e.prototype.Ah=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};va=e;p.prototype.xe=function(a){this.Fb=a.left;this.Gb=a.top;this.pc=a.right;this.qc=a.top;this.ac=a.right;this.cc=a.bottom;this.Zb=a.left;this.$b=a.bottom};p.prototype.ks=function(a,d){if(0===d)this.xe(a);else{var h=
Math.sin(d),c=Math.cos(d),f=a.left*h,l=a.top*h,g=a.right*h,h=a.bottom*h,k=a.left*c,b=a.top*c,r=a.right*c,c=a.bottom*c;this.Fb=k-l;this.Gb=b+f;this.pc=r-l;this.qc=b+g;this.ac=r-h;this.cc=c+g;this.Zb=k-h;this.$b=c+f}};p.prototype.offset=function(a,d){this.Fb+=a;this.Gb+=d;this.pc+=a;this.qc+=d;this.ac+=a;this.cc+=d;this.Zb+=a;this.$b+=d;return this};var D=0,K=0;p.prototype.Ep=function(a){m(this.Fb,this.pc,this.ac,this.Zb);a.left=D;a.right=K;m(this.Gb,this.qc,this.cc,this.$b);a.top=D;a.bottom=K};p.prototype.ob=
function(a,d){var h=this.Fb,c=this.Gb,f=this.pc-h,l=this.qc-c,g=this.ac-h,k=this.cc-c,b=a-h,r=d-c,y=f*f+l*l,z=f*g+l*k,l=f*b+l*r,w=g*g+k*k,e=g*b+k*r,v=1/(y*w-z*z),f=(w*l-z*e)*v,y=(y*e-z*l)*v;if(0<=f&&0<y&&1>f+y)return!0;f=this.Zb-h;l=this.$b-c;y=f*f+l*l;z=f*g+l*k;l=f*b+l*r;v=1/(y*w-z*z);f=(w*l-z*e)*v;y=(y*e-z*l)*v;return 0<=f&&0<y&&1>f+y};p.prototype.Tc=function(a,d){if(d)switch(a){case 0:return this.Fb;case 1:return this.pc;case 2:return this.ac;case 3:return this.Zb;case 4:return this.Fb;default:return this.Fb}else switch(a){case 0:return this.Gb;
case 1:return this.qc;case 2:return this.cc;case 3:return this.$b;case 4:return this.Gb;default:return this.Gb}};p.prototype.ir=function(){return(this.Fb+this.pc+this.ac+this.Zb)/4};p.prototype.jr=function(){return(this.Gb+this.qc+this.cc+this.$b)/4};p.prototype.Rh=function(a,d,h,c){if(this.ob(a,d)||this.ob(h,c))return!0;var f,l,g,k,b;for(b=0;4>b;b++)if(f=this.Tc(b,!0),l=this.Tc(b,!1),g=this.Tc(b+1,!0),k=this.Tc(b+1,!1),ua(a,d,h,c,f,l,g,k))return!0;return!1};p.prototype.Xm=function(a){var d=a.ir(),
h=a.jr();if(this.ob(d,h))return!0;d=this.ir();h=this.jr();if(a.ob(d,h))return!0;var c,f,l,g,k,b,r,y;for(r=0;4>r;r++)for(y=0;4>y;y++)if(d=this.Tc(r,!0),h=this.Tc(r,!1),c=this.Tc(r+1,!0),f=this.Tc(r+1,!1),l=a.Tc(y,!0),g=a.Tc(y,!1),k=a.Tc(y+1,!0),b=a.Tc(y+1,!1),ua(d,h,c,f,l,g,k,b))return!0;return!1};wa=p;xa=function(a,d){for(var h in d)d.hasOwnProperty(h)&&(a[h]=d[h]);return a};za=function(a,d){var h,c;d=L(d);if(!(0>d||d>=a.length)){h=d;for(c=a.length-1;h<c;h++)a[h]=a[h+1];Aa(a,c)}};Aa=function(a,d){a.length=
d};R=function(a){Aa(a,0)};Ba=function(a,d){R(a);var h,c;h=0;for(c=d.length;h<c;++h)a[h]=d[h]};Da=function(a,d){a.push.apply(a,d)};Ea=function(a,d){var h,c;h=0;for(c=a.length;h<c;++h)if(a[h]===d)return h;return-1};Fa=function(a,d){var h=Ea(a,d);-1!==h&&za(a,h)};Ga=function(a,d,h){return a<d?d:a>h?h:a};T=function(a){return a/(180/sa)};Ha=function(a){return 180/sa*a};Ja=function(a){a%=360;0>a&&(a+=360);return a};Ka=function(a){a%=2*sa;0>a&&(a+=2*sa);return a};La=function(a){return Ja(Ha(a))};Ma=function(a){return Ka(T(a))};
Na=function(a,d,h,c){return Math.atan2(c-d,h-a)};Oa=function(a,d){if(a===d)return 0;var h=Math.sin(a),c=Math.cos(a),f=Math.sin(d),l=Math.cos(d),h=h*f+c*l;return 1<=h?0:-1>=h?sa:Math.acos(h)};Pa=function(a,d,h){var c=Math.sin(a),f=Math.cos(a),l=Math.sin(d),g=Math.cos(d);return Math.acos(c*l+f*g)>h?0<f*l-c*g?Ka(a+h):Ka(a-h):Ka(d)};Qa=function(a,d){var h=Math.sin(a),c=Math.cos(a),f=Math.sin(d),l=Math.cos(d);return 0>=c*f-h*l};Ra=function(a,d,h,c,f,l){if(0===h)return l?a:d;var g=Math.sin(h);h=Math.cos(h);
a-=c;d-=f;var k=a*g;a=a*h-d*g;d=d*h+k;return l?a+c:d+f};Sa=function(a,d,h,c){a=h-a;d=c-d;return Math.sqrt(a*a+d*d)};Ta=function(a,d){return!a!==!d};Ua=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 u=+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()-u};var h=!1,l=h=!1,v=!1;"undefined"!==typeof window&&(h=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),h=!h&&/safari/i.test(navigator.userAgent),l=/(iphone|ipod|ipad)/i.test(navigator.userAgent),v=window.c2ejecta);var ca=!h&&!v&&!l&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;q.prototype.contains=function(a){return this.le()?!1:ca?this.Ua.has(a):
this.items&&this.items.hasOwnProperty(a)};q.prototype.add=function(a){if(ca)this.Ua.has(a)||(this.Ua.add(a),this.Le=!1);else{var d=a.toString(),h=this.items;h?h.hasOwnProperty(d)||(h[d]=a,this.ai++,this.Le=!1):(this.items={},this.items[d]=a,this.ai=1,this.Le=!1)}};q.prototype.remove=function(a){if(!this.le())if(ca)this.Ua.has(a)&&(this.Ua["delete"](a),this.Le=!1);else if(this.items){a=a.toString();var d=this.items;d.hasOwnProperty(a)&&(delete d[a],this.ai--,this.Le=!1)}};q.prototype.clear=function(){this.le()||
(ca?this.Ua.clear():(this.items=null,this.ai=0),R(this.lh),this.Le=!0)};q.prototype.le=function(){return 0===this.count()};q.prototype.count=function(){return ca?this.Ua.size:this.ai};var O=null,S=0;q.prototype.oy=function(){if(!this.Le){if(ca)R(this.lh),O=this.lh,S=0,this.Ua.forEach(n),O=null,S=0;else{var a=this.lh;R(a);var d,h=0,c=this.items;if(c)for(d in c)c.hasOwnProperty(d)&&(a[h++]=c[d])}this.Le=!0}};q.prototype.kd=function(){this.oy();return this.lh};ba=q;new ba;Za=function(a,d){ca?$a(a,d.Ua):
ab(a,d.kd())};$a=function(a,d){var h,c,f,l;c=h=0;for(f=a.length;h<f;++h)l=a[h],d.has(l)||(a[c++]=l);Aa(a,c)};ab=function(a,d){var h,c,f,l;c=h=0;for(f=a.length;h<f;++h)l=a[h],-1===Ea(d,l)&&(a[c++]=l);Aa(a,c)};t.prototype.add=function(a){this.y=a-this.Pl;this.nl=this.M+this.y;this.Pl=this.nl-this.M-this.y;this.M=this.nl};t.prototype.reset=function(){this.M=this.nl=this.y=this.Pl=0};bb=t;cb=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};b.prototype.Ki=function(a){this.Sr=a;this.cd=
a.length/2;this.Ya.length=a.length;this.nj=this.oj=-1;this.Hp=0};b.prototype.Xe=function(){return!this.Sr.length};b.prototype.pa=function(){for(var a=this.Ya,d=a[0],h=d,c=a[1],f=c,l,g,k=1,b=this.cd;k<b;++k)g=2*k,l=a[g],g=a[g+1],l<d&&(d=l),l>h&&(h=l),g<c&&(c=g),g>f&&(f=g);this.ij=d;this.jj=h;this.kj=c;this.hj=f};b.prototype.xe=function(a,d,h){this.Ya.length=8;this.cd=4;var c=this.Ya;c[0]=a.left-d;c[1]=a.top-h;c[2]=a.right-d;c[3]=a.top-h;c[4]=a.right-d;c[5]=a.bottom-h;c[6]=a.left-d;c[7]=a.bottom-h;
this.oj=a.right-a.left;this.nj=a.bottom-a.top;this.pa()};b.prototype.ag=function(a,d,h,c,f){this.Ya.length=8;this.cd=4;var l=this.Ya;l[0]=a.Fb-d;l[1]=a.Gb-h;l[2]=a.pc-d;l[3]=a.qc-h;l[4]=a.ac-d;l[5]=a.cc-h;l[6]=a.Zb-d;l[7]=a.$b-h;this.oj=c;this.nj=f;this.pa()};b.prototype.js=function(a){this.cd=a.cd;Ba(this.Ya,a.Ya);this.ij=a.ij;this.kj-a.kj;this.jj=a.jj;this.hj=a.hj};b.prototype.Ke=function(a,d,h){if(this.oj!==a||this.nj!==d||this.Hp!==h){this.oj=a;this.nj=d;this.Hp=h;var c,f,l,g,k,b=0,r=1,y=this.Sr,
z=this.Ya;0!==h&&(b=Math.sin(h),r=Math.cos(h));h=0;for(l=this.cd;h<l;h++)c=2*h,f=c+1,g=y[c]*a,k=y[f]*d,z[c]=g*r-k*b,z[f]=k*r+g*b;this.pa()}};b.prototype.ob=function(a,d){var h=this.Ya;if(a===h[0]&&d===h[1])return!0;var c,f,l,g=this.cd,k=this.ij-110,b=this.kj-101,r=this.jj+131,y=this.hj+120,z,w,e=0,v=0;for(c=0;c<g;c++)f=2*c,l=(c+1)%g*2,z=h[f],f=h[f+1],w=h[l],l=h[l+1],ua(k,b,a,d,z,f,w,l)&&e++,ua(r,y,a,d,z,f,w,l)&&v++;return 1===e%2||1===v%2};b.prototype.Gf=function(a,d,h){var c=a.Ya,f=this.Ya;if(this.ob(c[0]+
d,c[1]+h)||a.ob(f[0]-d,f[1]-h))return!0;var l,g,k,b,r,y,z,w,e,v,u,D;l=0;for(b=this.cd;l<b;l++)for(g=2*l,k=(l+1)%b*2,w=f[g],g=f[g+1],e=f[k],v=f[k+1],k=0,z=a.cd;k<z;k++)if(r=2*k,y=(k+1)%z*2,u=c[r]+d,r=c[r+1]+h,D=c[y]+d,y=c[y+1]+h,ua(w,g,e,v,u,r,D,y))return!0;return!1};b.prototype.Rh=function(a,d,h,c,f,l){var g=this.Ya;if(this.ob(h-a,c-d))return!0;var k,b,r,y,z,w;k=0;for(b=this.cd;k<b;k++)if(r=2*k,y=(k+1)%b*2,z=g[r]+a,r=g[r+1]+d,w=g[y]+a,y=g[y+1]+d,ua(h,c,f,l,z,r,w,y))return!0;return!1};db=b;a.prototype.Te=
function(a,d,h){var c;c=this.cells[a];return c?(c=c[d])?c:h?(c=g(this,a,d),this.cells[a][d]=c):null:h?(c=g(this,a,d),this.cells[a]={},this.cells[a][d]=c):null};a.prototype.Wb=function(a){return L(a/this.Tl)};a.prototype.Xb=function(a){return L(a/this.Sl)};a.prototype.update=function(a,d,h){var c,f,l,g,k;if(d)for(c=d.left,f=d.right;c<=f;++c)for(l=d.top,g=d.bottom;l<=g;++l)if(!h||!h.ob(c,l))if(k=this.Te(c,l,!1))k.remove(a),k.le()&&(k.rb.clear(),1E3>B.length&&B.push(k),this.cells[c][l]=null);if(h)for(c=
h.left,f=h.right;c<=f;++c)for(l=h.top,g=h.bottom;l<=g;++l)d&&d.ob(c,l)||this.Te(c,l,!0).Vm(a)};a.prototype.Tk=function(a,d){var h,c,f,l,g,k;h=this.Wb(a.left);f=this.Xb(a.top);c=this.Wb(a.right);for(g=this.Xb(a.bottom);h<=c;++h)for(l=f;l<=g;++l)(k=this.Te(h,l,!1))&&k.dump(d)};eb=a;f.prototype.Te=function(a,d,h){var f;f=this.cells[a];return f?(f=f[d])?f:h?(f=c(this,a,d),this.cells[a][d]=f):null:h?(f=c(this,a,d),this.cells[a]={},this.cells[a][d]=f):null};f.prototype.Wb=function(a){return L(a/this.Tl)};
f.prototype.Xb=function(a){return L(a/this.Sl)};f.prototype.update=function(a,d,h){var c,f,l,g,k;if(d)for(c=d.left,f=d.right;c<=f;++c)for(l=d.top,g=d.bottom;l<=g;++l)if(!h||!h.ob(c,l))if(k=this.Te(c,l,!1))k.remove(a),k.le()&&(k.reset(),1E3>A.length&&A.push(k),this.cells[c][l]=null);if(h)for(c=h.left,f=h.right;c<=f;++c)for(l=h.top,g=h.bottom;l<=g;++l)d&&d.ob(c,l)||this.Te(c,l,!0).Vm(a)};f.prototype.Tk=function(a,d,h,c,f){var l,g;a=this.Wb(a);d=this.Xb(d);h=this.Wb(h);for(l=this.Xb(c);a<=h;++a)for(c=
d;c<=l;++c)(g=this.Te(a,c,!1))&&g.dump(f)};f.prototype.Sw=function(a){var d,h,c,f,l;d=a.left;c=a.top;h=a.right;for(f=a.bottom;d<=h;++d)for(a=c;a<=f;++a)if(l=this.Te(d,a,!1))l.Hg=!1};fb=f;var B=[];d.prototype.le=function(){return this.rb.le()};d.prototype.Vm=function(a){this.rb.add(a)};d.prototype.remove=function(a){this.rb.remove(a)};d.prototype.dump=function(a){Da(a,this.rb.kd())};aa=d;var A=[];w.prototype.le=function(){if(!this.rb.length)return!0;if(this.rb.length>this.Td.count())return!1;this.tm();
return!0};w.prototype.Vm=function(a){this.Td.contains(a)?(this.Td.remove(a),this.Td.le()&&(this.ph=!1)):this.rb.length?(this.rb[this.rb.length-1].Nd()>a.Nd()&&(this.Hg=!1),this.rb.push(a)):(this.rb.push(a),this.Hg=!0)};w.prototype.remove=function(a){this.Td.add(a);this.ph=!0;30<=this.Td.count()&&this.tm()};w.prototype.tm=function(){this.ph&&(this.Td.count()===this.rb.length?this.reset():(Za(this.rb,this.Td),this.Td.clear(),this.ph=!1))};w.prototype.cv=function(){this.Hg||(this.rb.sort(k),this.Hg=
!0)};w.prototype.reset=function(){R(this.rb);this.Hg=!0;this.Td.clear();this.ph=!1};w.prototype.dump=function(a){this.tm();this.cv();this.rb.length&&a.push(this.rb)};fa=w;var J="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");gb=function(a){return 0>=a||11<=a?"source-over":J[a-1]};hb=function(a,d,h){if(h)switch(a.Nb=h.ONE,a.Jb=h.ONE_MINUS_SRC_ALPHA,d){case 1:a.Nb=h.ONE;a.Jb=h.ONE;break;case 3:a.Nb=h.ONE;a.Jb=h.ZERO;break;
case 4:a.Nb=h.ONE_MINUS_DST_ALPHA;a.Jb=h.ONE;break;case 5:a.Nb=h.DST_ALPHA;a.Jb=h.ZERO;break;case 6:a.Nb=h.ZERO;a.Jb=h.SRC_ALPHA;break;case 7:a.Nb=h.ONE_MINUS_DST_ALPHA;a.Jb=h.ZERO;break;case 8:a.Nb=h.ZERO;a.Jb=h.ONE_MINUS_SRC_ALPHA;break;case 9:a.Nb=h.DST_ALPHA;a.Jb=h.ONE_MINUS_SRC_ALPHA;break;case 10:a.Nb=h.ONE_MINUS_DST_ALPHA,a.Jb=h.SRC_ALPHA}};ib=function(a){return Math.round(1E6*a)/1E6};jb=function(a,d){return"string"!==typeof a||"string"!==typeof d||a.length!==d.length?!1:a===d?!0:a.toLowerCase()===
d.toLowerCase()};mb=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||jb(a.tagName,"canvas")?!0:!1}})();var hc="undefined"!==typeof Float32Array?Float32Array:Array;function ic(e){var p=new hc(3);e&&(p[0]=e[0],p[1]=e[1],p[2]=e[2]);return p}
function jc(e){var p=new hc(16);e&&(p[0]=e[0],p[1]=e[1],p[2]=e[2],p[3]=e[3],p[4]=e[4],p[5]=e[5],p[6]=e[6],p[7]=e[7],p[8]=e[8],p[9]=e[9],p[10]=e[10],p[11]=e[11],p[12]=e[12],p[13]=e[13],p[14]=e[14],p[15]=e[15]);return p}function kc(e,p){p[0]=e[0];p[1]=e[1];p[2]=e[2];p[3]=e[3];p[4]=e[4];p[5]=e[5];p[6]=e[6];p[7]=e[7];p[8]=e[8];p[9]=e[9];p[10]=e[10];p[11]=e[11];p[12]=e[12];p[13]=e[13];p[14]=e[14];p[15]=e[15]}
function lc(e,p){var m=p[0],q=p[1];p=p[2];e[0]*=m;e[1]*=m;e[2]*=m;e[3]*=m;e[4]*=q;e[5]*=q;e[6]*=q;e[7]*=q;e[8]*=p;e[9]*=p;e[10]*=p;e[11]*=p}
function mc(e,p,m,q){q||(q=jc());var n,t,b,a,f,g,d,c,w=e[0],k=e[1];e=e[2];t=m[0];b=m[1];n=m[2];m=p[1];g=p[2];w===p[0]&&k===m&&e===g?(e=q,e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1):(m=w-p[0],g=k-p[1],d=e-p[2],c=1/Math.sqrt(m*m+g*g+d*d),m*=c,g*=c,d*=c,p=b*d-n*g,n=n*m-t*d,t=t*g-b*m,(c=Math.sqrt(p*p+n*n+t*t))?(c=1/c,p*=c,n*=c,t*=c):t=n=p=0,b=g*t-d*n,a=d*p-m*t,f=m*n-g*p,(c=Math.sqrt(b*b+a*a+f*f))?(c=1/c,b*=c,a*=c,f*=c):f=a=b=0,
q[0]=p,q[1]=b,q[2]=m,q[3]=0,q[4]=n,q[5]=a,q[6]=g,q[7]=0,q[8]=t,q[9]=f,q[10]=d,q[11]=0,q[12]=-(p*w+n*k+t*e),q[13]=-(b*w+a*k+f*e),q[14]=-(m*w+g*k+d*e),q[15]=1)}
(function(){function e(a,f,g){this.me=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Fa=!!g;this.bk=this.Uh=!1;this.cm=0;this.El=1;this.Xo=1E3;this.zy=(this.Xo-this.El)/32768;this.Ql=ic([0,0,100]);this.Pq=ic([0,0,0]);this.Ks=ic([0,1,0]);this.$i=ic([1,1,1]);this.Vp=!0;this.yk=jc();this.Mc=jc();this.pn=jc();this.am=jc();this.u=a;this.version=0===this.u.getParameter(this.u.VERSION).indexOf("WebGL 2")?2:1;this.qq()}function p(a,f,g){this.u=a;this.Li=
f;this.name=g;this.Zc=a.getAttribLocation(f,"aPos");this.df=a.getAttribLocation(f,"aTex");this.Nq=a.getUniformLocation(f,"matP");this.uk=a.getUniformLocation(f,"matMV");this.Ng=a.getUniformLocation(f,"opacity");this.zn=a.getUniformLocation(f,"colorFill");this.Oq=a.getUniformLocation(f,"samplerFront");this.mi=a.getUniformLocation(f,"samplerBack");this.Mf=a.getUniformLocation(f,"destStart");this.Lf=a.getUniformLocation(f,"destEnd");this.oi=a.getUniformLocation(f,"seconds");this.Bn=a.getUniformLocation(f,
"pixelWidth");this.An=a.getUniformLocation(f,"pixelHeight");this.li=a.getUniformLocation(f,"layerScale");this.ki=a.getUniformLocation(f,"layerAngle");this.pi=a.getUniformLocation(f,"viewOrigin");this.ni=a.getUniformLocation(f,"scrollPos");this.vw=!!(this.Bn||this.An||this.oi||this.mi||this.Mf||this.Lf||this.li||this.ki||this.pi||this.ni);this.Xq=this.Yq=-999;this.xk=1;this.Tq=this.Sq=0;this.Vq=this.Rq=this.Qq=1;this.br=this.$q=this.Zq=this.dr=this.cr=this.Uq=0;this.nn=[];this.Wq=jc();this.Ng&&a.uniform1f(this.Ng,
1);this.zn&&a.uniform4f(this.zn,1,1,1,1);this.Oq&&a.uniform1i(this.Oq,0);this.mi&&a.uniform1i(this.mi,1);this.Mf&&a.uniform2f(this.Mf,0,0);this.Lf&&a.uniform2f(this.Lf,1,1);this.li&&a.uniform1f(this.li,1);this.ki&&a.uniform1f(this.ki,0);this.pi&&a.uniform2f(this.pi,0,0);this.ni&&a.uniform2f(this.ni,0,0);this.oi&&a.uniform1f(this.oi,0);this.Df=!1}function m(a,f){return a[0]===f[0]&&a[1]===f[1]&&a[2]===f[2]&&a[3]===f[3]&&a[4]===f[4]&&a[5]===f[5]&&a[6]===f[6]&&a[7]===f[7]&&a[8]===f[8]&&a[9]===f[9]&&
a[10]===f[10]&&a[11]===f[11]&&a[12]===f[12]&&a[13]===f[13]&&a[14]===f[14]&&a[15]===f[15]}function q(a,f){this.type=a;this.A=f;this.u=f.u;this.Xc=this.Ob=this.Er=0;this.V=this.hd=null;this.ls=[]}var n=jc();e.prototype.qq=function(){var a=this.u,f;this.Eq=1;this.If=this.Ze=null;this.wj=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.Fa?(a.enable(a.DEPTH_TEST),a.depthFunc(a.LEQUAL)):
a.disable(a.DEPTH_TEST);this.Gq=a.ONE;this.Cq=a.ONE_MINUS_SRC_ALPHA;this.Al=new Float32Array(8E3*(this.Fa?3:2));this.pl=new Float32Array(16E3);this.Un=new Float32Array(32E3);this.Tn=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Tn);a.bufferData(a.ARRAY_BUFFER,this.Un.byteLength,a.DYNAMIC_DRAW);this.Yi=Array(4);this.Si=Array(4);for(f=0;4>f;f++)this.Yi[f]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Yi[f]),a.bufferData(a.ARRAY_BUFFER,this.Al.byteLength,a.DYNAMIC_DRAW),this.Si[f]=a.createBuffer(),
a.bindBuffer(a.ARRAY_BUFFER,this.Si[f]),a.bufferData(a.ARRAY_BUFFER,this.pl.byteLength,a.DYNAMIC_DRAW);this.ae=0;this.zw=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.zw);for(var g=new Uint16Array(12E3),d=f=0;12E3>f;)g[f++]=d,g[f++]=d+1,g[f++]=d+2,g[f++]=d,g[f++]=d+2,g[f++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,g,a.STATIC_DRAW);this.Wg=this.gh=this.De=0;this.Ra=[];f=this.Fa?"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}";g=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}"},f,"<default>");this.Ra.push(g);g=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.Ra.push(g);g=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}"},f,"<earlyz>");this.Ra.push(g);g=this.wh({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
f,"<fill>");this.Ra.push(g);for(var c in nc)nc.hasOwnProperty(c)&&this.Ra.push(this.wh(nc[c],f,c));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.$d=[];this.Jd=0;this.Kb=this.Ab=!1;this.Qp=this.ci=-1;this.pg=null;this.qm=a.createFramebuffer();this.Cj=this.Wk=null;this.Cp=!1;this.Fa&&(this.Cj=a.createRenderbuffer());this.mf=ic([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.Vw=a[0];this.En=a[1];2048<this.En&&(this.En=2048);this.nc(0)};p.prototype.Qo=function(a){m(this.Wq,
a)||(kc(a,this.Wq),this.u.uniformMatrix4fv(this.uk,!1,a))};e.prototype.wh=function(a,f,g){var d=this.u,c=d.createShader(d.FRAGMENT_SHADER);d.shaderSource(c,a.src);d.compileShader(c);if(!d.getShaderParameter(c,d.COMPILE_STATUS))throw a=d.getShaderInfoLog(c),d.deleteShader(c),Error("error compiling fragment shader: "+a);var b=d.createShader(d.VERTEX_SHADER);d.shaderSource(b,f);d.compileShader(b);if(!d.getShaderParameter(b,d.COMPILE_STATUS))throw a=d.getShaderInfoLog(b),d.deleteShader(c),d.deleteShader(b),
Error("error compiling vertex shader: "+a);f=d.createProgram();d.attachShader(f,c);d.attachShader(f,b);d.linkProgram(f);if(!d.getProgramParameter(f,d.LINK_STATUS))throw a=d.getProgramInfoLog(f),d.deleteShader(c),d.deleteShader(b),d.deleteProgram(f),Error("error linking shader program: "+a);d.useProgram(f);d.deleteShader(c);d.deleteShader(b);c=new p(d,f,g);c.om=a.om||0;c.pm=a.pm||0;c.Pp=!!a.Pp;c.yd=!!a.yd;c.Ap=!!a.Ap;c.W=a.W||[];a=0;for(b=c.W.length;a<b;a++)c.W[a][1]=d.getUniformLocation(f,c.W[a][0]),
c.nn.push(0),d.uniform1f(c.W[a][1],0);return c};e.prototype.Fm=function(a){var f,g;f=0;for(g=this.Ra.length;f<g;f++)if(this.Ra[f].name===a)return f;return-1};e.prototype.Rr=function(a,f,g){var d=this.Mc,c=this.yk,b=[0,0,0,0,0,0,0,0];b[0]=d[0]*a+d[4]*f+d[12];b[1]=d[1]*a+d[5]*f+d[13];b[2]=d[2]*a+d[6]*f+d[14];b[3]=d[3]*a+d[7]*f+d[15];b[4]=c[0]*b[0]+c[4]*b[1]+c[8]*b[2]+c[12]*b[3];b[5]=c[1]*b[0]+c[5]*b[1]+c[9]*b[2]+c[13]*b[3];b[6]=c[2]*b[0]+c[6]*b[1]+c[10]*b[2]+c[14]*b[3];b[7]=-b[2];0!==b[7]&&(b[7]=1/
b[7],b[4]*=b[7],b[5]*=b[7],b[6]*=b[7],g[0]=(.5*b[4]+.5)*this.width,g[1]=(.5*b[5]+.5)*this.height)};e.prototype.Zf=function(a,f,g){if(this.width!==a||this.height!==f||g){this.ge();g=this.u;this.width=a;this.height=f;g.viewport(0,0,a,f);mc(this.Ql,this.Pq,this.Ks,this.Mc);if(this.Fa){var d=-a/2;a=a/2;var c=f/2;f=-f/2;var b=this.El,k=this.Xo,e=this.yk;e||(e=jc());var n=a-d,u=f-c,h=k-b;e[0]=2/n;e[1]=0;e[2]=0;e[3]=0;e[4]=0;e[5]=2/u;e[6]=0;e[7]=0;e[8]=0;e[9]=0;e[10]=-2/h;e[11]=0;e[12]=-(d+a)/n;e[13]=-(f+
c)/u;e[14]=-(k+b)/h;e[15]=1;this.$i[0]=1;this.$i[1]=1}else f=a/f,d=this.El,a=this.Xo,e=this.yk,k=d*Math.tan(45*Math.PI/360),f*=k,c=-f,b=-k,e||(e=jc()),n=f-c,u=k-b,h=a-d,e[0]=2*d/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*d/u,e[6]=0,e[7]=0,e[8]=(f+c)/n,e[9]=(k+b)/u,e[10]=-(a+d)/h,e[11]=-1,e[12]=0,e[13]=0,e[14]=-(a*d*2)/h,e[15]=0,d=[0,0],a=[0,0],this.Rr(0,0,d),this.Rr(1,1,a),this.$i[0]=1/(a[0]-d[0]),this.$i[1]=-1/(a[1]-d[1]);d=0;for(a=this.Ra.length;d<a;d++)c=this.Ra[d],c.Df=!1,c.Nq&&(g.useProgram(c.Li),
g.uniformMatrix4fv(c.Nq,!1,this.yk));g.useProgram(this.Ra[this.ci].Li);g.bindTexture(g.TEXTURE_2D,null);g.activeTexture(g.TEXTURE1);g.bindTexture(g.TEXTURE_2D,null);g.activeTexture(g.TEXTURE0);this.If=this.Ze=null;this.Cj&&(g.bindFramebuffer(g.FRAMEBUFFER,this.qm),g.bindRenderbuffer(g.RENDERBUFFER,this.Cj),g.renderbufferStorage(g.RENDERBUFFER,g.DEPTH_COMPONENT16,this.width,this.height),this.Cp||(g.framebufferRenderbuffer(g.FRAMEBUFFER,g.DEPTH_ATTACHMENT,g.RENDERBUFFER,this.Cj),this.Cp=!0),g.bindRenderbuffer(g.RENDERBUFFER,
null),g.bindFramebuffer(g.FRAMEBUFFER,null),this.Wk=null)}};e.prototype.dd=function(){mc(this.Ql,this.Pq,this.Ks,this.Mc);lc(this.Mc,this.$i)};e.prototype.translate=function(a,f){if(0!==a||0!==f){this.mf[0]=a;this.mf[1]=f;this.mf[2]=0;var g=this.Mc,d=this.mf,c=d[0],b=d[1],d=d[2];g[12]=g[0]*c+g[4]*b+g[8]*d+g[12];g[13]=g[1]*c+g[5]*b+g[9]*d+g[13];g[14]=g[2]*c+g[6]*b+g[10]*d+g[14];g[15]=g[3]*c+g[7]*b+g[11]*d+g[15]}};e.prototype.scale=function(a,f){if(1!==a||1!==f)this.mf[0]=a,this.mf[1]=f,this.mf[2]=
1,lc(this.Mc,this.mf)};e.prototype.Zk=function(a){if(0!==a){var f=this.Mc,g,d=Math.sin(a);a=Math.cos(a);var c=f[0],b=f[1],k=f[2],e=f[3],n=f[4],u=f[5],h=f[6],l=f[7];g?f!==g&&(g[8]=f[8],g[9]=f[9],g[10]=f[10],g[11]=f[11],g[12]=f[12],g[13]=f[13],g[14]=f[14],g[15]=f[15]):g=f;g[0]=c*a+n*d;g[1]=b*a+u*d;g[2]=k*a+h*d;g[3]=e*a+l*d;g[4]=c*-d+n*a;g[5]=b*-d+u*a;g[6]=k*-d+h*a;g[7]=e*-d+l*a}};e.prototype.Pc=function(){if(!m(this.pn,this.Mc)){var a=this.ic();a.type=5;a.V?kc(this.Mc,a.V):a.V=jc(this.Mc);kc(this.Mc,
this.pn);this.Kb=this.Ab=!1}};e.prototype.dl=function(a){this.Fa&&(32760<a&&(a=32760),this.cm=this.Ql[2]-this.El-a*this.zy)};q.prototype.Mu=function(){var a=this.u,f=this.A;0!==this.Ob?(a.depthMask(!0),a.colorMask(!1,!1,!1,!1),a.disable(a.BLEND),a.bindFramebuffer(a.FRAMEBUFFER,f.qm),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.clear(a.DEPTH_BUFFER_BIT),a.bindFramebuffer(a.FRAMEBUFFER,null),f.bk=!0):(a.depthMask(!1),a.colorMask(!0,!0,!0,!0),a.enable(a.BLEND),f.bk=
!1)};q.prototype.Qu=function(){this.u.bindTexture(this.u.TEXTURE_2D,this.hd)};q.prototype.Ru=function(){var a=this.u;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.hd);a.activeTexture(a.TEXTURE0)};q.prototype.Nu=function(){var a=this.Er,f=this.A;f.wj=a;f=f.pg;f.Ng&&f.xk!==a&&(f.xk=a,this.u.uniform1f(f.Ng,a))};q.prototype.Hu=function(){this.u.drawElements(this.u.TRIANGLES,this.Xc,this.u.UNSIGNED_SHORT,this.Ob)};q.prototype.Ju=function(){this.u.blendFunc(this.Ob,this.Xc)};q.prototype.Su=
function(){var a,f,b,d=this.A.Ra,c=this.A.Qp;a=0;for(f=d.length;a<f;a++)b=d[a],a===c&&b.uk?(b.Qo(this.V),b.Df=!0):b.Df=!1;kc(this.V,this.A.am)};q.prototype.Iu=function(){var a=this.u,f=this.A;this.hd?(f.If===this.hd&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),f.If=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,f.qm),f.bk||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.hd,0)):(f.Fa||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,
a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};q.prototype.Eu=function(){var a=this.u,f=this.Ob;0===f?(a.clearColor(this.V[0],this.V[1],this.V[2],this.V[3]),a.clear(a.COLOR_BUFFER_BIT)):1===f?(a.enable(a.SCISSOR_TEST),a.scissor(this.V[0],this.V[1],this.V[2],this.V[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.Lu=function(){var a=this.u;0!==this.Ob?a.enable(a.DEPTH_TEST):a.disable(a.DEPTH_TEST)};q.prototype.Gu=
function(){var a=this.u,f=this.A;f.Fa&&a.disable(a.DEPTH_TEST);var b=f.Ra[1];a.useProgram(b.Li);!b.Df&&b.uk&&(b.Qo(f.am),b.Df=!0);a.enableVertexAttribArray(b.Zc);a.bindBuffer(a.ARRAY_BUFFER,f.Tn);a.vertexAttribPointer(b.Zc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Ob/4,this.Xc);b=f.pg;a.useProgram(b.Li);0<=b.Zc&&(a.enableVertexAttribArray(b.Zc),a.bindBuffer(a.ARRAY_BUFFER,f.Yi[f.ae]),a.vertexAttribPointer(b.Zc,f.Fa?3:2,a.FLOAT,!1,0,0));0<=b.df&&(a.enableVertexAttribArray(b.df),a.bindBuffer(a.ARRAY_BUFFER,
f.Si[f.ae]),a.vertexAttribPointer(b.df,2,a.FLOAT,!1,0,0));f.Fa&&a.enable(a.DEPTH_TEST)};q.prototype.Ou=function(){var a=this.u,f=this.A,b=f.Ra[this.Ob];f.Qp=this.Ob;f.pg=b;a.useProgram(b.Li);!b.Df&&b.uk&&(b.Qo(f.am),b.Df=!0);b.Ng&&b.xk!==f.wj&&(b.xk=f.wj,a.uniform1f(b.Ng,f.wj));0<=b.Zc&&(a.enableVertexAttribArray(b.Zc),a.bindBuffer(a.ARRAY_BUFFER,f.Yi[f.ae]),a.vertexAttribPointer(b.Zc,f.Fa?3:2,a.FLOAT,!1,0,0));0<=b.df&&(a.enableVertexAttribArray(b.df),a.bindBuffer(a.ARRAY_BUFFER,f.Si[f.ae]),a.vertexAttribPointer(b.df,
2,a.FLOAT,!1,0,0))};q.prototype.Ku=function(){var a=this.V;this.u.uniform4f(this.A.pg.zn,a[0],a[1],a[2],a[3])};q.prototype.Pu=function(){var a,f,b=this.A.pg,d=this.u;a=this.V;b.mi&&this.A.If!==this.hd&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.hd),this.A.If=this.hd,d.activeTexture(d.TEXTURE0));var c=a[0];b.Bn&&c!==b.Yq&&(b.Yq=c,d.uniform1f(b.Bn,c));c=a[1];b.An&&c!==b.Xq&&(b.Xq=c,d.uniform1f(b.An,c));c=a[2];f=a[3];!b.Mf||c===b.Sq&&f===b.Tq||(b.Sq=c,b.Tq=f,d.uniform2f(b.Mf,c,f));
c=a[4];f=a[5];!b.Lf||c===b.Qq&&f===b.Rq||(b.Qq=c,b.Rq=f,d.uniform2f(b.Lf,c,f));c=a[6];b.li&&c!==b.Vq&&(b.Vq=c,d.uniform1f(b.li,c));c=a[7];b.ki&&c!==b.Uq&&(b.Uq=c,d.uniform1f(b.ki,c));c=a[8];f=a[9];!b.pi||c===b.cr&&f===b.dr||(b.cr=c,b.dr=f,d.uniform2f(b.pi,c,f));c=a[10];f=a[11];!b.ni||c===b.Zq&&f===b.$q||(b.Zq=c,b.$q=f,d.uniform2f(b.ni,c,f));c=a[12];b.oi&&c!==b.br&&(b.br=c,d.uniform1f(b.oi,c));if(b.W.length)for(a=0,f=b.W.length;a<f;a++)c=this.ls[a],c!==b.nn[a]&&(b.nn[a]=c,d.uniform1f(b.W[a][1],c))};
e.prototype.ic=function(){this.Jd===this.$d.length&&this.$d.push(new q(0,this));return this.$d[this.Jd++]};e.prototype.ge=function(){if(0!==this.Jd&&!this.u.isContextLost()){var a=this.u;0<this.Wg&&(a.bindBuffer(a.ARRAY_BUFFER,this.Tn),a.bufferSubData(a.ARRAY_BUFFER,0,this.Un.subarray(0,this.Wg)),f&&0<=f.Zc&&"<point>"===f.name&&a.vertexAttribPointer(f.Zc,4,a.FLOAT,!1,0,0));if(0<this.De){var f=this.pg;a.bindBuffer(a.ARRAY_BUFFER,this.Yi[this.ae]);a.bufferSubData(a.ARRAY_BUFFER,0,this.Al.subarray(0,
this.De));f&&0<=f.Zc&&"<point>"!==f.name&&a.vertexAttribPointer(f.Zc,this.Fa?3:2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Si[this.ae]);a.bufferSubData(a.ARRAY_BUFFER,0,this.pl.subarray(0,this.gh));f&&0<=f.df&&"<point>"!==f.name&&a.vertexAttribPointer(f.df,2,a.FLOAT,!1,0,0)}for(var b,a=0,f=this.Jd;a<f;a++)switch(b=this.$d[a],b.type){case 1:b.Hu();break;case 2:b.Qu();break;case 3:b.Nu();break;case 4:b.Ju();break;case 5:b.Su();break;case 6:b.Iu();break;case 7:b.Eu();break;case 8:b.Gu();break;
case 9:b.Ou();break;case 10:b.Pu();break;case 11:b.Ru();break;case 12:b.Ku();break;case 13:b.Lu();break;case 14:b.Mu()}this.Wg=this.gh=this.De=this.Jd=0;this.bk=this.Kb=this.Ab=!1;this.ae++;4<=this.ae&&(this.ae=0)}};e.prototype.Yf=function(a){if(a!==this.Eq&&!this.Uh){var f=this.ic();f.type=3;this.Eq=f.Er=a;this.Kb=this.Ab=!1}};e.prototype.Cc=function(a){if(a!==this.Ze){var f=this.ic();f.type=2;this.Ze=f.hd=a;this.Kb=this.Ab=!1}};e.prototype.jf=function(a,f){if((a!==this.Gq||f!==this.Cq)&&!this.Uh){var b=
this.ic();b.type=4;b.Ob=a;b.Xc=f;this.Gq=a;this.Cq=f;this.Kb=this.Ab=!1}};e.prototype.$r=function(){this.jf(this.u.ONE,this.u.ONE_MINUS_SRC_ALPHA)};e.prototype.Xg=function(a,f,b,d,c,e,k,n){15992<=this.De&&this.ge();var p=this.De,u=this.gh,h=this.Al,l=this.pl,v=this.cm;if(this.Ab)this.$d[this.Jd-1].Xc+=6;else{var m=this.ic();m.type=1;m.Ob=this.Fa?p:p/2*3;m.Xc=6;this.Ab=!0;this.Kb=!1}this.Fa?(h[p++]=a,h[p++]=f,h[p++]=v,h[p++]=b,h[p++]=d,h[p++]=v,h[p++]=c,h[p++]=e,h[p++]=v,h[p++]=k,h[p++]=n,h[p++]=v):
(h[p++]=a,h[p++]=f,h[p++]=b,h[p++]=d,h[p++]=c,h[p++]=e,h[p++]=k,h[p++]=n);l[u++]=0;l[u++]=0;l[u++]=1;l[u++]=0;l[u++]=1;l[u++]=1;l[u++]=0;l[u++]=1;this.De=p;this.gh=u};e.prototype.hf=function(a,f,b,d,c,e,k,p,n){15992<=this.De&&this.ge();var u=this.De,h=this.gh,l=this.Al,v=this.pl,m=this.cm;if(this.Ab)this.$d[this.Jd-1].Xc+=6;else{var q=this.ic();q.type=1;q.Ob=this.Fa?u:u/2*3;q.Xc=6;this.Ab=!0;this.Kb=!1}var q=n.left,t=n.top,B=n.right;n=n.bottom;this.Fa?(l[u++]=a,l[u++]=f,l[u++]=m,l[u++]=b,l[u++]=d,
l[u++]=m,l[u++]=c,l[u++]=e,l[u++]=m,l[u++]=k,l[u++]=p,l[u++]=m):(l[u++]=a,l[u++]=f,l[u++]=b,l[u++]=d,l[u++]=c,l[u++]=e,l[u++]=k,l[u++]=p);v[h++]=q;v[h++]=t;v[h++]=B;v[h++]=t;v[h++]=B;v[h++]=n;v[h++]=q;v[h++]=n;this.De=u;this.gh=h};e.prototype.ux=function(a,f,b,d){7996<=this.Wg&&this.ge();var c=this.Wg,e=this.Un;if(this.Kb)this.$d[this.Jd-1].Xc++;else{var k=this.ic();k.type=8;k.Ob=c;k.Xc=1;this.Kb=!0;this.Ab=!1}e[c++]=a;e[c++]=f;e[c++]=b;e[c++]=d;this.Wg=c};e.prototype.nc=function(a){if(this.ci!==
a){if(!this.Ra[a]){if(0===this.ci)return;a=0}var f=this.ic();f.type=9;this.ci=f.Ob=a;this.Kb=this.Ab=!1}};e.prototype.Ci=function(a){a=this.Ra[a];return!(!a.Mf&&!a.Lf)};e.prototype.Xn=function(a){a=this.Ra[a];return!!(a.Mf||a.Lf||a.Pp)};e.prototype.Wn=function(a){return this.Ra[a].yd};e.prototype.Cx=function(a){a=this.Ra[a];return 0!==a.om||0!==a.pm};e.prototype.bw=function(a){return this.Ra[a].om};e.prototype.cw=function(a){return this.Ra[a].pm};e.prototype.dw=function(a,f){return this.Ra[a].W[f][2]};
e.prototype.Qk=function(a){return this.Ra[a].Ap};e.prototype.bh=function(a,f,b,d,c,e,k,p,n,u,h,l,v,m,q){var t=this.Ra[this.ci],B,A;if(t.vw||q.length){B=this.ic();B.type=10;B.V?kc(this.Mc,B.V):B.V=jc();A=B.V;A[0]=f;A[1]=b;A[2]=d;A[3]=c;A[4]=e;A[5]=k;A[6]=p;A[7]=n;A[8]=u;A[9]=h;A[10]=l;A[11]=v;A[12]=m;t.mi?B.hd=a:B.hd=null;if(q.length)for(b=B.ls,b.length=q.length,a=0,f=q.length;a<f;a++)b[a]=q[a];this.Kb=this.Ab=!1}};e.prototype.clear=function(a,f,b,d){var c=this.ic();c.type=7;c.Ob=0;c.V||(c.V=jc());
c.V[0]=a;c.V[1]=f;c.V[2]=b;c.V[3]=d;this.Kb=this.Ab=!1};e.prototype.clearRect=function(a,f,b,d){if(!(0>b||0>d)){var c=this.ic();c.type=7;c.Ob=1;c.V||(c.V=jc());c.V[0]=a;c.V[1]=f;c.V[2]=b;c.V[3]=d;this.Kb=this.Ab=!1}};e.prototype.ds=function(a){if(this.Fa&&(a=!!a,this.Uh!==a)){var f=this.ic();f.type=14;f.Ob=a?1:0;this.Kb=this.Ab=!1;this.Uh=a;this.Wk=null;this.Uh?this.nc(2):this.nc(0)}};e.prototype.bs=function(a){if(this.Fa){var f=this.ic();f.type=13;f.Ob=a?1:0;this.Kb=this.Ab=!1}};e.prototype.dq=function(){kc(this.pn,
n);this.dd();this.Pc();var a=this.width/2,f=this.height/2;this.Xg(-a,f,a,f,a,-f,-a,-f);kc(n,this.Mc);this.Pc()};e.prototype.as=function(a,f,b){this.nc(3);var d=this.ic();d.type=12;d.V||(d.V=jc());d.V[0]=a;d.V[1]=f;d.V[2]=b;d.V[3]=1;this.Kb=this.Ab=!1};e.prototype.ay=function(){this.nc(0)};e.prototype.Lx=function(){this.nc(2)};e.prototype.Bx=function(){this.ge();this.u.flush()};var t=[],b={};e.prototype.uu=function(){R(t);b={}};e.prototype.rk=function(a,f,g,d){f=!!f;g=!!g;var c=a.src+","+f+","+g+(f?
",undefined":""),e=null;if("undefined"!==typeof a.src&&b.hasOwnProperty(c))return e=b[c],e.mj++,e;this.ge();var k=this.u,p=ma(a.width)&&ma(a.height),e=k.createTexture();k.bindTexture(k.TEXTURE_2D,e);k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var n=k.RGBA,u=k.RGBA,h=k.UNSIGNED_BYTE;if(d&&!this.me)switch(d){case 1:u=n=k.RGB;break;case 2:h=k.UNSIGNED_SHORT_4_4_4_4;break;case 3:h=k.UNSIGNED_SHORT_5_5_5_1;break;case 4:u=n=k.RGB,h=k.UNSIGNED_SHORT_5_6_5}if(1===this.version&&!p&&f){d=document.createElement("canvas");
d.width=na(a.width);d.height=na(a.height);var l=d.getContext("2d");"undefined"!==typeof l.imageSmoothingEnabled?l.imageSmoothingEnabled=g:(l.webkitImageSmoothingEnabled=g,l.mozImageSmoothingEnabled=g,l.msImageSmoothingEnabled=g);l.drawImage(a,0,0,a.width,a.height,0,0,d.width,d.height);k.texImage2D(k.TEXTURE_2D,0,n,u,h,d)}else k.texImage2D(k.TEXTURE_2D,0,n,u,h,a);f?(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_S,k.REPEAT),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_T,k.REPEAT)):(k.texParameteri(k.TEXTURE_2D,
k.TEXTURE_WRAP_S,k.CLAMP_TO_EDGE),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_T,k.CLAMP_TO_EDGE));g?(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MAG_FILTER,k.LINEAR),(p||2<=this.version)&&this.Vp?(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.LINEAR_MIPMAP_LINEAR),k.generateMipmap(k.TEXTURE_2D)):k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.LINEAR)):(k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MAG_FILTER,k.NEAREST),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.NEAREST));k.bindTexture(k.TEXTURE_2D,
null);this.Ze=null;e.rf=a.width;e.qf=a.height;e.mj=1;e.Gp=c;t.push(e);return b[c]=e};e.prototype.Fc=function(a,f,b,d){this.ge();var c=this.u;this.me&&(d=!1);var e=c.createTexture();c.bindTexture(c.TEXTURE_2D,e);c.texImage2D(c.TEXTURE_2D,0,c.RGBA,a,f,0,c.RGBA,d?c.UNSIGNED_SHORT_4_4_4_4:c.UNSIGNED_BYTE,null);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,b?c.LINEAR:c.NEAREST);
c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,b?c.LINEAR:c.NEAREST);c.bindTexture(c.TEXTURE_2D,null);this.Ze=null;e.rf=a;e.qf=f;t.push(e);return e};e.prototype.vy=function(a,f,b){this.ge();var d=this.u;this.me&&(b=!1);d.bindTexture(d.TEXTURE_2D,f);d.pixelStorei(d.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);try{d.texImage2D(d.TEXTURE_2D,0,d.RGBA,d.RGBA,b?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,a)}catch(c){console&&console.error&&console.error("Error updating WebGL texture: ",c)}d.bindTexture(d.TEXTURE_2D,
null);this.Ze=null};e.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.mj&&1<a.mj?a.mj--:(this.ge(),a===this.Ze&&(this.u.bindTexture(this.u.TEXTURE_2D,null),this.Ze=null),a===this.If&&(this.u.activeTexture(this.u.TEXTURE1),this.u.bindTexture(this.u.TEXTURE_2D,null),this.u.activeTexture(this.u.TEXTURE0),this.If=null),Fa(t,a),"undefined"!==typeof a.Gp&&delete b[a.Gp],this.u.deleteTexture(a)))};e.prototype.ed=function(a){if(a!==this.Wk){var f=this.ic();f.type=6;this.Wk=f.hd=a;this.Kb=this.Ab=
!1}};nb=e})();
(function(){function e(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var d=this;this.Kc=(this.ck=/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.Tb=!!a.dc;this.vq="undefined"!==typeof window.AppMobi||this.Tb;
this.Yc=!!window.c2cocoonjs;this.ud=!!window.c2ejecta;this.Yc&&(CocoonJS.App.onSuspended.addEventListener(function(){d.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){d.setSuspended(!1)}));this.ud&&(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.Da=this.Tb||this.Yc||this.ud;this.Wh=/edge\//i.test(navigator.userAgent);
this.me=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.Wh;this.xq=/tizen/i.test(navigator.userAgent);this.Sh=/android/i.test(navigator.userAgent)&&!this.xq&&!this.me&&!this.Wh;this.Aq=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.me&&!this.Wh;this.Mw=/ipad/i.test(navigator.userAgent);this.Jg=this.Aq||this.Mw||this.ud;this.$m=(/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent))&&
!this.me&&!this.Wh;this.uq=/amazonwebappplatform/i.test(navigator.userAgent);this.Dw=/firefox/i.test(navigator.userAgent);this.Gw=/safari/i.test(navigator.userAgent)&&!this.$m&&!this.me&&!this.Wh;this.Iw=/windows/i.test(navigator.userAgent);this.cn="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.yq=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Kw=!("undefined"===typeof window.c2isWindows8Capable||
!window.c2isWindows8Capable);this.Yh=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.kn=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.jn=!!window.cr_windows10;this.Hw=this.yq||this.Kw||this.kn||this.jn;this.Cw=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.ak=this.Sh&&!this.$m&&!this.ck&&!this.Dw&&!this.uq&&!this.Da;this.devicePixelRatio=1;this.We=this.Kc||this.ck||this.vq||this.Yc||this.Sh||this.Jg||
this.Yh||this.kn||this.Cw||this.xq||this.ud;this.We||(this.We=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));this.ek=!!(this.Jg&&this.Kc&&window.webkit);"undefined"===typeof cr_is_preview||this.cn||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.cn=!0);this.canvas=a;this.pj=document.getElementById("c2canvasdiv");this.A=this.u=null;this.Im="(unavailable)";this.Fa=
!1;this.vf=0;this.Na=null;this.Lj=!1;this.tr=this.ur=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.ontouchstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.Tb&&(window.c2runtime=this);this.cn&&(window.ondragover=function(a){a.preventDefault();return!1},window.ondrop=function(a){a.preventDefault();return!1},window.nwgui&&window.nwgui.App.clearCache&&
window.nwgui.App.clearCache());this.ak&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.I=this.width;this.H=this.height;this.uj=this.width;this.yh=this.height;this.Lg=window.innerWidth;this.Kg=window.innerHeight;this.ea=!0;this.Xh=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.q=[];this.La=[];this.wn={};this.vd=[];this.nm={};this.he=[];this.nh=[];this.tl=[];this.iu=[];this.ju=
[];this.zo=null;this.tf={};this.bn=this.Ue=!1;this.Lc=0;this.an=this.gn=!1;this.sd=[];this.Vh=!1;this.pk=this.ko="";this.hb=null;this.oe="";this.Pi=this.qs=!1;this.Kj=[];this.uf=this.Re=0;this.kr=30;this.Zl=this.qi=0;this.fg=1;this.fb=new bb;this.Ee=new bb;this.Ak=this.Pj=this.zf=this.jd=this.Kf=this.um=this.kk=0;this.Vl=null;this.hm=[];this.mm=[];this.Fj=-1;this.Cn=[[]];this.Lo=this.vk=0;this.Sk(null);this.Dh=this.or=this.xi=0;this.Qi=[];this.Io=this.Zn=-1;this.ik=!0;this.tk=0;this.dk=!1;this.ey=
0;this.mg=null;this.Lb=this.mq=!1;this.sr=new ba;this.Jn=new ba;this.Kn=new ba;this.Xf=[];this.oc=new db([]);this.Do=new db([]);this.lg=[];this.Uj={};this.Me={};this.Ie={};this.mh={};this.Dp={};this.Mq=this.ok=this.Wa=this.gb=this.Lq=this.nk=this.fa=null;this.kh=this.ln=!1;this.vm=[null,null];this.xg=0;this.rm="";this.ue={};this.Ni=this.bf=null;this.ts="";this.zk=[];this.Kx()}}function p(a,d){return 128>=d?a[3]:256>=d?a[2]:512>=d?a[1]:a[0]}function m(){try{return!!window.indexedDB}catch(a){return!1}}
function q(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function n(a,d,h,c){try{var f=indexedDB.open("_C2SaveStates");f.onupgradeneeded=q;f.onerror=c;f.onsuccess=function(f){f=f.target.result;f.onerror=c;f.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:d}).onsuccess=h}}catch(b){c(b)}}function t(a,d,h){try{var c=indexedDB.open("_C2SaveStates");c.onupgradeneeded=q;c.onerror=h;c.onsuccess=function(c){c=c.target.result;c.onerror=h;var f=c.transaction(["saves"]).objectStore("saves").get(a);
f.onsuccess=function(){f.result?d(f.result.data):d(null)}}}catch(f){h(f)}}function b(){ha("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 a(a){var d,h={};for(d in a)!a.hasOwnProperty(d)||a[d]instanceof ba||a[d]&&"undefined"!==typeof a[d].zz||"spriteCreatedDestroyCallback"!==d&&(h[d]=a[d]);return h}var f=window.requestAnimationFrame||window.mozRequestAnimationFrame||
window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;e.prototype.Kx=function(){var a=this;if(this.ek)this.Jv(function(d){a.ji(JSON.parse(d))},function(){alert("Error fetching data.js")});else{var d;this.Yh?d=new ActiveXObject("Microsoft.XMLHTTP"):d=new XMLHttpRequest;var h="data.js";if(this.yq||this.Yh||this.kn||this.jn)h="data.json";d.open("GET",h,!0);var c=!1;if(!this.Da&&"response"in d&&"responseType"in d)try{d.responseType="json",c="json"===d.responseType}catch(f){c=
!1}if(!c&&"responseType"in d)try{d.responseType="text"}catch(b){}if("overrideMimeType"in d)try{d.overrideMimeType("application/json; charset=utf-8")}catch(l){}this.Yh?d.onreadystatechange=function(){4===d.readyState&&a.ji(JSON.parse(d.responseText))}:(d.onload=function(){if(c)a.ji(d.response);else if(a.ud){var h=d.responseText,h=h.substr(h.indexOf("{"));a.ji(JSON.parse(h))}else a.ji(JSON.parse(d.responseText))},d.onerror=function(a){ia("Error requesting "+h+":");ia(a)});d.send()}};e.prototype.Aw=
function(){var a=this,d,h,c,f,b,l,k,e,g;this.Hf=(!this.Da||this.ud||this.Kc)&&this.qy&&!this.ak;0===this.ec&&this.Jg&&(this.Hf=!1);this.devicePixelRatio=this.Hf?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;"object"===typeof window.StatusBar&&window.StatusBar.hide();this.Hb();0<this.ec&&this.setSize(window.innerWidth,window.innerHeight,!0);this.canvas.addEventListener("webglcontextlost",function(d){d.preventDefault();a.$w();ha("[Construct 2] WebGL context lost");
window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.A.qq();a.A.Zf(a.A.width,a.A.height,!0);a.gb=null;a.Wa=null;a.vm[0]=null;a.vm[1]=null;a.ax();a.ea=!0;ha("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);try{this.$u&&(this.Yc||this.ud||!this.Da)&&(d={alpha:!0,depth:!1,antialias:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!0},this.Sh||(this.u=this.canvas.getContext("webgl2",d)),this.u||(this.u=this.canvas.getContext("webgl",
d)||this.canvas.getContext("experimental-webgl",d)))}catch(v){}if(this.u){if(d=this.u.getExtension("WEBGL_debug_renderer_info"))this.Im=this.u.getParameter(d.UNMASKED_RENDERER_WEBGL)+" ["+this.u.getParameter(d.UNMASKED_VENDOR_WEBGL)+"]";this.Fa&&(this.Im+=" [front-to-back enabled]");this.Da||(this.Db=document.createElement("canvas"),jQuery(this.Db).appendTo(this.canvas.parentNode),this.Db.oncontextmenu=function(){return!1},this.Db.onselectstart=function(){return!1},this.Db.width=Math.round(this.uj*
this.devicePixelRatio),this.Db.height=Math.round(this.yh*this.devicePixelRatio),jQuery(this.Db).css({width:this.uj+"px",height:this.yh+"px"}),this.Qr(),this.Sn=this.Db.getContext("2d"));this.A=new nb(this.u,this.We,this.Fa);this.A.Zf(this.canvas.width,this.canvas.height);this.A.Vp=0!==this.Tu;this.Na=null;d=0;for(h=this.q.length;d<h;d++)for(b=this.q[d],c=0,f=b.O.length;c<f;c++)k=b.O[c],k.$a=this.A.Fm(k.id),k.yd=this.A.Wn(k.$a),this.kh=this.kh||this.A.Ci(k.$a);d=0;for(h=this.vd.length;d<h;d++){e=this.vd[d];
c=0;for(f=e.O.length;c<f;c++)k=e.O[c],k.$a=this.A.Fm(k.id),k.yd=this.A.Wn(k.$a);e.Ed();c=0;for(f=e.R.length;c<f;c++){g=e.R[c];b=0;for(l=g.O.length;b<l;b++)k=g.O[b],k.$a=this.A.Fm(k.id),k.yd=this.A.Wn(k.$a),this.kh=this.kh||this.A.Ci(k.$a);g.Ed()}}}else{if(0<this.ec&&this.Tb){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Na=AppMobi.canvas.getContext("2d");try{this.Na.samplingMode=this.Ka?"smooth":"sharp",this.Na.globalScale=1,this.Na.HTML5CompatibilityMode=
!0,this.Na.imageSmoothingEnabled=this.Ka}catch(w){}0!==this.width&&0!==this.height&&(this.Na.width=this.width,this.Na.height=this.height)}this.Na||(this.Yc?(d={antialias:!!this.Ka,alpha:!0},this.Na=this.canvas.getContext("2d",d)):(d={alpha:!0},this.Na=this.canvas.getContext("2d",d)),this.cl(this.Na,this.Ka));this.Sn=this.Db=null}this.Ds=function(d){a.Ca(!1,d)};window==window.top||this.Da||this.Hw||this.Yh||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",
function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Yc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ha("Reloading for continuous preview"),this.pk="__c2_continuouspreview",this.Pi=!0),this.qx&&!this.We&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){var d=window.parent;d&&d.document.hasFocus()||a.setSuspended(!0)})));window.addEventListener("blur",function(){a.Sf()});
this.Da||(d=function(a){if(mb(a)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(d){}},"undefined"!==typeof PointerEvent?document.addEventListener("pointerdown",d):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",d):document.addEventListener("touchstart",d),document.addEventListener("mousedown",d));0===this.ec&&this.Hf&&1<this.devicePixelRatio&&this.setSize(this.jb,
this.ib,!0);this.Hs();this.rw();this.go();this.D={}};e.prototype.setSize=function(a,d,h){var c=0,f=0,b=0,l=0,l=0;if(this.Lg!==a||this.Kg!==d||h){this.Lg=a;this.Kg=d;var k=this.ec;if((b=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.dk)&&!this.Kc)||0!==this.ec||h)b&&(k=this.xg),h=this.devicePixelRatio,4<=k?(5===k&&1!==h&&(a+=1,d+=1),b=this.jb/this.ib,a/d>b?(b*=d,5===k?(l=b*h/this.jb,1<l?l=Math.floor(l):1>l&&(l=1/Math.ceil(1/l)),b=this.jb*
l/h,l=this.ib*l/h,c=(a-b)/2,f=(d-l)/2,a=b,d=l):(c=(a-b)/2,a=b)):(l=a/b,5===k?(l=l*h/this.ib,1<l?l=Math.floor(l):1>l&&(l=1/Math.ceil(1/l)),b=this.jb*l/h,l=this.ib*l/h,c=(a-b)/2,f=(d-l)/2,a=b):f=(d-l)/2,d=l)):b&&0===k&&(c=Math.floor((a-this.jb)/2),f=Math.floor((d-this.ib)/2),a=this.jb,d=this.ib),2>k&&(this.rh=h),this.uj=Math.round(a),this.yh=Math.round(d),this.width=Math.round(a*h),this.height=Math.round(d*h),this.ea=!0,this.Us?(this.I=this.width,this.H=this.height,this.Hc=!0):this.width<this.jb&&this.height<
this.ib||1===k?(this.I=this.width,this.H=this.height,this.Hc=!0):(this.I=this.jb,this.H=this.ib,this.Hc=!1,2===k?(b=this.jb/this.ib,k=this.Lg/this.Kg,k<b?this.I=this.H*k:k>b&&(this.H=this.I/k)):3===k&&(b=this.jb/this.ib,k=this.Lg/this.Kg,k>b?this.I=this.H*k:k<b&&(this.H=this.I/k))),this.pj&&!this.Da&&(jQuery(this.pj).css({width:Math.round(a)+"px",height:Math.round(d)+"px","margin-left":Math.floor(c)+"px","margin-top":Math.floor(f)+"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*h),this.canvas.height=Math.round(d*h),this.ud?(this.canvas.style.left=Math.floor(c)+"px",this.canvas.style.top=Math.floor(f)+"px",this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(d)+"px"):this.Hf&&!this.Da&&(this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(d)+"px")),this.Db&&(this.Db.width=Math.round(a*h),this.Db.height=Math.round(d*h),this.Db.style.width=this.uj+
"px",this.Db.style.height=this.yh+"px"),this.A&&this.A.Zf(Math.round(a*h),Math.round(d*h)),this.Tb&&this.Na&&(this.Na.width=Math.round(a),this.Na.height=Math.round(d)),this.Na&&this.cl(this.Na,this.Ka),this.Hs(),this.Aq&&!this.Kc&&window.scrollTo(0,0)}};e.prototype.Hs=function(){if(this.mu&&0!==this.Rn){var a="portrait";2===this.Rn&&(a="landscape");try{screen.orientation&&screen.orientation.lock?screen.orientation.lock(a).catch(function(){}):screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?
screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a)}catch(d){console&&console.warn&&console.warn("Failed to lock orientation: ",d)}}};e.prototype.$w=function(){this.A.uu();this.ln=!0;var a,d,h;a=0;for(d=this.q.length;a<d;a++)h=this.q[a],h.Bk&&h.Bk()};e.prototype.ax=function(){this.ln=!1;var a,d,h;a=0;for(d=this.q.length;a<d;a++)h=this.q[a],h.On&&h.On()};e.prototype.Qr=function(){if(!this.Da){var a=(document.mozFullScreen||
document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.dk)&&!this.Kc?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.Db).css(a)}};var g=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;e.prototype.setSuspended=function(a){var d;if(a&&!this.Xh)for(ha("[Construct 2] Suspending"),this.Xh=!0,-1!==this.Zn&&g&&g(this.Zn),-1!==
this.Io&&clearTimeout(this.Io),a=0,d=this.Qi.length;a<d;a++)this.Qi[a](!0);else if(!a&&this.Xh){ha("[Construct 2] Resuming");this.Xh=!1;this.kk=Ya();this.Kf=Ya();a=this.qi=this.Pj=0;for(d=this.Qi.length;a<d;a++)this.Qi[a](!1);this.Ca(!1)}};e.prototype.gu=function(a){this.Qi.push(a)};e.prototype.Ge=function(a){return this.zk[a]};e.prototype.ji=function(a){a&&a.project||ia("Project model unavailable");a=a.project;this.name=a[0];this.cq=a[1];this.ec=a[12];this.jb=a[10];this.ib=a[11];this.Lr=this.jb/
2;this.Mr=this.ib/2;this.Da&&!this.ud&&(4<=a[12]||0===a[12])&&(ha("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.ec=3);this.To=a[18];this.cf=a[19];if(0===this.cf){var d=new Image;d.crossOrigin="anonymous";this.es(d,"loading-logo.png");this.bf={wk:d}}else if(4===this.cf){d=new Image;d.src="";var h=new Image;h.src="";var c=new Image;c.src="";var f=new Image;f.src="";var b=new Image;b.src="";var l=new Image;l.src="";var k=new Image;
k.src="";var e=new Image;e.src="";var g=new Image;g.src="";var v=new Image;v.src="";var w=new Image;w.src="";var u=new Image;u.src="";this.bf={wk:[d,h,c,f],yx:[b,l,k,e],wy:[g,v,w,u]}}this.xi=a[21];this.zk=oc();this.Vd=new X(this);d=0;for(h=a[2].length;d<h;d++)k=a[2][d],c=this.Ge(k[0]),ob(k,c.prototype),e=new c(this),e.gl=k[1],e.Ye=k[2],e.Lw=k[5],e.lr=k[9],e.L&&e.L(),this.plugins.push(e);this.zk=oc();d=0;for(h=a[3].length;d<h;d++){k=a[3][d];b=this.Ge(k[1]);e=null;c=0;for(f=this.plugins.length;c<f;c++)if(this.plugins[c]instanceof
b){e=this.plugins[c];break}g=new e.la(e);g.name=k[0];g.F=k[2];g.Wm=k[3].slice(0);g.uy=k[3].length;g.nu=k[4];g.Ov=k[5];g.S=k[11];g.F?(g.qe=[],g.ie=this.Dh++,g.Ja=null):(g.qe=null,g.ie=-1,g.Ja=[]);g.Ij=null;g.vg=null;g.Wp=null;g.Mb=!1;g.uc=null;k[6]?(g.Fo=k[6][0],g.Go=k[6][1],g.Ho=k[6][2]):(g.Fo=null,g.Go=0,g.Ho=0);k[7]?g.tc=k[7]:g.tc=null;g.index=d;g.d=[];g.yj=[];g.Ae=[new pb(g)];g.Kd=0;g.Vc=null;g.Au=0;g.fh=!0;g.ul=qb;g.Vv=rb;g.$v=sb;g.U=tb;g.Ei=ub;g.Rk=vb;g.Vf=wb;g.Rj=xb;g.xm=yb;g.Am=Cb;g.nd=Db;
g.Bm=Eb;g.rj=new eb(this.jb,this.ib);g.ej=!0;g.fj=!1;g.D={};g.toString=Fb;g.La=[];c=0;for(f=k[8].length;c<f;c++){v=k[8][c];w=this.Ge(v[1]);u=null;b=0;for(l=this.La.length;b<l;b++)if(this.La[b]instanceof w){u=this.La[b];break}u||(u=new w(this),u.Hn=[],u.vi=new ba,u.L&&u.L(),this.La.push(u),pc&&u instanceof pc&&(this.zo=u));-1===u.Hn.indexOf(g)&&u.Hn.push(g);b=new u.la(u,g);b.name=v[0];b.S=v[2];b.L();g.La.push(b)}g.global=k[9];g.dn=k[10];g.O=[];c=0;for(f=k[12].length;c<f;c++)g.O.push({id:k[12][c][0],
name:k[12][c][1],$a:-1,yd:!1,lb:!0,index:c});g.Sz=k[13];this.To&&!g.F&&!g.dn&&e.Ye||g.L();g.name&&(this.types[g.name]=g);this.q.push(g);e.gl&&(c=new e.ba(g),c.uid=this.xi++,c.Tr=this.or++,c.Ff=0,c.Lh=Gb,c.toString=Hb,c.n=k[14],c.L(),g.d.push(c),this.ue[c.uid.toString()]=c)}d=0;for(h=a[4].length;d<h;d++)for(b=a[4][d],l=this.q[b[0]],c=1,f=b.length;c<f;c++)k=this.q[b[c]],k.Ja.push(l),l.qe.push(k);d=0;for(h=a[28].length;d<h;d++){b=a[28][d];l=[];c=0;for(f=b.length;c<f;c++)l.push(this.q[b[c]]);c=0;for(f=
l.length;c<f;c++)l[c].Mb=!0,l[c].uc=l}if(0<this.Dh)for(d=0,h=this.q.length;d<h;d++)if(k=this.q[d],!k.F&&k.Ja.length){k.Ij=Array(this.Dh);k.vg=Array(this.Dh);k.Wp=Array(this.Dh);g=[];c=u=w=v=0;for(f=k.Ja.length;c<f;c++)for(e=k.Ja[c],k.Ij[e.ie]=v,v+=e.uy,k.vg[e.ie]=w,w+=e.nu,k.Wp[e.ie]=u,u+=e.Ov,b=0,l=e.O.length;b<l;b++)g.push(xa({},e.O[b]));k.O=g.concat(k.O);c=0;for(f=k.O.length;c<f;c++)k.O[c].index=c}d=0;for(h=a[5].length;d<h;d++)k=a[5][d],c=new Ib(this,k),this.wn[c.name]=c,this.vd.push(c);d=0;for(h=
a[6].length;d<h;d++)k=a[6][d],c=new Jb(this,k),this.nm[c.name]=c,this.he.push(c);d=0;for(h=this.he.length;d<h;d++)this.he[d].Ta();d=0;for(h=this.he.length;d<h;d++)this.he[d].Po();d=0;for(h=this.tl.length;d<h;d++)this.tl[d].Ta();R(this.tl);this.ku=a[7];this.rm=a[8];this.xd=a[9];this.rh=1;this.$u=a[13];this.Ka=a[14];this.Kp=a[15];this.qy=a[17];this.Rn=a[20];this.mu=0<this.Rn;this.qx=a[22];this.Hc=this.Us=a[23];this.Tu=a[24];this.zx=a[25];this.Fa=a[27]&&!this.me;this.kl=Date.now();R(this.zk);this.Aw()};
var d=!1,c=0,w=[];e.prototype.Gx=function(a,d){function h(){c--;b.er()}var b=this;a.addEventListener("load",h);a.addEventListener("error",h);w.push([a,d]);this.er()};e.prototype.er=function(){for(var a;w.length&&100>c;)c++,a=w.shift(),this.es(a[0],a[1])};e.prototype.Ts=function(a,h){a.cocoonLazyLoad=!0;a.onerror=function(h){d=a.Fp=!0;console&&console.error&&console.error("Error loading image '"+a.src+"': ",h)};this.ud?a.src=h:a.src||("undefined"!==typeof XAPKReader?XAPKReader.get(h,function(d){a.src=
d},function(c){d=a.Fp=!0;console&&console.error&&console.error("Error extracting image '"+h+"' from expansion file: ",c)}):(a.crossOrigin="anonymous",this.Gx(a,h)));this.nh.push(a)};e.prototype.Mv=function(a){var d,h;d=0;for(h=this.nh.length;d<h;d++)if(this.nh[d].wu===a)return this.nh[d];return null};var k=0,D=!1;e.prototype.rw=function(){this.mg&&(k=this.mg.Zx(this.ku))};e.prototype.Bp=function(){var a=k,d=0,h=0,c=!0,b,f,h=0;for(b=this.nh.length;h<b;h++){f=this.nh[h];var l=f.Op;if(!l||0>=l)l=5E4;
a+=l;f.src&&(f.complete||f.loaded)&&!f.Fp?d+=l:c=!1}c&&this.zx&&this.mg&&(D||(this.mg.fy(),D=!0),h=this.mg.aw(),d+=h,h<k&&(c=!1));this.zd=0==a?1:d/a;return c};var K=!1;e.prototype.go=function(){if(this.Na||this.A){var a=this.Na||this.Sn;this.Db&&this.Qr();var h=window.innerWidth,c=window.innerHeight;this.Lg===h&&this.Kg===c||this.setSize(h,c);this.zd=0;this.Kq=-1;var b=this;if(this.Bp()&&(4!==this.cf||K))this.sw();else{c=Date.now()-this.kl;if(a){var l=this.width,k=this.height,h=this.devicePixelRatio;
if(3>this.cf&&(this.Yc||500<=c&&this.Kq!=this.zd)){a.clearRect(0,0,l,k);var c=l/2,k=k/2,l=0===this.cf&&this.bf.wk.complete,g=40*h,e=0,v=80*h,u;if(l){var w=this.bf.wk,v=w.width*h;u=w.height*h;g=v/2;e=u/2;a.drawImage(w,L(c-g),L(k-e),v,u)}1>=this.cf?(c=L(c-g)+.5,k=L(k+(e+(l?12*h:0)))+.5,a.fillStyle=d?"red":"DodgerBlue",a.fillRect(c,k,Math.floor(v*this.zd),6*h),a.strokeStyle="black",a.strokeRect(c,k,v,6*h),a.strokeStyle="white",a.strokeRect(c-1*h,k-1*h,v+2*h,8*h)):2===this.cf&&(a.font=this.ud?"12pt ArialMT":
"12pt Arial",a.fillStyle=d?"#f00":"#999",a.Rz="middle",h=Math.round(100*this.zd)+"%",l=a.measureText?a.measureText(h):null,a.fillText(h,c-(l?l.width:0)/2,k));this.Kq=this.zd}else if(4===this.cf){this.Yu(a);f?f(function(){b.go()}):setTimeout(function(){b.go()},16);return}}setTimeout(function(){b.go()},this.Yc?10:100)}}};var u=-1,h="undefined"===typeof cr_is_preview?200:0,l=!0,v=!1,ca=0,O=0,S="undefined"===typeof cr_is_preview?3E3:0,B=null,A=null,J=0;e.prototype.Yu=function(a){if(!K){for(var c=Math.ceil(this.width),
b=Math.ceil(this.height),f=this.bf.wk,k=this.bf.yx,g=this.bf.wy,e=0;4>e;++e)if(!f[e].complete||!k[e].complete||!g[e].complete)return;0===J&&(u=Date.now());var e=Date.now(),w=!1,n=a,m,D;l||v?(a.clearRect(0,0,c,b),B&&B.width===c&&B.height===b||(B=document.createElement("canvas"),B.width=c,B.height=b,A=B.getContext("2d")),n=A,w=!0,l&&1===J&&(u=Date.now())):a.globalAlpha=1;n.fillStyle="#333333";n.fillRect(0,0,c,b);256<this.yh?(m=Ga(.22*b,105,.6*c),D=.25*m,n.drawImage(p(k,m),.5*c-m/2,.2*b-D/2,m,D),D=m=
Math.min(.395*b,.95*c),n.drawImage(p(f,m),.5*c-m/2,.485*b-D/2,m,D),m=Ga(.22*b,105,.6*c),D=.25*m,n.drawImage(p(g,m),.5*c-m/2,.868*b-D/2,m,D),n.fillStyle="#3C3C3C",m=c,D=Math.max(.005*b,2),n.fillRect(0,.8*b-D/2,m,D),n.fillStyle=d?"red":"#E0FF65",m=c*this.zd,n.fillRect(.5*c-m/2,.8*b-D/2,m,D)):(D=m=.55*b,n.drawImage(p(f,m),.5*c-m/2,.45*b-D/2,m,D),n.fillStyle="#3C3C3C",m=c,D=Math.max(.005*b,2),n.fillRect(0,.85*b-D/2,m,D),n.fillStyle=d?"red":"#E0FF65",m=c*this.zd,n.fillRect(.5*c-m/2,.85*b-D/2,m,D));w&&
(l?a.globalAlpha=0===J?0:Math.min((e-u)/300,1):v&&(a.globalAlpha=Math.max(1-(e-O)/300,0)),a.drawImage(B,0,0,c,b));l&&300<=e-u&&2<=J&&(l=!1,ca=e);!l&&e-ca>=S&&!v&&1<=this.zd&&(v=!0,O=e);if(v&&e-O>=300+h||"undefined"!==typeof cr_is_preview&&1<=this.zd&&500>Date.now()-u)K=!0,v=l=!1,this.bf=A=B=null;++J}};e.prototype.sw=function(){this.Db&&(this.canvas.parentNode.removeChild(this.Db),this.Db=this.Sn=null);this.kl=Date.now();this.Kf=Ya();var a,d,h;if(this.To)for(a=0,d=this.q.length;a<d;a++)h=this.q[a],
h.F||h.dn||!h.xa.Ye||h.L();else this.ik=!1;a=0;for(d=this.vd.length;a<d;a++)this.vd[a].xu();2<=this.ec&&(a=this.jb/this.ib,d=this.width/this.height,this.rh=2!==this.ec&&d>a||2===this.ec&&d<a?this.height/this.ib:this.width/this.jb);this.cq?this.wn[this.cq].Bo():this.vd[0].Bo();this.To||(this.tk=1,this.trigger(X.prototype.j.jp,null),window.C2_RegisterSW&&window.C2_RegisterSW());navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(d=this.q.length;a<d;a++)h=this.q[a],
h.Zw&&h.Zw();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.Ca(!1);this.Tb&&AppMobi.webview.execute("onGameReady();")};e.prototype.Ca=function(a,d,h){if(this.fa){var c=Ya();if(h||!this.Xh||a){a||(f?this.Zn=f(this.Ds):this.Io=setTimeout(this.Ds,this.We?1:16));d=d||c;var b=this.ec;((h=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Kc)||this.dk)&&0<this.xg&&(b=this.xg);if(0<
b){var b=window.innerWidth,l=window.innerHeight;this.Lg===b&&this.Kg===l||this.setSize(b,l)}this.Da||(h?this.Lj||(this.Lj=!0):this.Lj?(this.Lj=!1,0===this.ec&&this.setSize(Math.round(this.ur/this.devicePixelRatio),Math.round(this.tr/this.devicePixelRatio),!0)):(this.ur=this.width,this.tr=this.height));this.ik&&(h=this.Bp(),this.tk=this.zd,h&&(this.ik=!1,this.zd=1,this.trigger(X.prototype.j.jp,null),window.C2_RegisterSW&&window.C2_RegisterSW()));this.Rw(d);!this.ea&&!this.Yc||this.ln||this.Pi||a||
(this.ea=!1,this.A?this.Rb():this.Gc(),this.Ni&&(this.canvas&&this.canvas.toDataURL&&(this.ts=this.canvas.toDataURL(this.Ni[0],this.Ni[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.ts),this.trigger(X.prototype.j.ut,null)),this.Ni=null));this.Ez||(this.jd++,this.zf++,this.Pj++);this.qi+=Ya()-c}}};e.prototype.Rw=function(a){var d,h,c,b,f,l,k,g;1E3<=a-this.Kf&&(this.Kf+=1E3,1E3<=a-this.Kf&&(this.Kf=a),this.um=this.Pj,this.Pj=0,this.Zl=this.qi,this.qi=0);d=0;0!==this.kk&&(d=a-this.kk,0>d&&(d=0),
this.uf=d/=1E3,.5<this.uf?this.uf=0:this.uf>1/this.kr&&(this.uf=1/this.kr));this.kk=a;this.Re=this.uf*this.fg;this.fb.add(this.Re);this.Ee.add(d);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.dk)&&!this.Kc;2<=this.ec||a&&0<this.xg?(d=this.jb/this.ib,h=this.width/this.height,c=this.ec,a&&0<this.xg&&(c=this.xg),this.rh=2!==c&&h>d||2===c&&h<d?this.height/this.ib:this.width/this.jb,this.fa&&(this.fa.lo(this.fa.scrollX),this.fa.no(this.fa.scrollY))):
this.rh=this.Hf?this.devicePixelRatio:1;this.Hb();this.Lc++;this.Vd.Px();this.Lc--;this.Hb();this.Lc++;h=this.sr.kd();a=0;for(d=h.length;a<d;a++)h[a].Mz();a=0;for(d=this.q.length;a<d;a++)if(l=this.q[a],!l.F&&(l.La.length||l.Ja.length))for(h=0,c=l.d.length;h<c;h++)for(k=l.d[h],b=0,f=k.G.length;b<f;b++)k.G[b].Ca();a=0;for(d=this.q.length;a<d;a++)if(l=this.q[a],!l.F&&(l.La.length||l.Ja.length))for(h=0,c=l.d.length;h<c;h++)for(k=l.d[h],b=0,f=k.G.length;b<f;b++)g=k.G[b],g.xx&&g.xx();h=this.Jn.kd();a=0;
for(d=h.length;a<d;a++)h[a].Ca();this.Lc--;this.uw();for(a=0;this.Vl&&10>a++;)this.Tp(this.Vl);a=0;for(d=this.he.length;a<d;a++)this.he[a].Lm=!1;this.fa.xf&&this.fa.xf.Za();R(this.Xf);this.Lc++;a=0;for(d=this.q.length;a<d;a++)if(l=this.q[a],!l.F&&(l.La.length||l.Ja.length))for(h=0,c=l.d.length;h<c;h++)for(k=l.d[h],b=0,f=k.G.length;b<f;b++)g=k.G[b],g.hh&&g.hh();h=this.Kn.kd();a=0;for(d=h.length;a<d;a++)h[a].hh();this.Lc--};e.prototype.Sf=function(){var a,d,h,c,b,f,l,k,g;a=0;for(d=this.q.length;a<d;a++)if(l=
this.q[a],!l.F)for(h=0,c=l.d.length;h<c;h++)if(k=l.d[h],k.Sf&&k.Sf(),k.G)for(b=0,f=k.G.length;b<f;b++)g=k.G[b],g.Sf&&g.Sf()};e.prototype.Tp=function(a){var d=this.fa;this.fa.gy();var h,c,b;if(this.A)for(h=0,c=this.q.length;h<c;h++)b=this.q[h],b.F||!b.Oo||b.global&&0!==b.d.length||-1!==a.Qh.indexOf(b)||b.Oo();d==a&&R(this.Vd.rc);R(this.Xf);this.Yr(!0);a.Bo();this.Yr(!1);this.ea=!0;this.Hb()};e.prototype.Yr=function(a){var d,h,c,b,f,l,k,g,e;d=0;for(h=this.La.length;d<h;d++)c=this.La[d],a?c.Tg&&c.Tg():
c.yi&&c.yi();d=0;for(h=this.q.length;d<h;d++)if(c=this.q[d],c.global||c.xa.gl)for(b=0,f=c.d.length;b<f;b++)if(l=c.d[b],a?l.Tg&&l.Tg():l.yi&&l.yi(),l.G)for(k=0,g=l.G.length;k<g;k++)e=l.G[k],a?e.Tg&&e.Tg():e.yi&&e.yi()};e.prototype.ih=function(a){this.Jn.add(a)};e.prototype.jy=function(a){this.Kn.add(a)};e.prototype.yg=function(a){return a&&-1!==a.wi?this.uf*a.wi:this.Re};e.prototype.Gc=function(){this.fa.Gc(this.Na);this.Tb&&this.Na.present()};e.prototype.Rb=function(){this.Fa&&(this.vf=1,this.fa.sg(this.A));
this.fa.Rb(this.A);this.A.Bx()};e.prototype.xp=function(a){a&&this.hm.push(a)};e.prototype.Tj=function(a){a=a.toString();return this.ue.hasOwnProperty(a)?this.ue[a]:null};var I=[];e.prototype.Hd=function(a){var d,h;d=a.type.name;var c=null;if(this.tf.hasOwnProperty(d)){if(c=this.tf[d],c.contains(a))return}else c=I.length?I.pop():new ba,this.tf[d]=c;c.add(a);this.Ue=!0;if(a.Mb)for(d=0,h=a.siblings.length;d<h;d++)this.Hd(a.siblings[d]);this.bn&&c.lh.push(a);this.an||(this.Lc++,this.trigger(Object.getPrototypeOf(a.type.xa).j.dp,
a),this.Lc--)};e.prototype.Hb=function(){if(this.Ue){var a,d,h,c,b,f;this.bn=!0;h=0;for(b=this.sd.length;h<b;++h)for(a=this.sd[h],d=a.type,d.d.push(a),c=0,f=d.Ja.length;c<f;++c)d.Ja[c].d.push(a),d.Ja[c].fh=!0;R(this.sd);this.ot();Xa(this.tf);this.Ue=this.bn=!1}};e.prototype.ot=function(){for(var a in this.tf)this.tf.hasOwnProperty(a)&&this.Zs(this.tf[a])};e.prototype.Zs=function(a){var d=a.kd(),h=d[0].type,c,b,f,l,k,g;Za(h.d,a);h.fh=!0;0===h.d.length&&(h.fj=!1);c=0;for(b=h.Ja.length;c<b;++c)g=h.Ja[c],
Za(g.d,a),g.fh=!0;c=0;for(b=this.Vd.rc.length;c<b;++c)if(k=this.Vd.rc[c],k.Vb.hasOwnProperty(h.index)&&Za(k.Vb[h.index].ke,a),!h.F)for(f=0,l=h.Ja.length;f<l;++f)g=h.Ja[f],k.Vb.hasOwnProperty(g.index)&&Za(k.Vb[g.index].ke,a);if(k=d[0].i){if(k.Qc)for(f=k.d,c=0,b=f.length;c<b;++c)l=f[c],a.contains(l)&&(l.pa(),k.Eb.update(l,l.kc,null),l.kc.set(0,0,-1,-1));Za(k.d,a);k.Ji(0)}for(c=0;c<d.length;++c)this.Ys(d[c],h);a.clear();I.push(a);this.ea=!0};e.prototype.Ys=function(a,d){var h,c,b;h=0;for(c=this.hm.length;h<
c;++h)this.hm[h](a);a.Ne&&d.rj.update(a,a.Ne,null);(h=a.i)&&h.$g(a,!0);if(a.G)for(h=0,c=a.G.length;h<c;++h)b=a.G[h],b.ff&&b.ff(),b.behavior.vi.remove(a);this.sr.remove(a);this.Jn.remove(a);this.Kn.remove(a);a.ff&&a.ff();this.ue.hasOwnProperty(a.uid.toString())&&delete this.ue[a.uid.toString()];this.Ak--;100>d.yj.length&&d.yj.push(a)};e.prototype.$l=function(a,d,h,c){if(a.F){var b=L(Math.random()*a.qe.length);return this.$l(a.qe[b],d,h,c)}return a.Vc?this.Pe(a.Vc,d,!1,h,c,!1):null};var U=[];e.prototype.Pe=
function(a,d,h,c,b,f){var l,k,g,e;if(!a)return null;var v=this.q[a[1]],u=v.xa.Ye;if(this.ik&&u&&!v.dn||u&&!this.A&&11===a[0][11])return null;var w=d;u||(d=null);var n;v.yj.length?(n=v.yj.pop(),n.jc=!0,v.xa.ba.call(n,v)):(n=new v.xa.ba(v),n.jc=!1);!h||f||this.ue.hasOwnProperty(a[2].toString())?n.uid=this.xi++:n.uid=a[2];this.ue[n.uid.toString()]=n;n.Tr=this.or++;n.Ff=v.d.length;l=0;for(k=this.sd.length;l<k;++l)this.sd[l].type===v&&n.Ff++;n.Lh=Gb;n.toString=Hb;g=a[3];if(n.jc)Xa(n.D);else{n.D={};if("undefined"!==
typeof cr_is_preview)for(n.tq=[],n.tq.length=g.length,l=0,k=g.length;l<k;l++)n.tq[l]=g[l][1];n.eb=[];n.eb.length=g.length}l=0;for(k=g.length;l<k;l++)n.eb[l]=g[l][0];if(u){var p=a[0];n.x=ka(c)?p[0]:c;n.y=ka(b)?p[1]:b;n.z=p[2];n.width=p[3];n.height=p[4];n.depth=p[5];n.k=p[6];n.opacity=p[7];n.wc=p[8];n.xc=p[9];n.Ib=p[10];l=p[11];!this.A&&v.O.length&&(n.Ib=l);n.uh=gb(n.Ib);this.u&&hb(n,n.Ib,this.u);if(n.jc){l=0;for(k=p[12].length;l<k;l++)for(g=0,e=p[12][l].length;g<e;g++)n.Oa[l][g]=p[12][l][g];n.wa.set(0,
0,0,0);n.Ne.set(0,0,-1,-1);n.kc.set(0,0,-1,-1);n.wb.xe(n.wa);R(n.Ol)}else{n.Oa=p[12].slice(0);l=0;for(k=n.Oa.length;l<k;l++)n.Oa[l]=p[12][l].slice(0);n.ka=[];n.He=[];n.He.length=v.O.length;n.wa=new va(0,0,0,0);n.Ne=new va(0,0,-1,-1);n.kc=new va(0,0,-1,-1);n.wb=new wa;n.Ol=[];n.aa=Kb;n.hu=Lb;n.ob=Mb;n.pa=Nb;n.Ps=Ob;n.So=Pb;n.Nd=Qb}n.lf=!1;n.my=0;n.ly=0;n.ky=null;14===p.length&&(n.lf=!0,n.my=p[13][0],n.ly=p[13][1],n.ky=p[13][2]);l=0;for(k=v.O.length;l<k;l++)n.He[l]=!0;n.ye=!0;n.Ed=Rb;n.Ed();n.Rs=!!n.ka.length;
n.lj=!0;n.Rl=!0;v.ej=!0;n.visible=!0;n.wi=-1;n.i=d;n.Fd=d.d.length;n.vf=0;"undefined"===typeof n.P&&(n.P=null);this.ea=n.rd=!0}var m;R(U);l=0;for(k=v.Ja.length;l<k;l++)U.push.apply(U,v.Ja[l].La);U.push.apply(U,v.La);if(n.jc)for(l=0,k=U.length;l<k;l++){var D=U[l];m=n.G[l];m.jc=!0;D.behavior.ba.call(m,D,n);p=a[4][l];g=0;for(e=p.length;g<e;g++)m.n[g]=p[g];m.L();D.behavior.vi.add(n)}else for(n.G=[],l=0,k=U.length;l<k;l++)D=U[l],m=new D.behavior.ba(D,n),m.jc=!1,m.n=a[4][l].slice(0),m.L(),n.G.push(m),D.behavior.vi.add(n);
p=a[5];if(n.jc)for(l=0,k=p.length;l<k;l++)n.n[l]=p[l];else n.n=p.slice(0);this.sd.push(n);this.Ue=!0;d&&(d.qh(n,!0),1!==d.ad||1!==d.bd)&&(v.fj=!0);this.Ak++;if(v.Mb){if(n.Mb=!0,n.jc?R(n.siblings):n.siblings=[],!h&&!f){l=0;for(k=v.uc.length;l<k;l++)if(v.uc[l]!==v){if(!v.uc[l].Vc)return null;n.siblings.push(this.Pe(v.uc[l].Vc,w,!1,u?n.x:c,u?n.y:b,!0))}l=0;for(k=n.siblings.length;l<k;l++)for(n.siblings[l].siblings.push(n),g=0;g<k;g++)l!==g&&n.siblings[l].siblings.push(n.siblings[g])}}else n.Mb=!1,n.siblings=
null;n.L();l=0;for(k=n.G.length;l<k;l++)n.G[l].wx&&n.G[l].wx();return n};e.prototype.Cm=function(a){var d,h;d=0;for(h=this.fa.R.length;d<h;d++){var c=this.fa.R[d];if(jb(c.name,a))return c}return null};e.prototype.Ih=function(a){a=L(a);0>a&&(a=0);a>=this.fa.R.length&&(a=this.fa.R.length-1);return this.fa.R[a]};e.prototype.Wl=function(a){var d,h;d=0;for(h=a.length;d<h;d++)a[d].U().Z=!0};e.prototype.Ei=function(a){var d,h;d=0;for(h=a.length;d<h;d++)a[d].Ei()};e.prototype.Rk=function(a){var d,h;d=0;for(h=
a.length;d<h;d++)a[d].Rk()};e.prototype.Vf=function(a){var d,h;d=0;for(h=a.length;d<h;d++)a[d].Vf()};e.prototype.Ms=function(a){if(a.ej){var d,h,c=a.d;d=0;for(h=c.length;d<h;++d)c[d].So();c=this.sd;d=0;for(h=c.length;d<h;++d)c[d].type===a&&c[d].So();a.ej=!1}};e.prototype.ym=function(a,d,h,c){var b,l,f=a?1!==a.ad||1!==a.bd:!1;if(d.F)for(a=0,b=d.qe.length;a<b;++a)l=d.qe[a],f||l.fj?Da(c,l.d):(this.Ms(l),l.rj.Tk(h,c));else f||d.fj?Da(c,d.d):(this.Ms(d),d.rj.Tk(h,c))};e.prototype.Hm=function(a,d,h,c){var b,
l;b=0;for(l=d.length;b<l;++b)this.ym(a,d[b],h,c)};e.prototype.Gm=function(a,d,h){var c=this.zo;c&&this.Hm(a,c.Hn,d,h)};e.prototype.ol=function(a,d,h){var c=a.U(),b,l,f,k,g=this.pb().Qb.$c,e,n,v;if(c.Z)for(c.Z=!1,R(c.d),b=0,k=a.d.length;b<k;b++)f=a.d[b],f.pa(),e=f.i.Pb(d,h,!0),n=f.i.Pb(d,h,!1),f.ob(e,n)?c.d.push(f):g&&c.X.push(f);else{l=0;v=g?c.X:c.d;b=0;for(k=v.length;b<k;b++)f=v[b],f.pa(),e=f.i.Pb(d,h,!0),n=f.i.Pb(d,h,!1),f.ob(e,n)&&(g?c.d.push(f):(c.d[l]=c.d[b],l++));v.length=l}a.nd();return c.Zj()};
e.prototype.Ri=function(a,d){if(!(a&&d&&a!==d&&a.rd&&d.rd))return!1;a.pa();d.pa();var h=a.i,c=d.i,b,l,f,k,g,e,n,v;if(h===c||h.ad===c.ad&&c.bd===c.bd&&h.scale===c.scale&&h.k===c.k&&h.Gd===c.Gd){if(!a.wa.Ym(d.wa)||!a.wb.Xm(d.wb)||a.lf&&d.lf)return!1;if(a.lf)return this.zs(a,d);if(d.lf)return this.zs(d,a);n=a.P&&!a.P.Xe();b=d.P&&!d.P.Xe();if(!n&&!b)return!0;n?(a.P.Ke(a.width,a.height,a.k),n=a.P):(this.oc.ag(a.wb,a.x,a.y,a.width,a.height),n=this.oc);b?(d.P.Ke(d.width,d.height,d.k),v=d.P):(this.oc.ag(d.wb,
d.x,d.y,d.width,d.height),v=this.oc);return n.Gf(v,d.x-a.x,d.y-a.y)}n=a.P&&!a.P.Xe();b=d.P&&!d.P.Xe();n?(a.P.Ke(a.width,a.height,a.k),this.oc.js(a.P)):this.oc.ag(a.wb,a.x,a.y,a.width,a.height);n=this.oc;b?(d.P.Ke(d.width,d.height,d.k),this.Do.js(d.P)):this.Do.ag(d.wb,d.x,d.y,d.width,d.height);v=this.Do;b=0;for(l=n.cd;b<l;b++)f=2*b,k=f+1,g=n.Ya[f],e=n.Ya[k],n.Ya[f]=h.Ba(g+a.x,e+a.y,!0),n.Ya[k]=h.Ba(g+a.x,e+a.y,!1);n.pa();b=0;for(l=v.cd;b<l;b++)f=2*b,k=f+1,g=v.Ya[f],e=v.Ya[k],v.Ya[f]=c.Ba(g+d.x,e+d.y,
!0),v.Ya[k]=c.Ba(g+d.x,e+d.y,!1);v.pa();return n.Gf(v,0,0)};var N=new wa,P=new va(0,0,0,0),C=[];e.prototype.zs=function(a,d){var h,c,b,l,f=d.wa,k=a.x,g=a.y;a.hq(f,C);var e=d.P&&!d.P.Xe();h=0;for(c=C.length;h<c;++h)if(b=C[h],l=b.Wr,f.Zm(l,k,g)&&(N.xe(l),N.offset(k,g),N.Xm(d.wb)))if(e)if(d.P.Ke(d.width,d.height,d.k),b.Uf){if(b.Uf.Gf(d.P,d.x-(k+l.left),d.y-(g+l.top)))return R(C),!0}else{if(this.oc.ag(N,0,0,l.right-l.left,l.bottom-l.top),this.oc.Gf(d.P,d.x,d.y))return R(C),!0}else if(b.Uf){if(this.oc.ag(d.wb,
0,0,d.width,d.height),b.Uf.Gf(this.oc,-(k+l.left),-(g+l.top)))return R(C),!0}else return R(C),!0;R(C);return!1};e.prototype.Eo=function(a,d){if(!d||!d.rd)return!1;d.pa();if(!d.wa.Ym(a))return!1;if(d.lf){d.hq(a,C);var h,c,b,l,f=d.x,k=d.y;h=0;for(c=C.length;h<c;++h)if(b=C[h],l=b.Wr,a.Zm(l,f,k))if(b.Uf){if(this.oc.xe(a,0,0),b.Uf.Gf(this.oc,-(f+l.left),-(k+l.top)))return R(C),!0}else return R(C),!0;R(C);return!1}N.xe(a);if(!d.wb.Xm(N))return!1;if(!d.P||d.P.Xe())return!0;d.P.Ke(d.width,d.height,d.k);N.offset(-a.left,
-a.top);this.oc.ag(N,0,0,1,1);return d.P.Gf(this.oc,a.left-d.x,a.top-d.y)};e.prototype.ys=function(a,d,h,c,b){if(!b||!b.rd)return!1;b.pa();P.set(qa(a,h),qa(d,c),pa(a,h),pa(d,c));if(!b.wa.Ym(P))return!1;if(b.lf){b.hq(P,C);var l,f,k,g=b.x,e=b.y;b=0;for(l=C.length;b<l;++b)if(f=C[b],k=f.Wr,P.Zm(k,g,e)&&(N.xe(k),N.offset(g,e),N.Rh(a,d,h,c)))if(f.Uf){if(f.Uf.Rh(g+k.left,e+k.top,a,d,h,c))return R(C),!0}else return R(C),!0;R(C);return!1}if(!b.wb.Rh(a,d,h,c))return!1;if(!b.P||b.P.Xe())return!0;b.P.Ke(b.width,
b.height,b.k);return b.P.Rh(b.x,b.y,a,d,h,c)};e.prototype.Is=function(a,d){if(!d)return!1;var h,c,b,l,f;h=0;for(c=a.La.length;h<c;h++)if(a.La[h].behavior instanceof d)return!0;if(!a.F)for(h=0,c=a.Ja.length;h<c;h++)for(f=a.Ja[h],b=0,l=f.La.length;b<l;b++)if(f.La[b].behavior instanceof d)return!0;return!1};e.prototype.Mo=function(a){return this.Is(a,gc.$y)};e.prototype.No=function(a){return this.Is(a,gc.az)};var G=[];e.prototype.dg=function(a){var d,h,c;a.pa();this.Gm(a.i,a.wa,G);d=0;for(h=G.length;d<
h;++d)if(c=G[d],c.D.solidEnabled&&this.Ri(a,c))return R(G),c;R(G);return null};e.prototype.iy=function(a){var d,h,c;this.Gm(null,a,G);d=0;for(h=G.length;d<h;++d)if(c=G[d],c.D.solidEnabled&&this.Eo(a,c))return R(G),c;R(G);return null};e.prototype.Ur=function(a,d,h,c){c=c||50;var b=a.x,l=a.y,f,k=null,g=null;for(f=0;f<c;f++)if(a.x=b+d*f,a.y=l+h*f,a.aa(),!this.Ri(a,k)&&((k=this.dg(a))&&(g=k),!k&&!k))return g&&this.Dx(a,d,h,g),!0;a.x=b;a.y=l;a.aa();return!1};e.prototype.Dx=function(a,d,h,c){var b=2,l,
f=!1;l=!1;for(var k=a.x,g=a.y;16>=b;)l=1/b,b*=2,a.x+=d*l*(f?1:-1),a.y+=h*l*(f?1:-1),a.aa(),this.Ri(a,c)?l=f=!0:(l=f=!1,k=a.x,g=a.y);l&&(a.x=k,a.y=g,a.aa())};e.prototype.Fx=function(a){var d=ka(void 0)?100:void 0,h=0,c=a.x,b=a.y,l=0,f=0,k=0,g=this.dg(a);if(!g)return!0;for(;h<=d;){switch(l){case 0:f=0;k=-1;h++;break;case 1:f=1;k=-1;break;case 2:f=1;k=0;break;case 3:k=f=1;break;case 4:f=0;k=1;break;case 5:f=-1;k=1;break;case 6:f=-1;k=0;break;case 7:k=f=-1}l=(l+1)%8;a.x=L(c+f*h);a.y=L(b+k*h);a.aa();if(!this.Ri(a,
g)&&(g=this.dg(a),!g))return!0}a.x=c;a.y=b;a.aa();return!1};e.prototype.Vk=function(a,d){a.rd&&d.rd&&this.Xf.push([a,d])};e.prototype.fu=function(a,d,h){var c,b,l;c=0;for(b=this.Xf.length;c<b;++c){l=this.Xf[c];if(l[0]===a)l=l[1];else if(l[1]===a)l=l[0];else continue;if(d.F){if(-1===d.qe.indexOf(d))continue}else if(l.type!==d)continue;-1===h.indexOf(l)&&h.push(l)}};e.prototype.su=function(a,d){var h,c,b;h=0;for(c=this.Xf.length;h<c;h++)if(b=this.Xf[h],b[0]===a&&b[1]===d||b[0]===d&&b[1]===a)return!0;
return!1};var ga=-1;e.prototype.trigger=function(a,d,h){if(!this.fa)return!1;var c=this.fa.xf;if(!c)return!1;var b=!1,l,f,k;ga++;var g=c.fm;f=0;for(k=g.length;f<k;++f)l=this.Fs(a,d,g[f],h),b=b||l;l=this.Fs(a,d,c,h);ga--;return b||l};e.prototype.Fs=function(a,d,h,c){var b=!1,l,f,k,g;if(d)for(k=this.Ko(a,d,d.type.name,h,c),b=b||k,g=d.type.Ja,l=0,f=g.length;l<f;++l)k=this.Ko(a,d,g[l].name,h,c),b=b||k;else k=this.Ko(a,d,"system",h,c),b=b||k;return b};e.prototype.Ko=function(a,d,h,c,b){var l,f=!1,k=!1,
k="undefined"!==typeof b,g=(k?c.Yp:c.Gs)[h];if(!g)return f;var e=null;c=0;for(l=g.length;c<l;++c)if(g[c].method==a){e=g[c].Bh;break}if(!e)return f;var n;k?n=e[b]:n=e;if(!n)return null;c=0;for(l=n.length;c<l;c++)a=n[c][0],b=n[c][1],k=this.Iv(d,h,a,b),f=f||k;return f};e.prototype.Iv=function(a,d,h,c){var b,l,f=!1;this.Lo++;var k=this.pb().Qb;k&&this.Ei(k.kf);var g=1<this.Lo;this.Ei(h.kf);g&&this.Ex();var e=this.Sk(h);e.Qb=h;a&&(b=this.types[d].U(),b.Z=!1,R(b.d),b.d[0]=a,this.types[d].nd());a=!0;if(h.parent){d=
e.xs;for(b=h.parent;b;)d.push(b),b=b.parent;d.reverse();b=0;for(l=d.length;b<l;b++)if(!d[b].Rx()){a=!1;break}}a&&(this.zf++,h.$c?h.Qx(c):h.Za(),f=f||e.Jf);this.Nk();g&&this.vx();this.Vf(h.kf);k&&this.Vf(k.kf);this.Ue&&0===this.Lc&&0===ga&&!this.gn&&this.Hb();this.Lo--;return f};e.prototype.Gh=function(){var a=this.pb();return a.Qb.nb[a.mb]};e.prototype.Uv=function(){return this.Gh().type};e.prototype.Tv=function(){var a=this.pb();return a.Qb.Sc[a.Yb]};e.prototype.Ex=function(){this.vk++;this.vk>=
this.Cn.length&&this.Cn.push([])};e.prototype.vx=function(){this.vk--};e.prototype.iq=function(){return this.Cn[this.vk]};e.prototype.Sk=function(a){this.Fj++;this.Fj>=this.mm.length&&this.mm.push(new Sb);var d=this.pb();d.reset(a);return d};e.prototype.Nk=function(){this.Fj--};e.prototype.pb=function(){return this.mm[this.Fj]};e.prototype.jq=function(a,d){for(var h,c,b,l,f,k;d;){h=0;for(c=d.gd.length;h<c;h++)if(k=d.gd[h],k instanceof Tb&&jb(a,k.name))return k;d=d.parent}h=0;for(c=this.he.length;h<
c;h++)for(f=this.he[h],b=0,l=f.Se.length;b<l;b++)if(k=f.Se[b],k instanceof Tb&&jb(a,k.name))return k;return null};e.prototype.kq=function(a){var d,h;d=0;for(h=this.vd.length;d<h;d++)if(this.vd[d].S===a)return this.vd[d];return null};e.prototype.Cf=function(a){var d,h;d=0;for(h=this.q.length;d<h;d++)if(this.q[d].S===a)return this.q[d];return null};e.prototype.Wv=function(a){var d,h;d=0;for(h=this.lg.length;d<h;d++)if(this.lg[d].S===a)return this.lg[d];return null};e.prototype.Cu=function(a,d){this.Ni=
[a,d];this.ea=!0};e.prototype.uw=function(){var a=this,d=this.ko,h=this.oe,c=this.pk,l=!1;this.qs&&(l=!0,d="__c2_continuouspreview",this.qs=!1);if(d.length){this.Hb();h=this.Vx();if(m()&&!this.Yc)n(d,h,function(){ha("Saved state to IndexedDB storage ("+h.length+" bytes)");a.oe=h;a.trigger(X.prototype.j.Fl,null);a.oe="";l&&b()},function(c){try{localStorage.setItem("__c2save_"+d,h),ha("Saved state to WebStorage ("+h.length+" bytes)"),a.oe=h,a.trigger(X.prototype.j.Fl,null),a.oe="",l&&b()}catch(f){ha("Failed to save game state: "+
c+"; "+f),a.trigger(X.prototype.j.np,null)}});else try{localStorage.setItem("__c2save_"+d,h),ha("Saved state to WebStorage ("+h.length+" bytes)"),a.oe=h,this.trigger(X.prototype.j.Fl,null),a.oe="",l&&b()}catch(f){ha("Error saving to WebStorage: "+f),a.trigger(X.prototype.j.np,null)}this.pk=this.ko="";this.hb=null}if(c.length){if(m()&&!this.Yc)t(c,function(d){d?(a.hb=d,ha("Loaded state from IndexedDB storage ("+a.hb.length+" bytes)")):(a.hb=localStorage.getItem("__c2save_"+c)||"",ha("Loaded state from WebStorage ("+
a.hb.length+" bytes)"));a.Pi=!1;a.hb||(a.hb=null,a.trigger(X.prototype.j.bj,null))},function(){a.hb=localStorage.getItem("__c2save_"+c)||"";ha("Loaded state from WebStorage ("+a.hb.length+" bytes)");a.Pi=!1;a.hb||(a.hb=null,a.trigger(X.prototype.j.bj,null))});else{try{this.hb=localStorage.getItem("__c2save_"+c)||"",ha("Loaded state from WebStorage ("+this.hb.length+" bytes)")}catch(k){this.hb=null}this.Pi=!1;a.hb||(a.hb=null,a.trigger(X.prototype.j.bj,null))}this.ko=this.pk=""}null!==this.hb&&(this.Hb(),
this.Qw(this.hb)?(this.oe=this.hb,this.trigger(X.prototype.j.Jt,null),this.oe=""):a.trigger(X.prototype.j.bj,null),this.hb=null)};e.prototype.Vx=function(){var d,h,c,b,l,f,k,g={c2save:!0,version:1,rt:{time:this.fb.M,walltime:this.Ee.M,timescale:this.fg,tickcount:this.jd,execcount:this.zf,next_uid:this.xi,running_layout:this.fa.S,start_time_offset:Date.now()-this.kl},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};d=0;for(h=this.q.length;d<h;d++)if(l=this.q[d],!l.F&&!this.Mo(l)){f=
{instances:[]};Ua(l.D)&&(f.ex=a(l.D));c=0;for(b=l.d.length;c<b;c++)f.instances.push(this.jo(l.d[c]));g.types[l.S.toString()]=f}d=0;for(h=this.vd.length;d<h;d++)c=this.vd[d],g.layouts[c.S.toString()]=c.kb();b=g.events.groups;d=0;for(h=this.lg.length;d<h;d++)c=this.lg[d],b[c.S.toString()]=this.Uj[c.Nh].Mh;h=g.events.cnds;for(k in this.Me)this.Me.hasOwnProperty(k)&&(d=this.Me[k],Ua(d.D)&&(h[k]={ex:a(d.D)}));h=g.events.acts;for(k in this.Ie)this.Ie.hasOwnProperty(k)&&(d=this.Ie[k],Ua(d.D)&&(h[k]={ex:a(d.D)}));
h=g.events.vars;for(k in this.mh)this.mh.hasOwnProperty(k)&&(d=this.mh[k],d.fk||d.parent&&!d.$h||(h[k]=d.data));g.system=this.Vd.kb();return JSON.stringify(g)};e.prototype.Xr=function(){var a,d,h,c,b,l;this.ue={};a=0;for(d=this.q.length;a<d;a++)if(h=this.q[a],!h.F)for(c=0,b=h.d.length;c<b;c++)l=h.d[c],this.ue[l.uid.toString()]=l};e.prototype.Qw=function(a){var d;try{d=JSON.parse(a)}catch(h){return!1}if(!d.c2save||1<d.version)return!1;this.Vh=!0;a=d.rt;this.fb.reset();this.fb.M=a.time;this.Ee.reset();
this.Ee.M=a.walltime||0;this.fg=a.timescale;this.jd=a.tickcount;this.zf=a.execcount;this.kl=Date.now()-a.start_time_offset;var c=a.running_layout;if(c!==this.fa.S)if(c=this.kq(c))this.Tp(c);else return;var b,l,f,k,g,e,n;e=d.types;for(l in e)if(e.hasOwnProperty(l)&&(k=this.Cf(parseInt(l,10)))&&!k.F&&!this.Mo(k)){e[l].ex?k.D=e[l].ex:Xa(k.D);g=k.d;f=e[l].instances;c=0;for(b=qa(g.length,f.length);c<b;c++)this.qk(g[c],f[c]);c=f.length;for(b=g.length;c<b;c++)this.Hd(g[c]);c=g.length;for(b=f.length;c<b;c++){g=
null;if(k.xa.Ye&&(g=this.fa.Sj(f[c].w.l),!g))continue;g=this.Pe(k.Vc,g,!1,0,0,!0);this.qk(g,f[c])}k.fh=!0}this.Hb();this.Xr();b=d.layouts;for(l in b)b.hasOwnProperty(l)&&(c=this.kq(parseInt(l,10)))&&c.Bb(b[l]);b=d.events.groups;for(l in b)b.hasOwnProperty(l)&&(c=this.Wv(parseInt(l,10)))&&this.Uj[c.Nh]&&this.Uj[c.Nh].Xx(b[l]);c=d.events.cnds;for(l in this.Me)this.Me.hasOwnProperty(l)&&(c.hasOwnProperty(l)?this.Me[l].D=c[l].ex:this.Me[l].D={});c=d.events.acts;for(l in this.Ie)this.Ie.hasOwnProperty(l)&&
(c.hasOwnProperty(l)?this.Ie[l].D=c[l].ex:this.Ie[l].D={});c=d.events.vars;for(l in c)c.hasOwnProperty(l)&&this.mh.hasOwnProperty(l)&&(this.mh[l].data=c[l]);this.xi=a.next_uid;this.Vh=!1;c=0;for(b=this.Kj.length;c<b;++c)g=this.Kj[c],this.trigger(Object.getPrototypeOf(g.type.xa).j.jg,g);R(this.Kj);this.Vd.Bb(d.system);c=0;for(b=this.q.length;c<b;c++)if(k=this.q[c],!k.F&&!this.Mo(k))for(d=0,l=k.d.length;d<l;d++){g=k.d[d];if(k.Mb)for(e=g.Lh(),R(g.siblings),a=0,f=k.uc.length;a<f;a++)n=k.uc[a],k!==n&&
g.siblings.push(n.d[e]);g.Xd&&g.Xd();if(g.G)for(a=0,f=g.G.length;a<f;a++)e=g.G[a],e.Xd&&e.Xd()}return this.ea=!0};e.prototype.jo=function(d,h){var c,b,l,f,k;f=d.type;l=f.xa;var g={};h?g.c2=!0:g.uid=d.uid;Ua(d.D)&&(g.ex=a(d.D));if(d.eb&&d.eb.length)for(g.ivs={},c=0,b=d.eb.length;c<b;c++)g.ivs[d.type.Wm[c].toString()]=d.eb[c];if(l.Ye){l={x:d.x,y:d.y,w:d.width,h:d.height,l:d.i.S,zi:d.Nd()};0!==d.k&&(l.a=d.k);1!==d.opacity&&(l.o=d.opacity);.5!==d.wc&&(l.hX=d.wc);.5!==d.xc&&(l.hY=d.xc);0!==d.Ib&&(l.bm=
d.Ib);d.visible||(l.v=d.visible);d.rd||(l.ce=d.rd);-1!==d.wi&&(l.mts=d.wi);if(f.O.length)for(l.fx=[],c=0,b=f.O.length;c<b;c++)k=f.O[c],l.fx.push({name:k.name,active:d.He[k.index],params:d.Oa[k.index]});g.w=l}if(d.G&&d.G.length)for(g.behs={},c=0,b=d.G.length;c<b;c++)f=d.G[c],f.kb&&(g.behs[f.type.S.toString()]=f.kb());d.kb&&(g.data=d.kb());return g};e.prototype.Yv=function(a,d){var h,c;h=0;for(c=a.Wm.length;h<c;h++)if(a.Wm[h]===d)return h;return-1};e.prototype.Sv=function(a,d){var h,c;h=0;for(c=a.G.length;h<
c;h++)if(a.G[h].type.S===d)return h;return-1};e.prototype.qk=function(a,d,h){var c,b,l,f,k;k=a.type;var g=k.xa;if(h){if(!d.c2)return}else a.uid=d.uid;d.ex?a.D=d.ex:Xa(a.D);if(b=d.ivs)for(c in b)b.hasOwnProperty(c)&&(l=this.Yv(k,parseInt(c,10)),0>l||l>=a.eb.length||(f=b[c],null===f&&(f=NaN),a.eb[l]=f));if(g.Ye){l=d.w;a.i.S!==l.l&&(b=a.i,a.i=this.fa.Sj(l.l),a.i?(b.$g(a,!0),a.i.qh(a,!0),a.aa(),a.i.Ji(0)):(a.i=b,h||this.Hd(a)));a.x=l.x;a.y=l.y;a.width=l.w;a.height=l.h;a.Fd=l.zi;a.k=l.hasOwnProperty("a")?
l.a:0;a.opacity=l.hasOwnProperty("o")?l.o:1;a.wc=l.hasOwnProperty("hX")?l.hX:.5;a.xc=l.hasOwnProperty("hY")?l.hY:.5;a.visible=l.hasOwnProperty("v")?l.v:!0;a.rd=l.hasOwnProperty("ce")?l.ce:!0;a.wi=l.hasOwnProperty("mts")?l.mts:-1;a.Ib=l.hasOwnProperty("bm")?l.bm:0;a.uh=gb(a.Ib);this.u&&hb(a,a.Ib,this.u);a.aa();if(l.hasOwnProperty("fx"))for(h=0,b=l.fx.length;h<b;h++)f=k.Am(l.fx[h].name),0>f||(a.He[f]=l.fx[h].active,a.Oa[f]=l.fx[h].params);a.Ed()}if(k=d.behs)for(c in k)k.hasOwnProperty(c)&&(h=this.Sv(a,
parseInt(c,10)),0>h||a.G[h].Bb(k[c]));d.data&&a.Bb(d.data)};e.prototype.Zp=function(a,d,h){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+"www/"+a,function(a){a.file(d,h)},h)};e.prototype.Jv=function(a,d){this.Zp("data.js",function(h){var c=new FileReader;c.onload=function(d){a(d.target.result)};c.onerror=d;c.readAsText(h)},d)};var V=[],E=0;e.prototype.Fn=function(){if(V.length&&!(8<=E)){E++;var a=V.shift();this.Fu(a.filename,a.hy,a.dv)}};e.prototype.$p=function(a,d,h){var c=this;
V.push({filename:a,hy:function(a){E--;c.Fn();d(a)},dv:function(a){E--;c.Fn();h(a)}});this.Fn()};e.prototype.Fu=function(a,d,h){this.Zp(a,function(a){var h=new FileReader;h.onload=function(a){d(a.target.result)};h.readAsArrayBuffer(a)},h)};e.prototype.Kv=function(a,d,h){var c="",b=a.toLowerCase(),l=b.substr(b.length-4),b=b.substr(b.length-5);".mp4"===l?c="video/mp4":".webm"===b?c="video/webm":".m4a"===l?c="audio/mp4":".mp3"===l&&(c="audio/mpeg");this.$p(a,function(a){a=URL.createObjectURL(new Blob([a],
{type:c}));d(a)},h)};e.prototype.Bw=function(a){return/^(?:[a-z]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};e.prototype.es=function(a,d){this.ek&&!this.Bw(d)?this.Kv(d,function(d){a.src=d},function(a){alert("Failed to load image: "+a)}):a.src=d};e.prototype.cl=function(a,d){"undefined"!==typeof a.imageSmoothingEnabled?a.imageSmoothingEnabled=d:(a.webkitImageSmoothingEnabled=d,a.mozImageSmoothingEnabled=d,a.msImageSmoothingEnabled=d)};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.sh=!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 e=document.getElementById("c2canvas");return e?e.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(e,p){var m=window.cr_getC2Runtime();m&&m.Cu(e,p)};
window.cr_sizeCanvas=function(e,p){if(0!==e&&0!==p){var m=window.cr_getC2Runtime();m&&m.setSize(e,p)}};window.cr_setSuspended=function(e){var p=window.cr_getC2Runtime();p&&p.setSuspended(e)};
(function(){function e(a,c){this.b=a;this.xf=null;this.scrollX=this.b.jb/2;this.scrollY=this.b.ib/2;this.scale=1;this.k=0;this.wg=!0;this.name=c[0];this.lx=c[1];this.kx=c[2];this.width=c[1];this.height=c[2];this.Js=c[3];this.ns=c[4];this.S=c[5];var b=c[6],f,g;this.R=[];this.Qh=[];f=0;for(g=b.length;f<g;f++){var e=new Wb(this,b[f]);e.qr=f;this.R.push(e)}b=c[7];this.Ve=[];f=0;for(g=b.length;f<g;f++){var e=b[f],n=this.b.q[e[1]];n.Vc||(n.Vc=e);this.Ve.push(e);-1===this.Qh.indexOf(n)&&this.Qh.push(n)}this.O=
[];this.ka=[];this.ye=!0;this.Oa=[];f=0;for(g=c[8].length;f<g;f++)this.O.push({id:c[8][f][0],name:c[8][f][1],$a:-1,yd:!1,lb:!0,index:f}),this.Oa.push(c[8][f][2].slice(0));this.Ed();this.Zg=new va(0,0,1,1);this.ao=new va(0,0,1,1);this.gf={}}function p(a,c){return a.Fd-c.Fd}function m(a,c){this.Sa=a;this.b=a.b;this.d=[];this.scale=1;this.k=0;this.fe=!1;this.Be=new va(0,0,0,0);this.Es=new wa;this.ya=this.ta=this.za=this.qa=0;this.gg=!1;this.Fe=-1;this.Xl=0;this.name=c[0];this.index=c[1];this.S=c[2];
this.visible=c[3];this.od=c[4];this.Dd=c[5];this.ad=c[6];this.bd=c[7];this.opacity=c[8];this.Oj=c[9];this.Qc=c[10];this.Gd=c[11];this.Ib=c[12];this.Zu=c[13];this.uh="source-over";this.Jb=this.Nb=0;this.Eb=null;this.pe=q();this.Cd=!0;this.Mg=new va(0,0,-1,-1);this.yb=new va(0,0,-1,-1);this.Qc&&(this.Eb=new fb(this.b.jb,this.b.ib));this.Ud=!1;var b=c[14],f,g;this.vs=[];this.Jc=[];this.xh=[];f=0;for(g=b.length;f<g;f++){var e=b[f],n=this.b.q[e[1]];n.Vc||(n.Vc=e,n.Au=this.index);this.Jc.push(e);-1===this.Sa.Qh.indexOf(n)&&
this.Sa.Qh.push(n)}Ba(this.vs,this.Jc);this.O=[];this.ka=[];this.ye=!0;this.Oa=[];f=0;for(g=c[15].length;f<g;f++)this.O.push({id:c[15][f][0],name:c[15][f][1],$a:-1,yd:!1,lb:!0,index:f}),this.Oa.push(c[15][f][2].slice(0));this.Ed();this.Zg=new va(0,0,1,1);this.ao=new va(0,0,1,1)}function q(){return a.length?a.pop():[]}function n(d){R(d);a.push(d)}e.prototype.Ux=function(a){var c=a.type.S.toString();this.gf.hasOwnProperty(c)||(this.gf[c]=[]);this.gf[c].push(this.b.jo(a))};e.prototype.nq=function(){var a=
this.R[0];return!a.Dd&&1===a.opacity&&!a.Oj&&a.visible};e.prototype.Ed=function(){R(this.ka);this.ye=!0;var a,c,b;a=0;for(c=this.O.length;a<c;a++)b=this.O[a],b.lb&&(this.ka.push(b),b.yd||(this.ye=!1))};e.prototype.zm=function(a){var c,b,f;c=0;for(b=this.O.length;c<b;c++)if(f=this.O[c],f.name===a)return f;return null};var t=[],b=!0;e.prototype.Bo=function(){this.ns&&(this.xf=this.b.nm[this.ns],this.xf.Po());this.b.fa=this;this.width=this.lx;this.height=this.kx;this.scrollX=this.b.jb/2;this.scrollY=
this.b.ib/2;var a,c,f,k,g,e,n;a=0;for(f=this.b.q.length;a<f;a++)if(c=this.b.q[a],!c.F)for(g=c.d,c=0,k=g.length;c<k;c++)if(e=g[c],e.i){var h=e.i.qr;h>=this.R.length&&(h=this.R.length-1);e.i=this.R[h];-1===e.i.d.indexOf(e)&&e.i.d.push(e);e.i.gg=!0}if(!b)for(a=0,f=this.R.length;a<f;++a)this.R[a].d.sort(p);R(t);this.ou();a=0;for(f=this.R.length;a<f;a++)e=this.R[a],e.yu(),e.xl();g=!1;if(!this.wg){for(n in this.gf)if(this.gf.hasOwnProperty(n)&&(c=this.b.Cf(parseInt(n,10)))&&!c.F&&this.b.No(c)){k=this.gf[n];
a=0;for(f=k.length;a<f;a++){e=null;if(c.xa.Ye&&(e=this.Sj(k[a].w.l),!e))continue;e=this.b.Pe(c.Vc,e,!1,0,0,!0);this.b.qk(e,k[a]);g=!0;t.push(e)}R(k)}a=0;for(f=this.R.length;a<f;a++)this.R[a].d.sort(p),this.R[a].gg=!0}g&&(this.b.Hb(),this.b.Xr());for(a=0;a<t.length;a++)if(e=t[a],e.type.Mb)for(f=e.Lh(),c=0,k=e.type.uc.length;c<k;c++)n=e.type.uc[c],e.type!==n&&(n.d.length>f?e.siblings.push(n.d[f]):n.Vc&&(g=this.b.Pe(n.Vc,e.i,!0,e.x,e.y,!0),this.b.Hb(),n.ul(),e.siblings.push(g),t.push(g)));a=0;for(f=
this.Ve.length;a<f;a++)e=this.Ve[a],c=this.b.q[e[1]],c.Mb||this.b.Pe(this.Ve[a],null,!0);this.b.Vl=null;this.b.Hb();if(this.b.Na&&!this.b.Da)for(a=0,f=this.b.q.length;a<f;a++)n=this.b.q[a],!n.F&&n.d.length&&n.Vn&&n.Vn(this.b.Na);if(this.b.Vh)Ba(this.b.Kj,t);else for(a=0,f=t.length;a<f;a++)e=t[a],this.b.trigger(Object.getPrototypeOf(e.type.xa).j.jg,e);R(t);this.b.Vh||this.b.trigger(X.prototype.j.ip,null);this.wg=!1};e.prototype.xu=function(){var a,c,b,f,g;c=a=0;for(b=this.Ve.length;a<b;a++)f=this.Ve[a],
g=this.b.q[f[1]],g.global?g.Mb||this.b.Pe(f,null,!0):(this.Ve[c]=f,c++);Aa(this.Ve,c)};e.prototype.gy=function(){this.b.Vh||this.b.trigger(X.prototype.j.It,null);this.b.an=!0;R(this.b.Vd.rc);var a,c,f,k,g,e;if(!this.wg)for(a=0,c=this.R.length;a<c;a++)for(this.R[a].Ro(),g=this.R[a].d,f=0,k=g.length;f<k;f++)e=g[f],e.type.global||this.b.No(e.type)&&this.Ux(e);a=0;for(c=this.R.length;a<c;a++){g=this.R[a].d;f=0;for(k=g.length;f<k;f++)e=g[f],e.type.global||this.b.Hd(e);this.b.Hb();R(g);this.R[a].gg=!0}a=
0;for(c=this.b.q.length;a<c;a++)if(g=this.b.q[a],!(g.global||g.xa.Ye||g.xa.gl||g.F)){f=0;for(k=g.d.length;f<k;f++)this.b.Hd(g.d[f]);this.b.Hb()}b=!1;this.b.an=!1};new va(0,0,0,0);e.prototype.Gc=function(a){var c,b=a,f=!1,g=!this.b.Hc;g&&(this.b.ok||(this.b.ok=document.createElement("canvas"),c=this.b.ok,c.width=this.b.I,c.height=this.b.H,this.b.Mq=c.getContext("2d"),f=!0),c=this.b.ok,b=this.b.Mq,c.width!==this.b.I&&(c.width=this.b.I,f=!0),c.height!==this.b.H&&(c.height=this.b.H,f=!0),f&&this.b.cl(b,
this.b.Ka));b.globalAlpha=1;b.globalCompositeOperation="source-over";this.b.Kp&&!this.nq()&&b.clearRect(0,0,this.b.I,this.b.H);var e,n,f=0;for(e=this.R.length;f<e;f++)n=this.R[f],n.visible&&0<n.opacity&&11!==n.Ib&&(n.d.length||!n.Dd)?n.Gc(b):n.xl();g&&a.drawImage(c,0,0,this.b.width,this.b.height)};e.prototype.sg=function(a){a.ds(!0);this.b.Wa||(this.b.Wa=a.Fc(this.b.I,this.b.H,this.b.Ka));if(this.b.Wa.rf!==this.b.I||this.b.Wa.qf!==this.b.H)a.deleteTexture(this.b.Wa),this.b.Wa=a.Fc(this.b.I,this.b.H,
this.b.Ka);a.ed(this.b.Wa);this.b.Hc||a.Zf(this.b.I,this.b.H);var c,b;for(c=this.R.length-1;0<=c;--c)b=this.R[c],b.visible&&1===b.opacity&&b.ye&&0===b.Ib&&(b.d.length||!b.Dd)?b.sg(a):b.xl();a.ds(!1)};e.prototype.Rb=function(a){var c=0<this.ka.length||this.b.kh||!this.b.Hc||this.b.Fa;if(c){this.b.Wa||(this.b.Wa=a.Fc(this.b.I,this.b.H,this.b.Ka));if(this.b.Wa.rf!==this.b.I||this.b.Wa.qf!==this.b.H)a.deleteTexture(this.b.Wa),this.b.Wa=a.Fc(this.b.I,this.b.H,this.b.Ka);a.ed(this.b.Wa);this.b.Hc||a.Zf(this.b.I,
this.b.H)}else this.b.Wa&&(a.ed(null),a.deleteTexture(this.b.Wa),this.b.Wa=null);this.b.Kp&&!this.nq()&&a.clear(0,0,0,0);var b,f,g;b=0;for(f=this.R.length;b<f;b++)g=this.R[b],g.visible&&0<g.opacity&&(g.d.length||!g.Dd)?g.Rb(a):g.xl();c&&(0===this.ka.length||1===this.ka.length&&this.b.Hc?(1===this.ka.length?(c=this.ka[0].index,a.nc(this.ka[0].$a),a.bh(null,1/this.b.I,1/this.b.H,0,0,1,1,this.scale,this.k,0,0,this.b.I/2,this.b.H/2,this.b.fb.M,this.Oa[c]),a.Qk(this.ka[0].$a)&&(this.b.ea=!0)):a.nc(0),
this.b.Hc||a.Zf(this.b.width,this.b.height),a.ed(null),a.bs(!1),a.Yf(1),a.Cc(this.b.Wa),a.$r(),a.dd(),a.Pc(),c=this.b.width/2,b=this.b.height/2,a.Xg(-c,b,c,b,c,-b,-c,-b),a.Cc(null),a.bs(!0)):this.bo(a,null,null,null))};e.prototype.Jh=function(){return 0<this.ka.length||this.b.kh||!this.b.Hc||this.b.Fa?this.b.Wa:null};e.prototype.lq=function(){var a=this.R[0].Sb(),c,b,f;c=1;for(b=this.R.length;c<b;c++)f=this.R[c],(0!==f.ad||0!==f.bd)&&f.Sb()<a&&(a=f.Sb());return a};e.prototype.lo=function(a){if(!this.Js){var c=
1/this.lq()*this.b.I/2;a>this.width-c&&(a=this.width-c);a<c&&(a=c)}this.scrollX!==a&&(this.scrollX=a,this.b.ea=!0)};e.prototype.no=function(a){if(!this.Js){var c=1/this.lq()*this.b.H/2;a>this.height-c&&(a=this.height-c);a<c&&(a=c)}this.scrollY!==a&&(this.scrollY=a,this.b.ea=!0)};e.prototype.ou=function(){this.lo(this.scrollX);this.no(this.scrollY)};e.prototype.bo=function(a,c,b,f){var g=b?b.ka:c?c.ka:this.ka,e=1,n=0,h=0,l=0,v=this.b.I,p=this.b.H;b?(e=b.i.Sb(),n=b.i.bb(),h=b.i.qa,l=b.i.ta,v=b.i.za,
p=b.i.ya):c&&(e=c.Sb(),n=c.bb(),h=c.qa,l=c.ta,v=c.za,p=c.ya);var m=this.b.vm,q,t,A,J,I=0,U=1,N,P,C=this.b.I,G=this.b.H,ga=C/2,V=G/2,E=c?c.Zg:this.Zg,r=c?c.ao:this.ao,y=0,z=0,H=0,F=0,Q=C,da=C,M=G,ja=G,ea=A=0;J=b?b.i.bb():0;if(b){q=0;for(t=g.length;q<t;q++)A+=a.bw(g[q].$a),ea+=a.cw(g[q].$a);F=b.wa;y=c.Ba(F.left,F.top,!0,!0);H=c.Ba(F.left,F.top,!1,!0);Q=c.Ba(F.right,F.bottom,!0,!0);M=c.Ba(F.right,F.bottom,!1,!0);0!==J&&(q=c.Ba(F.right,F.top,!0,!0),t=c.Ba(F.right,F.top,!1,!0),z=c.Ba(F.left,F.bottom,!0,
!0),F=c.Ba(F.left,F.bottom,!1,!0),J=Math.min(y,Q,q,z),Q=Math.max(y,Q,q,z),y=J,J=Math.min(H,M,t,F),M=Math.max(H,M,t,F),H=J);y-=A;H-=ea;Q+=A;M+=ea;r.left=y/C;r.top=1-H/G;r.right=Q/C;r.bottom=1-M/G;z=y=L(y);F=H=L(H);da=Q=ta(Q);ja=M=ta(M);z-=A;F-=ea;da+=A;ja+=ea;0>y&&(y=0);0>H&&(H=0);Q>C&&(Q=C);M>G&&(M=G);0>z&&(z=0);0>F&&(F=0);da>C&&(da=C);ja>G&&(ja=G);E.left=y/C;E.top=1-H/G;E.right=Q/C;E.bottom=1-M/G}else E.left=r.left=0,E.top=r.top=0,E.right=r.right=1,E.bottom=r.bottom=1;ea=b&&(a.Ci(g[0].$a)||0!==A||
0!==ea||1!==b.opacity||b.type.xa.lr)||c&&!b&&1!==c.opacity;a.$r();if(ea){m[I]||(m[I]=a.Fc(C,G,this.b.Ka));if(m[I].rf!==C||m[I].qf!==G)a.deleteTexture(m[I]),m[I]=a.Fc(C,G,this.b.Ka);a.nc(0);a.ed(m[I]);P=ja-F;a.clearRect(z,G-F-P,da-z,P);b?b.Rb(a):(a.Cc(this.b.gb),a.Yf(c.opacity),a.dd(),a.translate(-ga,-V),a.Pc(),a.hf(y,M,Q,M,Q,H,y,H,E));r.left=r.top=0;r.right=r.bottom=1;b&&(J=E.top,E.top=E.bottom,E.bottom=J);I=1;U=0}a.Yf(1);A=g.length-1;var Ca=a.Xn(g[A].$a)||!c&&!b&&!this.b.Hc;q=J=0;for(t=g.length;q<
t;q++){m[I]||(m[I]=a.Fc(C,G,this.b.Ka));if(m[I].rf!==C||m[I].qf!==G)a.deleteTexture(m[I]),m[I]=a.Fc(C,G,this.b.Ka);a.nc(g[q].$a);J=g[q].index;a.Qk(g[q].$a)&&(this.b.ea=!0);0!=q||ea?(a.bh(f,1/C,1/G,r.left,r.top,r.right,r.bottom,e,n,h,l,(h+v)/2,(l+p)/2,this.b.fb.M,b?b.Oa[J]:c?c.Oa[J]:this.Oa[J]),a.Cc(null),q!==A||Ca?(a.ed(m[I]),P=ja-F,N=G-F-P,a.clearRect(z,N,da-z,P)):(b?a.jf(b.Nb,b.Jb):c&&a.jf(c.Nb,c.Jb),a.ed(f)),a.Cc(m[U]),a.dd(),a.translate(-ga,-V),a.Pc(),a.hf(y,M,Q,M,Q,H,y,H,E),q!==A||Ca||a.Cc(null)):
(a.ed(m[I]),P=ja-F,N=G-F-P,a.clearRect(z,N,da-z,P),b?(b.xb&&b.xb.Ha?(N=b.xb.Ha,U=1/N.width,N=1/N.height):(U=1/b.width,N=1/b.height),a.bh(f,U,N,r.left,r.top,r.right,r.bottom,e,n,h,l,(h+v)/2,(l+p)/2,this.b.fb.M,b.Oa[J]),b.Rb(a)):(a.bh(f,1/C,1/G,0,0,1,1,e,n,h,l,(h+v)/2,(l+p)/2,this.b.fb.M,c?c.Oa[J]:this.Oa[J]),a.Cc(c?this.b.gb:this.b.Wa),a.dd(),a.translate(-ga,-V),a.Pc(),a.hf(y,M,Q,M,Q,H,y,H,E)),r.left=r.top=0,r.right=r.bottom=1,b&&!Ca&&(J=M,M=H,H=J));I=0===I?1:0;U=0===I?1:0}Ca&&(a.nc(0),b?a.jf(b.Nb,
b.Jb):c?a.jf(c.Nb,c.Jb):this.b.Hc||(a.Zf(this.b.width,this.b.height),ga=this.b.width/2,V=this.b.height/2,H=y=0,Q=this.b.width,M=this.b.height),a.ed(f),a.Cc(m[U]),a.dd(),a.translate(-ga,-V),a.Pc(),b&&1===g.length&&!ea?a.hf(y,H,Q,H,Q,M,y,M,E):a.hf(y,M,Q,M,Q,H,y,H,E),a.Cc(null))};e.prototype.Sj=function(a){var c,b;c=0;for(b=this.R.length;c<b;c++)if(this.R[c].S===a)return this.R[c];return null};e.prototype.kb=function(){var a,c,b,f={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.k,w:this.width,h:this.height,
fv:this.wg,persist:this.gf,fx:[],layers:{}};a=0;for(c=this.O.length;a<c;a++)b=this.O[a],f.fx.push({name:b.name,active:b.lb,params:this.Oa[b.index]});a=0;for(c=this.R.length;a<c;a++)b=this.R[a],f.layers[b.S.toString()]=b.kb();return f};e.prototype.Bb=function(a){var c,b,f,g;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.k=a.a;this.width=a.w;this.height=a.h;this.gf=a.persist;"undefined"!==typeof a.fv&&(this.wg=a.fv);var e=a.fx;c=0;for(b=e.length;c<b;c++)if(f=this.zm(e[c].name))f.lb=e[c].active,
this.Oa[f.index]=e[c].params;this.Ed();c=a.layers;for(g in c)c.hasOwnProperty(g)&&(a=this.Sj(parseInt(g,10)))&&a.Bb(c[g])};Ib=e;m.prototype.Ed=function(){R(this.ka);this.ye=!0;var a,c,b;a=0;for(c=this.O.length;a<c;a++)b=this.O[a],b.lb&&(this.ka.push(b),b.yd||(this.ye=!1))};m.prototype.zm=function(a){var c,b,f;c=0;for(b=this.O.length;c<b;c++)if(f=this.O[c],f.name===a)return f;return null};m.prototype.yu=function(){var a,c,b,f,g,e;c=a=0;for(b=this.Jc.length;a<b;a++){f=this.Jc[a];g=this.b.q[f[1]];e=
this.b.No(g);g=!0;if(!e||this.Sa.wg){f=this.b.Pe(f,this,!0);if(!f)continue;t.push(f);f.type.global&&(g=!1,this.xh.push(f.uid))}g&&(this.Jc[c]=this.Jc[a],c++)}this.Jc.length=c;this.b.Hb();!this.b.A&&this.O.length&&(this.Ib=this.Zu);this.uh=gb(this.Ib);this.b.u&&hb(this,this.Ib,this.b.u);this.Cd=!0};m.prototype.$g=function(a,c){var b=Ea(this.d,a);0>b||(c&&this.Qc&&a.kc&&a.kc.right>=a.kc.left&&(a.pa(),this.Eb.update(a,a.kc,null),a.kc.set(0,0,-1,-1)),b===this.d.length-1?this.d.pop():(za(this.d,b),this.Ji(b)),
this.Cd=!0)};m.prototype.qh=function(a,c){a.Fd=this.d.length;this.d.push(a);c&&this.Qc&&a.kc&&a.aa();this.Cd=!0};m.prototype.Ax=function(a){this.d.unshift(a);this.Ji(0)};m.prototype.Ww=function(a,c,b){var f=a.Nd();c=c.Nd();za(this.d,f);f<c&&c--;b&&c++;c===this.d.length?this.d.push(a):this.d.splice(c,0,a);this.Ji(f<c?f:c)};m.prototype.Ji=function(a){-1===this.Fe?this.Fe=a:a<this.Fe&&(this.Fe=a);this.Cd=this.gg=!0};m.prototype.Ro=function(){if(this.gg){-1===this.Fe&&(this.Fe=0);var a,c,b;if(this.Qc)for(a=
this.Fe,c=this.d.length;a<c;++a)b=this.d[a],b.Fd=a,this.Eb.Sw(b.kc);else for(a=this.Fe,c=this.d.length;a<c;++a)this.d[a].Fd=a;this.gg=!1;this.Fe=-1}};m.prototype.Sb=function(a){return this.Zv()*(this.b.Hc||a?this.b.rh:1)};m.prototype.Zv=function(){return(this.scale*this.Sa.scale-1)*this.Gd+1};m.prototype.bb=function(){return this.fe?0:Ka(this.Sa.k+this.k)};var a=[],f=[],g=[];m.prototype.Em=function(){this.Ro();this.Eb.Tk(this.qa,this.ta,this.za,this.ya,g);if(!g.length)return q();if(1===g.length){var a=
q();Ba(a,g[0]);R(g);return a}for(var c=!0;1<g.length;){for(var a=g,b=void 0,k=void 0,e=void 0,p=void 0,u=void 0,b=0,k=a.length;b<k-1;b+=2){var e=a[b],p=a[b+1],u=q(),h=e,l=p,v=u,m=0,t=0,S=0,B=h.length,A=l.length,J=void 0,I=void 0;for(v.length=B+A;m<B&&t<A;++S)J=h[m],I=l[t],J.Fd<I.Fd?(v[S]=J,++m):(v[S]=I,++t);for(;m<B;++m,++S)v[S]=h[m];for(;t<A;++t,++S)v[S]=l[t];c||(n(e),n(p));f.push(u)}1===k%2&&(c?(e=q(),Ba(e,a[k-1]),f.push(e)):f.push(a[k-1]));Ba(a,f);R(f);c=!1}a=g[0];R(g);return a};m.prototype.Gc=
function(a){this.Ud=this.Oj||1!==this.opacity||0!==this.Ib;var c=this.b.canvas,b=a,f=!1;this.Ud&&(this.b.nk||(this.b.nk=document.createElement("canvas"),c=this.b.nk,c.width=this.b.I,c.height=this.b.H,this.b.Lq=c.getContext("2d"),f=!0),c=this.b.nk,b=this.b.Lq,c.width!==this.b.I&&(c.width=this.b.I,f=!0),c.height!==this.b.H&&(c.height=this.b.H,f=!0),f&&this.b.cl(b,this.b.Ka),this.Dd&&b.clearRect(0,0,this.b.I,this.b.H));b.globalAlpha=1;b.globalCompositeOperation="source-over";this.Dd||(b.fillStyle="rgb("+
this.od[0]+","+this.od[1]+","+this.od[2]+")",b.fillRect(0,0,this.b.I,this.b.H));b.save();this.fe=!0;var f=this.Pb(0,0,!0,!0),g=this.Pb(0,0,!1,!0);this.fe=!1;this.b.xd&&(f=Math.round(f),g=Math.round(g));this.Yk(f,g,b);var e=this.Sb();b.scale(e,e);b.translate(-f,-g);this.Qc?(this.yb.left=this.Eb.Wb(this.qa),this.yb.top=this.Eb.Xb(this.ta),this.yb.right=this.Eb.Wb(this.za),this.yb.bottom=this.Eb.Xb(this.ya),this.Cd||!this.yb.Ah(this.Mg)?(n(this.pe),f=this.Em(),this.Cd=!1,this.Mg.vh(this.yb)):f=this.pe):
f=this.d;for(var p,h=null,g=0,e=f.length;g<e;++g)p=f[g],p!==h&&(this.Uu(p,b),h=p);this.Qc&&(this.pe=f);b.restore();this.Ud&&(a.globalCompositeOperation=this.uh,a.globalAlpha=this.opacity,a.drawImage(c,0,0))};m.prototype.Uu=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.pa();var b=a.wa;b.right<this.qa||b.bottom<this.ta||b.left>this.za||b.top>this.ya||(c.globalCompositeOperation=a.uh,a.Gc(c))}};m.prototype.xl=function(){this.fe=!0;var a=this.Pb(0,0,!0,!0),c=this.Pb(0,0,!1,!0);this.fe=!1;this.b.xd&&
(a=Math.round(a),c=Math.round(c));this.Yk(a,c,null)};m.prototype.Yk=function(a,c,b){var f=this.Sb();this.qa=a;this.ta=c;this.za=a+1/f*this.b.I;this.ya=c+1/f*this.b.H;this.qa>this.za&&(a=this.qa,this.qa=this.za,this.za=a);this.ta>this.ya&&(a=this.ta,this.ta=this.ya,this.ya=a);a=this.bb();0!==a&&(b&&(b.translate(this.b.I/2,this.b.H/2),b.rotate(-a),b.translate(this.b.I/-2,this.b.H/-2)),this.Be.set(this.qa,this.ta,this.za,this.ya),this.Be.offset((this.qa+this.za)/-2,(this.ta+this.ya)/-2),this.Es.ks(this.Be,
a),this.Es.Ep(this.Be),this.Be.offset((this.qa+this.za)/2,(this.ta+this.ya)/2),this.qa=this.Be.left,this.ta=this.Be.top,this.za=this.Be.right,this.ya=this.Be.bottom)};m.prototype.sg=function(a){if(this.Ud=this.Oj){this.b.gb||(this.b.gb=a.Fc(this.b.I,this.b.H,this.b.Ka));if(this.b.gb.rf!==this.b.I||this.b.gb.qf!==this.b.H)a.deleteTexture(this.b.gb),this.b.gb=a.Fc(this.b.I,this.b.H,this.b.Ka);a.ed(this.b.gb)}this.fe=!0;var c=this.Pb(0,0,!0,!0),b=this.Pb(0,0,!1,!0);this.fe=!1;this.b.xd&&(c=Math.round(c),
b=Math.round(b));this.Yk(c,b,null);c=this.Sb();a.dd();a.scale(c,c);a.Zk(-this.bb());a.translate((this.qa+this.za)/-2,(this.ta+this.ya)/-2);a.Pc();this.Qc?(this.yb.left=this.Eb.Wb(this.qa),this.yb.top=this.Eb.Xb(this.ta),this.yb.right=this.Eb.Wb(this.za),this.yb.bottom=this.Eb.Xb(this.ya),this.Cd||!this.yb.Ah(this.Mg)?(n(this.pe),c=this.Em(),this.Cd=!1,this.Mg.vh(this.yb)):c=this.pe):c=this.d;for(var f,g=null,b=c.length-1;0<=b;--b)f=c[b],f!==g&&(this.Wu(c[b],a),g=f);this.Qc&&(this.pe=c);this.Dd||(this.Xl=
this.b.vf++,a.dl(this.Xl),a.as(1,1,1),a.dq(),a.Lx())};m.prototype.Rb=function(a){var c=0,b=0;if(this.Ud=this.Oj||1!==this.opacity||0<this.ka.length||0!==this.Ib){this.b.gb||(this.b.gb=a.Fc(this.b.I,this.b.H,this.b.Ka));if(this.b.gb.rf!==this.b.I||this.b.gb.qf!==this.b.H)a.deleteTexture(this.b.gb),this.b.gb=a.Fc(this.b.I,this.b.H,this.b.Ka);a.ed(this.b.gb);this.Dd&&a.clear(0,0,0,0)}this.Dd||(this.b.Fa?(a.dl(this.Xl),a.as(this.od[0]/255,this.od[1]/255,this.od[2]/255),a.dq(),a.ay()):a.clear(this.od[0]/
255,this.od[1]/255,this.od[2]/255,1));this.fe=!0;var f=this.Pb(0,0,!0,!0),c=this.Pb(0,0,!1,!0);this.fe=!1;this.b.xd&&(f=Math.round(f),c=Math.round(c));this.Yk(f,c,null);f=this.Sb();a.dd();a.scale(f,f);a.Zk(-this.bb());a.translate((this.qa+this.za)/-2,(this.ta+this.ya)/-2);a.Pc();this.Qc?(this.yb.left=this.Eb.Wb(this.qa),this.yb.top=this.Eb.Xb(this.ta),this.yb.right=this.Eb.Wb(this.za),this.yb.bottom=this.Eb.Xb(this.ya),this.Cd||!this.yb.Ah(this.Mg)?(n(this.pe),c=this.Em(),this.Cd=!1,this.Mg.vh(this.yb)):
c=this.pe):c=this.d;var g,e,p=null,b=0;for(g=c.length;b<g;++b)e=c[b],e!==p&&(this.Vu(c[b],a),p=e);this.Qc&&(this.pe=c);this.Ud&&(c=this.ka.length?this.ka[0].$a:0,b=this.ka.length?this.ka[0].index:0,0===this.ka.length||1===this.ka.length&&!a.Xn(c)&&1===this.opacity?(1===this.ka.length?(a.nc(c),a.bh(this.Sa.Jh(),1/this.b.I,1/this.b.H,0,0,1,1,f,this.bb(),this.qa,this.ta,(this.qa+this.za)/2,(this.ta+this.ya)/2,this.b.fb.M,this.Oa[b]),a.Qk(c)&&(this.b.ea=!0)):a.nc(0),a.ed(this.Sa.Jh()),a.Yf(this.opacity),
a.Cc(this.b.gb),a.jf(this.Nb,this.Jb),a.dd(),a.Pc(),f=this.b.I/2,c=this.b.H/2,a.Xg(-f,c,f,c,f,-c,-f,-c),a.Cc(null)):this.Sa.bo(a,this,null,this.Sa.Jh()))};m.prototype.Vu=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.pa();var b=a.wa;b.right<this.qa||b.bottom<this.ta||b.left>this.za||b.top>this.ya||(c.dl(a.vf),a.Rs?this.Xu(a,c):(c.nc(0),c.jf(a.Nb,a.Jb),a.Rb(c)))}};m.prototype.Wu=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.pa();var b=a.wa;b.right<this.qa||b.bottom<this.ta||b.left>
this.za||b.top>this.ya||(a.vf=this.b.vf++,0===a.Ib&&1===a.opacity&&a.ye&&a.sg&&(c.dl(a.vf),a.sg(c)))}};m.prototype.Xu=function(a,c){var b=a.ka[0].$a,f=a.ka[0].index,g=this.Sb();if(1!==a.ka.length||c.Xn(b)||c.Cx(b)||(a.k||a.i.bb())&&c.Ci(b)||1!==a.opacity||a.type.xa.lr)this.Sa.bo(c,this,a,this.Ud?this.b.gb:this.Sa.Jh()),c.dd(),c.scale(g,g),c.Zk(-this.bb()),c.translate((this.qa+this.za)/-2,(this.ta+this.ya)/-2),c.Pc();else{c.nc(b);c.jf(a.Nb,a.Jb);c.Qk(b)&&(this.b.ea=!0);var e=0,n=0,h=0,l=0;c.Ci(b)&&
(l=a.wa,e=this.Ba(l.left,l.top,!0,!0),n=this.Ba(l.left,l.top,!1,!0),h=this.Ba(l.right,l.bottom,!0,!0),l=this.Ba(l.right,l.bottom,!1,!0),e=e/windowWidth,n=1-n/windowHeight,h=h/windowWidth,l=1-l/windowHeight);var v;a.xb&&a.xb.Ha?(v=a.xb.Ha,b=1/v.width,v=1/v.height):(b=1/a.width,v=1/a.height);c.bh(this.Ud?this.b.gb:this.Sa.Jh(),b,v,e,n,h,l,g,this.bb(),this.qa,this.ta,(this.qa+this.za)/2,(this.ta+this.ya)/2,this.b.fb.M,a.Oa[f]);a.Rb(c)}};m.prototype.Pb=function(a,c,b,f){var g=this.b.devicePixelRatio;
this.b.Hf&&(a*=g,c*=g);var g=this.b.Lr,e=this.b.Mr,g=(this.Sa.scrollX-g)*this.ad+g,e=(this.Sa.scrollY-e)*this.bd+e,n=g,h=e,l=1/this.Sb(!f);f?(n-=this.b.I*l/2,h-=this.b.H*l/2):(n-=this.b.width*l/2,h-=this.b.height*l/2);n+=a*l;h+=c*l;c=this.bb();0!==c&&(n-=g,h-=e,a=Math.cos(c),c=Math.sin(c),f=n*a-h*c,h=h*a+n*c,n=f+g,h+=e);return b?n:h};m.prototype.Ba=function(a,c,b,f){var g=this.b.Lr,e=this.b.Mr,n=(this.Sa.scrollX-g)*this.ad+g,h=(this.Sa.scrollY-e)*this.bd+e,e=n,g=h,l=this.bb();if(0!==l){a-=n;c-=h;
var v=Math.cos(-l),l=Math.sin(-l),p=a*v-c*l;c=c*v+a*l;a=p+n;c+=h}n=1/this.Sb(!f);f?(e-=this.b.I*n/2,g-=this.b.H*n/2):(e-=this.b.width*n/2,g-=this.b.height*n/2);e=(a-e)/n;g=(c-g)/n;a=this.b.devicePixelRatio;this.b.Hf&&!f&&(e/=a,g/=a);return b?e:g};m.prototype.kb=function(){var a,c,b,f={s:this.scale,a:this.k,vl:this.qa,vt:this.ta,vr:this.za,vb:this.ya,v:this.visible,bc:this.od,t:this.Dd,px:this.ad,py:this.bd,o:this.opacity,zr:this.Gd,fx:[],cg:this.xh,instances:[]};a=0;for(c=this.O.length;a<c;a++)b=
this.O[a],f.fx.push({name:b.name,active:b.lb,params:this.Oa[b.index]});return f};m.prototype.Bb=function(a){var c,b,f;this.scale=a.s;this.k=a.a;this.qa=a.vl;this.ta=a.vt;this.za=a.vr;this.ya=a.vb;this.visible=a.v;this.od=a.bc;this.Dd=a.t;this.ad=a.px;this.bd=a.py;this.opacity=a.o;this.Gd=a.zr;this.xh=a.cg||[];Ba(this.Jc,this.vs);var g=new ba;c=0;for(f=this.xh.length;c<f;++c)g.add(this.xh[c]);b=c=0;for(f=this.Jc.length;c<f;++c)g.contains(this.Jc[c][2])||(this.Jc[b]=this.Jc[c],++b);Aa(this.Jc,b);b=
a.fx;c=0;for(f=b.length;c<f;c++)if(a=this.zm(b[c].name))a.lb=b[c].active,this.Oa[a.index]=b[c].params;this.Ed();this.d.sort(p);this.gg=!0};Wb=m})();
(function(){function e(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 p(a,b){return a.index-b.index}function m(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(p);a.length>=D.length&&(D.length=a.length+1);D[a.length]||(D[a.length]=[]);f=D[a.length];b=0;for(c=f.length;b<c;b++)if(d=f[b],e(a,d))return d;f.push(a);return a}
function q(a,b){this.b=a;this.Gs={};this.Yp={};this.Lm=!1;this.pq=new ba;this.fm=[];this.Ll=[];this.name=b[0];var c=b[1];this.Se=[];var d,f;d=0;for(f=c.length;d<f;d++)this.rq(c[d],null,this.Se)}function n(a){this.type=a;this.d=[];this.X=[];this.Z=!0}function t(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ea=[];this.kf=[];this.oq=this.rl=this.Jo=this.Rm=this.group=this.us=!1;this.nb=[];this.Sc=[];this.gd=[];this.Nh="";this.Mh=this.Rm=this.group=!1;this.sj=null;c[1]&&(this.Nh=c[1][1].toLowerCase(),
this.group=!0,this.Rm=!!c[1][0],this.sj=[],this.Mh=this.Rm,this.b.lg.push(this),this.b.Uj[this.Nh]=this);this.$c=c[2];this.S=c[4];this.group||(this.b.Dp[this.S.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.nb.push(f);this.yp(f.type)}d=c[6];a=0;for(b=d.length;a<b;a++)f=new Yb(this,d[a]),f.index=a,this.Sc.push(f);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.rq(c[a],this,this.gd);this.hk=!1;this.nb.length&&(this.hk=null==this.nb[0].type&&
this.nb[0].zb==X.prototype.j.dt)}function b(a,b){var c,d,f;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Mb))for(c=0,d=a.uc.length;c<d;c++)f=a.uc[c],a!==f&&-1===b.indexOf(f)&&b.push(f)}function a(a,b){this.Ec=a;this.sheet=a.sheet;this.b=a.b;this.W=[];this.Qa=[];this.D={};this.index=-1;this.oh=!1;this.zb=this.b.Ge(b[1]);this.trigger=0<b[3];this.Xp=2===b[3];this.Pd=b[4];this.$j=b[5];this.Nw=b[6];this.S=b[7];this.b.Me[this.S.toString()]=this;-1===b[0]?(this.type=null,this.Za=this.ho,this.pf=null,this.pd=-1):
(this.type=this.b.q[b[0]],this.Za=this.Nw?this.Sx:this.fo,b[2]?(this.pf=this.type.Rj(b[2]),this.pd=this.type.xm(b[2])):(this.pf=null,this.pd=-1),this.Ec.parent&&this.Ec.parent.el());this.Xp&&(this.Za=this.Tx);if(10===b.length){var c,d,f=b[9];c=0;for(d=f.length;c<d;c++){var g=new Zb(this,f[c]);this.W.push(g)}this.Qa.length=f.length}}function f(a,b){this.Ec=a;this.sheet=a.sheet;this.b=a.b;this.W=[];this.Qa=[];this.D={};this.index=-1;this.oh=!1;this.zb=this.b.Ge(b[1]);-1===b[0]?(this.type=null,this.Za=
this.ho,this.pf=null,this.pd=-1):(this.type=this.b.q[b[0]],this.Za=this.fo,b[2]?(this.pf=this.type.Rj(b[2]),this.pd=this.type.xm(b[2])):(this.pf=null,this.pd=-1));this.S=b[3];this.b.Ie[this.S.toString()]=this;if(6===b.length){var c,d,f=b[5];c=0;for(d=f.length;c<d;c++){var g=new Zb(this,f[c]);this.W.push(g)}this.Qa.length=f.length}}function g(){u++;K.length===u&&K.push(new $b);return K[u]}function d(a,b){this.Ga=a;this.Ec=a.Ec;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Ld=null;this.ze=0;this.get=
null;this.Mp=0;this.Sa=null;this.key=0;this.object=null;this.index=0;this.Wi=this.bg=this.Wi=this.bg=this.aq=this.yf=this.Xi=null;this.ld=!1;var c,d,f;switch(b[0]){case 0:case 7:this.Ld=new ac(this,b[1]);this.ze=0;this.get=this.hw;break;case 1:this.Ld=new ac(this,b[1]);this.ze=0;this.get=this.iw;break;case 5:this.Ld=new ac(this,b[1]);this.ze=0;this.get=this.mw;break;case 3:case 8:this.Mp=b[1];this.get=this.fw;break;case 6:this.Sa=this.b.wn[b[1]];this.get=this.ow;break;case 9:this.key=b[1];this.get=
this.lw;break;case 4:this.object=this.b.q[b[1]];this.get=this.pw;this.Ec.yp(this.object);this.Ga instanceof Yb?this.Ec.el():this.Ec.parent&&this.Ec.parent.el();break;case 10:this.index=b[1];a.type&&a.type.F?(this.get=this.jw,this.ld=!0):this.get=this.kw;break;case 11:this.Xi=b[1];this.yf=null;this.get=this.gw;break;case 2:case 12:this.aq=b[1];this.get=this.ew;break;case 13:for(this.get=this.qw,this.bg=[],this.Wi=[],c=1,d=b.length;c<d;c++)f=new Zb(this.Ga,b[c]),this.bg.push(f),this.Wi.push(0)}}function c(a,
b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ea=[];this.name=c[1];this.zl=c[2];this.Qm=c[3];this.$h=!!c[4];this.fk=!!c[5];this.S=c[6];this.b.mh[this.S.toString()]=this;this.data=this.Qm;this.parent?(this.Nf=this.$h||this.fk?-1:this.b.ey++,this.b.ju.push(this)):(this.Nf=-1,this.b.iu.push(this))}function w(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ea=[];this.Ph=null;this.yw=c[1];this.lb=!0}function k(){this.xs=[];this.reset(null)}var D=[];q.prototype.toString=function(){return this.name};
q.prototype.rq=function(a,b,c){switch(a[0]){case 0:a=new bc(this,b,a);if(a.$c)for(c.push(a),c=0,b=a.nb.length;c<b;c++)a.nb[c].trigger&&this.sq(a,c);else a.zq()?this.sq(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.Ta=function(){var a,b;a=0;for(b=this.Se.length;a<b;a++)this.Se[a].Ta(a<b-1&&this.Se[a+1].hk)};q.prototype.Po=function(){R(this.fm);R(this.Ll);this.wp(this);R(this.Ll)};q.prototype.wp=function(a){var b,c,d,f,g=a.fm,k=a.Ll,
e=this.pq.kd();b=0;for(c=e.length;b<c;++b)d=e[b],f=d.Ph,!d.lb||a===f||-1<k.indexOf(f)||(k.push(f),f.wp(a),g.push(f))};q.prototype.Za=function(a){this.b.Pz||(this.Lm=!0,a||(this.b.gn=!0));var b,c;b=0;for(c=this.Se.length;b<c;b++){var d=this.Se[b];d.Za();this.b.Wl(d.Ea);this.b.Ue&&this.b.Hb()}a||(this.b.gn=!1)};q.prototype.sq=function(a,b){a.$c||this.b.tl.push(a);var c,d,f=a.nb[b],g;f.type?g=f.type.name:g="system";var k=(c=f.Xp)?this.Yp:this.Gs;k[g]||(k[g]=[]);g=k[g];k=f.zb;if(c){if(f.W.length&&(f=
f.W[0],1===f.type&&2===f.Ld.type)){f=f.Ld.value.toLowerCase();c=0;for(d=g.length;c<d;c++)if(g[c].method==k){c=g[c].Bh;c[f]?c[f].push([a,b]):c[f]=[[a,b]];return}c={};c[f]=[[a,b]];g.push({method:k,Bh:c})}}else{c=0;for(d=g.length;c<d;c++)if(g[c].method==k){g[c].Bh.push([a,b]);return}Y&&k===Y.prototype.j.kg?g.unshift({method:k,Bh:[[a,b]]}):g.push({method:k,Bh:[[a,b]]})}};Jb=q;n.prototype.Zj=function(){return this.Z?this.type.d.length:this.d.length};n.prototype.fc=function(){return this.Z?this.type.d:
this.d};n.prototype.Bi=function(a){a&&(a.b.pb().Qb.$c?(this.Z&&(R(this.d),Ba(this.X,a.type.d),this.Z=!1),a=this.X.indexOf(a),-1!==a&&(this.d.push(this.X[a]),this.X.splice(a,1))):(this.Z=!1,R(this.d),this.d[0]=a))};pb=n;window._c2hh_="FFF94A6EAE2FBB5936CF547E74E4744584CC5B62";t.prototype.Ta=function(a){var b,c=this.parent;if(this.group)for(this.rl=!0;c;){if(!c.group){this.rl=!1;break}c=c.parent}this.Jo=!this.zq()&&(!this.parent||this.parent.group&&this.parent.rl);this.oq=!!a;this.kf=this.Ea.slice(0);
for(c=this.parent;c;){a=0;for(b=c.Ea.length;a<b;a++)this.eu(c.Ea[a]);c=c.parent}this.Ea=m(this.Ea);this.kf=m(this.kf);a=0;for(b=this.nb.length;a<b;a++)this.nb[a].Ta();a=0;for(b=this.Sc.length;a<b;a++)this.Sc[a].Ta();a=0;for(b=this.gd.length;a<b;a++)this.gd[a].Ta(a<b-1&&this.gd[a+1].hk)};t.prototype.Xx=function(a){if(this.Mh!==!!a){this.Mh=!!a;var b;a=0;for(b=this.sj.length;a<b;++a)this.sj[a].Ls();0<b&&this.b.fa.xf&&this.b.fa.xf.Po()}};t.prototype.yp=function(a){b(a,this.Ea)};t.prototype.eu=function(a){b(a,
this.kf)};t.prototype.el=function(){this.us=!0;this.parent&&this.parent.el()};t.prototype.zq=function(){return this.nb.length?this.nb[0].trigger:!1};t.prototype.Za=function(){var a,b,c=!1,d=this.b,f=this.b.pb();f.Qb=this;var g=this.nb;this.hk||(f.lm=!1);if(this.$c){0===g.length&&(c=!0);f.mb=0;for(a=g.length;f.mb<a;f.mb++)b=g[f.mb],b.trigger||(b=b.Za())&&(c=!0);(f.Jf=c)&&this.$k()}else{f.mb=0;for(a=g.length;f.mb<a;f.mb++)if(b=g[f.mb].Za(),!b){f.Jf=!1;this.Jo&&d.Ue&&d.Hb();return}f.Jf=!0;this.$k()}this.bv(f)};
t.prototype.bv=function(a){a.Jf&&this.oq&&(a.lm=!0);this.Jo&&this.b.Ue&&this.b.Hb()};t.prototype.Qx=function(a){this.b.pb().Qb=this;this.nb[a].Za()&&(this.$k(),this.b.pb().Jf=!0)};t.prototype.$k=function(){var a=this.b.pb(),b;a.Yb=0;for(b=this.Sc.length;a.Yb<b;a.Yb++)if(this.Sc[a.Yb].Za())return;this.Zr()};t.prototype.Nx=function(){var a=this.b.pb(),b;for(b=this.Sc.length;a.Yb<b;a.Yb++)if(this.Sc[a.Yb].Za())return;this.Zr()};t.prototype.Zr=function(){if(this.gd.length){var a,b,c,d,f=this.gd.length-
1;this.b.Sk(this);if(this.us)for(a=0,b=this.gd.length;a<b;a++)c=this.gd[a],(d=!this.rl||!this.group&&a<f)&&this.b.Rk(c.Ea),c.Za(),d?this.b.Vf(c.Ea):this.b.Wl(c.Ea);else for(a=0,b=this.gd.length;a<b;a++)this.gd[a].Za();this.b.Nk()}};t.prototype.Rx=function(){var a=this.b.pb();a.Qb=this;var b=!1,c;a.mb=0;for(c=this.nb.length;a.mb<c;a.mb++)if(this.nb[a.mb].Za())b=!0;else if(!this.$c)return!1;return this.$c?b:!0};t.prototype.Ox=function(){this.b.zf++;var a=this.b.pb().mb,b=this.b.Sk(this);if(!this.$c)for(b.mb=
a+1,a=this.nb.length;b.mb<a;b.mb++)if(!this.nb[b.mb].Za()){this.b.Nk();return}this.$k();this.b.Nk()};t.prototype.Ew=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.nb[b].type===a.type)return!1;return!0};bc=t;a.prototype.Ta=function(){var a,b,c;a=0;for(b=this.W.length;a<b;a++)c=this.W[a],c.Ta(),c.ld&&(this.oh=!0)};a.prototype.Tx=function(){return!0};a.prototype.ho=function(){var a,b;a=0;for(b=this.W.length;a<b;a++)this.Qa[a]=this.W[a].get();return Ta(this.zb.apply(this.b.Vd,this.Qa),
this.$j)};a.prototype.Sx=function(){var a,b;a=0;for(b=this.W.length;a<b;a++)this.Qa[a]=this.W[a].get();a=this.zb.apply(this.pf?this.pf:this.type,this.Qa);this.type.nd();return a};a.prototype.fo=function(){var a,b,c,d,f,g,k,e,n=this.type,p=n.U(),m=this.Ec.$c&&!this.trigger;b=0;var u=n.Mb,q=n.F,t=n.ie,D=this.pd,w=-1<D,K=this.oh,E=this.W,r=this.Qa,y=this.$j,z=this.zb,H;if(K)for(b=0,f=E.length;b<f;++b)g=E[b],g.ld||(r[b]=g.get(0));else for(b=0,f=E.length;b<f;++b)r[b]=E[b].get(0);if(p.Z){R(p.d);R(p.X);
H=n.d;a=0;for(d=H.length;a<d;++a){e=H[a];if(K)for(b=0,f=E.length;b<f;++b)g=E[b],g.ld&&(r[b]=g.get(a));w?(b=0,q&&(b=e.type.vg[t]),b=z.apply(e.G[D+b],r)):b=z.apply(e,r);(k=Ta(b,y))?p.d.push(e):m&&p.X.push(e)}n.finish&&n.finish(!0);p.Z=!1;n.nd();return p.Zj()}c=0;H=(k=m&&!this.Ec.Ew(this))?p.X:p.d;var F=!1;a=0;for(d=H.length;a<d;++a){e=H[a];if(K)for(b=0,f=E.length;b<f;++b)g=E[b],g.ld&&(r[b]=g.get(a));w?(b=0,q&&(b=e.type.vg[t]),b=z.apply(e.G[D+b],r)):b=z.apply(e,r);if(Ta(b,y))if(F=!0,k){if(p.d.push(e),
u)for(b=0,f=e.siblings.length;b<f;b++)g=e.siblings[b],g.type.U().d.push(g)}else{H[c]=e;if(u)for(b=0,f=e.siblings.length;b<f;b++)g=e.siblings[b],g.type.U().d[c]=g;c++}else if(k){H[c]=e;if(u)for(b=0,f=e.siblings.length;b<f;b++)g=e.siblings[b],g.type.U().X[c]=g;c++}else if(m&&(p.X.push(e),u))for(b=0,f=e.siblings.length;b<f;b++)g=e.siblings[b],g.type.U().X.push(g)}Aa(H,c);if(u)for(q=n.uc,a=0,d=q.length;a<d;a++)e=q[a].U(),k?Aa(e.X,c):Aa(e.d,c);c=F;if(k&&!F)for(a=0,d=p.d.length;a<d;a++){e=p.d[a];if(K)for(b=
0,f=E.length;b<f;b++)g=E[b],g.ld&&(r[b]=g.get(a));b=w?z.apply(e.G[D],r):z.apply(e,r);if(Ta(b,y)){F=!0;break}}n.finish&&n.finish(c||m);return m?F:p.Zj()};Xb=a;f.prototype.Ta=function(){var a,b,c;a=0;for(b=this.W.length;a<b;a++)c=this.W[a],c.Ta(),c.ld&&(this.oh=!0)};f.prototype.ho=function(){var a=this.b,b,c,d=this.W,f=this.Qa;b=0;for(c=d.length;b<c;++b)f[b]=d[b].get();return this.zb.apply(a.Vd,f)};f.prototype.fo=function(){var a=this.type,b=this.pd,c=a.ie,d=this.oh,f=this.W,g=this.Qa,k=this.zb,e=a.U().fc(),
a=a.F,n=-1<b,p,m,u,q,t,D;if(d)for(m=0,q=f.length;m<q;++m)t=f[m],t.ld||(g[m]=t.get(0));else for(m=0,q=f.length;m<q;++m)g[m]=f[m].get(0);p=0;for(u=e.length;p<u;++p){D=e[p];if(d)for(m=0,q=f.length;m<q;++m)t=f[m],t.ld&&(g[m]=t.get(p));n?(m=0,a&&(m=D.type.vg[c]),k.apply(D.G[b+m],g)):k.apply(D,g)}return!1};Yb=f;var K=[],u=-1;d.prototype.Ta=function(){var a,b;if(11===this.type)this.yf=this.b.jq(this.Xi,this.Ec.parent);else if(13===this.type)for(a=0,b=this.bg.length;a<b;a++)this.bg[a].Ta();this.Ld&&this.Ld.Ta()};
d.prototype.Uw=function(a){this.ld||!a||a.xa.gl||(this.ld=!0)};d.prototype.hs=function(){this.ld=!0};d.prototype.hw=function(a){this.ze=a||0;a=g();this.Ld.get(a);u--;return a.data};d.prototype.iw=function(a){this.ze=a||0;a=g();this.Ld.get(a);u--;return x(a.data)?a.data:""};d.prototype.pw=function(){return this.object};d.prototype.fw=function(){return this.Mp};d.prototype.mw=function(a){this.ze=a||0;a=g();this.Ld.get(a);u--;return a.qb()?this.b.Ih(a.data):this.b.Cm(a.data)};d.prototype.ow=function(){return this.Sa};
d.prototype.lw=function(){return this.key};d.prototype.kw=function(){return this.index};d.prototype.jw=function(a){a=a||0;var b=this.Ga.type,c=null,c=b.U(),d=c.fc();if(d.length)c=d[a%d.length].type;else if(c.X.length)c=c.X[a%c.X.length].type;else if(b.d.length)c=b.d[a%b.d.length].type;else return 0;return this.index+c.Ij[b.ie]};d.prototype.gw=function(){return this.yf};d.prototype.ew=function(){return this.aq};d.prototype.qw=function(){var a,b;a=0;for(b=this.bg.length;a<b;a++)this.Wi[a]=this.bg[a].get();
return this.Wi};Zb=d;c.prototype.Ta=function(){this.Ea=m(this.Ea)};c.prototype.$f=function(a){var b=this.b.iq();this.parent&&!this.$h&&b?(this.Nf>=b.length&&(b.length=this.Nf+1),b[this.Nf]=a):this.data=a};c.prototype.Kh=function(){var a=this.b.iq();return!this.parent||this.$h||!a||this.fk?this.data:this.Nf>=a.length||"undefined"===typeof a[this.Nf]?this.Qm:a[this.Nf]};c.prototype.Za=function(){!this.parent||this.$h||this.fk||this.$f(this.Qm)};Tb=c;w.prototype.toString=function(){return"include:"+
this.Ph.toString()};w.prototype.Ta=function(){this.Ph=this.b.nm[this.yw];this.sheet.pq.add(this);this.Ea=m(this.Ea);for(var a=this.parent;a;)a.group&&a.sj.push(this),a=a.parent;this.Ls()};w.prototype.Za=function(){this.parent&&this.b.Ei(this.b.q);this.Ph.Lm||this.Ph.Za(!0);this.parent&&this.b.Vf(this.b.q)};w.prototype.Ls=function(){for(var a=this.parent;a;){if(a.group&&!a.Mh){this.lb=!1;return}a=a.parent}this.lb=!0};cc=w;k.prototype.reset=function(a){this.Qb=a;this.Yb=this.mb=0;R(this.xs);this.lm=
this.Jf=!1};Sb=k})();
(function(){function e(b,a){this.Ga=b;this.b=b.b;this.type=a[0];this.get=[this.vv,this.rv,this.Ev,this.Hv,this.gv,this.Fv,this.zv,this.ov,this.yv,this.Dv,this.hv,this.Cv,this.pv,this.Av,this.wv,this.xv,this.sv,this.tv,this.nv,this.Gv,this.Bv,this.uv,this.mv,this.qv][this.type];var f=null;this.te=this.W=this.Qa=this.zb=this.ql=this.second=this.first=this.value=null;this.pd=-1;this.td=null;this.Ss=-1;this.yf=this.Xi=null;this.ah=!1;switch(this.type){case 0:case 1:case 2:this.value=a[1];break;case 3:this.first=
new ac(b,a[1]);break;case 18:this.first=new ac(b,a[1]);this.second=new ac(b,a[2]);this.ql=new ac(b,a[3]);break;case 19:this.zb=this.b.Ge(a[1]);this.zb!==X.prototype.Aa.random&&this.zb!==X.prototype.Aa.tu||this.Ga.hs();this.Qa=[];this.W=[];3===a.length?(f=a[2],this.Qa.length=f.length+1):this.Qa.length=1;break;case 20:this.te=this.b.q[a[1]];this.pd=-1;this.zb=this.b.Ge(a[2]);this.ah=a[3];fc.Function&&this.zb===fc.Function.prototype.Aa.Gy&&this.Ga.hs();a[4]?this.td=new ac(b,a[4]):this.td=null;this.Qa=
[];this.W=[];6===a.length?(f=a[5],this.Qa.length=f.length+1):this.Qa.length=1;break;case 21:this.te=this.b.q[a[1]];this.ah=a[2];a[3]?this.td=new ac(b,a[3]):this.td=null;this.Ss=a[4];break;case 22:this.te=this.b.q[a[1]];this.te.Rj(a[2]);this.pd=this.te.xm(a[2]);this.zb=this.b.Ge(a[3]);this.ah=a[4];a[5]?this.td=new ac(b,a[5]):this.td=null;this.Qa=[];this.W=[];7===a.length?(f=a[6],this.Qa.length=f.length+1):this.Qa.length=1;break;case 23:this.Xi=a[1],this.yf=null}this.Ga.Uw(this.te);4<=this.type&&17>=
this.type&&(this.first=new ac(b,a[1]),this.second=new ac(b,a[2]));if(f){var g,d;g=0;for(d=f.length;g<d;g++)this.W.push(new ac(b,f[g]))}}function p(){++t;n.length===t&&n.push(new $b);return n[t]}function m(b,a,f){var g,d;g=0;for(d=b.length;g<d;++g)b[g].get(f),a[g+1]=f.data}function q(b,a){this.type=b||dc.ig;this.data=a||0;this.Rf=null;this.type==dc.ig&&(this.data=Math.floor(this.data))}e.prototype.Ta=function(){23===this.type&&(this.yf=this.Ga.b.jq(this.Xi,this.Ga.Ec.parent));this.first&&this.first.Ta();
this.second&&this.second.Ta();this.ql&&this.ql.Ta();this.td&&this.td.Ta();if(this.W){var b,a;b=0;for(a=this.W.length;b<a;b++)this.W[b].Ta()}};var n=[],t=-1;e.prototype.Gv=function(b){var a=this.W,f=this.Qa;f[0]=b;b=p();m(a,f,b);--t;this.zb.apply(this.b.Vd,f)};e.prototype.Bv=function(b){var a=this.te,f=this.Qa,g=this.W,d=this.td,c=this.zb,e=this.Ga.ze,k=a.U(),n=k.fc();if(!n.length)if(k.X.length)n=k.X;else{this.ah?b.Dc(""):b.ua(0);return}f[0]=b;b.Rf=a;b=p();m(g,f,b);d&&(d.get(b),b.qb()&&(e=b.data,n=
a.d));--t;a=n.length;if(e>=a||e<=-a)e%=a;0>e&&(e+=a);c.apply(n[e],f)};e.prototype.mv=function(b){var a=this.te,f=this.Qa,g=this.W,d=this.td,c=this.pd,e=this.zb,k=this.Ga.ze,n=a.U(),q=n.fc();if(!q.length)if(n.X.length)q=n.X;else{this.ah?b.Dc(""):b.ua(0);return}f[0]=b;b.Rf=a;b=p();m(g,f,b);d&&(d.get(b),b.qb()&&(k=b.data,q=a.d));--t;g=q.length;if(k>=g||k<=-g)k%=g;0>k&&(k+=g);k=q[k];q=0;a.F&&(q=k.type.vg[a.ie]);e.apply(k.G[c+q],f)};e.prototype.uv=function(b){var a=this.td,f=this.te,g=this.Ss,d=this.Ga.ze,
c=f.U(),e=c.fc();if(!e.length)if(c.X.length)e=c.X;else{this.ah?b.Dc(""):b.ua(0);return}if(a){c=p();a.get(c);if(c.qb()){d=c.data;e=f.d;0!==e.length&&(d%=e.length,0>d&&(d+=e.length));d=f.Bm(d);f=d.eb[g];x(f)?b.Dc(f):b.J(f);--t;return}--t}a=e.length;if(d>=a||d<=-a)d%=a;0>d&&(d+=a);d=e[d];e=0;f.F&&(e=d.type.Ij[f.ie]);f=d.eb[g+e];x(f)?b.Dc(f):b.J(f)};e.prototype.vv=function(b){b.type=dc.ig;b.data=this.value};e.prototype.rv=function(b){b.type=dc.hg;b.data=this.value};e.prototype.Ev=function(b){b.type=dc.String;
b.data=this.value};e.prototype.Hv=function(b){this.first.get(b);b.qb()&&(b.data=-b.data)};e.prototype.gv=function(b){this.first.get(b);var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data+=a.data,a.Fg()&&b.Og());--t};e.prototype.Fv=function(b){this.first.get(b);var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data-=a.data,a.Fg()&&b.Og());--t};e.prototype.zv=function(b){this.first.get(b);var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data*=a.data,a.Fg()&&b.Og());--t};e.prototype.ov=function(b){this.first.get(b);
var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data/=a.data,b.Og());--t};e.prototype.yv=function(b){this.first.get(b);var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data%=a.data,a.Fg()&&b.Og());--t};e.prototype.Dv=function(b){this.first.get(b);var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data=Math.pow(b.data,a.data),a.Fg()&&b.Og());--t};e.prototype.hv=function(b){this.first.get(b);var a=p();this.second.get(a);a.Ig()||b.Ig()?this.jv(b,a):this.iv(b,a);--t};e.prototype.jv=function(b,a){b.Ig()&&
a.Ig()?this.lv(b,a):this.kv(b,a)};e.prototype.lv=function(b,a){b.data+=a.data};e.prototype.kv=function(b,a){b.Ig()?b.data+=(Math.round(1E10*a.data)/1E10).toString():b.Dc(b.data.toString()+a.data)};e.prototype.iv=function(b,a){b.ua(b.data&&a.data?1:0)};e.prototype.Cv=function(b){this.first.get(b);var a=p();this.second.get(a);b.qb()&&a.qb()&&(b.data||a.data?b.ua(1):b.ua(0));--t};e.prototype.nv=function(b){this.first.get(b);b.data?this.second.get(b):this.ql.get(b)};e.prototype.pv=function(b){this.first.get(b);
var a=p();this.second.get(a);b.ua(b.data===a.data?1:0);--t};e.prototype.Av=function(b){this.first.get(b);var a=p();this.second.get(a);b.ua(b.data!==a.data?1:0);--t};e.prototype.wv=function(b){this.first.get(b);var a=p();this.second.get(a);b.ua(b.data<a.data?1:0);--t};e.prototype.xv=function(b){this.first.get(b);var a=p();this.second.get(a);b.ua(b.data<=a.data?1:0);--t};e.prototype.sv=function(b){this.first.get(b);var a=p();this.second.get(a);b.ua(b.data>a.data?1:0);--t};e.prototype.tv=function(b){this.first.get(b);
var a=p();this.second.get(a);b.ua(b.data>=a.data?1:0);--t};e.prototype.qv=function(b){var a=this.yf.Kh();la(a)?b.J(a):b.Dc(a)};ac=e;q.prototype.Fg=function(){return this.type===dc.hg};q.prototype.qb=function(){return this.type===dc.ig||this.type===dc.hg};q.prototype.Ig=function(){return this.type===dc.String};q.prototype.Og=function(){this.Fg()||(this.Ig()&&(this.data=parseFloat(this.data)),this.type=dc.hg)};q.prototype.ua=function(b){this.type=dc.ig;this.data=Math.floor(b)};q.prototype.J=function(b){this.type=
dc.hg;this.data=b};q.prototype.Dc=function(b){this.type=dc.String;this.data=b};q.prototype.by=function(b){la(b)?(this.type=dc.hg,this.data=b):x(b)?(this.type=dc.String,this.data=b.toString()):(this.type=dc.ig,this.data=0)};$b=q;dc={ig:0,hg:1,String:2}})();function X(e){this.b=e;this.rc=[]}
X.prototype.kb=function(){var e={},p,m,q,n,t,b,a,f;e.waits=[];var g=e.waits,d;p=0;for(m=this.rc.length;p<m;p++){b=this.rc[p];d={t:b.time,st:b.rs,s:b.uo,ev:b.tg.S,sm:[],sols:{}};b.tg.Sc[b.Yb]&&(d.act=b.tg.Sc[b.Yb].S);q=0;for(n=b.Ea.length;q<n;q++)d.sm.push(b.Ea[q].S);for(t in b.Vb)if(b.Vb.hasOwnProperty(t)){a=this.b.q[parseInt(t,10)];f={sa:b.Vb[t].al,insts:[]};q=0;for(n=b.Vb[t].ke.length;q<n;q++)f.insts.push(b.Vb[t].ke[q].uid);d.sols[a.S.toString()]=f}g.push(d)}return e};
X.prototype.Bb=function(e){e=e.waits;var p,m,q,n,t,b,a,f,g,d,c;R(this.rc);p=0;for(m=e.length;p<m;p++)if(b=e[p],f=this.b.Dp[b.ev.toString()]){g=-1;q=0;for(n=f.Sc.length;q<n;q++)if(f.Sc[q].S===b.act){g=q;break}if(-1!==g){a={Vb:{},Ea:[],gm:!1};a.time=b.t;a.rs=b.st||"";a.uo=!!b.s;a.tg=f;a.Yb=g;q=0;for(n=b.sm.length;q<n;q++)(f=this.b.Cf(b.sm[q]))&&a.Ea.push(f);for(t in b.sols)if(b.sols.hasOwnProperty(t)&&(f=this.b.Cf(parseInt(t,10)))){g=b.sols[t];d={al:g.sa,ke:[]};q=0;for(n=g.insts.length;q<n;q++)(c=this.b.Tj(g.insts[q]))&&
d.ke.push(c);a.Vb[f.index.toString()]=d}this.rc.push(a)}}};
(function(){function e(){}function p(){}function m(){}var q=X.prototype;e.prototype.gt=function(){return!0};e.prototype.ip=function(){return!0};e.prototype.It=function(){return!0};e.prototype.et=function(b){var a=this.b.Gh(),f=a.D.Every_lastTime||0,g=this.b.fb.M;"undefined"===typeof a.D.Every_seconds&&(a.D.Every_seconds=b);var d=a.D.Every_seconds;if(g>=f+d)return a.D.Every_lastTime=f+d,g>=a.D.Every_lastTime+.04&&(a.D.Every_lastTime=g),a.D.Every_seconds=b,!0;g<f-.1&&(a.D.Every_lastTime=g);return!1};
e.prototype.bt=function(b,a,f){return ec(b.Kh(),a,f)};e.prototype.dt=function(){var b=this.b.pb();return b.lm?!1:!b.Jf};e.prototype.jp=function(){return!0};e.prototype.ut=function(){return!0};e.prototype.Fl=function(){return!0};e.prototype.np=function(){return!0};e.prototype.Jt=function(){return!0};e.prototype.bj=function(){return!0};e.prototype.Ws=function(b,a,f){return Oa(T(b),T(f))<=T(a)};e.prototype.lt=function(b,a){return Qa(T(b),T(a))};e.prototype.jt=function(b,a,f){b=Ma(b);a=Ma(a);f=Ma(f);
return Qa(f,a)?Qa(b,a)&&!Qa(b,f):!(!Qa(b,a)&&Qa(b,f))};q.j=new e;p.prototype.ct=function(b,a,f,g){if(a&&b&&(a=this.b.$l(b,a,f,g))){this.b.Lc++;var d;this.b.trigger(Object.getPrototypeOf(b.xa).j.jg,a);if(a.Mb)for(f=0,g=a.siblings.length;f<g;f++)d=a.siblings[f],this.b.trigger(Object.getPrototypeOf(d.type.xa).j.jg,d);this.b.Lc--;b=b.U();b.Z=!1;R(b.d);b.d[0]=a;if(a.Mb)for(f=0,g=a.siblings.length;f<g;f++)d=a.siblings[f],b=d.type.U(),b.Z=!1,R(b.d),b.d[0]=d}};p.prototype.Tt=function(b,a){0===b.zl?la(a)?
b.$f(a):b.$f(parseFloat(a)):1===b.zl&&b.$f(a.toString())};p.prototype.Vs=function(b,a){0===b.zl?la(a)?b.$f(b.Kh()+a):b.$f(b.Kh()+parseFloat(a)):1===b.zl&&b.$f(b.Kh()+a.toString())};var n=[],t=[];p.prototype.Zt=function(b){if(!(0>b)){var a,f,g,d=this.b.pb(),c;n.length?c=n.pop():c={Vb:{},Ea:[]};c.gm=!1;c.time=this.b.fb.M+b;c.rs="";c.uo=!1;c.tg=d.Qb;c.Yb=d.Yb+1;b=0;for(a=this.b.q.length;b<a;b++)g=this.b.q[b],f=g.U(),f.Z&&-1===d.Qb.Ea.indexOf(g)||(c.Ea.push(g),g=void 0,t.length?g=t.pop():g={ke:[]},g.al=
!1,g.al=f.Z,Ba(g.ke,f.d),c.Vb[b.toString()]=g);this.rc.push(c);return!0}};q.T=new p;m.prototype["int"]=function(b,a){x(a)?(b.ua(parseInt(a,10)),isNaN(b.data)&&(b.data=0)):b.ua(a)};m.prototype["float"]=function(b,a){x(a)?(b.J(parseFloat(a)),isNaN(b.data)&&(b.data=0)):b.J(a)};m.prototype.random=function(b,a,f){void 0===f?b.J(Math.random()*a):b.J(Math.random()*(f-a)+a)};m.prototype.sqrt=function(b,a){b.J(Math.sqrt(a))};m.prototype.abs=function(b,a){b.J(Math.abs(a))};m.prototype.round=function(b,a){b.ua(Math.round(a))};
m.prototype.floor=function(b,a){b.ua(Math.floor(a))};m.prototype.ceil=function(b,a){b.ua(Math.ceil(a))};m.prototype.sin=function(b,a){b.J(Math.sin(T(a)))};m.prototype.cos=function(b,a){b.J(Math.cos(T(a)))};m.prototype.tan=function(b,a){b.J(Math.tan(T(a)))};m.prototype.asin=function(b,a){b.J(Ha(Math.asin(a)))};m.prototype.acos=function(b,a){b.J(Ha(Math.acos(a)))};m.prototype.atan=function(b,a){b.J(Ha(Math.atan(a)))};m.prototype.exp=function(b,a){b.J(Math.exp(a))};m.prototype.log10=function(b,a){b.J(Math.log(a)/
Math.LN10)};m.prototype.max=function(b){var a=arguments[1];"number"!==typeof a&&(a=0);var f,g,d;f=2;for(g=arguments.length;f<g;f++)d=arguments[f],"number"===typeof d&&a<d&&(a=d);b.J(a)};m.prototype.min=function(b){var a=arguments[1];"number"!==typeof a&&(a=0);var f,g,d;f=2;for(g=arguments.length;f<g;f++)d=arguments[f],"number"===typeof d&&a>d&&(a=d);b.J(a)};m.prototype.Re=function(b){b.J(this.b.Re)};m.prototype.fg=function(b){b.J(this.b.fg)};m.prototype.time=function(b){b.J(this.b.fb.M)};m.prototype.jd=
function(b){b.ua(this.b.jd)};m.prototype.Ak=function(b){b.ua(this.b.Ak)};m.prototype.um=function(b){b.ua(this.b.um)};m.prototype.k=function(b,a,f,g,d){b.J(Ha(Na(a,f,g,d)))};m.prototype.yy=function(b){b.ua(this.b.width)};m.prototype.xy=function(b){b.ua(this.b.height)};m.prototype.Pw=function(b){b.ua(this.b.fa.width)};m.prototype.Ow=function(b){b.ua(this.b.fa.height)};m.prototype.left=function(b,a,f){b.Dc(x(a)?a.substr(0,f):"")};m.prototype.right=function(b,a,f){b.Dc(x(a)?a.substr(a.length-f):"")};
m.prototype.replace=function(b,a,f,g){x(a)&&x(f)&&x(g)?b.Dc(a.replace(new RegExp(cb(f),"gi"),g)):b.Dc(x(a)?a:"")};m.prototype.trim=function(b,a){b.Dc(x(a)?a.trim():"")};m.prototype.tu=function(b){var a=L(Math.random()*(arguments.length-1));b.by(arguments[a+1])};m.prototype.Zl=function(b){b.J(this.b.Zl/1E3)};m.prototype.tk=function(b){b.J(this.b.tk)};q.Aa=new m;q.Px=function(){var b,a,f,g,d,c,e=this.b.pb();b=0;for(f=this.rc.length;b<f;b++){g=this.rc[b];if(-1===g.time){if(!g.uo)continue}else if(g.time>
this.b.fb.M)continue;e.Qb=g.tg;e.Yb=g.Yb;e.mb=0;for(a in g.Vb)g.Vb.hasOwnProperty(a)&&(d=this.b.q[parseInt(a,10)].U(),c=g.Vb[a],d.Z=c.al,Ba(d.d,c.ke),d=c,R(d.ke),t.push(d));g.tg.Nx();this.b.Wl(g.Ea);g.gm=!0}a=b=0;for(f=this.rc.length;b<f;b++)g=this.rc[b],this.rc[a]=g,g.gm?(Xa(g.Vb),R(g.Ea),n.push(g)):a++;Aa(this.rc,a)}})();
(function(){ob=function(e,m){var q=e[1],n=e[3],t=e[4],b=e[5],a=e[6],f=e[7],g=e[8];m.j||(m.j={});m.T||(m.T={});m.Aa||(m.Aa={});var d=m.j,c=m.T,w=m.Aa;n&&(d.Ky=function(a,b){return ec(this.x,a,b)},d.Ly=function(a,b){return ec(this.y,a,b)},d.Qy=function(){var a=this.i;this.pa();var b=this.wa;return!(b.right<a.qa||b.bottom<a.ta||b.left>a.za||b.top>a.ya)},d.Ry=function(){this.pa();var a=this.wa,b=this.b.fa;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},d.cz=function(a,b,c){var d=this.U(),
f=d.fc();if(!f.length)return!1;var g=f[0],e=g,n=Sa(g.x,g.y,b,c),p,m,q;p=1;for(m=f.length;p<m;p++)if(g=f[p],q=Sa(g.x,g.y,b,c),0===a&&q<n||1===a&&q>n)n=q,e=g;d.Bi(e);return!0},c.rz=function(a){this.x!==a&&(this.x=a,this.aa())},c.sz=function(a){this.y!==a&&(this.y=a,this.aa())},c.St=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.aa()},c.oz=function(a,b){var c=a.$v(this);if(c){var d;c.Hh?(d=c.Hh(b,!0),c=c.Hh(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.aa()}},
c.Wy=function(a){0!==a&&(this.x+=Math.cos(this.k)*a,this.y+=Math.sin(this.k)*a,this.aa())},c.Vy=function(a,b){0!==b&&(this.x+=Math.cos(T(a))*b,this.y+=Math.sin(T(a))*b,this.aa())},w.Il=function(a){a.J(this.x)},w.Jl=function(a){a.J(this.y)},w.Re=function(a){a.J(this.b.yg(this))});t&&(d.Jy=function(a,b){return ec(this.width,a,b)},d.Hy=function(a,b){return ec(this.height,a,b)},c.Ut=function(a){this.width!==a&&(this.width=a,this.aa())},c.nz=function(a){this.height!==a&&(this.height=a,this.aa())},c.pz=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.aa()},w.wz=function(a){a.J(this.width)},w.Ny=function(a){a.J(this.height)},w.Dy=function(a){this.pa();a.J(this.wa.left)},w.Fy=function(a){this.pa();a.J(this.wa.top)},w.Ey=function(a){this.pa();a.J(this.wa.right)},w.Cy=function(a){this.pa();a.J(this.wa.bottom)});b&&(d.Ws=function(a,b){return Oa(this.k,T(b))<=T(a)},d.lt=function(a){return Qa(this.k,T(a))},d.jt=function(a,b){var c=Ma(a),d=Ma(b),f=Ka(this.k);return Qa(d,
c)?Qa(f,c)&&!Qa(f,d):!(!Qa(f,c)&&Qa(f,d))},c.kz=function(a){a=T(Ja(a));isNaN(a)||this.k===a||(this.k=a,this.aa())},c.gz=function(a){0===a||isNaN(a)||(this.k+=T(a),this.k=Ka(this.k),this.aa())},c.hz=function(a){0===a||isNaN(a)||(this.k-=T(a),this.k=Ka(this.k),this.aa())},c.iz=function(a,b){var c=Pa(this.k,T(b),T(a));isNaN(c)||this.k===c||(this.k=c,this.aa())},c.jz=function(a,b,c){a=Pa(this.k,Math.atan2(c-this.y,b-this.x),T(a));isNaN(a)||this.k===a||(this.k=a,this.aa())},c.qz=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.k===c||(this.k=c,this.aa())},w.By=function(a){a.J(La(this.k))});q||(d.$s=function(a,b,c){return ec(this.eb[a],b,c)},d.kt=function(a){return this.eb[a]},d.dz=function(a,b){var c=this.U(),d=c.fc();if(!d.length)return!1;var f=d[0],g=f,e=f.eb[b],n,p,m;n=1;for(p=d.length;n<p;n++)if(f=d[n],m=f.eb[b],0===a&&m<e||1===a&&m>e)e=m,g=f;c.Bi(g);return!0},d.bz=function(a){var b,c,d,f,g;if(this.b.Gh().$j){g=this.U();if(g.Z)for(g.Z=!1,R(g.d),R(g.X),d=this.d,b=0,c=d.length;b<c;b++)f=
d[b],f.uid===a?g.X.push(f):g.d.push(f);else{d=b=0;for(c=g.d.length;b<c;b++)f=g.d[b],g.d[d]=f,f.uid===a?g.X.push(f):d++;Aa(g.d,d)}this.nd();return!!g.d.length}f=this.b.Tj(a);if(!f)return!1;g=this.U();if(!g.Z&&-1===g.d.indexOf(f))return!1;if(this.F)for(a=f.type.Ja,b=0,c=a.length;b<c;b++){if(a[b]===this)return g.Bi(f),this.nd(),!0}else if(f.type===this)return g.Bi(f),this.nd(),!0;return!1},d.jg=function(){return!0},d.dp=function(){return!0},c.Qt=function(a,b){var c=this.eb;la(c[a])?c[a]=la(b)?b:parseFloat(b):
x(c[a])&&(c[a]=x(b)?b:b.toString())},c.Ay=function(a,b){var c=this.eb;la(c[a])?c[a]=la(b)?c[a]+b:c[a]+parseFloat(b):x(c[a])&&(c[a]=x(b)?c[a]+b:c[a]+b.toString())},c.Xt=function(a,b){var c=this.eb;la(c[a])&&(c[a]=la(b)?c[a]-b:c[a]-parseFloat(b))},c.Pt=function(a,b){this.eb[a]=b?1:0},c.uz=function(a){this.eb[a]=1-this.eb[a]},c.Zo=function(){this.b.Hd(this)},c.pt||(c.pt=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.b.qk(this,b,!0);this.Xd&&this.Xd();if(this.G)for(a=0,b=this.G.length;a<
b;++a)c=this.G[a],c.Xd&&c.Xd()}),w.My=function(a){var b=a.Rf.d.length,c,d,f;c=0;for(d=this.b.sd.length;c<d;c++)f=this.b.sd[c],a.Rf.F?0<=f.type.Ja.indexOf(a.Rf)&&b++:f.type===a.Rf&&b++;a.ua(b)},w.fz=function(a){a.ua(a.Rf.U().fc().length)},w.vz=function(a){a.ua(this.uid)},w.Oy=function(a){a.ua(this.Lh())},w.Xs||(w.Xs=function(a){a.Dc(JSON.stringify(this.b.jo(this,!0)))}));a&&(d.Sy=function(){return this.visible},c.rp=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.ea=!0)},d.Iy=function(a,b){return ec(ib(100*
this.opacity),a,b)},c.Rt=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ea=!0)},w.Opacity=function(a){a.J(ib(100*this.opacity))});f&&(d.Py=function(a){return a?this.i===a:!1},d.ez=function(a){var b=this.U(),c=b.fc();if(!c.length)return!1;var d=c[0],f=d,g,e;g=1;for(e=c.length;g<e;g++)if(d=c[g],0===a){if(d.i.index>f.i.index||d.i.index===f.i.index&&d.Nd()>f.Nd())f=d}else if(d.i.index<f.i.index||d.i.index===f.i.index&&d.Nd()<f.Nd())f=d;b.Bi(f);return!0},c.Zy=function(){var a=
this.i,b=a.d;b.length&&b[b.length-1]===this||(a.$g(this,!1),a.qh(this,!1),this.b.ea=!0)},c.Xy=function(){var a=this.i,b=a.d;b.length&&b[0]===this||(a.$g(this,!1),a.Ax(this),this.b.ea=!0)},c.Yy=function(a){a&&a!=this.i&&(this.i.$g(this,!0),this.i=a,a.qh(this,!0),this.b.ea=!0)},c.yz=function(a,b){var c=0===a;if(b){var d=b.Vv(this);d&&d.uid!==this.uid&&(this.i.index!==d.i.index&&(this.i.$g(this,!0),this.i=d.i,d.i.qh(this,!0)),this.i.Ww(this,d,c),this.b.ea=!0)}},w.Uy=function(a){a.ua(this.i.qr)},w.Ty=
function(a){a.Dc(this.i.name)},w.xz=function(a){a.ua(this.Nd())});g&&(c.lz=function(a,b){if(this.b.A){var c=this.type.Am(b);if(!(0>c)){var d=1===a;this.He[c]!==d&&(this.He[c]=d,this.Ed(),this.b.ea=!0)}}},c.mz=function(a,b,c){if(this.b.A){var d=this.type.Am(a);0>d||(a=this.type.O[d],d=this.Oa[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.A.dw(a.$a,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.lb&&(this.b.ea=!0))))}})};Kb=function(){this.Rl=this.lj=!0;this.type.ej=!0;this.b.ea=!0;var e,m,q=this.Ol;e=0;for(m=
q.length;e<m;++e)q[e](this);this.i.Qc&&this.pa()};Lb=function(e){e&&this.Ol.push(e)};Nb=function(){if(this.lj){var e=this.wa,m=this.wb;e.set(this.x,this.y,this.x+this.width,this.y+this.height);e.offset(-this.wc*this.width,-this.xc*this.height);this.k?(e.offset(-this.x,-this.y),m.ks(e,this.k),m.offset(this.x,this.y),m.Ep(e)):m.xe(e);e.normalize();this.lj=!1;this.Ps()}};var e=new va(0,0,0,0);Ob=function(){if(this.i.Qc){var p=this.i.Eb,m=this.wa;e.set(p.Wb(m.left),p.Xb(m.top),p.Wb(m.right),p.Xb(m.bottom));
this.kc.Ah(e)||(this.kc.right<this.kc.left?p.update(this,null,e):p.update(this,this.kc,e),this.kc.vh(e),this.i.Cd=!0)}};Pb=function(){if(this.Rl&&this.rd){this.pa();var p=this.type.rj,m=this.wa;e.set(p.Wb(m.left),p.Xb(m.top),p.Wb(m.right),p.Xb(m.bottom));this.Ne.Ah(e)||(this.Ne.right<this.Ne.left?p.update(this,null,e):p.update(this,this.Ne,e),this.Ne.vh(e),this.Rl=!1)}};Mb=function(e,m){return this.wa.ob(e,m)&&this.wb.ob(e,m)?this.lf?this.Qz(e,m):this.P&&!this.P.Xe()?(this.P.Ke(this.width,this.height,
this.k),this.P.ob(e-this.x,m-this.y)):!0:!1};Gb=function(){this.type.ul();return this.Ff};Qb=function(){this.i.Ro();return this.Fd};Rb=function(){R(this.ka);var e,m,q,n=!0;e=0;for(m=this.He.length;e<m;e++)this.He[e]&&(q=this.type.O[e],this.ka.push(q),q.yd||(n=!1));this.Rs=!!this.ka.length;this.ye=n};Hb=function(){return"Inst"+this.Tr};rb=function(e){if(e&&e.Mb&&e.type!=this){var m,q,n;m=0;for(q=e.siblings.length;m<q;m++)if(n=e.siblings[m],n.type==this)return n}e=this.U().fc();return e.length?e[0]:
null};sb=function(e){var m=this.U().fc();return m.length?m[e.Lh()%m.length]:null};qb=function(){if(this.fh&&!this.F){var e,m;e=0;for(m=this.d.length;e<m;e++)this.d[e].Ff=e;var q=e,n=this.b.sd;e=0;for(m=n.length;e<m;++e)n[e].type===this&&(n[e].Ff=q++);this.fh=!1}};Eb=function(e){if(e<this.d.length)return this.d[e];e-=this.d.length;var m=this.b.sd,q,n;q=0;for(n=m.length;q<n;++q)if(m[q].type===this){if(0===e)return m[q];--e}return null};tb=function(){return this.Ae[this.Kd]};ub=function(){this.Kd++;
this.Kd===this.Ae.length?this.Ae.push(new pb(this)):(this.Ae[this.Kd].Z=!0,R(this.Ae[this.Kd].X))};vb=function(){this.Kd++;this.Kd===this.Ae.length&&this.Ae.push(new pb(this));var e=this.Ae[this.Kd],m=this.Ae[this.Kd-1];m.Z?e.Z=!0:(e.Z=!1,Ba(e.d,m.d));R(e.X)};wb=function(){this.Kd--};xb=function(e){var m,q,n,t,b,a=0;if(!this.F)for(m=0,q=this.Ja.length;m<q;m++)for(b=this.Ja[m],n=0,t=b.La.length;n<t;n++){if(e===b.La[n].name)return this.D.lastBehIndex=a,b.La[n];a++}m=0;for(q=this.La.length;m<q;m++){if(e===
this.La[m].name)return this.D.lastBehIndex=a,this.La[m];a++}return null};yb=function(e){return this.Rj(e)?this.D.lastBehIndex:-1};Cb=function(e){var m,q;m=0;for(q=this.O.length;m<q;m++)if(this.O[m].name===e)return m;return-1};Db=function(){if(this.Mb&&!this.F){var e,m,q,n,t,b,a;this.ul();b=this.U();var f=b.Z,g=(e=this.b.pb())&&e.Qb&&e.Qb.$c;e=0;for(m=this.uc.length;e<m;e++)if(t=this.uc[e],t!==this&&(t.ul(),a=t.U(),a.Z=f,!f)){R(a.d);q=0;for(n=b.d.length;q<n;++q)a.d[q]=t.Bm(b.d[q].Ff);if(g)for(R(a.X),
q=0,n=b.X.length;q<n;++q)a.X[q]=t.Bm(b.X[q].Ff)}}};Fb=function(){return"Type"+this.S};ec=function(e,m,q){if("undefined"===typeof e||"undefined"===typeof q)return!1;switch(m){case 0:return e===q;case 1:return e!==q;case 2:return e<q;case 3:return e<=q;case 4:return e>q;case 5:return e>=q;default:return!1}}})();var nc={};function qc(e){this.b=e}
(function(){function e(a){-1===kb.indexOf(a)&&kb.push(a)}function p(a){var b=a.m,c;try{c=b.play()}catch(d){e(a);return}c?c.catch(function(){e(a)}):Cc&&!C.Lb&&e(a)}function m(){var a,b,c,d;Dc||Ca||!r||(q(),"running"===r.state&&(Dc=!0));var f=kb.slice(0);R(kb);if(!da)for(a=0,b=f.length;a<b;++a)c=f[a],c.mc||c.yc||(d=c.m.play())&&d.catch(function(){e(c)})}function q(){"suspended"===r.state&&r.resume&&r.resume();if(r.createBuffer){var a=r.createBuffer(1,220,22050),b=r.createBufferSource();b.buffer=a;b.connect(r.destination);
f(b)}}function n(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function t(a){a=a.toLowerCase();return W.hasOwnProperty(a)&&W[a].length?W[a][0].Ic():r.destination}function b(){return r.createGain?r.createGain():r.createGainNode()}function a(a){return r.createDelay?r.createDelay(a):r.createDelayNode(a)}function f(a,b){a.start?a.start(b||0):a.noteOn(b||0)}function g(a,b,c,d){a.start?a.start(d||0,b):a.noteGrainOn(d||0,b,c-b)}function d(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function c(a,
c,d,f,h,g){this.type="filter";this.wd=[a,c,d,f,h,g];this.ca=b();this.N=b();this.N.gain.value=g;this.K=b();this.K.gain.value=1-g;this.Va=r.createBiquadFilter();this.Va.type="number"===typeof this.Va.type?a:Hc[a];this.Va.frequency.value=c;this.Va.detune&&(this.Va.detune.value=d);this.Va.Q.value=f;this.Va.gain.value=h;this.ca.connect(this.Va);this.ca.connect(this.K);this.Va.connect(this.N)}function w(c,d,f){this.type="delay";this.wd=[c,d,f];this.ca=b();this.N=b();this.N.gain.value=f;this.K=b();this.K.gain.value=
1-f;this.ri=b();this.Wc=a(c);this.Wc.delayTime.value=c;this.zj=b();this.zj.gain.value=d;this.ca.connect(this.ri);this.ca.connect(this.K);this.ri.connect(this.N);this.ri.connect(this.Wc);this.Wc.connect(this.zj);this.zj.connect(this.ri)}function k(a,c,d,f){this.type="convolve";this.wd=[c,d,f];this.ca=b();this.N=b();this.N.gain.value=d;this.K=b();this.K.gain.value=1-d;this.sf=r.createConvolver();a&&(this.sf.normalize=c,this.sf.buffer=a);this.ca.connect(this.sf);this.ca.connect(this.K);this.sf.connect(this.N)}
function D(c,d,h,g,e){this.type="flanger";this.wd=[c,d,h,g,e];this.ca=b();this.K=b();this.K.gain.value=1-e/2;this.N=b();this.N.gain.value=e/2;this.Jj=b();this.Jj.gain.value=g;this.Wc=a(c+d);this.Wc.delayTime.value=c;this.sb=r.createOscillator();this.sb.frequency.value=h;this.Bc=b();this.Bc.gain.value=d;this.ca.connect(this.Wc);this.ca.connect(this.K);this.Wc.connect(this.N);this.Wc.connect(this.Jj);this.Jj.connect(this.Wc);this.sb.connect(this.Bc);this.Bc.connect(this.Wc.delayTime);f(this.sb)}function K(a,
c,d,h,g,e){this.type="phaser";this.wd=[a,c,d,h,g,e];this.ca=b();this.K=b();this.K.gain.value=1-e/2;this.N=b();this.N.gain.value=e/2;this.Va=r.createBiquadFilter();this.Va.type="number"===typeof this.Va.type?7:"allpass";this.Va.frequency.value=a;this.Va.detune&&(this.Va.detune.value=c);this.Va.Q.value=d;this.sb=r.createOscillator();this.sb.frequency.value=g;this.Bc=b();this.Bc.gain.value=h;this.ca.connect(this.Va);this.ca.connect(this.K);this.Va.connect(this.N);this.sb.connect(this.Bc);this.Bc.connect(this.Va.frequency);
f(this.sb)}function u(a){this.type="gain";this.wd=[a];this.ja=b();this.ja.gain.value=a}function h(a,c){this.type="tremolo";this.wd=[a,c];this.ja=b();this.ja.gain.value=1-c/2;this.sb=r.createOscillator();this.sb.frequency.value=a;this.Bc=b();this.Bc.gain.value=c/2;this.sb.connect(this.Bc);this.Bc.connect(this.ja.gain);f(this.sb)}function l(a,c){this.type="ringmod";this.wd=[a,c];this.ca=b();this.N=b();this.N.gain.value=c;this.K=b();this.K.gain.value=1-c;this.Hi=b();this.Hi.gain.value=0;this.sb=r.createOscillator();
this.sb.frequency.value=a;this.sb.connect(this.Hi.gain);f(this.sb);this.ca.connect(this.Hi);this.ca.connect(this.K);this.Hi.connect(this.N)}function v(a,c,d,f,h){this.type="distortion";this.wd=[a,c,d,f,h];this.ca=b();this.Pk=b();this.Ok=b();this.Wx(d,Math.pow(10,f/20));this.N=b();this.N.gain.value=h;this.K=b();this.K.gain.value=1-h;this.Bl=r.createWaveShaper();this.xj=new Float32Array(65536);this.Pv(a,c);this.Bl.xj=this.xj;this.ca.connect(this.Pk);this.ca.connect(this.K);this.Pk.connect(this.Bl);
this.Bl.connect(this.Ok);this.Ok.connect(this.N)}function ca(a,b,c,d,f){this.type="compressor";this.wd=[a,b,c,d,f];this.ja=r.createDynamicsCompressor();try{this.ja.threshold.value=a,this.ja.knee.value=b,this.ja.ratio.value=c,this.ja.attack.value=d,this.ja.release.value=f}catch(h){}}function O(a,b){this.type="analyser";this.wd=[a,b];this.ja=r.createAnalyser();this.ja.fftSize=a;this.ja.smoothingTimeConstant=b;this.Nv=new Float32Array(this.ja.frequencyBinCount);this.os=new Uint8Array(a);this.Ai=0}function S(){this.da=
null;this.sk=0}function B(a,c){this.src=a;this.Y=E;this.Od=c;this.dj=!1;var d=this;this.Pg=this.Ug=null;this.Vg=[];this.bl=0;this.Vo=this.Hj=this.ws=this.Kk=!1;1===E&&c&&!lb&&(this.Y=0,this.Ug=b());this.Zd=this.ga=null;var f;switch(this.Y){case 0:this.ga=new Audio;this.ga.crossOrigin="anonymous";this.ga.addEventListener("canplaythrough",function(){d.Vo=!0});1===E&&r.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.ws=!0,this.ga.addEventListener("canplay",function(){!d.Pg&&d.ga&&
(d.Pg=r.createMediaElementSource(d.ga),d.Pg.connect(d.Ug))}));this.ga.autoplay=!1;this.ga.Lz="auto";this.ga.src=a;break;case 1:C.ek?C.$p(a,function(a){d.Zd=a;d.Rp()},function(){d.Hj=!0}):(f=new XMLHttpRequest,f.open("GET",a,!0),f.responseType="arraybuffer",f.onload=function(){d.Zd=f.response;d.Rp()},f.onerror=function(){d.Hj=!0},f.send());break;case 2:this.ga=!0;break;case 3:this.ga=!0}}function A(a,c){var d=this;this.tag=c;this.mc=this.Md=!0;this.src=a.src;this.buffer=a;this.Y=E;this.Od=a.Od;this.playbackRate=
1;this.Cg=!0;this.yc=this.Nc=!1;this.lc=0;this.Zh=this.Gg=this.Pd=!1;this.volume=1;this.Qn=function(a){if(!d.yc&&!d.Nc){var b=this;b||(b=a.target);b===d.cj&&(d.Cg=!0,d.mc=!0,ga=d.tag,C.trigger(qc.prototype.j.aj,G))}};this.cj=null;this.Eg=1===Q&&!this.Od||2===Q;this.Qg=1;this.startTime=this.Eg?C.fb.M:C.Ee.M;this.Xa=this.ab=null;this.Sd=!1;this.Cb=null;this.Ir=this.Hr=this.Gr=this.Fr=this.Kr=this.Jr=0;this.m=null;var f=!1;1!==this.Y||0!==this.buffer.Y||this.buffer.ws||(this.Y=0);switch(this.Y){case 0:this.Od?
(this.m=a.ga,f=!a.dj,a.dj=!0):(this.m=new Audio,this.m.crossOrigin="anonymous",this.m.autoplay=!1,this.m.src=a.ga.src,f=!0);f&&this.m.addEventListener("ended",function(){ga=d.tag;d.mc=!0;C.trigger(qc.prototype.j.aj,G)});break;case 1:this.ab=b();this.ab.connect(t(c));1===this.buffer.Y?a.ga&&(this.m=r.createBufferSource(),this.m.buffer=a.ga,this.m.connect(this.ab)):(this.m=this.buffer.ga,this.buffer.Ug.connect(this.ab),this.buffer.dj||(this.buffer.dj=!0,this.buffer.ga.addEventListener("ended",function(){ga=
d.tag;d.mc=!0;C.trigger(qc.prototype.j.aj,G)})));break;case 2:this.m=new window.Media(V+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(d.Cg=!0,d.mc=!0,ga=d.tag,C.trigger(qc.prototype.j.aj,G))});break;case 3:this.m=!0}}function J(a){R(ya);if(a.length){var b,c,d;b=0;for(c=z.length;b<c;b++)d=z[b],jb(a,d.tag)&&ya.push(d)}else H&&!H.Ef()&&(R(ya),ya[0]=H)}function I(a,b){W.hasOwnProperty(a)?W[a].push(b):W[a]=[b];var c,d,f,h,g=r.destination;if(W.hasOwnProperty(a)&&(f=W[a],f.length))for(g=
f[0].Ic(),c=0,d=f.length;c<d;c++)h=f[c],c+1===d?h.Uc(r.destination):h.Uc(f[c+1].Ic());J(a);c=0;for(d=ya.length;c<d;c++)ya[c].Hx(g);Ia&&Bb===a&&(Ia.disconnect(),Ia.connect(g))}function U(){}function N(){}var P=qc.prototype;P.la=function(a){this.xa=a;this.b=a.b};P.la.prototype.L=function(){};var C=null,G=null,ga="",V="",E=0,r=null,y=[],z=[],H=null,F=!1,Q=0,da=!1,M=1,ja=0,ea=0,Ca=!1,Ab=1,zb=1,yc=10,Ac=1E4,Bc=1,Ia=null,Bb="",Cc=!1,kb=[],lb=!1,Dc=!1;document.addEventListener("pointerup",m,!0);document.addEventListener("touchend",
m,!0);document.addEventListener("click",m,!0);document.addEventListener("keydown",m,!0);document.addEventListener("gamepadconnected",m,!0);var W={},Hc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");c.prototype.Uc=function(a){this.N.disconnect();this.N.connect(a);this.K.disconnect();this.K.connect(a)};c.prototype.remove=function(){this.ca.disconnect();this.Va.disconnect();this.N.disconnect();this.K.disconnect()};c.prototype.Ic=function(){return this.ca};w.prototype.Uc=
function(a){this.N.disconnect();this.N.connect(a);this.K.disconnect();this.K.connect(a)};w.prototype.remove=function(){this.ca.disconnect();this.ri.disconnect();this.Wc.disconnect();this.zj.disconnect();this.N.disconnect();this.K.disconnect()};w.prototype.Ic=function(){return this.ca};k.prototype.Uc=function(a){this.N.disconnect();this.N.connect(a);this.K.disconnect();this.K.connect(a)};k.prototype.remove=function(){this.ca.disconnect();this.sf.disconnect();this.N.disconnect();this.K.disconnect()};
k.prototype.Ic=function(){return this.ca};D.prototype.Uc=function(a){this.K.disconnect();this.K.connect(a);this.N.disconnect();this.N.connect(a)};D.prototype.remove=function(){this.ca.disconnect();this.Wc.disconnect();this.sb.disconnect();this.Bc.disconnect();this.K.disconnect();this.N.disconnect();this.Jj.disconnect()};D.prototype.Ic=function(){return this.ca};K.prototype.Uc=function(a){this.K.disconnect();this.K.connect(a);this.N.disconnect();this.N.connect(a)};K.prototype.remove=function(){this.ca.disconnect();
this.Va.disconnect();this.sb.disconnect();this.Bc.disconnect();this.K.disconnect();this.N.disconnect()};K.prototype.Ic=function(){return this.ca};u.prototype.Uc=function(a){this.ja.disconnect();this.ja.connect(a)};u.prototype.remove=function(){this.ja.disconnect()};u.prototype.Ic=function(){return this.ja};h.prototype.Uc=function(a){this.ja.disconnect();this.ja.connect(a)};h.prototype.remove=function(){this.sb.disconnect();this.Bc.disconnect();this.ja.disconnect()};h.prototype.Ic=function(){return this.ja};
l.prototype.Uc=function(a){this.N.disconnect();this.N.connect(a);this.K.disconnect();this.K.connect(a)};l.prototype.remove=function(){this.sb.disconnect();this.Hi.disconnect();this.ca.disconnect();this.N.disconnect();this.K.disconnect()};l.prototype.Ic=function(){return this.ca};v.prototype.Wx=function(a,b){.01>a&&(a=.01);this.Pk.gain.value=a;this.Ok.gain.value=Math.pow(1/a,.6)*b};v.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};v.prototype.Pv=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),f=0,h=0;32768>h;++h)f=h/32768,f=this.shape(f,c,d),this.xj[32768+h]=f,this.xj[32768-h-1]=-f};v.prototype.Uc=function(a){this.N.disconnect();this.N.connect(a);this.K.disconnect();this.K.connect(a)};v.prototype.remove=function(){this.ca.disconnect();this.Pk.disconnect();this.Bl.disconnect();this.Ok.disconnect();this.N.disconnect();this.K.disconnect()};v.prototype.Ic=function(){return this.ca};ca.prototype.Uc=function(a){this.ja.disconnect();
this.ja.connect(a)};ca.prototype.remove=function(){this.ja.disconnect()};ca.prototype.Ic=function(){return this.ja};O.prototype.Ca=function(){this.ja.getFloatFrequencyData(this.Nv);this.ja.getByteTimeDomainData(this.os);for(var a=this.ja.fftSize,b=0,c=this.Ai=0,d=0;b<a;b++)d=(this.os[b]-128)/128,0>d&&(d=-d),this.Ai<d&&(this.Ai=d),c+=d*d;this.Ai=n(this.Ai);n(Math.sqrt(c/a))};O.prototype.Uc=function(a){this.ja.disconnect();this.ja.connect(a)};O.prototype.remove=function(){this.ja.disconnect()};O.prototype.Ic=
function(){return this.ja};S.prototype.Ii=function(a){this.da=a};S.prototype.Yj=function(){return!!this.da};S.prototype.Ca=function(){};B.prototype.Ix=function(){var a,b,c,d;c=a=0;for(b=z.length;a<b;++a)d=z[a],z[c]=d,d.buffer===this?d.stop():++c;z.length=c;this.Pg&&(this.Pg.disconnect(),this.Pg=null);this.Ug&&(this.Ug.disconnect(),this.Ug=null);this.Zd=this.ga=null};B.prototype.Rp=function(){if(!this.ga&&this.Zd){var a=this;if(r.decodeAudioData)r.decodeAudioData(this.Zd,function(b){a.ga=b;a.Zd=null;
var c,d,f;if(ka(a.Lk)||da)ka(a.tj)||(c=a.tj.sf,c.normalize=a.pr,c.buffer=b);else if(a.Vg.length){c=0;for(d=a.Vg.length;c<d;c++){b=a.Vg[c];f=new A(a,b.Cs);f.po(!0);if("undefined"!==typeof b.rr&&(b.da=C.Tj(b.rr),!b.da))continue;if(b.da){var h=Ra(b.da.x,b.da.y,-b.da.i.bb(),ja,ea,!0),g=Ra(b.da.x,b.da.y,-b.da.i.bb(),ja,ea,!1);f.oo(h,g,Ha(b.da.k-b.da.i.bb()),b.Mm,b.In,b.Ln);f.Ii(b.da)}else f.oo(b.x,b.y,b.Rc,b.Mm,b.In,b.Ln);f.play(a.Dn,a.Uo,a.bl);a.Kk&&f.pause();z.push(f)}R(a.Vg)}else f=new A(a,a.Lk||""),
f.play(a.Dn,a.Uo,a.bl),a.Kk&&f.pause(),z.push(f)},function(){a.Hj=!0});else if(this.ga=r.createBuffer(this.Zd,!1),this.Zd=null,ka(this.Lk)||da)ka(this.tj)||(b=this.tj.sf,b.normalize=this.pr,b.buffer=this.ga);else{var b=new A(this,this.Lk);b.play(this.Dn,this.Uo,this.bl);this.Kk&&b.pause();z.push(b)}}};B.prototype.wq=function(){switch(this.Y){case 0:var a=4<=this.ga.readyState;a&&(this.Vo=!0);return a||this.Vo;case 1:return!!this.Zd||!!this.ga;case 2:return!0;case 3:return!0}return!1};B.prototype.Fw=
function(){switch(this.Y){case 0:return this.wq();case 1:return!!this.ga;case 2:return!0;case 3:return!0}return!1};B.prototype.ww=function(){switch(this.Y){case 0:return!!this.ga.error;case 1:return this.Hj}return!1};A.prototype.Ef=function(){switch(this.Y){case 0:return this.m.ended;case 1:return 1===this.buffer.Y?!this.Md&&!this.mc&&this.m.loop||this.yc?!1:this.Cg:this.m.ended;case 2:return this.Cg;case 3:!0}return!0};A.prototype.qu=function(){return this.Md||this.mc?!0:this.Ef()};A.prototype.po=
function(a){1===E&&(!this.Sd&&a?this.ab&&(this.Xa||(this.Xa=r.createPanner(),this.Xa.panningModel="number"===typeof this.Xa.panningModel?Ab:["equalpower","HRTF","soundfield"][Ab],this.Xa.distanceModel="number"===typeof this.Xa.distanceModel?zb:["linear","inverse","exponential"][zb],this.Xa.refDistance=yc,this.Xa.maxDistance=Ac,this.Xa.rolloffFactor=Bc),this.ab.disconnect(),this.ab.connect(this.Xa),this.Xa.connect(t(this.tag)),this.Sd=!0):this.Sd&&!a&&this.ab&&(this.Xa.disconnect(),this.ab.disconnect(),
this.ab.connect(t(this.tag)),this.Sd=!1))};A.prototype.oo=function(a,b,c,d,f,h){this.Sd&&1===E&&(this.Xa.setPosition(a,b,0),this.Xa.setOrientation(Math.cos(T(c)),Math.sin(T(c)),0),this.Xa.coneInnerAngle=d,this.Xa.coneOuterAngle=f,this.Xa.coneOuterGain=h,this.Jr=a,this.Kr=b,this.Fr=c,this.Gr=d,this.Hr=f,this.Ir=h)};A.prototype.Ii=function(a){this.Sd&&1===E&&(this.Cb||(this.Cb=new S),this.Cb.Ii(a))};A.prototype.Ca=function(a){if(this.Sd&&1===E&&this.Cb&&this.Cb.Yj()&&this.Dg()){this.Cb.Ca(a);a=this.Cb.da;
var b=Ra(a.x,a.y,-a.i.bb(),ja,ea,!0),c=Ra(a.x,a.y,-a.i.bb(),ja,ea,!1);this.Xa.setPosition(b,c,0);b=0;"undefined"!==typeof this.Cb.da.k&&(b=a.k-a.i.bb(),this.Xa.setOrientation(Math.cos(b),Math.sin(b),0))}};A.prototype.play=function(a,b,c,d){var h=this.m;this.Pd=a;this.volume=b;c=c||0;d=d||0;switch(this.Y){case 0:1!==h.playbackRate&&(h.playbackRate=1);h.volume!==b*M&&(h.volume=b*M);h.loop!==a&&(h.loop=a);h.muted&&(h.muted=!1);if(h.currentTime!==c)try{h.currentTime=c}catch(e){}p(this);break;case 1:this.muted=
!1;this.Qg=1;if(1===this.buffer.Y)this.ab.gain.value=b*M,this.Md||(this.m=r.createBufferSource(),this.m.buffer=this.buffer.ga,this.m.connect(this.ab)),this.m.onended=this.Qn,this.cj=this.m,this.m.loop=a,this.Cg=!1,0===c?f(this.m,d):g(this.m,c,this.Af(),d);else{1!==h.playbackRate&&(h.playbackRate=1);h.loop!==a&&(h.loop=a);h.volume=b*M;if(h.currentTime!==c)try{h.currentTime=c}catch(l){}p(this)}break;case 2:(!this.Md&&this.mc||0!==c)&&h.seekTo(c);h.play();this.Cg=!1;break;case 3:C.Tb?AppMobi.context.playSound(this.src,
a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.Eg?C.fb.M:C.Ee.M)-c;this.yc=this.mc=this.Md=!1};A.prototype.stop=function(){switch(this.Y){case 0:this.m.paused||this.m.pause();break;case 1:1===this.buffer.Y?d(this.m):this.m.paused||this.m.pause();break;case 2:this.m.stop();break;case 3:C.Tb&&AppMobi.context.stopSound(this.src)}this.mc=!0;this.yc=!1};A.prototype.pause=function(){if(!(this.Md||this.mc||this.Ef()||this.yc)){switch(this.Y){case 0:this.m.paused||this.m.pause();
break;case 1:1===this.buffer.Y?(this.lc=this.Dm(!0),this.Pd&&(this.lc=this.lc%this.Af()),this.yc=!0,d(this.m)):this.m.paused||this.m.pause();break;case 2:this.m.pause();break;case 3:C.Tb&&AppMobi.context.stopSound(this.src)}this.yc=!0}};A.prototype.Mx=function(){if(!(this.Md||this.mc||this.Ef())&&this.yc){switch(this.Y){case 0:p(this);break;case 1:1===this.buffer.Y?(this.m=r.createBufferSource(),this.m.buffer=this.buffer.ga,this.m.connect(this.ab),this.m.onended=this.Qn,this.cj=this.m,this.m.loop=
this.Pd,this.ab.gain.value=M*this.volume*this.Qg,this.wl(),this.startTime=(this.Eg?C.fb.M:C.Ee.M)-this.lc/(this.playbackRate||.001),g(this.m,this.lc,this.Af())):p(this);break;case 2:this.m.play();break;case 3:C.Tb&&AppMobi.context.resumeSound(this.src)}this.yc=!1}};A.prototype.seek=function(a){if(!(this.Md||this.mc||this.Ef()))switch(this.Y){case 0:try{this.m.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.Y)this.yc?this.lc=a:(this.pause(),this.lc=a,this.Mx());else try{this.m.currentTime=
a}catch(c){}break;case 3:C.Tb&&AppMobi.context.seekSound(this.src,a)}};A.prototype.Hx=function(a){1===this.Y&&(this.Sd?(this.Xa.disconnect(),this.Xa.connect(a)):(this.ab.disconnect(),this.ab.connect(a)))};A.prototype.Af=function(){var a=0;switch(this.Y){case 0:"undefined"!==typeof this.m.duration&&(a=this.m.duration);break;case 1:a=this.buffer.ga.duration;break;case 2:a=this.m.getDuration();break;case 3:C.Tb&&(a=AppMobi.context.getDurationSound(this.src))}return a};A.prototype.Dm=function(a){var b=
this.Af(),c=0;switch(this.Y){case 0:"undefined"!==typeof this.m.currentTime&&(c=this.m.currentTime);break;case 1:if(1===this.buffer.Y){if(this.yc)return this.lc;c=(this.Eg?C.fb.M:C.Ee.M)-this.startTime}else"undefined"!==typeof this.m.currentTime&&(c=this.m.currentTime);break;case 3:C.Tb&&(c=AppMobi.context.getPlaybackTimeSound(this.src))}a&&(c*=this.playbackRate);!this.Pd&&c>b&&(c=b);return c};A.prototype.Dg=function(){return!this.yc&&!this.Md&&!this.mc&&!this.Ef()};A.prototype.cy=function(){return!this.Md&&
!this.mc&&!this.Ef()};A.prototype.ny=function(){var a=this.volume*M;isFinite(a)||(a=0);switch(this.Y){case 0:"undefined"!==typeof this.m.volume&&this.m.volume!==a&&(this.m.volume=a);break;case 1:1===this.buffer.Y?this.ab.gain.value=a*this.Qg:"undefined"!==typeof this.m.volume&&this.m.volume!==a&&(this.m.volume=a)}};A.prototype.Ej=function(a){switch(this.Y){case 0:this.m.muted!==!!a&&(this.m.muted=!!a);break;case 1:1===this.buffer.Y?(this.Qg=a?0:1,this.ab.gain.value=M*this.volume*this.Qg):this.m.muted!==
!!a&&(this.m.muted=!!a)}};A.prototype.Yx=function(){this.Gg=!0;this.Ej(this.Gg||this.Zh)};A.prototype.gs=function(a){this.Zh=!!a;this.Ej(this.Gg||this.Zh)};A.prototype.wl=function(){var a=this.playbackRate;this.Eg&&(a*=C.fg);switch(this.Y){case 0:this.m.playbackRate!==a&&(this.m.playbackRate=a);break;case 1:1===this.buffer.Y?this.m.playbackRate.value!==a&&(this.m.playbackRate.value=a):this.m.playbackRate!==a&&(this.m.playbackRate=a)}};A.prototype.$x=function(a){switch(this.Y){case 0:a?this.Dg()?(this.Nc=
!0,this.m.pause()):this.Nc=!1:this.Nc&&(this.m.play(),this.Nc=!1);break;case 1:a?this.Dg()?(this.Nc=!0,1===this.buffer.Y?(this.lc=this.Dm(!0),this.Pd&&(this.lc=this.lc%this.Af()),d(this.m)):this.m.pause()):this.Nc=!1:this.Nc&&(1===this.buffer.Y?(this.m=r.createBufferSource(),this.m.buffer=this.buffer.ga,this.m.connect(this.ab),this.m.onended=this.Qn,this.cj=this.m,this.m.loop=this.Pd,this.ab.gain.value=M*this.volume*this.Qg,this.wl(),this.startTime=(this.Eg?C.fb.M:C.Ee.M)-this.lc/(this.playbackRate||
.001),g(this.m,this.lc,this.Af())):this.m.play(),this.Nc=!1);break;case 2:a?this.Dg()?(this.m.pause(),this.Nc=!0):this.Nc=!1:this.Nc&&(this.Nc=!1,this.m.play())}};P.ba=function(a){this.type=a;C=this.b=a.b;G=this;this.zc=null;this.ii=-600;this.b.ek&&(lb=!0);!(this.b.Jg||this.b.Sh&&(this.b.$m||this.b.ak))||this.b.ck||this.b.Da||this.b.uq||lb||(Cc=!0);r=null;"undefined"!==typeof AudioContext?(E=1,r=new AudioContext):"undefined"!==typeof webkitAudioContext&&(E=1,r=new webkitAudioContext);this.b.Jg&&r&&
(r.close&&r.close(),"undefined"!==typeof AudioContext?r=new AudioContext:"undefined"!==typeof webkitAudioContext&&(r=new webkitAudioContext));1!==E&&(this.b.Kc&&"undefined"!==typeof window.Media?E=2:this.b.vq&&(E=3));2===E&&(V=location.href,a=V.lastIndexOf("/"),-1<a&&(V=V.substr(0,a+1)),V=V.replace("file://",""));if(this.b.Gw&&this.b.Iw&&"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.Hd(this);
else{if(this.b.Tb)F=this.b.Sh;else try{F=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')&&!this.b.jn}catch(b){F=!1}this.b.ih(this)}};var ra=P.ba.prototype;ra.L=function(){this.b.mg=this;Q=this.n[0];this.we=this.n[1];this.tx=0!==this.n[2];this.nr=0;Ab=this.n[3];zb=this.n[4];this.ii=-this.n[5];yc=this.n[6];Ac=this.n[7];Bc=this.n[8];this.zc=new S;var a=this.b.I||this.b.width,b=this.b.H||this.b.height;1===E&&(r.listener.setPosition(a/2,b/2,this.ii),r.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){Ia&&Ia.disconnect();Bb=b.toLowerCase();Ia=r.createMediaStreamSource(a);Ia.connect(t(Bb))});this.b.gu(function(a){G.jx(a)});var c=this;this.b.xp(function(a){c.bx(a)})};ra.bx=function(a){var b,c,d;b=0;for(c=z.length;b<c;b++)d=z[b],d.Cb&&d.Cb.da===a&&(d.Cb.da=null,d.Sd&&d.Dg()&&d.Pd&&d.stop());this.zc.da===a&&(this.zc.da=null)};ra.kb=function(){var a={silent:da,masterVolume:M,listenerZ:this.ii,listenerUid:this.zc.Yj()?this.zc.da.uid:-1,playing:[],effects:{}},b=a.playing,c,d,f,h,g,e;c=0;
for(d=z.length;c<d;c++)f=z[c],!f.cy()||3===this.we||f.Od&&1===this.we||!f.Od&&2===this.we||(h=f.Dm(),f.Pd&&(h=h%f.Af()),h={tag:f.tag,buffersrc:f.buffer.src,is_music:f.Od,playbackTime:h,volume:f.volume,looping:f.Pd,muted:f.Gg,playbackRate:f.playbackRate,paused:f.yc,resume_position:f.lc},f.Sd&&(h.pan={},e=h.pan,f.Cb&&f.Cb.Yj()?e.objUid=f.Cb.da.uid:(e.x=f.Jr,e.y=f.Kr,e.a=f.Fr),e.ia=f.Gr,e.oa=f.Hr,e.og=f.Ir),b.push(h));b=a.effects;for(g in W)if(W.hasOwnProperty(g)){f=[];c=0;for(d=W[g].length;c<d;c++)f.push({type:W[g][c].type,
params:W[g][c].wd});b[g]=f}return a};var Va=[];ra.Bb=function(a){var b=a.silent;M=a.masterVolume;this.ii=a.listenerZ;this.zc.Ii(null);var d=a.listenerUid;-1!==d&&(this.zc.sk=d,Va.push(this.zc));var d=a.playing,f,g,e,n,m,p,q,t,B,r,A;if(3!==this.we)for(f=0,g=z.length;f<g;f++)B=z[f],B.Od&&1===this.we||(B.Od||2!==this.we)&&B.stop();for(m in W)if(W.hasOwnProperty(m))for(f=0,g=W[m].length;f<g;f++)W[m][f].remove();Xa(W);for(m in a.effects)if(a.effects.hasOwnProperty(m))for(p=a.effects[m],f=0,g=p.length;f<
g;f++)switch(e=p[f].type,r=p[f].params,e){case "filter":I(m,new c(r[0],r[1],r[2],r[3],r[4],r[5]));break;case "delay":I(m,new w(r[0],r[1],r[2]));break;case "convolve":e=r[2];B=this.Qj(e,!1);B.ga?e=new k(B.ga,r[0],r[1],e):(e=new k(null,r[0],r[1],e),B.pr=r[0],B.tj=e);I(m,e);break;case "flanger":I(m,new D(r[0],r[1],r[2],r[3],r[4]));break;case "phaser":I(m,new K(r[0],r[1],r[2],r[3],r[4],r[5]));break;case "gain":I(m,new u(r[0]));break;case "tremolo":I(m,new h(r[0],r[1]));break;case "ringmod":I(m,new l(r[0],
r[1]));break;case "distortion":I(m,new v(r[0],r[1],r[2],r[3],r[4]));break;case "compressor":I(m,new ca(r[0],r[1],r[2],r[3],r[4]));break;case "analyser":I(m,new O(r[0],r[1]))}f=0;for(g=d.length;f<g;f++)3===this.we||(a=d[f],e=a.buffersrc,n=a.is_music,m=a.tag,p=a.playbackTime,q=a.looping,t=a.volume,A=(r=a.pan)&&r.hasOwnProperty("objUid")?r.objUid:-1,n&&1===this.we)||!n&&2===this.we||((B=this.gq(e,m,n,q,t))?(B.lc=a.resume_position,B.po(!!r),B.play(q,t,p),B.wl(),B.ny(),B.Ej(B.Gg||B.Zh),a.paused&&B.pause(),
a.muted&&B.Yx(),B.Ej(B.Gg||B.Zh),r&&(-1!==A?(B.Cb=B.Cb||new S,B.Cb.sk=A,Va.push(B.Cb)):B.oo(r.x,r.y,r.a,r.ia,r.oa,r.og))):(B=this.Qj(e,n),B.bl=p,B.Kk=a.paused,r&&(-1!==A?B.Vg.push({rr:A,Mm:r.ia,In:r.oa,Ln:r.og,Cs:m}):B.Vg.push({x:r.x,y:r.y,Rc:r.a,Mm:r.ia,In:r.oa,Ln:r.og,Cs:m}))));if(b&&!da){f=0;for(g=z.length;f<g;f++)z[f].gs(!0);da=!0}else if(!b&&da){f=0;for(g=z.length;f<g;f++)z[f].gs(!1);da=!1}};ra.Xd=function(){var a,b,c,d;a=0;for(b=Va.length;a<b;a++)c=Va[a],d=this.b.Tj(c.sk),c.Ii(d),c.sk=-1,d&&
(ja=d.x,ea=d.y);R(Va)};ra.jx=function(a){if(!this.tx){!a&&r&&r.resume&&(r.resume(),Ca=!1);var b,c;b=0;for(c=z.length;b<c;b++)z[b].$x(a);a&&r&&r.suspend&&(r.suspend(),Ca=!0)}};ra.Ca=function(){var a=this.b.Re,b,c,d;b=0;for(c=z.length;b<c;b++)d=z[b],d.Ca(a),0!==Q&&d.wl();var f,h;for(f in W)if(W.hasOwnProperty(f))for(d=W[f],b=0,c=d.length;b<c;b++)h=d[b],h.Ca&&h.Ca();1===E&&this.zc.Yj()&&(this.zc.Ca(a),ja=this.zc.da.x,ea=this.zc.da.y,r.listener.setPosition(this.zc.da.x,this.zc.da.y,this.ii))};var Wa=
[];ra.Zx=function(a){var b,c,d,f,h,g=0;b=0;for(c=a.length;b<c;++b)if(d=a[b],f=d[0],d=2*d[1],(h=4<f.length&&".ogg"===f.substr(f.length-4))&&F||!h&&!F)Wa.push({filename:f,size:d,da:null}),g+=d;return g};ra.fy=function(){var a,b,c,d;a=0;for(b=Wa.length;a<b;++a)c=Wa[a],d=this.b.rm+c.filename,c.da=this.Qj(d,!1)};ra.aw=function(){var a=0,b,c,d;b=0;for(c=Wa.length;b<c;++b)d=Wa[b],d.da.Fw()||d.da.ww()||this.b.Da||this.b.ak?a+=d.size:d.da.wq()&&(a+=Math.floor(d.size/2));return a};ra.Jx=function(){var a,b,
c,d;c=a=0;for(b=y.length;a<b;++a)d=y[a],y[c]=d,d.Od?d.Ix():++c;y.length=c};ra.Qj=function(a,b){var c,d,f,h=null;c=0;for(d=y.length;c<d;c++)if(f=y[c],f.src===a){h=f;break}h||(lb&&b&&this.Jx(),h=new B(a,b),y.push(h));return h};ra.gq=function(a,b,c,d,f){var h,g,e;h=0;for(g=z.length;h<g;h++)if(e=z[h],e.src===a&&(e.qu()||c))return e.tag=b,e;a=this.Qj(a,c);if(!a.ga)return"<preload>"!==b&&(a.Lk=b,a.Dn=d,a.Uo=f),null;e=new A(a,b);z.push(e);return e};var ya=[];U.prototype.aj=function(a){return jb(ga,a)};U.prototype.nt=
function(a){J(a);var b;a=0;for(b=ya.length;a<b;a++)if(ya[a].Dg())return!0;return!1};P.j=new U;N.prototype.Play=function(a,b,c,d){!da&&(c=Math.pow(10,c/20),isFinite(c)||(c=0),0>c&&(c=0),1<c&&(c=1),H=this.gq(this.b.rm+a[0]+(F?".ogg":".m4a"),d,a[1],0!==b,c))&&(H.po(!1),H.play(0!==b,c,0,this.nr),this.nr=0)};N.prototype.Hl=function(a){J(a);var b;a=0;for(b=ya.length;a<b;a++)ya[a].stop()};P.T=new N;P.Aa=new function(){}})();function rc(e){this.b=e}
(function(){function e(){}var p=rc.prototype;p.la=function(e){this.xa=e;this.b=e.b};p.la.prototype.L=function(){};p.ba=function(e){this.type=e;this.b=e.b;this.bi=Array(256);this.Vi=Array(256);this.Ce=0};var m=p.ba.prototype;m.L=function(){var e=this;this.b.Da||(jQuery(document).keydown(function(m){e.Mn(m)}),jQuery(document).keyup(function(m){e.Nn(m)}))};var q=[32,33,34,35,36,37,38,39,40,44];m.Mn=function(e){var m=!1;window!=window.top&&-1<q.indexOf(e.which)&&(e.preventDefault(),m=!0,e.stopPropagation());
if(this.bi[e.which])this.Vi[e.which]&&!m&&e.preventDefault();else{this.bi[e.which]=!0;this.Ce=e.which;this.b.Lb=!0;this.b.trigger(rc.prototype.j.$o,this);var b=this.b.trigger(rc.prototype.j.Gt,this),a=this.b.trigger(rc.prototype.j.Ht,this);this.b.Lb=!1;if(b||a)this.Vi[e.which]=!0,m||e.preventDefault()}};m.Nn=function(e){this.bi[e.which]=!1;this.Ce=e.which;this.b.Lb=!0;this.b.trigger(rc.prototype.j.bp,this);var m=this.b.trigger(rc.prototype.j.gp,this),b=this.b.trigger(rc.prototype.j.fp,this);this.b.Lb=
!1;if(m||b||this.Vi[e.which])this.Vi[e.which]=!0,e.preventDefault()};m.Sf=function(){var e;for(e=0;256>e;++e)if(this.bi[e]){this.bi[e]=!1;this.Ce=e;this.b.trigger(rc.prototype.j.bp,this);var m=this.b.trigger(rc.prototype.j.gp,this),b=this.b.trigger(rc.prototype.j.fp,this);if(m||b)this.Vi[e]=!0}};m.kb=function(){return{triggerKey:this.Ce}};m.Bb=function(e){this.Ce=e.triggerKey};e.prototype.Gt=function(e){return e===this.Ce};e.prototype.$o=function(){return!0};e.prototype.bp=function(){return!0};e.prototype.gp=
function(e){return e===this.Ce};e.prototype.Ht=function(e){return e===this.Ce};e.prototype.fp=function(e){return e===this.Ce};p.j=new e;p.T=new function(){};p.Aa=new function(){}})();function sc(e){this.b=e}
(function(){function e(e){this.Ga=e;this.lb=!1;this.k=this.speed=this.y=this.x=0;this.opacity=1;this.Je=this.Ag=this.size=this.Vj=0}var p=sc.prototype;p.la=function(e){this.xa=e;this.b=e.b};var m=p.la.prototype;m.L=function(){this.F||(this.Ha=new Image,this.Ha.Op=this.Go,this.tb=null,this.b.Ts(this.Ha,this.Fo))};m.Bk=function(){this.F||(this.tb=null)};m.On=function(){this.F||!this.d.length||this.tb||(this.tb=this.b.A.rk(this.Ha,!0,this.b.Ka,this.Ho))};m.yn=function(){this.F||this.tb||!this.b.A||(this.tb=
this.b.A.rk(this.Ha,!0,this.b.Ka,this.Ho))};m.Oo=function(){this.F||this.d.length||!this.tb||(this.b.A.deleteTexture(this.tb),this.tb=null)};m.Vn=function(e){e.drawImage(this.Ha,0,0)};e.prototype.init=function(){var e=this.Ga;this.x=e.x-e.Cl/2+Math.random()*e.Cl;this.y=e.y-e.Dl/2+Math.random()*e.Dl;this.speed=e.Um-e.il/2+Math.random()*e.il;this.k=e.k-e.jl/2+Math.random()*e.jl;this.opacity=e.Sm;this.size=e.Tm-e.hl/2+Math.random()*e.hl;this.Vj=e.Km-e.Wj/2+Math.random()*e.Wj;this.Je=this.Ag=0};e.prototype.Ca=
function(e){var m=this.Ga;this.x+=Math.cos(this.k)*this.speed*e;this.y+=Math.sin(this.k)*this.speed*e;this.y+=this.Ag*e;this.speed+=m.ub*e;this.size+=this.Vj*e;this.Ag+=m.wm*e;this.Je+=e;1>this.size?this.lb=!1:(0!==m.fi&&(this.k+=Math.random()*m.fi*e-m.fi*e/2),0!==m.hi&&(this.speed+=Math.random()*m.hi*e-m.hi*e/2),0!==m.gi&&(this.opacity+=Math.random()*m.gi*e-m.gi*e/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=m.rg&&this.Je>=m.timeout&&(this.lb=!1),2===m.rg&&0>=this.speed&&
(this.lb=!1))};e.prototype.Gc=function(e){var m=this.Ga.opacity*this.opacity;if(0!==m){0===this.Ga.rg&&(m*=1-this.Je/this.Ga.timeout);e.globalAlpha=m;var m=this.x-this.size/2,b=this.y-this.size/2;this.Ga.b.xd&&(m=m+.5|0,b=b+.5|0);e.drawImage(this.Ga.type.Ha,m,b,this.size,this.size)}};e.prototype.Rb=function(e){var m=this.Ga.opacity*this.opacity;0===this.Ga.rg&&(m*=1-this.Je/this.Ga.timeout);var b=this.size,a=b*this.Ga.Nr,f=this.x-b/2,g=this.y-b/2;this.Ga.b.xd&&(f=f+.5|0,g=g+.5|0);1>a||0===m||(a<e.Vw||
a>e.En?(e.Yf(m),e.Xg(f,g,f+b,g,f+b,g+b,f,g+b)):e.ux(this.x,this.y,a,m))};e.prototype.left=function(){return this.x-this.size/2};e.prototype.right=function(){return this.x+this.size/2};e.prototype.top=function(){return this.y-this.size/2};e.prototype.bottom=function(){return this.y+this.size/2};p.ba=function(e){this.type=e;this.b=e.b};var m=p.ba.prototype,q=[];m.L=function(){var e=this.n;this.Uk=e[0];this.jl=T(e[1]);this.dh=e[2];this.Ao=!0;this.Um=e[3];this.Tm=e[4];this.Sm=e[5]/100;this.Km=e[6];this.Cl=
e[7];this.Dl=e[8];this.il=e[9];this.hl=e[10];this.Wj=e[11];this.ub=e[12];this.wm=e[13];this.fi=e[14];this.hi=e[15];this.gi=e[16];this.rg=e[17];this.timeout=e[18];this.Tf=0;this.Nr=1;this.Hk=this.x;this.Jk=this.y;this.Ik=this.x;this.Gk=this.y;this.hu(function(e){e.wa.set(e.Hk,e.Jk,e.Ik,e.Gk);e.wb.xe(e.wa);e.lj=!1;e.So();e.Ps()});this.jc||(this.Ub=[]);this.b.ih(this);this.type.yn();if(1===this.dh)for(e=0;e<this.Uk;e++)this.Kl().opacity=0;this.Mj=!0};m.kb=function(){var e={r:this.Uk,sc:this.jl,st:this.dh,
s:this.Ao,isp:this.Um,isz:this.Tm,io:this.Sm,gr:this.Km,xr:this.Cl,yr:this.Dl,spr:this.il,szr:this.hl,grnd:this.Wj,acc:this.ub,g:this.wm,lar:this.fi,lsr:this.hi,lor:this.gi,dm:this.rg,to:this.timeout,pcc:this.Tf,ft:this.Mj,p:[]},m,b,a,f=e.p;m=0;for(b=this.Ub.length;m<b;m++)a=this.Ub[m],f.push([a.x,a.y,a.speed,a.k,a.opacity,a.Vj,a.size,a.Ag,a.Je]);return e};m.Bb=function(e){this.Uk=e.r;this.jl=e.sc;this.dh=e.st;this.Ao=e.s;this.Um=e.isp;this.Tm=e.isz;this.Sm=e.io;this.Km=e.gr;this.Cl=e.xr;this.Dl=
e.yr;this.il=e.spr;this.hl=e.szr;this.Wj=e.grnd;this.ub=e.acc;this.wm=e.g;this.fi=e.lar;this.hi=e.lsr;this.gi=e.lor;this.rg=e.dm;this.timeout=e.to;this.Tf=e.pcc;this.Mj=e.ft;q.push.apply(q,this.Ub);R(this.Ub);var m,b,a,f=e.p;e=0;for(m=f.length;e<m;e++)b=this.Kl(),a=f[e],b.x=a[0],b.y=a[1],b.speed=a[2],b.k=a[3],b.opacity=a[4],b.Vj=a[5],b.size=a[6],b.Ag=a[7],b.Je=a[8]};m.ff=function(){q.push.apply(q,this.Ub);R(this.Ub)};m.Kl=function(){var n;q.length?(n=q.pop(),n.Ga=this):n=new e(this);this.Ub.push(n);
n.lb=!0;return n};m.Ca=function(){var e=this.b.yg(this),m,b,a,f;if(0===this.dh&&this.Ao)for(this.Tf+=e*this.Uk,b=L(this.Tf),this.Tf-=b,m=0;m<b;m++)a=this.Kl(),a.init();this.Hk=this.x;this.Jk=this.y;this.Ik=this.x;this.Gk=this.y;f=m=0;for(b=this.Ub.length;m<b;m++)a=this.Ub[m],this.Ub[f]=a,this.b.ea=!0,1===this.dh&&this.Mj&&a.init(),a.Ca(e),a.lb?(a.left()<this.Hk&&(this.Hk=a.left()),a.right()>this.Ik&&(this.Ik=a.right()),a.top()<this.Jk&&(this.Jk=a.top()),a.bottom()>this.Gk&&(this.Gk=a.bottom()),f++):
q.push(a);Aa(this.Ub,f);this.aa();this.Mj=!1;1===this.dh&&0===this.Ub.length&&this.b.Hd(this)};m.Gc=function(e){var m,b,a,f=this.i;m=0;for(b=this.Ub.length;m<b;m++)a=this.Ub[m],a.right()>=f.qa&&a.bottom()>=f.ta&&a.left()<=f.za&&a.top()<=f.ya&&a.Gc(e)};m.Rb=function(e){this.Nr=this.i.Sb();e.Cc(this.type.tb);var m,b,a,f=this.i;m=0;for(b=this.Ub.length;m<b;m++)a=this.Ub[m],a.right()>=f.qa&&a.bottom()>=f.ta&&a.left()<=f.za&&a.top()<=f.ya&&a.Rb(e)};p.j=new function(){};p.T=new function(){};p.Aa=new function(){}})();
function Y(e){this.b=e}
(function(){function e(){if(0===this.em.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.eh?b.drawImage(this.Ha,this.Rg,this.Sg,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.Ha,0,0,this.width,this.height);this.em=a.toDataURL("image/png")}return this.em}function p(){}function m(a){a[0]=0;a[1]=0;a[2]=0;w.push(a)}function q(a,b){return a<b?""+a+","+b:""+b+","+a}function n(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=w.length?w.pop():[0,0,0];e[0]=b;e[1]=c;e[2]=d;a[f]=e}}function t(a,b,c){b=q(b.uid,c.uid);a.hasOwnProperty(b)&&(m(a[b]),delete a[b])}function b(a,b,c){b=q(b.uid,c.uid);if(a.hasOwnProperty(b))return k=a[b][2],!0;k=-2;return!1}function a(){}var f=Y.prototype;f.la=function(a){this.xa=a;this.b=a.b};var g=f.la.prototype;g.L=function(){if(!this.F){var a,b,c,d,f,g,k,m,n;this.md=[];this.Oh=!1;a=0;for(b=this.tc.length;a<b;a++){f=this.tc[a];k={};k.name=f[0];k.speed=f[1];k.loop=f[2];k.co=f[3];k.eo=
f[4];k.Or=f[5];k.S=f[6];k.frames=[];c=0;for(d=f[7].length;c<d;c++)g=f[7][c],m={},m.Fo=g[0],m.Go=g[1],m.Rg=g[2],m.Sg=g[3],m.width=g[4],m.height=g[5],m.duration=g[6],m.wc=g[7],m.xc=g[8],m.Om=g[9],m.Mk=g[10],m.Pr=g[11],m.eh=0!==m.width,m.em="",m.Dz=e,n={left:0,top:0,right:1,bottom:1},m.so=n,m.tb=null,(n=this.b.Mv(g[0]))?m.Ha=n:(m.Ha=new Image,m.Ha.wu=g[0],m.Ha.Op=g[1],m.Ha.pu=null,this.b.Ts(m.Ha,g[0])),k.frames.push(m),this.md.push(m);this.tc[a]=k}}};g.Ns=function(){var a,b,c;a=0;for(b=this.d.length;a<
b;a++)c=this.d[a],c.vj=c.xb.tb};g.Bk=function(){if(!this.F){var a,b,c;a=0;for(b=this.md.length;a<b;++a)c=this.md[a],c.Ha.pu=null,c.tb=null;this.Oh=!1;this.Ns()}};g.On=function(){if(!this.F&&this.d.length){var a,b,c;a=0;for(b=this.md.length;a<b;++a)c=this.md[a],c.tb=this.b.A.rk(c.Ha,!1,this.b.Ka,c.Pr);this.Ns()}};g.yn=function(){if(!this.F&&!this.Oh&&this.b.A){var a,b,c;a=0;for(b=this.md.length;a<b;++a)c=this.md[a],c.tb=this.b.A.rk(c.Ha,!1,this.b.Ka,c.Pr);this.Oh=!0}};g.Oo=function(){if(!this.F&&!this.d.length&&
this.Oh){var a,b,c;a=0;for(b=this.md.length;a<b;++a)c=this.md[a],this.b.A.deleteTexture(c.tb),c.tb=null;this.Oh=!1}};var d=[];g.Vn=function(a){var b,c,f;R(d);b=0;for(c=this.md.length;b<c;++b)f=this.md[b].Ha,-1===d.indexOf(f)&&(a.drawImage(f,0,0),d.push(f))};f.ba=function(a){this.type=a;this.b=a.b;a=this.type.tc[0].frames[0].Mk;this.jc?this.P.Ki(a):this.P=new db(a)};var c=f.ba.prototype;c.L=function(){this.visible=0===this.n[0];this.Pm=this.hn=!1;this.rd=0!==this.n[3];this.Ia=this.fq(this.n[1])||this.type.tc[0];
this.B=this.n[2];0>this.B&&(this.B=0);this.B>=this.Ia.frames.length&&(this.B=this.Ia.frames.length-1);var a=this.Ia.frames[this.B];this.P.Ki(a.Mk);this.wc=a.wc;this.xc=a.xc;this.ng=this.Ia.speed;this.Qe=this.Ia.eo;1===this.type.tc.length&&1===this.type.tc[0].frames.length||0===this.ng||(this.b.ih(this),this.hn=!0);this.jc?this.Id.reset():this.Id=new bb;this.je=this.Id.M;this.of=!0;this.Yd=0;this.nf=!0;this.Ul=this.zp="";this.ru=0;this.qj=-1;this.type.yn();var b,c,d,f,e,g,k,a=0;for(b=this.type.tc.length;a<
b;a++)for(f=this.type.tc[a],c=0,d=f.frames.length;c<d;c++)e=f.frames[c],0===e.width&&(e.width=e.Ha.width,e.height=e.Ha.height),e.eh&&(k=e.Ha,g=e.so,g.left=e.Rg/k.width,g.top=e.Sg/k.height,g.right=(e.Rg+e.width)/k.width,g.bottom=(e.Sg+e.height)/k.height,0===e.Rg&&0===e.Sg&&e.width===k.width&&e.height===k.height&&(e.eh=!1));this.xb=this.Ia.frames[this.B];this.vj=this.xb.tb};c.kb=function(){var a={a:this.Ia.S,f:this.B,cas:this.ng,fs:this.je,ar:this.Yd,at:this.Id.M,rt:this.Qe};this.of||(a.ap=this.of);
this.nf||(a.af=this.nf);return a};c.Bb=function(a){var b=this.Rv(a.a);b&&(this.Ia=b);this.B=a.f;0>this.B&&(this.B=0);this.B>=this.Ia.frames.length&&(this.B=this.Ia.frames.length-1);this.ng=a.cas;this.je=a.fs;this.Yd=a.ar;this.Id.reset();this.Id.M=a.at;this.of=a.hasOwnProperty("ap")?a.ap:!0;this.nf=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?this.Qe=a.rt:this.Qe=this.Ia.eo;this.xb=this.Ia.frames[this.B];this.vj=this.xb.tb;this.P.Ki(this.xb.Mk);this.wc=this.xb.wc;this.xc=this.xb.xc};c.Nl=
function(a){this.B=a?0:this.Ia.frames.length-1;this.of=!1;this.zp=this.Ia.name;this.Pm=!0;this.b.trigger(Y.prototype.j.tt,this);this.b.trigger(Y.prototype.j.qt,this);this.Pm=!1;this.Yd=0};c.sh=function(){return this.Id.M};c.Ca=function(){this.Id.add(this.b.yg(this));this.Ul.length&&this.Du();0<=this.qj&&this.Sp();var a=this.Id.M,b=this.Ia,c=b.frames[this.B],d=c.duration/this.ng;this.of&&a>=this.je+d&&(this.nf?this.B++:this.B--,this.je+=d,this.B>=b.frames.length&&(b.Or?(this.nf=!1,this.B=b.frames.length-
2):b.loop?this.B=this.Qe:(this.Yd++,this.Yd>=b.co?this.Nl(!1):this.B=this.Qe)),0>this.B&&(b.Or?(this.B=1,this.nf=!0,b.loop||(this.Yd++,this.Yd>=b.co&&this.Nl(!0))):b.loop?this.B=this.Qe:(this.Yd++,this.Yd>=b.co?this.Nl(!0):this.B=this.Qe)),0>this.B?this.B=0:this.B>=b.frames.length&&(this.B=b.frames.length-1),a>this.je+b.frames[this.B].duration/this.ng&&(this.je=a),a=b.frames[this.B],this.kg(c,a),this.b.ea=!0)};c.fq=function(a){var b,c,d;b=0;for(c=this.type.tc.length;b<c;b++)if(d=this.type.tc[b],jb(d.name,
a))return d;return null};c.Rv=function(a){var b,c,d;b=0;for(c=this.type.tc.length;b<c;b++)if(d=this.type.tc[b],d.S===a)return d;return null};c.Du=function(){var a=this.Ia.frames[this.B],b=this.fq(this.Ul);this.Ul="";!b||jb(b.name,this.Ia.name)&&this.of||(this.Ia=b,this.ng=b.speed,this.Qe=b.eo,0>this.B&&(this.B=0),this.B>=this.Ia.frames.length&&(this.B=this.Ia.frames.length-1),1===this.ru&&(this.B=0),this.of=!0,this.je=this.Id.M,this.nf=!0,this.kg(a,this.Ia.frames[this.B]),this.b.ea=!0)};c.Sp=function(){var a=
this.Ia.frames[this.B],b=this.B;this.B=L(this.qj);0>this.B&&(this.B=0);this.B>=this.Ia.frames.length&&(this.B=this.Ia.frames.length-1);b!==this.B&&(this.kg(a,this.Ia.frames[this.B]),this.je=this.Id.M,this.b.ea=!0);this.qj=-1};c.kg=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.wc=b.wc;this.xc=b.xc;this.P.Ki(b.Mk);this.aa();this.xb=b;this.vj=b.tb;c=0;for(d=this.G.length;c<d;c++)f=this.G[c],f.ix&&f.ix(a,b);this.b.trigger(Y.prototype.j.kg,
this)};c.Gc=function(a){a.globalAlpha=this.opacity;var b=this.xb,c=b.eh,d=b.Ha,f=this.x,e=this.y,g=this.width,k=this.height;if(0===this.k&&0<=g&&0<=k)f-=this.wc*g,e-=this.xc*k,this.b.xd&&(f=Math.round(f),e=Math.round(e)),c?a.drawImage(d,b.Rg,b.Sg,b.width,b.height,f,e,g,k):a.drawImage(d,f,e,g,k);else{this.b.xd&&(f=Math.round(f),e=Math.round(e));a.save();var m=0<g?1:-1,n=0<k?1:-1;a.translate(f,e);1===m&&1===n||a.scale(m,n);a.rotate(this.k*m*n);f=0-this.wc*oa(g);e=0-this.xc*oa(k);c?a.drawImage(d,b.Rg,
b.Sg,b.width,b.height,f,e,oa(g),oa(k)):a.drawImage(d,f,e,oa(g),oa(k));a.restore()}};c.sg=function(a){this.Rb(a)};c.Rb=function(a){a.Cc(this.vj);a.Yf(this.opacity);var b=this.xb,c=this.wb;if(this.b.xd){var d=Math.round(this.x)-this.x,f=Math.round(this.y)-this.y;b.eh?a.hf(c.Fb+d,c.Gb+f,c.pc+d,c.qc+f,c.ac+d,c.cc+f,c.Zb+d,c.$b+f,b.so):a.Xg(c.Fb+d,c.Gb+f,c.pc+d,c.qc+f,c.ac+d,c.cc+f,c.Zb+d,c.$b+f)}else b.eh?a.hf(c.Fb,c.Gb,c.pc,c.qc,c.ac,c.cc,c.Zb,c.$b,b.so):a.Xg(c.Fb,c.Gb,c.pc,c.qc,c.ac,c.cc,c.Zb,c.$b)};
c.Xv=function(a){var b=this.xb,c,d;c=0;for(d=b.Om.length;c<d;c++)if(jb(a,b.Om[c][0]))return c;return-1};c.Hh=function(a,b){var c=this.xb,d=c.Om,f;x(a)?f=this.Xv(a):f=a-1;f=L(f);if(0>f||f>=d.length)return b?this.x:this.y;var e=(d[f][1]-c.wc)*this.width,d=d[f][2],d=(d-c.xc)*this.height,c=Math.cos(this.k);f=Math.sin(this.k);var g=e*c-d*f,d=d*c+e*f,e=g+this.x,d=d+this.y;return b?e:d};var w=[],k=-2,D=[];p.prototype.yt=function(a){if(!a)return!1;var c=this.b,d=c.Gh(),f=d.type,e=null;d.D.collmemory?e=d.D.collmemory:
(e={},d.D.collmemory=e);d.D.spriteCreatedDestroyCallback||(d.D.spriteCreatedDestroyCallback=!0,c.xp(function(a){var b=d.D.collmemory;a=a.uid;var c,f;for(c in b)b.hasOwnProperty(c)&&(f=b[c],f[0]===a||f[1]===a)&&(m(b[c]),delete b[c])}));var g=f.U(),p=a.U(),g=g.fc(),q,u,w,K,N,P,C,G=this.b.jd,ga=G-1,V=c.pb().Qb;for(u=0;u<g.length;u++){w=g[u];p.Z?(w.pa(),this.b.ym(w.i,a,w.wa,D),q=D,this.b.fu(w,a,q)):q=p.fc();for(K=0;K<q.length;K++)N=q[K],c.Ri(w,N)||c.su(w,N)?(P=b(e,w,N),P=!P||k<ga,n(e,w,N,G),P&&(c.Rk(V.Ea),
P=f.U(),C=a.U(),P.Z=!1,C.Z=!1,f===a?(P.d.length=2,P.d[0]=w,P.d[1]=N,f.nd()):(P.d.length=1,C.d.length=1,P.d[0]=w,C.d[0]=N,f.nd(),a.nd()),V.Ox(),c.Vf(V.Ea))):t(e,w,N);R(D)}return!1};var K=new ba,u=!1;new va(0,0,0,0);g.finish=function(a){if(u){if(a){var b=this.b.pb().Qb.$c;a=null.U();var c=K.kd(),d,f;if(a.Z){a.Z=!1;R(a.d);d=0;for(f=c.length;d<f;++d)a.d[d]=c[d];if(b)for(R(a.X),d=0,f=null.d.length;d<f;++d)c=null.d[d],K.contains(c)||a.X.push(c)}else if(b)for(b=a.d.length,d=0,f=c.length;d<f;++d)a.d[b+d]=
c[d],Fa(a.X,c[d]);else Ba(a.d,c);null.nd()}K.clear();u=!1}};p.prototype.qt=function(a){return jb(this.zp,a)};p.prototype.tt=function(){return!0};p.prototype.kg=function(){return!0};f.j=new p;a.prototype.Vt=function(a,b,c){if(a&&b&&(b=this.b.$l(a,b,this.Hh(c,!0),this.Hh(c,!1)))){"undefined"!==typeof b.k&&(b.k=this.k,b.aa());this.b.Lc++;var d,f,e;this.b.trigger(Object.getPrototypeOf(a.xa).j.jg,b);if(b.Mb)for(d=0,f=b.siblings.length;d<f;d++)e=b.siblings[d],this.b.trigger(Object.getPrototypeOf(e.type.xa).j.jg,
e);this.b.Lc--;d=this.b.Tv();c=!1;if(ka(d.D.Spawn_LastExec)||d.D.Spawn_LastExec<this.b.zf)c=!0,d.D.Spawn_LastExec=this.b.zf;if(a!=this.type&&(a=a.U(),a.Z=!1,c?(R(a.d),a.d[0]=b):a.d.push(b),b.Mb))for(d=0,f=b.siblings.length;d<f;d++)e=b.siblings[d],a=e.type.U(),a.Z=!1,c?(R(a.d),a.d[0]=e):a.d.push(e)}};a.prototype.Ot=function(a){this.qj=a;this.hn||(this.b.ih(this),this.hn=!0);this.Pm||this.Sp()};f.T=new a;f.Aa=new function(){}})();function tc(e){this.b=e}
(function(){function e(){return a.length?a.pop():{}}function p(b){var e,d;e=0;for(d=b.length;e<d;e++)a.push(b[e]);R(b)}function m(a){return a.length&&" "===a.charAt(a.length-1)?a.substring(0,a.length-1):a}function q(){}var n=tc.prototype;n.L=function(){n.T.Ut=function(a){this.width!==a&&(this.width=a,this.eg=!0,this.aa())}};n.la=function(a){this.xa=a;this.b=a.b};var t=n.la.prototype;t.L=function(){};t.Bk=function(){if(!this.F){var a,b,d;a=0;for(b=this.d.length;a<b;a++)d=this.d[a],d.Rd=null,d.Qf=null,
d.Ac=null}};n.ba=function(a){this.type=a;this.b=a.b;this.jc?R(this.$e):this.$e=[];this.eg=!0};t=n.ba.prototype;t.L=function(){this.text=this.n[0];this.visible=0===this.n[1];this.font=this.n[2];this.color=this.n[3];this.Xj=this.n[4];this.yl=this.n[5];this.Wo=0===this.n[7];this.vn=this.mk=this.width;this.lk=this.height;this.xn=this.n[8];this.Nj=this.ug="";this.As=this.Bs=this.Di=0;this.mx();this.Ac=this.Qf=this.Rd=null;this.mr=!1;this.di=this.b.jd;this.jc?this.Zg.set(0,0,1,1):this.Zg=new va(0,0,1,1);
this.b.A&&this.b.ih(this)};t.mx=function(){var a=this.font.split(" "),b;for(b=0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.Di=parseInt(a[b].substr(0,a[b].length-2));this.Yn=Math.ceil(this.Di/72*96)+4;0<b&&(this.Nj=a[b-1]);this.ug=a[b+1];for(b+=2;b<a.length;b++)this.ug+=" "+a[b];break}};t.kb=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Xj,va:this.yl,wr:this.Wo,lho:this.xn,fn:this.ug,fs:this.Nj,ps:this.Di,pxh:this.Yn,tw:this.Bs,th:this.As,lrt:this.di}};t.Bb=function(a){this.text=
a.t;this.font=a.f;this.color=a.c;this.Xj=a.ha;this.yl=a.va;this.Wo=a.wr;this.xn=a.lho;this.ug=a.fn;this.Nj=a.fs;this.Di=a.ps;this.Yn=a.pxh;this.Bs=a.tw;this.As=a.th;this.di=a.lrt;this.eg=!0;this.vn=this.mk=this.width;this.lk=this.height};t.Ca=function(){if(this.b.A&&this.Ac&&300<=this.b.jd-this.di){var a=this.i;this.pa();var b=this.wa;if(b.right<a.qa||b.bottom<a.ta||b.left>a.za||b.top>a.ya)this.b.A.deleteTexture(this.Ac),this.Rd=this.Qf=this.Ac=null}};t.ff=function(){this.Rd=this.Qf=null;this.b.A&&
this.Ac&&this.b.A.deleteTexture(this.Ac);this.Ac=null};t.sh=function(){this.font=this.Nj+" "+this.Di.toString()+"pt "+this.ug;this.eg=!0;this.b.ea=!0};t.Gc=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var d=1;b&&(d=Math.abs(this.i.Sb()),a.save(),a.scale(d,d));if(this.eg||this.width!==this.vn)this.type.xa.$t(this.text,this.$e,a,this.width,this.Wo),this.eg=!1,this.vn=this.width;this.pa();var d=b?0:this.wb.Fb,c=b?0:this.wb.Gb;this.b.xd&&(d=
d+.5|0,c=c+.5|0);0===this.k||b||(a.save(),a.translate(d,c),a.rotate(this.k),c=d=0);var e=c+this.height,k=this.Yn,k=k+this.xn,m,n;1===this.yl?c+=Math.max(this.height/2-this.$e.length*k/2,0):2===this.yl&&(c+=Math.max(this.height-this.$e.length*k-2,0));for(n=0;n<this.$e.length&&!(m=d,1===this.Xj?m=d+(this.width-this.$e[n].width)/2:2===this.Xj&&(m=d+(this.width-this.$e[n].width)),a.fillText(this.$e[n].text,m,c),c+=k,c>=e-k);n++);(0!==this.k||b)&&a.restore();this.di=this.b.jd};t.Rb=function(a){if(!(1>
this.width||1>this.height)){var b=this.eg||this.mr;this.mr=!1;var d=this.i.Sb(),c=this.i.bb(),e=this.Zg,k=d*this.width,m=d*this.height,n=Math.ceil(k),p=Math.ceil(m),h=Math.abs(n),l=Math.abs(p),q=this.b.I/2,t=this.b.H/2;this.Qf||(this.Rd=document.createElement("canvas"),this.Rd.width=h,this.Rd.height=l,this.mk=h,this.lk=l,b=!0,this.Qf=this.Rd.getContext("2d"));if(h!==this.mk||l!==this.lk)this.Rd.width=h,this.Rd.height=l,this.Ac&&(a.deleteTexture(this.Ac),this.Ac=null),b=!0;b&&(this.Qf.clearRect(0,
0,h,l),this.Gc(this.Qf,!0),this.Ac||(this.Ac=a.Fc(h,l,this.b.Ka,this.b.We)),a.vy(this.Rd,this.Ac,this.b.We));this.mk=h;this.lk=l;a.Cc(this.Ac);a.Yf(this.opacity);a.dd();a.translate(-q,-t);a.Pc();var O=this.wb,b=this.i.Ba(O.Fb,O.Gb,!0,!0),h=this.i.Ba(O.Fb,O.Gb,!1,!0),l=this.i.Ba(O.pc,O.qc,!0,!0),q=this.i.Ba(O.pc,O.qc,!1,!0),t=this.i.Ba(O.ac,O.cc,!0,!0),S=this.i.Ba(O.ac,O.cc,!1,!0),B=this.i.Ba(O.Zb,O.$b,!0,!0),O=this.i.Ba(O.Zb,O.$b,!1,!0);if(this.b.xd||0===this.k&&0===c)var A=(b+.5|0)-b,J=(h+.5|0)-
h,b=b+A,h=h+J,l=l+A,q=q+J,t=t+A,S=S+J,B=B+A,O=O+J;0===this.k&&0===c?(l=b+n,q=h,t=l,S=h+p,B=b,O=S,e.right=1,e.bottom=1):(e.right=k/n,e.bottom=m/p);a.hf(b,h,l,q,t,S,B,O,e);a.dd();a.scale(d,d);a.Zk(-this.i.bb());a.translate((this.i.qa+this.i.za)/-2,(this.i.ta+this.i.ya)/-2);a.Pc();this.di=this.b.jd}};var b=[];n.Yt=function(a){R(b);for(var e="",d,c=0;c<a.length;)if(d=a.charAt(c),"\n"===d)e.length&&(b.push(e),e=""),b.push("\n"),++c;else if(" "===d||"\t"===d||"-"===d){do e+=a.charAt(c),c++;while(c<a.length&&
(" "===a.charAt(c)||"\t"===a.charAt(c)));b.push(e);e=""}else c<a.length&&(e+=d,c++);e.length&&b.push(e)};var a=[];n.$t=function(a,b,d,c,m){if(a&&a.length)if(2>=c)p(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var k=d.measureText(a).width;if(k<=c){p(b);b.push(e());b[0].text=a;b[0].width=k;return}}this.au(a,b,d,c,m)}else p(b)};n.au=function(f,g,d,c,n){n&&(this.Yt(f),f=b);var k="",p,q,u,h=0;for(u=0;u<f.length;u++)"\n"===f[u]?(h>=g.length&&g.push(e()),k=m(k),q=g[h],q.text=k,q.width=d.measureText(k).width,
h++,k=""):(p=k,k+=f[u],q=d.measureText(k).width,q>=c&&(h>=g.length&&g.push(e()),p=m(p),q=g[h],q.text=p,q.width=d.measureText(p).width,h++,k=f[u],n||" "!==k||(k="")));k.length&&(h>=g.length&&g.push(e()),k=m(k),q=g[h],q.text=k,q.width=d.measureText(k).width,h++);for(u=h;u<g.length;u++)a.push(g[u]);g.length=h};n.j=new function(){};q.prototype.Gl=function(a){la(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.eg=!0,this.b.ea=!0)};n.T=new q;n.Aa=new function(){}})();
function uc(e){this.b=e}
(function(){function e(){}function p(){}var m=uc.prototype;m.la=function(e){this.xa=e;this.b=e.b};m.la.prototype.L=function(){};m.ba=function(e){this.type=e;this.b=e.b};var q=m.ba.prototype,n="text password email number tel url".split(" ");-1<navigator.userAgent.indexOf("MSIE 9")&&(n[2]="text",n[3]="text",n[4]="text",n[5]="text");q.L=function(){if(this.b.Da)ha("[Construct 2] Textbox plugin not supported on this platform - the object will not be created");else{6===this.n[7]?(this.C=document.createElement("textarea"),
jQuery(this.C).css("resize","none")):(this.C=document.createElement("input"),this.C.type=n[this.n[7]]);this.C.id=this.n[9];jQuery(this.C).appendTo(this.b.pj?this.b.pj:"body");this.C.autocomplete="off";this.C.value=this.n[0];this.C.placeholder=this.n[1];this.C.title=this.n[2];this.C.disabled=0===this.n[4];this.C.readOnly=1===this.n[5];this.C.spellcheck=1===this.n[6];this.lu=0!==this.n[8];this.wf=!1;0===this.n[3]&&(jQuery(this.C).hide(),this.visible=!1,this.wf=!0);var e=function(b){return function(){b.b.trigger(uc.prototype.j.Mt,
b)}}(this);this.C.oninput=e;-1!==navigator.userAgent.indexOf("MSIE")&&(this.C.oncut=e);this.C.onclick=function(b){return function(a){a.stopPropagation();b.b.Lb=!0;b.b.trigger(uc.prototype.j.xt,b);b.b.Lb=!1}}(this);this.C.ondblclick=function(b){return function(a){a.stopPropagation();b.b.Lb=!0;b.b.trigger(uc.prototype.j.zt,b);b.b.Lb=!1}}(this);this.C.addEventListener("touchstart",function(b){b.stopPropagation()},!1);this.C.addEventListener("touchmove",function(b){b.stopPropagation()},!1);this.C.addEventListener("touchend",
function(b){b.stopPropagation()},!1);jQuery(this.C).mousedown(function(b){b.stopPropagation()});jQuery(this.C).mouseup(function(b){b.stopPropagation()});jQuery(this.C).keydown(function(b){13!==b.which&&27!=b.which&&b.stopPropagation()});jQuery(this.C).keyup(function(b){13!==b.which&&27!=b.which&&b.stopPropagation()});this.Iq=this.Jq=this.Bq=this.Fq=this.Hq=this.Dq=0;this.Os(!0);this.b.ih(this)}};q.kb=function(){return{text:this.C.value,placeholder:this.C.placeholder,tooltip:this.C.title,disabled:!!this.C.disabled,
readonly:!!this.C.readOnly,spellcheck:!!this.C.spellcheck}};q.Bb=function(e){this.C.value=e.text;this.C.placeholder=e.placeholder;this.C.title=e.tooltip;this.C.disabled=e.disabled;this.C.readOnly=e.readonly;this.C.spellcheck=e.spellcheck};q.ff=function(){this.b.Da||(jQuery(this.C).remove(),this.C=null)};q.Ca=function(){this.Os()};q.Os=function(e){if(!this.b.Da){var b=this.i.Ba(this.x,this.y,!0),a=this.i.Ba(this.x,this.y,!1),f=this.i.Ba(this.x+this.width,this.y+this.height,!0),g=this.i.Ba(this.x+this.width,
this.y+this.height,!1),d=this.b.width/this.b.devicePixelRatio,c=this.b.height/this.b.devicePixelRatio;!this.visible||!this.i.visible||0>=f||0>=g||b>=d||a>=c?(this.wf||jQuery(this.C).hide(),this.wf=!0):(1>b&&(b=1),1>a&&(a=1),f>=d&&(f=d-1),g>=c&&(g=c-1),d=window.innerWidth,c=window.innerHeight,e||this.Dq!==b||this.Hq!==a||this.Fq!==f||this.Bq!==g||this.Jq!==d||this.Iq!==c?(this.Dq=b,this.Hq=a,this.Fq=f,this.Bq=g,this.Jq=d,this.Iq=c,this.wf&&(jQuery(this.C).show(),this.wf=!1),e=Math.round(b)+jQuery(this.b.canvas).offset().left,
d=Math.round(a)+jQuery(this.b.canvas).offset().top,jQuery(this.C).css("position","absolute"),jQuery(this.C).offset({left:e,top:d}),jQuery(this.C).width(Math.round(f-b)),jQuery(this.C).height(Math.round(g-a)),this.lu&&jQuery(this.C).css("font-size",this.i.Sb(!0)/this.b.devicePixelRatio-.2+"em")):this.wf&&(jQuery(this.C).show(),this.wf=!1))}};q.Gc=function(){};q.Rb=function(){};e.prototype.Mt=function(){return!0};e.prototype.xt=function(){return!0};e.prototype.zt=function(){return!0};m.j=new e;p.prototype.Gl=
function(e){this.b.Da||(this.C.value=e)};p.prototype.rp=function(e){this.b.Da||(this.visible=0!==e)};m.T=new p;m.Aa=new function(){}})();function Z(e){this.b=e}
(function(){function e(a){g=a.x;d=a.y;c=a.z}function p(a,b,c,d){var f;f=w.length?w.pop():new m;f.init(a,b,c,d);return f}function m(){this.Oi=this.id=this.y=this.x=this.ml=this.ll=this.tn=this.time=this.Co=0;this.Ti=this.sl=!1}function q(a){return a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents||a.originalEvent&&a.originalEvent.sourceCapabilities&&a.originalEvent.sourceCapabilities.firesTouchEvents}function n(){}function t(){}var b=Z.prototype;b.la=function(a){this.xa=a;this.b=a.b};b.la.prototype.L=
function(){};b.ba=function(a){this.type=a;this.b=a.b;this.touches=[];this.Gn=!1};var a=b.ba.prototype,f={left:0,top:0};a.Eh=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var g=0,d=0,c=0,w=[];m.prototype.init=function(a,b,c,d){var f=Ya();this.Co=this.tn=this.time=f;this.ll=a;this.ml=b;this.x=a;this.y=b;this.pressure=this.height=this.width=0;this.id=c;this.Oi=d;this.Ti=this.sl=!1};m.prototype.update=function(a,b,c,d,f,e){this.tn=this.time;this.time=
a;this.x=b;this.y=c;this.width=d;this.height=f;this.pressure=e;!this.Ti&&15<=Sa(this.ll,this.ml,this.x,this.y)&&(this.Ti=!0)};m.prototype.Tw=function(a,b){!this.sl&&500<=Ya()-this.Co&&!this.Ti&&15>Sa(this.ll,this.ml,this.x,this.y)&&(this.sl=!0,a.Wd=this.Oi,a.jh=this.id,a.zg=b,a.b.trigger(Z.prototype.j.Et,a),a.be=this.x,a.ee=this.y,a.b.trigger(Z.prototype.j.Ft,a),a.zg=0)};var k=-1E3,D=-1E3,K=-1E4;m.prototype.hr=function(a,b){if(!this.sl){var c=Ya();333>=c-this.Co&&!this.Ti&&15>Sa(this.ll,this.ml,this.x,
this.y)&&(a.Wd=this.Oi,a.jh=this.id,a.zg=b,666>=c-K&&25>Sa(k,D,this.x,this.y)?(a.b.trigger(Z.prototype.j.At,a),a.be=this.x,a.ee=this.y,a.b.trigger(Z.prototype.j.Bt,a),D=k=-1E3,K=-1E4):(a.b.trigger(Z.prototype.j.Kt,a),a.be=this.x,a.ee=this.y,a.b.trigger(Z.prototype.j.Lt,a),k=this.x,D=this.y,K=c),a.zg=0)}};a.L=function(){this.Jw=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.zg=this.jh=this.Wd=this.ee=this.be=this.up=this.tp=this.sp=this.du=this.cu=this.bu=this.Fk=this.Ek=this.Dk=
0;this.ty=0!==this.n[0];var a=0<this.b.ec?document:this.b.canvas,b=document;this.b.Tb?b=a=window.Canvas:this.b.Yc&&(b=a=window);var c=this;"undefined"!==typeof PointerEvent?(a.addEventListener("pointerdown",function(a){c.Br(a)},!1),a.addEventListener("pointermove",function(a){c.Ar(a)},!1),b.addEventListener("pointerup",function(a){c.Ck(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.Ck(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.Br(a)},!1),a.addEventListener("MSPointerMove",function(a){c.Ar(a)},!1),b.addEventListener("MSPointerUp",function(a){c.Ck(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.Ck(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.Dr(a)},!1),a.addEventListener("touchmove",function(a){c.Cr(a)},!1),b.addEventListener("touchend",function(a){c.Pn(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.Pn(a,!0)},!1));if(this.Jw){var d=function(a){a=a.reading;c.sp=a.accelerationX;c.tp=a.accelerationY;
c.up=a.accelerationZ},f=function(a){a=a.reading;c.Dk=a.yawDegrees;c.Ek=a.pitchDegrees;c.Fk=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",d));var k=Windows.Devices.Sensors.Inclinometer.getDefault();k&&(k.reportInterval=Math.max(k.minimumReportInterval,16),k.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?
(g&&g.removeEventListener("readingchanged",d),k&&k.removeEventListener("readingchanged",f)):(g&&g.addEventListener("readingchanged",d),k&&k.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",function(a){c.Dk=a.alpha||0;c.Ek=a.beta||0;c.Fk=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.bu=a.accelerationIncludingGravity.x||0,c.cu=a.accelerationIncludingGravity.y||0,c.du=a.accelerationIncludingGravity.z||
0);a.acceleration&&(c.sp=a.acceleration.x||0,c.tp=a.acceleration.y||0,c.up=a.acceleration.z||0)},!1);this.ty&&!this.b.Da&&(jQuery(document).mousemove(function(a){c.gx(a)}),jQuery(document).mousedown(function(a){c.cx(a)}),jQuery(document).mouseup(function(a){c.hx(a)}));!this.b.Jg&&this.b.Kc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(e,null,{frequency:40});this.b.jy(this)};a.Ar=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&
"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.Eh(a.pointerId),c=Ya();if(0<=b){var d=this.b.Da?f:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||b.update(c,a.pageX-d.left,a.pageY-d.top,a.width||0,a.height||0,a.pressure||0)}}};a.Br=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.Da?f:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;Ya();this.Wd=this.touches.length;
this.jh=a.pointerId;this.touches.push(p(c,b,a.pointerId,this.Wd));this.b.Lb=!0;this.b.trigger(Z.prototype.j.lp,this);this.b.trigger(Z.prototype.j.qp,this);this.be=c;this.ee=b;this.b.trigger(Z.prototype.j.pp,this);this.b.Lb=!1}};a.Ck=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var c=this.Eh(a.pointerId);this.Wd=0<=c?this.touches[c].Oi:-1;this.jh=0<=c?this.touches[c].id:-1;this.b.Lb=!0;this.b.trigger(Z.prototype.j.kp,
this);this.b.trigger(Z.prototype.j.op,this);0<=c&&(b||this.touches[c].hr(this,c),100>w.length&&w.push(this.touches[c]),this.touches.splice(c,1));this.b.Lb=!1}};a.Cr=function(a){a.preventDefault&&a.preventDefault();var b=Ya(),c,d,e,g;c=0;for(d=a.changedTouches.length;c<d;c++)if(e=a.changedTouches[c],g=this.Eh(e.identifier),0<=g){var k=this.b.Da?f:jQuery(this.b.canvas).offset();g=this.touches[g];2>b-g.time||g.update(b,e.pageX-k.left,e.pageY-k.top,2*(e.Nz||e.Uz||e.Gz||e.Jz||0),2*(e.Oz||e.Vz||e.Hz||e.Kz||
0),e.Cz||e.Tz||e.Fz||e.Iz||0)}};a.Dr=function(a){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.Da?f:jQuery(this.b.canvas).offset();Ya();this.b.Lb=!0;var c,d,e,g;c=0;for(d=a.changedTouches.length;c<d;c++)if(e=a.changedTouches[c],g=this.Eh(e.identifier),-1===g){g=e.pageX-b.left;var k=e.pageY-b.top;this.Wd=this.touches.length;this.jh=e.identifier;this.touches.push(p(g,k,e.identifier,this.Wd));this.b.trigger(Z.prototype.j.lp,this);this.b.trigger(Z.prototype.j.qp,this);this.be=g;this.ee=k;this.b.trigger(Z.prototype.j.pp,
this)}this.b.Lb=!1};a.Pn=function(a,b){a.preventDefault&&mb(a)&&a.preventDefault();this.b.Lb=!0;var c,d,f;c=0;for(d=a.changedTouches.length;c<d;c++)f=a.changedTouches[c],f=this.Eh(f.identifier),0<=f&&(this.Wd=this.touches[f].Oi,this.jh=this.touches[f].id,this.b.trigger(Z.prototype.j.kp,this),this.b.trigger(Z.prototype.j.op,this),b||this.touches[f].hr(this,f),100>w.length&&w.push(this.touches[f]),this.touches.splice(f,1));this.b.Lb=!1};a.sh=function(){return this.b.Kc&&0===this.Dk&&0!==c?90*c:this.Dk};
a.Az=function(){return this.b.Kc&&0===this.Ek&&0!==d?90*d:this.Ek};a.Bz=function(){return this.b.Kc&&0===this.Fk&&0!==g?90*g:this.Fk};a.cx=function(a){q(a)||(this.Dr({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.Gn=!0)};a.gx=function(a){this.Gn&&!q(a)&&this.Cr({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.hx=function(a){a.preventDefault&&this.b.mq&&!this.b.We&&a.preventDefault();this.b.mq=!0;q(a)||(this.Pn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),
this.Gn=!1)};a.hh=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.Tw(this,a)};n.prototype.qp=function(){return!0};n.prototype.op=function(){return!0};n.prototype.mt=function(){return this.touches.length};n.prototype.pp=function(a){return a?this.b.ol(a,this.be,this.ee):!1};n.prototype.lp=function(a){a=Math.floor(a);return a===this.Wd};n.prototype.kp=function(a){a=Math.floor(a);return a===this.Wd};n.prototype.Et=function(){return!0};n.prototype.Kt=
function(){return!0};n.prototype.At=function(){return!0};n.prototype.Ft=function(a){return a?this.b.ol(a,this.be,this.ee):!1};n.prototype.Lt=function(a){return a?this.b.ol(a,this.be,this.ee):!1};n.prototype.Bt=function(a){return a?this.b.ol(a,this.be,this.ee):!1};b.j=new n;t.prototype.Il=function(a,b){var c=this.zg;if(0>c||c>=this.touches.length)a.J(0);else{var d,f,e,g,k;ka(b)?(d=this.b.Ih(0),f=d.scale,e=d.Gd,g=d.ad,k=d.k,d.scale=1,d.Gd=1,d.ad=1,d.k=0,a.J(d.Pb(this.touches[c].x,this.touches[c].y,
!0)),d.scale=f,d.Gd=e,d.ad=g,d.k=k):(d=la(b)?this.b.Ih(b):this.b.Cm(b))?a.J(d.Pb(this.touches[c].x,this.touches[c].y,!0)):a.J(0)}};t.prototype.Jl=function(a,b){var c=this.zg;if(0>c||c>=this.touches.length)a.J(0);else{var d,f,e,g,k;ka(b)?(d=this.b.Ih(0),f=d.scale,e=d.Gd,g=d.bd,k=d.k,d.scale=1,d.Gd=1,d.bd=1,d.k=0,a.J(d.Pb(this.touches[c].x,this.touches[c].y,!1)),d.scale=f,d.Gd=e,d.bd=g,d.k=k):(d=la(b)?this.b.Ih(b):this.b.Cm(b))?a.J(d.Pb(this.touches[c].x,this.touches[c].y,!1)):a.J(0)}};b.Aa=new t})();
function vc(e){this.b=e}
(function(){function e(){}var p=vc.prototype;p.la=function(e){this.behavior=e;this.b=e.b};p.la.prototype.L=function(){};p.ba=function(e,m){this.type=e;this.behavior=e.behavior;this.e=m;this.b=e.b;this.xo=this.wo=this.vo=this.yo=this.Nm=this.Gi=this.ei=this.zh=this.Ui=!1;this.sn=this.rn=this.qn=this.un=-1;this.na=this.ma=0};var m=p.ba.prototype;m.L=function(){this.si=this.n[0];this.ub=this.n[1];this.vc=this.n[2];this.jm=this.n[3];this.Ml=this.n[4];this.zu=1===this.n[5];this.enabled=0!==this.n[6];this.zu&&
!this.b.Da&&(jQuery(document).keydown(function(e){return function(m){e.Mn(m)}}(this)),jQuery(document).keyup(function(e){return function(m){e.Nn(m)}}(this)))};m.kb=function(){return{dx:this.ma,dy:this.na,enabled:this.enabled,maxspeed:this.si,acc:this.ub,dec:this.vc,ignoreInput:this.Nm}};m.Bb=function(e){this.ma=e.dx;this.na=e.dy;this.enabled=e.enabled;this.si=e.maxspeed;this.ub=e.acc;this.vc=e.dec;this.Nm=e.ignoreInput;this.xo=this.wo=this.vo=this.yo=this.Gi=this.ei=this.zh=this.Ui=!1;this.sn=this.rn=
this.qn=this.un=-1};m.Mn=function(e){var m=this.b.jd;switch(e.which){case 37:e.preventDefault();this.rn<m&&(this.ei=!0);break;case 38:e.preventDefault();this.un<m&&(this.Ui=!0);break;case 39:e.preventDefault();this.sn<m&&(this.Gi=!0);break;case 40:e.preventDefault(),this.qn<m&&(this.zh=!0)}};m.Nn=function(e){var m=this.b.jd;switch(e.which){case 37:e.preventDefault();this.ei=!1;this.rn=m;break;case 38:e.preventDefault();this.Ui=!1;this.un=m;break;case 39:e.preventDefault();this.Gi=!1;this.sn=m;break;
case 40:e.preventDefault(),this.zh=!1,this.qn=m}};m.Sf=function(){this.Gi=this.ei=this.zh=this.Ui=!1};m.Ca=function(){var e=this.b.yg(this.e),m=this.ei||this.wo,p=this.Gi||this.xo,b=this.Ui||this.yo,a=this.zh||this.vo;this.vo=this.yo=this.xo=this.wo=!1;if(this.enabled){var f=this.b.dg(this.e);if(f&&(this.b.Vk(this.e,f),!this.b.Fx(this.e)))return;this.Nm&&(a=b=p=m=!1);0===this.jm?p=m=!1:1===this.jm&&(a=b=!1);2===this.jm&&(b||a)&&(p=m=!1);m==p&&(0>this.ma?(this.ma+=this.vc*e,0<this.ma&&(this.ma=0)):
0<this.ma&&(this.ma-=this.vc*e,0>this.ma&&(this.ma=0)));b==a&&(0>this.na?(this.na+=this.vc*e,0<this.na&&(this.na=0)):0<this.na&&(this.na-=this.vc*e,0>this.na&&(this.na=0)));m&&!p&&(this.ma=0<this.ma?this.ma-(this.ub+this.vc)*e:this.ma-this.ub*e);p&&!m&&(this.ma=0>this.ma?this.ma+(this.ub+this.vc)*e:this.ma+this.ub*e);b&&!a&&(this.na=0<this.na?this.na-(this.ub+this.vc)*e:this.na-this.ub*e);a&&!b&&(this.na=0>this.na?this.na+(this.ub+this.vc)*e:this.na+this.ub*e);if(0!==this.ma||0!==this.na){Math.sqrt(this.ma*
this.ma+this.na*this.na)>this.si&&(f=Math.atan2(this.na,this.ma),this.ma=this.si*Math.cos(f),this.na=this.si*Math.sin(f));p=this.e.x;b=this.e.y;m=this.e.k;this.e.x+=this.ma*e;this.e.aa();if(f=this.b.dg(this.e))this.b.Ur(this.e,0>this.ma?1:-1,0,Math.abs(Math.floor(this.ma*e)))||(this.e.x=p),this.ma=0,this.e.aa(),this.b.Vk(this.e,f);this.e.y+=this.na*e;this.e.aa();if(f=this.b.dg(this.e))this.b.Ur(this.e,0,0>this.na?1:-1,Math.abs(Math.floor(this.na*e)))||(this.e.y=b),this.na=0,this.e.aa(),this.b.Vk(this.e,
f);e=ib(this.ma);f=ib(this.na);0===e&&0===f||!this.e.type.xa.Lw||(1===this.Ml?this.e.k=Ma(90*Math.round(Ha(Math.atan2(f,e))/90)):2===this.Ml?this.e.k=Ma(45*Math.round(Ha(Math.atan2(f,e))/45)):3===this.Ml&&(this.e.k=Math.atan2(f,e)));this.e.aa();this.e.k!=m&&(f=this.b.dg(this.e))&&(this.e.k=m,this.e.aa(),this.b.Vk(this.e,f))}}};p.j=new function(){};e.prototype.Hl=function(){this.na=this.ma=0};p.T=new e;p.Aa=new function(){}})();function wc(e){this.b=e}
(function(){function e(){}var p=wc.prototype;p.la=function(e){this.behavior=e;this.b=e.b};p.la.prototype.L=function(){};p.ba=function(e,m){this.type=e;this.behavior=e.behavior;this.e=m;this.b=e.b};var m=p.ba.prototype;m.L=function(){this.vp=1===this.n[0];this.Ch=this.n[1];this.Zi=this.n[2];this.Gj=this.n[3];this.Bu=this.n[4];this.Oc=this.vp?0:3;this.jc?this.fd.reset():this.fd=new bb;this.Of=this.e.opacity?this.e.opacity:1;this.vp&&(0===this.Ch?(this.Oc=1,0===this.Zi&&(this.Oc=2)):(this.e.opacity=
0,this.b.ea=!0))};m.kb=function(){return{fit:this.Ch,wt:this.Zi,fot:this.Gj,s:this.Oc,st:this.fd.M,mo:this.Of}};m.Bb=function(e){this.Ch=e.fit;this.Zi=e.wt;this.Gj=e.fot;this.Oc=e.s;this.fd.reset();this.fd.M=e.st;this.Of=e.mo};m.Ca=function(){this.fd.add(this.b.yg(this.e));0===this.Oc&&(this.e.opacity=this.fd.M/this.Ch*this.Of,this.b.ea=!0,this.e.opacity>=this.Of&&(this.e.opacity=this.Of,this.Oc=1,this.fd.reset(),this.b.trigger(wc.prototype.j.Ct,this.e)));1===this.Oc&&this.fd.M>=this.Zi&&(this.Oc=
2,this.fd.reset(),this.b.trigger(wc.prototype.j.Nt,this.e));2===this.Oc&&0!==this.Gj&&(this.e.opacity=this.Of-this.fd.M/this.Gj*this.Of,this.b.ea=!0,0>this.e.opacity&&(this.e.opacity=0,this.Oc=3,this.fd.reset(),this.b.trigger(wc.prototype.j.Dt,this.e),1===this.Bu&&this.b.Hd(this.e)))};m.sh=function(){this.Oc=0;this.fd.reset();0===this.Ch?(this.Oc=1,0===this.Zi&&(this.Oc=2)):(this.e.opacity=0,this.b.ea=!0)};e.prototype.Dt=function(){return!0};e.prototype.Ct=function(){return!0};e.prototype.Nt=function(){return!0};
p.j=new e;p.T=new function(){};p.Aa=new function(){}})();function xc(e){this.b=e}
(function(){function e(){}function p(){}var m=xc.prototype;m.la=function(a){this.behavior=a;this.b=a.b};var q=m.la.prototype;q.L=function(){this.hc=[]};q.Lv=function(a){var b,d,c;b=0;for(d=a.G.length;b<d;++b)if(c=a.G[b],c instanceof xc.prototype.ba&&c.type===this)return c;return null};m.ba=function(a,b){this.type=a;this.behavior=a.behavior;this.e=b;this.b=a.b};q=m.ba.prototype;q.L=function(){this.Xw=this.n[0];this.$n=this.n[1];this.Yl=T(this.n[2]);this.Qs=0!==this.n[3]};q.ff=function(){};q.kb=function(){var a=
{r:this.$n,c:this.Yl,t:[]},b,d;b=0;for(d=this.type.hc.length;b<d;b++)a.t.push(this.type.hc[b].S);return a};q.Bb=function(a){this.$n=a.r;this.Yl=a.c;R(this.type.hc);var b,d,c;b=0;for(d=a.t.length;b<d;b++)(c=this.b.Cf(a.t[b]))&&this.type.hc.push(c)};q.Ca=function(){};var n=[],t=new va(0,0,0,0);q.xw=function(a,b){var d=this.e.x,c=this.e.y,e=this.e.k;0>this.e.width&&(e+=Math.PI);if(Sa(d,c,a,b)>this.$n||Oa(e,Na(d,c,a,b))>this.Yl/2)return!1;var k,m;t.set(d,c,a,b);t.normalize();if(0===this.Xw)for(this.Qs?
this.b.Gm(this.e.i,t,n):(e=this.b.zo)&&Da(n,e.vi.kd()),e=0,k=n.length;e<k;++e){if(m=n[e],m.D.solidEnabled&&m!==this.e&&this.b.ys(d,c,a,b,m))return R(n),!1}else{if(this.Qs)this.b.Hm(this.e.i,this.type.hc,t,n);else for(e=0,k=this.type.hc.length;e<k;++e)Da(n,this.type.hc[e].d);e=0;for(k=n.length;e<k;++e)if(m=n[e],m!==this.e&&this.b.ys(d,c,a,b,m))return R(n),!1}R(n);return!0};var b=new ba,a=new ba;e.prototype.it=function(f){if(!f)return!1;var e,d,c,m,k,n,p,q,h=this.b.Uv().U();f=f.U();var l=h.fc(),t=f.fc();
h.Z&&R(h.X);f.Z&&R(f.X);var ca=this.b.Gh().$j;e=0;for(c=l.length;e<c;++e){k=l[e];q=!1;n=this.Lv(k);d=0;for(m=t.length;d<m;++d)p=t[d],k!==p&&Ta(n.xw(p.x,p.y),ca)&&(q=!0,a.add(p));q&&b.add(k)}e=b.kd();d=a.kd();h.Z=!1;f.Z=!1;Ba(h.d,e);Ba(f.d,d);b.clear();a.clear();return h.Zj()};m.j=new e;p.prototype.Yo=function(a){var b=this.type.hc;if(-1===b.indexOf(a)){var d,c,e;d=0;for(c=b.length;d<c;d++)if(e=b[d],e.F&&-1!==e.qe.indexOf(a))return;b.push(a)}};m.T=new p;m.Aa=new function(){}})();
function zc(e){this.b=e}
(function(){function e(){}function p(){}var m={},q=zc.prototype;q.Tg=function(){var a,b;for(a in m)m.hasOwnProperty(a)&&(b=m[a],b.ve.unsetReady(),b.Fi=!0)};q.la=function(a){this.behavior=a;this.b=a.b};q.la.prototype.L=function(){this.hc=[];this.Oe=[]};q.ba=function(a,b){this.type=a;this.behavior=a.behavior;this.e=b;this.b=a.b};var n=q.ba.prototype;n.L=function(){this.Ma=this.n[0];3>this.Ma&&(this.Ma=3);this.qd=this.n[1];this.Yw=this.n[2];this.Qd=this.n[3];this.ub=this.n[4];this.vc=this.n[5];this.gj=
T(this.n[6]);this.Xk=0!==this.n[7];this.Dj=0!==this.n[8];this.enabled=0!==this.n[9];this.Bg=this.Fh=this.ti=this.ne=!1;this.gc=0;this.jk=this.Rc=this.e.k;this.Yg=this.Bd=this.Ad=this.Ua=0;this.ef=Math.ceil(this.b.fa.width/this.Ma);this.Pf=Math.ceil(this.b.fa.height/this.Ma);this.Pa=[];this.qg=!1;this.Bj=this.Aj=0;this.Th=this.gk=!1;this.Jp=this.Ip=0;this.bq=!0;var a=this;this.jc||(this.ox=function(){a.gk||(a.Th=!1,a.vu(),a.Bg=0<a.Pa.length,a.gc=0,a.b.trigger(zc.prototype.j.mp,a.e),a.km())},this.nx=
function(){a.gk||(a.Th=!1,a.Lp(),a.Bg=!1,a.ne=!1,a.gc=0,a.b.trigger(zc.prototype.j.ep,a.e),a.km())})};n.ff=function(){this.gk=!0;this.qg=!1};n.kb=function(){var a={cs:this.Ma,cb:this.qd,ms:this.Qd,acc:this.ub,dec:this.vc,av:this.gj,re:this.Xk,de:this.Dj,im:this.ne,mfs:this.ti,ftmwm:this.Fh,hp:this.Bg,mn:this.gc,a:this.Rc,lka:this.jk,s:this.Ua,rx:this.Ad,ry:this.Bd,ra:this.Yg,myhc:this.ef,myvc:this.Pf,path:this.Pa,en:this.enabled,fr:this.bq,obs:[],costs:[]};this.Th?(a.dfp=!0,a.dpx=this.Ip,a.dpy=this.Jp):
(a.dfp=this.qg,a.dpx=this.Aj,a.dpy=this.Bj);var b,e;b=0;for(e=this.type.hc.length;b<e;b++)a.obs.push(this.type.hc[b].S);b=0;for(e=this.type.Oe.length;b<e;b++)a.costs.push({sid:this.type.Oe[b].da.S,cost:this.type.Oe[b].Np});return a};n.Bb=function(a){this.Ma=a.cs;this.qd=a.cb;this.Qd=a.ms;this.ub=a.acc;this.vc=a.dec;this.gj=a.av;this.Xk=a.re;this.Dj=a.de;this.ne=a.im;this.ti=a.mfs;this.Fh=a.ftmwm;this.Bg=a.hp;this.gc=a.mn;this.Rc=a.a;this.jk=a.lka;this.Ua=a.s;this.Ad=a.rx;this.Bd=a.ry;this.Yg=a.ra;
this.ef=a.myhc;this.Pf=a.myvc;this.Pa=a.path;this.enabled=a.en;this.bq=a.fr;this.qg=a.dfp;this.Aj=a.dpx;this.Bj=a.dpy;R(this.type.hc);var b=a.obs,e,d,c;e=0;for(d=b.length;e<d;e++)(c=this.b.Cf(b[e]))&&this.type.hc.push(c);R(this.type.Oe);a=a.costs;e=0;for(d=a.length;e<d;e++)(c=this.b.Cf(a[e].sid))&&this.type.Oe.push({da:c,Np:a[e].cost});this.Bf().ve.setDiagonals(this.Dj)};n.Xd=function(){this.Bf().Fi=!0};n.Ca=function(){if(this.enabled&&this.ne){this.Xk&&this.e.k!==this.jk&&(this.Rc=this.e.k);var a=
this.b.yg(this.e),b,e,d,c,m,k=this.e,n=Math.min(.4*this.Qd,2*Math.abs(this.e.width)),p=Math.max(1.5*this.Ua,30);this.gc<this.Pa.length?(c=this.Pa[this.gc].x,m=this.Pa[this.gc].y,d=Sa(this.Ad,this.Bd,c,m),d<3*p*a&&(this.gc++,this.Ad=c,this.Bd=m,this.gc<this.Pa.length&&(c=this.Pa[this.gc].x,m=this.Pa[this.gc].y))):(c=this.Pa[this.Pa.length-1].x,m=this.Pa[this.Pa.length-1].y);this.Yg=Na(this.Ad,this.Bd,c,m);d=Sa(k.x,k.y,this.Ad,this.Bd);d<n&&this.gc<this.Pa.length&&(this.Fh?this.Fh=!1:n=p*a,this.Ad+=
Math.cos(this.Yg)*n,this.Bd+=Math.sin(this.Yg)*n);b=Na(k.x,k.y,this.Ad,this.Bd);e=Oa(this.Rc,b);n=Sa(k.x,k.y,this.Pa[this.Pa.length-1].x,this.Pa[this.Pa.length-1].y);p=this.Qd*this.Qd/(2*this.vc);1<d&&(this.Rc=Pa(this.Rc,b,this.gj*a),.5>=Ha(e)?e=this.Qd:120<=Ha(e)||this.ti&&0===this.gc?(e=0,this.ti=!0):(b=e/this.gj,d=Sa(k.x,k.y,this.Ad,this.Bd),d=d/(2*Math.sin(e)),e=d*e/b,0>e&&(e=0),e>this.Qd&&(e=this.Qd)),n<p&&(e=Math.min(e,n/p*this.Qd+this.Qd/40)),this.Ua+=this.ub*a,this.Ua>e&&(this.Ua=e));k.x+=
Math.cos(this.Rc)*this.Ua*a;k.y+=Math.sin(this.Rc)*this.Ua*a;this.Xk&&(this.jk=k.k=this.Rc);k.aa();this.gc===this.Pa.length&&Sa(k.x,k.y,c,m)<Math.max(3*this.Ua*a,10)&&(this.Bg=this.ne=!1,this.Ua=this.gc=0,this.b.trigger(zc.prototype.j.cp,k))}};n.hh=function(){this.enabled&&(this.Qv(),this.km())};n.km=function(){this.qg&&!this.gk&&(this.qg=!1,this.Up(this.e.x,this.e.y,this.Aj,this.Bj))};n.Bf=function(){var a=""+this.Ma+","+this.qd;m.hasOwnProperty(a)||(m[a]={ve:new window.Pathfinder,cells:null,Fi:!1,
Wf:[]});return m[a]};n.Qv=function(){var a=this.Bf();if(!a.ve.isReady()||a.Fi||a.Wf.length){var b,e,d,c,m,k,n,p,q,h;if(!a.ve.isReady()||a.Fi){this.ef=Math.ceil(this.b.fa.width/this.Ma);this.Pf=Math.ceil(this.b.fa.height/this.Ma);b=[];c=b.length=this.ef;m=this.Pf;for(e=0;e<c;++e)for(b[e]=[],b[e].length=m,d=0;d<m;++d)b[e][d]=this.Vr(e,d);a.cells=b;a.ve.init(this.ef,this.Pf,b,this.Dj);a.Fi=!1;R(a.Wf)}else if(a.Wf.length){k=0;for(n=a.Wf.length;k<n;++k){b=a.Wf[k];p=b[0];q=b[1];c=b[2];e=b[3];b=[];c=c-p;
m=e-q;b.length=c;for(e=0;e<c;++e)for(b[e]=[],b[e].length=m,d=0;d<m;++d)h=this.Vr(p+e,q+d),b[e][d]=h,a.cells[p+e][q+d]=h;a.ve.updateRegion(p,q,c,m,b)}R(a.Wf)}}};n.Lp=function(){var a,b;a=0;for(b=this.Pa.length;a<b;a++)window.freeResultNode(this.Pa[a]);R(this.Pa)};n.vu=function(){var a=this.Bf().ve.pathList;this.Lp();var b,e,d,c;b=0;for(e=a.length;b<e;b++)d=a[b],c=window.allocResultNode(),c.x=(d.x+.5)*this.Ma,c.y=(d.y+.5)*this.Ma,this.Pa.push(c)};var t=[],b=new va;n.Vr=function(a,e){var g,d,c,m,k,n=
0;b.left=a*this.Ma-this.qd;b.top=e*this.Ma-this.qd;b.right=(a+1)*this.Ma+this.qd;b.bottom=(e+1)*this.Ma+this.qd;if(0===this.Yw){if(this.b.iy(b))return window.PF_OBSTACLE}else{this.b.Hm(this.e.i,this.type.hc,b,t);g=0;for(d=t.length;g<d;++g)if(this.b.Eo(b,t[g]))return R(t),window.PF_OBSTACLE;t.length=0}g=0;for(d=this.type.Oe.length;g<d;g++){c=this.type.Oe[g].da;k=this.type.Oe[g].Np;this.b.ym(this.e.i,c,b,t);c=0;for(m=t.length;c<m;++c)this.b.Eo(b,t[c])&&(n+=k);R(t)}return n};n.Up=function(a,b,e,d){var c=
this.Bf().ve;if(c.isReady()){this.Th=!0;this.Ip=e;this.Jp=d;a=Math.floor(a/this.Ma);b=Math.floor(b/this.Ma);e=Math.floor(e/this.Ma);d=Math.floor(d/this.Ma);var m,k,n,p,q,h,l;if(c.at(e,d)===window.PF_OBSTACLE){m=1E6;for(p=n=k=0;p<this.ef;p++)for(q=0;q<this.Pf;q++)c.at(p,q)!==window.PF_OBSTACLE&&(h=e-p,l=d-q,h=h*h+l*l,h<m&&(m=h,k=p,n=q));e=k;d=n}c.findPath(a,b,e,d,this.ox,this.nx)}};e.prototype.mp=function(){return!0};e.prototype.ep=function(){return!0};e.prototype.cp=function(){return!0};q.j=new e;
p.prototype.ht=function(a,b){this.enabled&&(this.Th||!this.Bf().ve.isReady()?(this.qg=!0,this.Aj=a,this.Bj=b):this.Up(this.e.x,this.e.y,a,b))};p.prototype.Wt=function(){this.Bg&&(this.ne&&(this.Fh=!0),this.ti=!this.ne,this.ne=!0,this.Ad=this.e.x,this.Bd=this.e.y,this.Yg=this.e.k)};p.prototype.Hl=function(){this.ne=!1};p.prototype.Yo=function(a){var b=this.type.hc;if(-1===b.indexOf(a)){var e,d,c;e=0;for(d=b.length;e<d;e++)if(c=b[e],c.F&&-1!==c.qe.indexOf(a))return;b.push(a)}};n.sh=function(a,b,e,d){var c=
Math.min(a,e)-this.qd,m=Math.min(b,d)-this.qd;a=Math.max(a,e)+this.qd;b=Math.max(b,d)+this.qd;c=Math.max(Math.floor(c/this.Ma),0);m=Math.max(Math.floor(m/this.Ma),0);a=Math.min(Math.ceil(a/this.Ma),this.ef);b=Math.min(Math.ceil(b/this.Ma),this.Pf);c>=a||m>=b||this.Bf().Wf.push([c,m,a,b])};q.T=new p;q.Aa=new function(){}})();function Ec(e){this.b=e}
(function(){var e=Ec.prototype;e.la=function(e){this.behavior=e;this.b=e.b};e.la.prototype.L=function(){};e.ba=function(e,m){this.type=e;this.behavior=e.behavior;this.e=m;this.b=e.b;this.mode=0};e=e.ba.prototype;e.L=function(){this.mode=this.n[0]};e.Ca=function(){};e.hh=function(){this.e.pa();var e=this.e.wa,m=this.e.i.Sa,q=!1;0===this.mode?(0>this.e.x&&(this.e.x=0,q=!0),0>this.e.y&&(this.e.y=0,q=!0),this.e.x>m.width&&(this.e.x=m.width,q=!0),this.e.y>m.height&&(this.e.y=m.height,q=!0)):(0>e.left&&
(this.e.x-=e.left,q=!0),0>e.top&&(this.e.y-=e.top,q=!0),e.right>m.width&&(this.e.x-=e.right-m.width,q=!0),e.bottom>m.height&&(this.e.y-=e.bottom-m.height,q=!0));q&&this.e.aa()}})();function Fc(e){this.b=e}
(function(){var e=Fc.prototype;e.la=function(e){this.behavior=e;this.b=e.b};e.la.prototype.L=function(){};e.ba=function(e,m){this.type=e;this.behavior=e.behavior;this.e=m;this.b=e.b};e=e.ba.prototype;e.L=function(){};e.Ca=function(){this.e.pa();var e=this.e.wa,m=this.e.i.Sa;(0>e.right||0>e.bottom||e.left>m.width||e.top>m.height)&&this.b.Hd(this.e)}})();function Gc(e){this.b=e;this.ro=this.fl=this.Mi=this.qo=0}
(function(){var e=Gc.prototype;e.la=function(e){this.behavior=e;this.b=e.b};e.la.prototype.L=function(){};e.ba=function(e,p){this.type=e;this.behavior=e.behavior;this.e=p;this.b=e.b};var p=e.ba.prototype;p.L=function(){this.enabled=0!==this.n[0]};p.kb=function(){return{smg:this.behavior.qo,ss:this.behavior.Mi,se:this.behavior.fl,smd:this.behavior.ro}};p.Bb=function(e){this.behavior.qo=e.smg;this.behavior.Mi=e.ss;this.behavior.fl=e.se;this.behavior.ro=e.smd};p.Ca=function(){};p.hh=function(){if(this.enabled){var e=
this.behavior.vi.kd(),p=0,n=0,t,b,a,f=0;t=0;for(b=e.length;t<b;t++){a:{a=e[t];for(var g=void 0,d=void 0,c=void 0,g=0,d=a.G.length;g<d;++g)if(c=a.G[g],c.behavior instanceof Gc){a=c;break a}a=null}a&&a.enabled&&(p+=e[t].x,n+=e[t].y,++f)}e=this.e.i.Sa;b=this.b.fb.M;a=t=0;b>=this.behavior.Mi&&b<this.behavior.fl&&(t=this.behavior.qo*Math.min(this.b.fg,1),0===this.behavior.ro&&(t*=1-(b-this.behavior.Mi)/(this.behavior.fl-this.behavior.Mi)),b=Math.random()*Math.PI*2,a=Math.random()*t,t=Math.cos(b)*a,a*=
Math.sin(b));e.lo(p/f+t);e.no(n/f+a)}};e.T=new function(){}})();function pc(e){this.b=e}(function(){var e=pc.prototype;e.la=function(e){this.behavior=e;this.b=e.b};e.la.prototype.L=function(){};e.ba=function(e,p){this.type=e;this.behavior=e.behavior;this.e=p;this.b=e.b};var p=e.ba.prototype;p.L=function(){this.e.D.solidEnabled=0!==this.n[0]};p.Ca=function(){};e.j=new function(){};e.T=new function(){}})();
function oc(){return[qc,sc,rc,tc,uc,Z,Y,vc,Gc,Ec,zc,Fc,xc,pc,wc,X.prototype.j.ip,X.prototype.T.ct,X.prototype.Aa.random,X.prototype.Aa.yy,X.prototype.Aa.xy,uc.prototype.T.Gl,zc.prototype.T.Yo,xc.prototype.j.it,Y.prototype.T.Ot,Y.prototype.T.Pt,Y.prototype.T.Qt,Y.prototype.j.kt,X.prototype.j.et,zc.prototype.T.ht,Y.prototype.Aa.Il,Y.prototype.Aa.Jl,Y.prototype.T.Rt,Y.prototype.T.Xt,Y.prototype.j.$s,X.prototype.T.Zt,zc.prototype.T.Hl,X.prototype.Aa.Pw,X.prototype.Aa.Ow,zc.prototype.T.Wt,zc.prototype.j.cp,
zc.prototype.j.ep,qc.prototype.j.nt,qc.prototype.T.Play,zc.prototype.j.mp,Y.prototype.j.yt,Y.prototype.T.Vt,Y.prototype.T.Zo,sc.prototype.T.Zo,X.prototype.T.Tt,X.prototype.j.gt,X.prototype.j.bt,X.prototype.T.Vs,X.prototype.Aa.Re,tc.prototype.T.Gl,X.prototype.Aa.floor,Z.prototype.j.mt,Y.prototype.T.St,Z.prototype.Aa.Il,Z.prototype.Aa.Jl,Y.prototype.T.rp,Y.prototype.j.dp,rc.prototype.j.$o]};
