diff --git a/trump/appmanifest.json b/trump/appmanifest.json new file mode 100644 index 00000000..525204cd --- /dev/null +++ b/trump/appmanifest.json @@ -0,0 +1,28 @@ +{ + "name": "TrumpVsKim", + "short_name": "TrumpVsKim", + "start_url": "index.html", + "display": "fullscreen", + "orientation": "portrait", + "icons": [{ + "src": "icon-16.png", + "sizes": "16x16", + "type": "image/png" + }, { + "src": "icon-32.png", + "sizes": "32x32", + "type": "image/png" + }, { + "src": "icon-128.png", + "sizes": "128x128", + "type": "image/png" + }, { + "src": "icon-256.png", + "sizes": "144x144", + "type": "image/png" + }, { + "src": "icon-256.png", + "sizes": "256x256", + "type": "image/png" + }] +} diff --git a/trump/c2runtime.js b/trump/c2runtime.js new file mode 100644 index 00000000..1e2571af --- /dev/null +++ b/trump/c2runtime.js @@ -0,0 +1,667 @@ +// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com +'use strict';var aa,ba,ca,ea,fa,ga,ha,ia,ja,ka,la,ma,na,qa,ra,ta,ua,va,wa,ya,za,Aa,z,Ba,Ca,Da,Ea,Fa,A,Ga,Ha,Ia,Ja,Ka,La,Oa,Pa,Qa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ec,fc,gc,hc,ic,jc,kc,lc,mc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(f){return f.__proto__}:function(f){return f.constructor.prototype}); +(function(){function f(c,a,g,b){this.set(c,a,g,b)}function k(){this.Gc=this.Fc=this.Ic=this.Hc=this.Tc=this.Sc=this.Wb=this.Vb=0}function d(c,a,g,b){cb?a:b):(r=cg?a:g):gb?c:b):(r=ag?c:g)}function l(){this.items=this.Qc=null;this.Tj=0;w&&(this.Qc=new Set);this.Qi=[];this.Xf=!0}function h(c){E[u++]=c}function b(){this.P=this.Ki=this.y=this.pj=0}function e(c){this.Pb=[];this.Gl=this.Il=this.Jl=this.Hl=0;this.Ok(c)}function a(c,a){this.sp= +c;this.rp=a;this.cells={}}function n(c,a){this.sp=c;this.rp=a;this.cells={}}function t(c,a,g){var b;return x.length?(b=x.pop(),b.bq=c,b.x=a,b.y=g,b):new ba(c,a,g)}function g(c,a,g){this.bq=c;this.x=a;this.y=g;this.Ub=new ca}function c(c,a,g){var b;return B.length?(b=B.pop(),b.bq=c,b.x=a,b.y=g,b):new ea(c,a,g)}function m(c,a,g){this.bq=c;this.x=a;this.y=g;this.Ub=[];this.Xh=!0;this.Ie=new ca;this.mj=!1}function q(c,a){return c.pe-a.pe}fa=function(c){window.console&&window.console.log&&window.console.log(c)}; +ga=function(c){window.console&&window.console.error&&window.console.error(c)};aa=function(c){return c};ha=function(c){return"undefined"===typeof c};ia=function(c){return"number"===typeof c};ja=function(c){return"string"===typeof c};ka=function(c){return 0a;a<<=1)c=c|c>>a;return c+1};ma=function(c){return 0>c?-c:c};na=function(c,a){return cd)return!1;ad)return!1;r=q-c+m-g;e=n-a+p-b;c=g-c;a=b-a;q=m-q;n=p-n;p=ma(a*q-n*c);return ma(q*e-n*r)>p?!1:ma(c*e-a*r)<=p};f.prototype.set=function(c,a,g,b){this.left=c;this.top=a;this.right=g;this.bottom=b};f.prototype.Dh=function(c){this.left=c.left;this.top=c.top;this.right=c.right;this.bottom=c.bottom};f.prototype.width=function(){return this.right-this.left}; +f.prototype.height=function(){return this.bottom-this.top};f.prototype.offset=function(c,a){this.left+=c;this.top+=a;this.right+=c;this.bottom+=a;return this};f.prototype.normalize=function(){var c=0;this.left>this.right&&(c=this.left,this.left=this.right,this.right=c);this.top>this.bottom&&(c=this.top,this.top=this.bottom,this.bottom=c)};f.prototype.lD=function(c){return!(c.rightthis.right||c.top>this.bottom)};f.prototype.mD=function(c,a,g){return!(c.right+a< +this.left||c.bottom+gthis.right||c.top+g>this.bottom)};f.prototype.Xb=function(c,a){return c>=this.left&&c<=this.right&&a>=this.top&&a<=this.bottom};f.prototype.wj=function(c){return this.left===c.left&&this.top===c.top&&this.right===c.right&&this.bottom===c.bottom};va=f;k.prototype.Gi=function(c){this.Vb=c.left;this.Wb=c.top;this.Sc=c.right;this.Tc=c.top;this.Hc=c.right;this.Ic=c.bottom;this.Fc=c.left;this.Gc=c.bottom};k.prototype.Dw=function(c,a){if(0===a)this.Gi(c);else{var g= +Math.sin(a),b=Math.cos(a),q=c.left*g,n=c.top*g,m=c.right*g,g=c.bottom*g,p=c.left*b,r=c.top*b,e=c.right*b,b=c.bottom*b;this.Vb=p-n;this.Wb=r+q;this.Sc=e-n;this.Tc=r+m;this.Hc=e-g;this.Ic=b+m;this.Fc=p-g;this.Gc=b+q}};k.prototype.offset=function(c,a){this.Vb+=c;this.Wb+=a;this.Sc+=c;this.Tc+=a;this.Hc+=c;this.Ic+=a;this.Fc+=c;this.Gc+=a;return this};var r=0,v=0;k.prototype.Pt=function(c){d(this.Vb,this.Sc,this.Hc,this.Fc);c.left=r;c.right=v;d(this.Wb,this.Tc,this.Ic,this.Gc);c.top=r;c.bottom=v};k.prototype.Xb= +function(c,a){var g=this.Vb,b=this.Wb,q=this.Sc-g,n=this.Tc-b,m=this.Hc-g,p=this.Ic-b,r=c-g,e=a-b,d=q*q+n*n,h=q*m+n*p,n=q*r+n*e,t=m*m+p*p,l=m*r+p*e,f=1/(d*t-h*h),q=(t*n-h*l)*f,d=(d*l-h*n)*f;if(0<=q&&0q+d)return!0;q=this.Fc-g;n=this.Gc-b;d=q*q+n*n;h=q*m+n*p;n=q*r+n*e;f=1/(d*t-h*h);q=(t*n-h*l)*f;d=(d*l-h*n)*f;return 0<=q&&0q+d};k.prototype.xd=function(c,a){if(a)switch(c){case 0:return this.Vb;case 1:return this.Sc;case 2:return this.Hc;case 3:return this.Fc;case 4:return this.Vb;default:return this.Vb}else switch(c){case 0:return this.Wb; +case 1:return this.Tc;case 2:return this.Ic;case 3:return this.Gc;case 4:return this.Wb;default:return this.Wb}};k.prototype.Gv=function(){return(this.Vb+this.Sc+this.Hc+this.Fc)/4};k.prototype.Hv=function(){return(this.Wb+this.Tc+this.Ic+this.Gc)/4};k.prototype.Ou=function(c){var a=c.Gv(),g=c.Hv();if(this.Xb(a,g))return!0;a=this.Gv();g=this.Hv();if(c.Xb(a,g))return!0;var b,q,n,m,p,r,e,d;for(e=0;4>e;e++)for(d=0;4>d;d++)if(a=this.xd(e,!0),g=this.xd(e,!1),b=this.xd(e+1,!0),q=this.xd(e+1,!1),n=c.xd(d, +!0),m=c.xd(d,!1),p=c.xd(d+1,!0),r=c.xd(d+1,!1),ua(a,g,b,q,n,m,p,r))return!0;return!1};wa=k;ya=function(c,a){for(var g in a)a.hasOwnProperty(g)&&(c[g]=a[g]);return c};za=function(c,a){var g,b;a=ra(a);if(!(0>a||a>=c.length)){g=a;for(b=c.length-1;gg?g:c};A=function(c){return c/(180/qa)};Ga=function(c){return 180/qa*c};Ha=function(c){c%=360;0>c&&(c+=360);return c};Ia=function(c){c%=2*qa;0>c&&(c+=2*qa);return c};Ja=function(c){return Ha(Ga(c))};Ka=function(c){return Ia(A(c))};La=function(c,a,g,b){return Math.atan2(b-a,g-c)};Oa=function(c,a){if(c===a)return 0;var g=Math.sin(c),b=Math.cos(c),q=Math.sin(a),n=Math.cos(a),g=g*q+b*n;return 1<=g?0:-1>=g?qa:Math.acos(g)}; +Pa=function(c,a,g){var b=Math.sin(c),q=Math.cos(c),n=Math.sin(a),m=Math.cos(a);return Math.acos(b*n+q*m)>g?0=b*q-g*n};Ta=function(c,a,g,b,q,n){if(0===g)return n?c:a;var m=Math.sin(g);g=Math.cos(g);c-=b;a-=q;var p=c*m;c=c*g-a*m;a=a*g+p;return n?c+b:a+q};Ua=function(c,a,g,b){c=g-c;a=b-a;return Math.sqrt(c*c+a*a)};Va=function(c,a){return!c!==!a};Wa=function(c,a,g){return c+(a-c)*g};Xa= +function(c){for(var a in c)if(c.hasOwnProperty(a))return!0;return!1};Ya=function(c){for(var a in c)c.hasOwnProperty(a)&&delete c[a]};var D=+new Date;Za=function(){if("undefined"!==typeof window.performance){var c=window.performance;if("undefined"!==typeof c.now)return c.now();if("undefined"!==typeof c.webkitNow)return c.webkitNow();if("undefined"!==typeof c.mozNow)return c.mozNow();if("undefined"!==typeof c.msNow)return c.msNow()}return Date.now()-D};var p=!1,G=p=!1,J=!1;"undefined"!==typeof window&& +(p=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),p=!p&&/safari/i.test(navigator.userAgent),G=/(iphone|ipod|ipad)/i.test(navigator.userAgent),J=window.c2ejecta);var w=!p&&!J&&!G&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;l.prototype.contains=function(c){return this.of()?!1:w?this.Qc.has(c):this.items&&this.items.hasOwnProperty(c)};l.prototype.add=function(c){if(w)this.Qc.has(c)||(this.Qc.add(c),this.Xf=!1);else{var a=c.toString(),g=this.items; +g?g.hasOwnProperty(a)||(g[a]=c,this.Tj++,this.Xf=!1):(this.items={},this.items[a]=c,this.Tj=1,this.Xf=!1)}};l.prototype.remove=function(c){if(!this.of())if(w)this.Qc.has(c)&&(this.Qc["delete"](c),this.Xf=!1);else if(this.items){c=c.toString();var a=this.items;a.hasOwnProperty(c)&&(delete a[c],this.Tj--,this.Xf=!1)}};l.prototype.clear=function(){this.of()||(w?this.Qc.clear():(this.items=null,this.Tj=0),z(this.Qi),this.Xf=!0)};l.prototype.of=function(){return 0===this.count()};l.prototype.count=function(){return w? +this.Qc.size:this.Tj};var E=null,u=0;l.prototype.bF=function(){if(!this.Xf){if(w)z(this.Qi),E=this.Qi,u=0,this.Qc.forEach(h),E=null,u=0;else{var c=this.Qi;z(c);var a,g=0,b=this.items;if(b)for(a in b)b.hasOwnProperty(a)&&(c[g++]=b[a])}this.Xf=!0}};l.prototype.Nd=function(){this.bF();return this.Qi};ca=l;new ca;$a=function(c,a){w?ab(c,a.Qc):bb(c,a.Nd())};ab=function(c,a){var g,b,q,n;b=g=0;for(q=c.length;gg&&(g=n),mq&&(q=m);this.Hl=a;this.Il=g;this.Jl=b;this.Gl=q};e.prototype.Gi=function(c,a,g){this.Pb.length=8;this.he=4;var b=this.Pb;b[0]=c.left-a;b[1]=c.top-g;b[2]=c.right-a;b[3]=c.top-g;b[4]=c.right-a;b[5]=c.bottom-g;b[6]=c.left-a;b[7]=c.bottom-g;this.Ol=c.right-c.left;this.Nl=c.bottom-c.top;this.xa()};e.prototype.Fi=function(c,a,g,b,q){this.Pb.length=8;this.he=4;var n=this.Pb;n[0]=c.Vb-a;n[1]=c.Wb-g;n[2]=c.Sc- +a;n[3]=c.Tc-g;n[4]=c.Hc-a;n[5]=c.Ic-g;n[6]=c.Fc-a;n[7]=c.Gc-g;this.Ol=b;this.Nl=q;this.xa()};e.prototype.Cw=function(c){this.he=c.he;Ba(this.Pb,c.Pb);this.Hl=c.Hl;this.Jl-c.Jl;this.Il=c.Il;this.Gl=c.Gl};e.prototype.Ah=function(c,a,g){if(this.Ol!==c||this.Nl!==a||this.St!==g){this.Ol=c;this.Nl=a;this.St=g;var b,q,n,m,p,r=0,e=1,d=this.iw,h=this.Pb;0!==g&&(r=Math.sin(g),e=Math.cos(g));g=0;for(n=this.he;gx.length&&x.push(p),this.cells[b][n]=null);if(g)for(b=g.left,q=g.right;b<=q;++b)for(n=g.top,m=g.bottom;n<=m;++n)a&&a.Xb(b,n)||this.eg(b,n,!0).nq(c)};a.prototype.Bn=function(c,a){var g,b,q,n,m,p;g=this.Dc(c.left);q=this.Ec(c.top);b=this.Dc(c.right);for(m=this.Ec(c.bottom);g<=b;++g)for(n=q;n<=m;++n)(p=this.eg(g,n,!1))&&p.dump(a)};gb=a;n.prototype.eg=function(a,g,b){var q;q=this.cells[a];return q?(q=q[g])?q:b?(q=c(this,a,g),this.cells[a][g]= +q):null:b?(q=c(this,a,g),this.cells[a]={},this.cells[a][g]=q):null};n.prototype.Dc=function(c){return ra(c/this.sp)};n.prototype.Ec=function(c){return ra(c/this.rp)};n.prototype.update=function(c,a,g){var b,q,n,m,p;if(a)for(b=a.left,q=a.right;b<=q;++b)for(n=a.top,m=a.bottom;n<=m;++n)if(!g||!g.Xb(b,n))if(p=this.eg(b,n,!1))p.remove(c),p.of()&&(p.reset(),1E3>B.length&&B.push(p),this.cells[b][n]=null);if(g)for(b=g.left,q=g.right;b<=q;++b)for(n=g.top,m=g.bottom;n<=m;++n)a&&a.Xb(b,n)||this.eg(b,n,!0).nq(c)}; +n.prototype.Bn=function(c,a,g,b,q){var n,m;c=this.Dc(c);a=this.Ec(a);g=this.Dc(g);for(n=this.Ec(b);c<=g;++c)for(b=a;b<=n;++b)(m=this.eg(c,b,!1))&&m.dump(q)};n.prototype.JD=function(c){var a,g,b,q,n;a=c.left;b=c.top;g=c.right;for(q=c.bottom;a<=g;++a)for(c=b;c<=q;++c)if(n=this.eg(a,c,!1))n.Xh=!1};hb=n;var x=[];g.prototype.of=function(){return this.Ub.of()};g.prototype.nq=function(c){this.Ub.add(c)};g.prototype.remove=function(c){this.Ub.remove(c)};g.prototype.dump=function(c){Ca(c,this.Ub.Nd())};ba= +g;var B=[];m.prototype.of=function(){if(!this.Ub.length)return!0;if(this.Ub.length>this.Ie.count())return!1;this.Op();return!0};m.prototype.nq=function(c){this.Ie.contains(c)?(this.Ie.remove(c),this.Ie.of()&&(this.mj=!1)):this.Ub.length?(this.Ub[this.Ub.length-1].Bd()>c.Bd()&&(this.Xh=!1),this.Ub.push(c)):(this.Ub.push(c),this.Xh=!0)};m.prototype.remove=function(c){this.Ie.add(c);this.mj=!0;30<=this.Ie.count()&&this.Op()};m.prototype.Op=function(){this.mj&&(this.Ie.count()===this.Ub.length?this.reset(): +($a(this.Ub,this.Ie),this.Ie.clear(),this.mj=!1))};m.prototype.TB=function(){this.Xh||(this.Ub.sort(q),this.Xh=!0)};m.prototype.reset=function(){z(this.Ub);this.Xh=!0;this.Ie.clear();this.mj=!1};m.prototype.dump=function(c){this.Op();this.TB();this.Ub.length&&c.push(this.Ub)};ea=m;var N="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");ib=function(c){return 0>=c||11<=c?"source-over":N[c-1]};jb=function(c,a,g){if(g)switch(c.xc= +g.ONE,c.oc=g.ONE_MINUS_SRC_ALPHA,a){case 1:c.xc=g.ONE;c.oc=g.ONE;break;case 3:c.xc=g.ONE;c.oc=g.ZERO;break;case 4:c.xc=g.ONE_MINUS_DST_ALPHA;c.oc=g.ONE;break;case 5:c.xc=g.DST_ALPHA;c.oc=g.ZERO;break;case 6:c.xc=g.ZERO;c.oc=g.SRC_ALPHA;break;case 7:c.xc=g.ONE_MINUS_DST_ALPHA;c.oc=g.ZERO;break;case 8:c.xc=g.ZERO;c.oc=g.ONE_MINUS_SRC_ALPHA;break;case 9:c.xc=g.DST_ALPHA;c.oc=g.ONE_MINUS_SRC_ALPHA;break;case 10:c.xc=g.ONE_MINUS_DST_ALPHA,c.oc=g.SRC_ALPHA}};kb=function(c){return Math.round(1E6*c)/1E6}; +lb=function(c,a){return"string"!==typeof c||"string"!==typeof a||c.length!==a.length?!1:c===a?!0:c.toLowerCase()===a.toLowerCase()};mb=function(c){c=c.target;return!c||c===document||c===window||document&&document.body&&c===document.body||lb(c.tagName,"canvas")?!0:!1}})();var nc="undefined"!==typeof Float32Array?Float32Array:Array;function oc(f){var k=new nc(3);f&&(k[0]=f[0],k[1]=f[1],k[2]=f[2]);return k} +function pc(f){var k=new nc(16);f&&(k[0]=f[0],k[1]=f[1],k[2]=f[2],k[3]=f[3],k[4]=f[4],k[5]=f[5],k[6]=f[6],k[7]=f[7],k[8]=f[8],k[9]=f[9],k[10]=f[10],k[11]=f[11],k[12]=f[12],k[13]=f[13],k[14]=f[14],k[15]=f[15]);return k}function qc(f,k){k[0]=f[0];k[1]=f[1];k[2]=f[2];k[3]=f[3];k[4]=f[4];k[5]=f[5];k[6]=f[6];k[7]=f[7];k[8]=f[8];k[9]=f[9];k[10]=f[10];k[11]=f[11];k[12]=f[12];k[13]=f[13];k[14]=f[14];k[15]=f[15]} +function rc(f,k){var d=k[0],l=k[1];k=k[2];f[0]*=d;f[1]*=d;f[2]*=d;f[3]*=d;f[4]*=l;f[5]*=l;f[6]*=l;f[7]*=l;f[8]*=k;f[9]*=k;f[10]*=k;f[11]*=k} +function sc(f,k,d,l){l||(l=pc());var h,b,e,a,n,t,g,c,m=f[0],q=f[1];f=f[2];b=d[0];e=d[1];h=d[2];d=k[1];t=k[2];m===k[0]&&q===d&&f===t?(f=l,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):(d=m-k[0],t=q-k[1],g=f-k[2],c=1/Math.sqrt(d*d+t*t+g*g),d*=c,t*=c,g*=c,k=e*g-h*t,h=h*d-b*g,b=b*t-e*d,(c=Math.sqrt(k*k+h*h+b*b))?(c=1/c,k*=c,h*=c,b*=c):b=h=k=0,e=t*b-g*h,a=g*k-d*b,n=d*h-t*k,(c=Math.sqrt(e*e+a*a+n*n))?(c=1/c,e*=c,a*=c,n*=c):n=a=e=0, +l[0]=k,l[1]=e,l[2]=d,l[3]=0,l[4]=h,l[5]=a,l[6]=t,l[7]=0,l[8]=b,l[9]=n,l[10]=g,l[11]=0,l[12]=-(k*m+h*q+b*f),l[13]=-(e*m+a*q+n*f),l[14]=-(d*m+t*q+g*f),l[15]=1)} +(function(){function f(a,b,e){this.cc=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.cb=!!e;this.Hm=this.Lj=!1;this.zp=0;this.Bo=1;this.as=1E3;this.mF=(this.as-this.Bo)/32768;this.pp=oc([0,0,100]);this.pv=oc([0,0,0]);this.$w=oc([0,1,0]);this.kl=oc([1,1,1]);this.ju=!0;this.Ym=pc();this.pd=pc();this.yq=pc();this.yp=pc();this.O=a;this.version=0===this.O.getParameter(this.O.VERSION).indexOf("WebGL 2")?2:1;this.Ku()}function k(a,b,e){this.O=a;this.Pk= +b;this.name=e;this.Ed=a.getAttribLocation(b,"aPos");this.sg=a.getAttribLocation(b,"aTex");this.nv=a.getUniformLocation(b,"matP");this.Um=a.getUniformLocation(b,"matMV");this.ei=a.getUniformLocation(b,"opacity");this.Eq=a.getUniformLocation(b,"colorFill");this.ov=a.getUniformLocation(b,"samplerFront");this.lk=a.getUniformLocation(b,"samplerBack");this.fh=a.getUniformLocation(b,"destStart");this.eh=a.getUniformLocation(b,"destEnd");this.nk=a.getUniformLocation(b,"seconds");this.Gq=a.getUniformLocation(b, +"pixelWidth");this.Fq=a.getUniformLocation(b,"pixelHeight");this.kk=a.getUniformLocation(b,"layerScale");this.jk=a.getUniformLocation(b,"layerAngle");this.ok=a.getUniformLocation(b,"viewOrigin");this.mk=a.getUniformLocation(b,"scrollPos");this.gD=!!(this.Gq||this.Fq||this.nk||this.lk||this.fh||this.eh||this.kk||this.jk||this.ok||this.mk);this.xv=this.yv=-999;this.Xm=1;this.tv=this.sv=0;this.vv=this.rv=this.qv=1;this.Bv=this.Av=this.zv=this.Dv=this.Cv=this.uv=0;this.xq=[];this.wv=pc();this.ei&&a.uniform1f(this.ei, +1);this.Eq&&a.uniform4f(this.Eq,1,1,1,1);this.ov&&a.uniform1i(this.ov,0);this.lk&&a.uniform1i(this.lk,1);this.fh&&a.uniform2f(this.fh,0,0);this.eh&&a.uniform2f(this.eh,1,1);this.kk&&a.uniform1f(this.kk,1);this.jk&&a.uniform1f(this.jk,0);this.ok&&a.uniform2f(this.ok,0,0);this.mk&&a.uniform2f(this.mk,0,0);this.nk&&a.uniform1f(this.nk,0);this.Vg=!1}function d(a,b){return a[0]===b[0]&&a[1]===b[1]&&a[2]===b[2]&&a[3]===b[3]&&a[4]===b[4]&&a[5]===b[5]&&a[6]===b[6]&&a[7]===b[7]&&a[8]===b[8]&&a[9]===b[9]&& +a[10]===b[10]&&a[11]===b[11]&&a[12]===b[12]&&a[13]===b[13]&&a[14]===b[14]&&a[15]===b[15]}function l(a,b){this.type=a;this.G=b;this.O=b.O;this.Cd=this.yc=this.Wv=0;this.pa=this.Md=null;this.Ew=[]}var h=pc();f.prototype.Ku=function(){var a=this.O,b;this.cv=1;this.$g=this.pg=null;this.Wl=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.STENCIL_TEST);a.disable(a.DITHER);this.cb?(a.enable(a.DEPTH_TEST),a.depthFunc(a.LEQUAL)): +a.disable(a.DEPTH_TEST);this.dv=a.ONE;this.bv=a.ONE_MINUS_SRC_ALPHA;this.so=new Float32Array(8E3*(this.cb?3:2));this.ao=new Float32Array(16E3);this.$q=new Float32Array(32E3);this.Zq=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Zq);a.bufferData(a.ARRAY_BUFFER,this.$q.byteLength,a.DYNAMIC_DRAW);this.fl=Array(4);this.Xk=Array(4);for(b=0;4>b;b++)this.fl[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.fl[b]),a.bufferData(a.ARRAY_BUFFER,this.so.byteLength,a.DYNAMIC_DRAW),this.Xk[b]=a.createBuffer(), +a.bindBuffer(a.ARRAY_BUFFER,this.Xk[b]),a.bufferData(a.ARRAY_BUFFER,this.ao.byteLength,a.DYNAMIC_DRAW);this.bf=0;this.jD=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.jD);for(var e=new Uint16Array(12E3),g=b=0;12E3>b;)e[b++]=g,e[b++]=g+1,e[b++]=g+2,e[b++]=g,e[b++]=g+2,e[b++]=g+3,g+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,e,a.STATIC_DRAW);this.vi=this.Mi=this.Lf=0;this.qb=[];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}";e=this.sj({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,"");this.qb.push(e);e=this.sj({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}","");this.qb.push(e);e=this.sj({src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}"},b,"");this.qb.push(e);e=this.sj({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"}, +b,"");this.qb.push(e);for(var c in tc)tc.hasOwnProperty(c)&&this.qb.push(this.sj(tc[c],b,c));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.$e=[];this.te=0;this.tc=this.ac=!1;this.Yt=this.Yj=-1;this.Fh=null;this.Mp=a.createFramebuffer();this.Zl=this.En=null;this.Ft=!1;this.cb&&(this.Zl=a.createRenderbuffer());this.zg=oc([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.MD=a[0];this.Jq=a[1];2048"===b.name&&a.vertexAttribPointer(b.Ed,4,a.FLOAT,!1,0,0));if(0"!==b.name&&a.vertexAttribPointer(b.Ed,this.cb?3:2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Xk[this.bf]);a.bufferSubData(a.ARRAY_BUFFER,0,this.ao.subarray(0,this.Mi));b&&0<=b.sg&&""!==b.name&&a.vertexAttribPointer(b.sg,2,a.FLOAT,!1,0,0)}for(var e,a=0,b=this.te;ae||0>g)){var c=this.Nc();c.type=7;c.yc=1;c.pa||(c.pa=pc());c.pa[0]=a;c.pa[1]=b;c.pa[2]=e;c.pa[3]=g;this.tc=this.ac=!1}};f.prototype.xw=function(a){if(this.cb&&(a=!!a,this.Lj!==a)){var b=this.Nc();b.type=14;b.yc=a?1:0;this.tc=this.ac=!1;this.Lj=a;this.En=null;this.Lj?this.Rc(2):this.Rc(0)}};f.prototype.vw=function(a){if(this.cb){var b=this.Nc();b.type=13;b.yc=a?1:0;this.tc=this.ac=!1}}; +f.prototype.su=function(){qc(this.yq,h);this.Gd();this.ud();var a=this.width/2,b=this.height/2;this.wi(-a,b,a,b,a,-b,-a,-b);qc(h,this.pd);this.ud()};f.prototype.uw=function(a,b,e){this.Rc(3);var g=this.Nc();g.type=12;g.pa||(g.pa=pc());g.pa[0]=a;g.pa[1]=b;g.pa[2]=e;g.pa[3]=1;this.tc=this.ac=!1};f.prototype.ME=function(){this.Rc(0)};f.prototype.vE=function(){this.Rc(2)};f.prototype.nE=function(){this.hf();this.O.flush()};var b=[],e={};f.prototype.kB=function(){z(b);e={}};f.prototype.fe=function(a,d, +h,g,c){d=!!d;h=!!h;var m=a.src+","+d+","+h+(d?","+c:""),q=null;if("undefined"!==typeof a.src&&e.hasOwnProperty(m))return q=e[m],q.Ml++,q;this.hf();var r=this.O,l=ka(a.width)&&ka(a.height),q=r.createTexture();r.bindTexture(r.TEXTURE_2D,q);r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var f=r.RGBA,p=r.RGBA,k=r.UNSIGNED_BYTE;if(g&&!this.cc)switch(g){case 1:p=f=r.RGB;break;case 2:k=r.UNSIGNED_SHORT_4_4_4_4;break;case 3:k=r.UNSIGNED_SHORT_5_5_5_1;break;case 4:p=f=r.RGB,k=r.UNSIGNED_SHORT_5_6_5}if(1=== +this.version&&!l&&d){g=document.createElement("canvas");g.width=la(a.width);g.height=la(a.height);var J=g.getContext("2d");"undefined"!==typeof J.imageSmoothingEnabled?J.imageSmoothingEnabled=h:(J.webkitImageSmoothingEnabled=h,J.mozImageSmoothingEnabled=h,J.msImageSmoothingEnabled=h);J.drawImage(a,0,0,a.width,a.height,0,0,g.width,g.height);r.texImage2D(r.TEXTURE_2D,0,f,p,k,g)}else r.texImage2D(r.TEXTURE_2D,0,f,p,k,a);d?"repeat-x"===c?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.REPEAT),r.texParameteri(r.TEXTURE_2D, +r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE)):("repeat-y"===c?r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE):r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.REPEAT),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.REPEAT)):(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE));h?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),(l||2<=this.version)&&this.ju?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR_MIPMAP_LINEAR), +r.generateMipmap(r.TEXTURE_2D)):r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR)):(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.NEAREST),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.NEAREST));r.bindTexture(r.TEXTURE_2D,null);this.pg=null;q.Xd=a.width;q.Wd=a.height;q.Ml=1;q.Rt=m;b.push(q);return e[m]=q};f.prototype.ed=function(a,e,d,g){this.hf();var c=this.O;this.cc&&(g=!1);var m=c.createTexture();c.bindTexture(c.TEXTURE_2D,m);c.texImage2D(c.TEXTURE_2D,0,c.RGBA,a,e,0,c.RGBA, +g?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,d?c.LINEAR:c.NEAREST);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,d?c.LINEAR:c.NEAREST);c.bindTexture(c.TEXTURE_2D,null);this.pg=null;m.Xd=a;m.Wd=e;b.push(m);return m};f.prototype.gF=function(a,b,e){this.hf();var g=this.O;this.cc&&(e=!1);g.bindTexture(g.TEXTURE_2D,b);g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL, +!0);try{g.texImage2D(g.TEXTURE_2D,0,g.RGBA,g.RGBA,e?g.UNSIGNED_SHORT_4_4_4_4:g.UNSIGNED_BYTE,a)}catch(c){console&&console.error&&console.error("Error updating WebGL texture: ",c)}g.bindTexture(g.TEXTURE_2D,null);this.pg=null};f.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Ml&&1=a?c[3]:256>=a?c[2]:512>= +a?c[1]:c[0]}function d(){try{return!!window.indexedDB}catch(c){return!1}}function l(c){c.target.result.createObjectStore("saves",{keyPath:"slot"})}function h(c,a,b,g){try{var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=l;e.onerror=g;e.onsuccess=function(e){e=e.target.result;e.onerror=g;e.transaction(["saves"],"readwrite").objectStore("saves").put({slot:c,data:a}).onsuccess=b}}catch(q){g(q)}}function b(c,a,b){try{var g=indexedDB.open("_C2SaveStates");g.onupgradeneeded=l;g.onerror=b;g.onsuccess= +function(g){g=g.target.result;g.onerror=b;var e=g.transaction(["saves"]).objectStore("saves").get(c);e.onsuccess=function(){e.result?a(e.result.data):a(null)}}}catch(e){b(e)}}function e(){fa("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1q?(q*=a,5===p?(m=q*b/this.kb,1m&&(m=1/Math.ceil(1/m)),q=this.kb*m/b,m=this.jb*m/b,g=(c-q)/2,e=(a-m)/2,c=q,a=m):(g=(c-q)/2,c=q)):(m=c/q,5===p?(m=m*b/this.jb,1m&&(m=1/Math.ceil(1/m)),q=this.kb*m/b,m=this.jb*m/b,g=(c-q)/2,e=(a-m)/2,c=q):e=(a-m)/2,a=m)):this.Sh&&this.Be&&0===this.tu&&(g=Math.floor((c-this.kb)/2),e=Math.floor((a-this.jb)/2),c=this.kb,a=this.jb),2>p&&(this.oj=b),this.Tl=Math.round(c),this.uj=Math.round(a),this.width=Math.round(c*b),this.height=Math.round(a*b),this.ja=!0,this.kx?(this.Z=this.width, +this.Y=this.height,this.jd=!0):this.widthq&&(this.Y=this.Z/p)):3===p&&(q=this.kb/this.jb,p=this.bi/this.ai,p>q?this.Z=this.Y*p:pc;)c++,a=m.shift(),this.zw(a[0],a[1])};f.prototype.Wr=function(c,a){c.cocoonLazyLoad=!0;c.onerror=function(a){g=c.Qt=!0;console&&console.error&&console.error("Error loading image '"+c.src+"': ",a)};this.ae?c.src=a: +c.src||("undefined"!==typeof XAPKReader?XAPKReader.get(a,function(a){c.src=a},function(b){g=c.Qt=!0;console&&console.error&&console.error("Error extracting image '"+a+"' from expansion file: ",b)}):(c.crossOrigin="anonymous",this.qE(c,a)));this.Ti.push(c)};f.prototype.yC=function(c){var a,b;a=0;for(b=this.Ti.length;a=p)p=5E4;c+=p;m.src&&(m.complete||m.loaded)&&!m.Qt?a+=p:g=!1}g&&this.lE&&this.yh&&(r||(this.yh.QE(),r=!0),b=this.yh.OC(),a+=b,bthis.rg&&(this.md||500<=b&&this.hv!=this.ea)){c.clearRect(0,0,q,m);var b=q/2,m=m/2,q=0===this.rg&&this.qg.Wm.complete,p=40*a,d=0,r=80*a,h;if(q){var l=this.qg.Wm,r=l.width*a;h=l.height*a;p=r/2;d=h/2;c.drawImage(l,ra(b-p),ra(m-d),r,h)}1>=this.rg?(b=ra(b-p)+.5,m=ra(m+(d+(q?12*a:0)))+.5,c.fillStyle=g?"red":"DodgerBlue",c.fillRect(b,m,Math.floor(r*this.ea),6*a),c.strokeStyle="black",c.strokeRect(b,m,r,6*a),c.strokeStyle= +"white",c.strokeRect(b-1*a,m-1*a,r+2*a,8*a)):2===this.rg&&(c.font=this.ae?"12pt ArialMT":"12pt Arial",c.fillStyle=g?"#f00":"#999",c.XG="middle",a=Math.round(100*this.ea)+"%",q=c.measureText?c.measureText(a):null,c.fillText(a,b-(q?q.width:0)/2,m));this.hv=this.ea}else if(4===this.rg){this.PB(c);n?n(function(){e.go()}):setTimeout(function(){e.go()},16);return}}setTimeout(function(){e.go()},this.md?10:100)}}};var D=-1,p="undefined"===typeof cr_is_preview?200:0,G=!0,J=!1,w=0,E=0,u="undefined"===typeof cr_is_preview? +3E3:0,x=null,B=null,N=0;f.prototype.PB=function(c){if(!v){for(var a=Math.ceil(this.width),b=Math.ceil(this.height),e=this.qg.Wm,q=this.qg.kE,m=this.qg.lF,d=0;4>d;++d)if(!e[d].complete||!q[d].complete||!m[d].complete)return;0===N&&(D=Date.now());var d=Date.now(),r=!1,h=c,n,l;G||J?(c.clearRect(0,0,a,b),x&&x.width===a&&x.height===b||(x=document.createElement("canvas"),x.width=a,x.height=b,B=x.getContext("2d")),h=B,r=!0,G&&1===N&&(D=Date.now())):c.globalAlpha=1;h.fillStyle="#333333";h.fillRect(0,0,a, +b);256=u&&!J&&1<=this.ea&&(J=!0,E=d);if(J&&d-E>=300+p||"undefined"!==typeof cr_is_preview&&1<=this.ea&&500>Date.now()-D)v=!0,J=G=!1,this.qg=B=x=null;++N}};f.prototype.eD=function(){this.fc&&(this.canvas.parentNode.removeChild(this.fc),this.fc=this.Wq=null);this.Wn= +Date.now();this.bh=Za();var c,a,b;if(this.Ur)for(c=0,a=this.I.length;cc||2===this.qc&&aa&&(a=0),this.Lg=a/=1E3,.51/this.Iv&&(this.Lg=1/this.Iv));this.Mm=c;this.gf=this.Lg*this.If;this.Lb.add(this.gf);this.Mf.add(a);c=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Be)&&!this.nd;2<=this.qc||c&&0a||2===g&&bc++;)this.cu(this.Gg);c=0;for(a=this.jf.length;ca.Yl.length&&a.Yl.push(c)};f.prototype.xp=function(c,a,b,g){if(c.V){var e=ra(Math.random()* +c.ii.length);return this.xp(c.ii[e],a,b,g)}return c.zd?this.$f(c.zd,a,!1,b,g,!1):null};var U=[];f.prototype.$f=function(c,a,b,g,e,q){var m,p,d,r;if(!c)return null;var h=this.I[c[1]],n=h.W.mg;if(this.$h&&n&&!h.sq||n&&!this.G&&11===c[0][11])return null;var l=a;n||(a=null);var f;h.Yl.length?(f=h.Yl.pop(),f.Bc=!0,h.W.H.call(f,h)):(f=new h.W.H(h),f.Bc=!1);!b||q||this.vf.hasOwnProperty(c[2].toString())?f.uid=this.sk++:f.uid=c[2];this.vf[f.uid.toString()]=f;f.jw=this.Nv++;f.Xg=h.k.length;m=0;for(p=this.Yd.length;m< +p;++m)this.Yd[m].type===h&&f.Xg++;f.Ej=Ib;f.toString=Jb;d=c[3];if(f.Bc)Ya(f.na);else{f.na={};if("undefined"!==typeof cr_is_preview)for(f.Nu=[],f.Nu.length=d.length,m=0,p=d.length;mc&&(c=0);c>=this.ta.la.length&&(c=this.ta.la.length-1);return this.ta.la[c]};f.prototype.rm=function(c){return ia(c)?this.Wc(c):this.hg(c.toString())}; +f.prototype.tp=function(c){var a,b;a=0;for(b=c.length;a=this.Hq.length&&this.Hq.push([])};f.prototype.hE=function(){this.Vm--};f.prototype.vu=function(){return this.Hq[this.Vm]};f.prototype.An=function(c){this.em++;this.em>=this.Ip.length&&this.Ip.push(new Vb);var a=this.$a();a.reset(c);return a};f.prototype.wn=function(){this.em--};f.prototype.$a=function(){return this.Ip[this.em]};f.prototype.Gk=function(c){this.fi++;this.fi>=this.qk.length&&this.qk.push(aa({name:c,index:0,Va:!1}));var a=this.Up();a.name=c;a.index=0;a.Va= +!1;return a};f.prototype.Dk=function(){this.fi--};f.prototype.Up=function(){return this.qk[this.fi]};f.prototype.xu=function(c,a){for(var b,g,e,m,q,p;a;){b=0;for(g=a.Jd.length;bm||m>=c.Kb.length||(q=e[g],null===q&&(q=NaN),c.Kb[m]=q));if(d.mg){m= +a.w;c.A.Aa!==m.l&&(e=c.A,c.A=this.ta.um(m.l),c.A?(e.xi(c,!0),c.A.nj(c,!0),c.wa(),c.A.Nk(0)):(c.A=e,b||this.Te(c)));c.x=m.x;c.y=m.y;c.width=m.w;c.height=m.h;c.pe=m.zi;c.B=m.hasOwnProperty("a")?m.a:0;c.opacity=m.hasOwnProperty("o")?m.o:1;c.Lc=m.hasOwnProperty("hX")?m.hX:.5;c.Mc=m.hasOwnProperty("hY")?m.hY:.5;c.visible=m.hasOwnProperty("v")?m.v:!0;c.Hg=m.hasOwnProperty("ce")?m.ce:!0;c.ki=m.hasOwnProperty("mts")?m.mts:-1;c.mc=m.hasOwnProperty("bm")?m.bm:0;c.rj=ib(c.mc);this.O&&jb(c,c.mc,this.O);c.wa(); +if(m.hasOwnProperty("fx"))for(b=0,e=m.fx.length;bq||(c.Rf[q]=m.fx[b].active,c.nb[q]=m.fx[b].params);c.oe()}if(p=a.behs)for(g in p)p.hasOwnProperty(g)&&(b=this.EC(c,parseInt(g,10)),0>b||c.X[b].Ea(p[g]));a.data&&c.Ea(a.data)};f.prototype.nu=function(c,a,b){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+"www/"+c,function(c){c.file(a,b)},b)};f.prototype.pu=function(c,a,b){this.nu(c,function(c){var g=new FileReader;g.onload=function(c){a(c.target.result)}; +g.onerror=b;g.readAsText(c)},b)};var M=[],xa=0;f.prototype.Kq=function(){if(M.length&&!(8<=xa)){xa++;var c=M.shift();this.vB(c.filename,c.TE,c.UB)}};f.prototype.ou=function(c,a,b){var g=this;M.push({filename:c,TE:function(c){xa--;g.Kq();a(c)},UB:function(c){xa--;g.Kq();b(c)}});this.Kq()};f.prototype.vB=function(c,a,b){this.nu(c,function(c){var b=new FileReader;b.onload=function(c){a(c.target.result)};b.readAsArrayBuffer(c)},b)};f.prototype.xC=function(c,a,b){var g="",e=c.toLowerCase(),m=e.substr(e.length- +4),e=e.substr(e.length-5);".mp4"===m?g="video/mp4":".webm"===e?g="video/webm":".m4a"===m?g="audio/mp4":".mp3"===m&&(g="audio/mpeg");this.ou(c,function(c){c=URL.createObjectURL(new Blob([c],{type:g}));a(c)},b)};f.prototype.Pu=function(c){return/^(?:[a-z]+:)?\/\//.test(c)||"data:"===c.substr(0,5)||"blob:"===c.substr(0,5)};f.prototype.zw=function(c,a){this.Qj&&!this.Pu(a)?this.xC(a,function(a){c.src=a},function(c){alert("Failed to load image: "+c)}):c.src=a};f.prototype.Jn=function(c,a){"undefined"!== +typeof c.imageSmoothingEnabled?c.imageSmoothingEnabled=a:(c.webkitImageSmoothingEnabled=a,c.mozImageSmoothingEnabled=a,c.msImageSmoothingEnabled=a)};Xb=function(c){return new f(document.getElementById(c))};Yb=function(c,a){return new f({dc:!0,width:c,height:a})};window.cr_createRuntime=Xb;window.cr_createDCRuntime=Yb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var c=document.createElement("screencanvas")||document.createElement("canvas");c.Td=!0;document.body.appendChild(c);c=new f(c); +window.c2runtime=c;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return c};window.createEjectaRuntime=function(){var c=new f(document.getElementById("canvas"));window.c2runtime=c;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return c}})(); +window.cr_getC2Runtime=function(){var f=document.getElementById("c2canvas");return f?f.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(f,k){var d=window.cr_getC2Runtime();d&&d.tB(f,k)};window.cr_sizeCanvas=function(f,k){if(0!==f&&0!==k){var d=window.cr_getC2Runtime();d&&d.setSize(f,k)}};window.cr_setSuspended=function(f){var k=window.cr_getC2Runtime();k&&k.setSuspended(f)}; +(function(){function f(a,c){this.b=a;this.Pg=null;this.scrollX=this.b.kb/2;this.scrollY=this.b.jb/2;this.scale=1;this.B=0;this.Lh=!0;this.name=c[0];this.bE=c[1];this.aE=c[2];this.width=c[1];this.height=c[2];this.Zw=c[3];this.Fw=c[4];this.Aa=c[5];var b=c[6],e,d;this.la=[];this.Jj=[];e=0;for(d=b.length;e=this.la.length&&(p=this.la.length-1);h.A=this.la[p];-1===h.A.k.indexOf(h)&&h.A.k.push(h);h.A.rh=!0}if(!e)for(a=0,m=this.la.length;am?h.siblings.push(n.k[m]):n.zd&&(d=this.b.$f(n.zd,h.A,!0,h.x,h.y,!0),this.b.lc(),n.no(),h.siblings.push(d),b.push(d))); +a=0;for(m=this.jg.length;athis.width-c&&(a=this.width-c);athis.height-c&&(a=this.height-c);aC&&(C=0);0>F&&(F=0);X>S&&(X=S);Q>M&&(Q=M);0>Y&&(Y=0);0>P&&(P=0);Ma>S&&(Ma=S);pa>M&&(pa=M);T.left=C/S;T.top=1-F/M;T.right=X/S;T.bottom=1-Q/M}else T.left=L.left=0,T.top=L.top=0,T.right=L.right=1,T.bottom=L.bottom= +1;sa=b&&(a.Ek(d[0].Db)||0!==B||0!==sa||1!==b.opacity||b.type.W.Kv)||c&&!b&&1!==c.opacity;a.sw();if(sa){t[O]||(t[O]=a.ed(S,M,this.b.ab));if(t[O].Xd!==S||t[O].Wd!==M)a.deleteTexture(t[O]),t[O]=a.ed(S,M,this.b.ab);a.Rc(0);a.Hd(t[O]);K=pa-P;a.clearRect(Y,M-P-K,Ma-Y,K);b?b.Rb(a):(a.Cc(this.b.Mb),a.xg(c.opacity),a.Gd(),a.translate(-xa,-Ra),a.ud(),a.Ke(C,Q,X,Q,X,F,C,F,T));L.left=L.top=0;L.right=L.bottom=1;b&&(N=T.top,T.top=T.bottom,T.bottom=N);O=1;U=0}a.xg(1);B=d.length-1;var Sa=a.er(d[B].Db)||!c&&!b&&!this.b.jd; +u=N=0;for(x=d.length;ub||(c&&this.vd&&a.Oc&&a.Oc.right>=a.Oc.left&&(a.xa(),this.ic.update(a,a.Oc,null),a.Oc.set(0, +0,-1,-1)),b===this.k.length-1?this.k.pop():(za(this.k,b),this.Nk(b)),this.je=!0)};d.prototype.nj=function(a,c){a.pe=this.k.length;this.k.push(a);c&&this.vd&&a.Oc&&a.wa();this.je=!0};d.prototype.mE=function(a){this.k.unshift(a);this.Nk(0)};d.prototype.ND=function(a,c,b){var e=a.Bd();c=c.Bd();za(this.k,e);ethis.Oa||b.top>this.Na||(c.globalCompositeOperation=a.rj,a.Jc(c))}};d.prototype.po=function(){this.ef= +!0;var a=this.Ua(0,0,!0,!0),c=this.Ua(0,0,!1,!0);this.ef=!1;this.b.rd&&(a=Math.round(a),c=Math.round(c));this.Fn(a,c,null)};d.prototype.Fn=function(a,c,b){var e=this.$b();this.Ia=a;this.Ja=c;this.Oa=a+1/e*this.b.Z;this.Na=c+1/e*this.b.Y;this.Ia>this.Oa&&(a=this.Ia,this.Ia=this.Oa,this.Oa=a);this.Ja>this.Na&&(a=this.Ja,this.Ja=this.Na,this.Na=a);a=this.Jb();0!==a&&(b&&(b.translate(this.b.Z/2,this.b.Y/2),b.rotate(-a),b.translate(this.b.Z/-2,this.b.Y/-2)),this.Jf.set(this.Ia,this.Ja,this.Oa,this.Na), +this.Jf.offset((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2),this.Rw.Dw(this.Jf,a),this.Rw.Pt(this.Jf),this.Jf.offset((this.Ia+this.Oa)/2,(this.Ja+this.Na)/2),this.Ia=this.Jf.left,this.Ja=this.Jf.top,this.Oa=this.Jf.right,this.Na=this.Jf.bottom)};d.prototype.Kg=function(a){if(this.Me=this.nm){this.b.Mb||(this.b.Mb=a.ed(this.b.Z,this.b.Y,this.b.ab));if(this.b.Mb.Xd!==this.b.Z||this.b.Mb.Wd!==this.b.Y)a.deleteTexture(this.b.Mb),this.b.Mb=a.ed(this.b.Z,this.b.Y,this.b.ab);a.Hd(this.b.Mb)}this.ef=!0;var c= +this.Ua(0,0,!0,!0),b=this.Ua(0,0,!1,!0);this.ef=!1;this.b.rd&&(c=Math.round(c),b=Math.round(b));this.Fn(c,b,null);c=this.$b();a.Gd();a.scale(c,c);a.Gn(-this.Jb());a.translate((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2);a.ud();this.vd?(this.Yb.left=this.ic.Dc(this.Ia),this.Yb.top=this.ic.Ec(this.Ja),this.Yb.right=this.ic.Dc(this.Oa),this.Yb.bottom=this.ic.Ec(this.Na),this.je||!this.Yb.wj(this.ci)?(h(this.qf),c=this.Zp(),this.je=!1,this.ci.Dh(this.Yb)):c=this.qf):c=this.k;for(var e,d=null,b=c.length- +1;0<=b;--b)e=c[b],e!==d&&(this.NB(c[b],a),d=e);this.vd&&(this.qf=c);this.ne||(this.up=this.b.Mg++,a.Kn(this.up),a.uw(1,1,1),a.su(),a.vE())};d.prototype.Rb=function(a){var c=0,b=0;if(this.Me=this.nm||1!==this.opacity||0this.Oa||b.top>this.Na||(c.Kn(a.Mg),a.ix?this.OB(a,c):(c.Rc(0),c.wg(a.xc,a.oc),a.Rb(c)))}};d.prototype.NB=function(a,c){if(a.visible&& +0!==a.width&&0!==a.height){a.xa();var b=a.ma;b.rightthis.Oa||b.top>this.Na||(a.Mg=this.b.Mg++,0===a.mc&&1===a.opacity&&a.Df&&a.Kg&&(c.Kn(a.Mg),a.Kg(c)))}};d.prototype.OB=function(a,c){var b=a.Ka[0].Db,e=a.Ka[0].index,d=this.$b();if(1!==a.Ka.length||c.er(b)||c.oE(b)||(a.B||a.A.Jb())&&c.Ek(b)||1!==a.opacity||a.type.W.Kv)this.Nb.jr(c,this,a,this.Me?this.b.Mb:this.Nb.Dj()),c.Gd(),c.scale(d,d),c.Gn(-this.Jb()),c.translate((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2),c.ud(); +else{c.Rc(b);c.wg(a.xc,a.oc);c.zn(b)&&(this.b.ja=!0);var h=0,n=0,p=0,f=0;c.Ek(b)&&(f=a.ma,h=this.Ma(f.left,f.top,!0,!0),n=this.Ma(f.left,f.top,!1,!0),p=this.Ma(f.right,f.bottom,!0,!0),f=this.Ma(f.right,f.bottom,!1,!0),h=h/windowWidth,n=1-n/windowHeight,p=p/windowWidth,f=1-f/windowHeight);var l;a.bb&&a.bb.qa?(l=a.bb.qa,b=1/l.width,l=1/l.height):(b=1/a.width,l=1/a.height);c.Ei(this.Me?this.b.Mb:this.Nb.Dj(),b,l,h,n,p,f,d,this.Jb(),this.Ia,this.Ja,(this.Ia+this.Oa)/2,(this.Ja+this.Na)/2,this.b.Lb.P, +a.nb[e]);a.Rb(c)}};d.prototype.Ua=function(a,c,b,e){var d=this.b.devicePixelRatio;this.b.Zg&&(a*=d,c*=d);var d=this.b.cw,h=this.b.dw,d=(this.Nb.scrollX-d)*this.gc+d,h=(this.Nb.scrollY-h)*this.hc+h,n=d,p=h,f=1/this.$b(!e);e?(n-=this.b.Z*f/2,p-=this.b.Y*f/2):(n-=this.b.width*f/2,p-=this.b.height*f/2);n+=a*f;p+=c*f;c=this.Jb();0!==c&&(n-=d,p-=h,a=Math.cos(c),c=Math.sin(c),e=n*a-p*c,p=p*a+n*c,n=e+d,p+=h);return b?n:p};d.prototype.Ma=function(a,c,b,e){var d=this.b.cw,h=this.b.dw,n=(this.Nb.scrollX-d)* +this.gc+d,p=(this.Nb.scrollY-h)*this.hc+h,h=n,d=p,f=this.Jb();if(0!==f){a-=n;c-=p;var l=Math.cos(-f),f=Math.sin(-f),k=a*l-c*f;c=c*l+a*f;a=k+n;c+=p}n=1/this.$b(!e);e?(h-=this.b.Z*n/2,d-=this.b.Y*n/2):(h-=this.b.width*n/2,d-=this.b.height*n/2);h=(a-h)/n;d=(c-d)/n;a=this.b.devicePixelRatio;this.b.Zg&&!e&&(h/=a,d/=a);return b?h:d};d.prototype.ua=function(){var a,c,b,e={s:this.scale,a:this.B,vl:this.Ia,vt:this.Ja,vr:this.Oa,vb:this.Na,v:this.visible,bc:this.Ud,t:this.ne,px:this.gc,py:this.hc,o:this.opacity, +zr:this.sb,fx:[],cg:this.tj,instances:[]};a=0;for(c=this.ga.length;ac[1].index&&(a=c[0],c[0]=c[1],c[1]=a):2=r.length&&(r.length=c.length+1);r[c.length]||(r[c.length]=[]);d=r[c.length];a=0;for(b=d.length;a=a.length&&(a.length=this.gh+1),a[this.gh]=c):this.data=c};c.prototype.Ug=function(){var c=this.b.vu();return!this.parent||this.Sj||!c||this.Km?this.data:this.gh>=c.length||"undefined"===typeof c[this.gh]?this.jq:c[this.gh]};c.prototype.Cb=function(){!this.parent||this.Sj||this.Km||this.Bf(this.jq)};Wb= +c;m.prototype.toString=function(){return"include:"+this.Ij.toString()};m.prototype.wb=function(){this.Ij=this.b.Jp[this.iD];this.sheet.Ju.add(this);this.aa=d(this.aa);for(var c=this.parent;c;)c.group&&c.Rl.push(this),c=c.parent;this.ax()};m.prototype.Cb=function(){this.parent&&this.b.Fk(this.b.I);this.Ij.gq||this.Ij.Cb(!0);this.parent&&this.b.bd(this.b.I)};m.prototype.ax=function(){for(var c=this.parent;c;){if(c.group&&!c.Nh){this.Wa=!1;return}c=c.parent}this.Wa=!0};jc=m;q.prototype.reset=function(c){this.Za= +c;this.zc=this.xb=0;z(this.Lw);this.Hp=this.ah=!1};q.prototype.Jm=function(){return this.Za.Cr?!0:this.xb=this.type&&(this.first= +new hc(b,a[1]),this.second=new hc(b,a[2]));if(d){var h,g;h=0;for(g=d.length;h= +a||m<=-a)m%=a;0>m&&(m+=a);c.apply(l[m],h)};f.prototype.aC=function(e){var a=this.uf,h=this.pb,f=this.fa,g=this.$d,c=this.Vd,m=this.Zb,q=this.eb.Ef,l=a.ba(),v=l.rc();if(!v.length)if(l.da.length)v=l.da;else{this.Ai?e.M(""):e.J(0);return}h[0]=e;e.jh=a;e=k();d(f,h,e);g&&(g.get(e),e.Tb()&&(q=e.data,v=a.k));--b;f=v.length;if(q>=f||q<=-f)q%=f;0>q&&(q+=f);q=v[q];v=0;a.V&&(v=q.type.Kh[a.lf]);m.apply(q.X[c+v],h)};f.prototype.iC=function(e){var a=this.$d,d=this.uf,h=this.jx,g=this.eb.Ef,c=d.ba(),m=c.rc();if(!m.length)if(c.da.length)m= +c.da;else{this.Ai?e.M(""):e.J(0);return}if(a){c=k();a.get(c);if(c.Tb()){g=c.data;m=d.k;0!==m.length&&(g%=m.length,0>g&&(g+=m.length));g=d.Xp(g);d=g.Kb[h];ja(d)?e.M(d):e.C(d);--b;return}--b}a=m.length;if(g>=a||g<=-a)g%=a;0>g&&(g+=a);g=m[g];m=0;d.V&&(m=g.type.gm[d.lf]);d=g.Kb[h+m];ja(d)?e.M(d):e.C(d)};f.prototype.jC=function(b){b.type=kc.uh;b.data=this.value};f.prototype.fC=function(b){b.type=kc.sh;b.data=this.value};f.prototype.sC=function(b){b.type=kc.String;b.data=this.value};f.prototype.vC=function(b){this.first.get(b); +b.Tb()&&(b.data=-b.data)};f.prototype.VB=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data+=a.data,a.Vh()&&e.gi());--b};f.prototype.tC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data-=a.data,a.Vh()&&e.gi());--b};f.prototype.nC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data*=a.data,a.Vh()&&e.gi());--b};f.prototype.cC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data/= +a.data,e.gi());--b};f.prototype.mC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data%=a.data,a.Vh()&&e.gi());--b};f.prototype.rC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data=Math.pow(e.data,a.data),a.Vh()&&e.gi());--b};f.prototype.WB=function(e){this.first.get(e);var a=k();this.second.get(a);a.Yh()||e.Yh()?this.YB(e,a):this.XB(e,a);--b};f.prototype.YB=function(b,a){b.Yh()&&a.Yh()?this.$B(b,a):this.ZB(b,a)};f.prototype.$B=function(b, +a){b.data+=a.data};f.prototype.ZB=function(b,a){b.Yh()?b.data+=(Math.round(1E10*a.data)/1E10).toString():b.M(b.data.toString()+a.data)};f.prototype.XB=function(b,a){b.J(b.data&&a.data?1:0)};f.prototype.qC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data||a.data?e.J(1):e.J(0));--b};f.prototype.bC=function(b){this.first.get(b);b.data?this.second.get(b):this.eo.get(b)};f.prototype.dC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data===a.data?1:0); +--b};f.prototype.oC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data!==a.data?1:0);--b};f.prototype.kC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.dataa.data?1:0);--b};f.prototype.hC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data>= +a.data?1:0);--b};f.prototype.eC=function(b){var a=this.Qg.Ug();ia(a)?b.C(a):b.M(a)};hc=f;l.prototype.Vh=function(){return this.type===kc.sh};l.prototype.Tb=function(){return this.type===kc.uh||this.type===kc.sh};l.prototype.Yh=function(){return this.type===kc.String};l.prototype.gi=function(){this.Vh()||(this.Yh()&&(this.data=parseFloat(this.data)),this.type=kc.sh)};l.prototype.J=function(b){this.type=kc.uh;this.data=Math.floor(b)};l.prototype.C=function(b){this.type=kc.sh;this.data=b};l.prototype.M= +function(b){this.type=kc.String;this.data=b};l.prototype.Cf=function(b){ia(b)?(this.type=kc.sh,this.data=b):ja(b)?(this.type=kc.String,this.data=b.toString()):(this.type=kc.uh,this.data=0)};gc=l;kc={uh:0,sh:1,String:2}})();function H(f){this.b=f;this.kc=[]} +H.prototype.ua=function(){var f={},k,d,l,h,b,e,a,n;f.waits=[];var t=f.waits,g;k=0;for(d=this.kc.length;ke?1:0}function d(){}function l(){var c;t.length?c=t.pop():c={wc:{},aa:[]};c.Cp=!1;return c}function h(){var c;g.length?c=g.pop():c={ze:[]};c.Lk=!1;return c}function b(){}var e=H.prototype;f.prototype.Ox=function(){return!0};f.prototype.Ns=function(){return!0};f.prototype.Ms=function(){return!0};f.prototype.Ex=function(c,a,b){return lc(c,a,b)};f.prototype.By=function(c){return c? +c.visible:!1};f.prototype.IA=function(){var c=this.b.$a(),a=c.Za,b=c.Jm(),c=this.b.Gk();if(b)for(b=0;!c.Va;b++)this.b.ie(a.aa),c.index=b,a.td()||(c.Va=!0),this.b.bd(a.aa);else for(b=0;!c.Va;b++)c.index=b,a.td()||(c.Va=!0);this.b.Dk();return!1};f.prototype.Vx=function(c,a,b){var e=this.b.$a(),d=e.Za,e=e.Jm();c=this.b.Gk(c);if(b=b&&!c.Va;--a)this.b.ie(d.aa),c.index=a,d.td(),this.b.bd(d.aa);else for(;a>=b&&!c.Va;--a)c.index=a,d.td();else if(e)for(;a<=b&&!c.Va;++a)this.b.ie(d.aa),c.index= +a,d.td(),this.b.bd(d.aa);else for(;a<=b&&!c.Va;++a)c.index=a,d.td();this.b.Dk();return!1};var a=[],n=-1;f.prototype.Jo=function(c){var b=c.ba();n++;a.length===n&&a.push([]);var e=a[n];Ba(e,b.rc());var d=this.b.$a(),g=d.Za,h=d.Jm(),d=this.b.Gk(),f,l,k,t,E,u,x=c.uc;if(h)for(h=0,f=e.length;h=b+d)return a.na.Every_lastTime=b+d,e>=a.na.Every_lastTime+.04&&(a.na.Every_lastTime=e),a.na.Every_seconds=c,!0;e=b.length)return!1;a.si(b[e]);c.wd();return!0};f.prototype.Hx=function(c,a,b){return lc(c.Ug(),a,b)};f.prototype.jy=function(c){return(c=this.b.Gj[c.toLowerCase()])&&c.Nh};f.prototype.my=function(){return this.b.Ae};f.prototype.qs=function(){var c=this.b.$a();return c.Hp?!1:!c.ah};f.prototype.Po=function(){return!0};f.prototype.Ty=function(){return!0};f.prototype.Qo=function(){return!0};f.prototype.Vs= +function(){return!0};f.prototype.fz=function(){return!0};f.prototype.wl=function(){return!0};f.prototype.qx=function(c,a,b){return Oa(A(c),A(b))<=A(a)};f.prototype.fy=function(c,a){return Qa(A(c),A(a))};f.prototype.vs=function(c,a,b){c=Ka(c);a=Ka(a);b=Ka(b);return Qa(b,a)?Qa(c,a)&&!Qa(c,b):!(!Qa(c,a)&&Qa(c,b))};e.e=new f;d.prototype.Jx=function(c,a,b,e){if(a&&c&&(a=this.b.xp(c,a,b,e))){this.b.be++;var d;this.b.trigger(Object.getPrototypeOf(c.W).e.Ue,a);if(a.uc)for(b=0,e=a.siblings.length;bc&&(c=0);this.b.If=c};var t=[],g=[];d.prototype.GA=function(c){if(!(0>c)){var a,b,e,d=this.b.$a(),g=l();g.time=this.b.Lb.P+c;g.Qn="";g.Rk=!1;g.Og=d.Za;g.zc=d.zc+1;c=0;for(a=this.b.I.length;cthis.b.fi||(this.b.Up().Va=!0)};d.prototype.$x=function(a){if(!this.b.$h&&!this.b.Gg)for(var b in this.b.di)if(this.b.di.hasOwnProperty(b)&& +lb(b,a)){this.b.Gg=this.b.di[b];break}};d.prototype.Lz=function(){if(!this.b.$h&&!this.b.Gg&&this.b.ta){this.b.Gg=this.b.ta;var a,b,e;a=0;for(b=this.b.Vf.length;ag&&(b=g);a.C(b)};b.prototype.gf=function(a){a.C(this.b.gf)};b.prototype.If=function(a){a.C(this.b.If)};b.prototype.time=function(a){a.C(this.b.Lb.P)};b.prototype.Qe=function(a){a.J(this.b.Qe)};b.prototype.an=function(a){a.J(this.b.an)};b.prototype.Pp=function(a){a.J(this.b.Pp)};b.prototype.HD=function(a,b){var e,d;if(this.b.qk.length)if(b){for(d=this.b.fi;0<=d;--d)if(e=this.b.qk[d],e.name===b){a.J(e.index);return}a.J(0)}else e= +this.b.Up(),a.J(e?e.index:-1);else a.J(0)};b.prototype.sB=function(a,b,e,d,g){a.C(Ua(b,e,d,g))};b.prototype.B=function(a,b,e,d,g){a.C(Ga(La(b,e,d,g)))};b.prototype.FE=function(a){a.C(this.b.ta.scrollX)};b.prototype.GE=function(a){a.C(this.b.ta.scrollY)};b.prototype.DD=function(a,b,e,d){a.C(Wa(b,e,d))};b.prototype.ID=function(a,b){a.M(ja(b)?b.toLowerCase():"")};b.prototype.iB=function(a,b,e,d){bd?a.C(d):a.C(b)};b.prototype.BD=function(a){a.J(this.b.ta.width)};b.prototype.zD=function(a){a.J(this.b.ta.height)}; +b.prototype.left=function(a,b,e){a.M(ja(b)?b.substr(0,e):"")};b.prototype.right=function(a,b,e){a.M(ja(b)?b.substr(b.length-e):"")};b.prototype.ZE=function(a,b,e,d){ja(b)&&ja(d)?(b=b.split(d),e=ra(e),0>e||e>=b.length?a.M(""):a.M(b[e])):a.M("")};b.prototype.$E=function(a,b,e){ja(b)&&b.length?a.J(b.split(e).length):a.J(0)};b.prototype.replace=function(a,b,e,d){ja(b)&&ja(e)&&ja(d)?a.M(b.replace(new RegExp(eb(e),"gi"),d)):a.M(ja(b)?b:"")};b.prototype.trim=function(a,b){a.M(ja(b)?b.trim():"")};b.prototype.AD= +function(a){this.b.ta?a.M(this.b.ta.name):a.M("")};b.prototype.hB=function(a){var b=ra(Math.random()*(arguments.length-1));a.Cf(arguments[b+1])};b.prototype.vp=function(a){a.C(this.b.vp/1E3)};b.prototype.iF=function(a,b){var e=this.b.rm(b);a.C(e?e.Ia:0)};b.prototype.kF=function(a,b){var e=this.b.rm(b);a.C(e?e.Ja:0)};b.prototype.jF=function(a,b){var e=this.b.rm(b);a.C(e?e.Oa:0)};b.prototype.hF=function(a,b){var e=this.b.rm(b);a.C(e?e.Na:0)};b.prototype.dh=function(a){a.C(this.b.dh)};b.prototype.cF= +function(a,b){a.M(encodeURIComponent(b))};e.n=new b;e.yE=function(){var a,b,e,d,h,f,n=this.b.$a();a=0;for(e=this.kc.length;athis.b.Lb.P)continue;n.Za=d.Og;n.zc=d.zc;n.xb=0;for(b in d.wc)d.wc.hasOwnProperty(b)&&(h=this.b.I[parseInt(b,10)].ba(),f=d.wc[b],h.ca=f.Lk,Ba(h.k,f.ze),h=f,z(h.ze),g.push(h));d.Og.wE();this.b.tp(d.aa);d.Cp=!0}b=a=0;for(e=this.kc.length;aa.Oa||c.top>a.Na)},g.oy=function(){this.xa();var a=this.ma,c=this.b.ta;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},g.zz=function(a,c,b){var e=this.ba(), +d=e.rc();if(!d.length)return!1;var g=d[0],h=g,f=Ua(g.x,g.y,c,b),n,m,l;n=1;for(m=d.length;nf)f=l,h=g;e.si(h);return!0},c.dj=function(a){this.x!==a&&(this.x=a,this.wa())},c.bp=function(a){this.y!==a&&(this.y=a,this.wa())},c.cj=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.wa()},c.bt=function(a,c){var b=a.NC(this);if(b){var e;b.Cj?(e=b.Cj(c,!0),b=b.Cj(c,!1)):(e=b.x,b=b.y);if(this.x!==e||this.y!==b)this.x=e,this.y=b,this.wa()}}, +c.PF=function(a){0!==a&&(this.x+=Math.cos(this.B)*a,this.y+=Math.sin(this.B)*a,this.wa())},c.Ey=function(a,c){0!==c&&(this.x+=Math.cos(A(a))*c,this.y+=Math.sin(A(a))*c,this.wa())},m.hj=function(a){a.C(this.x)},m.ij=function(a){a.C(this.y)},m.gf=function(a){a.C(this.b.Zd(this))});b&&(g.qF=function(a,c){return lc(this.width,a,c)},g.oF=function(a,c){return lc(this.height,a,c)},c.$o=function(a){this.width!==a&&(this.width=a,this.wa())},c.Zs=function(a){this.height!==a&&(this.height=a,this.wa())},c.Bg= +function(a,c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.wa()},m.gj=function(a){a.C(this.width)},m.nl=function(a){a.C(this.height)},m.Fo=function(a){this.xa();a.C(this.ma.left)},m.Ho=function(a){this.xa();a.C(this.ma.top)},m.Go=function(a){this.xa();a.C(this.ma.right)},m.Eo=function(a){this.xa();a.C(this.ma.bottom)});e&&(g.qx=function(a,c){return Oa(this.B,A(c))<=A(a)},g.fy=function(a){return Qa(this.B,A(a))},g.vs=function(a,c){var b=Ka(a),e=Ka(c),d=Ia(this.B);return Qa(e, +b)?Qa(d,b)&&!Qa(d,e):!(!Qa(d,b)&&Qa(d,e))},c.Pz=function(a){a=A(Ha(a));isNaN(a)||this.B===a||(this.B=a,this.wa())},c.Mz=function(a){0===a||isNaN(a)||(this.B+=A(a),this.B=Ia(this.B),this.wa())},c.WF=function(a){0===a||isNaN(a)||(this.B-=A(a),this.B=Ia(this.B),this.wa())},c.XF=function(a,c){var b=Pa(this.B,A(c),A(a));isNaN(b)||this.B===b||(this.B=b,this.wa())},c.YF=function(a,c,b){a=Pa(this.B,Math.atan2(b-this.y,c-this.x),A(a));isNaN(a)||this.B===a||(this.B=a,this.wa())},c.oG=function(a,c){var b=Math.atan2(c- +this.y,a-this.x);isNaN(b)||this.B===b||(this.B=b,this.wa())},m.nF=function(a){a.C(Ja(this.B))});l||(g.ml=function(a,c,b){return lc(this.Kb[a],c,b)},g.Ko=function(a){return this.Kb[a]},g.Az=function(a,c){var b=this.ba(),e=b.rc();if(!e.length)return!1;var d=e[0],g=d,h=d.Kb[c],f,n,m;f=1;for(n=e.length;fh)h=m,g=d;b.si(g);return!0},g.Vo=function(a){var c,b,e,d,g;if(this.b.fg().Qh){g=this.ba();if(g.ca)for(g.ca=!1,z(g.k),z(g.da),e=this.k,c=0,b=e.length;ca?a=0:1d.A.index||e.A.index===d.A.index&&e.Bd()>d.Bd())d=e}else if(e.A.indexb)){var e=1===a;this.Rf[b]!==e&&(this.Rf[b]=e,this.oe(),this.b.ja=!0)}}},c.lG=function(a,c,b){if(this.b.G){var e=this.type.Wp(a);0>e||(a=this.type.ga[e],e=this.nb[e],c=Math.floor(c),0>c||c>=e.length||(1===this.b.G.RC(a.Db,c)&&(b/=100),e[c]!==b&&(e[c]=b,a.Wa&&(this.b.ja=!0))))}})};Nb=function(){this.qp=this.Kl=!0;this.type.Dl=!0;this.b.ja= +!0;var f,d,l=this.np;f=0;for(d=l.length;fl;case 5:return f>=l;default:return!1}}})();var tc={};function wc(f){this.b=f} +(function(){function f(){}function k(){}function d(){}var l=!1,h=null,b=null,e="",a=wc.prototype;a.K=function(a){this.W=a;this.b=a.b};a.K.prototype.F=function(){};a.H=function(a){this.type=a;this.b=a.b;this.fd=this.De="";this.ea=0;this.timeout=-1;if(l=this.b.Sh)h=require("path"),b=require("fs"),e=h.dirname((window.process||nw.process).execPath)+"\\"};var n=a.H.prototype,t=null;window.C2_AJAX_DCSide=function(a,c,b){t&&("success"===a?(t.fd=c,t.De=b,t.b.trigger(wc.prototype.e.pl,t),t.b.trigger(wc.prototype.e.Yi, +t)):"error"===a?(t.fd=c,t.b.trigger(wc.prototype.e.ql,t),t.b.trigger(wc.prototype.e.Pd,t)):"progress"===a&&(t.ea=b,t.fd=c,t.b.trigger(wc.prototype.e.Ss,t)))};n.F=function(){t=this};n.ua=function(){return{lastData:this.De}};n.Ea=function(a){this.De=a.lastData;this.fd="";this.ea=0};var g={},c="";n.eu=function(a,d,h,f){if(this.b.Sb)AppMobi.webview.execute('C2_AJAX_WebSide("'+a+'", "'+d+'", "'+h+'", '+(f?'"'+f+'"':"null")+");");else{var n=this,p=null,k=function(){n.fd=a;n.b.trigger(wc.prototype.e.ql, +n);n.b.trigger(wc.prototype.e.Pd,n)},t=function(){if(l){var c=e+d;b.existsSync(c)?b.readFile(c,{encoding:"utf8"},function(c,b){c?k():(n.fd=a,n.De=b.replace(/\r\n/g,"\n"),n.b.trigger(wc.prototype.e.pl,n),n.b.trigger(wc.prototype.e.Yi,n))}):k()}else k()},w=function(c){c.lengthComputable&&(n.ea=c.loaded/c.total,n.fd=a,n.b.trigger(wc.prototype.e.Ss,n))};try{this.b.lg?p=new ActiveXObject("Microsoft.XMLHTTP"):p=new XMLHttpRequest;p.onreadystatechange=function(){4===p.readyState&&(n.fd=a,p.responseText? +n.De=p.responseText.replace(/\r\n/g,"\n"):n.De="",400<=p.status?(n.b.trigger(wc.prototype.e.ql,n),n.b.trigger(wc.prototype.e.Pd,n)):l&&!n.De.length||!l&&0===p.status&&!n.De.length||(n.b.trigger(wc.prototype.e.pl,n),n.b.trigger(wc.prototype.e.Yi,n)))};this.b.lg||(p.onerror=t,p.ontimeout=t,p.onabort=t,p.onprogress=w);p.open(h,d);!this.b.lg&&0<=this.timeout&&"undefined"!==typeof p.timeout&&(p.timeout=this.timeout);try{p.responseType="text"}catch(E){}f&&p.setRequestHeader&&!g.hasOwnProperty("Content-Type")&& +p.setRequestHeader("Content-Type","application/x-www-form-urlencoded");if(p.setRequestHeader){for(var u in g)if(g.hasOwnProperty(u))try{p.setRequestHeader(u,g[u])}catch(x){}g={}}if(c&&p.overrideMimeType){try{p.overrideMimeType(c)}catch(B){}c=""}f?p.send(f):p.send()}catch(N){t()}}};f.prototype.Yi=function(a){return lb(a,this.fd)};f.prototype.pl=function(){return!0};f.prototype.Pd=function(a){return lb(a,this.fd)};f.prototype.ql=function(){return!0};f.prototype.Ss=function(a){return lb(a,this.fd)}; +a.e=new f;k.prototype.Iz=function(a,c){var b=this;this.b.Qj&&!this.b.Pu(c)?this.b.pu(c,function(c){b.fd=a;b.De=c.replace(/\r\n/g,"\n");b.b.trigger(wc.prototype.e.pl,b);b.b.trigger(wc.prototype.e.Yi,b)},function(){b.fd=a;b.b.trigger(wc.prototype.e.ql,b);b.b.trigger(wc.prototype.e.Pd,b)}):this.eu(a,c,"GET")};k.prototype.Dz=function(a,c,b,e){this.eu(a,c,e,b)};a.m=new k;d.prototype.zy=function(a){a.M(this.De)};d.prototype.Ez=function(a){a.C(this.ea)};a.n=new d})();function xc(f){this.b=f} +(function(){function f(){return a.length?a.pop():[]}function k(b){var e,d;e=0;for(d=b.length;ea||a>this.gb-1||isNaN(b)||0>b||b>this.tb-1||isNaN(e)||0>e||e>this.Hb-1?0: +this.cd[a][b][e]};e.set=function(a,b,e,c){a=Math.floor(a);b=Math.floor(b);e=Math.floor(e);isNaN(a)||0>a||a>this.gb-1||isNaN(b)||0>b||b>this.tb-1||isNaN(e)||0>e||e>this.Hb-1||(this.cd[a][b][e]=c)};e.DC=function(){return JSON.stringify({c2array:!0,size:[this.gb,this.tb,this.Hb],data:this.cd})};e.ua=function(){return{size:[this.gb,this.tb,this.Hb],data:this.cd}};e.Ea=function(a){var b=a.size;this.gb=b[0];this.tb=b[1];this.Hb=b[2];this.cd=a.data};e.Af=function(a,b,e){0>a&&(a=0);0>b&&(b=0);0>e&&(e=0); +if(this.gb!==a||this.tb!==b||this.Hb!==e){this.gb=a;this.tb=b;this.Hb=e;var c,d,h=this.cd;h.length=a;for(a=0;aa&&(a=0);1a&&(a=0);1c&&(c=0);1c&&(c=0);1c&&(c=0),1c&&(c=0);1c&&(c=0);1c&&(c=0);1c&&(c=0);1a&&(a=.01);this.yn.gain.value=a;this.xn.gain.value=Math.pow(1/a,.6)*c};p.prototype.shape=function(a,c,b){var e=1.05*b*c-c;b=0>a?-1:1;a=0>a?-a:a;c=ag;++g)d=g/32768,d=this.shape(d,b,e),this.Xl[32768+g]=d,this.Xl[32768-g-1]=-d};p.prototype.yd=function(a){this.T.disconnect();this.T.connect(a);this.R.disconnect(); +this.R.connect(a)};p.prototype.remove=function(){this.Da.disconnect();this.yn.disconnect();this.uo.disconnect();this.xn.disconnect();this.T.disconnect();this.R.disconnect()};p.prototype.kd=function(){return this.Da};p.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100,0>c&&(c=0),1e&&(e=-e),this.Ckc&&(b=c);return b};u.prototype.kg=function(){return!this.Yc&&!this.ye&&!this.Va&&!this.Wg()};u.prototype.OE=function(){return!this.ye&&!this.Va&&!this.Wg()};u.prototype.NE=function(a){this.volume=a;this.dx()};u.prototype.dx=function(){var a=this.volume*pa;isFinite(a)||(a=0);switch(this.ra){case 0:"undefined"!==typeof this.D.volume&&this.D.volume!==a&&(this.D.volume=a);break;case 1:1===this.buffer.ra?this.Ib.gain.value=a*this.ji:"undefined"!==typeof this.D.volume&&this.D.volume!==a&&(this.D.volume= +a)}};u.prototype.am=function(a){switch(this.ra){case 0:this.D.muted!==!!a&&(this.D.muted=!!a);break;case 1:1===this.buffer.ra?(this.ji=a?0:1,this.Ib.gain.value=pa*this.volume*this.ji):this.D.muted!==!!a&&(this.D.muted=!!a)}};u.prototype.IE=function(){this.Wh=!0;this.am(this.Wh||this.Rj)};u.prototype.Mn=function(a){this.Rj=!!a;this.am(this.Wh||this.Rj)};u.prototype.oo=function(){var a=this.playbackRate;this.Th&&(a*=M.If);switch(this.ra){case 0:this.D.playbackRate!==a&&(this.D.playbackRate=a);break; +case 1:1===this.buffer.ra?this.D.playbackRate.value!==a&&(this.D.playbackRate.value=a):this.D.playbackRate!==a&&(this.D.playbackRate=a)}};u.prototype.LE=function(c){switch(this.ra){case 0:c?this.kg()?(this.sd=!0,this.D.pause()):this.sd=!1:this.sd&&(this.D.play(),this.sd=!1);break;case 1:c?this.kg()?(this.sd=!0,1===this.buffer.ra?(this.Pc=this.Yp(!0),this.Ee&&(this.Pc=this.Pc%this.gg()),a(this.D)):this.D.pause()):this.sd=!1:this.sd&&(1===this.buffer.ra?(this.D=C.createBufferSource(),this.D.buffer= +this.buffer.Ga,this.D.connect(this.Ib),this.D.onended=this.Uq,this.Bl=this.D,this.D.loop=this.Ee,this.Ib.gain.value=pa*this.volume*this.ji,this.oo(),this.startTime=(this.Th?M.Lb.P:M.Mf.P)-this.Pc/(this.playbackRate||.001),e(this.D,this.Pc,this.gg())):this.D.play(),this.sd=!1);break;case 2:c?this.kg()?(this.D.pause(),this.sd=!0):this.sd=!1:this.sd&&(this.sd=!1,this.D.play())}};S.H=function(a){function c(){"suspended"===C.state&&C.resume&&C.resume();if(!ac&&C.createBuffer){var a=C.createBuffer(1,220, +22050),e=C.createBufferSource();e.buffer=a;e.connect(C.destination);b(e)}}this.type=a;M=this.b=a.b;xa=this;this.Zc=null;this.hk=-600;this.b.Qj&&(ob=!0);!(this.b.Zh||this.b.Fm&&(this.b.pq||this.b.Gm))||this.b.Im||this.b.N||this.b.Qu||ob||(pb=!0);C=null;"undefined"!==typeof AudioContext?(L=1,C=new AudioContext):"undefined"!==typeof webkitAudioContext&&(L=1,C=new webkitAudioContext);this.b.Zh&&C&&(C.close&&C.close(),"undefined"!==typeof AudioContext?C=new AudioContext:"undefined"!==typeof webkitAudioContext&& +(C=new webkitAudioContext));pb?document.addEventListener("touchend",function(){!Kb&&C&&(c(),Kb=!0);var a,b,e;if(pb){if(!Q)for(a=0,b=qb.length;a"!==c&&(a.un=c,a.Iq=e,a.Vr=d),null;f=new u(a,c);F.push(f);return f};var oa=[];U.prototype.tl=function(a){return lb(Ra,a)}; +U.prototype.vy=function(){return Q};U.prototype.ol=function(a){B(a);var c;a=0;for(c=oa.length;ac||c>=a.length||a[c].ke(b,e,d,g)))};S.m=new y;K.prototype.os=function(a,c){B(c,!0);oa.length?a.C(oa[0].gg()):a.C(0)};K.prototype.FA=function(a,c){B(c,!0);oa.length?a.C(k(oa[0].volume)): +a.C(0)};S.n=new K})();function R(f){this.b=f} +(function(){function f(){e&&a&&window.OfflineClientInfo&&window.OfflineClientInfo.SetMessageCallback(function(a){n.XD(a)})}function k(){}function d(){}function l(a){console&&console.warn&&console.warn("Fullscreen request failed: ",a);g.setSize(window.innerWidth,window.innerHeight)}var h=R.prototype;h.K=function(a){this.W=a;this.b=a.b};var b=h.K.prototype;b.F=function(){};var e=!1,a=!1;document.addEventListener("DOMContentLoaded",function(){if(window.C2_RegisterSW&&navigator.Td){var a=document.createElement("script"); +a.onload=function(){e=!0;f()};a.src="offlineClient.js";document.head.appendChild(a)}});var n=null;b.Uv=function(){a=!0;f()};h.H=function(a){this.type=a;this.b=a.b};b=h.H.prototype;b.F=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(R.prototype.e.lz,a)});n=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(R.prototype.e.iz,a)}),window.addEventListener("offline",function(){a.b.trigger(R.prototype.e.gz,a)}));"undefined"!== +typeof window.applicationCache&&(window.applicationCache.addEventListener("updateready",function(){a.b.dh=1;a.b.trigger(R.prototype.e.$i,a)}),window.applicationCache.addEventListener("progress",function(b){a.b.dh=b.loaded/b.total||0}));this.b.Sb||(document.addEventListener("appMobi.device.update.available",function(){a.b.trigger(R.prototype.e.$i,a)}),document.addEventListener("backbutton",function(){a.b.trigger(R.prototype.e.rl,a)}),document.addEventListener("menubutton",function(){a.b.trigger(R.prototype.e.Os, +a)}),document.addEventListener("searchbutton",function(){a.b.trigger(R.prototype.e.nz,a)}),document.addEventListener("tizenhwkey",function(b){var e;switch(b.keyName){case "back":e=a.b.trigger(R.prototype.e.rl,a);!e&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(e=a.b.trigger(R.prototype.e.Os,a))||b.preventDefault()}}));this.b.uq&&"undefined"!==typeof Windows?Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener("backrequested",function(b){a.b.trigger(R.prototype.e.rl, +a)&&(b.handled=!0)}):this.b.Wu&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!a.b.trigger(R.prototype.e.rl,a)});this.b.ot(function(b){b?a.b.trigger(R.prototype.e.jz,a):a.b.trigger(R.prototype.e.kz,a)});this.wD="undefined"!==typeof window.is_scirra_arcade};b.XD=function(a){a=a.data.type;"downloading-update"===a?this.b.trigger(R.prototype.e.sz,this):"update-ready"===a||"update-pending"===a?this.b.trigger(R.prototype.e.$i,this):"offline-ready"===a&&this.b.trigger(R.prototype.e.hz, +this)};k.prototype.ny=function(){return navigator?navigator.onLine:!1};k.prototype.iz=function(){return!0};k.prototype.gz=function(){return!0};k.prototype.$i=function(){return!0};k.prototype.kz=function(){return!0};k.prototype.jz=function(){return!0};k.prototype.lz=function(){return!0};k.prototype.iy=function(){return!!(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.b.Be)};k.prototype.rl=function(){return!0};k.prototype.Os=function(){return!0};k.prototype.nz=function(){return!0}; +k.prototype.ty=function(a){return(window.innerWidth<=window.innerHeight?0:1)===a};k.prototype.sz=function(){return!0};k.prototype.$i=function(){return!0};k.prototype.hz=function(){return!0};h.e=new k;d.prototype.Gz=function(){this.wD||this.b.N||window.location.reload()};var t=!0,g=null;d.prototype.Jz=function(a){this.b.N?fa("[Construct 2] Requesting fullscreen is not supported on this platform - the request has been ignored"):(2<=a&&(a+=1),6===a&&(a=2),this.b.Uu?this.b.Su?debuggerFullscreen(!0):!this.b.Be&& +window.nwgui&&(window.nwgui.Window.get().enterFullscreen(),this.b.Be=!0,this.b.nf=2<=a?a:0):document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement||document.fullScreen||document.fullScreenElement||(this.b.nf=2<=a?a:0,a=document.documentElement,t&&(t=!1,g=this.b,a.addEventListener("mozfullscreenerror",l),a.addEventListener("webkitfullscreenerror",l),a.addEventListener("MSFullscreenError",l),a.addEventListener("fullscreenerror",l)),a.requestFullscreen?a.requestFullscreen(): +a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.webkitRequestFullScreen&&("undefined"!==typeof Element&&"undefined"!==typeof Element.ALLOW_KEYBOARD_INPUT?a.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):a.webkitRequestFullScreen())))};d.prototype.zx=function(){this.b.N?fa("[Construct 2] Exiting fullscreen is not supported on this platform - the request has been ignored"):this.b.Uu?this.b.Su?debuggerFullscreen(!1):this.b.Be&&window.nwgui&&(window.nwgui.Window.get().leaveFullscreen(), +this.b.Be=!1):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()};d.prototype.Ix=function(a,b){"undefined"!==typeof console&&(0===a&&console.log&&console.log(b.toString()),1===a&&console.warn&&console.warn(b.toString()),2===a&&console.error&&console.error(b.toString()))};d.prototype.Px=function(a){try{eval&&eval(a)}catch(b){console&& +console.error&&console.error("Error executing Javascript: ",b)}};d.prototype.EA=function(){this.b.Gt=!1;screen.orientation&&screen.orientation.unlock?screen.orientation.unlock():screen.unlockOrientation?screen.unlockOrientation():screen.webkitUnlockOrientation?screen.webkitUnlockOrientation():screen.mozUnlockOrientation?screen.mozUnlockOrientation():screen.msUnlockOrientation&&screen.msUnlockOrientation()};h.m=new d;h.n=new function(){}})();function zc(f){this.b=f} +(function(){function f(){}function k(){}var d=zc.prototype;d.K=function(d){this.W=d;this.b=d.b};d.K.prototype.F=function(){};d.H=function(d){this.type=d;this.b=d.b};var l=d.H.prototype;l.F=function(){this.b.N?fa("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.Rh=1===this.q[0],this.Xc=document.createElement("input"),this.u=this.Rh?document.createElement("label"):this.Xc,this.Vj=null,this.Xc.type=this.Rh?"checkbox":"button",this.Xc.id=this.q[6],jQuery(this.u).appendTo(this.b.Bh? +this.b.Bh:"body"),this.Rh?(jQuery(this.Xc).appendTo(this.u),this.Vj=document.createTextNode(this.q[1]),jQuery(this.u).append(this.Vj),this.Xc.checked=0!==this.q[7],jQuery(this.u).css("font-family","sans-serif"),jQuery(this.u).css("display","inline-block"),jQuery(this.u).css("color","black")):this.Xc.value=this.q[1],this.u.title=this.q[2],this.Xc.disabled=0===this.q[4],this.Sd=0!==this.q[5],this.Kc=!1,0===this.q[3]&&(jQuery(this.u).hide(),this.visible=!1,this.Kc=!0),this.Xc.onclick=function(d){return function(b){b.stopPropagation(); +d.b.La=!0;d.b.trigger(zc.prototype.e.sl,d);d.b.La=!1}}(this),this.u.addEventListener("touchstart",function(d){d.stopPropagation()},!1),this.u.addEventListener("touchmove",function(d){d.stopPropagation()},!1),this.u.addEventListener("touchend",function(d){d.stopPropagation()},!1),jQuery(this.u).mousedown(function(d){d.stopPropagation()}),jQuery(this.u).mouseup(function(d){d.stopPropagation()}),jQuery(this.u).keydown(function(d){d.stopPropagation()}),jQuery(this.u).keyup(function(d){d.stopPropagation()}), +this.ak=this.bk=this.Wj=this.Zj=this.$j=this.Xj=0,this.qh(!0),this.b.Hf(this))};l.ua=function(){var d={tooltip:this.u.title,disabled:!!this.Xc.disabled};this.Rh?(d.checked=!!this.Xc.checked,d.text=this.Vj.nodeValue):d.text=this.u.value;return d};l.Ea=function(d){this.u.title=d.tooltip;this.Xc.disabled=d.disabled;this.Rh?(this.Xc.checked=d.checked,this.Vj.nodeValue=d.text):this.u.value=d.text};l.Fd=function(){this.b.N||(jQuery(this.u).remove(),this.u=null)};l.Ba=function(){this.qh()};l.qh=function(d){if(!this.b.N){var b= +this.A.Ma(this.x,this.y,!0),e=this.A.Ma(this.x,this.y,!1),a=this.A.Ma(this.x+this.width,this.y+this.height,!0),f=this.A.Ma(this.x+this.width,this.y+this.height,!1),l=this.b.width/this.b.devicePixelRatio,g=this.b.height/this.b.devicePixelRatio;!this.visible||!this.A.visible||0>=a||0>=f||b>=l||e>=g?(this.Kc||jQuery(this.u).hide(),this.Kc=!0):(1>b&&(b=1),1>e&&(e=1),a>=l&&(a=l-1),f>=g&&(f=g-1),l=window.innerWidth,g=window.innerHeight,d||this.Xj!==b||this.$j!==e||this.Zj!==a||this.Wj!==f||this.bk!==l|| +this.ak!==g?(this.Xj=b,this.$j=e,this.Zj=a,this.Wj=f,this.bk=l,this.ak=g,this.Kc&&(jQuery(this.u).show(),this.Kc=!1),d=Math.round(b)+jQuery(this.b.canvas).offset().left,l=Math.round(e)+jQuery(this.b.canvas).offset().top,jQuery(this.u).css("position","absolute"),jQuery(this.u).offset({left:d,top:l}),jQuery(this.u).width(Math.round(a-b)),jQuery(this.u).height(Math.round(f-e)),this.Sd&&jQuery(this.u).css("font-size",this.A.$b(!0)/this.b.devicePixelRatio-.2+"em")):this.Kc&&(jQuery(this.u).show(),this.Kc= +!1))}};l.Jc=function(){};l.Rb=function(){};f.prototype.sl=function(){return!0};d.e=new f;k.prototype.xl=function(d){this.b.N||(this.Rh?this.Vj.nodeValue=d:this.u.value=d)};k.prototype.wh=function(d){this.b.N||(this.visible=0!==d)};k.prototype.aj=function(d){this.b.N||(this.Xc.disabled=0===d)};k.prototype.Ys=function(){this.b.N||this.Xc.blur()};k.prototype.Yo=function(d,b){this.b.N||jQuery(this.u).css(d,b)};d.m=new k;d.n=new function(){}})();function V(f){this.b=f} +(function(){function f(a){return b(e(h(a),8*a.length))}function k(a,c){var d=h(a);16l;l++)g[l]=d[l]^909522486,f[l]=d[l]^1549556828;d=e(g.concat(h(c)),512+8*c.length);return b(e(f.concat(d),640))}function d(a,c){var b=c.length,e,d,g,h,f,l=Array(Math.ceil(a.length/2));for(e=0;e=e&&56320<=d&&57343>=d&&(e=65536+((e&1023)<<10)+(d&1023),b++),127>=e?c+=String.fromCharCode(e):2047>=e?c+=String.fromCharCode(192|e>>>6&31,128|e&63):65535>=e?c+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|e&63):2097151>= +e&&(c+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|e&63));return c}function h(a){for(var c=Array(a.length>>2),b=0;b>5]|=(a.charCodeAt(b/8)&255)<>5]>>>b%32&255);return c}function e(b,e){b[e>>5]|=128<>>9<<4)+14]=e;for(var d=1732584193,h=-271733879,f=-1732584194,l=271733878,m=0;m>16)+ +(c>>16)+(b>>16)<<16|b&65535}function m(a,c){return a<>>32-c}function q(a){return D(p(v(a),8*a.length))}function r(a,c){var b=v(a);16g;g++)e[g]=b[g]^909522486,d[g]=b[g]^1549556828;b=p(e.concat(v(c)),512+8*c.length);return D(p(d.concat(b),672))}function v(a){for(var c=Array(a.length>>2),b=0;b>5]|=(a.charCodeAt(b/8)&255)<<24-b%32;return c}function D(a){for(var c="",b=0;b<32*a.length;b+= +8)c+=String.fromCharCode(a[b>>5]>>>24-b%32&255);return c}function p(a,b){a[b>>5]|=128<<24-b%32;a[(b+64>>9<<4)+15]=b;for(var e=Array(80),d=1732584193,g=-271733879,h=-1732584194,f=271733878,l=-1009589776,n=0;nv;v++){e[v]=16>v?a[n+v]:m(e[v-3]^e[v-8]^e[v-14]^e[v-16],1);var w=c(c(m(d,5),20>v?g&h|~g&f:40>v?g^h^f:60>v?g&h|g&f|h&f:g^h^f),c(c(l,e[v]),20>v?1518500249:40>v?1859775393:60>v?-1894007588:-899497514)),l=f,f=h,h=m(g,30),g=d,d=w}d=c(d,p);g=c(g,q); +h=c(h,k);f=c(f,r);l=c(l,t)}return[d,g,h,f,l]}function G(a){return D(E(v(a),8*a.length))}function J(a,c){var b=v(a);16g;g++)e[g]=b[g]^909522486,d[g]=b[g]^1549556828;b=E(e.concat(v(c)),512+8*c.length);return D(E(d.concat(b),768))}function w(a,c){return a>>>c|a<<32-c}function E(a,b){var e=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],d=Array(64),g,h,f,l,m,n,p,q,k,r,t,v;a[b>>5]|=128<<24- +b%32;a[(b+64>>9<<4)+15]=b;for(k=0;kr;r++)16>r?t=a[r+k]:(t=d[r-15],v=d[r-2],t=c(c(c(w(v,17)^w(v,19)^v>>>10,d[r-7]),w(t,7)^w(t,18)^t>>>3),d[r-16])),d[r]=t,t=c(c(c(c(q,w(m,6)^w(m,11)^w(m,25)),m&n^~m&p),B[r]),d[r]),v=c(w(g,2)^w(g,13)^w(g,22),g&h^g&f^h&f),q=p,p=n,n=m,m=c(l,t),l=f,f=h,h=g,g=c(t,v);e[0]=c(g,e[0]);e[1]=c(h,e[1]);e[2]=c(f,e[2]);e[3]=c(l,e[3]);e[4]=c(m,e[4]);e[5]=c(n,e[5]);e[6]=c(p,e[6]);e[7]=c(q,e[7])}return e} +var u=V.prototype;u.K=function(a){this.W=a;this.b=a.b};u.K.prototype.F=function(){};u.H=function(a){this.type=a;this.b=a.b;this.od=""};var x=u.H.prototype;x.F=function(){this.Cm=0;this.Fl=" "};u.e={};u.e.Ta=function(){return!0};x.Gu=function(a){return this.Ci(f(l(a)))};x.Kt=function(a){return this.Bi(f(l(a)))};x.Bt=function(a,c){return d(f(l(a)),c)};x.Du=function(a,c){return this.Ci(k(l(a),l(c)))};x.Ht=function(a,c){return this.Bi(k(l(a),l(c)))};x.yt=function(a,c,b){return d(k(l(a),l(c)),b)};x.Hu= +function(a){return this.Ci(q(l(a)))};x.Lt=function(a){return this.Bi(q(l(a)))};x.Ct=function(a,c){return d(q(l(a)),c)};x.Eu=function(a,c){return this.Ci(r(l(a),l(c)))};x.It=function(a,c){return this.Bi(r(l(a),l(c)))};x.zt=function(a,c,b){return d(r(l(a),l(c)),b)};x.Iu=function(a){return this.Ci(G(l(a)))};x.Mt=function(a){return this.Bi(G(l(a)))};x.Dt=function(a,c){return d(G(l(a)),c)};x.Fu=function(a,c){return this.Ci(J(l(a),l(c)))};x.Jt=function(a,c){return this.Bi(J(l(a),l(c)))};x.At=function(a, +c,b){return d(J(l(a),l(c)),b)};x.Ci=function(a){try{this.Cm}catch(c){this.Cm=0}for(var b=this.Cm?"0123456789ABCDEF":"0123456789abcdef",e="",d,g=0;g>>4&15)+b.charAt(d&15);return e};x.Bi=function(a){try{this.Fl}catch(c){this.Fl=""}for(var b="",e=a.length,d=0;dh;h++)b=8*d+6*h>8*a.length?b+this.Fl:b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>> +6*(3-h)&63);return b};u.m={};x=u.m;x.UG=function(a){this.Cm=0==a?0:1};x.TG=function(a){this.Fl=a};x.MF=function(a,c){this.od=0==c?this.Gu(a):this.Kt(a);this.b.trigger(V.prototype.e.Ta,this)};x.NF=function(a,c){this.od=this.Bt(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.EF=function(a,c,b){this.od=0==b?this.Du(a,c):this.Ht(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.FF=function(a,c,b){this.od=this.yt(a,c,b);this.b.trigger(V.prototype.e.Ta,this)};x.aG=function(a,c){this.od=0==c?this.Hu(a):this.Lt(a); +this.b.trigger(V.prototype.e.Ta,this)};x.bG=function(a,c){this.od=this.Ct(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.wF=function(a,c,b){this.od=0==b?this.Eu(a,c):this.It(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.xF=function(a,c,b){this.od=this.zt(a,c,b);this.b.trigger(V.prototype.e.Ta,this)};x.eG=function(a,c){this.od=0==c?this.Iu(a):this.Mt(a);this.b.trigger(V.prototype.e.Ta,this)};x.fG=function(a,c){this.od=this.Dt(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.BF=function(a,c,b){this.od= +0==b?this.Fu(a,c):this.Jt(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.CF=function(a,c,b){this.od=this.At(a,c,b);this.b.trigger(V.prototype.e.Ta,this)};u.n={};u=u.n;u.BG=function(a){a.M(this.od)};u.KF=function(a,c){a.M(this.Gu(c));this.b.trigger(V.prototype.e.Ta,this)};u.LF=function(a,c){a.M(this.Kt(c));this.b.trigger(V.prototype.e.Ta,this)};u.OF=function(a,c,b){a.M(this.Bt(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.rF=function(a,c,b){a.M(this.Du(c,b));this.b.trigger(V.prototype.e.Ta,this)}; +u.sF=function(a,c,b){a.M(this.Ht(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.tF=function(a,c,b,e){a.M(this.yt(c,b,e));this.b.trigger(V.prototype.e.Ta,this)};u.ZF=function(a,c){a.M(this.Hu(c));this.b.trigger(V.prototype.e.Ta,this)};u.$F=function(a,c){a.M(this.Lt(c));this.b.trigger(V.prototype.e.Ta,this)};u.cG=function(a,c,b){a.M(this.Ct(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.uF=function(a,c,b){a.M(this.Eu(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.vF=function(a,c,b){a.M(this.It(c,b)); +this.b.trigger(V.prototype.e.Ta,this)};u.yF=function(a,c,b,e){a.M(this.zt(c,b,e));this.b.trigger(V.prototype.e.Ta,this)};u.Nz=function(a,c){a.M(this.Iu(c));this.b.trigger(V.prototype.e.Ta,this)};u.dG=function(a,c){a.M(this.Mt(c));this.b.trigger(V.prototype.e.Ta,this)};u.gG=function(a,c,b){a.M(this.Dt(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.zF=function(a,c,b){a.M(this.Fu(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.AF=function(a,c,b){a.M(this.Jt(c,b));this.b.trigger(V.prototype.e.Ta,this)}; +u.DF=function(a,c,b,e){a.M(this.At(c,b,e));this.b.trigger(V.prototype.e.Ta,this)};var B=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051, +-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998]})();function Ac(f){this.b=f} +(function(){function f(){}function k(){}function d(){}var l=Ac.prototype;l.K=function(b){this.W=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b){this.type=b;this.b=b.b};var h=l.H.prototype;h.F=function(){this.Qb={};this.Vl="";this.ng=0};h.ua=function(){return this.Qb};h.Ea=function(b){this.Qb=b;this.ng=0;for(var e in this.Qb)this.Qb.hasOwnProperty(e)&&this.ng++};f.prototype.Wx=function(){var b=this.b.$a().Za,e;for(e in this.Qb)this.Qb.hasOwnProperty(e)&&(this.Vl=e,this.b.ie(b.aa),b.td(), +this.b.bd(b.aa));this.Vl="";return!1};f.prototype.ws=function(){return 0===this.ng};l.e=new f;k.prototype.nx=function(b,e){this.Qb.hasOwnProperty(b)||this.ng++;this.Qb[b]=e};k.prototype.Yz=function(b,e){this.Qb.hasOwnProperty(b)&&(this.Qb[b]=e)};k.prototype.hs=function(){Ya(this.Qb);this.ng=0};k.prototype.Mo=function(b){var e;try{e=JSON.parse(b)}catch(a){return}if(e.c2dictionary){this.Qb=e.data;this.ng=0;for(var d in this.Qb)this.Qb.hasOwnProperty(d)&&this.ng++}};l.m=new k;d.prototype.Yx=function(b, +e){this.Qb.hasOwnProperty(e)?b.Cf(this.Qb[e]):b.J(0)};d.prototype.xs=function(b){b.J(this.ng)};d.prototype.Mx=function(b){this.Qb.hasOwnProperty(this.Vl)?b.Cf(this.Qb[this.Vl]):b.J(0)};d.prototype.ll=function(b){b.M(JSON.stringify({c2dictionary:!0,data:this.Qb}))};l.n=new d})();function vc(f){this.b=f} +(function(){function f(){this.name="";this.yi=0;this.S=[]}function k(){n++;n===a.length&&a.push(new f);return a[n]}function d(){return 0>n?null:a[n]}function l(){}function h(){}function b(){}var e=vc.prototype;e.K=function(a){this.W=a;this.b=a.b};e.K.prototype.F=function(){};e.H=function(a){this.type=a;this.b=a.b};var a=[],n=-1;e.H.prototype.F=function(){var a=this;window.c2_callFunction=function(b,c){var e,d,h,f=k();f.name=b.toLowerCase();f.yi=0;if(c)for(f.S.length=c.length,e=0,d=c.length;ea||a>=e.S.length?!1:lc(e.S[a],b,c)};e.e=new l;h.prototype.CallFunction=function(a,b){var c=k();c.name=a.toLowerCase();c.yi=0;Ba(c.S,b);this.b.trigger(vc.prototype.e.ul,this,c.name);n--};h.prototype.eA=function(a){var b= +d();b&&(b.yi=a)};e.m=new h;b.prototype.wz=function(a){var b=d();b?a.J(b.S.length):a.J(0)};b.prototype.vz=function(a,b){b=ra(b);var c=d();c?0<=b&&bd;++d)if(this.Uj[d]){this.Uj[d]=!1;this.Kf=d;this.b.trigger(Bc.prototype.e.ys,this);var b=this.b.trigger(Bc.prototype.e.Ls,this),e=this.b.trigger(Bc.prototype.e.Ks,this);if(b||e)this.bl[d]=!0}};d.ua=function(){return{triggerKey:this.Kf}};d.Ea=function(d){this.Kf=d.triggerKey};f.prototype.Js=function(d){return d===this.Kf};f.prototype.Sy=function(){return!0};f.prototype.ys=function(){return!0};f.prototype.Ls= +function(d){return d===this.Kf};f.prototype.ez=function(d){return d===this.Kf};f.prototype.Ks=function(d){return d===this.Kf};k.e=new f;k.m=new function(){};k.n=new function(){}})();var Cc=!1; +try{!function(){var f,k,d;!function(){var l={},h={};f=function(b,e,a){l[b]={qB:e,fB:a}};d=k=function(b){function e(a){if("."!==a.charAt(0))return a;a=a.split("/");for(var c=b.split("/").slice(0,-1),e=0,d=a.length;d>e;e++){var g=a[e];".."===g?c.pop():"."!==g&&c.push(g)}return c.join("/")}if(d.uG=l,h[b])return h[b];if(h[b]={},!l[b])throw Error("Could not find module "+b);for(var a,f=l[b],t=f.qB,f=f.fB,g=[],c=0,m=t.length;m>c;c++)"exports"===t[c]?g.push(a={}):g.push(k(e(t[c])));t=f.apply(this,g);return h[b]= +a||t}}();f("promise/all",["./utils","exports"],function(d,f){var b=d.isArray,e=d.isFunction;f.all=function(a){if(!b(a))throw new TypeError("You must pass an array to all.");return new this(function(b,d){function g(a){return function(c){f[a]=c;0===--h&&b(f)}}var c,f=[],h=a.length;0===h&&b([]);for(var l=0;lb;b++){var d=a[b];this.supports(d)&&c.push(d)}return c},f.prototype.it=function(){for(var a=0;ag;g++)d[g]=c.charCodeAt(g);return f([e],{type:a.type})}function k(a){var c=this,b=c.gp().then(function(){var a=B[c.Pa.name];return a&&a.Gh?a.Gh:void 0});return b.then(a,a),b}function g(a){a=B[a.name];var c={};c.promise=new Promise(function(a){c.resolve=a});a.$t.push(c);a.Gh?a.Gh=a.Gh.then(function(){return c.promise}): +a.Gh=c.promise}function c(a){function c(){return Promise.resolve()}var b=this,e={db:null};if(a)for(var g in a)e[g]=a[g];B||(B={});var f=B[e.name];f||(f={mm:[],db:null,Gh:null,$t:[]},B[e.name]=f);f.mm.push(b);b.gp||(b.gp=b.ready,b.ready=k);a=[];for(g=0;ge.db.version;(e.versione.version&&(e.version=c)),c=!0):c=!1}else c=!0;return c?m(e,!0):a}).then(function(a){e.db=f.db=a;b.Pa=e;for(a=0;a=c.oldVersion&&b.createObjectStore(N)}catch(e){if("ConstraintError"!==e.name)throw e;d.console.warn('The database "'+a.name+'" has been upgraded from version '+c.oldVersion+" to version "+c.newVersion+', but the storage "'+a.Sa+'" already exists.')}});h.onerror=function(){e(h.error)};h.onsuccess=function(){b(h.result);var c=B[a.name].$t.pop(); +c&&c.resolve()}})}function q(a,c){var b=this;"string"!=typeof a&&(d.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa,g=d.db.transaction(d.Sa,"readonly").objectStore(d.Sa).get(a);g.onsuccess=function(){var a=g.result;void 0===a&&(a=null);a&&a.gt&&(a=n(a));c(a)};g.onerror=function(){e(g.error)}})["catch"](e)});return E(e,c),e}function r(a,c){var b=this,e=new Promise(function(c,e){b.ready().then(function(){var d= +b.Pa,g=d.db.transaction(d.Sa,"readonly").objectStore(d.Sa).openCursor(),f=1;g.onsuccess=function(){var b=g.result;if(b){var e=b.value;e&&e.gt&&(e=n(e));e=a(e,b.key,f++);void 0!==e?c(e):b["continue"]()}else c()};g.onerror=function(){e(g.error)}})["catch"](e)});return E(e,c),e}function v(c,b,g){var f=this;"string"!=typeof c&&(d.console.warn(c+" used as a key, but it is not a string."),c=String(c));var h=new Promise(function(d,g){var h;f.ready().then(function(){return h=f.Pa,b instanceof Blob?e(h.db).then(function(c){return c? +b:a(b)}):b}).then(function(a){var b=h.db.transaction(h.Sa,"readwrite"),e=b.objectStore(h.Sa);null===a&&(a=void 0);b.oncomplete=function(){void 0===a&&(a=null);d(a)};b.onabort=b.onerror=function(){g(f.error?f.error:f.transaction.error)};var f=e.put(a,c)})["catch"](g)});return E(h,g),h}function D(a,c){var b=this;"string"!=typeof a&&(d.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa,g=d.db.transaction(d.Sa,"readwrite"), +f=g.objectStore(d.Sa)["delete"](a);g.oncomplete=function(){c()};g.onerror=function(){e(f.error)};g.onabort=function(){e(f.error?f.error:f.transaction.error)}})["catch"](e)});return E(e,c),e}function p(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa,d=e.db.transaction(e.Sa,"readwrite"),g=d.objectStore(e.Sa).clear();d.oncomplete=function(){a()};d.onabort=d.onerror=function(){b(g.error?g.error:g.transaction.error)}})["catch"](b)});return E(b,a),b}function G(a){var c=this, +b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa,d=e.db.transaction(e.Sa,"readonly").objectStore(e.Sa).count();d.onsuccess=function(){a(d.result)};d.onerror=function(){b(d.error)}})["catch"](b)});return E(b,a),b}function J(a,c){var b=this,e=new Promise(function(c,e){return 0>a?void c(null):void b.ready().then(function(){var d=b.Pa,g=!1,f=d.db.transaction(d.Sa,"readonly").objectStore(d.Sa).openCursor();f.onsuccess=function(){var b=f.result;return b?void(0===a?c(b.key):g?c(b.key):(g= +!0,b.advance(a))):void c(null)};f.onerror=function(){e(f.error)}})["catch"](e)});return E(e,c),e}function w(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa,d=e.db.transaction(e.Sa,"readonly").objectStore(e.Sa).openCursor(),g=[];d.onsuccess=function(){var c=d.result;return c?(g.push(c.key),void c["continue"]()):void a(g)};d.onerror=function(){b(d.error)}})["catch"](b)});return E(b,a),b}function E(a,c){c&&a.then(function(a){c(null,a)},function(a){c(a)})}var u=u||d.indexedDB|| +d.webkitIndexedDB||d.mozIndexedDB||d.av||d.msIndexedDB;if(u){var x,B,N="local-forage-detect-blob-support";return{kj:"asyncStorage",hp:c,$u:r,getItem:q,setItem:v,removeItem:D,clear:p,length:G,key:J,keys:w}}}("undefined"!=typeof window?window:self);f.ve=k["default"]},function(f,k,d){k.yl=!0;k["default"]=function(f){function h(a,b){b&&a.then(function(a){b(null,a)},function(a){b(a)})}var b=null;try{if(!(f.localStorage&&"setItem"in f.localStorage))return;b=f.localStorage}catch(e){return}return{kj:"localStorageWrapper", +hp:function(a){var b={};if(a)for(var e in a)b[e]=a[e];return b.Ce=b.name+"/",b.Sa!==this.fp.Sa&&(b.Ce+=b.Sa+"/"),this.Pa=b,(new Promise(function(a){a(d(3))})).then(function(a){return b.mh=a,Promise.resolve()})},$u:function(a,e){var d=this,g=d.ready().then(function(){for(var c=d.Pa,e=c.Ce,g=e.length,f=b.length,h=1,l=0;f>l;l++){var n=b.key(l);if(0===n.indexOf(e)){var k=b.getItem(n);if(k&&(k=c.mh.$l(k)),k=a(k,n.substring(g),h++),void 0!==k)return k}}});return h(g,e),g},getItem:function(a,e){var d=this; +"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var g=d.ready().then(function(){var c=d.Pa,e=b.getItem(c.Ce+a);return e&&(e=c.mh.$l(e)),e});return h(g,e),g},setItem:function(a,e,d){var g=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var c=g.ready().then(function(){void 0===e&&(e=null);var c=e;return new Promise(function(d,f){var h=g.Pa;h.mh.serialize(e,function(e,g){if(g)f(g);else try{b.setItem(h.Ce+ +a,e),d(c)}catch(l){"QuotaExceededError"!==l.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==l.name||f(l),f(l)}})})});return h(c,d),c},removeItem:function(a,e){var d=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var g=d.ready().then(function(){b.removeItem(d.Pa.Ce+a)});return h(g,e),g},clear:function(a){var e=this,d=e.ready().then(function(){for(var a=e.Pa.Ce,c=b.length-1;0<=c;c--){var d=b.key(c);0===d.indexOf(a)&&b.removeItem(d)}});return h(d,a),d},length:function(a){var b= +this.keys().then(function(a){return a.length});return h(b,a),b},key:function(a,e){var d=this,g=d.ready().then(function(){var c,e=d.Pa;try{c=b.key(a)}catch(g){c=null}return c&&(c=c.substring(e.Ce.length)),c});return h(g,e),g},keys:function(a){var e=this,d=e.ready().then(function(){for(var a=e.Pa,c=b.length,d=[],f=0;c>f;f++)0===b.key(f).indexOf(a.Ce)&&d.push(b.key(f).substring(a.Ce.length));return d});return h(d,a),d}}}("undefined"!=typeof window?window:self);f.ve=k["default"]},function(f,k){k.yl=!0; +k["default"]=function(d){function f(a){var e,d,g,c,h;e=.75*a.length;var l=a.length,k=0;"="===a[a.length-1]&&(e--,"="===a[a.length-2]&&e--);var v=new ArrayBuffer(e),D=new Uint8Array(v);for(e=0;l>e;e+=4)d=b.indexOf(a[e]),g=b.indexOf(a[e+1]),c=b.indexOf(a[e+2]),h=b.indexOf(a[e+3]),D[k++]=d<<2|g>>4,D[k++]=(15&g)<<4|c>>2,D[k++]=(3&c)<<6|63&h;return v}function h(a){var e=new Uint8Array(a),d="";for(a=0;a>2],d+=b[(3&e[a])<<4|e[a+1]>>4],d+=b[(15&e[a+1])<<2|e[a+2]>>6],d+=b[63&e[a+2]]; +return 2===e.length%3?d=d.substring(0,d.length-1)+"=":1===e.length%3&&(d=d.substring(0,d.length-2)+"=="),d}var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=/^~~local_forage_type~([^~]+)~/;return{serialize:function(a,b){var e="";if(a&&(e=a.toString()),a&&("[object ArrayBuffer]"===a.toString()||a.buffer&&"[object ArrayBuffer]"===a.buffer.toString())){var d,c="__lfsc__:";a instanceof ArrayBuffer?(d=a,c+="arbf"):(d=a.buffer,"[object Int8Array]"===e?c+="si08":"[object Uint8Array]"=== +e?c+="ui08":"[object Uint8ClampedArray]"===e?c+="uic8":"[object Int16Array]"===e?c+="si16":"[object Uint16Array]"===e?c+="ur16":"[object Int32Array]"===e?c+="si32":"[object Uint32Array]"===e?c+="ui32":"[object Float32Array]"===e?c+="fl32":"[object Float64Array]"===e?c+="fl64":b(Error("Failed to get type for BinaryArray")));b(c+h(d))}else if("[object Blob]"===e)e=new FileReader,e.onload=function(){var c="~~local_forage_type~"+a.type+"~"+h(this.result);b("__lfsc__:blob"+c)},e.readAsArrayBuffer(a);else try{b(JSON.stringify(a))}catch(f){console.error("Couldn't convert value into a JSON string: ", +a),b(null,f)}},$l:function(a){if("__lfsc__:"!==a.substring(0,9))return JSON.parse(a);var b,h=a.substring(13);a=a.substring(9,13);if("blob"===a&&e.test(h)){var g=h.match(e);b=g[1];h=h.substring(g[0].length)}h=f(h);switch(a){case "arbf":return h;case "blob":var c;h=[h];b={type:b};h=h||[];b=b||{};try{c=new Blob(h,b)}catch(m){if("TypeError"!==m.name)throw m;c=new (d.BlobBuilder||d.Td||d.iu||d.WebKitBlobBuilder);for(a=0;ah;h++){var l=g.item(h),m=l.value;if(m&&(m=d.mh.$l(m)),m=a(m,l.key,h+1),void 0!==m)return void c(m)}c()},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function a(a,c,b){var e=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var d=new Promise(function(b,d){e.ready().then(function(){void 0===c&&(c=null);var g=c,f=e.Pa;f.mh.serialize(c,function(c,e){e?d(e):f.db.transaction(function(e){e.executeSql("INSERT OR REPLACE INTO "+f.Sa+ +" (key, value) VALUES (?, ?)",[a,c],function(){b(g)},function(a,c){d(c)})},function(a){a.code===a.QUOTA_ERR&&d(a)})})})["catch"](d)});return q(d,b),d}function n(a,c){var b=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa;d.db.transaction(function(b){b.executeSql("DELETE FROM "+d.Sa+" WHERE key = ?",[a],function(){c()},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function k(a){var c= +this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa;e.db.transaction(function(c){c.executeSql("DELETE FROM "+e.Sa,[],function(){a()},function(a,c){b(c)})})})["catch"](b)});return q(b,a),b}function g(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa;e.db.transaction(function(c){c.executeSql("SELECT COUNT(key) as c FROM "+e.Sa,[],function(c,b){var e=b.rows.item(0).pj;a(e)},function(a,c){b(c)})})})["catch"](b)});return q(b,a),b}function c(a,c){var b=this, +e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa;d.db.transaction(function(b){b.executeSql("SELECT key FROM "+d.Sa+" WHERE id = ? LIMIT 1",[a+1],function(a,b){var e=b.rows.length?b.rows.item(0).key:null;c(e)},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function m(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa;e.db.transaction(function(c){c.executeSql("SELECT key FROM "+e.Sa,[],function(c,b){for(var e=[],d=0;d(b.wheelDelta?b.wheelDelta:b.detail?-b.detail: +0)?0:1;this.dq=!1;this.b.La=!0;this.b.trigger(Gc.prototype.e.uz,this);this.b.La=!1;this.dq&&mb(b)&&b.preventDefault()};l.kh=function(){var b,e;b=0;for(e=this.zh.length;bf&&(f+=b);0>q&&(q+=e);d.translate(f+c,q+m);d.fillRect(a-f-c,n-q-m,k,g);d.restore()}var k=Hc.prototype;k.K=function(d){this.W=d;this.b=d.b};var d=k.K.prototype;d.F=function(){this.V||(this.qa=new Image,this.qa.wp=this.co,this.b.Wr(this.qa,this.bo),this.gl=this.jl=this.il=this.hl=this.Ui=this.ya=this.Ot=this.Sw=this.ow=this.lv=this.Np=null)};d.vk=function(){this.V||(this.gl=this.jl=this.il=this.hl=this.Ui=this.ya=null)}; +d.dn=function(){this.V||!this.k.length||this.ya||(this.ya=this.b.G.fe(this.qa,!0,this.b.ab,this.Ni))};d.lo=function(){this.V||this.k.length||!this.b.G||(this.b.G.deleteTexture(this.ya),this.b.G.deleteTexture(this.Ui),this.b.G.deleteTexture(this.hl),this.b.G.deleteTexture(this.il),this.b.G.deleteTexture(this.jl),this.b.G.deleteTexture(this.gl),this.gl=this.jl=this.il=this.hl=this.Ui=this.ya=null)};d.Ne=function(d,f,b,e){var a=document.createElement("canvas");b=b-d;e=e-f;a.width=b;a.height=e;a.getContext("2d").drawImage(this.qa, +d,f,b,e,0,0,b,e);return a};d.oB=function(d,f,b,e){var a=this.qa.width,n=this.qa.height,k=a-f,g=n-e;if(this.b.G){if(!this.Ui){var c=this.b.G,m=this.b.ab,q=this.Ni;k>d&&g>b&&(this.Ui=c.fe(this.Ne(d,b,k,g),!0,m,q));0b&&(this.hl=c.fe(this.Ne(0,b,d,g),!0,m,q,"repeat-y"));0b&&(this.il=c.fe(this.Ne(k,b,a,g),!0,m,q,"repeat-y"));0d&&(this.jl=c.fe(this.Ne(d,0,k,b),!0,m,q,"repeat-x"));0d&&(this.gl=c.fe(this.Ne(d,g,k,n),!0,m,q,"repeat-x"))}}else this.Np||(c=this.b.fb,k>d&&g>b&&(this.Np= +c.createPattern(this.Ne(d,b,k,g),"repeat")),0b&&(this.lv=c.createPattern(this.Ne(0,b,d,g),"repeat")),0b&&(this.ow=c.createPattern(this.Ne(k,b,a,g),"repeat")),0d&&(this.Sw=c.createPattern(this.Ne(d,0,k,b),"repeat")),0d&&(this.Ot=c.createPattern(this.Ne(d,g,k,n),"repeat")))};k.H=function(d){this.type=d;this.b=d.b};d=k.H.prototype;d.F=function(){this.Cq=this.q[0];this.mr=this.q[1];this.Ir=this.q[2];this.op=this.q[3];this.cm=this.q[4];this.fill=this.q[5];this.visible=0===this.q[6]; +this.rw=0!==this.q[8];this.Bc?this.Le.set(0,0,0,0):this.Le=new va(0,0,0,0);this.b.G&&!this.type.ya&&(this.type.ya=this.b.G.fe(this.type.qa,!1,this.b.ab,this.type.Ni));this.type.oB(this.Cq,this.mr,this.Ir,this.op)};d.Jc=function(d){var h=this.type.qa,b=this.Cq,e=this.mr,a=this.Ir,n=this.op,k=h.width,g=h.height,c=k-e,m=g-n;d.globalAlpha=this.opacity;d.save();var q=this.x,r=this.y,v=this.width,D=this.height;this.b.rd&&(q=Math.round(q),r=Math.round(r));var p=-(this.Lc*this.width),G=-(this.Mc*this.height), +J=p%k,w=G%g;0>J&&(J+=k);0>w&&(w+=g);d.translate(q+J,r+w);k=p-J;G-=w;w=this.rw?1:0;0a&&f(d,this.type.lv,b,m-a,k,G+a,b+w,D-a-n,0,0),0a&&f(d,this.type.ow,e,m-a,k+v-e-w,G+a,e+w,D-a-n,w,0),0b&&f(d,this.type.Sw,c-b,a,k+b,G,v-b-e, +a+w,0,0),0b&&f(d,this.type.Ot,c-b,n,k+b,G+D-n-w,v-b-e,n+w,0,w)):1===this.cm&&(0a&&0a&&0b&&0b&&0a&&c>b&&(0===this.fill?f(d,this.type.Np,c-b,m-a,k+b,G+a,v-b-e,D-a-n,0,0):1===this.fill&&0e&&this.$k(d,this.type.hl,c,g+e,f+r,q-e-a,0,0),0e&&this.$k(d,this.type.il,c+m-b-r,g+e,b+r,q-e-a,r,0),0f&&this.$k(d,this.type.jl, +c+f,g,m-f-b,e+r,0,0),0f&&this.$k(d,this.type.gl,c+f,g+q-a-r,m-f-b,a+r,0,r)):1===this.cm&&(0e&&this.ff(d,this.type.ya,0,e,f,k-e,c,g+e,f,q-e-a),0e&&this.ff(d,this.type.ya,n,e,b,k-e,c+m-b,g+e,b,q-e-a),0f&&this.ff(d,this.type.ya,f,0,n-f,e,c+f,g,m-f-b,e),0f&&this.ff(d,this.type.ya,f,k,n-f,a,c+f,g+q-a,m-f-b,a));k>e&&n>f&&(0===this.fill?this.$k(d,this.type.Ui,c+f,g+e,m-f-b,q-e-a,0,0):1===this.fill&&this.ff(d,this.type.ya,f,e,n-f,k-e,c+f,g+e,m-f-b,q-e-a))};k.e=new function(){}; +k.m=new function(){};k.n=new function(){}})();function Ic(f){this.b=f} +(function(){function f(d){this.eb=d;this.Wa=!1;this.B=this.speed=this.y=this.x=0;this.opacity=1;this.Uf=this.Oh=this.size=this.xm=0}var k=Ic.prototype;k.K=function(d){this.W=d;this.b=d.b};var d=k.K.prototype;d.F=function(){this.V||(this.qa=new Image,this.qa.wp=this.co,this.ya=null,this.b.Wr(this.qa,this.bo))};d.vk=function(){this.V||(this.ya=null)};d.dn=function(){this.V||!this.k.length||this.ya||(this.ya=this.b.G.fe(this.qa,!0,this.b.ab,this.Ni))};d.Dq=function(){this.V||this.ya||!this.b.G||(this.ya= +this.b.G.fe(this.qa,!0,this.b.ab,this.Ni))};d.lo=function(){this.V||this.k.length||!this.ya||(this.b.G.deleteTexture(this.ya),this.ya=null)};d.cr=function(d){d.drawImage(this.qa,0,0)};f.prototype.init=function(){var d=this.eb;this.x=d.x-d.wo/2+Math.random()*d.wo;this.y=d.y-d.zo/2+Math.random()*d.zo;this.speed=d.mq-d.Un/2+Math.random()*d.Un;this.B=d.B-d.Vn/2+Math.random()*d.Vn;this.opacity=d.kq;this.size=d.lq-d.Sn/2+Math.random()*d.Sn;this.xm=d.cq-d.ym/2+Math.random()*d.ym;this.Uf=this.Oh=0};f.prototype.Ba= +function(d){var b=this.eb;this.x+=Math.cos(this.B)*this.speed*d;this.y+=Math.sin(this.B)*this.speed*d;this.y+=this.Oh*d;this.speed+=b.Qf*d;this.size+=this.xm*d;this.Oh+=b.Rp*d;this.Uf+=d;1>this.size?this.Wa=!1:(0!==b.dk&&(this.B+=Math.random()*b.dk*d-b.dk*d/2),0!==b.fk&&(this.speed+=Math.random()*b.fk*d-b.fk*d/2),0!==b.ek&&(this.opacity+=Math.random()*b.ek*d-b.ek*d/2,0>this.opacity?this.opacity=0:1=b.Hh&&this.Uf>=b.timeout&&(this.Wa=!1),2===b.Hh&&0>=this.speed&& +(this.Wa=!1))};f.prototype.Jc=function(d){var b=this.eb.opacity*this.opacity;if(0!==b){0===this.eb.Hh&&(b*=1-this.Uf/this.eb.timeout);d.globalAlpha=b;var b=this.x-this.size/2,e=this.y-this.size/2;this.eb.b.rd&&(b=b+.5|0,e=e+.5|0);d.drawImage(this.eb.type.qa,b,e,this.size,this.size)}};f.prototype.Rb=function(d){var b=this.eb.opacity*this.opacity;0===this.eb.Hh&&(b*=1-this.Uf/this.eb.timeout);var e=this.size,a=e*this.eb.ew,f=this.x-e/2,l=this.y-e/2;this.eb.b.rd&&(f=f+.5|0,l=l+.5|0);1>a||0===b||(ad.Jq?(d.xg(b),d.wi(f,l,f+e,l,f+e,l+e,f,l+e)):d.fE(this.x,this.y,a,b))};f.prototype.left=function(){return this.x-this.size/2};f.prototype.right=function(){return this.x+this.size/2};f.prototype.top=function(){return this.y-this.size/2};f.prototype.bottom=function(){return this.y+this.size/2};k.H=function(d){this.type=d;this.b=d.b};var d=k.H.prototype,l=[];d.F=function(){var d=this.q;this.Cn=d[0];this.Vn=A(d[1]);this.Hi=d[2];this.Dr=!0;this.mq=d[3];this.lq=d[4];this.kq=d[5]/100;this.cq=d[6];this.wo= +d[7];this.zo=d[8];this.Un=d[9];this.Sn=d[10];this.ym=d[11];this.Qf=d[12];this.Rp=d[13];this.dk=d[14];this.fk=d[15];this.ek=d[16];this.Hh=d[17];this.timeout=d[18];this.lh=0;this.ew=1;this.qn=this.x;this.sn=this.y;this.rn=this.x;this.pn=this.y;this.UA(function(b){b.ma.set(b.qn,b.sn,b.rn,b.pn);b.nc.Gi(b.ma);b.Kl=!1;b.Tr();b.gx()});this.Bc||(this.Ac=[]);this.b.Hf(this);this.type.Dq();if(1===this.Hi)for(d=0;dthis.rn&&(this.rn=a.right()),a.top()this.pn&&(this.pn=a.bottom()),f++): +l.push(a);Aa(this.Ac,f);this.wa();this.km=!1;1===this.Hi&&0===this.Ac.length&&this.b.Te(this)};d.Jc=function(d){var b,e,a,f=this.A;b=0;for(e=this.Ac.length;b=f.Ia&&a.bottom()>=f.Ja&&a.left()<=f.Oa&&a.top()<=f.Na&&a.Jc(d)};d.Rb=function(d){this.ew=this.A.$b();d.Cc(this.type.ya);var b,e,a,f=this.A;b=0;for(e=this.Ac.length;b=f.Ia&&a.bottom()>=f.Ja&&a.left()<=f.Oa&&a.top()<=f.Na&&a.Rb(d)};k.e=new function(){};k.m=new function(){};k.n=new function(){}})(); +function Jc(f){this.b=f} +(function(){function f(b){"number"===typeof b?(b=Fa(b,0,1),b=-60*(1-b)):b=parseFloat(b);return b}function k(){}var d=Jc.prototype;d.K=function(b){this.W=b;this.b=b.b};d.K.prototype.F=function(){};d.H=function(b){this.type=b;this.b=b.b};var l=d.H.prototype,h={value:0,Cf:function(b){this.value=b},J:function(b){this.value=b},C:function(b){this.value=b},M:function(b){this.value=b}};l.F=function(){this.hx=1===this.q[0]?"undefined"!==typeof AudioContext:!1;this.audio=null;this.ki=-1;this.b.Hf(this);this.Ld= +new Jc.Td(this);this.ri={}};l.We=function(){if(null!=this.audio)return this.audio;var b=this.b.types,e,a;for(e in b)if(a=b[e].k[0],a instanceof yc.prototype.H)return this.audio=a;return null};l.Ba=function(){this.Ld.Ba()};l.Tx=function(b,e,a,d,f){this.Ld.Cg(b);b=this.Ld.dt(b);0=b.target:b.current<=b.target;this.xx(b.tag,e?b.target:b.current);return!e};l.TaskNOOP=function(b){var e=this.b.Zd(this);if(0==e)return!0;b.Jk-=e;return 0<=b.Jk};l.TaskStop=function(b){this.es(b.tag)};l.TaskPause=function(b){this.Do(b.tag,0)};l.yx=function(b,e,a,d,f){var g=this.We();null==f?yc.prototype.m.Play.call(g,b,e,a,d):yc.prototype.m.Wo.call(g,f,b,e,a,d)};l.es=function(b){var e=this.We();yc.prototype.m.ej.call(e,b)};l.Do=function(b,e){var a=this.We();yc.prototype.m.$s.call(a, +b,e)};l.xx=function(b,e){var a=this.We();yc.prototype.m.ct.call(a,b,e)};l.Co=function(b){var e=this.We();yc.prototype.n.FA.call(e,h,b);return h.value};l.ds=function(b){var e=this.We();yc.prototype.m.Hz.call(e,b)};l.vx=function(b,e){var a=this.We();yc.prototype.m.mx.call(a,b,e)};l.wx=function(b,e,a){var d=this.We();yc.prototype.m.Sz.call(d,b,0,4,e,1,a)};l.ol=function(b){var e=this.We();return yc.prototype.e.ol.call(e,b)};l.Play=function(b,e,a,d,f,g,c){this.hx&&this.ds(g);this.yx(b,f,a,g,c);ea?this.Vi(b,d,a,e,"TaskStop"):this.es(b)}}; +k.prototype.ct=function(b,e,a){b=b.toLowerCase();var d=this.Co(b);e=f(e);this.Ld.Cg(b);this.Vi(b,d,e,a)};k.prototype.Wo=function(b,e,a,d,h,g,c){h=h.toLowerCase();this.Play(e,f(c),f(d),g,a,h,b)};k.prototype.$s=function(b,e,a){b=b.toLowerCase();if(0==e){var d=this.Co(b);this.Ld.Cg(b);-60this.U&&(this.U=0);this.U>=this.Ya.frames.length&&(this.U=this.Ya.frames.length-1);var a=this.Ya.frames[this.U];this.Qa.Ok(a.vn);this.Lc=a.Lc;this.Mc=a.Mc;this.Eh=this.Ya.speed;this.ag=this.Ya.lr;1===this.type.Fb.length&&1===this.type.Fb[0].frames.length||0===this.Eh||(this.b.Hf(this),this.Pj=!0);this.Bc?this.re.reset():this.re= +new db;this.mf=this.re.P;this.Wf=!0;this.Ye=0;this.Eg=!0;this.Ch=this.ut="";this.Tt=0;this.Pl=-1;this.type.Dq();var c,b,e,d,f,g,h,a=0;for(c=this.type.Fb.length;athis.U&&(this.U=0);this.U>=this.Ya.frames.length&&(this.U=this.Ya.frames.length-1);this.Eh=a.cas;this.mf=a.fs;this.Ye=a.ar;this.re.reset();this.re.P=a.at;this.Wf=a.hasOwnProperty("ap")?a.ap:!0;this.Eg=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")? +this.ag=a.rt:this.ag=this.Ya.lr;this.bb=this.Ya.frames[this.U];this.Ul=this.bb.ya;this.Qa.Ok(this.bb.vn);this.Lc=this.bb.Lc;this.Mc=this.bb.Mc};a.lp=function(a){this.U=a?0:this.Ya.frames.length-1;this.Wf=!1;this.ut=this.Ya.name;this.Dm=!0;this.b.trigger(I.prototype.e.Oy,this);this.b.trigger(I.prototype.e.Ny,this);this.Dm=!1;this.Ye=0};a.Td=function(){return this.re.P};a.Ba=function(){this.re.add(this.b.Zd(this));this.Ch.length&&this.au();0<=this.Pl&&this.bu();var a=this.re.P,c=this.Ya,b=c.frames[this.U], +e=b.duration/this.Eh;this.Wf&&a>=this.mf+e&&(this.Eg?this.U++:this.U--,this.mf+=e,this.U>=c.frames.length&&(c.xf?(this.Eg=!1,this.U=c.frames.length-2):c.loop?this.U=this.ag:(this.Ye++,this.Ye>=c.kr?this.lp(!1):this.U=this.ag)),0>this.U&&(c.xf?(this.U=1,this.Eg=!0,c.loop||(this.Ye++,this.Ye>=c.kr&&this.lp(!0))):c.loop?this.U=this.ag:(this.Ye++,this.Ye>=c.kr?this.lp(!0):this.U=this.ag)),0>this.U?this.U=0:this.U>=c.frames.length&&(this.U=c.frames.length-1),a>this.mf+c.frames[this.U].duration/this.Eh&& +(this.mf=a),a=c.frames[this.U],this.vh(b,a),this.b.ja=!0)};a.uu=function(a){var c,b,e;c=0;for(b=this.type.Fb.length;cthis.U&&(this.U=0),this.U>=this.Ya.frames.length&& +(this.U=this.Ya.frames.length-1),1===this.Tt&&(this.U=0),this.Wf=!0,this.mf=this.re.P,this.Eg=!0,this.vh(a,this.Ya.frames[this.U]),this.b.ja=!0)};a.bu=function(){var a=this.Ya.frames[this.U],c=this.U;this.U=ra(this.Pl);0>this.U&&(this.U=0);this.U>=this.Ya.frames.length&&(this.U=this.Ya.frames.length-1);c!==this.U&&(this.vh(a,this.Ya.frames[this.U]),this.mf=this.re.P,this.b.ja=!0);this.Pl=-1};a.vh=function(a,c){var b=a.width,e=a.height,d=c.width,f=c.height;b!=d&&(this.width*=d/b);e!=f&&(this.height*= +f/e);this.Lc=c.Lc;this.Mc=c.Mc;this.Qa.Ok(c.vn);this.wa();this.bb=c;this.Ul=c.ya;b=0;for(e=this.X.length;bd||d>=e.length)return c?this.x:this.y;var f=(e[d][1]-b.Lc)*this.width,e=e[d][2],e=(e-b.Mc)*this.height,b=Math.cos(this.B);d=Math.sin(this.B); +var g=f*b-e*d,e=e*b+f*d,f=g+this.x,e=e+this.y;return c?f:e};var n=null,t=new ca,g=!1,c=[],m=new va(0,0,0,0);b.finish=function(a){if(g){if(a){var c=this.b.$a().Za.qd;a=n.ba();var b=t.Nd(),e,d;if(a.ca){a.ca=!1;z(a.k);e=0;for(d=b.length;ethis.width};k.prototype.hy=function(){return 0>this.height};h.e=new k;d.prototype.rA=function(){this.Wf=!1};d.prototype.Qz=function(a,c){this.Ch=a;this.Tt=c;this.Pj||(this.b.Hf(this),this.Pj=!0);this.Dm||this.au()};d.prototype.Rz=function(a){this.Pl=a;this.Pj||(this.b.Hf(this),this.Pj=!0);this.Dm||this.bu()};d.prototype.aA=function(a){a=ma(this.width)*(0===a?-1:1);this.width!==a&&(this.width=a,this.wa())};d.prototype.Vz=function(a){a=ma(this.height)*(0===a?-1:1); +this.height!==a&&(this.height=a,this.wa())};d.prototype.fA=function(a){var c=this.bb,b=c.width*a*(0>this.width?-1:1);a=c.height*a*(0>this.height?-1:1);if(this.width!==b||this.height!==a)this.width=b,this.height=a,this.wa()};h.m=new d;l.prototype.rx=function(a){a.M(this.Ya.name)};l.prototype.by=function(a,c){a.C(this.Cj(c,!0))};l.prototype.cy=function(a,c){a.C(this.Cj(c,!1))};l.prototype.dy=function(a){a.C(this.bb.width)};l.prototype.ay=function(a){a.C(this.bb.height)};h.n=new l})(); +function W(f){this.b=f} +(function(){function f(){return g.length?g.pop():{}}function k(a){var b,e;b=0;for(e=a.length;ba.Oa||b.top>a.Na)this.b.G.deleteTexture(this.$c),this.Fe=this.ih=this.$c=null}};a.Fd= +function(){this.Fe=this.ih=null;this.b.G&&this.$c&&this.b.G.deleteTexture(this.$c);this.$c=null};a.Pr=function(){this.font=this.lm+" "+this.yf.toString()+"pt "+this.kf;this.Gf=!0;this.b.ja=!0};a.Jc=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var e=1;b&&(e=Math.abs(this.A.$b()),a.save(),a.scale(e,e));if(this.Gf||this.width!==this.Aq)this.type.W.JA(this.text,this.ee,a,this.width,this.Zr),this.Gf=!1,this.Aq=this.width;this.xa();var e=b?0: +this.nc.Vb,d=b?0:this.nc.Wb;this.b.rd&&(e=e+.5|0,d=d+.5|0);0===this.B||b||(a.save(),a.translate(e,d),a.rotate(this.B),d=e=0);var f=d+this.height,g=this.Hk,g=g+this.gk,h,l;1===this.ro?d+=Math.max(this.height/2-this.ee.length*g/2,0):2===this.ro&&(d+=Math.max(this.height-this.ee.length*g-2,0));for(l=0;l=f-g);l++);(0!==this.B||b)&&a.restore();this.ck= +this.b.Qe};a.Rb=function(a){if(!(1>this.width||1>this.height)){var b=this.Gf||this.Mv;this.Mv=!1;var e=this.A.$b(),d=this.A.Jb(),f=this.Le,g=e*this.width,h=e*this.height,l=Math.ceil(g),k=Math.ceil(h),n=Math.abs(l),t=Math.abs(k),u=this.b.Z/2,x=this.b.Y/2;this.ih||(this.Fe=document.createElement("canvas"),this.Fe.width=n,this.Fe.height=t,this.Om=n,this.Nm=t,b=!0,this.ih=this.Fe.getContext("2d"));if(n!==this.Om||t!==this.Nm)this.Fe.width=n,this.Fe.height=t,this.$c&&(a.deleteTexture(this.$c),this.$c= +null),b=!0;b&&(this.ih.clearRect(0,0,n,t),this.Jc(this.ih,!0),this.$c||(this.$c=a.ed(n,t,this.b.ab,this.b.Ae)),a.gF(this.Fe,this.$c,this.b.Ae));this.Om=n;this.Nm=t;a.Cc(this.$c);a.xg(this.opacity);a.Gd();a.translate(-u,-x);a.ud();var B=this.nc,b=this.A.Ma(B.Vb,B.Wb,!0,!0),n=this.A.Ma(B.Vb,B.Wb,!1,!0),t=this.A.Ma(B.Sc,B.Tc,!0,!0),u=this.A.Ma(B.Sc,B.Tc,!1,!0),x=this.A.Ma(B.Hc,B.Ic,!0,!0),N=this.A.Ma(B.Hc,B.Ic,!1,!0),O=this.A.Ma(B.Fc,B.Gc,!0,!0),B=this.A.Ma(B.Fc,B.Gc,!1,!0);if(this.b.rd||0===this.B&& +0===d)var U=(b+.5|0)-b,y=(n+.5|0)-n,b=b+U,n=n+y,t=t+U,u=u+y,x=x+U,N=N+y,O=O+U,B=B+y;0===this.B&&0===d?(t=b+l,u=n,x=t,N=n+k,O=b,B=N,f.right=1,f.bottom=1):(f.right=g/l,f.bottom=h/k);a.Ke(b,n,t,u,x,N,O,B,f);a.Gd();a.scale(e,e);a.Gn(-this.A.Jb());a.translate((this.A.Ia+this.A.Oa)/-2,(this.A.Ja+this.A.Na)/-2);a.ud();this.ck=this.b.Qe}};var t=[];e.BA=function(a){z(t);for(var b="",e,d=0;d=d)k(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var h=e.measureText(a).width;if(h<=d){k(b);b.push(f());b[0].text=a;b[0].width=h;return}}this.KA(a,b,e,d,g)}else k(b)};e.KA=function(a,b,e,h,l){l&&(this.BA(a),a=t);var k="",n,G,J,w=0;for(J=0;J=b.length&&b.push(f()),k=d(k),G=b[w], +G.text=k,G.width=e.measureText(k).width,w++,k=""):(n=k,k+=a[J],G=e.measureText(k).width,G>=h&&(w>=b.length&&b.push(f()),n=d(n),G=b[w],G.text=n,G.width=e.measureText(n).width,w++,k=a[J],l||" "!==k||(k="")));k.length&&(w>=b.length&&b.push(f()),k=d(k),G=b[w],G.text=k,G.width=e.measureText(k).width,w++);for(J=w;Ja&&(a=Math.round(1E10*a)/1E10);a=a.toString(); +this.text!==a&&(this.text=a,this.Gf=!0,this.b.ja=!0)};h.prototype.cs=function(a){ia(a)&&(a=Math.round(1E10*a)/1E10);if(a=a.toString())this.text+=a,this.Gf=!0,this.b.ja=!0};h.prototype.Wz=function(a){this.yf!==a&&(this.yf=a,this.Hk=Math.ceil(this.yf/72*96)+4,this.Pr())};h.prototype.lA=function(a,b){if(this.b.N)fa("[Construct 2] Text plugin: 'Set web font' not supported on this platform - the action has been ignored");else{var e=this,d=function(){e.b.ja=!0;e.Gf=!0};if(n.hasOwnProperty(b)){var f="'"+ +a+"'";if(this.kf!==f)for(this.kf=f,this.Pr(),f=1;10>f;f++)setTimeout(d,100*f),setTimeout(d,1E3*f)}else for(f=document.createElement("link"),f.href=b,f.rel="stylesheet",f.type="text/css",f.onload=d,document.getElementsByTagName("head")[0].appendChild(f),n[b]=!0,this.kf="'"+a+"'",this.Pr(),f=1;10>f;f++)setTimeout(d,100*f),setTimeout(d,1E3*f)}};e.m=new h;b.prototype.Text=function(a){a.M(this.text)};b.prototype.Qx=function(a){a.J(this.yf)};b.prototype.zA=function(a){var b=0,e,d,f;e=0;for(d=this.ee.length;e< +d;e++)f=this.ee[e].width,b=f||0>=g||a>=c||d>=h?(this.Kc||jQuery(this.u).hide(),this.Kc=!0):(1>a&&(a=1),1>d&&(d=1),f>=c&&(f=c-1),g>=h&&(g=h-1),c=window.innerWidth,h=window.innerHeight,b||this.Xj!==a||this.$j!==d||this.Zj!==f||this.Wj!==g||this.bk!==c||this.ak!==h?(this.Xj=a,this.$j=d,this.Zj=f,this.Wj=g,this.bk=c,this.ak=h,this.Kc&&(jQuery(this.u).show(),this.Kc=!1),b=Math.round(a)+jQuery(this.b.canvas).offset().left, +c=Math.round(d)+jQuery(this.b.canvas).offset().top,jQuery(this.u).css("position","absolute"),jQuery(this.u).offset({left:b,top:c}),jQuery(this.u).width(Math.round(f-a)),jQuery(this.u).height(Math.round(g-d)),this.Sd&&jQuery(this.u).css("font-size",this.A.$b(!0)/this.b.devicePixelRatio-.2+"em")):this.Kc&&(jQuery(this.u).show(),this.Kc=!1))}};h.Jc=function(){};h.Rb=function(){};f.prototype.js=function(b,a){return this.b.N?!1:0===a?lb(this.u.value,b):this.u.value===b};f.prototype.Ro=function(){return!0}; +f.prototype.sl=function(){return!0};f.prototype.Wy=function(){return!0};l.e=new f;k.prototype.xl=function(b){this.b.N||(this.u.value=b)};k.prototype.dA=function(b){this.b.N||(this.u.placeholder=b)};k.prototype.wh=function(b){this.b.N||(this.visible=0!==b)};k.prototype.aj=function(b){this.b.N||(this.u.disabled=0===b)};k.prototype.Ys=function(){this.b.N||this.u.blur()};k.prototype.Yo=function(b,a){this.b.N||jQuery(this.u).css(b,a)};l.m=new k;d.prototype.Text=function(b){this.b.N?b.M(""):b.M(this.u.value)}; +l.n=new d})();function Lc(f){this.b=f} +(function(){function f(a){t=a.x;g=a.y;c=a.z}function k(a,b,c,e){var f;f=m.length?m.pop():new d;f.init(a,b,c,e);return f}function d(){this.Uk=this.id=this.y=this.x=this.Yn=this.Xn=this.zq=this.time=this.Fr=0;this.al=this.jo=!1}function l(a){return a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents||a.originalEvent&&a.originalEvent.sourceCapabilities&&a.originalEvent.sourceCapabilities.firesTouchEvents}function h(){}function b(){}var e=Lc.prototype;e.K=function(a){this.W=a;this.b=a.b};e.K.prototype.F= +function(){};e.H=function(a){this.type=a;this.b=a.b;this.touches=[];this.Lq=!1};var a=e.H.prototype,n={left:0,top:0};a.Sg=function(a){var b,c;b=0;for(c=this.touches.length;bUa(this.Xn,this.Yn,this.x,this.y)&&(this.jo=!0,a.Re=this.Uk,a.ph=this.id,a.Mh=b,a.b.trigger(Lc.prototype.e.cz,a),a.cf=this.x,a.df=this.y,a.b.trigger(Lc.prototype.e.dz,a),a.Mh=0)};var q=-1E3,r=-1E3,v=-1E4;d.prototype.Fv=function(a,b){if(!this.jo){var c=Za();333>=c-this.Fr&&!this.al&&15>Ua(this.Xn,this.Yn, +this.x,this.y)&&(a.Re=this.Uk,a.ph=this.id,a.Mh=b,666>=c-v&&25>Ua(q,r,this.x,this.y)?(a.b.trigger(Lc.prototype.e.Xy,a),a.cf=this.x,a.df=this.y,a.b.trigger(Lc.prototype.e.Yy,a),r=q=-1E3,v=-1E4):(a.b.trigger(Lc.prototype.e.pz,a),a.cf=this.x,a.df=this.y,a.b.trigger(Lc.prototype.e.qz,a),q=this.x,r=this.y,v=c),a.Mh=0)}};a.F=function(){this.uD=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Mh=this.ph=this.Re=this.df=this.cf=this.lt=this.kt=this.jt=this.RA=this.QA=this.PA=this.nn= +this.mn=this.ln=0;this.eF=0!==this.q[0];var a=0c-b.time||b.update(c,a.pageX-e.left,a.pageY-e.top,a.width||0,a.height||0,a.pressure||0)}}};a.Ak=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.N?n:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;Za();this.Re=this.touches.length; +this.ph=a.pointerId;this.touches.push(k(c,b,a.pointerId,this.Re));this.b.La=!0;this.b.trigger(Lc.prototype.e.Qs,this);this.b.trigger(Lc.prototype.e.Uo,this);this.cf=c;this.df=b;this.b.trigger(Lc.prototype.e.To,this);this.b.La=!1}};a.wf=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var c=this.Sg(a.pointerId);this.Re=0<=c?this.touches[c].Uk:-1;this.ph=0<=c?this.touches[c].id:-1;this.b.La=!0;this.b.trigger(Lc.prototype.e.Ps, +this);this.b.trigger(Lc.prototype.e.So,this);0<=c&&(b||this.touches[c].Fv(this,c),100>m.length&&m.push(this.touches[c]),this.touches.splice(c,1));this.b.La=!1}};a.hn=function(a){a.preventDefault&&a.preventDefault();var b=Za(),c,e,d,f;c=0;for(e=a.changedTouches.length;cb-f.time||f.update(b,d.pageX-g.left,d.pageY-g.top,2*(d.PG||d.$G||d.GG||d.JG||0),2*(d.QG||d.aH||d.HG||d.KG|| +0),d.yG||d.ZG||d.FG||d.IG||0)}};a.jn=function(a){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.N?n:jQuery(this.b.canvas).offset();Za();this.b.La=!0;var c,e,d,f;c=0;for(e=a.changedTouches.length;cm.length&&m.push(this.touches[d]),this.touches.splice(d,1));this.b.La=!1};a.Td=function(){return this.b.nd&& +0===this.ln&&0!==c?90*c:this.ln};a.iu=function(){return this.b.nd&&0===this.mn&&0!==g?90*g:this.mn};a.av=function(){return this.b.nd&&0===this.nn&&0!==t?90*t:this.nn};a.wk=function(a){l(a)||(this.jn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.Lq=!0)};a.xk=function(a){this.Lq&&!l(a)&&this.hn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.yk=function(a){a.preventDefault&&this.b.zm&&!this.b.Ae&&a.preventDefault();this.b.zm=!0;l(a)||(this.oi({changedTouches:[{pageX:a.pageX, +pageY:a.pageY,identifier:0}]}),this.Lq=!1)};a.Zk=function(){var a,b,c,e=Za();a=0;for(b=this.touches.length;ac||c>=this.touches.length)a.C(0);else{var e,d,f,g,h;ha(b)?(e=this.b.Wc(0),d=e.scale,f=e.sb,g=e.gc,h=e.B,e.scale=1,e.sb=1,e.gc=1,e.B=0,a.C(e.Ua(this.touches[c].x,this.touches[c].y,!0)),e.scale=d,e.sb=f,e.gc=g,e.B=h):(e=ia(b)?this.b.Wc(b):this.b.hg(b))?a.C(e.Ua(this.touches[c].x,this.touches[c].y,!0)):a.C(0)}};b.prototype.LA= +function(a,b,c){b=this.Sg(b);if(0>b)a.C(0);else{b=this.touches[b];var e,d,f,g;ha(c)?(c=this.b.Wc(0),e=c.scale,d=c.sb,f=c.gc,g=c.B,c.scale=1,c.sb=1,c.gc=1,c.B=0,a.C(c.Ua(b.x,b.y,!0)),c.scale=e,c.sb=d,c.gc=f,c.B=g):(c=ia(c)?this.b.Wc(c):this.b.hg(c))?a.C(c.Ua(b.x,b.y,!0)):a.C(0)}};b.prototype.ij=function(a,b){var c=this.Mh;if(0>c||c>=this.touches.length)a.C(0);else{var e,d,f,g,h;ha(b)?(e=this.b.Wc(0),d=e.scale,f=e.sb,g=e.hc,h=e.B,e.scale=1,e.sb=1,e.hc=1,e.B=0,a.C(e.Ua(this.touches[c].x,this.touches[c].y, +!1)),e.scale=d,e.sb=f,e.hc=g,e.B=h):(e=ia(b)?this.b.Wc(b):this.b.hg(b))?a.C(e.Ua(this.touches[c].x,this.touches[c].y,!1)):a.C(0)}};b.prototype.MA=function(a,b,c){b=this.Sg(b);if(0>b)a.C(0);else{b=this.touches[b];var e,d,f,g;ha(c)?(c=this.b.Wc(0),e=c.scale,d=c.sb,f=c.hc,g=c.B,c.scale=1,c.sb=1,c.hc=1,c.B=0,a.C(c.Ua(b.x,b.y,!1)),c.scale=e,c.sb=d,c.hc=f,c.B=g):(c=ia(c)?this.b.Wc(c):this.b.hg(c))?a.C(c.Ua(b.x,b.y,!1)):a.C(0)}};b.prototype.CA=function(a){a.C(this.ph)};e.n=new b})(); +function Mc(f){this.b=f;this.b.cc&&(f={},window.XPathResult=f,f.NUMBER_TYPE=1,f.STRING_TYPE=2,f.UNORDERED_NODE_SNAPSHOT_TYPE=6,f.ORDERED_NODE_SNAPSHOT_TYPE=7)} +(function(){function f(){}function k(){}function d(){}var l=Mc.prototype;l.K=function(b){this.W=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b){this.type=b;this.b=b.b};var h=l.H.prototype;h.F=function(){this.Ag=null;this.ug=[];this.b.N&&fa("[Construct 2] The XML object is not supported on this platform.")};h.$r=function(b,e){if(this.Ag){var a=this.ug.length?this.ug[this.ug.length-1]:this.Ag.documentElement;try{return this.b.cc?a.selectSingleNode(b):this.Ag.evaluate(b,a,null,e,null)}catch(d){return null}}}; +h.lx=function(b,e){if(this.Ag){var a=this.ug.length?this.ug[this.ug.length-1]:this.Ag.documentElement;try{return this.b.cc?a.selectNodes(b):this.Ag.evaluate(b,a,null,e,null)}catch(d){return null}}};h.du=function(b,e){this.ug.push(e);this.b.ie(b.aa);b.td();this.b.bd(b.aa);this.ug.pop()};f.prototype.Jo=function(b){if(this.b.N)return!1;var e=this.b.$a().Za;b=this.lx(b,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE);var a,d;if(b){var f=this.b.Gk();if(this.b.cc)for(a=0,d=b.length;af;f++)try{if(e=new ActiveXObject(a[f]))break}catch(g){e=null}e&&(e.async="false",e.loadXML(b))}else a=new DOMParser, +e=a.parseFromString(b,"text/xml")}catch(c){e=null}e&&(this.Ag=e,this.b.cc&&!d&&this.Ag.setProperty("SelectionLanguage","XPath"))}};l.m=new k;d.prototype.Ky=function(b,e){if(this.b.N)b.J(0);else{var a=this.$r(e,XPathResult.NUMBER_TYPE);a?this.b.cc?b.J(parseInt(a.nodeValue,10)):b.J(a.numberValue||0):b.J(0)}};d.prototype.tA=function(b,e){if(this.b.N)b.M("");else{var a;if(/firefox/i.test(navigator.userAgent))if(a=this.$r(e,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE)){var d,f,g="";d=0;for(f=a.snapshotLength;d< +f;d++)g+=a.snapshotItem(d).textContent;b.M(g)}else b.M("");else(a=this.$r(e,XPathResult.STRING_TYPE))?this.b.cc?b.M(a.nodeValue||a.nodeTypedValue||""):b.M(a.stringValue||""):b.M("")}};d.prototype.Jy=function(b,e){if(this.b.N)b.J(0);else{var a=this.lx(e,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE);a?this.b.cc?b.J(a.length||0):b.J(a.snapshotLength||0):b.J(0)}};l.n=new d})();function Nc(f){this.b=f} +(function(){function f(){}var k=Nc.prototype;k.K=function(d){this.behavior=d;this.b=d.b};k.K.prototype.F=function(){};k.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b};var d=k.H.prototype;d.F=function(){this.qt=this.q[0];this.tt=this.q[1];this.YA=this.q[2];this.XA=this.q[3];this.j.xa();this.vo=this.j.ma.left;this.Ao=this.j.ma.top;this.xo=this.b.kb-this.j.ma.left;this.yo=this.b.jb-this.j.ma.top;this.Dn=this.b.kb-this.j.ma.right;this.Ll=this.b.jb-this.j.ma.bottom;this.enabled= +0!==this.q[4]};d.ua=function(){return{xleft:this.vo,ytop:this.Ao,xright:this.xo,ybottom:this.yo,rdiff:this.Dn,bdiff:this.Ll,enabled:this.enabled}};d.Ea=function(d){this.vo=d.xleft;this.Ao=d.ytop;this.xo=d.xright;this.yo=d.ybottom;this.Dn=d.rdiff;this.Ll=d.bdiff;this.enabled=d.enabled};d.Ba=function(){if(this.enabled){var d,f=this.j.A,b=this.j,e=this.j.ma;0===this.qt?(b.xa(),d=f.Ia+this.vo-e.left,0!==d&&(b.x+=d,b.wa())):1===this.qt&&(b.xa(),d=f.Oa-this.xo-e.left,0!==d&&(b.x+=d,b.wa()));0===this.tt? +(b.xa(),d=f.Ja+this.Ao-e.top,0!==d&&(b.y+=d,b.wa())):1===this.tt&&(b.xa(),d=f.Na-this.yo-e.top,0!==d&&(b.y+=d,b.wa()));1===this.YA&&(b.xa(),d=f.Oa-this.Dn-e.right,0!==d&&(b.width+=d,0>b.width&&(b.width=0),b.wa()));1===this.XA&&(b.xa(),d=f.Na-this.Ll-e.bottom,0!==d&&(b.height+=d,0>b.height&&(b.height=0),b.wa()))}};k.e=new function(){};f.prototype.aj=function(d){this.enabled&&0===d?this.enabled=!1:this.enabled||0===d||(this.j.xa(),this.vo=this.j.ma.left,this.Ao=this.j.ma.top,this.xo=this.b.kb-this.j.ma.left, +this.yo=this.b.jb-this.j.ma.top,this.Dn=this.b.kb-this.j.ma.right,this.Ll=this.b.jb-this.j.ma.bottom,this.enabled=!0)};k.m=new f;k.n=new function(){}})(); +function Oc(f){this.b=f;var k=this;this.b.N||(jQuery(document).mousemove(function(d){k.xk(d)}),jQuery(document).mousedown(function(d){k.wk(d)}),jQuery(document).mouseup(function(d){k.yk(d)}));f=0",f.pageX,f.pageY)};l.hn=function(b){b.preventDefault&&b.preventDefault();var a,d,f,g;a=0;for(d=b.changedTouches.length;a",f.pageX,f.pageY)};l.oi=function(b){b.preventDefault&&mb(b)&&b.preventDefault();var a,d,f;a=0;for(d=b.changedTouches.length;a")};l.Ak=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&& +"mouse"!==b.pointerType&&(b.preventDefault&&mb(b)&&b.preventDefault(),this.Rq(b.pointerId.toString(),b.pageX,b.pageY))};l.zk=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType&&(b.preventDefault&&b.preventDefault(),this.Sq(b.pointerId.toString(),b.pageX,b.pageY))};l.wf=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType&&(b.preventDefault&&mb(b)&&b.preventDefault(),this.Tq(b.pointerId.toString()))};l.Rq=function(b,a,d){var l=this.b.N?h:jQuery(this.b.canvas).offset(); +a=a-l.left;d=d-l.top;var g,c,m,k,l=this.hh.Nd(),r,v,D,p=null;r=0;for(v=l.length;rp.A.index?(p=D,m=g,k=c):D.A.index===p.A.index&&D.Bd()>p.Bd()&&(p=D,m=g,k=c):(p=D,m=g,k=c);p&&f(p).SD(b,m,k)};l.Sq=function(b,a,d){var l=this.b.N?h:jQuery(this.b.canvas).offset();a=a-l.left;d=d-l.top;var g,c=this.hh.Nd(),m,k,r;m=0;for(k=c.length;m";this.mp=this.q[0];this.enabled=0!==this.q[1]};b.ua=function(){return{enabled:this.enabled}};b.Ea=function(b){this.enabled=b.enabled; +this.bg=!1};b.SD=function(b,a,d){this.gu=a-this.j.x;this.hu=d-this.j.y;this.bg=!0;this.Fp=b;this.b.La=!0;this.b.trigger(Oc.prototype.e.Zy,this.j);this.b.La=!1};b.WD=function(b,a){var d=b-this.gu,f=a-this.hu;if(0===this.mp){if(this.j.x!==d||this.j.y!==f)this.j.x=d,this.j.y=f,this.j.wa()}else 1===this.mp?this.j.x!==d&&(this.j.x=d,this.j.wa()):2===this.mp&&this.j.y!==f&&(this.j.y=f,this.j.wa())};b.ZD=function(){this.bg=!1;this.b.La=!0;this.b.trigger(Oc.prototype.e.$y,this.j);this.b.La=!1};b.Ba=function(){}; +k.prototype.Zy=function(){return!0};k.prototype.$y=function(){return!0};l.e=new k;d.prototype.aj=function(b){this.enabled=0!==b;this.enabled||(this.bg=!1)};l.m=new d;l.n=new function(){}})();function Pc(f){this.b=f} +(function(){function f(){}function k(){}function d(){}var l=Pc.prototype;l.K=function(b){this.behavior=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b,d){this.type=b;this.behavior=b.behavior;this.j=d;this.b=b.b};var h=l.H.prototype;h.F=function(){this.ip=1===this.q[0];this.Aw=!1;this.Rg=this.q[1];this.Si=this.q[2];this.Jh=this.q[3];this.rB=this.q[4];this.Eb=this.ip?0:3;this.Bc?this.Id.reset():this.Id=new db;this.tg=this.j.opacity?this.j.opacity:1;this.ip&&(0===this.Rg?(this.Eb=1,0===this.Si&& +(this.Eb=2)):(this.j.opacity=0,this.b.ja=!0))};h.ua=function(){return{fit:this.Rg,wt:this.Si,fot:this.Jh,s:this.Eb,st:this.Id.P,mo:this.tg}};h.Ea=function(b){this.Rg=b.fit;this.Si=b.wt;this.Jh=b.fot;this.Eb=b.s;this.Id.reset();this.Id.P=b.st;this.tg=b.mo};h.Ba=function(){this.Id.add(this.b.Zd(this.j));0===this.Eb&&(this.j.opacity=this.Id.P/this.Rg*this.tg,this.b.ja=!0,this.j.opacity>=this.tg&&(this.j.opacity=this.tg,this.Eb=1,this.Id.reset(),this.b.trigger(Pc.prototype.e.Cs,this.j)));1===this.Eb&& +this.Id.P>=this.Si&&(this.Eb=2,this.Id.reset(),this.b.trigger(Pc.prototype.e.Ws,this.j));2===this.Eb&&0!==this.Jh&&(this.j.opacity=this.tg-this.Id.P/this.Jh*this.tg,this.b.ja=!0,0>this.j.opacity&&(this.j.opacity=0,this.Eb=3,this.Id.reset(),this.b.trigger(Pc.prototype.e.Ds,this.j),1===this.rB&&this.b.Te(this.j)))};h.fu=function(){this.Eb=0;this.Id.reset();0===this.Rg?(this.Eb=1,0===this.Si&&(this.Eb=2)):(this.j.opacity=0,this.b.ja=!0)};f.prototype.Ds=function(){return!0};f.prototype.Cs=function(){return!0}; +f.prototype.Ws=function(){return!0};l.e=new f;k.prototype.oA=function(){this.ip||this.Aw||(this.tg=this.j.opacity?this.j.opacity:1,this.Aw=!0);3===this.Eb&&this.fu()};k.prototype.Kz=function(){this.fu()};k.prototype.Tz=function(b){0>b&&(b=0);this.Rg=b};k.prototype.kA=function(b){0>b&&(b=0);this.Si=b};k.prototype.Uz=function(b){0>b&&(b=0);this.Jh=b};l.m=new k;d.prototype.Rx=function(b){b.C(this.Rg)};d.prototype.Sx=function(b){b.C(this.Jh)};l.n=new d})();function Qc(f){this.b=f} +(function(){function f(){}function k(){}var d=Qc.prototype;d.K=function(d){this.behavior=d;this.b=d.b};d.K.prototype.F=function(){};d.H=function(d,b){this.type=d;this.behavior=d.behavior;this.j=b;this.b=d.b};var l=d.H.prototype;l.F=function(){this.me=this.Oe=this.Eb=this.bn=this.kn=0};l.ua=function(){return{ontime:this.kn,offtime:this.bn,stage:this.Eb,stagetimeleft:this.Oe,timeleft:this.me}};l.Ea=function(d){this.kn=d.ontime;this.bn=d.offtime;this.Eb=d.stage;this.Oe=d.stagetimeleft;this.me=d.timeleft; +null===this.me&&(this.me=Infinity)};l.Ba=function(){if(!(0>=this.me)){var d=this.b.Zd(this.j);this.me-=d;0>=this.me?(this.me=0,this.j.visible=!0,this.b.ja=!0,this.b.trigger(Qc.prototype.e.Es,this.j)):(this.Oe-=d,0>=this.Oe&&(0===this.Eb?(this.j.visible=!1,this.Eb=1,this.Oe+=this.bn):(this.j.visible=!0,this.Eb=0,this.Oe+=this.kn),this.b.ja=!0))}};f.prototype.gy=function(){return 0this.j.opacity?this.j.opacity=0:1>8&255)+","+(this.q[4]>>16&255)+")";this.q[10]||(this.j.u.disabled=!0,$(this.j.u).css("user-select","none"),$(this.j.u).css("cursor","default"));this.q[9]||(this.j.u.disabled=!1,$(this.j.u).bind("contextmenu",function(a){a.preventDefault();return!1})); +this.q[12]&&this.j.u.setAttribute("onkeypress","return cr.behaviors.Textbox_Plus.prototype.fncs.OnKey(this, event, "+this.q[12]+", '"+this.q[23]+"')");"textarea"===this.j.u.type&&(a=[0,2,1.01][this.q[6]])&&(d=this.j.u.offsetHeight,this.j.u.style.height=0,a=Math.max(0,d/a-this.j.u.scrollHeight/a),this.j.u.style.paddingTop=a+"px",this.j.u.style.height=d-a+"px");this.q[15]?(d=document.createElement("link"),d.href=this.q[15],d.rel="stylesheet",d.type="text/css","undefined"!=typeof d&&(document.getElementsByTagName("head")[0].appendChild(d), +this.j.u.style.fontFamily=this.q[16]||"PlayLive")):(this.j.u.style.fontFamily=this.q[2]||"Arial",this.j.u.style.fontWeight=1==this.q[3]||3==this.q[3]?"bold":"none",this.j.u.style.fontStyle=1b||96b?!0:!1;if(2==a)return f||47b?!0:!1;if(3==a)return f||47b||64b||96b?!0:!1;if(4==a)return f?!0:!1};l.Td=new f;k.prototype.bz=function(){return!0};k.prototype.zs=function(){return!0};l.e=new k;d.prototype.cs=function(b){if(this.b.N)return!1;this.j.u.value+= +b;this.j.b.trigger(Kc.prototype.e.Ro,this.j)};l.m=new d;l.n=new function(){}})();function Uc(f){this.b=f} +(function(){function f(){}function k(){}function d(){}var l=Uc.prototype;l.K=function(b){this.behavior=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b,d){this.type=b;this.behavior=b.behavior;this.j=d;this.b=b.b};var h=l.H.prototype;h.F=function(){this.jc={}};h.Fd=function(){Ya(this.jc)};h.ua=function(){var b={},d,a;for(d in this.jc)this.jc.hasOwnProperty(d)&&(a=this.jc[d],b[d]={c:a.current.P,t:a.total.P,d:a.duration,r:a.ir});return b};h.Ea=function(b){this.jc={};for(var d in b)b.hasOwnProperty(d)&& +(this.jc[d]={current:new db,total:new db,duration:b[d].d,ir:b[d].r},this.jc[d].current.P=b[d].c,this.jc[d].total.P=b[d].t)};h.Ba=function(){var b=this.b.Zd(this.j),d,a;for(d in this.jc)this.jc.hasOwnProperty(d)&&(a=this.jc[d],a.current.add(b),a.total.add(b))};h.Zk=function(){var b,d;for(b in this.jc)this.jc.hasOwnProperty(b)&&(d=this.jc[b],d.current.P>=d.duration&&(d.ir?d.current.P-=d.duration:delete this.jc[b]))};f.prototype.rz=function(b){b=b.toLowerCase();return(b=this.jc[b])?b.current.P>=b.duration: +!1};l.e=new f;k.prototype.pA=function(b,d,a){this.jc[a.toLowerCase()]={current:new db,total:new db,duration:b,ir:1===d}};l.m=new k;d.prototype.os=function(b,d){var a=this.jc[d.toLowerCase()];b.C(a?a.duration:0)};l.n=new d})();function Vc(f){this.b=f} +(function(){function f(){}function k(){}var d=Vc.prototype;d.K=function(d){this.behavior=d;this.b=d.b};d.K.prototype.F=function(){};d.H=function(d,b){this.type=d;this.behavior=d.behavior;this.j=b;this.b=d.b};var l=d.H.prototype;l.F=function(){};l.Fd=function(){};l.ua=function(){return{}};l.Ea=function(){};l.Ba=function(){};d.e=new function(){};f.prototype.ej=function(){};d.m=new f;k.prototype.ZA=function(d){this.j.type.Fb||d.J(-1);d.J(this.j.type.Fb.length)};k.prototype.animationName=function(d,b){this.j.type.Fb|| +d.M("");d.M(this.j.type.Fb[b].name)};k.prototype.$A=function(d,b){this.j.type.Fb||d.J(-1);var e=this.j.type.Fb.reduce(function(a,d,e){return d.name===b?e:a},-1);d.J(e)};d.n=new k})();var Wc=[],Xc=[],Yc=[],Zc=[],$c=[],ad=[],bd=[],cd=[],gd=[],hd=[];function id(f){return result=(f/=1)<1/2.75?7.5625*f*f+0:f<2/2.75?1*(7.5625*(f-=1.5/2.75)*f+.75)+0:f<2.5/2.75?1*(7.5625*(f-=2.25/2.75)*f+.9375)+0:1*(7.5625*(f-=2.625/2.75)*f+.984375)+0}function jd(f,k){return Math.round(f/k*1E4)} +function kd(f,k,d,l,h){var b=0;switch(f){case 0:b=1*k/d+0;break;case 1:b=1*(k/=d)*k+0;break;case 2:b=-1*(k/=d)*(k-2)+0;break;case 3:b=1>(k/=d/2)?.5*k*k+0:-.5*(--k*(k-2)-1)+0;break;case 4:b=1*(k/=d)*k*k+0;break;case 5:b=1*((k=k/d-1)*k*k+1)+0;break;case 6:b=1>(k/=d/2)?.5*k*k*k+0:.5*((k-=2)*k*k+2)+0;break;case 7:b=1*(k/=d)*k*k*k+0;break;case 8:b=-1*((k=k/d-1)*k*k*k-1)+0;break;case 9:b=1>(k/=d/2)?.5*k*k*k*k+0:-.5*((k-=2)*k*k*k-2)+0;break;case 10:b=1*(k/=d)*k*k*k*k+0;break;case 11:b=1*((k=k/d-1)*k*k*k* +k+1)+0;break;case 12:b=1>(k/=d/2)?.5*k*k*k*k*k+0:.5*((k-=2)*k*k*k*k+2)+0;break;case 13:h.ad?b=$c[jd(k,d)]:b=-(Math.sqrt(1-k*k)-1);break;case 14:h.ad?b=ad[jd(k,d)]:b=Math.sqrt(1-(k-1)*(k-1));break;case 15:b=h.ad?bd[jd(k,d)]:1>(k/=d/2)?-.5*(Math.sqrt(1-k*k)-1)+0:.5*(Math.sqrt(1-(k-=2)*k)+1)+0;break;case 16:h.ad?b=cd[jd(k,d)]:(h=h.Qc,b=1*(k/=d)*k*((h+1)*k-h)+0);break;case 17:h.ad?b=gd[jd(k,d)]:(h=h.Qc,b=1*((k=k/d-1)*k*((h+1)*k+h)+1)+0);break;case 18:h.ad?b=hd[jd(k,d)]:(h=h.Qc,b=1>(k/=d/2)?.5*k*k*(((h*= +1.525)+1)*k-h)+0:.5*((k-=2)*k*(((h*=1.525)+1)*k+h)+2)+0);break;case 19:h.ad?b=Xc[jd(k,d)]:(b=h.xh,f=h.Bk,k/=d,0==f&&(f=.3*d),0==b||bk?-.5*b*Math.pow(2,10*--k)*Math.sin(2*(k*d-h)*Math.PI/f)+0:b*Math.pow(2,-10*--k)*Math.sin(2*(k*d-h)*Math.PI/f)*.5+1);break;case 22:b=h.ad?1-Wc[jd(d-k,d)]+0:1-id(d-k/d)+0;break;case 23:b=h.ad?Wc[jd(k,d)]:id(k/d);break;case 24:b=h.ad?k=pd;pd++)Z=pd/1E4,ld=(Z/=1)<1/2.75?7.5625*Z*Z+0:Z<2/2.75?1*(7.5625*(Z-=1.5/2.75)*Z+.75)+0:Z<2.5/2.75?1*(7.5625*(Z-=2.25/2.75)*Z+.9375)+0:1*(7.5625*(Z-=2.625/2.75)*Z+.984375)+0,Wc[pd]=ld,Z=pd/1E4,nd=md=0,Z/=1,0==nd&&(nd=.3),0==md||mdZ?-.5*md*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-od)*Math.PI/nd)+0:md*Math.pow(2,-10*--Z)*Math.sin(2*(1*Z-od)*Math.PI/nd)*.5+1,Zc[pd]=ld,Z=pd/1E4,$c[pd]=-(Math.sqrt(1-Z*Z)-1),Z=pd/1E4,ad[pd]=Math.sqrt(1-(Z-1)*(Z-1)),Z=pd/1E4,ld=1>(Z/=.5)?-.5*(Math.sqrt(1-Z*Z)-1)+0:.5*(Math.sqrt(1-(Z-=2)*Z)+1)+0,bd[pd]=ld,Z=pd/1E4,od= +0,0==od&&(od=1.70158),ld=1*(Z/=1)*Z*((od+1)*Z-od)+0,cd[pd]=ld,Z=pd/1E4,od=0,0==od&&(od=1.70158),ld=1*((Z=Z/1-1)*Z*((od+1)*Z+od)+1)+0,gd[pd]=ld,Z=pd/1E4,od=0,0==od&&(od=1.70158),ld=1>(Z/=.5)?.5*Z*Z*(((od*=1.525)+1)*Z-od)+0:.5*((Z-=2)*Z*(((od*=1.525)+1)*Z+od)+2)+0,hd[pd]=ld; +function qd(f,k,d,l,h,b,e){this.name=f;this.value=0;this.Di(l);this.On(h);this.Ng=d;this.lb=k;this.duration=b;this.state=this.ea=0;this.en=this.gn=this.cn=this.ni=!1;this.ib=this.ka=0;this.pc=e;this.xf=1;this.Bj=!1;this.hd=[];this.gv=1;for(f=0;28>f;f++)this.hd[f]={},this.hd[f].xh=0,this.hd[f].Bk=0,this.hd[f].Ki=0,this.hd[f].Qc=0,this.hd[f].ad=!0}qd.prototype={};qd.prototype.Di=function(f){this.Ha=parseFloat(f.split(",")[0]);this.yb=parseFloat(f.split(",")[1]);this.ib=this.ka=0}; +qd.prototype.On=function(f){this.Fa=parseFloat(f.split(",")[0]);this.rb=parseFloat(f.split(",")[1]);isNaN(this.rb)&&(this.rb=this.Fa)}; +qd.prototype.Zi=function(f){if(0===this.state)return-1;1===this.state&&(this.ea+=f);2===this.state&&(this.ea-=f);3===this.state&&(this.state=0);if(4===this.state||6===this.state)this.ea+=f*this.xf;5===this.state&&(this.ea+=f*this.xf);return 0>this.ea?(this.ea=0,4===this.state?this.xf=1:6===this.state?(this.xf=1,this.Bj=!1):this.state=0,this.en=!0,0):this.ea>this.duration?(this.ea=this.duration,4===this.state?this.xf=-1:6===this.state?(this.xf=-1,this.Bj=!0):5===this.state?this.ea=0:this.state=0,this.cn= +!0,1):this.Bj?kd(this.Ng,this.duration-this.ea,this.duration,this.Bj,this.hd[this.Ng]):kd(this.Ng,this.ea,this.duration,this.Bj,this.hd[this.Ng])};function rd(f){this.b=f} +(function(){var f=rd.prototype;f.K=function(d){this.behavior=d;this.b=d.b};f.K.prototype.F=function(){};f.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b;this.ub=0};var k=f.H.prototype;k.F=function(){this.ti=this.q[0];this.Wa=1==this.ti||2==this.ti||3==this.ti||4==this.ti;this.lb=this.q[1];this.Gp=this.q[2];this.target=this.q[3];this.Zn=this.q[4];this.qo=!1;1===this.Zn&&(this.target="relative("+this.target+")");this.duration=this.q[5];this.pc=1===this.q[6];this.value=0;this.L= +{};this.pt(this.lb,this.Gp,"current",this.target,this.duration,this.pc);1===this.q[0]&&this.Tk(0);2===this.q[0]&&this.Tk(2);3===this.q[0]&&this.Tk(3);4===this.q[0]&&this.Tk(4)};k.He=function(d,f){void 0===f&&(f="current");var h=f.replace(/^\s\s*/,"").replace(/\s\s*$/,"");f=f.replace(/^\s\s*/,"").replace(/\s\s*$/,"");var b=this.value;if("current"===f)switch(d){case 0:h=this.j.x+","+this.j.y;break;case 1:h=this.j.width+","+this.j.height;break;case 2:h=this.j.width+","+this.j.height;break;case 3:h=this.j.width+ +","+this.j.height;break;case 4:h=Ga(this.j.B)+","+Ga(this.j.B);break;case 5:h=100*this.j.opacity+","+100*this.j.opacity;break;case 6:h=b+","+b;break;case 7:h=this.j.x+","+this.j.y;break;case 8:h=this.j.x+","+this.j.y;break;case 9:h=void 0!==this.j.bb?this.j.width/this.j.bb.width+","+this.j.height/this.j.bb.height:"1,1"}if("relative"===f.substring(0,8)){var e=f.match(/\((.*?)\)/);if(e)var a=parseFloat(e[1].split(",")[0]),k=parseFloat(e[1].split(",")[1]);isNaN(a)&&(a=0);isNaN(k)&&(k=0);switch(d){case 0:h= +this.j.x+a+","+(this.j.y+k);break;case 1:h=this.j.width+a+","+(this.j.height+k);break;case 2:h=this.j.width+a+","+(this.j.height+k);break;case 3:h=this.j.width+a+","+(this.j.height+k);break;case 4:h=Ga(this.j.B)+a+","+(Ga(this.j.B)+k);break;case 5:h=100*this.j.opacity+a+","+(100*this.j.opacity+k);break;case 6:h=b+a+","+b+a;break;case 7:h=this.j.x+a+","+this.j.y;break;case 8:h=this.j.x+","+(this.j.y+a);break;case 9:h=a+","+k}}return h};k.pt=function(d,f,h,b,e,a){h=this.He(d,h);b=this.He(d,b);void 0!== +this.L["default"]&&delete this.L["default"];this.L["default"]=new qd("default",d,f,h,b,e,a);this.L["default"].gf=0};k.ua=function(){JSON.stringify(this.L["default"]);return{playmode:this.ti,active:this.Wa,tweened:this.lb,easing:this.Gp,target:this.target,targetmode:this.Zn,useCurrent:this.qo,duration:this.duration,enforce:this.pc,value:this.value,tweenlist:JSON.stringify(this.L["default"])}};qd.No=function(d,f,h,b,e,a,k,t){f=new qd(f,h,b,e,a,k,t);for(var g in d)f[g]=d[g];return f};k.Ea=function(d){var f= +JSON.parse(d.tweenlist),f=qd.No(f,f.name,f.lb,f.Ng,f.Ha+","+f.yb,f.Fa+","+f.rb,f.duration,f.pc);this.L["default"]=f;this.ti=d.playmode;this.Wa=d.active;this.tf=d.tweened;this.Gp=d.easing;this.target=d.target;this.Zn=d.targetmode;this.qo=d.useCurrent;this.duration=d.duration;this.pc=d.enforce;this.value=d.value};k.KE=function(d){1d&&(d=0);for(var f in this.L){var h=this.L[f];h.ka=0;h.ib=0;h.state=3;h.ea=d*h.duration;var b=h.Zi(0);this.Rr(h,b)}};k.Tk=function(d){for(var f in this.L){var h= +this.L[f];if(this.qo){var b=this.He(h.lb,"current"),e=this.He(h.lb,this.target);h.Di(b);h.On(e)}0===d&&(h.ea=1E-6,h.ka=0,h.ib=0,h.ni=!0,h.state=1);1===d&&(h.state=h.gv);if(2===d||4===d)h.ea=1E-6,h.ka=0,h.ib=0,h.ni=!0,2==d&&(h.state=4),4==d&&(h.state=6);3===d&&(h.ea=1E-6,h.ka=0,h.ib=0,h.ni=!0,h.state=5)}};k.SE=function(d){for(var f in this.L){var h=this.L[f];3!=h.state&&0!=h.state&&(h.gv=h.state);1===d&&(h.ea=0);2===d&&(h.ea=h.duration);h.state=3;var b=h.Zi(0);this.Rr(h,b)}};k.xE=function(d){for(var f in this.L){var h= +this.L[f];1===d&&(h.ea=h.duration,h.ka=0,h.ib=0,h.gn=!0);h.state=2}};k.Rr=function(d,f){if(0===d.lb)d.pc?(this.j.x=d.Ha+(d.Fa-d.Ha)*f,this.j.y=d.yb+(d.rb-d.yb)*f):(this.j.x+=(d.Fa-d.Ha)*f-d.ka,this.j.y+=(d.rb-d.yb)*f-d.ib,d.ka=(d.Fa-d.Ha)*f,d.ib=(d.rb-d.yb)*f);else if(1===d.lb)d.pc?(this.j.width=d.Ha+(d.Fa-d.Ha)*f,this.j.height=d.yb+(d.rb-d.yb)*f):(this.j.width+=(d.Fa-d.Ha)*f-d.ka,this.j.height+=(d.rb-d.yb)*f-d.ib,d.ka=(d.Fa-d.Ha)*f,d.ib=(d.rb-d.yb)*f);else if(2===d.lb)d.pc?this.j.width=d.Ha+(d.Fa- +d.Ha)*f:(this.j.width+=(d.Fa-d.Ha)*f-d.ka,d.ka=(d.Fa-d.Ha)*f);else if(3===d.lb)d.pc?this.j.height=d.yb+(d.rb-d.yb)*f:(this.j.height+=(d.rb-d.yb)*f-d.ib,d.ib=(d.rb-d.yb)*f);else if(4===d.lb)if(d.pc){var h=d.Ha+(d.Fa-d.Ha)*f;this.j.B=Ia(A(h))}else h=(d.Fa-d.Ha)*f-d.ka,this.j.B=Ia(this.j.B+A(h)),d.ka=(d.Fa-d.Ha)*f;else if(5===d.lb)d.pc?this.j.opacity=(d.Ha+(d.Fa-d.Ha)*f)/100:(this.j.opacity+=((d.Fa-d.Ha)*f-d.ka)/100,d.ka=(d.Fa-d.Ha)*f);else if(6===d.lb)d.pc?this.value=d.Ha+(d.Fa-d.Ha)*f:(this.value+= +(d.Fa-d.Ha)*f-d.ka,d.ka=(d.Fa-d.Ha)*f);else if(7===d.lb)d.pc?this.j.x=d.Ha+(d.Fa-d.Ha)*f:(this.j.x+=(d.Fa-d.Ha)*f-d.ka,d.ka=(d.Fa-d.Ha)*f);else if(8===d.lb)d.pc?this.j.y=d.yb+(d.rb-d.yb)*f:(this.j.y+=(d.rb-d.yb)*f-d.ib,d.ib=(d.rb-d.yb)*f);else if(9===d.lb){var h=d.Ha+(d.Fa-d.Ha)*f,b=d.yb+(d.rb-d.yb)*f;0>this.j.width&&(h=d.Ha+(d.Fa+d.Ha)*-f);0>this.j.height&&(b=d.yb+(d.rb+d.yb)*-f);d.pc?(this.j.width=this.j.bb.width*h,this.j.height=this.j.bb.height*b):(0>this.j.width?(this.j.width=this.j.width/(-1+ +d.ka)*h,d.ka=h+1):(this.j.width=this.j.width/(1+d.ka)*h,d.ka=h-1),0>this.j.height?(this.j.height=this.j.height/(-1+d.ib)*b,d.ib=b+1):(this.j.height=this.j.height/(1+d.ib)*b,d.ib=b-1))}this.j.wa()};k.Ba=function(){var d=this.b.Zd(this.j),f=this.L["default"];0!==f.state&&(f.ni&&(this.b.trigger(rd.prototype.e.oz,this.j),f.ni=!1),f.gn&&(this.b.trigger(rd.prototype.e.mz,this.j),f.gn=!1),this.Wa=1==f.state||2==f.state||4==f.state||5==f.state||6==f.state,d=f.Zi(d),this.Rr(f,d),f.cn&&(this.b.trigger(rd.prototype.e.Bs, +this.j),f.cn=!1),f.en&&(this.b.trigger(rd.prototype.e.Us,this.j),f.en=!1))};f.e={};k=f.e;k.us=function(){return 0!==this.L["default"].state};k.uy=function(){return 2==this.L["default"].state};k.pF=function(d,f){var h=this.L["default"];return lc(h.ea/h.duration,d,f)};k.RF=function(d,f){var h=this.L["default"];this.Yk=lc(h.ea/h.duration,d,f);if(h=this.Qq!=this.Yk&&this.Yk)this.Qq=this.Yk;return h};k.oz=function(){return void 0===this.L["default"]?!1:this.L["default"].ni};k.mz=function(){return void 0=== +this.L["default"]?!1:this.L["default"].gn};k.Bs=function(){return void 0===this.L["default"]?!1:this.L["default"].cn};k.Us=function(){return void 0===this.L["default"]?!1:this.L["default"].en};f.m={};k=f.m;k.nA=function(d,f){this.Qq=this.Yk=!1;this.qo=1==f;this.Tk(d)};k.ej=function(d){this.SE(d)};k.Xs=function(d){this.Qq=this.Yk=!1;this.xE(d)};k.UF=function(d){this.KE(d)};k.hG=function(d){isNaN(d)||0>d||void 0===this.L["default"]||(this.L["default"].duration=d)};k.mG=function(d){void 0!==this.L["default"]&& +(this.L["default"].pc=1===d)};k.nG=function(d){void 0!==this.L["default"]&&(d=this.He(this.L["default"].lb,d),this.L["default"].Di(d))};k.hA=function(d,f,h){if(void 0!==this.L["default"]&&!isNaN(h)){var b=this.L["default"],e=h+"";this.Zn=f;var a="",k="";if(1===f){this.target="relative("+e+")";switch(d){case 0:a=this.j.x+h;k=b.rb;break;case 1:a=b.Fa;k=this.j.y+h;break;case 2:k=a=""+Ga(this.j.B+A(h));break;case 3:k=a=""+100*this.j.opacity+h;break;case 4:a=this.j.width+h;k=b.rb;break;case 5:a=b.Fa;k= +this.j.height+h;break;case 6:k=a=h}e=a+","+k}else{switch(d){case 0:a=h;k=b.rb;break;case 1:a=b.Fa;k=h;break;case 2:k=a=h;break;case 3:k=a=h;break;case 4:a=h;k=b.rb;break;case 5:a=b.Fa;k=h;break;case 6:k=a=h}this.target=e=a+","+k}d=this.He(this.L["default"].lb,"current");e=this.He(this.L["default"].lb,e);b.Di(d);b.On(e)}};k.pG=function(d){void 0!==this.L["default"]&&(this.L["default"].lb=d)};k.iG=function(d){void 0!==this.L["default"]&&(this.L["default"].Ng=d)};k.jG=function(d,f,h,b,e){void 0!==this.L["default"]&& +(this.L["default"].hd[d].ad=!1,this.L["default"].hd[d].xh=f,this.L["default"].hd[d].Bk=h,this.L["default"].hd[d].Ki=b,this.L["default"].hd[d].Qc=e)};k.VF=function(){void 0!==this.L["default"]&&(this.L["default"].ad=!0)};k.qG=function(d){var f=this.L["default"];this.value=d;6===f.lb&&f.Di(this.He(f.lb,"current"))};k.bA=function(d,f,h,b,e){if(void 0===this.L["default"])this.pt(d,f,initial,h,b,e);else{var a=this.L["default"];a.lb=d;a.Ng=f;a.Di(this.He(d,"current"));a.On(this.He(d,h));a.duration=b;a.pc= +1===e}};f.n={};f=f.n;f.rG=function(d){var f="N/A";switch(this.L["default"].state){case 0:f="paused";break;case 1:f="playing";break;case 2:f="reversing";break;case 3:f="seeking"}d.M(f)};f.Ez=function(d){d.C(this.L["default"].ea/this.L["default"].duration)};f.os=function(d){d.C(this.L["default"].duration)};f.xA=function(d){var f=this.L["default"],h="N/A";switch(f.lb){case 0:h=f.Fa;break;case 1:h=f.rb;break;case 2:h=f.Fa;break;case 3:h=f.Fa;break;case 4:h=f.Fa;break;case 5:h=f.rb;break;case 6:h=f.Fa}d.C(h)}; +f.ep=function(d){d.C(this.value)};f.sG=function(d,f,h,b,e){b=1b?0:b,1,!1,!1);d.C(f+e*(h-f))}})();function td(f){this.b=f;this.Ar=this.Pn=this.Qk=this.ur=0} +(function(){function f(){}var k=td.prototype;k.K=function(d){this.behavior=d;this.b=d.b};k.K.prototype.F=function(){};k.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b};var d=k.H.prototype;d.F=function(){this.enabled=0!==this.q[0]};d.ua=function(){return{smg:this.behavior.ur,ss:this.behavior.Qk,se:this.behavior.Pn,smd:this.behavior.Ar}};d.Ea=function(d){this.behavior.ur=d.smg;this.behavior.Qk=d.ss;this.behavior.Pn=d.se;this.behavior.Ar=d.smd};d.Ba=function(){};d.Zk=function(){if(this.enabled){var d= +this.behavior.hh.Nd(),f=0,b=0,e,a,k,t=0;e=0;for(a=d.length;e=this.behavior.Qk&&a