function b(a){throw a;}var k=void 0,p=!0,q=null,r=!1;function aa(){return function(a){return a}}function t(){return function(){}}function u(a){return function(c){this[a]=c}}function A(a){return function(){return this[a]}}function B(a){return function(){return a}}var E=E||{};E.H=E.H||{};E.f={};G=window;G=Object.prototype;delete window._p;E.Sb=function(a){return document.createElement(a)};E.Ha=function(a,c,d,e){a.addEventListener(c,d,e)};E.xK="undefined"!==typeof require&&require("fs"); E.VM=function(a,c){if(a)if(a instanceof Array)for(var d=0,e=a.length;df&&b("arguments error!");"function"==typeof c&&(c={iF:c});d!==k?c.Wd=d||c.Wd:a===k&&b("arguments error!");var g=(f=a instanceof Array)?a.length:Object.keys(a).length;if(0===g)c.Wd&&c.Wd.call(c.vM, q);else{var h={length:g,count:g,zO:c,$O:f?[]:{}};E.VM(a,function(a,d){if(h.tE)return r;var f=!c.Wd?e.TJ:e.fJ.bind({BM:h,index:d});c.iF.call(c.o2,a,d,f)})}}}; E.path={join:function(){for(var a=arguments.length,c="",d=0;dd?a+c+e:a.substring(0,d)+c+e},Qo:function(a,c,d){if(0==c.indexOf("."))return this.wM(a,c);var e=a.indexOf("?"),f="";d=d?this.$k(a):"";0=e?0:e+1)+c+d+f}}; E.V={DK:{},Nv:{},gX:{},Il:{},Zx:"",KZ:"",Nf:{},ax:function(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP")},gK:function(a){var c=a[0],d=a[1],e=a[2],f=["",q,q];1===a.length?f[1]=c instanceof Array?c:[c]:2===a.length?"function"==typeof d?(f[1]=c instanceof Array?c:[c],f[2]=d):(f[0]=c||"",f[1]=d instanceof Array?d:[d]):3===a.length?(f[0]=c||"",f[1]=d instanceof Array?d:[d],f[2]=e):b("arguments error to load js!");return f},Z2:function(a,c,d){var e=this,f= e.DK,g=e.gK(arguments);-1=c.length)e&&e();else{var f=this;f.gJ(E.path.join(a,c[d]),r,function(g){if(g)return e(g);f.JK(a,c,d+1,e)})}},lX:function(){var a=document,c=a.getElementById("cocos2d_loadJsImg");if(!c){c=E.Sb("img");E.nX&&(c.src=E.nX);a=a.getElementById(E.tb.oe.id);a.style.backgroundColor="black";a.parentNode.appendChild(c);var d=getComputedStyle?getComputedStyle(a):a.currentStyle;d||(d={width:a.width,height:a.height});c.style.left= a.offsetLeft+(parseFloat(d.width)-c.width)/2+"px";c.style.top=a.offsetTop+(parseFloat(d.height)-c.height)/2+"px";c.style.position="absolute"}return c},Fx:function(a,c){if(E.xK)require("fs").iia(a,function(a,d){a?c(a):c(q,d.toString())});else{var d=this.ax(),e="load "+a+" failed!";d.open("GET",a,p);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?(d.setRequestHeader("Accept-Charset","utf-8"),d.onreadystatechange=function(){4==d.readyState&&200==d.status?c(q,d.responseText):c(e)}): (d.overrideMimeType&&d.overrideMimeType("text/plain; charset\x3dutf-8"),d.onload=function(){4==d.readyState&&200==d.status?c(q,d.responseText):c(e)});d.send(q)}},KK:function(a){if(E.xK)return require("fs").jia(a).toString();var c=this.ax();c.open("GET",a,r);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?c.setRequestHeader("Accept-Charset","utf-8"):c.overrideMimeType&&c.overrideMimeType("text/plain; charset\x3dutf-8");c.send(q);return 4==!c.readyState||200!=c.status?q:c.responseText}, vO:function(a,c){this.Fx(a,function(d,e){try{d?c(d):c(q,JSON.parse(e))}catch(f){b("load json ["+a+"] failed : "+f)}})},bJ:function(a){return/(\.png)|(\.jpg)|(\.bmp)|(\.jpeg)|(\.gif)/.exec(a)!=q},Es:function(a,c,d){var e=p;d!==k?e=c.dF==q?e:c.dF:c!==k&&(d=c);var f=new Image;e&&"file://"!=location.origin&&(f.crossOrigin="Anonymous");E.Ha(f,"load",function(){this.removeEventListener("load",arguments.callee,r);this.removeEventListener("error",arguments.callee,r);d&&d(q,f)});E.Ha(f,"error",function(){this.removeEventListener("error", arguments.callee,r);d&&d("load image failed")});f.src=a;return f},mX:function(a,c,d){var e=this,f=q;(c=a.type)?(c="."+c.toLowerCase(),f=a.src?a.src:a.name+c):(f=a,c=E.path.$k(f));var g=e.Nf[f];if(g)return d(q,g);g=e.Nv[c.toLowerCase()];if(!g)return E.error("loader for ["+c+"] not exists!"),d();c=e.w1(g.Rw?g.Rw():e.Zx,f);g.load(c,f,a,function(a,c){a?(E.log(a),e.Nf[f]=q,delete e.Nf[f],d()):(e.Nf[f]=c,d(q,c))})},w1:function(a,c){var d=this.gX,e=E.path;if(a!==k&&c===k){c=a;var f=e.$k(c),f=f?f.toLowerCase(): "";a=(f=this.Nv[f])?f.Rw?f.Rw():this.Zx:this.Zx}c=E.path.join(a||"",c);if(c.match(/[\/(\\\\)]lang[\/(\\\\)]/i)){if(d[c])return d[c];e=e.$k(c)||"";c=d[c]=c.substring(0,c.length-e.length)+"_"+E.fb.language+e}return c},load:function(a,c,d){d!==k?"function"==typeof c&&(c={qG:c}):c!==k?"function"==typeof c&&(d=c,c={}):a!==k?c={}:b("arguments error!");c.Wd=function(a,c){a&&E.log(a);d&&d(c)};a instanceof Array||(a=[a]);c.iF=this.mX;c.o2=this;E.async.map(a,c)},oK:function(a,c){var d=this.Il,e=[],f;for(f in a){var g= a[f];d[f]=g;e.push(g)}this.load(e,c)},Yga:function(a,c){var d=this,e=d.Ed(a);e?d.oK(e.filenames,c):d.load(a,function(a){d.oK(a[0].filenames,c)})},Oj:function(a,c){if(a&&c){if("string"==typeof a)return this.Nv[a.trim().toLowerCase()]=c;for(var d=0,e=a.length;ds.indexOf("core")&&s.splice(0,0,"core");for(var y=0,x=s.length;yd;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+256*e)]=String.fromCharCode(d)+String.fromCharCode(e);d=IEBinaryToArray_ByteStr(a);a=IEBinaryToArray_ByteStr_Last(a);return d.replace(/[\s\S]/g,function(a){return c[a]})+a}};E=E||{};E.LK="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJCh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PQNkR2Cv1dCjnwo31Wjfu+CY0F+qioZ5MVt9pprPdILg0qT9XjpYYNPalUC6dO9KQ+J8oYolTQ7zbGJZxV+oVEEMMbWans3CryEdzGkwBjuVjJj/2kpFV1aDVEOW0fNf97917ZG+asD8a8c2oEiLyNniY3pcHMqwiYikfSFIAl5Z4LY0Olb5lrU5Vx+IqZhkPZOb05VHOLhLiZjVnULiO5mg5EwY50uvh+koC7KjZlZb/ABViXUw3VWnmLrTcN6tUukiRKnt0LkcuNlRYHtgNJMeQiPdYrMQM3p+7pRUAbhBAP3Sfs/cIh+KYVsDsug3oMQRXHoP08EeALQAP+SjYRi7mLPSk0BdlMDawtX7dlCQtgTIwOzFTqooLUYlQKpTx1O5ra1CfRp7DnjRzSAV1EVsSNF2OMSA0epSbeGAcTGPdVnHAqClnZWEdKOVFo+6Fq0QhBhWfNWN6hwlghpl1o3Eh8j+VDmS+gplQGlkOpS0Z/DpIZrUNO10rhlj/AMoIA0S2ImZ5+KAIhNzWnyYcljDF3q7veC7kvI/NShmGUB76eDjh4QkvIq+rUDkebWEwIhMlMwAGFHLCmZEOFdHCGiEmWHr1oiJoEGDno0S2eqkm/wAVlnoJi+6cOrSO8jpl8J2oK0JMxDCSaXg6DMXN6tMRWqYiZtsKhYMW5uLna+1amoiuw+3SmUtFiy1mEudLIXpXg9CM2lKy3eTTETFlEwZBwTGNrH+v/9oADAMBAAIAAwAAABDzzznXzzzzzzzzzzv/AP06988888888++/+4888888qc++++488+888X+++49a83t388O2tYu8+6+rd88882vs88w38i8886h/I8rO889888Me8s888Av888YQc0UsMUww084UEUQ04YEYYg84MwYIAUMcIIE88888888888888//EACURAQACAgICAQMFAAAAAAAAAAEAESExECBBUTBQgbFxocHR8f/aAAgBAwEBPxDnS7g14vjD1CABREEpigbgxeJQCn4AG+f45ou+B9k72l0Jm8nUSvbyls6MaHvruwxqOVssoAigf5AFMNRrndaZgukNg3Km35ht/bhjPiE5Z9cN1iJHd64sMRa0DSK5z7b+JlP+uA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PRgO4KlNuxWazhXo8nuTk5OSXMjIyEl0uFxoaGtqKior+dPXq1VdUVT0jj7r68ieoT58+vx8yZMjdx48fP1JVVTVF9m20VW02WyfZf97YsWPjXS4X6urqWvPy8jYCWCyEuEDS8FdVFKWzruv//OSTTy5OTk7uqWkaPv3007qysrJ8RVH+LI8ym8/rB3Tu3HnRI488knLo0KG2ffv2ZQI4C98vP6mqqoZqmpaclpa2cOTIkX39/f3R0NDQUVxc/G5TU9PLqqrWa5rWLH1QVFUN0TStX1JSUvH48eP7BwYG4uDBg1cKCgpeBbBe2u+2Qug2EwD5N5sMPuNtMe8XP4TT6Qxoa2sbIGeXvUKIK7d4IISiKC5d1wPljOfA9bPwzYqiXNV13dd6Uqiq6qdpml2mpe02m63d4/G4vcTF5fF47LJf71nJA6BZVVW3pmntuPHlmAD5wk6Q9NnbHp9vHaqq6tA0zU/64PZhk1FfCZB9G/23ALiqKEqzD39tpvbGUqoFwFUhRLP3yzpCCDtJpxyXDulfG27+pqRR3DXsUWVd4Yq0x/taVQjhIhksC8L+ABpM9ljBf5sKwI8pIBr75L5E4vvu+UNeG/a+hv+AL7yFH8qPtOfHjtOP6V/Bja8D6z/B2Nys/1u9Xv33tLf4GfF/LC4GCJwByWIAAAAASUVORK5CYII\x3d";var E=E||{},fa={id:0|998*Math.random(),d2:0|998*Math.random(),zM:function(a,c,d){a=a.toString();var e=a.substring(a.indexOf("(")+1,a.indexOf(")")),e=e.trim();for(a=a.substring(a.indexOf("{")+1,a.lastIndexOf("}"));-1!=a.indexOf("this._super");){var f=a.indexOf("this._super"),g=a.indexOf("(",f),h=a.substring(g+1,a.indexOf(")",g)),h=h.trim();a=a.substring(0,f)+"ClassManager["+d+"]."+c+".call(this"+(h?",":"")+a.substring(g+1)}return Function(e,a)},X0:function(){return this.id++},Y0:function(){return this.d2++}}; fa.zM.t7=fa; (function(){var a=/\b_super\b/,c=E.tb.oe[E.tb.hg.$Z];c&&console.log("release Mode");E.na=t();E.na.extend=function(d){function e(){this.ta=fa.Y0();this.ctor&&this.ctor.apply(this,arguments)}var f=this.prototype,g=Object.create(f),h=fa.X0();fa[h]=f;var m={writable:p,enumerable:r,configurable:p};g.ta=q;e.id=h;m.value=h;Object.defineProperty(g,"__pid",m);e.prototype=g;m.value=e;Object.defineProperty(e.prototype,"constructor",m);this.$h&&(e.$h=E.k(this.$h));this.ai&&(e.ai=E.k(this.ai));for(var n=0,s=arguments.length;n< s;++n){var v=arguments[n],w;for(w in v){var y="function"===typeof v[w],x="function"===typeof f[w],z=a.test(v[w]);c&&y&&x&&z?(m.value=fa.zM(v[w],w,h),Object.defineProperty(g,w,m)):y&&x&&z?(m.value=function(a,c){return function(){var d=this._super;this._super=f[a];var e=c.apply(this,arguments);this._super=d;return e}}(w,v[w]),Object.defineProperty(g,w,m)):y?(m.value=v[w],Object.defineProperty(g,w,m)):g[w]=v[w];if(y){var C,J;if(this.$h&&this.$h[w]){var y=this.$h[w],F;for(F in this.ai)if(this.ai[F]== y){J=F;break}E.j(g,y,v[w],v[J]?v[J]:g[J],w,J)}if(this.ai&&this.ai[w]){y=this.ai[w];for(F in this.$h)if(this.$h[F]==y){C=F;break}E.j(g,y,v[C]?v[C]:g[C],v[w],C,w)}}}}e.extend=E.na.extend;e.zea=function(a){for(var c in a)g[c]=a[c]};return e}})(); E.j=function(a,c,d,e,f,g){if(a.__defineGetter__)d&&a.__defineGetter__(c,d),e&&a.__defineSetter__(c,e);else if(Object.defineProperty){var h={enumerable:r,configurable:p};d&&(h.get=d);e&&(h.set=e);Object.defineProperty(a,c,h)}else b(Error("browser does not support getters"));if(!f&&!g)for(var h=d!=q,m=e!=k,n=Object.getOwnPropertyNames(a),s=0;s=c.x||a.y>=c.y||a.x+a.width<=c.x+c.width||a.y+a.height<=c.y+c.height)};E.Ws=function(a){return a.x+a.width};E.oia=function(a){return a.x+a.width/2};E.vp=function(a){return a.x}; E.Xs=function(a){return a.y+a.height};E.pia=function(a){return a.y+a.height/2};E.wp=function(a){return a.y};E.PO=function(a,c){return c.x>=E.vp(a)&&c.x<=E.Ws(a)&&c.y>=E.wp(a)&&c.y<=E.Xs(a)};E.ria=function(a,c){var d=a.y+a.height,e=c.x+c.width,f=c.y+c.height;return!(a.x+a.widtha?0:a};a.oW=function(){return this.qB[0]};a.lY=function(a){this.qB[0]=0>a?0:a};a.gW=function(){return this.JA[0]};a.cY=function(a){this.JA[0]=0>a?0:a};a.cW=function(){return this.CA[0]};a.bY=function(a){this.CA[0]=0>a?0:a};E.j(a,"r",a.AW,a.qY);E.j(a,"g",a.oW,a.lY);E.j(a,"b",a.gW,a.cY);E.j(a,"a",a.cW,a.bY); E.Ub=function(a,d,e,f){this.Vc=e||new ArrayBuffer(E.Ub.BYTES_PER_ELEMENT);this.va=f||0;this.rm=new Float32Array(this.Vc,this.va,1);this.sm=new Float32Array(this.Vc,this.va+4,1);this.rm[0]=a||0;this.sm[0]=d||0};E.Ub.BYTES_PER_ELEMENT=8;Object.defineProperties(E.Ub.prototype,{x:{get:function(){return this.rm[0]},set:function(a){this.rm[0]=a},enumerable:p},y:{get:function(){return this.sm[0]},set:function(a){this.sm[0]=a},enumerable:p}});E.rc=function(a,d,e,f,g){this.Vc=f||new ArrayBuffer(E.rc.BYTES_PER_ELEMENT); this.va=g||0;f=this.Vc;g=this.va;this.rm=new Float32Array(f,g,1);this.rm[0]=a||0;this.sm=new Float32Array(f,g+Float32Array.BYTES_PER_ELEMENT,1);this.sm[0]=d||0;this.LD=new Float32Array(f,g+2*Float32Array.BYTES_PER_ELEMENT,1);this.LD[0]=e||0};E.rc.BYTES_PER_ELEMENT=12;Object.defineProperties(E.rc.prototype,{x:{get:function(){return this.rm[0]},set:function(a){this.rm[0]=a},enumerable:p},y:{get:function(){return this.sm[0]},set:function(a){this.sm[0]=a},enumerable:p},d:{get:function(){return this.LD[0]}, set:function(a){this.LD[0]=a},enumerable:p}});E.bk=function(a,d,e,f){this.Vc=e||new ArrayBuffer(E.bk.BYTES_PER_ELEMENT);this.va=f||0;this.sD=new Float32Array(this.Vc,this.va,1);this.yD=new Float32Array(this.Vc,this.va+4,1);this.sD[0]=a||0;this.yD[0]=d||0};E.bk.BYTES_PER_ELEMENT=8;Object.defineProperties(E.bk.prototype,{ea:{get:function(){return this.sD[0]},set:function(a){this.sD[0]=a},enumerable:p},fa:{get:function(){return this.yD[0]},set:function(a){this.yD[0]=a},enumerable:p}});E.Ez=function(a, d,e,f,g,h){this.Vc=g||new ArrayBuffer(E.Ez.BYTES_PER_ELEMENT);this.va=h||0;g=this.Vc;h=E.Ub.BYTES_PER_ELEMENT;this.Fo=a?new E.Ub(a.x,a.y,g,0):new E.Ub(0,0,g,0);this.Io=d?new E.Ub(d.x,d.y,g,h):new E.Ub(0,0,g,h);this.zn=e?new E.Ub(e.x,e.y,g,2*h):new E.Ub(0,0,g,2*h);this.Dn=f?new E.Ub(f.x,f.y,g,3*h):new E.Ub(0,0,g,3*h)};E.Ez.BYTES_PER_ELEMENT=32;E.Xt=function(a,d,e,f){this.F=a||new E.rc(0,0,0);this.M=d||new E.rc(0,0,0);this.L=e||new E.rc(0,0,0);this.K=f||new E.rc(0,0,0)};Object.defineProperties(E.Ez.prototype, {L:{get:A("Fo"),set:function(a){this.Fo.x=a.x;this.Fo.y=a.y},enumerable:p},K:{get:A("Io"),set:function(a){this.Io.x=a.x;this.Io.y=a.y},enumerable:p},F:{get:A("zn"),set:function(a){this.zn.x=a.x;this.zn.y=a.y},enumerable:p},M:{get:A("Dn"),set:function(a){this.Dn.x=a.x;this.Dn.y=a.y},enumerable:p}});E.ng=function(a,d,e,f,g){this.Vc=f||new ArrayBuffer(E.ng.BYTES_PER_ELEMENT);this.va=g||0;f=this.Vc;g=this.va;var h=E.rc.BYTES_PER_ELEMENT;this.Pa=a?new E.rc(a.x,a.y,a.d,f,g):new E.rc(0,0,0,f,g);this.Tq= d?E.color(d.r,d.g,d.b,d.a,f,g+h):E.color(0,0,0,0,f,g+h);this.Lf=e?new E.bk(e.ea,e.fa,f,g+h+E.uf.BYTES_PER_ELEMENT):new E.bk(0,0,f,g+h+E.uf.BYTES_PER_ELEMENT)};E.ng.BYTES_PER_ELEMENT=24;Object.defineProperties(E.ng.prototype,{i:{get:A("Pa"),set:function(a){var d=this.Pa;d.x=a.x;d.y=a.y;d.d=a.d},enumerable:p},t:{get:A("Tq"),set:function(a){var d=this.Tq;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:p},n:{get:A("Lf"),set:function(a){this.Lf.ea=a.ea;this.Lf.fa=a.fa},enumerable:p}});E.Bb=function(a,d,e, f,g,h){this.Vc=g||new ArrayBuffer(E.Bb.BYTES_PER_ELEMENT);this.va=h||0;g=this.Vc;h=this.va;var m=E.ng.BYTES_PER_ELEMENT;this.Fo=a?new E.ng(a.i,a.t,a.n,g,h):new E.ng(q,q,q,g,h);this.zn=d?new E.ng(d.i,d.t,d.n,g,h+m):new E.ng(q,q,q,g,h+m);this.Io=e?new E.ng(e.i,e.t,e.n,g,h+2*m):new E.ng(q,q,q,g,h+2*m);this.Dn=f?new E.ng(f.i,f.t,f.n,g,h+3*m):new E.ng(q,q,q,g,h+3*m)};E.Bb.BYTES_PER_ELEMENT=96;Object.defineProperties(E.Bb.prototype,{L:{get:A("Fo"),set:function(a){var d=this.Fo;d.i=a.i;d.t=a.t;d.n=a.n}, enumerable:p},F:{get:A("zn"),set:function(a){var d=this.zn;d.i=a.i;d.t=a.t;d.n=a.n},enumerable:p},K:{get:A("Io"),set:function(a){var d=this.Io;d.i=a.i;d.t=a.t;d.n=a.n},enumerable:p},M:{get:A("Dn"),set:function(a){var d=this.Dn;d.i=a.i;d.t=a.t;d.n=a.n},enumerable:p},yw:{get:A("Vc"),enumerable:p}});E.FI=function(){return new E.Bb};E.EI=function(a){if(!a)return E.FI();var d=a.L,e=a.F,f=a.K;a=a.M;return{L:{i:{x:d.i.x,y:d.i.y,d:d.i.d},t:{r:d.t.r,g:d.t.g,b:d.t.b,a:d.t.a},n:{ea:d.n.ea,fa:d.n.fa}},F:{i:{x:e.i.x, y:e.i.y,d:e.i.d},t:{r:e.t.r,g:e.t.g,b:e.t.b,a:e.t.a},n:{ea:e.n.ea,fa:e.n.fa}},K:{i:{x:f.i.x,y:f.i.y,d:f.i.d},t:{r:f.t.r,g:f.t.g,b:f.t.b,a:f.t.a},n:{ea:f.n.ea,fa:f.n.fa}},M:{i:{x:a.i.x,y:a.i.y,d:a.i.d},t:{r:a.t.r,g:a.t.g,b:a.t.b,a:a.t.a},n:{ea:a.n.ea,fa:a.n.fa}}}};E.q9=function(a){if(!a)return[];for(var d=[],e=0;e>16,(a>>8)%256,a%256)};E.kaa=function(a){var c=a.r.toString(16),d=a.g.toString(16),e=a.b.toString(16);return"#"+(16>a.r?"0"+c:c)+(16>a.g?"0"+d:d)+(16>a.b?"0"+e:e)};E.fu=0;E.wq=1;E.TH=2;E.Eq=0;E.IU=1;E.GI=2; E.y9=E.na.extend({oo:q,Yr:q,BA:0,ctor:function(){this.oo={};this.Yr={};this.BA=2<<(0|10*Math.random())},SU:function(){this.BA++;return"key_"+this.BA},Yja:function(a,c){if(c!=q){var d=this.SU();this.oo[d]=c;this.Yr[d]=a}},g3:function(a){if(a==q)return q;var c=this.oo,d;for(d in c)if(c[d]===a)return this.Yr[d];return q},Gla:function(a){return this.g3(a)},T3:function(a){if(a!=q){var c=this.oo,d;for(d in c)if(c[d]===a){delete this.Yr[d];delete c[d];break}}},Hia:function(a){if(a!=q)for(var c=0;cMath.abs(a-d)&&(d=a);2>Math.abs(c-e)&&(e=c);a=W(Math.round((a-d)/2),Math.round((c-e)/2),d,e);E.A==E.Ba&&E.l.translate(a.x,a.y+e);this.BC.scale=[f,g];this.BC.viewport=a;return this.BC},Sm:t(),apply:function(){return{scale:[1,1]}},Rm:t()}); (function(){var a=E.Vj.extend({apply:function(a){this.WC(a,a.fe.width,a.fe.height)}}),c=E.Vj.extend({apply:function(a,c){var d=a.fe.width,e=a.fe.height,f=E.zm.style,v=c.width,w=c.height,y=d/v,x=e/w,z,C;y>=1}return-1},XX:function(a){0>a||a>=this.UB||(a=~(1<=d.length?d.push(a):(d[this.nC]=a,this.nC=(this.nC+1)%50))},ss:function(a,c,d){var e=this.XK;a=this.zk.eE(a,c,d);c=new E.gA(a.x,a.y);c.vo(e.x,e.y);e.x=a.x;e.y=a.y;return c},dp:function(a,c,d){var e=this.QX;this.zk.EV(a,c);c=new E.Kc(d);c.J4(a.x,a.y);c.pY(e.x,e.y);e.x= a.x;e.y=a.y;return c},fp:function(a,c){if(a.pageX!=q)return{x:a.pageX,y:a.pageY};c.left-=document.body.scrollLeft;c.top-=document.body.scrollTop;return{x:a.clientX,y:a.clientY}},$w:function(a,c){for(var d=[],e=this.zk,f,g,h=this.XK,m=a.changedTouches.length,n=0;n this.xu&&(this.Hl-=this.xu,E.qa.dispatchEvent(new E.nR(this.DA)));this.Hl+=a}};var G=E.aF;G.l4=function(){if(this.wu!==p){this.wu=p;var a=E.B.Di();this.wu?(this.Hl=0,a.PF(this)):(this.Hl=0,a.ot(this))}};G.Zia=function(a){this.xu!==a&&(this.xu=a)};G.hL=function(){E.Ha(E.Wa,"keydown",function(a){E.qa.dispatchEvent(new E.XG(a.keyCode,p));a.stopPropagation();a.preventDefault()},r);E.Ha(E.Wa,"keyup",function(a){E.qa.dispatchEvent(new E.XG(a.keyCode,r));a.stopPropagation();a.preventDefault()},r)}; G.gL=function(){var a=window;this.DA=new E.tQ;this.vu=a.DeviceMotionEvent||a.DeviceOrientationEvent;E.fb.Yk==E.fb.LG&&(this.vu=window.DeviceOrientationEvent);var c=this.vu==a.DeviceMotionEvent?"devicemotion":"deviceorientation",d=navigator.userAgent;if(/Android/.test(d)||/Adr/.test(d)&&E.fb.Yk==E.MG)this.c$=-1;E.Ha(a,c,this.m_.bind(this),r)}; G.m_=function(a){var c=window;if(this.wu){var d=this.DA;if(this.vu==window.DeviceMotionEvent){var e=a.accelerationIncludingGravity;d.x=0.1*this.RI*e.x;d.y=0.1*this.RI*e.y;d.d=0.1*e.d}else d.x=0.981*(a.gamma/90),d.y=0.981*-(a.beta/90),d.d=0.981*(a.alpha/90);d.timestamp=a.timeStamp||Date.now();a=d.x;c.orientation===E.wU?(d.x=-d.y,d.y=a):c.orientation===E.vU?(d.x=d.y,d.y=-a):c.orientation===E.xU&&(d.x=-d.x,d.y=-d.y)}};delete G;E.Z6=function(a,c,d,e,f,g){this.a=a;this.b=c;this.C=d;this.J=e;this.Ja=f;this.Ka=g};E.H$=function(a,c,d,e,f,g){return{a:a,b:c,C:d,J:e,Ja:f,Ka:g}};E.JO=function(a,c){return{x:c.a*a.x+c.C*a.y+c.Ja,y:c.b*a.x+c.J*a.y+c.Ka}};E.Hk=function(a,c,d){return{x:d.a*a+d.C*c+d.Ja,y:d.b*a+d.J*c+d.Ka}};E.bla=function(a,c){return{width:c.a*a.width+c.C*a.height,height:c.b*a.width+c.J*a.height}};E.I$=function(){return{a:1,b:0,C:0,J:1,Ja:0,Ka:0}};E.G$=function(){return{a:1,b:0,C:0,J:1,Ja:0,Ka:0}}; E.GF=function(a,c){var d=E.wp(a),e=E.vp(a),f=E.Ws(a),g=E.Xs(a),h=E.Hk(e,d,c),d=E.Hk(f,d,c),e=E.Hk(e,g,c),m=E.Hk(f,g,c),f=Math.min(h.x,d.x,e.x,m.x),g=Math.max(h.x,d.x,e.x,m.x),n=Math.min(h.y,d.y,e.y,m.y),h=Math.max(h.y,d.y,e.y,m.y);return W(f,n,g-f,h-n)}; E.RX=function(a,c){var d=E.wp(a),e=E.vp(a),f=E.Ws(a),g=E.Xs(a),h=E.Hk(e,d,c),d=E.Hk(f,d,c),e=E.Hk(e,g,c),m=E.Hk(f,g,c),f=Math.min(h.x,d.x,e.x,m.x),g=Math.max(h.x,d.x,e.x,m.x),n=Math.min(h.y,d.y,e.y,m.y),h=Math.max(h.y,d.y,e.y,m.y);a.x=f;a.y=n;a.width=g-f;a.height=h-n;return a};E.sZ=function(a,c,d){return{a:a.a,b:a.b,C:a.C,J:a.J,Ja:a.Ja+a.a*c+a.C*d,Ka:a.Ka+a.b*c+a.J*d}};E.K$=function(a,c,d){return{a:a.a*c,b:a.b*c,C:a.C*d,J:a.J*d,Ja:a.Ja,Ka:a.Ka}}; E.J$=function(a,c){var d=Math.sin(c),e=Math.cos(c);return{a:a.a*e+a.C*d,b:a.b*e+a.J*d,C:a.C*e-a.a*d,J:a.J*e-a.b*d,Ja:a.Ja,Ka:a.Ka}};E.um=function(a,c){return{a:a.a*c.a+a.b*c.C,b:a.a*c.b+a.b*c.J,C:a.C*c.a+a.J*c.C,J:a.C*c.b+a.J*c.J,Ja:a.Ja*c.a+a.Ka*c.C+c.Ja,Ka:a.Ja*c.b+a.Ka*c.J+c.Ka}};E.F$=function(a,c){return a.a===c.a&&a.b===c.b&&a.C===c.C&&a.J===c.J&&a.Ja===c.Ja&&a.Ka===c.Ka}; E.fM=function(a){var c=1/(a.a*a.J-a.b*a.C);return{a:c*a.J,b:-c*a.b,C:-c*a.C,J:c*a.a,Ja:c*(a.C*a.Ka-a.J*a.Ja),Ka:c*(a.b*a.Ja-a.a*a.Ka)}};E.sH=parseFloat("1.192092896e-07F");E.zF=function(a){return L(-a.x,-a.y)};E.Lj=function(a,c){return L(a.x+c.x,a.y+c.y)};E.Gd=function(a,c){return L(a.x-c.x,a.y-c.y)};E.Li=function(a,c){return L(a.x*c,a.y*c)};E.FO=function(a,c){return E.Li(E.Lj(a,c),0.5)};E.sp=function(a,c){return a.x*c.x+a.y*c.y};E.k3=function(a,c){return a.x*c.y-a.y*c.x};E.Sx=function(a){return L(-a.y,a.x)};E.Nha=function(a){return L(a.y,-a.x)};E.Mha=function(a,c){return E.Li(c,E.sp(a,c)/E.sp(c,c))}; E.Oha=function(a,c){return L(a.x*c.x-a.y*c.y,a.x*c.y+a.y*c.x)};E.Rha=function(a,c){return L(a.x*c.x+a.y*c.y,a.y*c.x-a.x*c.y)};E.DO=function(a){return E.sp(a,a)};E.CO=function(a,c){return E.DO(E.Gd(a,c))};E.hl=function(a){return Math.sqrt(E.DO(a))};E.Hha=function(a,c){return E.hl(E.Gd(a,c))};E.Ig=function(a){return E.Li(a,1/E.hl(a))};E.Iha=function(a){return L(Math.cos(a),Math.sin(a))};E.n3=function(a){return Math.atan2(a.y,a.x)};E.Qc=function(a,c,d){if(c>d){var e=c;c=d;d=e}return a=f.x&&0<=f.y&&1>=f.y?p:r};E.Lha=function(a,c,d,e){var f=L(0,0);return E.yF(a,c,d,e,f)?(d=L(0,0),d.x=a.x+f.x*(c.x-a.x),d.y=a.y+f.x*(c.y-a.y),d):L(0,0)};E.Pha=function(a,c){return a!=q&&c!=q?a.x==c.x&&a.y==c.y:r};E.Tx=function(a){a.x=0;a.y=0};E.Mj=function(a,c){a.x=c.x;a.y=c.y};E.tp=function(a,c){a.x*=c;a.y*=c};E.GO=function(a,c){a.x-=c.x;a.y-=c.y};E.Rx=function(a,c){a.x+=c.x;a.y+=c.y}; E.l3=function(a){E.tp(a,1/Math.sqrt(a.x*a.x+a.y*a.y))};E.xG=function(a,c,d,e,f){f+=e;if(!(1>=f)){c*=0.5;for(var g,h=f-1,m=e;mc.value||1m.Db)this.GD(m,r);else break;h[a.ta]!=q&&(g[a.dj]||(g[a.dj]=[]),g[a.dj].push(a.ta));for(;eg[d].Db)g[d].P();else break;for(this.Z(a);de.Db)e.P(a);else break;for(this.Z(a);ce&&-1E-6f&&-1E-6e|| d>e)return E.log(E.f.cU,c,d,e,e),r;this.tc=p;return this.TW(a,c,d)},Rc:function(a){a&&(this.Ud=E.l.createTexture(),this.Xa=a)},K0:A("Xa"),j2:A("tc"),ub:function(){if(E.Ov){if(!this.Xa){var a=E.V.Ed(this.url);if(!a)return;this.Rc(a)}this.Xa.width&&this.Xa.height&&(this.tc=p,a=E.l,E.pe(this),a.pixelStorei(a.UNPACK_ALIGNMENT,4),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.Xa),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER, a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),this.shaderProgram=E.Id.mc(E.uq),E.pe(q),a=this.Xa.height,this.nj=this.N.width=this.Xa.width,this.mj=this.N.height=a,this.oi=E.ca.Xi,this.Ki=this.Ji=1,this.eo=this.jv=r,this.Nd())}},md:function(){E.log(E.f.hU);return q},R1:function(){E.log(E.f.aU);return r},T1:function(){E.log(E.f.eU);return r},U1:function(){E.log(E.f.gU);return r},h5:function(a){var c=E.l;E.assert(this.nj== E.Yj(this.nj)&&this.mj==E.Yj(this.mj)||a.E6==c.CLAMP_TO_EDGE&&a.F6==c.CLAMP_TO_EDGE,"WebGLRenderingContext.CLAMP_TO_EDGE should be used in NPOT textures");E.pe(this);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,a.dha);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,a.aha);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,a.E6);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,a.F6)},p4:function(){var a=E.l;E.pe(this);this.eo?a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR_MIPMAP_NEAREST): a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST)},QF:function(){var a=E.l;E.pe(this);this.eo?a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST_MIPMAP_NEAREST):a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST)},generateMipmap:function(){E.assert(this.nj==E.Yj(this.nj)&&this.mj==E.Yj(this.mj),"Mimpap texture only works in POT textures");E.pe(this); E.l.generateMipmap(E.l.TEXTURE_2D);this.eo=p},V5:function(){return E.ca.QU[this.oi]},TZ:function(a){a=a||this.oi;var c=E.ca.KI[a];if(c!=q)return c;E.log(E.f.YT,a);return-1},TW:function(a,c,d){var e=E.ca,f=a.getData(),g=q,g=q,h=a.yea(),m=P(a.A1(),a.I0()),n=e.JM,s=a.Vba();h||(8<=s?n=e.qq:(E.log(E.f.VT),n=e.pq));var v=c*d;if(n==e.pq)if(h){f=new Uint16Array(c*d);g=a.getData();for(s=0;s>0&255)>>3<<11|(g[s]>>8&255)>>2<<5|(g[s]>>16&255)>>3<<0}else{f=new Uint16Array(c*d);g=a.getData();for(s= 0;s>3<<11|(g[s]&255)>>2<<5|(g[s]&255)>>3<<0}else if(n==e.Tt){f=new Uint16Array(c*d);g=a.getData();for(s=0;s>0&255)>>4<<12|(g[s]>>8&255)>>4<<8|(g[s]>>16&255)>>4<<4|(g[s]>>24&255)>>4<<0}else if(n==e.St){f=new Uint16Array(c*d);g=a.getData();for(s=0;s>0&255)>>3<<11|(g[s]>>8&255)>>3<<6|(g[s]>>16&255)>>3<<1|(g[s]>>24&255)>>7<<0}else if(n==e.oq){f=new Uint8Array(c*d);g=a.getData();for(s=0;s>24&255}if(h&&n==e.qq){g=a.getData();f=new Uint8Array(3* c*d);for(s=0;s>0&255,f[3*s+1]=g>>8&255,f[3*s+2]=g>>16&255}this.zs(f,n,c,d,m);a.getData();this.jv=a.Vea();return p},Vd:function(a,c){this.ib||(this.ib=[]);this.ib.push({Bh:a,Pf:c})},S3:function(a){if(this.ib)for(var c=this.ib,d=0;dthis.xd)E.log(E.f.YH);else{var d=E.Bb.BYTES_PER_ELEMENT,e=c*d,f=(this.Ma-1-c)*d;this.Ac[this.Ma-1]=new E.Bb(q,q,q,q,this.Zc,(this.Ma-1)*d);this.Hf.set(this.Hf.subarray(e,e+f),e+d);this.Wv(a,c);this.dirty=p}},Fea:function(a,c,d){d=d||a.length;E.assert(c+d<=this.xd,E.f.nU);var e=E.Bb.BYTES_PER_ELEMENT; this.Ma+=d;if(this.Ma>this.xd)E.log(E.f.YH);else{var f=c*e,g=(this.Ma-1-c-d)*e,h=this.Ma-1-d,m;for(m=0;mc?(g=c*d,e.set(e.subarray(g,g+(a-c)*d),g+d),e.set(f,g)):(g=(a+1)*d,e.set(e.subarray(g,g+ (c-a)*d),g-d),e.set(f,c*d));this.dirty=p}},VO:function(a){E.assert(ad){g=[];h=new ArrayBuffer(c*e);for(a=0;ad?(c=new Uint16Array(6*e),c.set(this.lb,0),this.lb=c):this.lb=this.lb.subarray(0,6*e);this.BL();this.wv();return this.dirty=p},ON:function(a){this.Ma+=a},wO:function(a,c,d){if(d===k){if(d=c,c=this.Ma-a,E.assert(d+(this.Ma-a)<=this.xd,E.f.oU),0===c)return}else if(E.assert(d+c<=this.Ma,E.f.pU),E.assert(a=c&&this.tG(this.WL)}}); E.iz.FF=function(a,c){var d=E;d.Fs||(d.Fs=new E.iz,d.Fs.U());d.Fs.W1(a,c);E.B.kl(d.Fs);return d.Fs};E.H.hz=function(){var a=E.fc.prototype;a.lM=t();a.fQ=t();a.P=E.m.prototype.P}; E.H.vA=function(){var a=E.Uc.prototype;a.$v=q;a.cD=q;a.ED=q;a.XA=q;a.eD=q;a.dD=q;a.ctor=function(a,d,e){this.eD=new ArrayBuffer(32);this.dD=new ArrayBuffer(16);var f=this.eD,g=this.dD,h=E.Ub.BYTES_PER_ELEMENT,m=E.uf.BYTES_PER_ELEMENT;this.$v=[new E.Ub(0,0,f,0),new E.Ub(0,0,f,h),new E.Ub(0,0,f,2*h),new E.Ub(0,0,f,3*h)];this.cD=[E.color(0,0,0,255,g,0),E.color(0,0,0,255,g,m),E.color(0,0,0,255,g,2*m),E.color(0,0,0,255,g,3*m)];this.ED=E.l.createBuffer();this.XA=E.l.createBuffer();E.fc.prototype.ctor.call(this); this.q=new E.cc(E.bc,E.ac);E.Uc.prototype.U.call(this,a,d,e)};a.Yd=function(a,d){var e=this.$v;d===k?(e[1].x=a.width,e[2].y=a.height,e[3].x=a.width,e[3].y=a.height):(e[1].x=a,e[2].y=d,e[3].x=a,e[3].y=d);this.NA();E.fc.prototype.Yd.call(this,a,d)};a.sj=function(a){var d=this.$v;d[1].x=a;d[3].x=a;this.NA();E.fc.prototype.sj.call(this,a)};a.rj=function(a){var d=this.$v;d[2].y=a;d[3].y=a;this.NA();E.fc.prototype.rj.call(this,a)};a.$b=function(){for(var a=this.za,d=this.hb,e=this.cD,f=0;4>f;f++)e[f].r= a.r,e[f].g=a.g,e[f].b=a.b,e[f].a=d;this.YI()};a.Z=function(a){a=a||E.l;E.Hs(this);E.Fc(E.Ld|E.ou);a.bindBuffer(a.ARRAY_BUFFER,this.ED);a.vertexAttribPointer(E.pb,2,a.FLOAT,r,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.XA);a.vertexAttribPointer(E.xe,4,a.UNSIGNED_BYTE,p,0,0);E.Ih(this.q.src,this.q.Q);a.drawArrays(a.TRIANGLE_STRIP,0,4)};a.NA=function(){var a=E.l;a.bindBuffer(a.ARRAY_BUFFER,this.ED);a.bufferData(a.ARRAY_BUFFER,this.eD,a.STATIC_DRAW)};a.YI=function(){var a=E.l;a.bindBuffer(a.ARRAY_BUFFER,this.XA); a.bufferData(a.ARRAY_BUFFER,this.dD,a.STATIC_DRAW)}}; E.H.wA=function(){var a=E.yl.prototype;a.Z=E.Uc.prototype.Z;a.$b=function(){var a=this.lk,d=E.hl(a);if(0!==d){var e=Math.sqrt(2),a=L(a.x/d,a.y/d);this.Ju&&(a=E.Li(a,1/(Math.abs(a.x)+Math.abs(a.y))*e));var f=this.hb/255,d=this.za,g=this.Be,d={r:d.r,g:d.g,b:d.b,a:this.zo*f},f={r:g.r,g:g.g,b:g.b,a:this.Rn*f},h=this.cD,g=h[0],m=h[1],n=h[2],h=h[3];g.r=f.r+(d.r-f.r)*((e+a.x+a.y)/(2*e));g.g=f.g+(d.g-f.g)*((e+a.x+a.y)/(2*e));g.b=f.b+(d.b-f.b)*((e+a.x+a.y)/(2*e));g.a=f.a+(d.a-f.a)*((e+a.x+a.y)/(2*e));m.r= f.r+(d.r-f.r)*((e-a.x+a.y)/(2*e));m.g=f.g+(d.g-f.g)*((e-a.x+a.y)/(2*e));m.b=f.b+(d.b-f.b)*((e-a.x+a.y)/(2*e));m.a=f.a+(d.a-f.a)*((e-a.x+a.y)/(2*e));n.r=f.r+(d.r-f.r)*((e+a.x-a.y)/(2*e));n.g=f.g+(d.g-f.g)*((e+a.x-a.y)/(2*e));n.b=f.b+(d.b-f.b)*((e+a.x-a.y)/(2*e));n.a=f.a+(d.a-f.a)*((e+a.x-a.y)/(2*e));h.r=f.r+(d.r-f.r)*((e-a.x-a.y)/(2*e));h.g=f.g+(d.g-f.g)*((e-a.x-a.y)/(2*e));h.b=f.b+(d.b-f.b)*((e-a.x-a.y)/(2*e));h.a=f.a+(d.a-f.a)*((e-a.x-a.y)/(2*e));this.YI()}}};E.H.zz=function(){var a=E.Uc.prototype;E.j(a,"width",a.eh,a.sj);E.j(a,"height",a.yk,a.rj)};E.H.Az=function(){var a=E.yl.prototype;E.j(a,"startColor",a.Yw,a.Ue);E.j(a,"endColor",a.Tw,a.Re);E.j(a,"startOpacity",a.r1,a.e5);E.j(a,"endOpacity",a.B0,a.B4);E.j(a,"vector",a.x1,a.n5)};E.fc=E.m.extend({Ql:r,Du:q,wb:"Layer",ctor:function(){var a=E.m.prototype;a.ctor.call(this);this.gj=p;a.ll.call(this,0.5,0.5);a.Yd.call(this,E.rt)},U:function(){this.gj=p;this.ll(0.5,0.5);this.Yd(E.rt);this.cascadeColor=this.cascadeOpacity=r;return p},lM:q,fQ:q,Kea:A("Ql"),P:q});E.fc.create=function(){return new E.fc}; if(E.A===E.Ba){var ga=E.fc.prototype;ga.lM=function(){if(!this.Ql){this.Ql=this.qg=p;this.Fn=this;for(var a=this.u,c=0,d=a.length;ch.Db)h.P(g);else break;for(this.Z(g);c=this.ge.length?E.log(E.f.WR):(this.removeChild(this.ge[this.Ol],p),this.Ol=a,this.T(this.ge[a]))},pla:function(a){a>=this.ge.length?E.log(E.f.XR):(this.removeChild(this.ge[this.Ol], p),this.ge[this.Ol]=q,this.Ol=a,this.T(this.ge[a]))},x$:function(a){a?this.ge.push(a):E.log(E.f.UR)}});E.Rt.create=function(){return new E.Rt(Array.prototype.slice.call(arguments))};E.H.xA=function(){var a=E.D.prototype;a.bD=function(a){this.Ia(p);this.rb(a.Gh(),a.ie,a.ep());this.Nd()};a.Se=function(a){this.Oa!==a&&(this.Oa=a,this.pt())};a.yc=function(a){E.m.prototype.yc.call(this,a);this.pt()};a.ctor=function(a,d,e){E.m.prototype.ctor.call(this);this.Ok=r;this.Jb=L(0,0);this.xh=L(0,0);this.q={src:E.bc,Q:E.ac};this.ha=W(0,0,0,0);this.Ob=new E.Bb;this.Lv=E.l.createBuffer();this.la=this.De=p;this.GL(a,d,e)};a.Qe=function(a,d){var e=this.q;d===k?(e.src=a.src,e.Q=a.Q):(e.src=a,e.Q= d)};a.U=function(){if(0a.width&&E.error(E.f.Gz,a.url),g>a.height&& E.error(E.f.Fz,a.url));this.texture=a;this.rb(d,e);this.batchNode=q;return this.De=p};a.mw=function(a){if(!this.la){this.la=p;var d=this.ha;d?E.wC(d)&&(d.width=a.width,d.height=a.height):d=W(0,0,a.width,a.height);this.texture=a;this.rb(d,this.Bc);this.batchNode=this.X;this.De=p;this.Nd()}};a.rb=function(a,d,e){this.Bc=d||r;this.Yd(e||a);this.jG(a);this.yL(a);a=this.xh;this.Lb&&(a.x=-a.x);this.Mb&&(a.y=-a.y);var f=this.ha;this.Jb.x=a.x+(this.N.width-f.width)/2;this.Jb.y=a.y+(this.N.height-f.height)/ 2;if(this.X)this.dirty=p;else{a=0+this.Jb.x;d=0+this.Jb.y;e=a+f.width;var f=d+f.height,g=this.Ob;g.F.i={x:a,y:d,d:0};g.M.i={x:e,y:d,d:0};g.L.i={x:a,y:f,d:0};g.K.i={x:e,y:f,d:0};this.De=p}};a.Xe=function(){if(this.dirty){var a=this.Ob,d=this.Nc;if(!this.kc||d&&d!=this.X&&d.Ok)a.M.i=a.L.i=a.K.i=a.F.i={x:0,y:0,d:0},this.Ok=p;else{this.Ok=r;var e=this.om=!d||d==this.X?this.pp():E.um(this.pp(),d.om),f=this.ha,d=this.Jb.x,g=this.Jb.y,h=d+f.width,m=g+f.height,n=e.Ja,s=e.Ka,v=e.a,w=e.b,y=e.J,x=-e.C,e=d*v- g*x+n,f=d*w+g*y+s,z=h*v-g*x+n,g=h*w+g*y+s,C=h*v-m*x+n,h=h*w+m*y+s,n=d*v-m*x+n,d=d*w+m*y+s,m=this.$r;E.Nz||(e|=0,f|=0,z|=0,g|=0,C|=0,h|=0,n|=0,d|=0);a.F.i={x:e,y:f,d:m};a.M.i={x:z,y:g,d:m};a.L.i={x:n,y:d,d:m};a.K.i={x:C,y:h,d:m}}this.textureAtlas.yy(a,this.atlasIndex);this.dirty=this.nh=r}this.hi&&this.pg(this.u,E.m.vf.Xe);E.Zj&&E.Ae.Xd([L(this.Ob.F.i.x,this.Ob.F.i.y),L(this.Ob.M.i.x,this.Ob.M.i.y),L(this.Ob.K.i.x,this.Ob.K.i.y),L(this.Ob.L.i.x,this.Ob.L.i.y)],4,p)};a.T=function(a,d,e){E.assert(a, E.f.uT);d==q&&(d=a.Db);e==q&&(e=a.tag);if(this.X){if(!(a instanceof E.D)){E.log(E.f.sT);return}a.texture.Ud!==this.textureAtlas.texture.Ud&&E.log(E.f.tT);this.X.appendChild(a);this.Td||this.TC()}E.m.prototype.T.call(this,a,d,e);this.hi=p};a.Ta=function(a){E.m.prototype.Ta.call(this,a);this.pt()};a.Za=function(a){E.m.prototype.Za.call(this,a);this.pt()};a.Ic=function(a){E.m.prototype.Ic.call(this,a);this.pt()};a.Sg=function(a){var d=this;"string"==typeof a&&(a=E.bg.Hh(a),E.assert(a,E.f.MT));d.Ia(p); var e=a.Lm();d.xh.x=e.x;d.xh.y=e.y;e=a.Aa();a.la||(d.la=r,a.Vd(function(a){d.la=p;var c=a.Aa();c!=d.I&&(d.texture=c);d.rb(a.Gh(),a.ie,a.ep());d.Nd()},d));e!=d.I&&(d.texture=e);d.Bc=a.ie;d.rb(a.Gh(),d.Bc,a.ep())};a.eO=function(a){return E.QO(a.Gh(),this.ha)&&a.Aa().getName()==this.I.getName()&&E.DF(a.Lm(),this.xh)};a.ml=function(a){if(this.X=a)this.om={a:1,b:0,C:0,J:1,Ja:0,Ka:0},this.textureAtlas=this.X.textureAtlas;else{this.atlasIndex=E.D.dz;this.textureAtlas=q;this.dirty=this.nh=r;a=this.Jb.x;var d= this.Jb.y,e=a+this.ha.width,f=d+this.ha.height,g=this.Ob;g.F.i={x:a,y:d,d:0};g.M.i={x:e,y:d,d:0};g.L.i={x:a,y:f,d:0};g.K.i={x:e,y:f,d:0};this.De=p}};a.$a=function(a){a&&"string"===typeof a?(a=E.Ea.Ec(a),this.$a(a),a=a.Ne(),this.rb(W(0,0,a.width,a.height))):(E.assert(!a||a instanceof E.ca,E.f.OT),this.X&&this.X.texture!=a?E.log(E.f.NT):(this.shaderProgram=a?E.Id.mc(E.Yi):E.Id.mc(E.au),!this.X&&this.I!=a&&(this.I=a,this.Mf())))};a.Z=function(){if(this.la){var a=E.l,d=this.I;d?d.tc&&(this.Gb.Jc(),this.Gb.We(), E.Ih(this.q.src,this.q.Q),E.NE(0,d),E.Fc(E.Gl),a.bindBuffer(a.ARRAY_BUFFER,this.Lv),this.De&&(a.bufferData(a.ARRAY_BUFFER,this.Ob.yw,a.DYNAMIC_DRAW),this.De=r),a.vertexAttribPointer(0,3,a.FLOAT,r,24,0),a.vertexAttribPointer(1,4,a.UNSIGNED_BYTE,p,24,12),a.vertexAttribPointer(2,2,a.FLOAT,r,24,16),a.drawArrays(a.TRIANGLE_STRIP,0,4)):(this.Gb.Jc(),this.Gb.We(),E.Ih(this.q.src,this.q.Q),E.pe(q),E.Fc(E.Ld|E.ou),a.bindBuffer(a.ARRAY_BUFFER,this.Lv),this.De&&(E.l.bufferData(E.l.ARRAY_BUFFER,this.Ob.yw,E.l.STATIC_DRAW), this.De=r),a.vertexAttribPointer(E.pb,3,a.FLOAT,r,24,0),a.vertexAttribPointer(E.xe,4,a.UNSIGNED_BYTE,p,24,12),a.drawArrays(a.TRIANGLE_STRIP,0,4));E.pf++;if(0!==E.Zj||this.XC)1===E.Zj||this.XC?(a=this.Ob,E.Ae.Xd([L(a.L.i.x,a.L.i.y),L(a.F.i.x,a.F.i.y),L(a.M.i.x,a.M.i.y),L(a.K.i.x,a.K.i.y)],4,p)):2===E.Zj&&(a=this.GN(),d=this.a1(),E.Ae.Xd([L(d.x,d.y),L(d.x+a.width,d.y),L(d.x+a.width,d.y+a.height),L(d.x,d.y+a.height)],4,p))}};delete a};E.H.Bz=function(){var a=E.D.prototype;E.j(a,"opacityModifyRGB",a.Rf,a.Se);E.j(a,"opacity",a.Fg,a.Ta);E.j(a,"color",a.Eg,a.Za);E.j(a,"flippedX",a.f2,a.at);E.j(a,"flippedY",a.g2,a.WF);E.j(a,"offsetX",a.xW);E.j(a,"offsetY",a.yW);E.j(a,"texture",a.Aa,a.$a);E.j(a,"textureRectRotated",a.m2);E.j(a,"batchNode",a.vE,a.ml);E.j(a,"quad",a.f1)};E.Im=function(a,c,d,e){e=e||E.Sb("canvas");d=d||W(0,0,a.width,a.height);var f=e.getContext("2d");e.width!=d.width||e.height!=d.height?(e.width=d.width,e.height=d.height):f.globalCompositeOperation="source-over";f.fillStyle="rgb("+c.r+","+c.g+","+c.b+")";f.fillRect(0,0,d.width,d.height);f.globalCompositeOperation="multiply";f.drawImage(a,d.x,d.y,d.width,d.height,0,0,d.width,d.height);f.globalCompositeOperation="destination-atop";f.drawImage(a,d.x,d.y,d.width,d.height,0,0,d.width,d.height);return e}; E.Hm=function(a,c,d,e,f){e||(e=W(0,0,a.width,a.height));a=d.r/255;var g=d.g/255;d=d.b/255;var h=Math.min(e.width,c[0].width),m=Math.min(e.height,c[0].height),n;f?(n=f.getContext("2d"),n.clearRect(0,0,h,m)):(f=E.Sb("canvas"),f.width=h,f.height=m,n=f.getContext("2d"));n.save();n.globalCompositeOperation="lighter";var s=n.globalAlpha;0a+g+d&&(n.globalAlpha=s,n.drawImage(c[3],e.x,e.y,h,m,0,0,h,m));n.restore();return f}; E.$o=function(a){function c(){var c=E.$o,e=a.width,h=a.height;d[0].width=e;d[0].height=h;d[1].width=e;d[1].height=h;d[2].width=e;d[2].height=h;d[3].width=e;d[3].height=h;c.canvas.width=e;c.canvas.height=h;var m=c.canvas.getContext("2d");m.drawImage(a,0,0);c.pG.width=e;c.pG.height=h;for(var m=m.getImageData(0,0,e,h).data,n=0;4>n;n++){var s=d[n].getContext("2d");s.getImageData(0,0,e,h).data;c.YP.drawImage(a,0,0);for(var v=c.YP.getImageData(0,0,e,h),w=v.data,y=0;y a.width&&E.error(E.f.Gz,a.url),e>a.height&&E.error(E.f.Fz,a.url));this.texture=this.uc=a;this.rb(c,d);this.batchNode=q;return p},G.mw=function(a){if(!this.la){this.la=p;var c=this.ha;c?E.wC(c)&&(c.width=a.width,c.height=a.height):c=W(0,0,a.width,a.height);this.texture=this.uc=a;this.rb(c,this.Bc);a=this.za;(255!=a.r||255!=a.g||255!=a.b)&&this.be();this.batchNode=this.X;this.Nd()}},G.rb=function(a,c,d){this.Bc=c||r;this.Yd(d||a);this.jG(a);c=this.jm;d=E.qb();c.x=0|a.x*d;c.y=0|a.y*d;c.width=0|a.width* d;c.height=0|a.height*d;c.cn=!(0===c.width||0===c.height||0>c.x||0>c.y);a=this.xh;this.Lb&&(a.x=-a.x);this.Mb&&(a.y=-a.y);this.Jb.x=a.x+(this.N.width-this.ha.width)/2;this.Jb.y=a.y+(this.N.height-this.ha.height)/2;this.X&&(this.dirty=p)},G.Xe=function(){if(this.dirty){var a=this.Nc;!this.kc||a&&a!=this.X&&a.Ok?this.Ok=p:(this.Ok=r,this.om=!a||a==this.X?this.pp():E.um(this.pp(),a.om));this.dirty=this.nh=r}this.hi&&this.pg(this.u,E.m.vf.Xe)},G.T=function(a,c,d){E.assert(a,E.f.HQ);c==q&&(c=a.Db);d== q&&(d=a.tag);E.m.prototype.T.call(this,a,c,d);this.hi=p},G.Ta=function(a){E.m.prototype.Ta.call(this,a);this.vi()},G.Za=function(a){var c=this.color;this.PK=c;c.r===a.r&&c.g===a.g&&c.b===a.b||E.m.prototype.Za.call(this,a)},G.Ic=function(a){E.m.prototype.Ic.call(this,a);a=this.PK;var c=this.za;a.r===c.r&&a.g===c.g&&a.b===c.b||(this.be(),this.vi())},G.Sg=function(a){var c=this;"string"==typeof a&&(a=E.bg.Hh(a),E.assert(a,E.f.MQ));c.Ia(p);var d=a.Lm();c.xh.x=d.x;c.xh.y=d.y;c.Bc=a.ie;var d=a.Aa(),e=a.la; e||(c.la=r,a.Vd(function(a){c.la=p;var d=a.Aa();d!=c.I&&(c.texture=d);c.rb(a.Gh(),a.ie,a.ep());c.Nd()},c));d!=c.I&&(c.texture=d);c.Bc&&(c.uc=d);c.rb(a.Gh(),c.Bc,a.ep());c.Sq=r;e&&(a=c.color,(255!==a.r||255!==a.g||255!==a.b)&&c.be())},G.eO=function(a){return a.Aa()!=this.I?r:E.QO(a.Gh(),this.ha)},G.ml=function(a){(this.X=a)?(this.om={a:1,b:0,C:0,J:1,Ja:0,Ka:0},this.textureAtlas=this.X.textureAtlas):(this.atlasIndex=E.D.dz,this.textureAtlas=q,this.dirty=this.nh=r)},G.$a=function(a){a&&"string"===typeof a? (a=E.Ea.Ec(a),this.$a(a),a=a.Ne(),this.rb(W(0,0,a.width,a.height))):(E.assert(!a||a instanceof E.ca,E.f.NQ),this.I!=a&&(a&&a.Xa instanceof HTMLImageElement&&(this.uc=a),this.I=a))},G.Z=function(a){if(this.la){a=a||E.l;this.lo&&(a.globalCompositeOperation="lighter");var c=E.view.ja,d=E.view.La;a.globalAlpha=this.hb/255;var e=this.ha,f=this.N,g=this.Jb,h=this.fB,m=0|g.x,n=-g.y-e.height,s=this.jm;h.width=e.width*c;h.height=e.height*d;if(this.Lb||this.Mb)a.save(),this.Lb&&(m=-g.x-e.width,a.scale(-1,1)), this.Mb&&(n=g.y,a.scale(1,-1));m*=c;n*=d;this.I&&s.cn?(f=this.I.Xa,this.Sq?a.drawImage(f,0,0,s.width,s.height,m,n,h.width,h.height):a.drawImage(f,s.x,s.y,s.width,s.height,m,n,h.width,h.height)):!this.I&&s.cn&&(h=this.color,a.fillStyle="rgba("+h.r+","+h.g+","+h.b+",1)",a.fillRect(m,n,f.width*c,f.height*d));1===E.Zj||this.XC?(a.strokeStyle="rgba(0,255,0,1)",m/=c,n=-(n/d),E.Ae.Xd([L(m,n),L(m+e.width,n),L(m+e.width,n-e.height),L(m,n-e.height)],4,p)):2===E.Zj&&(a.strokeStyle="rgba(0,255,0,1)",c=this.ha, n=-n,E.Ae.Xd([L(m,n),L(m+c.width,n),L(m+c.width,n-c.height),L(m,n-c.height)],4,p));(this.Lb||this.Mb)&&a.restore();E.pf++}},E.fb.hw||(G.be=function(){var a,c=this.I,d=this.jm;if(c&&(d.cn&&this.uc)&&(a=c.Xa))if(c=E.Ea.Zw(this.uc.Xa))this.Sq=p,a instanceof HTMLCanvasElement&&!this.Bc&&!this.xv?E.Hm(a,c,this.za,d,a):(a=E.Hm(a,c,this.za,d),c=new E.ca,c.Rc(a),c.ub(),this.texture=c)}),delete G):(E.assert("function"===typeof E.H.xA,E.f.cd,"SpritesWebGL.js"),E.H.xA(),delete E.H.xA); E.assert("function"===typeof E.H.Bz,E.f.cd,"SpritesPropertyDefine.js");E.H.Bz();delete E.H.Bz;E.Ny=29; E.ud=E.m.extend({textureAtlas:q,q:q,zd:q,wb:"SpriteBatchNode",qZ:function(a,c,d){E.assert(a,E.f.lT);if(!(a instanceof E.D))return E.log(E.f.kT),q;a.atlasIndex=c;var e=0,f=this.zd;if(f&&0=c&&++e}f.splice(e,0,a);E.m.prototype.T.call(this,a,c,d);this.WO(r);return this},JE:A("textureAtlas"),fG:function(a){a!=this.textureAtlas&&(this.textureAtlas=a)},x0:A("zd"),bl:function(a,c){var d=E.Ea.$m(a);d||(d=E.Ea.Ec(a));return this.ra(d,c)},vi:function(){this.qg= p},U:function(a,c){var d=E.Ea.$m(a);d||(d=E.Ea.Ec(a));return this.ra(d,c)},jx:function(){var a=this.textureAtlas.capacity,c=Math.floor(4*(a+1)/3);E.log(E.f.mT,a,c);this.textureAtlas.LF(c)||E.log(E.f.nT)},Q3:function(a,c){this.removeChild(this.u[a],c)},OO:function(a,c){var d=a.children;if(d&&0f.zIndex&&(c=this.OO(f,c))}!a==this&&(a.atlasIndex=c,c++);if(d&&0c?d.atlasIndex:d.atlasIndex+1:0>g.zIndex&&0>c||0<=g.zIndex&&0<=c?this.SE(g)+1:d.atlasIndex+1},WO:u("Td"),Qe:function(a,c){this.q=c===k?a:{src:a,Q:c}},Dh:A("q"),xp:function(a,c){E.assert(a,E.f.qT);-1===this.u.indexOf(a)? E.log(E.f.pT):c!==a.zIndex&&(E.m.prototype.xp.call(this,a,c),this.Ia())},removeChild:function(a,c){a!=q&&(-1===this.u.indexOf(a)?E.log(E.f.oT):(this.Tm(a),E.m.prototype.removeChild.call(this,a,c)))},sX:q,Tk:q,r$:r,uc:q,ctor:q,Uq:function(a,c){E.m.prototype.ctor.call(this);var d;c=c||E.Ny;"string"==typeof a?(d=E.Ea.$m(a))||(d=E.Ea.Ec(a)):a instanceof E.ca&&(d=a);d&&this.ra(d,c)},Vq:function(a,c){E.m.prototype.ctor.call(this);this.sX=new E.ba;var d;c=c||E.Ny;"string"==typeof a?(d=E.Ea.$m(a))||(d=E.Ea.Ec(a)): a instanceof E.ca&&(d=a);d&&this.ra(d,c)},jQ:q,fZ:function(a,c){E.assert(a,E.f.OQ);a instanceof E.D?(a.batchNode=this,a.atlasIndex=c,a.dirty=p,a.Xe()):E.log(E.f.Jy)},gZ:function(a,c){E.assert(a,E.f.Jy);if(a instanceof E.D){for(var d=this.textureAtlas.capacity;c>=d||d==this.textureAtlas.totalQuads;)this.jx();a.batchNode=this;a.atlasIndex=c;a.dirty=p;a.Xe()}else E.log(E.f.Jy)},Sk:function(a,c){var d=this.zd,e=this.textureAtlas,f=e.quads,g=d[a],h=E.EI(f[a]);d[c].atlasIndex=a;d[a]=d[c];e.yy(f[c],a);d[c]= g;e.yy(h,c)},ox:q,$W:function(a,c){E.assert(a,E.f.LQ);a instanceof E.D?(a.batchNode=this,a.atlasIndex=c,a.dirty=p,a.Xe(),this.u.splice(c,0,a)):E.log(E.f.KQ)},aX:function(a,c){E.assert(a,E.f.FT);if(a instanceof E.D){for(var d=this.textureAtlas;c>=d.capacity||d.capacity===d.totalQuads;)this.jx();a.batchNode=this;a.atlasIndex=c;d.cF(a.quad,c);a.dirty=p;a.Xe()}else E.log(E.f.ET)},UL:function(a,c){var d=0,e=a.children;e&&(d=e.length);var f=0;if(0===d)f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&& this.Sk(f,c),c++;else{f=p;0<=e[0].zIndex&&(f=a.atlasIndex,a.atlasIndex=c,a.arrivalOrder=0,f!=c&&this.Sk(f,c),c++,f=r);for(d=0;d=d.capacity&&this.jx();d.cF(a.quad,c);this.zd.splice(c,0,a);var d=c+1,e=this.zd;if(e&&0a.width&&E.error(E.f.Gz,a.url);h>a.height&&E.error(E.f.Fz,a.url)}this.Fe=c;this.ha=E.jl(c);this.wg.x=e.x;this.wg.y=e.y;E.gC(e,this.va);this.Gf.width=f.width;this.Gf.height=f.height;E.FL(f,this.Fk);this.ie=d;return p}}); E.we.create=function(a,c,d,e,f){return new E.we(a,c,d,e,f)};E.we.gE=E.we.create;E.we.N9=function(a,c,d,e,f){var g=new E.we;g.I=a;g.Fe=c;g.ha=E.jl(c);g.wg.x=e.x;g.wg.y=e.y;E.gC(g.wg,g.va);g.Gf.width=f.width;g.Gf.height=f.height;E.FL(g.Gf,g.Fk);g.ie=d;return g};E.bg={LI:/^\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*$/,JU:/^\s*\{\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*,\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*\}\s*$/,uh:{},uj:{},Zn:{},fL:function(a){a=this.JU.exec(a);return!a?W(0,0,0,0):W(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]),parseFloat(a[4]))},WK:function(a){a=this.LI.exec(a);return!a?L(0,0):L(parseFloat(a[1]),parseFloat(a[2]))},YC:function(a){a=this.LI.exec(a);return!a?P(0,0):P(parseFloat(a[1]), parseFloat(a[2]))},nW:function(a){var c=E.V.Ed(a);E.assert(c,E.f.K5,a);E.V.Ni(a);if(c.ho)return this.Zn[a]=c;var d=c.frames,e=c.metadata||c.meta,c={},f={},g=0;e&&(g=e.format,g=1>=g.length?parseInt(g):g,f.K1=e.textureFileName||e.textureFileName||e.image);for(var h in d){var m=d[h];if(m){e={};if(0==g){e.rect=W(m.x,m.y,m.width,m.height);e.cy=r;e.offset=L(m.offsetX,m.offsetY);var n=m.originalWidth,m=m.originalHeight;(!n||!m)&&E.log(E.f.J5);n=Math.abs(n);m=Math.abs(m);e.size=P(n,m)}else if(1==g||2==g)e.rect= this.fL(m.frame),e.cy=m.rotated||r,e.offset=this.WK(m.offset),e.size=this.YC(m.sourceSize);else if(3==g){var n=this.YC(m.spriteSize),s=this.fL(m.textureRect);n&&(s=W(s.x,s.y,n.width,n.height));e.rect=s;e.cy=m.textureRotated||r;e.offset=this.WK(m.spriteOffset);e.size=this.YC(m.spriteSourceSize);e.uZ=m.aliases}else n=m.frame,s=m.sourceSize,h=m.filename||h,e.rect=W(n.x,n.y,n.w,n.h),e.cy=m.rotated||r,e.offset=L(0,0),e.size=P(s.w,s.h);c[h]=e}}return this.Zn[a]={ho:p,frames:c,c3:f}},ww:function(a,c){E.assert(a, E.f.M5);var d=this.Zn[a]||E.V.Ed(a);if(d&&d.frames){var e=this.Zn[a]||this.nW(a),d=e.frames,e=e.c3;c?c instanceof E.ca||("string"==typeof c?c=E.Ea.Ec(c):E.assert(0,E.f.N5)):c=E.Ea.Ec(E.path.Qo(a,e.K1||".png"));var e=this.uj,f=this.uh,g;for(g in d){var h=d[g],m=f[g];if(!m){m=E.we.create(c,h.rect,h.cy,h.offset,h.size);if(h=h.uZ)for(var n=0,s=h.length;nthis.lc.height?0|24*(this.lc.height/320):0|24*(this.lc.width/320);this.wf= E.S.create("000.0","Arial",a);this.xf=E.S.create("0.000","Arial",a);this.Af=E.S.create("0000","Arial",a);a=E.Oy;this.Af.R(this.Af.width/2+a.x,5*this.Af.height/2+a.y);this.xf.R(this.xf.width/2+a.x,3*this.xf.height/2+a.y);this.wf.R(this.wf.width/2+a.x,this.wf.height/2+a.y)};a.f_=function(a){var d=new E.ba;E.aH(d);var e=new E.ba;E.E2(e,d);var f=this.lh.yE(),g=new E.vb;E.rO(g,new E.vb(2*a.x/f.width-1,1-2*a.y/f.height,d.c[14]/d.c[15]),e);return L(g.x,g.y)};a.h_=function(a){var d=new E.ba;E.aH(d);var e= new E.vb;E.rO(e,new E.vb(a.x,a.y,0),d);a=this.lh.yE();return L(a.width*(0.5*e.x+0.5),a.height*(0.5*-e.y+0.5))};a.ts=function(){return this.lh.ts()};a.ME=function(){return this.lh.ME()};a.vs=function(){return this.lc.height/1.1566};a.OP=function(){var a=this.lh;if(a){var d=this.lc;a.q5(-a.ne.x/a.ja,-a.ne.y/a.La,d.width,d.height)}};a.jda=A("lh");a.yda=A("ri");a.n4=function(){E.Ih(E.bc,E.ac)};a.tP=function(){this.n4();this.oP(r);this.Xm(this.ri);E.l.clearColor(0,0,0,1)}};E.pf=0;E.aH=function(a){var c=new E.ba;E.tx(E.Yg,c);var d=new E.ba;E.tx(E.Xg,d);E.Ii(a,c,d)}; E.Ua=E.na.extend({X9:r,ur:r,ic:r,Kv:r,Kk:r,Lq:0,WB:0,ri:0,vn:0,bh:1,$q:r,pk:0,oB:0,wf:q,xf:q,Af:q,lc:q,Ck:q,ki:q,zv:q,lh:q,ui:q,tC:q,$c:q,Qd:0,ow:0,FC:0,K9:q,Jf:q,og:q,$u:q,iB:q,kB:q,jB:q,ctor:function(){var a=this;a.Ck=Date.now();E.qa.MD(E.tb.Sp,function(){a.Ck=Date.now()})},U:function(){this.WB=this.Lq=1/E.l_;this.ui=[];this.ri=E.Ua.IS;this.tC=q;this.oB=this.vn=0;this.$q=r;this.ow=this.Qd=0;this.Ck=Date.now();this.Kv=this.ic=r;this.lc=P(0,0);this.lh=q;this.bh=1;this.Jf=new E.vq;this.og=E.EG?new E.EG: q;this.Jf.PF(this.og,E.vq.Ut,r);this.iB=new E.Ti(E.Ua.jR);this.iB.setUserData(this);this.kB=new E.Ti(E.Ua.lR);this.kB.setUserData(this);this.jB=new E.Ti(E.Ua.kR);this.jB.setUserData(this);this.$u=new E.Ti(E.Ua.mR);this.$u.setUserData(this);return p},WZ:function(){var a=Date.now();this.ur?(this.pk=0,this.ur=r):this.pk=(a-this.Ck)/1E3;0E.XQ&&(this.xf.string= this.FC.toFixed(3),this.oB=this.Qd/this.vn,this.vn=this.Qd=0,this.wf.string=this.oB.toFixed(1),this.Af.string=(0|E.pf).toString()),this.wf.P(),this.xf.P(),this.Af.P()):this.Mn();E.pf=0},$ea:A("Kk"),Fda:A("$c"),Tba:A("Lq"),Nea:A("$q"),z4:u("$q"),Kda:A("FC"),Sea:A("ur"),Uea:A("ic"),eea:A("ow"),aia:function(){this.B3(1)},B3:function(a){E.assert(this.$c,E.f.aR);var c=this.ui,d=c.length;if(0==d)this.end();else if(!(a>d)){for(;d>a;){var e=c.pop();e.running&&(e.Tf(),e.yb());e.Le();d--}this.ki=c[c.length- 1];this.Kk=r}},Di:A("Jf"),IP:function(a){this.Jf!=a&&(this.Jf=a)},Pw:A("og"),jP:function(a){this.og!=a&&(this.og=a)},mca:A("pk"),Mn:q,mV:function(){this.FC=(Date.now()-this.Ck)/1E3}});E.Ua.mR="director_projection_changed";E.Ua.jR="director_after_draw";E.Ua.lR="director_after_visit";E.Ua.kR="director_after_update"; E.dR=E.Ua.extend({px:r,TP:function(){this.ur=p;this.px=r},b3:function(){this.Kv?(this.Kv=r,this.I3()):this.px||this.y_()},VP:function(){this.px=p},kP:function(a){this.Lq=a;this.px||(this.VP(),this.TP())}});E.Ua.kG=q;E.Ua.ZM=p;E.Ua.vB=function(){E.Ua.ZM&&(E.Ua.ZM=r,E.Ua.kG=new E.dR,E.Ua.kG.U());return E.Ua.kG};E.l_=60;E.Ua.GS=0;E.Ua.tH=1;E.Ua.HS=3;E.Ua.IS=E.Ua.tH; E.A===E.Ba?(G=E.Ua.prototype,G.Xm=function(a){this.ri=a;E.qa.dispatchEvent(this.$u)},G.oP=t(),G.ZF=function(a){this.lc.width=E.Wa.width;this.lc.height=E.Wa.height;this.lh=a||E.view;E.qa&&E.qa.qe(p)},G.nk=function(){var a=this.lh.ne;E.l.clearRect(-a.x,a.y,a.width,-a.height)},G.Mn=function(){var a=0,a=this.lc.width>this.lc.height?0|24*(this.lc.height/320):0|24*(this.lc.width/320);this.wf=E.S.create("000.0","Arial",a);this.xf=E.S.create("0.000","Arial",a);this.Af=E.S.create("0000","Arial",a);a=E.Oy; this.Af.R(this.Af.width/2+a.x,5*this.Af.height/2+a.y);this.xf.R(this.xf.width/2+a.x,3*this.xf.height/2+a.y);this.wf.R(this.wf.width/2+a.x,this.wf.height/2+a.y)},G.ts=function(){return this.oa()},G.ME=function(){return L(0,0)}):(E.Ua.Yn=new Image,E.Ha(E.Ua.Yn,"load",function(){E.Ua.cK=p}),E.Yn&&(E.Ua.Yn.src=E.Yn),E.assert("function"===typeof E.H.Qy,E.f.cd,"CCDirectorWebGL.js"),E.H.Qy(),delete E.H.Qy);E.Pp=E.na.extend({br:q,cr:q,dr:q,Gn:q,Hn:q,In:q,Ur:q,Vr:q,Wr:q,jb:q,vv:q,ctor:function(){this.vv=new E.ba;this.restore()},description:function(){return"\x3cCCCamera | center \x3d("+this.Gn+","+this.Hn+","+this.In+")\x3e"},pP:u("jb"),eF:A("jb"),restore:function(){this.br=this.cr=0;this.dr=E.Pp.vs();this.Ur=this.Gn=this.Hn=this.In=0;this.Vr=1;this.Wr=0;E.Om(this.vv);this.jb=r},Gs:function(){if(this.jb){var a=new E.vb,c=new E.vb,d=new E.vb;E.mp(a,this.br,this.cr,this.dr);E.mp(c,this.Gn,this.Hn,this.In); E.mp(d,this.Ur,this.Vr,this.Wr);E.hO(this.vv,a,c,d);this.jb=r}E.kp(this.vv)},yja:function(a,c,d){this.sP(a,c,d)},sP:function(a,c,d){this.br=a;this.cr=c;this.dr=d;this.jb=p},hja:function(a,c,d){this.s4(a,c,d)},s4:function(a,c,d){this.Gn=a;this.Hn=c;this.In=d;this.jb=p},Wka:function(a,c,d){this.m5(a,c,d)},m5:function(a,c,d){this.Ur=a;this.Vr=c;this.Wr=d;this.jb=p},Cca:function(){return{x:this.br,y:this.cr,d:this.dr}},kN:function(){return{x:this.br,y:this.cr,d:this.dr}},$ba:function(){return{x:this.Gn, y:this.Hn,d:this.In}},gN:function(){return{x:this.Gn,y:this.Hn,d:this.In}},jea:function(){return{x:this.Ur,y:this.Vr,d:this.Wr}},v1:function(){return{x:this.Ur,y:this.Vr,d:this.Wr}},x9:t()});E.Pp.vs=function(){return E.Nt};E.F8=E.Ut+1;E.Mo=function(a,c){if(a&&0=this.Bk&&(c&&d&&this.eB(),this.kb= 0):(this.vw?this.kb>=this.Pu&&(c&&d&&this.eB(),this.kb-=this.Pu,this.Eo+=1,this.vw=r):this.kb>=this.Bk&&(c&&d&&this.eB(),this.kb=0,this.Eo+=1),this.Eo>this.yC&&E.B.Di().gQ(c,d))}}}); E.vq=E.na.extend({Tr:1,pm:q,fj:q,Bu:q,ej:q,C9:q,yd:q,ei:r,pw:r,ctor:function(){this.Tr=1;this.pm=[[],[],[]];this.fj={};this.Bu=[];this.ej={};this.Mq=[];this.yd=q;this.pw=this.ei=r},xC:function(a){delete this.ej[a.target.ta];E.Ke(this.Mq,a);a.ZH=q;a.target=q},kL:function(a){if(a=this.fj[a.target.ta])E.Ke(a.list,a.Fm),delete this.fj[a.target.ta],E.Ke(this.Bu,a),a.Fm=q,a.target=q},$K:function(a,c,d,e){e=new E.gH(c,d,e);if(a){for(var f=a.length-1,g=0;g<=f&&!(dc?e[0]=this.$K(e[0],a,c,d):e[2]=this.$K(e[2],a,c,d)}},gQ:function(a,c){if(!(a==q||c==q)){var d=this.ej[a.ta];if(d)for(var e=d.Pi,f=0,g=e.length;f=f&&d.Gp--;0==e.length&&(this.yd==d?this.ei=p:this.xC(d));break}}}},ot:function(a){a!=q&&(a=this.fj[a.ta],a!=q&&(this.pw?a.Fm.Hx=p:this.kL(a.Fm)))}, uG:function(a){if(a!=q){var c=this.ej[a.ta];if(c){var d=c.Pi;!c.ks&&0<=d.indexOf(c.js)&&(c.ks=p);d.length=0;this.yd==c?this.ei=p:this.xC(c)}this.ot(a)}},wy:function(){this.p6(E.vq.Ut)},p6:function(a){for(var c=this.Mq,d=this.pm,e=0,f=c.length;ea.length&&b(Error("Polygon's point must greater than 2"));var f=a[0];c=this.l;var g=E.view.ja,h=E.view.La;c.beginPath();c.moveTo(f.x*g,-f.y*h);for(var f=1,m=a.length;fd&&1d&&100>v++;)g*=d/m,g|=0,h=e.substr(g),m=f-this.po(h);for(v=0;mv++;)h&&(s=(n=E.S.kZ.exec(h))?n[0].length:1,n=h),g+=s,h=e.substr(g),m=f-this.po(h);g-=s;d=e.substr(0,g);if(E.S.D6&&E.S.UY.test(n||h))f=E.S.iX.exec(d),g-=f?f[0].length:0,n=e.substr(g),d=e.substr(0,g);if(E.S.VV.test(n)&&(f=E.S.hX.exec(d))&&d!==f[0])g-=f[0].length,n=e.substr(g),d=e.substr(0,g);a[c]=n||h;a.splice(c,0,d)}},tw:function(){var a=this.gc.width,c,d,e=this.GK;e.length=0;this.mo=r;this.rX();if(0!==a){this.wi=this.Kb.split("\n"); for(c=0;cc.x||0>c.y);a=this.xh;this.Lb&&(a.x=-a.x);this.Mb&&(a.y=-a.y);this.Jb.x=a.x+(this.N.width-this.ha.width)/2;this.Jb.y= a.y+(this.N.height-this.ha.height)/2;this.X&&(this.dirty=p)},G=q):(E.assert("function"===typeof E.H.uA,E.f.cd,"LabelTTFWebGL.js"),E.H.uA(),delete E.H.uA);E.assert("function"===typeof E.H.yz,E.f.cd,"LabelTTFPropertyDefine.js");E.H.yz();delete E.H.yz;E.S.VY=["left","center","right"];E.S.WY=["top","middle","bottom"];E.S.D6=p;E.S.kZ=/([a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+|\S)/;E.S.UY=/^[!,.:;}\]%\?>\u3001\u2018\u201c\u300b\uff1f\u3002\uff0c\uff01]/; E.S.iX=/([a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+|\S)$/;E.S.hX=/[a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+$/;E.S.VV=/^[a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]/;E.S.ZV=/^(\d+)px\s+['"]?([\w\s\d]+)['"]?$/;E.S.create=function(a,c,d,e,f,g){return new E.S(a,c,d,e,f,g)};E.S.saa=E.S.create; E.S.RU=E.HU?E.Yi:E.Kz;E.S.jk=E.Sb("div");E.S.jk.style.fontFamily="Arial";E.S.jk.style.position="absolute";E.S.jk.style.left="-100px";E.S.jk.style.top="-100px";E.S.jk.style.lineHeight="normal";document.body?document.body.appendChild(E.S.jk):E.Ha(window,"load",function(){this.removeEventListener("load",arguments.callee,r);document.body.appendChild(E.S.jk)},r); E.S.Gq=function(a,c){var d=E.S.MI[a+"."+c];if(0=a&&c.tm--;0==c.xc.length&&(this.yd==c?this.ei=p:this.aB(c))},aB:function(a){a&&(delete this.gh[a.target.ta],E.Ke(this.xn,a),a.xc=q,a.target=q)},UU:function(a){a.xc==q&&(a.xc=[])},update:function(a){for(var c=this.xn,d,e=0;ec?a:c};E.ifa=function(a,c){return a+E.xa>c&&a-E.xac.x-E.xa&&a.yc.y-E.xa};E.vb=function(a,c,d){this.x=a||0;this.y=c||0;this.d=d||0};E.mp=function(a,c,d,e){if(!a)return new E.vb(c,d,e);a.x=c;a.y=d;a.d=e;return a};E.pO=function(a){return Math.sqrt(E.Gc(a.x)+E.Gc(a.y)+E.Gc(a.d))};E.qO=function(a){return E.Gc(a.x)+E.Gc(a.y)+E.Gc(a.d)};E.tf=function(a,c){var d=1/E.pO(c);a.x=c.x*d;a.y=c.y*d;a.d=c.d*d};E.el=function(a,c,d){a.x=c.y*d.d-c.d*d.y;a.y=c.d*d.x-c.x*d.d;a.d=c.x*d.y-c.y*d.x};E.nF=function(a,c){return a.x*c.x+a.y*c.y+a.d*c.d}; E.oO=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.d=c.d+d.d};E.pF=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.d=c.d-d.d};E.Gga=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.d*d.c[8]+d.c[12];a.y=c.x*d.c[1]+c.y*d.c[5]+c.d*d.c[9]+d.c[13];a.d=c.x*d.c[2]+c.y*d.c[6]+c.d*d.c[10]+d.c[14];return a};E.Hga=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.d*d.c[8];a.y=c.x*d.c[1]+c.y*d.c[5]+c.d*d.c[9];a.d=c.x*d.c[2]+c.y*d.c[6]+c.d*d.c[10];return a}; E.rO=function(a,c,d){var e=new E.sO,f=new E.sO;E.Q2(f,c.x,c.y,c.d);E.tO(e,f,d);a.x=e.x/e.G;a.y=e.y/e.G;a.d=e.d/e.G};E.oF=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.d=c.d*d;return a};E.Cga=function(a,c){return a.xc.x-E.xa&&a.yc.y-E.xa&&a.dc.d-E.xa?1:0};E.Dga=function(a,c,d){c=new E.vb(c.x-d.c[12],c.y-d.c[13],c.d-d.c[14]);a.x=c.x*d.c[0]+c.y*d.c[1]+c.d*d.c[2];a.y=c.x*d.c[4]+c.y*d.c[5]+c.d*d.c[6];a.d=c.x*d.c[8]+c.y*d.c[9]+c.d*d.c[10];return a}; E.Ega=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[1]+c.d*d.c[2];a.y=c.x*d.c[4]+c.y*d.c[5]+c.d*d.c[6];a.d=c.x*d.c[8]+c.y*d.c[9]+c.d*d.c[10];return a};E.Cs=function(a,c){a!=c&&(a.x=c.x,a.y=c.y,a.d=c.d)};E.Iga=function(a){a.x=0;a.y=0;a.d=0;return a};E.Fga=function(a){if(!a)return q;var c=new Float32Array(3);c[0]=a.x;c[1]=a.y;c[2]=a.d;return c};E.sO=function(){this.G=this.d=this.y=this.x=0};E.Q2=function(a,c,d,e){a.x=c;a.y=d;a.d=e;a.G=1};E.Jga=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.d=c.d+d.d;a.G=c.G+d.G;return a};E.Mga=function(a,c){return a.x*c.x+a.y*c.y+a.d*c.d+a.G*c.G};E.R2=function(a){return Math.sqrt(E.Gc(a.x)+E.Gc(a.y)+E.Gc(a.d)+E.Gc(a.G))};E.Nga=function(a){return E.Gc(a.x)+E.Gc(a.y)+E.Gc(a.d)+E.Gc(a.G)};E.Oga=aa();E.S2=function(a,c){var d=1/E.R2(c);a.x*=d;a.y*=d;a.d*=d;a.G*=d}; E.Pga=function(a,c,d){E.S2(a,c);a.x*=d;a.y*=d;a.d*=d;a.G*=d;return a};E.Qga=function(a,c,d){a.x=c.x-d.x;a.y=c.y-d.y;a.d=c.d-d.d;a.G=c.G-d.G;return a};E.tO=function(a,c,d){a.x=c.x*d.c[0]+c.y*d.c[4]+c.d*d.c[8]+c.G*d.c[12];a.y=c.x*d.c[1]+c.y*d.c[5]+c.d*d.c[9]+c.G*d.c[13];a.d=c.x*d.c[2]+c.y*d.c[6]+c.d*d.c[10]+c.G*d.c[14];a.G=c.x*d.c[3]+c.y*d.c[7]+c.d*d.c[11]+c.G*d.c[15]};E.Sga=function(a,c,d,e,f,g){for(var h=0;hc.x-E.xa&&a.yc.y-E.xa&&a.dc.d-E.xa&&a.Gc.G-E.xa};E.Lga=function(a,c){if(a==c)return E.log("destVec and srcVec are same object"),a;a.x=c.x;a.y=c.y;a.d=c.d;a.G=c.G;return a};E.Rga=function(a){if(!a)return q;var c=new Float32Array(4);c[0]=a.x;c[1]=a.y;c[2]=a.d;c[3]=a.G;return c};E.pga=function(a){this.start=a||new E.Lh;this.start=a||new E.Lh};E.qga=function(a,c,d,e,f){a.start.x=c;a.start.y=d;a.dir.x=e;a.dir.y=f}; E.mF=function(a,c,d,e){var f=a.start.x,g=a.start.y,h=a.start.x+a.dir.x;a=a.start.y+a.dir.y;var m=c.x,n=c.y,s=d.x,v=d.y,w=(v-n)*(h-f)-(s-m)*(a-g);if(w>-E.xa&&wE.vx(c.x,d.x)+E.xa||nE.vx(c.y,d.y)+E.xa||mE.vx(f,h)+E.xa||nE.vx(g,a)+E.xa)return E.on;e.x=m;e.y=n;return E.pn}; E.VD=function(a,c,d){var e=new E.Lh;E.zx(e,c,a);d.x=-e.y;d.y=e.x;E.P2(d,d)};E.sga=function(a,c,d,e,f,g){var h=new E.Lh,m=new E.Lh,n=new E.Lh,s=1E4,v=E.on,w;E.mF(a,c,d,h)&&(w=new E.Lh,v=E.pn,w=E.yx(E.zx(w,h,a.start)),wd;d++)a.c[d]=c;return a};E.B2=function(a,c){a.c[0]=c.c[4]*c.c[8]-c.c[5]*c.c[7];a.c[1]=c.c[2]*c.c[7]-c.c[1]*c.c[8];a.c[2]=c.c[1]*c.c[5]-c.c[2]*c.c[4];a.c[3]=c.c[5]*c.c[6]-c.c[3]*c.c[8];a.c[4]=c.c[0]*c.c[8]-c.c[2]*c.c[6];a.c[5]=c.c[2]*c.c[3]-c.c[0]*c.c[5];a.c[6]=c.c[3]*c.c[7]-c.c[4]*c.c[6];a.c[8]=c.c[0]*c.c[4]-c.c[1]*c.c[3]}; E.gO=function(a){a.c[1]=a.c[2]=a.c[3]=a.c[5]=a.c[6]=a.c[7]=0;a.c[0]=a.c[4]=a.c[8]=1};E.tfa=function(a,c,d){var e=new E.ux;if(0===c)return q;c=1/c;E.B2(e,d);E.C2(a,e,c);return a};E.ux.DB=new Float32Array([1,0,0,0,1,0,0,0,1]);E.ufa=function(a){for(var c=0;9>c;c++)if(E.ux.DB[c]!==a.c[c])return r;return p};E.Ffa=function(a,c){var d,e;for(d=0;3>d;++d)for(e=0;3>e;++e)a.c[3*d+e]=c.c[3*e+d];return a}; E.rfa=function(a){var c;c=a.c[0]*a.c[4]*a.c[8]+a.c[1]*a.c[5]*a.c[6]+a.c[2]*a.c[3]*a.c[7];return c-=a.c[2]*a.c[4]*a.c[6]+a.c[0]*a.c[5]*a.c[7]+a.c[1]*a.c[3]*a.c[8]}; E.vfa=function(a,c,d){c=c.c;d=d.c;a.c[0]=c[0]*d[0]+c[3]*d[1]+c[6]*d[2];a.c[1]=c[1]*d[0]+c[4]*d[1]+c[7]*d[2];a.c[2]=c[2]*d[0]+c[5]*d[1]+c[8]*d[2];a.c[3]=c[0]*d[3]+c[3]*d[4]+c[6]*d[5];a.c[4]=c[1]*d[3]+c[4]*d[4]+c[7]*d[5];a.c[5]=c[2]*d[3]+c[5]*d[4]+c[8]*d[5];a.c[6]=c[0]*d[6]+c[3]*d[7]+c[6]*d[8];a.c[7]=c[1]*d[6]+c[4]*d[7]+c[7]*d[8];a.c[8]=c[2]*d[6]+c[5]*d[7]+c[8]*d[8];return a};E.C2=function(a,c,d){for(var e=0;9>e;e++)a.c[e]=c.c[e]*d}; E.xfa=function(a,c,d){var e=Math.cos(d);d=Math.sin(d);a.c[0]=e+c.x*c.x*(1-e);a.c[1]=c.d*d+c.y*c.x*(1-e);a.c[2]=-c.y*d+c.d*c.x*(1-e);a.c[3]=-c.d*d+c.x*c.y*(1-e);a.c[4]=e+c.y*c.y*(1-e);a.c[5]=c.x*d+c.d*c.y*(1-e);a.c[6]=c.y*d+c.x*c.d*(1-e);a.c[7]=-c.x*d+c.y*c.d*(1-e);a.c[8]=e+c.d*c.d*(1-e);return a};E.qfa=function(a,c){if(a==c)return E.log("cc.kmMat3Assign(): pOut equals pIn"),a;for(var d=0;9>d;d++)a.c[d]=c.c[d];return a}; E.pfa=function(a,c){if(a==c)return p;for(var d=0;9>d;++d)if(!(a.c[d]+E.xa>c.c[d]&&a.c[d]-E.xad;d++){for(g=m=0;4>g;g++)if(1!=v[g])for(h=0;4>h;h++)0==v[h]&&Math.abs(E.ba.Df(a,g,h))>=m&&(m=Math.abs(E.ba.Df(a,g,h)),f=g,e=h);++v[e];if(f!=e){for(g=0;4>g;g++)E.ba.Sk(a,f,g,e,g);for(g=0;4>g;g++)E.ba.Sk(c,f,g,e,g)}s[d]=f;n[d]=e;if(0==E.ba.Df(a,e,e))return E.on;h=1/E.ba.Df(a,e,e);E.ba.Lk(a,e,e,1);for(g=0;4>g;g++)E.ba.Lk(a,e,g,E.ba.Df(a,e,g)*h);for(g=0;4>g;g++)E.ba.Lk(c,e,g,E.ba.Df(c,e,g)*h);for(h=0;4>h;h++)if(h!= e){m=E.ba.Df(a,h,e);E.ba.Lk(a,h,e,0);for(g=0;4>g;g++)E.ba.Lk(a,h,g,E.ba.Df(a,h,g)-E.ba.Df(a,e,g)*m);for(g=0;4>g;g++)E.ba.Lk(c,h,g,E.ba.Df(a,h,g)-E.ba.Df(c,e,g)*m)}}for(g=3;0<=g;g--)if(s[g]!=n[g])for(h=0;4>h;h++)E.ba.Sk(a,h,s[g],h,n[g]);return E.pn};E.ba.DB=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);E.E2=function(a,c){var d=new E.ba,e=new E.ba;E.Gj(d,c);E.Om(e);E.ba.aW(d,e)!=E.on&&E.Gj(a,d)};E.Mfa=function(a){for(var c=0;16>c;c++)if(E.ba.DB[c]!=a.c[c])return r;return p}; E.Ufa=function(a,c){var d,e,f=a.c,g=c.c;for(e=0;4>e;++e)for(d=0;4>d;++d)f[4*e+d]=g[4*d+e];return a}; E.Ii=function(a,c,d){a=a.c;var e=c.c[0],f=c.c[1],g=c.c[2],h=c.c[3],m=c.c[4],n=c.c[5],s=c.c[6],v=c.c[7],w=c.c[8],y=c.c[9],x=c.c[10],z=c.c[11],C=c.c[12],J=c.c[13],F=c.c[14];c=c.c[15];var O=d.c[0],R=d.c[1],N=d.c[2],I=d.c[3],K=d.c[4],D=d.c[5],M=d.c[6],S=d.c[7],U=d.c[8],T=d.c[9],ba=d.c[10],Y=d.c[11],$=d.c[12],ea=d.c[13],V=d.c[14];d=d.c[15];a[0]=O*e+R*m+N*w+I*C;a[1]=O*f+R*n+N*y+I*J;a[2]=O*g+R*s+N*x+I*F;a[3]=O*h+R*v+N*z+I*c;a[4]=K*e+D*m+M*w+S*C;a[5]=K*f+D*n+M*y+S*J;a[6]=K*g+D*s+M*x+S*F;a[7]=K*h+D*v+M*z+ S*c;a[8]=U*e+T*m+ba*w+Y*C;a[9]=U*f+T*n+ba*y+Y*J;a[10]=U*g+T*s+ba*x+Y*F;a[11]=U*h+T*v+ba*z+Y*c;a[12]=$*e+ea*m+V*w+d*C;a[13]=$*f+ea*n+V*y+d*J;a[14]=$*g+ea*s+V*x+d*F;a[15]=$*h+ea*v+V*z+d*c}; E.T0=function(){var a=E.il.top.c,c=E.Kj.top.c,d=new Float32Array(16);d[0]=a[0]*c[0]+a[4]*c[1]+a[8]*c[2]+a[12]*c[3];d[1]=a[1]*c[0]+a[5]*c[1]+a[9]*c[2]+a[13]*c[3];d[2]=a[2]*c[0]+a[6]*c[1]+a[10]*c[2]+a[14]*c[3];d[3]=a[3]*c[0]+a[7]*c[1]+a[11]*c[2]+a[15]*c[3];d[4]=a[0]*c[4]+a[4]*c[5]+a[8]*c[6]+a[12]*c[7];d[5]=a[1]*c[4]+a[5]*c[5]+a[9]*c[6]+a[13]*c[7];d[6]=a[2]*c[4]+a[6]*c[5]+a[10]*c[6]+a[14]*c[7];d[7]=a[3]*c[4]+a[7]*c[5]+a[11]*c[6]+a[15]*c[7];d[8]=a[0]*c[8]+a[4]*c[9]+a[8]*c[10]+a[12]*c[11];d[9]=a[1]*c[8]+ a[5]*c[9]+a[9]*c[10]+a[13]*c[11];d[10]=a[2]*c[8]+a[6]*c[9]+a[10]*c[10]+a[14]*c[11];d[11]=a[3]*c[8]+a[7]*c[9]+a[11]*c[10]+a[15]*c[11];d[12]=a[0]*c[12]+a[4]*c[13]+a[8]*c[14]+a[12]*c[15];d[13]=a[1]*c[12]+a[5]*c[13]+a[9]*c[14]+a[13]*c[15];d[14]=a[2]*c[12]+a[6]*c[13]+a[10]*c[14]+a[14]*c[15];d[15]=a[3]*c[12]+a[7]*c[13]+a[11]*c[14]+a[15]*c[15];return d}; E.ada=function(a,c,d){a=a.c;c=c.c;var e=d.c;e[0]=a[0]*c[0]+a[4]*c[1]+a[8]*c[2]+a[12]*c[3];e[1]=a[1]*c[0]+a[5]*c[1]+a[9]*c[2]+a[13]*c[3];e[2]=a[2]*c[0]+a[6]*c[1]+a[10]*c[2]+a[14]*c[3];e[3]=a[3]*c[0]+a[7]*c[1]+a[11]*c[2]+a[15]*c[3];e[4]=a[0]*c[4]+a[4]*c[5]+a[8]*c[6]+a[12]*c[7];e[5]=a[1]*c[4]+a[5]*c[5]+a[9]*c[6]+a[13]*c[7];e[6]=a[2]*c[4]+a[6]*c[5]+a[10]*c[6]+a[14]*c[7];e[7]=a[3]*c[4]+a[7]*c[5]+a[11]*c[6]+a[15]*c[7];e[8]=a[0]*c[8]+a[4]*c[9]+a[8]*c[10]+a[12]*c[11];e[9]=a[1]*c[8]+a[5]*c[9]+a[9]*c[10]+a[13]* c[11];e[10]=a[2]*c[8]+a[6]*c[9]+a[10]*c[10]+a[14]*c[11];e[11]=a[3]*c[8]+a[7]*c[9]+a[11]*c[10]+a[15]*c[11];e[12]=a[0]*c[12]+a[4]*c[13]+a[8]*c[14]+a[12]*c[15];e[13]=a[1]*c[12]+a[5]*c[13]+a[9]*c[14]+a[13]*c[15];e[14]=a[2]*c[12]+a[6]*c[13]+a[10]*c[14]+a[14]*c[15];e[15]=a[3]*c[12]+a[7]*c[13]+a[11]*c[14]+a[15]*c[15];return d.c}; E.Gj=function(a,c){if(a==c)E.log("cc.kmMat4Assign(): pOut equals pIn");else{var d=a.c,e=c.c;d[0]=e[0];d[1]=e[1];d[2]=e[2];d[3]=e[3];d[4]=e[4];d[5]=e[5];d[6]=e[6];d[7]=e[7];d[8]=e[8];d[9]=e[9];d[10]=e[10];d[11]=e[11];d[12]=e[12];d[13]=e[13];d[14]=e[14];d[15]=e[15]}};E.Gfa=function(a,c){if(a==c)return E.log("cc.kmMat4AreEqual(): pMat1 and pMat2 are same object."),p;for(var d=0;16>d;d++)if(!(a.c[d]+E.xa>c.c[d]&&a.c[d]-E.xad?E.DS:E.FS};function ha(){this.G=this.d=this.y=this.x=0}E.L2=function(a,c){a.x=-c.x;a.y=-c.y;a.d=-c.d;a.G=c.G;return a};E.M2=function(a,c){return a.G*c.G+a.x*c.x+a.y*c.y+a.d*c.d};E.fga=aa();E.N2=function(a){a.x=0;a.y=0;a.d=0;a.G=1};E.gga=function(a,c){var d=E.jO(c),e=new ha;if(Math.abs(d)>E.xa)return a.x=0,a.y=0,a.d=0,a.G=0,a;E.xx(a,E.L2(e,c),1/d);return a};E.hga=function(a){return 0==a.x&&0==a.y&&0==a.d&&1==a.G};E.jO=function(a){return Math.sqrt(E.O2(a))}; E.O2=function(a){return a.x*a.x+a.y*a.y+a.d*a.d+a.G*a.G};E.iga=aa();E.jga=function(a,c,d){a.G=c.G*d.G-c.x*d.x-c.y*d.y-c.d*d.d;a.x=c.G*d.x+c.x*d.G+c.y*d.d-c.d*d.y;a.y=c.G*d.y+c.y*d.G+c.d*d.x-c.x*d.d;a.d=c.G*d.d+c.d*d.G+c.x*d.y-c.y*d.x;return a};E.kO=function(a,c){var d=E.jO(c);Math.abs(d)<=E.xa&&b("cc.kmQuaternionNormalize(): pIn is an invalid value");E.xx(a,c,1/d)};E.lO=function(a,c){var d=0.5*E.lF,e=Math.sin(d);a.G=Math.cos(d);a.x=c.x*e;a.y=c.y*e;a.d=c.d*e}; E.mO=function(a,c){var d,e,f,g;d=[];e=g=0;if(c){d[0]=c.c[0];d[1]=c.c[3];d[2]=c.c[6];d[4]=c.c[1];d[5]=c.c[4];d[6]=c.c[7];d[8]=c.c[2];d[9]=c.c[5];d[10]=c.c[8];d[15]=1;var h=d[0];e=h[0]+h[5]+h[10]+1;e>E.xa?(g=2*Math.sqrt(e),d=(h[9]-h[6])/g,e=(h[2]-h[8])/g,f=(h[4]-h[1])/g,g*=0.25):h[0]>h[5]&&h[0]>h[10]?(g=2*Math.sqrt(1+h[0]-h[5]-h[10]),d=0.25*g,e=(h[4]+h[1])/g,f=(h[2]+h[8])/g,g=(h[9]-h[6])/g):h[5]>h[10]?(g=2*Math.sqrt(1+h[5]-h[0]-h[10]),d=(h[4]+h[1])/g,e=0.25*g,f=(h[9]+h[6])/g,g=(h[2]-h[8])/g):(g=2*Math.sqrt(1+ h[10]-h[0]-h[5]),d=(h[2]+h[8])/g,e=(h[9]+h[6])/g,f=0.25*g,g=(h[4]-h[1])/g);a.x=d;a.y=e;a.d=f;a.G=g}};E.mga=function(a,c,d,e){var f,g,h,m,n;f=E.Bs(d)/2;g=E.Bs(c)/2;h=E.Bs(e)/2;e=Math.cos(f);c=Math.cos(g);d=Math.cos(h);f=Math.sin(f);g=Math.sin(g);h=Math.sin(h);m=c*d;n=g*h;a.G=e*m+f*n;a.x=f*m-e*n;a.y=e*g*d+f*c*h;a.d=e*c*h-f*g*d;E.kO(a,a);return a}; E.nga=function(a,c,d,e){if(c.x==d.x&&c.y==d.y&&c.d==d.d&&c.G==d.G)return a.x=c.x,a.y=c.y,a.d=c.d,a.G=c.G,a;var f=E.M2(c,d),g=Math.acos(f),f=Math.sqrt(1-E.Gc(f)),h=Math.sin(e*g)/f,m=new ha,n=new ha;E.xx(m,c,Math.sin((1-e)*g)/f);E.xx(n,d,h);E.K2(a,m,n);return a};E.nO=function(a,c){var d;d=Math.sqrt(E.Gc(a.x)+E.Gc(a.y)+E.Gc(a.d));d>-E.xa&&d2*E.lF-E.xa?(c.x=0,c.y=0,c.d=1):(c.x=a.x/d,c.y=a.y/d,c.d=a.d/d,E.tf(c,c))};E.xx=function(a,c,d){a.x=c.x*d;a.y=c.y*d;a.d=c.d*d;a.G=c.G*d}; E.ega=function(a,c){a.x=c.x;a.y=c.y;a.d=c.d;a.G=c.G;return a};E.K2=function(a,c,d){a.x=c.x+d.x;a.y=c.y+d.y;a.d=c.d+d.d;a.G=c.G+d.G}; E.lga=function(a,c,d,e){var f=new E.vb,g=new E.vb;E.Cs(f,c);E.Cs(g,d);E.tf(f,f);E.tf(g,g);d=E.nF(f,g);if(1<=d)return E.N2(a),a;-0.999999>d?Math.abs(E.qO(e))=c.min.x&&a.x<=c.max.x&&a.y>=c.min.y&&a.y<=c.max.y&&a.d>=c.min.d&&a.d<=c.max.d?E.pn:E.on};E.ffa=function(a,c){E.Cs(a.min,c.min);E.Cs(a.max,c.max);return a};E.hfa=function(){E.log("cc.kmAABBScale hasn't been supported.")};E.Ax=function(a,c,d,e){this.top=d;this.stack=e};E.Ax.T7=30;E.qF=function(a){a.stack=[];a.top=q};E.Bx=function(a,c){a.stack.push(a.top);a.top=new E.ba;E.Gj(a.top,c)};E.Tga=function(a){a.top=a.stack.pop()};E.rF=function(a){a.stack=q;a.top=q};E.Xg=5888;E.Yg=5889;E.dH=5890;E.Kj=new E.Ax;E.il=new E.Ax;E.lt=new E.Ax;E.Pb=q;E.$E=r;E.U2=function(){if(!E.$E){var a=new E.ba;E.qF(E.Kj);E.qF(E.il);E.qF(E.lt);E.Pb=E.Kj;E.$E=p;E.Om(a);E.Bx(E.Kj,a);E.Bx(E.il,a);E.Bx(E.lt,a)}};E.U2();E.A2=function(){E.rF(E.Kj);E.rF(E.il);E.rF(E.lt);E.$E=r;E.Pb=q};E.Fj=function(){E.Bx(E.Pb,E.Pb.top)};E.mfa=function(a){E.Pb.stack.push(E.Pb.top);E.Gj(a,E.Pb.top);E.Pb.top=a};E.Ej=function(){E.Pb.top=E.Pb.stack.pop()}; E.sf=function(a){switch(a){case E.Xg:E.Pb=E.Kj;break;case E.Yg:E.Pb=E.il;break;case E.dH:E.Pb=E.lt;break;default:b("Invalid matrix mode specified")}};E.dl=function(){E.Om(E.Pb.top)};E.lfa=function(a){E.Gj(E.Pb.top,a)};E.kp=function(a){E.Ii(E.Pb.top,E.Pb.top,a)};E.lp=function(a,c){var d=new E.ba;E.iO(d,a,c,0);E.Ii(E.Pb.top,E.Pb.top,d)};E.nfa=function(a,c,d,e){c=new E.vb(c,d,e);d=new E.ba;E.G2(d,c,E.Bs(a));E.Ii(E.Pb.top,E.Pb.top,d)}; E.ofa=function(a,c,d){var e=new E.ba;E.H2(e,a,c,d);E.Ii(E.Pb.top,E.Pb.top,e)};E.tx=function(a,c){switch(a){case E.Xg:E.Gj(c,E.Kj.top);break;case E.Yg:E.Gj(c,E.il.top);break;case E.dH:E.Gj(c,E.lt.top);break;default:b("Invalid matrix mode specified")}};E.$S="precision lowp float;\nvarying vec4 v_fragmentColor;\nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n}\n";E.aT="attribute vec4 a_position;\nuniform vec4 u_color;\nuniform float u_pointSize;\nvarying lowp vec4 v_fragmentColor; \nvoid main(void) \n{\n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n gl_PointSize \x3d u_pointSize; \n v_fragmentColor \x3d u_color; \n}";E.OS="precision lowp float; \nvarying vec4 v_fragmentColor; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n} "; E.RS="attribute vec4 a_position;\nattribute vec4 a_color;\nvarying lowp vec4 v_fragmentColor;\nvoid main()\n{\n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_fragmentColor \x3d a_color; \n}";E.PS="// #extension GL_OES_standard_derivatives : enable\nvarying mediump vec4 v_color;\nvarying mediump vec2 v_texcoord;\nvoid main()\t\n{ \n// #if defined GL_OES_standard_derivatives\t\n// gl_FragColor \x3d v_color*smoothstep(0.0, length(fwidth(v_texcoord)), 1.0 - length(v_texcoord)); \n// #else\t\ngl_FragColor \x3d v_color * step(0.0, 1.0 - length(v_texcoord)); \n// #endif \n}"; E.QS="attribute mediump vec4 a_position; \nattribute mediump vec2 a_texcoord; \nattribute mediump vec4 a_color;\t\nvarying mediump vec4 v_color; \nvarying mediump vec2 v_texcoord;\t\nvoid main() \n{ \n v_color \x3d a_color;//vec4(a_color.rgb * a_color.a, a_color.a); \n v_texcoord \x3d a_texcoord; \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n}";E.WS="precision lowp float; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d texture2D(CC_Texture0, v_texCoord); \n}"; E.ZS="attribute vec4 a_position; \nattribute vec2 a_texCoord; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_texCoord \x3d a_texCoord; \n}";E.XS="precision lowp float; \nuniform vec4 u_color; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d texture2D(CC_Texture0, v_texCoord) * u_color; \n}";E.YS="attribute vec4 a_position;\nattribute vec2 a_texCoord; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_texCoord \x3d a_texCoord; \n}"; E.SS="precision lowp float; \nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d vec4( v_fragmentColor.rgb, \n v_fragmentColor.a * texture2D(CC_Texture0, v_texCoord).a \n ); \n}";E.TS="attribute vec4 a_position; \nattribute vec2 a_texCoord; \nattribute vec4 a_color; \nvarying lowp vec4 v_fragmentColor; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_fragmentColor \x3d a_color; \n v_texCoord \x3d a_texCoord; \n}"; E.VS="precision lowp float;\nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor * texture2D(CC_Texture0, v_texCoord); \n}";E.LH="attribute vec4 a_position; \nattribute vec2 a_texCoord; \nattribute vec4 a_color; \nvarying lowp vec4 v_fragmentColor; \nvarying mediump vec2 v_texCoord; \nvoid main() \n{ \n gl_Position \x3d (CC_PMatrix * CC_MVMatrix) * a_position; \n v_fragmentColor \x3d a_color; \n v_texCoord \x3d a_texCoord; \n}"; E.US="precision lowp float; \nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nuniform float CC_alpha_value; \nvoid main() \n{ \n vec4 texColor \x3d texture2D(CC_Texture0, v_texCoord); \n // mimic: glAlphaFunc(GL_GREATER) \n //pass if ( incoming_pixel \x3e\x3d CC_alpha_value ) \x3d\x3e fail if incoming_pixel \x3c CC_alpha_value \n if ( texColor.a \x3c\x3d CC_alpha_value ) \n discard; \n gl_FragColor \x3d texColor * v_fragmentColor; \n}"; E.K8="precision lowp float; \nvarying vec4 v_fragmentColor; \nvarying vec2 v_texCoord; \nuniform sampler2D u_texture; \nuniform sampler2D u_mask; \nvoid main() \n{ \n vec4 texColor \x3d texture2D(u_texture, v_texCoord); \n vec4 maskColor \x3d texture2D(u_mask, v_texCoord); \n vec4 finalColor \x3d vec4(texColor.r, texColor.g, texColor.b, maskColor.a * texColor.a); \n gl_FragColor \x3d v_fragmentColor * finalColor; \n}";E.Id={Xz:0,Yz:1,Vz:2,Wz:3,$z:4,Zz:5,aA:6,XH:7,h9:8,fd:{},mr:function(){this.Y2();return p},Ce:function(a,c){switch(c){case this.Xz:a.Hi(E.LH,E.VS);a.ld(E.sl,E.pb);a.ld(E.Lp,E.xe);a.ld(E.fn,E.wd);break;case this.Yz:a.Hi(E.LH,E.US);a.ld(E.sl,E.pb);a.ld(E.Lp,E.xe);a.ld(E.fn,E.wd);break;case this.Vz:a.Hi(E.RS,E.OS);a.ld(E.sl,E.pb);a.ld(E.Lp,E.xe);break;case this.Wz:a.Hi(E.ZS,E.WS);a.ld(E.sl,E.pb);a.ld(E.fn,E.wd);break;case this.$z:a.Hi(E.YS,E.XS);a.ld(E.sl,E.pb);a.ld(E.fn,E.wd);break;case this.Zz:a.Hi(E.TS, E.SS);a.ld(E.sl,E.pb);a.ld(E.Lp,E.xe);a.ld(E.fn,E.wd);break;case this.aA:a.Hi(E.aT,E.$S);a.ld("aVertex",E.pb);break;case this.XH:a.Hi(E.QS,E.PS);a.ld(E.sl,E.pb);a.ld(E.fn,E.wd);a.ld(E.Lp,E.xe);break;default:E.log("cocos2d: cc.shaderCache._loadDefaultShader, error shader type");return}a.link();a.u6()},Y2:function(){var a=new E.Sh;this.Ce(a,this.Xz);this.fd[E.Yi]=a;this.fd.ShaderPositionTextureColor=a;a=new E.Sh;this.Ce(a,this.Yz);this.fd[E.bu]=a;this.fd.ShaderPositionTextureColorAlphaTest=a;a=new E.Sh; this.Ce(a,this.Vz);this.fd[E.au]=a;this.fd.ShaderPositionColor=a;a=new E.Sh;this.Ce(a,this.Wz);this.fd[E.uq]=a;this.fd.ShaderPositionTexture=a;a=new E.Sh;this.Ce(a,this.$z);this.fd[E.Lz]=a;this.fd.ShaderPositionTextureUColor=a;a=new E.Sh;this.Ce(a,this.Zz);this.fd[E.Kz]=a;this.fd.ShaderPositionTextureA8Color=a;a=new E.Sh;this.Ce(a,this.aA);this.fd[E.Mz]=a;this.fd.ShaderPositionUColor=a;a=new E.Sh;this.Ce(a,this.XH);this.fd[E.KH]=a;this.fd.ShaderPositionLengthTextureColor=a},via:function(){var a=this.mc(E.Yi); a.reset();this.Ce(a,this.Xz);a=this.mc(E.bu);a.reset();this.Ce(a,this.Yz);a=this.mc(E.au);a.reset();this.Ce(a,this.Vz);a=this.mc(E.uq);a.reset();this.Ce(a,this.Wz);a=this.mc(E.Lz);a.reset();this.Ce(a,this.$z);a=this.mc(E.Kz);a.reset();this.Ce(a,this.Zz);a=this.mc(E.Mz);a.reset();this.Ce(a,this.aA)},mc:function(a){return this.fd[a]},Mm:function(a){return this.fd[a]},A$:function(a,c){this.fd[c]=a}};E.zR=function(){this.location=this.value=k;this.ex={}}; E.Sh=E.na.extend({ga:q,Fb:q,lf:q,tg:q,xb:q,fh:q,YL:r,Ie:function(a,c){if(a==q)return r;for(var d=p,e=q,f=0;farguments.length))switch(arguments.length){case 2:this.et(arguments[0],arguments[1]);break;case 3:this.k5(arguments[0],arguments[1],arguments[2]);break;case 4:this.l5(arguments[0],arguments[1],arguments[2],arguments[3]);break;case 5:this.ft(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4])}},gt:function(){var a=new E.ba,c=new E.ba,d=new E.ba;E.tx(E.Yg,a);E.tx(E.Xg,c);E.Ii(d,a,c);this.iG(this.xb[E.lA], a.c,1);this.iG(this.xb[E.kA],c.c,1);this.iG(this.xb[E.Dq],d.c,1);this.YL&&(a=E.B,a=a.ow*a.Lq,this.ft(this.xb[E.pA],a/10,a,2*a,4*a),this.ft(this.xb[E.oA],a/8,a/4,a/2,Math.sin(a)),this.ft(this.xb[E.jA],a/8,a/4,a/2,Math.cos(a)));-1!=this.xb[E.mA]&&this.ft(this.xb[E.mA],Math.random(),Math.random(),Math.random(),Math.random())},Jka:function(){this.ga.uniformMatrix4fv(this.xb[E.Dq],r,E.T0())},Kka:function(a){E.Ii(a,E.il.top,E.Kj.top);this.ga.uniformMatrix4fv(this.xb[E.Dq],r,a.c)},We:function(){this.ga.uniformMatrix4fv(this.xb[E.kA], r,E.Kj.top.c);this.ga.uniformMatrix4fv(this.xb[E.lA],r,E.il.top.c)},y6:function(){return this.ga.getShaderInfoLog(this.lf)},nea:function(){return this.ga.getShaderInfoLog(this.lf)},Gca:function(){return this.ga.getShaderInfoLog(this.lf)},i0:function(){return this.ga.getShaderInfoLog(this.tg)},dia:function(){return this.ga.getProgramInfoLog(this.Fb)},xda:function(){return this.ga.getProgramInfoLog(this.Fb)},reset:function(){this.tg=this.lf=q;this.xb.length=0;this.ga.deleteProgram(this.Fb);this.Fb= q;for(var a=0;a>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1}; E.tn=E.m.extend({sprite:q,Fw:0,$D:0,fs:r,Zd:q,$d:q,bv:0,Yq:0,mi:0,I:q,Sr:q,ZY:q,oi:E.ca.Xi,aj:q,aE:0,WA:q,wb:"RenderTexture",ctor:q,Uq:function(a,c,d,e){E.m.prototype.ctor.call(this);this.aj=E.color(255,255,255,255);this.WA="rgba(255,255,255,1)";this.Zd=E.Sb("canvas");this.$d=this.Zd.getContext("2d");this.anchorY=this.anchorX=0;a!==k&&c!==k&&(d=d||E.ca.Xi,this.nx(a,c,d,e||0))},Vq:function(a,c,d,e){E.m.prototype.ctor.call(this);this.aj=E.color(0,0,0,0);a!==k&&c!==k&&(d=d||E.ca.Xi,this.nx(a,c,d,e|| 0))},Le:q,tV:function(){E.m.prototype.yb.call(this);this.Zd=this.$d=q},uV:function(){E.m.prototype.yb.call(this);this.Sr=q;var a=E.l;a.deleteFramebuffer(this.bv);this.Yq&&a.deleteRenderbuffer(this.Yq);this.ZY=q},AN:A("sprite"),ny:u("sprite"),nx:q,WW:function(a,c){var d=this.Zd,e=E.qb();d.width=0|a*e;d.height=0|c*e;this.$d.translate(0,d.height);e=new E.ca;e.Rc(d);e.ub();this.sprite=E.D.create(e);return p},XW:function(a,c,d,e){d==E.ca.oq&&E.log("cc.RenderTexture._initWithWidthAndHeightForWebGL() : only RGB and RGBA formats are valid for a render texture;"); var f=E.l,g=E.qb();a=0|a*g;c=0|c*g;this.mi=f.getParameter(f.FRAMEBUFFER_BINDING);var h;E.To.lw?(g=a,h=c):(g=E.Yj(a),h=E.Yj(c));for(var m=new Uint8Array(4*g*h),n=0;n<4*g*h;n++)m[n]=0;this.oi=d;this.I=new E.ca;if(!this.I)return r;n=this.I;n.zs(m,this.oi,g,h,P(a,c));d=f.getParameter(f.RENDERBUFFER_BINDING);if(E.To.Ro("GL_QCOM")){this.Sr=new E.ca;if(!this.Sr)return r;this.Sr.zs(m,this.oi,g,h,P(a,c))}this.bv=f.createFramebuffer();f.bindFramebuffer(f.FRAMEBUFFER,this.bv);f.framebufferTexture2D(f.FRAMEBUFFER, f.COLOR_ATTACHMENT0,f.TEXTURE_2D,n.Ud,0);0!=e&&(this.Yq=f.createRenderbuffer(),f.bindRenderbuffer(f.RENDERBUFFER,this.Yq),f.renderbufferStorage(f.RENDERBUFFER,e,g,h),f.framebufferRenderbuffer(f.FRAMEBUFFER,f.DEPTH_ATTACHMENT,f.RENDERBUFFER,this.Yq));f.checkFramebufferStatus(f.FRAMEBUFFER)!==f.FRAMEBUFFER_COMPLETE&&E.log("Could not attach texture to the framebuffer");n.QF();a=this.sprite=E.D.create(n);a.scaleY=-1;a.Qe(f.ONE,f.ONE_MINUS_SRC_ALPHA);f.bindRenderbuffer(f.RENDERBUFFER,d);f.bindFramebuffer(f.FRAMEBUFFER, this.mi);this.fs=r;this.T(a);return p},Ah:q,gV:function(){E.l=this.$d;E.view.Xv()},hV:function(){E.sf(E.Yg);E.Fj();E.sf(E.Xg);E.Fj();var a=E.B;a.Xm(a.ri);var c=this.I.N,d=E.B.us(),a=d.width/c.width,d=d.height/c.height,e=E.l;e.viewport(0,0,c.width,c.height);c=new E.ba;E.kF(c,-1/a,1/a,-1/d,1/d,-1,1);E.kp(c);this.mi=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.bv);E.To.Ro("GL_QCOM")&&(e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.Sr.Ud,0),e.clear(e.COLOR_BUFFER_BIT| e.DEPTH_BUFFER_BIT),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.I.Ud,0))},RZ:function(a,c,d,e,f,g){var h=E.l;f=f||h.COLOR_BUFFER_BIT;g=g||h.COLOR_BUFFER_BIT|h.DEPTH_BUFFER_BIT;this.MA(a/255,c/255,d/255,e/255,f,g,h.COLOR_BUFFER_BIT|h.DEPTH_BUFFER_BIT|h.STENCIL_BUFFER_BIT)},MA:q,iV:function(a,c,d,e){this.Ah();a=a||0;c=c||0;d=d||0;e=isNaN(e)?1:e;var f=this.$d,g=this.Zd;f.save();f.fillStyle="rgba("+(0|a)+","+(0|c)+","+(0|d)+","+e/255+")";f.clearRect(0,0,g.width,-g.height); f.fillRect(0,0,g.width,-g.height);f.restore()},jV:function(a,c,d,e,f,g,h){this.Ah();var m=E.l,n=[0,0,0,0],s=0,v=0;h&m.COLOR_BUFFER_BIT&&(n=m.getParameter(m.COLOR_CLEAR_VALUE),m.clearColor(a,c,d,e));h&m.DEPTH_BUFFER_BIT&&(s=m.getParameter(m.DEPTH_CLEAR_VALUE),m.clearDepth(f));h&m.STENCIL_BUFFER_BIT&&(v=m.getParameter(m.STENCIL_CLEAR_VALUE),m.clearStencil(g));m.clear(h);h&m.COLOR_BUFFER_BIT&&m.clearColor(n[0],n[1],n[2],n[3]);h&m.DEPTH_BUFFER_BIT&&m.clearDepth(s);h&m.STENCIL_BUFFER_BIT&&m.clearStencil(v)}, end:q,TV:function(){E.l=E.pX;E.view.Pv()},UV:function(){var a=E.l,c=E.B;a.bindFramebuffer(a.FRAMEBUFFER,this.mi);c.OP();E.sf(E.Yg);E.Ej();E.sf(E.Xg);E.Ej()},clear:function(a,c,d,e){this.RZ(a,c,d,e);this.end()},clearRect:q,xV:function(a,c,d,e){this.$d.clearRect(a,c,d,-e)},yV:t(),clearDepth:q,vV:function(){E.log("clearDepth isn't supported on Cocos2d-Html5")},wV:function(a){this.Ah();var c=E.l,d=c.getParameter(c.DEPTH_CLEAR_VALUE);c.clearDepth(a);c.clear(c.DEPTH_BUFFER_BIT);c.clearDepth(d);this.end()}, clearStencil:q,zV:function(){E.log("clearDepth isn't supported on Cocos2d-Html5")},AV:function(a){var c=E.l,d=c.getParameter(c.STENCIL_CLEAR_VALUE);c.clearStencil(a);c.clear(c.STENCIL_BUFFER_BIT);c.clearStencil(d)},P:q,qm:function(a){this.kc&&(a=a||E.l,a.save(),this.Z(a),this.transform(a),this.sprite.P(),a.restore(),this.arrivalOrder=0)},as:function(a){if(this.kc){E.Fj();var c=this.grid;c&&c.rf()&&(c.hs(),this.vy());this.transform(a);this.sprite.P();this.Z(a);c&&c.rf()&&c.es(this);E.Ej();this.arrivalOrder= 0}},Z:q,Ml:function(a){a=a||E.l;if(this.fs){this.Ah();if(this.Fw){var c=this.Zd;a.save();a.fillStyle=this.WA;a.clearRect(0,0,c.width,-c.height);a.fillRect(0,0,c.width,-c.height);a.restore()}this.Sc();a=this.u;for(var c=a.length,d=this.sprite,e=0;ed.xd&&E.log("cc.LabelAtlas._updateAtlasValues(): Invalid String length");for(var m=d.quads,n=this.za,n={r:n.r,g:n.g,b:n.b,a:this.hb},s=this.ii,v=0;va&&d.ON(c-a))},od:q,DY:function(a){a=String(a);var c=a.length;this.Kb=a;this.width=c*this.ii;this.height=this.jh;if(this.u){a=this.u;for(var c= a.length,d=0;dthis.textureAtlas.totalQuads&&this.textureAtlas.LF(c);this.Kb=a;this.width=c*this.ii;this.height=this.jh;this.Ip();this.quadsToDraw=c},Ta:q,PC:function(a){if(this.hb!==a){E.Ri.prototype.Ta.call(this,a);for(var c=this.u,d=0,e=c.length;d=a)break;var z=this.Kb[f];h||(n=this.xB(v),h=p);g||(m=n,g=p);if(10==z.charCodeAt(0)){d.push("\n");c=c.concat(d);d.length=0;g=h=r;m=n=-1;w--;s-=x;e++;if(f>=a)break;n||(n=this.xB(v),h=p);m||(m=n,g=p);f++}else if(E.hF(z))d.push(z),c=c.concat(d),d.length=0,h=r,n=-1,f++;else if(this.tW(v)- m>this.bs)if(this.FK){E.kQ(d);d.push("\n");c=c.concat(d);d.length=0;g=h=r;m=n=-1;e++;if(f>=a)break;n||(n=this.xB(v),h=p);m||(m=n,g=p);w--}else d.push(z),-1!=c.lastIndexOf(" ")?E.kQ(c):c=[],0v)&&(w=this.Eh(v),w!=q)){w=w.Oe()+w.eh()/2;h=0;switch(this.Jq){case E.wq:h=this.width/2-w/2;break;case E.TH:h=this.width-w}if(0!=h)for(w=0;wv)&&(v=this.Eh(v)))v.x+=h;f+=g;c++;d.length=0}}else d.push(this.Kb[f])}},m4:function(a){this.Jq=a;this.dg()},dW:A("Jq"),r4:function(a){this.bs=a;this.dg()},tB:A("bs"),Qja:function(a){this.FK=a;this.dg()},Qj:function(a,c){E.m.prototype.Qj.call(this,a,c);this.dg()},ct:function(a){E.m.prototype.ct.call(this,a);this.dg()},dt:function(a){E.m.prototype.dt.call(this, a);this.dg()},Aja:function(a){if(a!=q&&a!=this.ev){var c=E.V.Ed(a);c?(this.ev=a,this.yf=c,a=E.Ea.Ec(c.iM),this.la=c=a.tc,this.texture=a,E.A===E.Ba&&(this.uc=this.texture),c?this.Kw():a.Vd(function(a){this.la=p;this.texture=a;this.Kw();this.be();this.dg();this.Nd()},this)):E.log("cc.LabelBMFont.setFntFile() : Impossible to create font. Please check file")}},Eca:A("ev"),ll:function(a,c){E.m.prototype.ll.call(this,a,c);this.dg()},vL:function(a){E.m.prototype.vL.call(this,a);this.dg()},HC:function(a){E.m.prototype.HC.call(this, a);this.dg()},IC:function(a){E.m.prototype.IC.call(this,a);this.dg()},D9:t(),W9:function(a,c){var d=0;if(this.DV.v2){var e=this.DV.v2[(a<<16|c&65535).toString()];e&&(d=e.Q$)}return d},xB:function(a){return a.Oe()*this.ja-a.eh()*this.ja*a.Lc.x},tW:function(a){return a.Oe()*this.ja+a.eh()*this.ja*a.Lc.x}});G=E.gz.prototype; E.A===E.Ba&&!E.fb.hw&&(G.be=function(){if(E.A!=E.W){var a,c=this.Aa();if(c&&0=a||32==a||133==a||160==a||5760==a||8192<=a&&8202>=a||8232==a||8233==a||8239==a||8287==a||12288==a};E.kQ=function(a){var c=a.length;if(!(0>=c)&&(c-=1,E.hF(a[c]))){for(var d=c-1;0<=d;--d)if(E.hF(a[d]))c=d;else break;E.w6(a,c)}};E.w6=function(a,c){var d=a.length;c>=d||0>c||a.splice(c,d)}; E.XV={BR:/info [^\n]*(\n|$)/gi,QQ:/common [^\n]*(\n|$)/gi,AS:/page [^\n]*(\n|$)/gi,PQ:/char [^\n]*(\n|$)/gi,IR:/kerning [^\n]*(\n|$)/gi,DR:/\w+=[^ \r\n]+/gi,CR:/^[\-]?\d+$/,yr:function(a){a=a.match(this.DR);var c={};if(a)for(var d=0,e=a.length;df.width||e.scaleH>f.height)&&E.log("cc.LabelBMFont._parseCommonArguments(): page can't be larger than supported")}1!==e.pages&&E.log("cc.LabelBMFont._parseCommonArguments(): only supports 1 page");e=this.yr(a.match(this.AS)[0]);0!==e.id&&E.log("cc.LabelBMFont._parseImageFileName() : file could not be found");d.iM=E.path.Qo(c,e.file);for(var g=a.match(this.PQ),h=d.h0={},e=0,f=g.length;e=this.Dk)&&(this.texture&&this.texture.tc)&&(a=a||E.l,E.Hs(this),E.Fc(E.Gl),E.Ih(this.q.src,this.q.Q),E.pe(this.texture),a.bindBuffer(a.ARRAY_BUFFER,this.ad),a.bufferData(a.ARRAY_BUFFER,this.Pa,a.DYNAMIC_DRAW),a.vertexAttribPointer(E.pb,2,a.FLOAT,r,0,0),a.bindBuffer(a.ARRAY_BUFFER, this.Co),a.bufferData(a.ARRAY_BUFFER,this.Lf,a.DYNAMIC_DRAW),a.vertexAttribPointer(E.wd,2,a.FLOAT,r,0,0),a.bindBuffer(a.ARRAY_BUFFER,this.Ln),a.bufferData(a.ARRAY_BUFFER,this.Kn,a.DYNAMIC_DRAW),a.vertexAttribPointer(E.xe,4,a.UNSIGNED_BYTE,p,0,0),a.drawArrays(a.TRIANGLE_STRIP,0,2*this.Dk),E.pf++)},update:function(a){if(this.Oi){a*=this.mB;var c,d,e,f,g=0,h=this.Dk,m=this.jC,n=this.kC,s=this.Pa,v=this.Kn;for(e=0;e=m[e]?g++:(c=e-g,0=this.SB)e=r;else if(0this.En){var d=E.Tb.BYTES_PER_ELEMENT;this.En+=Math.max(this.En,a);if(c==q||0===c.length)this.cb=[],this.zj=new ArrayBuffer(d*this.En),this.ML=new Uint8Array(this.zj);else{a=[];for(var e=new ArrayBuffer(d*this.En),f=0;f=c)){d={r:0|d.r,g:0|d.g,b:0|d.b,a:0|d.a};var f=[],g,h,m,n,s=a.length;for(g=0;g=E.it&&E.log("Stencil buffer is not enabled."),E.dc.IB=r);return p},RW:function(a){this.hd=a;this.vm=1;this.Jh=r},$:function(){E.m.prototype.$.call(this);this.hd.$()},Nh:function(){E.m.prototype.Nh.call(this);this.hd.Nh()},Tf:function(){this.hd.Tf(); E.m.prototype.Tf.call(this)},yb:function(){this.hd.yb();E.m.prototype.yb.call(this)},P:q,as:function(a){var c=a||E.l;if(1>E.it)E.m.prototype.P.call(this,a);else if(!this.hd||!this.hd.visible)this.Jh&&E.m.prototype.P.call(this,a);else if(E.dc.sv+1==E.it)E.dc.HD=p,E.dc.HD&&(E.log("Nesting more than "+E.it+"stencils is not supported. Everything will be drawn without stencil for this node and its childs."),E.dc.HD=r),E.m.prototype.P.call(this,a);else{E.dc.sv++;var d=1<this.vm){var d=E.Id.mc(E.bu),x=c.getUniformLocation(d.Mm(),E.DI);E.OE(d.Mm());d.et(x,this.vm);E.BP(this.hd,d)}E.Fj();this.transform();this.hd.P();E.Ej();c.depthMask(y);c.stencilFunc(c.EQUAL,e,e);c.stencilOp(c.KEEP,c.KEEP,c.KEEP);E.m.prototype.P.call(this,a);c.stencilFunc(h,m,n);c.stencilOp(s,v,w);c.stencilMask(g);f||c.disable(c.STENCIL_TEST); E.dc.sv--}},qm:function(a){if(!this.hd||!this.hd.visible)this.Jh&&E.m.prototype.P.call(this,a);else{a=a||E.l;var c=a.canvas;if(this.RA()||this.hd instanceof E.D){var d=E.dc.HW();d.width=c.width;d.height=c.height;d.getContext("2d").drawImage(c,0,0);a.save();E.m.prototype.P.call(this,a);a.globalCompositeOperation=this.Jh?"destination-out":"destination-in";this.transform(a);this.hd.P();a.restore();a.save();a.setTransform(1,0,0,1,0,0);a.globalCompositeOperation="destination-over";a.drawImage(d,0,0)}else{var d= this.u,e;a.save();this.transform(a);this.hd.P(a);this.Jh&&(a.save(),a.setTransform(1,0,0,1,0,0),a.moveTo(0,0),a.lineTo(0,c.height),a.lineTo(c.width,c.height),a.lineTo(c.width,0),a.lineTo(0,0),a.restore());a.clip();this.RA(p);var f=d.length;if(0e.Db)e.P(a);else break;for(this.Z(a);cm;++m)w[y[m]]=N[m].x,w[y[m]+1]=N[m].y,w[y[m]+2]=N[m].d,s[J[m]]=x[m].x/c,s[J[m]+1]=v?(e-x[m].y)/d:x[m].y/d}this.kj=new Float32Array(this.Pa);a.bindBuffer(a.ARRAY_BUFFER,this.ad);a.bufferData(a.ARRAY_BUFFER,this.Pa,a.DYNAMIC_DRAW); a.bindBuffer(a.ARRAY_BUFFER,this.Kf);a.bufferData(a.ARRAY_BUFFER,this.Bg,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Ef);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.lb,a.STATIC_DRAW);this.jb=p}});E.az.create=function(a,c,d){return new E.az(a,c,d)}; E.eA=E.ln.extend({Bg:q,Pa:q,kj:q,lb:q,Kf:q,ad:q,Ef:q,ctor:function(a,c,d){E.ln.prototype.ctor.call(this);this.Ef=this.ad=this.Kf=this.lb=this.kj=this.Pa=this.Bg=q;a!==k&&this.mx(a,c,d)},$P:function(a){(a.x!==(0|a.x)||a.y!==(0|a.y))&&E.log("cc.TiledGrid3D.tile() : Numbers must be integers");a=12*(this.Y.height*a.x+a.y);var c=this.Pa;return new E.Xt(new E.rc(c[a],c[a+1],c[a+2]),new E.rc(c[a+3],c[a+4],c[a+5]),new E.rc(c[a+6],c[a+7],c[a+8]),new E.rc(c[a+9],c[a+10],c[a+11]))},Uf:function(a){(a.x!==(0| a.x)||a.y!==(0|a.y))&&E.log("cc.TiledGrid3D.originalTile() : Numbers must be integers");a=12*(this.Y.height*a.x+a.y);var c=this.kj;return new E.Xt(new E.rc(c[a],c[a+1],c[a+2]),new E.rc(c[a+3],c[a+4],c[a+5]),new E.rc(c[a+6],c[a+7],c[a+8]),new E.rc(c[a+9],c[a+10],c[a+11]))},Ve:function(a,c){(a.x!==(0|a.x)||a.y!==(0|a.y))&&E.log("cc.TiledGrid3D.setTile() : Numbers must be integers");var d=12*(this.Y.height*a.x+a.y),e=this.Pa;e[d]=c.F.x;e[d+1]=c.F.y;e[d+2]=c.F.d;e[d+3]=c.M.x;e[d+4]=c.M.y;e[d+5]=c.M.d; e[d+6]=c.L.x;e[d+7]=c.L.y;e[d+8]=c.L.d;e[d+9]=c.K.x;e[d+10]=c.K.y;e[d+11]=c.K.d;this.jb=p},QD:function(){var a=this.Y.width*this.Y.height;this.Gb.Jc();this.Gb.gt();var c=E.l,d=this.jb;E.Fc(E.Ld|E.un);c.bindBuffer(c.ARRAY_BUFFER,this.ad);d&&c.bufferData(c.ARRAY_BUFFER,this.Pa,c.DYNAMIC_DRAW);c.vertexAttribPointer(E.pb,3,c.FLOAT,r,0,this.Pa);c.bindBuffer(c.ARRAY_BUFFER,this.Kf);d&&c.bufferData(c.ARRAY_BUFFER,this.Bg,c.DYNAMIC_DRAW);c.vertexAttribPointer(E.wd,2,c.FLOAT,r,0,this.Bg);c.bindBuffer(c.ELEMENT_ARRAY_BUFFER, this.Ef);d&&c.bufferData(c.ELEMENT_ARRAY_BUFFER,this.lb,c.STATIC_DRAW);c.drawElements(c.TRIANGLES,6*a,c.UNSIGNED_SHORT,0);d&&(this.jb=r);E.Qf()},MF:function(){if(0=this.p},ua:function(a){a.Er=this.Er;a.je=this.je;a.Zb=this.Zb;a.sg=this.sg;a.Kr=this.Kr;a.to=this.to},he:function(a){if(this.sg){a.sg=[];for(var c=0;ca?a:1;this.update(0=a)return E.log("The speed parameter error"),this;this.Kr=p;this.je*=a;return this},Xw:A("je"),Te:function(a){this.je= a;return this},repeat:function(a){a=Math.round(a);if(isNaN(a)||1>a)return E.log("The repeat parameter error"),this;this.to=p;this.Zb*=a;return this},KF:function(){this.to=p;this.Zb=this.MAX_VALUE;this.Er=p;return this}});E.mZ=function(a){return new E.v(a)};E.v.create=E.mZ; E.ya=E.v.extend({bi:q,HL:q,rr:0,ctor:function(a){E.v.prototype.ctor.call(this);this.bi=[];var c=a instanceof Array?a:arguments,d=c.length-1;0<=d&&c[d]==q&&E.log("parameters should not be ending with null in Javascript");if(0<=d){for(var e=c[0],f=1;f=f){for(;a>f&&this.Ukf?this.Aj=E.ya.Zi(c,E.Lw(e-f)):ed&&(d+=360);this.Lr=c;this.mJ=d;this.yo=a.rotationY%360;a=this.gB-this.yo;180a&&(a+=360);this.nJ= a},reverse:function(){E.log("cc.RotateTo.reverse(): it should be overridden in subclass.")},update:function(a){a=this.dd(a);this.target&&(this.target.rotationX=this.Lr+this.mJ*a,this.target.rotationY=this.yo+this.nJ*a)}});E.h4=function(a,c,d){return new E.Iz(a,c,d)};E.Iz.create=E.h4; E.Zt=E.v.extend({$g:0,Lr:0,Au:0,yo:0,ctor:function(a,c,d){E.v.prototype.ctor.call(this);c!==k&&this.e(a,c,d)},e:function(a,c,d){return E.v.prototype.e.call(this,a)?(this.$g=c||0,this.Au=d||this.$g,p):r},k:function(){var a=new E.Zt;this.ua(a);a.e(this.p,this.$g,this.Au);return a},z:function(a){E.v.prototype.z.call(this,a);this.Lr=a.rotationX;this.yo=a.rotationY},update:function(a){a=this.dd(a);this.target&&(this.target.rotationX=this.Lr+this.$g*a,this.target.rotationY=this.yo+this.Au*a)},reverse:function(){var a= E.cP(this.p,-this.$g,-this.Au);this.ua(a);this.he(a);return a}});E.cP=function(a,c,d){return new E.Zt(a,c,d)};E.Zt.create=E.cP; E.Zg=E.v.extend({pi:q,Cc:q,Oc:q,ctor:function(a,c,d){E.v.prototype.ctor.call(this);this.pi=L(0,0);this.Cc=L(0,0);this.Oc=L(0,0);c!==k&&this.e(a,c,d)},e:function(a,c,d){return E.v.prototype.e.call(this,a)?(c.x!==k&&(d=c.y,c=c.x),this.pi.x=c,this.pi.y=d,p):r},k:function(){var a=new E.Zg;this.ua(a);a.e(this.p,this.pi);return a},z:function(a){E.v.prototype.z.call(this,a);var c=a.Oe();a=a.Gg();this.Oc.x=c;this.Oc.y=a;this.Cc.x=c;this.Cc.y=a},update:function(a){a=this.dd(a);if(this.target){var c=this.pi.x* a;a*=this.pi.y;var d=this.Cc;if(E.tt){var e=this.target.Gg(),f=this.Oc;d.x=d.x+this.target.Oe()-f.x;d.y=d.y+e-f.y;c+=d.x;a+=d.y;f.x=c;f.y=a;this.target.R(c,a)}else this.target.R(d.x+c,d.y+a)}},reverse:function(){var a=E.moveBy(this.p,L(-this.pi.x,-this.pi.y));this.ua(a);this.he(a);return a}});E.moveBy=function(a,c,d){return new E.Zg(a,c,d)};E.Zg.create=E.moveBy; E.rn=E.Zg.extend({Bf:q,ctor:function(a,c,d){E.Zg.prototype.ctor.call(this);this.Bf=L(0,0);c!==k&&this.e(a,c,d)},e:function(a,c,d){return E.Zg.prototype.e.call(this,a,c,d)?(c.x!==k&&(d=c.y,c=c.x),this.Bf.x=c,this.Bf.y=d,p):r},k:function(){var a=new E.rn;this.ua(a);a.e(this.p,this.Bf);return a},z:function(a){E.Zg.prototype.z.call(this,a);this.pi.x=this.Bf.x-a.Oe();this.pi.y=this.Bf.y-a.Gg()}});E.moveTo=function(a,c,d){return new E.rn(a,c,d)};E.rn.create=E.moveTo; E.Bl=E.v.extend({sh:0,th:0,aw:0,bw:0,Xu:0,Yu:0,bf:0,cf:0,ctor:function(a,c,d){E.v.prototype.ctor.call(this);d!==k&&this.e(a,c,d)},e:function(a,c,d){var e=r;E.v.prototype.e.call(this,a)&&(this.Xu=c,this.Yu=d,e=p);return e},k:function(){var a=new E.Bl;this.ua(a);a.e(this.p,this.Xu,this.Yu);return a},z:function(a){E.v.prototype.z.call(this,a);this.aw=a.skewX%180;this.bf=this.Xu-this.aw;180this.bf&&(this.bf+=360);this.bw=a.skewY%360;this.cf=this.Yu-this.bw;180this.cf&&(this.cf+=360)},update:function(a){a=this.dd(a);this.target.skewX=this.aw+this.bf*a;this.target.skewY=this.bw+this.cf*a}});E.A5=function(a,c,d){return new E.Bl(a,c,d)};E.Bl.create=E.A5; E.Oz=E.Bl.extend({ctor:function(a,c,d){E.Bl.prototype.ctor.call(this);d!==k&&this.e(a,c,d)},e:function(a,c,d){var e=r;E.Bl.prototype.e.call(this,a,c,d)&&(this.sh=c,this.th=d,e=p);return e},k:function(){var a=new E.Oz;this.ua(a);a.e(this.p,this.sh,this.th);return a},z:function(a){E.Bl.prototype.z.call(this,a);this.bf=this.sh;this.cf=this.th;this.Xu=this.aw+this.bf;this.Yu=this.bw+this.cf},reverse:function(){var a=E.RP(this.p,-this.sh,-this.th);this.ua(a);this.he(a);return a}}); E.RP=function(a,c,d){return new E.Oz(a,c,d)};E.Oz.create=E.RP; E.Wj=E.v.extend({Cc:q,fi:q,lr:0,hj:0,Oc:q,ctor:function(a,c,d,e,f){E.v.prototype.ctor.call(this);this.Cc=L(0,0);this.Oc=L(0,0);this.fi=L(0,0);e!==k&&this.e(a,c,d,e,f)},e:function(a,c,d,e,f){return E.v.prototype.e.call(this,a)?(f===k&&(f=e,e=d,d=c.y,c=c.x),this.fi.x=c,this.fi.y=d,this.lr=e,this.hj=f,p):r},k:function(){var a=new E.Wj;this.ua(a);a.e(this.p,this.fi,this.lr,this.hj);return a},z:function(a){E.v.prototype.z.call(this,a);var c=a.Oe();a=a.Gg();this.Oc.x=c;this.Oc.y=a;this.Cc.x=c;this.Cc.y= a},update:function(a){a=this.dd(a);if(this.target){var c=a*this.hj%1,c=4*this.lr*c*(1-c),c=c+this.fi.y*a;a*=this.fi.x;var d=this.Cc;if(E.tt){var e=this.target.Gg(),f=this.Oc;d.x=d.x+this.target.Oe()-f.x;d.y=d.y+e-f.y;a+=d.x;c+=d.y;f.x=a;f.y=c;this.target.R(a,c)}else this.target.R(d.x+a,d.y+c)}},reverse:function(){var a=E.fO(this.p,L(-this.fi.x,-this.fi.y),this.lr,this.hj);this.ua(a);this.he(a);return a}});E.fO=function(a,c,d,e,f){return new E.Wj(a,c,d,e,f)};E.Wj.create=E.fO; E.fz=E.Wj.extend({Bf:q,ctor:function(a,c,d,e,f){E.Wj.prototype.ctor.call(this);this.Bf=L(0,0);e!==k&&this.e(a,c,d,e,f)},e:function(a,c,d,e,f){return E.Wj.prototype.e.call(this,a,c,d,e,f)?(f===k&&(d=c.y,c=c.x),this.Bf.x=c,this.Bf.y=d,p):r},z:function(a){E.Wj.prototype.z.call(this,a);this.fi.x=this.Bf.x-this.Cc.x;this.fi.y=this.Bf.y-this.Cc.y},k:function(){var a=new E.fz;this.ua(a);a.e(this.p,this.Bf,this.lr,this.hj);return a}});E.r2=function(a,c,d,e,f){return new E.fz(a,c,d,e,f)};E.fz.create=E.r2; E.mM=function(a,c,d,e){return 0*Math.pow(1-e,3)+3*e*Math.pow(1-e,2)*a+3*Math.pow(e,2)*(1-e)*c+Math.pow(e,3)*d}; E.gn=E.v.extend({yf:q,Cc:q,Oc:q,ctor:function(a,c){E.v.prototype.ctor.call(this);this.yf=[];this.Cc=L(0,0);this.Oc=L(0,0);c&&this.e(a,c)},e:function(a,c){return E.v.prototype.e.call(this,a)?(this.yf=c,p):r},k:function(){var a=new E.gn;this.ua(a);for(var c=[],d=0;dc/2}},z:function(a){E.v.prototype.z.call(this,a);this.SK=a.visible},stop:function(){this.target.visible=this.SK;E.v.prototype.stop.call(this)},reverse:function(){var a= E.blink(this.p,this.Zb);this.ua(a);this.he(a);return a}});E.blink=function(a,c){return new E.Hy(a,c)};E.Hy.create=E.blink; E.Ui=E.v.extend({Ho:0,gv:0,ctor:function(a,c){E.v.prototype.ctor.call(this);c!==k&&this.e(a,c)},e:function(a,c){return E.v.prototype.e.call(this,a)?(this.Ho=c,p):r},k:function(){var a=new E.Ui;this.ua(a);a.e(this.p,this.Ho);return a},update:function(a){a=this.dd(a);var c=this.gv!==k?this.gv:255;this.target.opacity=c+(this.Ho-c)*a},z:function(a){E.v.prototype.z.call(this,a);this.gv=a.opacity}});E.$_=function(a,c){return new E.Ui(a,c)};E.Ui.create=E.$_; E.jq=E.Ui.extend({EC:q,ctor:function(a){E.Ui.prototype.ctor.call(this);a&&this.e(a,255)},reverse:function(){var a=new E.xl;a.e(this.p,0);this.ua(a);this.he(a);return a},k:function(){var a=new E.jq;this.ua(a);a.e(this.p,this.Ho);return a},z:function(a){this.EC&&(this.Ho=this.EC.gv);E.Ui.prototype.z.call(this,a)}});E.U_=function(a){return new E.jq(a)};E.jq.create=E.U_; E.xl=E.Ui.extend({ctor:function(a){E.Ui.prototype.ctor.call(this);a&&this.e(a,0)},reverse:function(){var a=new E.jq;a.EC=this;a.e(this.p,255);this.ua(a);this.he(a);return a},k:function(){var a=new E.xl;this.ua(a);a.e(this.p,this.Ho);return a}});E.V_=function(a){return new E.xl(a)};E.xl.create=E.V_; E.Cq=E.v.extend({jd:q,Mc:q,ctor:function(a,c,d,e){E.v.prototype.ctor.call(this);this.jd=E.color(0,0,0);this.Mc=E.color(0,0,0);e!==k&&this.e(a,c,d,e)},e:function(a,c,d,e){return E.v.prototype.e.call(this,a)?(this.jd=E.color(c,d,e),p):r},k:function(){var a=new E.Cq;this.ua(a);var c=this.jd;a.e(this.p,c.r,c.g,c.b);return a},z:function(a){E.v.prototype.z.call(this,a);this.Mc=this.target.color},update:function(a){a=this.dd(a);var c=this.Mc,d=this.jd;c&&(this.target.color=E.color(c.r+(d.r-c.r)*a,c.g+(d.g- c.g)*a,c.b+(d.b-c.b)*a))}});E.i6=function(a,c,d,e){return new E.Cq(a,c,d,e)};E.Cq.create=E.i6; E.fA=E.v.extend({Su:0,Ru:0,Qu:0,fK:0,eK:0,dK:0,ctor:function(a,c,d,e){E.v.prototype.ctor.call(this);e!==k&&this.e(a,c,d,e)},e:function(a,c,d,e){return E.v.prototype.e.call(this,a)?(this.Su=c,this.Ru=d,this.Qu=e,p):r},k:function(){var a=new E.fA;this.ua(a);a.e(this.p,this.Su,this.Ru,this.Qu);return a},z:function(a){E.v.prototype.z.call(this,a);a=a.color;this.fK=a.r;this.eK=a.g;this.dK=a.b},update:function(a){a=this.dd(a);this.target.color=E.color(this.fK+this.Su*a,this.eK+this.Ru*a,this.dK+this.Qu* a)},reverse:function(){var a=E.aQ(this.p,-this.Su,-this.Ru,-this.Qu);this.ua(a);this.he(a);return a}});E.aQ=function(a,c,d,e){return new E.fA(a,c,d,e)};E.fA.create=E.aQ;E.sd=E.v.extend({update:t(),reverse:function(){var a=E.Lw(this.p);this.ua(a);this.he(a);return a},k:function(){var a=new E.sd;this.ua(a);a.e(this.p);return a}});E.Lw=function(a){return new E.sd(a)};E.sd.create=E.Lw; E.sq=E.v.extend({lj:q,ctor:function(a){E.v.prototype.ctor.call(this);this.lj=q;a&&this.aa(a)},aa:function(a){a||b("cc.ReverseTime.initWithAction(): action must be non null");a==this.lj&&b("cc.ReverseTime.initWithAction(): the action was already passed in.");return E.v.prototype.e.call(this,a.p)?(this.lj=a,p):r},k:function(){var a=new E.sq;this.ua(a);a.aa(this.lj.k());return a},z:function(a){E.v.prototype.z.call(this,a);this.lj.z(a)},update:function(a){a=this.dd(a);this.lj&&this.lj.update(1-a)},reverse:function(){return this.lj.k()}, stop:function(){this.lj.stop();E.rd.prototype.stop.call(this)}});E.bP=function(a){return new E.sq(a)};E.sq.create=E.bP; E.Mp=E.v.extend({mk:q,vr:0,$B:q,av:0,aD:q,ctor:function(a){E.v.prototype.ctor.call(this);this.aD=[];a&&this.QN(a)},dN:A("mk"),o4:u("mk"),QN:function(a){a||b("cc.Animate.initWithAnimation(): animation must be non-NULL");var c=a.cp();if(this.e(c*a.ij)){this.vr=0;this.o4(a);this.$B=q;this.av=0;var d=this.aD,e=d.length=0,f=c/a.yi;a=a.Qd;E.Mo(a,E.gg);for(var g=0;ga&&(a*=this.mk.ij,(0|a)>this.av&&(this.vr=0,this.av++),a%=1);for(var c=this.mk.Qd,d=c.length,e=this.aD,f=this.vr;fa?Math.PI-Math.asin(e/f):Math.asin(e/f)}},z:function(a){E.v.prototype.z.call(this,a);a=this.F5();isNaN(this.Ee)&&(this.Ee=a.e3);isNaN(this.Kq)&&(this.Kq=E.Wx(a.H6));isNaN(this.$g)&&(this.$g=E.Wx(a.azimuth));this.dL=E.Me(this.Kq);this.cL=E.Me(this.$g)},k:function(){var a=new E.te;a.e(this.p,this.Ee,this.bB,this.Kq,this.kJ,this.$g,this.jJ);return a},update:function(a){a=this.dd(a);var c=(this.Ee+this.bB*a)*E.Pp.vs(),d=this.dL+ this.bL*a,e=this.cL+this.aL*a;a=Math.sin(d)*Math.cos(e)*c+this.SA;e=Math.sin(d)*Math.sin(e)*c+this.TA;c=Math.cos(d)*c+this.UA;this.target.Km().sP(a,e,c)}});E.i3=function(a,c,d,e,f,g,h){return new E.te(a,c,d,e,f,g,h)};E.te.create=E.i3;E.Na=E.v.extend({s:q,ctor:function(a){E.v.prototype.ctor.call(this);a&&this.aa(a)},aa:function(a){a||b("cc.ActionEase.initWithAction(): action must be non nil");return this.e(a.cp())?(this.s=a,p):r},k:function(){var a=new E.Na;a.aa(this.s.k());return a},z:function(a){E.v.prototype.z.call(this,a);this.s.z(this.target)},stop:function(){this.s.stop();E.v.prototype.stop.call(this)},update:function(a){this.s.update(a)},reverse:function(){return E.Na.create(this.s.reverse())},BE:A("s")});E.lZ=function(a){return new E.Na(a)}; E.Na.create=E.lZ;E.wl=E.Na.extend({Xb:0,ctor:function(a,c){E.Na.prototype.ctor.call(this);c!==k&&this.aa(a,c)},lka:u("Xb"),Ada:A("Xb"),aa:function(a,c){return E.Na.prototype.aa.call(this,a)?(this.Xb=c,p):r},k:function(){var a=new E.wl;a.aa(this.s.k(),this.Xb);return a},reverse:function(){return E.wl.create(this.s.reverse(),1/this.Xb)}});E.I_=function(a,c){return new E.wl(a,c)};E.wl.create=E.I_; E.It=E.wl.extend({update:function(a){this.s.update(Math.pow(a,this.Xb))},reverse:function(){return E.It.create(this.s.reverse(),1/this.Xb)},k:function(){var a=new E.It;a.aa(this.s.k(),this.Xb);return a}});E.It.create=function(a,c){return new E.It(a,c)};E.F_=function(a){return{Xb:a,Qa:function(a){return Math.pow(a,this.Xb)},reverse:function(){return E.F_(1/this.Xb)}}}; E.vl=E.wl.extend({update:function(a){this.s.update(Math.pow(a,1/this.Xb))},reverse:function(){return E.vl.create(this.s.reverse(),1/this.Xb)},k:function(){var a=new E.vl;a.aa(this.s.k(),this.Xb);return a}});E.vl.create=function(a,c){return new E.vl(a,c)};E.H_=function(a){return{Xb:a,Qa:function(a){return Math.pow(a,1/this.Xb)},reverse:function(){return E.H_(1/this.Xb)}}}; E.$p=E.wl.extend({update:function(a){a*=2;1>a?this.s.update(0.5*Math.pow(a,this.Xb)):this.s.update(1-0.5*Math.pow(2-a,this.Xb))},k:function(){var a=new E.$p;a.aa(this.s.k(),this.Xb);return a},reverse:function(){return E.$p.create(this.s.reverse(),this.Xb)}});E.$p.create=function(a,c){return new E.$p(a,c)};E.G_=function(a){return{Xb:a,Qa:function(a){a*=2;return 1>a?0.5*Math.pow(a,this.Xb):1-0.5*Math.pow(2-a,this.Xb)},reverse:function(){return E.G_(this.Xb)}}}; E.Ft=E.Na.extend({update:function(a){this.s.update(0===a?0:Math.pow(2,10*(a-1)))},reverse:function(){return E.Ht.create(this.s.reverse())},k:function(){var a=new E.Ft;a.aa(this.s.k());return a}});E.Ft.create=function(a){return new E.Ft(a)};E.EJ={Qa:function(a){return 0===a?0:Math.pow(2,10*(a-1))},reverse:function(){return E.GJ}};E.cba=function(){return E.EJ}; E.Ht=E.Na.extend({update:function(a){this.s.update(1==a?1:-Math.pow(2,-10*a)+1)},reverse:function(){return E.Ft.create(this.s.reverse())},k:function(){var a=new E.Ht;a.aa(this.s.k());return a}});E.Ht.create=function(a){return new E.Ht(a)};E.GJ={Qa:function(a){return 1==a?1:-Math.pow(2,-10*a)+1},reverse:function(){return E.EJ}};E.eba=function(){return E.GJ}; E.Gt=E.Na.extend({update:function(a){1!=a&&0!==a&&(a*=2,a=1>a?0.5*Math.pow(2,10*(a-1)):0.5*(-Math.pow(2,-10*(a-1))+2));this.s.update(a)},reverse:function(){return E.Gt.create(this.s.reverse())},k:function(){var a=new E.Gt;a.aa(this.s.k());return a}});E.Gt.create=function(a){return new E.Gt(a)};E.FJ={Qa:function(a){return 1!==a&&0!==a?(a*=2,1>a?0.5*Math.pow(2,10*(a-1)):0.5*(-Math.pow(2,-10*(a-1))+2)):a},reverse:function(){return E.FJ}};E.dba=function(){return E.FJ}; E.Jt=E.Na.extend({update:function(a){a=0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1;this.s.update(a)},reverse:function(){return E.Lt.create(this.s.reverse())},k:function(){var a=new E.Jt;a.aa(this.s.k());return a}});E.Jt.create=function(a){return new E.Jt(a)};E.QJ={Qa:function(a){return 0===a||1===a?a:-1*Math.cos(a*Math.PI/2)+1},reverse:function(){return E.SJ}};E.oba=function(){return E.QJ}; E.Lt=E.Na.extend({update:function(a){a=0===a||1===a?a:Math.sin(a*Math.PI/2);this.s.update(a)},reverse:function(){return E.Jt.create(this.s.reverse())},k:function(){var a=new E.Lt;a.aa(this.s.k());return a}});E.Lt.create=function(a){return new E.Lt(a)};E.SJ={Qa:function(a){return 0===a||1==a?a:Math.sin(a*Math.PI/2)},reverse:function(){return E.QJ}};E.qba=function(){return E.SJ}; E.Kt=E.Na.extend({update:function(a){a=0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1);this.s.update(a)},k:function(){var a=new E.Kt;a.aa(this.s.k());return a},reverse:function(){return E.Kt.create(this.s.reverse())}});E.Kt.create=function(a){return new E.Kt(a)};E.RJ={Qa:function(a){return 0===a||1===a?a:-0.5*(Math.cos(Math.PI*a)-1)},reverse:function(){return E.RJ}};E.pba=function(){return E.RJ}; E.hn=E.Na.extend({Eb:0.3,ctor:function(a,c){E.Na.prototype.ctor.call(this);a&&this.aa(a,c)},sda:A("Eb"),hka:u("Eb"),aa:function(a,c){E.Na.prototype.aa.call(this,a);this.Eb=c==q?0.3:c;return p},reverse:function(){E.log("cc.EaseElastic.reverse(): it should be overridden in subclass.");return q},k:function(){var a=new E.hn;a.aa(this.s.k(),this.Eb);return a}});E.hn.create=function(a,c){return new E.hn(a,c)}; E.Ct=E.hn.extend({update:function(a){var c=0;0===a||1===a?c=a:(c=this.Eb/4,a-=1,c=-Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/this.Eb));this.s.update(c)},reverse:function(){return E.Et.create(this.s.reverse(),this.Eb)},k:function(){var a=new E.Ct;a.aa(this.s.k(),this.Eb);return a}});E.Ct.create=function(a,c){return new E.Ct(a,c)};E.CJ={Qa:function(a){if(0===a||1===a)return a;a-=1;return-Math.pow(2,10*a)*Math.sin(2*(a-0.075)*Math.PI/0.3)},reverse:function(){return E.DJ}}; E.C_=function(a){return a&&0.3!==a?{Eb:a,Qa:function(a){if(0===a||1===a)return a;a-=1;return-Math.pow(2,10*a)*Math.sin(2*(a-this.Eb/4)*Math.PI/this.Eb)},reverse:function(){return E.E_(this.Eb)}}:E.CJ};E.Et=E.hn.extend({update:function(a){var c=0,c=0===a||1==a?a:Math.pow(2,-10*a)*Math.sin(2*(a-this.Eb/4)*Math.PI/this.Eb)+1;this.s.update(c)},reverse:function(){return E.Ct.create(this.s.reverse(),this.Eb)},k:function(){var a=new E.Et;a.aa(this.s.k(),this.Eb);return a}}); E.Et.create=function(a,c){return new E.Et(a,c)};E.DJ={Qa:function(a){return 0===a||1===a?a:Math.pow(2,-10*a)*Math.sin(2*(a-0.075)*Math.PI/0.3)+1},reverse:function(){return E.CJ}};E.E_=function(a){return a&&0.3!==a?{Eb:a,Qa:function(a){return 0===a||1===a?a:Math.pow(2,-10*a)*Math.sin(2*(a-this.Eb/4)*Math.PI/this.Eb)+1},reverse:function(){return E.C_(this.Eb)}}:E.DJ}; E.Dt=E.hn.extend({update:function(a){var c=0,c=this.Eb;if(0===a||1==a)c=a;else{c||(c=this.Eb=0.3*1.5);var d=c/4;a=2*a-1;c=0>a?-0.5*Math.pow(2,10*a)*Math.sin(2*(a-d)*Math.PI/c):0.5*Math.pow(2,-10*a)*Math.sin(2*(a-d)*Math.PI/c)+1}this.s.update(c)},reverse:function(){return E.Dt.create(this.s.reverse(),this.Eb)},k:function(){var a=new E.Dt;a.aa(this.s.k(),this.Eb);return a}});E.Dt.create=function(a,c){return new E.Dt(a,c)}; E.D_=function(a){return{Eb:a||0.3,Qa:function(a){var d=0,d=this.Eb;if(0===a||1===a)d=a;else{d||(d=this.Eb=0.3*1.5);var e=d/4;a=2*a-1;d=0>a?-0.5*Math.pow(2,10*a)*Math.sin(2*(a-e)*Math.PI/d):0.5*Math.pow(2,-10*a)*Math.sin(2*(a-e)*Math.PI/d)+1}return d},reverse:function(){return E.D_(this.Eb)}}}; E.ul=E.Na.extend({Bw:function(a){if(a<1/2.75)return 7.5625*a*a;if(a<2/2.75)return a-=1.5/2.75,7.5625*a*a+0.75;if(a<2.5/2.75)return a-=2.25/2.75,7.5625*a*a+0.9375;a-=2.625/2.75;return 7.5625*a*a+0.984375},k:function(){var a=new E.ul;a.aa(this.s.k());return a},reverse:function(){return E.ul.create(this.s.reverse())}});E.ul.create=function(a){return new E.ul(a)}; E.zt=E.ul.extend({update:function(a){this.s.update(1-this.Bw(1-a))},reverse:function(){return E.Bt.create(this.s.reverse())},k:function(){var a=new E.zt;a.aa(this.s.k());return a}});E.zt.create=function(a){return new E.zt(a)};E.Eu=function(a){if(a<1/2.75)return 7.5625*a*a;if(a<2/2.75)return a-=1.5/2.75,7.5625*a*a+0.75;if(a<2.5/2.75)return a-=2.25/2.75,7.5625*a*a+0.9375;a-=2.625/2.75;return 7.5625*a*a+0.984375};E.tJ={Qa:function(a){return 1-E.Eu(1-a)},reverse:function(){return E.vJ}};E.Uaa=function(){return E.tJ}; E.Bt=E.ul.extend({update:function(a){this.s.update(this.Bw(a))},reverse:function(){return E.zt.create(this.s.reverse())},k:function(){var a=new E.Bt;a.aa(this.s.k());return a}});E.Bt.create=function(a){return new E.Bt(a)};E.vJ={Qa:function(a){return E.Eu(a)},reverse:function(){return E.tJ}};E.Waa=function(){return E.vJ};E.At=E.ul.extend({update:function(a){var c=0,c=0.5>a?0.5*(1-this.Bw(1-2*a)):0.5*this.Bw(2*a-1)+0.5;this.s.update(c)},k:function(){var a=new E.At;a.aa(this.s.k());return a},reverse:function(){return E.At.create(this.s.reverse())}}); E.At.create=function(a){return new E.At(a)};E.uJ={Qa:function(a){return a=0.5>a?0.5*(1-E.Eu(1-2*a)):0.5*E.Eu(2*a-1)+0.5},reverse:function(){return E.uJ}};E.Vaa=function(){return E.uJ};E.wt=E.Na.extend({update:function(a){this.s.update(0===a||1==a?a:a*a*(2.70158*a-1.70158))},reverse:function(){return E.yt.create(this.s.reverse())},k:function(){var a=new E.wt;a.aa(this.s.k());return a}});E.wt.create=function(a){return new E.wt(a)}; E.qJ={Qa:function(a){return 0===a||1===a?a:a*a*(2.70158*a-1.70158)},reverse:function(){return E.sJ}};E.Raa=function(){return E.qJ};E.yt=E.Na.extend({update:function(a){a-=1;this.s.update(a*a*(2.70158*a+1.70158)+1)},reverse:function(){return E.wt.create(this.s.reverse())},k:function(){var a=new E.yt;a.aa(this.s.k());return a}});E.yt.create=function(a){return new E.yt(a)};E.sJ={Qa:function(a){a-=1;return a*a*(2.70158*a+1.70158)+1},reverse:function(){return E.qJ}};E.Taa=function(){return E.sJ}; E.xt=E.Na.extend({update:function(a){a*=2;1>a?this.s.update(a*a*(3.5949095*a-2.5949095)/2):(a-=2,this.s.update(a*a*(3.5949095*a+2.5949095)/2+1))},k:function(){var a=new E.xt;a.aa(this.s.k());return a},reverse:function(){return E.xt.create(this.s.reverse())}});E.xt.create=function(a){return new E.xt(a)};E.rJ={Qa:function(a){a*=2;if(1>a)return a*a*(3.5949095*a-2.5949095)/2;a-=2;return a*a*(3.5949095*a+2.5949095)/2+1},reverse:function(){return E.rJ}};E.Saa=function(){return E.rJ}; E.Tp=E.Na.extend({Dv:q,Ev:q,Fv:q,Gv:q,ctor:function(a){E.Na.prototype.ctor.call(this,a)},ma:function(a,c,d,e,f){return Math.pow(1-f,3)*a+3*f*Math.pow(1-f,2)*c+3*Math.pow(f,2)*(1-f)*d+Math.pow(f,3)*e},update:function(a){this.s.update(this.ma(this.Dv,this.Ev,this.Fv,this.Gv,a))},k:function(){var a=new E.Tp;a.aa(this.s.k());a.lP(this.Dv,this.Ev,this.Fv,this.Gv);return a},reverse:function(){var a=E.Tp.create(this.s.reverse());a.lP(this.Gv,this.Fv,this.Ev,this.Dv);return a},lP:function(a,c,d,e){this.Dv= a||0;this.Ev=c||0;this.Fv=d||0;this.Gv=e||0}});E.Tp.create=function(a){return new E.Tp(a)};E.B_=function(a,c,d,e){return{Qa:function(f){return E.Tp.prototype.ma(a,c,d,e,f)},reverse:function(){return E.B_(e,d,c,a)}}};E.aq=E.Na.extend({ma:function(a){return Math.pow(a,2)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.aq;a.aa(this.s.k());return a},reverse:function(){return E.aq.create(this.s.reverse())}});E.aq.create=function(a){return new E.aq(a)}; E.HJ={Qa:E.aq.prototype.ma,reverse:function(){return E.HJ}};E.fba=function(){return E.HJ};E.cq=E.Na.extend({ma:function(a){return-a*(a-2)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.cq;a.aa();return a},reverse:function(){return E.cq.create(this.s.reverse())}});E.cq.create=function(a){return new E.cq(a)};E.JJ={Qa:E.cq.prototype.ma,reverse:function(){return E.JJ}};E.hba=function(){return E.JJ}; E.bq=E.Na.extend({ma:function(a){var c=a;a*=2;1>a?c=0.5*a*a:(--a,c=-0.5*(a*(a-2)-1));return c},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.bq;a.aa(this.s.k());return a},reverse:function(){return E.bq.create(this.s.reverse())}});E.bq.create=function(a){return new E.bq(a)};E.IJ={Qa:E.bq.prototype.ma,reverse:function(){return E.IJ}};E.gba=function(){return E.IJ}; E.dq=E.Na.extend({ma:function(a){return a*a*a*a},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.dq;a.aa(this.s.k());return a},reverse:function(){return E.dq.create(this.s.reverse())}});E.dq.create=function(a){return new E.dq(a)};E.KJ={Qa:E.dq.prototype.ma,reverse:function(){return E.KJ}};E.iba=function(){return E.KJ}; E.fq=E.Na.extend({ma:function(a){a-=1;return-(a*a*a*a-1)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.fq;a.aa(this.s.k());return a},reverse:function(){return E.fq.create(this.s.reverse())}});E.fq.create=function(a){return new E.fq(a)};E.MJ={Qa:E.fq.prototype.ma,reverse:function(){return E.MJ}};E.kba=function(){return E.MJ}; E.eq=E.Na.extend({ma:function(a){a*=2;if(1>a)return 0.5*a*a*a*a;a-=2;return-0.5*(a*a*a*a-2)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.eq;a.aa(this.s.k());return a},reverse:function(){return E.eq.create(this.s.reverse())}});E.eq.create=function(a){return new E.eq(a)};E.LJ={Qa:E.eq.prototype.ma,reverse:function(){return E.LJ}};E.jba=function(){return E.LJ}; E.gq=E.Na.extend({ma:function(a){return a*a*a*a*a},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.gq;a.aa(this.s.k());return a},reverse:function(){return E.gq.create(this.s.reverse())}});E.gq.create=function(a){return new E.gq(a)};E.NJ={Qa:E.gq.prototype.ma,reverse:function(){return E.NJ}};E.lba=function(){return E.NJ}; E.iq=E.Na.extend({ma:function(a){a-=1;return a*a*a*a*a+1},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.iq;a.aa(this.s.k());return a},reverse:function(){return E.iq.create(this.s.reverse())}});E.iq.create=function(a){return new E.iq(a)};E.PJ={Qa:E.iq.prototype.ma,reverse:function(){return E.PJ}};E.nba=function(){return E.PJ}; E.hq=E.Na.extend({ma:function(a){a*=2;if(1>a)return 0.5*a*a*a*a*a;a-=2;return 0.5*(a*a*a*a*a+2)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.hq;a.aa(this.s.k());return a},reverse:function(){return E.hq.create(this.s.reverse())}});E.hq.create=function(a){return new E.hq(a)};E.OJ={Qa:E.hq.prototype.ma,reverse:function(){return E.OJ}};E.mba=function(){return E.OJ}; E.Up=E.Na.extend({ma:function(a){return-1*(Math.sqrt(1-a*a)-1)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.Up;a.aa(this.s.k());return a},reverse:function(){return E.Up.create(this.s.reverse())}});E.Up.create=function(a){return new E.Up(a)};E.wJ={Qa:E.Up.prototype.ma,reverse:function(){return E.wJ}};E.Xaa=function(){return E.wJ}; E.Wp=E.Na.extend({ma:function(a){a-=1;return Math.sqrt(1-a*a)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.Wp;a.aa(this.s.k());return a},reverse:function(){return E.Wp.create(this.s.reverse())}});E.Wp.create=function(a){return new E.Wp(a)};E.yJ={Qa:E.Wp.prototype.ma,reverse:function(){return E.yJ}};E.Zaa=function(){return E.yJ}; E.Vp=E.Na.extend({ma:function(a){a*=2;if(1>a)return-0.5*(Math.sqrt(1-a*a)-1);a-=2;return 0.5*(Math.sqrt(1-a*a)+1)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.Vp;a.aa(this.s.k());return a},reverse:function(){return E.Vp.create(this.s.reverse())}});E.Vp.create=function(a){return new E.Vp(a)};E.xJ={Qa:E.Vp.prototype.ma,reverse:function(){return E.xJ}};E.Yaa=function(){return E.xJ}; E.Xp=E.Na.extend({ma:function(a){return a*a*a},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.Xp;a.aa(this.s.k());return a},reverse:function(){return E.Xp.create(this.s.reverse())}});E.Xp.create=function(a){return new E.Xp(a)};E.zJ={Qa:E.Xp.prototype.ma,reverse:function(){return E.zJ}};E.$aa=function(){return E.zJ};E.Zp=E.Na.extend({ma:function(a){a-=1;return a*a*a+1},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.Zp;a.aa(this.s.k());return a},reverse:function(){return E.Zp.create(this.s.reverse())}}); E.Zp.create=function(a){return new E.Zp(a)};E.BJ={Qa:E.Zp.prototype.ma,reverse:function(){return E.BJ}};E.bba=function(){return E.BJ};E.Yp=E.Na.extend({ma:function(a){a*=2;if(1>a)return 0.5*a*a*a;a-=2;return 0.5*(a*a*a+2)},update:function(a){this.s.update(this.ma(a))},k:function(){var a=new E.Yp;a.aa(this.s.k());return a},reverse:function(){return E.Yp.create(this.s.reverse())}});E.Yp.create=function(a){return new E.Yp(a)};E.AJ={Qa:E.Yp.prototype.ma,reverse:function(){return E.AJ}};E.aba=function(){return E.AJ};E.ZD=function(a,c,d,e,f,g){var h=g*g,m=h*g,n=(1-f)/2;f=n*(-m+2*h-g);var s=n*(-m+h)+(2*m-3*h+1);g=n*(m-2*h+g)+(-2*m+3*h);h=n*(m-h);return L(a.x*f+c.x*s+d.x*g+e.x*h,a.y*f+c.y*s+d.y*g+e.y*h)};E.aP=function(a){for(var c=[],d=a.length-1;0<=d;d--)c.push(L(a[d].x,a[d].y));return c};E.Iw=function(a){for(var c=[],d=0;dh?(f=L(0,0),e=L(0,1),m=L(1,0),n=L(1,1)):(m=L(0,0), n=L(0,1),f=L(1,0),e=L(1,1),g=h);c.x=g-g*d;c.d=Math.abs(parseFloat(g*a/4));a=this.Hc(f);a.x=c.x;a.d+=c.d;this.Hd(f,a);a=this.Hc(e);a.x=c.x;a.d+=c.d;this.Hd(e,a);a=this.Hc(m);a.x-=c.x;a.d-=c.d;this.Hd(m,a);a=this.Hc(n);a.x-=c.x;a.d-=c.d;this.Hd(n,a)}});E.d0=function(a){return new E.Zy(a)};E.Zy.create=E.d0; E.ZG=E.Zy.extend({ctor:function(a){a!==k?E.ec.prototype.ctor.call(this,a,P(1,1)):E.ec.prototype.ctor.call(this)},update:function(a){var c=Math.PI*a;a=Math.sin(c);var d=Math.cos(c/2),c=new E.rc,e=L(0,0);e.x=e.y=1;var f=this.Hc(e);e.x=e.y=0;var e=this.Hc(e),g=f.y,h=e.y,m,n;g>h?(f=L(0,0),e=L(0,1),m=L(1,0),n=L(1,1)):(e=L(0,0),f=L(0,1),n=L(1,0),m=L(1,1),g=h);c.y=g-g*d;c.d=Math.abs(parseFloat(g*a)/4);a=this.Hc(f);a.y=c.y;a.d+=c.d;this.Hd(f,a);a=this.Hc(e);a.y-=c.y;a.d-=c.d;this.Hd(e,a);a=this.Hc(m);a.y= c.y;a.d+=c.d;this.Hd(m,a);a=this.Hc(n);a.y-=c.y;a.d-=c.d;this.Hd(n,a)}});E.f0=function(a){return new E.ZG(a)};E.ZG.create=E.f0; E.eH=E.Tc.extend({wa:q,Ee:0,tv:0,CV:r,jb:r,ctor:function(a,c,d,e){E.ec.prototype.ctor.call(this);this.wa=L(0,0);e!==k&&this.e(a,c,d,e)},Vca:A("tv"),Pja:u("tv"),nja:u("CV"),Uw:A("wa"),R:function(a){E.DF(a,this.wa)||(this.wa.x=a.x,this.wa.y=a.y,this.jb=p)},e:function(a,c,d,e){return E.Tc.prototype.e.call(this,a,c)?(this.R(d),this.Ee=e,this.tv=0.7,this.jb=p):r},update:function(){if(this.jb){for(var a=this.Y.width,c=this.Y.height,d=this.Ee,e=this.tv,f=L(0,0),g=L(0,0),h,m,n,s=0;sf?this.dQ(d,f):this.sG(d)}});E.Y_=function(a,c){return new E.kq(a,c)};E.kq.create=E.Y_;E.Xy=E.kq.extend({ty:function(a,c){return 0==a.width+a.height?1:Math.pow((this.Y.width*(1-c)+this.Y.height*(1-c))/(a.width+a.height),6)}});E.W_=function(a,c){return new E.Xy(a,c)};E.Xy.create=E.W_; E.Ot=E.kq.extend({ty:function(a,c){var d=this.Y.height*c;return 0==d?1:Math.pow(a.height/d,6)},dQ:function(a,c){var d=this.Uf(a),e=this.target.grid.HE();d.F.y+=e.y/2*(1-c);d.M.y+=e.y/2*(1-c);d.L.y-=e.y/2*(1-c);d.K.y-=e.y/2*(1-c);this.Ve(a,d)}});E.Z_=function(a,c){return new E.Ot(a,c)};E.Ot.create=E.Z_;E.Yy=E.Ot.extend({ty:function(a,c){return 0==a.height?1:Math.pow(this.Y.height*(1-c)/a.height,6)}});E.X_=function(a,c){return new E.Yy(a,c)};E.Yy.create=E.X_; E.iA=E.qc.extend({GC:q,xj:0,xi:q,ctor:function(a,c,d){E.ec.prototype.ctor.call(this);this.xi=[];c!==k&&this.e(a,c,d)},e:function(a,c,d){return E.qc.prototype.e.call(this,a,c)?(this.GC=d||0,this.xi.length=0,p):r},lG:function(a,c){for(var d=c-1;0<=d;d--){var e=0|E.zb()%(d+1),f=a[d];a[d]=a[e];a[e]=f}},sG:function(a){this.Ve(a,this.Uf(a))},rG:function(a){this.Ve(a,new E.Xt)},z:function(a){E.qc.prototype.z.call(this,a);this.xj=this.Y.width*this.Y.height;a=this.xi;for(var c=a.length=0;cm.d&&(m.d=0.5);this.Hd(f,m)}}});E.o3=function(a,c){return new E.Vt(a,c)};E.Vt.create=E.o3;E.Va=E.m.extend({jc:q,ni:0,Yb:q,kh:q,Jl:q,Bd:r,wb:"ProgressTimer",W0:function(){return L(this.kh.x,this.kh.y)},M4:function(a){this.kh=E.BO(a)},m0:function(){return L(this.Jl.x,this.Jl.y)},q4:function(a){this.Jl=E.BO(a)},LE:A("jc"),c1:A("ni"),AN:A("Yb"),R4:function(a){this.ni!=a&&(this.ni=E.Qc(a,0,100),this.vD())},Se:t(),Rf:B(r),k2:A("Bd"),OA:function(a){if(a>7-(a<<1)&1,c>>7-((a<<1)+1)&1):L(c>>(a<<1)+1&1,c>>(a<<1)&1)}return L(0,0)},Cv:q,gD:270,hB:270,Ee:0, $A:r,KA:q,kd:0,wc:q,mf:q,CD:q,Zr:r,ctor:q,Uq:function(a){E.m.prototype.ctor.call(this);this.jc=E.Va.Wh;this.ni=0;this.kh=L(0,0);this.Jl=L(0,0);this.Bd=r;this.Yb=q;this.Cv=L(0,0);this.hB=this.gD=270;this.Ee=0;this.$A=r;this.KA=W(0,0,0,0);a&&this.qK(a)},Vq:function(a){E.m.prototype.ctor.call(this);this.jc=E.Va.Wh;this.ni=0;this.kh=L(0,0);this.Jl=L(0,0);this.Bd=r;this.Yb=q;this.CD=E.l.createBuffer();this.kd=0;this.mf=this.wc=q;this.Zr=r;a&&this.rK(a)},Za:function(a){this.Yb.color=a;this.$b()},Ta:function(a){this.Yb.opacity= a;this.$b()},Eg:function(){return this.Yb.color},Fg:function(){return this.Yb.opacity},FP:q,tY:function(a){this.Bd!==a&&(this.Bd=a)},uY:function(a){this.Bd!==a&&(this.Bd=a,this.mf=this.wc=q,this.kd=0)},ny:q,zY:function(a){this.Yb!=a&&(this.Yb=a,this.width=this.Yb.width,this.height=this.Yb.height)},AY:function(a){a&&this.Yb!=a&&(this.Yb=a,this.width=a.width,this.height=a.height,this.wc&&(this.mf=this.wc=q,this.kd=0))},hG:q,HY:function(a){a!==this.jc&&(this.jc=a)},IY:function(a){a!==this.jc&&(this.wc&& (this.mf=this.wc=q,this.kd=0),this.jc=a)},$F:q,rY:function(a){this.Bd!==a&&(this.Bd=a)},sY:function(a){this.Bd!==a&&(this.Bd=a,this.mf=this.wc=q,this.kd=0)},le:function(a){var c=this.Yb;if(!c)return{ea:0,fa:0};var d=c.quad,e=L(d.F.n.ea,d.F.n.fa),d=L(d.K.n.ea,d.K.n.fa);c.textureRectRotated&&(c=a.x,a.x=a.y,a.y=c);return{ea:e.x*(1-a.x)+d.x*a.x,fa:e.y*(1-a.y)+d.y*a.y}},me:function(a){if(!this.Yb)return{x:0,y:0};var c=this.Yb.quad,d=L(c.F.i.x,c.F.i.y),c=L(c.K.i.x,c.K.i.y);return{x:d.x*(1-a.x)+c.x*a.x, y:d.y*(1-a.y)+c.y*a.y}},ZN:q,qK:function(a){this.percentage=0;this.anchorY=this.anchorX=0.5;this.jc=E.Va.Wh;this.Bd=r;this.midPoint=L(0.5,0.5);this.barChangeRate=L(1,1);this.sprite=a;return p},rK:function(a){this.percentage=0;this.mf=this.wc=q;this.kd=0;this.anchorY=this.anchorX=0.5;this.jc=E.Va.Wh;this.Bd=r;this.midPoint=L(0.5,0.5);this.barChangeRate=L(1,1);this.sprite=a;this.shaderProgram=E.Id.mc(E.Yi);return p},Z:q,Ml:function(a){a=a||E.l;var c=this.Yb;c.lo&&(a.globalCompositeOperation="lighter"); var d=E.view.ja,e=E.view.La;a.globalAlpha=c.hb/255;var f=c.ha,g=c.N,h=c.Jb,m=c.fB,n=0|h.x,s=-h.y-f.height,v=c.jm;m.width=f.width*d;m.height=f.height*e;a.save();c.Lb&&(n=-h.x-f.width,a.scale(-1,1));c.Mb&&(s=h.y,a.scale(1,-1));n*=d;s*=e;this.jc==E.Va.Fl?(f=this.KA,a.beginPath(),a.rect(f.x*d,f.y*e,f.width*d,f.height*e),a.clip(),a.closePath()):this.jc==E.Va.Wh&&(f=this.Cv.x*d,h=this.Cv.y*e,a.beginPath(),a.arc(f,h,this.Ee*e,Math.PI/180*this.gD,Math.PI/180*this.hB,this.$A),a.lineTo(f,h),a.clip(),a.closePath()); c.I&&v.cn?(d=c.I.Xa,this.Sq?a.drawImage(d,0,0,v.width,v.height,n,s,m.width,m.height):a.drawImage(d,v.x,v.y,v.width,v.height,n,s,m.width,m.height)):0!==g.width&&(m=this.color,a.fillStyle="rgba("+m.r+","+m.g+","+m.b+",1)",a.fillRect(n,s,g.width*d,g.height*e));a.restore();E.Qf()},cj:function(a){a=a||E.l;if(this.wc&&this.Yb){E.Hs(this);var c=this.Yb.Dh();E.Ih(c.src,c.Q);E.Fc(E.Gl);E.pe(this.Yb.texture);a.bindBuffer(a.ARRAY_BUFFER,this.CD);this.Zr&&(a.bufferData(a.ARRAY_BUFFER,this.mf,a.DYNAMIC_DRAW), this.Zr=r);c=E.vd.BYTES_PER_ELEMENT;a.vertexAttribPointer(E.pb,2,a.FLOAT,r,c,0);a.vertexAttribPointer(E.xe,4,a.UNSIGNED_BYTE,p,c,8);a.vertexAttribPointer(E.wd,2,a.FLOAT,r,c,12);this.jc===E.Va.Wh?a.drawArrays(a.TRIANGLE_FAN,0,this.kd):this.jc==E.Va.Fl&&(this.Bd?(a.drawArrays(a.TRIANGLE_STRIP,0,this.kd/2),a.drawArrays(a.TRIANGLE_STRIP,4,this.kd/2),E.pf++):a.drawArrays(a.TRIANGLE_STRIP,0,this.kd));E.pf++}},hZ:function(){if(this.Yb){var a,c=this.kh;a=this.ni/100;var d=L(c.x,1),e=E.m3(d,c,2*E.PI*(this.Bd? a:1-a)),f=0;if(0==a)e=d,f=0;else if(1==a)e=d,f=4;else{var g=E.sR,h=E.Va.RH;for(a=0;a<=h;++a){var m=this.OA(a%h),n=this.OA((a+(h-1))%h);0==a?n=E.EO(m,n,1-c.x):4==a&&(m=E.EO(m,n,1-c.x));var s=L(0,0);if(E.yF(m,n,c,e,s)&&(!(0==a||4==a)||0<=s.x&&1>=s.x)&&0<=s.y&&s.yc.x&&(d.x+=-c.x,c.x=0);1c.y&&(d.y+=-c.y,c.y=0);1a;a++)f[a]=new E.vd(q,q,q,this.mf,a*e);f[0].n=this.le(L(0,1));f[0].i=this.me(L(0,1));f[1].n=this.le(L(0,0));f[1].i=this.me(L(0,0));f[6].n=this.le(L(1,1));f[6].i=this.me(L(1,1));f[7].n=this.le(L(1,0));f[7].i=this.me(L(1,0));this.wc=f}a=this.wc;a[2].n=this.le(L(c.x,d.y));a[2].i=this.me(L(c.x,d.y));a[3].n=this.le(L(c.x,c.y));a[3].i=this.me(L(c.x,c.y));a[4].n=this.le(L(d.x,d.y));a[4].i=this.me(L(d.x,d.y));a[5].n=this.le(L(d.x,c.y)); a[5].i=this.me(L(d.x,c.y))}else{if(!this.wc){this.kd=4;e=E.vd.BYTES_PER_ELEMENT;this.mf=new ArrayBuffer(4*e);this.wc=[];for(a=0;4>a;a++)this.wc[a]=new E.vd(q,q,q,this.mf,a*e)}a=this.wc;a[0].n=this.le(L(c.x,d.y));a[0].i=this.me(L(c.x,d.y));a[1].n=this.le(L(c.x,c.y));a[1].i=this.me(L(c.x,c.y));a[2].n=this.le(L(d.x,d.y));a[2].i=this.me(L(d.x,d.y));a[3].n=this.le(L(d.x,c.y));a[3].i=this.me(L(d.x,c.y))}this.$b()}},$b:function(){if(this.Yb&&this.wc){for(var a=this.Yb.quad.L.t,c=this.wc,d=0,e=this.kd;d< e;++d)c[d].t=a;this.Zr=p}},vD:q,dZ:function(){var a=this.Yb,c=a.width,d=a.height,e=this.kh;if(this.jc==E.Va.Wh){this.Ee=Math.round(Math.sqrt(c*c+d*d));var f,g=r,h=this.Cv;h.x=c*e.x;h.y=-d*e.y;this.Bd?(f=270,e=270-3.6*this.ni):(e=-90,f=-90+3.6*this.ni);a.Lb&&(h.x-=c*2*this.kh.x,e=-e-180,f=-f-180,g=!g);a.Mb&&(h.y+=d*2*this.kh.y,g=!g,e=-e,f=-f);this.gD=e;this.hB=f;this.$A=g}else{f=this.Jl;h=this.ni/100;g=this.KA;f=P(c*(1-f.x),d*(1-f.y));var h=P((c-f.width)*h,(d-f.height)*h),h=P(f.width+h.width,f.height+ h.height),m=L(c*e.x,d*e.y);f=m.x-h.width/2;0.5=c-m.x&&(f=c-h.width);c=m.y-h.height/2;0.5=d-m.y&&(c=d-h.height);g.x=0;d=1;a.Lb&&(g.x-=h.width,d=-1);0a.height?(a=16,c=12):(a=12,c=16);a=this.Ko(P(a,c));this.Cu?(this.ka.visible=r,this.ka.Sa(E.ya.create(E.mg.create(),a,E.Ab.create(this.finish,this),E.Cl.create()))): this.eb.Sa(E.ya.create(a,E.Ab.create(this.finish,this),E.Cl.create()))},ti:function(){this.ih=this.Cu}});E.lI.create=function(a,c,d){return new E.lI(a,c,d)};E.ia={name:"Jacob__Codec"};E.q6=function(){return E.ia.Fa.bx.apply(E.ia.Fa,arguments)};E.r6=function(){var a=E.ia.tl.GM.apply(E.ia.tl,arguments);return E.ia.Fa.bx.apply(E.ia.Fa,[a])};E.hQ=function(a,c){c=c||1;var d=this.r6(a),e=[],f,g,h;f=0;for(h=d.length/c;f>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|h,c.push(String.fromCharCode(d)),64!=g&&c.push(String.fromCharCode(e)),64!=h&&c.push(String.fromCharCode(f));return c=c.join("")}; E.ia.tl.HM=function(a,c){var d=this.GM(a),e=[],f,g,h;f=0;for(h=d.length/c;f>=1;0==a.Bi&&(a.Bi=a.O(),c=a.Bi&1,a.Bi=a.Bi>>1|128);return c}function X(a,c){for(var d=0,e=c;e--;)d=d<<1|la(a);c&&(d=E.ia.Fa.PD[d]>>8-c);return d}function na(a,c){a.SD[a.zh++]=c;a.Rs.push(String.fromCharCode(c));32768==a.zh&&(a.zh=0)} function ra(a){for(;;){if(a.Zo[a.Mh]>=a.bN)return-1;if(a.$M[a.Zo[a.Mh]]==a.Mh)return a.Zo[a.Mh]++;a.Zo[a.Mh]++}}function sa(a){var c=a.tz[a.nt],d;if(17==a.Mh)return-1;a.nt++;a.Mh++;d=ra(a);if(0<=d)c.zw=d;else if(c.zw=32768,sa(a))return-1;d=ra(a);if(0<=d)c.Aw=d,c.jF=q;else if(c.Aw=32768,c.jF=a.tz[a.nt],c.s2=a.nt,sa(a))return-1;a.Mh--;return 0}function ta(a,c,d,e){a.tz=c;a.nt=0;a.$M=e;a.bN=d;for(c=0;17>c;c++)a.Zo[c]=0;a.Mh=0;return sa(a)?-1:0} function ua(a,c){for(var d,e,f=0,g=c[f];;)if(d=la(a)){if(!(g.Aw&32768))return g.Aw;g=g.jF;d=c.length;for(e=0;e>1,23e)na(a,e);else if(256==e)break;else{var h;e-=257;g=X(a,E.ia.Fa.EM[e])+E.ia.Fa.DM[e];e=E.ia.Fa.PD[X(a,5)]>>3;8e;e++)m[e]=0;for(e=0;ee)m[f++]=e;else if(16==e){var s;e=3+X(a,2);if(f+e>g){a.zh=0;return}for(s=f?m[f-1]:0;e--;)m[f++]=s}else{e=17==e?3+X(a,3):11+X(a,7);if(f+e>g){a.zh=0;return}for(;e--;)m[f++]= 0}g=a.Ds.length;for(f=0;f>>0}c=1;d=0;for(var e=a.length,f,g=0;0>>0}function e(c,d){this.index="number"===typeof d?d:0; this.xs=0;this.buffer=c instanceof(I?Uint8Array:Array)?c:new (I?Uint8Array:Array)(32768);2*this.buffer.length<=this.index&&a(Error("invalid index"));this.buffer.length<=this.index&&this.Ch()}function f(a){this.buffer=new (I?Uint16Array:Array)(2*a);this.length=0}function g(a){var c=a.length,d=0,e=Number.POSITIVE_INFINITY,f,g,h,m,n,s,v,w,x;for(w=0;wd&&(d=a[w]),a[w]>=1;for(x=s;x=c:return[265,c-11,1];case 14>=c:return[266,c-13,1];case 16>=c:return[267,c-15,1];case 18>=c:return[268,c-17,1];case 22>=c:return[269,c-19,2];case 26>=c:return[270,c-23,2];case 30>=c:return[271,c-27,2];case 34>=c:return[272,c-31,2];case 42>=c:return[273,c-35,3];case 50>=c:return[274,c-43,3];case 58>=c:return[275,c-51,3];case 66>=c:return[276, c-59,3];case 82>=c:return[277,c-67,4];case 98>=c:return[278,c-83,4];case 114>=c:return[279,c-99,4];case 130>=c:return[280,c-115,4];case 162>=c:return[281,c-131,5];case 194>=c:return[282,c-163,5];case 226>=c:return[283,c-195,5];case 257>=c:return[284,c-227,5];case 258===c:return[285,c-258,0];default:a("invalid length: "+c)}}function s(c,d){function e(c,d){var f=c.uR,g=[],h=0,m;m=ea[c.length];g[h++]=m&65535;g[h++]=m>>16&255;g[h++]=m>>24;var n;switch(R){case 1===f:n=[0,f-1,0];break;case 2===f:n=[1,f- 2,0];break;case 3===f:n=[2,f-3,0];break;case 4===f:n=[3,f-4,0];break;case 6>=f:n=[4,f-5,1];break;case 8>=f:n=[5,f-7,1];break;case 12>=f:n=[6,f-9,2];break;case 16>=f:n=[7,f-13,2];break;case 24>=f:n=[8,f-17,3];break;case 32>=f:n=[9,f-25,3];break;case 48>=f:n=[10,f-33,4];break;case 64>=f:n=[11,f-49,4];break;case 96>=f:n=[12,f-65,5];break;case 128>=f:n=[13,f-97,5];break;case 192>=f:n=[14,f-129,6];break;case 256>=f:n=[15,f-193,6];break;case 384>=f:n=[16,f-257,7];break;case 512>=f:n=[17,f-385,7];break; case 768>=f:n=[18,f-513,8];break;case 1024>=f:n=[19,f-769,8];break;case 1536>=f:n=[20,f-1025,9];break;case 2048>=f:n=[21,f-1537,9];break;case 3072>=f:n=[22,f-2049,10];break;case 4096>=f:n=[23,f-3073,10];break;case 6144>=f:n=[24,f-4097,11];break;case 8192>=f:n=[25,f-6145,11];break;case 12288>=f:n=[26,f-8193,12];break;case 16384>=f:n=[27,f-12289,12];break;case 24576>=f:n=[28,f-16385,13];break;case 32768>=f:n=[29,f-24577,13];break;default:a("invalid distance")}m=n;g[h++]=m[0];g[h++]=m[1];g[h++]=m[2]; f=0;for(h=g.length;f=h;)C[h++]=0;for(h=0;29>=h;)D[h++]=0}C[256]=1;f=0;for(g=d.length;f=g){w&&e(w,-1);h=0;for(n=g-f;hM&&f+MK&&(s=n,K=M);if(258===M)break}n=new m(K,f-s);w?w.length2*n[D-1]+g[D]&&(n[D]=2*n[D-1]+g[D]),s[D]=Array(n[D]),x[D]=Array(n[D]);for(z=0;zm[z]?(s[D][C]=F,x[D][C]=v,K+=2):(s[D][C]=m[z],x[D][C]=z,++z);y[D]=0;1===g[D]&&d(D)}m= w;n=0;for(s=e.length;n1<g&&a("undercommitted");h=0;for(m=c.length;h>>=1}return d}function y(a,c){this.input=a;this.a=new (I?Uint8Array:Array)(32768);this.hp=V.rx;var d={},e;if((c||!(c={}))&& "number"===typeof c.dE)this.hp=c.dE;for(e in c)d[e]=c[e];d.Px=this.a;this.d=new h(this.input,d)}function x(c,d){this.sx=[];this.Cx=32768;this.Dg=this.g=this.C=this.Vx=0;this.input=I?new Uint8Array(c):c;this.NF=r;this.Gx=oa;this.JG=r;if(d||!(d={}))d.index&&(this.C=d.index),d.TD&&(this.Cx=d.TD),d.UD&&(this.Gx=d.UD),d.$s&&(this.JG=d.$s);switch(this.Gx){case xa:this.b=32768;this.a=new (I?Uint8Array:Array)(32768+this.Cx+258);break;case oa:this.b=0;this.a=new (I?Uint8Array:Array)(this.Cx);this.Ch=this.GR; this.oG=this.wR;this.Kx=this.AR;break;default:a(Error("invalid inflate mode"))}}function z(c,d){for(var e=c.g,f=c.Dg,g=c.input,h=c.C,m;f>>d;c.Dg=f-d;c.C=h;return e&(1<>>16;c.g=e>>m;c.Dg=f-m;c.C=h;return g&65535}function J(a){function c(a,d,e){var f,g,h,m;for(m=0;m< a;)switch(f=C(this,d),f){case 16:for(h=3+z(this,2);h--;)e[m++]=g;break;case 17:for(h=3+z(this,3);h--;)e[m++]=0;g=0;break;case 18:for(h=11+z(this,7);h--;)e[m++]=0;g=0;break;default:g=e[m++]=f}return e}var d=z(a,5)+257,e=z(a,5)+1,f=z(a,4)+4,h=new (I?Uint8Array:Array)(Aa.length),m;for(m=0;m>>8&255]<<16|T[a>>>16&255]<<8|T[a>>>24&255])>>32-c:T[a]>>8-c);if(8>c+g)h=h<>c-d-1&1,8===++g&&(g=0,e[f++]=T[h],h=0,f===e.length&&(e=this.Ch()));e[f]=h;this.buffer=e;this.xs=g;this.index=f};e.prototype.finish=function(){var a=this.buffer,c=this.index,d;0D;++D){for(var M=D,S=M,U=7,M=M>>>1;M;M>>>=1)S<<=1,S|=M&1,--U;K[D]=(S<>>0}var T=K,K=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636, 335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374, 3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776, 2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850, 2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567, 2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];I&&new Uint32Array(K);f.prototype.getParent=function(a){return 2*((a-2)/ 4|0)};f.prototype.push=function(a,c){var d,e,f=this.buffer,g;d=this.length;f[this.length++]=c;for(f[this.length++]=a;0f[e])g=f[d],f[d]=f[e],f[e]=g,g=f[d+1],f[d+1]=f[e+1],f[e+1]=g,d=e;else break;return this.length};f.prototype.pop=function(){var a,c,d=this.buffer,e,f,g;c=d[0];a=d[1];this.length-=2;d[0]=d[this.length];d[1]=d[this.length+1];for(g=0;;){f=2*g+2;if(f>=this.length)break;f+2d[f]&&(f+=2);if(d[f]>d[g])e=d[g],d[g]=d[f],d[f]=e,e=d[g+1],d[g+ 1]=d[f+1],d[f+1]=e;else break;g=f}return{index:a,value:c,length:this.length}};var ba=2,K={NONE:0,r:1,rx:ba,p8:3},Y=[];for(D=0;288>D;D++)switch(R){case 143>=D:Y.push([D+48,8]);break;case 255>=D:Y.push([D-144+400,9]);break;case 279>=D:Y.push([D-256+0,7]);break;case 287>=D:Y.push([D-280+192,8]);break;default:a("invalid literal: "+D)}h.prototype.fl=function(){var c,d,f,g,h=this.input;switch(this.hp){case 0:f=0;for(g=h.length;f>>8&255;y[z++]=x&255;y[z++]=x>>>8&255;if(I)y.set(d,z),z+=d.length,y=y.subarray(0,z);else{n=0;for(x=d.length;nN)for(;0N?N:138,U>N-3&&U=U?(S[T++]=17,S[T++]=U-3,J[17]++):(S[T++]=18,S[T++]=U-11,J[18]++),N-=U;else if(S[T++]=c[Q],J[c[Q]]++,N--,3>N)for(;0N?N:6,U>N-3&&UQ;Q++)n[Q]=J[K[Q]];for(F=19;4=$;$++)M=n(),D[$]=M[2]<<24|M[1]<<16|M[0];var ea=I?new Uint32Array(D):D,V=K;y.prototype.fl=function(){var c,e,f,g,h=0;g=this.a;c=ma;switch(c){case ma:e=Math.LOG2E*Math.log(32768)-8;break;default:a(Error("invalid compression method"))}e=e<<4|c;g[h++]=e;switch(c){case ma:switch(this.hp){case V.NONE:f=0;break;case V.r:f=1;break;case V.rx:f= 2;break;default:a(Error("unsupported compression type"))}break;default:a(Error("invalid compression method"))}c=f<<6|0;g[h++]=c|31-(256*e+c)%31;c=d(this.input);this.d.b=h;g=this.d.fl();h=g.length;I&&(g=new Uint8Array(g.buffer),g.length<=h+4&&(this.a=new Uint8Array(g.length+4),this.a.set(g),g=this.a),g=g.subarray(0,h+4));g[h++]=c>>24&255;g[h++]=c>>16&255;g[h++]=c>>8&255;g[h++]=c&255;return g};c("Zlib.Deflate",y);c("Zlib.Deflate.compress",function(a,c){return(new y(a,c)).fl()});c("Zlib.Deflate.CompressionType", V);c("Zlib.Deflate.CompressionType.NONE",V.NONE);c("Zlib.Deflate.CompressionType.FIXED",V.r);c("Zlib.Deflate.CompressionType.DYNAMIC",V.rx);var xa=0,oa=1,K={TQ:xa,FQ:oa};x.prototype.Qx=function(){for(;!this.NF;){var c=z(this,3);c&1&&(this.NF=R);c>>>=1;switch(c){case 0:var c=this.input,d=this.C,e=this.a,f=this.b,g=O,h=O,m=O,n=e.length,g=O;this.Dg=this.g=0;g=c[d++];g===O&&a(Error("invalid uncompressed block header: LEN (first byte)"));h=g;g=c[d++];g===O&&a(Error("invalid uncompressed block header: LEN (second byte)")); h|=g<<8;g=c[d++];g===O&&a(Error("invalid uncompressed block header: NLEN (first byte)"));m=g;g=c[d++];g===O&&a(Error("invalid uncompressed block header: NLEN (second byte)"));m|=g<<8;h===~m&&a(Error("invalid uncompressed block header: length verify"));d+h>c.length&&a(Error("input buffer is broken"));switch(this.Gx){case xa:for(;f+h>e.length;){g=n-f;h-=g;if(I)e.set(c.subarray(d,d+g),f),f+=g,d+=g;else for(;g--;)e[f++]=c[d++];this.b=f;e=this.Ch();f=this.b}break;case oa:for(;f+h>e.length;)e=this.Ch({fa:2}); break;default:a(Error("invalid inflate mode"))}if(I)e.set(c.subarray(d,d+h),f),f+=h,d+=h;else for(;h--;)e[f++]=c[d++];this.C=d;this.b=f;this.a=e;break;case 1:this.Kx(Ha,Ia);break;case 2:J(this);break;default:a(Error("unknown BTYPE: "+c))}}return this.oG()};D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var Aa=I?new Uint16Array(D):D;D=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258];var Ba=I?new Uint16Array(D):D;D=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2, 3,3,3,3,4,4,4,4,5,5,5,5,0,0,0];var pa=I?new Uint8Array(D):D;D=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];var Ca=I?new Uint16Array(D):D;D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];var qa=I?new Uint8Array(D):D;D=new (I?Uint8Array:Array)(288);M=0;for(S=D.length;M=M?8:255>=M?9:279>=M?7:8;var Ha=g(D);D=new (I?Uint8Array:Array)(30);M=0;for(S=D.length;Mg)e>=f&&(this.b=e,d=this.Ch(),e=this.b),d[e++]=g;else{g-=257;m=Ba[g];0=f&&(this.b=e,d=this.Ch(),e=this.b);m--;)d[e]=d[e++-h]}for(;8<=this.Dg;)this.Dg-=8,this.C--;this.b=e};x.prototype.AR=function(a,c){var d=this.a,e=this.b;this.ea=a;for(var f=d.length,g,h,m;256!==(g=C(this,a));)if(256>g)e>=f&&(d=this.Ch(),f=d.length), d[e++]=g;else{g-=257;m=Ba[g];0f&&(d=this.Ch(),f=d.length);m--;)d[e]=d[e++-h]}for(;8<=this.Dg;)this.Dg-=8,this.C--;this.b=e};x.prototype.Ch=function(){var a=new (I?Uint8Array:Array)(this.b-32768),c=this.b-32768,d,e,f=this.a;if(I)a.set(f.subarray(32768,a.length));else{d=0;for(e=a.length;dd;++d)f[d]=f[c+d];this.b= 32768;return f};x.prototype.GR=function(a){var c,d=this.input.length/this.C+1|0,e,f,g,h=this.input,m=this.a;a&&("number"===typeof a.fa&&(d=a.fa),"number"===typeof a.rR&&(d+=a.rR));2>d?(e=(h.length-this.C)/this.ea[2],g=258*(e/2)|0,f=gc&&(this.a.length=c),a=this.a);return this.buffer=a};F.prototype.Qx=function(){var c=this.input,e,f;e=this.CG.Qx();this.C=this.CG.C;this.YR&&(f=(c[this.C++]<<24|c[this.C++]<<16|c[this.C++]<< 8|c[this.C++])>>>0,f!==d(e)&&a(Error("invalid adler-32 checksum")));return e};c("Zlib.Inflate",F);c("Zlib.Inflate.BufferType",K);K.I6=K.FQ;K.c7=K.TQ;c("Zlib.Inflate.prototype.decompress",F.prototype.Qx);K=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];I&&new Uint16Array(K);K=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258];I&&new Uint16Array(K);K=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0];I&&new Uint8Array(K);K=[1,2,3,4,5,7,9,13, 17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];I&&new Uint16Array(K);K=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];I&&new Uint8Array(K);K=new (I?Uint8Array:Array)(288);D=0;for(M=K.length;D=D?8:255>=D?9:279>=D?7:8;g(K);K=new (I?Uint8Array:Array)(30);D=0;for(M=K.length;Da;++a)f.push(String.fromCharCode(this.data[this.Ya++]));a=f.join("");switch(a){case "IHDR":this.width=this.Nj();this.height=this.Nj();this.Oo=this.data[this.Ya++];this.bE=this.data[this.Ya++];this.naa=this.data[this.Ya++];this.Hba=this.data[this.Ya++];this.Gea=this.data[this.Ya++];break;case "acTL":this.OD={sha:this.Nj(),tha:this.Nj()|| Infinity,frames:[]};break;case "PLTE":this.AF=this.Us(c);break;case "fcTL":e&&this.OD.frames.push(e);this.Ya+=4;e={width:this.Nj(),height:this.Nj(),qQ:this.Nj(),rQ:this.Nj()};a=this.NO();c=this.NO()||100;e.yaa=1E3*a/c;e.Laa=this.data[this.Ya++];e.Y$=this.data[this.Ya++];e.data=[];break;case "IDAT":case "fdAT":"fdAT"===a&&(this.Ya+=4,c-=4);a=(e!=q?e.data:k)||this.ix;for(f=0;0<=c?fc;0<=c?++f:--f)a.push(this.data[this.Ya++]);break;case "tRNS":this.bn={};switch(this.bE){case 3:this.bn.TE=this.Us(c); c=255-this.bn.TE.length;if(0c;0<=c?++a:--a)this.bn.TE.push(255);break;case 0:this.bn.xea=this.Us(c)[0];break;case 2:this.bn.Sia=this.Us(c)}break;case "tEXt":f=this.Us(c);c=f.indexOf(0);a=String.fromCharCode.apply(String,f.slice(0,c));this.text[a]=String.fromCharCode.apply(String,f.slice(c+1));break;case "IEND":e&&this.OD.frames.push(e);a:{switch(this.bE){case 0:case 3:case 4:e=1;break a;case 2:case 6:e=3;break a}e=k}this.t=e;this.MN=4===(d=this.bE)||6===d;d=this.t+(this.MN?1: 0);this.v3=this.Oo*d;a:{switch(this.t){case 1:d="DeviceGray";break a;case 3:d="DeviceRGB";break a}d=k}this.jaa=d;Uint8Array!=Array&&(this.ix=new Uint8Array(this.ix));return;default:this.Ya+=c}this.Ya+=4;this.Ya>this.data.length&&b(Error("Incomplete or corrupt PNG file"))}},Us:function(a){var c,d;d=[];for(c=0;0<=a?ca;0<=a?++c:--c)d.push(this.data[this.Ya++]);return d},Nj:function(){var a,c,d,e;a=this.data[this.Ya++]<<24;c=this.data[this.Ya++]<<16;d=this.data[this.Ya++]<<8;e=this.data[this.Ya++]; return a|c|d|e},NO:function(){var a,c;a=this.data[this.Ya++]<<8;c=this.data[this.Ya++];return a|c},k_:function(a){var c,d,e,f,g,h,m,n,s,v,w,y,x,z,C;a==q&&(a=this.ix);if(0===a.length)return new Uint8Array(0);a=(new Zlib.mn(a,{index:0,mQ:r})).IM();n=this.v3/8;y=n*this.width;s=new Uint8Array(y*this.height);h=a.length;for(d=v=w=0;v=f*d)this.tF===r?a.push(e>>>8*(4-f)):a.push(e);else for(var g=0;g=a)E.log("No bytes requested");else{if(1>=a)return this.getUint8(c);if(2>=a)return this.getUint16(c);if(3>=a)return this.getUint32(c)>>>8;if(4>=a)return this.getUint32(c);E.log("Too many bytes requested")}},n0:function(a, c,d){d=d||0;c+=Math.floor(d/8);var e=d+a;a=32-a;var f,g;0>=e?console.log("No bits requested"):8>=e?(f=24+d,g=this.getUint8(c)):16>=e?(f=16+d,g=this.getUint16(c)):32>=e?(f=d,g=this.getUint32(c)):console.log("Too many bits requested");return{bits:g<>>a,byteOffset:c+Math.floor(e/8),bitOffset:e%8}},HO:function(a){var c=this.getUint16(a),d=[];a+=2;for(var e=0;e=N?U=N+1:-127<=N&&-1>=N?T=-N+1:I=p}else{for(var ba=this.getUint8(J+O),N=0;Na?a:200;else{if(a>this.zu){var c=E.Bb.BYTES_PER_ELEMENT;this.lb=new Uint16Array(6*a);var d=new ArrayBuffer(a*c),e=this.Gk;e.length=0;for(var f=this.Ac,g=f.length=0;g= this.ob},s6:function(a,c){var d=q;this.X?(d=this.X.textureAtlas.quads[this.atlasIndex+a.atlasIndex],this.X.textureAtlas.dirty=p):d=this.Ac[this.hf];var e,f,g,h;this.Oa?(e=0|a.color.r*a.color.a/255,f=0|a.color.g*a.color.a/255,g=0|a.color.b*a.color.a/255):(e=0|a.color.r,f=0|a.color.g,g=0|a.color.b);h=0|a.color.a;var m=d.F.t;m.r=e;m.g=f;m.b=g;m.a=h;m=d.M.t;m.r=e;m.g=f;m.b=g;m.a=h;m=d.L.t;m.r=e;m.g=f;m.b=g;m.a=h;m=d.K.t;m.r=e;m.g=f;m.b=g;m.a=h;e=a.size/2;if(a.rotation){f=-e;g=-e;h=c.x;var m=c.y,n=-E.Me(a.rotation), s=Math.cos(n),n=Math.sin(n);d.F.i.x=f*s-g*n+h;d.F.i.y=f*n+g*s+m;d.M.i.x=e*s-g*n+h;d.M.i.y=e*n+g*s+m;d.L.i.x=f*s-e*n+h;d.L.i.y=f*n+e*s+m;d.K.i.x=e*s-e*n+h;d.K.i.y=e*n+e*s+m}else d.F.i.x=c.x-e,d.F.i.y=c.y-e,d.M.i.x=c.x+e,d.M.i.y=c.y-e,d.L.i.x=c.x-e,d.L.i.y=c.y+e,d.K.i.x=c.x+e,d.K.i.y=c.y+e},C3:function(){if(E.A===E.W){var a=E.l;a.bindBuffer(a.ARRAY_BUFFER,this.sc[0]);a.bufferData(a.ARRAY_BUFFER,this.Zc,a.DYNAMIC_DRAW)}},update:function(a){if(this.jo&&this.Dm){var c=1/this.Dm;this.ndc;)this.pZ(),this.Nl-=c;this.kb+=a;-1!=this.duration&&this.duratione.xd&&(this.PW(f+d),e.YM(e.xd-d,d));a.bp()+d!=f&&e.wO(c,c+d);e.ON(d);this.uD()},removeChild:function(a,c){if(a!=q)if(a instanceof E.o||b("cc.ParticleBatchNode.removeChild(): only supports cc.ParticleSystem as children"),-1==this.u.indexOf(a))E.log("cc.ParticleBatchNode.removeChild(): doesn't contain the sprite. Can't remove it");else{E.m.prototype.removeChild.call(this,a,c);var d=this.textureAtlas;d.U3(a.bp(), a.ob);d.YM(d.totalQuads,a.ob);a.ml(q);this.uD()}},xp:function(a,c){a||b("cc.ParticleBatchNode.reorderChild(): child should be non-null");a instanceof E.o||b("cc.ParticleBatchNode.reorderChild(): only supports cc.QuadParticleSystems as children");if(-1===this.u.indexOf(a))E.log("cc.ParticleBatchNode.reorderChild(): Child doesn't belong to batch");else if(c!=a.zIndex){if(1a)return e;return d},kW:function(a,c){for(var d=r,e=r,f=0,g=0,h=0,m=this.u,n=m.length, s=0;sc&&!e&&(f=s,e=p,d&&e))break;if(a==v&&(g=s,d=p,e||(h=-1),d&&e))break}e||(f=n);return{xO:f+h,yO:g}},XU:function(a,c,d){a||b("cc.ParticleBatchNode._addChildHelper(): child should be non-null");if(a.parent)return E.log("cc.ParticleBatchNode._addChildHelper(): child already added. It can't be added again"),q;this.u||(this.u=[]);var e=this.$X(c);this.u.splice(e,0,a);a.tag=d;a.Vv(c);a.parent=this;this.qh&&(a.$(),a.Nh());return e},Mf:function(){this.textureAtlas.texture.Ei()|| (this.q.src=E.SRC_ALPHA,this.q.Q=E.ONE_MINUS_SRC_ALPHA)},JE:A("textureAtlas"),fG:u("textureAtlas")});G=E.rz.prototype;E.j(G,"texture",G.Aa,G.$a);E.rz.create=function(a,c){return new E.rz(a,c)};E.S7=function(a,c,d){this.Ah=a||W(0,0,0,0);this.end=c||W(0,0,0,0);this.duration=d||0};E.R7=E.na.extend({ctor:function(){E.Fi.eM(this)},Yx:function(){E.Fi.Yx(this)},JZ:function(){return E.Fi.jM(this)},QM:function(){return E.Fi.PM(this)},WD:B(r),n_:t(),XD:B(r),o_:t(),aO:t(),MM:t(),wE:B(""),z2:t(),x2:t(),y2:t(),w2:t()}); E.cz=E.na.extend({hc:q,Ra:q,bj:"",Tl:q,ctor:function(){this.Ra=new E.cz.FR;this.Tl=L(0,0)},U:function(){if(!E.fb.Kh){this.hc=E.sb("#imeDispatcherInput");this.hc||(this.hc=E.sQ(),this.hc.setAttribute("type","text"),this.hc.setAttribute("id","imeDispatcherInput"),this.hc.$s(0,0),this.hc.eQ(0,0),this.hc.style.opacity="0",this.hc.style.fontSize="1px",this.hc.setAttribute("tabindex",2),this.hc.style.position="absolute",this.hc.style.top=0,this.hc.style.left=0,document.body.appendChild(this.hc));var a= this;E.Ha(this.hc,"input",function(){a.sC(a.hc.value)},r);E.Ha(this.hc,"keydown",function(c){c.keyCode===E.lq.W5?(c.stopPropagation(),c.preventDefault()):c.keyCode==E.lq.WM&&(a.os("\n",1),c.stopPropagation(),c.preventDefault())},r);/msie/i.test(navigator.userAgent)&&E.Ha(this.hc,"keyup",function(c){c.keyCode==E.lq.kM&&a.sC(a.hc.value)},r);E.Ha(window,"mousedown",function(c){var d=c.pageY||0;a.Tl.x=c.pageX||0;a.Tl.y=d},r)}},sC:function(a){var c,d;c=this.bj.length=c)&&this.Ra.de&&this.Ra.de.aO(a,c)},RM:function(){this.Ra&&this.Ra.de&&this.Ra.de.MM()},wE:function(){if(this.Ra&&this.Ra.de){var a=this.Ra.de.wE();return a?a:""}return""},Kaa:function(){if(this.Ra)for(var a=0;aa?a==E.lq.kM?this.RM():a== E.lq.WM&&this.os("\n",1):255>a&&this.os(String.fromCharCode(a),1)}});E.cz.FR=E.na.extend({de:q,rg:q,ctor:function(){this.rg=[]},Iba:function(a){for(var c=0;c=a?(this.Ff="",this.Iu=0,E.S.prototype.od.call(this,this.Zl)):this.string=this.Ff.substring(0,a-1))},Yx:function(){E.Fi.Yx(this)},aO:function(a){var c=a;a=c.indexOf("\n");-1=a.length)&&(h=a[e]))m=s[c].height,f=f>=m||isNaN(m)?f:m,++g,g>=h&&(d+=f+5,f=g=0,++e)}var v=E.B.oa(),w=h=f=e=0,y=0,d=d/2;if(s&&0=m||isNaN(m)?f:m;x.R(y-v.width/2,d-m/2);y+=w;++g;g>=h&&(d-= f+5,f=h=g=0,++e)}}},N$:function(){0=a.length)&&(s=a[h]))y=v.width,m=m>=y||isNaN(y)?m:y,g+=v.height+5,++n,n>=s&&(d.push(m),e.push(g),f+=m+10,m=n=0,g=-5,++h)}g=E.B.oa();s=m=h=0;var f=-f/2,z=0;if(x&&0=y||isNaN(y)?m:y,v.R(f+d[h]/2,z-g.height/2),z-=v.height+10,++n,n>=s&&(f+=m+5,m=s=n=0,++h)}},removeChild:function(a,c){a!=q&&(a instanceof E.zc?(this.Pc==a&&(this.Pc=q),E.m.prototype.removeChild.call(this,a,c)):E.log("cc.Menu.removeChild():Menu only supports MenuItem objects as children"))},yX:function(a,c){var d=c.yd;if(d.wh!=E.nq||!d.kc||!d.enabled)return r;for(var e=d.parent;e!=q;e=e.parent)if(!e.kc)return r;d.Pc=d.BK(a);return d.Pc? (d.wh=E.mq,d.Pc.selected(),p):r},AX:function(a,c){var d=c.yd;d.wh!==E.mq?E.log("cc.Menu.onTouchEnded(): invalid state"):(d.Pc&&(d.Pc.Ph(),d.Pc.ds()),d.wh=E.nq)},zX:function(a,c){var d=c.yd;d.wh!==E.mq?E.log("cc.Menu.onTouchCancelled(): invalid state"):(this.Pc&&d.Pc.Ph(),d.wh=E.nq)},CX:function(a,c){var d=c.yd;if(d.wh!==E.mq)E.log("cc.Menu.onTouchMoved(): invalid state");else{var e=d.BK(a);e!=d.Pc&&(d.Pc&&d.Pc.Ph(),d.Pc=e,d.Pc&&d.Pc.selected())}},yb:function(){this.wh==E.mq&&(this.Pc&&(this.Pc.Ph(), this.Pc=q),this.wh=E.nq);E.m.prototype.yb.call(this)},Se:t(),Rf:B(r),BK:function(a){a=a.rs();var c=this.u,d;if(c&&0c)return r;a=new E.EQ(a);a.jy(e);d.type=a.O();e+=10;if(e+4+1>c)return r;a.jy(e);d.width=a.M3();d.height=a.L3();d.pixelDepth=a.O();if(e+5+1>c)return r;c=a.O();d.aN=0;c&32&&(d.aN=1);return p};E.tla=function(a,c,d){var e,f;e=0|d.pixelDepth/2;f=d.height*d.width*e;if(18+f>c)return r;d.qf=E.tu(a,18,18+f);if(3<=e)for(a=0;ac)break;v=a[w];w+=1;(n=v&128)&&(v-=128);m=0}if(!m){if(w+e>c)break;s=E.tu(a,w,w+e);w+=e;3<=e&&(m=s[0],s[0]=s[2],s[2]=m)}for(m=0;m>3;this.rV(d);var d=Math.pow(2,c-1)-1,f=this.vC(a+c,1,e),g=this.vC(a,c,e),h=0,m=2,n=0;do for(var s=this.Mv(++n,e),v=a%8||8,w=1<>=1;)s&w&&(h+=1/m),m*=2;while(a-=v);this.va+=e;return g==(d<<1)+1?h?NaN:f?-Infinity:Infinity:(1+-2*f)*(g||h?!g?Math.pow(2,-d+1)*h:Math.pow(2,g-d)*(1+h):0)},Mv:function(a, c){return this.On[this.va+c-a-1]},Ou:function(a,c){var d=this.vC(0,a,a/8),e=Math.pow(2,a);this.va+=a/8;return c&&d>=e/2?d-e:d},KY:function(a,c){for(++c;--c;a=1073741824==((a%=2147483648)&1073741824)?2*a:2*(a-1073741824)+2147483648);return a},vC:function(a,c,d){var e=(a+c)%8,f=a%8,g=d-(a>>3)-1;a=d+(-(a+c)>>3);var h=g-a;c=this.Mv(g,d)>>f&(1<<(h?8-f:c))-1;for(h&&e&&(c+=(this.Mv(a++,d)&(1<>>0>=g.Gm)return g}}E.log("cocos2d: Warning: TMX Layer "+a.name+" has no tiles");return q}});G=E.Sz.prototype; E.j(G,"mapWidth",G.AB,G.OC);E.j(G,"mapHeight",G.zB,G.NC);E.j(G,"tileWidth",G.jr,G.Ir);E.j(G,"tileHeight",G.ir,G.Hr);E.Sz.create=function(a,c){return new E.Sz(a,c)};E.ST=0;E.a9=1;E.Z8=2;E.c9=3;E.b9=4;E.d9=5;E.zq=2147483648;E.Aq=1073741824;E.UH=536870912;E.VH=(E.zq|E.Aq|E.UH)>>>0;E.Tz=~E.VH>>>0;E.Dl=E.na.extend({Ib:q,name:"",pa:q,He:q,visible:q,Rd:q,AO:p,Vl:1E5,Ul:0,offset:q,ctor:function(){this.Ib=[];this.name="";this.pa=q;this.He=[];this.visible=p;this.Rd=0;this.AO=p;this.Vl=1E5;this.Ul=0;this.offset=L(0,0)},Ww:A("Ib"),ky:u("Ib")}); E.RT=E.na.extend({name:"",Gm:0,Hb:q,ht:0,margin:0,SP:"",hx:q,ctor:function(){this.Hb=P(0,0);this.hx=P(0,0)},Vs:function(a){var c=W(0,0,0,0);c.width=this.Hb.width;c.height=this.Hb.height;a&=E.Tz;a-=parseInt(this.Gm,10);var d=parseInt((this.hx.width-2*this.margin+this.ht)/(this.Hb.width+this.ht),10);c.x=parseInt(a%d*(this.Hb.width+this.ht)+this.margin,10);c.y=parseInt(parseInt(a/d,10)*(this.Hb.height+this.ht)+this.margin,10);return c}}); E.yq=E.$t.extend({Ib:q,orientation:q,parentElement:q,Ux:q,Dx:0,mG:r,Hp:q,hE:q,Av:q,Yc:q,Hb:q,ge:q,lm:q,wj:q,Qv:"",hJ:0,ctor:function(a,c){E.$t.prototype.ctor.apply(this);this.Yc=P(0,0);this.Hb=P(0,0);this.ge=[];this.lm=[];this.Av=[];this.Ib=[];this.wj={};this.hJ=0;c!==k?this.ZE(a,c):a!==k&&this.YE(a)},lda:A("orientation"),$ja:u("orientation"),CE:function(){return P(this.Yc.width,this.Yc.height)},wP:function(a){this.Yc.width=a.width;this.Yc.height=a.height},AB:function(){return this.Yc.width},OC:function(a){this.Yc.width= a},zB:function(){return this.Yc.height},NC:function(a){this.Yc.height=a},gp:function(){return P(this.Hb.width,this.Hb.height)},MP:function(a){this.Hb.width=a.width;this.Hb.height=a.height},jr:function(){return this.Hb.width},Ir:function(a){this.Hb.width=a},ir:function(){return this.Hb.height},Hr:function(a){this.Hb.height=a},Uca:A("ge"),I4:function(a){this.ge.push(a)},bea:A("lm"),i5:function(a){this.lm.push(a)},mN:A("Av"),xP:function(a){this.Av.push(a)},pda:A("parentElement"),eka:u("parentElement"), qda:A("Ux"),fka:u("Ux"),Qca:A("Dx"),Lja:u("Dx"),Sda:A("mG"),wka:u("mG"),Ww:A("Ib"),ky:u("Ib"),YE:function(a){this.tK(a,q);return this.BF(a)},ZE:function(a,c){this.tK(q,c);return this.r3(a)},BF:function(a,c){var d=(c=c||r)?a:E.V.Ed(a);d||b("Please load the resource first : "+a);var e,f,d=this.cC(d).documentElement;e=d.getAttribute("version");f=d.getAttribute("orientation");if("map"==d.nodeName&&("1.0"!=e&&e!==q&&E.log("cocos2d: TMXFormat: Unsupported TMX version:"+e),"orthogonal"==f?this.orientation= E.hu:"isometric"==f?this.orientation=E.gu:"hexagonal"==f?this.orientation=E.El:f!==q&&E.log("cocos2d: TMXFomat: Unsupported orientation:"+f),e=P(0,0),e.width=parseFloat(d.getAttribute("width")),e.height=parseFloat(d.getAttribute("height")),this.wP(e),e=P(0,0),e.width=parseFloat(d.getAttribute("tilewidth")),e.height=parseFloat(d.getAttribute("tileheight")),this.MP(e),f=d.querySelectorAll("map \x3e properties \x3e property"))){var g={};for(e=0;ethis.MK){this.ew||(this.ew=[]);this.fw||(this.fw=[]);this.Rk=Math.ceil(d/this.MK);d=this.ew;for(f=0;f=this.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)&&b("cc.TMXLayer.getTileAt(): invalid position");if(!this.Jd||!this.Md)return E.log("cc.TMXLayer.getTileAt(): TMXLayer: the tiles map has been released"),q;var d=q,e=this.KE(a);if(0===e)return d;var f=0|a.x+a.y*this.pa.width,d=this.Eh(f);d||(e=this.cg.Vs(e),e=E.jl(e),d= new E.D,d.ra(this.texture,e),d.batchNode=this,d.R(this.Vw(a)),d.vertexZ=this.ZL(a),d.anchorX=0,d.anchorY=0,d.opacity=this.Rd,e=this.GA(f),this.qZ(d,e,f));return d},KE:function(a,c){a||b("cc.TMXLayer.getTileGIDAt(): pos should be non-null");c!==k&&(a=L(a,c));(a.x>=this.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)&&b("cc.TMXLayer.getTileGIDAt(): invalid position");return!this.Jd||!this.Md?(E.log("cc.TMXLayer.getTileGIDAt(): TMXLayer: the tiles map has been released"),q):(this.Jd[0|a.x+a.y*this.pa.width]& E.Tz)>>>0},t1:function(a,c){a||b("cc.TMXLayer.getTileFlagsAt(): pos should be non-null");c!==k&&(a=L(a,c));(a.x>=this.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)&&b("cc.TMXLayer.getTileFlagsAt(): invalid position");return!this.Jd||!this.Md?(E.log("cc.TMXLayer.getTileFlagsAt(): TMXLayer: the tiles map has been released"),q):(this.Jd[0|a.x+a.y*this.pa.width]&E.VH)>>>0},Dka:function(a,c,d,e){c||b("cc.TMXLayer.setTileGID(): pos should be non-null");e!==k?c=L(c,d):e=d;(c.x>=this.pa.width||c.y>=this.pa.height|| 0>c.x||0>c.y)&&b("cc.TMXLayer.setTileGID(): invalid position");if(!this.Jd||!this.Md)E.log("cc.TMXLayer.setTileGID(): TMXLayer: the tiles map has been released");else if(0!==a&&a>>0,0===a)this.W3(c);else if(0===f)this.bX(d,c);else{var f=c.x+c.y*this.pa.width,g=this.Eh(f);g?(a=this.cg.Vs(a),a=E.jl(a),g.rb(a,r),e!=q&&this.Yv(g,c,d),this.Jd[f]=d):this.iZ(d,c)}}}, W3:function(a,c){a||b("cc.TMXLayer.removeTileAt(): pos should be non-null");c!==k&&(a=L(a,c));(a.x>=this.pa.width||a.y>=this.pa.height||0>a.x||0>a.y)&&b("cc.TMXLayer.removeTileAt(): invalid position");if(!this.Jd||!this.Md)E.log("cc.TMXLayer.removeTileAt(): TMXLayer: the tiles map has been released");else if(0!==this.KE(a)){E.A===E.Ba&&this.vi();var d=0|a.x+a.y*this.pa.width,e=this.GA(d);this.Jd[d]=0;this.Md.splice(e,1);if(d=this.Eh(d))E.ud.prototype.removeChild.call(this,d,p);else if(E.A===E.W&& this.textureAtlas.VO(e),this.u)for(var d=this.u,f=0,g=d.length;f=e&&(h.atlasIndex=m-1)}}}},Vw:function(a,c){c!==k&&(a=L(a,c));var d=L(0,0);switch(this.Hj){case E.hu:d=this.OX(a);break;case E.gu:d=this.NX(a);break;case E.El:d=this.MX(a)}return E.EF(d)},FE:function(a){return this.Ib[a]},r5:function(){E.A===E.Ba?this.cg.hx=this.uc.N:(this.cg.hx=this.textureAtlas.texture.N,this.textureAtlas.texture.QF());this.HX();E.A===E.Ba&&this.vi();for(var a=this.pa.height, c=this.pa.width,d=0;d=this.cg.Gm&&this.Vl>=this.cg.Gm||E.log("cocos2d:TMX: Only 1 tileset per layer is supported")},T:function(){E.log("addChild: is not supported on cc.TMXLayer. Instead use setTileGID or tileAt.")},removeChild:function(a,c){if(a)if(-1===this.u.indexOf(a))E.log("cc.TMXLayer.removeChild(): Tile does not belong to TMXLayer");else{E.A===E.Ba&&this.vi(); var d=a.atlasIndex;this.Jd[this.Md[d]]=0;this.Md.splice(d,1);E.ud.prototype.removeChild.call(this,a,c)}},Rca:A("Ex"),Mja:u("Ex"),NX:function(a){return L(this.Wb.width/2*(this.pa.width+a.x-a.y-1),this.Wb.height/2*(2*this.pa.height-a.x-a.y-2))},OX:function(a){return L(a.x*this.Wb.width,(this.pa.height-a.y-1)*this.Wb.height)},MX:function(a){return L(3*a.x*this.Wb.width/4,(this.pa.height-a.y-1)*this.Wb.height+(1==a.x%2?-this.Wb.height/2:0))},lV:function(a){var c=L(0,0);switch(this.Hj){case E.hu:c=L(a.x* this.Wb.width,-a.y*this.Wb.height);break;case E.gu:c=L(this.Wb.width/2*(a.x-a.y),this.Wb.height/2*(-a.x-a.y));break;case E.El:(0!==a.x||0!==a.y)&&E.log("offset for hexagonal map not implemented yet")}return c},dV:function(a,c){var d=this.cg.Vs(a),d=E.jl(d),e=0|c.x+c.y*this.pa.width,d=this.DC(d);this.Yv(d,c,a);var f=this.Md.length;this.ox(d,f);this.Md.splice(f,0,e);return d},bX:function(a,c){var d=this.cg.Vs(a),d=E.jl(d),e=0|c.x+c.y*this.pa.width,d=this.DC(d);this.Yv(d,c,a);var f=this.fV(e);this.ox(d, f);this.Md.splice(f,0,e);if(this.u)for(var g=this.u,h=0,m=g.length;h=f&&(n.atlasIndex=s+1)}}this.Jd[e]=a;return d},iZ:function(a,c){var d=this.cg.Vs(a),e=this.bh,d=W(d.x/e,d.y/e,d.width/e,d.height/e),e=c.x+c.y*this.pa.width,d=this.DC(d);this.Yv(d,c,a);d.atlasIndex=this.GA(e);d.dirty=p;d.Xe();this.Jd[e]=a;return d},HX:function(){var a=this.FE("cc_vertexz");if(a)if("automatic"==a){this.xD=p;var c=this.FE("cc_alpha_func"),a=0;c&&(a=parseFloat(c));E.A===E.W&& (this.shaderProgram=E.Id.mc(E.bu),c=E.l.getUniformLocation(this.shaderProgram.Mm(),E.DI),this.shaderProgram.Jc(),this.shaderProgram.et(c,a))}else this.DD=parseInt(a,10)},Yv:function(a,c,d){var e=c.x+c.y*this.pa.width;a.R(this.Vw(c));E.A===E.W?a.vertexZ=this.ZL(c):a.tag=e;a.anchorX=0;a.anchorY=0;a.opacity=this.Rd;E.A===E.W&&(a.rotation=0);a.at(r);a.WF(r);(d&E.UH)>>>0?(a.anchorX=0.5,a.anchorY=0.5,a.x=this.Vw(c).x+a.width/2,a.y=this.Vw(c).y+a.height/2,c=(d&(E.zq|E.Aq)>>>0)>>>0,c==E.zq?a.rotation=90: c==E.Aq?a.rotation=270:(a.rotation=c==(E.Aq|E.zq)>>>0?90:270,a.at(p))):((d&E.zq)>>>0&&a.at(p),(d&E.Aq)>>>0&&a.WF(p))},DC:function(a){E.A===E.W?(this.ph?(this.ph.batchNode=q,this.ph.rb(a,r)):(this.ph=new E.D,this.ph.ra(this.texture,a,r)),this.ph.batchNode=this):(this.ph=new E.D,this.ph.ra(this.Tk,a,r),this.ph.batchNode=this,this.ph.parent=this);return this.ph},ZL:function(a){var c=0,d=0;if(this.xD)switch(this.Hj){case E.gu:d=this.pa.width+this.pa.height;c=-(d-(a.x+a.y));break;case E.hu:c=-(this.pa.height- a.y);break;case E.El:E.log("TMX Hexa zOrder not supported");break;default:E.log("TMX invalid value")}else c=this.DD;return c},GA:function(a){var c;if(this.Md)for(var d=this.Md,e=0,f=d.length;e=this.RB)return E.log("Error: "+a+" greater than "+this.RB),q;c=this.rB(a);if(!c)return q;c=c.cloneNode(p);this.qk&&E.Ha(c,"pause",this.qk);c.volume=this.Wu;d.push(c)}return c},CF:function(a,c){var d= this.hK(a);if(!d)return q;d.loop=c||r;d.play();var e=this.WI++;this.ee[e]=d;return e},xja:function(a){a=this.Wu=Math.min(Math.max(a,0),1);var c=this.ee,d;for(d in c)c[d].volume=a},u3:function(a){(a=this.ee[a])&&!a.ended&&a.pause()},s3:function(){var a=this.ee,c;for(c in a){var d=a[c];d.ended||d.pause()}},c4:function(a){this.oj(this.ee[a])},b4:function(){var a=this.ee,c;for(c in a)this.oj(a[c])},S5:function(a){this.Qk(this.ee[a]);delete this.ee[a]},UP:function(){var a=this.ee,c;for(c in a)this.Qk(a[c]), delete a[c]},o6:function(a){var c=E.V,d=this.ee,e=this.uB(a);c.Ni(a);if(0!=e.length){c=e[0].src;delete this.Nq[a];for(var f in d)d[f].src==c&&(this.Qk(d[f]),delete d[f])}},end:function(){this.WP();this.UP()},VK:function(){var a=this.ee,c,d;for(d in a)if((c=a[d])&&!c.ended&&!c.paused)this.Ar.push(c),c.pause();this.gF()&&(this.Ar.push(this.Od),this.Od.pause())},lL:function(){for(var a=this.Ar,c=0,d=a.length;cE.fb.TY&&(E.IG=E.HG.extend({Xk:[],zr:[],zf:q,RB:2,Vu:{},Xl:r,Vn:0,JB:r,eC:function(a){this.hD();this._super(a)},d4:function(){1==this.ff&&(this.hD(),this.Xl=r,this.Vn=0,this._super())},CF:function(a,c){var d=this.zf,e=c?this.hK(a):this.IW(a);if(!e)return q;e.loop=c||r;var f=this.WI++;this.ee[f]=e;this.gF()&&(this.IO(),this.Xl=p);d?(d!=e&&this.Xk.push(this.Nn),this.Xk.push(f),d.pause()):(this.zf=e,this.Nn=f,e.play());return f},u3:function(){E.log("pauseEffect not supported in single audio mode!")}, s3:function(){var a=this.Xk,c=this.zr,d=this.zf;if(d){for(var e=0,f=a.length;ethis.Ca.wG||this.Ca.pl<-this.Ca.wG)this.Ca.pl=this.Ca.wG;c+=this.Ca.pl;this.bound(c);a+=this.Ca.yG;a>this.BG-60?(a=this.BG-60,this.k0()):(this.Ca.y=a,++this.oQ>=this.pQ&&(this.pQ=Math.ceil(150*E.MO()+50),this.oQ=0,this.ql.UZ(),flippedX=5<10*E.MO(),this.ql.at(flippedX),a=new E.ya(new E.sd(0.4),new E.Ab(function(){this.Ca.a=flippedX?this.Ca.a-0.85:this.Ca.a+0.85},this)),this.Sa(a)))},bound:function(a){athis.zG&&(a= this.zG);var c=0.5*this.size.width;ac+0.5*this.Tj+30?(this.Kp=r,this.face.oy(3),this.j0()):(ac+0.3*this.Tj?(this.Kp=p,this.face.oy(2),this.Ca.yG=0):(this.Kp=r,this.face.oy(1),this.Ca.yG=ac+0.2*this.Tj?0.5:ac+0.1*this.Tj?2:1),this.Ca.a=0);this.warn();this.Ca.x=a},M1:function(){E.aF.l4();var a=this;this.sF=E.sa.create({event:E.sa.rl,Dw:function(c){a.Ca.a=0.5*c.x}});E.qa.addListener(this.sF,this)},UE:function(){E.bg.ww(Z.cN); this.batchNode=new E.ud(Z.tb);this.T(this.batchNode);E.bg.ww(Z.C6);var a=new E.ud(Z.ql);this.T(a)},U:function(){Ma=r;Ga=0;this.AG=50;this.zG=this.size.width-50;this.BG=0.9*this.size.height-20;var a=new E.D;a.anchorX=0.5;a.anchorY=0;a.x=0.5*this.size.width;a.rb(W(0,0,this.Tj,this.size.height));a.Za(E.color(255,255,255));this.T(a);this.Sf=new Na;this.Sf.anchorX=0.5;this.Sf.anchorY=1;this.Sf.x=0.5*this.size.width;this.Sf.y=0.9*this.size.height;this.T(this.Sf);this.wm=new Oa;this.wm.x=0.5*this.size.width- 10;this.wm.y=0.9*this.size.height;this.T(this.wm);this.Ca=new Pa;this.Ca.Qj(0.8);this.Ca.x=0.5*this.size.width;this.Ca.y=0.1*this.size.height;this.T(this.Ca);E.No.y3(Z.C5,p)}}),Ra=E.Vh.extend({$:function(){this._super();var a=new Qa;this.T(a)}});var Oa=E.D.extend({ctor:function(){this._super();this.U()},U:function(){this.Sg("ass_01.png");for(var a=[],c=1;4>=c;c++){var d=E.bg.Hh("ass_0"+c+".png");a.push(d)}a=new E.Vg(a,0.3);a=new E.Mp(a);a=new E.rq(a);this.Sa(a)}});var Pa=E.D.extend({pl:0,yG:0,a:0,wG:10,Mba:1,ctor:function(){this._super();this.Sg("air.png")}});var Ma=r,Ga=0;var Na=E.D.extend({blink:r,ctor:function(){this._super(Z.Sf)}});var Ka=E.D.extend({ctor:function(){this._super();this.U()},U:function(){this.Ym(r);this.Sg("wind0000")},UZ:function(){this.Zm();this.Ym(p);for(var a=[],c=0;6>=c;c++){var d=E.bg.Hh("wind000"+c);a.push(d)}a=new E.Vg(a,0.1);a=new E.Mp(a);a=new E.ya(a,new E.Ab(function(){this.Ym(r)},this));this.Sa(a)}});var Ja=E.D.extend({status:0,ctor:function(){this._super();this.oy(1)},oy:function(a){this.status!=a&&(this.Sg("face_0"+a+".png"),this.status=a)}});var Sa=E.Uc.extend({size:q,data:q,ctor:function(){var a=Ma?E.color(255,255,101):E.color(153,153,153);this._super(a);this.size=E.B.oa();this.U()},U:function(){this.data=[{min:0,max:5,title:"\u5c0f\u96cf\u83ca"},{min:6,max:8,title:"\u51cc\u6ce2\u5fae\u83ca"},{min:9,max:10,title:"\u8f7b\u83ca\u5c4e\u4e0a\u6f02"},{min:11,max:13,title:"\u83ca\u543c\u529f"},{min:14,max:16,title:"\u5f39\u5c4e\u795e\u83ca"},{min:17,max:20,title:"\u9eef\u7136\u9500\u9b42\u83ca"},{min:21,max:22,title:"\u4e7e\u5764\u5927\u83ca\u82b1"}, {min:23,max:25,title:"\u516d\u8109\u795e\u83ca"},{min:26,max:30,title:"\u94c1\u83ca\u529f"},{min:31,max:40,title:"\u5927\u529b\u91d1\u521a\u83ca"},{min:41,max:5E4,title:"\u5982\u6765\u795e\u83ca"}];var a=this.getData();Ma&&dp_submitScore(Ga,a);var c=Ma?new E.D(Z.v5):new E.D(Z.u5);c.Qj(0.9);c.x=0.5*this.size.width+30;c.y=this.size.height-20;c.anchorX=0.5;c.anchorY=1;this.T(c);Ma&&(c=new E.S("\u7528\u65f6: "+Ga+" \u79d2","helvetica",35),c.Za(E.color(0,0,0)),c.x=0.5*this.size.width,c.y=this.size.height-280,this.T(c), a=new E.S('\u606d\u559c\u83b7\u5f97"'+a+'"\u79f0\u53f7',"helvetica",35),a.Za(E.color(0,0,0)),a.x=0.5*this.size.width,a.y=this.size.height-335,this.T(a));a=Ma?new E.D(Z.OZ):new E.D(Z.NZ);a.Qj(0.8);Ma?(a.x=0.5*this.size.width,a.y=this.size.height-600):(a.x=0.5*this.size.width+40,a.y=this.size.height-500);this.T(a);a=new E.Wi(new E.D(Z.qM),new E.D(Z.qM),this.h3,this);a=new E.Xj(a);a.y=0.2*this.size.height;this.T(a);a=new E.Wi(new E.D(Z.mG),new E.D(Z.mG),clickMore,this);a=new E.Xj(a);a.y=0.07*this.size.height;this.T(a)},getData:function(){for(var a=0;a=c.min&& Ga<=c.max)return c.title}},h3:function(){E.B.kl(new Ra)}}),La=E.Vh.extend({$:function(){this._super();var a=new Sa;this.T(a)}});var Ta=E.fc.extend({size:q,ctor:function(){this._super();this.size=E.B.oa();this.U()},U:function(){var a=new E.D(Z.I1);a.anchorY=1;a.x=0.5*this.size.width;a.y=this.size.height;this.T(a);a=new E.Wi(new E.D(Z.pM),new E.D(Z.pM),this.vF,this);a=new E.Xj(a);a.y=this.size.height-240;a.x=0.5*this.size.width+80;this.T(a)},vF:function(){E.B.kl(new Ra)}}),Da=E.Vh.extend({$:function(){this._super();var a=new Ta;this.T(a)}});E.tb.wF=function(){var a=E.fb.Kh?E.ue.Mt:E.ue.cu;E.view.rZ(p);E.view.TF(640,1136,a);E.view.Z3(p);E.iz.FF(za,function(){E.B.kl(new Fa)},this)};E.tb.i4();