﻿// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var ba,ca,fa,ia,ja,ka,la,ma,na,oa,z,pa,ra,sa,ta,ua,va,wa,xa,ya,za,Ba,F,Ca,Da,Ea,Fa,Ga,L,Ha,Ia,Ja,Ka,Ma,Na,Pa,Ra,Sa,Ta,Va,Wa,Xa,Ya,Za,$a,bb,cb,db,eb,fb,kb,lb,mb,nb,ob,pb,qb,rb,xb,yb,zb,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,$b,ac,bc,hc,ic,jc,kc,lc,mc,nc,oc,pc,qc,rc,sc,tc={},uc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(f){return f.__proto__}:function(f){return f.constructor.prototype});
(function(){function f(a,c,e,k){this.set(a,c,e,k)}function m(){this.Sa=this.Va=this.ca=this.Ta=this.ya=this.ba=this.Ia=this.W=0}function h(a,c,e,k){a<c?e<k?(n=a<e?a:e,t=c>k?c:k):(n=a<k?a:k,t=c>e?c:e):e<k?(n=c<e?c:e,t=a>k?a:k):(n=c<k?c:k,t=a>e?a:e)}function b(){this.items=this.Ke=null;this.fj=0;O&&(this.Ke=new Set);this.ki=[];this.Ef=!0}function r(a){H[C++]=a}function p(){this.Ga=this.Km=this.y=this.Nn=0}function q(a){this.Yb=[];this.rk=this.tk=this.uk=this.sk=0;this.di(a)}function d(a,c){this.Sn=
a;this.Rn=c;this.cells={}}function v(a,c){this.Sn=a;this.Rn=c;this.cells={}}function g(a,c,e){var k;d.prototype.Dd++;return Q.length?(k=Q.pop(),k.Ao=a,k.x=c,k.y=e,k):new ba(a,c,e)}function a(a,c,e){this.Ao=a;this.x=c;this.y=e;this.ta=new ca}function c(a,c,e){var k;return E.length?(k=E.pop(),k.Ao=a,k.x=c,k.y=e,k):new fa(a,c,e)}function e(a,c,e){this.Ao=a;this.x=c;this.y=e;this.ta=[];this.Mh=!0;this.Ie=new ca;this.Ai=!1}function l(a,c){return a.zd-c.zd}ia=function(a){window.console&&window.console.log&&
window.console.log(a)};ja=function(a){window.console&&window.console.error&&window.console.error(a)};ka=function(a){return"undefined"===typeof a};la=function(a){return"number"===typeof a};ma=function(a){return"string"===typeof a};na=function(a){return 0<a&&0===(a-1&a)};oa=function(a){--a;for(var c=1;32>c;c<<=1)a=a|a>>c;return a+1};z=function(a){return 0>a?-a:a};pa=function(a,c){return a>c?a:c};ra=function(a,c){return a<c?a:c};sa=Math.PI;ta=function(a){return 0<=a?a|0:(a|0)-1};ua=function(a){var c=
a|0;return c===a?c:c+1};va=function(a,c,e,k,d,y,l,g){var n,t,u,b;a<e?(t=a,n=e):(t=e,n=a);d<l?(b=d,u=l):(b=l,u=d);if(n<b||t>u)return!1;c<k?(t=c,n=k):(t=k,n=c);y<g?(b=y,u=g):(b=g,u=y);if(n<b||t>u)return!1;n=d-a+l-e;t=y-c+g-k;a=e-a;c=k-c;d=l-d;y=g-y;g=z(c*d-y*a);return z(d*t-y*n)>g?!1:z(a*t-c*n)<=g};f.prototype.set=function(a,c,e,k){this.left=a;this.top=c;this.right=e;this.bottom=k};f.prototype.Fi=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};f.prototype.width=
function(){return this.right-this.left};f.prototype.height=function(){return this.bottom-this.top};f.prototype.offset=function(a,c){this.left+=a;this.top+=c;this.right+=a;this.bottom+=c;return this};f.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)};f.prototype.Uz=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};f.prototype.Vz=
function(a,c,e){return!(a.right+c<this.left||a.bottom+e<this.top||a.left+c>this.right||a.top+e>this.bottom)};f.prototype.ac=function(a,c){return a>=this.left&&a<=this.right&&c>=this.top&&c<=this.bottom};f.prototype.xh=function(a,c,e,k){return a>=this.left-e&&a<=this.right+e&&c>=this.top-k&&c<=this.bottom+k};f.prototype.Ki=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};wa=f;m.prototype.Qj=function(a){this.W=a.left;this.Ia=a.top;this.ba=a.right;
this.ya=a.top;this.Ta=a.right;this.ca=a.bottom;this.Va=a.left;this.Sa=a.bottom};m.prototype.Up=function(a,c){if(0===c)this.Qj(a);else{var e=Math.sin(c),k=Math.cos(c),d=a.left*e,y=a.top*e,l=a.right*e,e=a.bottom*e,g=a.left*k,n=a.top*k,t=a.right*k,k=a.bottom*k;this.W=g-y;this.Ia=n+d;this.ba=t-y;this.ya=n+l;this.Ta=t-e;this.ca=k+l;this.Va=g-e;this.Sa=k+d}};m.prototype.offset=function(a,c){this.W+=a;this.Ia+=c;this.ba+=a;this.ya+=c;this.Ta+=a;this.ca+=c;this.Va+=a;this.Sa+=c;return this};var n=0,t=0;m.prototype.Dr=
function(a){h(this.W,this.ba,this.Ta,this.Va);a.left=n;a.right=t;h(this.Ia,this.ya,this.ca,this.Sa);a.top=n;a.bottom=t};m.prototype.ac=function(a,c){var e=this.W,k=this.Ia,d=this.ba-e,y=this.ya-k,l=this.Ta-e,g=this.ca-k,n=a-e,t=c-k,u=d*d+y*y,b=d*l+y*g,y=d*n+y*t,w=l*l+g*g,q=l*n+g*t,f=1/(u*w-b*b),d=(w*y-b*q)*f,u=(u*q-b*y)*f;if(0<=d&&0<u&&1>d+u)return!0;d=this.Va-e;y=this.Sa-k;u=d*d+y*y;b=d*l+y*g;y=d*n+y*t;f=1/(u*w-b*b);d=(w*y-b*q)*f;u=(u*q-b*y)*f;return 0<=d&&0<u&&1>d+u};m.prototype.xh=function(a,c,
e,k){var d=this.W-e,y=this.Ia-k,l=this.ba+e-d,g=this.ya-k-y,n=this.Ta+e-d,t=this.ca+k-y;a=a-d;c=c-y;var u=l*l+g*g,b=l*n+g*t,g=l*a+g*c,w=n*n+t*t,q=n*a+t*c,f=1/(u*w-b*b),l=(w*g-b*q)*f,u=(u*q-b*g)*f;if(0<=l&&0<u&&1>l+u)return!0;l=this.Va-e-d;g=this.Sa+k-y;u=l*l+g*g;b=l*n+g*t;g=l*a+g*c;f=1/(u*w-b*b);l=(w*g-b*q)*f;u=(u*q-b*g)*f;return 0<=l&&0<u&&1>l+u};m.prototype.dd=function(a,c){if(c)switch(a){case 0:return this.W;case 1:return this.ba;case 2:return this.Ta;case 3:return this.Va;case 4:return this.W;
default:return this.W}else switch(a){case 0:return this.Ia;case 1:return this.ya;case 2:return this.ca;case 3:return this.Sa;case 4:return this.Ia;default:return this.Ia}};m.prototype.tt=function(){return(this.W+this.ba+this.Ta+this.Va)/4};m.prototype.ut=function(){return(this.Ia+this.ya+this.ca+this.Sa)/4};m.prototype.zs=function(a){var c=a.tt(),e=a.ut();if(this.ac(c,e))return!0;c=this.tt();e=this.ut();if(a.ac(c,e))return!0;var k,d,y,l,g,n,t,u;for(t=0;4>t;t++)for(u=0;4>u;u++)if(c=this.dd(t,!0),e=
this.dd(t,!1),k=this.dd(t+1,!0),d=this.dd(t+1,!1),y=a.dd(u,!0),l=a.dd(u,!1),g=a.dd(u+1,!0),n=a.dd(u+1,!1),va(c,e,k,d,y,l,g,n))return!0;return!1};xa=m;ya=function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e]);return a};za=function(a,c){var e,k;c=ta(c);if(!(0>c||c>=a.length)){e=c;for(k=a.length-1;e<k;e++)a[e]=a[e+1];Ba(a,k)}};Ba=function(a,c){a.length=c};F=function(a){Ba(a,0)};Ca=function(a,c){F(a);var e,k;e=0;for(k=c.length;e<k;++e)a[e]=c[e]};Da=function(a,c){a.push.apply(a,c)};Ea=function(a,
c){var e,k;e=0;for(k=a.length;e<k;++e)if(a[e]===c)return e;return-1};Fa=function(a,c){var e=Ea(a,c);-1!==e&&za(a,e)};Ga=function(a,c,e){return a<c?c:a>e?e:a};L=function(a){return a/(180/sa)};Ha=function(a){return 180/sa*a};Ia=function(a){a%=360;0>a&&(a+=360);return a};Ja=function(a){a%=2*sa;0>a&&(a+=2*sa);return a};Ka=function(a){return Ia(Ha(a))};Ma=function(a){return Ja(L(a))};Na=function(a,c,e,k){return Math.atan2(k-c,e-a)};Pa=function(a,c){if(a===c)return 0;var e=Math.sin(a),k=Math.cos(a),d=Math.sin(c),
y=Math.cos(c),e=e*d+k*y;return 1<=e?0:-1>=e?sa:Math.acos(e)};Ra=function(a,c,e){var k=Math.sin(a),d=Math.cos(a),y=Math.sin(c),l=Math.cos(c);return Math.acos(k*y+d*l)>e?0<d*y-k*l?Ja(a+e):Ja(a-e):Ja(c)};Sa=function(a,c){var e=Math.sin(a),k=Math.cos(a),d=Math.sin(c),y=Math.cos(c);return 0>=k*d-e*y};Ta=function(a,c,e,k,d,y){if(0===e)return y?a:c;var l=Math.sin(e);e=Math.cos(e);a-=k;c-=d;var g=a*l;a=a*e-c*l;c=c*e+g;return y?a+k:c+d};Va=function(a,c,e,k){a=e-a;c=k-c;return Math.sqrt(a*a+c*c)};Wa=function(a,
c){return!a!==!c};Xa=function(a,c,e){return a+(c-a)*e};Ya=function(a){for(var c in a)if(a.hasOwnProperty(c))return!0;return!1};Za=function(a){for(var c in a)a.hasOwnProperty(c)&&delete a[c]};var w=+new Date;$a=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()-
w};var k=!1,u=k=!1,N=!1;"undefined"!==typeof window&&(k=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),k=!k&&/safari/i.test(navigator.userAgent),u=/(iphone|ipod|ipad)/i.test(navigator.userAgent),N=window.c2ejecta);var O=!k&&!N&&!u&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;b.prototype.contains=function(a){return this.Ze()?!1:O?this.Ke.has(a):this.items&&this.items.hasOwnProperty(a)};b.prototype.add=function(a){if(O)this.Ke.has(a)||(this.Ke.add(a),
this.Ef=!1);else{var c=a.toString(),e=this.items;e?e.hasOwnProperty(c)||(e[c]=a,this.fj++,this.Ef=!1):(this.items={},this.items[c]=a,this.fj=1,this.Ef=!1)}};b.prototype.remove=function(a){if(!this.Ze())if(O)this.Ke.has(a)&&(this.Ke["delete"](a),this.Ef=!1);else if(this.items){a=a.toString();var c=this.items;c.hasOwnProperty(a)&&(delete c[a],this.fj--,this.Ef=!1)}};b.prototype.clear=function(){this.Ze()||(O?this.Ke.clear():(this.items=null,this.fj=0),F(this.ki),this.Ef=!0)};b.prototype.Ze=function(){return 0===
this.count()};b.prototype.count=function(){return O?this.Ke.size:this.fj};var H=null,C=0;b.prototype.AB=function(){if(!this.Ef){if(O)F(this.ki),H=this.ki,C=0,this.Ke.forEach(r),H=null,C=0;else{var a=this.ki;F(a);var c,e=0,k=this.items;if(k)for(c in k)k.hasOwnProperty(c)&&(a[e++]=k[c])}this.Ef=!0}};b.prototype.pg=function(){this.AB();return this.ki};ca=b;new ca;bb=function(a,c){O?cb(a,c.Ke):db(a,c.pg())};cb=function(a,c){var e,k,d,y;k=e=0;for(d=a.length;e<d;++e)y=a[e],c.has(y)||(a[k++]=y);Ba(a,k)};
db=function(a,c){var e,k,d,y;k=e=0;for(d=a.length;e<d;++e)y=a[e],-1===Ea(c,y)&&(a[k++]=y);Ba(a,k)};p.prototype.add=function(a){this.y=a-this.Nn;this.Km=this.Ga+this.y;this.Nn=this.Km-this.Ga-this.y;this.Ga=this.Km};p.prototype.reset=function(){this.Ga=this.Km=this.y=this.Nn=0};eb=p;fb=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};q.prototype.di=function(a){this.eu=a;this.je=a.length/2;this.Yb.length=a.length;this.wk=this.xk=-1;this.Gr=0};q.prototype.Wf=function(){return!this.eu.length};
q.prototype.F=function(){for(var a=this.Yb,c=a[0],e=c,k=a[1],d=k,y,l,g=1,n=this.je;g<n;++g)l=2*g,y=a[l],l=a[l+1],y<c&&(c=y),y>e&&(e=y),l<k&&(k=l),l>d&&(d=l);this.sk=c;this.tk=e;this.uk=k;this.rk=d};q.prototype.Qj=function(a,c,e){this.Yb.length=8;this.je=4;var k=this.Yb;k[0]=a.left-c;k[1]=a.top-e;k[2]=a.right-c;k[3]=a.top-e;k[4]=a.right-c;k[5]=a.bottom-e;k[6]=a.left-c;k[7]=a.bottom-e;this.xk=a.right-a.left;this.wk=a.bottom-a.top;this.F()};q.prototype.ci=function(a,c,e,k,d){this.Yb.length=8;this.je=
4;var y=this.Yb;y[0]=a.W-c;y[1]=a.Ia-e;y[2]=a.ba-c;y[3]=a.ya-e;y[4]=a.Ta-c;y[5]=a.ca-e;y[6]=a.Va-c;y[7]=a.Sa-e;this.xk=k;this.wk=d;this.F()};q.prototype.uu=function(a){this.je=a.je;Ca(this.Yb,a.Yb);this.sk=a.sk;this.uk-a.uk;this.tk=a.tk;this.rk=a.rk};q.prototype.Df=function(a,c,e){if(this.xk!==a||this.wk!==c||this.Gr!==e){this.xk=a;this.wk=c;this.Gr=e;var k,d,y,l,g,n=0,t=1,u=this.eu,b=this.Yb;0!==e&&(n=Math.sin(e),t=Math.cos(e));e=0;for(y=this.je;e<y;e++)k=2*e,d=k+1,l=u[k]*a,g=u[d]*c,b[k]=l*t-g*n,
b[d]=g*t+l*n;this.F()}};q.prototype.ac=function(a,c){var e=this.Yb;if(a===e[0]&&c===e[1])return!0;var k,d,y,l=this.je,g=this.sk-110,n=this.uk-101,t=this.tk+131,u=this.rk+120,b,w,q=0,f=0;for(k=0;k<l;k++)d=2*k,y=(k+1)%l*2,b=e[d],d=e[d+1],w=e[y],y=e[y+1],va(g,n,a,c,b,d,w,y)&&q++,va(t,u,a,c,b,d,w,y)&&f++;return 1===q%2||1===f%2};q.prototype.Yi=function(a,c,e){var k=a.Yb,d=this.Yb;if(this.ac(k[0]+c,k[1]+e)||a.ac(d[0]-c,d[1]-e))return!0;var y,l,g,n,t,u,b,w,q,f,v,h;y=0;for(n=this.je;y<n;y++)for(l=2*y,g=
(y+1)%n*2,w=d[l],l=d[l+1],q=d[g],f=d[g+1],g=0,b=a.je;g<b;g++)if(t=2*g,u=(g+1)%b*2,v=k[t]+c,t=k[t+1]+e,h=k[u]+c,u=k[u+1]+e,va(w,l,q,f,v,t,h,u))return!0;return!1};kb=q;d.prototype.Dd=0;d.prototype.Pf=function(a,c,e){var k;k=this.cells[a];return k?(k=k[c])?k:e?(k=g(this,a,c),this.cells[a][c]=k):null:e?(k=g(this,a,c),this.cells[a]={},this.cells[a][c]=k):null};d.prototype.Gc=function(a){return ta(a/this.Sn)};d.prototype.Hc=function(a){return ta(a/this.Rn)};d.prototype.update=function(a,c,e){var k,l,y,
g,n;if(c)for(k=c.left,l=c.right;k<=l;++k)for(y=c.top,g=c.bottom;y<=g;++y)if(!e||!e.ac(k,y))if(n=this.Pf(k,y,!1))n.remove(a),n.Ze()&&(d.prototype.Dd--,n.ta.clear(),1E3>Q.length&&Q.push(n),this.cells[k][y]=null);if(e)for(k=e.left,l=e.right;k<=l;++k)for(y=e.top,g=e.bottom;y<=g;++y)c&&c.ac(k,y)||this.Pf(k,y,!0).Fo(a)};d.prototype.rm=function(a,c){var e,k,d,y,l,g;e=this.Gc(a.left);d=this.Hc(a.top);k=this.Gc(a.right);for(l=this.Hc(a.bottom);e<=k;++e)for(y=d;y<=l;++y)(g=this.Pf(e,y,!1))&&g.dump(c)};lb=d;
v.prototype.Pf=function(a,e,k){var d;d=this.cells[a];return d?(d=d[e])?d:k?(d=c(this,a,e),this.cells[a][e]=d):null:k?(d=c(this,a,e),this.cells[a]={},this.cells[a][e]=d):null};v.prototype.Gc=function(a){return ta(a/this.Sn)};v.prototype.Hc=function(a){return ta(a/this.Rn)};v.prototype.update=function(a,c,e){var k,d,y,l,g;if(c)for(k=c.left,d=c.right;k<=d;++k)for(y=c.top,l=c.bottom;y<=l;++y)if(!e||!e.ac(k,y))if(g=this.Pf(k,y,!1))g.remove(a),g.Ze()&&(g.reset(),1E3>E.length&&E.push(g),this.cells[k][y]=
null);if(e)for(k=e.left,d=e.right;k<=d;++k)for(y=e.top,l=e.bottom;y<=l;++y)c&&c.ac(k,y)||this.Pf(k,y,!0).Fo(a)};v.prototype.rm=function(a,c,e,k,d){var y,l;a=this.Gc(a);c=this.Hc(c);e=this.Gc(e);for(y=this.Hc(k);a<=e;++a)for(k=c;k<=y;++k)(l=this.Pf(a,k,!1))&&l.dump(d)};v.prototype.rA=function(a){var c,e,k,d,y;c=a.left;k=a.top;e=a.right;for(d=a.bottom;c<=e;++c)for(a=k;a<=d;++a)if(y=this.Pf(c,a,!1))y.Mh=!1};mb=v;var Q=[];a.prototype.Ze=function(){return this.ta.Ze()};a.prototype.Fo=function(a){this.ta.add(a)};
a.prototype.remove=function(a){this.ta.remove(a)};a.prototype.dump=function(a){Da(a,this.ta.pg())};ba=a;var E=[];e.prototype.Ze=function(){if(!this.ta.length)return!0;if(this.ta.length>this.Ie.count())return!1;this.fo();return!0};e.prototype.Fo=function(a){this.Ie.contains(a)?(this.Ie.remove(a),this.Ie.Ze()&&(this.Ai=!1)):this.ta.length?(this.ta[this.ta.length-1].De()>a.De()&&(this.Mh=!1),this.ta.push(a)):(this.ta.push(a),this.Mh=!0)};e.prototype.remove=function(a){this.Ie.add(a);this.Ai=!0;30<=this.Ie.count()&&
this.fo()};e.prototype.fo=function(){this.Ai&&(this.Ie.count()===this.ta.length?this.reset():(bb(this.ta,this.Ie),this.Ie.clear(),this.Ai=!1))};e.prototype.uy=function(){this.Mh||(this.ta.sort(l),this.Mh=!0)};e.prototype.reset=function(){F(this.ta);this.Mh=!0;this.Ie.clear();this.Ai=!1};e.prototype.dump=function(a){this.fo();this.uy();this.ta.length&&a.push(this.ta)};fa=e;var ha="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
nb=function(a){return 0>=a||11<=a?"source-over":ha[a-1]};ob=function(a,c,e){if(e)switch(a.tc=e.ONE,a.pc=e.ONE_MINUS_SRC_ALPHA,c){case 1:a.tc=e.ONE;a.pc=e.ONE;break;case 3:a.tc=e.ONE;a.pc=e.ZERO;break;case 4:a.tc=e.ONE_MINUS_DST_ALPHA;a.pc=e.ONE;break;case 5:a.tc=e.DST_ALPHA;a.pc=e.ZERO;break;case 6:a.tc=e.ZERO;a.pc=e.SRC_ALPHA;break;case 7:a.tc=e.ONE_MINUS_DST_ALPHA;a.pc=e.ZERO;break;case 8:a.tc=e.ZERO;a.pc=e.ONE_MINUS_SRC_ALPHA;break;case 9:a.tc=e.DST_ALPHA;a.pc=e.ONE_MINUS_SRC_ALPHA;break;case 10:a.tc=
e.ONE_MINUS_DST_ALPHA,a.pc=e.SRC_ALPHA}};pb=function(a){return Math.round(1E6*a)/1E6};qb=function(a,c){return"string"!==typeof a||"string"!==typeof c||a.length!==c.length?!1:a===c?!0:a.toLowerCase()===c.toLowerCase()};rb=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||qb(a.tagName,"canvas")?!0:!1}})();var vc="undefined"!==typeof Float32Array?Float32Array:Array;function wc(f){var m=new vc(3);f&&(m[0]=f[0],m[1]=f[1],m[2]=f[2]);return m}
function xc(f){var m=new vc(16);f&&(m[0]=f[0],m[1]=f[1],m[2]=f[2],m[3]=f[3],m[4]=f[4],m[5]=f[5],m[6]=f[6],m[7]=f[7],m[8]=f[8],m[9]=f[9],m[10]=f[10],m[11]=f[11],m[12]=f[12],m[13]=f[13],m[14]=f[14],m[15]=f[15]);return m}function yc(f,m){m[0]=f[0];m[1]=f[1];m[2]=f[2];m[3]=f[3];m[4]=f[4];m[5]=f[5];m[6]=f[6];m[7]=f[7];m[8]=f[8];m[9]=f[9];m[10]=f[10];m[11]=f[11];m[12]=f[12];m[13]=f[13];m[14]=f[14];m[15]=f[15]}
function zc(f,m){var h=m[0],b=m[1];m=m[2];f[0]*=h;f[1]*=h;f[2]*=h;f[3]*=h;f[4]*=b;f[5]*=b;f[6]*=b;f[7]*=b;f[8]*=m;f[9]*=m;f[10]*=m;f[11]*=m}
function Ac(f,m,h,b){b||(b=xc());var r,p,q,d,v,g,a,c,e=f[0],l=f[1];f=f[2];p=h[0];q=h[1];r=h[2];h=m[1];g=m[2];e===m[0]&&l===h&&f===g?(f=b,f[0]=1,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=1,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[10]=1,f[11]=0,f[12]=0,f[13]=0,f[14]=0,f[15]=1):(h=e-m[0],g=l-m[1],a=f-m[2],c=1/Math.sqrt(h*h+g*g+a*a),h*=c,g*=c,a*=c,m=q*a-r*g,r=r*h-p*a,p=p*g-q*h,(c=Math.sqrt(m*m+r*r+p*p))?(c=1/c,m*=c,r*=c,p*=c):p=r=m=0,q=g*p-a*r,d=a*m-h*p,v=h*r-g*m,(c=Math.sqrt(q*q+d*d+v*v))?(c=1/c,q*=c,d*=c,v*=c):v=d=q=0,
b[0]=m,b[1]=q,b[2]=h,b[3]=0,b[4]=r,b[5]=d,b[6]=g,b[7]=0,b[8]=p,b[9]=v,b[10]=a,b[11]=0,b[12]=-(m*e+r*l+p*f),b[13]=-(q*e+d*l+v*f),b[14]=-(h*e+g*l+a*f),b[15]=1)}
(function(){function f(d,b,g){this.be=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.cb=!!g;this.tl=this.$i=!1;this.Vn=0;this.cn=1;this.tq=1E3;this.KB=(this.tq-this.cn)/32768;this.On=wc([0,0,100]);this.Ws=wc([0,0,0]);this.Ou=wc([0,1,0]);this.fk=wc([1,1,1]);this.Tr=!0;this.Rl=xc();this.qd=xc();this.Zo=xc();this.Nk=xc();this.P=d;this.vs()}function m(d,b,g){this.P=d;this.Rj=b;this.name=g;this.Vm=d.getUniformLocation(b,"uColor");this.Cc=d.getAttribLocation(b,
"aPos");this.Zf=d.getAttribLocation(b,"aTex");this.Ss=d.getUniformLocation(b,"matP");this.rj=d.getUniformLocation(b,"matMV");this.Sh=d.getUniformLocation(b,"opacity");this.fp=d.getUniformLocation(b,"colorFill");this.Ts=d.getUniformLocation(b,"samplerFront");this.sj=d.getUniformLocation(b,"samplerBack");this.Xg=d.getUniformLocation(b,"destStart");this.Wg=d.getUniformLocation(b,"destEnd");this.uj=d.getUniformLocation(b,"seconds");this.hp=d.getUniformLocation(b,"pixelWidth");this.gp=d.getUniformLocation(b,
"pixelHeight");this.qj=d.getUniformLocation(b,"layerScale");this.pj=d.getUniformLocation(b,"layerAngle");this.vj=d.getUniformLocation(b,"viewOrigin");this.tj=d.getUniformLocation(b,"scrollPos");this.Mz=!!(this.hp||this.gp||this.uj||this.sj||this.Xg||this.Wg||this.qj||this.pj||this.vj||this.tj);this.et=this.ft=-999;this.Ol=1;this.$s=this.Zs=0;this.ct=this.Ys=this.Xs=1;this.it=this.ht=this.gt=this.kt=this.jt=this.bt=0;this.Yo=[];this.dt=xc();this.Sh&&d.uniform1f(this.Sh,1);this.fp&&d.uniform4f(this.fp,
1,1,1,1);this.Ts&&d.uniform1i(this.Ts,0);this.sj&&d.uniform1i(this.sj,1);this.Xg&&d.uniform2f(this.Xg,0,0);this.Wg&&d.uniform2f(this.Wg,1,1);this.qj&&d.uniform1f(this.qj,1);this.pj&&d.uniform1f(this.pj,0);this.vj&&d.uniform2f(this.vj,0,0);this.tj&&d.uniform2f(this.tj,0,0);this.uj&&d.uniform1f(this.uj,0);this.Vm&&d.uniform4fv(this.Vm,[.8,.3,0,1]);this.Ye=!1}function h(d,b){return d[0]===b[0]&&d[1]===b[1]&&d[2]===b[2]&&d[3]===b[3]&&d[4]===b[4]&&d[5]===b[5]&&d[6]===b[6]&&d[7]===b[7]&&d[8]===b[8]&&d[9]===
b[9]&&d[10]===b[10]&&d[11]===b[11]&&d[12]===b[12]&&d[13]===b[13]&&d[14]===b[14]&&d[15]===b[15]}function b(d,b){this.type=d;this.H=b;this.P=b.P;this.Zd=this.uc=this.Mt=0;this.Ba=this.nA=this.Nd=null;this.vu=[]}var r=xc();f.prototype.vs=function(){var d=this.P,b;this.Ks=1;this.Ng=this.Yf=null;this.Ok=1;d.clearColor(0,0,0,0);d.clear(d.COLOR_BUFFER_BIT);d.enable(d.BLEND);d.blendFunc(d.ONE,d.ONE_MINUS_SRC_ALPHA);d.disable(d.CULL_FACE);d.disable(d.STENCIL_TEST);d.disable(d.DITHER);this.cb?(d.enable(d.DEPTH_TEST),
d.depthFunc(d.LEQUAL)):d.disable(d.DEPTH_TEST);this.Ms=d.ONE;this.Js=d.ONE_MINUS_SRC_ALPHA;this.an=new Float32Array(8E3*(this.cb?3:2));this.Mm=new Float32Array(16E3);this.au=new Float32Array(32E3);this.Dp=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,this.Dp);d.bufferData(d.ARRAY_BUFFER,this.au.byteLength,d.DYNAMIC_DRAW);this.Il=Array(4);for(b=0;4>b;b++)this.Il[b]=d.createBuffer(),d.bindBuffer(d.ARRAY_BUFFER,this.Il[b]);this.ek=Array(4);this.Vj=Array(4);for(b=0;4>b;b++)this.ek[b]=d.createBuffer(),
d.bindBuffer(d.ARRAY_BUFFER,this.ek[b]),d.bufferData(d.ARRAY_BUFFER,this.an.byteLength,d.DYNAMIC_DRAW),this.Vj[b]=d.createBuffer(),d.bindBuffer(d.ARRAY_BUFFER,this.Vj[b]),d.bufferData(d.ARRAY_BUFFER,this.Mm.byteLength,d.DYNAMIC_DRAW);this.Yd=0;this.Sz=d.createBuffer();d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,this.Sz);this.mA=new Float32Array(16E3);for(var g=new Uint16Array(12E3),a=b=0;12E3>b;)g[b++]=a,g[b++]=a+1,g[b++]=a+2,g[b++]=a,g[b++]=a+2,g[b++]=a+3,a+=4;d.bufferData(d.ELEMENT_ARRAY_BUFFER,g,d.STATIC_DRAW);
this.dp=this.Ep=this.ii=this.vf=0;this.Fb=[];b=this.cb?"attribute highp vec3 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, aPos.z, 1.0);\n\tvTex = aTex;\n}":"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}";
g=this.Kk({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}"},b,"<default>");this.Fb.push(g);g=this.Kk({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.Fb.push(g);g=this.Kk({src:"precision mediump float;\nuniform vec4 uColor;\nvoid main() {\n\t\tgl_FragColor = uColor;\n}"},"attribute highp vec2 aPos;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main() {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n}","<line>");this.Fb.push(g);for(var c in Bc)Bc.hasOwnProperty(c)&&this.Fb.push(this.Kk(Bc[c],b,c));d.activeTexture(d.TEXTURE0);d.bindTexture(d.TEXTURE_2D,null);this.Af=[];this.Pe=0;this.qc=!1;this.Nr=this.ij=
-1;this.Ae=null;this.eo=d.createFramebuffer();this.Sk=this.xm=null;this.Ar=!1;this.cb&&(this.Sk=d.createRenderbuffer());this.mg=wc([0,0,0]);this.mt=d.getParameter(d.ALIASED_POINT_SIZE_RANGE)[1];2048<this.mt&&(this.mt=2048);this.Lc(0)};m.prototype.Xm=function(d){h(this.dt,d)||(yc(d,this.dt),this.P.uniformMatrix4fv(this.rj,!1,d))};f.prototype.Kk=function(d,b,g){var a=this.P,c=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(c,d.src);a.compileShader(c);if(!a.getShaderParameter(c,a.COMPILE_STATUS))return a.deleteShader(c),
null;var e=a.createShader(a.VERTEX_SHADER);a.shaderSource(e,b);a.compileShader(e);if(!a.getShaderParameter(e,a.COMPILE_STATUS))return a.deleteShader(c),a.deleteShader(e),null;b=a.createProgram();a.attachShader(b,c);a.attachShader(b,e);a.linkProgram(b);if(!a.getProgramParameter(b,a.LINK_STATUS))return a.deleteShader(c),a.deleteShader(e),a.deleteProgram(b),null;a.useProgram(b);a.deleteShader(c);a.deleteShader(e);g=new m(a,b,g);g.ao=d.ao||0;g.bo=d.bo||0;g.Mr=!!d.Mr;g.he=!!d.he;g.xr=!!d.xr;g.xa=d.xa||
[];d=0;for(c=g.xa.length;d<c;d++)g.xa[d][1]=a.getUniformLocation(b,g.xa[d][0]),g.Yo.push(0),a.uniform1f(g.xa[d][1],0);return g};f.prototype.wo=function(d){var b,g;b=0;for(g=this.Fb.length;b<g;b++)if(this.Fb[b].name===d)return b;return-1};f.prototype.cu=function(d,b,g){var a=this.qd,c=this.Rl,e=[0,0,0,0,0,0,0,0];e[0]=a[0]*d+a[4]*b+a[12];e[1]=a[1]*d+a[5]*b+a[13];e[2]=a[2]*d+a[6]*b+a[14];e[3]=a[3]*d+a[7]*b+a[15];e[4]=c[0]*e[0]+c[4]*e[1]+c[8]*e[2]+c[12]*e[3];e[5]=c[1]*e[0]+c[5]*e[1]+c[9]*e[2]+c[13]*e[3];
e[6]=c[2]*e[0]+c[6]*e[1]+c[10]*e[2]+c[14]*e[3];e[7]=-e[2];0!==e[7]&&(e[7]=1/e[7],e[4]*=e[7],e[5]*=e[7],e[6]*=e[7],g[0]=(.5*e[4]+.5)*this.width,g[1]=(.5*e[5]+.5)*this.height)};f.prototype.nf=function(d,b,g){if(this.width!==d||this.height!==b||g){this.Lf();g=this.P;this.width=d;this.height=b;g.viewport(0,0,d,b);Ac(this.On,this.Ws,this.Ou,this.qd);if(this.cb){var a=-d/2;d=d/2;var c=b/2;b=-b/2;var e=this.cn,l=this.tq,n=this.Rl;n||(n=xc());var t=d-a,w=b-c,k=l-e;n[0]=2/t;n[1]=0;n[2]=0;n[3]=0;n[4]=0;n[5]=
2/w;n[6]=0;n[7]=0;n[8]=0;n[9]=0;n[10]=-2/k;n[11]=0;n[12]=-(a+d)/t;n[13]=-(b+c)/w;n[14]=-(l+e)/k;n[15]=1;this.fk[0]=1;this.fk[1]=1}else b=d/b,a=this.cn,d=this.tq,n=this.Rl,l=a*Math.tan(45*Math.PI/360),b*=l,c=-b,e=-l,n||(n=xc()),t=b-c,w=l-e,k=d-a,n[0]=2*a/t,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=2*a/w,n[6]=0,n[7]=0,n[8]=(b+c)/t,n[9]=(l+e)/w,n[10]=-(d+a)/k,n[11]=-1,n[12]=0,n[13]=0,n[14]=-(d*a*2)/k,n[15]=0,a=[0,0],d=[0,0],this.cu(0,0,a),this.cu(1,1,d),this.fk[0]=1/(d[0]-a[0]),this.fk[1]=-1/(d[1]-a[1]);a=0;
for(d=this.Fb.length;a<d;a++)c=this.Fb[a],c.Ye=!1,c.Ss&&(g.useProgram(c.Rj),g.uniformMatrix4fv(c.Ss,!1,this.Rl));g.useProgram(this.Fb[this.ij].Rj);g.bindTexture(g.TEXTURE_2D,null);g.activeTexture(g.TEXTURE1);g.bindTexture(g.TEXTURE_2D,null);g.activeTexture(g.TEXTURE0);this.Ng=this.Yf=null;this.Sk&&(g.bindFramebuffer(g.FRAMEBUFFER,this.eo),g.bindRenderbuffer(g.RENDERBUFFER,this.Sk),g.renderbufferStorage(g.RENDERBUFFER,g.DEPTH_COMPONENT16,this.width,this.height),this.Ar||(g.framebufferRenderbuffer(g.FRAMEBUFFER,
g.DEPTH_ATTACHMENT,g.RENDERBUFFER,this.Sk),this.Ar=!0),g.bindRenderbuffer(g.RENDERBUFFER,null),g.bindFramebuffer(g.FRAMEBUFFER,null),this.xm=null)}};f.prototype.Kd=function(){Ac(this.On,this.Ws,this.Ou,this.qd);zc(this.qd,this.fk)};f.prototype.translate=function(d,b){if(0!==d||0!==b){this.mg[0]=d;this.mg[1]=b;this.mg[2]=0;var g=this.qd,a=this.mg,c=a[0],e=a[1],a=a[2];g[12]=g[0]*c+g[4]*e+g[8]*a+g[12];g[13]=g[1]*c+g[5]*e+g[9]*a+g[13];g[14]=g[2]*c+g[6]*e+g[10]*a+g[14];g[15]=g[3]*c+g[7]*e+g[11]*a+g[15]}};
f.prototype.scale=function(d,b){if(1!==d||1!==b)this.mg[0]=d,this.mg[1]=b,this.mg[2]=1,zc(this.qd,this.mg)};f.prototype.Am=function(d){if(0!==d){var b=this.qd,g,a=Math.sin(d);d=Math.cos(d);var c=b[0],e=b[1],l=b[2],n=b[3],t=b[4],w=b[5],k=b[6],u=b[7];g?b!==g&&(g[8]=b[8],g[9]=b[9],g[10]=b[10],g[11]=b[11],g[12]=b[12],g[13]=b[13],g[14]=b[14],g[15]=b[15]):g=b;g[0]=c*d+t*a;g[1]=e*d+w*a;g[2]=l*d+k*a;g[3]=n*d+u*a;g[4]=c*-a+t*d;g[5]=e*-a+w*d;g[6]=l*-a+k*d;g[7]=n*-a+u*d}};f.prototype.xd=function(){if(!h(this.Zo,
this.qd)){var d=this.cd();d.type=5;d.Ba?yc(this.qd,d.Ba):d.Ba=xc(this.qd);yc(this.qd,this.Zo);this.qc=!1}};f.prototype.Em=function(d){this.cb&&(32760<d&&(d=32760),this.Vn=this.On[2]-this.cn-d*this.KB)};b.prototype.Zx=function(){var d=this.P,b=this.H;0!==this.uc?(d.depthMask(!0),d.colorMask(!1,!1,!1,!1),d.disable(d.BLEND),d.bindFramebuffer(d.FRAMEBUFFER,b.eo),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,null,0),d.clear(d.DEPTH_BUFFER_BIT),d.bindFramebuffer(d.FRAMEBUFFER,null),
b.tl=!0):(d.depthMask(!1),d.colorMask(!0,!0,!0,!0),d.enable(d.BLEND),b.tl=!1)};b.prototype.ey=function(){this.P.bindTexture(this.P.TEXTURE_2D,this.Nd)};b.prototype.fy=function(){var d=this.P;d.activeTexture(d.TEXTURE1);d.bindTexture(d.TEXTURE_2D,this.Nd);d.activeTexture(d.TEXTURE0)};b.prototype.ay=function(){var d=this.Mt,b=this.H;b.Ok=d;b=b.Ae;b.Sh&&b.Ol!==d&&(b.Ol=d,this.P.uniform1f(b.Sh,d))};b.prototype.$x=function(){var d=this.nA.replace(/[^\d,]/g,"").split(",");this.H.Ae.Vm&&this.P.uniform4fv(this.H.Ae.Vm,
[parseInt(d[0])/255,parseInt(d[1])/255,parseInt(d[2])/255,1])};b.prototype.Ux=function(){this.P.drawElements(this.P.TRIANGLES,this.Zd,this.P.UNSIGNED_SHORT,this.uc)};b.prototype.Sx=function(){var d=this.P,b=this.H,g=b.Ae;!g.Ye&&g.rj&&(g.Xm(b.Nk),g.Ye=!0);d.enableVertexAttribArray(g.Cc);d.bindBuffer(d.ARRAY_BUFFER,b.Il[b.Yd]);d.vertexAttribPointer(g.Cc,2,d.FLOAT,!1,0,0);d.drawArrays(d.LINES,this.uc/2,this.Zd)};b.prototype.Wx=function(){this.P.blendFunc(this.uc,this.Zd)};b.prototype.gy=function(){var d,
b,g,a=this.H.Fb,c=this.H.Nr;d=0;for(b=a.length;d<b;d++)g=a[d],d===c&&g.rj?(g.Xm(this.Ba),g.Ye=!0):g.Ye=!1;yc(this.Ba,this.H.Nk)};b.prototype.Vx=function(){var d=this.P,b=this.H;this.Nd?(b.Ng===this.Nd&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,null),b.Ng=null,d.activeTexture(d.TEXTURE0)),d.bindFramebuffer(d.FRAMEBUFFER,b.eo),b.tl||d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,this.Nd,0)):(b.cb||d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,
null,0),d.bindFramebuffer(d.FRAMEBUFFER,null))};b.prototype.Rx=function(){var d=this.P,b=this.uc;0===b?(d.clearColor(this.Ba[0],this.Ba[1],this.Ba[2],this.Ba[3]),d.clear(d.COLOR_BUFFER_BIT)):1===b?(d.enable(d.SCISSOR_TEST),d.scissor(this.Ba[0],this.Ba[1],this.Ba[2],this.Ba[3]),d.clearColor(0,0,0,0),d.clear(d.COLOR_BUFFER_BIT),d.disable(d.SCISSOR_TEST)):d.clear(d.DEPTH_BUFFER_BIT)};b.prototype.Yx=function(){var d=this.P;0!==this.uc?d.enable(d.DEPTH_TEST):d.disable(d.DEPTH_TEST)};b.prototype.Tx=function(){var d=
this.P,b=this.H;b.cb&&d.disable(d.DEPTH_TEST);var g=b.Fb[1];d.useProgram(g.Rj);!g.Ye&&g.rj&&(g.Xm(b.Nk),g.Ye=!0);d.enableVertexAttribArray(g.Cc);d.bindBuffer(d.ARRAY_BUFFER,b.Dp);d.vertexAttribPointer(g.Cc,4,d.FLOAT,!1,0,0);d.drawArrays(d.POINTS,this.uc/4,this.Zd);g=b.Ae;d.useProgram(g.Rj);0<=g.Cc&&(d.enableVertexAttribArray(g.Cc),d.bindBuffer(d.ARRAY_BUFFER,b.ek[b.Yd]),d.vertexAttribPointer(g.Cc,b.cb?3:2,d.FLOAT,!1,0,0));0<=g.Zf&&(d.enableVertexAttribArray(g.Zf),d.bindBuffer(d.ARRAY_BUFFER,b.Vj[b.Yd]),
d.vertexAttribPointer(g.Zf,2,d.FLOAT,!1,0,0));b.cb&&d.enable(d.DEPTH_TEST)};b.prototype.by=function(){var d=this.P,b=this.H,g=b.Fb[this.uc];b.Nr=this.uc;b.Ae=g;d.useProgram(g.Rj);!g.Ye&&g.rj&&(g.Xm(b.Nk),g.Ye=!0);g.Sh&&g.Ol!==b.Ok&&(g.Ol=b.Ok,d.uniform1f(g.Sh,b.Ok));0<=g.Cc&&(d.enableVertexAttribArray(g.Cc),d.bindBuffer(d.ARRAY_BUFFER,b.ek[b.Yd]),d.vertexAttribPointer(g.Cc,b.cb?3:2,d.FLOAT,!1,0,0));0<=g.Zf&&(d.enableVertexAttribArray(g.Zf),d.bindBuffer(d.ARRAY_BUFFER,b.Vj[b.Yd]),d.vertexAttribPointer(g.Zf,
2,d.FLOAT,!1,0,0))};b.prototype.Xx=function(){var d=this.Ba;this.P.uniform4f(this.H.Ae.fp,d[0],d[1],d[2],d[3])};b.prototype.cy=function(){var d,b,g=this.H.Ae,a=this.P;d=this.Ba;g.sj&&this.H.Ng!==this.Nd&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,this.Nd),this.H.Ng=this.Nd,a.activeTexture(a.TEXTURE0));var c=d[0];g.hp&&c!==g.ft&&(g.ft=c,a.uniform1f(g.hp,c));c=d[1];g.gp&&c!==g.et&&(g.et=c,a.uniform1f(g.gp,c));c=d[2];b=d[3];!g.Xg||c===g.Zs&&b===g.$s||(g.Zs=c,g.$s=b,a.uniform2f(g.Xg,c,b));
c=d[4];b=d[5];!g.Wg||c===g.Xs&&b===g.Ys||(g.Xs=c,g.Ys=c,a.uniform2f(g.Wg,c,b));c=d[6];g.qj&&c!==g.ct&&(g.ct=c,a.uniform1f(g.qj,c));c=d[7];g.pj&&c!==g.bt&&(g.bt=c,a.uniform1f(g.pj,c));c=d[8];b=d[9];!g.vj||c===g.jt&&b===g.kt||(g.jt=c,g.kt=b,a.uniform2f(g.vj,c,b));c=d[10];b=d[11];!g.tj||c===g.gt&&b===g.ht||(g.gt=c,g.ht=b,a.uniform2f(g.tj,c,b));c=d[12];g.uj&&c!==g.it&&(g.it=c,a.uniform1f(g.uj,c));if(g.xa.length)for(d=0,b=g.xa.length;d<b;d++)c=this.vu[d],c!==g.Yo[d]&&(g.Yo[d]=c,a.uniform1f(g.xa[d][1],
c))};f.prototype.cd=function(){this.Pe===this.Af.length&&this.Af.push(new b(0,this));return this.Af[this.Pe++]};f.prototype.Lf=function(){if(0!==this.Pe&&!this.P.isContextLost()){var d=this.P;0<this.Ep&&(d.bindBuffer(d.ARRAY_BUFFER,this.Dp),d.bufferSubData(d.ARRAY_BUFFER,0,this.au.subarray(0,this.Ep)),b&&0<=b.Cc&&"<point>"===b.name&&d.vertexAttribPointer(b.Cc,4,d.FLOAT,!1,0,0));if(0<this.vf){var b=this.Ae;d.bindBuffer(d.ARRAY_BUFFER,this.ek[this.Yd]);d.bufferSubData(d.ARRAY_BUFFER,0,this.an.subarray(0,
this.vf));b&&0<=b.Cc&&"<point>"!==b.name&&d.vertexAttribPointer(b.Cc,this.cb?3:2,d.FLOAT,!1,0,0);d.bindBuffer(d.ARRAY_BUFFER,this.Vj[this.Yd]);d.bufferSubData(d.ARRAY_BUFFER,0,this.Mm.subarray(0,this.ii));b&&0<=b.Zf&&"<point>"!==b.name&&d.vertexAttribPointer(b.Zf,2,d.FLOAT,!1,0,0)}0<this.dp&&(b=this.Ae,d.bindBuffer(d.ARRAY_BUFFER,this.Il[this.Yd]),d.bufferData(d.ARRAY_BUFFER,this.mA.subarray(0,this.dp),d.STREAM_DRAW),b&&0<=b.Cc&&"<line>"===b.name&&d.vertexAttribPointer(b.Cc,2,d.FLOAT,!1,0,0));for(var g,
d=0,b=this.Pe;d<b;d++)switch(g=this.Af[d],g.type){case 1:g.Ux();break;case 12:g.Sx();break;case 2:g.ey();break;case 3:g.ay();break;case 4:g.Wx();break;case 5:g.gy();break;case 6:g.Vx();break;case 7:g.Rx();break;case 8:g.Tx();break;case 9:g.by();break;case 10:g.cy();break;case 11:g.fy();break;case 14:g.Xx();break;case 15:g.Yx();break;case 16:g.Zx();break;case 13:g.$x()}this.dp=this.Ep=this.ii=this.vf=this.Pe=0;this.tl=this.qc=!1;this.Yd++;4<=this.Yd&&(this.Yd=0)}};f.prototype.gg=function(d){if(d!==
this.Ks&&!this.$i){var b=this.cd();b.type=3;this.Ks=b.Mt=d;this.qc=!1}};f.prototype.Fc=function(d){if(d!==this.Yf){var b=this.cd();b.type=2;this.Yf=b.Nd=d;this.qc=!1}};f.prototype.eg=function(d,b){if((d!==this.Ms||b!==this.Js)&&!this.$i){var g=this.cd();g.type=4;g.uc=d;g.Zd=b;this.Ms=d;this.Js=b;this.qc=!1}};f.prototype.nu=function(){this.eg(this.P.ONE,this.P.ONE_MINUS_SRC_ALPHA)};f.prototype.ag=function(d,b,g,a,c,e,l,n){15992<=this.vf&&this.Lf();var t=this.vf,w=this.ii,k=this.an,u=this.Mm,q=this.Vn;
if(this.qc)this.Af[this.Pe-1].Zd+=6;else{var f=this.cd();f.type=1;f.uc=this.cb?t:t/2*3;f.Zd=6;this.qc=!0}this.cb?(k[t++]=d,k[t++]=b,k[t++]=q,k[t++]=g,k[t++]=a,k[t++]=q,k[t++]=c,k[t++]=e,k[t++]=q,k[t++]=l,k[t++]=n,k[t++]=q):(k[t++]=d,k[t++]=b,k[t++]=g,k[t++]=a,k[t++]=c,k[t++]=e,k[t++]=l,k[t++]=n);u[w++]=0;u[w++]=0;u[w++]=1;u[w++]=0;u[w++]=1;u[w++]=1;u[w++]=0;u[w++]=1;this.vf=t;this.ii=w};f.prototype.Jc=function(d,b,g,a,c,e,l,n,t){15992<=this.vf&&this.Lf();var w=this.vf,k=this.ii,u=this.an,q=this.Mm,
f=this.Vn;if(this.qc)this.Af[this.Pe-1].Zd+=6;else{var h=this.cd();h.type=1;h.uc=this.cb?w:w/2*3;h.Zd=6;this.qc=!0}var h=t.left,p=t.top,m=t.right;t=t.bottom;this.cb?(u[w++]=d,u[w++]=b,u[w++]=f,u[w++]=g,u[w++]=a,u[w++]=f,u[w++]=c,u[w++]=e,u[w++]=f,u[w++]=l,u[w++]=n,u[w++]=f):(u[w++]=d,u[w++]=b,u[w++]=g,u[w++]=a,u[w++]=c,u[w++]=e,u[w++]=l,u[w++]=n);q[k++]=h;q[k++]=p;q[k++]=m;q[k++]=p;q[k++]=m;q[k++]=t;q[k++]=h;q[k++]=t;this.vf=w;this.ii=k};f.prototype.Lc=function(d){if(this.ij!==d){if(!this.Fb[d]){if(0===
this.ij)return;d=0}var b=this.cd();b.type=9;this.ij=b.uc=d;this.qc=!1}};f.prototype.Gj=function(d){d=this.Fb[d];return!(!d.Xg&&!d.Wg)};f.prototype.Hp=function(d){d=this.Fb[d];return!!(d.Xg||d.Wg||d.Mr)};f.prototype.Gp=function(d){return this.Fb[d].he};f.prototype.NA=function(d){d=this.Fb[d];return 0!==d.ao||0!==d.bo};f.prototype.pz=function(d){return this.Fb[d].ao};f.prototype.qz=function(d){return this.Fb[d].bo};f.prototype.rz=function(d,b){return this.Fb[d].xa[b][2]};f.prototype.om=function(d){return this.Fb[d].xr};
f.prototype.bi=function(d,b,g,a,c,e,l,n,t,w,k,u,q,f,h){var p=this.Fb[this.ij],m,r;if(p.Mz||h.length){m=this.cd();m.type=10;m.Ba?yc(this.qd,m.Ba):m.Ba=xc();r=m.Ba;r[0]=b;r[1]=g;r[2]=a;r[3]=c;r[4]=e;r[5]=l;r[6]=n;r[7]=t;r[8]=w;r[9]=k;r[10]=u;r[11]=q;r[12]=f;p.sj?m.Nd=d:m.Nd=null;if(h.length)for(g=m.vu,g.length=h.length,d=0,b=h.length;d<b;d++)g[d]=h[d];this.qc=!1}};f.prototype.clear=function(d,b,g,a){var c=this.cd();c.type=7;c.uc=0;c.Ba||(c.Ba=xc());c.Ba[0]=d;c.Ba[1]=b;c.Ba[2]=g;c.Ba[3]=a;this.qc=!1};
f.prototype.clearRect=function(d,b,g,a){if(!(0>g||0>a)){var c=this.cd();c.type=7;c.uc=1;c.Ba||(c.Ba=xc());c.Ba[0]=d;c.Ba[1]=b;c.Ba[2]=g;c.Ba[3]=a;this.qc=!1}};f.prototype.qu=function(d){if(this.cb&&(d=!!d,this.$i!==d)){var b=this.cd();b.type=16;b.uc=d?1:0;this.qc=!1;this.$i=d;this.xm=null;this.$i?this.Lc(2):this.Lc(0)}};f.prototype.pu=function(d){if(this.cb){var b=this.cd();b.type=15;b.uc=d?1:0;this.qc=!1}};f.prototype.as=function(){yc(this.Zo,r);this.Kd();this.xd();var d=this.width/2,b=this.height/
2;this.ag(-d,b,d,b,d,-b,-d,-b);yc(r,this.qd);this.xd()};f.prototype.ou=function(d,b,g){this.Lc(3);var a=this.cd();a.type=14;a.Ba||(a.Ba=xc());a.Ba[0]=d;a.Ba[1]=b;a.Ba[2]=g;a.Ba[3]=1;this.qc=!1};f.prototype.pB=function(){this.Lc(0)};f.prototype.$A=function(){this.Lc(2)};f.prototype.MA=function(){this.Lf();this.P.flush()};var p=[],q={};f.prototype.Jx=function(){F(p);q={}};f.prototype.Ug=function(d,b,g,a){b=!!b;g=!!g;var c=d.src+","+b+","+g+(b?",undefined":""),e=null;if("undefined"!==typeof d.src&&q.hasOwnProperty(c))return e=
q[c],e.vk++,e;this.Lf();var l=this.P,n=na(d.width)&&na(d.height),e=l.createTexture();l.bindTexture(l.TEXTURE_2D,e);l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var t=l.RGBA,w=l.RGBA,k=l.UNSIGNED_BYTE;if(a&&!this.be)switch(a){case 1:w=t=l.RGB;break;case 2:k=l.UNSIGNED_SHORT_4_4_4_4;break;case 3:k=l.UNSIGNED_SHORT_5_5_5_1;break;case 4:w=t=l.RGB,k=l.UNSIGNED_SHORT_5_6_5}if(!n&&b){a=document.createElement("canvas");a.width=oa(d.width);a.height=oa(d.height);var u=a.getContext("2d");u.webkitImageSmoothingEnabled=
g;u.mozImageSmoothingEnabled=g;u.msImageSmoothingEnabled=g;u.imageSmoothingEnabled=g;u.drawImage(d,0,0,d.width,d.height,0,0,a.width,a.height);l.texImage2D(l.TEXTURE_2D,0,t,w,k,a)}else l.texImage2D(l.TEXTURE_2D,0,t,w,k,d);b?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.REPEAT),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.REPEAT)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE));g?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,
l.LINEAR),n&&this.Tr?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR_MIPMAP_LINEAR),l.generateMipmap(l.TEXTURE_2D)):l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,l.NEAREST),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.NEAREST));l.bindTexture(l.TEXTURE_2D,null);this.Yf=null;e.Cf=d.width;e.Bf=d.height;e.vk=1;e.Fr=c;p.push(e);return q[c]=e};f.prototype.fd=function(d,b,g,a){this.Lf();var c=this.P;this.be&&(a=!1);var e=
c.createTexture();c.bindTexture(c.TEXTURE_2D,e);c.texImage2D(c.TEXTURE_2D,0,c.RGBA,d,b,0,c.RGBA,a?c.UNSIGNED_SHORT_4_4_4_4:c.UNSIGNED_BYTE,null);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,g?c.LINEAR:c.NEAREST);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,g?c.LINEAR:c.NEAREST);c.bindTexture(c.TEXTURE_2D,null);this.Yf=null;e.Cf=d;e.Bf=b;p.push(e);return e};f.prototype.GB=
function(d,b,g){this.Lf();var a=this.P;this.be&&(g=!1);a.bindTexture(a.TEXTURE_2D,b);a.pixelStorei(a.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);try{a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,g?a.UNSIGNED_SHORT_4_4_4_4:a.UNSIGNED_BYTE,d)}catch(c){console&&console.error&&console.error("Error updating WebGL texture: ",c)}a.bindTexture(a.TEXTURE_2D,null);this.Yf=null};f.prototype.deleteTexture=function(d){d&&("undefined"!==typeof d.vk&&1<d.vk?d.vk--:(this.Lf(),d===this.Yf&&(this.P.bindTexture(this.P.TEXTURE_2D,
null),this.Yf=null),d===this.Ng&&(this.P.activeTexture(this.P.TEXTURE1),this.P.bindTexture(this.P.TEXTURE_2D,null),this.P.activeTexture(this.P.TEXTURE0),this.Ng=null),Fa(p,d),"undefined"!==typeof d.Fr&&delete q[d.Fr],this.P.deleteTexture(d)))};f.prototype.vy=function(){var d=this.width*this.height*8,b,g,a;b=0;for(g=p.length;b<g;b++)a=p[b],d+=a.Cf*a.Bf*4;return d};f.prototype.Ld=function(d){if(d!==this.xm){var b=this.cd();b.type=6;this.xm=b.Nd=d;this.qc=!1}};xb=f})();
(function(){function f(){return"undefined"!==typeof jQuery?jQuery(window).width():window.innerWidth}function m(){return"undefined"!==typeof jQuery?jQuery(window).height():window.innerHeight}function h(a){this.Hs=!1;if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var c=this;this.Tc=(this.Zi=/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.ic=!!a.dc;this.As="undefined"!==typeof window.AppMobi||this.ic;this.md=!!window.c2cocoonjs;this.ae=!!window.c2ejecta;this.md&&(CocoonJS.App.onSuspended.addEventListener(function(){c.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){c.setSuspended(!1)}));this.ae&&(document.addEventListener("pagehide",function(){c.setSuspended(!0)}),document.addEventListener("pageshow",
function(){c.setSuspended(!1)}),document.addEventListener("resize",function(){c.setSize(window.innerWidth,window.innerHeight)}));this.Ua=this.ic||this.md||this.ae;this.aj=/edge\//i.test(navigator.userAgent);this.be=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.aj;this.Es=/tizen/i.test(navigator.userAgent);this.Hh=/android/i.test(navigator.userAgent)&&!this.Es&&!this.be&&!this.aj;this.$z=/Nexus/i.test(navigator.userAgent);this.Al=
(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.be&&!this.aj;this.Wo=/ipad/i.test(navigator.userAgent);this.$e=this.Al||this.Wo||this.ae;this.fA=this.Al&&/os\s6/i.test(navigator.userAgent);this.gA=this.Al&&/os\s9/i.test(navigator.userAgent);this.Hg=(/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent)||/CriOS/i.test(navigator.userAgent))&&!this.be&&!this.aj;this.Ko=/amazonwebappplatform/i.test(navigator.userAgent);this.Xz=/firefox/i.test(navigator.userAgent);
this.Ro=/safari/i.test(navigator.userAgent)&&!this.Hg&&!this.be&&!this.aj;this.bA=/windows/i.test(navigator.userAgent);this.Sf="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.xl=/Windows Phone/i.test(navigator.userAgent)||/Lumia/i.test(navigator.userAgent);this.kr=8;if(this.xl)for(var e=navigator.userAgent.indexOf("Windows Phone"),e=navigator.userAgent.substring(e,100>navigator.userAgent.length?
navigator.userAgent.length:100),e=e.split(" "),k=0;k<e.length;k++)if(!isNaN(parseInt(e[k]))){this.kr=parseInt(e[k]);break}if(this.Hh)for(e=navigator.userAgent.indexOf("Android"),e=navigator.userAgent.substring(e+7+1,e+7+6),e=e=e.split("."),k=0;k<e.length;k++);if(this.Hh)for(e=navigator.userAgent.indexOf("Android"),e=navigator.userAgent.substring(e+7+1,e+7+6),e=e=e.split("."),k=0;k<e.length;k++);this.Gs=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.dA=!("undefined"===typeof window.c2isWindows8Capable||
!window.c2isWindows8Capable);this.Lg=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.So=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Fs=!!window.cr_windows10;this.wl=this.Gs||this.dA||this.So||this.Fs;this.Wz=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.sl=this.Hh&&!this.Hg&&!this.Zi&&!this.Xz&&!this.Ko&&!this.Ua;this.devicePixelRatio=1;this.Ac=this.xl&&10>this.kr;this.de=this.Tc||this.Zi||this.As||
this.md||this.Hh||this.$e||this.Lg||this.So||/Lumia/i.test(navigator.userAgent)||this.Wz||this.Es||this.ae;this.Fq=/ASUS/i.test(navigator.userAgent)&&/Version\//i.test(navigator.userAgent);this.Vf=/ASUS/i.test(navigator.userAgent)&&/Version\//i.test(navigator.userAgent);this.Hq=/Huawei/i.test(navigator.userAgent);this.Eq=/ASUS/i.test(navigator.userAgent);this.ln=/Lumia 930/i.test(navigator.userAgent);this.Cs=/Lumia 920/i.test(navigator.userAgent);this.Ds=/Nokia 1320/i.test(navigator.userAgent);this.Bs=
/8X by HTC/i.test(navigator.userAgent);this.de||(this.de=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Sf||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.Sf=!0);this.Hs="undefined"!==typeof cr_is_preview;this.canvas=a;this.Hr=document.getElementById("c2canvasdiv");this.H=this.P=null;this.zo="(unavailable)";this.cb=
!1;this.zg=0;this.Wa=null;this.io="";this.Zk=!1;this.Ft=this.Gt=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.ic&&(window.c2runtime=this);this.Sf&&(window.ondragover=function(a){a.preventDefault();return!1},window.ondrop=function(a){a.preventDefault();return!1},require("nw.gui").App.clearCache());this.sl&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow",
"visible");this.width=a.width;this.height=a.height;this.aa=this.width;this.Z=this.height;this.Lk=this.width;this.Hi=this.height;this.kj=window.innerWidth;this.jj=window.innerHeight;this.az=!1;this.Fa=!0;this.Kg=!1;this.Mg=0;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.D=[];this.Gb=[];this.cp={};this.ee=[];this.yh={};this.Te=[];this.mi=[];this.Um=[];this.xx=[];this.yx=[];this.Bu=null;this.xg={};this.No=this.Rf=!1;this.nd=0;this.Lo=this.Qo=!1;this.Xd=[];this.Oo=
!1;this.bf=this.sc=this.Jl=this.Rp="";this.Tj=this.yu=!1;this.Jk=this.wj=this.gc=this.Kf=0;this.sf=1;this.Ub=new eb;this.wf=new eb;this.Cj=this.cl=this.Mi=this.oe=this.Pg=this.bl=this.Dl=0;this.vg=null;this.Uk=[];this.$n=[];this.Wk=-1;this.ip=[[]];this.gq=this.Nl=0;this.pm(null);this.xj=[];this.Th=-1;this.At=this.$g=0;this.bp=!0;this.Ni=0;this.hh=[];this.jh=this.bh=-1;this.Qz=!1;this.Oh=!0;this.Rh=0;this.Io=1.5;this.bj=this.Ho=!1;this.qB=0;this.uh=null;this.Uc=this.qs=!1;this.Et=new ca;this.Yl=new ca;
this.vp=new ca;this.Kp=[];this.ne=new kb([]);this.aq=new kb([]);this.ue=[];this.Eh={};this.wh={};this.qh={};this.li={};this.Cr={};this.Qs=this.Hl=this.Lb=this.Wb=this.Ps=this.Gl=this.V=null;this.ji=this.To=!1;this.jo=[null,null];this.Dg=0;this.Oi="";this.gf={};this.Sj=null;this.Au="";this.Xl=[];"undefined"===typeof tc.LC||this.Hs?this.XA():this.YA()}}function b(a,c){return 128>=c?a[3]:256>=c?a[2]:512>=c?a[1]:a[0]}function r(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function p(a,
c,e,k){var d=indexedDB.open("_C2SaveStates");d.onupgradeneeded=r;d.onerror=k;d.onsuccess=function(d){d=d.target.result;d.onerror=k;d.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:c}).onsuccess=e}}function q(a,c,e){var k=indexedDB.open("_C2SaveStates");k.onupgradeneeded=r;k.onerror=e;k.onsuccess=function(k){k=k.target.result;k.onerror=e;var d=k.transaction(["saves"]).objectStore("saves").get(a);d.onsuccess=function(){d.result?c(d.result.data):c(null)}}}function d(){ia("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 v(a){var c,e={};for(c in a)!a.hasOwnProperty(c)||a[c]instanceof ca||a[c]&&"undefined"!==typeof a[c].tC||"spriteCreatedDestroyCallback"!==c&&(e[c]=a[c]);return e}function g(a,c){return c.zd-a.zd}var a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||
window.oRequestAnimationFrame;h.prototype.XA=function(){var a=this,c;this.Lg?c=new ActiveXObject("Microsoft.XMLHTTP"):c=new XMLHttpRequest;var e="data.js";if(this.Gs||this.Lg||this.So||this.Fs)e="data.json";c.open("GET",e,!0);var k=!1;if(!this.Ua&&"response"in c&&"responseType"in c)try{c.responseType="json",k="json"===c.responseType}catch(d){k=!1}if(!k&&"responseType"in c)try{c.responseType="text"}catch(b){}if("overrideMimeType"in c)try{c.overrideMimeType("application/json; charset=utf-8")}catch(l){}this.Lg?
c.onreadystatechange=function(){4===c.readyState&&a.nj(JSON.parse(c.responseText))}:(c.onload=function(){if(k)a.nj(c.response);else if(a.ae){var e=c.responseText,e=e.substr(e.indexOf("{"));a.nj(JSON.parse(e))}else a.nj(JSON.parse(c.responseText))},c.onerror=function(a){ja("Error requesting "+e+":");ja(a)});c.send()};h.prototype.YA=function(){var a=this,c;this.Lg?c=new ActiveXObject("Microsoft.XMLHTTP"):c=new XMLHttpRequest;c.open("GET","data_zip.js",!0);if("responseType"in c)try{c.responseType="text"}catch(e){}c.onload=
function(){var e=Iuppiter.toByteArray(c.responseText),e=Iuppiter.decompress(Iuppiter.Base64.decode(e,!0)),e=e.replace(/\\n/g,"\\n").replace(/\\'/g,"\\'").replace(/\\"/g,'\\"').replace(/\\&/g,"\\&").replace(/\\r/g,"\\r").replace(/\\t/g,"\\t").replace(/\\b/g,"\\b").replace(/\\f/g,"\\f"),e=e.replace(/[\u0000-\u0019]+/g,""),e=e.replace("\u00ef\u00bf\u00a5","\u00a5");a.nj(JSON.parse(e))};c.onerror=function(){};c.send()};h.prototype.aA=function(){var a=/MQQBrowser/i.test(navigator.userAgent)&&/Android/i.test(navigator.userAgent)||
-1<navigator.userAgent.indexOf("d 4.4.2")&&-1<navigator.userAgent.indexOf("Chrome/30.0")||/UCBrowser/i.test(navigator.userAgent)&&/Android/i.test(navigator.userAgent);/CriOS/i.test(navigator.userAgent)&&/Mac OS X/i.test(navigator.userAgent)&&(this.Io=1);return a};h.prototype.Tz=function(){var a=this,c,e,k,d,b,l,g,n,t;this.Uf=(!this.Ua||this.ae||this.Tc)&&this.CB&&!this.sl;0===this.xb&&this.$e&&!this.Hg&&(this.Uf=!1);this.devicePixelRatio=this.Uf?window.devicePixelRatio||window.webkitDevicePixelRatio||
window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.mc();e=!(!this.az&&(!this.Gn||this.Sf||this.wl||this.Lg||this.Zi||this.Tc||this.Ko));0<this.xb&&this.setSize(f(),m(),!0);try{this.ry&&(this.md||this.ae||!this.Ua)&&(c={alpha:e,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.P=this.canvas.getContext("webgl",c)||this.canvas.getContext("experimental-webgl",c))}catch(u){}if(this.P){if(c=this.P.getExtension("WEBGL_debug_renderer_info"))this.zo=this.P.getParameter(c.UNMASKED_RENDERER_WEBGL)+
" ["+this.P.getParameter(c.UNMASKED_VENDOR_WEBGL)+"]";this.cb&&(this.zo+=" [front-to-back enabled]");!this.Ua&&(this.kc=document.createElement("canvas"),jQuery(this.kc).appendTo(this.canvas.parentNode),this.kc.oncontextmenu=function(){return!1},this.kc.onselectstart=function(){return!1},this.kc.width=Math.round(this.Lk*this.devicePixelRatio),this.kc.height=Math.round(this.Hi*this.devicePixelRatio),jQuery(this.kc).css({width:this.Lk+"px",height:this.Hi+"px"}),this.bu(),this.ge=this.kc.getContext("2d"))&&
(this.ge.mozImageSmoothingEnabled=this.Y,this.ge.msImageSmoothingEnabled=this.Y,this.ge.imageSmoothingEnabled=this.Y);this.H=new xb(this.P,this.de,this.cb);this.H.nf(this.canvas.width,this.canvas.height);this.H.Tr=0!==this.hy;this.Wa=null;this.canvas.addEventListener("webglcontextlost",function(c){c.preventDefault();a.xA();ia("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.H.vs();a.H.nf(a.H.width,a.H.height,!0);a.Wb=
null;a.Lb=null;a.jo[0]=null;a.jo[1]=null;a.yA();a.Fa=!0;ia("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);c=0;for(e=this.D.length;c<e;c++)for(b=this.D[c],k=0,d=b.la.length;k<d;k++)g=b.la[k],g.Ob=this.H.wo(g.id),g.he=this.H.Gp(g.Ob),this.ji=this.ji||this.H.Gj(g.Ob);c=0;for(e=this.ee.length;c<e;c++){n=this.ee[c];k=0;for(d=n.la.length;k<d;k++)g=n.la[k],g.Ob=this.H.wo(g.id),g.he=this.H.Gp(g.Ob);n.qe();k=0;for(d=n.ma.length;k<d;k++){t=n.ma[k];b=0;for(l=t.la.length;b<l;b++)g=t.la[b],
g.Ob=this.H.wo(g.id),g.he=this.H.Gp(g.Ob),this.ji=this.ji||this.H.Gj(g.Ob);t.qe()}}}else{if(0<this.xb&&this.ic){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Wa=AppMobi.canvas.getContext("2d");try{this.Wa.samplingMode=this.Y?"smooth":"sharp",this.Wa.globalScale=1,this.Wa.HTML5CompatibilityMode=!0,this.Wa.imageSmoothingEnabled=this.Y}catch(w){}0!==this.width&&0!==this.height&&(this.Wa.width=this.width,this.Wa.height=this.height)}this.Wa||
(this.md?(c={antialias:!!this.Y,alpha:e},this.Wa=this.canvas.getContext("2d",c)):(c={alpha:e},this.Wa=this.canvas.getContext("2d",c)),this.Wa.webkitImageSmoothingEnabled=this.Y,this.Wa.mozImageSmoothingEnabled=this.Y,this.Wa.msImageSmoothingEnabled=this.Y,this.Wa.imageSmoothingEnabled=this.Y);this.ge=this.kc=null}this.Hu=function(c){a.eb(!1,c)};if(window!=window.top&&!this.Ua&&!this.wl&&!this.Lg||this.be)document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",
function(){window.focus()},!0);"undefined"!==typeof cr_is_preview&&(this.md&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ia("Reloading for continuous preview"),this.Jl="__c2_continuouspreview",this.Tj=!0));this.Wt&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){a.setSuspended(!0)}));window.addEventListener("blur",function(){a.Xh()});this.Ua||(c=function(a){if(rb(a)&&document.activeElement&&
document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(c){}},window.navigator.pointerEnabled?document.addEventListener("pointerdown",c):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",c):document.addEventListener("touchstart",c),document.addEventListener("mousedown",c));0===this.xb&&this.Uf&&1<this.devicePixelRatio&&this.setSize(this.wa,this.na,!0);this.Lu();this.Jz();this.go();this.ua={}};
h.prototype.setSize=function(a,c,e){this.gA&&this.Ro&&568==a&&a>c&&(window.setTimeout(function(){window.scrollTo(0,1)},100),c-=88);"undefined"!==typeof this.Pz&&!1!==this.Pz||this.Pr();var k=0,d=0,b=0,l=0,l=0,g=this.fA&&this.Ro&&!navigator.standalone&&!this.Ua&&!this.Tc;g&&(c+=60);if(this.kj!==a||this.jj!==c||e){this.kj=a;this.jj=c;var n=this.xb,t=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.bj)&&!this.Tc;if(t||0!==this.xb||e)t&&0<
this.Dg&&(n=this.Dg),e=this.devicePixelRatio,4<=n?(b=this.wa/this.na,a/c>b?(b*=c,5===n?(l=b*e/this.wa,1<l?l=Math.floor(l):1>l&&(l=1/Math.ceil(1/l)),b=this.wa*l/e,l=this.na*l/e,k=(a-b)/2,d=(c-l)/2,a=b,c=l):(k=(a-b)/2,a=b)):(l=a/b,5===n?(l=l*e/this.na,1<l?l=Math.floor(l):1>l&&(l=1/Math.ceil(1/l)),b=this.wa*l/e,l=this.na*l/e,k=(a-b)/2,d=(c-l)/2,a=b):d=(c-l)/2,c=l),t&&!this.Sf&&(d=k=0)):this.Sf&&this.bj&&0===this.Of&&(k=Math.floor((a-this.wa)/2),d=Math.floor((c-this.na)/2),a=this.wa,c=this.na),2>n&&(this.Ci=
e),this.Uf&&this.Wo&&1<e&&(1024<=a&&(a=1023),1024<=c&&(c=1023)),this.Lk=Math.round(a),this.Hi=Math.round(c),this.width=Math.round(a*e),this.height=Math.round(c*e),this.Fa=!0,this.qq?(this.aa=this.width,this.Z=this.height,this.hd=!0):this.width<this.wa&&this.height<this.na||1===n?(this.aa=this.width,this.Z=this.height,this.hd=!0):(this.aa=this.wa,this.Z=this.na,this.hd=!1,2===n?(b=this.wa/this.na,n=this.kj/this.jj,n<b?this.aa=this.Z*n:n>b&&(this.Z=this.aa/n)):3===n&&(b=this.wa/this.na,n=this.kj/this.jj,
n>b?this.aa=this.Z*n:n<b&&(this.Z=this.aa/n))),this.Hr&&!this.Ua&&(jQuery(this.Hr).css({width:Math.round(a)+"px",height:Math.round(c)+"px","margin-left":Math.floor(k)+"px","margin-top":Math.floor(d)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+"px",height:Math.round(c)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*e),this.canvas.height=Math.round(c*e),this.ae?(this.canvas.style.left=Math.floor(k)+"px",this.canvas.style.top=Math.floor(d)+"px",this.canvas.style.width=
Math.round(a)+"px",this.canvas.style.height=Math.round(c)+"px"):this.Uf&&!this.Ua&&(this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(c)+"px")),this.kc&&(this.kc.width=Math.round(a*e),this.kc.height=Math.round(c*e),this.kc.style.width=this.Lk+"px",this.kc.style.height=this.Hi+"px"),this.H&&this.H.nf(Math.round(a*e),Math.round(c*e)),this.ic&&this.Wa&&(this.Wa.width=Math.round(a),this.Wa.height=Math.round(c)),this.Wa&&(this.Wa.webkitImageSmoothingEnabled=this.Y,this.Wa.mozImageSmoothingEnabled=
this.Y,this.Wa.msImageSmoothingEnabled=this.Y,this.Wa.imageSmoothingEnabled=this.Y),this.ge&&(this.ge.mozImageSmoothingEnabled=this.Y,this.ge.msImageSmoothingEnabled=this.Y,this.ge.imageSmoothingEnabled=this.Y),this.Lu(),this.Ua||!g&&!this.Al||window.setTimeout(function(){window.scrollTo(0,1)},100)}};h.prototype.Lu=function(){if(this.Bx&&0!==this.Bp){var a="portrait";2===this.Bp&&(a="landscape");try{screen.orientation&&screen.orientation.lock?screen.orientation.lock(a):screen.lockOrientation?screen.lockOrientation(a):
screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a)}catch(c){console&&console.warn&&console.warn("Failed to lock orientation: ",c)}}};h.prototype.xA=function(){this.H.Jx();this.To=!0;var a,c,e;a=0;for(c=this.D.length;a<c;a++)e=this.D[a],e.Dj&&e.Dj()};h.prototype.yA=function(){this.To=!1;var a,c,e;a=0;for(c=this.D.length;a<c;a++)e=this.D[a],e.cm&&e.cm()};h.prototype.bu=function(){if(!this.Ua){var a=
(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.bj)&&!this.Tc?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.kc).css(a)}};var c=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;h.prototype.setSuspended=function(a,e){if("undefined"===typeof freeState||1!=freeState){var k,d;if(a&&!this.Kg||
a&&e)for(this.Kg=!0,-1!==this.bh&&c&&(c(this.bh),this.bh=-1),-1!==this.jh&&(clearTimeout(this.jh),this.jh=-1),k=0,d=this.hh.length;k<d;k++)this.hh[k](!0);else if(!a&&this.Kg||!a&&e&&1===this.Mg&&!this.Kg){if(1===this.Mg&&"undefined"!==typeof e)for(this.Kg=!1,k=0,d=this.hh.length;k<d;k++)this.hh[k](!1);else{this.Kg=!1;this.Dl=$a();this.Pg=$a();k=this.wj=this.cl=0;for(d=this.hh.length;k<d;k++)this.hh[k](!1);-1!==this.bh&&c&&(c(this.bh),this.bh=-1);-1!==this.jh&&(clearTimeout(this.jh),this.jh=-1);this.eb(!1)}this.Mg=
0===this.Mg?2:this.Mg++}}};h.prototype.sr=function(a){this.hh.push(a)};h.prototype.yf=function(a){return this.Xl[a]};h.prototype.Pr=function(){2==this.Nt?0>(this.wa/this.na-1)*(jQuery(window).width()/jQuery(window).height()-1)?(this.xe=0,this.Of=this.xb=3,this.V&&(this.V.y=this.na/2)):1>this.wa/this.na&&(jQuery(window).width()/this.wa*this.na<jQuery(window).height()?(this.xe=0,this.Of=this.xb=3,this.V&&(this.V.y=this.na/2)):(this.xe=0,this.Of=this.xb=2,this.V&&(this.V.y=this.na/2+this.xe))):5==this.Nt?
0>(this.wa/this.na-1)*(jQuery(window).width()/jQuery(window).height()-1)?(this.xe=0,this.Of=this.xb=3,this.V&&(this.V.y=this.na/2)):1>this.wa/this.na&&(jQuery(window).width()/this.wa*this.na<jQuery(window).height()?(this.xe=0,this.xe=-(this.wa/jQuery(window).width()*jQuery(window).height()-this.na)/2,this.Of=this.xb=3,this.V&&(this.V.y=this.na/2+this.xe)):(this.xe=0,this.Of=this.xb=3,this.V&&(this.V.y=this.na/2))):this.xe=0};h.prototype.nj=function(a){a&&a.project||ja("Project model unavailable");
a=a.project;this.nq=a[16];this.name=a[0];this.du=a[26];this.qf="undefined"===typeof this.du?this.name.replace(/ /g,"_"):this.du.replace(/ /g,"_");-1<this.nq.toLowerCase().indexOf("light")&&(this.qf=this.qf+"_Light");window.enableADS&&(this.qf=this.qf+"_ads");this.qf=window.btoa(this.qf);this.Zr=a[1];this.xb=a[12];this.Of=a[12];this.wa=a[10];this.na=a[11];this.Ut=this.wa/2;this.Vt=this.na/2;this.Ua&&!this.ae&&(4<=a[12]||0===a[12])&&(ia("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),
this.Of=this.xb=3);this.Nt=a[12];this.Pr();this.mq=a[18];this.Ml=a[19];if(0===this.Ml){var c=new Image;c.crossOrigin="anonymous";this.oj={Vs:c};this.A=0;$a()}else if(4===this.Ml){c=new Image;c.src="";var e=new Image;e.src="";var k=new Image;k.src="";var d=new Image;d.src="";var b=new Image;b.src="";var l=new Image;l.src="";var g=new Image;g.src="";var n=new Image;n.src="";var t=new Image;t.src="";var u=new Image;u.src="";var w=new Image;w.src="";var q=new Image;q.src="";this.oj={Vs:[c,e,k,d],JA:[b,
l,g,n],JB:[t,u,w,q]}}this.$g=a[21];this.Xl=Cc();this.ud=new S(this);c=0;for(e=a[2].length;c<e;c++)n=a[2][c],k=this.yf(n[0]),yb(n,k.prototype),t=new k(this),t.fh=n[1],t.Xf=n[2],t.xt=n[9],t.I&&t.I(),this.plugins.push(t);this.Xl=Cc();c=0;for(e=a[3].length;c<e;c++){n=a[3][c];b=this.yf(n[1]);t=null;k=0;for(d=this.plugins.length;k<d;k++)if(this.plugins[k]instanceof b){t=this.plugins[k];break}b=new t.T(t);b.name=n[0];b.X=n[2];b.Go=n[3].slice(0);b.EB=n[3].length;b.Cx=n[4];b.cz=n[5];b.Ha=n[11];b.X?(b.ef=[],
b.Ue=this.Ni++,b.jb=null):(b.ef=null,b.Ue=-1,b.jb=[]);b.Xk=null;b.Ah=null;b.Vr=null;b.jc=!1;b.Pc=null;n[6]?(b.Nm=n[6][0],b.bq=n[6][1],b.Wj=n[6][2]):(b.Nm=null,b.bq=0,b.Wj=0);n[7]?b.nc=n[7]:b.nc=null;b.index=c;b.d=[];b.Qk=[];b.ig=[new zb(b)];b.Re=0;b.Qc=null;b.Or=0;b.ei=!0;b.Wm=Ab;b.po=Bb;b.nz=Cb;b.O=Db;b.Jj=Eb;b.kf=Fb;b.Jd=Gb;b.fl=Hb;b.ko=Ib;b.oo=Jb;b.Td=Kb;b.to=Lb;b.Ek=new lb(this.wa,this.na);b.pk=!0;b.qk=!1;b.ua={};b.toString=Mb;b.Gb=[];k=0;for(d=n[8].length;k<d;k++){u=n[8][k];w=this.yf(u[1]);q=
null;l=0;for(g=this.Gb.length;l<g;l++)if(this.Gb[l]instanceof w){q=this.Gb[l];break}q||(q=new w(this),q.tp=[],q.sp=new ca,q.I&&q.I(),this.Gb.push(q),Dc&&q instanceof Dc&&(this.Bu=q));-1===q.tp.indexOf(b)&&q.tp.push(b);l=new q.T(q,b);l.name=u[0];l.Ha=u[2];l.I();b.Gb.push(l)}b.global=n[9];"undefined"!==typeof Ec&&b.G instanceof Ec&&(b.global=!0);b.Po=n[10];b.la=[];k=0;for(d=n[12].length;k<d;k++)b.la.push({id:n[12][k][0],name:n[12][k][1],Ob:-1,he:!1,tb:!0,index:k});b.KC=n[13];this.mq&&!b.X&&!b.Po&&t.Xf||
b.I();b.name&&(this.types[b.name]=b);this.D.push(b);t.fh&&(k=new t.S(b),k.uid=this.$g++,k.fu=this.At++,k.Fg=0,k.Ui=Nb,k.toString=Ob,k.C=n[14],b.d.push(k),this.gf[k.uid.toString()]=k)}c=0;for(e=a[4].length;c<e;c++)for(b=a[4][c],l=this.D[b[0]],k=1,d=b.length;k<d;k++)g=this.D[b[k]],g.jb.push(l),l.ef.push(g);c=0;for(e=a[28].length;c<e;c++){b=a[28][c];l=[];k=0;for(d=b.length;k<d;k++)l.push(this.D[b[k]]);k=0;for(d=l.length;k<d;k++)l[k].jc=!0,l[k].Pc=l}if(0<this.Ni)for(c=0,e=this.D.length;c<e;c++)if(b=this.D[c],
!b.X&&b.jb.length){b.Xk=Array(this.Ni);b.Ah=Array(this.Ni);b.Vr=Array(this.Ni);t=[];k=q=w=u=0;for(d=b.jb.length;k<d;k++)for(n=b.jb[k],b.Xk[n.Ue]=u,u+=n.EB,b.Ah[n.Ue]=w,w+=n.Cx,b.Vr[n.Ue]=q,q+=n.cz,l=0,g=n.la.length;l<g;l++)t.push(ya({},n.la[l]));b.la=t.concat(b.la);k=0;for(d=b.la.length;k<d;k++)b.la[k].index=k}c=0;for(e=a[5].length;c<e;c++)n=a[5][c],k=new Pb(this,n),this.cp[k.name]=k,this.ee.push(k);c=0;for(e=a[6].length;c<e;c++)n=a[6][c],k=new Qb(this,n),this.yh[k.name]=k,this.Te.push(k);c=0;for(e=
this.Te.length;c<e;c++)this.Te[c].Eb();c=0;for(e=this.Te.length;c<e;c++)this.Te[c].jq();c=0;for(e=this.Um.length;c<e;c++)this.Um[c].Eb();F(this.Um);k="undefined"!==typeof tc.Cw&&"undefined"!==typeof tc.rg;d="undefined"!==typeof Fc&&"undefined"!==typeof Gc;g=l=!1;t=n=null;c=0;for(e=this.D.length;c<e;c++)b=this.D[c],k?b.G instanceof tc.Cw?null===n?(l=!0,b.d[0].I()):(b.d[0].I(),n.I()):b.G instanceof tc.rg?l?b.d[0].I():n=b.d[0]:b.G.fh&&b.d[0].I():d?b.G instanceof Fc?null===t?(g=!0,b.d[0].I()):(b.d[0].I(),
t.I()):b.G instanceof Gc?g?b.d[0].I():t=b.d[0]:b.G.fh&&b.d[0].I():b.G.fh&&b.d[0].I();this.Uj=null;if("undefined"!==typeof Hc)for(k=0,e=this.D.length;k<e;k++)b=this.D[k],b.G instanceof Hc&&(this.Uj=b.d[0]);this.Br=a[7];this.xl&&(this.Br=[]);this.Oi=a[8];this.sd=!0;this.Ci=1;this.ry=a[13]&&!this.aA();this.Y=a[14];this.Gn=a[15];this.CB=a[17];this.Bp=a[20];this.Bx=0<this.Bp;this.Wt=a[22];this.qq=a[23];this.Wo&&(this.qq=!1);this.hd=this.qq;this.hy=a[24];this.KA=a[25];this.cb=a[27]&&!this.be;this.fi=Date.now();
F(this.Xl);this.Tz()};var e=!1;h.prototype.pq=function(a,c){a.cocoonLazyLoad=!0;a.onerror=function(a){Ic[this.src]++;Ic[this.src]>=Jc?(Ic[this.src]=Jc,Kc[this.src]=Lc,this.Er=!0,console&&console.error&&console.error("Error loading image '"+this.src+"': ",a)):setTimeout(function(a,c){return function(){a.src=null;a.src=c}}(this,this.src),5E3)};a.onload=function(){Kc[this.src]=Mc;Ic[this.src]=0};this.ae?a.src=c:a.src||("undefined"!==typeof XAPKReader?XAPKReader.get(c,function(c){a.src=c},function(k){e=
a.Er=!0;console&&console.error&&console.error("Error extracting image '"+c+"' from expansion file: ",k)}):(a.crossOrigin="anonymous",a.src=c));Kc[a.src]=Nc;Oc[a.src]=Date.now();Ic[a.src]=0;this.mi.push(a)};h.prototype.Zy=function(a){var c,e;c=0;for(e=this.mi.length;c<e;c++)if(this.mi[c].Kx===a)return this.mi[c];return null};var l=0;h.prototype.Jz=function(){this.uh&&(l=this.uh.nB(this.Br))};h.prototype.yr=function(){var a=l,c=0,k=0,b=!0,d,g,n=0,t=!1,k=0;for(d=this.mi.length;k<d;k++){g=this.mi[k];
var u=g.Lr;if(!u||0>=u)u=5E4;a+=u;g.src&&Kc[g.src]===Mc&&!g.Er?c+=u:b=!1;Ic[g.src]===Jc&&(t=!0);0<Ic[g.src]&&Ic[g.src]<Jc&&(n=1);Date.now()-Oc[g.src]>Pc&&Kc[g.src]!==Mc&&(Kc[g.src]=Nc,Oc[g.src]=Date.now(),g.onerror(null))}e=!1;0===n&&t&&(e=!0);b&&this.KA&&this.uh&&(this.uh.rB(),k=this.uh.oz(),c+=k,k<l&&(b=!1));this.ie=0==a?1:c/a;return b};var n=!1;h.prototype.go=function(){if(this.Wa||this.H){var c=this.Wa||this.ge;this.kc&&this.bu();this.ie=0;this.Os=-1;var e=this;if(this.yr())this.Kz();else{var k=
Date.now()-this.fi;if(c)if(3>this.Ml&&(this.md||500<=k&&this.Os!=this.ie))this.Os=this.ie;else if(4===this.Ml){this.ny(c);a?a(function(){e.go()}):setTimeout(function(){e.go()},16);return}setTimeout(function(){e.go()},this.md?10:100)}}};var t=-1,w="undefined"===typeof cr_is_preview?200:0,k=!0,u=!1,N=0,O=0,H="undefined"===typeof cr_is_preview?3E3:0,C=null,Q=null,E=0;h.prototype.ny=function(a){if(!n){for(var c=Math.ceil(this.width),d=Math.ceil(this.height),l=this.oj.Vs,g=this.oj.JA,q=this.oj.JB,f=0;4>
f;++f)if(!l[f].complete||!g[f].complete||!q[f].complete)return;0===E&&(t=Date.now());var f=Date.now(),h=!1,p=a,m,r;k||u?(a.clearRect(0,0,c,d),C&&C.width===c&&C.height===d||(C=document.createElement("canvas"),C.width=c,C.height=d,Q=C.getContext("2d")),p=Q,h=!0,k&&1===E&&(t=Date.now())):a.globalAlpha=1;p.fillStyle="#333333";p.fillRect(0,0,c,d);256<this.Hi?(m=Ga(.22*d,105,.6*c),r=.25*m,p.drawImage(b(g,m),.5*c-m/2,.2*d-r/2,m,r),r=m=Math.min(.395*d,.95*c),p.drawImage(b(l,m),.5*c-m/2,.485*d-r/2,m,r),m=
Ga(.22*d,105,.6*c),r=.25*m,p.drawImage(b(q,m),.5*c-m/2,.868*d-r/2,m,r),p.fillStyle="#3C3C3C",m=c,r=Math.max(.005*d,2),p.fillRect(0,.8*d-r/2,m,r),p.fillStyle=e?"red":"#E0FF65",m=c*this.ie,p.fillRect(.5*c-m/2,.8*d-r/2,m,r)):(r=m=.55*d,p.drawImage(b(l,m),.5*c-m/2,.45*d-r/2,m,r),p.fillStyle="#3C3C3C",m=c,r=Math.max(.005*d,2),p.fillRect(0,.85*d-r/2,m,r),p.fillStyle=e?"red":"#E0FF65",m=c*this.ie,p.fillRect(.5*c-m/2,.85*d-r/2,m,r));h&&(k?a.globalAlpha=0===E?0:Math.min((f-t)/300,1):u&&(a.globalAlpha=Math.max(1-
(f-O)/300,0)),a.drawImage(C,0,0,c,d));k&&300<=f-t&&2<=E&&(k=!1,N=f);!k&&f-N>=H&&!u&&1<=this.ie&&(u=!0,O=f);if(u&&f-O>=300+w||"undefined"!==typeof cr_is_preview&&1<=this.ie&&500>Date.now()-t)n=!0,u=k=!1,this.oj=Q=C=null;++E}};h.prototype.Kz=function(){this.kc&&(this.canvas.parentNode.removeChild(this.kc),this.kc=this.ge=null);this.fi=Date.now();this.Pg=$a();var a,c,e;if(this.mq)for(a=0,c=this.D.length;a<c;a++)e=this.D[a],e.X||e.Po||!e.G.Xf||e.I();else this.Oh=!1;a=0;for(c=this.ee.length;a<c;a++)this.ee[a].Lx();
2<=this.xb&&(a=this.wa/this.na,c=this.width/this.height,this.Ci=2!==this.xb&&c>a||2===this.xb&&c<a?this.height/this.na:this.width/this.wa);this.Zr?(this.cp[this.Zr].Yp(),document.getElementById("loading_gif")&&(document.getElementById("loading_gif").style.display="none")):this.ee[0].Yp();if(!this.mq)for(this.Rh=1,this.trigger(S.prototype.k.ti,null),a=0;a<this.D.length;a++)this.D[a].Vg&&this.D[a].Vg();navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(c=this.D.length;a<
c;a++)e=this.D[a],e.wA&&e.wA();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.eb(!1);this.ic&&AppMobi.webview.execute("onGameReady();")};a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;h.prototype.eb=function(c,e,k){if(("undefined"===typeof freeState||1!=freeState)&&this.V){var b=$a();if(k||!this.Kg||c){c||(a?this.bh=a(this.Hu):
this.jh=setTimeout(this.Hu,this.de?1:16));e=e||b;var d=this.xb;((k=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Tc)||this.bj)&&0<this.Dg&&(d=this.Dg);0<d&&(!this.$e||this.$e&&this.Hg||window.self!==window.top)&&(d=window.innerHeight,this.kj===window.innerWidth&&this.jj===d||this.setSize(f(),m()));this.Ua||(k?(this.Zk||(this.io=jQuery(this.canvas).css("margin")||"0",this.Zk=!0),this.Hg||this.Sf||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.Zk?(this.Hg||this.Sf||jQuery(this.canvas).css("margin",this.io),this.io="",this.Zk=!1,0===this.xb&&this.setSize(Math.round(this.Gt/this.devicePixelRatio),Math.round(this.Ft/this.devicePixelRatio),!0)):(this.Gt=this.width,this.Ft=this.height));if(this.Oh&&(k=this.yr(),this.Rh=this.ie,k))for(this.Oh=!1,this.ie=1,this.trigger(S.prototype.k.ti,
null),"undefined"!==typeof Hc&&this.trigger(Hc.prototype.k.ti,this.Uj),k=0;k<this.D.length;k++)this.D[k].Vg&&this.D[k].Vg();this.pA(e);!this.Fa&&!this.md||this.To||this.Tj||c||(this.Fa=!1,this.H?this.Qb():this.yc(),this.Sj&&(this.canvas&&this.canvas.toDataURL&&(this.Au=this.canvas.toDataURL(this.Sj[0],this.Sj[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.Au),this.trigger(S.prototype.k.Zv,null)),this.Sj=null));this.zC||(this.oe++,this.Mi++,this.cl++);this.wj+=$a()-b}}};h.prototype.pA=function(a){var c,
e,k,b,d,l,g,n;1E3<=a-this.Pg&&(this.Pg+=1E3,1E3<=a-this.Pg&&(this.Pg=a),this.bl=this.cl,this.cl=0,this.Jk=this.wj,this.wj=0);0!==this.Dl&&(c=a-this.Dl,0>c&&(c=0),this.gc=c/1E3,this.Wt&&!this.Ho&&(this.gc>=this.Io?(this.Mg++,this.setSuspended(!1,!0)):this.Mg=0),this.Ho=!1,.5<this.gc?this.gc=0:.066<this.gc&&(this.gc=.066),.0166<=this.gc&&.066>=this.gc&&(.066===this.gc?this.$r=1:(this.$r=(1/this.gc-15)/45,this.gc-=(this.gc-1/60)*this.$r)));this.Dl=a;this.Kf=this.gc*this.sf;this.Ub.add(this.Kf);this.wf.add(this.gc);
a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.bj)&&!this.Tc;2<=this.xb||a&&0<this.Dg?(c=this.wa/this.na,e=this.width/this.height,k=this.xb,a&&0<this.Dg&&(k=this.Dg),this.Ci=2!==k&&e>c||2===k&&e<c?this.height/this.na:this.width/this.wa,this.V&&(this.V.lu(this.V.x),this.V.mu(this.V.y))):this.Ci=this.Uf?this.devicePixelRatio:1;this.mc();this.nd++;this.ud.bB();this.Uj&&this.Uj.cB();this.nd--;this.mc();this.nd++;e=this.Et.pg();a=0;for(c=
e.length;a<c;a++)e[a].FC();a=0;for(c=this.D.length;a<c;a++)if(l=this.D[a],!l.X&&(l.Gb.length||l.jb.length))for(e=0,k=l.d.length;e<k;e++)for(g=l.d[e],b=0,d=g.ka.length;b<d;b++)g.ka[b].eb();a=0;for(c=this.D.length;a<c;a++)if(l=this.D[a],!l.X&&(l.Gb.length||l.jb.length))for(e=0,k=l.d.length;e<k;e++)for(g=l.d[e],b=0,d=g.ka.length;b<d;b++)n=g.ka[b],n.IA&&n.IA();e=this.Yl.pg();a=0;for(c=e.length;a<c;a++)e[a].eb();this.nd--;this.Lz();for(a=0;this.vg&&10>a++;)this.Sr(this.vg);a=0;for(c=this.Te.length;a<c;a++)this.Te[a].Bo=
!1;this.V.Ag&&this.V.Ag.Nb();F(this.Kp);this.bp=!1;this.nd++;a=0;for(c=this.D.length;a<c;a++)if(l=this.D[a],!l.X&&(l.Gb.length||l.jb.length))for(e=0,k=l.d.length;e<k;e++)for(g=l.d[e],b=0,d=g.ka.length;b<d;b++)n=g.ka[b],n.Xj&&n.Xj(),n.cq&&(g.Qm=n);e=this.vp.pg();a=0;for(c=e.length;a<c;a++)e[a].Xj();"undefined"!==typeof Hc&&this.trigger(Hc.prototype.k.xv,this.Uj);this.nd--};h.prototype.Xh=function(){var a,c,e,k,b,d,l,g,n;a=0;for(c=this.D.length;a<c;a++)if(l=this.D[a],!l.X)for(e=0,k=l.d.length;e<k;e++)if(g=
l.d[e],g.Xh&&g.Xh(),g.ka)for(b=0,d=g.ka.length;b<d;b++)n=g.ka[b],n.Xh&&n.Xh()};h.prototype.Sr=function(a){var c=this.V;this.V.sB();var e,k,b,d,l,g,n;c==a&&F(this.ud.Nc);F(this.Kp);a.Yp();a=0;for(c=this.D.length;a<c;a++)if(l=this.D[a],l.global||l.G.fh)for(e=0,k=l.d.length;e<k;e++)if(g=l.d[e],g.$l&&g.$l(),g.ka)for(b=0,d=g.ka.length;b<d;b++)n=g.ka[b],n.$l&&n.$l();this.bp=this.Fa=!0;this.mc()};h.prototype.lg=function(a){this.Yl.add(a)};h.prototype.yB=function(a){this.Yl.remove(a)};h.prototype.uB=function(a){this.vp.add(a)};
h.prototype.hl=function(a){return a&&-1!==a.Bj?this.gc*a.Bj:this.Kf};h.prototype.yc=function(){this.V.yc(this.Wa);this.ic&&this.Wa.present()};h.prototype.Qb=function(){this.cb&&(this.zg=1,this.V.yg(this.H));this.V.Qb(this.H);this.H.MA()};h.prototype.qr=function(a){a&&this.Uk.push(a)};h.prototype.WA=function(a){Fa(this.Uk,a)};h.prototype.Ri=function(a){a=a.toString();return this.gf.hasOwnProperty(a)?this.gf[a]:null};var ha=[];h.prototype.Ad=function(a){var c,e;c=a.type.name;var k=null;if(this.xg.hasOwnProperty(c)){if(k=
this.xg[c],k.contains(a))return}else k=ha.length?ha.pop():new ca,this.xg[c]=k;k.add(a);this.Rf=!0;if(a.jc)for(c=0,e=a.siblings.length;c<e;c++)this.Ad(a.siblings[c]);this.No&&k.ki.push(a);this.Lo||(this.nd++,this.trigger(Object.getPrototypeOf(a.type.G).k.Oq,a),this.nd--)};h.prototype.mc=function(){if(this.Rf){var a,c,e,k,b,d;this.No=!0;e=0;for(b=this.Xd.length;e<b;++e)for(a=this.Xd[e],c=a.type,c.d.push(a),k=0,d=c.jb.length;k<d;++k)c.jb[k].d.push(a),c.jb[k].ei=!0;F(this.Xd);this.Pv();Za(this.xg);this.Rf=
this.No=!1}};h.prototype.Pv=function(){for(var a in this.xg)this.xg.hasOwnProperty(a)&&this.gv(this.xg[a])};h.prototype.gv=function(a){var c=a.pg(),e=c[0].type,k,b,d,l,g,n;bb(e.d,a);e.ei=!0;0===e.d.length&&(e.qk=!1);k=0;for(b=e.jb.length;k<b;++k)n=e.jb[k],bb(n.d,a),n.ei=!0;k=0;for(b=this.ud.Nc.length;k<b;++k)if(g=this.ud.Nc[k],g.Zb.hasOwnProperty(e.index)&&bb(g.Zb[e.index].Sc,a),!e.X)for(d=0,l=e.jb.length;d<l;++d)n=e.jb[d],g.Zb.hasOwnProperty(n.index)&&bb(g.Zb[n.index].Sc,a);if(g=c[0].u){if(g.yd)for(d=
g.d,k=0,b=d.length;k<b;++k)l=d[k],a.contains(l)&&(l.F(),g.lc.update(l,l.Kc,null),l.Kc.set(0,0,-1,-1));bb(g.d,a);g.Pj(0)}for(k=0;k<c.length;++k)this.dv(c[k],e);a.clear();ha.push(a);this.Fa=!0};h.prototype.dv=function(a,c){var e,k,b;e=0;for(k=this.Uk.length;e<k;++e)this.Uk[e](a);a.If&&c.Ek.update(a,a.If,null);(e=a.u)&&e.$h(a,!0);if(a.ka)for(e=0,k=a.ka.length;e<k;++e)b=a.ka[e],b.Zc&&b.Zc(),b.behavior.sp.remove(a);this.Et.remove(a);this.Yl.remove(a);this.vp.remove(a);a.Zc&&a.Zc();this.gf.hasOwnProperty(a.uid.toString())&&
delete this.gf[a.uid.toString()];this.Cj--;100>c.Qk.length&&c.Qk.push(a)};h.prototype.Qe=function(a,c,e,k){if(a.X){var b=ta(Math.random()*a.ef.length);return this.Qe(a.ef[b],c,e,k)}return a.Qc?this.Jf(a.Qc,c,!1,e,k,!1):null};var K=[];h.prototype.Jf=function(a,c,e,k,b,d){var l,g,n,t;if(!a)return null;var u=this.D[a[1]],w=u.G.Xf;if(!this.Qz&&this.Oh&&w&&!u.Po||w&&!this.H&&11===a[0][11])return null;var q=c;w||(c=null);var f;u.Qk.length?(f=u.Qk.pop(),f.Ec=!0,u.G.S.call(f,u)):(f=new u.G.S(u),f.Ec=!1);
!e||d||this.gf.hasOwnProperty(a[2].toString())?f.uid=this.$g++:f.uid=a[2];this.gf[f.uid.toString()]=f;f.fu=this.At++;f.Fg=u.d.length;l=0;for(g=this.Xd.length;l<g;++l)this.Xd[l].type===u&&f.Fg++;f.Ui=Nb;f.toString=Ob;n=a[3];if(f.Ec)Za(f.ua);else{f.ua={};if("undefined"!==typeof cr_is_preview)for(f.ys=[],f.ys.length=n.length,l=0,g=n.length;l<g;l++)f.ys[l]=n[l][1];f.Sb=[];f.Sb.length=n.length}l=0;for(g=n.length;l<g;l++)f.Sb[l]=n[l][0];if(w){var h=a[0];f.x=ka(k)?h[0]:k;f.y=ka(b)?h[1]:b;f.z=h[2];f.width=
h[3];f.height=h[4];f.depth=h[5];f.A=h[6];f.opacity=h[7];f.ob=h[8];f.pb=h[9];f.oc=h[10];l=h[11];!this.H&&u.la.length&&(f.oc=l);f.Ei=nb(f.oc);this.P&&ob(f,f.oc,this.P);if(f.Ec){l=0;for(g=h[12].length;l<g;l++)for(n=0,t=h[12][l].length;n<t;n++)f.nb[l][n]=h[12][l][n];f.L.set(0,0,0,0);f.If.set(0,0,-1,-1);f.Kc.set(0,0,-1,-1);f.$b.Qj(f.L);F(f.Mn)}else{f.nb=h[12].slice(0);l=0;for(g=f.nb.length;l<g;l++)f.nb[l]=h[12][l].slice(0);f.Qa=[];f.zf=[];f.zf.length=u.la.length;f.L=new wa(0,0,0,0);f.If=new wa(0,0,-1,
-1);f.Kc=new wa(0,0,-1,-1);f.$b=new xa;f.Mn=[];f.K=Rb;f.sC=Sb;f.ac=Tb;f.xh=Ub;f.vC=Vb;f.F=Wb;f.BB=Xb;f.Su=Yb;f.De=Zb}f.Yj=!1;f.xB=0;f.wB=0;f.vB=null;14===h.length&&(f.Yj=!0,f.xB=h[13][0],f.wB=h[13][1],f.vB=h[13][2]);l=0;for(g=u.la.length;l<g;l++)f.zf[l]=!0;f.of=!0;f.qe=$b;f.qe();f.Tu=!!f.Qa.length;f.Ln=!0;f.Qn=!0;u.pk=!0;f.visible=!0;f.Bj=-1;f.u=c;f.zd=c.d.length;f.zg=0;"undefined"===typeof f.Aa&&(f.Aa=null);this.Fa=f.Oc=!0}var p;F(K);l=0;for(g=u.jb.length;l<g;l++)K.push.apply(K,u.jb[l].Gb);K.push.apply(K,
u.Gb);if(f.Ec)for(l=0,g=K.length;l<g;l++){var N=K[l];p=f.ka[l];p.Ec=!0;N.behavior.S.call(p,N,f);h=a[4][l];n=0;for(t=h.length;n<t;n++)p.C[n]=h[n];p.I();N.behavior.sp.add(f)}else for(f.ka=[],l=0,g=K.length;l<g;l++)N=K[l],p=new N.behavior.S(N,f),p.Ec=!1,p.C=a[4][l].slice(0),p.I(),f.ka.push(p),N.behavior.sp.add(f);h=a[5];if(f.Ec)for(l=0,g=h.length;l<g;l++)f.C[l]=h[l];else f.C=h.slice(0);this.Xd.push(f);this.Rf=!0;c&&(c.Bi(f,!0),1!==c.ad||1!==c.bd)&&(u.qk=!0);this.Cj++;if(u.jc){if(f.jc=!0,f.Ec?F(f.siblings):
f.siblings=[],!e&&!d){l=0;for(g=u.Pc.length;l<g;l++)if(u.Pc[l]!==u){if(!u.Pc[l].Qc)return null;f.siblings.push(this.Jf(u.Pc[l].Qc,q,!1,w?f.x:k,w?f.y:b,!0))}l=0;for(g=f.siblings.length;l<g;l++)for(f.siblings[l].siblings.push(f),n=0;n<g;n++)l!==n&&f.siblings[l].siblings.push(f.siblings[n])}}else f.jc=!1,f.siblings=null;f.I();l=0;for(g=f.ka.length;l<g;l++)f.ka[l].HA&&f.ka[l].HA();return f};h.prototype.il=function(a){var c,e;c=0;for(e=this.V.ma.length;c<e;c++){var k=this.V.ma[c];if(qb(k.name,a))return k}return null};
h.prototype.Dh=function(a){a=ta(a);0>a&&(a=0);a>=this.V.ma.length&&(a=this.V.ma.length-1);return this.V.ma[a]};h.prototype.lz=function(a){return la(a)?this.Dh(a):this.il(a.toString())};h.prototype.Bk=function(a){var c,e;c=0;for(e=a.length;c<e;c++)a[c].O().fa=!0};h.prototype.Jj=function(a){var c,e;c=0;for(e=a.length;c<e;c++)a[c].Jj()};h.prototype.kf=function(a){var c,e;c=0;for(e=a.length;c<e;c++)a[c].kf()};h.prototype.Jd=function(a){var c,e;c=0;for(e=a.length;c<e;c++)a[c].Jd()};h.prototype.Qu=function(a){if(a.pk){var c,
e,k=a.d;c=0;for(e=k.length;c<e;++c)k[c].Su();k=this.Xd;c=0;for(e=k.length;c<e;++c)k[c].type===a&&k[c].Su();a.pk=!1}};h.prototype.gz=function(a,c,e,k){var b,l,d=a?1!==a.ad||1!==a.bd:!1;if(c.X)for(a=0,b=c.ef.length;a<b;++a)l=c.ef[a],d||l.qk?Da(k,l.d):(this.Qu(l),l.Ek.rm(e,k));else d||c.qk?Da(k,c.d):(this.Qu(c),c.Ek.rm(e,k))};h.prototype.wz=function(a,c,e,k){var b,l;b=0;for(l=c.length;b<l;++b)this.gz(a,c[b],e,k)};h.prototype.sz=function(a,c,e){var k=this.Bu;k&&this.wz(a,k.tp,c,e)};h.prototype.Lm=function(a,
c,e,k,b){var l=a.O(),d,n,t,u,f,w=0;if(l.fa)for(l.fa=!1,F(l.d),"undefined"!==typeof k&&a.d.sort(g),k=0,t=a.d.length;k<t&&(n=a.d[k],n.F(),u=n.u.ub(c,e,!0),f=n.u.ub(c,e,!1),n.ac(u,f)&&n.Oc&&n.u.visible&&(l.d.push(n),w++),w!=b);k++);else{d=0;"undefined"!==typeof k&&l.d.sort(g);k=0;for(t=l.d.length;k<t&&(n=l.d[k],n.F(),u=n.u.ub(c,e,!0),f=n.u.ub(c,e,!1),n.ac(u,f)&&n.Oc&&(l.d[d]=l.d[k],d++,w++),w!=b);k++);l.d.length=d}a.Td();return l.ml()};h.prototype.tB=function(a,c,e,k,b,l){var d=a.O(),n,t,u,f,w,q,h=0;
if(d.fa)for(d.fa=!1,F(d.d),a.d.sort(g),n=0,f=a.d.length;n<f&&(u=a.d[n],u.F(),w=u.u.ub(c,e,!0),q=u.u.ub(c,e,!1),u.xh(w,q,b,l)&&u.Oc&&u.u.visible&&(d.d.push(u),h++),h!=k);n++);else{t=0;d.d.sort(g);n=0;for(f=d.d.length;n<f&&(u=d.d[n],u.F(),w=u.u.ub(c,e,!0),q=u.u.ub(c,e,!1),u.xh(w,q,b,l)&&u.Oc&&(d.d[t]=d.d[n],t++,h++),h!=k);n++);d.d.length=t}a.Td();return d.ml()};h.prototype.hi=function(a,c){if(!(a&&c&&a!==c&&a.Oc&&c.Oc))return!1;if(0<a.width&&0<a.height&&0<c.width&&0<c.height&&0==a.A&&0==c.A&&a.Ka&&
c.Ka&&(1==a.Ka.Ig||1==c.Ka.Ig)){var e=!(a.x+a.Ka.vm*a.width<c.x+c.Ka.um*c.width||a.y+a.Ka.tm*a.height<c.y+c.Ka.wm*c.height||a.x+a.Ka.um*a.width>c.x+c.Ka.vm*c.width||a.y+a.Ka.wm*a.height>c.y+c.Ka.tm*c.height);if(!0===a.Ka.Ig&&!0===c.Ka.Ig||!1===e)return e}a.F();c.F();var e=a.u,k=c.u,b,l,d,g,n,u,t,f;if(e===k||e.ad===k.ad&&k.bd===k.bd&&e.scale===k.scale&&e.A===k.A&&e.re===k.re){if(!a.L.Uz(c.L)||!a.$b.zs(c.$b)||a.Yj&&c.Yj)return!1;if(a.Yj)return this.Fu(a,c);if(c.Yj)return this.Fu(c,a);t=a.Aa&&!a.Aa.Wf();
b=c.Aa&&!c.Aa.Wf();if(!t&&!b)return!0;t?(a.Aa.Df(a.width,a.height,a.A),t=a.Aa):(this.ne.ci(a.$b,a.x,a.y,a.width,a.height),t=this.ne);b?(c.Aa.Df(c.width,c.height,c.A),f=c.Aa):(this.ne.ci(c.$b,c.x,c.y,c.width,c.height),f=this.ne);return t.Yi(f,c.x-a.x,c.y-a.y)}t=a.Aa&&!a.Aa.Wf();b=c.Aa&&!c.Aa.Wf();t?(a.Aa.Df(a.width,a.height,a.A),this.ne.uu(a.Aa)):this.ne.ci(a.$b,a.x,a.y,a.width,a.height);t=this.ne;b?(c.Aa.Df(c.width,c.height,c.A),this.aq.uu(c.Aa)):this.aq.ci(c.$b,c.x,c.y,c.width,c.height);f=this.aq;
b=0;for(l=t.je;b<l;b++)d=2*b,g=d+1,n=t.Yb[d],u=t.Yb[g],t.Yb[d]=e.kb(n+a.x,u+a.y,!0),t.Yb[g]=e.kb(n+a.x,u+a.y,!1);t.F();b=0;for(l=f.je;b<l;b++)d=2*b,g=d+1,n=f.Yb[d],u=f.Yb[g],f.Yb[d]=k.kb(n+c.x,u+c.y,!0),f.Yb[g]=k.kb(n+c.x,u+c.y,!1);f.F();return t.Yi(f,0,0)};var aa=new xa;new wa(0,0,0,0);var U=[];h.prototype.Fu=function(a,c){var e,k,b,l,d=c.L,g=a.x,n=a.y;a.xC(d,U);var t=c.Aa&&!c.Aa.Wf();e=0;for(k=U.length;e<k;++e)if(b=U[e],l=b.GC,d.Vz(l,g,n)&&(aa.Qj(l),aa.offset(g,n),aa.zs(c.$b)))if(t)if(c.Aa.Df(c.width,
c.height,c.A),b.Fp){if(b.Fp.Yi(c.Aa,c.x-(g+l.left),c.y-(n+l.top)))return F(U),!0}else{if(this.ne.ci(aa,0,0,l.right-l.left,l.bottom-l.top),this.ne.Yi(c.Aa,c.x,c.y))return F(U),!0}else if(b.Fp){if(this.ne.ci(c.$b,0,0,c.width,c.height),b.Fp.Yi(this.ne,-(g+l.left),-(n+l.top)))return F(U),!0}else return F(U),!0;F(U);return!1};h.prototype.Mu=function(a,c){if(!c)return!1;var e,k,b,l,d;e=0;for(k=a.Gb.length;e<k;e++)if(a.Gb[e].behavior instanceof c)return!0;if(!a.X)for(e=0,k=a.jb.length;e<k;e++)for(d=a.jb[e],
b=0,l=d.Gb.length;b<l;b++)if(d.Gb[b].behavior instanceof c)return!0;return!1};h.prototype.hq=function(a){return this.Mu(a,uc.bC)};h.prototype.iq=function(a){return this.Mu(a,uc.cC)};var D=[];h.prototype.ih=function(a){var c,e,k;a.F();this.sz(a.u,a.L,D);c=0;for(e=D.length;c<e;++c)if(k=D[c],k.ua.solidEnabled&&this.hi(a,k))return F(D),k;F(D);return null};h.prototype.RA=function(a,c,e,k){k=k||50;var b=a.x,l=a.y,d,g=null,n=null;for(d=0;d<k;d++)if(a.x=b+c*d,a.y=l+e*d,a.K(),!this.hi(a,g)&&((g=this.ih(a))&&
(n=g),!g&&!g))return n&&this.PA(a,c,e,n),!0;a.x=b;a.y=l;a.K();return!1};h.prototype.PA=function(a,c,e,k){var b=2,l,d=!1;l=!1;for(var g=a.x,n=a.y;16>=b;)l=1/b,b*=2,a.x+=c*l*(d?1:-1),a.y+=e*l*(d?1:-1),a.K(),this.hi(a,k)?l=d=!0:(l=d=!1,g=a.x,n=a.y);l&&(a.x=g,a.y=n,a.K())};h.prototype.SA=function(a){var c=0,e=a.x,k=a.y,b=0,l=0,d=0,g=this.ih(a);if(g){for(;100>=c;){switch(b){case 0:l=0;d=-1;c++;break;case 1:l=1;d=-1;break;case 2:l=1;d=0;break;case 3:d=l=1;break;case 4:l=0;d=1;break;case 5:l=-1;d=1;break;
case 6:l=-1;d=0;break;case 7:d=l=-1}b=(b+1)%8;a.x=ta(e+l*c);a.y=ta(k+d*c);a.K();if(!this.hi(a,g)&&(g=this.ih(a),!g))return}a.x=e;a.y=k;a.K()}};h.prototype.UA=function(a,c){a.Oc&&c.Oc&&this.Kp.push([a,c])};h.prototype.Gx=function(a,c,e){var k=a.x,b=a.y,l=pa(10,Va(c,e,k,b)),d=Na(c,e,k,b),g=this.ih(a);if(!g)return Ja(d+sa);var n=g,t,u,f,w,q=L(5);for(t=1;36>t;t++)if(u=d-t*q,a.x=c+Math.cos(u)*l,a.y=e+Math.sin(u)*l,a.K(),!this.hi(a,n)&&(n=this.ih(a),!n)){f=u;break}36===t&&(f=Ja(d+sa));n=g;for(t=1;36>t;t++)if(u=
d+t*q,a.x=c+Math.cos(u)*l,a.y=e+Math.sin(u)*l,a.K(),!this.hi(a,n)&&(n=this.ih(a),!n)){w=u;break}36===t&&(w=Ja(d+sa));a.x=k;a.y=b;a.K();if(w===f)return w;a=Pa(w,f)/2;a=Sa(w,f)?Ja(f+a+sa):Ja(w+a);f=Math.cos(d);d=Math.sin(d);w=Math.cos(a);a=Math.sin(a);c=f*w+d*a;return Na(0,0,f-2*c*w,d-2*c*a)};var I=-1;h.prototype.trigger=function(a,c,e){if(!this.V)return!1;var k=this.V.Ag;if(!k)return!1;var b=!1,l,d,g;I++;var n=k.Xn;d=0;for(g=n.length;d<g;++d)l=this.Sm(a,c,n[d],e),b=b||l;l=this.Sm(a,c,k,e);I--;return b||
l};h.prototype.Sm=function(a,c,e,k){var b=!1,l,d,g,n;if(c)for(g=this.fq(a,c,c.type.name,e,k),b=b||g,n=c.type.jb,l=0,d=n.length;l<d;++l)g=this.fq(a,c,n[l].name,e,k),b=b||g;else g=this.fq(a,c,"system",e,k),b=b||g;return b};h.prototype.fq=function(a,c,e,k,b){var l,d=!1,g=!1,g="undefined"!==typeof b,n=(g?k.Xr:k.Ku)[e];if(!n)return d;var t=null;k=0;for(l=n.length;k<l;++k)if(n[k].method==a){t=n[k].Li;break}if(!t)return d;var u;g?u=t[b]:u=t;if(!u)return null;k=0;for(l=u.length;k<l;k++)a=u[k][0],b=u[k][1],
g=this.Yy(c,e,a,b),d=d||g;return d};h.prototype.Yy=function(a,c,e,k){var b,l,d=!1;this.gq++;var g=this.zb().wb;g&&this.Jj(g.hg);var n=1<this.gq;this.Jj(e.hg);n&&this.QA();var t=this.pm(e);t.wb=e;a&&(b=this.types[c].O(),b.fa=!1,F(b.d),b.d[0]=a,this.types[c].Td());a=!0;if(e.parent){c=t.Eu;for(b=e.parent;b;)c.push(b),b=b.parent;c.reverse();b=0;for(l=c.length;b<l;b++)if(!c[b].eB()){a=!1;break}}a&&(this.Mi++,e.fe?e.dB(k):e.Nb(),d=d||t.Og);this.jm();n&&this.GA();this.Jd(e.hg);g&&this.Jd(g.hg);this.Rf&&
0===this.nd&&0===I&&!this.Qo&&this.mc();this.gq--;return d};h.prototype.gl=function(){var a=this.zb();return a.wb.Pb[a.Hb]};h.prototype.QA=function(){this.Nl++;this.Nl>=this.ip.length&&this.ip.push([])};h.prototype.GA=function(){this.Nl--};h.prototype.es=function(){return this.ip[this.Nl]};h.prototype.pm=function(a){this.Wk++;this.Wk>=this.$n.length&&this.$n.push(new ac);var c=this.zb();c.reset(a);return c};h.prototype.jm=function(){this.Wk--};h.prototype.zb=function(){return this.$n[this.Wk]};h.prototype.qm=
function(a){this.Th++;this.Th>=this.xj.length&&this.xj.push({name:a,index:0,Ya:!1});var c=this.mo();c.name=a;c.index=0;c.Ya=!1;return c};h.prototype.km=function(){this.Th--};h.prototype.mo=function(){return this.xj[this.Th]};h.prototype.gs=function(a,c){for(var e,k,b,l,d,g;c;){e=0;for(k=c.Md.length;e<k;e++)if(g=c.Md[e],g instanceof bc&&qb(a,g.name))return g;c=c.parent}e=0;for(k=this.Te.length;e<k;e++)for(d=this.Te[e],b=0,l=d.Nf.length;b<l;b++)if(g=d.Nf[b],g instanceof bc&&qb(a,g.name))return g;return null};
h.prototype.ks=function(a){var c,e;c=0;for(e=this.ee.length;c<e;c++)if(this.ee[c].Ha===a)return this.ee[c];return null};h.prototype.kl=function(a){var c,e;c=0;for(e=this.D.length;c<e;c++)if(this.D[c].Ha===a)return this.D[c];return null};h.prototype.jz=function(a){var c,e;c=0;for(e=this.ue.length;c<e;c++)if(this.ue[c].Ha===a)return this.ue[c];return null};h.prototype.Qx=function(a,c){this.Sj=[a,c];this.Fa=!0};h.prototype.Lz=function(){var a=this,c=this.Rp,e=this.bf,k=this.Jl,b=!1;this.yu&&(b=!0,c=
"__c2_continuouspreview",this.yu=!1);if(c.length){this.mc();e=this.iB();if(window.indexedDB&&!this.md)p(c,e,function(){ia("Saved state to IndexedDB storage ("+e.length+" bytes)");a.bf=e;a.trigger(S.prototype.k.tn,null);a.bf="";b&&d()},function(k){try{localStorage.setItem("__c2save_"+c,e),ia("Saved state to WebStorage ("+e.length+" bytes)"),a.bf=e,a.trigger(S.prototype.k.tn,null),a.bf="",b&&d()}catch(l){ia("Failed to save game state: "+k+"; "+l)}});else try{localStorage.setItem("__c2save_"+c,e),ia("Saved state to WebStorage ("+
e.length+" bytes)"),a.bf=e,this.trigger(S.prototype.k.tn,null),a.bf="",b&&d()}catch(l){ia("Error saving to WebStorage: "+l)}this.sc=this.Jl=this.Rp=""}if(k.length){if(window.indexedDB&&!this.md)q(k,function(c){c?(a.sc=c,ia("Loaded state from IndexedDB storage ("+a.sc.length+" bytes)")):(a.sc=localStorage.getItem("__c2save_"+k)||"",ia("Loaded state from WebStorage ("+a.sc.length+" bytes)"));a.Tj=!1;a.sc.length||a.trigger(S.prototype.k.sn,null)},function(){a.sc=localStorage.getItem("__c2save_"+k)||
"";ia("Loaded state from WebStorage ("+a.sc.length+" bytes)");a.Tj=!1;a.sc.length||a.trigger(S.prototype.k.sn,null)});else{try{this.sc=localStorage.getItem("__c2save_"+k)||"",ia("Loaded state from WebStorage ("+this.sc.length+" bytes)")}catch(g){this.sc=""}this.Tj=!1;a.sc.length||a.trigger(S.prototype.k.sn,null)}this.Rp=this.Jl=""}this.sc.length&&(this.mc(),this.oA(this.sc),this.bf=this.sc,this.trigger(S.prototype.k.kw,null),this.sc=this.bf="")};h.prototype.iB=function(){var a,c,e,k,b,l,d,g={c2save:!0,
version:1,rt:{time:this.Ub.Ga,walltime:this.wf.Ga,timescale:this.sf,tickcount:this.oe,execcount:this.Mi,next_uid:this.$g,running_layout:this.V.Ha,start_time_offset:Date.now()-this.fi},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(c=this.D.length;a<c;a++)if(b=this.D[a],!b.X&&!this.hq(b)){l={instances:[]};Ya(b.ua)&&(l.ex=v(b.ua));e=0;for(k=b.d.length;e<k;e++)l.instances.push(this.Qp(b.d[e]));g.types[b.Ha.toString()]=l}a=0;for(c=this.ee.length;a<c;a++)e=this.ee[a],g.layouts[e.Ha.toString()]=
e.mb();k=g.events.groups;a=0;for(c=this.ue.length;a<c;a++)e=this.ue[a],k[e.Ha.toString()]=this.Eh[e.Vi].Qf;c=g.events.cnds;for(d in this.wh)this.wh.hasOwnProperty(d)&&(a=this.wh[d],Ya(a.ua)&&(c[d]={ex:v(a.ua)}));c=g.events.acts;for(d in this.qh)this.qh.hasOwnProperty(d)&&(a=this.qh[d],Ya(a.ua)&&(c[d]={ex:a.ua}));c=g.events.vars;for(d in this.li)this.li.hasOwnProperty(d)&&(a=this.li[d],a.yl||a.parent&&!a.ej||(c[d]=a.data));g.system=this.ud.mb();return JSON.stringify(g)};h.prototype.hu=function(){var a,
c,e,k,b,l;this.gf={};a=0;for(c=this.D.length;a<c;a++)if(e=this.D[a],!e.X)for(k=0,b=e.d.length;k<b;k++)l=e.d[k],this.gf[l.uid.toString()]=l};h.prototype.oA=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){this.Oo=!0;var c=a.rt;this.Ub.reset();this.Ub.Ga=c.time;this.wf.reset();this.wf.Ga=c.walltime||0;this.sf=c.timescale;this.oe=c.tickcount;this.Mi=c.execcount;this.fi=Date.now()-c.start_time_offset;var e=c.running_layout;if(e!==this.V.Ha)if(e=this.ks(e))this.Sr(e);else return;var k,b,l,d,g,
n,t;n=a.types;for(b in n)if(n.hasOwnProperty(b)&&(d=this.kl(parseInt(b,10)))&&!d.X&&!this.hq(d)){n[b].ex?d.ua=n[b].ex:Za(d.ua);g=d.d;l=n[b].instances;e=0;for(k=ra(g.length,l.length);e<k;e++)this.Kl(g[e],l[e]);e=l.length;for(k=g.length;e<k;e++)this.Ad(g[e]);e=g.length;for(k=l.length;e<k;e++){g=null;if(d.G.Xf&&(g=this.V.jl(l[e].w.l),!g))continue;g=this.Jf(d.Qc,g,!1,0,0,!0);this.Kl(g,l[e])}d.ei=!0}this.mc();this.hu();k=a.layouts;for(b in k)k.hasOwnProperty(b)&&(e=this.ks(parseInt(b,10)))&&e.Ab(k[b]);
k=a.events.groups;for(b in k)k.hasOwnProperty(b)&&(e=this.jz(parseInt(b,10)))&&this.Eh[e.Vi]&&this.Eh[e.Vi].Nj(k[b]);e=a.events.cnds;for(b in e)e.hasOwnProperty(b)&&this.wh.hasOwnProperty(b)&&(this.wh[b].ua=e[b].ex);e=a.events.acts;for(b in e)e.hasOwnProperty(b)&&this.qh.hasOwnProperty(b)&&(this.qh[b].ua=e[b].ex);e=a.events.vars;for(b in e)e.hasOwnProperty(b)&&this.li.hasOwnProperty(b)&&(this.li[b].data=e[b]);this.$g=c.next_uid;this.Oo=!1;this.ud.Ab(a.system);e=0;for(k=this.D.length;e<k;e++)if(d=
this.D[e],!d.X&&!this.hq(d))for(b=0,a=d.d.length;b<a;b++){g=d.d[b];if(d.jc)for(n=g.Ui(),F(g.siblings),c=0,l=d.Pc.length;c<l;c++)t=d.Pc[c],d!==t&&g.siblings.push(t.d[n]);g.te&&g.te();if(g.ka)for(c=0,l=g.ka.length;c<l;c++)n=g.ka[c],n.te&&n.te()}this.Fa=!0}};h.prototype.Qp=function(a,c){var e,k,b,d,l;d=a.type;b=d.G;var g={};c?g.c2=!0:g.uid=a.uid;Ya(a.ua)&&(g.ex=v(a.ua));if(a.Sb&&a.Sb.length)for(g.ivs={},e=0,k=a.Sb.length;e<k;e++)g.ivs[a.type.Go[e].toString()]=a.Sb[e];if(b.Xf){b={x:a.x,y:a.y,w:a.width,
h:a.height,l:a.u.Ha,zi:a.De()};0!==a.A&&(b.a=a.A);1!==a.opacity&&(b.o=a.opacity);.5!==a.ob&&(b.hX=a.ob);.5!==a.pb&&(b.hY=a.pb);0!==a.oc&&(b.bm=a.oc);a.visible||(b.v=a.visible);a.Oc||(b.ce=a.Oc);-1!==a.Bj&&(b.mts=a.Bj);if(d.la.length)for(b.fx=[],e=0,k=d.la.length;e<k;e++)l=d.la[e],b.fx.push({name:l.name,active:a.zf[l.index],params:a.nb[l.index]});g.w=b}if(a.ka&&a.ka.length)for(g.behs={},e=0,k=a.ka.length;e<k;e++)d=a.ka[e],d.mb&&(g.behs[d.type.Ha.toString()]=d.mb());a.mb&&(g.data=a.mb());return g};
h.prototype.kz=function(a,c){var e,k;e=0;for(k=a.Go.length;e<k;e++)if(a.Go[e]===c)return e;return-1};h.prototype.fz=function(a,c){var e,k;e=0;for(k=a.ka.length;e<k;e++)if(a.ka[e].type.Ha===c)return e;return-1};h.prototype.Kl=function(a,c,e){var k,b,d,l,g;g=a.type;l=g.G;if(e){if(!c.c2)return}else a.uid=c.uid;c.ex?a.ua=c.ex:Za(a.ua);if(b=c.ivs)for(k in b)b.hasOwnProperty(k)&&(d=this.kz(g,parseInt(k,10)),0>d||d>=a.Sb.length||(a.Sb[d]=b[k]));if(l.Xf){d=c.w;a.u.Ha!==d.l&&(b=a.u,a.u=this.V.jl(d.l),a.u?
(b.$h(a,!0),a.u.Bi(a,!0),a.K(),a.u.Pj(0)):(a.u=b,e||this.Ad(a)));a.x=d.x;a.y=d.y;a.width=d.w;a.height=d.h;a.zd=d.zi;a.A=d.hasOwnProperty("a")?d.a:0;a.opacity=d.hasOwnProperty("o")?d.o:1;a.ob=d.hasOwnProperty("hX")?d.hX:.5;a.pb=d.hasOwnProperty("hY")?d.hY:.5;a.visible=d.hasOwnProperty("v")?d.v:!0;a.Oc=d.hasOwnProperty("ce")?d.ce:!0;a.Bj=d.hasOwnProperty("mts")?d.mts:-1;a.oc=d.hasOwnProperty("bm")?d.bm:0;a.Ei=nb(a.oc);this.P&&ob(a,a.oc,this.P);a.K();if(d.hasOwnProperty("fx"))for(e=0,b=d.fx.length;e<
b;e++)l=g.oo(d.fx[e].name),0>l||(a.zf[l]=d.fx[e].active,a.nb[l]=d.fx[e].params);a.qe()}if(g=c.behs)for(k in g)g.hasOwnProperty(k)&&(e=this.fz(a,parseInt(k,10)),0>e||a.ka[e].Ab(g[k]));c.data&&a.Ab(c.data)};hc=function(a){return new h(document.getElementById(a))};ic=function(a,c){return new h({dc:!0,width:a,height:c})};window.cr_createRuntime=hc;window.cr_createDCRuntime=ic;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");
a.Dd=!0;document.body.appendChild(a);a=new h(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 h(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();
window.cr_getC2Runtime=function(){var f=document.getElementById("c2canvas");return f?f.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(f,m){var h=window.cr_getC2Runtime();h&&h.Qx(f,m)};window.cr_sizeCanvas=function(f,m){if(0!==f&&0!==m){var h=window.cr_getC2Runtime();h&&h.setSize(f,m)}};window.cr_setSuspended=function(f){var m=window.cr_getC2Runtime();m&&m.setSuspended(f)};
window.getDebugInfo=function(f){var m=window.cr_getC2Runtime();if(m&&m.ud){var m=m.ud,h=m.b;f[0]=h.bl;f[1]=Math.round(h.Jk)/10+"%";f[2]=h.H?(Math.round(10*h.H.vy()/1048576)/10).toString()+" mb":"Unavailable";f[3]=h.H?"webgl":"canvas2d";f[4]=h.Cj;f[5]=h.uC;f[6]=h.DC;f[7]=h.BC;f[8]=lb.prototype.Dd;f[9]="("+h.width+","+h.height+")";f[10]=h.sf;f[11]=h.Ub.Ga;f[12]=(Date.now()-m.b.fi)/1E3;f[13]=h.oe}};
var Kc={},Nc=0,Mc=1,Lc=2,Oc={},Ic={},Jc=3,Pc=2E4,Qc=new function(){this.getItem=function(f){f=f+"=";for(var m=document.cookie.split(";"),h=0;h<m.length;h++){for(var b=m[h];" "==b.charAt(0);)b=b.substring(1);if(0==b.indexOf(f))return b.substring(f.length,b.length)}return null};this.setItem=function(f,m){this.removeItem(f);var h=new Date;h.setTime(h.getTime()+63072E7);document.cookie=f+"="+m+"; "+("expires="+h.toUTCString())};this.removeItem=function(f){document.cookie=f+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}},
Rc=null,Sc=0;
(function(){function f(a,c){this.b=a;this.uid=this.b.$g++;this.Ag=null;this.x=this.b.wa/2;this.y=this.b.na/2;this.scale=1;this.A=0;this.Bh=!0;this.name=c[0];this.width=c[1];this.height=c[2];this.Nu=c[3];this.wu=c[4];this.Ha=c[5];var e=c[6],b,d;this.ma=[];this.ql=[];b=0;for(d=e.length;b<d;b++){var g=new jc(this,e[b]);g.Ct=b;this.ma.push(g)}e=c[7];this.Gg=[];b=0;for(d=e.length;b<d;b++){var g=e[b],f=this.b.D[g[1]];f.Qc||(f.Qc=g);this.Gg.push(g);-1===this.ql.indexOf(f)&&this.ql.push(f)}this.la=[];this.Qa=
[];this.of=!0;this.nb=[];b=0;for(d=c[8].length;b<d;b++)this.la.push({id:c[8][b][0],name:c[8][b][1],Ob:-1,he:!1,tb:!0,index:b}),this.nb.push(c[8][b][2].slice(0));this.qe();this.bg=new wa(0,0,1,1);this.Jp=new wa(0,0,1,1);this.$f={}}function m(a,c){return a.zd-c.zd}function h(a,c){this.$a=a;this.b=a.b;this.uid=this.b.$g++;this.d=[];this.scale=1;this.Xo=!1;this.A=0;this.Se=!1;this.tf=new wa(0,0,0,0);this.Iu=new xa;this.y=this.x=this.Oa=this.za=this.Pa=this.Ja=0;this.kh=!1;this.xf=-1;this.Un=0;this.name=
c[0];this.index=c[1];this.Ha=c[2];this.visible=c[3];this.Ud=c[4];this.pe=c[5];this.ad=c[6];this.bd=c[7];this.opacity=c[8];this.al=c[9];this.yd=c[10];this.re=c[11];this.oc=c[12];this.oy=c[13];this.Ei="source-over";this.pc=this.tc=0;this.lc=null;this.cf=b();this.ke=!0;this.Qh=new wa(0,0,-1,-1);this.fc=new wa(0,0,-1,-1);this.yd&&(this.lc=new mb(this.b.wa,this.b.na));this.Je=!1;var e=c[14],d,g;this.Cu=[];this.ld=[];this.Gi=[];d=0;for(g=e.length;d<g;d++){var t=e[d],f=this.b.D[t[1]];f.Qc||(f.Qc=t,f.Or=
this.index);this.ld.push(t);-1===this.$a.ql.indexOf(f)&&this.$a.ql.push(f)}Ca(this.Cu,this.ld);this.la=[];this.Qa=[];this.of=!0;this.nb=[];d=0;for(g=c[15].length;d<g;d++)this.la.push({id:c[15][d][0],name:c[15][d][1],Ob:-1,he:!1,tb:!0,index:d}),this.nb.push(c[15][d][2].slice(0));this.qe();this.bg=new wa(0,0,1,1);this.Jp=new wa(0,0,1,1)}function b(){return d.length?d.pop():[]}function r(a){F(a);d.push(a)}f.prototype.hB=function(a){var c=a.type.Ha.toString();this.$f.hasOwnProperty(c)||(this.$f[c]=[]);
this.$f[c].push(this.b.Qp(a))};f.prototype.rs=function(){var a=this.ma[0];return!a.pe&&1===a.opacity&&!a.al&&a.visible};f.prototype.qe=function(){F(this.Qa);this.of=!0;var a,c,e;a=0;for(c=this.la.length;a<c;a++)e=this.la[a],e.tb&&(this.Qa.push(e),e.he||(this.of=!1))};f.prototype.no=function(a){var c,e,b;c=0;for(e=this.la.length;c<e;c++)if(b=this.la[c],b.name===a)return b;return null};var p=[],q=!0;f.prototype.Yp=function(){this.wu&&(this.Ag=this.b.yh[this.wu],this.Ag.jq());this.b.V=this;this.x=this.b.wa/
2;this.y=this.b.na/2+this.b.xe;var a,c,e,b,d,g,f;a=0;for(e=this.b.D.length;a<e;a++)if(c=this.b.D[a],!c.X)for(d=c.d,c=0,b=d.length;c<b;c++)if(g=d[c],g.u){var k=g.u.Ct;k>=this.ma.length&&(k=this.ma.length-1);g.u=this.ma[k];-1===g.u.d.indexOf(g)&&g.u.d.push(g);g.u.kh=!0}if(!q)for(a=0,e=this.ma.length;a<e;++a)this.ma[a].d.sort(m);F(p);this.Ex();a=0;for(e=this.ma.length;a<e;a++)g=this.ma[a],g.Mx(),g.Zm();d=!1;if(!this.Bh){for(f in this.$f)if(this.$f.hasOwnProperty(f)&&(c=this.b.kl(parseInt(f,10)))&&!c.X&&
this.b.iq(c)){b=this.$f[f];a=0;for(e=b.length;a<e;a++){g=null;if(c.G.Xf&&(g=this.jl(b[a].w.l),!g))continue;g=this.b.Jf(c.Qc,g,!1,0,0,!0);this.b.Kl(g,b[a]);d=!0;p.push(g)}F(b)}a=0;for(e=this.ma.length;a<e;a++)this.ma[a].d.sort(m),this.ma[a].kh=!0}d&&(this.b.mc(),this.b.hu());for(a=0;a<p.length;a++)if(g=p[a],g.type.jc)for(e=g.Ui(),c=0,b=g.type.Pc.length;c<b;c++)f=g.type.Pc[c],g.type!==f&&(f.d.length>e?g.siblings.push(f.d[e]):f.Qc&&(d=this.b.Jf(f.Qc,g.u,!0,g.x,g.y,!0),this.b.mc(),f.Wm(),g.siblings.push(d),
p.push(d)));a=0;for(e=this.Gg.length;a<e;a++)this.b.Jf(this.Gg[a],null,!0);this.b.vg=null;this.b.mc();if(this.b.Wa&&!this.b.Ua)for(a=0,e=this.b.D.length;a<e;a++)f=this.b.D[a],!f.X&&f.d.length&&f.nm&&f.nm(this.b.Wa);a=0;for(e=p.length;a<e;a++)g=p[a],this.b.trigger(Object.getPrototypeOf(g.type.G).k.se,g);F(p);this.b.trigger(S.prototype.k.rn,null);this.b.Ho=!0;this.Bh=!1};f.prototype.Lx=function(){var a,c,e,b,d;c=a=0;for(e=this.Gg.length;a<e;a++)b=this.Gg[a],d=this.b.D[b[1]],d.global?d.jc||this.b.Jf(b,
null,!0):(this.Gg[c]=b,c++);Ba(this.Gg,c)};f.prototype.sB=function(){this.b.Oo||this.b.trigger(S.prototype.k.jw,null);this.b.Lo=!0;F(this.b.ud.Nc);var a,c,e,b,d,g;if(!this.Bh)for(a=0,c=this.ma.length;a<c;a++)for(this.ma[a].kq(),d=this.ma[a].d,e=0,b=d.length;e<b;e++)g=d[e],g.type.global||this.b.iq(g.type)&&this.hB(g);a=0;for(c=this.ma.length;a<c;a++){d=this.ma[a].d;e=0;for(b=d.length;e<b;e++)g=d[e],g.type.global||this.b.Ad(g);this.b.mc();F(d);this.ma[a].kh=!0}a=0;for(c=this.b.D.length;a<c;a++)if(d=
this.b.D[a],!(d.global||d.G.Xf||d.G.fh||d.X)){e=0;for(b=d.d.length;e<b;e++)this.b.Ad(d.d[e]);this.b.mc()}a=0;for(c=this.b.ue.length;a<c;a++)this.b.ue[a].Qf=!0;null!==Rc&&V.prototype.n.ZA.apply(Rc,[]);q=!1;this.b.Lo=!1};new wa(0,0,0,0);f.prototype.yc=function(a){var c,e=a,b=!1,d=!this.b.hd;d&&(this.b.Hl||(this.b.Hl=document.createElement("canvas"),c=this.b.Hl,c.width=this.b.aa,c.height=this.b.Z,this.b.Qs=c.getContext("2d"),b=!0),c=this.b.Hl,e=this.b.Qs,c.width!==this.b.aa&&(c.width=this.b.aa,b=!0),
c.height!==this.b.Z&&(c.height=this.b.Z,b=!0),b&&(e.webkitImageSmoothingEnabled=this.b.Y,e.mozImageSmoothingEnabled=this.b.Y,e.msImageSmoothingEnabled=this.b.Y,e.imageSmoothingEnabled=this.b.Y));e.globalAlpha=1;e.globalCompositeOperation="source-over";this.b.Gn&&!this.rs()&&e.clearRect(0,0,this.b.aa,this.b.Z);var g,f,b=0;for(g=this.ma.length;b<g;b++)f=this.ma[b],f.visible&&0<f.opacity&&11!==f.oc&&(f.d.length||!f.pe)?f.yc(e):f.Zm();d&&a.drawImage(c,0,0,this.b.width,this.b.height)};f.prototype.yg=function(a){a.qu(!0);
this.b.Lb||(this.b.Lb=a.fd(this.b.aa,this.b.Z,this.b.Y));if(this.b.Lb.Cf!==this.b.aa||this.b.Lb.Bf!==this.b.Z)a.deleteTexture(this.b.Lb),this.b.Lb=a.fd(this.b.aa,this.b.Z,this.b.Y);a.Ld(this.b.Lb);this.b.hd||a.nf(this.b.aa,this.b.Z);var c,e;for(c=this.ma.length-1;0<=c;--c)e=this.ma[c],e.visible&&1===e.opacity&&e.of&&0===e.oc&&(e.d.length||!e.pe)?e.yg(a):e.Zm();a.qu(!1)};f.prototype.Qb=function(a){var c=0<this.Qa.length||this.b.ji||!this.b.hd||this.b.cb;if(c){this.b.Lb||(this.b.Lb=a.fd(this.b.aa,this.b.Z,
this.b.Y));if(this.b.Lb.Cf!==this.b.aa||this.b.Lb.Bf!==this.b.Z)a.deleteTexture(this.b.Lb),this.b.Lb=a.fd(this.b.aa,this.b.Z,this.b.Y);a.Ld(this.b.Lb);this.b.hd||a.nf(this.b.aa,this.b.Z)}else this.b.Lb&&(a.Ld(null),a.deleteTexture(this.b.Lb),this.b.Lb=null);this.b.Gn&&!this.rs()&&a.clear(0,0,0,0);var e,b,d;e=0;for(b=this.ma.length;e<b;e++)d=this.ma[e],d.visible&&0<d.opacity&&(d.d.length||!d.pe)?d.Qb(a):d.Zm();c&&(0===this.Qa.length||1===this.Qa.length&&this.b.hd?(1===this.Qa.length?(c=this.Qa[0].index,
a.Lc(this.Qa[0].Ob),a.bi(null,1/this.b.aa,1/this.b.Z,0,0,1,1,this.scale,this.A,0,0,this.b.aa/2,this.b.Z/2,this.b.Ub.Ga,this.nb[c]),a.om(this.Qa[0].Ob)&&(this.b.Fa=!0)):a.Lc(0),this.b.hd||a.nf(this.b.width,this.b.height),a.Ld(null),a.pu(!1),a.gg(1),a.Fc(this.b.Lb),a.nu(),a.Kd(),a.xd(),c=this.b.width/2,e=this.b.height/2,a.ag(-c,e,c,e,c,-e,-c,-e),a.Fc(null),a.pu(!0)):this.Lp(a,null,null,null))};f.prototype.Si=function(){return 0<this.Qa.length||this.b.ji||!this.b.hd||this.b.cb?this.b.Lb:null};f.prototype.ls=
function(){var a=this.ma[0].zc(),c,e,b;c=1;for(e=this.ma.length;c<e;c++)b=this.ma[c],(0!==b.ad||0!==b.bd)&&b.zc()<a&&(a=b.zc());return a};f.prototype.lu=function(a){if(!this.Nu){var c=1/this.ls()*this.b.aa/2;a>this.width-c&&(a=this.width-c);a<c&&(a=c)}this.x!==a&&(this.x=a,this.b.Fa=!0)};f.prototype.mu=function(a){if(!this.Nu&&3!==this.b.xb){var c=1/this.ls()*this.b.Z/2;a>this.height-c&&(a=this.height-c);a<c&&(a=c)}this.y!==a&&(this.y=a,this.b.Fa=!0)};f.prototype.Ex=function(){this.lu(this.x);this.mu(this.y)};
f.prototype.Lp=function(a,c,e,b){var d=e?e.Qa:c?c.Qa:this.Qa,g=1,f=0,k=0,u=0,q=this.b.aa,h=this.b.Z;e?(g=e.u.zc(),f=e.u.yb(),k=e.u.Ja,u=e.u.za,q=e.u.Pa,h=e.u.Oa):c&&(g=c.zc(),f=c.yb(),k=c.Ja,u=c.za,q=c.Pa,h=c.Oa);var p=this.b.jo,m,r,E,v,K=0,aa=1,U,D=this.b.aa,I=this.b.Z,y=D/2,da=I/2,M=c?c.bg:this.bg,x=c?c.Jp:this.Jp,B=0,A=0,P=0,G=0,J=D,R=D,T=I,qa=I,Aa=E=0;v=e?e.u.yb():0;if(e){m=0;for(r=d.length;m<r;m++)E+=a.pz(d[m].Ob),Aa+=a.qz(d[m].Ob);G=e.L;B=c.kb(G.left,G.top,!0,!0);P=c.kb(G.left,G.top,!1,!0);
J=c.kb(G.right,G.bottom,!0,!0);T=c.kb(G.right,G.bottom,!1,!0);0!==v&&(m=c.kb(G.right,G.top,!0,!0),r=c.kb(G.right,G.top,!1,!0),A=c.kb(G.left,G.bottom,!0,!0),G=c.kb(G.left,G.bottom,!1,!0),v=Math.min(B,J,m,A),J=Math.max(B,J,m,A),B=v,v=Math.min(P,T,r,G),T=Math.max(P,T,r,G),P=v);B-=E;P-=Aa;J+=E;T+=Aa;x.left=B/D;x.top=1-P/I;x.right=J/D;x.bottom=1-T/I;A=B=ta(B);G=P=ta(P);R=J=ua(J);qa=T=ua(T);A-=E;G-=Aa;R+=E;qa+=Aa;0>B&&(B=0);0>P&&(P=0);J>D&&(J=D);T>I&&(T=I);0>A&&(A=0);0>G&&(G=0);R>D&&(R=D);qa>I&&(qa=I);
M.left=B/D;M.top=1-P/I;M.right=J/D;M.bottom=1-T/I}else M.left=x.left=0,M.top=x.top=0,M.right=x.right=1,M.bottom=x.bottom=1;Aa=e&&(a.Gj(d[0].Ob)||0!==E||0!==Aa||1!==e.opacity||e.type.G.xt)||c&&!e&&1!==c.opacity;a.nu();if(Aa){p[K]||(p[K]=a.fd(D,I,this.b.Y));if(p[K].Cf!==D||p[K].Bf!==I)a.deleteTexture(p[K]),p[K]=a.fd(D,I,this.b.Y);a.Lc(0);a.Ld(p[K]);U=qa-G;a.clearRect(A,I-G-U,R-A,U);e?e.Qb(a):(a.Fc(this.b.Wb),a.gg(c.opacity),a.Kd(),a.translate(-y,-da),a.xd(),a.Jc(B,T,J,T,J,P,B,P,M));x.left=x.top=0;x.right=
x.bottom=1;e&&(v=M.top,M.top=M.bottom,M.bottom=v);K=1;aa=0}a.gg(1);E=d.length-1;var Qa=a.Hp(d[E].Ob)||!c&&!e&&!this.b.hd,X=0;m=0;for(r=d.length;m<r;m++){p[K]||(p[K]=a.fd(D,I,this.b.Y));if(p[K].Cf!==D||p[K].Bf!==I)a.deleteTexture(p[K]),p[K]=a.fd(D,I,this.b.Y);a.Lc(d[m].Ob);X=d[m].index;a.om(d[m].Ob)&&(this.b.Fa=!0);0!=m||Aa?(a.bi(b,1/D,1/I,x.left,x.top,x.right,x.bottom,g,f,k,u,(k+q)/2,(u+h)/2,this.b.Ub.Ga,e?e.nb[X]:c?c.nb[X]:this.nb[X]),a.Fc(null),m!==E||Qa?(a.Ld(p[K]),U=qa-G,v=I-G-U,a.clearRect(A,
v,R-A,U)):(e?a.eg(e.tc,e.pc):c&&a.eg(c.tc,c.pc),a.Ld(b)),a.Fc(p[aa]),a.Kd(),a.translate(-y,-da),a.xd(),a.Jc(B,T,J,T,J,P,B,P,M),m!==E||Qa||a.Fc(null)):(a.Ld(p[K]),U=qa-G,v=I-G-U,a.clearRect(A,v,R-A,U),e?(a.bi(b,1/e.width,1/e.height,x.left,x.top,x.right,x.bottom,g,f,k,u,(k+q)/2,(u+h)/2,this.b.Ub.Ga,e.nb[X]),e.Qb(a)):(a.bi(b,1/D,1/I,0,0,1,1,g,f,k,u,(k+q)/2,(u+h)/2,this.b.Ub.Ga,c?c.nb[X]:this.nb[X]),a.Fc(c?this.b.Wb:this.b.Lb),a.Kd(),a.translate(-y,-da),a.xd(),a.Jc(B,T,J,T,J,P,B,P,M)),x.left=x.top=0,
x.right=x.bottom=1,e&&!Qa&&(v=T,T=P,P=v));K=0===K?1:0;aa=0===K?1:0}Qa&&(a.Lc(0),e?a.eg(e.tc,e.pc):c?a.eg(c.tc,c.pc):this.b.hd||(a.nf(this.b.width,this.b.height),y=this.b.width/2,da=this.b.height/2,P=B=0,J=this.b.width,T=this.b.height),a.Ld(b),a.Fc(p[aa]),a.Kd(),a.translate(-y,-da),a.xd(),e&&1===d.length&&!Aa?a.Jc(B,P,J,P,J,T,B,T,M):a.Jc(B,T,J,T,J,P,B,P,M),a.Fc(null))};f.prototype.jl=function(a){var c,e;c=0;for(e=this.ma.length;c<e;c++)if(this.ma[c].Ha===a)return this.ma[c];return null};f.prototype.mb=
function(){var a,c,e,b={sx:this.x,sy:this.y,s:this.scale,a:this.A,w:this.width,h:this.height,fv:this.Bh,persist:this.$f,fx:[],layers:{}};a=0;for(c=this.la.length;a<c;a++)e=this.la[a],b.fx.push({name:e.name,active:e.tb,params:this.nb[e.index]});a=0;for(c=this.ma.length;a<c;a++)e=this.ma[a],b.layers[e.Ha.toString()]=e.mb();return b};f.prototype.Ab=function(a){var c,e,b,d;this.x=a.sx;this.y=a.sy;this.scale=a.s;this.A=a.a;this.width=a.w;this.height=a.h;this.$f=a.persist;"undefined"!==typeof a.fv&&(this.Bh=
a.fv);var g=a.fx;c=0;for(e=g.length;c<e;c++)if(b=this.no(g[c].name))b.tb=g[c].active,this.nb[b.index]=g[c].params;this.qe();c=a.layers;for(d in c)c.hasOwnProperty(d)&&(a=this.jl(parseInt(d,10)))&&a.Ab(c[d])};Pb=f;h.prototype.qe=function(){F(this.Qa);this.of=!0;var a,c,e;a=0;for(c=this.la.length;a<c;a++)e=this.la[a],e.tb&&(this.Qa.push(e),e.he||(this.of=!1))};h.prototype.no=function(a){var c,e,b;c=0;for(e=this.la.length;c<e;c++)if(b=this.la[c],b.name===a)return b;return null};h.prototype.Mx=function(){var a,
c,e,b,d,g;c=a=0;for(e=this.ld.length;a<e;a++){b=this.ld[a];d=this.b.D[b[1]];g=this.b.iq(d);d=!0;if(!g||this.$a.Bh)b=this.b.Jf(b,this,!0),p.push(b),b.type.global&&(d=!1,this.Gi.push(b.uid));d&&(this.ld[c]=this.ld[a],c++)}this.ld.length=c;this.b.mc();!this.b.H&&this.la.length&&(this.oc=this.oy);this.Ei=nb(this.oc);this.b.P&&ob(this,this.oc,this.b.P);this.ke=!0};h.prototype.$h=function(a,c){var e=Ea(this.d,a);0>e||(c&&this.yd&&a.Kc&&a.Kc.right>=a.Kc.left&&(a.F(),this.lc.update(a,a.Kc,null),a.Kc.set(0,
0,-1,-1)),e===this.d.length-1?this.d.pop():(za(this.d,e),this.Pj(e)),this.ke=!0)};h.prototype.Bi=function(a,c){a.zd=this.d.length;this.d.push(a);c&&this.yd&&a.Kc&&a.K();this.ke=!0};h.prototype.LA=function(a){this.d.unshift(a);this.Pj(0)};h.prototype.uA=function(a,c,e){var b=a.De();c=c.De();za(this.d,b);b<c&&c--;e&&c++;c===this.d.length?this.d.push(a):this.d.splice(c,0,a);this.Pj(b<c?b:c)};h.prototype.Pj=function(a){-1===this.xf?this.xf=a:a<this.xf&&(this.xf=a);this.ke=this.kh=!0};h.prototype.kq=function(){if(this.kh){-1===
this.xf&&(this.xf=0);var a,c,e;if(this.yd)for(a=this.xf,c=this.d.length;a<c;++a)e=this.d[a],e.zd=a,this.lc.rA(e.Kc);else for(a=this.xf,c=this.d.length;a<c;++a)this.d[a].zd=a;this.kh=!1;this.xf=-1}};h.prototype.zc=function(a){return this.mz()*(this.b.hd||a?this.b.Ci:1)};h.prototype.mz=function(){return(this.scale*(this.Xo?1:this.$a.scale)-1)*this.re+1};h.prototype.yb=function(){return this.Se?0:Ja(this.$a.A+this.A)};var d=[],v=[],g=[];h.prototype.vo=function(){this.kq();this.lc.rm(this.Ja,this.za,
this.Pa,this.Oa,g);if(!g.length)return b();if(1===g.length){var a=b();Ca(a,g[0]);F(g);return a}for(var c=!0;1<g.length;){for(var a=g,e=void 0,d=void 0,n=void 0,f=void 0,w=void 0,e=0,d=a.length;e<d-1;e+=2){var n=a[e],f=a[e+1],w=b(),k=n,u=f,q=w,h=0,p=0,m=0,Q=k.length,E=u.length,ha=void 0,K=void 0;for(q.length=Q+E;h<Q&&p<E;++m)ha=k[h],K=u[p],ha.zd<K.zd?(q[m]=ha,++h):(q[m]=K,++p);for(;h<Q;++h,++m)q[m]=k[h];for(;p<E;++p,++m)q[m]=u[p];c||(r(n),r(f));v.push(w)}1===d%2&&(c?(n=b(),Ca(n,a[d-1]),v.push(n)):
v.push(a[d-1]));Ca(a,v);F(v);c=!1}a=g[0];F(g);return a};h.prototype.yc=function(a){this.Je=this.al||1!==this.opacity||0!==this.oc;var c=this.b.canvas,e=a,b=!1;this.Je&&(this.b.Gl||(this.b.Gl=document.createElement("canvas"),c=this.b.Gl,c.width=this.b.aa,c.height=this.b.Z,this.b.Ps=c.getContext("2d"),b=!0),c=this.b.Gl,e=this.b.Ps,c.width!==this.b.aa&&(c.width=this.b.aa,b=!0),c.height!==this.b.Z&&(c.height=this.b.Z,b=!0),b&&(e.webkitImageSmoothingEnabled=this.b.Y,e.mozImageSmoothingEnabled=this.b.Y,
e.msImageSmoothingEnabled=this.b.Y,e.imageSmoothingEnabled=this.b.Y),this.pe&&e.clearRect(0,0,this.b.aa,this.b.Z));e.globalAlpha=1;e.globalCompositeOperation="source-over";this.pe||(e.fillStyle="rgb("+this.Ud[0]+","+this.Ud[1]+","+this.Ud[2]+")",e.fillRect(0,0,this.b.aa,this.b.Z));e.save();this.Se=!0;var b=this.ub(0,0,!0,!0),d=this.ub(0,0,!1,!0);this.Se=!1;this.b.sd&&(b=Math.round(b),d=Math.round(d));this.zm(b,d,e);var g=this.zc();e.scale(g,g);e.translate(-b,-d);this.yd?(this.fc.left=this.lc.Gc(this.Ja),
this.fc.top=this.lc.Hc(this.za),this.fc.right=this.lc.Gc(this.Pa),this.fc.bottom=this.lc.Hc(this.Oa),this.ke||!this.fc.Ki(this.Qh)?(r(this.cf),b=this.vo(),this.ke=!1,this.Qh.Fi(this.fc)):b=this.cf):b=this.d;for(var f,k=null,d=0,g=b.length;d<g;++d)f=b[d],f!==k&&(f.Qm&&f.Qm.cq(),this.iy(f,e),k=f);this.yd&&(this.cf=b);e.restore();this.Je&&(a.globalCompositeOperation=this.Ei,a.globalAlpha=this.opacity,a.drawImage(c,0,0))};h.prototype.iy=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.F();var e=
a.L;e.right<this.Ja||e.bottom<this.za||e.left>this.Pa||e.top>this.Oa||(c.globalCompositeOperation=a.Ei,a.yc(c))}};h.prototype.Zm=function(){this.Se=!0;var a=this.ub(0,0,!0,!0),c=this.ub(0,0,!1,!0);this.Se=!1;this.b.sd&&(a=Math.round(a),c=Math.round(c));this.zm(a,c,null)};h.prototype.zm=function(a,c,e){var b=this.zc();this.Ja=a;this.za=c;this.Pa=a+1/b*this.b.aa;this.Oa=c+1/b*this.b.Z;a=this.yb();0!==a&&(e&&(e.translate(this.b.aa/2,this.b.Z/2),e.rotate(-a),e.translate(this.b.aa/-2,this.b.Z/-2)),this.tf.set(this.Ja,
this.za,this.Pa,this.Oa),this.tf.offset((this.Ja+this.Pa)/-2,(this.za+this.Oa)/-2),this.Iu.Up(this.tf,a),this.Iu.Dr(this.tf),this.tf.offset((this.Ja+this.Pa)/2,(this.za+this.Oa)/2),this.Ja=this.tf.left,this.za=this.tf.top,this.Pa=this.tf.right,this.Oa=this.tf.bottom)};h.prototype.yg=function(a){if(this.Je=this.al){this.b.Wb||(this.b.Wb=a.fd(this.b.aa,this.b.Z,this.b.Y));if(this.b.Wb.Cf!==this.b.aa||this.b.Wb.Bf!==this.b.Z)a.deleteTexture(this.b.Wb),this.b.Wb=a.fd(this.b.aa,this.b.Z,this.b.Y);a.Ld(this.b.Wb)}this.Se=
!0;var c=this.ub(0,0,!0,!0),e=this.ub(0,0,!1,!0);this.Se=!1;this.b.sd&&(c=Math.round(c),e=Math.round(e));this.zm(c,e,null);c=this.zc();a.Kd();a.scale(c,c);a.Am(-this.yb());a.translate((this.Ja+this.Pa)/-2,(this.za+this.Oa)/-2);a.xd();this.yd?(this.fc.left=this.lc.Gc(this.Ja),this.fc.top=this.lc.Hc(this.za),this.fc.right=this.lc.Gc(this.Pa),this.fc.bottom=this.lc.Hc(this.Oa),this.ke||!this.fc.Ki(this.Qh)?(r(this.cf),c=this.vo(),this.ke=!1,this.Qh.Fi(this.fc)):c=this.cf):c=this.d;for(var b,d=null,e=
c.length-1;0<=e;--e)b=c[e],b!==d&&(this.ky(c[e],a),d=b);this.yd&&(this.cf=c);this.pe||(this.Un=this.b.zg++,a.Em(this.Un),a.ou(1,1,1),a.as(),a.$A())};h.prototype.Qb=function(a){var c=0,e=0;if(this.Je=this.al||1!==this.opacity||0<this.Qa.length||0!==this.oc){this.b.Wb||(this.b.Wb=a.fd(this.b.aa,this.b.Z,this.b.Y));if(this.b.Wb.Cf!==this.b.aa||this.b.Wb.Bf!==this.b.Z)a.deleteTexture(this.b.Wb),this.b.Wb=a.fd(this.b.aa,this.b.Z,this.b.Y);a.Ld(this.b.Wb);this.pe&&a.clear(0,0,0,0)}this.pe||(this.b.cb?(a.Em(this.Un),
a.ou(this.Ud[0]/255,this.Ud[1]/255,this.Ud[2]/255),a.as(),a.pB()):a.clear(this.Ud[0]/255,this.Ud[1]/255,this.Ud[2]/255,1));this.Se=!0;var b=this.ub(0,0,!0,!0),c=this.ub(0,0,!1,!0);this.Se=!1;this.b.sd&&(b=Math.round(b),c=Math.round(c));this.zm(b,c,null);b=this.zc();a.Kd();a.scale(b,b);a.Am(-this.yb());a.translate((this.Ja+this.Pa)/-2,(this.za+this.Oa)/-2);a.xd();this.yd?(this.fc.left=this.lc.Gc(this.Ja),this.fc.top=this.lc.Hc(this.za),this.fc.right=this.lc.Gc(this.Pa),this.fc.bottom=this.lc.Hc(this.Oa),
this.ke||!this.fc.Ki(this.Qh)?(r(this.cf),c=this.vo(),this.ke=!1,this.Qh.Fi(this.fc)):c=this.cf):c=this.d;var d,g,f=null,e=0;for(d=c.length;e<d;++e)g=c[e],g!==f&&(g.Qm&&g.Qm.cq(),this.jy(c[e],a),f=g);this.yd&&(this.cf=c);this.Je&&(c=this.Qa.length?this.Qa[0].Ob:0,e=this.Qa.length?this.Qa[0].index:0,0===this.Qa.length||1===this.Qa.length&&!a.Hp(c)&&1===this.opacity?(1===this.Qa.length?(a.Lc(c),a.bi(this.$a.Si(),1/this.b.aa,1/this.b.Z,0,0,1,1,b,this.yb(),this.Ja,this.za,(this.Ja+this.Pa)/2,(this.za+
this.Oa)/2,this.b.Ub.Ga,this.nb[e]),a.om(c)&&(this.b.Fa=!0)):a.Lc(0),a.Ld(this.$a.Si()),a.gg(this.opacity),a.Fc(this.b.Wb),a.eg(this.tc,this.pc),a.Kd(),a.xd(),b=this.b.aa/2,c=this.b.Z/2,a.ag(-b,c,b,c,b,-c,-b,-c),a.Fc(null)):this.$a.Lp(a,this,null,this.$a.Si()))};h.prototype.jy=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.F();var e=a.L;e.right<this.Ja||e.bottom<this.za||e.left>this.Pa||e.top>this.Oa||(c.Em(a.zg),a.Tu?this.my(a,c):(c.Lc(0),c.eg(a.tc,a.pc),a.Qb(c)))}};h.prototype.ky=function(a,
c){if(a.visible&&0!==a.width&&0!==a.height){a.F();var e=a.L;e.right<this.Ja||e.bottom<this.za||e.left>this.Pa||e.top>this.Oa||(a.zg=this.b.zg++,0===a.oc&&1===a.opacity&&a.of&&a.yg&&(c.Em(a.zg),a.yg(c)))}};h.prototype.my=function(a,c){var e=a.Qa[0].Ob,b=a.Qa[0].index,d=this.zc();if(1!==a.Qa.length||c.Hp(e)||c.NA(e)||(a.A||a.u.yb())&&c.Gj(e)||1!==a.opacity||a.type.G.xt)this.$a.Lp(c,this,a,this.Je?this.b.Wb:this.$a.Si()),c.Kd(),c.scale(d,d),c.Am(-this.yb()),c.translate((this.Ja+this.Pa)/-2,(this.za+
this.Oa)/-2),c.xd();else{c.Lc(e);c.eg(a.tc,a.pc);c.om(e)&&(this.b.Fa=!0);var g=0,f=0,k=0,u=0;c.Gj(e)&&(e=a.L,g=this.kb(e.left,e.top,!0,!0),f=this.kb(e.left,e.top,!1,!0),k=this.kb(e.right,e.bottom,!0,!0),e=this.kb(e.right,e.bottom,!1,!0),g=g/windowWidth,f=1-f/windowHeight,k=k/windowWidth,u=1-e/windowHeight);c.bi(this.Je?this.b.Wb:this.$a.Si(),1/a.width,1/a.height,g,f,k,u,d,this.yb(),this.Ja,this.za,(this.Ja+this.Pa)/2,(this.za+this.Oa)/2,this.b.Ub.Ga,a.nb[b]);a.Qb(c)}};h.prototype.ub=function(a,c,
e,b){var d=this.b.devicePixelRatio;this.b.Uf&&(a*=d,c*=d);var d=this.b.Ut,g=this.b.Vt,d=(this.$a.x-d)*this.ad+d,g=(this.$a.y-g)*this.bd+g,f=1/this.zc(!b);b?(d-=this.b.aa*f/2,g-=this.b.Z*f/2):(d-=this.b.width*f/2,g-=this.b.height*f/2);d+=a*f;g+=c*f;c=this.yb();0!==c&&(d-=this.$a.x,g-=this.$a.y,a=Math.cos(c),c=Math.sin(c),b=d*a-g*c,g=g*a+d*c,d=b+this.$a.x,g+=this.$a.y);d+=this.x;g+=this.y;return e?d:g};h.prototype.kb=function(a,c,e,b){var d=this.yb();if(0!==d){a-=this.$a.x;c-=this.$a.y;var g=Math.cos(-d),
d=Math.sin(-d),f=a*g-c*d;c=c*g+a*d;a=f+this.$a.x;c+=this.$a.y}g=this.b.Ut;d=this.b.Vt;g=(this.$a.x-g)*this.ad+g;d=(this.$a.y-d)*this.bd+d;f=1/this.zc(!b);b?(g-=this.b.aa*f/2,d-=this.b.Z*f/2):(g-=this.b.width*f/2,d-=this.b.height*f/2);g=(a-g)/f;d=(c-d)/f;a=this.b.devicePixelRatio;this.b.Uf&&!b&&(g/=a,d/=a);return e?g:d};h.prototype.mb=function(){var a,c,e,b={s:this.scale,a:this.A,vl:this.Ja,vt:this.za,vr:this.Pa,vb:this.Oa,v:this.visible,bc:this.Ud,t:this.pe,px:this.ad,py:this.bd,o:this.opacity,zr:this.re,
fx:[],cg:this.Gi,instances:[]};a=0;for(c=this.la.length;a<c;a++)e=this.la[a],b.fx.push({name:e.name,active:e.tb,params:this.nb[e.index]});return b};h.prototype.Ab=function(a){var c,e,b;this.scale=a.s;this.A=a.a;this.Ja=a.vl;this.za=a.vt;this.Pa=a.vr;this.Oa=a.vb;this.visible=a.v;this.Ud=a.bc;this.pe=a.t;this.ad=a.px;this.bd=a.py;this.opacity=a.o;this.re=a.zr;this.Gi=a.cg||[];Ca(this.ld,this.Cu);var d=new ca;c=0;for(b=this.Gi.length;c<b;++c)d.add(this.Gi[c]);e=c=0;for(b=this.ld.length;c<b;++c)d.contains(this.ld[c][2])||
(this.ld[e]=this.ld[c],++e);Ba(this.ld,e);e=a.fx;c=0;for(b=e.length;c<b;c++)if(a=this.no(e[c].name))a.tb=e[c].active,this.nb[a.index]=e[c].params;this.qe();this.d.sort(m);this.kh=!0};jc=h})();
(function(){function f(a,c){var e,b=a.length;switch(b){case 0:return!0;case 1:return a[0]===c[0];case 2:return a[0]===c[0]&&a[1]===c[1];default:for(e=0;e<b;e++)if(a[e]!==c[e])return!1;return!0}}function m(a,c){return a.index-c.index}function h(a){var c,e,b,d;2===a.length?a[0].index>a[1].index&&(c=a[0],a[0]=a[1],a[1]=c):2<a.length&&a.sort(m);a.length>=n.length&&(n.length=a.length+1);n[a.length]||(n[a.length]=[]);d=n[a.length];c=0;for(e=d.length;c<e;c++)if(b=d[c],f(a,b))return b;d.push(a);return a}
function b(a,c){this.b=a;this.Ku={};this.Xr={};this.Bo=!1;this.us=new ca;this.Xn=[];this.Hn=[];this.name=c[0];var e=c[1];this.Nf=[];var b,d;b=0;for(d=e.length;b<d;b++)this.ws(e[b],null,this.Nf)}function r(a){this.type=a;this.d=[];this.Ra=[];this.fa=!0}function p(a,c,e){this.sheet=a;this.parent=c;this.b=a.b;this.qa=[];this.hg=[];this.ss=this.Rm=this.dq=this.rl=this.group=this.Xp=!1;this.Pb=[];this.Rd=[];this.Md=[];this.Vi="";this.Qf=this.rl=this.group=!1;this.Hk=null;e[1]&&(this.Vi=e[1][1].toLowerCase(),
this.group=!0,this.rl=!!e[1][0],this.Hk=[],this.Qf=this.rl,this.b.ue.push(this),this.b.Eh[this.Vi]=this);this.fe=e[2];this.Ha=e[4];this.group||(this.b.Cr[this.Ha.toString()]=this);var b=e[5];a=0;for(c=b.length;a<c;a++){var d=new kc(this,b[a]);d.index=a;this.Pb.push(d);this.rr(d.type)}b=e[6];a=0;for(c=b.length;a<c;a++)d=new lc(this,b[a]),d.index=a,this.Rd.push(d);if(8===e.length)for(e=e[7],a=0,c=e.length;a<c;a++)this.sheet.ws(e[a],this,this.Md);this.zl=!1;this.Pb.length&&(this.zl=null==this.Pb[0].type&&
this.Pb[0].hc==S.prototype.k.Aq)}function q(a,c){var e,b,d;if(a&&(-1===c.indexOf(a)&&c.push(a),a.jc))for(e=0,b=a.Pc.length;e<b;e++)d=a.Pc[e],a!==d&&-1===c.indexOf(d)&&c.push(d)}function d(a,c){this.ed=a;this.sheet=a.sheet;this.b=a.b;this.xa=[];this.rb=[];this.ua={};this.index=-1;this.yi=!1;this.hc=this.b.yf(c[1]);this.trigger=0<c[3];this.Wr=2===c[3];this.Ee=c[4];this.Jo=c[5];this.hA=c[6];this.Ha=c[7];this.b.wh[this.Ha.toString()]=this;-1===c[0]?(this.type=null,this.Nb=this.Pp,this.ug=null,this.Vd=
-1):(this.type=this.b.D[c[0]],this.Nb=this.hA?this.fB:this.Op,c[2]?(this.ug=this.type.fl(c[2]),this.Vd=this.type.ko(c[2])):(this.ug=null,this.Vd=-1),this.ed.parent&&this.ed.parent.Hm());this.Wr&&(this.Nb=this.gB);if(10===c.length){var e,b,d=c[9];e=0;for(b=d.length;e<b;e++){var g=new mc(this,d[e]);this.xa.push(g)}this.rb.length=d.length}}function v(a,c){this.ed=a;this.sheet=a.sheet;this.b=a.b;this.xa=[];this.rb=[];this.ua={};this.index=-1;this.yi=!1;this.hc=this.b.yf(c[1]);-1===c[0]?(this.type=null,
this.Nb=this.Pp,this.ug=null,this.Vd=-1):(this.type=this.b.D[c[0]],this.Nb=this.Op,c[2]?(this.ug=this.type.fl(c[2]),this.Vd=this.type.ko(c[2])):(this.ug=null,this.Vd=-1));this.Ha=c[3];this.b.qh[this.Ha.toString()]=this;if(6===c.length){var e,b,d=c[5];e=0;for(b=d.length;e<b;e++){var g=new mc(this,d[e]);this.xa.push(g)}this.rb.length=d.length}}function g(){w++;t.length===w&&t.push(new nc);return t[w]}function a(a,c){this.Id=a;this.ed=a.ed;this.sheet=a.sheet;this.b=a.b;this.type=c[0];this.Be=null;this.pf=
0;this.get=null;this.Jr=0;this.$a=null;this.key=0;this.object=null;this.index=0;this.ck=this.gh=this.ck=this.gh=this.Yr=this.Bg=this.dk=null;this.Od=!1;var e,b,d;switch(c[0]){case 0:case 7:this.Be=new oc(this,c[1]);this.pf=0;this.get=this.Az;break;case 1:this.Be=new oc(this,c[1]);this.pf=0;this.get=this.Bz;break;case 5:this.Be=new oc(this,c[1]);this.pf=0;this.get=this.Fz;break;case 3:case 8:this.Jr=c[1];this.get=this.yz;break;case 6:this.$a=this.b.cp[c[1]];this.get=this.Gz;break;case 9:this.key=c[1];
this.get=this.Ez;break;case 4:this.object=this.b.D[c[1]];this.get=this.Hz;this.ed.rr(this.object);this.Id instanceof lc?this.ed.Hm():this.ed.parent&&this.ed.parent.Hm();break;case 10:this.index=c[1];a.type.X?(this.get=this.Cz,this.Od=!0):this.get=this.Dz;break;case 11:this.dk=c[1];this.Bg=null;this.get=this.zz;break;case 2:case 12:this.Yr=c[1];this.get=this.xz;break;case 13:for(this.get=this.Iz,this.gh=[],this.ck=[],e=1,b=c.length;e<b;e++)d=new mc(this.Id,c[e]),this.gh.push(d),this.ck.push(0)}}function c(a,
c,e){this.sheet=a;this.parent=c;this.b=a.b;this.qa=[];this.name=e[1];this.$m=e[2];this.Eo=e[3];this.ej=!!e[4];this.yl=!!e[5];this.Ha=e[6];this.b.li[this.Ha.toString()]=this;this.data=this.Eo;this.parent?(this.Yg=this.ej||this.yl?-1:this.b.qB++,this.b.yx.push(this)):(this.Yg=-1,this.b.xx.push(this))}function e(a,c,e){this.sheet=a;this.parent=c;this.b=a.b;this.qa=[];this.Xi=null;this.Rz=e[1];this.tb=!0}function l(){this.Eu=[];this.reset(null)}var n=[];b.prototype.toString=function(){return this.name};
b.prototype.ws=function(a,c,e){switch(a[0]){case 0:a=new pc(this,c,a);if(a.fe)for(e.push(a),e=0,c=a.Pb.length;e<c;e++)a.Pb[e].trigger&&this.xs(a,e);else a.Is()?this.xs(a,0):e.push(a);break;case 1:a=new bc(this,c,a);e.push(a);break;case 2:a=new qc(this,c,a),e.push(a)}};b.prototype.Eb=function(){var a,c;a=0;for(c=this.Nf.length;a<c;a++)this.Nf[a].Eb(a<c-1&&this.Nf[a+1].zl)};b.prototype.jq=function(){F(this.Xn);F(this.Hn);this.pr(this);F(this.Hn)};b.prototype.pr=function(a){var c,e,b,d,g=a.Xn,l=a.Hn,
n=this.us.pg();c=0;for(e=n.length;c<e;++c)b=n[c],d=b.Xi,!b.tb||a===d||-1<l.indexOf(d)||(l.push(d),d.pr(a),g.push(d))};b.prototype.Nb=function(a){this.b.HC||(this.Bo=!0,a||(this.b.Qo=!0));var c,e;c=0;for(e=this.Nf.length;c<e;c++){var b=this.Nf[c];b.Nb();this.b.Bk(b.qa);this.b.Rf&&this.b.mc()}a||(this.b.Qo=!1)};b.prototype.xs=function(a,c){a.fe||this.b.Um.push(a);var e,b,d=a.Pb[c],g;d.type?g=d.type.name:g="system";var l=(e=d.Wr)?this.Xr:this.Ku;l[g]||(l[g]=[]);g=l[g];l=d.hc;if(e){if(d.xa.length&&(d=
d.xa[0],1===d.type&&2===d.Be.type)){d=d.Be.value.toLowerCase();e=0;for(b=g.length;e<b;e++)if(g[e].method==l){e=g[e].Li;e[d]?e[d].push([a,c]):e[d]=[[a,c]];return}e={};e[d]=[[a,c]];g.push({method:l,Li:e})}}else{e=0;for(b=g.length;e<b;e++)if(g[e].method==l){g[e].Li.push([a,c]);return}W&&l===W.prototype.k.ph?g.unshift({method:l,Li:[[a,c]]}):g.push({method:l,Li:[[a,c]]})}};Qb=b;r.prototype.ml=function(){return this.fa?this.type.d.length:this.d.length};r.prototype.ab=function(){return this.fa?this.type.d:
this.d};r.prototype.Zh=function(a){a&&(a.b.zb().wb.fe?(this.fa&&(F(this.d),Ca(this.Ra,a.type.d),this.fa=!1),a=this.Ra.indexOf(a),-1!==a&&(this.d.push(this.Ra[a]),this.Ra.splice(a,1))):(this.fa=!1,F(this.d),this.d[0]=a))};zb=r;window._c2hh_="98F06FA1CC78E611722DDBADC8175D5AE1CA28DD";p.prototype.Eb=function(a){var c,e=this.parent;if(this.group)for(this.Rm=!0;e;){if(!e.group){this.Rm=!1;break}e=e.parent}this.dq=!this.Is()&&(!this.parent||this.parent.group&&this.parent.Rm);this.ss=!!a;this.hg=this.qa.slice(0);
for(e=this.parent;e;){a=0;for(c=e.qa.length;a<c;a++)this.wx(e.qa[a]);e=e.parent}this.qa=h(this.qa);this.hg=h(this.hg);a=0;for(c=this.Pb.length;a<c;a++)this.Pb[a].Eb();a=0;for(c=this.Rd.length;a<c;a++)this.Rd[a].Eb();a=0;for(c=this.Md.length;a<c;a++)this.Md[a].Eb(a<c-1&&this.Md[a+1].zl)};p.prototype.Nj=function(a){if(this.Qf!==!!a){this.Qf=!!a;var c;a=0;for(c=this.Hk.length;a<c;++a)this.Hk[a].Pu();0<c&&this.b.V.Ag&&this.b.V.Ag.jq()}};p.prototype.rr=function(a){q(a,this.qa)};p.prototype.wx=function(a){q(a,
this.hg)};p.prototype.Hm=function(){this.Xp=!0;this.parent&&this.parent.Hm()};p.prototype.Is=function(){return this.Pb.length?this.Pb[0].trigger:!1};p.prototype.Nb=function(){var a,c,e=!1,b=this.b,d=this.b.zb();d.wb=this;var g=this.Pb;this.zl||(d.Zn=!1);if(this.fe){0===g.length&&(e=!0);d.Hb=0;for(a=g.length;d.Hb<a;d.Hb++)c=g[d.Hb],c.trigger||(c=c.Nb())&&(e=!0);(d.Og=e)&&this.Bm()}else{d.Hb=0;for(a=g.length;d.Hb<a;d.Hb++)if(c=g[d.Hb].Nb(),!c){d.Og=!1;this.dq&&b.Rf&&b.mc();return}d.Og=!0;this.Bm()}this.ty(d)};
p.prototype.ty=function(a){a.Og&&this.ss&&(a.Zn=!0);this.dq&&this.b.Rf&&this.b.mc()};p.prototype.dB=function(a){this.b.zb().wb=this;this.Pb[a].Nb()&&(this.Bm(),this.b.zb().Og=!0)};p.prototype.Bm=function(){var a=this.b.zb(),c;a.wc=0;for(c=this.Rd.length;a.wc<c;a.wc++)if(this.Rd[a.wc].Nb())return;this.ku()};p.prototype.ju=function(){var a=this.b.zb(),c;for(c=this.Rd.length;a.wc<c;a.wc++)if(this.Rd[a.wc].Nb())return;this.ku()};p.prototype.ku=function(){if(this.Md.length){var a,c,e,b,d=this.Md.length-
1;this.b.pm(this);if(this.Xp)for(a=0,c=this.Md.length;a<c;a++)e=this.Md[a],(b=!this.Rm||!this.group&&a<d)&&this.b.kf(e.qa),e.Nb(),b?this.b.Jd(e.qa):this.b.Bk(e.qa);else for(a=0,c=this.Md.length;a<c;a++)this.Md[a].Nb();this.b.jm()}};p.prototype.eB=function(){var a=this.b.zb();a.wb=this;var c=!1,e;a.Hb=0;for(e=this.Pb.length;a.Hb<e;a.Hb++)if(this.Pb[a.Hb].Nb())c=!0;else if(!this.fe)return!1;return this.fe?c:!0};p.prototype.le=function(){this.b.Mi++;var a=this.b.zb().Hb,c=this.b.pm(this);if(!this.fe)for(c.Hb=
a+1,a=this.Pb.length;c.Hb<a;c.Hb++)if(!this.Pb[c.Hb].Nb())return this.b.jm(),!1;this.Bm();this.b.jm();return!0};p.prototype.Yz=function(a){var c=a.index;if(0===c)return!0;for(--c;0<=c;--c)if(this.Pb[c].type===a.type)return!1;return!0};pc=p;d.prototype.Eb=function(){var a,c,e;a=0;for(c=this.xa.length;a<c;a++)e=this.xa[a],e.Eb(),e.Od&&(this.yi=!0)};d.prototype.gB=function(){return!0};d.prototype.Pp=function(){var a,c;a=0;for(c=this.xa.length;a<c;a++)this.rb[a]=this.xa[a].get();return Wa(this.hc.apply(this.b.ud,
this.rb),this.Jo)};d.prototype.fB=function(){var a,c;a=0;for(c=this.xa.length;a<c;a++)this.rb[a]=this.xa[a].get();a=this.hc.apply(this.ug?this.ug:this.type,this.rb);this.type.Td();return a};d.prototype.Op=function(){var a,c,e,b,d,g,l,n,f=this.type,t=f.O(),q=this.ed.fe&&!this.trigger;c=0;var w=f.jc,h=f.X,p=f.Ue,m=this.Vd,r=-1<m,v=this.yi,x=this.xa,B=this.rb,A=this.Jo,P=this.hc,G;if(v)for(c=0,d=x.length;c<d;++c)g=x[c],g.Od||(B[c]=g.get(0));else for(c=0,d=x.length;c<d;++c)B[c]=x[c].get(0);if(t.fa){F(t.d);
F(t.Ra);G=f.d;a=0;for(b=G.length;a<b;++a){n=G[a];if(v)for(c=0,d=x.length;c<d;++c)g=x[c],g.Od&&(B[c]=g.get(a));r?(c=0,h&&(c=n.type.Ah[p]),c=P.apply(n.ka[m+c],B)):c=P.apply(n,B);(l=Wa(c,A))?t.d.push(n):q&&t.Ra.push(n)}f.finish&&f.finish(!0);t.fa=!1;f.Td();return t.ml()}e=0;G=(l=q&&!this.ed.Yz(this))?t.Ra:t.d;var J=!1;a=0;for(b=G.length;a<b;++a){n=G[a];if(v)for(c=0,d=x.length;c<d;++c)g=x[c],g.Od&&(B[c]=g.get(a));r?(c=0,h&&(c=n.type.Ah[p]),c=P.apply(n.ka[m+c],B)):c=P.apply(n,B);if(Wa(c,A))if(J=!0,l){if(t.d.push(n),
w)for(c=0,d=n.siblings.length;c<d;c++)g=n.siblings[c],g.type.O().d.push(g)}else{G[e]=n;if(w)for(c=0,d=n.siblings.length;c<d;c++)g=n.siblings[c],g.type.O().d[e]=g;e++}else if(l){G[e]=n;if(w)for(c=0,d=n.siblings.length;c<d;c++)g=n.siblings[c],g.type.O().Ra[e]=g;e++}else if(q&&(t.Ra.push(n),w))for(c=0,d=n.siblings.length;c<d;c++)g=n.siblings[c],g.type.O().Ra.push(g)}Ba(G,e);if(w)for(h=f.Pc,a=0,b=h.length;a<b;a++)n=h[a].O(),l?Ba(n.Ra,e):Ba(n.d,e);e=J;if(l&&!J)for(a=0,b=t.d.length;a<b;a++){n=t.d[a];if(v)for(c=
0,d=x.length;c<d;c++)g=x[c],g.Od&&(B[c]=g.get(a));c=r?P.apply(n.ka[m],B):P.apply(n,B);if(Wa(c,A)){J=!0;break}}f.finish&&f.finish(e||q);return q?J:t.ml()};kc=d;v.prototype.Eb=function(){var a,c,e;a=0;for(c=this.xa.length;a<c;a++)e=this.xa[a],e.Eb(),e.Od&&(this.yi=!0)};v.prototype.Pp=function(){var a=this.b,c,e,b=this.xa,d=this.rb;c=0;for(e=b.length;c<e;++c)d[c]=b[c].get();return this.hc.apply(a.ud,d)};v.prototype.Op=function(){var a=this.type,c=this.Vd,e=a.Ue,b=this.yi,d=this.xa,g=this.rb,l=this.hc,
n=a.O().ab(),a=a.X,f=-1<c,t=!1,q,w,h,p,m;if(b)for(w=0,p=d.length;w<p;++w)m=d[w],m.Od||(g[w]=m.get(0));else for(w=0,p=d.length;w<p;++w)g[w]=d[w].get(0);q=0;for(h=n.length;q<h;++q){t=n[q];if(b)for(w=0,p=d.length;w<p;++w)m=d[w],m.Od&&(g[w]=m.get(q));f?(w=0,a&&(w=t.type.Ah[e]),t=l.apply(t.ka[c+w],g)):t=l.apply(t,g)}return!0===this.type.eA?t:!1};lc=v;var t=[],w=-1;a.prototype.Eb=function(){var a,c;if(11===this.type)this.Bg=this.b.gs(this.dk,this.ed.parent);else if(13===this.type)for(a=0,c=this.gh.length;a<
c;a++)this.gh[a].Eb();this.Be&&this.Be.Eb()};a.prototype.tA=function(a){this.Od||!a||a.G.fh||(this.Od=!0)};a.prototype.tu=function(){this.Od=!0};a.prototype.Az=function(a){this.pf=a||0;a=g();this.Be.get(a);w--;return a.data};a.prototype.Bz=function(a){this.pf=a||0;a=g();this.Be.get(a);w--;return ma(a.data)?a.data:""};a.prototype.Hz=function(){return this.object};a.prototype.yz=function(){return this.Jr};a.prototype.Fz=function(a){this.pf=a||0;a=g();this.Be.get(a);w--;return a.Tb()?this.b.Dh(a.data):
this.b.il(a.data)};a.prototype.Gz=function(){return this.$a};a.prototype.Ez=function(){return this.key};a.prototype.Dz=function(){return this.index};a.prototype.Cz=function(a){a=a||0;var c=this.Id.type,e=null,e=c.O(),b=e.ab();if(b.length)e=b[a%b.length].type;else if(e.Ra.length)e=e.Ra[a%e.Ra.length].type;else if(c.d.length)e=c.d[a%c.d.length].type;else return 0;return this.index+e.Xk[c.Ue]};a.prototype.zz=function(){return this.Bg};a.prototype.xz=function(){return this.Yr};a.prototype.Iz=function(){var a,
c;a=0;for(c=this.gh.length;a<c;a++)this.ck[a]=this.gh[a].get();return this.ck};mc=a;c.prototype.Eb=function(){this.qa=h(this.qa)};c.prototype.eh=function(a){var c=this.b.es();this.parent&&!this.ej&&c?(this.Yg>=c.length&&(c.length=this.Yg+1),c[this.Yg]=a):this.data=a};c.prototype.Ti=function(){var a=this.b.es();return!this.parent||this.ej||!a||this.yl?this.data:this.Yg>=a.length||"undefined"===typeof a[this.Yg]?this.Eo:a[this.Yg]};c.prototype.Nb=function(){!this.parent||this.ej||this.yl||this.eh(this.Eo)};
bc=c;e.prototype.toString=function(){return"include:"+this.Xi.toString()};e.prototype.Eb=function(){this.Xi=this.b.yh[this.Rz];this.sheet.us.add(this);this.qa=h(this.qa);for(var a=this.parent;a;)a.group&&a.Hk.push(this),a=a.parent;this.Pu()};e.prototype.Nb=function(){this.parent&&this.b.Jj(this.b.D);this.Xi.Bo||this.Xi.Nb(!0);this.parent&&this.b.Jd(this.b.D)};e.prototype.Pu=function(){for(var a=this.parent;a;){if(a.group&&!a.Qf){this.tb=!1;return}a=a.parent}this.tb=!0};qc=e;l.prototype.reset=function(a){this.wb=
a;this.wc=this.Hb=0;F(this.Eu);this.Zn=this.Og=!1};l.prototype.ul=function(){return this.wb.Xp?!0:this.Hb<this.wb.Pb.length-1?!!this.wb.qa.length:!1};ac=l})();
(function(){function f(b,d){this.Id=b;this.b=b.b;this.type=d[0];this.get=[this.Ly,this.Hy,this.Uy,this.Xy,this.wy,this.Vy,this.Py,this.Ey,this.Oy,this.Ty,this.xy,this.Sy,this.Fy,this.Qy,this.My,this.Ny,this.Iy,this.Jy,this.Dy,this.Wy,this.Ry,this.Ky,this.Cy,this.Gy][this.type];var f=null;this.ff=this.xa=this.rb=this.hc=this.Pm=this.second=this.first=this.value=null;this.Vd=-1;this.$d=null;this.Uu=-1;this.Bg=this.dk=null;this.ai=!1;switch(this.type){case 0:case 1:case 2:this.value=d[1];break;case 3:this.first=
new oc(b,d[1]);break;case 18:this.first=new oc(b,d[1]);this.second=new oc(b,d[2]);this.Pm=new oc(b,d[3]);break;case 19:this.hc=this.b.yf(d[1]);this.hc!==S.prototype.B.random&&this.hc!==S.prototype.B.Tn||this.Id.tu();this.rb=[];this.xa=[];3===d.length?(f=d[2],this.rb.length=f.length+1):this.rb.length=1;break;case 20:this.ff=this.b.D[d[1]];this.Vd=-1;this.hc=this.b.yf(d[2]);this.ai=d[3];Tc&&this.hc===Tc.prototype.B.uq&&this.Id.tu();d[4]?this.$d=new oc(b,d[4]):this.$d=null;this.rb=[];this.xa=[];6===
d.length?(f=d[5],this.rb.length=f.length+1):this.rb.length=1;break;case 21:this.ff=this.b.D[d[1]];this.ai=d[2];d[3]?this.$d=new oc(b,d[3]):this.$d=null;this.Uu=d[4];break;case 22:this.ff=this.b.D[d[1]];this.ff.fl(d[2]);this.Vd=this.ff.ko(d[2]);this.hc=this.b.yf(d[3]);this.ai=d[4];d[5]?this.$d=new oc(b,d[5]):this.$d=null;this.rb=[];this.xa=[];7===d.length?(f=d[6],this.rb.length=f.length+1):this.rb.length=1;break;case 23:this.dk=d[1],this.Bg=null}this.Id.tA(this.ff);4<=this.type&&17>=this.type&&(this.first=
new oc(b,d[1]),this.second=new oc(b,d[2]));if(f){var g,a;g=0;for(a=f.length;g<a;g++)this.xa.push(new oc(b,f[g]))}}function m(){++p;r.length===p&&r.push(new nc);return r[p]}function h(b,d,f){var g,a;g=0;for(a=b.length;g<a;++g)b[g].get(f),d[g+1]=f.data}function b(b,d){this.type=b||rc.oh;this.data=d||0;this.ah=null;this.type==rc.oh&&(this.data=Math.floor(this.data))}f.prototype.Eb=function(){23===this.type&&(this.Bg=this.Id.b.gs(this.dk,this.Id.ed.parent));this.first&&this.first.Eb();this.second&&this.second.Eb();
this.Pm&&this.Pm.Eb();this.$d&&this.$d.Eb();if(this.xa){var b,d;b=0;for(d=this.xa.length;b<d;b++)this.xa[b].Eb()}};var r=[],p=-1;f.prototype.Wy=function(b){var d=this.xa,f=this.rb;f[0]=b;b=m();h(d,f,b);--p;this.hc.apply(this.b.ud,f)};f.prototype.Ry=function(b){var d=this.ff,f=this.rb,g=this.xa,a=this.$d,c=this.hc,e=this.Id.pf,l=d.O(),n=l.ab();if(!n.length)if(l.Ra.length)n=l.Ra;else{this.ai?b.ga(""):b.M(0);return}f[0]=b;b.ah=d;b=m();h(g,f,b);a&&(a.get(b),b.Tb()&&(e=b.data,n=d.d));--p;d=n.length;if(e>=
d||e<=-d)e%=d;0>e&&(e+=d);c.apply(n[e],f)};f.prototype.Cy=function(b){var d=this.ff,f=this.rb,g=this.xa,a=this.$d,c=this.Vd,e=this.hc,l=this.Id.pf,n=d.O(),t=n.ab();if(!t.length)if(n.Ra.length)t=n.Ra;else{this.ai?b.ga(""):b.M(0);return}f[0]=b;b.ah=d;b=m();h(g,f,b);a&&(a.get(b),b.Tb()&&(l=b.data,t=d.d));--p;g=t.length;if(l>=g||l<=-g)l%=g;0>l&&(l+=g);l=t[l];t=0;d.X&&(t=l.type.Ah[d.Ue]);e.apply(l.ka[c+t],f)};f.prototype.Ky=function(b){var d=this.$d,f=this.ff,g=this.Uu,a=this.Id.pf,c=f.O(),e=c.ab();if(!e.length)if(c.Ra.length)e=
c.Ra;else{this.ai?b.ga(""):b.M(0);return}if(d){c=m();d.get(c);if(c.Tb()){a=c.data;e=f.d;0!==e.length&&(a%=e.length,0>a&&(a+=e.length));a=f.to(a);f=a.Sb[g];ma(f)?b.ga(f):b.N(f);--p;return}--p}d=e.length;if(a>=d||a<=-d)a%=d;0>a&&(a+=d);a=e[a];e=0;f.X&&(e=a.type.Xk[f.Ue]);f=a.Sb[g+e];ma(f)?b.ga(f):b.N(f)};f.prototype.Ly=function(b){b.type=rc.oh;b.data=this.value};f.prototype.Hy=function(b){b.type=rc.mh;b.data=this.value};f.prototype.Uy=function(b){b.type=rc.String;b.data=this.value};f.prototype.Xy=function(b){this.first.get(b);
b.Tb()&&(b.data=-b.data)};f.prototype.wy=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data+=d.data,d.Kh()&&b.Uh());--p};f.prototype.Vy=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data-=d.data,d.Kh()&&b.Uh());--p};f.prototype.Py=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data*=d.data,d.Kh()&&b.Uh());--p};f.prototype.Ey=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data/=
d.data,b.Uh());--p};f.prototype.Oy=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data%=d.data,d.Kh()&&b.Uh());--p};f.prototype.Ty=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data=Math.pow(b.data,d.data),d.Kh()&&b.Uh());--p};f.prototype.xy=function(b){this.first.get(b);var d=m();this.second.get(d);d.Nh()||b.Nh()?this.zy(b,d):this.yy(b,d);--p};f.prototype.zy=function(b,d){b.Nh()&&d.Nh()?this.By(b,d):this.Ay(b,d)};f.prototype.By=function(b,
d){b.data+=d.data};f.prototype.Ay=function(b,d){b.Nh()?b.data+=(Math.round(1E10*d.data)/1E10).toString():b.ga(b.data.toString()+d.data)};f.prototype.yy=function(b,d){b.M(b.data&&d.data?1:0)};f.prototype.Sy=function(b){this.first.get(b);var d=m();this.second.get(d);b.Tb()&&d.Tb()&&(b.data||d.data?b.M(1):b.M(0));--p};f.prototype.Dy=function(b){this.first.get(b);b.data?this.second.get(b):this.Pm.get(b)};f.prototype.Fy=function(b){this.first.get(b);var d=m();this.second.get(d);b.M(b.data===d.data?1:0);
--p};f.prototype.Qy=function(b){this.first.get(b);var d=m();this.second.get(d);b.M(b.data!==d.data?1:0);--p};f.prototype.My=function(b){this.first.get(b);var d=m();this.second.get(d);b.M(b.data<d.data?1:0);--p};f.prototype.Ny=function(b){this.first.get(b);var d=m();this.second.get(d);b.M(b.data<=d.data?1:0);--p};f.prototype.Iy=function(b){this.first.get(b);var d=m();this.second.get(d);b.M(b.data>d.data?1:0);--p};f.prototype.Jy=function(b){this.first.get(b);var d=m();this.second.get(d);b.M(b.data>=
d.data?1:0);--p};f.prototype.Gy=function(b){var d=this.Bg.Ti();la(d)?b.N(d):b.ga(d)};oc=f;b.prototype.Kh=function(){return this.type===rc.mh};b.prototype.Tb=function(){return this.type===rc.oh||this.type===rc.mh};b.prototype.Nh=function(){return this.type===rc.String};b.prototype.Uh=function(){this.Kh()||(this.Nh()&&(this.data=parseFloat(this.data)),this.type=rc.mh)};b.prototype.M=function(b){this.type=rc.oh;this.data=Math.floor(b)};b.prototype.N=function(b){this.type=rc.mh;this.data=b};b.prototype.ga=
function(b){this.type=rc.String;this.data=b};b.prototype.me=function(b){la(b)?(this.type=rc.mh,this.data=b):ma(b)?(this.type=rc.String,this.data=b.toString()):(this.type=rc.oh,this.data=0)};nc=b;rc={oh:0,mh:1,String:2}})();function S(f){this.b=f;this.Nc=[]}
S.prototype.mb=function(){var f={},m,h,b,r,p,q,d,v;f.waits=[];var g=f.waits,a;m=0;for(h=this.Nc.length;m<h;m++){q=this.Nc[m];a={t:q.time,st:q.zu,s:q.Wp,ev:q.Mf.Ha,sm:[],sols:{}};q.Mf.Rd[q.wc]&&(a.act=q.Mf.Rd[q.wc].Ha);b=0;for(r=q.qa.length;b<r;b++)a.sm.push(q.qa[b].Ha);for(p in q.Zb)if(q.Zb.hasOwnProperty(p)){d=this.b.D[parseInt(p,10)];v={sa:q.Zb[p].Mj,insts:[]};b=0;for(r=q.Zb[p].Sc.length;b<r;b++)v.insts.push(q.Zb[p].Sc[b].uid);a.sols[d.Ha.toString()]=v}g.push(a)}return f};
S.prototype.Ab=function(f){f=f.waits;var m,h,b,r,p,q,d,v,g,a,c;F(this.Nc);m=0;for(h=f.length;m<h;m++)if(q=f[m],v=this.b.Cr[q.ev.toString()]){g=-1;b=0;for(r=v.Rd.length;b<r;b++)if(v.Rd[b].Ha===q.act){g=b;break}if(-1!==g){d={Zb:{},qa:[],Ji:!1};d.time=q.t;d.zu=q.st||"";d.Wp=!!q.s;d.Mf=v;d.wc=g;b=0;for(r=q.sm.length;b<r;b++)(v=this.b.kl(q.sm[b]))&&d.qa.push(v);for(p in q.sols)if(q.sols.hasOwnProperty(p)&&(v=this.b.kl(parseInt(p,10)))){g=q.sols[p];a={Mj:g.sa,Sc:[]};b=0;for(r=g.insts.length;b<r;b++)(c=
this.b.Ri(g.insts[b]))&&a.Sc.push(c);d.Zb[v.index.toString()]=a}this.Nc.push(d)}}};
(function(){function f(){}function m(b,a){var c=b.ua.c2_feo_val,e=a.ua.c2_feo_val;if(la(c)&&la(e))return c-e;c=""+c;e=""+e;return c<e?-1:c>e?1:0}function h(){}function b(){}var r=S.prototype;f.prototype.wv=function(){return!0};f.prototype.rn=function(){return!0};f.prototype.jw=function(){return!0};f.prototype.hv=function(b,a,c){return sc(b,a,c)};f.prototype.nx=function(){var b=this.b.zb(),a=b.wb,c=b.ul(),b=this.b.qm();if(c)for(c=0;!b.Ya;c++)this.b.kf(a.qa),b.index=c,a.le()||(b.Ya=!0),this.b.Jd(a.qa);
else for(c=0;!b.Ya;c++)b.index=c,a.le()||(b.Ya=!0);this.b.km();return!1};f.prototype.zv=function(b,a,c){var e=this.b.zb(),d=e.wb,e=e.ul();b=this.b.qm(b);if(c<a)if(e)for(;a>=c&&!b.Ya;--a)this.b.kf(d.qa),b.index=a,d.le(),this.b.Jd(d.qa);else for(;a>=c&&!b.Ya;--a)b.index=a,d.le();else if(e)for(;a<=c&&!b.Ya;++a)this.b.kf(d.qa),b.index=a,d.le(),this.b.Jd(d.qa);else for(;a<=c&&!b.Ya;++a)b.index=a,d.le();this.b.km();return!1};var p=[],q=-1;f.prototype.Av=function(b){var a=b.O();q++;p.length===q&&p.push([]);
var c=p[q];Ca(c,a.ab());var e=this.b.zb(),d=e.wb,n=e.ul(),e=this.b.qm(),f,w,k,h,m,r,H=b.jc;if(n)for(n=0,f=c.length;n<f&&!e.Ya;n++){this.b.kf(d.qa);h=c[n];a=b.O();a.fa=!1;F(a.d);a.d[0]=h;if(H)for(w=0,k=h.siblings.length;w<k;w++)m=h.siblings[w],r=m.type.O(),r.fa=!1,F(r.d),r.d[0]=m;e.index=n;d.le();this.b.Jd(d.qa)}else for(a.fa=!1,F(a.d),n=0,f=c.length;n<f&&!e.Ya;n++){h=c[n];a.d[0]=h;if(H)for(w=0,k=h.siblings.length;w<k;w++)m=h.siblings[w],r=m.type.O(),r.fa=!1,F(r.d),r.d[0]=m;e.index=n;d.le()}F(c);this.b.km();
q--;return!1};f.prototype.Bv=function(b,a,c){a=b.O();q++;p.length===q&&p.push([]);var e=p[q];Ca(e,a.ab());var d=this.b.zb(),n=d.wb,f=this.b.gl(),w=d.ul(),d=this.b.qm(),k,h,r,O,H;k=0;for(h=e.length;k<h;k++)e[k].ua.c2_feo_val=f.xa[1].get(k);e.sort(m);1===c&&e.reverse();c=b.jc;if(w)for(k=0,h=e.length;k<h&&!d.Ya;k++){this.b.kf(n.qa);r=e[k];a=b.O();a.fa=!1;F(a.d);a.d[0]=r;if(c)for(f=0,w=r.siblings.length;f<w;f++)O=r.siblings[f],H=O.type.O(),H.fa=!1,F(H.d),H.d[0]=O;d.index=k;n.le();this.b.Jd(n.qa)}else for(a.fa=
!1,F(a.d),k=0,h=e.length;k<h&&!d.Ya;k++){r=e[k];a.d[0]=r;if(c)for(f=0,w=r.siblings.length;f<w;f++)O=r.siblings[f],H=O.type.O(),H.fa=!1,F(H.d),H.d[0]=O;d.index=k;n.le()}F(e);this.b.km();q--;return!1};f.prototype.ix=function(){var b=this.b.gl().ua;"undefined"===typeof b.TriggerOnce_lastTick&&(b.TriggerOnce_lastTick=-1);var a=b.TriggerOnce_lastTick,c=this.b.oe;b.TriggerOnce_lastTick=c;return this.b.bp||a!==c-1};f.prototype.vv=function(b){var a=this.b.gl(),c=a.ua.Every_lastTime||0,e=this.b.Ub.Ga;"undefined"===
typeof a.ua.Every_seconds&&(a.ua.Every_seconds=b);var d=a.ua.Every_seconds;if(e>=c+d)return a.ua.Every_lastTime=c+d,e>=a.ua.Every_lastTime+.04&&(a.ua.Every_lastTime=e),a.ua.Every_seconds=b,!0;e<c-.1&&(a.ua.Every_lastTime=e);return!1};f.prototype.ww=function(b,a){if(!b)return!1;var c=b.O(),e=c.ab();a=ta(a);if(0>a||a>=e.length)return!1;c.Zh(e[a]);b.Td();return!0};f.prototype.nv=function(b,a,c){return sc(b.Ti(),a,c)};f.prototype.Jv=function(b){return(b=this.b.Eh[b.toLowerCase()])&&b.Qf};f.prototype.Iq=
function(){return this.b.de};f.prototype.Aq=function(){var b=this.b.zb();return b.Zn?!1:!b.Og};f.prototype.ti=function(){return!0};f.prototype.Zv=function(){return!0};f.prototype.tn=function(){return!0};f.prototype.kw=function(){return!0};f.prototype.sn=function(){return!0};f.prototype.Xu=function(b,a,c){return Pa(L(b),L(c))<=L(a)};f.prototype.Hv=function(b,a){return Sa(L(b),L(a))};f.prototype.Gv=function(b,a,c){b=Ma(b);a=Ma(a);c=Ma(c);return Sa(c,a)?Sa(b,a)&&!Sa(b,c):!(!Sa(b,a)&&Sa(b,c))};r.k=new f;
h.prototype.Cv=function(b){this.b.Oh||this.b.vg||(this.b.vg=b)};h.prototype.qv=function(b,a,c,e){if(a&&b&&(a=this.b.Qe(b,a,c,e))){this.b.nd++;var d;this.b.trigger(Object.getPrototypeOf(b.G).k.se,a);if(a.jc)for(c=0,e=a.siblings.length;c<e;c++)d=a.siblings[c],this.b.trigger(Object.getPrototypeOf(d.type.G).k.se,d);this.b.nd--;b=b.O();b.fa=!1;F(b.d);b.d[0]=a;if(a.jc)for(c=0,e=a.siblings.length;c<e;c++)d=a.siblings[c],b=d.type.O(),b.fa=!1,F(b.d),b.d[0]=d}};h.prototype.Mw=function(b,a){b&&b.visible!==a&&
(b.visible=a,this.b.Fa=!0)};h.prototype.Tw=function(b,a){0===b.$m?la(a)?b.eh(a):b.eh(parseFloat(a)):1===b.$m&&b.eh(a.toString())};h.prototype.Vu=function(b,a){0===b.$m?la(a)?b.eh(b.Ti()+a):b.eh(b.Ti()+parseFloat(a)):1===b.$m&&b.eh(b.Ti()+a.toString())};h.prototype.Lw=function(b,a){var c=this.b.Eh[b.toLowerCase()];if(c)switch(a){case 0:c.Nj(!1);break;case 1:c.Nj(!0);break;case 2:c.Nj(!c.Qf)}};h.prototype.Sw=function(b){0>b&&(b=0);this.b.sf=b};var d=[],v=[];h.prototype.Cn=function(b,a){if(!(0>b)){var c,
e,l,n,f=this.b.zb(),w;d.length?c=d.pop():c={Zb:{},qa:[]};c.Ji=!1;w=c;w.time=this.b.Ub.Ga+b;w.zu=a;w.Wp=!1;w.Mf=f.wb;w.wc=f.wc+1;c=0;for(e=this.b.D.length;c<e;c++)n=this.b.D[c],l=n.O(),l.fa&&-1===f.wb.qa.indexOf(n)||(w.qa.push(n),n=void 0,v.length?n=v.pop():n={Sc:[]},n.Mj=!1,n.Mj=l.fa,Ca(n.Sc,l.d),w.Zb[c.toString()]=n);this.Nc.push(w);return!0}};h.prototype.cx=function(){0>this.b.Th||(this.b.mo().Ya=!0)};h.prototype.Dw=function(){if(!this.b.Oh&&!this.b.vg&&this.b.V){this.b.vg=this.b.V;var b,a,c;b=
0;for(a=this.b.ue.length;b<a;b++)c=this.b.ue[b],c.Nj(c.rl)}};r.n=new h;b.prototype["int"]=function(b,a){ma(a)?(b.M(parseInt(a,10)),isNaN(b.data)&&(b.data=0)):b.M(a)};b.prototype["float"]=function(b,a){ma(a)?(b.N(parseFloat(a)),isNaN(b.data)&&(b.data=0)):b.N(a)};b.prototype.random=function(b,a,c){void 0===c?b.N(Math.random()*a):b.N(Math.random()*(c-a)+a)};b.prototype.sqrt=function(b,a){b.N(Math.sqrt(a))};b.prototype.abs=function(b,a){b.N(Math.abs(a))};b.prototype.round=function(b,a){b.M(Math.round(a))};
b.prototype.floor=function(b,a){b.M(Math.floor(a))};b.prototype.ceil=function(b,a){b.M(Math.ceil(a))};b.prototype.sin=function(b,a){b.N(Math.sin(L(a)))};b.prototype.cos=function(b,a){b.N(Math.cos(L(a)))};b.prototype.tan=function(b,a){b.N(Math.tan(L(a)))};b.prototype.asin=function(b,a){b.N(Ha(Math.asin(a)))};b.prototype.acos=function(b,a){b.N(Ha(Math.acos(a)))};b.prototype.atan=function(b,a){b.N(Ha(Math.atan(a)))};b.prototype.exp=function(b,a){b.N(Math.exp(a))};b.prototype.log10=function(b,a){b.N(Math.log(a)/
Math.LN10)};b.prototype.max=function(b){var a=arguments[1];"number"!==typeof a&&(a=0);var c,e,d;c=2;for(e=arguments.length;c<e;c++)d=arguments[c],"number"===typeof d&&a<d&&(a=d);b.N(a)};b.prototype.min=function(b){var a=arguments[1];"number"!==typeof a&&(a=0);var c,e,d;c=2;for(e=arguments.length;c<e;c++)d=arguments[c],"number"===typeof d&&a>d&&(a=d);b.N(a)};b.prototype.Kf=function(b){b.N(this.b.Kf)};b.prototype.sf=function(b){b.N(this.b.sf)};b.prototype.IB=function(b){b.N((Date.now()-this.b.fi)/1E3)};
b.prototype.time=function(b){b.N(this.b.Ub.Ga)};b.prototype.oe=function(b){b.M(this.b.oe)};b.prototype.Cj=function(b){b.M(this.b.Cj)};b.prototype.bl=function(b){b.M(this.b.bl)};b.prototype.qA=function(b,a){var c,e;if(this.b.xj.length)if(a){for(e=this.b.Th;0<=e;--e)if(c=this.b.xj[e],c.name===a){b.M(c.index);return}b.M(0)}else c=this.b.mo(),b.M(c?c.index:-1);else b.M(0)};b.prototype.A=function(b,a,c,e,d){b.N(Ha(Na(a,c,e,d)))};b.prototype.vA=function(b){b.ga("\n")};b.prototype.lA=function(b,a,c,e){b.N(Xa(a,
c,e))};b.prototype.kA=function(b){b.M(this.b.V.width)};b.prototype.jA=function(b){b.M(this.b.V.height)};b.prototype.find=function(b,a,c){ma(a)&&ma(c)?b.M(a.search(new RegExp(fb(c),"i"))):b.M(-1)};b.prototype.left=function(b,a,c){b.ga(ma(a)?a.substr(0,c):"")};b.prototype.right=function(b,a,c){b.ga(ma(a)?a.substr(a.length-c):"")};b.prototype.replace=function(b,a,c,e){ma(a)&&ma(c)&&ma(e)?b.ga(a.replace(new RegExp(fb(c),"gi"),e)):b.ga(ma(a)?a:"")};b.prototype.trim=function(b,a){b.ga(ma(a)?a.trim():"")};
b.prototype.Tn=function(b){var a=ta(Math.random()*(arguments.length-1));b.me(arguments[a+1])};b.prototype.OA=function(b){b.ga(this.b.nq)};b.prototype.LB=function(b,a,c){var e=0>a?"-":"";0>a&&(a=-a);c=c-a.toString().length;for(var d=0;d<c;d++)e+="0";b.ga(e+a.toString())};b.prototype.Jk=function(b){b.N(this.b.Jk/1E3)};b.prototype.HB=function(b,a){var c=this.b.lz(a);b.N(c?c.za:0)};b.prototype.Rh=function(b){b.N(this.b.Rh)};r.B=new b;r.bB=function(){var b,a,c,e,l,n,f=this.b.zb();b=0;for(c=this.Nc.length;b<
c;b++){e=this.Nc[b];if(-1===e.time){if(!e.Wp)continue}else if(e.time>this.b.Ub.Ga)continue;f.wb=e.Mf;f.wc=e.wc;f.Hb=0;for(a in e.Zb)e.Zb.hasOwnProperty(a)&&(l=this.b.D[parseInt(a,10)].O(),n=e.Zb[a],l.fa=n.Mj,Ca(l.d,n.Sc),l=n,F(l.Sc),v.push(l));e.Mf.ju();this.b.Bk(e.qa);e.Ji=!0}a=b=0;for(c=this.Nc.length;b<c;b++)e=this.Nc[b],this.Nc[a]=e,e.Ji?(Za(e.Zb),F(e.qa),d.push(e)):a++;Ba(this.Nc,a)}})();
(function(){yb=function(f,h){var b=f[1],r=f[3],p=f[4],q=f[5],d=f[6],v=f[7],g=f[8];h.k||(h.k={});h.n||(h.n={});h.B||(h.B={});var a=h.k,c=h.n,e=h.B;r&&(a.en=function(a,c){return sc(this.x,a,c)},a.yq=function(a,c){return sc(this.y,a,c)},a.mn=function(){var a=this.u;this.F();var c=this.L;return!(c.right<a.Ja||c.bottom<a.za||c.left>a.Pa||c.top>a.Oa)},a.VB=function(){this.F();var a=this.L,c=this.b.V;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},a.dC=function(a,c,b){var e=this.O(),d=e.ab();
if(!d.length)return!1;var g=d[0],f=g,h=Va(g.x,g.y,c,b),p,m,r;p=1;for(m=d.length;p<m;p++)if(g=d[p],r=Va(g.x,g.y,c,b),0===a&&r<h||1===a&&r>h)h=r,f=g;e.Zh(f);return!0},c.hr=function(a){this.x===a||this.Dc&&this.Dc[Uc]===Vc||(this.x=a,this.K())},c.ir=function(a){this.y===a||this.Dc&&this.Dc[Wc]===Vc||(this.y=a,this.K())},c.ik=function(a,c){this.x===a&&this.y===c||this.Dc&&this.Dc[Uc]===Vc&&this.Dc[Wc]===Vc||(this.x=a,this.y=c,this.K())},c.jk=function(a,c){var b=a.nz(this);if(b){var e,d;b.so?(e=b.so(c,
!0),d=b.so(c,!1)):(e=b.x,d=b.y);this.x===e&&this.y===d||this.Dc&&this.Dc[Uc]===Vc&&this.Dc[Wc]===Vc||b.Dc&&b.Dc[Uc]===Vc&&b.Dc[Wc]===Vc||(this.x=e,this.y=d,this.K())}},c.$B=function(a){0===a||this.Dc&&this.Dc[Uc]===Vc&&this.Dc[Wc]===Vc||(this.x+=Math.cos(this.A)*a,this.y+=Math.sin(this.A)*a,this.K())},c.ZB=function(a,c){0!==c&&(this.x+=Math.cos(L(a))*c,this.y+=Math.sin(L(a))*c,this.K())},e.lk=function(a){a.N(this.x)},e.xi=function(a){a.N(this.y)},e.Kf=function(a){a.N(this.b.hl(this))});p&&(a.TB=function(a,
c){return sc(this.width,a,c)},a.SB=function(a,c){return sc(this.height,a,c)},c.An=function(a){this.width!==a&&(this.width=a,this.K())},c.fr=function(a){this.height!==a&&(this.height=a,this.K())},c.kk=function(a,c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.K()},e.wi=function(a){a.N(this.width)},e.nh=function(a){a.N(this.height)},e.OB=function(a){this.F();a.N(this.L.left)},e.QB=function(a){this.F();a.N(this.L.top)},e.PB=function(a){this.F();a.N(this.L.right)},e.NB=function(a){this.F();
a.N(this.L.bottom)});q&&(a.Xu=function(a,c){return Pa(this.A,L(c))<=L(a)},a.Hv=function(a){return Sa(this.A,L(a))},a.Gv=function(a,c){var b=Ma(a),e=Ma(c),d=Ja(this.A);return Sa(e,b)?Sa(d,b)&&!Sa(d,e):!(!Sa(d,b)&&Sa(d,e))},c.Fw=function(a){a=L(Ia(a));isNaN(a)||this.A===a||(this.A=a,this.K())},c.hC=function(a){0===a||isNaN(a)||(this.A+=L(a),this.A=Ja(this.A),this.K())},c.iC=function(a){0===a||isNaN(a)||(this.A-=L(a),this.A=Ja(this.A),this.K())},c.jC=function(a,c){var b=Ra(this.A,L(c),L(a));isNaN(b)||
this.A===b||(this.A=b,this.K())},c.kC=function(a,c,b){a=Ra(this.A,Math.atan2(b-this.y,c-this.x),L(a));isNaN(a)||this.A===a||(this.A=a,this.K())},c.nC=function(a,c){var b=Math.atan2(c-this.y,a-this.x);isNaN(b)||this.A===b||(this.A=b,this.K())},e.Wu=function(a){a.N(Ka(this.A))});b||(a.wq=function(a,c,b){return sc(this.Sb[a],c,b)},a.Gq=function(a){return this.Sb[a]},a.eC=function(a,c){var b=this.O(),e=b.ab();if(!e.length)return!1;var d=e[0],g=d,f=d.Sb[c],h,p,m;h=1;for(p=e.length;h<p;h++)if(d=e[h],m=
d.Sb[c],0===a&&m<f||1===a&&m>f)f=m,g=d;b.Zh(g);return!0},a.vw=function(a){var c,b,e,d,g;if(this.b.gl().Jo){g=this.O();if(g.fa)for(g.fa=!1,F(g.d),F(g.Ra),e=this.d,c=0,b=e.length;c<b;c++)d=e[c],d.uid===a?g.Ra.push(d):g.d.push(d);else{e=c=0;for(b=g.d.length;c<b;c++)d=g.d[c],g.d[e]=d,d.uid===a?g.Ra.push(d):e++;Ba(g.d,e)}this.Td();return!!g.d.length}d=this.b.Ri(a);if(!d)return!1;g=this.O();if(!g.fa&&-1===g.d.indexOf(d))return!1;if(this.X)for(a=d.type.jb,c=0,b=a.length;c<b;c++){if(a[c]===this)return g.Zh(d),
this.Td(),!0}else if(d.type===this)return g.Zh(d),this.Td(),!0;return!1},a.se=function(){return!0},a.Oq=function(){return!0},c.xn=function(a,c){var b=this.Sb;la(b[a])?b[a]=la(c)?c:parseFloat(c):ma(b[a])&&(b[a]=ma(c)?c:c.toString())},c.MB=function(a,c){var b=this.Sb;la(b[a])?b[a]=la(c)?b[a]+c:b[a]+parseFloat(c):ma(b[a])&&(b[a]=ma(c)?b[a]+c:b[a]+c.toString())},c.oC=function(a,c){var b=this.Sb;la(b[a])&&(b[a]=la(c)?b[a]-c:b[a]-parseFloat(c))},c.er=function(a,c){this.Sb[a]=c?1:0},c.pC=function(a){this.Sb[a]=
1-this.Sb[a]},c.gn=function(){this.b.Ad(this)},c.Qv||(c.Qv=function(a){var c,b;try{c=JSON.parse(a)}catch(e){return}this.b.Kl(this,c,!0);this.te&&this.te();if(this.ka)for(a=0,c=this.ka.length;a<c;++a)b=this.ka[a],b.te&&b.te()}),e.zq=function(a){var c=a.ah.d.length,b,e,d;b=0;for(e=this.b.Xd.length;b<e;b++)d=this.b.Xd[b],a.ah.X?0<=d.type.jb.indexOf(a.ah)&&c++:d.type===a.ah&&c++;a.M(c)},e.gC=function(a){a.M(a.ah.O().ab().length)},e.jx=function(a){a.M(this.uid)},e.Ev=function(a){a.M(this.Ui())},e.dn||
(e.dn=function(a){a.ga(JSON.stringify(this.b.Qp(this,!0)))}));d&&(a.WB=function(){return this.visible},c.zn=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.Fa=!0)},a.kv=function(a,c){return sc(pb(100*this.opacity),a,c)},c.gr=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.Fa=!0)},e.Opacity=function(a){a.N(pb(100*this.opacity))});v&&(a.UB=function(a){return a?this.u===a:!1},a.fC=function(a){var c=this.O(),b=c.ab();if(!b.length)return!1;var e=b[0],d=e,g,f;g=
1;for(f=b.length;g<f;g++)if(e=b[g],0===a){if(e.u.index>d.u.index||e.u.index===d.u.index&&e.De()>d.De())d=e}else if(e.u.index<d.u.index||e.u.index===d.u.index&&e.De()<d.De())d=e;c.Zh(d);return!0},c.nn=function(){var a=this.u,c=a.d;c.length&&c[c.length-1]===this||(a.$h(this,!1),a.Bi(this,!1),this.b.Fa=!0)},c.aC=function(){var a=this.u,c=a.d;c.length&&c[0]===this||(a.$h(this,!1),a.LA(this),this.b.Fa=!0)},c.Vv=function(a){a&&a!=this.u&&(this.u.$h(this,!0),0!=a.ad||0!=a.bd||0===this.u.ad&&0===this.u.bd||
(this.x-=this.u.Ja-a.Ja,this.y-=this.u.za-a.za,this.K()),this.u=a,a.Bi(this,!0),this.b.Fa=!0)},c.qx=function(a,c){var b=0===a;if(c){var e=c.po(this);e&&e.uid!==this.uid&&(this.u.index!==e.u.index&&(this.u.$h(this,!0),this.u=e.u,e.u.Bi(this,!0)),this.u.uA(this,e,b),this.b.Fa=!0)}},e.YB=function(a){a.M(this.u.Ct)},e.XB=function(a){a.ga(this.u.name)},e.rC=function(a){a.M(this.De())});g&&(c.lC=function(a,c){if(this.b.H){var b=this.type.oo(c);if(!(0>b)){var e=1===a;this.zf[b]!==e&&(this.zf[b]=e,this.qe(),
this.b.Fa=!0)}}},c.mC=function(a,c,b){if(this.b.H){var e=this.type.oo(a);0>e||(a=this.type.la[e],e=this.nb[e],c=Math.floor(c),0>c||c>=e.length||(1===this.b.H.rz(a.Ob,c)&&(b/=100),e[c]!==b&&(e[c]=b,a.tb&&(this.b.Fa=!0))))}})};Rb=function(){this.Qn=this.Ln=!0;this.type.pk=!0;this.b.Fa=!0;var f,h,b=this.Mn;f=0;for(h=b.length;f<h;++f)b[f](this);this.u.yd&&this.F()};Sb=function(f){f&&this.Mn.push(f)};Wb=function(){if(this.Ln){var f=this.L,h=this.$b;this.df&&this.vn(this.lt);f.set(this.x,this.y,this.x+
this.width,this.y+this.height);f.offset(-this.ob*this.width,-this.pb*this.height);this.A?(this.df?f.offset(-this.Pl,-this.Ql):f.offset(-this.x,-this.y),"undefined"!==typeof this.gd&&this.gd!==Number.MAX_VALUE?h.Up(f,this.gd):h.Up(f,this.A),this.df?h.offset(this.Pl,this.Ql):h.offset(this.x,this.y),h.Dr(f)):h.Qj(f);f.normalize();this.Ln=!1;this.BB()}};var f=new wa(0,0,0,0);Xb=function(){if(this.u.yd){var m=this.u.lc,h=this.L;f.set(m.Gc(h.left),m.Hc(h.top),m.Gc(h.right),m.Hc(h.bottom));this.Kc.Ki(f)||
(this.Kc.right<this.Kc.left?m.update(this,null,f):m.update(this,this.Kc,f),this.Kc.Fi(f),this.u.ke=!0)}};Yb=function(){if(this.Qn&&this.Oc){this.F();var m=this.type.Ek,h=this.L;f.set(m.Gc(h.left),m.Hc(h.top),m.Gc(h.right),m.Hc(h.bottom));this.If.Ki(f)||(this.If.right<this.If.left?m.update(this,null,f):m.update(this,this.If,f),this.If.Fi(f),this.Qn=!1)}};Tb=function(f,h){var b=!0;this.Ka&&(b=1===this.Ka.Cm);if(!this.L.ac(f,h)&&b||!this.$b.ac(f,h)&&b)return!1;b=!0;this.Aa&&!this.Aa.Wf()&&(this.Aa.Df(this.width,
this.height,this.A),b=this.Aa.ac(f-this.x,h-this.y));this.Fk&&!this.Fk.Wf()&&(this.Fk.Df(this.width,this.height,this.A),b|=this.Fk.ac(f-this.x,h-this.y));return b};Vb=function(f,h){return this.Aa&&!this.Aa.Wf()?(this.Aa.Df(this.width,this.height,this.A),this.Aa.ac(f-this.x,h-this.y)):!1};Ub=function(f,h,b,r){return this.L.xh(f,h,b,r)&&this.$b.xh(f,h,b,r)?!0:!1};Nb=function(){this.type.Wm();return this.Fg};Zb=function(){this.u.kq();return this.zd};$b=function(){F(this.Qa);var f,h,b,r=!0;f=0;for(h=
this.zf.length;f<h;f++)this.zf[f]&&(b=this.type.la[f],this.Qa.push(b),b.he||(r=!1));this.Tu=!!this.Qa.length;this.of=r};Ob=function(){return"Inst"+this.fu};Bb=function(f){if(f&&f.jc&&f.type!=this){var h,b,r;h=0;for(b=f.siblings.length;h<b;h++)if(r=f.siblings[h],r.type==this)return r}f=this.O().ab();return f.length?f[0]:null};Cb=function(f){var h=this.O().ab();return h.length?h[f.Ui()%h.length]:null};Ab=function(){var f=!1;if(!this.ei||this.X)return f;var h,b;h=0;for(b=this.d.length;h<b;h++)this.d[h].Fg=
h,f=!0;var r=h,p=this.b.Xd;h=0;for(b=p.length;h<b;++h)p[h].type===this&&(p[h].Fg=r++,f=!0);this.ei=!1;return f};Lb=function(f){if(f<this.d.length)return this.d[f];f-=this.d.length;var h=this.b.Xd,b,r;b=0;for(r=h.length;b<r;++b)if(h[b].type===this){if(0===f)return h[b];--f}return null};Db=function(){return this.ig[this.Re]};Eb=function(){this.Re++;this.Re===this.ig.length?this.ig.push(new zb(this)):this.ig[this.Re].fa=!0};Fb=function(){this.Re++;this.Re===this.ig.length&&this.ig.push(new zb(this));
var f=this.ig[this.Re],h=this.ig[this.Re-1];h.fa?f.fa=!0:(f.fa=!1,Ca(f.d,h.d),Ca(f.Ra,h.Ra))};Gb=function(){this.Re--};Hb=function(f){var h,b,r,p,q,d=0;if(!this.X)for(h=0,b=this.jb.length;h<b;h++)for(q=this.jb[h],r=0,p=q.Gb.length;r<p;r++){if(f===q.Gb[r].name)return this.ua.lastBehIndex=d,q.Gb[r];d++}h=0;for(b=this.Gb.length;h<b;h++){if(f===this.Gb[h].name)return this.ua.lastBehIndex=d,this.Gb[h];d++}return null};Ib=function(f){return this.fl(f)?this.ua.lastBehIndex:-1};Jb=function(f){var h,b;h=0;
for(b=this.la.length;h<b;h++)if(this.la[h].name===f)return h;return-1};Kb=function(){if(this.jc&&!this.X){var f,h,b,r,p,q,d;if(b=this.Wm()){q=this.O();var v=q.fa,g=(f=this.b.zb())&&f.wb&&f.wb.fe;f=0;for(h=this.Pc.length;f<h;f++)if(p=this.Pc[f],p!==this&&(b=p.Wm()))if(d=p.O(),d.fa=v,!v){F(d.d);b=0;for(r=q.d.length;b<r;++b)d.d[b]=p.to(q.d[b].Fg);if(g)for(F(d.Ra),b=0,r=q.Ra.length;b<r;++b)d.Ra[b]=p.to(q.Ra[b].Fg)}}}};Mb=function(){return"Type"+this.Ha};sc=function(f,h,b){if("undefined"===typeof f||"undefined"===
typeof b)return!1;switch(h){case 0:return f===b;case 1:return f!==b;case 2:return f<b;case 3:return f<=b;case 4:return f>b;case 5:return f>=b;default:return!1}}})();var Bc={};function Xc(f){this.b=f}
(function(){function f(){}var m=Xc.prototype;m.T=function(b){this.G=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b){this.type=b;this.b=b.b};var h=m.S.prototype;h.I=function(){};h.Zc=function(){};h.mb=function(){return{}};h.Ab=function(){};h.yc=function(b){b.fillStyle="#FF0000";b.fillRect(0,0,150,75);b.font="30px Arial";b.strokeText("Hello World",10,50)};h.Qb=function(){};m.k=new function(){};f.prototype.Vw=function(){"undefined"===typeof cr_is_preview&&show_freeFrame()};m.n=new f;m.B=new function(){}})();
function Yc(f){this.b=f}
(function(){function f(){return d.length?d.pop():[]}function m(b){var a,c;a=0;for(c=b.length;a<c;a++)Array.isArray(b[a])&&m(b[a]);F(b);d.push(b)}function h(){}function b(){}function r(){}var p=Yc.prototype;p.T=function(b){this.G=b;this.b=b.b};p.T.prototype.I=function(){};p.S=function(b){this.type=b;this.b=b.b};var q=p.S.prototype,d=[];Array.isArray||(Array.isArray=function(b){return"[object Array]"===Object.prototype.toString.call(b)});q.I=function(){this.hb=this.C[0];this.Ib=this.C[1];this.xc=this.C[2];
this.Mo=!1;this.Ec||(this.Cd=f());var b=this.Cd;b.length=this.hb;var a,c,e;for(a=0;a<this.hb;a++)for(b[a]||(b[a]=f()),b[a].length=this.Ib,c=0;c<this.Ib;c++)for(b[a][c]||(b[a][c]=f()),b[a][c].length=this.xc,e=0;e<this.xc;e++)b[a][c][e]=0;this.Rc=[];this.Ce=[];this.Cg=[];this.Gd=-1};q.Zc=function(){var b;for(b=0;b<this.hb;b++)m(this.Cd[b]);F(this.Cd)};q.dd=function(b,a,c){b=Math.floor(b);a=Math.floor(a);c=Math.floor(c);return isNaN(b)||0>b||b>this.hb-1||isNaN(a)||0>a||a>this.Ib-1||isNaN(c)||0>c||c>
this.xc-1?0:this.Cd[b][a][c]};q.set=function(b,a,c,e){b=Math.floor(b);a=Math.floor(a);c=Math.floor(c);isNaN(b)||0>b||b>this.hb-1||isNaN(a)||0>a||a>this.Ib-1||isNaN(c)||0>c||c>this.xc-1||(this.Cd[b][a][c]=e)};q.ds=function(){return JSON.stringify({c2array:!0,size:[this.hb,this.Ib,this.xc],data:this.Cd})};q.mb=function(){return{size:[this.hb,this.Ib,this.xc],data:this.Cd}};q.Ab=function(b){var a=b.size;this.hb=a[0];this.Ib=a[1];this.xc=a[2];this.Cd=b.data};q.nf=function(b,a,c){0>b&&(b=0);0>a&&(a=0);
0>c&&(c=0);if(this.hb!==b||this.Ib!==a||this.xc!==c){this.hb=b;this.Ib=a;this.xc=c;var e,d,n=this.Cd;n.length=b;for(b=0;b<this.hb;b++)for(ka(n[b])&&(n[b]=f()),n[b].length=a,e=0;e<this.Ib;e++)for(ka(n[b][e])&&(n[b][e]=f()),n[b][e].length=c,d=0;d<this.xc;d++)ka(n[b][e][d])&&(n[b][e][d]=0)}};q.qo=function(){return 0<=this.Gd&&this.Gd<this.Rc.length?this.Rc[this.Gd]:0};q.ro=function(){return 0<=this.Gd&&this.Gd<this.Ce.length?this.Ce[this.Gd]:0};q.hs=function(){return 0<=this.Gd&&this.Gd<this.Cg.length?
this.Cg[this.Gd]:0};h.prototype.en=function(b,a,c){return sc(this.dd(b,0,0),a,c)};q.Yn=function(b){this.b.kf(b.qa);b.le();this.b.Jd(b.qa)};h.prototype.Zu=function(b){var a=this.b.zb().wb;this.Gd++;var c=this.Gd;c===this.Rc.length?(this.Rc.push(0),this.Ce.push(0),this.Cg.push(0)):(this.Rc[c]=0,this.Ce[c]=0,this.Cg[c]=0);switch(b){case 0:for(this.Rc[c]=0;this.Rc[c]<this.hb;this.Rc[c]++)for(this.Ce[c]=0;this.Ce[c]<this.Ib;this.Ce[c]++)for(this.Cg[c]=0;this.Cg[c]<this.xc;this.Cg[c]++)this.Yn(a);break;
case 1:for(this.Rc[c]=0;this.Rc[c]<this.hb;this.Rc[c]++)for(this.Ce[c]=0;this.Ce[c]<this.Ib;this.Ce[c]++)this.Yn(a);break;case 2:for(this.Rc[c]=0;this.Rc[c]<this.hb;this.Rc[c]++)this.Yn(a)}this.Gd--;return!1};h.prototype.jv=function(b,a){return sc(this.dd(this.qo(),this.ro(),this.hs()),b,a)};h.prototype.lv=function(b,a,c){var e=0;switch(b){case 0:e=this.hb;break;case 1:e=this.Ib;break;case 2:e=this.xc}return sc(e,a,c)};p.k=new h;b.prototype.vq=function(){var b,a,c;for(b=0;b<this.hb;b++)for(a=0;a<
this.Ib;a++)for(c=0;c<this.xc;c++)this.Cd[b][a][c]=0};b.prototype.kk=function(b,a,c){this.nf(b,a,c)};b.prototype.hr=function(b,a){this.set(b,0,0,a)};b.prototype.Uw=function(b,a,c){this.set(b,a,0,c)};var v=[];q.Dd=function(b){var a;v.length?a=v.pop():a={Sc:[]};var c=b.O().ab();a.type=b;a.Sc.length=1;a.Sc[0]=c[0];return a};b.prototype.jB=function(b){Yc.prototype.n.vq.apply(this,[]);this.Mo=!0;var a=this.Cd;this.xc=this.Ib=this.hb=1;var c=[];if(0<b.length){b=b.split("\n");this.Ib=b.length+1;for(var e=
0;e<b.length;e++){var d=b[e].split("\t");this.hb<d.length+1&&(this.hb=d.length+1);c[e+1]=[];for(var n=0;n<d.length;n++)c[e+1][n+1]=isNaN(d[n])?d[n]:parseFloat(d[n])}}a.length=this.hb;for(b=0;b<this.hb;b++)for(a[b]||(a[b]=f()),a[b].length=this.Ib,e=0;e<this.Ib;e++)a[b][e]||(a[b][e]=f()),a[b][e].length=this.xc,c[e]&&c[e][b]&&(a[b][e][0]=c[e][b])};p.n=new b;r.prototype.$u=function(b,a,c,e){b.me(this.dd(a,c||0,e||0))};r.prototype.wi=function(b){b.M(this.Mo?this.hb-1:this.hb)};r.prototype.nh=function(b){b.M(this.Mo?
this.Ib-1:this.Ib)};r.prototype.sv=function(b){b.M(this.qo())};r.prototype.tv=function(b){b.M(this.ro())};r.prototype.rv=function(b){b.me(this.dd(this.qo(),this.ro(),this.hs()))};r.prototype.dn=function(b){b.ga(this.ds())};p.B=new r})();var Zc;function $c(){Zc=Date.now();setTimeout($c,500)}function Gc(f){this.b=f;this.b.$e&&$c()}
(function(){function f(a){a=Math.pow(10,a/20);isFinite(a)||(a=0);0>a&&(a=0);1<a&&(a=1);return a}function m(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function h(a){a=a.toLowerCase();return ea.hasOwnProperty(a)&&ea[a].length?ea[a][0].jd():x.destination}function b(){return x.createGain?x.createGain():x.createGainNode()}function r(a){return x.createDelay?x.createDelay(a):x.createDelayNode(a)}function p(a){a.start?a.start(0):a.noteOn(0)}function q(a,c,b){a.start?a.start(0,c):a.noteGrainOn(0,
c,b-c)}function d(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(c){}}function v(a,c,e,d,k,g){this.type="filter";this.Mb=[a,c,e,d,k,g];this.La=b();this.ja=b();this.ja.gain.value=g;this.da=b();this.da.gain.value=1-g;this.Kb=x.createBiquadFilter();this.Kb.type="number"===typeof this.Kb.type?a:rd[a];this.Kb.frequency.value=c;this.Kb.detune&&(this.Kb.detune.value=e);this.Kb.Q.value=d;this.Kb.gain.value=k;this.La.connect(this.Kb);this.La.connect(this.da);this.Kb.connect(this.ja)}function g(a,c,e){this.type=
"delay";this.Mb=[a,c,e];this.La=b();this.ja=b();this.ja.gain.value=e;this.da=b();this.da.gain.value=1-e;this.yj=b();this.Fd=r(a);this.Fd.delayTime.value=a;this.Rk=b();this.Rk.gain.value=c;this.La.connect(this.yj);this.La.connect(this.da);this.yj.connect(this.ja);this.yj.connect(this.Fd);this.Fd.connect(this.Rk);this.Rk.connect(this.yj)}function a(a,c,e,d){this.type="convolve";this.Mb=[c,e,d];this.La=b();this.ja=b();this.ja.gain.value=e;this.da=b();this.da.gain.value=1-e;this.wg=x.createConvolver();
a&&(this.wg.normalize=c,this.wg.buffer=a);this.La.connect(this.wg);this.La.connect(this.da);this.wg.connect(this.ja)}function c(a,c,e,d,k){this.type="flanger";this.Mb=[a,c,e,d,k];this.La=b();this.da=b();this.da.gain.value=1-k/2;this.ja=b();this.ja.gain.value=k/2;this.Yk=b();this.Yk.gain.value=d;this.Fd=r(a+c);this.Fd.delayTime.value=a;this.cc=x.createOscillator();this.cc.frequency.value=e;this.$c=b();this.$c.gain.value=c;this.La.connect(this.Fd);this.La.connect(this.da);this.Fd.connect(this.ja);this.Fd.connect(this.Yk);
this.Yk.connect(this.Fd);this.cc.connect(this.$c);this.$c.connect(this.Fd.delayTime);p(this.cc)}function e(a,c,e,d,k,g){this.type="phaser";this.Mb=[a,c,e,d,k,g];this.La=b();this.da=b();this.da.gain.value=1-g/2;this.ja=b();this.ja.gain.value=g/2;this.Kb=x.createBiquadFilter();this.Kb.type="number"===typeof this.Kb.type?7:"allpass";this.Kb.frequency.value=a;this.Kb.detune&&(this.Kb.detune.value=c);this.Kb.Q.value=e;this.cc=x.createOscillator();this.cc.frequency.value=k;this.$c=b();this.$c.gain.value=
d;this.La.connect(this.Kb);this.La.connect(this.da);this.Kb.connect(this.ja);this.cc.connect(this.$c);this.$c.connect(this.Kb.frequency);p(this.cc)}function l(a){this.type="gain";this.Mb=[a];this.Na=b();this.Na.gain.value=a}function n(a,c){this.type="tremolo";this.Mb=[a,c];this.Na=b();this.Na.gain.value=1-c/2;this.cc=x.createOscillator();this.cc.frequency.value=a;this.$c=b();this.$c.gain.value=c/2;this.cc.connect(this.$c);this.$c.connect(this.Na.gain);p(this.cc)}function t(a,c){this.type="ringmod";
this.Mb=[a,c];this.La=b();this.ja=b();this.ja.gain.value=c;this.da=b();this.da.gain.value=1-c;this.Lj=b();this.Lj.gain.value=0;this.cc=x.createOscillator();this.cc.frequency.value=a;this.cc.connect(this.Lj.gain);p(this.cc);this.La.connect(this.Lj);this.La.connect(this.da);this.Lj.connect(this.ja)}function w(a,c,e,d,k){this.type="distortion";this.Mb=[a,c,e,d,k];this.La=b();this.mm=b();this.lm=b();this.kB(e,Math.pow(10,d/20));this.ja=b();this.ja.gain.value=k;this.da=b();this.da.gain.value=1-k;this.bn=
x.createWaveShaper();this.Pk=new Float32Array(65536);this.dz(a,c);this.bn.Pk=this.Pk;this.La.connect(this.mm);this.La.connect(this.da);this.mm.connect(this.bn);this.bn.connect(this.lm);this.lm.connect(this.ja)}function k(a,c,b,e,d){this.type="compressor";this.Mb=[a,c,b,e,d];this.Na=x.createDynamicsCompressor();try{this.Na.threshold.value=a,this.Na.knee.value=c,this.Na.ratio.value=b,this.Na.attack.value=e,this.Na.release.value=d}catch(k){}}function u(a,c){this.type="analyser";this.Mb=[a,c];this.Na=
x.createAnalyser();this.Na.fftSize=a;this.Na.smoothingTimeConstant=c;this.bz=new Float32Array(this.Na.frequencyBinCount);this.xu=new Uint8Array(a);this.Ej=0}function N(){this.ea=null;this.Ll=0;this.jg=[];this.rp=this.Cl=this.Bl=0}function O(a,c){this.src=a;this.Ca=M;this.Vc=c;this.ok=!1;var e=this;this.pp=this.Cp=null;this.Yh=[];this.Dm=0;this.rq=this.co=this.Du=this.gm=!1;1===M&&c&&!jd&&(this.Ca=0,this.Cp=b());this.tg=this.Ma=null;var d;if(""!==a)switch(this.Ca){case 0:window.cr_getC2Runtime().Ac?
this.Vc?(10<cc&&(hb=new Audio,cc=0),cc++,this.Ma=hb):(10<ib&&(sb=new Audio,ib=0),ib++,this.Ma=sb):(this.Ma=new Audio,this.Ma.crossOrigin="anonymous");this.Ma.addEventListener("canplaythrough",function(){e.rq=!0});1===M&&x.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.Du=!0,this.Ma.addEventListener("canplay",function(){e.pp||(e.pp=x.createMediaElementSource(e.Ma),e.pp.connect(e.Cp))}));this.Ma.autoplay=!1;this.Ma.EC="auto";this.Ma.src=a;break;case 1:d=new XMLHttpRequest;d.open("GET",
a,!0);d.responseType="arraybuffer";d.onload=function(){e.tg=d.response;e.Px()};d.onerror=function(){e.co=!0};d.send();break;case 2:this.Ma=!0;break;case 3:this.Ma=!0}}function H(a,c){if(null!==a){var e=this;this.tag=c;this.Ya=this.We=!0;this.src=a.src;this.buffer=a;this.Ca=M;this.Vc=a.Vc;this.playbackRate=1;this.Gh=!0;this.rc=this.td=!1;this.Np=this.sb=0;this.Ee=!1;this.time=0;this.dj=this.Lh=!1;this.volume=1;this.Zt=!1;this.Ap=function(a){if(!e.rc&&!e.td){var c=this;c||(c=a.target);c===e.nk&&(e.Gh=
!0,e.Ya=!0,y=e.tag,D.trigger(Gc.prototype.k.hk,I))}};this.nk=null;this.Jh=1===Qa&&!this.Vc||2===Qa;this.Vh=1;this.startTime=this.Jh?D.Ub.Ga:D.wf.Ga;this.Db=this.Rb=null;this.Ge=!1;this.Bb=null;this.Rt=this.Qt=this.Pt=this.Ot=this.Tt=this.St=0;this.q=null;var d=!1;1!==this.Ca||0!==this.buffer.Ca||this.buffer.Du||(this.Ca=0);switch(this.Ca){case 0:this.Vc?(this.q=a.Ma,d=!a.ok,a.ok=!0):(window.cr_getC2Runtime().Ac?(10<ib&&(sb=new Audio,ib=0),this.q=sb,ib++):(this.q=new Audio,this.q.crossOrigin="anonymous"),
this.q.autoplay=!1,this.q.src=a.Ma.src,d=!0);d&&(this.Ur=function(){e.q.loop?e.q.play():(y=e.tag,e.Ya=!0,D.trigger(Gc.prototype.k.hk,I),e.Zt&&(e.play(!1,e.volume),e.Zt=!1,e.Ya=!0),e.q.removeEventListener("ended",e.Ur))},this.q.addEventListener("ended",this.Ur));try{this.q.addEventListener("timeupdate",function(){this.He=0;this.Ph!==this.currentTime&&1===Sc&&(Sc=0,window.cr_getC2Runtime().Vf||(window.cr_getC2Runtime().setSuspended(!0),window.cr_getC2Runtime().setSuspended(!1)));1500<Date.now()-Zc&&
I.yp(!0);this.Ph=this.currentTime},!1)}catch(k){}break;case 1:this.Rb=b();this.Rb.connect(h(c));if(1===this.buffer.Ca)a.Ma&&(this.q=x.createBufferSource(),this.q.buffer=a.Ma,this.q.connect(this.Rb));else{this.q=this.buffer.Ma;this.buffer.Cp.connect(this.Rb);this.buffer.ok||(this.buffer.ok=!0,this.buffer.Ma.addEventListener("ended",function(){y=e.tag;e.Ya=!0;D.trigger(Gc.prototype.k.hk,I)}));try{this.q.addEventListener("timeupdate",function(){this.He=0;this.Ph!==this.currentTime&&1===Sc&&(Sc=0,window.cr_getC2Runtime().Vf||
(window.cr_getC2Runtime().setSuspended(!0),window.cr_getC2Runtime().setSuspended(!1)));1500<Date.now()-Zc&&I.yp(!0);this.Ph=this.currentTime},!1)}catch(g){}}break;case 2:this.q=new window.Media(da+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(e.Gh=!0,e.Ya=!0,y=e.tag,D.trigger(Gc.prototype.k.hk,I))});break;case 3:this.q=!0}}}function C(a,c){var b=a.Vc;window.cr_getC2Runtime().Ac?b?(H.call(A[0],a,c),b=A[0]):(H.call(A[1],a,c),b=A[1]):(b=new H(a,c),A.push(b));return b}function Q(a){F(Ua);
if(a.length){var c,b,e;c=0;for(b=A.length;c<b;c++)e=A[c],qb(a,e.tag)&&Ua.push(e)}else R&&!R.Fh()&&(F(Ua),Ua[0]=R)}function E(a,c){ea.hasOwnProperty(a)?ea[a].push(c):ea[a]=[c];var b,e,d,k,g=x.destination;if(ea.hasOwnProperty(a)&&(d=ea[a],d.length))for(g=d[0].jd(),b=0,e=d.length;b<e;b++)k=d[b],b+1===e?k.Ed(x.destination):k.Ed(d[b+1].jd());Q(a);b=0;for(e=Ua.length;b<e;b++)Ua[b].TA(g);ab&&dc===a&&(ab.disconnect(),ab.connect(g))}function ha(){}function K(){}function aa(){}var U=Gc.prototype;U.T=function(a){this.G=
a;this.b=a.b};U.T.prototype.I=function(){};var D=null,I=null,y="",da="",M=0,x=null,B=[],A=[],P=[],G=[],J=null,R=null,T=!1,qa=!1,Aa=0,Qa=0,X=!1,Oa=1,gb=0,jb=0,ec=0,fc=1,gc=1,kd=10,ld=1E4,md=1,ab=null,dc="",tb=!1,ub=[],jd=!1,ea={},rd="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");v.prototype.Ed=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};v.prototype.remove=function(){this.La.disconnect();this.Kb.disconnect();this.ja.disconnect();
this.da.disconnect()};v.prototype.jd=function(){return this.La};g.prototype.Ed=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};g.prototype.remove=function(){this.La.disconnect();this.yj.disconnect();this.Fd.disconnect();this.Rk.disconnect();this.ja.disconnect();this.da.disconnect()};g.prototype.jd=function(){return this.La};a.prototype.Ed=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};a.prototype.remove=function(){this.La.disconnect();
this.wg.disconnect();this.ja.disconnect();this.da.disconnect()};a.prototype.jd=function(){return this.La};c.prototype.Ed=function(a){this.da.disconnect();this.da.connect(a);this.ja.disconnect();this.ja.connect(a)};c.prototype.remove=function(){this.La.disconnect();this.Fd.disconnect();this.cc.disconnect();this.$c.disconnect();this.da.disconnect();this.ja.disconnect();this.Yk.disconnect()};c.prototype.jd=function(){return this.La};e.prototype.Ed=function(a){this.da.disconnect();this.da.connect(a);
this.ja.disconnect();this.ja.connect(a)};e.prototype.remove=function(){this.La.disconnect();this.Kb.disconnect();this.cc.disconnect();this.$c.disconnect();this.da.disconnect();this.ja.disconnect()};e.prototype.jd=function(){return this.La};l.prototype.Ed=function(a){this.Na.disconnect();this.Na.connect(a)};l.prototype.remove=function(){this.Na.disconnect()};l.prototype.jd=function(){return this.Na};n.prototype.Ed=function(a){this.Na.disconnect();this.Na.connect(a)};n.prototype.remove=function(){this.cc.disconnect();
this.$c.disconnect();this.Na.disconnect()};n.prototype.jd=function(){return this.Na};t.prototype.Ed=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};t.prototype.remove=function(){this.cc.disconnect();this.Lj.disconnect();this.La.disconnect();this.ja.disconnect();this.da.disconnect()};t.prototype.jd=function(){return this.La};w.prototype.kB=function(a,c){.01>a&&(a=.01);this.mm.gain.value=a;this.lm.gain.value=Math.pow(1/a,.6)*c};w.prototype.shape=function(a,
c,b){var e=1.05*b*c-c;b=0>a?-1:1;a=0>a?-a:a;c=a<c?a:c+e*(1-Math.exp(-(1/e)*(a-c)));return c*b};w.prototype.dz=function(a,c){for(var b=Math.pow(10,a/20),e=Math.pow(10,c/20),d=0,k=0;32768>k;++k)d=k/32768,d=this.shape(d,b,e),this.Pk[32768+k]=d,this.Pk[32768-k-1]=-d};w.prototype.Ed=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};w.prototype.remove=function(){this.La.disconnect();this.mm.disconnect();this.bn.disconnect();this.lm.disconnect();this.ja.disconnect();
this.da.disconnect()};w.prototype.jd=function(){return this.La};k.prototype.Ed=function(a){this.Na.disconnect();this.Na.connect(a)};k.prototype.remove=function(){this.Na.disconnect()};k.prototype.jd=function(){return this.Na};u.prototype.eb=function(){this.Na.getFloatFrequencyData(this.bz);this.Na.getByteTimeDomainData(this.xu);for(var a=this.Na.fftSize,c=0,b=this.Ej=0,e=0;c<a;c++)e=(this.xu[c]-128)/128,0>e&&(e=-e),this.Ej<e&&(this.Ej=e),b+=e*e;this.Ej=m(this.Ej);m(Math.sqrt(b/a))};u.prototype.Ed=
function(a){this.Na.disconnect();this.Na.connect(a)};u.prototype.remove=function(){this.Na.disconnect()};u.prototype.jd=function(){return this.Na};N.prototype.Oj=function(a){if(this.ea=a)this.Bl=this.ea.x,this.Cl=this.ea.y;F(this.jg)};N.prototype.ll=function(){return!!this.ea};N.prototype.eb=function(a){this.ea&&0!==a&&(this.rp=Na(this.Bl,this.Cl,this.ea.x,this.ea.y),a=Va(this.Bl,this.Cl,this.ea.x,this.ea.y)/a,4>this.jg.length||this.jg.shift(),this.jg.push(a),this.Bl=this.ea.x,this.Cl=this.ea.y)};
N.prototype.ms=function(){if(!this.jg.length)return 0;var a,c,b=0;a=0;for(c=this.jg.length;a<c;a++)b+=this.jg[a];return b/this.jg.length};N.prototype.xo=function(){return Math.cos(this.rp)*this.ms()};N.prototype.yo=function(){return Math.sin(this.rp)*this.ms()};var nd=!1;O.prototype.Px=function(){if(!this.Ma&&this.tg){var a=this;if(x.decodeAudioData)x.decodeAudioData(this.tg,function(c){a.Ma=c;a.tg=null;var b,e,d;if(ka(a.im)||X)ka(a.Ik)||(b=a.Ik.wg,b.normalize=a.Bt,b.buffer=c);else if(a.Yh.length){b=
0;for(e=a.Yh.length;b<e;b++){c=a.Yh[b];d=C(a,c.Gu);d.Fm(!0);if("undefined"!==typeof c.Dt&&(c.ea=D.Ri(c.Dt),!c.ea))continue;if(c.ea){var k=Ta(c.ea.x,c.ea.y,-c.ea.u.yb(),gb,jb,!0),g=Ta(c.ea.x,c.ea.y,-c.ea.u.yb(),gb,jb,!1);d.Tp(k,g,Ha(c.ea.A-c.ea.u.yb()),c.Do,c.up,c.wp);d.Oj(c.ea)}else d.Tp(c.x,c.y,c.rx,c.Do,c.up,c.wp);d.play(a.jp,a.oq,a.Dm);a.gm&&d.pause()}F(a.Yh)}else d=C(a,a.im),d.play(a.jp,a.oq,a.Dm),a.gm&&d.pause()},function(){a.co=!0});else if(this.Ma=x.createBuffer(this.tg,!1),this.tg=null,ka(this.im)||
X)ka(this.Ik)||(c=this.Ik.wg,c.normalize=this.Bt,c.buffer=this.Ma);else{var c=C(this,this.im);c.play(this.jp,this.oq,this.Dm);this.gm&&c.pause()}}};O.prototype.Ih=function(){switch(this.Ca){case 0:var a=4<=this.Ma.readyState;a&&(this.rq=!0);return a||this.rq;case 1:return!!this.tg||!!this.Ma;case 2:return!0;case 3:return!0}return!1};O.prototype.Zz=function(){switch(this.Ca){case 0:return this.Ih();case 1:return!!this.Ma;case 2:return!0;case 3:return!0}return!1};O.prototype.Nz=function(){switch(this.Ca){case 0:return!!this.Ma.error;
case 1:return this.co}return!1};H.prototype.Fh=function(){switch(this.Ca){case 0:return this.q.ended;case 1:return 1===this.buffer.Ca?!this.We&&!this.Ya&&this.q.loop||this.rc?!1:this.Gh:this.q.ended;case 2:return this.Gh}return!0};H.prototype.Pn=function(){return this.We||this.Ya?!0:this.Fh()};H.prototype.Fm=function(a){1===M&&(!this.Ge&&a?this.Rb&&(this.Db||(this.Db=x.createPanner(),this.Db.panningModel="number"===typeof this.Db.panningModel?fc:["equalpower","HRTF","soundfield"][fc],this.Db.distanceModel=
"number"===typeof this.Db.distanceModel?gc:["linear","inverse","exponential"][gc],this.Db.refDistance=kd,this.Db.maxDistance=ld,this.Db.rolloffFactor=md),this.Rb.disconnect(),this.Rb.connect(this.Db),this.Db.connect(h(this.tag)),this.Ge=!0):this.Ge&&!a&&this.Rb&&(this.Db.disconnect(),this.Rb.disconnect(),this.Rb.connect(h(this.tag)),this.Ge=!1))};H.prototype.Tp=function(a,c,b,e,d,k){this.Ge&&1===M&&(this.Db.setPosition(a,c,0),this.Db.setOrientation(Math.cos(L(b)),Math.sin(L(b)),0),this.Db.coneInnerAngle=
e,this.Db.coneOuterAngle=d,this.Db.coneOuterGain=k,this.St=a,this.Tt=c,this.Ot=b,this.Pt=e,this.Qt=d,this.Rt=k)};H.prototype.Oj=function(a){this.Ge&&1===M&&(this.Bb||(this.Bb=new N),this.Bb.Oj(a))};H.prototype.eb=function(a){this.time+=a;if(this.Ge&&1===M&&this.Bb&&this.Bb.ll()&&this.Tf()){this.Bb.eb(a);a=this.Bb.ea;var c=Ta(a.x,a.y,-a.u.yb(),gb,jb,!0),b=Ta(a.x,a.y,-a.u.yb(),gb,jb,!1);this.Db.setPosition(c,b,0);c=0;"undefined"!==typeof this.Bb.ea.A&&(c=a.A-a.u.yb(),this.Db.setOrientation(Math.cos(c),
Math.sin(c),0));c=Ta(this.Bb.xo(),this.Bb.yo(),-a.u.yb(),0,0,!0);b=Ta(this.Bb.xo(),this.Bb.yo(),-a.u.yb(),0,0,!1);this.Db.setVelocity(c,b,0)}};H.prototype.fg=function(a){function c(a){return function(){try{a.Np=0,a.q.currentTime=a.sb}catch(b){a.Np++,5>=a.Np&&setTimeout(c(a),100)}}}"undefined"!==typeof a&&(this.sb=a);setTimeout(c(this),100)};H.prototype.play=function(a,c,b){var e=this.q;this.Ee=a;this.volume=c;b=b||0;switch(this.Ca){case 0:1!==e.playbackRate&&(e.playbackRate=1);e.volume!==c*Oa&&(e.volume=
c*Oa);e.loop!==a&&(e.loop=a);e.muted&&(e.muted=!1);e.currentTime!==b&&this.fg(b);if(this.Vc&&tb&&!D.Uc)e.He=0,e.dg=0,ub.push(this);else try{window.cr_getC2Runtime().Ac&&!this.q.loop&&this.q.load(),this.q.play()}catch(d){console&&console.log&&console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",d)}break;case 1:this.muted=!1;this.Vh=1;1===this.buffer.Ca?(this.Rb.gain.value=c*Oa,this.We||(this.q=x.createBufferSource(),this.q.buffer=this.buffer.Ma,this.q.connect(this.Rb)),
this.q.onended=this.Ap,this.nk=this.q,this.q.loop=a,this.Gh=!1,0===b?p(this.q):q(this.q,b,this.Eg())):(1!==e.playbackRate&&(e.playbackRate=1),e.loop!==a&&(e.loop=a),e.volume=c*Oa,e.currentTime!==b&&this.fg(b),this.Vc&&tb&&!D.Uc?(e.He=0,e.dg=0,ub.push(this)):(window.cr_getC2Runtime().Ac&&!e.loop&&e.load(),e.play()));break;case 2:(!this.We&&this.Ya||0!==b)&&e.seekTo(b);e.play();this.Gh=!1;break;case 3:D.ic?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=
1;this.startTime=(this.Jh?D.Ub.Ga:D.wf.Ga)-b;this.rc=this.Ya=this.We=!1;this.q.Ph=-1;this.q.He=0;this.q.dg=0};H.prototype.stop=function(){if(1!==Sc){switch(this.Ca){case 0:this.q.paused||this.q.pause();break;case 1:1===this.buffer.Ca?d(this.q):this.q.paused||this.q.pause();break;case 2:this.q.stop();break;case 3:D.ic&&AppMobi.context.stopSound(this.src)}this.Ya=!0;this.rc=!1}};H.prototype.pause=function(){if(1!==Sc){if(this.We||this.Ya||this.Fh()||this.rc)return!1;switch(this.Ca){case 0:0!==this.q.currentTime&&
(this.sb=this.q.currentTime);this.q.paused||this.q.pause();break;case 1:1===this.buffer.Ca?(this.sb=this.uo(!0),this.Ee&&(this.sb=this.sb%this.Eg()),this.rc=!0,d(this.q)):(0!==this.q.currentTime&&(this.sb=this.q.currentTime),this.q.paused||this.q.pause());break;case 2:this.q.pause();break;case 3:D.ic&&AppMobi.context.stopSound(this.src)}return this.rc=!0}};H.prototype.aB=function(){if(!(this.We||this.Ya||this.Fh())&&this.rc){switch(this.Ca){case 0:this.q.play();this.fg();break;case 1:1===this.buffer.Ca?
(this.q=x.createBufferSource(),this.q.buffer=this.buffer.Ma,this.q.connect(this.Rb),this.q.onended=this.Ap,this.nk=this.q,this.q.loop=this.Ee,this.Rb.gain.value=Oa*this.volume*this.Vh,this.Ym(),this.startTime=(this.Jh?D.Ub.Ga:D.wf.Ga)-this.sb/(this.playbackRate||.001),q(this.q,this.sb,this.Eg())):(this.q.play(),this.fg());break;case 2:this.q.play();break;case 3:D.ic&&AppMobi.context.resumeSound(this.src)}this.rc=!1}};H.prototype.seek=function(a){if(!(this.We||this.Ya||this.Fh()))switch(this.Ca){case 0:this.fg(a);
break;case 1:1===this.buffer.Ca?this.rc?this.sb=a:(this.pause(),this.sb=a,this.aB()):this.fg(a);break;case 3:D.ic&&AppMobi.context.seekSound(this.src,a)}};H.prototype.TA=function(a){1===this.Ca&&(this.Ge?(this.Db.disconnect(),this.Db.connect(a)):(this.Rb.disconnect(),this.Rb.connect(a)))};H.prototype.Eg=function(){var a=0;switch(this.Ca){case 0:"undefined"!==typeof this.q.duration&&(a=this.q.duration);break;case 1:a=this.buffer.Ma.duration;break;case 2:a=this.q.getDuration();break;case 3:D.ic&&(a=
AppMobi.context.getDurationSound(this.src))}return a};H.prototype.uo=function(a){var c=this.Eg(),b=0;switch(this.Ca){case 0:"undefined"!==typeof this.q.currentTime&&(b=this.q.currentTime);break;case 1:if(1===this.buffer.Ca){if(this.rc)return this.sb;b=(this.Jh?D.Ub.Ga:D.wf.Ga)-this.startTime}else"undefined"!==typeof this.q.currentTime&&(b=this.q.currentTime);break;case 3:D.ic&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}a&&(b*=this.playbackRate);!this.Ee&&b>c&&(b=c);return b};H.prototype.Tf=
function(){return!this.rc&&!this.We&&!this.Ya&&!this.Fh()};H.prototype.zB=function(){var a=this.volume*Oa;isFinite(a)||(a=0);switch(this.Ca){case 0:"undefined"!==typeof this.q.volume&&this.q.volume!==a&&(this.q.volume=a);break;case 1:1===this.buffer.Ca?this.Rb.gain.value=a*this.Vh:"undefined"!==typeof this.q.volume&&this.q.volume!==a&&(this.q.volume=a)}};H.prototype.Vk=function(a){switch(this.Ca){case 0:this.q.muted!==!!a&&(this.q.muted=!!a);break;case 1:1===this.buffer.Ca?(this.Vh=a?0:1,this.Rb.gain.value=
Oa*this.volume*this.Vh):this.q.muted!==!!a&&(this.q.muted=!!a)}};H.prototype.mB=function(){this.Lh=!0;this.Vk(this.Lh||this.dj)};H.prototype.Gm=function(a){this.dj=!!a;this.Vk(this.Lh||this.dj)};H.prototype.Ym=function(){var a=this.playbackRate;this.Jh&&(a*=D.sf);switch(this.Ca){case 0:this.q.playbackRate!==a&&(this.q.playbackRate=a);break;case 1:1===this.buffer.Ca?this.q.playbackRate.value!==a&&(this.q.playbackRate.value=a):this.q.playbackRate!==a&&(this.q.playbackRate=a)}};H.prototype.oB=function(a){switch(this.Ca){case 0:if(a)this.Tf()?
(0!==this.q.currentTime&&(this.sb=this.q.currentTime),this.q.pause(),this.td=!0):this.td=!1;else try{this.td&&!this.rc&&(this.q.play(),this.fg())}catch(c){}break;case 1:if(a)this.Tf()?(this.td=!0,1===this.buffer.Ca?(this.sb=this.uo(!0),this.Ee&&(this.sb=this.sb%this.Eg()),d(this.q)):(0!==this.q.currentTime&&(this.sb=this.q.currentTime),this.q.pause()),this.td=!0):this.td=!1;else if(this.td){if(1===this.buffer.Ca)this.q=x.createBufferSource(),this.q.buffer=this.buffer.Ma,this.q.connect(this.Rb),this.q.onended=
this.Ap,this.nk=this.q,this.q.loop=this.Ee,this.Rb.gain.value=Oa*this.volume*this.Vh,this.Ym(),this.startTime=(this.Jh?D.Ub.Ga:D.wf.Ga)-this.sb/(this.playbackRate||.001),this.rc||q(this.q,this.sb,this.Eg());else try{this.rc||(this.q.play(),this.fg())}catch(b){}this.td=!1}break;case 2:a?this.Tf()?(this.q.pause(),this.td=!0):this.td=!1:this.td&&(this.td=!1,this.q.play())}};U.S=function(a){window.cr_getC2Runtime().Ac&&(hb=new Audio,sb=new Audio);this.type=a;D=this.b=a.b;I=this;this.Bc=null;this.mj=-600;
!(this.b.$e||this.b.Hh&&(this.b.Hg||this.b.sl))||this.b.Zi||this.b.Ua||this.b.Ko||(tb=!0);x=null;window.cr_getC2Runtime().Ac?M=0:"undefined"!==typeof AudioContext?(M=1,x=new AudioContext):"undefined"!==typeof webkitAudioContext&&(M=1,x=new webkitAudioContext);tb&&document.addEventListener("touchend",function(){if(!nd&&x){var a=x.createBuffer(1,1,22050),c=x.createBufferSource();c.buffer=a;c.connect(x.destination);p(c);nd=!0}var b;if(tb){if(!X)for(a=0,c=ub.length;a<c;++a)b=ub[a],b.Ya||b.rc||(window.cr_getC2Runtime().Ac&&
!b.q.loop&&b.q.load(),b.q.play(),b.q.He=0,b.q.dg=0);F(ub)}},!0);1!==M&&(this.b.Tc&&"undefined"!==typeof window.Media?M=2:this.b.As&&(M=3));2===M&&(da=location.href,a=da.lastIndexOf("/"),-1<a&&(da=da.substr(0,a+1)),da=da.replace("file://",""));if(this.b.Ro&&this.b.bA&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),this.b.Ad(this);else{if(this.b.ic)T=this.b.Hh;else try{null===hb&&(hb=new Audio),
T=!!hb.canPlayType('audio/ogg; codecs="vorbis"')}catch(c){T=!1}this.b.lg(this)}};var La=U.S.prototype,sb=null,hb=null,cc=0,ib=0;La.I=function(){this.b.uh=this;this.Rs=-1;Qa=this.C[0];this.mf=this.C[1];this.FA=0!==this.C[2];fc=this.C[3];gc=this.C[4];this.mj=-this.C[5];kd=this.C[6];ld=this.C[7];md=this.C[8];Aa=this.C[9];ec=this.C[10];jd=!this.$z;1==Aa&&this.b.be&&(T=!1,qa=!0);this.Bc=new N;var a=this.b.aa||this.b.width,c=this.b.Z||this.b.height;1===M&&(x.listener.setPosition(a/2,c/2,this.mj),x.listener.setOrientation(0,
0,1,0,-1,0),window.c2OnAudioMicStream=function(a,c){ab&&ab.disconnect();dc=c.toLowerCase();ab=x.createMediaStreamSource(a);ab.connect(h(dc))});this.b.sr(function(a){I.yp(a)});var b=this;this.b.qr(function(a){b.xp(a)});this.Dn=null;if("undefined"!==typeof Fc)for(a=0,c=this.b.D.length;a<c;a++){var e=this.b.D[a];if(e.G instanceof Fc){this.Dn=e;a={$p:"",ga:function(a){this.$p=a}};Fc.prototype.B.Kq.apply(this.Dn,[a,"SoundSetting"]);X="false"===a.$p||""===a.$p?!1:!0;break}}A[0]=new H(null,"");A[1]=new H(null,
"");B[0]=new O("",!0);B[1]=new O("",!1)};La.xp=function(a){var c,b,e;c=0;for(b=A.length;c<b;c++)e=A[c],e.Bb&&e.Bb.ea===a&&(e.Bb.ea=null,e.Ge&&e.Tf()&&e.Ee&&e.stop());this.Bc.ea===a&&(this.Bc.ea=null)};La.mb=function(){var a={silent:X,masterVolume:Oa,listenerZ:this.mj,listenerUid:this.Bc.ll()?this.Bc.ea.uid:-1,playing:[],effects:{}},c=a.playing,b,e,d,k,g,f;b=0;for(e=A.length;b<e;b++)d=A[b],!d.Tf()||3===this.mf||d.Vc&&1===this.mf||!d.Vc&&2===this.mf||(k=d.uo(),d.Ee&&(k=k%d.Eg()),k={tag:d.tag,buffersrc:d.buffer.src,
is_music:d.Vc,playbackTime:k,volume:d.volume,looping:d.Ee,muted:d.Lh,playbackRate:d.playbackRate,paused:d.rc,resume_position:d.sb},d.Ge&&(k.pan={},f=k.pan,d.Bb&&d.Bb.ll()?f.objUid=d.Bb.ea.uid:(f.x=d.St,f.y=d.Tt,f.a=d.Ot),f.ia=d.Pt,f.oa=d.Qt,f.og=d.Rt),c.push(k));c=a.effects;for(g in ea)if(ea.hasOwnProperty(g)){d=[];b=0;for(e=ea[g].length;b<e;b++)d.push({type:ea[g][b].type,params:ea[g][b].Mb});c[g]=d}return a};var vb=[];La.Ab=function(b){var d=b.silent;Oa=b.masterVolume;this.mj=b.listenerZ;this.Bc.Oj(null);
var f=b.listenerUid;-1!==f&&(this.Bc.Ll=f,vb.push(this.Bc));var f=b.playing,h,p,r,q,m,O,H,y,C,x,Q;if(3!==this.mf)for(h=0,p=A.length;h<p;h++)C=A[h],C.Vc&&1===this.mf||(C.Vc||2!==this.mf)&&C.stop();for(m in ea)if(ea.hasOwnProperty(m))for(h=0,p=ea[m].length;h<p;h++)ea[m][h].remove();Za(ea);for(m in b.effects)if(b.effects.hasOwnProperty(m))for(O=b.effects[m],h=0,p=O.length;h<p;h++)switch(r=O[h].type,x=O[h].params,r){case "filter":E(m,new v(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":E(m,new g(x[0],
x[1],x[2]));break;case "convolve":r=x[2];C=this.dl(r,!1);C.Ma?r=new a(C.Ma,x[0],x[1],r):(r=new a(null,x[0],x[1],r),C.Bt=x[0],C.Ik=r);E(m,r);break;case "flanger":E(m,new c(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":E(m,new e(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":E(m,new l(x[0]));break;case "tremolo":E(m,new n(x[0],x[1]));break;case "ringmod":E(m,new t(x[0],x[1]));break;case "distortion":E(m,new w(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":E(m,new k(x[0],x[1],x[2],x[3],x[4]));
break;case "analyser":E(m,new u(x[0],x[1]))}h=0;for(p=f.length;h<p;h++)3===this.mf||(b=f[h],r=b.buffersrc,q=b.is_music,m=b.tag,O=b.playbackTime,H=b.looping,y=b.volume,Q=(x=b.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,q&&1===this.mf)||!q&&2===this.mf||((C=this.el(r,m,q,H,y,1))?(C.sb=b.resume_position,C.Fm(!!x),C.play(H,y,O),C.Ym(),C.zB(),C.Vk(C.Lh||C.dj),b.paused&&C.pause(),b.muted&&C.mB(),C.Vk(C.Lh||C.dj),x&&(-1!==Q?(C.Bb=C.Bb||new N,C.Bb.Ll=Q,vb.push(C.Bb)):C.Tp(x.x,x.y,x.a,x.ia,x.oa,x.og))):(C=
this.dl(r,q),C.Dm=O,C.gm=b.paused,x&&(-1!==Q?C.Yh.push({Dt:Q,Do:x.ia,up:x.oa,wp:x.og,Gu:m}):C.Yh.push({x:x.x,y:x.y,rx:x.a,Do:x.ia,up:x.oa,wp:x.og,Gu:m}))));if(d&&!X){h=0;for(p=A.length;h<p;h++)A[h].Gm(!0);X=!0}else if(!d&&X){h=0;for(p=A.length;h<p;h++)A[h].Gm(!1);X=!1}};La.te=function(){var a,c,b,e;a=0;for(c=vb.length;a<c;a++)b=vb[a],e=this.b.Ri(b.Ll),b.Oj(e),b.Ll=-1,e&&(gb=e.x,jb=e.y);F(vb)};La.yp=function(a){if(window.cr_getC2Runtime().Ac)try{A[0].q&&0!==A[0].q.currentTime&&(A[0].sb=A[0].q.currentTime),
A[1].q&&0!==A[1].q.currentTime&&(A[1].sb=A[1].q.currentTime)}catch(c){}if(!this.FA){!a&&x&&x.resume&&x.resume();var b,e;b=0;for(e=A.length;b<e;b++)A[b].oB(a);a&&x&&x.suspend&&x.suspend()}};La.eb=function(){var a=this.b.Kf,c,b,e;c=0;for(b=A.length;c<b;c++)e=A[c],e.eb(a),0!==Qa&&e.Ym(),e.buffer&&0===e.buffer.Ca&&e.Vc&&e.Tf()&&(e=e.q,0<e.currentTime&&(e.dg+=this.b.gc,e.currentTime!==e.Ph?(e.dg=0,e.He=0):e.currentTime===e.Ph&&1.5<e.dg&&(e.He+=this.b.gc,.6<e.He&&0===Sc&&(Sc=1,window.cr_getC2Runtime().Vf||
(this.b.setSuspended(!0),this.b.setSuspended(!1)),e.dg=0,e.He=0))));var d,k;for(d in ea)if(ea.hasOwnProperty(d))for(e=ea[d],c=0,b=e.length;c<b;c++)k=e[c],k.eb&&k.eb();1===M&&this.Bc.ll()&&(this.Bc.eb(a),gb=this.Bc.ea.x,jb=this.Bc.ea.y,x.listener.setPosition(this.Bc.ea.x,this.Bc.ea.y,this.mj),x.listener.setVelocity(this.Bc.xo(),this.Bc.yo(),0))};var wb=[];La.nB=function(a){var c,b,e,d,k,g=0;c=0;for(b=a.length;c<b;++c)if(e=a[c],d=e[0],e=2*e[1],(k=4<d.length&&".ogg"===d.substr(d.length-4))&&(T||qa)||
!k&&!T&&!qa)wb.push({filename:d,size:e,ea:null}),g+=e;return g};La.rB=function(){var a,c,b,e;a=0;for(c=wb.length;a<c;++a)b=wb[a],e=qa?b.filename.substr(0,b.filename.length-4)+".mc3":this.b.Oi+b.filename,b.ea=this.dl(e,!1)};La.oz=function(){var a=0,c,b,e;c=0;for(b=wb.length;c<b;++c)e=wb[c],a=e.ea.Zz()||e.ea.Nz()||this.b.Ua||this.b.sl?a+e.size:e.ea.Ih()?a+Math.floor(e.size/2):a+e.size;return a};La.dl=function(a,c){var b,e,d,k=null;if(!window.cr_getC2Runtime().Ac)for(b=0,e=B.length;b<e;b++)if(d=B[b],
d.src===a){k=d;break}k||(window.cr_getC2Runtime().Ac?c?(O.call(B[0],a,c),b=B[0]):(O.call(B[1],a,c),b=B[1]):(b=new O(a,c),B.push(b)),k=b);return k};La.el=function(a,c,b,e,d,k){var g,f,l,n=null,h=0,t=-1;if(1===k&&!window.cr_getC2Runtime().Ac)for(g=0,f=A.length;g<f;g++)if(l=A[g],l.src===a&&(h++,1===h&&(t=g)),l.src===a&&(l.Pn()||b))return l.tag=c,l;if("undefined"!==typeof P[a]&&h>=P[a])return l=A[t],l.tag=c,l;if(1<k)for(g=0,f=B.length;g<f;g++)if(l=B[g],l.src===a){n=l;break}a=this.dl(a,b);1<k&&(a.buffer=
n);return a.Ma?l=C(a,c):("<preload>"!==c&&(a.im=c,a.jp=e,a.oq=d),null)};var Ua=[];ha.prototype.hk=function(a){return qb(y,a)};ha.prototype.Jq=function(){return X};ha.prototype.Fv=function(){var a,c;a=0;for(c=A.length;a<c;a++)if(A[a].Tf())return!0;return!1};U.k=new ha;K.prototype.Play=function(a,c,b,e,d){if(!(this.b.Fq&&0===d||X)){b=f(b);d=a[1];var k;qa?k=a[0]+".mc3":k=this.b.Oi+a[0]+(T?".ogg":".m4a");if(!((window.cr_getC2Runtime().Ac&&!d||window.cr_getC2Runtime().Vf)&&G[k]>this.Rs&&-1<this.Rs)){if(null!==
J&&(window.cr_getC2Runtime().Ac&&!d||window.cr_getC2Runtime().Vf))if(a=J.Pn(),0===ec){if(J.src!==k&&G[J.src]<G[k]&&!a&&!window.cr_getC2Runtime().Vf)return}else if(!(1!==ec||G[k]<G[J.src]||G[k]>G[J.src]&&a||G[k]===G[J.src]&&a))return;if(window.cr_getC2Runtime().Vf){var g;a=0;for(g=A.length;a<g;a++)A[a].stop()}R=this.el(k,e,d,0!==c,b,1);d&&!window.cr_getC2Runtime().Vf||!R||(J=R);R&&(R.Fm(!1),R.play(0!==c,b))}}};K.prototype.yw=function(a,c,b,e,d,k){if(!(this.b.Fq&&0===k||X)){e=f(e);a=1===a;var g;qa?
g=c.toLowerCase()+".mc3":g=this.b.Oi+c.toLowerCase()+(T?".ogg":".m4a");null!==J&&!a&&G[R.src]<=G[g]&&!R.Pn()&&window.cr_getC2Runtime().Ac||(R=this.el(g,d,a,0!==b,e,1),!a&&R&&(J=R),R&&(R.Fm(!1),R.play(0!==b,e)))}};K.prototype.zw=function(a,c,b){var e=a[1],d;qa?d=a[0]+".mc3":d=this.b.Oi+a[0]+(T?".ogg":".m4a");G[d]=b;P[d]=c;X||window.cr_getC2Runtime().Ac||(3===M?this.b.ic?AppMobi.context.loadSound(d):AppMobi.player.loadSound(d):2!==M&&this.el(d,"<preload>",e,!1,1,c))};K.prototype.$w=function(a){Q(a);
var c;a=0;for(c=Ua.length;a<c;a++)Ua[a].stop()};K.prototype.ax=function(){var a,c;a=0;for(c=A.length;a<c;a++)A[a].stop()};K.prototype.Pw=function(a){var c;2===a&&(a=X?1:0);if(0===a&&!X){a=0;for(c=A.length;a<c;a++)A[a].Gm(!0);X=!0}else if(1===a&&X){a=0;for(c=A.length;a<c;a++)A[a].Gm(!1);X=!1}null!==this.Dn&&Fc.prototype.n.jr.apply(this,["SoundSetting",X])};U.n=new K;aa.prototype.Jq=function(a){a.N(!0===X?1:0)};U.B=new aa})();function Y(f){this.b=f}
(function(){function f(){}function m(){}function h(){}var b=Y.prototype;b.T=function(b){this.G=b;this.b=b.b};b.T.prototype.I=function(){};b.S=function(b){this.type=b;this.b=b.b};b.S.prototype.I=function(){var b=this;window.addEventListener("resize",function(){b.b.trigger(Y.prototype.k.qw,b)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){b.b.trigger(Y.prototype.k.nw,b)}),window.addEventListener("offline",function(){b.b.trigger(Y.prototype.k.mw,b)}));"undefined"!==
typeof window.applicationCache&&(window.applicationCache.addEventListener("updateready",function(){b.b.Rh=1;b.b.trigger(Y.prototype.k.dr,b)}),window.applicationCache.addEventListener("progress",function(f){b.b.Rh=f.loaded/f.total}));this.b.ic||(document.addEventListener("appMobi.device.update.available",function(){b.b.trigger(Y.prototype.k.dr,b)}),document.addEventListener("backbutton",function(){b.b.trigger(Y.prototype.k.pn,b)}),document.addEventListener("menubutton",function(){b.b.trigger(Y.prototype.k.Rq,
b)}),document.addEventListener("searchbutton",function(){b.b.trigger(Y.prototype.k.rw,b)}),document.addEventListener("tizenhwkey",function(f){var h;switch(f.keyName){case "back":h=b.b.trigger(Y.prototype.k.pn,b);!h&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(h=b.b.trigger(Y.prototype.k.Rq,b))||f.preventDefault()}}));this.b.wl&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!b.b.trigger(Y.prototype.k.pn,b)});this.b.sr(function(f){f?
b.b.trigger(Y.prototype.k.ow,b):b.b.trigger(Y.prototype.k.Wq,b)});this.Uo="undefined"!==typeof window.is_scirra_arcade;this.b.Ua?this.Vo=!1:this.Vo=this.b.de;this.Ns=null};f.prototype.nw=function(){return!0};f.prototype.mw=function(){return!0};f.prototype.dr=function(){return!0};f.prototype.Wq=function(){return!0};f.prototype.ow=function(){return!0};f.prototype.qw=function(){return!0};f.prototype.pn=function(){return!0};f.prototype.Rq=function(){return!0};f.prototype.rw=function(){return!0};f.prototype.Lv=
function(b,f){var h=("undefined"!==typeof jQuery?jQuery(window).width():window.innerWidth)<=("undefined"!==typeof jQuery?jQuery(window).height():window.innerHeight)?0:1;if(f){var d=h===b&&h!==this.Ns;d&&(this.Ns=h);return d}return h===b};f.prototype.Iq=function(){return this.Vo};f.prototype.Ov=function(){return this.b.xl};f.prototype.Hq=function(){return this.b.Hq};f.prototype.ln=function(){return this.b.ln};f.prototype.Eq=function(){return this.b.Eq};f.prototype.Cs=function(){return this.b.Cs};f.prototype.Ds=
function(){return this.b.Ds};f.prototype.Bs=function(){return this.b.Bs};f.prototype.Iv=function(){return window.debugEnable?window.debugEnable:!1};b.k=new f;m.prototype.Dv=function(b,f){this.b.md?CocoonJS.App.openURL(b):this.b.ae?ejecta.openURL(b):this.b.wl?Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(b)):navigator.app&&navigator.app.loadUrl?navigator.app.loadUrl(b,{openExternal:!0}):this.b.Tc?window.open(b,"_system"):this.Uo||this.b.Ua||(2!==f||this.Uo?1!==f||this.Uo?window.location=
b:window.parent.location=b:window.top.location=b)};m.prototype.lB=function(b,f){for(var h=b.split(","),d=!0,m=0;m<h.length;m++)if(0>navigator.userAgent.indexOf(h[m])){d=!1;break}d&&(this.b.Io=f)};m.prototype.ov=function(b,f){"undefined"!==typeof console&&(0===b&&console.log&&console.log(f.toString()),1===b&&console.warn&&console.warn(f.toString()),2===b&&console.error&&console.error(f.toString()))};m.prototype.Bq=function(b){try{eval&&eval(b)}catch(f){console&&console.error&&console.error("Error executing Javascript: ",
f)}};b.n=new m;h.prototype.URL=function(b){b.ga(this.b.Ua?"":window.location.toString())};h.prototype.gx=function(b){b.ga(this.b.Ua?"":document.title)};h.prototype.yv=function(b,f){if(eval){var h=0;try{h=eval(f)}catch(d){console&&console.error&&console.error("Error executing Javascript: ",d)}"number"===typeof h?b.me(h):"string"===typeof h?b.me(h):"boolean"===typeof h?b.me(h?1:0):b.me(0)}else b.me(0)};h.prototype.uz=function(b,f,h,d){f=f.split(h);d<f.length?b.ga(f[d]):b.ga("")};h.prototype.de=function(b){b.N(!0===
this.Vo?1:0)};h.prototype.hz=function(b){getDebugStr?b.ga(getDebugStr()):b.ga("")};h.prototype.iz=function(b,f){b.ga(encodeURI(f))};b.B=new h})();function ad(f){this.b=f}
(function(){function f(){q||(q=!0,v.trigger(ad.prototype.k.Qq,g),FB.api("/me",function(a){d=a.name;v.trigger(ad.prototype.k.Sq,g)}))}function m(){}function h(){}var b=ad.prototype;b.T=function(a){this.G=a;this.b=a.b};var r="",p=!1,q=!1,d="",v=null,g=null,a=!1,c=!1,e="",l=!1;b.T.prototype.I=function(){};b.S=function(a){this.type=a;this.b=a.b};var n=b.S.prototype;n.I=function(){this.b.Ua?ia("[Construct 2] Facebook plugin not supported on this platform - the object will not be created"):(this.b.lg(this),
r=this.C[0],""==r&&(0<=window.location.href.indexOf("localhost")&&(r="1908898332662654"),r=0<=window.location.href.indexOf("vntools.sai.gameloft.com")?"975716222565956":"1648813902047202"),v=this.b,g=this,window.fbAsyncInit=function(){var a=location.pathname;"/"!==a.substr(a.length-1)&&(a=a.substr(0,a.lastIndexOf("/")+1));FB.init({appId:r,channelURL:"//"+location.hostname+a+"channel.html",status:!0,cookie:!0,oauth:!0,xfbml:!1});p=!0;FB.Event.subscribe("auth.login",function(a){a.authResponse&&f()});
FB.Event.subscribe("auth.logout",function(){q&&(q=!1,d="",v.trigger(ad.prototype.k.lw,g))});FB.getLoginStatus(function(a){a.authResponse&&f()});l||(l=!0,v.trigger(ad.prototype.k.Xq,g))},r.length&&function(a){var c;a.getElementById("facebook-jssdk")||(c=a.createElement("script"),c.id="facebook-jssdk",c.async=!0,c.src="//connect.facebook.net/en_US/all.js",a.getElementsByTagName("head")[0].appendChild(c))}(document))};n.eb=function(){!l&&p&&(l=!0,v.trigger(ad.prototype.k.Xq,g))};n.$l=function(){this.b.Ua||
(q&&v.trigger(ad.prototype.k.Qq,g),d.length&&v.trigger(ad.prototype.k.Sq,g))};m.prototype.Mv=function(){return p};m.prototype.Xq=function(){return!0};m.prototype.Kv=function(){return q};m.prototype.Qq=function(){return!0};m.prototype.lw=function(){return!0};m.prototype.Sq=function(){return!0};b.k=new m;h.prototype.Tv=function(b,d){if(!this.b.Ua&&p){a=1===b;c=1===d;var k=[];a&&k.push("publish_stream");c&&k.push("publish_actions");e=k.join();FB.login(function(a){a.authResponse&&f()},{scope:e})}};h.prototype.Aw=
function(a,c,b,e,d){!this.b.Ua&&q&&FB.ui({method:"feed",link:a,picture:d,name:c,caption:b,description:e},function(a){a&&!a.error||console.error(a)})};b.n=new h;b.B=new function(){}})();function Tc(f){this.b=f}
(function(){function f(){this.name="";this.dh=0;this.Mb=[]}function m(){d++;d===q.length&&q.push(new f);return q[d]}function h(){}function b(){}function r(){}var p=Tc.prototype;p.T=function(b){this.G=b;this.b=b.b};p.T.prototype.I=function(){};p.S=function(b){this.type=b;this.b=b.b};var q=[],d=-1;p.S.prototype.I=function(){var b=this;window.c2_callFunction=function(g,a){var c,e,f,n=m();n.name=g.toLowerCase();n.dh=0;if(a)for(n.Mb.length=a.length,c=0,e=a.length;c<e;++c)f=a[c],n.Mb[c]="number"===typeof f||
"string"===typeof f?f:"boolean"===typeof f?f?1:0:0;else F(n.Mb);b.b.trigger(Tc.prototype.k.si,b,n.name);d--;return n.dh}};h.prototype.si=function(b){var g=0>d?null:q[d];return g?qb(b,g.name):!1};p.k=new h;b.prototype.CallFunction=function(b,g){var a=m();a.name=b.toLowerCase();a.dh=0;Ca(a.Mb,g);this.b.trigger(Tc.prototype.k.si,this,a.name);d--};b.prototype.av=function(b,g,a){var c=m();c.name=b.toLowerCase();c.dh=0;Ca(c.Mb,g);"undefined"!==typeof this.b.yh[a]&&("On start of layout"===b?this.b.Sm(S.prototype.k.rn,
null,this.b.yh[a]):this.b.Sm(Tc.prototype.k.si,this,this.b.yh[a],c.name));d--};b.prototype.Ow=function(b){var g=0>d?null:q[d];g&&(g.dh=b)};p.n=new b;r.prototype.uw=function(b,g){g=ta(g);var a=0>d?null:q[d];a?0<=g&&g<a.Mb.length?b.me(a.Mb[g]):b.M(0):b.M(0)};r.prototype.uq=function(b,g){var a=m();a.name=g.toLowerCase();a.dh=0;F(a.Mb);var c,e;c=2;for(e=arguments.length;c<e;c++)a.Mb.push(arguments[c]);this.b.trigger(Tc.prototype.k.si,this,a.name);d--;b.me(a.dh)};p.B=new r})();
function bd(f){this.b=f}
(function(){function f(){}var m=bd.prototype;m.T=function(b){this.G=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b){this.type=b;this.b=b.b};var h=m.S.prototype;h.I=function(){1E5===this.C[6]&&(ga_init(),ga("create",this.C[0],"auto"),ga("send","pageview"))};h.Zc=function(){};h.mb=function(){return{}};h.Ab=function(){};h.yc=function(){};h.Qb=function(){};m.k=new function(){};f.prototype.Bq=function(b){try{eval&&eval(b)}catch(f){console&&console.error&&console.error("Error executing Javascript: ",f)}};
m.n=new f;m.B=new function(){}})();function cd(f){this.b=f}
(function(){function f(){}var m=cd.prototype,h=[[49],[52],[50],[51],[8],[13],[38],[40],[37],[39]];m.T=function(b){this.G=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b){this.type=b;this.b=b.b;this.gj=Array(256);this.bk=Array(256);this.vd=0;this.ak={}};var b=m.S.prototype;b.I=function(){var b=this;(this.lq=0!==this.C[0])&&"undefined"!=typeof mapKeyRemote&&(h=mapKeyRemote);this.b.Ua||(jQuery(document).keydown(function(f){b.zA(f)}),jQuery(document).keyup(function(f){b.AA(f)}))};var r=[32,
33,34,35,36,37,38,39,40,44];b.zA=function(b){var f=!1;window!=window.top&&-1<r.indexOf(b.which)&&(b.preventDefault(),f=!0,b.stopPropagation());if(this.gj[b.which])this.bk[b.which]&&!f&&b.preventDefault();else{this.gj[b.which]=!0;this.vd=b.which;this.Ju="undefined"===typeof this.ak[b.which.toString()]||!1===this.ak[b.which.toString()];this.ak[b.which.toString()]=!0;this.b.Uc=!0;this.Ju&&this.b.trigger(cd.prototype.k.Yv,this);var d=this.b.trigger(cd.prototype.k.Xv,this);this.Ju&&this.b.trigger(cd.prototype.k.iw,
this);var h=this.b.trigger(cd.prototype.k.gw,this),g=this.b.trigger(cd.prototype.k.hw,this),a=this.b.trigger(cd.prototype.k.bw,this);this.b.Uc=!1;if(h||g||a)this.bk[b.which]=!0,f||b.preventDefault();d&&(f||b.preventDefault())}};b.AA=function(b){this.gj[b.which]=!1;this.vd=b.which;this.ak[b.which.toString()]=!1;this.b.Uc=!0;var f=this.b.trigger(cd.prototype.k.Nq,this),d=this.b.trigger(cd.prototype.k.qn,this),h=this.b.trigger(cd.prototype.k.Pq,this),g=this.b.trigger(cd.prototype.k.dw,this);this.b.Uc=
!1;if(d||h||this.bk[b.which]||g)this.bk[b.which]=!0,b.preventDefault();f&&(alreadyPreventedDefault||b.preventDefault())};b.Xh=function(){var b;for(b=0;256>b;++b)if(this.gj[b]){this.gj[b]=!1;this.vd=b;this.b.trigger(cd.prototype.k.Nq,this);var f=this.b.trigger(cd.prototype.k.qn,this),d=this.b.trigger(cd.prototype.k.Pq,this);if(f||d)this.bk[b]=!0}};b.mb=function(){return{triggerKey:this.vd}};b.Ab=function(b){this.vd=b.triggerKey};f.prototype.gw=function(b){return b===this.vd};f.prototype.iw=function(b){return!0===
this.ak[b.toString()]};f.prototype.Xv=function(){return!0};f.prototype.Yv=function(){return!0};f.prototype.Nq=function(){return!0};f.prototype.qn=function(b){return b===this.vd};f.prototype.hw=function(b){return b===this.vd};f.prototype.Pq=function(b){return b===this.vd};f.prototype.bw=function(b,f){if(this.lq){for(var d=0;d<h[b].length;d++)if(this.vd==parseInt(h[b][d]))return!0;return!1}return f===this.vd};f.prototype.dw=function(b,f){if(this.lq){for(var d=0;d<h[b].length;d++)if(this.vd==parseInt(h[b][d]))return!0;
return!1}return f===this.vd};m.k=new f;m.n=new function(){};m.B=new function(){}})();function dd(f){this.b=f}
(function(){function f(){}function m(){}var h=dd.prototype;h.T=function(b){this.G=b;this.b=b.b};h.T.prototype.I=function(){var b;window.XMLHttpRequest?b=new XMLHttpRequest:b=new ActiveXObject("Microsoft.XMLHTTP");b.open("GET","gameloc.xml",!1);b.send();p=b.responseXML;p=p.getElementsByTagName("language");q=p.length;for(b=0;b<q;b++){r[b]={};var a=new Image;r[b].Ih=!1;r[b].lang=p[b].getAttribute("lang");r[b].J=a;r[b].Us=p[b];v[r[b].lang]=b;a.src=r[b].lang+".png";navigator.browserLanguage?0<=navigator.browserLanguage.toLowerCase().indexOf(r[b].lang)&&
(d=b):0<=navigator.language.toLowerCase().indexOf(r[b].lang)&&(d=b);a.onload=function(){var a=this.src.split("/");r[v[a[a.length-1].replace(".png","")]].Ih=!0}}};h.S=function(b){this.type=b;this.b=b.b};var b=h.S.prototype,r=[],p,q=0,d=0,v=[];b.I=function(){this.b.lg(this)};b.Zc=function(){};b.yc=function(b){r[d]&&r[d].Ih&&b.drawImage(r[d].J,this.x-this.width/2,this.y-this.height/2,this.width,this.height)};b.Qb=function(b){if(r[d]&&r[d].Ih){var a=this.$b,c=this.b.H.Ug(r[d].J,!1,this.b.Y,0);b.Fc(c);
b.ag(a.W,a.Ia,a.ba,a.ya,a.Ta,a.ca,a.Va,a.Sa)}};b.eb=function(){this.b.Fa=!0};h.k=new function(){};f.prototype.Hx=function(){d<q-1?d++:d=0};h.n=new f;m.prototype.vz=function(b,a){0<r[d].Us.getElementsByTagName(a.toLowerCase()).length?b.ga(r[d].Us.getElementsByTagName(a.toLowerCase())[0].childNodes[0].nodeValue):b.ga("")};h.B=new m})();function Ec(f){this.b=f}
(function(){function f(){t=localStorage;try{t.setItem("test exception","test"),t.getItem("test exception")}catch(a){try{t=Qc,t.setItem("test exception","test"),t.getItem("test exception")}catch(c){}}return t}function m(){var a=[];if(a=f().getItem(n))a=JSON.parse(window.atob(a));else{for(var a=Array(l),c=0;c<l;c++)0==c?a[0]=1:a[c]=0;f().setItem(n,window.btoa(JSON.stringify(a)))}return a}function h(a,c){var b=[];if(b=window.atob(f().getItem(n))){var b=JSON.parse(b),e=b[a];"undefined"==typeof e&&(e=
0);e<c&&(b[a]=c);f().setItem(n,window.btoa(JSON.stringify(b)))}}function b(a){var c=0;null==f().getItem(a)&&f().setItem(a,"0");return c=parseInt(f().getItem(a))}function r(a){f().setItem("ProjectVersion",a)}function p(){}function q(){}var d=Ec.prototype;d.T=function(a){this.G=a;this.b=a.b};d.T.prototype.I=function(){};d.S=function(a){this.type=a;this.b=a.b};var v=d.S.prototype;v.I=function(){f().getItem("ProjectVersion");r(this.b.nq);n=this.b.qf;this.tr=this.C[0];this.Ul=this.C[1];this.Vl=this.C[2];
this.Wl=this.C[3];this.Sl=this.C[4];this.zj=this.C[5];this.nt=this.C[7];this.Tl=this.C[8];this.ot=this.C[9];this.pt=this.C[10];this.np=this.C[11];this.mp=this.C[12];g=Array(this.Tl);this.lj=0;this.rd=this.Ic=null;this.ta=Array(this.Tl);this.lb=Array(this.Tl);this.pv=function(){for(var a=1;a<this.Tl;a++){var c=a%this.nt,b=a/this.nt,b=Math.floor(b);0!=this.zj?(this.ta[a]=this.b.Qe(this.Ic,this.lj,this.Ul+(this.Wl+this.zj)*c,this.Vl+(this.Sl+this.zj)*b),this.b.trigger(Object.getPrototypeOf(this.Ic.G).k.se,
this.ta[a]),this.lb[a]=this.b.Qe(this.rd,this.lj,this.Ul+(this.Wl+this.zj)*c+this.ot,this.Vl+(this.Sl+this.zj)*b+this.pt),this.b.trigger(Object.getPrototypeOf(this.rd.G).k.se,this.lb[a])):0!=this.np&&0!=this.mp&&(this.ta[a]=this.b.Qe(this.Ic,this.lj,this.Ul+(this.Wl+this.mp)*c,this.Vl+(this.Sl+this.np)*b),this.b.trigger(Object.getPrototypeOf(this.Ic.G).k.se,this.ta[a]),this.lb[a]=this.b.Qe(this.rd,this.lj,this.Ul+(this.Wl+this.mp)*c+this.ot,this.Vl+(this.Sl+this.np)*b+this.pt),this.b.trigger(Object.getPrototypeOf(this.rd.G).k.se,
this.lb[a]))}}};v.yc=function(){};v.Qb=function(){};v.Zc=function(){};v.ds=function(){return JSON.stringify({c2array:!0,size:[this.hb,this.Ib,this.xc],data:this.Cd})};v.mb=function(){return{level:e,state:a,states:g}};v.Ab=function(c){e=c.level;a=c.state;g=c.states};v.eb=function(){};var g,a=0,c=0,e=0,l=0,n="",t=null;d.k=new function(){};p.prototype.Rv=function(a,c){e=b(this.type.name);this.lj=this.b.V.ma[a.Or];this.Ic=a;this.ta[0]=a.d[0];this.rd=c;this.lb[0]=c.d[0];if(1===this.tr)this.pv();else if(0===
this.tr){Ca(this.lb,c.O().ab());Ca(this.ta,a.O().ab());for(var d=0;d<this.lb.length-1;d++)for(var f=d+1;f<this.lb.length;f++)if(parseFloat(this.lb[d].text)>parseFloat(this.lb[f].text)){var g=this.lb[d];this.lb[d]=this.lb[f];this.lb[f]=g}for(d=0;d<this.lb.length;d++){for(var n=Math.abs(this.lb[d].x-this.ta[0].x),t=Math.abs(this.lb[d].y-this.ta[0].y),g=Math.sqrt(n*n+t*t),p=-1,f=0;f<this.ta.length;f++)n=Math.abs(this.lb[d].x-this.ta[f].x),t=Math.abs(this.lb[d].y-this.ta[f].y),n=Math.sqrt(n*n+t*t),g>
n&&(p=f,g=n);-1!==p&&(g=this.ta[d],this.ta[d]=this.ta[p],this.ta[p]=g)}}l=f=this.lb.length;p=m();for(d=p.length;d<l;d++)h(d,0),Object.getPrototypeOf(this.Ic.G).n.Ne.apply(this.ta[d],[1]),Object.getPrototypeOf(this.rd.G).n.Qd.apply(this.lb[d],[(d+1).toString()]);for(d=l;d<p.length;d++)h(d,0);for(d=0;d<f;d++)switch(g=this.ta[d],n=this.lb[d],Object.getPrototypeOf(this.Ic.G).B.Yu.apply(g,[{Xa:0,M:function(a){this.Xa=a}}]),Object.getPrototypeOf(this.Ic.G).n.bx.apply(g),p[d]){case 1:Object.getPrototypeOf(this.Ic.G).n.Ne.apply(g,
[1]);Object.getPrototypeOf(this.rd.G).n.Qd.apply(n,[(d+1).toString()]);break;case 2:Object.getPrototypeOf(this.Ic.G).n.Ne.apply(g,[2]);Object.getPrototypeOf(this.rd.G).n.Qd.apply(n,[(d+1).toString()]);break;case 3:Object.getPrototypeOf(this.Ic.G).n.Ne.apply(g,[3]);Object.getPrototypeOf(this.rd.G).n.Qd.apply(n,[(d+1).toString()]);break;case 4:Object.getPrototypeOf(this.Ic.G).n.Ne.apply(g,[4]);Object.getPrototypeOf(this.rd.G).n.Qd.apply(n,[(d+1).toString()]);break;default:Object.getPrototypeOf(this.Ic.G).n.Ne.apply(g,
[0]),Object.getPrototypeOf(this.rd.G).n.Qd.apply(n,[""]),p[d]=1}};p.prototype.Rw=function(a,c){e=a-1;var b=this.type.name,d=e;f().setItem(b,d.toString());h(e,c)};p.prototype.kx=function(){for(var a=m(),c=0;c<l;c++)0===a[c]&&(h(c,1),Object.getPrototypeOf(this.Ic.G).n.Ne.apply(this.ta[c],[1]),Object.getPrototypeOf(this.rd.G).n.Qd.apply(this.lb[c],[(c+1).toString()]))};p.prototype.mx=function(a){var c;a:{var b=[];if(b=window.atob(f().getItem(n)))for(var b=JSON.parse(b),d=0;d<l;d++)if(c=b[d],0==c){c=
d;break a}c=-1}-1!=c&&c==a&&(e=c,a=this.type.name,c=e,f().setItem(a,c.toString()),h(e,1),Object.getPrototypeOf(this.Ic.G).n.Ne.apply(this.ta[e],[1]),Object.getPrototypeOf(this.rd.G).n.Qd.apply(this.lb[e],[(e+1).toString()]))};d.n=new p;q.prototype.Xw=function(c){a=2;c.M(a)};q.prototype.Yw=function(c){a=3;c.M(a)};q.prototype.Zw=function(c){a=4;c.M(a)};q.prototype.Cq=function(a,b){var e;e=window.atob(f().getItem(n));c=parseInt(e[2*b-1]);"undefined"==typeof c&&(c=0);a.M(c)};q.prototype.hx=function(a){a.M(l)};
d.B=new q})();function ed(f){this.b=f}
(function(){function f(){}var m=ed.prototype;m.T=function(b){this.G=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b){this.type=b;this.b=b.b};var h=m.S.prototype;h.I=function(){this.lr={}};h.mb=function(){return{tims:this.lr}};h.Ab=function(b){this.lr=b.tims};m.k=new function(){};m.n=new function(){};m.B=new f;f.prototype.ox=function(b,f){b.M((null!=f?new Date(f):new Date).getFullYear())};f.prototype.Uv=function(b,f){b.M((null!=f?new Date(f):new Date).getMonth()+1)};f.prototype.Date=function(b,
f){b.M((null!=f?new Date(f):new Date).getDate())};f.prototype.uv=function(b,f,h,m,d,v,g,a){b.N((new Date(f||2E3,(h||1)-1,m||1,d||0,v||0,g||0,a||0)).getTime())}})();function W(f){this.b=f}var Uc=0,Wc=1,Vc=1;
(function(){function f(){if(0===this.Wn.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var c=a.getContext("2d");this.kg?c.drawImage(this.J,this.Xc,this.Yc,this.width,this.height,0,0,this.width,this.height):c.drawImage(this.J,0,0,this.width,this.height);this.Wn=a.toDataURL("image/png")}return this.Wn}function m(){}function h(){}function b(){}var r=W.prototype;r.T=function(a){this.G=a;this.b=a.b};var p=r.T.prototype;p.Ix=function(a){var c=a.ec;a.Ig=!1;a.um=0;
a.wm=0;a.vm=0;a.tm=0;for(var b=Number.MAX_VALUE,d=0,f=Number.MIN_VALUE,g=0,h=Number.MAX_VALUE,k=0,p=Number.MIN_VALUE,m=0,q=0;q<c.length;q+=2)b>c[q]&&!(b-.003<=c[q]&&c[q]<=b+.003)?(b=c[q],d=1):b-.003<=c[q]&&c[q]<=b+.003&&(d+=1),f<c[q]&&!(f-.003<=c[q]&&c[q]<=f+.003)?(f=c[q],g=1):f-.003<=c[q]&&c[q]<=f+.003&&(g+=1),h>c[q+1]&&!(h-.003<=c[q+1]&&c[q+1]<=h+.003)?(h=c[q+1],k=1):h-.003<=c[q+1]&&c[q+1]<=h+.003&&(k+=1),p<c[q+1]&&!(p-.003<=c[q+1]&&c[q+1]<=p+.003)?(p=c[q+1],m=1):p-.003<=c[q+1]&&c[q+1]<=p+.003&&
(m+=1);a.um=b;a.wm=h;a.vm=f;a.tm=p;2==d&&2==g&&2==k&&2==m?a.Ig=!0:0==c.length&&(a.Ig=!0,a.um=0-a.ob,a.wm=0-a.pb,a.vm=1-a.ob,a.tm=1-a.pb)};p.I=function(){if(!this.X){var a,c,b,d,g,h,p,k,m;this.Sd=[];this.Wi=!1;a=0;for(c=this.nc.length;a<c;a++){g=this.nc[a];p={};p.name=g[0];p.speed=g[1];p.loop=g[2];p.Mp=g[3];p.ym=g[4];p.Xt=g[5];p.Ha=g[6];p.frames=[];b=0;for(d=g[7].length;b<d;b++)h=g[7][b],k={},k.Nm=h[0],k.bq=h[1],k.Xc=h[2],k.Yc=h[3],k.width=h[4],k.height=h[5],k.duration=h[6],k.ob=h[7],k.pb=h[8],k.ol=
h[9],k.ec=h[10],this.Ix(k),k.Yt=h[11],k.kg=0!==k.width,k.Wn="",k.yC=f,k.Cm=1,m={left:0,top:0,right:1,bottom:1},k.Vp=m,k.ra=null,(m=this.b.Zy(h[0]))?k.J=m:(k.J=new Image,k.J.Kx=h[0],k.J.Lr=h[1],k.J.Fx=null,this.b.pq(k.J,h[0])),p.frames.push(k),this.Sd.push(k);this.nc[a]=p}}};p.su=function(a){var c,b,d,f,g,h,k;c=0;for(b=this.nc.length;c<b;c++)for(h=this.nc[c],d=0,f=h.frames.length;d<f;d++)if(k=h.frames[d],a!==k.Cm){0===k.ec.length&&(k.ec=[],k.ec[0]=0-k.ob,k.ec[1]=0-k.pb,k.ec[2]=1-k.ob,k.ec[3]=0-k.pb,
k.ec[4]=1-k.ob,k.ec[5]=1-k.pb,k.ec[6]=0-k.ob,k.ec[7]=1-k.pb);for(g=0;g<k.ec.length;g++)k.ec[g]=k.ec[g]*a/k.Cm;k.Cm=a;k.Ig=!1}};p.Ru=function(){var a,c,b;a=0;for(c=this.d.length;a<c;a++)b=this.d[a],b.Mk=b.Ka.ra};p.Dj=function(){if(!this.X){var a,c,b;a=0;for(c=this.Sd.length;a<c;++a)b=this.Sd[a],b.J.Fx=null,b.ra=null;this.Wi=!1;this.Ru()}};p.cm=function(){if(!this.X&&this.d.length){var a,c,b;a=0;for(c=this.Sd.length;a<c;++a)b=this.Sd[a],b.ra=this.b.H.Ug(b.J,!1,this.b.Y,b.Yt);this.Ru()}};p.Vg=function(){if(!this.X&&
!this.Wi&&this.b.H){var a,c,b;a=0;for(c=this.Sd.length;a<c;++a)b=this.Sd[a],b.ra=this.b.H.Ug(b.J,!1,this.b.Y,b.Yt);this.Wi=!0}};p.Dd=function(){if(!this.X&&!this.d.length&&this.Wi){var a,c,b;a=0;for(c=this.Sd.length;a<c;++a)b=this.Sd[a],this.b.H.deleteTexture(b.ra),b.ra=null;this.Wi=!1}};var q=[];p.nm=function(a){var c,b,d;F(q);c=0;for(b=this.Sd.length;c<b;++c)d=this.Sd[c].J,-1===q.indexOf(d)&&(a.drawImage(d,0,0),q.push(d))};r.S=function(a){this.type=a;this.b=a.b;a=this.type.nc[0].frames[0].ec;this.Ec?
this.Aa.di(a):this.Aa=new kb(a)};var d=r.S.prototype;d.I=function(){this.visible=0===this.C[0];this.pl=this.cj=!1;this.Oc=0!==this.C[3];this.Dc=[];this.gd=Number.MAX_VALUE;0!==this.C[4]&&(this.gd=this.A);this.qg=null;for(var a=0,c=this.b.D.length;a<c;a++){var b=this.b.D[a];"undefined"!==typeof tc.Bw&&b.G instanceof tc.Bw&&(this.qg=b)}0<this.C[5].length&&W.prototype.n.Kw.apply(this,[this.C[5]]);1===this.type.nc.length&&1===this.type.nc[0].frames.length||0===this.type.nc[0].speed||(this.b.lg(this),
this.cj=!0);this.gb=this.bs(this.C[1])||this.type.nc[0];this.U=this.C[2];0>this.U&&(this.U=0);this.U>=this.gb.frames.length&&(this.U=this.gb.frames.length-1);a=this.gb.frames[this.U];this.Aa.di(a.ec);this.ob=a.ob;this.pb=a.pb;this.df=!1;this.lt=null;this.Ii=this.gb.speed;this.Ec?this.we.reset():this.we=new eb;this.Ve=this.we.Ga;this.ve=!0;this.Oe=0;this.sg=!0;this.zk=this.ur="";this.Ir=0;this.yk=-1;this.ho=!1;this.type.Vg();for(var d,f,g,h,k,c=0,b=this.type.nc.length;c<b;c++)for(f=this.type.nc[c],
a=0,d=f.frames.length;a<d;a++)g=f.frames[a],0===g.width&&(g.width=g.J.width,g.height=g.J.height),g.kg&&(k=g.J,h=g.Vp,h.left=g.Xc/k.width,h.top=g.Yc/k.height,h.right=(g.Xc+g.width)/k.width,h.bottom=(g.Yc+g.height)/k.height,0===g.Xc&&0===g.Yc&&g.width===k.width&&g.height===k.height&&(g.kg=!1));this.Ka=this.gb.frames[this.U];this.Mk=this.Ka.ra;this.Ea=this.Da=0;this.fb=this.Za=-1;this.Jg=!1};d.Zc=function(){};d.mb=function(){var a={a:this.gb.Ha,f:this.U,cas:this.Ii,fs:this.Ve,ar:this.Oe,at:this.we.Ga};
this.ve||(a.ap=this.ve);this.sg||(a.af=this.sg);return a};d.Ab=function(a){var c=this.ez(a.a);c&&(this.gb=c);this.U=a.f;0>this.U&&(this.U=0);this.U>=this.gb.frames.length&&(this.U=this.gb.frames.length-1);this.Ii=a.cas;this.Ve=a.fs;this.Oe=a.ar;this.we.reset();this.we.Ga=a.at;this.ve=a.hasOwnProperty("ap")?a.ap:!0;this.sg=a.hasOwnProperty("af")?a.af:!0;this.Ka=this.gb.frames[this.U];this.Mk=this.Ka.ra;this.Aa.di(this.Ka.ec);this.ob=this.Ka.ob;this.pb=this.Ka.pb};d.Kn=function(a){this.U=a?0:this.gb.frames.length-
1;this.ve=!1;this.ur=this.gb.name;this.pl=!0;this.b.trigger(W.prototype.k.Wv,this);this.b.trigger(W.prototype.k.Mq,this);this.pl=!1;this.Oe=0};d.CC=function(){return this.we.Ga};d.eb=function(){this.we.add(this.b.hl(this));this.zk.length&&this.Qr();0<=this.yk&&this.Rr();var a=this.we.Ga,c=this.gb,b=c.frames[this.U],d=b.duration/this.Ii;this.ve&&a>=this.Ve+d&&(this.sg?this.U++:this.U--,this.Ve+=d,this.U>=c.frames.length&&(c.Xt?(this.sg=!1,this.U=c.frames.length-2):c.loop?this.U=c.ym:(this.Oe++,this.Oe>=
c.Mp?this.Kn(!1):this.U=c.ym)),0>this.U&&(c.Xt?(this.U=1,this.sg=!0,c.loop||(this.Oe++,this.Oe>=c.Mp&&this.Kn(!0))):c.loop?this.U=c.ym:(this.Oe++,this.Oe>=c.Mp?this.Kn(!0):this.U=c.ym)),0>this.U?this.U=0:this.U>=c.frames.length&&(this.U=c.frames.length-1),a>this.Ve+c.frames[this.U].duration/this.Ii&&(this.Ve=a),a=c.frames[this.U],this.ph(b,a),this.b.Fa=!0)};d.AC=function(a){if(2>a){var c=this.b.na%this.height;0<c&&(a=1);a+=(this.b.na-c)/this.height+1}this.y<-(this.height/2)?this.y+=this.height*a:
this.y>this.height*a-this.height/2&&(this.y-=this.height*a)};d.Nx=function(a){if(2>a){var c=this.b.wa%this.width;0<c&&(a=1);a+=(this.b.wa-c)/this.width+1}this.x<-(this.width/2)?this.x+=this.width*a:this.x>this.width*a-this.width/2&&(this.x-=this.width*a)};d.iA=function(a,c){if(2>a){var b=this.b.wa%this.width;0<b&&(a=1);a+=(this.b.wa-b)/this.width+1}this.x<-(this.width/2)-c?this.x+=this.width*a:this.x>this.b.wa+this.width/2+c&&(this.x-=this.width*a)};d.bs=function(a){var c,b,d;c=0;for(b=this.type.nc.length;c<
b;c++)if(d=this.type.nc[c],qb(d.name,a))return d;return null};d.ez=function(a){var c,b,d;c=0;for(b=this.type.nc.length;c<b;c++)if(d=this.type.nc[c],d.Ha===a)return d;return null};d.Qr=function(){var a=this.gb.frames[this.U],c=this.bs(this.zk);this.zk="";!c||qb(c.name,this.gb.name)&&this.ve||(this.gb=c,this.Ii=c.speed,0>this.U&&(this.U=0),this.U>=this.gb.frames.length&&(this.U=this.gb.frames.length-1),1===this.Ir&&(this.U=0),this.ve=!0,this.Ve=this.we.Ga,this.sg=!0,this.ph(a,this.gb.frames[this.U]),
this.b.Fa=!0)};d.Rr=function(){var a=this.gb.frames[this.U],c=this.U;this.U=ta(this.yk);0>this.U&&(this.U=0);this.U>=this.gb.frames.length&&(this.U=this.gb.frames.length-1);c!==this.U&&(this.ph(a,this.gb.frames[this.U]),this.Ve=this.we.Ga,this.b.Fa=!0);this.yk=-1};d.ph=function(a,c){var b=a.width,d=a.height,g=c.width,f=c.height;b!=g&&(this.width*=g/b);d!=f&&(this.height*=f/d);this.ob=c.ob;this.pb=c.pb;this.Aa.di(c.ec);this.K();this.Ka=c;this.Mk=c.ra;b=0;for(d=this.ka.length;b<d;b++)g=this.ka[b],g.Jt&&
g.Jt(a,c);this.b.trigger(W.prototype.k.ph,this)};d.yc=function(a){a.globalAlpha=this.opacity;var c=this.Ka,b=c.kg,d=c.J,g=this.x,f=this.y,h=this.width,k=this.height;this.df&&(g=this.Pl,f=this.Ql);if(0===this.A&&0<=h&&0<=k)if(this.df?(g-=this.kp*h,f-=this.lp*k):(g-=this.ob*h,f-=this.pb*k),this.b.sd&&(g=Math.round(g),f=Math.round(f)),b)if(this.Jg){if(0<this.Za&&0<this.fb){var b=this.Za,p=this.fb;this.Da+this.Za>c.width&&(b=c.width-this.Da-1);this.Ea+this.fb>c.height&&(p=c.height-this.Ea-1);if(0<b&&
0<p){var m=this.Da*z(h)/c.width,q=this.Ea*z(k)/c.height,h=b*z(h)/c.width,k=p*z(k)/c.height;a.drawImage(d,c.Xc+this.Da,c.Yc+this.Ea,b,this.JC,g+m,f+q,z(h),z(k))}}}else a.drawImage(d,c.Xc,c.Yc,c.width,c.height,g,f,h,k);else this.Jg?0<this.Za&&0<this.fb&&(b=this.Za,p=this.fb,this.Da+this.Za>d.width&&(b=d.width-this.Da-1),this.Ea+this.fb>d.height&&(p=d.height-this.Ea-1),0<p&&0<b&&(m=this.Da*z(h)/d.width,q=this.Ea*z(k)/d.height,h=b*z(h)/d.width,k=p*z(k)/d.height,a.drawImage(d,this.Da,this.Ea,b,p,g+m,f+
q,z(h),z(k)))):(c=-1,null!==this.qg&&(c=this.qg.d[0].Oz(this)),-1<c?(c=this.qg.d[0].VA[c],c.x===Number.MAX_VALUE?a.drawImage(d,g,f,h,k):(a.drawImage(d,c.x,f,h,k),g=c.x,this.K(),this.F()),a=this.u.zc(),d=g*a,h=h*a,g=Math.floor(d),k=Math.floor(h),f=Math.round(d),b=Math.round(h),f<d?b<h?(c.x=(g+k)/a,c.Pd=k/a):(c.x=(f+k)/a,c.Pd=b/a):(c.x=b<h?(f+k)/a:(g+b)/a,c.Pd=k/a),c.x=Math.floor((g+k)/a),c.Pd=b<h?b/a:k/a,c.Pd=h/a):a.drawImage(d,g,f,h,k));else this.b.sd&&(g=Math.round(g),f=Math.round(f)),a.save(),p=
0<h?1:-1,m=0<k?1:-1,a.translate(g,f),1===p&&1===m||a.scale(p,m),this.gd!==Number.MAX_VALUE?a.rotate(this.gd*p*m):a.rotate(this.A*p*m),this.df?(g=0-this.kp*z(h),f=0-this.lp*z(k)):(g=0-this.ob*z(h),f=0-this.pb*z(k)),b?this.Jg?0<this.Za&&0<this.fb&&(b=this.Za,p=this.fb,this.Da+this.Za>c.width&&(b=c.width-this.Da-1),this.Ea+this.fb>c.height&&(p=c.height-this.Ea-1),0<p&&0<b&&(m=this.Da*z(h)/c.width,q=this.Ea*z(k)/c.height,h=b*z(h)/c.width,k=p*z(k)/c.height,a.drawImage(d,c.Xc+this.Da,c.Yc+this.Ea,b,p,g+
m,f+q,z(h),z(k)))):a.drawImage(d,c.Xc+this.Da,c.Yc+this.Ea,c.width,c.height,g,f,z(h),z(k)):this.Jg?0<this.Za&&0<this.fb&&(b=this.Za,p=this.fb,this.Da+this.Za>d.width&&(b=d.width-this.Da-1),this.Ea+this.fb>d.height&&(p=d.height-this.Ea-1),0<p&&0<b&&(m=this.Da*z(h)/d.width,q=this.Ea*z(k)/d.height,h=b*z(h)/d.width,k=p*z(k)/d.height,a.drawImage(d,this.Da,this.Ea,b,p,g+m,f+q,z(h),z(k)))):a.drawImage(d,g,f,z(h),z(k)),a.restore()};d.yg=function(a){this.Qb(a)};d.Qb=function(a){a.Fc(this.Mk);a.gg(this.opacity);
var c=this.Ka,b=this.$b,d=this.width;if(this.b.sd){var g=Math.round(this.x)-this.x,f=Math.round(this.y)-this.y;if(this.Jg){if(0<this.Za&&0<this.fb){var h={};if(c.kg){if(h.left=(c.Xc+this.Da)/c.J.width,h.top=(c.Yc+this.Ea)/c.J.height,h.right=this.Da+this.Za<c.width?(c.Xc+this.Da+this.Za)/c.J.width:(c.Xc+c.width)/c.J.width,h.bottom=this.Ea+this.fb<c.height?(c.Yc+this.Ea+this.fb)/c.J.height:(c.Yc+c.height)/c.J.height,h.left<h.right&&h.top<h.bottom){var d=b.W+this.Da*(b.ba-b.W)/c.width,k=b.Ia+this.Ea*
(b.ca-b.ya)/c.height,p=d+this.Za*(b.ba-b.W)/c.width,m=b.ya+this.Ea*(b.ca-b.ya)/c.height,q=b.Va+this.Da*(b.ba-b.W)/c.width,r=q+this.Za*(b.ba-b.W)/c.width,C;a.Jc(b.W+g,b.Ia+f,b.ba+g,b.ya+f,b.Ta+g,b.ca+f,b.Va+g,b.Sa+f,h)}}else h.left=this.Da/c.J.width,h.top=this.Ea/c.J.height,1>h.left&&1>h.top&&(h.right=this.Da+this.Za<c.width?(this.Da+this.Za)/c.J.width:1,h.bottom=this.Ea+this.fb<c.height?(this.Ea+this.fb)/c.J.height:1,h.left<h.right&&h.top<h.bottom&&(d=b.W+this.Da*(b.ba-b.W)/c.width,k=b.Ia+this.Ea*
(b.ca-b.ya)/c.height,p=d+this.Za*(b.ba-b.W)/c.width,m=b.ya+this.Ea*(b.ca-b.ya)/c.height,p>b.ba&&(p=b.ba),m>b.ca&&(m=b.ca),q=b.Va+this.Da*(b.ba-b.W)/c.width,r=q+this.Za*(b.ba-b.W)/c.width,r>b.Ta&&(r=b.Ta),C=c=k+this.fb*(b.ca-b.ya)/c.height,C>b.ca&&(C=b.ca),c>b.Sa&&(c=b.Sa),a.Jc(d+g,k+f,p+g,m+f,r+g,C+f,q+g,c+f,h)))}}else c.kg?a.Jc(b.W+g,b.Ia+f,b.ba+g,b.ya+f,b.Ta+g,b.ca+f,b.Va+g,b.Sa+f,c.Vp):(h=-1,null!==this.qg&&(h=this.qg.d[0].Oz(this)),-1<h?(h=this.qg.d[0].VA[h],k=b.W,h.x===Number.MAX_VALUE?a.ag(b.W+
g,b.Ia+f,b.ba+g,b.ya+f,b.Ta+g,b.ca+f,b.Va+g,b.Sa+f):(a.ag(h.x+g,b.Ia+f,h.x+this.width+g,b.ya+f,h.x+this.width+g,b.ca+f,h.x+g,b.Sa+f),k=h.x,this.K(),this.F()),a=this.u.zc(),b=k*a,g=d*a,f=Math.floor(b),d=Math.floor(g),k=Math.round(b),p=Math.round(g),k<b?p<g?(h.x=(f+d)/a,h.Pd=d/a):(h.x=(k+d)/a,h.Pd=p/a):(h.x=p<g?(k+d)/a:(f+p)/a,h.Pd=d/a),h.x=Math.floor((f+d)/a),h.Pd=p<g?p/a:d/a,h.Pd=g/a):a.ag(b.W+g,b.Ia+f,b.ba+g,b.ya+f,b.Ta+g,b.ca+f,b.Va+g,b.Sa+f))}else this.Jg?0<this.Za&&0<this.fb&&(h={},c.kg?(h.left=
(c.Xc+this.Da)/c.J.width,h.top=(c.Yc+this.Ea)/c.J.height,h.right=this.Da+this.Za<c.width?(c.Xc+this.Da+this.Za)/c.J.width:(c.Xc+c.width)/c.J.width,h.bottom=this.Ea+this.fb<c.height?(c.Yc+this.Ea+this.fb)/c.J.height:(c.Yc+c.height)/c.J.height,h.left<h.right&&h.top<h.bottom&&a.Jc(b.W,b.Ia,b.ba,b.ya,b.Ta,b.ca,b.Va,b.Sa,h)):(h.left=this.Da/c.J.width,h.top=this.Ea/c.J.height,1>h.left&&1>h.top&&(h.right=this.Da+this.Za<c.width?(this.Da+this.Za)/c.J.width:1,h.bottom=this.Ea+this.fb<c.height?(this.Ea+this.fb)/
c.J.height:1,h.left<h.right&&h.top<h.bottom&&(d=b.W+this.Da*(b.ba-b.W)/c.width,k=b.Ia+this.Ea*(b.ca-b.ya)/c.height,p=d+this.Za*(b.ba-b.W)/c.width,m=b.ya+this.Ea*(b.ca-b.ya)/c.height,p>b.ba&&(p=b.ba),m>b.ca&&(m=b.ca),q=b.Va+this.Da*(b.ba-b.W)/c.width,r=q+this.Za*(b.ba-b.W)/c.width,r>b.Ta&&(r=b.Ta),a.Jc(d,k,p,m,r,b.ca,q,b.Sa,h))))):c.kg?a.Jc(b.W,b.Ia,b.ba,b.ya,b.Ta,b.ca,b.Va,b.Sa,c.Vp):a.ag(b.W,b.Ia,b.ba,b.ya,b.Ta,b.ca,b.Va,b.Sa)};d.js=function(a){var b=this.Ka,d,g;d=0;for(g=b.ol.length;d<g;d++)if(qb(a,
b.ol[d][0]))return d;return-1};d.so=function(a,b,d,g){var f=this.Ka,h=f.ol,p;ma(a)?p=this.js(a):p=a-1;p=ta(p);if(0>p||p>=h.length)return b?this.x:this.y;this.df?(this.F(),a=(h[p][1]-this.kp)*this.width,h=h[p][2],h=(h-this.lp)*this.height):(a=(h[p][1]-f.ob)*this.width,h=h[p][2],h=(h-f.pb)*this.height);if("undefined"===typeof d||0===d)d=Math.cos(this.A),f=Math.sin(this.A),p=a*d-h*f,h=h*d+a*f,a=p;d="undefined"!==typeof g&&9999!==g;this.df?(a+=b&&d?g:this.Pl,h+=!b&&d?g:this.Ql):(a+=b&&d?g:this.x,h+=!b&&
d?g:this.y);return b?a:h};d.vn=function(a){this.df=!0;this.lt=a;var b=this.Ka,d=b.ol,g;ma(a)?g=this.js(a):g=a-1;g=ta(g);0>g||g>=d.length||(this.kp=d[g][1],this.lp=d[g][2],a=(d[g][1]-b.ob)*this.width,d=d[g][2],d=(d-b.pb)*this.height,a+=this.x,d+=this.y,this.Pl=a,this.Ql=d,this.K())};var v=new ca,g=!1;new wa(0,0,0,0);p.finish=function(a){if(g){if(a){var b=this.b.zb().wb.fe;a=null.O();var d=v.pg(),f,h;if(a.fa){a.fa=!1;F(a.d);f=0;for(h=d.length;f<h;++f)a.d[f]=d[f];if(b)for(F(a.Ra),f=0,h=null.d.length;f<
h;++f)d=null.d[f],v.contains(d)||a.Ra.push(d)}else if(b)for(b=a.d.length,f=0,h=d.length;f<h;++f)a.d[b+f]=d[f],Fa(a.Ra,d[f]);else Ca(a.d,d);null.Td()}v.clear();g=!1}};m.prototype.Mq=function(a){return qb(this.ur,a)};m.prototype.Wv=function(){return!0};m.prototype.ph=function(){return!0};r.k=new m;h.prototype.bx=function(){this.ve=!1};h.prototype.Hw=function(a,b,d){this.ve&&this.ho||(this.ho=0===d?!0:!1,this.zk=a,this.Ir=b,this.cj||(this.b.lg(this),this.cj=!0),this.pl||this.Qr())};h.prototype.Ne=function(a){this.ve&&
this.ho||(this.yk=a,this.cj||(this.b.lg(this),this.cj=!0),this.pl||this.Rr())};h.prototype.yn=function(a){var b=this.Ka,d=b.width*a*(0>this.width?-1:1);a=b.height*a*(0>this.height?-1:1);if(this.width!==d||this.height!==a)this.width=d,this.height=a,this.K()};h.prototype.su=function(a){this.type.su(a);this.Aa.di(this.gb.frames[this.U].ec)};h.prototype.Kw=function(a,b,d){"undefined"!==typeof tc.rg&&null.qC(this,a,b);1===d&&"undefined"!==typeof tc.rg&&null.RB(this)};h.prototype.Jw=function(a,b,d,g){this.Da=
a;this.Ea=b;this.Za=d;this.fb=g;this.Jg=!0;this.b.Fa=!0};h.prototype.vn=function(a){this.vn(a)};r.n=new h;b.prototype.Yu=function(a){a.M(this.U)};b.prototype.kn=function(a){a.N(this.Ka.width)};b.prototype.Dq=function(a){a.N(this.Ka.height)};d.Kr=function(a){a=a.split("|");for(var b=[],d=0;d<a.length;d++){for(var g=a[d].split(","),f=[],h=0;h<g.length;h++)f[h]=parseFloat(g[h]);b[d]=f}return b};d.$t=function(a,b,d,g,f,h){return Ha(Pa(f,Na(a,b,d,g)))<=h};d.Dd=function(a,b,d){a=this.Kr(a);var g=this.Kr(b);
b=[];for(var f=1;f<a.length;f++){for(var h=0,p=0;p<g.length;p++)this.$t(a[0][0],a[0][1],g[p][0],g[p][1],Na(a[0][0],a[0][1],a[f][0],a[f][1]),20)&&this.$t(a[f][0],a[f][1],g[p][0],g[p][1],Na(a[f][0],a[f][1],a[0][0],a[0][1]),90)&&h++;0==d?(90>=Ha(Pa(Na(a[0][0],a[0][1],a[f][0],a[f][1]),L(0)))&&(h+=.5),h+=(a[f][0]-a[0][0])/2E3):(90<Ha(Pa(Na(a[0][0],a[0][1],a[f][0],a[f][1]),L(0)))&&(h+=.5),h+=(-a[f][0]+a[0][0])/2E3);200>Va(a[0][0],a[0][1],a[f][0],a[f][1])&&(h+=4-Va(a[0][0],a[0][1],a[f][0],a[f][1])/100);
p=[];p[0]=20-h;p[1]=a[f][2];p[2]=a[f][0];p[3]=a[f][1];b.push(p)}d=b[0];for(a=1;a<b.length;a++)b[a][0]>d[0]&&(d=b[a]);return d[1]};b.prototype.cs=function(a,b,d,f){d<b.split(f).length?a.ga(b.split(f)[d]):a.ga("")};d.Me=function(){if("undefined"!==typeof tc.rg)return parseInt(null.Me(this))};d.vi=function(){if("undefined"!==typeof tc.rg)return parseInt(null.Lq(this))};b.prototype.Me=function(a){a.M(this.Me())};b.prototype.vi=function(a){a.M(this.vi())};r.B=new b})();function Z(f){this.b=f}
(function(){function f(a,b){return a.length?a.pop():new b}function m(a,b,c){if(c){var d;c=0;for(d=b.length;c<d;c++)a.length<v&&a.push(b[c]);F(b)}else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a.length<v&&a.push(b[d]),delete b[d])}function h(a,b,c){var d=a.bb;c=c.replace(/\s\s*$/,"");b>=d.length&&d.push(f(g,Object));b=d[b];b.text=c;b.width=a.op(c);a.rf=pa(a.rf,b.width)}function b(){}function r(){}function p(){}var q=Z.prototype;q.I=function(){};q.T=function(a){this.G=a;this.b=a.b};var d=
q.T.prototype;d.I=function(){this.X||(this.J=new Image,this.b.pq(this.J,this.Nm),this.ra=null)};d.Dj=function(){this.X||(this.ra=null)};d.cm=function(){if(!this.X&&this.d.length){this.ra||(this.ra=this.b.H.Ug(this.J,!1,this.b.Y,this.Wj));var a,b;a=0;for(b=this.d.length;a<b;a++)this.d[a].ra=this.ra}};d.Dd=function(){this.X||this.d.length||!this.ra||(this.b.H.deleteTexture(this.ra),this.ra=null)};d.nm=function(a){a.drawImage(this.J,0,0)};q.S=function(a){this.type=a;this.b=a.b};d=q.S.prototype;d.Zc=
function(){m(g,this.bb,!0);m(a,this.Ck,!1);m(c,this.Dk,!1);Za(this.Hf)};d.I=function(){this.J=this.type.J;this.Ak=this.C[0];this.Ff=this.C[1];this.characterSet=this.C[2];this.text=this.C[3];this.Wd=this.C[4];this.visible=0===this.C[5];this.Xe=this.C[6]/2;this.uf=this.C[7]/2;this.gk=0===this.C[9];this.Gf=this.C[10];this.lineHeight=this.C[11];this.Le=this.rf=0;this.gd=Number.MAX_VALUE;0!==this.C[12]&&(this.gd=this.A);this.Ec?(F(this.bb),Za(this.Ck),Za(this.Dk),Za(this.Hf)):(this.bb=[],this.Ck={},this.Dk=
{},this.Hf={});this.Mc=!0;this.Rg=this.width;this.b.H&&(this.type.ra||(this.type.ra=this.b.H.Ug(this.type.J,!1,this.b.Y,this.type.Wj)),this.ra=this.type.ra);this.Ww()};d.mb=function(){var a={t:this.text,csc:this.Wd,csp:this.Gf,lh:this.lineHeight,tw:this.rf,th:this.Le,lrt:this.Qg,ha:this.Xe,va:this.uf,cw:{}},b;for(b in this.Hf)a.cw[b]=this.Hf[b];return a};d.Ab=function(a){this.text=a.t;this.Wd=a.csc;this.Gf=a.csp;this.lineHeight=a.lh;this.rf=a.tw;this.Le=a.th;this.Qg=a.lrt;a.hasOwnProperty("ha")&&
(this.Xe=a.ha);a.hasOwnProperty("va")&&(this.uf=a.va);for(var b in a.cw)this.Hf[b]=a.cw[b];this.Mc=!0;this.Rg=this.width};var v=1E3,g=[],a=[],c=[];d.Ww=function(){for(var b=this.J,d=b.width,e=b.height,b=this.Ak,g=this.Ff,h=b/d,l=g/e,p=this.characterSet,d=Math.floor(d/b),e=Math.floor(e/g),m=0;m<p.length&&!(m>=d*e);m++){var q=m%d,r=Math.floor(m/d),E=p.charAt(m);if(this.b.H){var v=this.Dk,K=q*h,aa=r*l,q=(q+1)*h,r=(r+1)*l;void 0===v[E]&&(v[E]=f(c,wa));v[E].left=K;v[E].top=aa;v[E].right=q;v[E].bottom=
r}else v=this.Ck,q=q*b,r=r*g,K=b,aa=g,void 0===v[E]&&(v[E]=f(a,Object)),v[E].x=q,v[E].y=r,v[E].Pd=K,v[E].os=aa}};var e=[];q.Bn=function(a){F(e);for(var b="",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(e.push(b),b=""),e.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));e.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&e.push(b)};q.En=function(a){var b=a.text,c=a.bb;if(b&&b.length){var d=a.width;if(2>=d)m(g,
c,!0);else{var e=a.Wd,h=a.Gf;if(b.length*(a.Ak*e+h)-h<=d&&-1===b.indexOf("\n")&&(h=a.op(b),h<=d)){m(g,c,!0);c.push(f(g,Object));c[0].text=b;c[0].width=h;a.rf=h;a.Le=a.Ff*e+a.lineHeight;return}this.Fn(a);a.Le=c.length*(a.Ff*e+a.lineHeight)}}else m(g,c,!0)};q.Fn=function(a){var b=a.gk,c=a.text,d=a.bb,f=a.width;b&&(this.Bn(c),c=e);var l="",p,m,q,r=0,E=!1;for(q=0;q<c.length;q++)"\n"===c[q]?(!0===E?E=!1:(h(a,r,l),r++),l=""):(E=!1,p=l,l+=c[q],m=a.op(l.replace(/\s\s*$/,"")),m>f&&(""===p?(h(a,r,l),l="",E=
!0):(h(a,r,p),l=c[q]),r++,b||" "!==l||(l="")));l.replace(/\s\s*$/,"").length&&(h(a,r,l),r++);for(q=r;q<d.length;q++)g.length<v&&g.push(d[q]);d.length=r};d.op=function(a){for(var b=this.Gf,c=a.length,d=0,e=0;e<c;e++)d+=this.lo(a.charAt(e))*this.Wd+b;return d-(0<d?b:0)};d.lo=function(a){var b=this.Hf;return void 0!==b[a]?b[a]:this.Ak};d.gu=function(){if(this.Mc||this.width!==this.Rg)this.Le=this.rf=0,this.type.G.En(this),this.Mc=!1,this.Rg=this.width};d.yc=function(a){var b=this.J;if(""!==this.text&&
null!=b&&(this.gu(),!(this.height<this.Ff*this.Wd+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.b.sd&&(b=Math.round(b),c=Math.round(c));var d=this.u.Ja,e=this.u.za,f=this.u.Pa,g=this.u.Oa;a.save();a.translate(b,c);this.gd!==Number.MAX_VALUE?a.rotate(this.gd):a.rotate(this.A);for(var h=this.Xe,l=this.Wd,p=this.Ff*l,m=this.lineHeight,q=this.Gf,r=this.bb,v,U=-(this.ob*this.width),D=-(this.pb*this.height),D=D+this.uf*pa(0,this.height-this.Le),I,y,da,M=0;M<r.length;M++){var x=
r[M].text;v=h*pa(0,this.width-r[M].width);I=U+v;D+=m;if(c+D+p<e)D+=p;else{for(var B=0;B<x.length;B++){y=x.charAt(B);v=this.lo(y);var A=this.Ck[y];if(b+I+v*l+q<d)I+=v*l+q;else{if(I+v*l>this.width+1E-5)break;if(void 0!==A){y=I;da=D;if(0===this.A||0===this.gd)y=Math.round(y),da=Math.round(da);a.drawImage(this.J,A.x,A.y,A.Pd,A.os,y,da,A.Pd*l,A.os*l)}I+=v*l+q;if(b+I>f)break}}D+=p;if(D+p+m>this.height||c+D>g)break}}a.restore()}};var l=new xa;d.Qb=function(a){a.Fc(this.ra);a.gg(this.opacity);if(this.text&&
(this.gu(),!(this.height<this.Ff*this.Wd+this.lineHeight))){this.F();var b=this.$b,c=0,d=0;this.b.sd&&(c=Math.round(this.x)-this.x,d=Math.round(this.y)-this.y);var e=this.u.Ja,f=this.u.za,g=this.u.Pa,h=this.u.Oa,p=this.gd!==Number.MAX_VALUE?this.gd:this.A,m=this.Xe,q=this.uf,r=this.Wd,v=this.Ff*r,aa=this.lineHeight,U=this.Gf,D=this.bb,I=this.Le,y,da,M;0!==p&&(da=Math.cos(p),M=Math.sin(p));for(var c=b.W+c,b=b.Ia+d,x,q=q*pa(0,this.height-I),B,A,I=0;I<D.length;I++)if(d=D[I].text,x=y=m*pa(0,this.width-
D[I].width),q+=aa,0===p&&b+q+v<f)q+=v;else{for(var P=0;P<d.length;P++){var G=d.charAt(P);y=this.lo(G);G=this.Dk[G];if(c+x+y*r+U<e)x+=y*r+U;else{if(x+y*r>this.width+1E-5)break;if(void 0!==G){var J=this.Ak*r,R=this.Ff*r;B=x;A=q;0===p&&(B=Math.round(B),A=Math.round(A));l.W=B;l.Ia=A;l.ba=B+J;l.ya=A;l.Va=B;l.Sa=A+R;l.Ta=B+J;l.ca=A+R;0!==p&&(B=l,A=da,J=M,R=void 0,R=B.W*A-B.Ia*J,B.Ia=B.Ia*A+B.W*J,B.W=R,R=B.ba*A-B.ya*J,B.ya=B.ya*A+B.ba*J,B.ba=R,R=B.Va*A-B.Sa*J,B.Sa=B.Sa*A+B.Va*J,B.Va=R,R=B.Ta*A-B.ca*J,B.ca=
B.ca*A+B.Ta*J,B.Ta=R);l.offset(c,b);a.Jc(l.W,l.Ia,l.ba,l.ya,l.Ta,l.ca,l.Va,l.Sa,G)}x+=y*r+U;if(0===p&&c+x>g)break}}q+=v;if(q+v+aa>this.height||b+q>h)break}}};b.prototype.xq=function(a,b){return b?this.text==a:qb(this.text,a)};q.k=new b;r.prototype.Qd=function(a){la(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Mc=!0,this.b.Fa=!0)};r.prototype.yn=function(a){a!==this.Wd&&(this.Wd=a,this.Mc=!0,this.b.Fa=!0)};r.prototype.Iw=function(a){a!==this.cv&&(this.Gf=a,
this.Mc=!0,this.b.Fa=!0)};d.Dd=function(a,b){var c=parseInt(b,10);this.Hf[a]!==c&&(this.Hf[a]=c,this.Mc=!0,this.b.Fa=!0)};q.n=new r;p.prototype.bv=function(a){a.N(this.Wd)};p.prototype.cv=function(a){a.M(this.Gf)};p.prototype.Text=function(a){a.ga(this.text)};q.B=new p})();function Hc(f){this.b=f}
(function(){function f(){q=localStorage;try{q.setItem("test exception","test"),q.getItem("test exception")}catch(a){try{q=Qc,q.setItem("test exception","test"),q.getItem("test exception")}catch(b){}}return q}function m(){}function h(){}function b(){}var r=Hc.prototype;r.T=function(a){this.G=a;this.b=a.b;this.eA=!0};var p="",q=null;r.T.prototype.I=function(){p=this.b.qf};r.S=function(a){this.type=a;this.b=a.b;this.ni=[]};var d=r.S.prototype;d.I=function(){this.Hj=null;this.b.lg(this);this.jn=null;
for(var a=0,b=this.b.D.length;a<b;a++){var d=this.b.D[a];"undefined"!==typeof tc.hn&&d.G instanceof tc.hn&&(this.jn=d)}};d.Zc=function(){};d.mb=function(){return{}};d.Ab=function(){};d.yc=function(){};d.Qb=function(){};d.eb=function(){null!==this.Hj&&W.prototype.n.Jw.apply(this.Hj,[0,0,Math.round(this.b.ie*this.Hj.Ka.width),this.Hj.Ka.height]);1<=this.b.ie&&this.b.yB(this)};m.prototype.ti=function(){return!0};m.prototype.xv=function(){return!0};r.k=new m;h.prototype.Nw=function(a){this.Hj=a.po();
return!1};h.prototype.Cn=function(a,b){S.prototype.n.Cn.apply(this.b.ud,[a,b]);return!0};h.prototype.Xo=function(a,b){a&&(a.Xo=1===b?!0:!1)};h.prototype.Qe=function(a,b,d,f,g){if(d&&a){var h;if(a.X)for(var p=0;p<a.ef.length;p++){if(a.ef[p].Qc[5][6]===b){h=this.b.Qe(a.ef[p],d,f,g);break}}else a.Qc[5][6]===b&&(h=this.b.Qe(a,d,f,g));if(h){this.b.nd++;this.b.trigger(Object.getPrototypeOf(a.G).k.se,h);if(h.jc)for(p=0,b=h.siblings.length;p<b;p++)d=h.siblings[p],this.b.trigger(Object.getPrototypeOf(d.type.G).k.se,
d);this.b.nd--;a=a.O();a.fa=!1;F(a.d);a.d[0]=h;if(h.jc)for(p=0,b=h.siblings.length;p<b;p++)d=h.siblings[p],a=d.type.O(),a.fa=!1,F(a.d),a.d[0]=d}}};r.n=new h;b.prototype.Tn=function(a){var b=ta(Math.random()*(arguments.length-1));a.me(arguments[b+1])};b.prototype.toFixed=function(a,b,d){a.ga(b.toFixed(d))};d.Me=function(){if("undefined"!==typeof tc.hn)return parseInt(this.jn.d[0].Me(this.b.V));if("undefined"!==typeof tc.rg)return parseInt(null.Me(this.b.V))};d.vi=function(){if("undefined"!==typeof tc.hn)return parseInt(this.jn.d[0].Lq(this.b.V));
if("undefined"!==typeof tc.rg)return parseInt(null.Lq(this.b.V))};b.prototype.Me=function(a){a.M(this.Me())};b.prototype.vi=function(a){a.M(this.vi())};b.prototype.cs=function(a,b,d,f){d<b.split(f).length?a.ga(b.split(f)[d]):a.ga("")};b.prototype.qy=function(a,b){a.ga(window.btoa(b))};b.prototype.Ox=function(a,b){a.ga(window.atob(b))};b.prototype.Tb=function(a,b){a.M(isNaN(b)?0:1)};b.prototype.Cq=function(a,b){var d;d=window.atob(f().getItem(p));d=parseInt(d[2*b-1]);"undefined"==typeof d&&(d=0);a.M(d)};
r.B=new b;var v=[],g=[];d.cB=function(){var a,b,d,f,h,p,m=this.b.zb();a=0;for(d=this.ni.length;a<d;a++){f=this.ni[a];p=f.IC.O().ab();var k=!1;for(b=0;b<p.length;b++){var q,r=!1;switch(f.wC){case 0:q=p[b].x>=f.value?1:-1;r=p[b].x===f.value;break;case 1:q=p[b].y>=f.value?1:-1,r=p[b].y===f.value}"undefined"===typeof p[b].direction&&(p[b].direction=0);0<p[b].direction&&-1===q&&(k=!0);0>p[b].direction&&1===q&&(k=!0);r&&(k=!0);p[b].direction+=q}if(k){m.wb=f.Mf;m.wc=f.wc;m.Hb=0;for(h in f.Zb)f.Zb.hasOwnProperty(h)&&
(b=this.b.D[parseInt(h,10)].O(),p=f.Zb[h],b.fa=p.Mj,Ca(b.d,p.Sc),b=p,F(b.Sc),g.push(b));f.Mf.ju();this.b.Bk(f.qa);f.Ji=!0}}b=a=0;for(d=this.ni.length;a<d;a++)f=this.ni[a],this.ni[b]=f,f.Ji?(Za(f.Zb),F(f.qa),v.push(f)):b++;Ba(this.ni,b)}})();function fd(f){this.b=f}
(function(){function f(){return g.length?g.pop():{}}function m(a){var b,d;b=0;for(d=a.length;b<d;b++)g.push(a[b]);F(a)}function h(a){return a.length&&" "===a.charAt(a.length-1)?a.substring(0,a.length-1):a}function b(){}function r(){}function p(){}var q=fd.prototype;q.I=function(){q.n.An=function(a){this.width!==a&&(this.width=a,this.Mc=!0,this.K())}};q.T=function(a){this.G=a;this.b=a.b};var d=q.T.prototype;d.I=function(){};d.Dj=function(){if(!this.X){var a,b,d;a=0;for(b=this.d.length;a<b;a++)d=this.d[a],
d.Fe=null,d.Zg=null,d.Wc=null}};q.S=function(a){this.type=a;this.b=a.b;this.Ec?F(this.bb):this.bb=[];this.Mc=!0};d=q.S.prototype;d.I=function(){this.text=this.C[0];this.visible=0===this.C[1];this.font=this.C[2];this.color=this.C[3];this.Gk=this.C[4];this.Xe=this.C[5];this.uf=this.C[6];this.gk=0===this.C[8];this.Rg=this.Fl=this.width;this.El=this.height;this.ep=this.C[9];this.$y=this.C[10];this.$k=this.zh="";this.Le=this.rf=this.Ij=0;this.EA();this.Wc=this.Zg=this.Fe=null;this.zt=!1;this.Qg=this.b.oe;
this.Ec?this.bg.set(0,0,1,1):this.bg=new wa(0,0,1,1);this.state=0;this.b.H&&this.b.lg(this)};d.EA=function(){var a=this.font.split(" "),b;for(b=0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.Ij=parseInt(a[b].substr(0,a[b].length-2));this.Ip=Math.ceil(this.Ij/72*96)+4;0<b&&(this.$k=a[b-1]);this.zh=a[b+1];for(b+=2;b<a.length;b++)this.zh+=" "+a[b];break}};d.mb=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Xe,va:this.uf,wr:this.gk,lho:this.ep,fn:this.zh,fs:this.$k,ps:this.Ij,
pxh:this.Ip,tw:this.rf,th:this.Le,lrt:this.Qg}};d.Ab=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Xe=a.ha;this.uf=a.va;this.gk=a.wr;this.ep=a.lho;this.zh=a.fn;this.$k=a.fs;this.Ij=a.ps;this.Ip=a.pxh;this.rf=a.tw;this.Le=a.th;this.Qg=a.lrt;this.Mc=!0;this.Rg=this.Fl=this.width;this.El=this.height};d.eb=function(){if(this.b.H&&this.Wc&&300<=this.b.oe-this.Qg){var a=this.u;this.F();var b=this.L;if(b.right<a.Ja||b.bottom<a.za||b.left>a.Pa||b.top>a.Oa)this.b.H.deleteTexture(this.Wc),this.Fe=
this.Zg=this.Wc=null}};d.Zc=function(){this.Fe=this.Zg=null;this.b.H&&this.Wc&&this.b.H.deleteTexture(this.Wc);this.Wc=null};d.Dd=function(){this.font=this.$k+" "+this.Ij.toString()+"pt "+this.zh;this.Mc=!0;this.b.Fa=!0};d.yc=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=0===this.state?this.color:this.Gk;a.globalAlpha=b?1:this.opacity;var d=1;b&&(d=this.u.zc(),a.save(),a.scale(d,d));if(this.Mc||this.width!==this.Rg)this.type.G.En(this.text,this.bb,a,this.width,this.gk),this.Mc=!1,
this.Rg=this.width;this.F();var d=b?0:this.$b.W,f=b?0:this.$b.Ia,g=f;this.b.sd&&(d=d+.5|0,f=f+.5|0);0===this.A||b||(a.save(),a.translate(d,f),a.rotate(this.A),f=d=0);var h=f+this.height,p=this.Ip,p=p+this.ep,k,m;1===this.uf?f+=Math.max(this.height/2-this.bb.length*p/2,0):2===this.uf&&(f+=Math.max(this.height-this.bb.length*p-2,0));var q=0,r=0;for(m=0;m<this.bb.length;m++){k=d;1===this.Xe?k=d+(this.width-this.bb[m].width)/2:2===this.Xe&&(k=d+(this.width-this.bb[m].width));a.fillStyle=!0===this.bb[m].nl?
this.Gk:0===this.state?this.color:this.Gk;k=!1===this.bb[m].vh?q+this.bb[m].Zl:k;a.fillText(this.bb[m].text,k,f);if(!0===this.bb[m].nl||1===this.$y)a.beginPath(),a.lineWidth="1",a.strokeStyle=this.Gk,a.moveTo(k,f+p-3),a.lineTo(k+this.bb[m].width,f+p-3),-1<this.font.indexOf("bold")&&(a.moveTo(k,f+p-3+1),a.lineTo(k+this.bb[m].width,f+p-3+1)),a.stroke();if(!0===this.bb[m].nl){var v=(k-d)/this.width,C=(f-g)/this.height,Q=(k-d+this.bb[m].width)/this.width,E=(f-g+p)/this.height,v=[v,C,Q,C,Q,E,v,E];0==r?
this.Aa=new kb(v):1==r&&(this.Fk=new kb(v));this.Ec=!0;r++}m+1<this.bb.length&&!1!==this.bb[m+1].vh&&(f+=p);if(f>=h-p)break;!1!==this.bb[m].vh&&(q=k)}(0!==this.A||b)&&a.restore();this.Qg=this.b.oe};d.Qb=function(a){if(!(1>this.width||1>this.height)){var b=this.Mc||this.zt;this.zt=!1;var d=this.u.zc(),f=this.u.yb(),g=this.bg,h=d*this.width,p=d*this.height,k=Math.ceil(h),m=Math.ceil(p),q=this.b.aa/2,r=this.b.Z/2;this.Zg||(this.Fe=document.createElement("canvas"),this.Fe.width=k,this.Fe.height=m,this.Fl=
k,this.El=m,b=!0,this.Zg=this.Fe.getContext("2d"));if(k!==this.Fl||m!==this.El)this.Fe.width=k,this.Fe.height=m,this.Wc&&(a.deleteTexture(this.Wc),this.Wc=null),b=!0;b&&(this.Zg.clearRect(0,0,k,m),this.yc(this.Zg,!0),this.Wc||(this.Wc=a.fd(k,m,this.b.Y,this.b.de)),a.GB(this.Fe,this.Wc,this.b.de));this.Fl=k;this.El=m;a.Fc(this.Wc);a.gg(this.opacity);a.Kd();a.translate(-q,-r);a.xd();var v=this.$b,b=this.u.kb(v.W,v.Ia,!0,!0),q=this.u.kb(v.W,v.Ia,!1,!0),r=this.u.kb(v.ba,v.ya,!0,!0),C=this.u.kb(v.ba,v.ya,
!1,!0),Q=this.u.kb(v.Ta,v.ca,!0,!0),E=this.u.kb(v.Ta,v.ca,!1,!0),ha=this.u.kb(v.Va,v.Sa,!0,!0),v=this.u.kb(v.Va,v.Sa,!1,!0);if(this.b.sd||0===this.A&&0===f)var K=(b+.5|0)-b,aa=(q+.5|0)-q,b=b+K,q=q+aa,r=r+K,C=C+aa,Q=Q+K,E=E+aa,ha=ha+K,v=v+aa;0===this.A&&0===f?(r=b+k,C=q,Q=r,E=q+m,ha=b,v=E,g.right=1,g.bottom=1):(g.right=h/k,g.bottom=p/m);a.Jc(b,q,r,C,Q,E,ha,v,g);a.Kd();a.scale(d,d);a.Am(-this.u.yb());a.translate((this.u.Ja+this.u.Pa)/-2,(this.u.za+this.u.Oa)/-2);a.xd();this.Qg=this.b.oe}};var v=[];
q.Bn=function(a){F(v);for(var b="",d,f=0;f<a.length;)if(d=a.charAt(f),"\n"===d)b.length&&(v.push(b),b=""),v.push("\n"),++f;else if("|"===d||" "===d||"\t"===d||"-"===d){do"|"!==d&&(b+=a.charAt(f)),f++;while(f<a.length&&("|"===a.charAt(f)||" "===a.charAt(f)||"\t"===a.charAt(f)));v.push(b);b=""}else f<a.length&&("|"!==d&&(b+=d),f++);b.length&&v.push(b)};var g=[];q.En=function(a,b,d,g,h){if(a&&a.length)if(2>=g)m(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var p=d.measureText(a).width;if(p<=g){m(b);
b.push(f());b[0].text=a;b[0].width=p;return}}this.Fn(a,b,d,g,h)}else m(b)};q.Fn=function(a,b,d,l,p){p&&(this.Bn(a),a=v);var m="",q,k,r,N=0,O=!1;for(r=0;r<a.length;r++)if("\n"===a[r])N>=b.length&&b.push(f()),m=h(m),k=b[N],k.text=m,k.width=d.measureText(m).width,N++,m="";else if(q=m,m+=a[r],k=d.measureText(m).width,k>=l){N>=b.length&&b.push(f());q=h(q);k=b[N];k.text=q;k.width=d.measureText(q).width;N++;m=a[r];if(O){var O=!1,H=b[N-2].text.length,C=b[N-2].text+k.text;q=k.text;k.text="";var Q=0;k=0;C=
C.indexOf(".com",H-4);C+=4-H;H=q.substring(k,C);b.push(f());k=b[N];k.text=H;k.width=d.measureText(k.text).width;k.nl=!0;k.vh=!1;k.Zl=Q;N++;Q=Q+k.width;b.push(f());k=b[N];k.text=q.substring(C+4);k.width=d.measureText(k.text).width;k.vh=!1;k.Zl=Q;N++}else-1<k.text.indexOf("www.")&&(q=k.text,k.text=k.text.substring(0,q.indexOf("www.")),Q=d.measureText(k.text).width,k=q.indexOf("www."),C=q.indexOf(".com",k),H=q.substring(k,-1<C?C+4:q.length),b.push(f()),k=b[N],k.text=H,k.width=d.measureText(k.text).width,
k.nl=!0,k.vh=!1,k.Zl=Q,N++,-1===C?O=!0:(Q+=k.width,b.push(f()),k=b[N],k.text=q.substring(C+4),k.width=d.measureText(k.text).width,k.vh=!1,k.Zl=Q,N++));p||" "!==m||(m="")}m.length&&(N>=b.length&&b.push(f()),m=h(m),k=b[N],k.text=m,k.width=d.measureText(m).width,N++);for(r=N;r<b.length;r++)g.push(b[r]);b.length=N};b.prototype.xq=function(a,b){return b?this.text==a:qb(this.text,a)};q.k=new b;r.prototype.Qd=function(a){la(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=
a,this.Mc=!0,this.b.Fa=!0)};q.n=new r;p.prototype.Text=function(a){a.ga(this.text)};q.B=new p})();function gd(f){this.b=f}
(function(){function f(){}var m=gd.prototype;m.T=function(b){this.G=b;this.b=b.b};var h=m.T.prototype;h.I=function(){this.X||(this.J=new Image,this.J.Lr=this.bq,this.b.pq(this.J,this.Nm),this.ra=this.pattern=null)};h.Dj=function(){this.X||(this.ra=null)};h.cm=function(){if(!this.X&&this.d.length){this.ra||(this.ra=this.b.H.Ug(this.J,!0,this.b.Y,this.Wj));var b,f;b=0;for(f=this.d.length;b<f;b++)this.d[b].ra=this.ra}};h.Vg=function(){this.X||this.ra||!this.b.H||(this.ra=this.b.H.Ug(this.J,!0,this.b.Y,
this.Wj))};h.Dd=function(){this.X||this.d.length||!this.ra||(this.b.H.deleteTexture(this.ra),this.ra=null)};h.nm=function(b){b.drawImage(this.J,0,0)};m.S=function(b){this.type=b;this.b=b.b};h=m.S.prototype;h.I=function(){this.visible=0===this.C[0];this.bg=new wa(0,0,0,0);this.ts=!1;this.J=this.type.J;this.b.H?(this.type.Vg(),this.ra=this.type.ra):(this.type.pattern||(this.type.pattern=this.b.Wa.createPattern(this.type.J,"repeat")),this.pattern=this.type.pattern)};h.te=function(){this.ts=!1;this.J=
this.type.J};h.Zc=function(){this.b.H&&this.ts&&this.ra&&(this.b.H.deleteTexture(this.ra),this.ra=null)};h.yc=function(b){b.globalAlpha=this.opacity;b.save();b.fillStyle=this.pattern;var f=this.x,h=this.y;this.b.sd&&(f=Math.round(f),h=Math.round(h));var m=-(this.ob*this.width),d=-(this.pb*this.height),v=m%this.J.width,g=d%this.J.height;0>v&&(v+=this.J.width);0>g&&(g+=this.J.height);b.translate(f,h);b.rotate(this.A);b.translate(v,g);b.fillRect(m-v,d-g,this.width,this.height);b.restore()};h.yg=function(b){this.Qb(b)};
h.Qb=function(b){b.Fc(this.ra);b.gg(this.opacity);var f=this.bg;f.right=this.width/this.J.width;f.bottom=this.height/this.J.height;var h=this.$b;if(this.b.sd){var m=Math.round(this.x)-this.x,d=Math.round(this.y)-this.y;b.Jc(h.W+m,h.Ia+d,h.ba+m,h.ya+d,h.Ta+m,h.ca+d,h.Va+m,h.Sa+d,f)}else b.Jc(h.W,h.Ia,h.ba,h.ya,h.Ta,h.ca,h.Va,h.Sa,f)};m.k=new function(){};m.n=new function(){};f.prototype.kn=function(b){b.N(this.J.width)};f.prototype.Dq=function(b){b.N(this.J.height)};m.B=new f})();
function V(f){this.b=f}
(function(){function f(b){g=b.x;a=b.y;c=b.z}function m(a,b,c,d){var f;f=e.length?e.pop():new h;f.init(a,b,c,d);return f}function h(){this.gi=this.id=this.Tg=this.Sg=this.y=this.x=this.Jm=this.Im=this.$o=this.time=this.Zp=0;this.Zj=this.Tm=!1}function b(){}function r(){}function p(){}var q=V.prototype;q.T=function(a){this.G=a;this.b=a.b};q.T.prototype.I=function(){};q.S=function(a){this.type=a;this.b=a.b;this.touches=[];this.qp=!1};var d=q.S.prototype,v={left:0,top:0};d.Pi=function(a){var b,c;b=0;
for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var g=0,a=0,c=0,e=[];h.prototype.init=function(a,b,c,d){var e=$a();this.Zp=this.$o=this.time=e;this.Im=a;this.Jm=b;this.x=a;this.y=b;this.Sg=a;this.Tg=b;this.id=c;this.gi=d;this.Zj=this.Tm=!1};h.prototype.update=function(a,b,c){this.$o=this.time;this.time=a;this.Sg=this.x;this.Tg=this.y;this.x=b;this.y=c;!this.Zj&&15<=Va(this.Im,this.Jm,this.x,this.y)&&(this.Zj=!0)};h.prototype.sA=function(a,b){!this.Tm&&500<=$a()-this.Zp&&
!this.Zj&&15>Va(this.Im,this.Jm,this.x,this.y)&&(this.Tm=!0,a.wd=this.gi,a.ng=this.id,a.Hd=b,a.b.trigger(V.prototype.k.ew,a),a.ye=this.x,a.ze=this.y,a.b.trigger(V.prototype.k.fw,a),a.Hd=0)};var l=-1E3,n=-1E3,t=-1E4;h.prototype.qt=function(a,b){if(!this.Tm){var c=$a();333>=c-this.Zp&&!this.Zj&&15>Va(this.Im,this.Jm,this.x,this.y)&&(a.wd=this.gi,a.ng=this.id,a.Hd=b,666>=c-t&&25>Va(l,n,this.x,this.y)?(a.b.trigger(V.prototype.k.$v,a),a.ye=this.x,a.ze=this.y,a.b.trigger(V.prototype.k.aw,a),n=l=-1E3,t=
-1E4):(a.b.trigger(V.prototype.k.sw,a),a.ye=this.x,a.ze=this.y,a.b.trigger(V.prototype.k.Yq,a),l=this.x,n=this.y,t=c),a.Hd=0)}};d.I=function(){Rc=this;Rc.Co=!1;this.Bd=!0;this.cA=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Hd=this.ng=this.wd=this.ze=this.ye=this.or=this.nr=this.mr=this.vx=this.ux=this.tx=this.fm=this.em=this.dm=0;this.DB=0!==this.C[0];var a=0<this.b.xb?document:this.b.canvas,b=document;this.b.ic?b=a=window.Canvas:this.b.md&&(b=a=window);var c=this;window.navigator.pointerEnabled?
(a.addEventListener("pointerdown",function(a){c.Bd&&c.It(a)},!1),a.addEventListener("pointermove",function(a){c.Bd&&(c.Ht(a),Rc.Co=!0)},!1),b.addEventListener("pointerup",function(a){c.Bd&&c.am(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.Bd&&c.am(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.Bd&&c.It(a)},!1),a.addEventListener("MSPointerMove",function(a){c.Bd&&(c.Ht(a),Rc.Co=!0)},!1),b.addEventListener("MSPointerUp",function(a){c.Bd&&c.am(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.Bd&&c.am(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.Bd&&c.Lt(a)},!1),a.addEventListener("touchmove",function(a){c.Bd&&(c.Kt(a),Rc.Co=!0)},!1),b.addEventListener("touchend",function(a){c.Bd&&c.zp(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.Bd&&c.zp(a,!0)},!1));if(this.cA){var d=function(a){a=a.reading;c.mr=a.accelerationX;c.nr=a.accelerationY;c.or=a.accelerationZ},e=function(a){a=a.reading;c.dm=a.yawDegrees;c.em=a.pitchDegrees;c.fm=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();
g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",d));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",e));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",d),h&&h.removeEventListener("readingchanged",e)):(g&&g.addEventListener("readingchanged",d),h&&h.addEventListener("readingchanged",
e))},!1)}else window.addEventListener("deviceorientation",function(a){c.dm=a.alpha||0;c.em=a.beta||0;c.fm=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.tx=a.accelerationIncludingGravity.x||0,c.ux=a.accelerationIncludingGravity.y||0,c.vx=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.mr=a.acceleration.x||0,c.nr=a.acceleration.y||0,c.or=a.acceleration.z||0)},!1);this.DB&&!this.b.Ua&&(jQuery(document).mousemove(function(a){c.CA(a)}),jQuery(document).mousedown(function(a){c.BA(a)}),
jQuery(document).mouseup(function(a){c.DA(a)}));!this.b.$e&&this.b.Tc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(f,null,{frequency:40});this.b.uB(this)};d.Ht=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.Pi(a.pointerId),c=$a();if(0<=b){var d=this.b.Ua?v:jQuery(this.b.canvas).offset(),e=this.touches[b];2>c-e.time||(e.update(c,a.pageX-d.left,a.pageY-d.top),
this.Hd=b,this.wd=e.gi,this.ng=e.id,this.b.trigger(V.prototype.k.Uq,this),this.b.trigger(V.prototype.k.$q,this))}}};d.It=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&rb(a)&&a.preventDefault();var b=this.b.Ua?v:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;$a();this.wd=this.Hd=this.touches.length;this.ng=a.pointerId;this.touches.push(m(c,b,a.pointerId,this.wd));this.b.Uc=!0;this.b.trigger(V.prototype.k.Vq,this);this.b.trigger(V.prototype.k.cr,
this);this.ye=c;this.ze=b;this.b.trigger(V.prototype.k.un,this);this.b.trigger(V.prototype.k.br,this);this.b.Uc=!1}};d.am=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&rb(a)&&a.preventDefault();var c=this.Pi(a.pointerId);this.Hd=c;this.wd=0<=c?this.touches[c].gi:-1;this.ng=0<=c?this.touches[c].id:-1;this.b.Uc=!0;this.b.trigger(V.prototype.k.Tq,this);this.b.trigger(V.prototype.k.Zq,this);0<=c&&(b||this.touches[c].qt(this,c),100>e.length&&e.push(this.touches[c]),
this.touches.splice(c,1));this.b.Uc=!1}};d.Kt=function(a){a.preventDefault&&a.preventDefault();var b=$a(),c=a.changedTouches;this.b.$e&&(c=a.touches);var d,e,f;a=0;for(d=c.length;a<d;a++){e=c[a];var g=this.Pi(e.identifier);if(0<=g){var h=this.b.Ua?v:jQuery(this.b.canvas).offset();f=this.touches[g];2>b-f.time||(f.update(b,e.pageX-h.left,e.pageY-h.top),this.Hd=g,this.wd=a,this.ng=e.id,this.b.trigger(V.prototype.k.Uq,this),this.b.trigger(V.prototype.k.$q,this))}}};d.Lt=function(a){a.preventDefault&&
rb(a)&&a.preventDefault();var b=this.b.Ua?v:jQuery(this.b.canvas).offset();$a();this.b.Uc=!0;var c,d,e,f=a.changedTouches;this.b.$e&&(f=a.touches);a=0;for(c=f.length;a<c;a++)if(d=f[a],e=this.Pi(d.identifier),-1===e){e=d.pageX-b.left;var g=d.pageY-b.top;this.Hd=this.touches.length;this.wd=a;this.ng=d.identifier;this.touches.push(m(e,g,d.identifier,this.wd));this.b.trigger(V.prototype.k.Vq,this);this.b.trigger(V.prototype.k.cr,this);this.ye=e;this.ze=g;this.b.trigger(V.prototype.k.un,this);this.b.trigger(V.prototype.k.br,
this)}this.b.Uc=!1};d.zp=function(a,b){a.preventDefault&&rb(a)&&a.preventDefault();this.b.Uc=!0;var c,d,f;c=0;for(d=a.changedTouches.length;c<d;c++)f=a.changedTouches[c],f=this.Pi(f.identifier),0<=f&&(this.Hd=f,this.wd=this.touches[f].gi,this.ng=this.touches[f].id,this.b.trigger(V.prototype.k.Tq,this),this.b.trigger(V.prototype.k.Zq,this),b||this.touches[f].qt(this,f),100>e.length&&e.push(this.touches[f]),this.touches.splice(f,1));this.b.Uc=!1};d.Dd=function(){return this.b.Tc&&0===this.dm&&0!==c?
90*c:this.dm};d.Nx=function(){return this.b.Tc&&0===this.em&&0!==a?90*a:this.em};d.iA=function(){return this.b.Tc&&0===this.fm&&0!==g?90*g:this.fm};d.BA=function(a){this.b.de||(this.Lt({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.qp=!0)};d.CA=function(a){this.qp&&this.Kt({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};d.DA=function(a){a.preventDefault&&this.b.qs&&!this.b.de&&a.preventDefault();this.b.qs=!0;this.zp({changedTouches:[{pageX:a.pageX,pageY:a.pageY,
identifier:0}]});this.qp=!1};d.Xj=function(){var a,b,c,d=$a();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.$o=d),c.sA(this,a)};b.prototype.cr=function(){return!0};b.prototype.Zq=function(){return!0};b.prototype.$q=function(){return!0};b.prototype.un=function(a,b){return a?this.b.Lm(a,this.ye,this.ze,!0,b):!1};b.prototype.br=function(a,b,c,d){return a?this.b.tB(a,this.ye,this.ze,b,c,d):!1};var w=[];b.prototype.Nv=function(a){if(!a)return!1;var b=a.O(),c=b.ab(),d,e,f,g,h,
l;f=0;for(g=c.length;f<g;f++){var p=c[f];p.F();h=0;for(l=this.touches.length;h<l;h++)if(e=this.touches[h],d=p.u.ub(e.x,e.y,!0),e=p.u.ub(e.x,e.y,!1),p.ac(d,e)&&p.Oc){w.push(p);break}}return w.length?(b.fa=!1,Ca(b.d,w),a.Td(),F(w),!0):!1};b.prototype.Vq=function(a){a=Math.floor(a);return a===this.wd};b.prototype.Tq=function(a){a=Math.floor(a);return a===this.wd};b.prototype.Uq=function(a){a=Math.floor(a);return a===this.wd};b.prototype.ew=function(){return!0};b.prototype.sw=function(){return!0};b.prototype.$v=
function(){return!0};b.prototype.fw=function(a){return a?this.b.Lm(a,this.ye,this.ze):!1};b.prototype.Yq=function(a){return a?this.b.Lm(a,this.ye,this.ze):!1};b.prototype.aw=function(a){return a?this.b.Lm(a,this.ye,this.ze):!1};q.k=new b;r.prototype.lk=function(a,b){var c=this.Hd;if(0>c||c>=this.touches.length)a.N(0);else{var d,e,f,g,h;ka(b)?(d=this.b.Dh(0),e=d.scale,f=d.re,g=d.ad,h=d.A,d.scale=1,d.re=1,d.ad=1,d.A=0,a.N(d.ub(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.re=f,d.ad=g,d.A=h):
(d=la(b)?this.b.Dh(b):this.b.il(b))?a.N(d.ub(this.touches[c].x,this.touches[c].y,!0)):a.N(0)}};r.prototype.xi=function(a,b){var c=this.Hd;if(0>c||c>=this.touches.length)a.N(0);else{var d,e,f,g,h;ka(b)?(d=this.b.Dh(0),e=d.scale,f=d.re,g=d.bd,h=d.A,d.scale=1,d.re=1,d.bd=1,d.A=0,a.N(d.ub(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.re=f,d.bd=g,d.A=h):(d=la(b)?this.b.Dh(b):this.b.il(b))?a.N(d.ub(this.touches[c].x,this.touches[c].y,!1)):a.N(0)}};q.B=new r;p.prototype.ZA=function(){this.touches=
[]};q.n=new p})();Rc=null;function Fc(f){this.b=f}
(function(){function f(){}function m(){}function h(){}var b=Fc.prototype;b.T=function(b){this.G=b;this.b=b.b};b.T.prototype.I=function(){p=this.b.qf+"_"+p};b.S=function(b){this.type=b;this.b=b.b};var r=b.S.prototype,p="",q="undefined"!==typeof window.is_scirra_arcade;q&&(p="arcade"+window.scirra_arcade_id);var d=!1;try{localStorage.getItem("test"),d=!0}catch(v){d=!1}r.I=function(){d||ia("[Construct 2] Webstorage plugin: local storage is not supported on this platform.")};f.prototype.Sv=function(b){return d?
null!=localStorage.getItem(p+b):!1};f.prototype.pw=function(){return!0};b.k=new f;m.prototype.jr=function(b,a){if(d)try{localStorage.setItem(p+b,a)}catch(c){this.b.trigger(Fc.prototype.k.pw,this)}};b.n=new m;h.prototype.Kq=function(b,a){d?b.ga(localStorage.getItem(p+a)||""):b.ga("")};h.prototype.dn=function(b){if(d){var a={},c,e,f;c=0;for(e=localStorage.length;c<e;c++)f=localStorage.key(c),q?f.substr(0,p.length)===p&&(a[f.substr(p.length)]=localStorage.getItem(f)):a[f]=localStorage.getItem(f);b.ga(JSON.stringify({c2dictionary:!0,
data:a}))}else b.ga("")};b.B=new h})();function hd(f){this.b=f}
(function(){function f(){}var m=hd.prototype;m.T=function(b){this.behavior=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b,f){this.type=b;this.behavior=b.behavior;this.j=f;this.b=b.b};var h=m.S.prototype;h.I=function(){this.rh=this.C[0];this.sh=this.C[1];this.Jn=this.C[2];this.In=this.C[3];this.j.F();this.oi=this.j.L.left;this.ri=this.j.L.top;this.pi=this.b.wa-this.j.L.left;this.qi=this.b.na-this.j.L.top;this.Kj=this.b.wa-this.j.L.right;this.Di=this.b.na-this.j.L.bottom;this.enabled=0!==
this.C[4];this.wa=this.j.width;this.na=this.j.height;this.Cb=null;this.Ch=-2};h.mb=function(){return{xleft:this.oi,ytop:this.ri,xright:this.pi,ybottom:this.qi,rdiff:this.Kj,bdiff:this.Di,enabled:this.enabled}};h.Ab=function(b){this.oi=b.xleft;this.ri=b.ytop;this.pi=b.xright;this.qi=b.ybottom;this.Kj=b.rdiff;this.Di=b.bdiff;this.enabled=b.enabled};h.eb=function(){};h.Xj=function(){};h.ru=function(b){this.zx=b.x;this.Ax=b.y;b.x=b.width/2;b.y=b.height/2;b.K();b.F()};h.iu=function(b){b.x=this.zx;b.y=
this.Ax;b.K();b.F()};h.cq=function(){if(this.enabled){var b,f=this.j.u,h=this.j,m=this.j.L;0===this.rh?(h.F(),1===this.Ch?(this.ru(this.Cb.d[0]),b=this.Cb.d[0].L.left+this.oi-m.left,this.iu(this.Cb.d[0])):b=f.Ja+this.oi-m.left,0!==b&&(h.x+=b,h.K(),h.F())):1===this.rh?(h.F(),1===this.Ch?(this.ru(this.Cb.d[0]),b=this.Cb.d[0].L.right,b>f.Pa&&(b=f.Pa),b=b-this.pi-m.left,this.iu(this.Cb.d[0])):b=f.Pa-this.pi-m.left,0!==b&&(h.x+=b,h.K(),h.F())):2===this.rh?(h.F(),b=1===this.Ch?this.Cb.d[0].L.left+(this.Cb.d[0].L.right-
this.Cb.d[0].L.left)/2:f.Ja+(f.Pa-f.Ja)/2,b!==h.x&&(h.x=b,h.K(),h.F())):3===this.rh?(h.F(),b=this.Cb.O().ab(),b=b[0].L.left+this.oi-m.left,0!==b&&(h.x+=b,h.K(),h.F())):4===this.rh?(h.F(),b=this.Cb.O().ab(),b=b[0].L.right-this.pi-m.left,0!==b&&(h.x+=b,h.K(),h.F())):5===this.rh&&(h.F(),b=this.Cb.O().ab(),b=b[0].L.left+(b[0].L.right-b[0].L.left)/2,b!==h.x&&(h.x=b,h.K(),h.F()));0===this.sh?(h.F(),1===this.Ch?(b=this.Cb.d[0].L.top,b<f.za&&(b=f.za),b=b+this.ri-m.top):b=f.za+this.ri-m.top,0!==b&&(h.y+=b,
h.K(),h.F())):1===this.sh?(h.F(),1===this.Ch?(b=this.Cb.d[0].L.bottom,b>f.Oa&&(b=f.Oa),b=b-this.qi-m.top):b=f.Oa-this.qi-m.top,0!==b&&(h.y+=b,h.K(),h.F())):2===this.sh?(h.F(),b=1===this.Ch?this.Cb.d[0].L.top+(this.Cb.d[0].L.bottom-this.Cb.d[0].L.top)/2:f.za+(f.Oa-f.za)/2,b!==h.y&&(h.y=b,h.K(),h.F())):3===this.sh?(h.F(),b=this.Cb.O().ab(),b=b[0].L.top+this.ri-m.top,0!==b&&(h.y+=b,h.K(),h.F())):4===this.sh?(h.F(),b=this.Cb.O().ab(),b=b[0].L.bottom-this.qi-m.top,0!==b&&(h.y+=b,h.K(),h.F())):5===this.sh&&
(h.F(),b=this.Cb.O().ab(),b=b[0].L.top+(b[0].L.bottom-b[0].L.top)/2,b!==h.y&&(h.y=b,h.K(),h.F()));1===this.Jn?(h.F(),b=f.Pa-this.Kj-m.right,0!==b&&(h.width+=b,0>h.width&&(h.width=0),h.K(),h.F())):2===this.Jn?(h.F(),(b=f.Pa-f.Ja>=m.right-m.left)?(h.width=f.Pa-f.Ja,0>h.width&&(h.width=0)):h.width=this.wa,h.K(),h.F()):3===this.Jn&&(h.F(),b=this.Cb.O().ab(),b=b[0].L.right-this.Kj-m.right,0!==b&&(h.width+=b,0>h.width&&(h.width=0),h.K(),h.F()));if(1===this.In)h.F(),b=f.Oa-this.Di-m.bottom,0!==b&&(h.height+=
b,0>h.height&&(h.height=0),h.K(),h.F());else if(2===this.In){if(h.F(),b=f.Oa-f.za>m.bottom-m.top)h.height=f.Oa-f.za,0>h.height&&(h.height=0),h.K(),h.F()}else 3===this.In&&(h.F(),b=this.Cb.O().ab(),b=b[0].L.bottom-this.Di-m.bottom,0!==b&&(h.height+=b,0>h.height&&(h.height=0),h.K(),h.F()))}};m.k=new function(){};f.prototype.wn=function(b){this.enabled&&0===b?this.enabled=!1:this.enabled||0===b||(this.j.F(),this.oi=this.j.L.left,this.ri=this.j.L.top,this.pi=this.b.wa-this.j.L.left,this.qi=this.b.na-
this.j.L.top,this.Kj=this.b.wa-this.j.L.right,this.Di=this.b.na-this.j.L.bottom,this.enabled=!0)};m.n=new f;m.B=new function(){}})();function id(f){this.b=f}
(function(){function f(){}function m(){}var h=id.prototype;h.T=function(b){this.behavior=b;this.b=b.b};h.T.prototype.I=function(){};h.S=function(b,f){this.type=b;this.behavior=b.behavior;this.j=f;this.b=b.b};var b=h.S.prototype;b.I=function(){var b=this.C[0];this.mk=this.C[1];this.Qi=this.C[2];this.Dx=0!==this.C[3];this.Sp=0!==this.C[4];this.Jb=Math.cos(this.j.A)*b;this.ib=Math.sin(this.j.A)*b;this.Sg=this.j.x;this.Tg=this.j.y;this.od=this.j.A;this.$j=0;this.enabled=0!==this.C[5];this.ns=0};b.mb=
function(){return{acc:this.mk,g:this.Qi,dx:this.Jb,dy:this.ib,lx:this.Sg,ly:this.Tg,lka:this.od,t:this.$j,e:this.enabled}};b.Ab=function(b){this.mk=b.acc;this.Qi=b.g;this.Jb=b.dx;this.ib=b.dy;this.Sg=b.lx;this.Tg=b.ly;this.od=b.lka;this.$j=b.t;this.enabled=b.e};b.eb=function(){if(this.enabled){var b=this.b.hl(this.j),f,h;this.j.A!==this.od&&(this.Sp&&(f=Va(0,0,this.Jb,this.ib),this.Jb=Math.cos(this.j.A)*f,this.ib=Math.sin(this.j.A)*f),this.od=this.j.A);0!==this.mk&&(f=Va(0,0,this.Jb,this.ib),h=0===
this.Jb&&0===this.ib?this.j.A:Na(0,0,this.Jb,this.ib),f+=this.mk*b,0>f&&(f=0),this.Jb=Math.cos(h)*f,this.ib=Math.sin(h)*f);0!==this.Qi&&(this.ib=2!=this.ns?this.ib+this.Qi*b:this.ib+-this.Qi*b);this.Sg=this.j.x;this.Tg=this.j.y;if(0!==this.Jb||0!==this.ib)if(2!=this.ns?(this.j.x+=this.Jb*b,this.j.y+=this.ib*b):(this.j.x-=this.Jb*b,this.j.y-=this.ib*b),this.$j+=Va(0,0,this.Jb*b,this.ib*b),this.Sp&&(this.j.A=Na(0,0,this.Jb,this.ib),this.j.K(),this.od=this.j.A),this.j.K(),this.Dx&&(f=this.b.ih(this.j)))this.b.UA(this.j,
f),f=Va(0,0,this.Jb,this.ib),h=this.b.Gx(this.j,this.Sg,this.Tg),this.Jb=Math.cos(h)*f,this.ib=Math.sin(h)*f,this.j.x+=this.Jb*b,this.j.y+=this.ib*b,this.j.K(),this.Sp&&(this.od=this.j.A=h,this.j.K()),this.b.RA(this.j,this.Jb/f,this.ib/f,Math.max(2.5*f*b,30))||this.b.SA(this.j)}};h.k=new function(){};f.prototype.Qw=function(b){var f=Na(0,0,this.Jb,this.ib);this.Jb=Math.cos(f)*b;this.ib=Math.sin(f)*b};f.prototype.Gw=function(b){b=L(b);var f=Va(0,0,this.Jb,this.ib);this.Jb=Math.cos(b)*f;this.ib=Math.sin(b)*
f};f.prototype.wn=function(b){this.enabled=1===b};h.n=new f;m.prototype.Me=function(b){b.N(this.$j)};h.B=new m})();function od(f){this.b=f}
(function(){function f(){}var m=od.prototype;m.T=function(b){this.behavior=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b,f){this.type=b;this.behavior=b.behavior;this.j=f;this.b=b.b};var h=m.S.prototype;h.I=function(){this.Xb=null;this.hm=-1;this.mode=this.od=this.Om=this.Wh=this.jf=this.Fj=0;var b=this;this.Ec||(this.yt=function(f){b.xp(f)});this.b.qr(this.yt)};h.mb=function(){return{uid:this.Xb?this.Xb.uid:-1,pa:this.Fj,pd:this.jf,msa:this.Wh,tsa:this.Om,lka:this.od,m:this.mode}};h.Ab=
function(b){this.hm=b.uid;this.Fj=b.pa;this.jf=b.pd;this.Wh=b.msa;this.Om=b.tsa;this.od=b.lka;this.mode=b.m};h.te=function(){-1===this.hm?this.Xb=null:this.Xb=this.b.Ri(this.hm);this.hm=-1};h.xp=function(b){this.Xb==b&&(this.Xb=null)};h.Zc=function(){this.Xb=null;this.b.WA(this.yt)};h.eb=function(){};h.Xj=function(){if(this.Xb){this.od!==this.j.A&&(this.Wh=Ja(this.Wh+(this.j.A-this.od)));var b=this.j.x,f=this.j.y;if(3===this.mode||4===this.mode){var h=Va(this.j.x,this.j.y,this.Xb.x,this.Xb.y);if(h>
this.jf||4===this.mode&&h<this.jf)f=Na(this.Xb.x,this.Xb.y,this.j.x,this.j.y),b=this.Xb.x+Math.cos(f)*this.jf,f=this.Xb.y+Math.sin(f)*this.jf}else b=this.Xb.x+Math.cos(this.Xb.A+this.Fj)*this.jf,f=this.Xb.y+Math.sin(this.Xb.A+this.Fj)*this.jf;this.od=h=Ja(this.Wh+(this.Xb.A-this.Om));0!==this.mode&&1!==this.mode&&3!==this.mode&&4!==this.mode||this.j.x===b&&this.j.y===f||(this.j.x=b,this.j.y=f,this.j.K());0!==this.mode&&2!==this.mode||this.j.A===h||(this.j.A=h,this.j.K())}};m.k=new function(){};f.prototype.xw=
function(b,f){if(b){var h=b.po(this.j);h&&(this.Xb=h,this.Fj=Na(h.x,h.y,this.j.x,this.j.y)-h.A,this.jf=Va(h.x,h.y,this.j.x,this.j.y),this.od=this.Wh=this.j.A,this.Om=h.A,this.mode=f)}};m.n=new f;m.B=new function(){}})();function pd(f){this.b=f}
(function(){function f(){}var m=pd.prototype;m.T=function(b){this.behavior=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b,d){this.type=b;this.behavior=b.behavior;this.j=d;this.b=b.b;this.Xa=0};var h=m.S.prototype,b=2*Math.PI,r=Math.PI/2,p=3*Math.PI/2;h.I=function(){this.tb=1===this.C[0];this.Aj=this.C[1];this.sq=this.C[2];this.hf=this.C[3];this.hf+=Math.random()*this.C[4];this.offsetX=this.C[9];this.offsetY=this.C[10];this.Tk=1===this.C[11];0===this.hf?this.Xa=0:(this.Xa=this.C[5]/this.hf*
b,this.Xa+=Math.random()*this.C[6]/this.hf*b);this.qb=this.C[7];this.qb+=Math.random()*this.C[8];this.wt=this.Ls=this.lf=this.kd=this.R=0;this.init()};h.mb=function(){return{i:this.Xa,a:this.tb,mv:this.Aj,w:this.sq,p:this.hf,mag:this.qb,iv:this.R,iv2:this.kd,r:this.lf,lkv:this.Vb,lkv2:this.hj}};h.Ab=function(b){this.Xa=b.i;this.tb=b.a;this.Aj=b.mv;this.sq=b.w;this.hf=b.p;this.qb=b.mag;this.R=b.iv;this.kd=b.iv2||0;this.lf=b.r;this.Vb=b.lkv;this.hj=b.lkv2||0};h.init=function(){switch(this.Aj){case 0:this.R=
this.j.x;break;case 1:this.R=this.j.y;break;case 2:this.R=this.j.width;this.lf=this.j.height/this.j.width;break;case 3:this.R=this.j.width;break;case 4:this.R=this.j.height;break;case 5:this.R=this.j.A;this.qb=L(this.qb);break;case 6:this.R=this.j.opacity;break;case 7:this.R=0;break;case 8:this.R=this.j.x;this.kd=this.j.y;break;case 9:this.R=this.j.x;this.kd=this.j.y;break;case 10:this.R=this.j.width;this.lf=this.j.height/this.j.width;break;case 11:this.R=this.j.width;this.lf=this.j.height/this.j.width;
break;case 12:this.R=this.j.opacity;break;case 13:this.R=this.j.y;break;case 14:this.R=this.j.y,this.kd=this.j.x}this.Vb=this.R;this.hj=this.kd};h.vc=function(f){f=f%b;switch(this.sq){case 0:return Math.sin(f);case 1:return f<=r?f/r:f<=p?1-2*(f-r)/Math.PI:(f-p)/r-1;case 2:return 2*f/b-1;case 3:return-2*f/b+1;case 4:return f<Math.PI?-1:1}return 0};h.eb=function(){var f=this.b.hl(this.j);if(this.tb&&0!==f){0===this.hf?this.Xa=0:(this.Xa+=f/this.hf*b,this.Xa=this.Xa%b);switch(this.Aj){case 0:this.j.x!==
this.Vb&&(this.R+=this.j.x-this.Vb);this.j.x=this.R+this.vc(this.Xa)*this.qb;this.Vb=this.j.x;break;case 1:this.j.y!==this.Vb&&(this.R+=this.j.y-this.Vb);this.j.y=this.R+this.vc(this.Xa)*this.qb;this.Vb=this.j.y;break;case 2:this.j.width=this.R+this.vc(this.Xa)*this.qb;this.j.height=this.j.width*this.lf;break;case 3:this.j.width=this.R+this.vc(this.Xa)*this.qb;break;case 4:this.j.height=this.R+this.vc(this.Xa)*this.qb;break;case 5:this.j.A!==this.Vb&&(this.R=Ja(this.R+(this.j.A-this.Vb)));this.j.A=
Ja(this.R+this.vc(this.Xa)*this.qb);this.Vb=this.j.A;break;case 6:this.j.opacity=this.R+this.vc(this.Xa)*this.qb/100;0>this.j.opacity?this.j.opacity=0:1<this.j.opacity&&(this.j.opacity=1);break;case 8:this.j.x!==this.Vb&&(this.R+=this.j.x-this.Vb);this.j.y!==this.hj&&(this.kd+=this.j.y-this.hj);this.j.x=this.R+Math.cos(this.j.A)*this.vc(this.Xa)*this.qb;this.j.y=this.kd+Math.sin(this.j.A)*this.vc(this.Xa)*this.qb;this.Vb=this.j.x;this.hj=this.j.y;break;case 9:if(0<this.offsetY&&this.j.y<this.kd+this.qb||
0>this.offsetY&&this.j.y>this.kd-this.qb)this.j.x=0!=this.offsetX?this.j.x+100*this.offsetX*f:this.R+this.vc(this.Xa)*this.qb,this.j.y+=100*this.offsetY*f;break;case 10:f=this.R+this.vc(this.Xa)*-this.qb;f>this.j.width?(this.tb=!1,this.Tk&&this.b.Ad(this.j)):this.j.width=f;this.j.height=this.j.width*this.lf;break;case 11:f=this.R+this.vc(this.Xa)*this.qb;f<this.j.width?(this.tb=!1,this.Tk&&this.b.Ad(this.j)):this.j.width=f;this.j.height=this.j.width*this.lf;break;case 12:f=this.R+this.vc(this.Xa)*
-this.qb/100;f>this.j.opacity?(this.tb=!1,this.Tk&&this.b.Ad(this.j)):this.j.opacity=f;0>this.j.opacity?this.j.opacity=0:1<this.j.opacity&&(this.j.opacity=1);break;case 13:this.j.y!==this.Vb&&(this.R+=this.j.y-this.Vb);0<=this.Ls*this.vc(this.Xa)?this.j.y=this.R+Math.abs(this.vc(this.Xa))*this.qb:(this.j.y=this.R,this.tb=!1,this.Tk&&this.b.Ad(this.j));this.Ls=this.vc(this.Xa);this.Vb=this.j.y;break;case 14:this.j.y!==this.Vb&&(this.R+=this.j.y-this.Vb),this.j.y=this.R+this.vc(this.Xa)*this.qb,this.j.y>
this.R?this.j.x=this.kd+Math.sin(L(this.wt))*Math.abs(this.R-this.j.y):this.j.x=this.kd-Math.sin(L(this.wt))*Math.abs(this.R-this.j.y),this.Vb=this.j.y}this.j.K()}};h.Jt=function(b,d){switch(this.Aj){case 2:this.R*=d.width/b.width;this.lf=d.height/d.width;break;case 3:this.R*=d.width/b.width;break;case 4:this.R*=d.height/b.height}};m.k=new function(){};f.prototype.Ew=function(b){this.tb=1===b};m.n=new f;m.B=new function(){}})();function qd(f){this.b=f}
(function(){var f=qd.prototype;f.T=function(f){this.behavior=f;this.b=f.b};f.T.prototype.I=function(){};f.S=function(f,h){this.type=f;this.behavior=f.behavior;this.j=h;this.b=f.b};f=f.S.prototype;f.I=function(){};f.eb=function(){this.j.F();var f=this.j.L,h=this.j.u.$a;(0>f.right||0>f.bottom||f.left>h.width||f.top>h.height)&&this.b.Ad(this.j)}})();function Dc(f){this.b=f}
(function(){function f(){}var m=Dc.prototype;m.T=function(b){this.behavior=b;this.b=b.b};m.T.prototype.I=function(){};m.S=function(b,f){this.type=b;this.behavior=b.behavior;this.j=f;this.b=b.b};var h=m.S.prototype;h.I=function(){this.j.ua.solidEnabled=0!==this.C[0]};h.eb=function(){};m.k=new function(){};f.prototype.wn=function(b){this.j.ua.solidEnabled=!!b};m.n=new f})();
function Cc(){return[Xc,Yc,Y,Gc,ed,bd,Tc,cd,ad,Hc,dd,Ec,Z,fd,V,gd,W,Fc,hd,Dc,id,qd,od,pd,Tc.prototype.k.si,S.prototype.n.Tw,S.prototype.B.LB,Fc.prototype.n.jr,Hc.prototype.B.qy,bd.prototype.n.Bq,Y.prototype.n.ov,S.prototype.k.rn,Hc.prototype.n.Nw,Y.prototype.n.lB,Tc.prototype.n.av,Gc.prototype.n.zw,Fc.prototype.k.Sv,S.prototype.B["int"],Hc.prototype.B.Ox,Fc.prototype.B.Kq,ed.prototype.B.uv,ed.prototype.B.ox,ed.prototype.B.Uv,ed.prototype.B.Date,S.prototype.k.nv,Tc.prototype.n.CallFunction,S.prototype.k.Aq,
Hc.prototype.k.ti,S.prototype.n.Cv,S.prototype.k.ix,Tc.prototype.B.uw,gd.prototype.n.kk,S.prototype.B.kA,S.prototype.B.jA,gd.prototype.n.ik,gd.prototype.B.wi,gd.prototype.B.nh,W.prototype.n.ik,W.prototype.n.nn,gd.prototype.n.er,Ec.prototype.n.Rv,fd.prototype.n.Qd,S.prototype.B.OA,Gc.prototype.n.$w,S.prototype.n.Mw,S.prototype.n.Lw,dd.prototype.n.zn,dd.prototype.n.nn,S.prototype.k.wv,W.prototype.n.ir,S.prototype.B.HB,W.prototype.B.xi,dd.prototype.n.ir,Gc.prototype.k.Jq,W.prototype.n.Ne,Gc.prototype.k.Fv,
Gc.prototype.n.Play,S.prototype.k.Jv,V.prototype.k.un,S.prototype.k.hv,Ec.prototype.B.Cq,Xc.prototype.n.Vw,dd.prototype.n.Hx,Y.prototype.B.yv,Y.prototype.n.Dv,Gc.prototype.n.Pw,Gc.prototype.n.ax,Z.prototype.k.xq,Z.prototype.B.Text,Y.prototype.k.Iq,Y.prototype.k.Lv,gd.prototype.k.Gq,S.prototype.n.Vu,Ec.prototype.n.kx,W.prototype.k.vw,Tc.prototype.n.Ow,W.prototype.B.lk,W.prototype.n.hr,W.prototype.n.xn,W.prototype.n.er,W.prototype.k.wq,Tc.prototype.B.uq,S.prototype.k.zv,S.prototype.B.qA,S.prototype.n.cx,
Yc.prototype.B.wi,Yc.prototype.B.nh,W.prototype.n.Hw,S.prototype.B.abs,Yc.prototype.n.Uw,Yc.prototype.B.$u,W.prototype.B.jx,S.prototype.B.Tn,S.prototype.k.nx,Yc.prototype.n.xn,Yc.prototype.n.vq,Yc.prototype.n.jB,Yc.prototype.n.kk,Yc.prototype.k.Zu,Yc.prototype.B.sv,Yc.prototype.B.tv,Yc.prototype.B.rv,Yc.prototype.k.wq,Y.prototype.k.Ov,S.prototype.n.Cn,W.prototype.B.zq,S.prototype.k.Av,W.prototype.k.Gq,Yc.prototype.k.jv,W.prototype.n.An,W.prototype.n.fr,S.prototype.B.IB,W.prototype.n.zn,W.prototype.B.kn,
W.prototype.B.Dq,Gc.prototype.n.yw,S.prototype.B.round,fd.prototype.n.jk,Y.prototype.k.Iv,S.prototype.B.vA,S.prototype.n.Sw,W.prototype.B.wi,gd.prototype.n.jk,W.prototype.B.nh,S.prototype.k.Bv,W.prototype.B.Ev,W.prototype.k.mn,Z.prototype.n.Qd,Z.prototype.n.gn,dd.prototype.B.vz,W.prototype.n.jk,Z.prototype.n.jk,pd.prototype.n.Ew,Hc.prototype.B.cs,Y.prototype.B.URL,fd.prototype.n.gn,S.prototype.B.find,S.prototype.B.replace,Yc.prototype.k.lv,S.prototype.n.qv,od.prototype.n.xw,S.prototype.k.vv,S.prototype.B.floor,
gd.prototype.B.kn,gd.prototype.n.xn,gd.prototype.n.An,gd.prototype.B.lk,gd.prototype.B.xi,Z.prototype.B.zq,W.prototype.n.Vv,W.prototype.n.qx,Z.prototype.n.yn,Z.prototype.n.nn,Z.prototype.n.ik,Z.prototype.B.nh,Z.prototype.n.fr,W.prototype.n.yn,Z.prototype.n.Iw,Z.prototype.B.lk,Z.prototype.B.xi,S.prototype.B.ceil,Ec.prototype.B.Xw,Ec.prototype.n.Rw,Ec.prototype.B.Yw,Ec.prototype.B.Zw,Ec.prototype.n.mx,gd.prototype.k.mn,hd.prototype.n.wn,gd.prototype.n.zn,S.prototype.B.lA,S.prototype.B.Kf,fd.prototype.n.ik,
fd.prototype.B.nh,Y.prototype.k.ln,fd.prototype.B.xi,S.prototype.B.sf,W.prototype.n.gr,V.prototype.k.Nv,W.prototype.k.kv,W.prototype.B.Opacity,W.prototype.n.gn,Z.prototype.n.Fw,id.prototype.n.Gw,S.prototype.B.A,W.prototype.k.yq,W.prototype.k.en,Z.prototype.k.mn,Z.prototype.k.yq,Z.prototype.k.Oq,Z.prototype.n.gr,Z.prototype.B.Opacity,Z.prototype.n.kk,Z.prototype.B.wi,Z.prototype.B.bv,S.prototype.k.ww,Z.prototype.k.en,S.prototype.n.Dw,Y.prototype.k.Wq,Ec.prototype.B.hx,Y.prototype.B.iz,Y.prototype.B.gx,
ad.prototype.k.Mv,V.prototype.k.Yq,ad.prototype.n.Tv,ad.prototype.k.Kv,ad.prototype.n.Aw,Y.prototype.B.uz,W.prototype.B.Wu,W.prototype.k.se,S.prototype.B.random,id.prototype.n.Qw,Y.prototype.B.hz,cd.prototype.k.qn,W.prototype.k.Mq]};
