﻿// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var ba,ca,da,z,fa,ga,F,M,ha,ia,la,na,oa,O,pa,sa,P,ta,ua,va,wa,R,xa,ya,za,Aa,Ba,S,Ca,Fa,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,T,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,U,Qb,Rb,V,Sb,Tb={},Ub={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(d){return d.__proto__}:function(d){return d.constructor.prototype});
(function(){function d(a,b,e,t){this.set(a,b,e,t)}function k(){this.cc=this.ac=this.fc=this.ec=this.xc=this.wc=this.uc=this.tc=0}function m(a,b,e,t){a<b?e<t?(u=a<e?a:e,n=b>t?b:t):(u=a<t?a:t,n=b>e?b:e):e<t?(u=b<e?b:e,n=a>t?a:t):(u=b<t?b:t,n=a>e?a:e)}function q(){this.items=this.rc=null;this.Ff=0;ma&&(this.rc=new Set);this.Ve=[];this.cd=!0}function v(a){ea[X++]=a}function r(){this.ca=this.uh=this.y=this.Rh=0}function c(a){this.Le=[];this.tk=this.vk=this.wk=this.uk=0;this.Yf(a)}function b(a,b){this.Xh=
a;this.Wh=b;this.cells={}}function w(a,b){this.Xh=a;this.Wh=b;this.cells={}}function f(a,b,e){var t;return aa.length?(t=aa.pop(),t.xi=a,t.x=b,t.y=e,t):new ba(a,b,e)}function a(a,b,e){this.xi=a;this.x=b;this.y=e;this.xa=new ca}function e(a,b,e){var t;return H.length?(t=H.pop(),t.xi=a,t.x=b,t.y=e,t):new da(a,b,e)}function g(a,b,e){this.xi=a;this.x=b;this.y=e;this.xa=[];this.Be=!0;this.nc=new ca;this.Ze=!1}function h(a,b){return a.Zb-b.Zb}z=function(a){window.console&&window.console.log&&window.console.log(a)};
fa=function(a){window.console&&window.console.error&&window.console.error(a)};ga=function(a){return"undefined"===typeof a};F=function(a){return"number"===typeof a};M=function(a){return"string"===typeof a};ha=function(a){return 0<a&&0===(a-1&a)};ia=function(a){--a;for(var b=1;32>b;b<<=1)a=a|a>>b;return a+1};la=function(a){return 0>a?-a:a};na=function(a,b){return a<b?a:b};oa=Math.PI;O=function(a){return 0<=a?a|0:(a|0)-1};pa=function(a){var b=a|0;return b===a?b:b+1};sa=function(a,b,e,t,h,l,f,g){var c,
n,p,w;a<e?(n=a,c=e):(n=e,c=a);h<f?(w=h,p=f):(w=f,p=h);if(c<w||n>p)return!1;b<t?(n=b,c=t):(n=t,c=b);l<g?(w=l,p=g):(w=g,p=l);if(c<w||n>p)return!1;c=h-a+f-e;n=l-b+g-t;a=e-a;b=t-b;h=f-h;l=g-l;g=la(b*h-l*a);return la(h*n-l*c)>g?!1:la(a*n-b*c)<=g};d.prototype.set=function(a,b,e,t){this.left=a;this.top=b;this.right=e;this.bottom=t};d.prototype.gf=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};d.prototype.width=function(){return this.right-this.left};d.prototype.height=
function(){return this.bottom-this.top};d.prototype.offset=function(a,b){this.left+=a;this.top+=b;this.right+=a;this.bottom+=b;return this};d.prototype.normalize=function(){var a=0;this.left>this.right&&(a=this.left,this.left=this.right,this.right=a);this.top>this.bottom&&(a=this.top,this.top=this.bottom,this.bottom=a)};d.prototype.rb=function(a,b){return a>=this.left&&a<=this.right&&b>=this.top&&b<=this.bottom};d.prototype.lf=function(a){return this.left===a.left&&this.top===a.top&&this.right===
a.right&&this.bottom===a.bottom};P=d;k.prototype.oh=function(a){this.tc=a.left;this.uc=a.top;this.wc=a.right;this.xc=a.top;this.ec=a.right;this.fc=a.bottom;this.ac=a.left;this.cc=a.bottom};k.prototype.Km=function(a,b){if(0===b)this.oh(a);else{var e=Math.sin(b),t=Math.cos(b),h=a.left*e,l=a.top*e,f=a.right*e,e=a.bottom*e,g=a.left*t,c=a.top*t,n=a.right*t,t=a.bottom*t;this.tc=g-l;this.uc=c+h;this.wc=n-l;this.xc=c+f;this.ec=n-e;this.fc=t+f;this.ac=g-e;this.cc=t+h}};k.prototype.offset=function(a,b){this.tc+=
a;this.uc+=b;this.wc+=a;this.xc+=b;this.ec+=a;this.fc+=b;this.ac+=a;this.cc+=b;return this};var u=0,n=0;k.prototype.yk=function(a){m(this.tc,this.wc,this.ec,this.ac);a.left=u;a.right=n;m(this.uc,this.xc,this.fc,this.cc);a.top=u;a.bottom=n};k.prototype.rb=function(a,b){var e=this.tc,t=this.uc,h=this.wc-e,l=this.xc-t,f=this.ec-e,g=this.fc-t,c=a-e,n=b-t,p=h*h+l*l,w=h*f+l*g,l=h*c+l*n,u=f*f+g*g,d=f*c+g*n,y=1/(p*u-w*w),h=(u*l-w*d)*y,p=(p*d-w*l)*y;if(0<=h&&0<p&&1>h+p)return!0;h=this.ac-e;l=this.cc-t;p=h*
h+l*l;w=h*f+l*g;l=h*c+l*n;y=1/(p*u-w*w);h=(u*l-w*d)*y;p=(p*d-w*l)*y;return 0<=h&&0<p&&1>h+p};ta=k;ua=function(a,b){for(var e in b)b.hasOwnProperty(e)&&(a[e]=b[e]);return a};va=function(a,b){var e,t;b=O(b);if(!(0>b||b>=a.length)){e=b;for(t=a.length-1;e<t;e++)a[e]=a[e+1];wa(a,t)}};wa=function(a,b){a.length=b};R=function(a){wa(a,0)};xa=function(a,b){R(a);var e,t;e=0;for(t=b.length;e<t;++e)a[e]=b[e]};ya=function(a,b){a.push.apply(a,b)};za=function(a,b){var e,t;e=0;for(t=a.length;e<t;++e)if(a[e]===b)return e;
return-1};Aa=function(a,b){var e=za(a,b);-1!==e&&va(a,e)};Ba=function(a,b,e){return a<b?b:a>e?e:a};S=function(a){return a/(180/oa)};Ca=function(a){return 180/oa*a};Fa=function(a){a%=360;0>a&&(a+=360);return a};Ga=function(a){a%=2*oa;0>a&&(a+=2*oa);return a};Ha=function(a){return Fa(Ca(a))};Ia=function(a){return Ga(S(a))};Ja=function(a,b,e,t){return Math.atan2(t-b,e-a)};Ka=function(a,b){if(a===b)return 0;var e=Math.sin(a),t=Math.cos(a),h=Math.sin(b),l=Math.cos(b),e=e*h+t*l;return 1<=e?0:-1>=e?oa:Math.acos(e)};
La=function(a,b,e){var t=Math.sin(a),h=Math.cos(a),l=Math.sin(b),f=Math.cos(b);return Math.acos(t*l+h*f)>e?0<h*l-t*f?Ga(a+e):Ga(a-e):Ga(b)};Ma=function(a,b){var e=Math.sin(a),t=Math.cos(a),h=Math.sin(b),l=Math.cos(b);return 0>=t*h-e*l};Na=function(a,b,e,t){a=e-a;b=t-b;return Math.sqrt(a*a+b*b)};Oa=function(a,b){return!a!==!b};Pa=function(a,b,e){return a+(b-a)*e};Qa=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1};Ra=function(a){for(var b in a)a.hasOwnProperty(b)&&delete a[b]};
var y=+new Date;T=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()-y};var l=!1,p=l=!1,x=!1;"undefined"!==typeof window&&(l=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),l=!l&&/safari/i.test(navigator.userAgent),p=/(iphone|ipod|ipad)/i.test(navigator.userAgent),
x=window.c2ejecta);var ma=!l&&!x&&!p&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;q.prototype.contains=function(a){return this.Jc()?!1:ma?this.rc.has(a):this.items&&this.items.hasOwnProperty(a)};q.prototype.add=function(a){if(ma)this.rc.has(a)||(this.rc.add(a),this.cd=!1);else{var b=a.toString(),e=this.items;e?e.hasOwnProperty(b)||(e[b]=a,this.Ff++,this.cd=!1):(this.items={},this.items[b]=a,this.Ff=1,this.cd=!1)}};q.prototype.remove=function(a){if(!this.Jc())if(ma)this.rc.has(a)&&
(this.rc["delete"](a),this.cd=!1);else if(this.items){a=a.toString();var b=this.items;b.hasOwnProperty(a)&&(delete b[a],this.Ff--,this.cd=!1)}};q.prototype.clear=function(){this.Jc()||(ma?this.rc.clear():(this.items=null,this.Ff=0),R(this.Ve),this.cd=!0)};q.prototype.Jc=function(){return 0===this.count()};q.prototype.count=function(){return ma?this.rc.size:this.Ff};var ea=null,X=0;q.prototype.nr=function(){if(!this.cd){if(ma)R(this.Ve),ea=this.Ve,X=0,this.rc.forEach(v),ea=null,X=0;else{var a=this.Ve;
R(a);var b,e=0,t=this.items;if(t)for(b in t)t.hasOwnProperty(b)&&(a[e++]=t[b])}this.cd=!0}};q.prototype.vd=function(){this.nr();return this.Ve};ca=q;new ca;Ta=function(a,b){ma?Ua(a,b.rc):Va(a,b.vd())};Ua=function(a,b){var e,t,h,l;t=e=0;for(h=a.length;e<h;++e)l=a[e],b.has(l)||(a[t++]=l);wa(a,t)};Va=function(a,b){var e,t,h,l;t=e=0;for(h=a.length;e<h;++e)l=a[e],-1===za(b,l)&&(a[t++]=l);wa(a,t)};r.prototype.add=function(a){this.y=a-this.Rh;this.uh=this.ca+this.y;this.Rh=this.uh-this.ca-this.y;this.ca=
this.uh};r.prototype.reset=function(){this.ca=this.uh=this.y=this.Rh=0};Wa=r;Xa=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};c.prototype.Yf=function(a){this.vm=a;this.ih=a.length/2;this.Le.length=a.length;this.Sh=this.Th=-1;this.Bk=0};c.prototype.nq=function(){return!this.vm.length};c.prototype.Da=function(){for(var a=this.Le,b=a[0],e=b,t=a[1],h=t,l,f,g=1,c=this.ih;g<c;++g)f=2*g,l=a[f],f=a[f+1],l<b&&(b=l),l>e&&(e=l),f<t&&(t=f),f>h&&(h=f);this.uk=b;this.vk=e;this.wk=t;this.tk=h};
c.prototype.oh=function(a,b,e){this.Le.length=8;this.ih=4;var t=this.Le;t[0]=a.left-b;t[1]=a.top-e;t[2]=a.right-b;t[3]=a.top-e;t[4]=a.right-b;t[5]=a.bottom-e;t[6]=a.left-b;t[7]=a.bottom-e;this.Th=a.right-a.left;this.Sh=a.bottom-a.top;this.Da()};c.prototype.ho=function(a,b,e){if(this.Th!==a||this.Sh!==b||this.Bk!==e){this.Th=a;this.Sh=b;this.Bk=e;var t,l,h,f,g,c=0,n=1,p=this.vm,w=this.Le;0!==e&&(c=Math.sin(e),n=Math.cos(e));e=0;for(h=this.ih;e<h;e++)t=2*e,l=t+1,f=p[t]*a,g=p[l]*b,w[t]=f*n-g*c,w[l]=
g*n+f*c;this.Da()}};c.prototype.rb=function(a,b){var e=this.Le;if(a===e[0]&&b===e[1])return!0;var t,l,h,f=this.ih,g=this.uk-110,c=this.wk-101,n=this.vk+131,p=this.tk+120,w,u,d=0,y=0;for(t=0;t<f;t++)l=2*t,h=(t+1)%f*2,w=e[l],l=e[l+1],u=e[h],h=e[h+1],sa(g,c,a,b,w,l,u,h)&&d++,sa(n,p,a,b,w,l,u,h)&&y++;return 1===d%2||1===y%2};Ya=c;b.prototype.jd=function(a,b,e){var t;t=this.cells[a];return t?(t=t[b])?t:e?(t=f(this,a,b),this.cells[a][b]=t):null:e?(t=f(this,a,b),this.cells[a]={},this.cells[a][b]=t):null};
b.prototype.Pa=function(a){return O(a/this.Xh)};b.prototype.Qa=function(a){return O(a/this.Wh)};b.prototype.update=function(a,b,e){var t,l,h,f,g;if(b)for(t=b.left,l=b.right;t<=l;++t)for(h=b.top,f=b.bottom;h<=f;++h)if(!e||!e.rb(t,h))if(g=this.jd(t,h,!1))g.remove(a),g.Jc()&&(g.xa.clear(),1E3>aa.length&&aa.push(g),this.cells[t][h]=null);if(e)for(t=e.left,l=e.right;t<=l;++t)for(h=e.top,f=e.bottom;h<=f;++h)b&&b.rb(t,h)||this.jd(t,h,!0).Gi(a)};b.prototype.xm=function(a,b){var e,t,h,l,f,g;e=this.Pa(a.left);
h=this.Qa(a.top);t=this.Pa(a.right);for(f=this.Qa(a.bottom);e<=t;++e)for(l=h;l<=f;++l)(g=this.jd(e,l,!1))&&g.dump(b)};Za=b;w.prototype.jd=function(a,b,h){var t;t=this.cells[a];return t?(t=t[b])?t:h?(t=e(this,a,b),this.cells[a][b]=t):null:h?(t=e(this,a,b),this.cells[a]={},this.cells[a][b]=t):null};w.prototype.Pa=function(a){return O(a/this.Xh)};w.prototype.Qa=function(a){return O(a/this.Wh)};w.prototype.update=function(a,b,e){var t,h,l,f,g;if(b)for(t=b.left,h=b.right;t<=h;++t)for(l=b.top,f=b.bottom;l<=
f;++l)if(!e||!e.rb(t,l))if(g=this.jd(t,l,!1))g.remove(a),g.Jc()&&(g.reset(),1E3>H.length&&H.push(g),this.cells[t][l]=null);if(e)for(t=e.left,h=e.right;t<=h;++t)for(l=e.top,f=e.bottom;l<=f;++l)b&&b.rb(t,l)||this.jd(t,l,!0).Gi(a)};w.prototype.xm=function(a,b,e,t,l){var h,f;a=this.Pa(a);b=this.Qa(b);e=this.Pa(e);for(h=this.Qa(t);a<=e;++a)for(t=b;t<=h;++t)(f=this.jd(a,t,!1))&&f.dump(l)};w.prototype.uq=function(a){var b,e,t,l,h;b=a.left;t=a.top;e=a.right;for(l=a.bottom;b<=e;++b)for(a=t;a<=l;++a)if(h=this.jd(b,
a,!1))h.Be=!1};$a=w;var aa=[];a.prototype.Jc=function(){return this.xa.Jc()};a.prototype.Gi=function(a){this.xa.add(a)};a.prototype.remove=function(a){this.xa.remove(a)};a.prototype.dump=function(a){ya(a,this.xa.vd())};ba=a;var H=[];g.prototype.Jc=function(){if(!this.xa.length)return!0;if(this.xa.length>this.nc.count())return!1;this.ki();return!0};g.prototype.Gi=function(a){this.nc.contains(a)?(this.nc.remove(a),this.nc.Jc()&&(this.Ze=!1)):this.xa.length?(this.xa[this.xa.length-1].lc()>a.lc()&&(this.Be=
!1),this.xa.push(a)):(this.xa.push(a),this.Be=!0)};g.prototype.remove=function(a){this.nc.add(a);this.Ze=!0;30<=this.nc.count()&&this.ki()};g.prototype.ki=function(){this.Ze&&(this.nc.count()===this.xa.length?this.reset():(Ta(this.xa,this.nc),this.nc.clear(),this.Ze=!1))};g.prototype.Ro=function(){this.Be||(this.xa.sort(h),this.Be=!0)};g.prototype.reset=function(){R(this.xa);this.Be=!0;this.nc.clear();this.Ze=!1};g.prototype.dump=function(a){this.ki();this.Ro();this.xa.length&&a.push(this.xa)};da=
g;var D="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");ab=function(a){return 0>=a||11<=a?"source-over":D[a-1]};bb=function(a,b,e){if(e)switch(a.La=e.ONE,a.Ia=e.ONE_MINUS_SRC_ALPHA,b){case 1:a.La=e.ONE;a.Ia=e.ONE;break;case 3:a.La=e.ONE;a.Ia=e.ZERO;break;case 4:a.La=e.ONE_MINUS_DST_ALPHA;a.Ia=e.ONE;break;case 5:a.La=e.DST_ALPHA;a.Ia=e.ZERO;break;case 6:a.La=e.ZERO;a.Ia=e.SRC_ALPHA;break;case 7:a.La=e.ONE_MINUS_DST_ALPHA;
a.Ia=e.ZERO;break;case 8:a.La=e.ZERO;a.Ia=e.ONE_MINUS_SRC_ALPHA;break;case 9:a.La=e.DST_ALPHA;a.Ia=e.ONE_MINUS_SRC_ALPHA;break;case 10:a.La=e.ONE_MINUS_DST_ALPHA,a.Ia=e.SRC_ALPHA}};cb=function(a){return Math.round(1E6*a)/1E6};db=function(a,b){return"string"!==typeof a||"string"!==typeof b||a.length!==b.length?!1:a===b?!0:a.toLowerCase()===b.toLowerCase()};eb=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||db(a.tagName,"canvas")?!0:!1}})();
var Vb="undefined"!==typeof Float32Array?Float32Array:Array;function Wb(d){var k=new Vb(3);d&&(k[0]=d[0],k[1]=d[1],k[2]=d[2]);return k}function Xb(d){var k=new Vb(16);d&&(k[0]=d[0],k[1]=d[1],k[2]=d[2],k[3]=d[3],k[4]=d[4],k[5]=d[5],k[6]=d[6],k[7]=d[7],k[8]=d[8],k[9]=d[9],k[10]=d[10],k[11]=d[11],k[12]=d[12],k[13]=d[13],k[14]=d[14],k[15]=d[15]);return k}
function Yb(d,k){k[0]=d[0];k[1]=d[1];k[2]=d[2];k[3]=d[3];k[4]=d[4];k[5]=d[5];k[6]=d[6];k[7]=d[7];k[8]=d[8];k[9]=d[9];k[10]=d[10];k[11]=d[11];k[12]=d[12];k[13]=d[13];k[14]=d[14];k[15]=d[15]}function Zb(d,k){var m=k[0],q=k[1];k=k[2];d[0]*=m;d[1]*=m;d[2]*=m;d[3]*=m;d[4]*=q;d[5]*=q;d[6]*=q;d[7]*=q;d[8]*=k;d[9]*=k;d[10]*=k;d[11]*=k}
function $b(d,k,m,q){q||(q=Xb());var v,r,c,b,w,f,a,e,g=d[0],h=d[1];d=d[2];r=m[0];c=m[1];v=m[2];m=k[1];f=k[2];g===k[0]&&h===m&&d===f?(d=q,d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1):(m=g-k[0],f=h-k[1],a=d-k[2],e=1/Math.sqrt(m*m+f*f+a*a),m*=e,f*=e,a*=e,k=c*a-v*f,v=v*m-r*a,r=r*f-c*m,(e=Math.sqrt(k*k+v*v+r*r))?(e=1/e,k*=e,v*=e,r*=e):r=v=k=0,c=f*r-a*v,b=a*k-m*r,w=m*v-f*k,(e=Math.sqrt(c*c+b*b+w*w))?(e=1/e,c*=e,b*=e,w*=e):w=b=c=0,
q[0]=k,q[1]=c,q[2]=m,q[3]=0,q[4]=v,q[5]=b,q[6]=f,q[7]=0,q[8]=r,q[9]=w,q[10]=a,q[11]=0,q[12]=-(k*g+v*h+r*d),q[13]=-(c*g+b*h+w*d),q[14]=-(m*g+f*h+a*d),q[15]=1)}
(function(){function d(b,c,f){this.Qd=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.N=!!f;this.Ig=this.zf=!1;this.ei=0;this.Fh=1;this.Tj=1E3;this.ur=(this.Tj-this.Fh)/32768;this.Uh=Wb([0,0,100]);this.El=Wb([0,0,0]);this.en=Wb([0,1,0]);this.kg=Wb([1,1,1]);this.Ik=!0;this.Yg=Xb();this.nb=Xb();this.Ri=Xb();this.di=Xb();this.j=b;this.cl()}function k(b,c,f){this.j=b;this.Zf=c;this.name=f;this.Bb=b.getAttribLocation(c,"aPos");this.qd=b.getAttribLocation(c,
"aTex");this.Cl=b.getUniformLocation(c,"matP");this.Ug=b.getUniformLocation(c,"matMV");this.He=b.getUniformLocation(c,"opacity");this.Vi=b.getUniformLocation(c,"colorFill");this.Dl=b.getUniformLocation(c,"samplerFront");this.Jf=b.getUniformLocation(c,"samplerBack");this.Yd=b.getUniformLocation(c,"destStart");this.Xd=b.getUniformLocation(c,"destEnd");this.Lf=b.getUniformLocation(c,"seconds");this.Xi=b.getUniformLocation(c,"pixelWidth");this.Wi=b.getUniformLocation(c,"pixelHeight");this.If=b.getUniformLocation(c,
"layerScale");this.Hf=b.getUniformLocation(c,"layerAngle");this.Mf=b.getUniformLocation(c,"viewOrigin");this.Kf=b.getUniformLocation(c,"scrollPos");this.aq=!!(this.Xi||this.Wi||this.Lf||this.Jf||this.Yd||this.Xd||this.If||this.Hf||this.Mf||this.Kf);this.Ml=this.Nl=-999;this.Xg=1;this.Il=this.Hl=0;this.Kl=this.Gl=this.Fl=1;this.Ql=this.Pl=this.Ol=this.Sl=this.Rl=this.Jl=0;this.Qi=[];this.Ll=Xb();this.He&&b.uniform1f(this.He,1);this.Vi&&b.uniform4f(this.Vi,1,1,1,1);this.Dl&&b.uniform1i(this.Dl,0);this.Jf&&
b.uniform1i(this.Jf,1);this.Yd&&b.uniform2f(this.Yd,0,0);this.Xd&&b.uniform2f(this.Xd,1,1);this.If&&b.uniform1f(this.If,1);this.Hf&&b.uniform1f(this.Hf,0);this.Mf&&b.uniform2f(this.Mf,0,0);this.Kf&&b.uniform2f(this.Kf,0,0);this.Lf&&b.uniform1f(this.Lf,0);this.Md=!1}function m(b,c){return b[0]===c[0]&&b[1]===c[1]&&b[2]===c[2]&&b[3]===c[3]&&b[4]===c[4]&&b[5]===c[5]&&b[6]===c[6]&&b[7]===c[7]&&b[8]===c[8]&&b[9]===c[9]&&b[10]===c[10]&&b[11]===c[11]&&b[12]===c[12]&&b[13]===c[13]&&b[14]===c[14]&&b[15]===
c[15]}function q(b,c){this.type=b;this.k=c;this.j=c.j;this.mc=this.Oa=this.lm=0;this.D=this.Jb=null;this.Lm=[]}var v=Xb();d.prototype.cl=function(){var b=this.j,c;this.sl=1;this.Ud=this.Td=null;this.qg=1;b.clearColor(0,0,0,0);b.clear(b.COLOR_BUFFER_BIT);b.enable(b.BLEND);b.blendFunc(b.ONE,b.ONE_MINUS_SRC_ALPHA);b.disable(b.CULL_FACE);b.disable(b.STENCIL_TEST);b.disable(b.DITHER);this.N?(b.enable(b.DEPTH_TEST),b.depthFunc(b.LEQUAL)):b.disable(b.DEPTH_TEST);this.ul=b.ONE;this.ql=b.ONE_MINUS_SRC_ALPHA;
this.Dh=new Float32Array(8E3*(this.N?3:2));this.vh=new Float32Array(16E3);this.pm=new Float32Array(32E3);this.kj=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,this.kj);b.bufferData(b.ARRAY_BUFFER,this.pm.byteLength,b.DYNAMIC_DRAW);this.jg=Array(4);this.dg=Array(4);for(c=0;4>c;c++)this.jg[c]=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,this.jg[c]),b.bufferData(b.ARRAY_BUFFER,this.Dh.byteLength,b.DYNAMIC_DRAW),this.dg[c]=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,this.dg[c]),b.bufferData(b.ARRAY_BUFFER,
this.vh.byteLength,b.DYNAMIC_DRAW);this.Bc=0;this.dq=b.createBuffer();b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,this.dq);for(var f=new Uint16Array(12E3),a=c=0;12E3>c;)f[c++]=a,f[c++]=a+1,f[c++]=a+2,f[c++]=a,f[c++]=a+2,f[c++]=a+3,a+=4;b.bufferData(b.ELEMENT_ARRAY_BUFFER,f,b.STATIC_DRAW);this.lj=this.Se=this.Wc=0;this.ba=[];c=this.N?"attribute highp vec3 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, aPos.z, 1.0);\n\tvTex = aTex;\n}":
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}";f=this.hf({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},c,"<default>");this.ba.push(f);f=this.hf({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.ba.push(f);f=this.hf({src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}"},c,"<earlyz>");this.ba.push(f);f=this.hf({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
c,"<fill>");this.ba.push(f);for(var e in ac)ac.hasOwnProperty(e)&&this.ba.push(this.hf(ac[e],c,e));b.activeTexture(b.TEXTURE0);b.bindTexture(b.TEXTURE_2D,null);this.bd=[];this.Ac=0;this.Ja=!1;this.Ek=this.Gf=-1;this.te=null;this.ji=b.createFramebuffer();this.tg=this.jh=null;this.rk=!1;this.N&&(this.tg=b.createRenderbuffer());this.ud=Wb([0,0,0]);this.Tl=b.getParameter(b.ALIASED_POINT_SIZE_RANGE)[1];2048<this.Tl&&(this.Tl=2048);this.Ta(0)};k.prototype.Pj=function(b){m(this.Ll,b)||(Yb(b,this.Ll),this.j.uniformMatrix4fv(this.Ug,
!1,b))};d.prototype.hf=function(b,c,f){var a=this.j,e=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(e,b.src);a.compileShader(e);if(!a.getShaderParameter(e,a.COMPILE_STATUS))return a.deleteShader(e),null;var g=a.createShader(a.VERTEX_SHADER);a.shaderSource(g,c);a.compileShader(g);if(!a.getShaderParameter(g,a.COMPILE_STATUS))return a.deleteShader(e),a.deleteShader(g),null;c=a.createProgram();a.attachShader(c,e);a.attachShader(c,g);a.linkProgram(c);if(!a.getProgramParameter(c,a.LINK_STATUS))return a.deleteShader(e),
a.deleteShader(g),a.deleteProgram(c),null;a.useProgram(c);a.deleteShader(e);a.deleteShader(g);f=new k(a,c,f);f.wg=b.wg||0;f.xg=b.xg||0;f.ci=!!b.ci;f.Fb=!!b.Fb;f.Nh=!!b.Nh;f.C=b.C||[];b=0;for(e=f.C.length;b<e;b++)f.C[b][1]=a.getUniformLocation(c,f.C[b][0]),f.Qi.push(0),a.uniform1f(f.C[b][1],0);return f};d.prototype.vi=function(b){var c,f;c=0;for(f=this.ba.length;c<f;c++)if(this.ba[c].name===b)return c;return-1};d.prototype.um=function(b,c,f){var a=this.nb,e=this.Yg,g=[0,0,0,0,0,0,0,0];g[0]=a[0]*b+
a[4]*c+a[12];g[1]=a[1]*b+a[5]*c+a[13];g[2]=a[2]*b+a[6]*c+a[14];g[3]=a[3]*b+a[7]*c+a[15];g[4]=e[0]*g[0]+e[4]*g[1]+e[8]*g[2]+e[12]*g[3];g[5]=e[1]*g[0]+e[5]*g[1]+e[9]*g[2]+e[13]*g[3];g[6]=e[2]*g[0]+e[6]*g[1]+e[10]*g[2]+e[14]*g[3];g[7]=-g[2];0!==g[7]&&(g[7]=1/g[7],g[4]*=g[7],g[5]*=g[7],g[6]*=g[7],f[0]=(.5*g[4]+.5)*this.width,f[1]=(.5*g[5]+.5)*this.height)};d.prototype.fe=function(b,c,f){if(this.width!==b||this.height!==c||f){this.Hd();f=this.j;this.width=b;this.height=c;f.viewport(0,0,b,c);$b(this.Uh,
this.El,this.en,this.nb);if(this.N){var a=-b/2;b=b/2;var e=c/2;c=-c/2;var g=this.Fh,h=this.Tj,u=this.Yg;u||(u=Xb());var n=b-a,d=c-e,l=h-g;u[0]=2/n;u[1]=0;u[2]=0;u[3]=0;u[4]=0;u[5]=2/d;u[6]=0;u[7]=0;u[8]=0;u[9]=0;u[10]=-2/l;u[11]=0;u[12]=-(a+b)/n;u[13]=-(c+e)/d;u[14]=-(h+g)/l;u[15]=1;this.kg[0]=1;this.kg[1]=1}else c=b/c,a=this.Fh,b=this.Tj,u=this.Yg,h=a*Math.tan(45*Math.PI/360),c*=h,e=-c,g=-h,u||(u=Xb()),n=c-e,d=h-g,l=b-a,u[0]=2*a/n,u[1]=0,u[2]=0,u[3]=0,u[4]=0,u[5]=2*a/d,u[6]=0,u[7]=0,u[8]=(c+e)/n,
u[9]=(h+g)/d,u[10]=-(b+a)/l,u[11]=-1,u[12]=0,u[13]=0,u[14]=-(b*a*2)/l,u[15]=0,a=[0,0],b=[0,0],this.um(0,0,a),this.um(1,1,b),this.kg[0]=1/(b[0]-a[0]),this.kg[1]=-1/(b[1]-a[1]);a=0;for(b=this.ba.length;a<b;a++)e=this.ba[a],e.Md=!1,e.Cl&&(f.useProgram(e.Zf),f.uniformMatrix4fv(e.Cl,!1,this.Yg));f.useProgram(this.ba[this.Gf].Zf);f.bindTexture(f.TEXTURE_2D,null);f.activeTexture(f.TEXTURE1);f.bindTexture(f.TEXTURE_2D,null);f.activeTexture(f.TEXTURE0);this.Ud=this.Td=null;this.tg&&(f.bindFramebuffer(f.FRAMEBUFFER,
this.ji),f.bindRenderbuffer(f.RENDERBUFFER,this.tg),f.renderbufferStorage(f.RENDERBUFFER,f.DEPTH_COMPONENT16,this.width,this.height),this.rk||(f.framebufferRenderbuffer(f.FRAMEBUFFER,f.DEPTH_ATTACHMENT,f.RENDERBUFFER,this.tg),this.rk=!0),f.bindRenderbuffer(f.RENDERBUFFER,null),f.bindFramebuffer(f.FRAMEBUFFER,null),this.jh=null)}};d.prototype.qc=function(){$b(this.Uh,this.El,this.en,this.nb);Zb(this.nb,this.kg)};d.prototype.translate=function(b,c){if(0!==b||0!==c){this.ud[0]=b;this.ud[1]=c;this.ud[2]=
0;var f=this.nb,a=this.ud,e=a[0],g=a[1],a=a[2];f[12]=f[0]*e+f[4]*g+f[8]*a+f[12];f[13]=f[1]*e+f[5]*g+f[9]*a+f[13];f[14]=f[2]*e+f[6]*g+f[10]*a+f[14];f[15]=f[3]*e+f[7]*g+f[11]*a+f[15]}};d.prototype.scale=function(b,c){if(1!==b||1!==c)this.ud[0]=b,this.ud[1]=c,this.ud[2]=1,Zb(this.nb,this.ud)};d.prototype.wj=function(b){if(0!==b){var c=this.nb,f,a=Math.sin(b);b=Math.cos(b);var e=c[0],g=c[1],h=c[2],u=c[3],n=c[4],d=c[5],l=c[6],p=c[7];f?c!==f&&(f[8]=c[8],f[9]=c[9],f[10]=c[10],f[11]=c[11],f[12]=c[12],f[13]=
c[13],f[14]=c[14],f[15]=c[15]):f=c;f[0]=e*b+n*a;f[1]=g*b+d*a;f[2]=h*b+l*a;f[3]=u*b+p*a;f[4]=e*-a+n*b;f[5]=g*-a+d*b;f[6]=h*-a+l*b;f[7]=u*-a+p*b}};d.prototype.Yb=function(){if(!m(this.Ri,this.nb)){var b=this.ab();b.type=5;b.D?Yb(this.nb,b.D):b.D=Xb(this.nb);Yb(this.nb,this.Ri);this.Ja=!1}};d.prototype.mh=function(b){this.N&&(32760<b&&(b=32760),this.ei=this.Uh[2]-this.Fh-b*this.ur)};q.prototype.Bo=function(){var b=this.j,c=this.k;0!==this.Oa?(b.depthMask(!0),b.colorMask(!1,!1,!1,!1),b.disable(b.BLEND),
b.bindFramebuffer(b.FRAMEBUFFER,c.ji),b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,null,0),b.clear(b.DEPTH_BUFFER_BIT),b.bindFramebuffer(b.FRAMEBUFFER,null),c.Ig=!0):(b.depthMask(!1),b.colorMask(!0,!0,!0,!0),b.enable(b.BLEND),c.Ig=!1)};q.prototype.Fo=function(){this.j.bindTexture(this.j.TEXTURE_2D,this.Jb)};q.prototype.Go=function(){var b=this.j;b.activeTexture(b.TEXTURE1);b.bindTexture(b.TEXTURE_2D,this.Jb);b.activeTexture(b.TEXTURE0)};q.prototype.Co=function(){var b=this.lm,
c=this.k;c.qg=b;c=c.te;c.He&&c.Xg!==b&&(c.Xg=b,this.j.uniform1f(c.He,b))};q.prototype.wo=function(){this.j.drawElements(this.j.TRIANGLES,this.mc,this.j.UNSIGNED_SHORT,this.Oa)};q.prototype.yo=function(){this.j.blendFunc(this.Oa,this.mc)};q.prototype.Ho=function(){var b,c,f,a=this.k.ba,e=this.k.Ek;b=0;for(c=a.length;b<c;b++)f=a[b],b===e&&f.Ug?(f.Pj(this.D),f.Md=!0):f.Md=!1;Yb(this.D,this.k.di)};q.prototype.xo=function(){var b=this.j,c=this.k;this.Jb?(c.Ud===this.Jb&&(b.activeTexture(b.TEXTURE1),b.bindTexture(b.TEXTURE_2D,
null),c.Ud=null,b.activeTexture(b.TEXTURE0)),b.bindFramebuffer(b.FRAMEBUFFER,c.ji),c.Ig||b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,this.Jb,0)):(c.N||b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,null,0),b.bindFramebuffer(b.FRAMEBUFFER,null))};q.prototype.to=function(){var b=this.j,c=this.Oa;0===c?(b.clearColor(this.D[0],this.D[1],this.D[2],this.D[3]),b.clear(b.COLOR_BUFFER_BIT)):1===c?(b.enable(b.SCISSOR_TEST),b.scissor(this.D[0],this.D[1],this.D[2],
this.D[3]),b.clearColor(0,0,0,0),b.clear(b.COLOR_BUFFER_BIT),b.disable(b.SCISSOR_TEST)):b.clear(b.DEPTH_BUFFER_BIT)};q.prototype.Ao=function(){var b=this.j;0!==this.Oa?b.enable(b.DEPTH_TEST):b.disable(b.DEPTH_TEST)};q.prototype.vo=function(){var b=this.j,c=this.k;c.N&&b.disable(b.DEPTH_TEST);var f=c.ba[1];b.useProgram(f.Zf);!f.Md&&f.Ug&&(f.Pj(c.di),f.Md=!0);b.enableVertexAttribArray(f.Bb);b.bindBuffer(b.ARRAY_BUFFER,c.kj);b.vertexAttribPointer(f.Bb,4,b.FLOAT,!1,0,0);b.drawArrays(b.POINTS,this.Oa/
4,this.mc);f=c.te;b.useProgram(f.Zf);0<=f.Bb&&(b.enableVertexAttribArray(f.Bb),b.bindBuffer(b.ARRAY_BUFFER,c.jg[c.Bc]),b.vertexAttribPointer(f.Bb,c.N?3:2,b.FLOAT,!1,0,0));0<=f.qd&&(b.enableVertexAttribArray(f.qd),b.bindBuffer(b.ARRAY_BUFFER,c.dg[c.Bc]),b.vertexAttribPointer(f.qd,2,b.FLOAT,!1,0,0));c.N&&b.enable(b.DEPTH_TEST)};q.prototype.Do=function(){var b=this.j,c=this.k,f=c.ba[this.Oa];c.Ek=this.Oa;c.te=f;b.useProgram(f.Zf);!f.Md&&f.Ug&&(f.Pj(c.di),f.Md=!0);f.He&&f.Xg!==c.qg&&(f.Xg=c.qg,b.uniform1f(f.He,
c.qg));0<=f.Bb&&(b.enableVertexAttribArray(f.Bb),b.bindBuffer(b.ARRAY_BUFFER,c.jg[c.Bc]),b.vertexAttribPointer(f.Bb,c.N?3:2,b.FLOAT,!1,0,0));0<=f.qd&&(b.enableVertexAttribArray(f.qd),b.bindBuffer(b.ARRAY_BUFFER,c.dg[c.Bc]),b.vertexAttribPointer(f.qd,2,b.FLOAT,!1,0,0))};q.prototype.zo=function(){var b=this.D;this.j.uniform4f(this.k.te.Vi,b[0],b[1],b[2],b[3])};q.prototype.Eo=function(){var b,c,f=this.k.te,a=this.j;b=this.D;f.Jf&&this.k.Ud!==this.Jb&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,
this.Jb),this.k.Ud=this.Jb,a.activeTexture(a.TEXTURE0));var e=b[0];f.Xi&&e!==f.Nl&&(f.Nl=e,a.uniform1f(f.Xi,e));e=b[1];f.Wi&&e!==f.Ml&&(f.Ml=e,a.uniform1f(f.Wi,e));e=b[2];c=b[3];!f.Yd||e===f.Hl&&c===f.Il||(f.Hl=e,f.Il=c,a.uniform2f(f.Yd,e,c));e=b[4];c=b[5];!f.Xd||e===f.Fl&&c===f.Gl||(f.Fl=e,f.Gl=c,a.uniform2f(f.Xd,e,c));e=b[6];f.If&&e!==f.Kl&&(f.Kl=e,a.uniform1f(f.If,e));e=b[7];f.Hf&&e!==f.Jl&&(f.Jl=e,a.uniform1f(f.Hf,e));e=b[8];c=b[9];!f.Mf||e===f.Rl&&c===f.Sl||(f.Rl=e,f.Sl=c,a.uniform2f(f.Mf,e,
c));e=b[10];c=b[11];!f.Kf||e===f.Ol&&c===f.Pl||(f.Ol=e,f.Pl=c,a.uniform2f(f.Kf,e,c));e=b[12];f.Lf&&e!==f.Ql&&(f.Ql=e,a.uniform1f(f.Lf,e));if(f.C.length)for(b=0,c=f.C.length;b<c;b++)e=this.Lm[b],e!==f.Qi[b]&&(f.Qi[b]=e,a.uniform1f(f.C[b][1],e))};d.prototype.ab=function(){this.Ac===this.bd.length&&this.bd.push(new q(0,this));return this.bd[this.Ac++]};d.prototype.Hd=function(){if(0!==this.Ac&&!this.j.isContextLost()){var b=this.j;0<this.lj&&(b.bindBuffer(b.ARRAY_BUFFER,this.kj),b.bufferSubData(b.ARRAY_BUFFER,
0,this.pm.subarray(0,this.lj)),c&&0<=c.Bb&&"<point>"===c.name&&b.vertexAttribPointer(c.Bb,4,b.FLOAT,!1,0,0));if(0<this.Wc){var c=this.te;b.bindBuffer(b.ARRAY_BUFFER,this.jg[this.Bc]);b.bufferSubData(b.ARRAY_BUFFER,0,this.Dh.subarray(0,this.Wc));c&&0<=c.Bb&&"<point>"!==c.name&&b.vertexAttribPointer(c.Bb,this.N?3:2,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.dg[this.Bc]);b.bufferSubData(b.ARRAY_BUFFER,0,this.vh.subarray(0,this.Se));c&&0<=c.qd&&"<point>"!==c.name&&b.vertexAttribPointer(c.qd,2,b.FLOAT,
!1,0,0)}for(var f,b=0,c=this.Ac;b<c;b++)switch(f=this.bd[b],f.type){case 1:f.wo();break;case 2:f.Fo();break;case 3:f.Co();break;case 4:f.yo();break;case 5:f.Ho();break;case 6:f.xo();break;case 7:f.to();break;case 8:f.vo();break;case 9:f.Do();break;case 10:f.Eo();break;case 11:f.Go();break;case 12:f.zo();break;case 13:f.Ao();break;case 14:f.Bo()}this.lj=this.Se=this.Wc=this.Ac=0;this.Ig=this.Ja=!1;this.Bc++;4<=this.Bc&&(this.Bc=0)}};d.prototype.Wf=function(b){if(b!==this.sl&&!this.zf){var c=this.ab();
c.type=3;this.sl=c.lm=b;this.Ja=!1}};d.prototype.Hb=function(b){if(b!==this.Td){var c=this.ab();c.type=2;this.Td=c.Jb=b;this.Ja=!1}};d.prototype.sd=function(b,c){if((b!==this.ul||c!==this.ql)&&!this.zf){var f=this.ab();f.type=4;f.Oa=b;f.mc=c;this.ul=b;this.ql=c;this.Ja=!1}};d.prototype.Fm=function(){this.sd(this.j.ONE,this.j.ONE_MINUS_SRC_ALPHA)};d.prototype.Vf=function(b,c,f,a,e,g,h,u){15992<=this.Wc&&this.Hd();var n=this.Wc,d=this.Se,l=this.Dh,p=this.vh,x=this.ei;if(this.Ja)this.bd[this.Ac-1].mc+=
6;else{var k=this.ab();k.type=1;k.Oa=this.N?n:n/2*3;k.mc=6;this.Ja=!0}this.N?(l[n++]=b,l[n++]=c,l[n++]=x,l[n++]=f,l[n++]=a,l[n++]=x,l[n++]=e,l[n++]=g,l[n++]=x,l[n++]=h,l[n++]=u,l[n++]=x):(l[n++]=b,l[n++]=c,l[n++]=f,l[n++]=a,l[n++]=e,l[n++]=g,l[n++]=h,l[n++]=u);p[d++]=0;p[d++]=0;p[d++]=1;p[d++]=0;p[d++]=1;p[d++]=1;p[d++]=0;p[d++]=1;this.Wc=n;this.Se=d};d.prototype.ee=function(b,c,f,a,e,g,h,u,n){15992<=this.Wc&&this.Hd();var d=this.Wc,l=this.Se,p=this.Dh,x=this.vh,k=this.ei;if(this.Ja)this.bd[this.Ac-
1].mc+=6;else{var m=this.ab();m.type=1;m.Oa=this.N?d:d/2*3;m.mc=6;this.Ja=!0}var m=n.left,q=n.top,r=n.right;n=n.bottom;this.N?(p[d++]=b,p[d++]=c,p[d++]=k,p[d++]=f,p[d++]=a,p[d++]=k,p[d++]=e,p[d++]=g,p[d++]=k,p[d++]=h,p[d++]=u,p[d++]=k):(p[d++]=b,p[d++]=c,p[d++]=f,p[d++]=a,p[d++]=e,p[d++]=g,p[d++]=h,p[d++]=u);x[l++]=m;x[l++]=q;x[l++]=r;x[l++]=q;x[l++]=r;x[l++]=n;x[l++]=m;x[l++]=n;this.Wc=d;this.Se=l};d.prototype.Ta=function(b){if(this.Gf!==b){if(!this.ba[b]){if(0===this.Gf)return;b=0}var c=this.ab();
c.type=9;this.Gf=c.Oa=b;this.Ja=!1}};d.prototype.Tf=function(b){b=this.ba[b];return!(!b.Yd&&!b.Xd)};d.prototype.nj=function(b){b=this.ba[b];return!!(b.Yd||b.Xd||b.ci)};d.prototype.mj=function(b){return this.ba[b].Fb};d.prototype.Oq=function(b){b=this.ba[b];return 0!==b.wg||0!==b.xg};d.prototype.Jp=function(b){return this.ba[b].wg};d.prototype.Kp=function(b){return this.ba[b].xg};d.prototype.Lp=function(b,c){return this.ba[b].C[c][2]};d.prototype.hh=function(b){return this.ba[b].Nh};d.prototype.Oe=
function(b,c,f,a,e,g,h,d,n,y,l,p,k,m,q){var r=this.ba[this.Gf],v,H;if(r.aq||q.length){v=this.ab();v.type=10;v.D?Yb(this.nb,v.D):v.D=Xb();H=v.D;H[0]=c;H[1]=f;H[2]=a;H[3]=e;H[4]=g;H[5]=h;H[6]=d;H[7]=n;H[8]=y;H[9]=l;H[10]=p;H[11]=k;H[12]=m;r.Jf?v.Jb=b:v.Jb=null;if(q.length)for(f=v.Lm,f.length=q.length,b=0,c=q.length;b<c;b++)f[b]=q[b];this.Ja=!1}};d.prototype.clear=function(b,c,f,a){var e=this.ab();e.type=7;e.Oa=0;e.D||(e.D=Xb());e.D[0]=b;e.D[1]=c;e.D[2]=f;e.D[3]=a;this.Ja=!1};d.prototype.clearRect=function(b,
c,f,a){if(!(0>f||0>a)){var e=this.ab();e.type=7;e.Oa=1;e.D||(e.D=Xb());e.D[0]=b;e.D[1]=c;e.D[2]=f;e.D[3]=a;this.Ja=!1}};d.prototype.Im=function(b){if(this.N&&(b=!!b,this.zf!==b)){var c=this.ab();c.type=14;c.Oa=b?1:0;this.Ja=!1;this.zf=b;this.jh=null;this.zf?this.Ta(2):this.Ta(0)}};d.prototype.Hm=function(b){if(this.N){var c=this.ab();c.type=13;c.Oa=b?1:0;this.Ja=!1}};d.prototype.Qk=function(){Yb(this.Ri,v);this.qc();this.Yb();var b=this.width/2,c=this.height/2;this.Vf(-b,c,b,c,b,-c,-b,-c);Yb(v,this.nb);
this.Yb()};d.prototype.Gm=function(b,c,f){this.Ta(3);var a=this.ab();a.type=12;a.D||(a.D=Xb());a.D[0]=b;a.D[1]=c;a.D[2]=f;a.D[3]=1;this.Ja=!1};d.prototype.br=function(){this.Ta(0)};d.prototype.Rq=function(){this.Ta(2)};d.prototype.Nq=function(){this.Hd();this.j.flush()};var r=[],c={};d.prototype.ko=function(){R(r);c={}};d.prototype.Ui=function(b,d,f){var a;a=!1;d=!!d;var e=b.src+","+a+","+d+(a?",undefined":""),g=null;if("undefined"!==typeof b.src&&c.hasOwnProperty(e))return g=c[e],g.mg++,g;this.Hd();
var h=this.j,u=ha(b.width)&&ha(b.height),g=h.createTexture();h.bindTexture(h.TEXTURE_2D,g);h.pixelStorei(h.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var n=h.RGBA,y=h.RGBA,l=h.UNSIGNED_BYTE;if(f&&!this.Qd)switch(f){case 1:y=n=h.RGB;break;case 2:l=h.UNSIGNED_SHORT_4_4_4_4;break;case 3:l=h.UNSIGNED_SHORT_5_5_5_1;break;case 4:y=n=h.RGB,l=h.UNSIGNED_SHORT_5_6_5}if(!u&&a){f=document.createElement("canvas");f.width=ia(b.width);f.height=ia(b.height);var p=f.getContext("2d");"undefined"!==typeof p.imageSmoothingEnabled?
p.imageSmoothingEnabled=d:(p.webkitImageSmoothingEnabled=d,p.mozImageSmoothingEnabled=d,p.msImageSmoothingEnabled=d);p.drawImage(b,0,0,b.width,b.height,0,0,f.width,f.height);h.texImage2D(h.TEXTURE_2D,0,n,y,l,f)}else h.texImage2D(h.TEXTURE_2D,0,n,y,l,b);a?(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.REPEAT),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.REPEAT)):(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE));d?(h.texParameteri(h.TEXTURE_2D,
h.TEXTURE_MAG_FILTER,h.LINEAR),u&&this.Ik?(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.LINEAR_MIPMAP_LINEAR),h.generateMipmap(h.TEXTURE_2D)):h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.LINEAR)):(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.NEAREST),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.NEAREST));h.bindTexture(h.TEXTURE_2D,null);this.Td=null;g.Bd=b.width;g.Ad=b.height;g.mg=1;g.Ak=e;r.push(g);return c[e]=g};d.prototype.sb=function(b,c,f){var a;this.Hd();var e=this.j;
this.Qd&&(a=!1);var g=e.createTexture();e.bindTexture(e.TEXTURE_2D,g);e.texImage2D(e.TEXTURE_2D,0,e.RGBA,b,c,0,e.RGBA,a?e.UNSIGNED_SHORT_4_4_4_4:e.UNSIGNED_BYTE,null);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,f?e.LINEAR:e.NEAREST);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,f?e.LINEAR:e.NEAREST);e.bindTexture(e.TEXTURE_2D,null);this.Td=null;g.Bd=b;g.Ad=c;r.push(g);
return g};d.prototype.deleteTexture=function(b){b&&("undefined"!==typeof b.mg&&1<b.mg?b.mg--:(this.Hd(),b===this.Td&&(this.j.bindTexture(this.j.TEXTURE_2D,null),this.Td=null),b===this.Ud&&(this.j.activeTexture(this.j.TEXTURE1),this.j.bindTexture(this.j.TEXTURE_2D,null),this.j.activeTexture(this.j.TEXTURE0),this.Ud=null),Aa(r,b),"undefined"!==typeof b.Ak&&delete c[b.Ak],this.j.deleteTexture(b)))};d.prototype.Gb=function(b){if(b!==this.jh){var c=this.ab();c.type=6;this.jh=c.Jb=b;this.Ja=!1}};fb=d})();
(function(){function d(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var b=this;this.mb=(this.Jg=/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.ld=!!a.dc;this.hq="undefined"!==typeof window.AppMobi||
this.ld;this.yb=!!window.c2cocoonjs;this.Rb=!!window.c2ejecta;this.yb&&(CocoonJS.App.onSuspended.addEventListener(function(){b.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){b.setSuspended(!1)}));this.Rb&&(document.addEventListener("pagehide",function(){b.setSuspended(!0)}),document.addEventListener("pageshow",function(){b.setSuspended(!1)}),document.addEventListener("resize",function(){b.setSize(window.innerWidth,window.innerHeight)}));this.V=this.ld||this.yb||this.Rb;this.Kg=
/edge\//i.test(navigator.userAgent);this.Qd=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.Kg;this.jl=/tizen/i.test(navigator.userAgent);this.hl=/android/i.test(navigator.userAgent)&&!this.jl&&!this.Qd&&!this.Kg;this.ol=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.Qd&&!this.Kg;this.oq=/ipad/i.test(navigator.userAgent);this.Ng=this.ol||this.oq||this.Rb;this.Ii=(/chrome/i.test(navigator.userAgent)||
/chromium/i.test(navigator.userAgent))&&!this.Qd&&!this.Kg;this.gl=/amazonwebappplatform/i.test(navigator.userAgent);this.jq=/firefox/i.test(navigator.userAgent);this.md="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.ml=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.mq=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.ze=!("undefined"===
typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Oi=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.ll=!!window.cr_windows10;this.kl=this.ml||this.mq||this.Oi||this.ll;this.iq=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.il=this.hl&&!this.Ii&&!this.Jg&&!this.jq&&!this.gl&&!this.V;this.devicePixelRatio=1;this.Rd=this.mb||this.Jg||this.hq||this.yb||this.hl||this.Ng||this.ze||this.Oi||this.iq||this.jl||this.Rb;this.Rd||
(this.Rd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));this.Ni=!!(this.Ng&&this.mb&&window.webkit);this.Ci=null;this.bq="";this.Ni&&(this.Ci=cordova&&cordova.plugins&&cordova.plugins.CorHttpd?cordova.plugins.CorHttpd:null);"undefined"===typeof cr_is_preview||this.md||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.md=!0);this.canvas=a;this.ng=document.getElementById("c2canvasdiv");
this.k=this.j=null;this.wi="(unavailable)";this.N=!1;this.Fd=0;this.X=null;this.mi="";this.Ag=!1;this.dm=this.em=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.ld&&(window.c2runtime=this);this.md&&(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.il&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.r=this.width;this.q=this.height;this.pg=this.width;this.kf=this.height;this.Ee=window.innerWidth;this.De=window.innerHeight;this.zp=!1;this.K=!0;this.Cf=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.g=[];this.W=[];this.Ti={};this.$a=[];this.ii={};this.Fc=[];this.Xe=[];this.Ah=[];this.Yn=[];this.Zn=[];this.Dd={};this.Ki=
this.kd=!1;this.Kc=0;this.Ji=this.Mi=!1;this.hc=[];this.Af=!1;this.Lc=this.Ka=this.Rg=this.Bj="";this.bg=this.Om=!1;this.zg=[];this.Ed=this.ve=0;this.Wl=30;this.bi=this.Nf=0;this.fg=1;this.Ab=new Wa;this.Eh=new Wa;this.$g=this.Cg=this.vg=this.eg=this.Wd=this.li=this.Og=0;this.df=null;this.Gk=[];this.hi=[];this.ug=-1;this.Yi=[[]];this.Kj=this.Vg=0;this.pj(null);this.of=this.$l=this.Pf=0;this.th=[];this.Hj=this.qj=-1;this.Ef=!0;this.Tg=0;this.Bf=!1;this.er=0;this.cf=null;this.ma=this.Hg=!1;this.cm=
new ca;this.bj=new ca;this.cj=new ca;this.zm=[];new Ya([]);new Ya([]);this.pe=[];this.Gg={};this.dd={};this.$c={};this.We={};this.xk={};this.Bl=this.Qg=this.ha=this.na=this.Al=this.Pg=this.J=null;this.Ue=this.Pi=!1;this.ni=[null,null];this.Kd=0;this.Rc={};this.$f=this.od=null;this.Pm="";this.Zg=[];this.Qq()}}function k(a,b){return 128>=b?a[3]:256>=b?a[2]:512>=b?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 v(a,b,e,c){try{var l=indexedDB.open("_C2SaveStates");l.onupgradeneeded=q;l.onerror=c;l.onsuccess=function(l){l=l.target.result;l.onerror=c;l.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:b}).onsuccess=e}}catch(h){c(h)}}function r(a,b,e){try{var c=indexedDB.open("_C2SaveStates");c.onupgradeneeded=q;c.onerror=e;c.onsuccess=function(c){c=c.target.result;c.onerror=e;var l=c.transaction(["saves"]).objectStore("saves").get(a);l.onsuccess=function(){l.result?b(l.result.data):
b(null)}}}catch(l){e(l)}}function c(){z("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 b(a){var b,e={};for(b in a)!a.hasOwnProperty(b)||a[b]instanceof ca||a[b]&&"undefined"!==typeof a[b].Es||"spriteCreatedDestroyCallback"!==b&&(e[b]=a[b]);return e}var w=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||
window.msRequestAnimationFrame||window.oRequestAnimationFrame;d.prototype.Qq=function(){var a=this;if(this.Ni)this.Ci?this.Ci.startServer({port:0,localhost_only:!0},function(b){a.bq=b;a.Nk(function(b){a.Ge(JSON.parse(b))},function(){alert("Error fetching data.js")})},function(a){alert("error starting local server: "+a)}):this.Nk(function(b){a.Ge(JSON.parse(b))},function(){alert("Error fetching data.js")});else{var b;this.ze?b=new ActiveXObject("Microsoft.XMLHTTP"):b=new XMLHttpRequest;var e="data.js";
if(this.ml||this.ze||this.Oi||this.ll)e="data.json";b.open("GET",e,!0);var c=!1;if(!this.V&&"response"in b&&"responseType"in b)try{b.responseType="json",c="json"===b.responseType}catch(l){c=!1}if(!c&&"responseType"in b)try{b.responseType="text"}catch(h){}if("overrideMimeType"in b)try{b.overrideMimeType("application/json; charset=utf-8")}catch(f){}this.ze?b.onreadystatechange=function(){4===b.readyState&&a.Ge(JSON.parse(b.responseText))}:(b.onload=function(){if(c)a.Ge(b.response);else if(a.Rb){var e=
b.responseText,e=e.substr(e.indexOf("{"));a.Ge(JSON.parse(e))}else a.Ge(JSON.parse(b.responseText))},b.onerror=function(a){fa("Error requesting "+e+":");fa(a)});b.send()}};d.prototype.fq=function(){var a=this,b,e,c,l,h,f,g,n,p;this.Sd=(!this.V||this.Rb||this.mb)&&this.pr&&!this.il;0===this.Ma&&this.Ng&&(this.Sd=!1);this.devicePixelRatio=this.Sd?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.Ea();e=!(!this.zp&&(!this.Lh||this.md||
this.kl||this.ze||this.Jg||this.mb||this.gl));0<this.Ma&&this.setSize(window.innerWidth,window.innerHeight,!0);try{this.Po&&(this.yb||this.Rb||!this.V)&&(b={alpha:e,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.j=this.canvas.getContext("webgl",b)||this.canvas.getContext("experimental-webgl",b))}catch(d){}if(this.j){if(b=this.j.getExtension("WEBGL_debug_renderer_info"))this.wi=this.j.getParameter(b.UNMASKED_RENDERER_WEBGL)+" ["+this.j.getParameter(b.UNMASKED_VENDOR_WEBGL)+"]";this.N&&
(this.wi+=" [front-to-back enabled]");this.V||(this.Ba=document.createElement("canvas"),jQuery(this.Ba).appendTo(this.canvas.parentNode),this.Ba.oncontextmenu=function(){return!1},this.Ba.onselectstart=function(){return!1},this.Ba.width=Math.round(this.pg*this.devicePixelRatio),this.Ba.height=Math.round(this.kf*this.devicePixelRatio),jQuery(this.Ba).css({width:this.pg+"px",height:this.kf+"px"}),this.rm(),this.ij=this.Ba.getContext("2d"));this.k=new fb(this.j,this.Rd,this.N);this.k.fe(this.canvas.width,
this.canvas.height);this.k.Ik=0!==this.Io;this.X=null;this.canvas.addEventListener("webglcontextlost",function(b){b.preventDefault();a.zq();z("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.k.cl();a.k.fe(a.k.width,a.k.height,!0);a.na=null;a.ha=null;a.ni[0]=null;a.ni[1]=null;a.Aq();a.K=!0;z("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);b=0;for(e=this.g.length;b<e;b++)for(h=this.g[b],c=0,l=
h.A.length;c<l;c++)g=h.A[c],g.ia=this.k.vi(g.id),g.Fb=this.k.mj(g.ia),this.Ue=this.Ue||this.k.Tf(g.ia);b=0;for(e=this.$a.length;b<e;b++){n=this.$a[b];c=0;for(l=n.A.length;c<l;c++)g=n.A[c],g.ia=this.k.vi(g.id),g.Fb=this.k.mj(g.ia);n.Xb();c=0;for(l=n.B.length;c<l;c++){p=n.B[c];h=0;for(f=p.A.length;h<f;h++)g=p.A[h],g.ia=this.k.vi(g.id),g.Fb=this.k.mj(g.ia),this.Ue=this.Ue||this.k.Tf(g.ia);p.Xb()}}}else{if(0<this.Ma&&this.ld){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=
function(){return!1};this.X=AppMobi.canvas.getContext("2d");try{this.X.samplingMode=this.da?"smooth":"sharp",this.X.globalScale=1,this.X.HTML5CompatibilityMode=!0,this.X.imageSmoothingEnabled=this.da}catch(u){}0!==this.width&&0!==this.height&&(this.X.width=this.width,this.X.height=this.height)}this.X||(this.yb?(b={antialias:!!this.da,alpha:e},this.X=this.canvas.getContext("2d",b)):(b={alpha:e},this.X=this.canvas.getContext("2d",b)),this.lh(this.X,this.da));this.ij=this.Ba=null}this.Vm=function(b){a.ie(!1,
b)};window==window.top||this.V||this.kl||this.ze||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.yb&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(z("Reloading for continuous preview"),this.Rg="__c2_continuouspreview",this.bg=!0),this.Gq&&!this.Rd&&(jQuery(window).focus(function(){a.setSuspended(!1)}),
jQuery(window).blur(function(){var b=window.parent;b&&b.document.hasFocus()||a.setSuspended(!0)})));window.addEventListener("blur",function(){a.Je()});this.V||(b=function(a){if(eb(a)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(b){}},window.navigator.pointerEnabled?document.addEventListener("pointerdown",b):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",b):
document.addEventListener("touchstart",b),document.addEventListener("mousedown",b));0===this.Ma&&this.Sd&&1<this.devicePixelRatio&&this.setSize(this.pa,this.oa,!0);this.an();this.Yp();this.go();this.T={}};d.prototype.setSize=function(a,b,e){var c=0,l=0,h=0,f=0,f=0;if(this.Ee!==a||this.De!==b||e){this.Ee=a;this.De=b;var g=this.Ma,n=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.Bf)&&!this.mb;if(n||0!==this.Ma||e)n&&0<this.Kd&&(g=this.Kd),
e=this.devicePixelRatio,4<=g?(h=this.pa/this.oa,a/b>h?(h*=b,5===g?(f=h*e/this.pa,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),h=this.pa*f/e,f=this.oa*f/e,c=(a-h)/2,l=(b-f)/2,a=h,b=f):(c=(a-h)/2,a=h)):(f=a/h,5===g?(f=f*e/this.oa,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),h=this.pa*f/e,f=this.oa*f/e,c=(a-h)/2,l=(b-f)/2,a=h):l=(b-f)/2,b=f),n&&!this.md&&(l=c=0)):this.md&&this.Bf&&0===this.Rk&&(c=Math.floor((a-this.pa)/2),l=Math.floor((b-this.oa)/2),a=this.pa,b=this.oa),2>g&&(this.bf=e),this.pg=Math.round(a),
this.kf=Math.round(b),this.width=Math.round(a*e),this.height=Math.round(b*e),this.K=!0,this.ln?(this.r=this.width,this.q=this.height,this.jb=!0):this.width<this.pa&&this.height<this.oa||1===g?(this.r=this.width,this.q=this.height,this.jb=!0):(this.r=this.pa,this.q=this.oa,this.jb=!1,2===g?(h=this.pa/this.oa,g=this.Ee/this.De,g<h?this.r=this.q*g:g>h&&(this.q=this.r/g)):3===g&&(h=this.pa/this.oa,g=this.Ee/this.De,g>h?this.r=this.q*g:g<h&&(this.q=this.r/g))),this.ng&&!this.V&&(jQuery(this.ng).css({width:Math.round(a)+
"px",height:Math.round(b)+"px","margin-left":Math.floor(c)+"px","margin-top":Math.floor(l)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+"px",height:Math.round(b)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*e),this.canvas.height=Math.round(b*e),this.Rb?(this.canvas.style.left=Math.floor(c)+"px",this.canvas.style.top=Math.floor(l)+"px",this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(b)+"px"):this.Sd&&!this.V&&(this.canvas.style.width=
Math.round(a)+"px",this.canvas.style.height=Math.round(b)+"px")),this.Ba&&(this.Ba.width=Math.round(a*e),this.Ba.height=Math.round(b*e),this.Ba.style.width=this.pg+"px",this.Ba.style.height=this.kf+"px"),this.k&&this.k.fe(Math.round(a*e),Math.round(b*e)),this.ld&&this.X&&(this.X.width=Math.round(a),this.X.height=Math.round(b)),this.X&&this.lh(this.X,this.da),this.an(),this.ol&&!this.mb&&window.scrollTo(0,0)}};d.prototype.an=function(){if(this.bo&&0!==this.hj){var a="portrait";2===this.hj&&(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(b){console&&console.warn&&console.warn("Failed to lock orientation: ",b)}}};d.prototype.zq=function(){this.k.ko();this.Pi=!0;var a,b,e;a=0;for(b=this.g.length;a<b;a++)e=this.g[a],e.fm&&
e.fm()};d.prototype.Aq=function(){this.Pi=!1;var a,b,e;a=0;for(b=this.g.length;a<b;a++)e=this.g[a],e.im&&e.im()};d.prototype.rm=function(){if(!this.V){var a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Bf)&&!this.mb?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.Ba).css(a)}};var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||
window.oCancelAnimationFrame;d.prototype.setSuspended=function(a){var b;if(a&&!this.Cf)for(z("[Construct 2] Suspending"),this.Cf=!0,-1!==this.qj&&f&&f(this.qj),-1!==this.Hj&&clearTimeout(this.Hj),a=0,b=this.th.length;a<b;a++)this.th[a](!0);else if(!a&&this.Cf){z("[Construct 2] Resuming");this.Cf=!1;this.Og=T();this.Wd=T();a=this.Nf=this.Cg=0;for(b=this.th.length;a<b;a++)this.th[a](!1);this.ie(!1)}};d.prototype.Yc=function(a){return this.Zg[a]};d.prototype.Ge=function(a){a&&a.project||fa("Project model unavailable");
a=a.project;this.name=a[0];this.Pk=a[1];this.Ma=a[12];this.Rk=a[12];this.pa=a[10];this.oa=a[11];this.mm=this.pa/2;this.nm=this.oa/2;this.V&&!this.Rb&&(4<=a[12]||0===a[12])&&(z("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Rk=this.Ma=3);this.Rj=a[18];this.pd=a[19];if(0===this.pd){var b=new Image;b.crossOrigin="anonymous";this.Cj(b,"loading-logo.png");this.od={Wg:b}}else if(4===this.pd){b=new Image;b.src="";var e=new Image;
e.src="";var c=new Image;c.src="";var h=new Image;h.src="";var l=new Image;l.src="";var f=new Image;f.src="";var g=new Image;g.src="";var n=new Image;n.src="";var p=new Image;p.src="";var d=new Image;d.src="";var u=new Image;u.src="";var y=new Image;y.src="";this.od={Wg:[b,e,c,h],Kq:[l,f,g,n],tr:[p,d,u,y]}}this.Pf=a[21];this.Zg=bc();this.sc=new Y(this);b=0;for(e=a[2].length;b<e;b++)g=a[2][b],c=this.Yc(g[0]),gb(g,c.prototype),n=new c(this),n.ph=g[1],n.nd=g[2],n.Yl=g[9],n.Aa&&n.Aa(),this.plugins.push(n);
this.Zg=bc();b=0;for(e=a[3].length;b<e;b++){g=a[3][b];l=this.Yc(g[1]);n=null;c=0;for(h=this.plugins.length;c<h;c++)if(this.plugins[c]instanceof l){n=this.plugins[c];break}p=new n.yc(n);p.name=g[0];p.H=g[2];p.Hi=g[3].slice(0);p.rr=g[3].length;p.co=g[4];p.Ap=g[5];p.G=g[11];p.H?(p.Vl=[],p.Gc=this.of++,p.U=null):(p.Vl=null,p.Gc=-1,p.U=[]);p.yg=null;p.we=null;p.Jk=null;p.zb=!1;p.Xa=null;g[6]?(p.Tm=g[6][0],p.Um=g[6][1],p.hr=g[6][2]):(p.Tm=null,p.Um=0,p.hr=0);g[7]?p.Va=g[7]:p.Va=null;p.index=b;p.c=[];p.sg=
[];p.Uc=[new hb(p)];p.ic=0;p.jc=null;p.po=0;p.Qe=!0;p.Bh=ib;p.Dp=jb;p.Ip=kb;p.O=lb;p.Uf=mb;p.oj=nb;p.Ke=ob;p.Dg=pb;p.oi=qb;p.qi=rb;p.ad=sb;p.si=tb;p.Ck=new Za(this.pa,this.oa);p.ok=!0;p.pk=!1;p.T={};p.toString=ub;p.W=[];c=0;for(h=g[8].length;c<h;c++){d=g[8][c];u=this.Yc(d[1]);y=null;l=0;for(f=this.W.length;l<f;l++)if(this.W[l]instanceof u){y=this.W[l];break}y||(y=new u(this),y.Zl=[],y.aj=new ca,y.Aa&&y.Aa(),this.W.push(y));-1===y.Zl.indexOf(p)&&y.Zl.push(p);l=new y.yc(y,p);l.name=d[0];l.G=d[2];l.Aa();
p.W.push(l)}p.global=g[9];p.Li=g[10];p.A=[];c=0;for(h=g[12].length;c<h;c++)p.A.push({id:g[12][c][0],name:g[12][c][1],ia:-1,Fb:!1,gb:!0,index:c});p.Ys=g[13];this.Rj&&!p.H&&!p.Li&&n.nd||p.Aa();p.name&&(this.types[p.name]=p);this.g.push(p);n.ph&&(c=new n.pb(p),c.uid=this.Pf++,c.wm=this.$l++,c.Nd=0,c.sf=vb,c.toString=wb,c.ra=g[14],c.Aa(),p.c.push(c),this.Rc[c.uid.toString()]=c)}b=0;for(e=a[4].length;b<e;b++)for(l=a[4][b],f=this.g[l[0]],c=1,h=l.length;c<h;c++)g=this.g[l[c]],g.U.push(f),f.Vl.push(g);b=
0;for(e=a[28].length;b<e;b++){l=a[28][b];f=[];c=0;for(h=l.length;c<h;c++)f.push(this.g[l[c]]);c=0;for(h=f.length;c<h;c++)f[c].zb=!0,f[c].Xa=f}if(0<this.of)for(b=0,e=this.g.length;b<e;b++)if(g=this.g[b],!g.H&&g.U.length){g.yg=Array(this.of);g.we=Array(this.of);g.Jk=Array(this.of);p=[];c=y=u=d=0;for(h=g.U.length;c<h;c++)for(n=g.U[c],g.yg[n.Gc]=d,d+=n.rr,g.we[n.Gc]=u,u+=n.co,g.Jk[n.Gc]=y,y+=n.Ap,l=0,f=n.A.length;l<f;l++)p.push(ua({},n.A[l]));g.A=p.concat(g.A);c=0;for(h=g.A.length;c<h;c++)g.A[c].index=
c}b=0;for(e=a[5].length;b<e;b++)g=a[5][b],c=new xb(this,g),this.Ti[c.name]=c,this.$a.push(c);b=0;for(e=a[6].length;b<e;b++)g=a[6][b],c=new yb(this,g),this.ii[c.name]=c,this.Fc.push(c);b=0;for(e=this.Fc.length;b<e;b++)this.Fc[b].ea();b=0;for(e=this.Fc.length;b<e;b++)this.Fc[b].Oj();b=0;for(e=this.Ah.length;b<e;b++)this.Ah[b].ea();R(this.Ah);this.$n=a[7];this.de=a[9];this.bf=1;this.Po=a[13];this.da=a[14];this.Lh=a[15];this.pr=a[17];this.hj=a[20];this.bo=0<this.hj;this.Gq=a[22];this.jb=this.ln=a[23];
this.Io=a[24];this.Lq=a[25];this.N=a[27]&&!this.Qd;this.qh=Date.now();R(this.Zg);this.fq()};var a=!1;d.prototype.sr=function(b,e){b.cocoonLazyLoad=!0;b.onerror=function(e){a=b.zk=!0;console&&console.error&&console.error("Error loading image '"+b.src+"': ",e)};this.Rb?b.src=e:b.src||("undefined"!==typeof XAPKReader?XAPKReader.get(e,function(a){b.src=a},function(c){a=b.zk=!0;console&&console.error&&console.error("Error extracting image '"+e+"' from expansion file: ",c)}):(b.crossOrigin="anonymous",
this.Cj(b,e)));this.Xe.push(b)};d.prototype.yp=function(a){var b,e;b=0;for(e=this.Xe.length;b<e;b++)if(this.Xe[b].mo===a)return this.Xe[b];return null};var e=0,g=!1;d.prototype.Yp=function(){this.cf&&(e=this.cf.Vs(this.$n))};d.prototype.qk=function(){var a=e,b=0,c=0,l=!0,h,f,c=0;for(h=this.Xe.length;c<h;c++){f=this.Xe[c];var p=f.lo;if(!p||0>=p)p=5E4;a+=p;f.src&&(f.complete||f.loaded)&&!f.zk?b+=p:l=!1}l&&this.Lq&&this.cf&&(g||(this.cf.Ws(),g=!0),c=this.cf.Js(),b+=c,c<e&&(l=!1));this.Tb=0==a?1:b/a;
return l};var h=!1;d.prototype.go=function(){if(this.X||this.k){var b=this.X||this.ij;this.Ba&&this.rm();var e=window.innerWidth,c=window.innerHeight;this.Ee===e&&this.De===c||this.setSize(e,c);this.Tb=0;this.zl=-1;var l=this;if(this.qk()&&(4!==this.pd||h))this.Zp();else{c=Date.now()-this.qh;if(b){var g=this.width,f=this.height,e=this.devicePixelRatio;if(3>this.pd&&(this.yb||500<=c&&this.zl!=this.Tb)){b.clearRect(0,0,g,f);var c=g/2,f=f/2,g=0===this.pd&&this.od.Wg.complete,p=40*e,n=0,d=80*e,u;if(g){var y=
this.od.Wg,d=y.width*e;u=y.height*e;p=d/2;n=u/2;b.drawImage(y,O(c-p),O(f-n),d,u)}1>=this.pd?(c=O(c-p)+.5,f=O(f+(n+(g?12*e:0)))+.5,b.fillStyle=a?"red":"DodgerBlue",b.fillRect(c,f,Math.floor(d*this.Tb),6*e),b.strokeStyle="black",b.strokeRect(c,f,d,6*e),b.strokeStyle="white",b.strokeRect(c-1*e,f-1*e,d+2*e,8*e)):2===this.pd&&(b.font=this.Rb?"12pt ArialMT":"12pt Arial",b.fillStyle=a?"#f00":"#999",b.Xs="middle",e=Math.round(100*this.Tb)+"%",g=b.measureText?b.measureText(e):null,b.fillText(e,c-(g?g.width:
0)/2,f));this.zl=this.Tb}else if(4===this.pd){this.No(b);w?w(function(){l.go()}):setTimeout(function(){l.go()},16);return}}setTimeout(function(){l.go()},this.yb?10:100)}}};var u=-1,n="undefined"===typeof cr_is_preview?200:0,y=!0,l=!1,p=0,x=0,ma="undefined"===typeof cr_is_preview?3E3:0,ea=null,X=null,aa=0;d.prototype.No=function(b){if(!h){for(var e=Math.ceil(this.width),c=Math.ceil(this.height),g=this.od.Wg,f=this.od.Kq,d=this.od.tr,A=0;4>A;++A)if(!g[A].complete||!f[A].complete||!d[A].complete)return;
0===aa&&(u=Date.now());var A=Date.now(),m=!1,q=b,r,w;y||l?(b.clearRect(0,0,e,c),ea&&ea.width===e&&ea.height===c||(ea=document.createElement("canvas"),ea.width=e,ea.height=c,X=ea.getContext("2d")),q=X,m=!0,y&&1===aa&&(u=Date.now())):b.globalAlpha=1;q.fillStyle="#333333";q.fillRect(0,0,e,c);256<this.kf?(r=Ba(.22*c,105,.6*e),w=.25*r,q.drawImage(k(f,r),.5*e-r/2,.2*c-w/2,r,w),w=r=Math.min(.395*c,.95*e),q.drawImage(k(g,r),.5*e-r/2,.485*c-w/2,r,w),r=Ba(.22*c,105,.6*e),w=.25*r,q.drawImage(k(d,r),.5*e-r/2,
.868*c-w/2,r,w),q.fillStyle="#3C3C3C",r=e,w=Math.max(.005*c,2),q.fillRect(0,.8*c-w/2,r,w),q.fillStyle=a?"red":"#E0FF65",r=e*this.Tb,q.fillRect(.5*e-r/2,.8*c-w/2,r,w)):(w=r=.55*c,q.drawImage(k(g,r),.5*e-r/2,.45*c-w/2,r,w),q.fillStyle="#3C3C3C",r=e,w=Math.max(.005*c,2),q.fillRect(0,.85*c-w/2,r,w),q.fillStyle=a?"red":"#E0FF65",r=e*this.Tb,q.fillRect(.5*e-r/2,.85*c-w/2,r,w));m&&(y?b.globalAlpha=0===aa?0:Math.min((A-u)/300,1):l&&(b.globalAlpha=Math.max(1-(A-x)/300,0)),b.drawImage(ea,0,0,e,c));y&&300<=
A-u&&2<=aa&&(y=!1,p=A);!y&&A-p>=ma&&!l&&1<=this.Tb&&(l=!0,x=A);if(l&&A-x>=300+n||"undefined"!==typeof cr_is_preview&&1<=this.Tb&&500>Date.now()-u)h=!0,l=y=!1,this.od=X=ea=null;++aa}};d.prototype.Zp=function(){this.Ba&&(this.canvas.parentNode.removeChild(this.Ba),this.Ba=this.ij=null);this.qh=Date.now();this.Wd=T();var a,b,e;if(this.Rj)for(a=0,b=this.g.length;a<b;a++)e=this.g[a],e.H||e.Li||!e.qa.nd||e.Aa();else this.Ef=!1;a=0;for(b=this.$a.length;a<b;a++)this.$a[a].no();2<=this.Ma&&(a=this.pa/this.oa,
b=this.width/this.height,this.bf=2!==this.Ma&&b>a||2===this.Ma&&b<a?this.height/this.oa:this.width/this.pa);this.Pk?this.Ti[this.Pk].Ej():this.$a[0].Ej();this.Rj||(this.Tg=1,this.trigger(Y.prototype.d.Yj,null),window.C2_RegisterSW&&window.C2_RegisterSW());navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(b=this.g.length;a<b;a++)e=this.g[a],e.yq&&e.yq();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):
this.ie(!1);this.ld&&AppMobi.webview.execute("onGameReady();")};d.prototype.ie=function(a,b,e){if(this.J){var c=T();if(e||!this.Cf||a){a||(w?this.qj=w(this.Vm):this.Hj=setTimeout(this.Vm,this.Rd?1:16));b=b||c;var l=this.Ma;((e=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.mb)||this.Bf)&&0<this.Kd&&(l=this.Kd);if(0<l){var l=window.innerWidth,h=window.innerHeight;this.Ee===l&&this.De===h||this.setSize(l,h)}this.V||(e?(this.Ag||(this.mi=
jQuery(this.canvas).css("margin")||"0",this.Ag=!0),this.Ii||this.md||jQuery(this.canvas).css({"margin-left":""+Math.floor((screen.width-this.width/this.devicePixelRatio)/2)+"px","margin-top":""+Math.floor((screen.height-this.height/this.devicePixelRatio)/2)+"px"})):this.Ag?(this.Ii||this.md||jQuery(this.canvas).css("margin",this.mi),this.mi="",this.Ag=!1,0===this.Ma&&this.setSize(Math.round(this.em/this.devicePixelRatio),Math.round(this.dm/this.devicePixelRatio),!0)):(this.em=this.width,this.dm=this.height));
this.Ef&&(e=this.qk(),this.Tg=this.Tb,e&&(this.Ef=!1,this.Tb=1,this.trigger(Y.prototype.d.Yj,null),window.C2_RegisterSW&&window.C2_RegisterSW()));this.tq(b);!this.K&&!this.yb||this.Pi||this.bg||a||(this.K=!1,this.k?this.ub():this.gd(),this.$f&&(this.canvas&&this.canvas.toDataURL&&(this.Pm=this.canvas.toDataURL(this.$f[0],this.$f[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.Pm),this.trigger(Y.prototype.d.Dn,null)),this.$f=null));this.Ks||(this.eg++,this.vg++,this.Cg++);this.Nf+=T()-c}}};d.prototype.tq=
function(a){var b,e,c,l,h,g,f,p;1E3<=a-this.Wd&&(this.Wd+=1E3,1E3<=a-this.Wd&&(this.Wd=a),this.li=this.Cg,this.Cg=0,this.bi=this.Nf,this.Nf=0);b=0;0!==this.Og&&(b=a-this.Og,0>b&&(b=0),this.Ed=b/=1E3,.5<this.Ed?this.Ed=0:this.Ed>1/this.Wl&&(this.Ed=1/this.Wl));this.Og=a;this.ve=this.Ed*this.fg;this.Ab.add(this.ve);this.Eh.add(b);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Bf)&&!this.mb;2<=this.Ma||a&&0<this.Kd?(b=this.pa/this.oa,
e=this.width/this.height,c=this.Ma,a&&0<this.Kd&&(c=this.Kd),this.bf=2!==c&&e>b||2===c&&e<b?this.height/this.oa:this.width/this.pa,this.J&&(this.J.Dm(this.J.scrollX),this.J.Em(this.J.scrollY))):this.bf=this.Sd?this.devicePixelRatio:1;this.Ea();this.Kc++;this.sc.Tq();this.Kc--;this.Ea();this.Kc++;e=this.cm.vd();a=0;for(b=e.length;a<b;a++)e[a].Rs();a=0;for(b=this.g.length;a<b;a++)if(g=this.g[a],!g.H&&(g.W.length||g.U.length))for(e=0,c=g.c.length;e<c;e++)for(f=g.c[e],l=0,h=f.u.length;l<h;l++)f.u[l].ie();
a=0;for(b=this.g.length;a<b;a++)if(g=this.g[a],!g.H&&(g.W.length||g.U.length))for(e=0,c=g.c.length;e<c;e++)for(f=g.c[e],l=0,h=f.u.length;l<h;l++)p=f.u[l],p.Jq&&p.Jq();e=this.bj.vd();a=0;for(b=e.length;a<b;a++)e[a].ie();this.Kc--;this.$p();for(a=0;this.df&&10>a++;)this.Hk(this.df);a=0;for(b=this.Fc.length;a<b;a++)this.Fc[a].Bi=!1;this.J.Id&&this.J.Id.ta();R(this.zm);this.Kc++;a=0;for(b=this.g.length;a<b;a++)if(g=this.g[a],!g.H&&(g.W.length||g.U.length))for(e=0,c=g.c.length;e<c;e++)for(f=g.c[e],l=0,
h=f.u.length;l<h;l++)p=f.u[l],p.Gj&&p.Gj();e=this.cj.vd();a=0;for(b=e.length;a<b;a++)e[a].Gj();this.Kc--};d.prototype.Je=function(){var a,b,e,c,l,h,g,f,p;a=0;for(b=this.g.length;a<b;a++)if(g=this.g[a],!g.H)for(e=0,c=g.c.length;e<c;e++)if(f=g.c[e],f.Je&&f.Je(),f.u)for(l=0,h=f.u.length;l<h;l++)p=f.u[l],p.Je&&p.Je()};d.prototype.Hk=function(a){var b=this.J;this.J.fr();var e,c,l;if(this.k)for(e=0,c=this.g.length;e<c;e++)l=this.g[e],l.H||!l.dn||l.global&&0!==l.c.length||-1!==a.xf.indexOf(l)||l.dn();b==
a&&R(this.sc.eb);R(this.zm);this.Am(!0);a.Ej();this.Am(!1);this.K=!0;this.Ea()};d.prototype.Am=function(a){var b,e,c,l,h,g,f,p,n;b=0;for(e=this.W.length;b<e;b++)c=this.W[b],a?c.Qf&&c.Qf():c.Rf&&c.Rf();b=0;for(e=this.g.length;b<e;b++)if(c=this.g[b],c.global||c.qa.ph)for(l=0,h=c.c.length;l<h;l++)if(g=c.c[l],a?g.Qf&&g.Qf():g.Rf&&g.Rf(),g.u)for(f=0,p=g.u.length;f<p;f++)n=g.u[f],a?n.Qf&&n.Qf():n.Rf&&n.Rf()};d.prototype.Wm=function(a){this.bj.add(a)};d.prototype.ir=function(a){this.cj.add(a)};d.prototype.Vk=
function(a){return a&&-1!==a.Of?this.Ed*a.Of:this.ve};d.prototype.gd=function(){this.J.gd(this.X);this.ld&&this.X.present()};d.prototype.ub=function(){this.N&&(this.Fd=1,this.J.ue(this.k));this.J.ub(this.k);this.k.Nq()};d.prototype.Zk=function(a){a=a.toString();return this.Rc.hasOwnProperty(a)?this.Rc[a]:null};var H=[];d.prototype.le=function(a){var b,e;b=a.type.name;var c=null;if(this.Dd.hasOwnProperty(b)){if(c=this.Dd[b],c.contains(a))return}else c=H.length?H.pop():new ca,this.Dd[b]=c;c.add(a);
this.kd=!0;if(a.zb)for(b=0,e=a.siblings.length;b<e;b++)this.le(a.siblings[b]);this.Ki&&c.Ve.push(a);this.Ji||(this.Kc++,this.trigger(Object.getPrototypeOf(a.type.qa).d.Fn,a),this.Kc--)};d.prototype.Ea=function(){if(this.kd){var a,b,e,c,l,h;this.Ki=!0;e=0;for(l=this.hc.length;e<l;++e)for(a=this.hc[e],b=a.type,b.c.push(a),c=0,h=b.U.length;c<h;++c)b.U[c].c.push(a),b.U[c].Qe=!0;R(this.hc);this.wn();Ra(this.Dd);this.kd=this.Ki=!1}};d.prototype.wn=function(){for(var a in this.Dd)this.Dd.hasOwnProperty(a)&&
this.rn(this.Dd[a])};d.prototype.rn=function(a){var b=a.vd(),e=b[0].type,c,l,h,g,f,p;Ta(e.c,a);e.Qe=!0;0===e.c.length&&(e.pk=!1);c=0;for(l=e.U.length;c<l;++c)p=e.U[c],Ta(p.c,a),p.Qe=!0;c=0;for(l=this.sc.eb.length;c<l;++c)if(f=this.sc.eb[c],f.cb.hasOwnProperty(e.index)&&Ta(f.cb[e.index].Pd,a),!e.H)for(h=0,g=e.U.length;h<g;++h)p=e.U[h],f.cb.hasOwnProperty(p.index)&&Ta(f.cb[p.index].Pd,a);if(f=b[0].e){if(f.ob)for(h=f.c,c=0,l=h.length;c<l;++c)g=h[c],a.contains(g)&&(g.Da(),f.Ca.update(g,g.Sa,null),g.Sa.set(0,
0,-1,-1));Ta(f.c,a);f.Xf(0)}for(c=0;c<b.length;++c)this.qn(b[c],e);a.clear();H.push(a);this.K=!0};d.prototype.qn=function(a,b){var e,c,l;e=0;for(c=this.Gk.length;e<c;++e)this.Gk[e](a);a.ed&&b.Ck.update(a,a.ed,null);(e=a.e)&&e.Me(a,!0);if(a.u)for(e=0,c=a.u.length;e<c;++e)l=a.u[e],l.ah&&l.ah(),l.behavior.aj.remove(a);this.cm.remove(a);this.bj.remove(a);this.cj.remove(a);a.ah&&a.ah();this.Rc.hasOwnProperty(a.uid.toString())&&delete this.Rc[a.uid.toString()];this.$g--;100>b.sg.length&&b.sg.push(a)};var D=
[];d.prototype.Cd=function(a,b,e,c,l,h){var g,f,p,n;if(!a)return null;var d=this.g[a[1]],u=d.qa.nd;if(this.Ef&&u&&!d.Li||u&&!this.k&&11===a[0][11])return null;var y=b;u||(b=null);var k;d.sg.length?(k=d.sg.pop(),k.oc=!0,d.qa.pb.call(k,d)):(k=new d.qa.pb(d),k.oc=!1);!e||h||this.Rc.hasOwnProperty(a[2].toString())?k.uid=this.Pf++:k.uid=a[2];this.Rc[k.uid.toString()]=k;k.wm=this.$l++;k.Nd=d.c.length;g=0;for(f=this.hc.length;g<f;++g)this.hc[g].type===d&&k.Nd++;k.sf=vb;k.toString=wb;p=a[3];if(k.oc)Ra(k.T);
else{k.T={};if("undefined"!==typeof cr_is_preview)for(k.fl=[],k.fl.length=p.length,g=0,f=p.length;g<f;g++)k.fl[g]=p[g][1];k.la=[];k.la.length=p.length}g=0;for(f=p.length;g<f;g++)k.la[g]=p[g][0];if(u){var x=a[0];k.x=ga(c)?x[0]:c;k.y=ga(l)?x[1]:l;k.z=x[2];k.width=x[3];k.height=x[4];k.depth=x[5];k.i=x[6];k.opacity=x[7];k.Ya=x[8];k.Za=x[9];k.Ga=x[10];g=x[11];!this.k&&d.A.length&&(k.Ga=g);k.ff=ab(k.Ga);this.j&&bb(k,k.Ga,this.j);if(k.oc){g=0;for(f=x[12].length;g<f;g++)for(p=0,n=x[12][g].length;p<n;p++)k.Y[g][p]=
x[12][g][p];k.Fa.set(0,0,0,0);k.ed.set(0,0,-1,-1);k.Sa.set(0,0,-1,-1);k.lg.oh(k.Fa);R(k.Qh)}else{k.Y=x[12].slice(0);g=0;for(f=k.Y.length;g<f;g++)k.Y[g]=x[12][g].slice(0);k.I=[];k.Zc=[];k.Zc.length=d.A.length;k.Fa=new P(0,0,0,0);k.ed=new P(0,0,-1,-1);k.Sa=new P(0,0,-1,-1);k.lg=new ta;k.Qh=[];k.ua=zb;k.Ds=Ab;k.rb=Bb;k.Da=Cb;k.or=Db;k.Zs=Eb;k.lc=Fb}k.kr=!1;k.mr=0;k.lr=0;k.jr=null;14===x.length&&(k.kr=!0,k.mr=x[13][0],k.lr=x[13][1],k.jr=x[13][2]);g=0;for(f=d.A.length;g<f;g++)k.Zc[g]=!0;k.Sc=!0;k.Xb=Gb;
k.Xb();k.jn=!!k.I.length;k.Ph=!0;k.Vh=!0;d.ok=!0;k.visible=!0;k.Of=-1;k.e=b;k.Zb=b.c.length;k.Fd=0;"undefined"===typeof k.gc&&(k.gc=null);this.K=k.ef=!0}var m;R(D);g=0;for(f=d.U.length;g<f;g++)D.push.apply(D,d.U[g].W);D.push.apply(D,d.W);if(k.oc)for(g=0,f=D.length;g<f;g++){var r=D[g];m=k.u[g];m.oc=!0;r.behavior.pb.call(m,r,k);x=a[4][g];p=0;for(n=x.length;p<n;p++)m.ra[p]=x[p];m.Aa();r.behavior.aj.add(k)}else for(k.u=[],g=0,f=D.length;g<f;g++)r=D[g],m=new r.behavior.pb(r,k),m.oc=!1,m.ra=a[4][g].slice(0),
m.Aa(),k.u.push(m),r.behavior.aj.add(k);x=a[5];if(k.oc)for(g=0,f=x.length;g<f;g++)k.ra[g]=x[g];else k.ra=x.slice(0);this.hc.push(k);this.kd=!0;b&&(b.$e(k,!0),1!==b.Db||1!==b.Eb)&&(d.pk=!0);this.$g++;if(d.zb){if(k.zb=!0,k.oc?R(k.siblings):k.siblings=[],!e&&!h){g=0;for(f=d.Xa.length;g<f;g++)if(d.Xa[g]!==d){if(!d.Xa[g].jc)return null;k.siblings.push(this.Cd(d.Xa[g].jc,y,!1,u?k.x:c,u?k.y:l,!0))}g=0;for(f=k.siblings.length;g<f;g++)for(k.siblings[g].siblings.push(k),p=0;p<f;p++)g!==p&&k.siblings[g].siblings.push(k.siblings[p])}}else k.zb=
!1,k.siblings=null;k.Aa();g=0;for(f=k.u.length;g<f;g++)k.u[g].Iq&&k.u[g].Iq();return k};d.prototype.qf=function(a){var b,e;b=0;for(e=this.J.B.length;b<e;b++){var c=this.J.B[b];if(db(c.name,a))return c}return null};d.prototype.Ic=function(a){a=O(a);0>a&&(a=0);a>=this.J.B.length&&(a=this.J.B.length-1);return this.J.B[a]};d.prototype.$h=function(a){var b,e;b=0;for(e=a.length;b<e;b++)a[b].O().aa=!0};d.prototype.Uf=function(a){var b,e;b=0;for(e=a.length;b<e;b++)a[b].Uf()};d.prototype.oj=function(a){var b,
e;b=0;for(e=a.length;b<e;b++)a[b].oj()};d.prototype.Ke=function(a){var b,e;b=0;for(e=a.length;b<e;b++)a[b].Ke()};d.prototype.Re=function(a,b,e,c){var l=a.O(),g,h,f,p,n=this.Ra().tb.Sb,d,u,k;if(l.aa)for(c||(l.aa=!1,R(l.c)),g=0,p=a.c.length;g<p;g++)if(f=a.c[g],f.Da(),d=f.e.ka(b,e,!0),u=f.e.ka(b,e,!1),f.rb(d,u)){if(c)return!1;l.c.push(f)}else n&&l.F.push(f);else{h=0;k=n?l.F:l.c;g=0;for(p=k.length;g<p;g++)if(f=k[g],f.Da(),d=f.e.ka(b,e,!0),u=f.e.ka(b,e,!1),f.rb(d,u)){if(c)return!1;n?l.c.push(f):(l.c[h]=
l.c[g],h++)}c||(k.length=h)}a.ad();return c?!0:l.Ai()};new ta;new P(0,0,0,0);d.prototype.bn=function(a,b){if(!b)return!1;var e,c,l,g,h;e=0;for(c=a.W.length;e<c;e++)if(a.W[e].behavior instanceof b)return!0;if(!a.H)for(e=0,c=a.U.length;e<c;e++)for(h=a.U[e],l=0,g=h.W.length;l<g;l++)if(h.W[l].behavior instanceof b)return!0;return!1};d.prototype.Lj=function(a){return this.bn(a,Ub.$r)};d.prototype.Mj=function(a){return this.bn(a,Ub.as)};var G=-1;d.prototype.trigger=function(a,b,e){if(!this.J)return!1;var c=
this.J.Id;if(!c)return!1;var l=!1,g,h,f;G++;var p=c.fi;h=0;for(f=p.length;h<f;++h)g=this.Zm(a,b,p[h],e),l=l||g;g=this.Zm(a,b,c,e);G--;return l||g};d.prototype.Zm=function(a,b,e,c){var l=!1,g,h,f,p;if(b)for(f=this.Jj(a,b,b.type.name,e,c),l=l||f,p=b.type.U,g=0,h=p.length;g<h;++g)f=this.Jj(a,b,p[g].name,e,c),l=l||f;else f=this.Jj(a,b,"system",e,c),l=l||f;return l};d.prototype.Jj=function(a,b,e,c,l){var g,h=!1,f=!1,f="undefined"!==typeof l,p=(f?c.Lk:c.$m)[e];if(!p)return h;var n=null;c=0;for(g=p.length;c<
g;++c)if(p[c].method==a){n=p[c].nf;break}if(!n)return h;var d;f?d=n[l]:d=n;if(!d)return null;c=0;for(g=d.length;c<g;c++)a=d[c][0],l=d[c][1],f=this.vp(b,e,a,l),h=h||f;return h};d.prototype.vp=function(a,b,e,c){var l,g,h=!1;this.Kj++;var f=this.Ra().tb;f&&this.Uf(f.td);var p=1<this.Kj;this.Uf(e.td);p&&this.Pq();var n=this.pj(e);n.tb=e;a&&(l=this.types[b].O(),l.aa=!1,R(l.c),l.c[0]=a,this.types[b].ad());a=!0;if(e.parent){b=n.Sm;for(l=e.parent;l;)b.push(l),l=l.parent;b.reverse();l=0;for(g=b.length;l<g;l++)if(!b[l].Vq()){a=
!1;break}}a&&(this.vg++,e.Sb?e.Uq(c):e.ta(),h=h||n.Vd);this.qm();p&&this.Hq();this.Ke(e.td);f&&this.Ke(f.td);this.kd&&0===this.Kc&&0===G&&!this.Mi&&this.Ea();this.Kj--;return h};d.prototype.Tk=function(){var a=this.Ra();return a.tb.Ha[a.Wa]};d.prototype.Pq=function(){this.Vg++;this.Vg>=this.Yi.length&&this.Yi.push([])};d.prototype.Hq=function(){this.Vg--};d.prototype.Uk=function(){return this.Yi[this.Vg]};d.prototype.pj=function(a){this.ug++;this.ug>=this.hi.length&&this.hi.push(new Hb);var b=this.Ra();
b.reset(a);return b};d.prototype.qm=function(){this.ug--};d.prototype.Ra=function(){return this.hi[this.ug]};d.prototype.Wk=function(a,b){for(var e,c,l,g,h,f;b;){e=0;for(c=b.Ib.length;e<c;e++)if(f=b.Ib[e],f instanceof Ib&&db(a,f.name))return f;b=b.parent}e=0;for(c=this.Fc.length;e<c;e++)for(h=this.Fc[e],l=0,g=h.hd.length;l<g;l++)if(f=h.hd[l],f instanceof Ib&&db(a,f.name))return f;return null};d.prototype.Xk=function(a){var b,e;b=0;for(e=this.$a.length;b<e;b++)if(this.$a[b].G===a)return this.$a[b];
return null};d.prototype.Fg=function(a){var b,e;b=0;for(e=this.g.length;b<e;b++)if(this.g[b].G===a)return this.g[b];return null};d.prototype.Ep=function(a){var b,e;b=0;for(e=this.pe.length;b<e;b++)if(this.pe[b].G===a)return this.pe[b];return null};d.prototype.qo=function(a,b){this.$f=[a,b];this.K=!0};d.prototype.$p=function(){var a=this,b=this.Bj,e=this.Lc,l=this.Rg,g=!1;this.Om&&(g=!0,b="__c2_continuouspreview",this.Om=!1);if(b.length){this.Ea();e=this.Zq();if(m()&&!this.yb)v(b,e,function(){z("Saved state to IndexedDB storage ("+
e.length+" bytes)");a.Lc=e;a.trigger(Y.prototype.d.Jh,null);a.Lc="";g&&c()},function(l){try{localStorage.setItem("__c2save_"+b,e),z("Saved state to WebStorage ("+e.length+" bytes)"),a.Lc=e,a.trigger(Y.prototype.d.Jh,null),a.Lc="",g&&c()}catch(h){z("Failed to save game state: "+l+"; "+h),a.trigger(Y.prototype.d.bk,null)}});else try{localStorage.setItem("__c2save_"+b,e),z("Saved state to WebStorage ("+e.length+" bytes)"),a.Lc=e,this.trigger(Y.prototype.d.Jh,null),a.Lc="",g&&c()}catch(h){z("Error saving to WebStorage: "+
h),a.trigger(Y.prototype.d.bk,null)}this.Ka=this.Rg=this.Bj=""}if(l.length){if(m()&&!this.yb)r(l,function(b){b?(a.Ka=b,z("Loaded state from IndexedDB storage ("+a.Ka.length+" bytes)")):(a.Ka=localStorage.getItem("__c2save_"+l)||"",z("Loaded state from WebStorage ("+a.Ka.length+" bytes)"));a.bg=!1;a.Ka.length||a.trigger(Y.prototype.d.Hh,null)},function(){a.Ka=localStorage.getItem("__c2save_"+l)||"";z("Loaded state from WebStorage ("+a.Ka.length+" bytes)");a.bg=!1;a.Ka.length||a.trigger(Y.prototype.d.Hh,
null)});else{try{this.Ka=localStorage.getItem("__c2save_"+l)||"",z("Loaded state from WebStorage ("+this.Ka.length+" bytes)")}catch(f){this.Ka=""}this.bg=!1;a.Ka.length||a.trigger(Y.prototype.d.Hh,null)}this.Bj=this.Rg=""}this.Ka.length&&(this.Ea(),this.rq(this.Ka),this.Lc=this.Ka,this.trigger(Y.prototype.d.Ln,null),this.Ka=this.Lc="")};d.prototype.Zq=function(){var a,e,c,l,g,h,f,p={c2save:!0,version:1,rt:{time:this.Ab.ca,walltime:this.Eh.ca,timescale:this.fg,tickcount:this.eg,execcount:this.vg,next_uid:this.Pf,
running_layout:this.J.G,start_time_offset:Date.now()-this.qh},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(e=this.g.length;a<e;a++)if(g=this.g[a],!g.H&&!this.Lj(g)){h={instances:[]};Qa(g.T)&&(h.ex=b(g.T));c=0;for(l=g.c.length;c<l;c++)h.instances.push(this.Aj(g.c[c]));p.types[g.G.toString()]=h}a=0;for(e=this.$a.length;a<e;a++)c=this.$a[a],p.layouts[c.G.toString()]=c.Vb();l=p.events.groups;a=0;for(e=this.pe.length;a<e;a++)c=this.pe[a],l[c.G.toString()]=this.Gg[c.uf].tf;e=
p.events.cnds;for(f in this.dd)this.dd.hasOwnProperty(f)&&(a=this.dd[f],Qa(a.T)&&(e[f]={ex:b(a.T)}));e=p.events.acts;for(f in this.$c)this.$c.hasOwnProperty(f)&&(a=this.$c[f],Qa(a.T)&&(e[f]={ex:b(a.T)}));e=p.events.vars;for(f in this.We)this.We.hasOwnProperty(f)&&(a=this.We[f],a.Lg||a.parent&&!a.Df||(e[f]=a.data));p.system=this.sc.Vb();return JSON.stringify(p)};d.prototype.ym=function(){var a,b,e,c,l,g;this.Rc={};a=0;for(b=this.g.length;a<b;a++)if(e=this.g[a],!e.H)for(c=0,l=e.c.length;c<l;c++)g=e.c[c],
this.Rc[g.uid.toString()]=g};d.prototype.rq=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){this.Af=!0;var b=a.rt;this.Ab.reset();this.Ab.ca=b.time;this.Eh.reset();this.Eh.ca=b.walltime||0;this.fg=b.timescale;this.eg=b.tickcount;this.vg=b.execcount;this.qh=Date.now()-b.start_time_offset;var e=b.running_layout;if(e!==this.J.G)if(e=this.Xk(e))this.Hk(e);else return;var c,l,g,h,f,p,n;p=a.types;for(l in p)if(p.hasOwnProperty(l)&&(h=this.Fg(parseInt(l,10)))&&!h.H&&!this.Lj(h)){p[l].ex?h.T=p[l].ex:
Ra(h.T);f=h.c;g=p[l].instances;e=0;for(c=na(f.length,g.length);e<c;e++)this.Sg(f[e],g[e]);e=g.length;for(c=f.length;e<c;e++)this.le(f[e]);e=f.length;for(c=g.length;e<c;e++){f=null;if(h.qa.nd&&(f=this.J.Eg(g[e].w.l),!f))continue;f=this.Cd(h.jc,f,!1,0,0,!0);this.Sg(f,g[e])}h.Qe=!0}this.Ea();this.ym();c=a.layouts;for(l in c)c.hasOwnProperty(l)&&(e=this.Xk(parseInt(l,10)))&&e.Nc(c[l]);c=a.events.groups;for(l in c)c.hasOwnProperty(l)&&(e=this.Ep(parseInt(l,10)))&&this.Gg[e.uf]&&this.Gg[e.uf].$q(c[l]);
e=a.events.cnds;for(l in this.dd)this.dd.hasOwnProperty(l)&&(e.hasOwnProperty(l)?this.dd[l].T=e[l].ex:this.dd[l].T={});e=a.events.acts;for(l in this.$c)this.$c.hasOwnProperty(l)&&(e.hasOwnProperty(l)?this.$c[l].T=e[l].ex:this.$c[l].T={});e=a.events.vars;for(l in e)e.hasOwnProperty(l)&&this.We.hasOwnProperty(l)&&(this.We[l].data=e[l]);this.Pf=b.next_uid;this.Af=!1;e=0;for(c=this.zg.length;e<c;++e)f=this.zg[e],this.trigger(Object.getPrototypeOf(f.type.qa).d.Vj,f);R(this.zg);this.sc.Nc(a.system);e=0;
for(c=this.g.length;e<c;e++)if(h=this.g[e],!h.H&&!this.Lj(h))for(l=0,a=h.c.length;l<a;l++){f=h.c[l];if(h.zb)for(p=f.sf(),R(f.siblings),b=0,g=h.Xa.length;b<g;b++)n=h.Xa[b],h!==n&&f.siblings.push(n.c[p]);f.wd&&f.wd();if(f.u)for(b=0,g=f.u.length;b<g;b++)p=f.u[b],p.wd&&p.wd()}this.K=!0}};d.prototype.Aj=function(a,e){var c,l,g,h,f;h=a.type;g=h.qa;var p={};e?p.c2=!0:p.uid=a.uid;Qa(a.T)&&(p.ex=b(a.T));if(a.la&&a.la.length)for(p.ivs={},c=0,l=a.la.length;c<l;c++)p.ivs[a.type.Hi[c].toString()]=a.la[c];if(g.nd){g=
{x:a.x,y:a.y,w:a.width,h:a.height,l:a.e.G,zi:a.lc()};0!==a.i&&(g.a=a.i);1!==a.opacity&&(g.o=a.opacity);.5!==a.Ya&&(g.hX=a.Ya);.5!==a.Za&&(g.hY=a.Za);0!==a.Ga&&(g.bm=a.Ga);a.visible||(g.v=a.visible);a.ef||(g.ce=a.ef);-1!==a.Of&&(g.mts=a.Of);if(h.A.length)for(g.fx=[],c=0,l=h.A.length;c<l;c++)f=h.A[c],g.fx.push({name:f.name,active:a.Zc[f.index],params:a.Y[f.index]});p.w=g}if(a.u&&a.u.length)for(p.behs={},c=0,l=a.u.length;c<l;c++)h=a.u[c],h.Vb&&(p.behs[h.type.G.toString()]=h.Vb());a.Vb&&(p.data=a.Vb());
return p};d.prototype.Gp=function(a,b){var e,c;e=0;for(c=a.Hi.length;e<c;e++)if(a.Hi[e]===b)return e;return-1};d.prototype.Cp=function(a,b){var e,c;e=0;for(c=a.u.length;e<c;e++)if(a.u[e].type.G===b)return e;return-1};d.prototype.Sg=function(a,b,e){var c,l,g,h,f;f=a.type;h=f.qa;if(e){if(!b.c2)return}else a.uid=b.uid;b.ex?a.T=b.ex:Ra(a.T);if(l=b.ivs)for(c in l)l.hasOwnProperty(c)&&(g=this.Gp(f,parseInt(c,10)),0>g||g>=a.la.length||(a.la[g]=l[c]));if(h.nd){g=b.w;a.e.G!==g.l&&(l=a.e,a.e=this.J.Eg(g.l),
a.e?(l.Me(a,!0),a.e.$e(a,!0),a.ua(),a.e.Xf(0)):(a.e=l,e||this.le(a)));a.x=g.x;a.y=g.y;a.width=g.w;a.height=g.h;a.Zb=g.zi;a.i=g.hasOwnProperty("a")?g.a:0;a.opacity=g.hasOwnProperty("o")?g.o:1;a.Ya=g.hasOwnProperty("hX")?g.hX:.5;a.Za=g.hasOwnProperty("hY")?g.hY:.5;a.visible=g.hasOwnProperty("v")?g.v:!0;a.ef=g.hasOwnProperty("ce")?g.ce:!0;a.Of=g.hasOwnProperty("mts")?g.mts:-1;a.Ga=g.hasOwnProperty("bm")?g.bm:0;a.ff=ab(a.Ga);this.j&&bb(a,a.Ga,this.j);a.ua();if(g.hasOwnProperty("fx"))for(e=0,l=g.fx.length;e<
l;e++)h=f.qi(g.fx[e].name),0>h||(a.Zc[h]=g.fx[e].active,a.Y[h]=g.fx[e].params);a.Xb()}if(f=b.behs)for(c in f)f.hasOwnProperty(c)&&(e=this.Cp(a,parseInt(c,10)),0>e||a.u[e].Nc(f[c]));b.data&&a.Nc(b.data)};d.prototype.Mk=function(a,b,e){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+"www/"+a,function(a){a.file(b,e)},e)};d.prototype.Nk=function(a,b){this.Mk("data.js",function(e){var c=new FileReader;c.onload=function(b){a(b.target.result)};c.onerror=b;c.readAsText(e)},b)};var ja=[],
W=0;d.prototype.Zi=function(){if(ja.length&&!(8<=W)){W++;var a=ja.shift();this.uo(a.filename,a.gr,a.So)}};d.prototype.wp=function(a,b,e){var c=this;ja.push({filename:a,gr:function(a){W--;c.Zi();b(a)},So:function(a){W--;c.Zi();e(a)}});this.Zi()};d.prototype.uo=function(a,b,e){this.Mk(a,function(a){var e=new FileReader;e.onload=function(a){b(a.target.result)};e.readAsArrayBuffer(a)},e)};d.prototype.xp=function(a,b,e){this.wp(a,function(a){a=URL.createObjectURL(new Blob([a]));b(a)},e)};d.prototype.gq=
function(a){return/^(?:[a-z]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};d.prototype.Cj=function(a,b){this.Ni&&!this.gq(b)?this.xp(b,function(b){a.src=b},function(a){alert("Failed to load image: "+a)}):a.src=b};d.prototype.lh=function(a,b){"undefined"!==typeof a.imageSmoothingEnabled?a.imageSmoothingEnabled=b:(a.webkitImageSmoothingEnabled=b,a.mozImageSmoothingEnabled=b,a.msImageSmoothingEnabled=b)};Jb=function(a){return new d(document.getElementById(a))};Kb=function(a,b){return new d({dc:!0,
width:a,height:b})};window.cr_createRuntime=Jb;window.cr_createDCRuntime=Kb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.sk=!0;document.body.appendChild(a);a=new d(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=
function(){var a=new d(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var d=document.getElementById("c2canvas");return d?d.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(d,k){var m=window.cr_getC2Runtime();m&&m.qo(d,k)};window.cr_sizeCanvas=function(d,k){if(0!==d&&0!==k){var m=window.cr_getC2Runtime();m&&m.setSize(d,k)}};
window.cr_setSuspended=function(d){var k=window.cr_getC2Runtime();k&&k.setSuspended(d)};
(function(){function d(a,b){this.b=a;this.Id=null;this.scrollX=this.b.pa/2;this.scrollY=this.b.oa/2;this.scale=1;this.i=0;this.xe=!0;this.name=b[0];this.Fq=b[1];this.Eq=b[2];this.width=b[1];this.height=b[2];this.cn=b[3];this.Mm=b[4];this.G=b[5];var c=b[6],h,f;this.B=[];this.xf=[];h=0;for(f=c.length;h<f;h++){var n=new Lb(this,c[h]);n.am=h;this.B.push(n)}c=b[7];this.Od=[];h=0;for(f=c.length;h<f;h++){var n=c[h],d=this.b.g[n[1]];d.jc||(d.jc=n);this.Od.push(n);-1===this.xf.indexOf(d)&&this.xf.push(d)}this.A=
[];this.I=[];this.Sc=!0;this.Y=[];h=0;for(f=b[8].length;h<f;h++)this.A.push({id:b[8][h][0],name:b[8][h][1],ia:-1,Fb:!1,gb:!0,index:h}),this.Y.push(b[8][h][2].slice(0));this.Xb();this.rj=new P(0,0,1,1);this.sj=new P(0,0,1,1);this.rd={}}function k(a,b){return a.Zb-b.Zb}function m(a,b){this.wa=a;this.b=a.b;this.c=[];this.scale=1;this.i=0;this.Ec=!1;this.Vc=new P(0,0,0,0);this.Xm=new ta;this.R=this.M=this.S=this.L=0;this.ke=!1;this.Xc=-1;this.ai=0;this.name=b[0];this.index=b[1];this.G=b[2];this.visible=
b[3];this.Nb=b[4];this.Wb=b[5];this.Db=b[6];this.Eb=b[7];this.opacity=b[8];this.Bg=b[9];this.ob=b[10];this.Ua=b[11];this.Ga=b[12];this.Oo=b[13];this.ff="source-over";this.Ia=this.La=0;this.Ca=null;this.Mc=q();this.Ub=!0;this.Fe=new P(0,0,-1,-1);this.ya=new P(0,0,-1,-1);this.ob&&(this.Ca=new $a(this.b.pa,this.b.oa));this.pc=!1;var c=b[14],h,f;this.Rm=[];this.lb=[];this.jf=[];h=0;for(f=c.length;h<f;h++){var n=c[h],d=this.b.g[n[1]];d.jc||(d.jc=n,d.po=this.index);this.lb.push(n);-1===this.wa.xf.indexOf(d)&&
this.wa.xf.push(d)}xa(this.Rm,this.lb);this.A=[];this.I=[];this.Sc=!0;this.Y=[];h=0;for(f=b[15].length;h<f;h++)this.A.push({id:b[15][h][0],name:b[15][h][1],ia:-1,Fb:!1,gb:!0,index:h}),this.Y.push(b[15][h][2].slice(0));this.Xb();this.rj=new P(0,0,1,1);this.sj=new P(0,0,1,1)}function q(){return b.length?b.pop():[]}function v(a){R(a);b.push(a)}d.prototype.Yq=function(a){var b=a.type.G.toString();this.rd.hasOwnProperty(b)||(this.rd[b]=[]);this.rd[b].push(this.b.Aj(a))};d.prototype.$k=function(){var a=
this.B[0];return!a.Wb&&1===a.opacity&&!a.Bg&&a.visible};d.prototype.Xb=function(){R(this.I);this.Sc=!0;var a,b,c;a=0;for(b=this.A.length;a<b;a++)c=this.A[a],c.gb&&(this.I.push(c),c.Fb||(this.Sc=!1))};d.prototype.pi=function(a){var b,c,h;b=0;for(c=this.A.length;b<c;b++)if(h=this.A[b],h.name===a)return h;return null};var r=[],c=!0;d.prototype.Ej=function(){this.Mm&&(this.Id=this.b.ii[this.Mm],this.Id.Oj());this.b.J=this;this.width=this.Fq;this.height=this.Eq;this.scrollX=this.b.pa/2;this.scrollY=this.b.oa/
2;var a,b,g,h,f,n,d;a=0;for(g=this.b.g.length;a<g;a++)if(b=this.b.g[a],!b.H)for(f=b.c,b=0,h=f.length;b<h;b++)if(n=f[b],n.e){var l=n.e.am;l>=this.B.length&&(l=this.B.length-1);n.e=this.B[l];-1===n.e.c.indexOf(n)&&n.e.c.push(n);n.e.ke=!0}if(!c)for(a=0,g=this.B.length;a<g;++a)this.B[a].c.sort(k);R(r);this.eo();a=0;for(g=this.B.length;a<g;a++)n=this.B[a],n.oo(),n.Ch();f=!1;if(!this.xe){for(d in this.rd)if(this.rd.hasOwnProperty(d)&&(b=this.b.Fg(parseInt(d,10)))&&!b.H&&this.b.Mj(b)){h=this.rd[d];a=0;for(g=
h.length;a<g;a++){n=null;if(b.qa.nd&&(n=this.Eg(h[a].w.l),!n))continue;n=this.b.Cd(b.jc,n,!1,0,0,!0);this.b.Sg(n,h[a]);f=!0;r.push(n)}R(h)}a=0;for(g=this.B.length;a<g;a++)this.B[a].c.sort(k),this.B[a].ke=!0}f&&(this.b.Ea(),this.b.ym());for(a=0;a<r.length;a++)if(n=r[a],n.type.zb)for(g=n.sf(),b=0,h=n.type.Xa.length;b<h;b++)d=n.type.Xa[b],n.type!==d&&(d.c.length>g?n.siblings.push(d.c[g]):d.jc&&(f=this.b.Cd(d.jc,n.e,!0,n.x,n.y,!0),this.b.Ea(),d.Bh(),n.siblings.push(f),r.push(f)));a=0;for(g=this.Od.length;a<
g;a++)this.b.Cd(this.Od[a],null,!0);this.b.df=null;this.b.Ea();if(this.b.X&&!this.b.V)for(a=0,g=this.b.g.length;a<g;a++)d=this.b.g[a],!d.H&&d.c.length&&d.tm&&d.tm(this.b.X);if(this.b.Af)xa(this.b.zg,r);else for(a=0,g=r.length;a<g;a++)n=r[a],this.b.trigger(Object.getPrototypeOf(n.type.qa).d.Vj,n);R(r);this.b.Af||this.b.trigger(Y.prototype.d.Xj,null);this.xe=!1};d.prototype.no=function(){var a,b,c,f,d;b=a=0;for(c=this.Od.length;a<c;a++)f=this.Od[a],d=this.b.g[f[1]],d.global?d.zb||this.b.Cd(f,null,!0):
(this.Od[b]=f,b++);wa(this.Od,b)};d.prototype.fr=function(){this.b.Af||this.b.trigger(Y.prototype.d.Kn,null);this.b.Ji=!0;R(this.b.sc.eb);var a,b,g,f,d,n;if(!this.xe)for(a=0,b=this.B.length;a<b;a++)for(this.B[a].Qj(),d=this.B[a].c,g=0,f=d.length;g<f;g++)n=d[g],n.type.global||this.b.Mj(n.type)&&this.Yq(n);a=0;for(b=this.B.length;a<b;a++){d=this.B[a].c;g=0;for(f=d.length;g<f;g++)n=d[g],n.type.global||this.b.le(n);this.b.Ea();R(d);this.B[a].ke=!0}a=0;for(b=this.b.g.length;a<b;a++)if(d=this.b.g[a],!(d.global||
d.qa.nd||d.qa.ph||d.H)){g=0;for(f=d.c.length;g<f;g++)this.b.le(d.c[g]);this.b.Ea()}c=!1;this.b.Ji=!1};new P(0,0,0,0);d.prototype.gd=function(a){var b,c=a,f=!1,d=!this.b.jb;d&&(this.b.Qg||(this.b.Qg=document.createElement("canvas"),b=this.b.Qg,b.width=this.b.r,b.height=this.b.q,this.b.Bl=b.getContext("2d"),f=!0),b=this.b.Qg,c=this.b.Bl,b.width!==this.b.r&&(b.width=this.b.r,f=!0),b.height!==this.b.q&&(b.height=this.b.q,f=!0),f&&this.b.lh(c,this.b.da));c.globalAlpha=1;c.globalCompositeOperation="source-over";
this.b.Lh&&!this.$k()&&c.clearRect(0,0,this.b.r,this.b.q);var n,k,f=0;for(n=this.B.length;f<n;f++)k=this.B[f],k.visible&&0<k.opacity&&11!==k.Ga&&(k.c.length||!k.Wb)?k.gd(c):k.Ch();d&&a.drawImage(b,0,0,this.b.width,this.b.height)};d.prototype.ue=function(a){a.Im(!0);this.b.ha||(this.b.ha=a.sb(this.b.r,this.b.q,this.b.da));if(this.b.ha.Bd!==this.b.r||this.b.ha.Ad!==this.b.q)a.deleteTexture(this.b.ha),this.b.ha=a.sb(this.b.r,this.b.q,this.b.da);a.Gb(this.b.ha);this.b.jb||a.fe(this.b.r,this.b.q);var b,
c;for(b=this.B.length-1;0<=b;--b)c=this.B[b],c.visible&&1===c.opacity&&c.Sc&&0===c.Ga&&(c.c.length||!c.Wb)?c.ue(a):c.Ch();a.Im(!1)};d.prototype.ub=function(a){var b=0<this.I.length||this.b.Ue||!this.b.jb||this.b.N;if(b){this.b.ha||(this.b.ha=a.sb(this.b.r,this.b.q,this.b.da));if(this.b.ha.Bd!==this.b.r||this.b.ha.Ad!==this.b.q)a.deleteTexture(this.b.ha),this.b.ha=a.sb(this.b.r,this.b.q,this.b.da);a.Gb(this.b.ha);this.b.jb||a.fe(this.b.r,this.b.q)}else this.b.ha&&(a.Gb(null),a.deleteTexture(this.b.ha),
this.b.ha=null);this.b.Lh&&!this.$k()&&a.clear(0,0,0,0);var c,f,d;c=0;for(f=this.B.length;c<f;c++)d=this.B[c],d.visible&&0<d.opacity&&(d.c.length||!d.Wb)?d.ub(a):d.Ch();b&&(0===this.I.length||1===this.I.length&&this.b.jb?(1===this.I.length?(b=this.I[0].index,a.Ta(this.I[0].ia),a.Oe(null,1/this.b.r,1/this.b.q,0,0,1,1,this.scale,this.i,0,0,this.b.r/2,this.b.q/2,this.b.Ab.ca,this.Y[b]),a.hh(this.I[0].ia)&&(this.b.K=!0)):a.Ta(0),this.b.jb||a.fe(this.b.width,this.b.height),a.Gb(null),a.Hm(!1),a.Wf(1),
a.Hb(this.b.ha),a.Fm(),a.qc(),a.Yb(),b=this.b.width/2,c=this.b.height/2,a.Vf(-b,c,b,c,b,-c,-b,-c),a.Hb(null),a.Hm(!0)):this.tj(a,null,null,null))};d.prototype.rf=function(){return 0<this.I.length||this.b.Ue||!this.b.jb||this.b.N?this.b.ha:null};d.prototype.Yk=function(){var a=this.B[0].kb(),b,c,f;b=1;for(c=this.B.length;b<c;b++)f=this.B[b],(0!==f.Db||0!==f.Eb)&&f.kb()<a&&(a=f.kb());return a};d.prototype.Dm=function(a){if(!this.cn){var b=1/this.Yk()*this.b.r/2;a>this.width-b&&(a=this.width-b);a<b&&
(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.K=!0)};d.prototype.Em=function(a){if(!this.cn){var b=1/this.Yk()*this.b.q/2;a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.b.K=!0)};d.prototype.eo=function(){this.Dm(this.scrollX);this.Em(this.scrollY)};d.prototype.tj=function(a,b,c,f){var d=c?c.I:b?b.I:this.I,n=1,k=0,l=0,p=0,x=this.b.r,m=this.b.q;c?(n=c.e.kb(),k=c.e.xb(),l=c.e.L,p=c.e.M,x=c.e.S,m=c.e.R):b&&(n=b.kb(),k=b.xb(),l=b.L,p=b.M,x=b.S,m=b.R);var r=this.b.ni,
q,w,v,D,G=0,ja=1,W,t,Q=this.b.r,L=this.b.q,Da=Q/2,Ea=L/2,E=b?b.rj:this.rj,A=b?b.sj:this.sj,I=0,N=0,C=0,B=0,K=Q,qa=Q,J=L,ra=L,ka=v=0;D=c?c.e.xb():0;if(c){q=0;for(w=d.length;q<w;q++)v+=a.Jp(d[q].ia),ka+=a.Kp(d[q].ia);B=c.Fa;I=b.Na(B.left,B.top,!0,!0);C=b.Na(B.left,B.top,!1,!0);K=b.Na(B.right,B.bottom,!0,!0);J=b.Na(B.right,B.bottom,!1,!0);0!==D&&(q=b.Na(B.right,B.top,!0,!0),w=b.Na(B.right,B.top,!1,!0),N=b.Na(B.left,B.bottom,!0,!0),B=b.Na(B.left,B.bottom,!1,!0),D=Math.min(I,K,q,N),K=Math.max(I,K,q,N),
I=D,D=Math.min(C,J,w,B),J=Math.max(C,J,w,B),C=D);I-=v;C-=ka;K+=v;J+=ka;A.left=I/Q;A.top=1-C/L;A.right=K/Q;A.bottom=1-J/L;N=I=O(I);B=C=O(C);qa=K=pa(K);ra=J=pa(J);N-=v;B-=ka;qa+=v;ra+=ka;0>I&&(I=0);0>C&&(C=0);K>Q&&(K=Q);J>L&&(J=L);0>N&&(N=0);0>B&&(B=0);qa>Q&&(qa=Q);ra>L&&(ra=L);E.left=I/Q;E.top=1-C/L;E.right=K/Q;E.bottom=1-J/L}else E.left=A.left=0,E.top=A.top=0,E.right=A.right=1,E.bottom=A.bottom=1;ka=c&&(a.Tf(d[0].ia)||0!==v||0!==ka||1!==c.opacity||c.type.qa.Yl)||b&&!c&&1!==b.opacity;a.Fm();if(ka){r[G]||
(r[G]=a.sb(Q,L,this.b.da));if(r[G].Bd!==Q||r[G].Ad!==L)a.deleteTexture(r[G]),r[G]=a.sb(Q,L,this.b.da);a.Ta(0);a.Gb(r[G]);t=ra-B;a.clearRect(N,L-B-t,qa-N,t);c?c.ub(a):(a.Hb(this.b.na),a.Wf(b.opacity),a.qc(),a.translate(-Da,-Ea),a.Yb(),a.ee(I,J,K,J,K,C,I,C,E));A.left=A.top=0;A.right=A.bottom=1;c&&(D=E.top,E.top=E.bottom,E.bottom=D);G=1;ja=0}a.Wf(1);v=d.length-1;var Sa=a.nj(d[v].ia)||!b&&!c&&!this.b.jb;q=D=0;for(w=d.length;q<w;q++){r[G]||(r[G]=a.sb(Q,L,this.b.da));if(r[G].Bd!==Q||r[G].Ad!==L)a.deleteTexture(r[G]),
r[G]=a.sb(Q,L,this.b.da);a.Ta(d[q].ia);D=d[q].index;a.hh(d[q].ia)&&(this.b.K=!0);0!=q||ka?(a.Oe(f,1/Q,1/L,A.left,A.top,A.right,A.bottom,n,k,l,p,(l+x)/2,(p+m)/2,this.b.Ab.ca,c?c.Y[D]:b?b.Y[D]:this.Y[D]),a.Hb(null),q!==v||Sa?(a.Gb(r[G]),t=ra-B,W=L-B-t,a.clearRect(N,W,qa-N,t)):(c?a.sd(c.La,c.Ia):b&&a.sd(b.La,b.Ia),a.Gb(f)),a.Hb(r[ja]),a.qc(),a.translate(-Da,-Ea),a.Yb(),a.ee(I,J,K,J,K,C,I,C,E),q!==v||Sa||a.Hb(null)):(a.Gb(r[G]),t=ra-B,W=L-B-t,a.clearRect(N,W,qa-N,t),c?(c.ga&&c.ga.ja?(W=c.ga.ja,ja=1/W.width,
W=1/W.height):(ja=1/c.width,W=1/c.height),a.Oe(f,ja,W,A.left,A.top,A.right,A.bottom,n,k,l,p,(l+x)/2,(p+m)/2,this.b.Ab.ca,c.Y[D]),c.ub(a)):(a.Oe(f,1/Q,1/L,0,0,1,1,n,k,l,p,(l+x)/2,(p+m)/2,this.b.Ab.ca,b?b.Y[D]:this.Y[D]),a.Hb(b?this.b.na:this.b.ha),a.qc(),a.translate(-Da,-Ea),a.Yb(),a.ee(I,J,K,J,K,C,I,C,E)),A.left=A.top=0,A.right=A.bottom=1,c&&!Sa&&(D=J,J=C,C=D));G=0===G?1:0;ja=0===G?1:0}Sa&&(a.Ta(0),c?a.sd(c.La,c.Ia):b?a.sd(b.La,b.Ia):this.b.jb||(a.fe(this.b.width,this.b.height),Da=this.b.width/2,
Ea=this.b.height/2,C=I=0,K=this.b.width,J=this.b.height),a.Gb(f),a.Hb(r[ja]),a.qc(),a.translate(-Da,-Ea),a.Yb(),c&&1===d.length&&!ka?a.ee(I,C,K,C,K,J,I,J,E):a.ee(I,J,K,J,K,C,I,C,E),a.Hb(null))};d.prototype.Eg=function(a){var b,c;b=0;for(c=this.B.length;b<c;b++)if(this.B[b].G===a)return this.B[b];return null};d.prototype.Vb=function(){var a,b,c,f={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.i,w:this.width,h:this.height,fv:this.xe,persist:this.rd,fx:[],layers:{}};a=0;for(b=this.A.length;a<b;a++)c=
this.A[a],f.fx.push({name:c.name,active:c.gb,params:this.Y[c.index]});a=0;for(b=this.B.length;a<b;a++)c=this.B[a],f.layers[c.G.toString()]=c.Vb();return f};d.prototype.Nc=function(a){var b,c,f,d;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.i=a.a;this.width=a.w;this.height=a.h;this.rd=a.persist;"undefined"!==typeof a.fv&&(this.xe=a.fv);var n=a.fx;b=0;for(c=n.length;b<c;b++)if(f=this.pi(n[b].name))f.gb=n[b].active,this.Y[f.index]=n[b].params;this.Xb();b=a.layers;for(d in b)b.hasOwnProperty(d)&&
(a=this.Eg(parseInt(d,10)))&&a.Nc(b[d])};xb=d;m.prototype.Xb=function(){R(this.I);this.Sc=!0;var a,b,c;a=0;for(b=this.A.length;a<b;a++)c=this.A[a],c.gb&&(this.I.push(c),c.Fb||(this.Sc=!1))};m.prototype.pi=function(a){var b,c,f;b=0;for(c=this.A.length;b<c;b++)if(f=this.A[b],f.name===a)return f;return null};m.prototype.oo=function(){var a,b,c,f,d,n;b=a=0;for(c=this.lb.length;a<c;a++){f=this.lb[a];d=this.b.g[f[1]];n=this.b.Mj(d);d=!0;if(!n||this.wa.xe){f=this.b.Cd(f,this,!0);if(!f)continue;r.push(f);
f.type.global&&(d=!1,this.jf.push(f.uid))}d&&(this.lb[b]=this.lb[a],b++)}this.lb.length=b;this.b.Ea();!this.b.k&&this.A.length&&(this.Ga=this.Oo);this.ff=ab(this.Ga);this.b.j&&bb(this,this.Ga,this.b.j);this.Ub=!0};m.prototype.Me=function(a,b){var c=za(this.c,a);0>c||(b&&this.ob&&a.Sa&&a.Sa.right>=a.Sa.left&&(a.Da(),this.Ca.update(a,a.Sa,null),a.Sa.set(0,0,-1,-1)),c===this.c.length-1?this.c.pop():(va(this.c,c),this.Xf(c)),this.Ub=!0)};m.prototype.$e=function(a,b){a.Zb=this.c.length;this.c.push(a);
b&&this.ob&&a.Sa&&a.ua();this.Ub=!0};m.prototype.Mq=function(a){this.c.unshift(a);this.Xf(0)};m.prototype.xq=function(a,b,c){var f=a.lc();b=b.lc();va(this.c,f);f<b&&b--;c&&b++;b===this.c.length?this.c.push(a):this.c.splice(b,0,a);this.Xf(f<b?f:b)};m.prototype.Xf=function(a){-1===this.Xc?this.Xc=a:a<this.Xc&&(this.Xc=a);this.Ub=this.ke=!0};m.prototype.Qj=function(){if(this.ke){-1===this.Xc&&(this.Xc=0);var a,b,c;if(this.ob)for(a=this.Xc,b=this.c.length;a<b;++a)c=this.c[a],c.Zb=a,this.Ca.uq(c.Sa);else for(a=
this.Xc,b=this.c.length;a<b;++a)this.c[a].Zb=a;this.ke=!1;this.Xc=-1}};m.prototype.kb=function(a){return this.Hp()*(this.b.jb||a?this.b.bf:1)};m.prototype.Hp=function(){return(this.scale*this.wa.scale-1)*this.Ua+1};m.prototype.xb=function(){return this.Ec?0:Ga(this.wa.i+this.i)};var b=[],w=[],f=[];m.prototype.ti=function(){this.Qj();this.Ca.xm(this.L,this.M,this.S,this.R,f);if(!f.length)return q();if(1===f.length){var a=q();xa(a,f[0]);R(f);return a}for(var b=!0;1<f.length;){for(var a=f,c=void 0,h=
void 0,d=void 0,n=void 0,k=void 0,c=0,h=a.length;c<h-1;c+=2){var d=a[c],n=a[c+1],k=q(),l=d,p=n,x=k,r=0,m=0,X=0,aa=l.length,H=p.length,D=void 0,G=void 0;for(x.length=aa+H;r<aa&&m<H;++X)D=l[r],G=p[m],D.Zb<G.Zb?(x[X]=D,++r):(x[X]=G,++m);for(;r<aa;++r,++X)x[X]=l[r];for(;m<H;++m,++X)x[X]=p[m];b||(v(d),v(n));w.push(k)}1===h%2&&(b?(d=q(),xa(d,a[h-1]),w.push(d)):w.push(a[h-1]));xa(a,w);R(w);b=!1}a=f[0];R(f);return a};m.prototype.gd=function(a){this.pc=this.Bg||1!==this.opacity||0!==this.Ga;var b=this.b.canvas,
c=a,f=!1;this.pc&&(this.b.Pg||(this.b.Pg=document.createElement("canvas"),b=this.b.Pg,b.width=this.b.r,b.height=this.b.q,this.b.Al=b.getContext("2d"),f=!0),b=this.b.Pg,c=this.b.Al,b.width!==this.b.r&&(b.width=this.b.r,f=!0),b.height!==this.b.q&&(b.height=this.b.q,f=!0),f&&this.b.lh(c,this.b.da),this.Wb&&c.clearRect(0,0,this.b.r,this.b.q));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.Wb||(c.fillStyle="rgb("+this.Nb[0]+","+this.Nb[1]+","+this.Nb[2]+")",c.fillRect(0,0,this.b.r,this.b.q));
c.save();this.Ec=!0;var f=this.ka(0,0,!0,!0),d=this.ka(0,0,!1,!0);this.Ec=!1;this.b.de&&(f=Math.round(f),d=Math.round(d));this.kh(f,d,c);var n=this.kb();c.scale(n,n);c.translate(-f,-d);this.ob?(this.ya.left=this.Ca.Pa(this.L),this.ya.top=this.Ca.Qa(this.M),this.ya.right=this.Ca.Pa(this.S),this.ya.bottom=this.Ca.Qa(this.R),this.Ub||!this.ya.lf(this.Fe)?(v(this.Mc),f=this.ti(),this.Ub=!1,this.Fe.gf(this.ya)):f=this.Mc):f=this.c;for(var k,l=null,d=0,n=f.length;d<n;++d)k=f[d],k!==l&&(this.Jo(k,c),l=k);
this.ob&&(this.Mc=f);c.restore();this.pc&&(a.globalCompositeOperation=this.ff,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};m.prototype.Jo=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Da();var c=a.Fa;c.right<this.L||c.bottom<this.M||c.left>this.S||c.top>this.R||(b.globalCompositeOperation=a.ff,a.gd(b))}};m.prototype.Ch=function(){this.Ec=!0;var a=this.ka(0,0,!0,!0),b=this.ka(0,0,!1,!0);this.Ec=!1;this.b.de&&(a=Math.round(a),b=Math.round(b));this.kh(a,b,null)};m.prototype.kh=function(a,
b,c){var f=this.kb();this.L=a;this.M=b;this.S=a+1/f*this.b.r;this.R=b+1/f*this.b.q;this.L>this.S&&(a=this.L,this.L=this.S,this.S=a);this.M>this.R&&(a=this.M,this.M=this.R,this.R=a);a=this.xb();0!==a&&(c&&(c.translate(this.b.r/2,this.b.q/2),c.rotate(-a),c.translate(this.b.r/-2,this.b.q/-2)),this.Vc.set(this.L,this.M,this.S,this.R),this.Vc.offset((this.L+this.S)/-2,(this.M+this.R)/-2),this.Xm.Km(this.Vc,a),this.Xm.yk(this.Vc),this.Vc.offset((this.L+this.S)/2,(this.M+this.R)/2),this.L=this.Vc.left,this.M=
this.Vc.top,this.S=this.Vc.right,this.R=this.Vc.bottom)};m.prototype.ue=function(a){if(this.pc=this.Bg){this.b.na||(this.b.na=a.sb(this.b.r,this.b.q,this.b.da));if(this.b.na.Bd!==this.b.r||this.b.na.Ad!==this.b.q)a.deleteTexture(this.b.na),this.b.na=a.sb(this.b.r,this.b.q,this.b.da);a.Gb(this.b.na)}this.Ec=!0;var b=this.ka(0,0,!0,!0),c=this.ka(0,0,!1,!0);this.Ec=!1;this.b.de&&(b=Math.round(b),c=Math.round(c));this.kh(b,c,null);b=this.kb();a.qc();a.scale(b,b);a.wj(-this.xb());a.translate((this.L+this.S)/
-2,(this.M+this.R)/-2);a.Yb();this.ob?(this.ya.left=this.Ca.Pa(this.L),this.ya.top=this.Ca.Qa(this.M),this.ya.right=this.Ca.Pa(this.S),this.ya.bottom=this.Ca.Qa(this.R),this.Ub||!this.ya.lf(this.Fe)?(v(this.Mc),b=this.ti(),this.Ub=!1,this.Fe.gf(this.ya)):b=this.Mc):b=this.c;for(var f,d=null,c=b.length-1;0<=c;--c)f=b[c],f!==d&&(this.Lo(b[c],a),d=f);this.ob&&(this.Mc=b);this.Wb||(this.ai=this.b.Fd++,a.mh(this.ai),a.Gm(1,1,1),a.Qk(),a.Rq())};m.prototype.ub=function(a){var b=0,c=0;if(this.pc=this.Bg||
1!==this.opacity||0<this.I.length||0!==this.Ga){this.b.na||(this.b.na=a.sb(this.b.r,this.b.q,this.b.da));if(this.b.na.Bd!==this.b.r||this.b.na.Ad!==this.b.q)a.deleteTexture(this.b.na),this.b.na=a.sb(this.b.r,this.b.q,this.b.da);a.Gb(this.b.na);this.Wb&&a.clear(0,0,0,0)}this.Wb||(this.b.N?(a.mh(this.ai),a.Gm(this.Nb[0]/255,this.Nb[1]/255,this.Nb[2]/255),a.Qk(),a.br()):a.clear(this.Nb[0]/255,this.Nb[1]/255,this.Nb[2]/255,1));this.Ec=!0;var f=this.ka(0,0,!0,!0),b=this.ka(0,0,!1,!0);this.Ec=!1;this.b.de&&
(f=Math.round(f),b=Math.round(b));this.kh(f,b,null);f=this.kb();a.qc();a.scale(f,f);a.wj(-this.xb());a.translate((this.L+this.S)/-2,(this.M+this.R)/-2);a.Yb();this.ob?(this.ya.left=this.Ca.Pa(this.L),this.ya.top=this.Ca.Qa(this.M),this.ya.right=this.Ca.Pa(this.S),this.ya.bottom=this.Ca.Qa(this.R),this.Ub||!this.ya.lf(this.Fe)?(v(this.Mc),b=this.ti(),this.Ub=!1,this.Fe.gf(this.ya)):b=this.Mc):b=this.c;var d,n,k=null,c=0;for(d=b.length;c<d;++c)n=b[c],n!==k&&(this.Ko(b[c],a),k=n);this.ob&&(this.Mc=b);
this.pc&&(b=this.I.length?this.I[0].ia:0,c=this.I.length?this.I[0].index:0,0===this.I.length||1===this.I.length&&!a.nj(b)&&1===this.opacity?(1===this.I.length?(a.Ta(b),a.Oe(this.wa.rf(),1/this.b.r,1/this.b.q,0,0,1,1,f,this.xb(),this.L,this.M,(this.L+this.S)/2,(this.M+this.R)/2,this.b.Ab.ca,this.Y[c]),a.hh(b)&&(this.b.K=!0)):a.Ta(0),a.Gb(this.wa.rf()),a.Wf(this.opacity),a.Hb(this.b.na),a.sd(this.La,this.Ia),a.qc(),a.Yb(),f=this.b.r/2,b=this.b.q/2,a.Vf(-f,b,f,b,f,-b,-f,-b),a.Hb(null)):this.wa.tj(a,
this,null,this.wa.rf()))};m.prototype.Ko=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Da();var c=a.Fa;c.right<this.L||c.bottom<this.M||c.left>this.S||c.top>this.R||(b.mh(a.Fd),a.jn?this.Mo(a,b):(b.Ta(0),b.sd(a.La,a.Ia),a.ub(b)))}};m.prototype.Lo=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Da();var c=a.Fa;c.right<this.L||c.bottom<this.M||c.left>this.S||c.top>this.R||(a.Fd=this.b.Fd++,0===a.Ga&&1===a.opacity&&a.Sc&&a.ue&&(b.mh(a.Fd),a.ue(b)))}};m.prototype.Mo=function(a,b){var c=
a.I[0].ia,f=a.I[0].index,d=this.kb();if(1!==a.I.length||b.nj(c)||b.Oq(c)||(a.i||a.e.xb())&&b.Tf(c)||1!==a.opacity||a.type.qa.Yl)this.wa.tj(b,this,a,this.pc?this.b.na:this.wa.rf()),b.qc(),b.scale(d,d),b.wj(-this.xb()),b.translate((this.L+this.S)/-2,(this.M+this.R)/-2),b.Yb();else{b.Ta(c);b.sd(a.La,a.Ia);b.hh(c)&&(this.b.K=!0);var n=0,k=0,l=0,p=0;b.Tf(c)&&(p=a.Fa,n=this.Na(p.left,p.top,!0,!0),k=this.Na(p.left,p.top,!1,!0),l=this.Na(p.right,p.bottom,!0,!0),p=this.Na(p.right,p.bottom,!1,!0),n=n/windowWidth,
k=1-k/windowHeight,l=l/windowWidth,p=1-p/windowHeight);var x;a.ga&&a.ga.ja?(x=a.ga.ja,c=1/x.width,x=1/x.height):(c=1/a.width,x=1/a.height);b.Oe(this.pc?this.b.na:this.wa.rf(),c,x,n,k,l,p,d,this.xb(),this.L,this.M,(this.L+this.S)/2,(this.M+this.R)/2,this.b.Ab.ca,a.Y[f]);a.ub(b)}};m.prototype.ka=function(a,b,c,f){var d=this.b.devicePixelRatio;this.b.Sd&&(a*=d,b*=d);var d=this.b.mm,n=this.b.nm,d=(this.wa.scrollX-d)*this.Db+d,n=(this.wa.scrollY-n)*this.Eb+n,k=d,l=n,p=1/this.kb(!f);f?(k-=this.b.r*p/2,
l-=this.b.q*p/2):(k-=this.b.width*p/2,l-=this.b.height*p/2);k+=a*p;l+=b*p;b=this.xb();0!==b&&(k-=d,l-=n,a=Math.cos(b),b=Math.sin(b),f=k*a-l*b,l=l*a+k*b,k=f+d,l+=n);return c?k:l};m.prototype.Na=function(a,b,c,f){var d=this.b.mm,n=this.b.nm,k=(this.wa.scrollX-d)*this.Db+d,l=(this.wa.scrollY-n)*this.Eb+n,n=k,d=l,p=this.xb();if(0!==p){a-=k;b-=l;var x=Math.cos(-p),p=Math.sin(-p),r=a*x-b*p;b=b*x+a*p;a=r+k;b+=l}k=1/this.kb(!f);f?(n-=this.b.r*k/2,d-=this.b.q*k/2):(n-=this.b.width*k/2,d-=this.b.height*k/2);
n=(a-n)/k;d=(b-d)/k;a=this.b.devicePixelRatio;this.b.Sd&&!f&&(n/=a,d/=a);return c?n:d};m.prototype.Vb=function(){var a,b,c,f={s:this.scale,a:this.i,vl:this.L,vt:this.M,vr:this.S,vb:this.R,v:this.visible,bc:this.Nb,t:this.Wb,px:this.Db,py:this.Eb,o:this.opacity,zr:this.Ua,fx:[],cg:this.jf,instances:[]};a=0;for(b=this.A.length;a<b;a++)c=this.A[a],f.fx.push({name:c.name,active:c.gb,params:this.Y[c.index]});return f};m.prototype.Nc=function(a){var b,c,f;this.scale=a.s;this.i=a.a;this.L=a.vl;this.M=a.vt;
this.S=a.vr;this.R=a.vb;this.visible=a.v;this.Nb=a.bc;this.Wb=a.t;this.Db=a.px;this.Eb=a.py;this.opacity=a.o;this.Ua=a.zr;this.jf=a.cg||[];xa(this.lb,this.Rm);var d=new ca;b=0;for(f=this.jf.length;b<f;++b)d.add(this.jf[b]);c=b=0;for(f=this.lb.length;b<f;++b)d.contains(this.lb[b][2])||(this.lb[c]=this.lb[b],++c);wa(this.lb,c);c=a.fx;b=0;for(f=c.length;b<f;b++)if(a=this.pi(c[b].name))a.gb=c[b].active,this.Y[a.index]=c[b].params;this.Xb();this.c.sort(k);this.ke=!0};Lb=m})();
(function(){function d(a,b){var c,e=a.length;switch(e){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<e;c++)if(a[c]!==b[c])return!1;return!0}}function k(a,b){return a.index-b.index}function m(a){var b,c,e,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(k);a.length>=u.length&&(u.length=a.length+1);u[a.length]||(u[a.length]=[]);f=u[a.length];b=0;for(c=f.length;b<c;b++)if(e=f[b],d(a,e))return e;f.push(a);return a}
function q(a,b){this.b=a;this.$m={};this.Lk={};this.Bi=!1;this.bl=new ca;this.fi=[];this.Mh=[];this.name=b[0];var c=b[1];this.hd=[];var e,f;e=0;for(f=c.length;e<f;e++)this.dl(c[e],null,this.hd)}function v(a){this.type=a;this.c=[];this.F=[];this.aa=!0}function r(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.fa=[];this.td=[];this.al=this.xh=this.Ij=this.Fi=this.group=this.Qm=!1;this.Ha=[];this.Lb=[];this.Ib=[];this.uf="";this.tf=this.Fi=this.group=!1;this.og=null;c[1]&&(this.uf=c[1][1].toLowerCase(),
this.group=!0,this.Fi=!!c[1][0],this.og=[],this.tf=this.Fi,this.b.pe.push(this),this.b.Gg[this.uf]=this);this.Sb=c[2];this.G=c[4];this.group||(this.b.xk[this.G.toString()]=this);var e=c[5];a=0;for(b=e.length;a<b;a++){var f=new Mb(this,e[a]);f.index=a;this.Ha.push(f);this.mk(f.type)}e=c[6];a=0;for(b=e.length;a<b;a++)f=new Nb(this,e[a]),f.index=a,this.Lb.push(f);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.dl(c[a],this,this.Ib);this.Mg=!1;this.Ha.length&&(this.Mg=null==this.Ha[0].type&&
this.Ha[0].za==Y.prototype.d.Uj)}function c(a,b){var c,e,f;if(a&&(-1===b.indexOf(a)&&b.push(a),a.zb))for(c=0,e=a.Xa.length;c<e;c++)f=a.Xa[c],a!==f&&-1===b.indexOf(f)&&b.push(f)}function b(a,b){this.ib=a;this.sheet=a.sheet;this.b=a.b;this.C=[];this.Z=[];this.T={};this.index=-1;this.Ye=!1;this.za=this.b.Yc(b[1]);this.trigger=0<b[3];this.Kk=2===b[3];this.yf=b[5];this.pq=b[6];this.G=b[7];this.b.dd[this.G.toString()]=this;-1===b[0]?(this.type=null,this.ta=this.zj,this.zd=null,this.Ob=-1):(this.type=this.b.g[b[0]],
this.ta=this.pq?this.Wq:this.yj,b[2]?(this.zd=this.type.Dg(b[2]),this.Ob=this.type.oi(b[2])):(this.zd=null,this.Ob=-1),this.ib.parent&&this.ib.parent.nh());this.Kk&&(this.ta=this.Xq);if(10===b.length){var c,e,f=b[9];c=0;for(e=f.length;c<e;c++){var h=new Ob(this,f[c]);this.C.push(h)}this.Z.length=f.length}}function w(a,b){this.ib=a;this.sheet=a.sheet;this.b=a.b;this.C=[];this.Z=[];this.T={};this.index=-1;this.Ye=!1;this.za=this.b.Yc(b[1]);-1===b[0]?(this.type=null,this.ta=this.zj,this.zd=null,this.Ob=
-1):(this.type=this.b.g[b[0]],this.ta=this.yj,b[2]?(this.zd=this.type.Dg(b[2]),this.Ob=this.type.oi(b[2])):(this.zd=null,this.Ob=-1));this.G=b[3];this.b.$c[this.G.toString()]=this;if(6===b.length){var c,e,f=b[5];c=0;for(e=f.length;c<e;c++){var h=new Ob(this,f[c]);this.C.push(h)}this.Z.length=f.length}}function f(){y++;n.length===y&&n.push(new Pb);return n[y]}function a(a,b){this.Cb=a;this.ib=a.ib;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.kc=null;this.Tc=0;this.get=null;this.Dk=0;this.wa=null;
this.key=0;this.object=null;this.index=0;this.hg=this.he=this.hg=this.he=this.Ok=this.Jd=this.ig=null;this.Kb=!1;var c,e,f;switch(b[0]){case 0:case 7:this.kc=new U(this,b[1]);this.Tc=0;this.get=this.Pp;break;case 1:this.kc=new U(this,b[1]);this.Tc=0;this.get=this.Qp;break;case 5:this.kc=new U(this,b[1]);this.Tc=0;this.get=this.Up;break;case 3:case 8:this.Dk=b[1];this.get=this.Np;break;case 6:this.wa=this.b.Ti[b[1]];this.get=this.Vp;break;case 9:this.key=b[1];this.get=this.Tp;break;case 4:this.object=
this.b.g[b[1]];this.get=this.Wp;this.ib.mk(this.object);this.Cb instanceof Nb?this.ib.nh():this.ib.parent&&this.ib.parent.nh();break;case 10:this.index=b[1];a.type&&a.type.H?(this.get=this.Rp,this.Kb=!0):this.get=this.Sp;break;case 11:this.ig=b[1];this.Jd=null;this.get=this.Op;break;case 2:case 12:this.Ok=b[1];this.get=this.Mp;break;case 13:for(this.get=this.Xp,this.he=[],this.hg=[],c=1,e=b.length;c<e;c++)f=new Ob(this.Cb,b[c]),this.he.push(f),this.hg.push(0)}}function e(a,b,c){this.sheet=a;this.parent=
b;this.b=a.b;this.fa=[];this.name=c[1];this.Sj=c[2];this.Ei=c[3];this.Df=!!c[4];this.Lg=!!c[5];this.G=c[6];this.b.We[this.G.toString()]=this;this.data=this.Ei;this.parent?(this.Zd=this.Df||this.Lg?-1:this.b.er++,this.b.Zn.push(this)):(this.Zd=-1,this.b.Yn.push(this))}function g(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.fa=[];this.wf=null;this.cq=c[1];this.gb=!0}function h(){this.Sm=[];this.reset(null)}var u=[];q.prototype.toString=function(){return this.name};q.prototype.dl=function(a,b,c){switch(a[0]){case 0:a=
new Qb(this,b,a);if(a.Sb)for(c.push(a),c=0,b=a.Ha.length;c<b;c++)a.Ha[c].trigger&&this.el(a,c);else a.nl()?this.el(a,0):c.push(a);break;case 1:a=new Ib(this,b,a);c.push(a);break;case 2:a=new Rb(this,b,a),c.push(a)}};q.prototype.ea=function(){var a,b;a=0;for(b=this.hd.length;a<b;a++)this.hd[a].ea(a<b-1&&this.hd[a+1].Mg)};q.prototype.Oj=function(){R(this.fi);R(this.Mh);this.lk(this);R(this.Mh)};q.prototype.lk=function(a){var b,c,e,f,h=a.fi,g=a.Mh,d=this.bl.vd();b=0;for(c=d.length;b<c;++b)e=d[b],f=e.wf,
!e.gb||a===f||-1<g.indexOf(f)||(g.push(f),f.lk(a),h.push(f))};q.prototype.ta=function(a){this.b.Us||(this.Bi=!0,a||(this.b.Mi=!0));var b,c;b=0;for(c=this.hd.length;b<c;b++){var e=this.hd[b];e.ta();this.b.$h(e.fa);this.b.kd&&this.b.Ea()}a||(this.b.Mi=!1)};q.prototype.el=function(a,b){a.Sb||this.b.Ah.push(a);var c,e,f=a.Ha[b],h;f.type?h=f.type.name:h="system";var g=(c=f.Kk)?this.Lk:this.$m;g[h]||(g[h]=[]);h=g[h];g=f.za;if(c){if(f.C.length&&(f=f.C[0],1===f.type&&2===f.kc.type)){f=f.kc.value.toLowerCase();
c=0;for(e=h.length;c<e;c++)if(h[c].method==g){c=h[c].nf;c[f]?c[f].push([a,b]):c[f]=[[a,b]];return}c={};c[f]=[[a,b]];h.push({method:g,nf:c})}}else{c=0;for(e=h.length;c<e;c++)if(h[c].method==g){h[c].nf.push([a,b]);return}cc&&g===cc.prototype.d.oe?h.unshift({method:g,nf:[[a,b]]}):h.push({method:g,nf:[[a,b]]})}};yb=q;v.prototype.Ai=function(){return this.aa?this.type.c.length:this.c.length};v.prototype.Pb=function(){return this.aa?this.type.c:this.c};v.prototype.Sf=function(a){a&&(a.b.Ra().tb.Sb?(this.aa&&
(R(this.c),xa(this.F,a.type.c),this.aa=!1),a=this.F.indexOf(a),-1!==a&&(this.c.push(this.F[a]),this.F.splice(a,1))):(this.aa=!1,R(this.c),this.c[0]=a))};hb=v;window._c2hh_="7EB5EDA95ACDAF089D5BB83FF36A2CB61243A8DE";r.prototype.ea=function(a){var b,c=this.parent;if(this.group)for(this.xh=!0;c;){if(!c.group){this.xh=!1;break}c=c.parent}this.Ij=!this.nl()&&(!this.parent||this.parent.group&&this.parent.xh);this.al=!!a;this.td=this.fa.slice(0);for(c=this.parent;c;){a=0;for(b=c.fa.length;a<b;a++)this.Xn(c.fa[a]);
c=c.parent}this.fa=m(this.fa);this.td=m(this.td);a=0;for(b=this.Ha.length;a<b;a++)this.Ha[a].ea();a=0;for(b=this.Lb.length;a<b;a++)this.Lb[a].ea();a=0;for(b=this.Ib.length;a<b;a++)this.Ib[a].ea(a<b-1&&this.Ib[a+1].Mg)};r.prototype.$q=function(a){if(this.tf!==!!a){this.tf=!!a;var b;a=0;for(b=this.og.length;a<b;++a)this.og[a].gn();0<b&&this.b.J.Id&&this.b.J.Id.Oj()}};r.prototype.mk=function(a){c(a,this.fa)};r.prototype.Xn=function(a){c(a,this.td)};r.prototype.nh=function(){this.Qm=!0;this.parent&&this.parent.nh()};
r.prototype.nl=function(){return this.Ha.length?this.Ha[0].trigger:!1};r.prototype.ta=function(){var a,b,c=!1,e=this.b,f=this.b.Ra();f.tb=this;var h=this.Ha;this.Mg||(f.gi=!1);if(this.Sb){0===h.length&&(c=!0);f.Wa=0;for(a=h.length;f.Wa<a;f.Wa++)b=h[f.Wa],b.trigger||(b=b.ta())&&(c=!0);(f.Vd=c)&&this.xj()}else{f.Wa=0;for(a=h.length;f.Wa<a;f.Wa++)if(b=h[f.Wa].ta(),!b){f.Vd=!1;this.Ij&&e.kd&&e.Ea();return}f.Vd=!0;this.xj()}this.Qo(f)};r.prototype.Qo=function(a){a.Vd&&this.al&&(a.gi=!0);this.Ij&&this.b.kd&&
this.b.Ea()};r.prototype.Uq=function(a){this.b.Ra().tb=this;this.Ha[a].ta()&&(this.xj(),this.b.Ra().Vd=!0)};r.prototype.xj=function(){var a=this.b.Ra(),b;a.qb=0;for(b=this.Lb.length;a.qb<b;a.qb++)if(this.Lb[a.qb].ta())return;this.Bm()};r.prototype.Sq=function(){var a=this.b.Ra(),b;for(b=this.Lb.length;a.qb<b;a.qb++)if(this.Lb[a.qb].ta())return;this.Bm()};r.prototype.Bm=function(){if(this.Ib.length){var a,b,c,f,e=this.Ib.length-1;this.b.pj(this);if(this.Qm)for(a=0,b=this.Ib.length;a<b;a++)c=this.Ib[a],
(f=!this.xh||!this.group&&a<e)&&this.b.oj(c.fa),c.ta(),f?this.b.Ke(c.fa):this.b.$h(c.fa);else for(a=0,b=this.Ib.length;a<b;a++)this.Ib[a].ta();this.b.qm()}};r.prototype.Vq=function(){var a=this.b.Ra();a.tb=this;var b=!1,c;a.Wa=0;for(c=this.Ha.length;a.Wa<c;a.Wa++)if(this.Ha[a.Wa].ta())b=!0;else if(!this.Sb)return!1;return this.Sb?b:!0};r.prototype.kq=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.Ha[b].type===a.type)return!1;return!0};Qb=r;b.prototype.ea=function(){var a,b,c;
a=0;for(b=this.C.length;a<b;a++)c=this.C[a],c.ea(),c.Kb&&(this.Ye=!0)};b.prototype.Xq=function(){return!0};b.prototype.zj=function(){var a,b;a=0;for(b=this.C.length;a<b;a++)this.Z[a]=this.C[a].get();return Oa(this.za.apply(this.b.sc,this.Z),this.yf)};b.prototype.Wq=function(){var a,b;a=0;for(b=this.C.length;a<b;a++)this.Z[a]=this.C[a].get();a=this.za.apply(this.zd?this.zd:this.type,this.Z);this.type.ad();return a};b.prototype.yj=function(){var a,b,c,f,e,h,g,d,n=this.type,k=n.O(),u=this.ib.Sb&&!this.trigger;
b=0;var r=n.zb,m=n.H,q=n.Gc,y=this.Ob,w=-1<y,v=this.Ye,E=this.C,A=this.Z,I=this.yf,N=this.za,C;if(v)for(b=0,e=E.length;b<e;++b)h=E[b],h.Kb||(A[b]=h.get(0));else for(b=0,e=E.length;b<e;++b)A[b]=E[b].get(0);if(k.aa){R(k.c);R(k.F);C=n.c;a=0;for(f=C.length;a<f;++a){d=C[a];if(v)for(b=0,e=E.length;b<e;++b)h=E[b],h.Kb&&(A[b]=h.get(a));w?(b=0,m&&(b=d.type.we[q]),b=N.apply(d.u[y+b],A)):b=N.apply(d,A);(g=Oa(b,I))?k.c.push(d):u&&k.F.push(d)}n.finish&&n.finish(!0);k.aa=!1;n.ad();return k.Ai()}c=0;C=(g=u&&!this.ib.kq(this))?
k.F:k.c;var B=!1;a=0;for(f=C.length;a<f;++a){d=C[a];if(v)for(b=0,e=E.length;b<e;++b)h=E[b],h.Kb&&(A[b]=h.get(a));w?(b=0,m&&(b=d.type.we[q]),b=N.apply(d.u[y+b],A)):b=N.apply(d,A);if(Oa(b,I))if(B=!0,g){if(k.c.push(d),r)for(b=0,e=d.siblings.length;b<e;b++)h=d.siblings[b],h.type.O().c.push(h)}else{C[c]=d;if(r)for(b=0,e=d.siblings.length;b<e;b++)h=d.siblings[b],h.type.O().c[c]=h;c++}else if(g){C[c]=d;if(r)for(b=0,e=d.siblings.length;b<e;b++)h=d.siblings[b],h.type.O().F[c]=h;c++}else if(u&&(k.F.push(d),
r))for(b=0,e=d.siblings.length;b<e;b++)h=d.siblings[b],h.type.O().F.push(h)}wa(C,c);if(r)for(m=n.Xa,a=0,f=m.length;a<f;a++)d=m[a].O(),g?wa(d.F,c):wa(d.c,c);c=B;if(g&&!B)for(a=0,f=k.c.length;a<f;a++){d=k.c[a];if(v)for(b=0,e=E.length;b<e;b++)h=E[b],h.Kb&&(A[b]=h.get(a));b=w?N.apply(d.u[y],A):N.apply(d,A);if(Oa(b,I)){B=!0;break}}n.finish&&n.finish(c||u);return u?B:k.Ai()};Mb=b;w.prototype.ea=function(){var a,b,c;a=0;for(b=this.C.length;a<b;a++)c=this.C[a],c.ea(),c.Kb&&(this.Ye=!0)};w.prototype.zj=function(){var a=
this.b,b,c,e=this.C,f=this.Z;b=0;for(c=e.length;b<c;++b)f[b]=e[b].get();return this.za.apply(a.sc,f)};w.prototype.yj=function(){var a=this.type,b=this.Ob,c=a.Gc,e=this.Ye,f=this.C,h=this.Z,g=this.za,d=a.O().Pb(),a=a.H,n=-1<b,k,u,r,m,q,y;if(e)for(u=0,m=f.length;u<m;++u)q=f[u],q.Kb||(h[u]=q.get(0));else for(u=0,m=f.length;u<m;++u)h[u]=f[u].get(0);k=0;for(r=d.length;k<r;++k){y=d[k];if(e)for(u=0,m=f.length;u<m;++u)q=f[u],q.Kb&&(h[u]=q.get(k));n?(u=0,a&&(u=y.type.we[c]),g.apply(y.u[b+u],h)):g.apply(y,
h)}return!1};Nb=w;var n=[],y=-1;a.prototype.ea=function(){var a,b;if(11===this.type)this.Jd=this.b.Wk(this.ig,this.ib.parent);else if(13===this.type)for(a=0,b=this.he.length;a<b;a++)this.he[a].ea();this.kc&&this.kc.ea()};a.prototype.wq=function(a){this.Kb||!a||a.qa.ph||(this.Kb=!0)};a.prototype.Jm=function(){this.Kb=!0};a.prototype.Pp=function(a){this.Tc=a||0;a=f();this.kc.get(a);y--;return a.data};a.prototype.Qp=function(a){this.Tc=a||0;a=f();this.kc.get(a);y--;return M(a.data)?a.data:""};a.prototype.Wp=
function(){return this.object};a.prototype.Np=function(){return this.Dk};a.prototype.Up=function(a){this.Tc=a||0;a=f();this.kc.get(a);y--;return a.va()?this.b.Ic(a.data):this.b.qf(a.data)};a.prototype.Vp=function(){return this.wa};a.prototype.Tp=function(){return this.key};a.prototype.Sp=function(){return this.index};a.prototype.Rp=function(a){a=a||0;var b=this.Cb.type,c=null,c=b.O(),f=c.Pb();if(f.length)c=f[a%f.length].type;else if(c.F.length)c=c.F[a%c.F.length].type;else if(b.c.length)c=b.c[a%b.c.length].type;
else return 0;return this.index+c.yg[b.Gc]};a.prototype.Op=function(){return this.Jd};a.prototype.Mp=function(){return this.Ok};a.prototype.Xp=function(){var a,b;a=0;for(b=this.he.length;a<b;a++)this.hg[a]=this.he[a].get();return this.hg};Ob=a;e.prototype.ea=function(){this.fa=m(this.fa)};e.prototype.Pe=function(a){var b=this.b.Uk();this.parent&&!this.Df&&b?(this.Zd>=b.length&&(b.length=this.Zd+1),b[this.Zd]=a):this.data=a};e.prototype.Ld=function(){var a=this.b.Uk();return!this.parent||this.Df||
!a||this.Lg?this.data:this.Zd>=a.length||"undefined"===typeof a[this.Zd]?this.Ei:a[this.Zd]};e.prototype.ta=function(){!this.parent||this.Df||this.Lg||this.Pe(this.Ei)};Ib=e;g.prototype.toString=function(){return"include:"+this.wf.toString()};g.prototype.ea=function(){this.wf=this.b.ii[this.cq];this.sheet.bl.add(this);this.fa=m(this.fa);for(var a=this.parent;a;)a.group&&a.og.push(this),a=a.parent;this.gn()};g.prototype.ta=function(){this.parent&&this.b.Uf(this.b.g);this.wf.Bi||this.wf.ta(!0);this.parent&&
this.b.Ke(this.b.g)};g.prototype.gn=function(){for(var a=this.parent;a;){if(a.group&&!a.tf){this.gb=!1;return}a=a.parent}this.gb=!0};Rb=g;h.prototype.reset=function(a){this.tb=a;this.qb=this.Wa=0;R(this.Sm);this.gi=this.Vd=!1};Hb=h})();
(function(){function d(c,b){this.Cb=c;this.b=c.b;this.type=b[0];this.get=[this.ip,this.ep,this.rp,this.up,this.To,this.sp,this.mp,this.bp,this.lp,this.qp,this.Uo,this.pp,this.cp,this.np,this.jp,this.kp,this.fp,this.gp,this.$o,this.tp,this.op,this.hp,this.Zo,this.dp][this.type];var d=null;this.Qc=this.C=this.Z=this.za=this.wh=this.second=this.first=this.value=null;this.Ob=-1;this.Qb=null;this.kn=-1;this.Jd=this.ig=null;this.Ne=!1;switch(this.type){case 0:case 1:case 2:this.value=b[1];break;case 3:this.first=
new U(c,b[1]);break;case 18:this.first=new U(c,b[1]);this.second=new U(c,b[2]);this.wh=new U(c,b[3]);break;case 19:this.za=this.b.Yc(b[1]);this.za!==Y.prototype.wb.random&&this.za!==Y.prototype.wb.jo||this.Cb.Jm();this.Z=[];this.C=[];3===b.length?(d=b[2],this.Z.length=d.length+1):this.Z.length=1;break;case 20:this.Qc=this.b.g[b[1]];this.Ob=-1;this.za=this.b.Yc(b[2]);this.Ne=b[3];Tb.Function&&this.za===Tb.Function.prototype.wb.Dr&&this.Cb.Jm();b[4]?this.Qb=new U(c,b[4]):this.Qb=null;this.Z=[];this.C=
[];6===b.length?(d=b[5],this.Z.length=d.length+1):this.Z.length=1;break;case 21:this.Qc=this.b.g[b[1]];this.Ne=b[2];b[3]?this.Qb=new U(c,b[3]):this.Qb=null;this.kn=b[4];break;case 22:this.Qc=this.b.g[b[1]];this.Qc.Dg(b[2]);this.Ob=this.Qc.oi(b[2]);this.za=this.b.Yc(b[3]);this.Ne=b[4];b[5]?this.Qb=new U(c,b[5]):this.Qb=null;this.Z=[];this.C=[];7===b.length?(d=b[6],this.Z.length=d.length+1):this.Z.length=1;break;case 23:this.ig=b[1],this.Jd=null}this.Cb.wq(this.Qc);4<=this.type&&17>=this.type&&(this.first=
new U(c,b[1]),this.second=new U(c,b[2]));if(d){var f,a;f=0;for(a=d.length;f<a;f++)this.C.push(new U(c,d[f]))}}function k(){++r;v.length===r&&v.push(new Pb);return v[r]}function m(c,b,d){var f,a;f=0;for(a=c.length;f<a;++f)c[f].get(d),b[f+1]=d.data}function q(c,b){this.type=c||V.ne;this.data=b||0;this.$d=null;this.type==V.ne&&(this.data=Math.floor(this.data))}d.prototype.ea=function(){23===this.type&&(this.Jd=this.Cb.b.Wk(this.ig,this.Cb.ib.parent));this.first&&this.first.ea();this.second&&this.second.ea();
this.wh&&this.wh.ea();this.Qb&&this.Qb.ea();if(this.C){var c,b;c=0;for(b=this.C.length;c<b;c++)this.C[c].ea()}};var v=[],r=-1;d.prototype.tp=function(c){var b=this.C,d=this.Z;d[0]=c;c=k();m(b,d,c);--r;this.za.apply(this.b.sc,d)};d.prototype.op=function(c){var b=this.Qc,d=this.Z,f=this.C,a=this.Qb,e=this.za,g=this.Cb.Tc,h=b.O(),u=h.Pb();if(!u.length)if(h.F.length)u=h.F;else{this.Ne?c.bb(""):c.P(0);return}d[0]=c;c.$d=b;c=k();m(f,d,c);a&&(a.get(c),c.va()&&(g=c.data,u=b.c));--r;b=u.length;if(g>=b||g<=
-b)g%=b;0>g&&(g+=b);e.apply(u[g],d)};d.prototype.Zo=function(c){var b=this.Qc,d=this.Z,f=this.C,a=this.Qb,e=this.Ob,g=this.za,h=this.Cb.Tc,u=b.O(),n=u.Pb();if(!n.length)if(u.F.length)n=u.F;else{this.Ne?c.bb(""):c.P(0);return}d[0]=c;c.$d=b;c=k();m(f,d,c);a&&(a.get(c),c.va()&&(h=c.data,n=b.c));--r;f=n.length;if(h>=f||h<=-f)h%=f;0>h&&(h+=f);h=n[h];n=0;b.H&&(n=h.type.we[b.Gc]);g.apply(h.u[e+n],d)};d.prototype.hp=function(c){var b=this.Qb,d=this.Qc,f=this.kn,a=this.Cb.Tc,e=d.O(),g=e.Pb();if(!g.length)if(e.F.length)g=
e.F;else{this.Ne?c.bb(""):c.P(0);return}if(b){e=k();b.get(e);if(e.va()){a=e.data;g=d.c;0!==g.length&&(a%=g.length,0>a&&(a+=g.length));a=d.si(a);d=a.la[f];M(d)?c.bb(d):c.m(d);--r;return}--r}b=g.length;if(a>=b||a<=-b)a%=b;0>a&&(a+=b);a=g[a];g=0;d.H&&(g=a.type.yg[d.Gc]);d=a.la[f+g];M(d)?c.bb(d):c.m(d)};d.prototype.ip=function(c){c.type=V.ne;c.data=this.value};d.prototype.ep=function(c){c.type=V.me;c.data=this.value};d.prototype.rp=function(c){c.type=V.String;c.data=this.value};d.prototype.up=function(c){this.first.get(c);
c.va()&&(c.data=-c.data)};d.prototype.To=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data+=b.data,b.Ae()&&c.Ie());--r};d.prototype.sp=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data-=b.data,b.Ae()&&c.Ie());--r};d.prototype.mp=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data*=b.data,b.Ae()&&c.Ie());--r};d.prototype.bp=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data/=
b.data,c.Ie());--r};d.prototype.lp=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data%=b.data,b.Ae()&&c.Ie());--r};d.prototype.qp=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data=Math.pow(c.data,b.data),b.Ae()&&c.Ie());--r};d.prototype.Uo=function(c){this.first.get(c);var b=k();this.second.get(b);b.Ce()||c.Ce()?this.Wo(c,b):this.Vo(c,b);--r};d.prototype.Wo=function(c,b){c.Ce()&&b.Ce()?this.Yo(c,b):this.Xo(c,b)};d.prototype.Yo=function(c,
b){c.data+=b.data};d.prototype.Xo=function(c,b){c.Ce()?c.data+=(Math.round(1E10*b.data)/1E10).toString():c.bb(c.data.toString()+b.data)};d.prototype.Vo=function(c,b){c.P(c.data&&b.data?1:0)};d.prototype.pp=function(c){this.first.get(c);var b=k();this.second.get(b);c.va()&&b.va()&&(c.data||b.data?c.P(1):c.P(0));--r};d.prototype.$o=function(c){this.first.get(c);c.data?this.second.get(c):this.wh.get(c)};d.prototype.cp=function(c){this.first.get(c);var b=k();this.second.get(b);c.P(c.data===b.data?1:0);
--r};d.prototype.np=function(c){this.first.get(c);var b=k();this.second.get(b);c.P(c.data!==b.data?1:0);--r};d.prototype.jp=function(c){this.first.get(c);var b=k();this.second.get(b);c.P(c.data<b.data?1:0);--r};d.prototype.kp=function(c){this.first.get(c);var b=k();this.second.get(b);c.P(c.data<=b.data?1:0);--r};d.prototype.fp=function(c){this.first.get(c);var b=k();this.second.get(b);c.P(c.data>b.data?1:0);--r};d.prototype.gp=function(c){this.first.get(c);var b=k();this.second.get(b);c.P(c.data>=
b.data?1:0);--r};d.prototype.dp=function(c){var b=this.Jd.Ld();F(b)?c.m(b):c.bb(b)};U=d;q.prototype.Ae=function(){return this.type===V.me};q.prototype.va=function(){return this.type===V.ne||this.type===V.me};q.prototype.Ce=function(){return this.type===V.String};q.prototype.Ie=function(){this.Ae()||(this.Ce()&&(this.data=parseFloat(this.data)),this.type=V.me)};q.prototype.P=function(c){this.type=V.ne;this.data=Math.floor(c)};q.prototype.m=function(c){this.type=V.me;this.data=c};q.prototype.bb=function(c){this.type=
V.String;this.data=c};q.prototype.cr=function(c){F(c)?(this.type=V.me,this.data=c):M(c)?(this.type=V.String,this.data=c.toString()):(this.type=V.ne,this.data=0)};Pb=q;V={ne:0,me:1,String:2}})();function Y(d){this.b=d;this.eb=[]}
Y.prototype.Vb=function(){var d={},k,m,q,v,r,c,b,w;d.waits=[];var f=d.waits,a;k=0;for(m=this.eb.length;k<m;k++){c=this.eb[k];a={t:c.time,st:c.dr,s:c.Nm,ev:c.mf.G,sm:[],sols:{}};c.mf.Lb[c.qb]&&(a.act=c.mf.Lb[c.qb].G);q=0;for(v=c.fa.length;q<v;q++)a.sm.push(c.fa[q].G);for(r in c.cb)if(c.cb.hasOwnProperty(r)){b=this.b.g[parseInt(r,10)];w={sa:c.cb[r].Cm,insts:[]};q=0;for(v=c.cb[r].Pd.length;q<v;q++)w.insts.push(c.cb[r].Pd[q].uid);a.sols[b.G.toString()]=w}f.push(a)}return d};
Y.prototype.Nc=function(d){d=d.waits;var k,m,q,v,r,c,b,w,f,a,e;R(this.eb);k=0;for(m=d.length;k<m;k++)if(c=d[k],w=this.b.xk[c.ev.toString()]){f=-1;q=0;for(v=w.Lb.length;q<v;q++)if(w.Lb[q].G===c.act){f=q;break}if(-1!==f){b={cb:{},fa:[],Fk:!1};b.time=c.t;b.dr=c.st||"";b.Nm=!!c.s;b.mf=w;b.qb=f;q=0;for(v=c.sm.length;q<v;q++)(w=this.b.Fg(c.sm[q]))&&b.fa.push(w);for(r in c.sols)if(c.sols.hasOwnProperty(r)&&(w=this.b.Fg(parseInt(r,10)))){f=c.sols[r];a={Cm:f.sa,Pd:[]};q=0;for(v=f.insts.length;q<v;q++)(e=this.b.Zk(f.insts[q]))&&
a.Pd.push(e);b.cb[w.index.toString()]=a}this.eb.push(b)}}};
(function(){function d(){}function k(){}function m(){}var q=Y.prototype;d.prototype.Xj=function(){return!0};d.prototype.Kn=function(){return!0};d.prototype.sn=function(c,b,d){return Sb(c.Ld(),b,d)};d.prototype.Uj=function(){var c=this.b.Ra();return c.gi?!1:!c.Vd};d.prototype.Yj=function(){return!0};d.prototype.Dn=function(){return!0};d.prototype.Jh=function(){return!0};d.prototype.bk=function(){return!0};d.prototype.Ln=function(){return!0};d.prototype.Hh=function(){return!0};d.prototype.nn=function(c,
b,d){return Ka(S(c),S(d))<=S(b)};d.prototype.un=function(c,b){return Ma(S(c),S(b))};d.prototype.tn=function(c,b,d){c=Ia(c);b=Ia(b);d=Ia(d);return Ma(d,b)?Ma(c,b)&&!Ma(c,d):!(!Ma(c,b)&&Ma(c,d))};q.d=new d;k.prototype.zn=function(c){if(!this.b.Ef&&!this.b.df){var b=this.b.$a.indexOf(this.b.J);if(!c||0!==b)if(c||b!==this.b.$a.length-1)this.b.df=this.b.$a[b+(c?-1:1)]}};k.prototype.mn=function(c,b){0===c.Sj?F(b)?c.Pe(c.Ld()+b):c.Pe(c.Ld()+parseFloat(b)):1===c.Sj&&c.Pe(c.Ld()+b.toString())};k.prototype.Tn=
function(c,b){0===c.Sj&&(F(b)?c.Pe(c.Ld()-b):c.Pe(c.Ld()-parseFloat(b)))};var v=[],r=[];q.hb=new k;m.prototype["int"]=function(c,b){M(b)?(c.P(parseInt(b,10)),isNaN(c.data)&&(c.data=0)):c.P(b)};m.prototype["float"]=function(c,b){M(b)?(c.m(parseFloat(b)),isNaN(c.data)&&(c.data=0)):c.m(b)};m.prototype.random=function(c,b,d){void 0===d?c.m(Math.random()*b):c.m(Math.random()*(d-b)+b)};m.prototype.sqrt=function(c,b){c.m(Math.sqrt(b))};m.prototype.abs=function(c,b){c.m(Math.abs(b))};m.prototype.round=function(c,
b){c.P(Math.round(b))};m.prototype.floor=function(c,b){c.P(Math.floor(b))};m.prototype.ceil=function(c,b){c.P(Math.ceil(b))};m.prototype.sin=function(c,b){c.m(Math.sin(S(b)))};m.prototype.cos=function(c,b){c.m(Math.cos(S(b)))};m.prototype.tan=function(c,b){c.m(Math.tan(S(b)))};m.prototype.asin=function(c,b){c.m(Ca(Math.asin(b)))};m.prototype.acos=function(c,b){c.m(Ca(Math.acos(b)))};m.prototype.atan=function(c,b){c.m(Ca(Math.atan(b)))};m.prototype.exp=function(c,b){c.m(Math.exp(b))};m.prototype.log10=
function(c,b){c.m(Math.log(b)/Math.LN10)};m.prototype.max=function(c){var b=arguments[1];"number"!==typeof b&&(b=0);var d,f,a;d=2;for(f=arguments.length;d<f;d++)a=arguments[d],"number"===typeof a&&b<a&&(b=a);c.m(b)};m.prototype.min=function(c){var b=arguments[1];"number"!==typeof b&&(b=0);var d,f,a;d=2;for(f=arguments.length;d<f;d++)a=arguments[d],"number"===typeof a&&b>a&&(b=a);c.m(b)};m.prototype.ve=function(c){c.m(this.b.ve)};m.prototype.fg=function(c){c.m(this.b.fg)};m.prototype.time=function(c){c.m(this.b.Ab.ca)};
m.prototype.eg=function(c){c.P(this.b.eg)};m.prototype.$g=function(c){c.P(this.b.$g)};m.prototype.li=function(c){c.P(this.b.li)};m.prototype.i=function(c,b,d,f,a){c.m(Ca(Ja(b,d,f,a)))};m.prototype.qq=function(c,b,d,f){c.m(Pa(b,d,f))};m.prototype.left=function(c,b,d){c.bb(M(b)?b.substr(0,d):"")};m.prototype.right=function(c,b,d){c.bb(M(b)?b.substr(b.length-d):"")};m.prototype.replace=function(c,b,d,f){M(b)&&M(d)&&M(f)?c.bb(b.replace(new RegExp(Xa(d),"gi"),f)):c.bb(M(b)?b:"")};m.prototype.trim=function(c,
b){c.bb(M(b)?b.trim():"")};m.prototype.jo=function(c){var b=O(Math.random()*(arguments.length-1));c.cr(arguments[b+1])};m.prototype.bi=function(c){c.m(this.b.bi/1E3)};m.prototype.Tg=function(c){c.m(this.b.Tg)};q.wb=new m;q.Tq=function(){var c,b,d,f,a,e,g=this.b.Ra();c=0;for(d=this.eb.length;c<d;c++){f=this.eb[c];if(-1===f.time){if(!f.Nm)continue}else if(f.time>this.b.Ab.ca)continue;g.tb=f.mf;g.qb=f.qb;g.Wa=0;for(b in f.cb)f.cb.hasOwnProperty(b)&&(a=this.b.g[parseInt(b,10)].O(),e=f.cb[b],a.aa=e.Cm,
xa(a.c,e.Pd),a=e,R(a.Pd),r.push(a));f.mf.Sq();this.b.$h(f.fa);f.Fk=!0}b=c=0;for(d=this.eb.length;c<d;c++)f=this.eb[c],this.eb[b]=f,f.Fk?(Ra(f.cb),R(f.fa),v.push(f)):b++;wa(this.eb,b)}})();
(function(){gb=function(d,m){var q=d[1],v=d[3],r=d[4],c=d[5],b=d[6],w=d[7],f=d[8];m.d||(m.d={});m.hb||(m.hb={});m.wb||(m.wb={});var a=m.d,e=m.hb,g=m.wb;v&&(a.Ir=function(a,b){return Sb(this.x,a,b)},a.Jr=function(a,b){return Sb(this.y,a,b)},a.Qr=function(){var a=this.e;this.Da();var b=this.Fa;return!(b.right<a.L||b.bottom<a.M||b.left>a.S||b.top>a.R)},a.Rr=function(){this.Da();var a=this.Fa,b=this.b.J;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},a.cs=function(a,b,c){var f=this.O(),
e=f.Pb();if(!e.length)return!1;var d=e[0],g=d,k=Na(d.x,d.y,b,c),r,m,q;r=1;for(m=e.length;r<m;r++)if(d=e[r],q=Na(d.x,d.y,b,c),0===a&&q<k||1===a&&q>k)k=q,g=d;f.Sf(g);return!0},e.Sn=function(a){this.x!==a&&(this.x=a,this.ua())},e.ws=function(a){this.y!==a&&(this.y=a,this.ua())},e.rs=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.ua()},e.ss=function(a,b){var c=a.Ip(this);if(c){var f;c.ri?(f=c.ri(b,!0),c=c.ri(b,!1)):(f=c.x,c=c.y);if(this.x!==f||this.y!==c)this.x=f,this.y=c,this.ua()}},
e.Wr=function(a){0!==a&&(this.x+=Math.cos(this.i)*a,this.y+=Math.sin(this.i)*a,this.ua())},e.Vr=function(a,b){0!==b&&(this.x+=Math.cos(S(a))*b,this.y+=Math.sin(S(a))*b,this.ua())},g.Kh=function(a){a.m(this.x)},g.hk=function(a){a.m(this.y)},g.ve=function(a){a.m(this.b.Vk(this))});r&&(a.Hr=function(a,b){return Sb(this.width,a,b)},a.Er=function(a,b){return Sb(this.height,a,b)},e.vs=function(a){this.width!==a&&(this.width=a,this.ua())},e.ps=function(a){this.height!==a&&(this.height=a,this.ua())},e.ts=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.ua()},g.As=function(a){a.m(this.width)},g.Mr=function(a){a.m(this.height)},g.Ar=function(a){this.Da();a.m(this.Fa.left)},g.Cr=function(a){this.Da();a.m(this.Fa.top)},g.Br=function(a){this.Da();a.m(this.Fa.right)},g.yr=function(a){this.Da();a.m(this.Fa.bottom)});c&&(a.nn=function(a,b){return Ka(this.i,S(b))<=S(a)},a.un=function(a){return Ma(this.i,S(a))},a.tn=function(a,b){var c=Ia(a),f=Ia(b),e=Ga(this.i);return Ma(f,
c)?Ma(e,c)&&!Ma(e,f):!(!Ma(e,c)&&Ma(e,f))},e.ms=function(a){a=S(Fa(a));isNaN(a)||this.i===a||(this.i=a,this.ua())},e.hs=function(a){0===a||isNaN(a)||(this.i+=S(a),this.i=Ga(this.i),this.ua())},e.js=function(a){0===a||isNaN(a)||(this.i-=S(a),this.i=Ga(this.i),this.ua())},e.ks=function(a,b){var c=La(this.i,S(b),S(a));isNaN(c)||this.i===c||(this.i=c,this.ua())},e.ls=function(a,b,c){a=La(this.i,Math.atan2(c-this.y,b-this.x),S(a));isNaN(a)||this.i===a||(this.i=a,this.ua())},e.us=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.i===c||(this.i=c,this.ua())},g.xr=function(a){a.m(Ha(this.i))});q||(a.Fr=function(a,b,c){return Sb(this.la[a],b,c)},a.Or=function(a){return this.la[a]},a.ds=function(a,b){var c=this.O(),f=c.Pb();if(!f.length)return!1;var e=f[0],d=e,g=e.la[b],k,r,m;k=1;for(r=f.length;k<r;k++)if(e=f[k],m=e.la[b],0===a&&m<g||1===a&&m>g)g=m,d=e;c.Sf(d);return!0},a.bs=function(a){var b,c,f,e,d;if(this.b.Tk().yf){d=this.O();if(d.aa)for(d.aa=!1,R(d.c),R(d.F),f=this.c,b=0,c=f.length;b<c;b++)e=
f[b],e.uid===a?d.F.push(e):d.c.push(e);else{f=b=0;for(c=d.c.length;b<c;b++)e=d.c[b],d.c[f]=e,e.uid===a?d.F.push(e):f++;wa(d.c,f)}this.ad();return!!d.c.length}e=this.b.Zk(a);if(!e)return!1;d=this.O();if(!d.aa&&-1===d.c.indexOf(e))return!1;if(this.H)for(a=e.type.U,b=0,c=a.length;b<c;b++){if(a[b]===this)return d.Sf(e),this.ad(),!0}else if(e.type===this)return d.Sf(e),this.ad(),!0;return!1},a.Vj=function(){return!0},a.Fn=function(){return!0},e.qs=function(a,b){var c=this.la;F(c[a])?c[a]=F(b)?b:parseFloat(b):
M(c[a])&&(c[a]=M(b)?b:b.toString())},e.wr=function(a,b){var c=this.la;F(c[a])?c[a]=F(b)?c[a]+b:c[a]+parseFloat(b):M(c[a])&&(c[a]=M(b)?c[a]+b:c[a]+b.toString())},e.xs=function(a,b){var c=this.la;F(c[a])&&(c[a]=F(b)?c[a]-b:c[a]-parseFloat(b))},e.ns=function(a,b){this.la[a]=b?1:0},e.ys=function(a){this.la[a]=1-this.la[a]},e.Lr=function(){this.b.le(this)},e.xn||(e.xn=function(a){var b,c;try{b=JSON.parse(a)}catch(e){return}this.b.Sg(this,b,!0);this.wd&&this.wd();if(this.u)for(a=0,b=this.u.length;a<b;++a)c=
this.u[a],c.wd&&c.wd()}),g.Kr=function(a){var b=a.$d.c.length,c,e,f;c=0;for(e=this.b.hc.length;c<e;c++)f=this.b.hc[c],a.$d.H?0<=f.type.U.indexOf(a.$d)&&b++:f.type===a.$d&&b++;a.P(b)},g.gs=function(a){a.P(a.$d.O().Pb().length)},g.zs=function(a){a.P(this.uid)},g.Nr=function(a){a.P(this.sf())},g.pn||(g.pn=function(a){a.bb(JSON.stringify(this.b.Aj(this,!0)))}));b&&(a.Sr=function(){return this.visible},e.Rn=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.K=!0)},a.Gr=function(a,b){return Sb(cb(100*
this.opacity),a,b)},e.Qn=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.K=!0)},g.Opacity=function(a){a.m(cb(100*this.opacity))});w&&(a.Pr=function(a){return a?this.e===a:!1},a.es=function(a){var b=this.O(),c=b.Pb();if(!c.length)return!1;var e=c[0],f=e,d,g;d=1;for(g=c.length;d<g;d++)if(e=c[d],0===a){if(e.e.index>f.e.index||e.e.index===f.e.index&&e.lc()>f.lc())f=e}else if(e.e.index<f.e.index||e.e.index===f.e.index&&e.lc()<f.lc())f=e;b.Sf(f);return!0},e.Zr=function(){var a=
this.e,b=a.c;b.length&&b[b.length-1]===this||(a.Me(this,!1),a.$e(this,!1),this.b.K=!0)},e.Xr=function(){var a=this.e,b=a.c;b.length&&b[0]===this||(a.Me(this,!1),a.Mq(this),this.b.K=!0)},e.Yr=function(a){a&&a!=this.e&&(this.e.Me(this,!0),this.e=a,a.$e(this,!0),this.b.K=!0)},e.Cs=function(a,b){var c=0===a;if(b){var e=b.Dp(this);e&&e.uid!==this.uid&&(this.e.index!==e.e.index&&(this.e.Me(this,!0),this.e=e.e,e.e.$e(this,!0)),this.e.xq(this,e,c),this.b.K=!0)}},g.Ur=function(a){a.P(this.e.am)},g.Tr=function(a){a.bb(this.e.name)},
g.Bs=function(a){a.P(this.lc())});f&&(e.Pn=function(a,b){if(this.b.k){var c=this.type.qi(b);if(!(0>c)){var e=1===a;this.Zc[c]!==e&&(this.Zc[c]=e,this.Xb(),this.b.K=!0)}}},e.os=function(a,b,c){if(this.b.k){var e=this.type.qi(a);0>e||(a=this.type.A[e],e=this.Y[e],b=Math.floor(b),0>b||b>=e.length||(1===this.b.k.Lp(a.ia,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.gb&&(this.b.K=!0))))}})};zb=function(){this.Vh=this.Ph=!0;this.type.ok=!0;this.b.K=!0;var d,m,q=this.Qh;d=0;for(m=q.length;d<m;++d)q[d](this);this.e.ob&&
this.Da()};Ab=function(d){d&&this.Qh.push(d)};Cb=function(){if(this.Ph){var d=this.Fa,m=this.lg;d.set(this.x,this.y,this.x+this.width,this.y+this.height);d.offset(-this.Ya*this.width,-this.Za*this.height);this.i?(d.offset(-this.x,-this.y),m.Km(d,this.i),m.offset(this.x,this.y),m.yk(d)):m.oh(d);d.normalize();this.Ph=!1;this.or()}};var d=new P(0,0,0,0);Db=function(){if(this.e.ob){var k=this.e.Ca,m=this.Fa;d.set(k.Pa(m.left),k.Qa(m.top),k.Pa(m.right),k.Qa(m.bottom));this.Sa.lf(d)||(this.Sa.right<this.Sa.left?
k.update(this,null,d):k.update(this,this.Sa,d),this.Sa.gf(d),this.e.Ub=!0)}};Eb=function(){if(this.Vh&&this.ef){this.Da();var k=this.type.Ck,m=this.Fa;d.set(k.Pa(m.left),k.Qa(m.top),k.Pa(m.right),k.Qa(m.bottom));this.ed.lf(d)||(this.ed.right<this.ed.left?k.update(this,null,d):k.update(this,this.ed,d),this.ed.gf(d),this.Vh=!1)}};Bb=function(d,m){return this.Fa.rb(d,m)&&this.lg.rb(d,m)?this.gc&&!this.gc.nq()?(this.gc.ho(this.width,this.height,this.i),this.gc.rb(d-this.x,m-this.y)):!0:!1};vb=function(){this.type.Bh();
return this.Nd};Fb=function(){this.e.Qj();return this.Zb};Gb=function(){R(this.I);var d,m,q,v=!0;d=0;for(m=this.Zc.length;d<m;d++)this.Zc[d]&&(q=this.type.A[d],this.I.push(q),q.Fb||(v=!1));this.jn=!!this.I.length;this.Sc=v};wb=function(){return"Inst"+this.wm};jb=function(d){if(d&&d.zb&&d.type!=this){var m,q,v;m=0;for(q=d.siblings.length;m<q;m++)if(v=d.siblings[m],v.type==this)return v}d=this.O().Pb();return d.length?d[0]:null};kb=function(d){var m=this.O().Pb();return m.length?m[d.sf()%m.length]:
null};ib=function(){if(this.Qe&&!this.H){var d,m;d=0;for(m=this.c.length;d<m;d++)this.c[d].Nd=d;var q=d,v=this.b.hc;d=0;for(m=v.length;d<m;++d)v[d].type===this&&(v[d].Nd=q++);this.Qe=!1}};tb=function(d){if(d<this.c.length)return this.c[d];d-=this.c.length;var m=this.b.hc,q,v;q=0;for(v=m.length;q<v;++q)if(m[q].type===this){if(0===d)return m[q];--d}return null};lb=function(){return this.Uc[this.ic]};mb=function(){this.ic++;this.ic===this.Uc.length?this.Uc.push(new hb(this)):(this.Uc[this.ic].aa=!0,
R(this.Uc[this.ic].F))};nb=function(){this.ic++;this.ic===this.Uc.length&&this.Uc.push(new hb(this));var d=this.Uc[this.ic],m=this.Uc[this.ic-1];m.aa?(d.aa=!0,R(d.F)):(d.aa=!1,xa(d.c,m.c),xa(d.F,m.F))};ob=function(){this.ic--};pb=function(d){var m,q,v,r,c,b=0;if(!this.H)for(m=0,q=this.U.length;m<q;m++)for(c=this.U[m],v=0,r=c.W.length;v<r;v++){if(d===c.W[v].name)return this.T.lastBehIndex=b,c.W[v];b++}m=0;for(q=this.W.length;m<q;m++){if(d===this.W[m].name)return this.T.lastBehIndex=b,this.W[m];b++}return null};
qb=function(d){return this.Dg(d)?this.T.lastBehIndex:-1};rb=function(d){var m,q;m=0;for(q=this.A.length;m<q;m++)if(this.A[m].name===d)return m;return-1};sb=function(){if(this.zb&&!this.H){var d,m,q,v,r,c,b;this.Bh();c=this.O();var w=c.aa,f=(d=this.b.Ra())&&d.tb&&d.tb.Sb;d=0;for(m=this.Xa.length;d<m;d++)if(r=this.Xa[d],r!==this&&(r.Bh(),b=r.O(),b.aa=w,!w)){R(b.c);q=0;for(v=c.c.length;q<v;++q)b.c[q]=r.si(c.c[q].Nd);if(f)for(R(b.F),q=0,v=c.F.length;q<v;++q)b.F[q]=r.si(c.F[q].Nd)}}};ub=function(){return"Type"+
this.G};Sb=function(d,m,q){if("undefined"===typeof d||"undefined"===typeof q)return!1;switch(m){case 0:return d===q;case 1:return d!==q;case 2:return d<q;case 3:return d<=q;case 4:return d>q;case 5:return d>=q;default:return!1}}})();
var ac={pulse:{src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nuniform lowp float intensity;\nuniform lowp float lighting;\nuniform mediump float frequency;\nuniform mediump float speed;\nuniform mediump float centerX;\nuniform mediump float centerY;\nuniform mediump float pixelWidth;\nuniform mediump float pixelHeight;\nuniform mediump float layerScale;\nuniform mediump float seconds;\nvoid main(void)\n{\nmediump vec2 res = vec2(1.0 / pixelWidth, 1.0 / pixelHeight);\nmediump vec2 halfres = res / 2.0;\nmediump vec2 cPos = (vTex - vec2(centerX, 1.0 - centerY)) * res;\nmediump float cLength = length(cPos);\nmediump vec2 uv = vTex+(cPos/cLength)*sin(cLength/frequency/layerScale-seconds*speed)/25.0;\nlowp vec4 front = texture2D(samplerFront, mix(vTex, uv, intensity));\nlowp vec3 col = mix(front.rgb, front.rgb*50.0/cLength, lighting * intensity);\ngl_FragColor = vec4(col,front.a);\n}",wg:50,
xg:50,ci:!1,Fb:!1,Nh:!0,C:[["intensity",0,1],["lighting",0,1],["speed",0,0],["frequency",0,0],["centerX",0,1],["centerY",0,1]]}};function dc(d){this.b=d}
(function(){function d(){}function k(){}var m=dc.prototype;m.yc=function(d){this.qa=d;this.b=d.b};m.yc.prototype.Aa=function(){};m.pb=function(d){this.type=d;this.b=d.b;this.qe=Array(4);this.Ym=this.yh=this.je=this.Pc=this.Oc=0;this.yi=!1};var q=m.pb.prototype;q.Aa=function(){var d=this;if(!this.b.V){jQuery(document).mousemove(function(b){d.ej(b)});jQuery(document).mousedown(function(b){d.dj(b)});jQuery(document).mouseup(function(b){d.fj(b)});jQuery(document).dblclick(function(b){d.Bq(b)});var c=
function(b){d.Dq(b)};document.addEventListener("mousewheel",c,!1);document.addEventListener("DOMMouseScroll",c,!1)}};var v={left:0,top:0};q.ej=function(d){var c=this.b.V?v:jQuery(this.b.canvas).offset();this.Oc=d.pageX-c.left;this.Pc=d.pageY-c.top};q.Xl=function(){return 0<this.b.Ma?!0:0<=this.Oc&&0<=this.Pc&&this.Oc<this.b.width&&this.Pc<this.b.height};q.dj=function(d){this.Xl()&&(this.qe[d.which]=!0,this.b.ma=!0,this.b.trigger(dc.prototype.d.Cn,this),this.je=d.which-1,this.yh=0,this.b.trigger(dc.prototype.d.Gh,
this),this.b.trigger(dc.prototype.d.Ih,this),this.b.ma=!1)};q.fj=function(d){this.qe[d.which]&&(this.b.Hg&&!this.b.Rd&&d.preventDefault(),this.b.Hg=!0,this.qe[d.which]=!1,this.b.ma=!0,this.je=d.which-1,this.b.trigger(dc.prototype.d.ak,this),this.b.ma=!1)};q.Bq=function(d){this.Xl()&&(d.preventDefault(),this.b.ma=!0,this.je=d.which-1,this.yh=1,this.b.trigger(dc.prototype.d.Gh,this),this.b.trigger(dc.prototype.d.Ih,this),this.b.ma=!1)};q.Dq=function(d){this.Ym=0>(d.wheelDelta?d.wheelDelta:d.detail?
-d.detail:0)?0:1;this.yi=!1;this.b.ma=!0;this.b.trigger(dc.prototype.d.On,this);this.b.ma=!1;this.yi&&eb(d)&&d.preventDefault()};q.Je=function(){var d,c;d=0;for(c=this.qe.length;d<c;++d)this.qe[d]&&(this.qe[d]=!1,this.je=d-1,this.b.trigger(dc.prototype.d.ak,this))};d.prototype.Gh=function(d,c){return d===this.je&&c===this.yh};d.prototype.Cn=function(){return!0};d.prototype.ak=function(d){return d===this.je};d.prototype.vn=function(d){var c=this.b.Tk();return Oa(this.b.Re(d,this.Oc,this.Pc,c.yf),c.yf)};
d.prototype.Ih=function(d,c,b){return d!==this.je||c!==this.yh?!1:this.b.Re(b,this.Oc,this.Pc,!1)};d.prototype.On=function(d){this.yi=!0;return d===this.Ym};m.d=new d;m.hb=new function(){};k.prototype.Kh=function(d,c){var b,k,f,a,e;ga(c)?(b=this.b.Ic(0),k=b.scale,f=b.Ua,a=b.Db,e=b.i,b.scale=1,b.Ua=1,b.Db=1,b.i=0,d.m(b.ka(this.Oc,this.Pc,!0)),b.scale=k,b.Ua=f,b.Db=a,b.i=e):(b=F(c)?this.b.Ic(c):this.b.qf(c))?d.m(b.ka(this.Oc,this.Pc,!0)):d.m(0)};k.prototype.hk=function(d,c){var b,k,f,a,e;ga(c)?(b=this.b.Ic(0),
k=b.scale,f=b.Ua,a=b.Eb,e=b.i,b.scale=1,b.Ua=1,b.Eb=1,b.i=0,d.m(b.ka(this.Oc,this.Pc,!1)),b.scale=k,b.Ua=f,b.Eb=a,b.i=e):(b=F(c)?this.b.Ic(c):this.b.qf(c))?d.m(b.ka(this.Oc,this.Pc,!1)):d.m(0)};m.wb=new k})();function cc(d){this.b=d}
(function(){function d(){if(0===this.rg.length){var b=document.createElement("canvas");b.width=this.width;b.height=this.height;var a=b.getContext("2d");this.ge?a.drawImage(this.ja,this.ae,this.be,this.width,this.height,0,0,this.width,this.height):a.drawImage(this.ja,0,0,this.width,this.height);this.rg=b.toDataURL("image/png")}return this.rg}function k(){}function m(){}var q=cc.prototype;q.yc=function(b){this.qa=b;this.b=b.b};var v=q.yc.prototype;v.Aa=function(){if(!this.H){var b,a,c,g,h,k,n,m,l;this.Mb=
[];this.vf=!1;b=0;for(a=this.Va.length;b<a;b++){h=this.Va[b];n={};n.name=h[0];n.speed=h[1];n.loop=h[2];n.uj=h[3];n.vj=h[4];n.om=h[5];n.G=h[6];n.frames=[];c=0;for(g=h[7].length;c<g;c++)k=h[7][c],m={},m.Tm=k[0],m.Um=k[1],m.ae=k[2],m.be=k[3],m.width=k[4],m.height=k[5],m.duration=k[6],m.Ya=k[7],m.Za=k[8],m.Di=k[9],m.gh=k[10],m.jj=k[11],m.ge=0!==m.width,m.rg="",m.Is=d,l={left:0,top:0,right:1,bottom:1},m.Dj=l,m.fb=null,(l=this.b.yp(k[0]))?m.ja=l:(m.ja=new Image,m.ja.mo=k[0],m.ja.lo=k[1],m.ja.fo=null,this.b.sr(m.ja,
k[0])),n.frames.push(m),this.Mb.push(m);this.Va[b]=n}}};v.Nj=function(){var b,a,c;b=0;for(a=this.c.length;b<a;b++)c=this.c[b],c.re=c.ga.fb};v.fm=function(){if(!this.H){var b,a,c;b=0;for(a=this.Mb.length;b<a;++b)c=this.Mb[b],c.ja.fo=null,c.fb=null;this.vf=!1;this.Nj()}};v.im=function(){if(!this.H&&this.c.length){var b,a,c;b=0;for(a=this.Mb.length;b<a;++b)c=this.Mb[b],c.fb=this.b.k.Ui(c.ja,this.b.da,c.jj);this.Nj()}};v.sq=function(){if(!this.H&&!this.vf&&this.b.k){var b,a,c;b=0;for(a=this.Mb.length;b<
a;++b)c=this.Mb[b],c.fb=this.b.k.Ui(c.ja,this.b.da,c.jj);this.vf=!0}};v.dn=function(){if(!this.H&&!this.c.length&&this.vf){var b,a,c;b=0;for(a=this.Mb.length;b<a;++b)c=this.Mb[b],this.b.k.deleteTexture(c.fb),c.fb=null;this.vf=!1}};var r=[];v.tm=function(b){var a,c,d;R(r);a=0;for(c=this.Mb.length;a<c;++a)d=this.Mb[a].ja,-1===r.indexOf(d)&&(b.drawImage(d,0,0),r.push(d))};q.pb=function(b){this.type=b;this.b=b.b;b=this.type.Va[0].frames[0].gh;this.oc?this.gc.Yf(b):this.gc=new Ya(b)};var c=q.pb.prototype;
c.Aa=function(){this.visible=0===this.ra[0];this.ef=0!==this.ra[3];this.Q=this.Sk(this.ra[1])||this.type.Va[0];this.n=this.ra[2];0>this.n&&(this.n=0);this.n>=this.Q.frames.length&&(this.n=this.Q.frames.length-1);var b=this.Q.frames[this.n];this.gc.Yf(b.gh);this.Ya=b.Ya;this.Za=b.Za;this.se=this.Q.speed;this.fd=this.Q.vj;1===this.type.Va.length&&1===this.type.Va[0].frames.length||0===this.se||this.b.Wm(this);this.oc?this.$b.reset():this.$b=new Wa;this.Hc=this.$b.ca;this.yd=!0;this.zc=0;this.xd=!0;
this.Zh=this.nk="";this.io=0;this.Yh=-1;this.type.sq();var a,c,d,h,k,n,m,b=0;for(a=this.type.Va.length;b<a;b++)for(h=this.type.Va[b],c=0,d=h.frames.length;c<d;c++)k=h.frames[c],0===k.width&&(k.width=k.ja.width,k.height=k.ja.height),k.ge&&(m=k.ja,n=k.Dj,n.left=k.ae/m.width,n.top=k.be/m.height,n.right=(k.ae+k.width)/m.width,n.bottom=(k.be+k.height)/m.height,0===k.ae&&0===k.be&&k.width===m.width&&k.height===m.height&&(k.ge=!1));this.ga=this.Q.frames[this.n];this.re=this.ga.fb};c.Vb=function(){var b=
{a:this.Q.G,f:this.n,cas:this.se,fs:this.Hc,ar:this.zc,at:this.$b.ca,rt:this.fd};this.yd||(b.ap=this.yd);this.xd||(b.af=this.xd);return b};c.Nc=function(b){var a=this.Bp(b.a);a&&(this.Q=a);this.n=b.f;0>this.n&&(this.n=0);this.n>=this.Q.frames.length&&(this.n=this.Q.frames.length-1);this.se=b.cas;this.Hc=b.fs;this.zc=b.ar;this.$b.reset();this.$b.ca=b.at;this.yd=b.hasOwnProperty("ap")?b.ap:!0;this.xd=b.hasOwnProperty("af")?b.af:!0;b.hasOwnProperty("rt")?this.fd=b.rt:this.fd=this.Q.vj;this.ga=this.Q.frames[this.n];
this.re=this.ga.fb;this.gc.Yf(this.ga.gh);this.Ya=this.ga.Ya;this.Za=this.ga.Za};c.Oh=function(b){this.n=b?0:this.Q.frames.length-1;this.yd=!1;this.nk=this.Q.name;this.b.trigger(cc.prototype.d.Bn,this);this.b.trigger(cc.prototype.d.An,this);this.zc=0};c.sk=function(){return this.$b.ca};c.ie=function(){this.$b.add(this.b.Vk(this));this.Zh.length&&this.ro();0<=this.Yh&&this.so();var b=this.$b.ca,a=this.Q,c=a.frames[this.n],d=c.duration/this.se;this.yd&&b>=this.Hc+d&&(this.xd?this.n++:this.n--,this.Hc+=
d,this.n>=a.frames.length&&(a.om?(this.xd=!1,this.n=a.frames.length-2):a.loop?this.n=this.fd:(this.zc++,this.zc>=a.uj?this.Oh(!1):this.n=this.fd)),0>this.n&&(a.om?(this.n=1,this.xd=!0,a.loop||(this.zc++,this.zc>=a.uj&&this.Oh(!0))):a.loop?this.n=this.fd:(this.zc++,this.zc>=a.uj?this.Oh(!0):this.n=this.fd)),0>this.n?this.n=0:this.n>=a.frames.length&&(this.n=a.frames.length-1),b>this.Hc+a.frames[this.n].duration/this.se&&(this.Hc=b),b=a.frames[this.n],this.oe(c,b),this.b.K=!0)};c.Sk=function(b){var a,
c,d;a=0;for(c=this.type.Va.length;a<c;a++)if(d=this.type.Va[a],db(d.name,b))return d;return null};c.Bp=function(b){var a,c,d;a=0;for(c=this.type.Va.length;a<c;a++)if(d=this.type.Va[a],d.G===b)return d;return null};c.ro=function(){var b=this.Q.frames[this.n],a=this.Sk(this.Zh);this.Zh="";!a||db(a.name,this.Q.name)&&this.yd||(this.Q=a,this.se=a.speed,this.fd=a.vj,0>this.n&&(this.n=0),this.n>=this.Q.frames.length&&(this.n=this.Q.frames.length-1),1===this.io&&(this.n=0),this.yd=!0,this.Hc=this.$b.ca,
this.xd=!0,this.oe(b,this.Q.frames[this.n]),this.b.K=!0)};c.so=function(){var b=this.Q.frames[this.n],a=this.n;this.n=O(this.Yh);0>this.n&&(this.n=0);this.n>=this.Q.frames.length&&(this.n=this.Q.frames.length-1);a!==this.n&&(this.oe(b,this.Q.frames[this.n]),this.Hc=this.$b.ca,this.b.K=!0);this.Yh=-1};c.oe=function(b,a){var c=b.width,d=b.height,h=a.width,k=a.height;c!=h&&(this.width*=h/c);d!=k&&(this.height*=k/d);this.Ya=a.Ya;this.Za=a.Za;this.gc.Yf(a.gh);this.ua();this.ga=a;this.re=a.fb;c=0;for(d=
this.u.length;c<d;c++)h=this.u[c],h.Cq&&h.Cq(b,a);this.b.trigger(cc.prototype.d.oe,this)};c.gd=function(b){b.globalAlpha=this.opacity;var a=this.ga,c=a.ge,d=a.ja,h=this.x,k=this.y,n=this.width,m=this.height;if(0===this.i&&0<=n&&0<=m)h-=this.Ya*n,k-=this.Za*m,this.b.de&&(h=Math.round(h),k=Math.round(k)),c?b.drawImage(d,a.ae,a.be,a.width,a.height,h,k,n,m):b.drawImage(d,h,k,n,m);else{this.b.de&&(h=Math.round(h),k=Math.round(k));b.save();var l=0<n?1:-1,p=0<m?1:-1;b.translate(h,k);1===l&&1===p||b.scale(l,
p);b.rotate(this.i*l*p);h=0-this.Ya*la(n);k=0-this.Za*la(m);c?b.drawImage(d,a.ae,a.be,a.width,a.height,h,k,la(n),la(m)):b.drawImage(d,h,k,la(n),la(m));b.restore()}};c.ue=function(b){this.ub(b)};c.ub=function(b){b.Hb(this.re);b.Wf(this.opacity);var a=this.ga,c=this.lg;if(this.b.de){var d=Math.round(this.x)-this.x,h=Math.round(this.y)-this.y;a.ge?b.ee(c.tc+d,c.uc+h,c.wc+d,c.xc+h,c.ec+d,c.fc+h,c.ac+d,c.cc+h,a.Dj):b.Vf(c.tc+d,c.uc+h,c.wc+d,c.xc+h,c.ec+d,c.fc+h,c.ac+d,c.cc+h)}else a.ge?b.ee(c.tc,c.uc,
c.wc,c.xc,c.ec,c.fc,c.ac,c.cc,a.Dj):b.Vf(c.tc,c.uc,c.wc,c.xc,c.ec,c.fc,c.ac,c.cc)};c.Fp=function(b){var a=this.ga,c,d;c=0;for(d=a.Di.length;c<d;c++)if(db(b,a.Di[c][0]))return c;return-1};c.ri=function(b,a){var c=this.ga,d=c.Di,h;M(b)?h=this.Fp(b):h=b-1;h=O(h);if(0>h||h>=d.length)return a?this.x:this.y;var k=(d[h][1]-c.Ya)*this.width,d=d[h][2],d=(d-c.Za)*this.height,c=Math.cos(this.i);h=Math.sin(this.i);var n=k*c-d*h,d=d*c+k*h,k=n+this.x,d=d+this.y;return a?k:d};var b=new ca,w=!1;new P(0,0,0,0);v.finish=
function(c){if(w){if(c){var a=this.b.Ra().tb.Sb;c=null.O();var e=b.vd(),d,h;if(c.aa){c.aa=!1;R(c.c);d=0;for(h=e.length;d<h;++d)c.c[d]=e[d];if(a)for(R(c.F),d=0,h=null.c.length;d<h;++d)e=null.c[d],b.contains(e)||c.F.push(e)}else if(a)for(a=c.c.length,d=0,h=e.length;d<h;++d)c.c[a+d]=e[d],Aa(c.F,e[d]);else xa(c.c,e);null.ad()}b.clear();w=!1}};k.prototype.An=function(b){return db(this.nk,b)};k.prototype.Bn=function(){return!0};k.prototype.oe=function(){return!0};k.prototype.Nn=function(){return!0};q.d=
new k;m.prototype.yn=function(b,a){var c=new Image,d=this,h=this.ga;c.onload=function(){h.ja.src===c.src?d.b.k&&d.ga===h&&(d.re=h.fb):(h.ja=c,h.ae=0,h.be=0,h.width=c.width,h.height=c.height,h.ge=!1,h.rg="",h.jj=0,d.b.k&&(h.fb&&d.b.k.deleteTexture(h.fb),h.fb=d.b.k.Ui(c,d.b.da),d.ga===h&&(d.re=h.fb),d.type.Nj()));0===a&&(d.width=c.width,d.height=c.height,d.ua());d.b.K=!0;d.b.trigger(cc.prototype.d.Nn,d)};"data:"!==b.substr(0,5)&&(c.crossOrigin="anonymous");this.b.Cj(c,b)};q.hb=new m;q.wb=new function(){}})();
function ec(d){this.b=d}
(function(){function d(){}function k(){}var m=ec.prototype;m.yc=function(d){this.qa=d;this.b=d.b};m.yc.prototype.Aa=function(){};m.pb=function(d){this.type=d;this.b=d.b};var q=m.pb.prototype,v="text password email number tel url".split(" ");-1<navigator.userAgent.indexOf("MSIE 9")&&(v[2]="text",v[3]="text",v[4]="text",v[5]="text");q.Aa=function(){if(this.b.V)z("[Construct 2] Textbox plugin not supported on this platform - the object will not be created");else{6===this.ra[7]?(this.p=document.createElement("textarea"),
jQuery(this.p).css("resize","none")):(this.p=document.createElement("input"),this.p.type=v[this.ra[7]]);this.p.id=this.ra[9];jQuery(this.p).appendTo(this.b.ng?this.b.ng:"body");this.p.autocomplete="off";this.p.value=this.ra[0];this.p.placeholder=this.ra[1];this.p.title=this.ra[2];this.p.disabled=0===this.ra[4];this.p.readOnly=1===this.ra[5];this.p.spellcheck=1===this.ra[6];this.ao=0!==this.ra[8];this.Gd=!1;0===this.ra[3]&&(jQuery(this.p).hide(),this.visible=!1,this.Gd=!0);var d=function(c){return function(){c.b.trigger(ec.prototype.d.Mn,
c)}}(this);this.p.oninput=d;-1!==navigator.userAgent.indexOf("MSIE")&&(this.p.oncut=d);this.p.onclick=function(c){return function(b){b.stopPropagation();c.b.ma=!0;c.b.trigger(ec.prototype.d.En,c);c.b.ma=!1}}(this);this.p.ondblclick=function(c){return function(b){b.stopPropagation();c.b.ma=!0;c.b.trigger(ec.prototype.d.Gn,c);c.b.ma=!1}}(this);this.p.addEventListener("touchstart",function(c){c.stopPropagation()},!1);this.p.addEventListener("touchmove",function(c){c.stopPropagation()},!1);this.p.addEventListener("touchend",
function(c){c.stopPropagation()},!1);jQuery(this.p).mousedown(function(c){c.stopPropagation()});jQuery(this.p).mouseup(function(c){c.stopPropagation()});jQuery(this.p).keydown(function(c){13!==c.which&&27!=c.which&&c.stopPropagation()});jQuery(this.p).keyup(function(c){13!==c.which&&27!=c.which&&c.stopPropagation()});this.xl=this.yl=this.pl=this.tl=this.wl=this.rl=0;this.hn(!0);this.b.Wm(this)}};q.Vb=function(){return{text:this.p.value,placeholder:this.p.placeholder,tooltip:this.p.title,disabled:!!this.p.disabled,
readonly:!!this.p.readOnly,spellcheck:!!this.p.spellcheck}};q.Nc=function(d){this.p.value=d.text;this.p.placeholder=d.placeholder;this.p.title=d.tooltip;this.p.disabled=d.disabled;this.p.readOnly=d.readonly;this.p.spellcheck=d.spellcheck};q.ah=function(){this.b.V||(jQuery(this.p).remove(),this.p=null)};q.ie=function(){this.hn()};q.hn=function(d){if(!this.b.V){var c=this.e.Na(this.x,this.y,!0),b=this.e.Na(this.x,this.y,!1),k=this.e.Na(this.x+this.width,this.y+this.height,!0),f=this.e.Na(this.x+this.width,
this.y+this.height,!1),a=this.b.width/this.b.devicePixelRatio,e=this.b.height/this.b.devicePixelRatio;!this.visible||!this.e.visible||0>=k||0>=f||c>=a||b>=e?(this.Gd||jQuery(this.p).hide(),this.Gd=!0):(1>c&&(c=1),1>b&&(b=1),k>=a&&(k=a-1),f>=e&&(f=e-1),a=window.innerWidth,e=window.innerHeight,d||this.rl!==c||this.wl!==b||this.tl!==k||this.pl!==f||this.yl!==a||this.xl!==e?(this.rl=c,this.wl=b,this.tl=k,this.pl=f,this.yl=a,this.xl=e,this.Gd&&(jQuery(this.p).show(),this.Gd=!1),d=Math.round(c)+jQuery(this.b.canvas).offset().left,
a=Math.round(b)+jQuery(this.b.canvas).offset().top,jQuery(this.p).css("position","absolute"),jQuery(this.p).offset({left:d,top:a}),jQuery(this.p).width(Math.round(k-c)),jQuery(this.p).height(Math.round(f-b)),this.ao&&jQuery(this.p).css("font-size",this.e.kb(!0)/this.b.devicePixelRatio-.2+"em")):this.Gd&&(jQuery(this.p).show(),this.Gd=!1))}};q.gd=function(){};q.ub=function(){};d.prototype.Mn=function(){return!0};d.prototype.En=function(){return!0};d.prototype.Gn=function(){return!0};m.d=new d;k.prototype.Rn=
function(d){this.b.V||(this.visible=0!==d)};m.hb=new k;m.wb=new function(){}})();function Z(d){this.b=d}
(function(){function d(b){w=b.x;f=b.y;a=b.z}function k(a,b,c,d){var f;f=e.length?e.pop():new m;f.init(a,b,c,d);return f}function m(){this.ag=this.id=this.y=this.x=this.sh=this.rh=this.Si=this.time=this.Fj=0;this.gg=this.zh=!1}function q(){}function v(){}var r=Z.prototype;r.yc=function(a){this.qa=a;this.b=a.b};r.yc.prototype.Aa=function(){};r.pb=function(a){this.type=a;this.b=a.b;this.touches=[];this.$i=!1};var c=r.pb.prototype,b={left:0,top:0};c.pf=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 w=0,f=0,a=0,e=[];m.prototype.init=function(a,b,c,d){var e=T();this.Fj=this.Si=this.time=e;this.rh=a;this.sh=b;this.x=a;this.y=b;this.pressure=this.height=this.width=0;this.id=c;this.ag=d;this.gg=this.zh=!1};m.prototype.update=function(a,b,c,d,e,f){this.Si=this.time;this.time=a;this.x=b;this.y=c;this.width=d;this.height=e;this.pressure=f;!this.gg&&15<=Na(this.rh,this.sh,this.x,this.y)&&(this.gg=!0)};m.prototype.vq=function(a,b){!this.zh&&500<=
T()-this.Fj&&!this.gg&&15>Na(this.rh,this.sh,this.x,this.y)&&(this.zh=!0,a.vc=this.ag,a.Te=this.id,a.ye=b,a.b.trigger(Z.prototype.d.In,a),a.Cc=this.x,a.Dc=this.y,a.b.trigger(Z.prototype.d.Jn,a),a.ye=0)};var g=-1E3,h=-1E3,u=-1E4;m.prototype.Ul=function(a,b){if(!this.zh){var c=T();333>=c-this.Fj&&!this.gg&&15>Na(this.rh,this.sh,this.x,this.y)&&(a.vc=this.ag,a.Te=this.id,a.ye=b,666>=c-u&&25>Na(g,h,this.x,this.y)?(a.b.trigger(Z.prototype.d.Wj,a),a.Cc=this.x,a.Dc=this.y,a.b.trigger(Z.prototype.d.Hn,a),
h=g=-1E3,u=-1E4):(a.b.trigger(Z.prototype.d.ck,a),a.Cc=this.x,a.Dc=this.y,a.b.trigger(Z.prototype.d.dk,a),g=this.x,h=this.y,u=c),a.ye=0)}};c.Aa=function(){this.lq=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.ye=this.Te=this.vc=this.Dc=this.Cc=this.kk=this.jk=this.ik=this.Wn=this.Vn=this.Un=this.fh=this.eh=this.dh=0;this.qr=0!==this.ra[0];var a=0<this.b.Ma?document:this.b.canvas,b=document;this.b.ld?b=a=window.Canvas:this.b.yb&&(b=a=window);var c=this;window.navigator.pointerEnabled?
(a.addEventListener("pointerdown",function(a){c.hm(a)},!1),a.addEventListener("pointermove",function(a){c.gm(a)},!1),b.addEventListener("pointerup",function(a){c.bh(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.bh(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.hm(a)},!1),a.addEventListener("MSPointerMove",function(a){c.gm(a)},!1),b.addEventListener("MSPointerUp",function(a){c.bh(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.bh(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.km(a)},!1),a.addEventListener("touchmove",function(a){c.jm(a)},!1),b.addEventListener("touchend",function(a){c.gj(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.gj(a,!0)},!1));if(this.lq){var e=function(a){a=a.reading;c.ik=a.accelerationX;c.jk=a.accelerationY;c.kk=a.accelerationZ},f=function(a){a=a.reading;c.dh=a.yawDegrees;c.eh=a.pitchDegrees;c.fh=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),
g.addEventListener("readingchanged",e));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",e),h&&h.removeEventListener("readingchanged",f)):(g&&g.addEventListener("readingchanged",e),h&&h.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",
function(a){c.dh=a.alpha||0;c.eh=a.beta||0;c.fh=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Un=a.accelerationIncludingGravity.x||0,c.Vn=a.accelerationIncludingGravity.y||0,c.Wn=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.ik=a.acceleration.x||0,c.jk=a.acceleration.y||0,c.kk=a.acceleration.z||0)},!1);this.qr&&!this.b.V&&(jQuery(document).mousemove(function(a){c.ej(a)}),jQuery(document).mousedown(function(a){c.dj(a)}),jQuery(document).mouseup(function(a){c.fj(a)}));
!this.b.Ng&&this.b.mb&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(d,null,{frequency:40});this.b.ir(this)};c.gm=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.pf(a.pointerId),d=T();if(0<=c){var e=this.b.V?b:jQuery(this.b.canvas).offset(),c=this.touches[c];2>d-c.time||c.update(d,a.pageX-e.left,a.pageY-e.top,a.width||0,a.height||0,a.pressure||0)}}};c.hm=
function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&eb(a)&&a.preventDefault();var c=this.b.V?b:jQuery(this.b.canvas).offset(),d=a.pageX-c.left,c=a.pageY-c.top;T();this.vc=this.touches.length;this.Te=a.pointerId;this.touches.push(k(d,c,a.pointerId,this.vc));this.b.ma=!0;this.b.trigger(Z.prototype.d.$j,this);this.b.trigger(Z.prototype.d.gk,this);this.Cc=d;this.Dc=c;this.b.trigger(Z.prototype.d.fk,this);this.b.ma=!1}};c.bh=function(a,b){if(a.pointerType!==
a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&eb(a)&&a.preventDefault();var c=this.pf(a.pointerId);this.vc=0<=c?this.touches[c].ag:-1;this.Te=0<=c?this.touches[c].id:-1;this.b.ma=!0;this.b.trigger(Z.prototype.d.Zj,this);this.b.trigger(Z.prototype.d.ek,this);0<=c&&(b||this.touches[c].Ul(this,c),100>e.length&&e.push(this.touches[c]),this.touches.splice(c,1));this.b.ma=!1}};c.jm=function(a){a.preventDefault&&a.preventDefault();var c=T(),d,e,f,g;d=0;for(e=a.changedTouches.length;d<
e;d++)if(f=a.changedTouches[d],g=this.pf(f.identifier),0<=g){var h=this.b.V?b:jQuery(this.b.canvas).offset();g=this.touches[g];2>c-g.time||g.update(c,f.pageX-h.left,f.pageY-h.top,2*(f.Ss||f.bt||f.Ms||f.Ps||0),2*(f.Ts||f.ct||f.Ns||f.Qs||0),f.Hs||f.$s||f.Ls||f.Os||0)}};c.km=function(a){a.preventDefault&&eb(a)&&a.preventDefault();var c=this.b.V?b:jQuery(this.b.canvas).offset();T();this.b.ma=!0;var d,e,f,g;d=0;for(e=a.changedTouches.length;d<e;d++)if(f=a.changedTouches[d],g=this.pf(f.identifier),-1===
g){g=f.pageX-c.left;var h=f.pageY-c.top;this.vc=this.touches.length;this.Te=f.identifier;this.touches.push(k(g,h,f.identifier,this.vc));this.b.trigger(Z.prototype.d.$j,this);this.b.trigger(Z.prototype.d.gk,this);this.Cc=g;this.Dc=h;this.b.trigger(Z.prototype.d.fk,this)}this.b.ma=!1};c.gj=function(a,b){a.preventDefault&&eb(a)&&a.preventDefault();this.b.ma=!0;var c,d,f;c=0;for(d=a.changedTouches.length;c<d;c++)f=a.changedTouches[c],f=this.pf(f.identifier),0<=f&&(this.vc=this.touches[f].ag,this.Te=this.touches[f].id,
this.b.trigger(Z.prototype.d.Zj,this),this.b.trigger(Z.prototype.d.ek,this),b||this.touches[f].Ul(this,f),100>e.length&&e.push(this.touches[f]),this.touches.splice(f,1));this.b.ma=!1};c.sk=function(){return this.b.mb&&0===this.dh&&0!==a?90*a:this.dh};c.Fs=function(){return this.b.mb&&0===this.eh&&0!==f?90*f:this.eh};c.Gs=function(){return this.b.mb&&0===this.fh&&0!==w?90*w:this.fh};c.dj=function(a){this.km({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.$i=!0};c.ej=function(a){this.$i&&
this.jm({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};c.fj=function(a){a.preventDefault&&this.b.Hg&&!this.b.Rd&&a.preventDefault();this.b.Hg=!0;this.gj({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.$i=!1};c.Gj=function(){var a,b,c,d=T();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.Si=d),c.vq(this,a)};q.prototype.gk=function(){return!0};q.prototype.ek=function(){return!0};q.prototype.fk=function(a){return a?this.b.Re(a,this.Cc,this.Dc,
!1):!1};q.prototype.$j=function(a){a=Math.floor(a);return a===this.vc};q.prototype.Zj=function(a){a=Math.floor(a);return a===this.vc};q.prototype.In=function(){return!0};q.prototype.ck=function(){return!0};q.prototype.Wj=function(){return!0};q.prototype.Jn=function(a){return a?this.b.Re(a,this.Cc,this.Dc,!1):!1};q.prototype.dk=function(a){return a?this.b.Re(a,this.Cc,this.Dc,!1):!1};q.prototype.Hn=function(a){return a?this.b.Re(a,this.Cc,this.Dc,!1):!1};r.d=new q;v.prototype.Kh=function(a,b){var c=
this.ye;if(0>c||c>=this.touches.length)a.m(0);else{var d,e,f,g,h;ga(b)?(d=this.b.Ic(0),e=d.scale,f=d.Ua,g=d.Db,h=d.i,d.scale=1,d.Ua=1,d.Db=1,d.i=0,a.m(d.ka(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.Ua=f,d.Db=g,d.i=h):(d=F(b)?this.b.Ic(b):this.b.qf(b))?a.m(d.ka(this.touches[c].x,this.touches[c].y,!0)):a.m(0)}};v.prototype.hk=function(a,b){var c=this.ye;if(0>c||c>=this.touches.length)a.m(0);else{var d,e,f,g,h;ga(b)?(d=this.b.Ic(0),e=d.scale,f=d.Ua,g=d.Eb,h=d.i,d.scale=1,d.Ua=1,d.Eb=1,d.i=
0,a.m(d.ka(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.Ua=f,d.Eb=g,d.i=h):(d=F(b)?this.b.Ic(b):this.b.qf(b))?a.m(d.ka(this.touches[c].x,this.touches[c].y,!1)):a.m(0)}};r.wb=new v})();
function bc(){return[dc,cc,ec,Z,dc.prototype.d.vn,cc.prototype.hb.Sn,Y.prototype.wb.qq,cc.prototype.wb.Kh,cc.prototype.hb.Pn,cc.prototype.hb.Qn,Y.prototype.d.Uj,dc.prototype.d.Ih,Z.prototype.d.dk,Y.prototype.hb.zn,Y.prototype.d.Xj,dc.prototype.d.Gh,Z.prototype.d.ck,Y.prototype.hb.mn,Y.prototype.d.sn,cc.prototype.hb.yn,Z.prototype.d.Wj,Y.prototype.hb.Tn]};
