123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511 |
- var c=c||{};c.i=c.i||{};c.d={};p=window;p=Object.prototype;delete window._p;c.Wa=function(a){return document.createElement(a)};c.aa=function(a,b,d,e){a.addEventListener(b,d,e)};c.ds="undefined"!==typeof require&&require("fs");c.Ct=function(a,b){if(a)if(a instanceof Array)for(var d=0,e=a.length;d<e&&!1!==b.call(void 0,a[d],d);d++);else for(d in a)if(!1===b.call(void 0,a[d],d))break};
- c.Yp=function(a){if(!a)return c.log("invalid URL"),!1;var b=a.indexOf("://");if(-1==b)return!1;b=a.indexOf("/",b+3);return(-1==b?a:a.substring(0,b))!=location.origin};
- c.async={Ir:function(a){var b=this.yt;if(!b.Ep){var d=b.length,e=b.Pu,f=b.Au,g=f.yb,h=f.qt,k=f.Fq,f=f.dU;if(a){if(b.Ep=a,g)return g.call(h,a)}else{var m=Array.apply(null,arguments).slice(1),n=m.length;0==n?m=null:1==n&&(m=m[0]);e[this.index]=m;b.count--;k&&k.call(f,m,d-b.count,d);0==b.count&&g&&g.apply(h,[null,e])}}},Nr:function(){},tR:function(a,b,d){var e=c.async;if(void 0!==d)"function"==typeof b&&(b={Fq:b}),b.yb=d||b.yb;else if(void 0!==b)"function"==typeof b&&(b={yb:b});else if(void 0!==a)b=
- {};else throw"arguments error!";var f=(d=a instanceof Array)?a.length:Object.keys(a).length;if(0==f)b.yb&&b.yb.call(b.qt,null);else{var g={length:f,count:f,Au:b,Pu:d?[]:{}};c.Ct(a,function(a,d){if(g.Ep)return!1;var f=b.yb||b.Fq?e.Ir.bind({yt:g,index:d}):e.Nr;a(f,d)})}},map:function(a,b,d){var e=this,f=arguments.length;"function"==typeof b&&(b={Zp:b});if(3===f)b.yb=d||b.yb;else if(2>f)throw"arguments error!";"function"==typeof b&&(b={Zp:b});if(void 0!==d)b.yb=d||b.yb;else if(void 0===a)throw"arguments error!";
- var g=(f=a instanceof Array)?a.length:Object.keys(a).length;if(0===g)b.yb&&b.yb.call(b.qt,null);else{var h={length:g,count:g,Au:b,Pu:f?[]:{}};c.Ct(a,function(a,d){if(h.Ep)return!1;var f=b.yb?e.Ir.bind({yt:h,index:d}):e.Nr;b.Zp.call(b.JE,a,d,f)})}}};
- c.path={join:function(){for(var a=arguments.length,b="",d=0;d<a;d++)b=(b+(""==b?"":"/")+arguments[d]).replace(/(\/|\\\\)$/,"");return b},fg:function(a){return(a=/(\.[^\.\/\?\\]*)(\?.*)?$/.exec(a))?a[1]:null},yQ:function(a){if(a){var b=a.lastIndexOf(".");if(-1!==b)return a.substring(0,b)}return a},yC:function(a,b){var d=a.indexOf("?");0<d&&(a=a.substring(0,d));d=/(\/|\\\\)([^(\/|\\\\)]+)$/g.exec(a.replace(/(\/|\\\\)$/,""));if(!d)return null;d=d[2];return b&&a.substring(a.length-b.length).toLowerCase()==
- b.toLowerCase()?d.substring(0,d.length-b.length):d},dirname:function(a){return a.replace(/((.*)(\/|\\|\\\\))?(.*?\..*$)?/,"$2")},CC:function(a,b){b=b||"";var d=a.indexOf("?"),e="";0<d&&(e=a.substring(d),a=a.substring(0,d));d=a.lastIndexOf(".");return 0>d?a+b+e:a.substring(0,d)+b+e},rt:function(a,b,d){if(0==b.indexOf("."))return this.CC(a,b);var e=a.indexOf("?"),f="";d=d?this.fg(a):"";0<e&&(f=a.substring(e),a=a.substring(0,e));e=a.lastIndexOf("/");return a.substring(0,0>=e?0:e+1)+b+d+f}};
- c.D={is:{},vk:{},QA:{},xf:{},Kl:"",ZK:"",Oc:{},dl:function(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP")},Ur:function(a){var b=a[0],d=a[1],e=a[2],f=["",null,null];if(1===a.length)f[1]=b instanceof Array?b:[b];else if(2===a.length)"function"==typeof d?(f[1]=b instanceof Array?b:[b],f[2]=d):(f[0]=b||"",f[1]=d instanceof Array?d:[d]);else if(3===a.length)f[0]=b||"",f[1]=d instanceof Array?d:[d],f[2]=e;else throw"arguments error to load js!";return f},iF:function(a,
- b,d){var e=this,f=e.is,g=e.Ur(arguments);-1<navigator.userAgent.indexOf("Trident/5")?e.ms(g[0],g[1],0,g[2]):c.async.map(g[1],function(a,b,d){a=c.path.join(g[0],a);if(f[a])return d(null);e.Jr(a,!1,d)},g[2])},wu:function(a,b,d){var e=this.TA(),f=this.Ur(arguments);this.iF(f[0],f[1],function(a){if(a)throw a;e.parentNode.removeChild(e);if(f[2])f[2]()})},Jr:function(a,b,d){var e=document,f=c.Wa("script");f.async=b;f.src=a;this.is[a]=!0;c.aa(f,"load",function(){this.removeEventListener("load",arguments.callee,
- !1);d()},!1);c.aa(f,"error",function(){d("Load "+a+" failed!")},!1);e.body.appendChild(f)},ms:function(a,b,d,e){if(d>=b.length)e&&e();else{var f=this;f.Jr(c.path.join(a,b[d]),!1,function(g){if(g)return e(g);f.ms(a,b,d+1,e)})}},TA:function(){var a=document,b=a.getElementById("cocos2d_loadJsImg");if(!b){b=c.Wa("img");c.ps&&(b.src=c.ps);a=a.getElementById(c.Da.Gb.id);a.style.backgroundColor="black";a.parentNode.appendChild(b);var d=getComputedStyle?getComputedStyle(a):a.currentStyle;d||(d={width:a.width,
- height:a.height});b.style.left=a.offsetLeft+(parseFloat(d.width)-b.width)/2+"px";b.style.top=a.offsetTop+(parseFloat(d.height)-b.height)/2+"px";b.style.position="absolute"}return b},gq:function(a,b){if(c.ds)require("fs").JR(a,function(a,d){a?b(a):b(null,d.toString())});else{var d=this.dl(),e="load "+a+" failed!";d.open("GET",a,!0);/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?b(null,d.responseText):b(e)}):(d.overrideMimeType&&d.overrideMimeType("text/plain; charset\x3dutf-8"),d.onload=function(){4==d.readyState&&200==d.status?b(null,d.responseText):b(e)});d.send(null)}},ns:function(a){if(c.ds)return require("fs").KR(a).toString();var b=this.dl();b.open("GET",a,!1);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?b.setRequestHeader("Accept-Charset","utf-8"):b.overrideMimeType&&b.overrideMimeType("text/plain; charset\x3dutf-8");b.send(null);
- return 4==!b.readyState||200!=b.status?null:b.responseText},xu:function(a,b){this.gq(a,function(d,e){try{d?b(d):b(null,JSON.parse(e))}catch(f){throw"load json ["+a+"] failed : "+f;}})},Er:function(a){return null!=/(\.png)|(\.jpg)|(\.bmp)|(\.jpeg)|(\.gif)/.exec(a)},Zi:function(a,b,d){var e=!0;void 0!==d?e=null==b.Yp?e:b.Yp:void 0!==b&&(d=b);var f=new Image;e&&"file://"!=location.origin&&(f.crossOrigin="Anonymous");c.aa(f,"load",function(){this.removeEventListener("load",arguments.callee,!1);this.removeEventListener("error",
- arguments.callee,!1);d&&d(null,f)});c.aa(f,"error",function(){this.removeEventListener("error",arguments.callee,!1);d&&d("load image failed")});f.src=a;return f},UA:function(a,b,d){var e=this,f=null,g=a.type;g?(g="."+g.toLowerCase(),f=a.src?a.src:a.name+g):(f=a,g=c.path.fg(f));if(b=e.Oc[f])return d(null,b);b=e.vk[g.toLowerCase()];if(!b)return c.error("loader for ["+g+"] not exists!"),d();g=b.Gp?b.Gp():e.Kl;g=e.hE(g,f);b.load(g,f,a,function(a,b){a?(c.log(a),e.Oc[f]=null,delete e.Oc[f],d()):(e.Oc[f]=
- b,d(null,b))})},hE:function(a,b){var d=this.QA,e=c.path;if(void 0!==a&&void 0===b){b=a;var f=e.fg(b),f=f?f.toLowerCase():"";a=(f=this.vk[f])?f.Gp?f.Gp():this.Kl:this.Kl}b=c.path.join(a||"",b);if(b.match(/[\/(\\\\)]lang[\/(\\\\)]/i)){if(d[b])return d[b];e=e.fg(b)||"";b=d[b]=b.substring(0,b.length-e.length)+"_"+c.Ja.language+e}return b},load:function(a,b,d){if(void 0!==d)"function"==typeof b&&(b={Fq:b});else if(void 0!==b)"function"==typeof b&&(d=b,b={});else if(void 0!==a)b={};else throw"arguments error!";
- b.yb=function(a,b){a&&c.log(a);d&&d(b)};a instanceof Array||(a=[a]);b.Zp=this.UA;b.JE=this;c.async.map(a,b)},Zr:function(a,b){var d=this.xf,e=[],f;for(f in a){var g=a[f];d[f]=g;e.push(g)}this.load(e,b)},tQ:function(a,b){var d=this,e=d.hd(a);e?d.Zr(e.filenames,b):d.load(a,function(a){d.Zr(a[0].filenames,b)})},Mh:function(a,b){if(a&&b){if("string"==typeof a)return this.vk[a.trim().toLowerCase()]=b;for(var d=0,e=a.length;d<e;d++)this.vk["."+a[d].trim().toLowerCase()]=b}},hd:function(a){return this.Oc[a]||
- this.Oc[this.xf[a]]},Nh:function(a){var b=this.Oc,d=this.xf;delete b[a];delete b[d[a]];delete d[a]},RR:function(){var a=this.Oc,b=this.xf,d;for(d in a)delete a[d];for(d in b)delete b[d]}};
- (function(){function a(){c.H&&c.Da.Se&&c.H.dispatchEvent(c.Da.Se);c.Da.wi&&(window.cancelAnimationFrame(c.Da.wi),c.Da.zk())}function b(){c.H&&c.Da.Re&&c.H.dispatchEvent(c.Da.Re)}var d=window,e,f;"undefined"!==typeof document.hidden?(e="hidden",f="visibilitychange"):"undefined"!==typeof document.mozHidden?(e="mozHidden",f="mozvisibilitychange"):"undefined"!==typeof document.msHidden?(e="msHidden",f="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(e="webkitHidden",f="webkitvisibilitychange");
- e?c.aa(document,f,function(){document[e]?b():a()},!1):(c.aa(d,"blur",b,!1),c.aa(d,"focus",a,!1));-1<navigator.userAgent.indexOf("MicroMessenger")&&(d.onfocus=function(){a()});"onpageshow"in window&&"onpagehide"in window&&(c.aa(d,"pagehide",b,!1),c.aa(d,"pageshow",a,!1));f=d=null})();c.log=c.warn=c.error=c.assert=function(){};c.zt=function(a,b){for(var d=["webgl","experimental-webgl","webkit-3d","moz-webgl"],e=null,f=0;f<d.length;++f){try{e=a.getContext(d[f],b)}catch(g){}if(e)break}return e};
- c.HA=function(a,b){c.cb=0;c.Ec=1;c.Ja={};var d=c.Ja;d.yw="en";d.BI="zh";d.CI="fr";d.FI="it";d.DI="de";d.MI="es";d.LI="ru";d.HI="ko";d.GI="ja";d.EI="hu";d.KI="pt";d.AI="ar";d.II="no";d.JI="pl";d.cx="Windows";d.$q="iOS";d.ar="OS X";d.ax="UNIX";d.$w="Linux";d.Zw="Android";d.bx="Unknown";d.DJ=0;d.NI=1;d.OI=2;d.zH=3;d.vI=4;d.uI=5;d.EH=6;d.RI=7;d.iI=8;d.tJ=9;d.EJ=10;d.FJ=11;d.Ew=100;d.Tv=101;d.Ev="wechat";d.Av="androidbrowser";d.$l="ie";d.Bv="qqbrowser";d.Kq="mqqbrowser";d.Cv="ucbrowser";d.GH="360browser";
- d.HH="baiduboxapp";d.Jq="baidubrowser";d.IH="maxthon";d.am="opera";d.JH="miuibrowser";d.Th="firefox";d.bm="safari";d.Zl="chrome";d.Dv="unknown";d.oO=!1;var e=[d.Jq,d.am,d.Th,d.Zl,d.bm],f=[d.Jq,d.am,d.Th,d.Zl,d.bm,d.Cv,d.Bv,d.Kq,d.$l],g=window,h=g.navigator,k=document.documentElement,m=h.userAgent.toLowerCase();d.of=-1!=m.indexOf("mobile")||-1!=m.indexOf("android");d.platform=d.of?d.Ew:d.Tv;var n=h.language,n=(n=n?n:h.browserLanguage)?n.split("-")[0]:d.yw;d.language=n;var n=d.Dv,r=m.match(/micromessenger|qqbrowser|mqqbrowser|ucbrowser|360browser|baiduboxapp|baidubrowser|maxthon|trident|opera|miuibrowser|firefox/i)||
- m.match(/chrome|safari/i);r&&0<r.length&&(n=r[0].toLowerCase(),"micromessenger"==n?n=d.Ev:"safari"===n&&m.match(/android.*applewebkit/)?n=d.Av:"trident"==n&&(n=d.$l));d.ag=n;d.xK=-1<f.indexOf(d.ag);f=parseInt(a[b.kj]);n=c.Ec;r=c.Wa("Canvas");c.Fi=!0;e=-1==e.indexOf(d.ag);if(1===f||0===f&&(d.of||e)||"file://"==location.origin)n=c.cb;d.Gz=function(){var a=document.createElement("canvas");a.width=1;a.height=1;a=a.getContext("2d");a.fillStyle="#000";a.fillRect(0,0,1,1);a.globalCompositeOperation="multiply";
- a.fillStyle="#fff";a.fillRect(0,0,1,1);return 0===a.getImageData(0,0,1,1).data[0]};d.ct=d.Gz();n!=c.Ec||g.WebGLRenderingContext&&c.zt(r,{stencil:!0,preserveDrawingBuffer:!0})||(0==f?n=c.cb:c.Fi=!1);if(n==c.cb)try{r.getContext("2d")}catch(s){c.Fi=!1}c.Ba=n;try{d.UB=!!new (g.AudioContext||g.webkitAudioContext||g.mozAudioContext)}catch(t){d.UB=!1}try{var u=d.localStorage=g.localStorage;u.setItem("storage","");u.removeItem("storage");u=null}catch(y){"SECURITY_ERR"!==y.name&&"QuotaExceededError"!==y.name||
- c.warn("Warning: localStorage isn't enabled. Please confirm browser cookie or privacy option"),d.localStorage=function(){}}u=d.xp={canvas:!0};c.Ba==c.Ec&&(u.opengl=!0);void 0!==k.ontouchstart||h.msPointerEnabled?u.touches=!0:void 0!==k.onmouseup&&(u.mouse=!0);void 0!==k.onkeyup&&(u.keyboard=!0);if(g.DeviceMotionEvent||g.DeviceOrientationEvent)u.accelerometer=!0;g=m.match(/(iPad|iPhone|iPod)/i)?!0:!1;m=m.match(/android/i)||h.platform.match(/android/i)?!0:!1;k=d.bx;-1!=h.appVersion.indexOf("Win")?k=
- d.cx:g?k=d.$q:-1!=h.appVersion.indexOf("Mac")?k=d.ar:-1!=h.appVersion.indexOf("X11")?k=d.ax:-1!=h.appVersion.indexOf("Linux")?k=d.$w:m&&(k=d.Zw);d.iq=k;d.nM=function(){};d.ML=function(){};d.oS=function(){};d.KL=function(){var a;a=""+("isMobile : "+this.of+"\r\n");a+="language : "+this.language+"\r\n";a+="browserType : "+this.ag+"\r\n";a+="capabilities : "+JSON.stringify(this.xp)+"\r\n";a+="os : "+this.iq+"\r\n";a+="platform : "+this.platform+"\r\n";c.log(a)}};c.cJ=0;c.dJ=1;c.aJ=2;c.bJ=3;c.$d=null;
- c.e=null;c.V=null;c.Xz=null;c.wk=!1;c.Vs=!1;
- c.Us=function(a){var b,d;if(!c.Vs){c.Vs=!0;var e=window,f=new Date,g=1E3/c.Da.Gb[c.Da.zc.Xk];e.Mu=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(a){var b=(new Date).getTime(),d=Math.max(0,g-(b-f)),e=window.setTimeout(function(){a()},d);f=b+d;return e};e.cancelAnimationFrame=window.cancelAnimationFrame||window.cancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||
- window.oCancelRequestAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.oCancelAnimationFrame||function(a){clearTimeout(a)};var h=c.la(a)||c.la("#"+a),k;"CANVAS"==h.tagName?(b=b||h.width,d=d||h.height,k=c.bg=c.Wa("DIV"),a=c.V=h,a.parentNode.insertBefore(k,a),a.nt(k),k.setAttribute("id","Cocos2dGameContainer")):("DIV"!=h.tagName&&c.log("Warning: target element is not a DIV or CANVAS"),b=
- b||h.clientWidth,d=d||h.clientHeight,k=c.bg=h,a=c.V=c.la(c.Wa("CANVAS")),h.appendChild(a));a.lt("gameCanvas");a.setAttribute("width",b||480);a.setAttribute("height",d||320);a.setAttribute("tabindex",99);a.style.outline="none";h=k.style;h.width=(b||480)+"px";h.height=(d||320)+"px";h.margin="0 auto";h.position="relative";h.overflow="hidden";k.top="100%";c.Ba==c.Ec&&(c.e=c.nU=c.zt(a,{stencil:!0,preserveDrawingBuffer:!0,antialias:!c.Ja.of,alpha:!1}));c.e?(e.gl=c.e,c.$d=new c.aw(c.e),c.wk=!0,c.qa.IA(),
- c.Ud.ui()):(c.e=a.getContext("2d"),c.hK=c.e,c.e.translate(0,a.height),c.$d=c.Rq?new c.Rq(c.e):null);c.Xz=k;c.log(c.mm);c.yB();c.Ja.of&&(b=c.Wa("style"),b.type="text/css",document.body.appendChild(b),b.textContent="body,canvas,div{ -moz-user-select: none;-webkit-user-select: none;-ms-user-select: none;-khtml-user-select: none;-webkit-tap-highlight-color:rgba(0,0,0,0);}");c.view=c.km.Rn();c.au.FF(c.V);c.S=c.R.Rn();c.S.wq&&c.S.wq(c.view);c.Vl=c.S.kd();c.sS=new c.gr;c.sF=new c.mx}};
- c.PJ=function(){if(c.Ba!==c.Ec)throw"This feature supports WebGL render mode only.";};c.cs=!1;c.yB=function(){c.cs=!1;c.V.oncontextmenu=function(){if(!c.cs)return!1}};
- c.Da={Mq:0,Sv:1,WH:2,Rv:3,fm:4,Nq:5,Lq:6,nm:"game_on_hide",vj:"game_on_show",Re:null,Se:null,jK:[],zc:{Dp:"engineDir",yL:"dependencies",Qi:"debugMode",PG:"showFPS",Xk:"frameRate",id:"id",kj:"renderMode",KE:"jsList",DC:"classReleaseMode"},zs:!1,uo:!1,vb:!0,wi:null,Gb:null,hq:null,PQ:null,NS:function(a){this.Gb[this.zc.Xk]=a;this.wi&&window.cancelAnimationFrame(this.wi);this.vb=!0;this.zk()},zk:function(){var a=this,b,d=c.S;d.aG(a.Gb[a.zc.PG]);b=function(){a.vb||(d.kF(),a.wi=window.Mu(b))};window.Mu(b);
- a.vb=!1},RF:function(a){function b(){a&&(d.Gb[d.zc.id]=a);d.zs?c.Fi&&(d.Hz=setInterval(function(){d.uo&&(c.Us(d.Gb[d.zc.id]),d.zk(),d.Re=d.Re||new c.Xd(d.nm),d.Re.setUserData(d),d.Se=d.Se||new c.Xd(d.vj),d.Se.setUserData(d),d.hq(),clearInterval(d.Hz))},10)):d.xF(function(){c.Fi&&(c.Us(d.Gb[d.zc.id]),d.zk(),d.Re=d.Re||new c.Xd(d.nm),d.Re.setUserData(d),d.Se=d.Se||new c.Xd(d.vj),d.Se.setUserData(d),d.hq())})}var d=this;document.body?b():c.aa(window,"load",function(){this.removeEventListener("load",
- arguments.callee,!1);b()},!1)},EA:function(){function a(a){a[b.Dp]=a[b.Dp]||"frameworks/cocos2d-html5";null==a[b.Qi]&&(a[b.Qi]=0);a[b.Xk]=a[b.Xk]||60;null==a[b.kj]&&(a[b.kj]=1);return a}var b=this.zc;if(document.ccConfig)this.Gb=a(document.ccConfig);else try{for(var d=document.getElementsByTagName("script"),e=0;e<d.length;e++){var f=d[e].getAttribute("cocos");if(""==f||f)break}var g,h,k;if(e<d.length){if(g=d[e].src)k=/(.*)\//.exec(g)[0],c.D.Kl=k,g=c.path.join(k,"project.json");h=c.D.ns(g)}h||(h=c.D.ns("project.json"));
- var m=JSON.parse(h);this.Gb=a(m||{})}catch(n){c.log("Failed to read or parse project.json"),this.Gb=a({})}c.HA(this.Gb,b)},OA:{},Vr:function(a,b,d){var e=this.OA;if(e[b])return null;d=d||"";var f=[],g=a[b];if(!g)throw"can not find module ["+b+"]";b=c.path;for(var h=0,k=g.length;h<k;h++){var m=g[h];if(!e[m]){var n=b.fg(m);n?".js"==n.toLowerCase()&&f.push(b.join(d,m)):(n=this.Vr(a,m,d))&&(f=f.concat(n));e[m]=1}}return f},xF:function(a){var b=this,d=b.Gb,e=b.zc,f=d[e.Dp],g=c.D;if(!c.Fi)throw"The renderer doesn't support the renderMode "+
- d[e.kj];b.zs=!0;var h=d[e.KE]||[];c.$?g.wu("",h,function(d){if(d)throw d;b.uo=!0;a&&a()}):(e=c.path.join(f,"moduleConfig.json"),g.xu(e,function(e,g){if(e)throw e;var n=d.modules||[],r=g.module,s=[];c.Ba==c.Ec?n.splice(0,0,"shaders"):0>n.indexOf("core")&&n.splice(0,0,"core");for(var t=0,u=n.length;t<u;t++){var y=b.Vr(r,n[t],f);y&&(s=s.concat(y))}s=s.concat(h);c.D.wu(s,function(d){if(d)throw d;b.uo=!0;a&&a()})}))}};c.Da.EA();
- Function.prototype.bind=Function.prototype.bind||function(a){var b=this;return function(){var d=Array.prototype.slice.call(arguments);return b.apply(a||null,d)}};c.d={Hq:"cc.ActionManager.addAction(): action must be non-null",yv:"cocos2d: removeAction: Target not found",AH:"cc.ActionManager.removeActionByTag(): an invalid tag",BH:"cc.ActionManager.removeActionByTag(): target must be non-null",wv:"cc.ActionManager.getActionByTag(): an invalid tag",xv:"cocos2d : getActionByTag(tag \x3d %s): Action not found",GC:"cocos2d: **** WARNING **** CC_ENABLE_PROFILERS is defined. Disable it when you finish profiling (from ccConfig.js)",HC:"Expected 'data' dict, but not found. Config file: %s",
- IC:"Please load the resource first : %s",Yv:"cocos2d: Director: Error in gettimeofday",Zv:"cocos2d: Director: unrecognized projection",hI:"cocos2d: Director: unrecognized projection",Xv:"cocos2d: Director: Error in gettimeofday",Wv:"running scene should not null",Qq:"the scene should not null",Sk:"element type is wrong!",Hx:"CCSheduler#scheduleCallback. Callback already scheduled. Updating interval from:%s to %s",Ix:"cc.scheduler.scheduleCallbackForTarget(): callback_fn should be non-null.",Jx:"cc.scheduler.scheduleCallbackForTarget(): target should be non-null.",
- Fx:"cc.Scheduler.pauseTarget():target should be non-null",Gx:"cc.Scheduler.resumeTarget():target should be non-null",Ex:"cc.Scheduler.isTargetPaused():target should be non-null",Lw:"getZOrder is deprecated. Please use getLocalZOrder instead.",Ww:"setZOrder is deprecated. Please use setLocalZOrder instead.",Jw:"RotationX !\x3d RotationY. Don't know which one to return",Kw:"ScaleX !\x3d ScaleY. Don't know which one to return",TI:"An Node can't be added as a child of itself.",UI:"child already added. It can't be added again",
- Gw:"child must be non-null",Qw:"removeFromParentAndCleanup is deprecated. Use removeFromParent instead",Hw:"boundingBox is deprecated. Use getBoundingBox instead",Ow:"argument tag is an invalid tag",Pw:"cocos2d: removeChildByTag(tag \x3d %s): child not found!",Nw:"removeAllChildrenWithCleanup is deprecated. Use removeAllChildren instead",Xw:"cc.Node.stopActionBy(): argument tag an invalid tag",Iw:"cc.Node.getActionByTag(): argument tag is an invalid tag",Sw:"resumeSchedulerAndActions is deprecated, please use resume instead.",
- Mw:"pauseSchedulerAndActions is deprecated, please use pause instead.",Fw:"Unknown callback function",Rw:"child must be non-null",Tw:"cc.Node.runAction(): action must be non-null",Uw:"callback function must be non-null",Vw:"interval must be positive",VI:"cocos2d: Could not initialize cc.AtlasNode. Invalid Texture.",zv:"cc.AtlasNode.updateAtlasValues(): Shall be overridden in subclasses",DH:"",Iq:"cocos2d: Could not initialize cc.AtlasNode. Invalid Texture.",iz:"cc._EventListenerKeyboard.checkAvailable(): Invalid EventListenerKeyboard!",
- kz:"cc._EventListenerTouchOneByOne.checkAvailable(): Invalid EventListenerTouchOneByOne!",jz:"cc._EventListenerTouchAllAtOnce.checkAvailable(): Invalid EventListenerTouchAllAtOnce!",hz:"cc._EventListenerAcceleration.checkAvailable(): _onAccelerationEvent must be non-nil",iw:"Invalid parameter.",Kj:"Don't call this method if the event is for touch.",dD:"Invalid scene graph priority!",eD:"0 priority is forbidden for fixed priority since it's used for scene graph based priority.",iD:"Invalid listener type!",
- jD:"Can't set fixed priority with scene graph based listener.",fD:"Invalid parameters.",gD:"listener must be a cc.EventListener object when adding a fixed priority listener",hD:"The listener has been registered, please don't register it again.",Aw:"parameters should not be ending with null in Javascript",Bw:"Invalid index in MultiplexLayer switchTo message",Cw:"Invalid index in MultiplexLayer switchTo message",zw:"cc.Layer.addLayer(): layer should be non-null",bw:"Resolution not valid",cw:"should set resolutionPolicy",
- xE:"The touches is more than MAX_TOUCHES, nUnusedIndex \x3d %s",lv:"cc.swap is being modified from original macro, please check usage",xh:"WebGL error %s",mC:"cocos2d: cc.AnimationCache: No animations were found in provided dictionary.",nC:"cc.AnimationCache. Invalid animation format",uC:"cc.AnimationCache.addAnimations(): File could not be found",oC:"cocos2d: cc.AnimationCache: Animation '%s' found in dictionary without any frames - cannot add to animation cache.",pC:"cocos2d: cc.AnimationCache: Animation '%s' refers to frame '%s' which is not currently in the cc.SpriteFrameCache. This frame will not be added to the animation.",
- qC:"cocos2d: cc.AnimationCache: None of the frames for animation '%s' were found in the cc.SpriteFrameCache. Animation is not being added to the Animation Cache.",rC:"cocos2d: cc.AnimationCache: An animation in your dictionary refers to a frame which is not in the cc.SpriteFrameCache. Some or all of the frames for the animation '%s' may be missing.",sC:"cocos2d: CCAnimationCache: Animation '%s' found in dictionary without any frames - cannot add to animation cache.",tC:"cocos2d: cc.AnimationCache: Animation '%s' refers to frame '%s' which is not currently in the cc.SpriteFrameCache. This frame will not be added to the animation.",
- vC:"cc.AnimationCache.addAnimations(): Invalid texture file name",fy:"cc.Sprite.reorderChild(): this child is not in children list",Yx:"cc.Sprite.ignoreAnchorPointForPosition(): it is invalid in cc.Sprite when using SpriteBatchNode",iy:"cc.Sprite.setDisplayFrameWithAnimationName(): Frame not found",jy:"cc.Sprite.setDisplayFrameWithAnimationName(): Invalid frame index",hy:"setDisplayFrame is deprecated, please use setSpriteFrame instead.",Rx:"cc.Sprite._updateBlendFunc(): _updateBlendFunc doesn't work when the sprite is rendered using a cc.CCSpriteBatchNode",
- $x:"cc.Sprite.initWithSpriteFrame(): spriteFrame should be non-null",ay:"cc.Sprite.initWithSpriteFrameName(): spriteFrameName should be non-null",by:" is null, please check.",Zx:"cc.Sprite.initWithFile(): filename should be non-null",ky:"cc.Sprite.setDisplayFrameWithAnimationName(): animationName must be non-null",gy:"cc.Sprite.reorderChild(): child should be non-null",Sx:"cc.Sprite.addChild(): cc.Sprite only supports cc.Sprites as children when using cc.SpriteBatchNode",Tx:"cc.Sprite.addChild(): cc.Sprite only supports a sprite using same texture as children when using cc.SpriteBatchNode",
- Ux:"cc.Sprite.addChild(): child should be non-null",my:"cc.Sprite.texture setter: Batched sprites should use the same texture as the batchnode",qJ:"cc.SpriteBatchNode.updateQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",dy:"cc.SpriteBatchNode.insertQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",Vx:"cc.SpriteBatchNode.addChild(): cc.SpriteBatchNode only supports cc.Sprites as children",Wx:"cc.SpriteBatchNode.addChild(): cc.Sprite is not using the same texture",
- cy:"Sprite.initWithTexture(): Argument must be non-nil ",ly:"Invalid spriteFrameName",ny:"Invalid argument: cc.Sprite.texture setter expects a CCTexture2D.",rJ:"cc.SpriteBatchNode.updateQuadFromSprite(): sprite should be non-null",ey:"cc.SpriteBatchNode.insertQuadFromSprite(): sprite should be non-null",Xx:"cc.SpriteBatchNode.addChild(): child should be non-null",Kx:"cc.SpriteBatchNode.addQuadFromSprite(): SpriteBatchNode only supports cc.Sprites as children",Mx:"cocos2d: CCSpriteBatchNode: resizing TextureAtlas capacity from %s to %s.",
- Nx:"cocos2d: WARNING: Not enough memory to resize the atlas",Px:"cc.SpriteBatchNode.addChild(): Child doesn't belong to Sprite",Ox:"cc.SpriteBatchNode.addChild(): sprite batch node should contain the child",Lx:"cc.SpriteBatchNode.addQuadFromSprite(): child should be non-null",Qx:"cc.SpriteBatchNode.addChild():child should be non-null",SG:"cocos2d: WARNING: originalWidth/Height not found on the cc.SpriteFrame. AnchorPoint won't work as expected. Regenrate the .plist",UG:"cocos2d: WARNING: an alias with name %s already exists",
- RG:"cocos2d: WARNING: Sprite frame: %s has already been added by another source, please fix name conflit",XG:"cocos2d: cc.SpriteFrameCahce: Frame %s not found",TG:"Please load the resource first : %s",VG:"cc.SpriteFrameCache.addSpriteFrames(): plist should be non-null",WG:"Argument must be non-nil",dm:"cc.SpriteBatchNode.updateQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",Kv:"cc.SpriteBatchNode.insertQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",
- Gv:"cc.SpriteBatchNode.addChild(): cc.SpriteBatchNode only supports cc.Sprites as children",Jv:"Sprite.initWithTexture(): Argument must be non-nil ",Hv:"cc.Sprite.addChild(): child should be non-null",Mv:"Invalid spriteFrameName",Nv:"Invalid argument: cc.Sprite texture setter expects a CCTexture2D.",Ov:"cc.SpriteBatchNode.updateQuadFromSprite(): sprite should be non-null",Lv:"cc.SpriteBatchNode.insertQuadFromSprite(): sprite should be non-null",Iv:"cc.SpriteBatchNode.addChild(): child should be non-null",
- Ey:"cocos2d: Could not open file: %s",or:"cc.TextureAtlas.insertQuad(): invalid totalQuads",Fy:"cc.TextureAtlas.initWithTexture():texture should be non-null",Py:"cc.TextureAtlas.updateQuad(): quad should be non-null",Qy:"cc.TextureAtlas.updateQuad(): Invalid index",Iy:"cc.TextureAtlas.insertQuad(): Invalid index",Jy:"cc.TextureAtlas.insertQuad(): Invalid index + amount",Gy:"cc.TextureAtlas.insertQuadFromIndex(): Invalid newIndex",Hy:"cc.TextureAtlas.insertQuadFromIndex(): Invalid fromIndex",Ny:"cc.TextureAtlas.removeQuadAtIndex(): Invalid index",
- Oy:"cc.TextureAtlas.removeQuadsAtIndex(): index + amount out of bounds",Ky:"cc.TextureAtlas.moveQuadsFromIndex(): move is out of bounds",Ly:"cc.TextureAtlas.moveQuadsFromIndex(): Invalid newIndex",My:"cc.TextureAtlas.moveQuadsFromIndex(): Invalid oldIndex",bH:"TextureCache:addPVRTCImage does not support on HTML5",$G:"TextureCache:addPVRTCImage does not support on HTML5",aH:"addPVRImage does not support on HTML5",cH:"cocos2d: Couldn't add UIImage in TextureCache",eH:"cocos2d: '%s' id\x3d%s %s x %s",
- nv:"cocos2d: '%s' id\x3d HTMLCanvasElement %s x %s",fH:"cocos2d: TextureCache dumpDebugInfo: %s textures, HTMLCanvasElement for %s KB (%s MB)",dH:"cc.Texture.addUIImage(): image should be non-null",vy:"initWithETCFile does not support on HTML5",zy:"initWithPVRFile does not support on HTML5",By:"initWithPVRTCData does not support on HTML5",ry:"cc.Texture.addImage(): path should be non-null",xy:"cocos2d: cc.Texture2D. Can't create Texture. UIImage is nil",yy:"cocos2d: WARNING: Image (%s x %s) is bigger than the supported %s x %s",
- Dy:"initWithString isn't supported on cocos2d-html5",wy:"initWithETCFile does not support on HTML5",Ay:"initWithPVRFile does not support on HTML5",Cy:"initWithPVRTCData does not support on HTML5",ty:"bitsPerPixelForFormat: %s, cannot give useful result, it's a illegal pixel format",qy:"cocos2d: cc.Texture2D: Using RGB565 texture since image has no alpha",sy:"cc.Texture.addImage(): path should be non-null",uy:"NSInternalInconsistencyException",bb:"Missing file: %s",Fu:"cc.radiansToDegress() should be called cc.radiansToDegrees()",
- Lm:"Rect width exceeds maximum margin: %s",Km:"Rect height exceeds maximum margin: %s",jw:"If program goes here, there should be event in dispatch.",kw:"_inDispatch should be 1 here."};
- c.lk=function(a){if(c.V){var b=c.VA,d=document;if(!b){var e=d.createElement("Div"),b=e.style;e.setAttribute("id","logInfoDiv");c.V.parentNode.appendChild(e);e.setAttribute("width","200");e.setAttribute("height",c.V.height);b.zIndex="99999";b.position="absolute";b.top="0";b.left="0";b=c.VA=d.createElement("textarea");d=b.style;b.setAttribute("rows","20");b.setAttribute("cols","30");b.setAttribute("disabled",!0);e.appendChild(b);d.backgroundColor="transparent";d.borderBottom="1px solid #cccccc";d.borderRightWidth=
- "0px";d.borderLeftWidth="0px";d.borderTopWidth="0px";d.borderTopStyle="none";d.borderRightStyle="none";d.borderLeftStyle="none";d.padding="0px";d.margin=0}a="string"==typeof a?a:JSON.stringify(a);b.value=b.value+a+"\r\n";b.scrollTop=b.scrollHeight}};c.ck=function(a){if("object"===typeof a)try{return JSON.stringify(a)}catch(b){return""}else return a};
- console.log&&(c.log=function(a){for(var b=1;b<arguments.length;b++)a=a.replace(/(%s)|(%d)/,c.ck(arguments[b]));console.log(a)},c.warn=console.warn?function(a){for(var b=1;b<arguments.length;b++)a=a.replace(/(%s)|(%d)/,c.ck(arguments[b]));console.warn(a)}:c.log,c.error=console.error?function(a){for(var b=1;b<arguments.length;b++)a=a.replace(/(%s)|(%d)/,c.ck(arguments[b]));console.error(a)}:c.log,c.assert=function(a,b){if(!a&&b){for(var d=2;d<arguments.length;d++)b=b.replace(/(%s)|(%d)/,c.ck(arguments[d]));
- throw b;}});var q=c.Da.Gb[c.Da.zc.Qi],v=c.Da;console.log&&q===v.Sv||(c.log=q==v.fm?c.lk.bind(c):function(){});q&&q!=v.Mq&&q!=v.Rv&&q!=v.Lq||(c.warn=function(){});q!=v.fm&&q!=v.Nq&&console.warn||(c.warn=c.lk.bind(c));q&&q!=v.Mq?q!=v.fm&&q!=v.Nq&&q!=v.Lq&&console.error||(c.error=c.lk.bind(c),c.assert=function(a,b){if(!a&&b){for(var d=2;d<arguments.length;d++)b=b.replace("%s",arguments[d]);c.lk(b)}}):(c.error=function(){},c.assert=function(){});c.D.gF=function(a,b){var d=this,e=this.dl(),f="load "+a+" failed!";e.open("GET",a,!0);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?(e.setRequestHeader("Accept-Charset","x-user-defined"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){var a=c.Gr(e.responseBody);b(null,d.Ek(a))}else b(f)}):(e.overrideMimeType&&e.overrideMimeType("text/plain; charset\x3dx-user-defined"),e.onload=function(){4==e.readyState&&200==e.status?b(null,d.Ek(e.responseText)):b(f)});
- e.send(null)};c.D.Ek=function(a){if(!a)return null;for(var b=new Uint8Array(a.length),d=0;d<a.length;d++)b[d]=a.charCodeAt(d)&255;return b};
- c.D.uQ=function(a){var b=this.dl(),d="load "+a+" failed!";b.open("GET",a,!1);a=null;if(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)){b.setRequestHeader("Accept-Charset","x-user-defined");b.send(null);if(200!=b.status)return c.log(d),null;(b=c.Gr(b.responseBody))&&(a=this.Ek(b))}else{b.overrideMimeType&&b.overrideMimeType("text/plain; charset\x3dx-user-defined");b.send(null);if(200!=b.status)return c.log(d),null;a=this.Ek(b.responseText)}return a};
- var Uint8Array=Uint8Array||Array;
- if(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)){var ea=c.Wa("script");ea.type="text/vbscript";ea.textContent='\x3c!-- IEBinaryToArray_ByteStr --\x3e\r\nFunction IEBinaryToArray_ByteStr(Binary)\r\n IEBinaryToArray_ByteStr \x3d CStr(Binary)\r\nEnd Function\r\nFunction IEBinaryToArray_ByteStr_Last(Binary)\r\n Dim lastIndex\r\n lastIndex \x3d LenB(Binary)\r\n if lastIndex mod 2 Then\r\n IEBinaryToArray_ByteStr_Last \x3d Chr( AscB( MidB( Binary, lastIndex, 1 ) ) )\r\n Else\r\n IEBinaryToArray_ByteStr_Last \x3d ""\r\n End If\r\nEnd Function\r\n';document.body.appendChild(ea);
- c.Gr=function(a){for(var b={},d=0;256>d;d++)for(var e=0;256>e;e++)b[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 b[a]})+a}};c=c||{};c.ps="data:image/gif;base64,R0lGODlhEAAQALMNAD8/P7+/vyoqKlVVVX9/fxUVFUBAQGBgYMDAwC8vL5CQkP///wAAAP///wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAANACwAAAAAEAAQAAAEO5DJSau9OOvNex0IMnDIsiCkiW6g6BmKYlBFkhSUEgQKlQCARG6nEBwOgl+QApMdCIRD7YZ5RjlGpCUCACH5BAUAAA0ALAAAAgAOAA4AAAQ6kLGB0JA4M7QW0hrngRllkYyhKAYqKUGguAws0ypLS8JxCLQDgXAIDg+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xCT9a03bUhOkqoz1Ay6dpFpKg8k+hjjLMvNjeFK2e1EjLzQSA13EsEJ4E6ekAM5Cbb3mzPMDNYlHzer4lYVZIucARmG8vJyziC3RmxmWudsZTM7c5mZ2MzMiHnKjg/L3B50ymy8Miong0HRlGUGZ1iLzMy7uTnsOB7bFL1E2esjvEIEzEGNALOTO3tG0Ppk+TZ+xsDsUvrHhL9mhkp/mm7t5+8YGgZVDfhwF2DDiZmFrdjMzcWfbE6h+6IGQJKSsdpJIiKKoyx3r9iSpzFSLwqtRmAURLtBtIxJu0mpC6Us3VfrL+s8ZMwkIJMULiVYouX4Blv2LrPzzNLcOjt3zi6M49parlzOkyw3EzY8Npb3ux13b9jLjjZWivHqqBPy0loiMkwkDmhINaSUAlJcZJAJgesff/bUg368x/83AK2TX33MQBTxAAAAAElFTkSuQmCC";var c=c||{},w={id:0|998*Math.random(),zE:0|998*Math.random(),ut:function(a,b,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+"]."+b+".call(this"+(h?",":"")+a.substring(g+1)}return Function(e,a)},ND:function(){return this.id++},OD:function(){return this.zE++}};
- w.ut.VH=w;
- (function(){var a=/\b_super\b/,b=c.Da.Gb[c.Da.zc.DC];b&&console.log("release Mode");c.$=function(){};c.$.extend=function(d){function e(){this.G=w.OD();this.ctor&&this.ctor.apply(this,arguments)}var f=this.prototype,g=Object.create(f),h=w.ND();w[h]=f;var k={writable:!0,enumerable:!1,configurable:!0};g.G=null;e.id=h;k.value=h;Object.defineProperty(g,"__pid",k);e.prototype=g;k.value=e;Object.defineProperty(e.prototype,"constructor",k);this.ud&&(e.ud=c.zb(this.ud));this.vd&&(e.vd=c.zb(this.vd));for(var m=
- 0,n=arguments.length;m<n;++m){var r=arguments[m],s;for(s in r){var t="function"===typeof r[s],u="function"===typeof f[s],y=a.test(r[s]);b&&t&&u&&y?(k.value=w.ut(r[s],s,h),Object.defineProperty(g,s,k)):t&&u&&y?(k.value=function(a,b){return function(){var d=this._super;this._super=f[a];var e=b.apply(this,arguments);this._super=d;return e}}(s,r[s]),Object.defineProperty(g,s,k)):t?(k.value=r[s],Object.defineProperty(g,s,k)):g[s]=r[s];if(t){var x,E;if(this.ud&&this.ud[s]){var t=this.ud[s],D;for(D in this.vd)if(this.vd[D]==
- t){E=D;break}c.f(g,t,r[s],r[E]?r[E]:g[E],s,E)}if(this.vd&&this.vd[s]){t=this.vd[s];for(D in this.ud)if(this.ud[D]==t){x=D;break}c.f(g,t,r[x]?r[x]:g[x],r[s],x,s)}}}}e.extend=c.$.extend;e.bO=function(a){for(var b in a)g[b]=a[b]};return e}})();
- c.f=function(a,b,d,e,f,g){if(a.__defineGetter__)d&&a.__defineGetter__(b,d),e&&a.__defineSetter__(b,e);else if(Object.defineProperty){var h={enumerable:!1,configurable:!0};d&&(h.get=d);e&&(h.set=e);Object.defineProperty(a,b,h)}else throw Error("browser does not support getters");if(!f&&!g)for(var h=null!=d,k=void 0!=e,m=Object.getOwnPropertyNames(a),n=0;n<m.length;n++){var r=m[n];if((a.__lookupGetter__?!a.__lookupGetter__(r):!Object.getOwnPropertyDescriptor(a,r))&&"function"===typeof a[r]){var s=a[r];
- if(h&&s===d&&(f=r,!k||g))break;if(k&&s===e&&(g=r,!h||f))break}}a=a.constructor;f&&(a.ud||(a.ud={}),a.ud[f]=b);g&&(a.vd||(a.vd={}),a.vd[g]=b)};c.zb=function(a){var b=a.constructor?new a.constructor:{},d;for(d in a){var e=a[d];b[d]="object"!=typeof e||!e||e instanceof c.j||e instanceof HTMLElement?e:c.zb(e)}return b};c=c||{};c.i=c.i||{};c.XK=function(){};
- c.xI={aL:8,bU:9,QL:13,shift:16,wL:17,alt:18,pause:19,gL:20,escape:27,sR:33,rR:34,end:35,home:36,left:37,fU:38,right:39,GL:40,fO:45,fI:46,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,a:65,b:66,p:67,s:68,NL:69,TL:70,g:71,ZN:72,aO:73,zO:74,AO:75,qQ:76,wQ:77,CQ:78,OQ:79,RQ:80,ER:81,r:82,rS:83,aU:84,X:85,Y:86,k:87,x:88,y:89,z:90,DQ:96,EQ:97,FQ:98,GQ:99,HQ:100,IQ:101,JQ:102,KQ:103,LQ:104,MQ:105,"*":106,"+":107,"-":109,numdel:110,"/":111,UL:112,YL:113,ZL:114,$L:115,aM:116,bM:117,cM:118,dM:119,eM:120,
- VL:121,WL:122,XL:123,NQ:144,vS:145,wS:186,",":186,RL:187,"\x3d":187,";":188,oL:188,xL:189,".":190,yR:190,jM:191,YN:192,"[":219,QQ:219,"]":221,lL:221,$K:220,quote:222,LT:32};c.nI=0;c.mw=1;c.nw=2;c.oI=3;c.pI=4;c.ow=5;c.ZM=function(a){return 8<a.length&&137==a[0]&&80==a[1]&&78==a[2]&&71==a[3]&&13==a[4]&&10==a[5]&&26==a[6]&&10==a[7]?c.mw:2<a.length&&(73==a[0]&&73==a[1]||77==a[0]&&77==a[1]||255==a[0]&&216==a[1])?c.nw:c.ow};
- c.dO=function(a,b){function d(){}d.prototype=b.prototype;a.Rl=b.prototype;a.prototype=new d;a.prototype.constructor=a};
- c.bL=function(a,b,d){var e=arguments.callee.caller;if(e.Rl)return ret=e.Rl.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var f=Array.prototype.slice.call(arguments,2),g=!1,h=a.constructor;h;h=h.Rl&&h.Rl.constructor)if(h.prototype[b]===e)g=!0;else if(g)return h.prototype[b].apply(a,f);if(a[b]===e)return a.constructor.prototype[b].apply(a,f);throw Error("cc.base called from a method of one name to a method of a different name");};c.hJ=function(a,b){this.x=a||0;this.y=b||0};function z(a,b){return void 0==a?{x:0,y:0}:void 0==b?{x:a.x,y:a.y}:{x:a,y:b}}c.tF=function(a,b){return a&&b&&a.x===b.x&&a.y===b.y};c.pJ=function(a,b){this.width=a||0;this.height=b||0};function A(a,b){return void 0===a?{width:0,height:0}:void 0===b?{width:a.width,height:a.height}:{width:a,height:b}}c.JT=function(a,b){return a&&b&&a.width==b.width&&a.height==b.height};c.ox=function(a,b,d,e){this.x=a||0;this.y=b||0;this.width=d||0;this.height=e||0};
- function B(a,b,d,e){return void 0===a?{x:0,y:0,width:0,height:0}:void 0===b?{x:a.x,y:a.y,width:a.width,height:a.height}:{x:a,y:b,width:d,height:e}}c.Hu=function(a,b){return a&&b&&a.x===b.x&&a.y===b.y&&a.width===b.width&&a.height===b.height};c.Bs=function(a){return a&&0===a.x&&0===a.y&&0===a.width&&0===a.height};c.LR=function(a,b){return a&&b?!(a.x>=b.x||a.y>=b.y||a.x+a.width<=b.x+b.width||a.y+a.height<=b.y+b.height):!1};c.hj=function(a){return a.x+a.width};c.MR=function(a){return a.x+a.width/2};
- c.Kh=function(a){return a.x};c.ij=function(a){return a.y+a.height};c.NR=function(a){return a.y+a.height/2};c.Lh=function(a){return a.y};c.Il=function(a,b){return b.x>=c.Kh(a)&&b.x<=c.hj(a)&&b.y>=c.Lh(a)&&b.y<=c.ij(a)};c.PR=function(a,b){var d=a.y+a.height,e=b.x+b.width,f=b.y+b.height;return!(a.x+a.width<b.x||e<a.x||d<b.y||f<a.y)};c.QR=function(a,b){return!(a.x+a.width<b.x||b.x+b.width<a.x||a.y+a.height<b.y||b.y+b.height<a.y)};
- c.Jl=function(a,b){var d=B(0,0,0,0);d.x=Math.min(a.x,b.x);d.y=Math.min(a.y,b.y);d.width=Math.max(a.x+a.width,b.x+b.width)-d.x;d.height=Math.max(a.y+a.height,b.y+b.height)-d.y;return d};c.OR=function(a,b){var d=B(Math.max(c.Kh(a),c.Kh(b)),Math.max(c.Lh(a),c.Lh(b)),0,0);d.width=Math.min(c.hj(a),c.hj(b))-c.Kh(d);d.height=Math.min(c.ij(a),c.ij(b))-c.Lh(d);return d};c.gr=c.$.extend({vs:null,co:null,ctor:function(){window.DOMParser?(this.co=!0,this.vs=new DOMParser):this.co=!1},parse:function(a){return this.us(a)},us:function(a){var b;this.co?b=this.vs.parseFromString(a,"text/xml"):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a));return b}});
- c.mx=c.gr.extend({parse:function(a){a=this.us(a).documentElement;if("plist"!=a.tagName)throw"Not a plist file!";for(var b=null,d=0,e=a.childNodes.length;d<e&&(b=a.childNodes[d],1!=b.nodeType);d++);return this.oo(b)},oo:function(a){var b=null,d=a.tagName;if("dict"==d)b=this.cB(a);else if("array"==d)b=this.bB(a);else if("string"==d)if(1==a.childNodes.length)b=a.firstChild.nodeValue;else for(b="",d=0;d<a.childNodes.length;d++)b+=a.childNodes[d].nodeValue;else"false"==d?b=!1:"true"==d?b=!0:"real"==d?
- b=parseFloat(a.firstChild.nodeValue):"integer"==d&&(b=parseInt(a.firstChild.nodeValue,10));return b},bB:function(a){for(var b=[],d=0,e=a.childNodes.length;d<e;d++){var f=a.childNodes[d];1==f.nodeType&&b.push(this.oo(f))}return b},cB:function(a){for(var b={},d=null,e=0,f=a.childNodes.length;e<f;e++){var g=a.childNodes[e];1==g.nodeType&&("key"==g.tagName?d=g.firstChild.nodeValue:b[d]=this.oo(g))}return b}});c.YB={load:function(a,b,d,e){c.D.gq(a,e)}};c.D.Mh(["txt","xml","vsh","fsh","atlas"],c.YB);c.PA={load:function(a,b,d,e){c.D.xu(a,e)}};c.D.Mh(["json","ExportJson"],c.PA);c.DA={load:function(a,b,d,e){c.D.Oc[b]=c.D.Zi(a,function(a,d){if(a)return e(a);c.qa.wa(b);e(null,d)})}};c.D.Mh("png jpg bmp jpeg gif ico".split(" "),c.DA);c.pB={load:function(a,b,d,e){c.D.Oc[b]=c.D.Zi(d.src,function(a,d){if(a)return e(a);c.qa.wa(b);e(null,d)})}};c.D.Mh(["serverImg"],c.pB);
- c.fB={load:function(a,b,d,e){c.D.gq(a,function(a,b){if(a)return e(a);e(null,c.sF.parse(b))})}};c.D.Mh(["plist"],c.fB);
- c.Vz={py:{".eot":"embedded-opentype",".ttf":"truetype",".woff":"woff",".svg":"svg"},ls:function(a,b,d){var e=document,f=c.path,g=this.py,h=c.Wa("style");h.type="text/css";e.body.appendChild(h);var k="@font-face { font-family:"+a+"; src:";if(b instanceof Array)for(var m=0,n=b.length;m<n;m++)d=f.fg(b[m]).toLowerCase(),k+="url('"+b[m]+"') format('"+g[d]+"')",k+=m==n-1?";":",";else k+="url('"+b+"') format('"+g[d]+"');";h.textContent+=k+"};";b=c.Wa("div");d=b.style;d.fontFamily=a;b.innerHTML=".";d.position=
- "absolute";d.left="-100px";d.top="-100px";e.body.appendChild(b)},load:function(a,b,d,e){b=d.type;a=d.name;b=d.MT;"string"==typeof d?(b=c.path.fg(d),a=c.path.yC(d,b),this.ls(a,d,b)):this.ls(a,b);e(null,!0)}};c.D.Mh(["font","eot","ttf","woff","svg"],c.Vz);c.MJ={load:function(a,b,d,e){c.D.gF(a,e)}};window.CocosEngine=c.mm="Cocos2d-JS v3.0 RC2";c.wj=0;c.hm=z(0,0);c.Uv=0.5;c.TH=1;c.jr=1;c.Yw=0;c.kr=0;c.lr=0;c.sJ=0;c.kJ=1;c.jJ="-hd";c.dz=1;c.De=0;c.nJ=0;c.zI=0;c.yI=0;c.sm=1;c.XH=c.mm+"-canvas";c.jI=1;c.Uc=1;c.la=function(a){var b=this==c?document:this;if(a=a instanceof HTMLElement?a:b.querySelector(a))a.find=a.find||c.la,a.Sp=a.Sp||function(a){return this.className.match(RegExp("(\\s|^)"+a+"(\\s|$)"))},a.lt=a.lt||function(a){this.Sp(a)||(this.className&&(this.className+=" "),this.className+=a);return this},a.JF=a.JF||function(a){this.Sp(a)&&(this.className=this.className.replace(a,""));return this},a.remove=a.remove||function(){this.parentNode&&this.parentNode.removeChild(this);return this},a.nt=a.nt||
- function(a){a.appendChild(this);return this},a.yF=a.yF||function(a){a.childNodes[0]?a.insertBefore(this,a.childNodes[0]):a.appendChild(this);return this},a.qj=a.qj||function(){this.style[c.la.hH]=c.la.translate(this.position)+c.la.rotate(this.rotation)+c.la.scale(this.scale)+c.la.Ph(this.Ph);return this},a.position=a.position||{x:0,y:0},a.rotation=a.rotation||0,a.scale=a.scale||{x:1,y:1},a.Ph=a.Ph||{x:0,y:0},a.cU=function(a,b){this.position.x=a;this.position.y=b;this.qj();return this},a.rotate=function(a){this.rotation=
- a;this.qj();return this},a.resize=function(a,b){this.scale.x=a;this.scale.y=b;this.qj();return this},a.hT=function(a,b){this.Ph.x=a;this.Ph.y=b;this.qj();return this};return a};switch(c.Ja.ag){case c.Ja.Th:c.la.gj="Moz";c.la.Fh=!0;break;case c.Ja.Zl:case c.Ja.bm:c.la.gj="webkit";c.la.Fh=!0;break;case c.Ja.am:c.la.gj="O";c.la.Fh=!1;break;case c.Ja.$l:c.la.gj="ms";c.la.Fh=!1;break;default:c.la.gj="webkit",c.la.Fh=!0}c.la.hH=c.la.gj+"Transform";
- c.la.translate=c.la.Fh?function(a){return"translate3d("+a.x+"px, "+a.y+"px, 0) "}:function(a){return"translate("+a.x+"px, "+a.y+"px) "};c.la.rotate=c.la.Fh?function(a){return"rotateZ("+a+"deg) "}:function(a){return"rotate("+a+"deg) "};c.la.scale=function(a){return"scale("+a.x+", "+a.y+") "};c.la.Ph=function(a){return"skewX("+-a.x+"deg) skewY("+a.y+"deg)"};c.pH=function(a){return c.la(document.createElement(a))};
- c.la.hM=function(a){var b=0,d=0;do b+=a.offsetLeft,d+=a.offsetTop;while(a=a.offsetParent);return{x:b,y:d}};c.tI=-1;c.PI=Math.PI;c.lI=parseFloat("3.402823466e+38F");c.mI=parseFloat("1.175494351e-38F");c.nx=c.PI/180;c.Oq=180/c.PI;c.Uy=4294967295;c.lv=function(a,b,d){if("object"==typeof d&&"undefined"!=typeof d.x&&"undefined"!=typeof d.y){var e=d[a];d[a]=d[b];d[b]=e}else c.log(c.d.lv)};c.rQ=function(a,b,d){return a+(b-a)*d};c.GR=function(){return 16777215*Math.random()};c.IR=function(){return 2*(Math.random()-0.5)};c.HR=Math.random;c.Wk=function(a){return a*c.nx};c.FR=function(a){return a*c.Oq};
- c.Fu=function(a){c.log(c.d.Fu);return a*c.Oq};c.Ag=Number.MAX_VALUE-1;c.Nb=c.Yw?1:770;c.Mb=771;c.zu=function(a){a.xb&&(a.xb.Bb(),a.xb.jc())};c.PL=function(){};c.BL=function(){};c.te=function(){c.Nd+=1};c.lw=1.192092896E-7;c.Pa=c.sm?function(){return c.S.Af}:function(){return 1};c.uF=function(a){var b=c.Pa();return z(a.x*b,a.y*b)};c.zR=function(a){var b=c.Pa();return z(a.x/b,a.y/b)};c.po=function(a,b){var d=c.Pa();b.x=a.x/d;b.y=a.y/d};c.QG=function(a){var b=c.Pa();return A(a.width*b,a.height*b)};
- c.KT=function(a){var b=c.Pa();return A(a.width/b,a.height/b)};c.Ys=function(a,b){var d=c.Pa();b.width=a.width/d;b.height=a.height/d};c.lq=c.sm?function(a){var b=c.Pa();return B(a.x/b,a.y/b,a.width/b,a.height/b)}:function(a){return a};c.jj=c.sm?function(a){var b=c.Pa();return B(a.x*b,a.y*b,a.width*b,a.height*b)}:function(a){return a};c.ONE=1;c.ZERO=0;c.SRC_ALPHA=770;c.SRC_ALPHA_SATURATE=776;c.SRC_COLOR=768;c.DST_ALPHA=772;c.DST_COLOR=774;c.ONE_MINUS_SRC_ALPHA=771;c.ONE_MINUS_SRC_COLOR=769;
- c.ONE_MINUS_DST_ALPHA=773;c.DST_COLOR=775;c.ONE_MINUS_DST_COLOR=775;c.ONE_MINUS_CONSTANT_ALPHA=32772;c.ONE_MINUS_CONSTANT_COLOR=32770;c.xh=function(){if(c.kj==c.Ec){var a=c.e.getError();a&&c.log(c.d.xh,a)}};c.aI=0;c.ZH=1;c.bI=2;c.$H=3;c.YH=2;c.BJ=0;c.Pb=1;c.Hj=2;c.Ij=4;c.hn=c.Pb|c.Hj|c.Ij;c.rI=0;c.ya=0;c.Vc=1;c.Dc=2;c.CJ=3;c.an=0;c.$m=1;c.bi=2;c.en=3;c.dn=4;c.Zm=5;c.bn=6;c.cn=7;c.zJ=8;c.Zh="ShaderPositionTextureColor";c.hr="ShaderPositionTextureColorAlphaTest";c.Cj="ShaderPositionColor";c.Dj="ShaderPositionTexture";
- c.Om="ShaderPositionTexture_uColor";c.Nm="ShaderPositionTextureA8Color";c.Pm="ShaderPosition_uColor";c.tx="ShaderPositionLengthTextureColor";c.Yy="CC_PMatrix";c.Wy="CC_MVMatrix";c.Xy="CC_MVPMatrix";c.bz="CC_Time";c.az="CC_SinTime";c.Vy="CC_CosTime";c.Zy="CC_Random01";c.$y="CC_Texture0";c.yJ="CC_alpha_value";c.Sh="a_color";c.uf="a_position";c.sg="a_texCoord";c.wI=32;c.UH=3233828865;c.GJ=3233828866;c.SI=8801;c.lJ=8802;c.dI=8803;c=c||{};c.i=c.i||{};
- c.i.kn=function(){c.color=function(a,d,e,f,g,h){return void 0===a?new c.lc(0,0,0,255,g,h):"string"===typeof a?(a=c.Wt(a),new c.lc(a.r,a.g,a.b,a.a)):"object"===typeof a?new c.lc(a.r,a.g,a.b,a.a,a.Rk,a.offset):new c.lc(a,d,e,f,g,h)};c.lc=function(a,d,e,f,g,h){this.Za=g||new ArrayBuffer(c.lc.BYTES_PER_ELEMENT);this.ta=h||0;g=this.Za;h=this.ta;var k=Uint8Array.BYTES_PER_ELEMENT;this.yo=new Uint8Array(g,h,1);this.Pn=new Uint8Array(g,h+k,1);this.xn=new Uint8Array(g,h+2*k,1);this.tn=new Uint8Array(g,h+3*
- k,1);this.yo[0]=a||0;this.Pn[0]=d||0;this.xn[0]=e||0;this.tn[0]=f||255};c.lc.BYTES_PER_ELEMENT=4;var a=c.lc.prototype;a.tA=function(){return this.yo[0]};a.FB=function(a){this.yo[0]=0>a?0:a};a.kA=function(){return this.Pn[0]};a.AB=function(a){this.Pn[0]=0>a?0:a};a.cA=function(){return this.xn[0]};a.tB=function(a){this.xn[0]=0>a?0:a};a.$z=function(){return this.tn[0]};a.qB=function(a){this.tn[0]=0>a?0:a};c.f(a,"r",a.tA,a.FB);c.f(a,"g",a.kA,a.AB);c.f(a,"b",a.cA,a.tB);c.f(a,"a",a.$z,a.qB);c.za=function(a,
- d,e,f){this.Za=e||new ArrayBuffer(c.za.BYTES_PER_ELEMENT);this.ta=f||0;this.Xf=new Float32Array(this.Za,this.ta,1);this.Yf=new Float32Array(this.Za,this.ta+4,1);this.Xf[0]=a||0;this.Yf[0]=d||0};c.za.BYTES_PER_ELEMENT=8;Object.defineProperties(c.za.prototype,{x:{get:function(){return this.Xf[0]},set:function(a){this.Xf[0]=a},enumerable:!0},y:{get:function(){return this.Yf[0]},set:function(a){this.Yf[0]=a},enumerable:!0}});c.Wc=function(a,d,e,f,g){this.Za=f||new ArrayBuffer(c.Wc.BYTES_PER_ELEMENT);
- this.ta=g||0;f=this.Za;g=this.ta;this.Xf=new Float32Array(f,g,1);this.Xf[0]=a||0;this.Yf=new Float32Array(f,g+Float32Array.BYTES_PER_ELEMENT,1);this.Yf[0]=d||0;this.sp=new Float32Array(f,g+2*Float32Array.BYTES_PER_ELEMENT,1);this.sp[0]=e||0};c.Wc.BYTES_PER_ELEMENT=12;Object.defineProperties(c.Wc.prototype,{x:{get:function(){return this.Xf[0]},set:function(a){this.Xf[0]=a},enumerable:!0},y:{get:function(){return this.Yf[0]},set:function(a){this.Yf[0]=a},enumerable:!0},z:{get:function(){return this.sp[0]},
- set:function(a){this.sp[0]=a},enumerable:!0}});c.Ee=function(a,d,e,f){this.Za=e||new ArrayBuffer(c.Ee.BYTES_PER_ELEMENT);this.ta=f||0;this.hp=new Float32Array(this.Za,this.ta,1);this.lp=new Float32Array(this.Za,this.ta+4,1);this.hp[0]=a||0;this.lp[0]=d||0};c.Ee.BYTES_PER_ELEMENT=8;Object.defineProperties(c.Ee.prototype,{X:{get:function(){return this.hp[0]},set:function(a){this.hp[0]=a},enumerable:!0},Y:{get:function(){return this.lp[0]},set:function(a){this.lp[0]=a},enumerable:!0}});c.Jm=function(a,
- d,e,f,g,h){this.Za=g||new ArrayBuffer(c.Jm.BYTES_PER_ELEMENT);this.ta=h||0;g=this.Za;h=c.za.BYTES_PER_ELEMENT;this.rh=a?new c.za(a.x,a.y,g,0):new c.za(0,0,g,0);this.th=d?new c.za(d.x,d.y,g,h):new c.za(0,0,g,h);this.Eg=e?new c.za(e.x,e.y,g,2*h):new c.za(0,0,g,2*h);this.Hg=f?new c.za(f.x,f.y,g,3*h):new c.za(0,0,g,3*h)};c.Jm.BYTES_PER_ELEMENT=32;c.iJ=function(a,d,e,f){this.da=a||new c.Wc(0,0,0);this.ea=d||new c.Wc(0,0,0);this.ia=e||new c.Wc(0,0,0);this.ja=f||new c.Wc(0,0,0)};Object.defineProperties(c.Jm.prototype,
- {ia:{get:function(){return this.rh},set:function(a){this.rh.x=a.x;this.rh.y=a.y},enumerable:!0},ja:{get:function(){return this.th},set:function(a){this.th.x=a.x;this.th.y=a.y},enumerable:!0},da:{get:function(){return this.Eg},set:function(a){this.Eg.x=a.x;this.Eg.y=a.y},enumerable:!0},ea:{get:function(){return this.Hg},set:function(a){this.Hg.x=a.x;this.Hg.y=a.y},enumerable:!0}});c.Cc=function(a,d,e,f,g){this.Za=f||new ArrayBuffer(c.Cc.BYTES_PER_ELEMENT);this.ta=g||0;f=this.Za;g=this.ta;var h=c.Wc.BYTES_PER_ELEMENT;
- this.vh=a?new c.Wc(a.x,a.y,a.z,f,g):new c.Wc(0,0,0,f,g);this.li=d?c.color(d.r,d.g,d.b,d.a,f,g+h):c.color(0,0,0,0,f,g+h);this.Qf=e?new c.Ee(e.X,e.Y,f,g+h+c.lc.BYTES_PER_ELEMENT):new c.Ee(0,0,f,g+h+c.lc.BYTES_PER_ELEMENT)};c.Cc.BYTES_PER_ELEMENT=24;Object.defineProperties(c.Cc.prototype,{l:{get:function(){return this.vh},set:function(a){var d=this.vh;d.x=a.x;d.y=a.y;d.z=a.z},enumerable:!0},t:{get:function(){return this.li},set:function(a){var d=this.li;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:!0},
- m:{get:function(){return this.Qf},set:function(a){this.Qf.X=a.X;this.Qf.Y=a.Y},enumerable:!0}});c.Fa=function(a,d,e,f,g,h){this.Za=g||new ArrayBuffer(c.Fa.BYTES_PER_ELEMENT);this.ta=h||0;g=this.Za;h=this.ta;var k=c.Cc.BYTES_PER_ELEMENT;this.rh=a?new c.Cc(a.l,a.t,a.m,g,h):new c.Cc(null,null,null,g,h);this.Eg=d?new c.Cc(d.l,d.t,d.m,g,h+k):new c.Cc(null,null,null,g,h+k);this.th=e?new c.Cc(e.l,e.t,e.m,g,h+2*k):new c.Cc(null,null,null,g,h+2*k);this.Hg=f?new c.Cc(f.l,f.t,f.m,g,h+3*k):new c.Cc(null,null,
- null,g,h+3*k)};c.Fa.BYTES_PER_ELEMENT=96;Object.defineProperties(c.Fa.prototype,{ia:{get:function(){return this.rh},set:function(a){var d=this.rh;d.l=a.l;d.t=a.t;d.m=a.m},enumerable:!0},da:{get:function(){return this.Eg},set:function(a){var d=this.Eg;d.l=a.l;d.t=a.t;d.m=a.m},enumerable:!0},ja:{get:function(){return this.th},set:function(a){var d=this.th;d.l=a.l;d.t=a.t;d.m=a.m},enumerable:!0},ea:{get:function(){return this.Hg},set:function(a){var d=this.Hg;d.l=a.l;d.t=a.t;d.m=a.m},enumerable:!0},
- Rk:{get:function(){return this.Za},enumerable:!0}});c.ez=function(){return new c.Fa};c.rr=function(a){if(!a)return c.ez();var d=a.ia,e=a.da,f=a.ja;a=a.ea;return{ia:{l:{x:d.l.x,y:d.l.y,z:d.l.z},t:{r:d.t.r,g:d.t.g,b:d.t.b,a:d.t.a},m:{X:d.m.X,Y:d.m.Y}},da:{l:{x:e.l.x,y:e.l.y,z:e.l.z},t:{r:e.t.r,g:e.t.g,b:e.t.b,a:e.t.a},m:{X:e.m.X,Y:e.m.Y}},ja:{l:{x:f.l.x,y:f.l.y,z:f.l.z},t:{r:f.t.r,g:f.t.g,b:f.t.b,a:f.t.a},m:{X:f.m.X,Y:f.m.Y}},ea:{l:{x:a.l.x,y:a.l.y,z:a.l.z},t:{r:a.t.r,g:a.t.g,b:a.t.b,a:a.t.a},m:{X:a.m.X,
- Y:a.m.Y}}}};c.AJ=function(a){if(!a)return[];for(var d=[],e=0;e<a.length;e++)d.push(c.rr(a[e]));return d};c.rd=function(a,d,e,f,g){this.Za=f||new ArrayBuffer(c.rd.BYTES_PER_ELEMENT);this.ta=g||0;f=this.Za;g=this.ta;var h=c.za.BYTES_PER_ELEMENT;this.vh=a?new c.za(a.x,a.y,f,g):new c.za(0,0,f,g);this.li=d?c.color(d.r,d.g,d.b,d.a,f,g+h):c.color(0,0,0,0,f,g+h);this.Qf=e?new c.Ee(e.X,e.Y,f,g+h+c.lc.BYTES_PER_ELEMENT):new c.Ee(0,0,f,g+h+c.lc.BYTES_PER_ELEMENT)};c.rd.BYTES_PER_ELEMENT=20;Object.defineProperties(c.rd.prototype,
- {l:{get:function(){return this.vh},set:function(a){this.vh.x=a.x;this.vh.y=a.y},enumerable:!0},t:{get:function(){return this.li},set:function(a){var d=this.li;d.r=a.r;d.g=a.g;d.b=a.b;d.a=a.a},enumerable:!0},m:{get:function(){return this.Qf},set:function(a){this.Qf.X=a.X;this.Qf.Y=a.Y},enumerable:!0}});c.gn=function(a,d,e,f,g){this.Za=f||new ArrayBuffer(c.gn.BYTES_PER_ELEMENT);this.ta=g||0;f=this.Za;g=this.ta;var h=c.rd.BYTES_PER_ELEMENT;this.wr=a?new c.rd(a.l,a.t,a.m,f,g):new c.rd(null,null,null,
- f,g);this.Ar=d?new c.rd(d.l,d.t,d.m,f,g+h):new c.rd(null,null,null,f,g+h);this.Dr=e?new c.rd(e.l,e.t,e.m,f,g+2*h):new c.rd(null,null,null,f,g+2*h)};c.gn.BYTES_PER_ELEMENT=60;Object.defineProperties(c.gn.prototype,{a:{get:function(){return this.wr},set:function(a){var d=this.wr;d.l=a.l;d.t=a.t;d.m=a.m},enumerable:!0},b:{get:function(){return this.Ar},set:function(a){var d=this.Ar;d.l=a.l;d.t=a.t;d.m=a.m},enumerable:!0},p:{get:function(){return this.Dr},set:function(a){var d=this.Dr;d.l=a.l;d.t=a.t;
- d.m=a.m},enumerable:!0}})};c.i.Cm=function(){var a=c.color;a.BA=function(){return a(255,255,255)};a.CA=function(){return a(255,255,0)};a.eA=function(){return a(0,0,255)};a.mA=function(){return a(0,255,0)};a.uA=function(){return a(255,0,0)};a.oA=function(){return a(255,0,255)};a.dA=function(){return a(0,0,0)};a.sA=function(){return a(255,127,0)};a.lA=function(){return a(166,166,166)};c.f(a,"WHITE",a.BA);c.f(a,"YELLOW",a.CA);c.f(a,"BLUE",a.eA);c.f(a,"GREEN",a.mA);c.f(a,"RED",a.uA);c.f(a,"MAGENTA",a.oA);c.f(a,"BLACK",a.dA);c.f(a,
- "ORANGE",a.sA);c.f(a,"GRAY",a.lA);c.Ta.Oz=function(){return new c.Ta(c.ONE,c.ZERO)};c.Ta.xz=function(){return new c.Ta(c.ONE,c.ONE_MINUS_SRC_ALPHA)};c.Ta.wz=function(){return new c.Ta(c.SRC_ALPHA,c.ONE_MINUS_SRC_ALPHA)};c.Ta.vz=function(){return new c.Ta(c.SRC_ALPHA,c.ONE)};c.f(c.Ta,"DISABLE",c.Ta.Oz);c.f(c.Ta,"ALPHA_PREMULTIPLIED",c.Ta.xz);c.f(c.Ta,"ALPHA_NON_PREMULTIPLIED",c.Ta.wz);c.f(c.Ta,"ADDITIVE",c.Ta.vz)};c.lc=function(a,b,d,e){this.r=a||0;this.g=b||0;this.b=d||0;this.a=e||255};c.color=function(a,b,d,e){return void 0===a?{r:0,g:0,b:0,a:255}:"string"===typeof a?c.Wt(a):"object"===typeof a?{r:a.r,g:a.g,b:a.b,a:a.a||255}:{r:a,g:b,b:d,a:e||255}};c.mL=function(a,b){return a.r===b.r&&a.g===b.g&&a.b===b.b};c.vv=function(){this.timestamp=this.z=this.y=this.x=0};c.za=function(a,b){this.x=a||0;this.y=b||0};c.Wc=function(a,b,d){this.x=a||0;this.y=b||0;this.z=d||0};c.Ee=function(a,b){this.X=a||0;this.Y=b||0};
- c.Ta=function(a,b){this.src=a;this.fa=b};c.cL=function(){return new c.Ta(c.ONE,c.ZERO)};c.Wt=function(a){a=a.replace(/^#?/,"0x");a=parseInt(a);return c.color(a>>16,(a>>8)%256,a%256)};c.nL=function(a){var b=a.r.toString(16),d=a.g.toString(16),e=a.b.toString(16);return"#"+(16>a.r?"0"+b:b)+(16>a.g?"0"+d:d)+(16>a.b?"0"+e:e)};c.mr=0;c.Fj=1;c.oy=2;c.ci=0;c.fz=1;c.sr=2;
- c.IJ=c.$.extend({ah:null,Mi:null,sn:0,ctor:function(){this.ah={};this.Mi={};this.sn=2<<(0|10*Math.random())},pz:function(){this.sn++;return"key_"+this.sn},XS:function(a,b){if(null!=b){var d=this.pz();this.ah[d]=b;this.Mi[d]=a}},oF:function(a){if(null==a)return null;var b=this.ah,d;for(d in b)if(b[d]===a)return this.Mi[d];return null},kU:function(a){return this.oF(a)},MF:function(a){if(null!=a){var b=this.ah,d;for(d in b)if(b[d]===a){delete this.Mi[d];delete b[d];break}}},fS:function(a){if(null!=a)for(var b=
- 0;b<a.length;b++)this.MF(a[b])},lC:function(){var a=[],b=this.ah,d;for(d in b)a.push(b[d]);return a},YR:function(){this.ah={};this.Mi={}},count:function(){return this.lC().length}});
- c.Tq=function(){this.fontName="Arial";this.fontSize=12;this.textAlign=c.Fj;this.verticalAlign=c.ci;this.fillStyle=c.color(255,255,255,255);this.boundingHeight=this.boundingWidth=0;this.Dq=!1;this.strokeStyle=c.color(255,255,255,255);this.lineWidth=1;this.hv=!1;this.shadowBlur=this.shadowOffsetY=this.shadowOffsetX=0;this.shadowOpacity=1};c.Ba===c.Ec&&(c.assert("function"===typeof c.i.kn,c.d.bb,"CCTypesWebGL.js"),c.i.kn(),delete c.i.kn);c.assert("function"===typeof c.i.Cm,c.d.bb,"CCTypesPropertyDefine.js");
- c.i.Cm();delete c.i.Cm;c.vJ=[];c.wJ={};
- c.km=c.$.extend({SJ:null,Db:null,Pg:null,$e:null,Fb:null,Ld:null,Eo:!1,wn:!0,Bf:1,qp:"",Bo:null,U:1,ss:1,ca:1,ts:1,Xg:0,io:5,cd:null,Js:null,Ns:null,Ms:null,Ks:null,Ls:null,vi:!1,NJ:!1,CK:null,Xr:null,Yr:null,yK:!1,Dn:null,Ve:null,On:1,Lj:!1,bs:!0,ctor:function(){var a=document,b=c.Ce,d=c.Ac;this.Ve=c.bg.parentNode===a.body?a.documentElement:c.bg.parentNode;this.Db=A(0,0);this.Zn();var a=c.V.width,e=c.V.height;this.Pg=A(a,e);this.$e=A(a,e);this.Fb=B(0,0,a,e);this.Ld=B(0,0,a,e);this.Dn={left:0,top:0};
- this.qp="Cocos2dHTML5";a=c.Ja;this.aD(a.iq==a.$q||a.iq==a.ar);c.qg&&c.qg.ga(this.Ld);this.Js=new c.Xb(b.uj,d.om);this.Ns=new c.Xb(b.kx,d.SHOW_ALL);this.Ms=new c.Xb(b.uj,d.xm);this.Ks=new c.Xb(b.uj,d.pm);this.Ls=new c.Xb(b.uj,d.qm);this.Xr=c.V;this.Yr=c.e},Co:function(){var a=this.$e.width,b=this.$e.height;this.Bo&&(this.Zn(),this.Bo.call());0<a&&this.tq(a,b,this.cd)},nS:function(a){a?this.Lj||(this.Lj=!0,a=this.Co.bind(this),c.aa(window,"resize",a,!1)):this.Lj&&(this.Lj=!0,a=this.Co.bind(this),window.removeEventListener("resize",
- a,!1))},eT:function(a){if("function"==typeof a||null==a)this.Bo=a},Zn:function(){var a=this.Db;a.width=this.Ve.clientWidth;a.height=this.Ve.clientHeight},JJ:function(){var a=this.$e.width,b=this.$e.height;0<a&&this.tq(a,b,this.cd)},LB:function(){if(this.bs){var a={"user-scalable":"no","maximum-scale":"1.0","initial-scale":"1.0"},b=document.getElementsByName("viewport"),d;0==b.length?(b=c.Wa("meta"),b.name="viewport",b.content="",document.head.appendChild(b)):b=b[0];if(c.Ja.of&&c.Ja.ag==c.Ja.Th)b.content=
- "initial-scale:1";else{d=b.content;for(var e in a)RegExp(e).test(d)||(d+=(""==d?"":",")+e+"\x3d"+a[e]);b.content=d}}},Ss:function(){var a=c.Pa();this.ca=this.U=a},Is:function(){this.U=this.ss;this.ca=this.ts},KJ:function(){},wE:function(){this.vi=!0},OK:function(a){this.bs=a},aD:function(a){this.Eo=a?!0:!1},tO:function(){return this.Eo},OL:function(a){this.wn=a?!0:!1},iO:function(){return this.wn},end:function(){},qO:function(){return null!=this.Xr&&null!=this.Yr},PS:function(a){this.On=a;c.S.Ql(c.S.If)},
- YT:function(){},TS:function(){},ES:function(a,b){this.Dn={left:a,top:b}},CM:function(){return this.Dn},AD:function(){return A(this.Db.width,this.Db.height)},OS:function(a,b){this.Db.width=a;this.Db.height=b;this.Ve.style.width=a+"px";this.Ve.style.height=b+"px";this.Co();c.S.Ql(c.S.If)},hL:function(){},Si:function(){return A(this.Ld.width,this.Ld.height)},Np:function(){return z(this.Ld.x,this.Ld.y)},fL:function(){return!0},qN:function(){return this.cd},wG:function(a){if(a instanceof c.Xb)this.cd=
- a;else{var b=c.Xb;a===b.om&&(this.cd=this.Js);a===b.SHOW_ALL&&(this.cd=this.Ns);a===b.xm&&(this.cd=this.Ms);a===b.pm&&(this.cd=this.Ks);a===b.qm&&(this.cd=this.Ls)}},tq:function(a,b,d){if(isNaN(a)||0==a||isNaN(b)||0==b)c.log(c.d.bw);else{this.wG(d);var e=this.cd;if(e){e.lg(this);var f=this.Db.width,g=this.Db.height;c.Ja.of&&this.LB(this.Db.width,this.Db.height);this.Zn();if(d!=this.cd||a!=this.$e.width||b!=this.$e.height||f!=this.Db.width||g!=this.Db.height)this.Pg=A(a,b),this.$e=A(a,b),a=e.apply(this,
- this.Pg),a.scale&&2==a.scale.length&&(this.U=a.scale[0],this.ca=a.scale[1]),a.viewport&&(a=this.Fb=a.viewport,b=this.Ld,b.width=c.V.width/this.U,b.height=c.V.height/this.ca,b.x=-a.x/this.U,b.y=-a.y/this.ca),a=c.S,c.Vl.width=a.Ha.width=this.Ld.width,c.Vl.height=a.Ha.height=this.Ld.height,e.kg(this),c.Ba==c.Ec&&(a.Og(),a.Xu()),this.ss=this.U,this.ts=this.ca,c.Vv&&c.Vv.nK(),c.qg&&c.qg.ga(this.Ld)}else c.log(c.d.cw)}},Jp:function(){return A(this.Pg.width,this.Pg.height)},NG:function(a,b,d,e){var f=this.On,
- g=this.U,h=this.ca;c.e.viewport(a*g*f+this.Fb.x*f,b*h*f+this.Fb.y*f,d*g*f,e*h*f)},gT:function(a,b,d,e){var f=this.On,g=this.U,h=this.ca;c.e.scissor(a*g*f+this.Fb.x*f,b*h*f+this.Fb.y*f,d*g*f,e*h*f)},vO:function(){var a=c.e;return a.isEnabled(a.SCISSOR_TEST)},uN:function(){var a=c.e,b=this.U,d=this.ca,a=a.getParameter(a.SCISSOR_BOX);return B((a[0]-this.Fb.x)/b,(a[1]-this.Fb.y)/d,a[2]/b,a[3]/d)},DT:function(a){null!=a&&0<a.length&&(this.qp=a)},ON:function(){return this.qp},PN:function(){return this.Fb},
- Lt:function(){return this.U},Mt:function(){return this.ca},KM:function(){return this.Bf},yp:function(a,b,d){return{x:this.Bf*(a-d.left),y:this.Bf*(d.top+d.height-b)}},Jz:function(a,b){var d=this.Fb;a.x=(this.Bf*(a.x-b.left)-d.x)/this.U;a.y=(this.Bf*(b.top+b.height-a.y)-d.y)/this.ca},Yj:function(a){for(var b=this.Fb,d=this.U,e=this.ca,f,g,h,k=0;k<a.length;k++)f=a[k],g=f.ob,h=f.Gd,f.Lo((g.x-b.x)/d,(g.y-b.y)/e),f.jh((h.x-b.x)/d,(h.y-b.y)/e)}});
- c.km.Rn=function(){this.ek||(this.ek=this.ek||new c.km,this.ek.wE());return this.ek};
- c.Ce=c.$.extend({lg:function(){},apply:function(){},kg:function(){},Po:function(a,b,d){var e=a.Ve;c.view.wn&&c.Ja.of&&e==document.documentElement&&c.screen.xC(e);var e=c.V,f=c.bg;f.style.width=e.style.width=b+"px";f.style.height=e.style.height=d+"px";f=a.Bf=1;a.Eo&&(f=a.Bf=window.devicePixelRatio||1);e.width=b*f;e.height=d*f;a=document.body;var g;a&&(g=a.style)&&(g.paddingTop=g.paddingTop||"0px",g.paddingRight=g.paddingRight||"0px",g.paddingBottom=g.paddingBottom||"0px",g.paddingLeft=g.paddingLeft||
- "0px",g.borderTop=g.borderTop||"0px",g.borderRight=g.borderRight||"0px",g.borderBottom=g.borderBottom||"0px",g.borderLeft=g.borderLeft||"0px",g.marginTop=g.marginTop||"0px",g.marginRight=g.marginRight||"0px",g.marginBottom=g.marginBottom||"0px",g.marginLeft=g.marginLeft||"0px")},Rr:function(){document.body.insertBefore(c.bg,document.body.firstChild);var a=document.body.style;a.width=window.innerWidth+"px";a.height=window.innerHeight+"px";a.overflow="hidden";a=c.bg.style;a.position="fixed";a.left=
- a.top="0px";document.body.scrollTop=0}});c.Ac=c.$.extend({Do:{scale:[1,1],viewport:null},ii:function(a,b,d,e,f,g){2>Math.abs(a-d)&&(d=a);2>Math.abs(b-e)&&(e=b);a=B(Math.round((a-d)/2),Math.round((b-e)/2),d,e);c.Ba==c.cb&&c.e.translate(a.x,a.y+e);this.Do.scale=[f,g];this.Do.viewport=a;return this.Do},lg:function(){},apply:function(){return{scale:[1,1]}},kg:function(){}});
- (function(){var a=c.Ce.extend({apply:function(a){this.Po(a,a.Db.width,a.Db.height)}}),b=c.Ce.extend({apply:function(a,b){var d=a.Db.width,e=a.Db.height,f=c.bg.style,r=b.width,s=b.height,t=d/r,u=e/s,y,x;t<u?(y=d,x=s*t):(y=r*u,x=e);r=Math.round((d-y)/2);x=Math.round((e-x)/2);this.Po(a,d-2*r,e-2*x);f.marginLeft=r+"px";f.marginRight=r+"px";f.marginTop=x+"px";f.marginBottom=x+"px"}});a.extend({lg:function(a){this._super(a);a.Ve=document.documentElement},apply:function(a){this._super(a);this.Rr()}});b.extend({lg:function(a){this._super(a);
- a.Ve=document.documentElement},apply:function(a,b){this._super(a,b);this.Rr()}});var d=c.Ce.extend({apply:function(a){this.Po(a,c.V.width,c.V.height)}});c.Ce.uj=new a;c.Ce.kx=new b;c.Ce.eJ=new d;var a=c.Ac.extend({apply:function(a,b){var d=c.V.width,e=c.V.height;return this.ii(d,e,d,e,d/b.width,e/b.height)}}),b=c.Ac.extend({apply:function(a,b){var d=c.V.width,e=c.V.height,f=b.width,r=b.height,s=d/f,t=e/r,u=0,y,x;s<t?(u=s,y=d,x=r*u):(u=t,y=f*u,x=e);return this.ii(d,e,y,x,u,u)}}),d=c.Ac.extend({apply:function(a,
- b){var d=c.V.width,e=c.V.height,f=b.width,r=b.height,s=d/f,t=e/r,u,y,x;s<t?(u=t,y=f*u,x=e):(u=s,y=d,x=r*u);return this.ii(d,e,y,x,u,u)}}),e=c.Ac.extend({apply:function(a,b){var d=c.V.width,e=c.V.height,f=e/b.height;return this.ii(d,e,d,e,f,f)},kg:function(a){c.S.Ha=a.Si()}}),f=c.Ac.extend({apply:function(a,b){var d=c.V.width,e=c.V.height,f=d/b.width;return this.ii(d,e,d,e,f,f)},kg:function(a){c.S.Ha=a.Si()}});c.Ac.om=new a;c.Ac.SHOW_ALL=new b;c.Ac.xm=new d;c.Ac.pm=new e;c.Ac.qm=new f})();
- c.Xb=c.$.extend({Wj:null,Xj:null,ctor:function(a,b){this.ZF(a);this.$F(b)},lg:function(a){this.Wj.lg(a);this.Xj.lg(a)},apply:function(a,b){this.Wj.apply(a,b);return this.Xj.apply(a,b)},kg:function(a){this.Wj.kg(a);this.Xj.kg(a)},ZF:function(a){a instanceof c.Ce&&(this.Wj=a)},$F:function(a){a instanceof c.Ac&&(this.Xj=a)}});c.Xb.om=0;c.Xb.xm=1;c.Xb.SHOW_ALL=2;c.Xb.pm=3;c.Xb.qm=4;c.Xb.cz=5;c.screen={Gk:!1,so:null,fp:"",Ue:null,Uz:[["requestFullscreen","exitFullscreen","fullscreenchange","fullscreenEnabled","fullscreenElement"],["requestFullScreen","exitFullScreen","fullScreenchange","fullScreenEnabled","fullScreenElement"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange","webkitIsFullScreen","webkitCurrentFullScreenElement"],["mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozFullScreen","mozFullScreenElement"],["msRequestFullscreen",
- "msExitFullscreen","MSFullscreenChange","msFullscreenEnabled","msFullscreenElement"]],ga:function(){this.Ue={};var a,b,d=this.Uz,e;a=0;for(l=d.length;a<l;a++)if((b=d[a])&&b[1]in document){a=0;for(e=b.length;a<e;a++)this.Ue[d[0][a]]=b[a];break}this.Gk=void 0!=this.Ue.requestFullscreen;this.fp="ontouchstart"in window?"touchstart":"mousedown"},fullScreen:function(){return this.Gk&&document[this.Ue.fullscreenEnabled]},Nu:function(a,b){if(this.Gk){a=a||document.documentElement;a[this.Ue.requestFullscreen]();
- if(b){var d=this.Ue.kM;this.so&&document.removeEventListener(d,this.so);this.so=b;c.aa(document,d,b,!1)}return a[this.Ue.requestFullscreen]()}},SL:function(){return this.Gk?document[this.Ue.exitFullscreen]():!0},xC:function(a,b){function d(){f.Nu(a,b);e.removeEventListener(f.fp,d)}a=a||document.body;var e=c.V||a,f=this;this.Nu(a,b);c.aa(e,this.fp,d)}};c.screen.ga();c.qg={ov:z(0,0),pv:z(0,0),top:z(0,0),up:z(0,0),pt:z(0,0),bottom:z(0,0),Tk:z(0,0),left:z(0,0),right:z(0,0),width:0,height:0,ga:function(a){var b=this.width=a.width,d=this.height=a.height,e=a.x;a=a.y;var f=a+d,g=e+b;this.ov.x=e;this.ov.y=f;this.pv.x=g;this.pv.y=f;this.top.x=e+b/2;this.top.y=f;this.up.x=e;this.up.y=a;this.pt.x=g;this.pt.y=a;this.bottom.x=e+b/2;this.bottom.y=a;this.Tk.x=e+b/2;this.Tk.y=a+d/2;this.left.x=e;this.left.y=a+d/2;this.right.x=g;this.right.y=a+d/2}};c.Ry=-90;c.Sy=90;c.Ty=180;c.xJ=0;
- c.au={eh:!1,fs:!1,xs:z(0,0),hB:z(0,0),ys:[],to:0,gf:[],gp:{},Xg:0,io:5,Nj:!1,Oj:1/30,yr:1,wf:0,un:null,Mj:null,AA:function(){for(var a=this.Xg,b=0;b<this.io;b++){if(!(a&1))return this.Xg|=1<<b,b;a>>=1}return-1},oB:function(a){0>a||a>=this.io||(a=~(1<<a),this.Xg&=a)},We:null,Qp:function(a){for(var b,d,e,f=[],g=this.gp,h=0,k=a.length;h<k;h++)b=a[h],e=b.$c,d=g[e],null==d&&(d=this.AA(),-1==d?c.log(c.d.xE,d):(b=this.gf[d]=b,g[e]=d,f.push(b)));0<f.length&&(this.We.Yj(f),a=new c.Bc(f),a.Qe=c.Bc.tg.Yl,c.H.dispatchEvent(a))},
- Rp:function(a){for(var b,d,e=[],f=this.gf,g=0,h=a.length;g<h;g++)b=a[g],d=b.$c,d=this.gp[d],null!=d&&f[d]&&(f[d].Lo(b.ob),f[d].jh(b.Gd),e.push(f[d]));0<e.length&&(this.We.Yj(e),a=new c.Bc(e),a.Qe=c.Bc.tg.wm,c.H.dispatchEvent(a))},el:function(a){a=this.Nt(a);0<a.length&&(this.We.Yj(a),a=new c.Bc(a),a.Qe=c.Bc.tg.lm,c.H.dispatchEvent(a))},Vt:function(a){a=this.Nt(a);0<a.length&&(this.We.Yj(a),a=new c.Bc(a),a.Qe=c.Bc.tg.cm,c.H.dispatchEvent(a))},Nt:function(a){for(var b,d,e,f=[],g=this.gf,h=this.gp,k=
- 0,m=a.length;k<m;k++)b=a[k],e=b.$c,d=h[e],null!=d&&g[d]&&(g[d].Lo(b.ob),g[d].jh(b.Gd),f.push(g[d]),this.oB(d),delete h[e]);return f},fd:function(a){var b=document.documentElement,d=window,e=null,e="function"===typeof a.getBoundingClientRect?a.getBoundingClientRect():a instanceof HTMLCanvasElement?{left:0,top:0,width:a.width,height:a.height}:{left:0,top:0,width:parseInt(a.style.width),height:parseInt(a.style.height)};return{left:e.left+d.pageXOffset-b.clientLeft,top:e.top+d.pageYOffset-b.clientTop,
- width:e.width,height:e.height}},VD:function(a){for(var b=null,d=this.ys,e=a.$c,f=d.length-1;0<=f;f--)if(d[f].$c==e){b=d[f];break}b||(b=a);return b},uG:function(a){for(var b=!1,d=this.ys,e=a.$c,f=d.length-1;0<=f;f--)if(d[f].$c==e){d[f]=a;b=!0;break}b||(50>=d.length?d.push(a):(d[this.to]=a,this.to=(this.to+1)%50))},Ri:function(a,b,d){var e=this.xs;a=this.We.yp(a,b,d);b=new c.Ym(a.x,a.y);b.jh(e.x,e.y);e.x=a.x;e.y=a.y;return b},Ah:function(a,b,d){var e=this.hB;this.We.Jz(a,b);b=new c.Ua(d);b.lG(a.x,a.y);
- b.EB(e.x,e.y);e.x=a.x;e.y=a.y;return b},Ch:function(a,b){if(null!=a.pageX)return{x:a.pageX,y:a.pageY};b.left-=document.body.scrollLeft;b.top-=document.body.scrollTop;return{x:a.clientX,y:a.clientY}},cl:function(a,b){for(var d=[],e=this.We,f,g,h=this.xs,k=a.changedTouches.length,m=0;m<k;m++)if(f=a.changedTouches[m]){var n;n=c.Ja.Th===c.Ja.ag?e.yp(f.pageX,f.pageY,b):e.yp(f.clientX,f.clientY,b);null!=f.identifier?(f=new c.Ym(n.x,n.y,f.identifier),g=this.VD(f).hg(),f.jh(g.x,g.y),this.uG(f)):(f=new c.Ym(n.x,
- n.y),f.jh(h.x,h.y));h.x=n.x;h.y=n.y;d.push(f)}return d},FF:function(a){if(!this.fs){var b=this.We=c.view,d=this,e="touches"in c.Ja.xp;"mouse"in c.Ja.xp&&(c.aa(window,"mousedown",function(){d.eh=!0},!1),c.aa(window,"mouseup",function(b){var f=d.eh;d.eh=!1;if(f){var f=d.fd(a),g=d.Ch(b,f);c.Il(new c.ox(f.left,f.top,f.width,f.height),g)||(e||d.el([d.Ri(g.x,g.y,f)]),f=d.Ah(g,f,c.Ua.fn),f.ng(b.button),c.H.dispatchEvent(f))}},!1),c.aa(a,"mousedown",function(b){d.eh=!0;var f=d.fd(a),g=d.Ch(b,f);e||d.Qp([d.Ri(g.x,
- g.y,f)]);f=d.Ah(g,f,c.Ua.Pq);f.ng(b.button);c.H.dispatchEvent(f);b.stopPropagation();b.preventDefault();a.focus()},!1),c.aa(a,"mouseup",function(b){d.eh=!1;var f=d.fd(a),g=d.Ch(b,f);e||d.el([d.Ri(g.x,g.y,f)]);f=d.Ah(g,f,c.Ua.fn);f.ng(b.button);c.H.dispatchEvent(f);b.stopPropagation();b.preventDefault()},!1),c.aa(a,"mousemove",function(b){var f=d.fd(a),g=d.Ch(b,f);e||d.Rp([d.Ri(g.x,g.y,f)]);f=d.Ah(g,f,c.Ua.Yq);d.eh?f.ng(b.button):f.ng(null);c.H.dispatchEvent(f);b.stopPropagation();b.preventDefault()},
- !1),c.aa(a,"mousewheel",function(b){var e=d.fd(a),f=d.Ch(b,e),e=d.Ah(f,e,c.Ua.Mm);e.ng(b.button);e.dv(0,b.wheelDelta);c.H.dispatchEvent(e);b.stopPropagation();b.preventDefault()},!1),c.aa(a,"DOMMouseScroll",function(b){var e=d.fd(a),f=d.Ch(b,e),e=d.Ah(f,e,c.Ua.Mm);e.ng(b.button);e.dv(0,-120*b.detail);c.H.dispatchEvent(e);b.stopPropagation();b.preventDefault()},!1));if(window.navigator.msPointerEnabled){var f={MSPointerDown:d.Qp,MSPointerMove:d.Rp,MSPointerUp:d.el,MSPointerCancel:d.Vt},g;for(g in f)(function(b,
- e){c.aa(a,b,function(b){var f=d.fd(a);f.left-=document.documentElement.scrollLeft;f.top-=document.documentElement.scrollTop;e.call(d,[d.Ri(b.clientX,b.clientY,f)]);b.stopPropagation()},!1)})(g,f[g])}e&&(c.aa(a,"touchstart",function(b){if(b.changedTouches){var e=d.fd(a);e.left-=document.body.scrollLeft;e.top-=document.body.scrollTop;d.Qp(d.cl(b,e));b.stopPropagation();b.preventDefault();a.focus()}},!1),c.aa(a,"touchmove",function(b){if(b.changedTouches){var e=d.fd(a);e.left-=document.body.scrollLeft;
- e.top-=document.body.scrollTop;d.Rp(d.cl(b,e));b.stopPropagation();b.preventDefault()}},!1),c.aa(a,"touchend",function(b){if(b.changedTouches){var e=d.fd(a);e.left-=document.body.scrollLeft;e.top-=document.body.scrollTop;d.el(d.cl(b,e));b.stopPropagation();b.preventDefault()}},!1),c.aa(a,"touchcancel",function(e){if(e.changedTouches){var f=d.fd(a);f.left-=document.body.scrollLeft;f.top-=document.body.scrollTop;b.Vt(d.cl(e,f));e.stopPropagation();e.preventDefault()}},!1));this.Es();this.Ds();this.fs=
- !0}},Es:function(){},Ds:function(){},update:function(a){this.wf>this.Oj&&(this.wf-=this.Oj,c.H.dispatchEvent(new c.hw(this.un)));this.wf+=a}};var p=c.au;p.xS=function(a){this.Nj!==a&&(this.Nj=a,a=c.S.jd(),this.Nj?(this.wf=0,a.rq(this)):(this.wf=0,a.rj(this)))};p.yS=function(a){this.Oj!==a&&(this.Oj=a)};p.Es=function(){c.aa(c.V,"keydown",function(a){c.H.dispatchEvent(new c.Sq(a.keyCode,!0));a.stopPropagation();a.preventDefault()},!1);c.aa(c.V,"keyup",function(a){c.H.dispatchEvent(new c.Sq(a.keyCode,!1));a.stopPropagation();a.preventDefault()},!1)};
- p.Ds=function(){var a=window;this.un=new c.vv;this.Mj=a.DeviceMotionEvent||a.DeviceOrientationEvent;c.Ja.ag==c.Ja.Kq&&(this.Mj=window.DeviceOrientationEvent);c.aa(a,this.Mj==a.DeviceMotionEvent?"devicemotion":"deviceorientation",this.NC.bind(this),!1)};
- p.NC=function(a){var b=window;if(this.Nj){var d=this.un;if(this.Mj==window.DeviceMotionEvent){var e=a.accelerationIncludingGravity;d.x=this.yr*e.x*0.1;d.y=this.yr*e.y*0.1;d.z=0.1*e.z}else d.x=a.gamma/90*0.981,d.y=0.981*-(a.beta/90),d.z=a.alpha/90*0.981;d.timestamp=a.timeStamp||Date.now();a=d.x;b.orientation===c.Sy?(d.x=-d.y,d.y=a):b.orientation===c.Ry?(d.x=d.y,d.y=-a):b.orientation===c.Ty&&(d.x=-d.x,d.y=-d.y)}};delete p;c.CH=function(a,b,d,e,f,g){this.a=a;this.b=b;this.p=d;this.s=e;this.N=f;this.O=g};c.RK=function(a,b,d,e,f,g){return{a:a,b:b,p:d,s:e,N:f,O:g}};c.Eu=function(a,b){return{x:b.a*a.x+b.p*a.y+b.N,y:b.b*a.x+b.s*a.y+b.O}};c.bf=function(a,b,d){return{x:d.a*a+d.p*b+d.N,y:d.b*a+d.s*b+d.O}};c.IT=function(a,b){return{width:b.a*a.width+b.p*a.height,height:b.b*a.width+b.s*a.height}};c.SK=function(){return{a:1,b:0,p:0,s:1,N:0,O:0}};c.QK=function(){return{a:1,b:0,p:0,s:1,N:0,O:0}};
- c.kq=function(a,b){var d=c.Lh(a),e=c.Kh(a),f=c.hj(a),g=c.ij(a),h=c.bf(e,d,b),d=c.bf(f,d,b),e=c.bf(e,g,b),k=c.bf(f,g,b),f=Math.min(h.x,d.x,e.x,k.x),g=Math.max(h.x,d.x,e.x,k.x),m=Math.min(h.y,d.y,e.y,k.y),h=Math.max(h.y,d.y,e.y,k.y);return B(f,m,g-f,h-m)};
- c.iB=function(a,b){var d=c.Lh(a),e=c.Kh(a),f=c.hj(a),g=c.ij(a),h=c.bf(e,d,b),d=c.bf(f,d,b),e=c.bf(e,g,b),k=c.bf(f,g,b),f=Math.min(h.x,d.x,e.x,k.x),g=Math.max(h.x,d.x,e.x,k.x),m=Math.min(h.y,d.y,e.y,k.y),h=Math.max(h.y,d.y,e.y,k.y);a.x=f;a.y=m;a.width=g-f;a.height=h-m;return a};c.iC=function(a,b,d){return{a:a.a,b:a.b,p:a.p,s:a.s,N:a.N+a.a*b+a.p*d,O:a.O+a.b*b+a.s*d}};c.UK=function(a,b,d){return{a:a.a*b,b:a.b*b,p:a.p*d,s:a.s*d,N:a.N,O:a.O}};
- c.TK=function(a,b){var d=Math.sin(b),e=Math.cos(b);return{a:a.a*e+a.p*d,b:a.b*e+a.s*d,p:a.p*e-a.a*d,s:a.s*e-a.b*d,N:a.N,O:a.O}};c.$f=function(a,b){return{a:a.a*b.a+a.b*b.p,b:a.a*b.b+a.b*b.s,p:a.p*b.a+a.s*b.p,s:a.p*b.b+a.s*b.s,N:a.N*b.a+a.O*b.p+b.N,O:a.N*b.b+a.O*b.s+b.O}};c.PK=function(a,b){return a.a===b.a&&a.b===b.b&&a.p===b.p&&a.s===b.s&&a.N===b.N&&a.O===b.O};c.mt=function(a){var b=1/(a.a*a.s-a.b*a.p);return{a:b*a.s,b:-b*a.b,p:-b*a.p,s:b*a.a,N:b*(a.p*a.O-a.s*a.N),O:b*(a.b*a.N-a.a*a.O)}};c.er=parseFloat("1.192092896e-07F");c.fR=function(a){return z(-a.x,-a.y)};c.Gl=function(a,b){return z(a.x+b.x,a.y+b.y)};c.Sc=function(a,b){return z(a.x-b.x,a.y-b.y)};c.jg=function(a,b){return z(a.x*b,a.y*b)};c.Du=function(a,b){return c.jg(c.Gl(a,b),0.5)};c.Ih=function(a,b){return a.x*b.x+a.y*b.y};c.pF=function(a,b){return a.x*b.y-a.y*b.x};c.Hl=function(a){return z(-a.y,a.x)};c.iR=function(a){return z(a.y,-a.x)};c.hR=function(a,b){return c.jg(b,c.Ih(a,b)/c.Ih(b,b))};
- c.jR=function(a,b){return z(a.x*b.x-a.y*b.y,a.x*b.y+a.y*b.x)};c.pR=function(a,b){return z(a.x*b.x+a.y*b.y,a.y*b.x-a.x*b.y)};c.Bu=function(a){return c.Ih(a,a)};c.ZQ=function(a,b){return c.Bu(c.Sc(a,b))};c.jq=function(a){return Math.sqrt(c.Bu(a))};c.YQ=function(a,b){return c.jq(c.Sc(a,b))};c.od=function(a){return c.jg(a,1/c.jq(a))};c.$Q=function(a){return z(Math.cos(a),Math.sin(a))};c.oR=function(a){return Math.atan2(a.y,a.x)};c.tt=function(a,b,d){if(b>d){var e=b;b=d;d=e}return a<b?b:a<d?a:d};
- c.VQ=function(a,b,d){return z(c.tt(a.x,b.x,d.x),c.tt(a.y,b.y,d.y))};c.aR=function(a){return z(a.width,a.height)};c.XQ=function(a,b){return z(b(a.x),b(a.y))};c.eR=function(a,b,d){return c.Gl(c.jg(a,1-d),c.jg(b,d))};c.bR=function(a,b,d){return a.x-d<=b.x&&b.x<=a.x+d&&a.y-d<=b.y&&b.y<=a.y+d?!0:!1};c.WQ=function(a,b){return z(a.x*b.x,a.y*b.y)};c.UQ=function(a,b){var d=c.od(a),e=c.od(b),d=Math.atan2(d.x*e.y-d.y*e.x,c.Ih(d,e));return Math.abs(d)<c.er?0:d};
- c.TQ=function(a,b){var d=Math.acos(c.Ih(c.od(a),c.od(b)));return Math.abs(d)<c.er?0:d};c.kR=function(a,b,d){a=c.Sc(a,b);var e=Math.cos(d);d=Math.sin(d);var f=a.x;a.x=f*e-a.y*d+b.x;a.y=f*d+a.y*e+b.y;return a};c.Cu=function(a,b,d,e,f){if(a.x==b.x&&a.y==b.y||d.x==e.x&&d.y==e.y)return!1;var g=b.x-a.x;b=b.y-a.y;var h=e.x-d.x;e=e.y-d.y;var k=a.x-d.x;a=a.y-d.y;d=e*g-h*b;f.x=h*a-e*k;f.y=g*a-b*k;if(0==d)return 0==f.x||0==f.y?!0:!1;f.x/=d;f.y/=d;return!0};
- c.mR=function(a,b,d,e){var f=z(0,0);return c.Cu(a,b,d,e,f)&&0<=f.x&&1>=f.x&&0<=f.y&&1>=f.y?!0:!1};c.dR=function(a,b,d,e){var f=z(0,0);return c.Cu(a,b,d,e,f)?(d=z(0,0),d.x=a.x+f.x*(b.x-a.x),d.y=a.y+f.x*(b.y-a.y),d):z(0,0)};c.lR=function(a,b){return null!=a&&null!=b?a.x==b.x&&a.y==b.y:!1};c.qR=function(a){a.x=0;a.y=0};c.cR=function(a,b){a.x=b.x;a.y=b.y};c.qF=function(a,b){a.x*=b;a.y*=b};c.nR=function(a,b){a.x-=b.x;a.y-=b.y};c.SQ=function(a,b){a.x+=b.x;a.y+=b.y};
- c.gR=function(a){c.qF(a,1/Math.sqrt(a.x*a.x+a.y*a.y))};c.lU=function(a,b,d,e,f){f+=e;if(!(1>=f)){b*=0.5;for(var g,h=f-1,k=e;k<f;k++){g=2*k;var m=z(a[2*k],a[2*k+1]),n;if(0===k)n=c.Hl(c.od(c.Sc(m,z(a[2*(k+1)],a[2*(k+1)+1]))));else if(k===h)n=c.Hl(c.od(c.Sc(z(a[2*(k-1)],a[2*(k-1)+1]),m)));else{n=z(a[2*(k-1)],a[2*(k-1)+1]);var r=z(a[2*(k+1)],a[2*(k+1)+1]),s=c.od(c.Sc(r,m)),t=c.od(c.Sc(n,m)),u=Math.acos(c.Ih(s,t));n=u<c.Wk(70)?c.Hl(c.od(c.Du(s,t))):u<c.Wk(170)?c.od(c.Du(s,t)):c.Hl(c.od(c.Sc(r,n)))}n=c.jg(n,b);d[2*g]=m.x+n.x;d[2*g+1]=m.y+n.y;d[2*(g+1)]=m.x-
- n.x;d[2*(g+1)+1]=m.y-n.y}for(k=0==e?0:e-1;k<h;k++)g=2*k,a=g+2,b=new c.za(d[2*g],d[2*g+1]),f=new c.za(d[2*(g+1)],d[2*(g+1)+1]),g=new c.za(d[2*a],d[2*a]),e=new c.za(d[2*(a+1)],d[2*(a+1)+1]),b=!c.kH(b.x,b.y,e.x,e.y,f.x,f.y,g.x,g.y),!b.Wi&&(0>b.value||1<b.value)&&(b.Wi=!0),b.Wi&&(d[2*a]=e.x,d[2*a+1]=e.y,d[2*(a+1)]=g.x,d[2*(a+1)+1]=g.y)}};
- c.kH=function(a,b,d,e,f,g,h,k){if(a==d&&b==e||f==h&&g==k)return{Wi:!1,value:0};d-=a;e-=b;f-=a;g-=b;h-=a;k-=b;a=Math.sqrt(d*d+e*e);d/=a;e/=a;b=f*d+g*e;g=g*d-f*e;f=b;b=h*d+k*e;k=k*d-h*e;h=b;return g==k?{Wi:!1,value:0}:{Wi:!0,value:(h+(f-h)*k/(k-g))/a}};c.mU=function(a){for(var b=0,d=a.length;b<d;b++){var e=a[(b+1)%d];if(0<c.pF(c.Sc(e,a[b]),c.Sc(a[(b+2)%d],e)))return!1}return!0};c.SH=function(a,b){b[2]=b[3]=b[6]=b[7]=b[8]=b[9]=b[11]=b[14]=0;b[10]=b[15]=1;b[0]=a.a;b[4]=a.p;b[12]=a.N;b[1]=a.b;b[5]=a.s;b[13]=a.O};c.qI=function(a,b){b.a=a[0];b.p=a[4];b.N=a[12];b.b=a[1];b.s=a[5];b.O=a[13]};c.Ym=c.$.extend({ob:null,Gd:null,$c:0,bt:!1,Ei:null,ctor:function(a,b,d){this.ob=z(a||0,b||0);this.$c=d||0},hg:function(){return{x:this.ob.x,y:this.ob.y}},ID:function(){return this.ob.x},JD:function(){return this.ob.y},lN:function(){return{x:this.Gd.x,y:this.Gd.y}},yN:function(){return{x:this.Ei.x,y:this.Ei.y}},uD:function(){return c.Sc(this.ob,this.Gd)},HD:function(){return{x:this.ob.x,y:this.ob.y}},mN:function(){return{x:this.Gd.x,y:this.Gd.y}},zN:function(){return{x:this.Ei.x,y:this.Ei.y}},XM:function(){return this.$c},
- YM:function(){return this.$c},lT:function(a,b,d){this.Gd=this.ob;this.ob=z(b||0,d||0);this.$c=a;this.bt||(this.Ei=z(this.ob),this.bt=!0)},Lo:function(a,b){void 0===b?(this.ob.x=a.x,this.ob.y=a.y):(this.ob.x=a,this.ob.y=b)},jh:function(a,b){this.Gd=void 0===b?z(a.x,a.y):z(a||0,b||0)}});c.Ka=c.$.extend({hf:0,Hf:!1,qb:null,Ho:function(a){this.qb=a},ctor:function(a){this.hf=a},gE:function(){return this.hf},stopPropagation:function(){this.Hf=!0},xO:function(){return this.Hf},DM:function(){return this.qb}});c.Ka.Gj=0;c.Ka.ug=1;c.Ka.rg=2;c.Ka.zg=3;c.Ka.Uh=4;c.Xd=c.Ka.extend({Mn:null,it:null,ctor:function(a){c.Ka.prototype.ctor.call(this,c.Ka.Uh);this.Mn=a},setUserData:function(a){this.it=a},getUserData:function(){return this.it},PM:function(){return this.Mn}});
- c.Ua=c.Ka.extend({Qr:0,Cr:0,wh:0,Md:0,vo:0,wo:0,Ps:0,Qs:0,ctor:function(a){c.Ka.prototype.ctor.call(this,c.Ka.zg);this.Qr=a},dv:function(a,b){this.Ps=a;this.Qs=b},vN:function(){return this.Ps},wN:function(){return this.Qs},lG:function(a,b){this.wh=a;this.Md=b},hg:function(){return{x:this.wh,y:this.Md}},HD:function(){return{x:this.wh,y:c.view.Pg.height-this.Md}},EB:function(a,b){this.vo=a;this.wo=b},uD:function(){return{x:this.wh-this.vo,y:this.Md-this.wo}},IM:function(){return this.wh-this.vo},JM:function(){return this.Md-
- this.wo},ng:function(a){this.Cr=a},tM:function(){return this.Cr},ID:function(){return this.wh},JD:function(){return this.Md}});c.Ua.NONE=0;c.Ua.Pq=1;c.Ua.fn=2;c.Ua.Yq=3;c.Ua.Mm=4;c.Ua.PH=0;c.Ua.RH=2;c.Ua.QH=1;c.Ua.KH=3;c.Ua.LH=4;c.Ua.MH=5;c.Ua.NH=6;c.Ua.OH=7;c.Bc=c.Ka.extend({Qe:0,gf:null,ctor:function(a){c.Ka.prototype.ctor.call(this,c.Ka.Gj);this.gf=a||[]},OM:function(){return this.Qe},EN:function(){return this.gf},sK:function(a){this.Qe=a},uK:function(a){this.gf=a}});c.Bc.QI=5;
- c.Bc.tg={Yl:0,wm:1,lm:2,cm:3};c.v=c.$.extend({lo:null,hf:0,Dd:null,wc:!1,Te:0,bc:null,vb:!1,Zg:!0,ctor:function(a,b,d){this.lo=d;this.hf=a||0;this.Dd=b||""},Ko:function(a){this.vb=a},fK:function(){return this.vb},Ci:function(a){this.wc=a},NA:function(){return this.wc},dK:function(){return this.hf},aK:function(){return this.Dd},Io:function(a){this.Te=a},$J:function(){return this.Te},Di:function(a){this.bc=a},bK:function(){return this.bc},kf:function(){return null!=this.lo},zb:function(){return null},Ol:function(a){this.Zg=a},isEnabled:function(){return this.Zg},
- oq:function(){},Nh:function(){}});c.v.cz=0;c.v.Yd=1;c.v.Qm=2;c.v.ug=3;c.v.zg=4;c.v.rg=5;c.v.Uh=6;c.di=c.v.extend({Ai:null,ctor:function(a,b){this.Ai=b;var d=this;c.v.prototype.ctor.call(this,c.v.Uh,a,function(a){null!=d.Ai&&d.Ai(a)})},kf:function(){return c.v.prototype.kf.call(this)&&null!=this.Ai},zb:function(){return new c.di(this.Dd,this.Ai)}});c.di.create=function(a,b){return new c.di(a,b)};
- c.He=c.v.extend({zl:null,Cl:null,Al:null,Bl:null,ctor:function(){var a=this;c.v.prototype.ctor.call(this,c.v.zg,c.He.La,function(b){var d=c.Ua;switch(b.Qr){case d.Pq:a.zl&&a.zl(b);break;case d.fn:a.Cl&&a.Cl(b);break;case d.Yq:a.Al&&a.Al(b);break;case d.Mm:a.Bl&&a.Bl(b)}})},zb:function(){var a=new c.He;a.zl=this.zl;a.Cl=this.Cl;a.Al=this.Al;a.Bl=this.Bl;return a},kf:function(){return!0}});c.He.La="__cc_mouse";c.He.create=function(){return new c.He};
- c.td=c.v.extend({Ng:null,Vd:!1,nd:null,Fl:null,El:null,Dl:null,ctor:function(){c.v.prototype.ctor.call(this,c.v.Yd,c.td.La,null);this.Ng=[]},iT:function(a){this.Vd=a},zb:function(){var a=new c.td;a.nd=this.nd;a.Fl=this.Fl;a.El=this.El;a.Dl=this.Dl;a.Vd=this.Vd;return a},kf:function(){return this.nd?!0:(c.log(c.d.kz),!1)}});c.td.La="__cc_touch_one_by_one";c.td.create=function(){return new c.td};
- c.sd=c.v.extend({cj:null,fj:null,ej:null,dj:null,ctor:function(){c.v.prototype.ctor.call(this,c.v.Qm,c.sd.La,null)},zb:function(){var a=new c.sd;a.cj=this.cj;a.fj=this.fj;a.ej=this.ej;a.dj=this.dj;return a},kf:function(){return null==this.cj&&null==this.fj&&null==this.ej&&null==this.dj?(c.log(c.d.jz),!1):!0}});c.sd.La="__cc_touch_all_at_once";c.sd.create=function(){return new c.sd};
- c.v.create=function(a){c.assert(a&&a.event,c.d.iw);var b=a.event;delete a.event;var d=null;b===c.v.Yd?d=new c.td:b===c.v.Qm?d=new c.sd:b===c.v.zg?d=new c.He:b===c.v.Uh?(d=new c.di(a.kD,a.wp),delete a.kD,delete a.wp):b===c.v.ug?d=new c.Ge:b===c.v.rg&&(d=new c.Fe(a.wp),delete a.wp);for(var e in a)d[e]=a[e];return d};c.xt=function(a){var b,d=a.length,e=Array(d);for(b=0;b<d;b+=1)e[b]=a[b];return e};c.lz=c.$.extend({rc:null,xc:null,Ut:0,ctor:function(){this.rc=[];this.xc=[]},size:function(){return this.rc.length+this.xc.length},empty:function(){return 0===this.rc.length&&0===this.xc.length},push:function(a){0==a.Te?this.xc.push(a):this.rc.push(a)},FC:function(){this.xc.length=0},EC:function(){this.rc.length=0},clear:function(){this.xc.length=0;this.rc.length=0},SM:function(){return this.rc},tN:function(){return this.xc}});
- c.Kj=function(a){var b=c.Ka,d=a.hf;if(d===b.rg)return c.Fe.La;if(d===b.Uh)return a.Mn;if(d===b.ug)return c.Ge.La;if(d===b.zg)return c.He.La;d===b.Gj&&c.log(c.d.Kj);return""};
- c.H={im:0,tj:1,Vh:2,cI:3,Jc:{},Bi:{},Fd:{},pk:{},Wr:{},sh:[],oi:[],Ff:0,Zg:!1,qs:0,MA:[c.Da.nm,c.Da.vj],Ak:function(a){null!=this.Fd[a.G]&&this.oi.push(a);a=a.o;for(var b=0,d=a.length;b<d;b++)this.Ak(a[b])},Jh:function(a,b){var d=this.Fd[a.G],e,f;if(d)for(e=0,f=d.length;e<f;e++)d[e].Ko(!0);if(!0===b)for(d=a.o,e=0,f=d.length;e<f;e++)this.Jh(d[e],!0)},ze:function(a,b){var d=this.Fd[a.G],e,f;if(d)for(e=0,f=d.length;e<f;e++)d[e].Ko(!1);this.Ak(a);if(!0===b)for(d=a.o,e=0,f=d.length;e<f;e++)this.ze(d[e],
- !0)},zr:function(a){0===this.Ff?this.Sr(a):this.sh.push(a)},Sr:function(a){var b=a.Dd,d=this.Jc[b];d||(d=new c.lz,this.Jc[b]=d);d.push(a);0==a.Te?(this.Of(b,this.Vh),b=a.bc,null==b&&c.log(c.d.dD),this.Bz(b,a),b.Id&&this.ze(b)):this.Of(b,this.tj)},Tn:function(a){return this.Jc[a]},ZB:function(){if(0!=this.oi.length){for(var a=this.oi,b,d,e=this.Fd,f=0,g=a.length;f<g;f++)if(b=e[a[f].G])for(var h=0,k=b.length;h<k;h++)(d=b[h])&&this.Of(d.Dd,this.Vh);this.oi.length=0}},Fs:function(a){if(a)for(var b,d=
- 0;d<a.length;)b=a[d],b.Ci(!1),null!=b.bc&&(this.Lr(b.bc,b),b.Di(null)),0===this.Ff?c.gc(a,b):++d},Lf:function(a){var b=this.Jc[a];if(b){var d=b.rc;this.Fs(b.xc);this.Fs(d);delete this.Bi[a];this.Ff||(b.clear(),delete this.Jc[a])}for(var d=this.sh,e,b=0;b<d.length;)(e=d[b])&&e.Dd==a?c.gc(d,e):++b},So:function(a){var b=this.im,d=this.Bi;d[a]&&(b=d[a]);b!=this.im&&(d[a]=this.im,b&this.tj&&this.QB(a),b&this.Vh&&((b=c.S.hb)?this.SB(a,b):d[a]=this.Vh))},SB:function(a,b){var d=this.Tn(a);if(d){var e=d.xc;
- e&&0!==e.length&&(this.qs=0,this.pk={},this.rp(b,!0),d.xc.sort(this.PB))}},PB:function(a,b){var d=c.H.pk;return d[b.bc.G]-d[a.bc.G]},QB:function(a){if(a=this.Jc[a]){var b=a.rc;if(b&&0!==b.length){b.sort(this.RB);for(var d=0,e=b.length;d<e&&!(0<=b[d].Te);)++d;a.Ut=d}}},RB:function(a,b){return a.Te-b.Te},mo:function(a){if(a=this.Jc[a]){var b=a.rc,d=a.xc,e,f;if(d)for(e=0;e<d.length;)f=d[e],f.wc?++e:c.gc(d,f);if(b)for(e=0;e<b.length;)f=b[e],f.wc?++e:c.gc(b,f);d&&0===d.length&&a.FC();b&&0===b.length&&
- a.EC()}},Lk:function(a){var b=this.Ff;c.assert(0<b,c.d.jw);a.hf==c.Ka.Gj?(this.mo(c.td.La),this.mo(c.sd.La)):this.mo(c.Kj(a));if(!(1<b)){c.assert(1==b,c.d.kw);a=this.Jc;var b=this.Bi,d;for(d in a)a[d].empty()&&(delete b[d],delete a[d]);d=this.sh;if(0!==d.length){a=0;for(b=d.length;a<b;a++)this.Sr(d[a]);this.sh.length=0}}},$A:function(a,b){if(!a.NA)return!1;var d=b.event,e=b.Su;d.Ho(a.bc);var f=!1,g,h=d.Qe,k=c.Bc.tg;h==k.Yl?a.nd&&(f=a.nd(e,d))&&a.wc&&a.Ng.push(e):0<a.Ng.length&&-1!=(g=a.Ng.indexOf(e))&&
- (f=!0,h===k.wm&&a.Fl?a.Fl(e,d):h===k.lm?(a.El&&a.El(e,d),a.wc&&a.Ng.splice(g,1)):h===k.cm&&(a.Dl&&a.Dl(e,d),a.wc&&a.Ng.splice(g,1)));return d.Hf?(c.H.Lk(d),!0):f&&a.wc&&a.Vd?(b.mF&&b.touches.splice(e,1),!0):!1},Rz:function(a){this.So(c.td.La);this.So(c.sd.La);var b=this.Tn(c.td.La),d=this.Tn(c.sd.La);if(null!=b||null!=d){var e=a.gf,f=c.xt(e),g={event:a,mF:b&&d,touches:f,Su:null};if(b)for(var h=0;h<e.length;h++)if(g.Su=e[h],this.Gn(b,this.$A,g),a.Hf)return;if(d&&0<f.length&&(this.Gn(d,this.aB,{event:a,
- touches:f}),a.Hf))return;this.Lk(a)}},aB:function(a,b){if(!a.wc)return!1;var d=c.Bc.tg,e=b.event,f=b.touches,g=e.Qe;e.Ho(a.bc);g==d.Yl&&a.cj?a.cj(f,e):g==d.wm&&a.fj?a.fj(f,e):g==d.lm&&a.ej?a.ej(f,e):g==d.cm&&a.dj&&a.dj(f,e);return e.Hf?(c.H.Lk(e),!0):!1},Bz:function(a,b){var d=this.Fd[a.G];d||(d=[],this.Fd[a.G]=d);d.push(b)},Lr:function(a,b){var d=this.Fd[a.G];d&&(c.gc(d,b),0===d.length&&delete this.Fd[a.G])},Gn:function(a,b,d){var e=!1,f=a.rc,g=a.xc,h=0,k;if(f&&0!==f.length)for(;h<a.Ut;++h)if(k=
- f[h],k.isEnabled()&&!k.vb&&k.wc&&b(k,d)){e=!0;break}if(g&&!e)for(a=0;a<g.length;a++)if(k=g[a],k.isEnabled()&&!k.vb&&k.wc&&b(k,d)){e=!0;break}if(f&&!e)for(;h<f.length&&(k=f[h],!k.isEnabled()||k.vb||!k.wc||!b(k,d));++h);},Of:function(a,b){var d=this.Bi;d[a]=null==d[a]?b:b|d[a]},rp:function(a,b){var d=a.o,e=0,f=d.length,g=this.Wr,h=this.Fd;if(0<f){for(var k;e<f;e++)if((k=d[e])&&0>k.ra)this.rp(k,!1);else break;null!=h[a.G]&&(g[a.ae]||(g[a.ae]=[]),g[a.ae].push(a.G));for(;e<f;e++)(k=d[e])&&this.rp(k,!1)}else null!=
- h[a.G]&&(g[a.ae]||(g[a.ae]=[]),g[a.ae].push(a.G));if(b){var d=[],m;for(m in g)d.push(m);d.sort(this.TB);m=d.length;k=this.pk;for(e=0;e<m;e++)for(f=g[d[e]],h=0;h<f.length;h++)k[f[h]]=++this.qs;this.Wr={}}},TB:function(a,b){return a-b},addListener:function(a,b){c.assert(a&&b,c.d.fD);if(!(a instanceof c.v))c.assert("number"!==typeof b,c.d.gD),a=c.v.create(a);else if(a.wc){c.log(c.d.hD);return}a.kf()&&("number"==typeof b?0==b?c.log(c.d.eD):(a.Di(null),a.Io(b),a.Ci(!0),a.Ko(!1),this.zr(a)):(a.Di(b),a.Io(0),
- a.Ci(!0),this.zr(a)))},gC:function(a,b){var d=c.di.create(a,b);this.addListener(d,1);return d},removeListener:function(a){if(null!=a){var b,d=this.Jc,e;for(e in d){var f=d[e],g=f.rc;(b=this.Gs(f.xc,a))?this.Of(a.Dd,this.Vh):(b=this.Gs(g,a))&&this.Of(a.Dd,this.tj);f.empty()&&(delete this.Bi[a.Dd],delete d[e]);if(b)break}if(!b)for(b=this.sh,d=0,e=b.length;d<e;d++)if(f=b[d],f==a){c.gc(b,f);break}}},Gs:function(a,b){if(null==a)return!1;for(var d=0,e=a.length;d<e;d++){var f=a[d];if(f==b)return f.Ci(!1),
- null!=f.bc&&(this.Lr(f.bc,f),f.Di(null)),0==this.Ff&&c.gc(a,f),!0}return!1},Ku:function(a,b){if(a instanceof c.j){delete this.pk[a.G];c.gc(this.oi,a);var d=this.Fd[a.G];if(d){for(var e=c.xt(d),d=0;d<e.length;d++)this.removeListener(e[d]);e.length=0;e=this.sh;for(d=0;d<e.length;){var f=e[d];f.bc==a?(f.Di(null),f.Ci(!1),e.splice(d,1)):++d}if(!0===b)for(e=a.o,d=0,f=e.length;d<f;d++)this.Ku(e[d],!0)}}else a==c.v.Yd?this.Lf(c.td.La):a==c.v.Qm?this.Lf(c.sd.La):a==c.v.zg?this.Lf(c.He.La):a==c.v.rg?this.Lf(c.Fe.La):
- a==c.v.ug?this.Lf(c.Ge.La):c.log(c.d.iD)},dS:function(a){this.Lf(a)},XR:function(){var a=this.Jc,b=this.MA,d;for(d in a)-1===b.indexOf(d)&&this.Lf(d)},bT:function(a,b){if(null!=a){var d=this.Jc,e;for(e in d){var f=d[e].rc;if(f&&-1!=f.indexOf(a)){null!=a.bc&&c.log(c.d.jD);a.Te!==b&&(a.Io(b),this.Of(a.Dd,this.tj));break}}}},Ol:function(a){this.Zg=a},isEnabled:function(){return this.Zg},dispatchEvent:function(a){if(this.Zg){this.ZB();this.Ff++;if(!a||!a.gE)throw"event is undefined";if(a.hf==c.Ka.Gj)this.Rz(a);
- else{var b=c.Kj(a);this.So(b);b=this.Jc[b];null!=b&&this.Gn(b,this.ZA,a);this.Lk(a)}this.Ff--}},ZA:function(a,b){b.Ho(a.bc);a.lo(b);return b.Hf},EL:function(a,b){var d=new c.Xd(a);d.setUserData(b);this.dispatchEvent(d)}};c.hw=c.Ka.extend({xr:null,ctor:function(a){c.Ka.prototype.ctor.call(this,c.Ka.rg);this.xr=a}});c.Sq=c.Ka.extend({fo:0,es:!1,ctor:function(a,b){c.Ka.prototype.ctor.call(this,c.Ka.ug);this.fo=a;this.es=b}});c.Fe=c.v.extend({rk:null,ctor:function(a){this.rk=a;var b=this;c.v.prototype.ctor.call(this,c.v.rg,c.Fe.La,function(a){b.rk(a.xr,a)})},kf:function(){c.assert(this.rk,c.d.hz);return!0},zb:function(){return new c.Fe(this.rk)}});c.Fe.La="__cc_acceleration";c.Fe.create=function(a){return new c.Fe(a)};
- c.Ge=c.v.extend({aj:null,bj:null,ctor:function(){var a=this;c.v.prototype.ctor.call(this,c.v.ug,c.Ge.La,function(b){b.es?a.aj&&a.aj(b.fo,b):a.bj&&a.bj(b.fo,b)})},zb:function(){var a=new c.Ge;a.aj=this.aj;a.bj=this.bj;return a},kf:function(){return null==this.aj&&null==this.bj?(c.log(c.d.iz),!1):!0}});c.Ge.La="__cc_keyboard";c.Ge.create=function(){return new c.Ge};c.i.jn=function(){var a=c.j.prototype;a.dt=null;a.Xo=null;a.Wn=null;a.Ig=null;a.ctor=function(){this.$n();var a=new c.u;a.c[2]=a.c[3]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=a.c[14]=0;a.c[10]=a.c[15]=1;this.dt=a;this.Wn=0;this.Xo=new c.u};a.T=function(){!1===this.ne&&(this.ne=this.fk=!0)};a.ka=function(){if(this.Wb){var a=c.e,d,e=c.Ca;e.stack.push(e.top);c.ue(this.Xo,e.top);e.top=this.Xo;var f=this.Eh;f&&f.rz&&f.zC();this.transform();var g=this.o;if(g&&0<g.length){var h=g.length;this.Kb();for(d=0;d<h;d++)if(g[d]&&
- 0>g[d].ra)g[d].ka();else break;for(this.oa(a);d<h;d++)g[d]&&g[d].ka()}else this.oa(a);this.arrivalOrder=0;f&&f.rz&&f.jC(this);e.top=e.stack.pop()}};a.transform=function(){var a=this.dt,d=c.Ca.top,e=this.$i(),f=a.c;f[0]=e.a;f[4]=e.p;f[12]=e.N;f[1]=e.b;f[5]=e.s;f[13]=e.O;f[14]=this.Pk;c.ve(d,d,a);null==this.Ig||null!=this.Eh&&this.Eh.cu()||(a=this.Ya.x,d=this.Ya.y,0!==a||0!==d?(c.jr||(a|=0,d|=0),c.hu(a,d),this.Ig.yu(),c.hu(-a,-d)):this.Ig.yu())};a.Od=a.pA};c.i.Bm=function(){var a=c.j.prototype;c.f(a,"x",a.TD,a.sG);c.f(a,"y",a.UD,a.tG);c.f(a,"width",a.Ef,a.ie);c.f(a,"height",a.Df,a.he);c.f(a,"anchorX",a.aA,a.rB);c.f(a,"anchorY",a.bA,a.sB);c.f(a,"skewX",a.bE,a.CG);c.f(a,"skewY",a.cE,a.DG);c.f(a,"zIndex",a.GD,a.Yu);c.f(a,"vertexZ",a.jE,a.LG);c.f(a,"rotation",a.YD,a.xG);c.f(a,"rotationX",a.ZD,a.yG);c.f(a,"rotationY",a.$D,a.zG);c.f(a,"scale",a.aE,a.bv);c.f(a,"scaleX",a.Lt,a.AG);c.f(a,"scaleY",a.Mt,a.BG);c.f(a,"children",a.qD);c.f(a,"childrenCount",a.rD);
- c.f(a,"parent",a.getParent,a.Zu);c.f(a,"visible",a.IE,a.Td);c.f(a,"running",a.GE);c.f(a,"ignoreAnchor",a.EE,a.Up);c.f(a,"actionManager",a.$k,a.Tu);c.f(a,"scheduler",a.jd,a.cv);c.f(a,"shaderProgram",a.Mp,a.yq);c.f(a,"glServerState",a.BD,a.iG);c.f(a,"opacity",a.al,a.Xa);c.f(a,"opacityModifyRGB",a.Vi,a.og);c.f(a,"cascadeOpacity",a.BE,a.XF);c.f(a,"color",a.zh,a.Z);c.f(a,"cascadeColor",a.AE,a.WF)};c.Zq=-1;c.pq=1;
- c.j=c.$.extend({ra:0,ae:0,Pk:0,ge:0,Mf:0,U:1,ca:1,Lc:null,kh:0,lh:0,o:null,Wb:!0,lb:null,Ya:null,q:null,Id:!1,nb:null,de:!1,tag:c.Zq,userData:null,userObject:null,ne:!0,fk:!0,wd:!0,ji:null,zK:null,Tf:null,as:null,wb:!1,xb:null,arrivalOrder:0,Fc:null,yc:null,XJ:null,$r:!1,fi:!1,Pj:null,Ne:null,eo:!1,hh:0,yk:0,xd:"Node",Qo:!1,fh:"",eb:255,Kf:255,Aa:null,Hd:null,yf:!1,Jg:!1,BK:!1,eK:0,$n:function(){this.lb=z(0,0);this.Ya=z(0,0);this.q=A(0,0);this.Lc=z(0,0);this.o=[];this.Tf={a:1,b:0,p:0,s:1,N:0,O:0};
- var a=c.S;this.Fc=a.$k();this.yc=a.jd();this.$r=!0;this.Pj={a:1,b:0,p:0,s:1,N:0,O:0};c.Qv&&(this.Ne=new c.Qv(this));this.Kf=this.eb=255;this.Aa=c.color(255,255,255,255);this.Hd=c.color(255,255,255,255);this.Jg=this.yf=!1},ga:function(){!1===this.$r&&this.$n();return!0},Gc:function(a,b){if(a&&0!==a.length){var d,e=a.length,f;d=c.j.mc;switch(b){case d.qf:for(d=0;d<e;d++)(f=a[d])&&f.qf();break;case d.md:for(d=0;d<e;d++)(f=a[d])&&f.md();break;case d.Hh:for(d=0;d<e;d++)(f=a[d])&&f.Hh();break;case d.qe:for(d=
- 0;d<e;d++)(f=a[d])&&f.qe();break;case d.kc:for(d=0;d<e;d++)(f=a[d])&&f.kc();break;case d.ye:for(d=0;d<e;d++)(f=a[d])&&f.ye();break;case d.Kb:for(d=0;d<e;d++)(f=a[d])&&f.Kb();break;default:c.assert(0,c.d.Fw)}}},T:null,YK:function(a){for(var b in a)this[b]=a[b]},bE:function(){return this.kh},CG:function(a){this.kh=a;this.T()},cE:function(){return this.lh},DG:function(a){this.lh=a;this.T()},Yu:function(a){this.ra=a;this.nb&&this.nb.lj(this,a);c.H.Ak(this)},Rs:function(a){this.ra=a},GD:function(){return this.ra},
- RN:function(){c.log(c.d.Lw);return this.ra},ET:function(a){c.log(c.d.Ww);this.Yu(a)},RS:function(a){this.ae!=a&&(this.ae=a,c.H.Ak(this))},VM:function(){return this.ae},jE:function(){return this.Pk},LG:function(a){this.Pk=a},YD:function(){this.ge!==this.Mf&&c.log(c.d.Jw);return this.ge},xG:function(a){this.ge=this.Mf=a;this.hh=0.017453292519943295*this.ge;this.yk=0.017453292519943295*this.Mf;this.T()},ZD:function(){return this.ge},yG:function(a){this.ge=a;this.hh=0.017453292519943295*this.ge;this.T()},
- $D:function(){return this.Mf},zG:function(a){this.Mf=a;this.yk=0.017453292519943295*this.Mf;this.T()},aE:function(){this.U!==this.ca&&c.log(c.d.Kw);return this.U},bv:function(a,b){this.U=a;this.ca=b||0===b?b:a;this.T()},Lt:function(){return this.U},AG:function(a){this.U=a;this.T()},Mt:function(){return this.ca},BG:function(a){this.ca=a;this.T()},L:function(a,b){var d=this.Lc;void 0===b?(d.x=a.x,d.y=a.y):(d.x=a,d.y=b);this.T()},SD:function(){return z(this.Lc)},TD:function(){return this.Lc.x},sG:function(a){this.Lc.x=
- a;this.T()},UD:function(){return this.Lc.y},tG:function(a){this.Lc.y=a;this.T()},rD:function(){return this.o.length},qD:function(){return this.o},IE:function(){return this.Wb},Td:function(a){this.Wb!=a&&(this.Wb=a)&&this.T()},oM:function(){return z(this.lb)},Ml:function(a,b){var d=this.lb;if(void 0===b){if(a.x===d.x&&a.y===d.y)return;d.x=a.x;d.y=a.y}else{if(a===d.x&&b===d.y)return;d.x=a;d.y=b}var e=this.Ya,f=this.q;e.x=f.width*d.x;e.y=f.height*d.y;this.T()},ZJ:function(){return this.lb},rK:function(a){var b=
- a.x;a=a.y;this.lb.x!==b&&(this.lb.x=b,this.Ya.x=this.q.width*b);this.lb.y!==a&&(this.lb.y=a,this.Ya.y=this.q.height*a);this.T()},aA:function(){return this.lb.x},rB:function(a){this.lb.x!==a&&(this.lb.x=a,this.Ya.x=this.q.width*a,this.T())},bA:function(){return this.lb.y},sB:function(a){this.lb.y!==a&&(this.lb.y=a,this.Ya.y=this.q.height*a,this.T())},Fp:function(){return z(this.Ya)},Ef:function(){return this.q.width},ie:function(a){this.q.width=a;this.Ya.x=a*this.lb.x;this.T()},Df:function(){return this.q.height},
- he:function(a){this.q.height=a;this.Ya.y=a*this.lb.y;this.T()},Qc:function(){return A(this.q)},Tc:function(a,b){var d=this.q;if(void 0===b){if(a.width===d.width&&a.height===d.height)return;d.width=a.width;d.height=a.height}else{if(a===d.width&&b===d.height)return;d.width=a;d.height=b}var e=this.Ya,f=this.lb;e.x=d.width*f.x;e.y=d.height*f.y;this.T()},GE:function(){return this.Id},getParent:function(){return this.nb},Zu:function(a){this.nb=a},EE:function(){return this.de},Up:function(a){a!=this.de&&
- (this.de=a,this.T())},Dh:function(){return this.tag},Ae:function(a){this.tag=a},oG:function(a){this.fh=a},getName:function(){return this.fh},getUserData:function(){return this.userData},setUserData:function(a){this.userData=a},LN:function(){return this.userObject},BT:function(a){this.userObject!=a&&(this.userObject=a)},jN:function(){return this.arrivalOrder},qG:function(a){if(NaN==this.arrivalOrder)debugger;this.arrivalOrder=a},$k:function(){this.Fc||(this.Fc=c.S.$k());return this.Fc},Tu:function(a){this.Fc!=
- a&&(this.jv(),this.Fc=a)},jd:function(){this.yc||(this.yc=c.S.jd());return this.yc},cv:function(a){this.yc!=a&&(this.Sl(),this.yc=a)},dL:function(){c.log(c.d.Hw);return this.pD()},pD:function(){return c.iB(B(0,0,this.q.width,this.q.height),this.Od())},qe:function(){this.jv();this.Sl();c.H.Ku(this);this.Gc(this.o,c.j.mc.qe)},Ip:function(a){var b=this.o;if(null!=b)for(var d=0;d<b.length;d++){var e=b[d];if(e&&e.tag==a)return e}return null},AM:function(a){if(!a)return c.log("Invalid name"),null;for(var b=
- this.o,d=0,e=b.length;d<e;d++)if(b[d].fh==a)return b[d];return null},J:function(a,b,d){b=void 0===b?a.ra:b;var e,f=!1;switch(typeof d){case "undefined":d=void 0;e=a.fh;break;case "string":e=d;d=void 0;break;case "number":f=!0,e=""}c.assert(a,c.d.Gw);c.assert(null===a.nb,"child already added. It can't be added again");this.fC(a,b,d,e,f)},fC:function(a,b,d,e,f){this.o||(this.o=[]);this.JA(a,b);f?a.Ae(d):a.oG(e);a.Zu(this);a.qG(c.pq++);this.Id&&(a.qf(),this.eo&&a.Hh());this.yf&&this.Or();this.Jg&&this.Pr()},
- KF:function(a){this.nb&&(null==a&&(a=!0),this.nb.removeChild(this,a))},eS:function(a){c.log(c.d.Qw);this.KF(a)},removeChild:function(a,b){0!==this.o.length&&(null==b&&(b=!0),-1<this.o.indexOf(a)&&this.Nz(a,b),this.T())},bS:function(a,b){a===c.Zq&&c.log(c.d.Ow);var d=this.Ip(a);null==d?c.log(c.d.Pw,a):this.removeChild(d,b)},VR:function(a){c.log(c.d.Nw);this.sf(a)},sf:function(a){var b=this.o;if(null!=b){null==a&&(a=!0);for(var d=0;d<b.length;d++){var e=b[d];e&&(this.Id&&(e.ye(),e.md()),a&&e.qe(),e.parent=
- null)}this.o.length=0}},Nz:function(a,b){this.Id&&(a.ye(),a.md());b&&a.qe();a.parent=null;c.gc(this.o,a)},JA:function(a,b){this.wb=!0;this.o.push(a);a.Rs(b)},lj:function(a,b){c.assert(a,c.d.Rw);this.wb=!0;a.arrivalOrder=c.pq;c.pq++;a.Rs(b);this.T()},Kb:function(){if(this.wb){var a=this.o,b=a.length,d,e,f;for(d=1;d<b;d++){f=a[d];for(e=d-1;0<=e;){if(f.ra<a[e].ra)a[e+1]=a[e];else if(f.ra===a[e].ra&&f.arrivalOrder<a[e].arrivalOrder)a[e+1]=a[e];else break;e--}a[e+1]=f}this.wb=!1}},oa:function(){},qv:function(){null!=
- this.nb&&(this.nb.qv(),this.nb.transform())},qf:function(){this.eo=!1;this.Id=!0;this.Gc(this.o,c.j.mc.qf);this.nq()},Hh:function(){this.eo=!0;this.Gc(this.o,c.j.mc.Hh)},ye:function(){this.Gc(this.o,c.j.mc.ye)},md:function(){this.Id=!1;this.pause();this.Gc(this.o,c.j.mc.md)},qS:function(a){c.assert(a,c.d.Tw);this.actionManager.eC(a,this,!this.Id);return a},jv:function(){this.actionManager&&this.actionManager.Ju(this)},OT:function(a){this.actionManager.Iu(a)},PT:function(a){a===c.Wl?c.log(c.d.Xw):
- this.actionManager.HF(a,this)},Et:function(a){return a===c.Wl?(c.log(c.d.Iw),null):this.actionManager.Et(a,this)},gN:function(){return this.actionManager.nF(this)},uS:function(){this.SF(0)},SF:function(a){this.scheduler.rq(this,a,!this.Id)},eU:function(){this.scheduler.rj(this)},qq:function(a,b,d,e){b=b||0;c.assert(a,c.d.Uw);c.assert(0<=b,c.d.Vw);d=null==d?c.Ag:d;this.scheduler.Ru(this,a,b,d,e||0,!this.Id)},tS:function(a,b){this.qq(a,0,0,b)},sv:function(a){a&&this.scheduler.Tl(this,a)},Sl:function(){this.scheduler.tv(this)},
- pS:function(){c.log(c.d.Sw);this.nq()},nq:function(){this.scheduler.ze(this);this.actionManager&&this.actionManager.ze(this);c.H.ze(this)},xR:function(){c.log(c.d.Mw);this.pause()},pause:function(){this.scheduler.Jh(this);this.actionManager&&this.actionManager.Jh(this);c.H.Jh(this)},zS:function(a){this.Pj=a;this.fi=this.ne=!0},RD:function(){this.fk&&(this.as=c.mt(this.Od()),this.fk=!1);return this.as},uR:function(){return this.RD()},Kp:function(){for(var a=this.Od(),b=this.nb;null!=b;b=b.parent)a=
- c.$f(a,b.Od());return a},yl:function(){return this.Kp()},St:function(){return c.mt(this.Kp())},oU:function(){return this.St()},Ni:function(a){return c.Eu(a,this.St())},wt:function(a){a=a||z(0,0);return c.Eu(a,this.Kp())},KC:function(a){return c.Sc(this.Ni(a),this.Ya)},pL:function(a){a=a||z(0,0);return this.wt(c.Gl(a,this.Ya))},QJ:function(a){a=this.wt(a);return c.S.LC(a)},qL:function(a){return this.Ni(a.hg())},rL:function(a){a=a.hg();a=c.S.JC(a);return this.KC(a)},update:function(a){this.Ne&&!this.Ne.nO()&&
- this.Ne.ka(a)},kc:function(){this.Gc(this.o,c.j.mc.kc)},oq:function(){},Nh:function(){},sD:function(a){return this.Ne.sD(a)},EK:function(a){this.Ne.add(a)},cS:function(a){return this.Ne.remove(a)},WR:function(){this.Ne.TR()},Eh:null,ctor:null,ka:null,transform:null,$i:function(){return this.Od()},Od:null,ih:function(){if(!1===this.wd){this.wd=!0;var a=this.ji;a&&a!=this&&a.ih()}},Go:function(a){if(this.ji!=a){this.ji=a;for(var b=this.o,d=0,e=b.length;d<e;d++)b[d].Go(a)}},xM:function(){this.Ig||(this.Ig=
- new c.em);return this.Ig},WM:function(){return this.Eh},SS:function(a){this.Eh=a},Mp:function(){return this.xb},yq:function(a){this.xb=a},BD:function(){return this.Wn},iG:function(a){this.Wn=a},sM:function(){var a=B(0,0,this.q.width,this.q.height),b=this.yl(),a=c.kq(a,this.yl());if(!this.o)return a;for(var d=this.o,e=0;e<d.length;e++){var f=d[e];f&&f.Wb&&(f=f.ti(b))&&(a=c.Jl(a,f))}return a},ti:function(a){var b=B(0,0,this.q.width,this.q.height);a=null==a?this.Od():c.$f(this.Od(),a);b=c.kq(b,a);if(!this.o)return b;
- for(var d=this.o,e=0;e<d.length;e++){var f=d[e];f&&f.Wb&&(f=f.ti(a))&&(b=c.Jl(b,f))}return b},pA:function(){if(this.ne){var a=this.Lc.x,b=this.Lc.y,d=this.Ya.x,e=-d,f=this.Ya.y,g=-f,h=this.U,k=this.ca;this.de&&(a+=d,b+=f);var m=1,n=0,r=1,s=0;if(0!==this.ge||0!==this.Mf)m=Math.cos(-this.hh),n=Math.sin(-this.hh),r=Math.cos(-this.yk),s=Math.sin(-this.yk);var t=this.kh||this.lh;t||0===d&&0===f||(a+=r*e*h+-n*g*k,b+=s*e*h+m*g*k);var u=this.Tf;u.a=r*h;u.b=s*h;u.p=-n*k;u.s=m*k;u.N=a;u.O=b;t&&(u=c.$f({a:1,
- b:Math.tan(c.Wk(this.lh)),p:Math.tan(c.Wk(this.kh)),s:1,N:0,O:0},u),0!==d||0!==f)&&(u=c.iC(u,e,g));this.fi&&(u=c.$f(u,this.Pj),this.fi=!1);this.Tf=u;this.ne=!1}return this.Tf},ab:function(){},al:function(){return this.Kf},MM:function(){return this.eb},Xa:function(a){this.eb=this.Kf=a;var b=255,d=this.nb;d&&d.cascadeOpacity&&(b=d.eb);this.Ab(b);this.Aa.a=this.Hd.a=a},Ab:function(a){this.eb=this.Kf*a/255;if(this.Jg){a=this.o;for(var b=0;b<a.length;b++){var d=a[b];d&&d.Ab(this.eb)}}},BE:function(){return this.Jg},
- XF:function(a){this.Jg!==a&&((this.Jg=a)?this.Pr():this.Qz())},Pr:function(){var a=255,b=this.nb;b&&b.cascadeOpacity&&(a=b.eb);this.Ab(a)},Qz:function(){this.eb=this.Kf;for(var a=this.o,b=0;b<a.length;b++){var d=a[b];d&&d.Ab(255)}},zh:function(){var a=this.Hd;return c.color(a.r,a.g,a.b,a.a)},Gt:function(){var a=this.Aa;return c.color(a.r,a.g,a.b,a.a)},Z:function(a){var b=this.Aa,d=this.Hd;b.r=d.r=a.r;b.g=d.g=a.g;b.b=d.b=a.b;a=(a=this.nb)&&a.cascadeColor?a.Gt():c.color.WHITE;this.Lb(a)},Lb:function(a){var b=
- this.Aa,d=this.Hd;b.r=0|d.r*a.r/255;b.g=0|d.g*a.g/255;b.b=0|d.b*a.b/255;if(this.yf)for(a=this.o,d=0;d<a.length;d++){var e=a[d];e&&e.Lb(b)}},AE:function(){return this.yf},WF:function(a){this.yf!==a&&((this.yf=a)?this.Or():this.Pz())},Or:function(){var a;a=(a=this.nb)&&a.cascadeColor?a.Gt():c.color.WHITE;this.Lb(a)},Pz:function(){var a=this.Aa,b=this.Hd;a.r=b.r;a.g=b.g;a.b=b.b;for(var a=this.o,b=c.color.WHITE,d=0;d<a.length;d++){var e=a[d];e&&e.Lb(b)}},og:function(){},Vi:function(){return!1}});
- c.j.create=function(){return new c.j};c.j.mc={qf:1,md:2,qe:3,Hh:4,kc:5,ye:6,Kb:7};
- c.Ba===c.cb?(p=c.j.prototype,p.ctor=function(){this.$n()},p.T=function(){this.ih();!1===this.ne&&(this.ne=this.fk=!0)},p.ka=function(a){if(this.Wb){a=a||c.e;var b,d=this.o,e;a.save();this.transform(a);var f=d.length;if(0<f){this.Kb();for(b=0;b<f;b++)if(e=d[b],0>e.ra)e.ka(a);else break;for(this.oa(a);b<f;b++)d[b].ka(a)}else this.oa(a);this.wd=!1;this.arrivalOrder=0;a.restore()}},p.transform=function(a){a=a||c.e;var b=c.view,d=this.Od();a.transform(d.a,d.p,d.b,d.s,d.N*b.U,-d.O*b.ca)},p.Od=function(){if(this.ne){var a=
- this.Tf;a.N=this.Lc.x;a.O=this.Lc.y;var b=1,d=0;this.ge&&(b=Math.cos(this.hh),d=Math.sin(this.hh));a.a=a.s=b;a.b=-d;a.p=d;var e=this.U,f=this.ca,g=this.Ya.x,h=this.Ya.y,k=1E-6>e&&-1E-6<e?1E-6:e,m=1E-6>f&&-1E-6<f?1E-6:f;if(this.kh||this.lh){var n=Math.tan(-this.kh*Math.PI/180),r=Math.tan(-this.lh*Math.PI/180);Infinity===n&&(n=99999999);Infinity===r&&(r=99999999);var s=h*n*k,t=g*r*m;a.a=b+-d*r;a.b=b*n+-d;a.p=d+b*r;a.s=d*n+b;a.N+=b*s+-d*t;a.O+=d*s+b*t}if(1!==e||1!==f)a.a*=k,a.p*=k,a.b*=m,a.s*=m;a.N+=
- b*-g*k+-d*h*m;a.O-=d*-g*k+b*h*m;this.de&&(a.N+=g,a.O+=h);this.fi&&(this.Tf=c.$f(a,this.Pj),this.fi=!1);this.ne=!1}return this.Tf},p=null):(c.assert("function"===typeof c.i.jn,c.d.bb,"BaseNodesWebGL.js"),c.i.jn(),delete c.i.jn);c.assert("function"===typeof c.i.Bm,c.d.bb,"BaseNodesPropertyDefine.js");c.i.Bm();delete c.i.Bm;c.j.XI=0;c.j.ZI=1;c.j.YI=2;c.j.$I=3;c.j.WI=4;c.Xl=c.j.extend({textureAtlas:null,quadsToDraw:0,hs:0,gs:0,hk:0,gk:0,zf:null,Ma:!1,A:null,Yn:!1,xd:"AtlasNode",ctor:function(a,b,d,e){c.j.prototype.ctor.call(this);this.zf=c.color.WHITE;this.A={src:c.Nb,fa:c.Mb};this.Yn=!1;void 0!==e&&this.uE(a,b,d,e)},gU:function(){c.log(c.d.zv)},zh:function(){return this.Ma?this.zf:c.j.prototype.zh.call(this)},og:function(a){var b=this.color;this.Ma=a;this.color=b},Vi:function(){return this.Ma},Hp:function(){return this.A},mj:function(a,b){this.A=void 0===b?a:{src:a,
- fa:b}},ev:function(a){this.textureAtlas=a},Ot:function(){return this.textureAtlas},pN:function(){return this.quadsToDraw},cT:function(a){this.quadsToDraw=a},Sf:null,fb:null,ip:null,ki:null,uE:function(a,b,d,e){if(!a)throw"cc.AtlasNode.initWithTileFile(): title should not be null";a=c.qa.fc(a);return this.pa(a,b,d,e)},pa:null,ao:function(a,b,d,e){this.hk=b;this.gk=d;this.Ma=!0;this.fb=a;if(!this.fb)return c.log(c.d.Iq),!1;this.Sf=this.fb;this.Tj();this.quadsToDraw=e;return!0},bo:function(a,b,d,e){this.hk=
- b;this.gk=d;this.zf=c.color.WHITE;this.Ma=!0;this.A.src=c.Nb;this.A.fa=c.Mb;b=this.Hd;this.ki=new Float32Array([b.r/255,b.g/255,b.b/255,this.Kf/255]);this.textureAtlas=new c.Zd;this.textureAtlas.pa(a,e);if(!this.textureAtlas)return c.log(c.d.Iq),!1;this.Vf();this.gt();this.Tj();this.quadsToDraw=e;this.shaderProgram=c.Ud.Jb(c.Om);this.ip=c.e.getUniformLocation(this.shaderProgram.bl(),"u_color");return!0},oa:null,In:function(a){a=a||c.e;c.zu(this);c.mf(this.A.src,this.A.fa);this.ip&&this.ki&&(a.uniform4fv(this.ip,
- this.ki),this.textureAtlas.Bt(this.quadsToDraw))},Z:null,wB:function(a){var b=this.Hd;if(b.r!=a.r||b.g!=a.g||b.b!=a.b){b=c.color(a.r,a.g,a.b);this.zf=a;if(this.Ma){var d=this.eb;b.r=b.r*d/255;b.g=b.g*d/255;b.b=b.b*d/255}c.j.prototype.Z.call(this,a);this.Le()}},Le:function(){var a=this.Ea();if(a&&this.fb){var b=this.fb.ba;if(b){var d=a.ba,a=B(0,0,b.width,b.height);d instanceof HTMLCanvasElement?c.Zk(b,this.Aa,a,d):(d=c.Zk(b,this.Aa,a),a=new c.K,a.Ib(d),a.wa(),this.Qa(a))}}},xB:function(a){var b=c.color(a.r,
- a.g,a.b);this.zf=a;var d=this.eb;this.Ma&&(b.r=b.r*d/255,b.g=b.g*d/255,b.b=b.b*d/255);c.j.prototype.Z.call(this,a);a=this.Aa;this.ki=new Float32Array([a.r/255,a.g/255,a.b/255,d/255])},Xa:function(){},CB:function(a){c.j.prototype.Xa.call(this,a);this.Ma&&(this.color=this.zf)},DB:function(a){c.j.prototype.Xa.call(this,a);this.Ma?this.color=this.zf:(a=this.Aa,this.ki=new Float32Array([a.r/255,a.g/255,a.b/255,this.eb/255]))},Ea:null,Un:function(){return this.Sf},Vn:function(){return this.textureAtlas.texture},
- Qa:null,No:function(a){this.Sf=a},Oo:function(a){this.textureAtlas.texture=a;this.Vf();this.gt()},Tj:null,Ez:function(){var a=this.texture.Qc();this.gs=0|a.height/this.gk;this.hs=0|a.width/this.hk},Fz:function(){var a=this.texture,b=a.Qc();this.Yn&&(b=a.q);this.gs=0|b.height/this.gk;this.hs=0|b.width/this.hk},Vf:function(){this.textureAtlas.texture.Ti()||(this.A.src=c.SRC_ALPHA,this.A.fa=c.ONE_MINUS_SRC_ALPHA)},gt:function(){this.Ma=this.textureAtlas.texture.Ti()},Jo:function(a){this.Yn=a}});p=c.Xl.prototype;
- c.Ba===c.Ec?(p.pa=p.bo,p.oa=p.In,p.Z=p.xB,p.Xa=p.DB,p.Ea=p.Vn,p.Qa=p.Oo,p.Tj=p.Fz):(p.pa=p.ao,p.oa=c.j.prototype.oa,p.Z=p.wB,p.Xa=p.CB,p.Ea=p.Un,p.Qa=p.No,p.Tj=p.Ez,c.Ja.ct||(p.Le=function(){var a,b=this.Ea();if(b&&this.fb&&(a=b.ba)){var d=this.fb.ba;if(b=c.qa.Pt(d))d=B(0,0,d.width,d.height),a instanceof HTMLCanvasElement?c.Yk(a,b,this.Aa,d,a):(a=c.Yk(a,b,this.Aa,d),b=new c.K,b.Ib(a),b.wa(),this.Qa(b))}}));c.f(p,"opacity",p.al,p.Xa);c.f(p,"color",p.zh,p.Z);c.f(p,"texture",p.Ea,p.Qa);
- c.Xl.create=function(a,b,d,e){return new c.Xl(a,b,d,e)};c.i.pn=function(){c.K=c.$.extend({lK:!0,gh:null,fe:0,ee:0,fh:"",q:null,Rd:0,Sd:0,dk:!1,Wg:!1,shaderProgram:null,mb:!1,ba:null,oe:null,url:null,Va:null,ctor:function(){this.q=A(0,0);this.gh=c.K.At},mq:function(){this.oe&&c.e.deleteTexture(this.oe);c.D.Nh(this.url)},Ht:function(){return this.gh},Jt:function(){return this.fe},It:function(){return this.ee},getName:function(){return this.oe},Qc:function(){return A(this.q.width/c.Pa(),this.q.height/c.Pa())},Ef:function(){return this.q.width/c.Pa()},Df:function(){return this.q.height/
- c.Pa()},tD:function(){return this.q},LD:function(){return this.Rd},mG:function(a){this.Rd=a},MD:function(){return this.Sd},nG:function(a){this.Sd=a},Mp:function(){return this.shaderProgram},yq:function(a){this.shaderProgram=a},Ti:function(){return this.dk},oE:function(){return this.Wg},description:function(){return"\x3ccc.Texture2D | Name \x3d "+this.fh+" | Dimensions \x3d "+this.fe+" x "+this.ee+" | Coordinates \x3d ("+this.Rd+", "+this.Sd+")\x3e"},GF:function(){},LE:function(a){return a},Xt:function(a,
- b,d,e,f){var g=c.K,h=c.e,k=h.RGBA,m=h.UNSIGNED_BYTE,n=d*c.K.tr[b]/8;0===n%8?h.pixelStorei(h.UNPACK_ALIGNMENT,8):0===n%4?h.pixelStorei(h.UNPACK_ALIGNMENT,4):0===n%2?h.pixelStorei(h.UNPACK_ALIGNMENT,2):h.pixelStorei(h.UNPACK_ALIGNMENT,1);this.oe=h.createTexture();c.Rc(this);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,
- h.CLAMP_TO_EDGE);switch(b){case g.Yh:k=h.RGBA;break;case g.Xh:k=h.RGB;break;case g.Aj:m=h.UNSIGNED_SHORT_4_4_4_4;break;case g.zj:m=h.UNSIGNED_SHORT_5_5_5_1;break;case g.Wh:m=h.UNSIGNED_SHORT_5_6_5;break;case g.zm:k=h.LUMINANCE_ALPHA;break;case g.yj:k=h.ALPHA;break;case g.Am:k=h.LUMINANCE;break;default:c.assert(0,c.d.uy)}h.texImage2D(h.TEXTURE_2D,0,k,d,e,0,k,m,a);this.q.width=f.width;this.q.height=f.height;this.fe=d;this.ee=e;this.gh=b;this.Rd=f.width/d;this.Sd=f.height/e;this.Wg=this.dk=!1;this.shaderProgram=
- c.Ud.Jb(c.Dj);return this.mb=!0},OC:function(a){var b=[0,this.Sd,this.Rd,this.Sd,0,0,this.Rd,0],d=this.fe*this.Rd,e=this.ee*this.Sd;a=[a.x,a.y,0,d+a.x,a.y,0,a.x,e+a.y,0,d+a.x,e+a.y,0];c.Hb(c.Pb|c.Ij);this.xb.Bb();this.xb.gv();c.Rc(this);d=c.e;d.vertexAttribPointer(c.ya,2,d.FLOAT,!1,0,a);d.vertexAttribPointer(c.Dc,2,d.FLOAT,!1,0,b);d.drawArrays(d.TRIANGLE_STRIP,0,4)},SC:function(a){var b=[0,this.Sd,this.Rd,this.Sd,0,0,this.Rd,0];a=[a.x,a.y,a.x+a.width,a.y,a.x,a.y+a.height,a.x+a.width,a.y+a.height];
- c.Hb(c.Pb|c.Ij);this.xb.Bb();this.xb.gv();c.Rc(this);var d=c.e;d.vertexAttribPointer(c.ya,2,d.FLOAT,!1,0,a);d.vertexAttribPointer(c.Dc,2,d.FLOAT,!1,0,b);d.drawArrays(d.TRIANGLE_STRIP,0,4)},Yt:function(a){if(null==a)return c.log(c.d.xy),!1;var b=a.lE(),d=a.CD(),e=c.vt.ok;if(b>e||d>e)return c.log(c.d.yy,b,d,e,e),!1;this.mb=!0;return this.FA(a,b,d)},Ib:function(a){a&&(this.oe=c.e.createTexture(),this.ba=a)},ED:function(){return this.ba},FE:function(){return this.mb},wa:function(){if(c.wk){if(!this.ba){var a=
- c.D.hd(this.url);if(!a)return;this.Ib(a)}this.ba.width&&this.ba.height&&(this.mb=!0,a=c.e,c.Rc(this),a.pixelStorei(a.UNPACK_ALIGNMENT,4),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.ba),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=c.Ud.Jb(c.Dj),c.Rc(null),a=this.ba.height,
- this.fe=this.q.width=this.ba.width,this.ee=this.q.height=a,this.gh=c.K.Yh,this.Sd=this.Rd=1,this.Wg=this.dk=!1,this.Hc())}},nf:function(){c.log(c.d.Dy);return null},qE:function(){c.log(c.d.wy);return!1},rE:function(){c.log(c.d.Ay);return!1},sE:function(){c.log(c.d.Cy);return!1},GG:function(a){var b=c.e;c.assert(this.fe==c.ym(this.fe)&&this.ee==c.ym(this.ee)||a.nH==b.CLAMP_TO_EDGE&&a.oH==b.CLAMP_TO_EDGE,"WebGLRenderingContext.CLAMP_TO_EDGE should be used in NPOT textures");c.Rc(this);b.texParameteri(b.TEXTURE_2D,
- b.TEXTURE_MIN_FILTER,a.zQ);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,a.xQ);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,a.nH);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,a.oH)},VF:function(){var a=c.e;c.Rc(this);this.Wg?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)},TF:function(){var a=c.e;c.Rc(this);this.Wg?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(){c.assert(this.fe==c.ym(this.fe)&&this.ee==c.ym(this.ee),"Mimpap texture only works in POT textures");c.Rc(this);c.e.generateMipmap(c.e.TEXTURE_2D);this.Wg=!0},YG:function(){return c.K.nz[this.gh]},AC:function(a){a=a||this.gh;var b=c.K.tr[a];if(null!=b)return b;c.log(c.d.ty,a);return-1},FA:function(a,b,d){var e=c.K,f=a.getData(),
- g=null,g=null,h=a.$N(),k=A(a.lE(),a.CD()),m=e.At,n=a.rM();h||(8<=n?m=e.Xh:(c.log(c.d.qy),m=e.Wh));var r=b*d;if(m==e.Wh)if(h)for(f=new Uint16Array(b*d),g=a.getData(),n=0;n<r;++n)f[n]=(g[n]>>0&255)>>3<<11|(g[n]>>8&255)>>2<<5|(g[n]>>16&255)>>3<<0;else for(f=new Uint16Array(b*d),g=a.getData(),n=0;n<r;++n)f[n]=(g[n]&255)>>3<<11|(g[n]&255)>>2<<5|(g[n]&255)>>3<<0;else if(m==e.Aj)for(f=new Uint16Array(b*d),g=a.getData(),n=0;n<r;++n)f[n]=(g[n]>>0&255)>>4<<12|(g[n]>>8&255)>>4<<8|(g[n]>>16&255)>>4<<4|(g[n]>>
- 24&255)>>4<<0;else if(m==e.zj)for(f=new Uint16Array(b*d),g=a.getData(),n=0;n<r;++n)f[n]=(g[n]>>0&255)>>3<<11|(g[n]>>8&255)>>3<<6|(g[n]>>16&255)>>3<<1|(g[n]>>24&255)>>7<<0;else if(m==e.yj)for(f=new Uint8Array(b*d),g=a.getData(),n=0;n<r;++n)f[n]=g>>24&255;if(h&&m==e.Xh)for(g=a.getData(),f=new Uint8Array(b*d*3),n=0;n<r;++n)f[3*n]=g>>0&255,f[3*n+1]=g>>8&255,f[3*n+2]=g>>16&255;this.Xt(f,m,b,d,k);a.getData();this.dk=a.sO();return!0},pe:function(a,b){this.Va||(this.Va=[]);this.Va.push({eg:a,se:b})},LF:function(a){if(this.Va)for(var b=
- this.Va,d=0;d<b.length;d++)b[d].se==a&&b.splice(d,1)},Hc:function(){if(this.Va){for(var a=this.Va,b=0,d=a.length;b<d;b++){var e=a[b];e.eg.call(e.se,this)}a.length=0}}})};
- c.i.qn=function(){var a=c.Zd.prototype;a.Xs=function(){var a=c.e;this.pc[0]=a.createBuffer();this.pc[1]=a.createBuffer();this.Jf=a.createBuffer();this.nk()};a.nk=function(){var a=c.e;a.bindBuffer(a.ARRAY_BUFFER,this.Jf);a.bufferData(a.ARRAY_BUFFER,this.cc,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.pc[1]);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.tc,a.STATIC_DRAW)};a.Bt=function(a){var d;d=0;if(0!==a&&this.texture&&this.texture.mb){var e=c.e;c.Rc(this.texture);c.Hb(c.hn);e.bindBuffer(e.ARRAY_BUFFER,
- this.Jf);this.dirty&&e.bufferData(e.ARRAY_BUFFER,this.cc,e.DYNAMIC_DRAW);e.vertexAttribPointer(c.ya,3,e.FLOAT,!1,24,0);e.vertexAttribPointer(c.Vc,4,e.UNSIGNED_BYTE,!0,24,12);e.vertexAttribPointer(c.Dc,2,e.FLOAT,!1,24,16);this.dirty&&(this.dirty=!1);e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this.pc[1]);c.kr?e.drawElements(e.TRIANGLE_STRIP,6*a,e.UNSIGNED_SHORT,6*d*this.tc.BYTES_PER_ELEMENT):e.drawElements(e.TRIANGLES,6*a,e.UNSIGNED_SHORT,6*d*this.tc.BYTES_PER_ELEMENT);c.Nd++}}};
- c.i.rn=function(){var a=c.qa;a.wa=function(a){var d=this.Ra;c.wk||(d=this.yi);var e=d[a];e||(e=d[a]=new c.K,e.url=a);e.wa()};a.fc=function(a,d,e){c.assert(a,c.d.sy);var f=this.Ra;c.wk||(f=this.yi);var g=f[a]||f[c.D.xf[a]];if(g)return d&&d.call(e),g;c.D.hd(a)||(c.D.Er(a)?c.D.load(a,function(){d&&d.call(e)}):c.D.Oc[a]=c.D.Zi(a,function(e,f){if(e)return d?d(e):e;c.qa.wa(a);d&&d(null,f)}));g=f[a]=new c.K;g.url=a;return g};delete a};c.i.Hm=function(){var a=c.K;a.gJ=function(a){c.lx=a};a.Yh=2;a.Xh=3;a.Wh=4;a.yj=5;a.Am=6;a.zm=7;a.Aj=8;a.zj=7;a.dr=9;a.cr=10;a.dx=a.Yh;var b=c.K.nz={};b[a.Yh]="RGBA8888";b[a.Xh]="RGB888";b[a.Wh]="RGB565";b[a.yj]="A8";b[a.Am]="I8";b[a.zm]="AI88";b[a.Aj]="RGBA4444";b[a.zj]="RGB5A1";b[a.dr]="PVRTC4";b[a.cr]="PVRTC2";b=c.K.tr={};b[a.Yh]=32;b[a.Xh]=24;b[a.Wh]=16;b[a.yj]=8;b[a.Am]=8;b[a.zm]=16;b[a.Aj]=16;b[a.zj]=16;b[a.dr]=4;b[a.cr]=3;b=c.K.prototype;c.f(b,"name",b.getName);c.f(b,"pixelFormat",b.Ht);c.f(b,
- "pixelsWidth",b.Jt);c.f(b,"pixelsHeight",b.It);c.f(b,"width",b.Ef);c.f(b,"height",b.Df);a.At=a.dx};c.i.Im=function(){var a=c.Zd.prototype;c.f(a,"totalQuads",a.Rt);c.f(a,"capacity",a.Ft);c.f(a,"quads",a.Kt,a.$u)};c.tH=51;c.wH=19;c.yH=18;c.vH=50;c.sH=34;c.qH=35;c.rH=33;c.uH=49;c.xH=17;c.lx=!1;
- c.Ba===c.cb?c.K=c.$.extend({q:null,mb:!1,ba:null,Va:null,url:null,ctor:function(){this.q=A(0,0);this.mb=!1;this.ba=null},Jt:function(){return this.q.width},It:function(){return this.q.height},Qc:function(){var a=c.Pa();return A(this.q.width/a,this.q.height/a)},Ef:function(){return this.q.width/c.Pa()},Df:function(){return this.q.height/c.Pa()},tD:function(){return this.q},Ib:function(a){a&&(this.ba=a)},ED:function(){return this.ba},FE:function(){return this.mb},wa:function(){if(!this.mb){if(!this.ba){var a=
- c.D.hd(this.url);if(!a)return;this.Ib(a)}this.mb=!0;a=this.ba;this.q.width=a.width;this.q.height=a.height;this.Hc()}},description:function(){return"\x3ccc.Texture2D | width \x3d "+this.q.width+" height "+this.q.height+"\x3e"},Xt:function(){return!1},Yt:function(){return!1},nf:function(){return!1},mq:function(){},getName:function(){return null},LD:function(){return 1},mG:function(){},MD:function(){return 1},nG:function(){},Ht:function(){return null},Mp:function(){return null},yq:function(){},Ti:function(){return!1},
- oE:function(){return!1},GF:function(){},LE:function(a){return a},OC:function(){},SC:function(){},qE:function(){c.log(c.d.vy);return!1},rE:function(){c.log(c.d.zy);return!1},sE:function(){c.log(c.d.By);return!1},GG:function(){},VF:function(){},TF:function(){},generateMipmap:function(){},YG:function(){return""},AC:function(){return-1},pe:function(a,b){this.Va||(this.Va=[]);this.Va.push({eg:a,se:b})},LF:function(a){if(this.Va)for(var b=this.Va,d=0;d<b.length;d++)b[d].se==a&&b.splice(d,1)},Hc:function(){if(this.Va){for(var a=
- this.Va,b=0,d=a.length;b<d;b++){var e=a[b];e.eg.call(e.se,this)}a.length=0}}}):(c.assert("function"===typeof c.i.pn,c.d.bb,"TexturesWebGL.js"),c.i.pn(),delete c.i.pn);c.assert("function"===typeof c.i.Hm,c.d.bb,"TexturesPropertyDefine.js");c.i.Hm();delete c.i.Hm;c.qa={Ra:{},Gi:{},ep:0|1E3*Math.random(),yi:{},IA:function(){var a,b=this.yi,d=this.Ra;for(a in b){var e=b[a];e.wa();d[a]=e}this.yi={}},IK:function(){c.log(c.d.bH)},FK:function(){c.log(c.d.$G)},description:function(){return"\x3cTextureCache | Number of textures \x3d "+this.Ra.length+"\x3e"},oj:function(a){return this.Ra[a]||this.Ra[c.D.xf[a]]},FD:function(a){for(var b in this.Ra)if(this.Ra[b]==a)return b;return null},Zz:function(){this.ep++;return"_textureKey_"+this.ep},Pt:function(a){var b=this.FD(a);
- b||(b=a instanceof HTMLImageElement?a.src:this.Zz());this.Gi[b]||(this.Gi[b]=c.yh(a));return this.Gi[b]},HK:function(){c.log(c.d.aH)},ZR:function(){var a=this.Ra,b;for(b in a)a[b]&&a[b].mq();this.Ra={}},lS:function(a){if(a){var b=this.Ra,d;for(d in b)b[d]==a&&(b[d].mq(),delete b[d])}},mS:function(a){null!=a&&this.Ra[a]&&delete this.Ra[a]},eL:function(a,b){if(b instanceof c.K)this.Ra[a]=b;else{var d=new c.K;d.Ib(b);d.wa();this.Ra[a]=d}},NK:function(a,b){c.assert(a,c.d.dH);if(b&&this.Ra[b])return this.Ra[b];
- var d=new c.K;d.Yt(a);null!=b&&null!=d?this.Ra[b]=d:c.log(c.d.cH);return d},LL:function(){var a=0,b=0,d=this.Ra,e;for(e in d){var f=d[e];a++;f.ba instanceof HTMLImageElement?c.log(c.d.eH,e,f.ba.src,f.pixelsWidth,f.pixelsHeight):c.log(c.d.nv,e,f.pixelsWidth,f.pixelsHeight);b+=f.pixelsWidth*f.pixelsHeight*4}d=this.Gi;for(e in d){var f=d[e],g;for(g in f){var h=f[g];a++;c.log(c.d.nv,e,h.width,h.height);b+=h.width*h.height*4}}c.log(c.d.fH,a,b/1024,(b/1048576).toFixed(2))},Me:function(){this.Ra={};this.Gi=
- {};this.ep=0|1E3*Math.random();this.yi={}}};c.Ba===c.cb?(p=c.qa,p.wa=function(a){var b=this.Ra,d=b[a];d||(d=b[a]=new c.K,d.url=a);d.wa()},p.fc=function(a,b,d){c.assert(a,c.d.ry);var e=this.Ra,f=e[a]||e[c.D.xf[a]];if(f)return b&&b.call(d),f;f=e[a]=new c.K;f.url=a;c.D.hd(a)?f.wa():c.D.Er(a)?c.D.load(a,function(){b&&b.call(d)}):c.D.Oc[a]=c.D.Zi(a,function(d,e){if(d)return b?b(d):d;c.qa.wa(a);b&&b(null,e)});return f},p=null):(c.assert("function"===typeof c.i.rn,c.d.bb,"TexturesWebGL.js"),c.i.rn(),delete c.i.rn);c.Zd=c.$.extend({dirty:!1,texture:null,tc:null,pc:null,Yb:0,Tb:null,cc:null,Jf:null,vc:null,ctor:function(a,b){this.pc=[];"string"==typeof a?this.Ui(a,b):a instanceof c.K&&this.pa(a,b)},Rt:function(){return this.M},Ft:function(){return this.Yb},Ea:function(){return this.texture},Qa:function(a){this.texture=a},Wu:function(a){this.dirty=a},du:function(){return this.dirty},Kt:function(){return this.Tb},$u:function(a){this.Tb=a},RJ:function(a,b){if(a)for(var d=0;d<a.length;d++)this.Bk(a[d],b+d)},Bk:function(a,
- b){var d=this.Tb;d[b]?(d[b].da=a.da,d[b].ea=a.ea,d[b].ia=a.ia,d[b].ja=a.ja):d[b]=new c.Fa(a.ia,a.da,a.ja,a.ea,this.cc,b*c.Fa.BYTES_PER_ELEMENT)},description:function(){return"\x3ccc.TextureAtlas | totalQuads \x3d"+this.M+"\x3e"},Ws:function(){if(0!==this.Yb)for(var a=this.tc,b=this.Yb,d=0;d<b;d++)c.kr?(a[6*d+0]=4*d+0,a[6*d+1]=4*d+0,a[6*d+2]=4*d+2,a[6*d+3]=4*d+1,a[6*d+4]=4*d+3,a[6*d+5]=4*d+3):(a[6*d+0]=4*d+0,a[6*d+1]=4*d+1,a[6*d+2]=4*d+2,a[6*d+3]=4*d+3,a[6*d+4]=4*d+2,a[6*d+5]=4*d+1)},Xs:function(){var a=
- c.e;this.pc[0]=a.createBuffer();this.pc[1]=a.createBuffer();this.Jf=a.createBuffer();this.nk()},nk:function(){var a=c.e;a.bindBuffer(a.ARRAY_BUFFER,this.Jf);a.bufferData(a.ARRAY_BUFFER,this.cc,a.DYNAMIC_DRAW);a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.pc[1]);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.tc,a.STATIC_DRAW)},Ui:function(a,b){var d=c.qa.fc(a);if(d)return this.pa(d,b);c.log(c.d.Ey,a);return!1},pa:function(a,b){c.assert(a,c.d.Fy);this.Yb=b|=0;this.M=0;this.texture=a;this.Tb=[];this.tc=new Uint16Array(6*
- b);var d=c.Fa.BYTES_PER_ELEMENT;this.cc=new ArrayBuffer(d*b);this.vc=new Uint8Array(this.cc);if((!this.Tb||!this.tc)&&0<b)return!1;for(var e=this.Tb,f=0;f<b;f++)e[f]=new c.Fa(null,null,null,null,this.cc,f*d);this.Ws();this.Xs();return this.dirty=!0},Ul:function(a,b){c.assert(a,c.d.Py);c.assert(0<=b&&b<this.Yb,c.d.Qy);this.M=Math.max(b+1,this.M);this.Bk(a,b);this.dirty=!0},Xp:function(a,b){c.assert(b<this.Yb,c.d.Iy);this.M++;if(this.M>this.Yb)c.log(c.d.or);else{var d=c.Fa.BYTES_PER_ELEMENT,e=b*d,f=
- (this.M-1-b)*d;this.Tb[this.M-1]=new c.Fa(null,null,null,null,this.cc,(this.M-1)*d);this.vc.set(this.vc.subarray(e,e+f),e+d);this.Bk(a,b);this.dirty=!0}},hO:function(a,b,d){d=d||a.length;c.assert(b+d<=this.Yb,c.d.Jy);var e=c.Fa.BYTES_PER_ELEMENT;this.M+=d;if(this.M>this.Yb)c.log(c.d.or);else{var f=b*e,g=(this.M-1-b-d)*e,h=this.M-1-d,k;for(k=0;k<d;k++)this.Tb[h+k]=new c.Fa(null,null,null,null,this.cc,(this.M-1)*e);this.vc.set(this.vc.subarray(f,f+g),f+e*d);for(k=0;k<d;k++)this.Bk(a[k],b+k);this.dirty=
- !0}},gO:function(a,b){if(a!==b){c.assert(0<=b||b<this.M,c.d.Gy);c.assert(0<=a||a<this.M,c.d.Hy);var d=c.Fa.BYTES_PER_ELEMENT,e=this.vc,f=e.subarray(a*d,d),g;a>b?(g=b*d,e.set(e.subarray(g,g+(a-b)*d),g+d),e.set(f,g)):(g=(a+1)*d,e.set(e.subarray(g,g+(b-a)*d),g-d),e.set(f,b*d));this.dirty=!0}},NF:function(a){c.assert(a<this.M,c.d.Ny);var b=c.Fa.BYTES_PER_ELEMENT;this.M--;this.Tb.length=this.M;if(a!==this.M){var d=(a+1)*b;this.vc.set(this.vc.subarray(d,d+(this.M-a)*b),d-b)}this.dirty=!0},gS:function(a,
- b){c.assert(a+b<=this.M,c.d.Oy);this.M-=b;if(a!==this.M){var d=c.Fa.BYTES_PER_ELEMENT,e=(a+b)*d;this.vc.set(this.vc.subarray(e,e+(this.M-a)*d),a*d)}this.dirty=!0},IF:function(){this.M=this.Tb.length=0},Of:function(a){this.dirty=a},OF:function(a){if(a==this.Yb)return!0;var b=c.Fa.BYTES_PER_ELEMENT,d=this.Yb;this.M=Math.min(this.M,a);var e=this.Yb=0|a,f=this.M;if(null==this.Tb)for(this.Tb=[],this.cc=new ArrayBuffer(b*e),this.vc=new Uint8Array(this.cc),a=0;a<e;a++)this.Tb=new c.Fa(null,null,null,null,
- this.cc,a*b);else{var g,h,k=this.Tb;if(e>d){g=[];h=new ArrayBuffer(b*e);for(a=0;a<f;a++)g[a]=new c.Fa(k[a].ia,k[a].da,k[a].ja,k[a].ea,h,a*b);for(;a<e;a++)g[a]=new c.Fa(null,null,null,null,h,a*b)}else for(f=Math.max(f,e),g=[],h=new ArrayBuffer(b*e),a=0;a<f;a++)g[a]=new c.Fa(k[a].ia,k[a].da,k[a].ja,k[a].ea,h,a*b);this.vc=new Uint8Array(h);this.Tb=g;this.cc=h}null==this.tc?this.tc=new Uint16Array(6*e):e>d?(b=new Uint16Array(6*e),b.set(this.tc,0),this.tc=b):this.tc=this.tc.subarray(0,6*e);this.Ws();this.nk();
- return this.dirty=!0},cO:function(a){this.M+=a},BQ:function(a,b,d){if(void 0===d){if(d=b,b=this.M-a,c.assert(d+(this.M-a)<=this.Yb,c.d.Ky),0===b)return}else if(c.assert(d+b<=this.M,c.d.Ly),c.assert(a<this.M,c.d.My),a==d)return;var e=c.Fa.BYTES_PER_ELEMENT,f=a*e,g=b*e,h=this.vc,k=h.subarray(f,f+g),m=d*e;d<a?(b=d*e,h.set(h.subarray(b,b+(a-d)*e),b+g)):(b=(a+b)*e,h.set(h.subarray(b,b+(d-a)*e),f));h.set(k,m);this.dirty=!0},gM:function(a,b){for(var d=b*c.Fa.BYTES_PER_ELEMENT,e=new Uint8Array(this.cc,a*
- c.Fa.BYTES_PER_ELEMENT,d),f=0;f<d;f++)e[f]=0},WC:function(){this.Bt(this.M)},mK:function(){var a=c.e;this.pc&&(this.pc[0]&&a.deleteBuffer(this.pc[0]),this.pc[1]&&a.deleteBuffer(this.pc[1]));this.Jf&&a.deleteBuffer(this.Jf)}});p=c.Zd.prototype;c.f(p,"totalQuads",p.Rt);c.f(p,"capacity",p.Ft);c.f(p,"quads",p.Kt,p.$u);c.Zd.create=function(a,b){return new c.Zd(a,b)};c.Zd.zp=c.Zd.create;c.Ba===c.Ec&&(c.assert("function"===typeof c.i.qn,c.d.bb,"TexturesWebGL.js"),c.i.qn(),delete c.i.qn);
- c.assert("function"===typeof c.i.Im,c.d.bb,"TexturesPropertyDefine.js");c.i.Im();delete c.i.Im;c.Ej=c.j.extend({xd:"Scene",ctor:function(){c.j.prototype.ctor.call(this);this.de=!0;this.Ml(0.5,0.5);this.Tc(c.S.kd())}});c.Ej.create=function(){return new c.Ej};c.vm=c.Ej.extend({Ye:null,js:0,En:0,ik:null,xd:"LoaderScene",ga:function(){var a=this,b=200,d=a.Cz=c.xa.create(c.color(32,32,32,255));d.L(c.qg.up);a.J(d,0);var e=24,f=-b/2+100;c.os&&(c.D.Zi(c.os,{Yp:!1},function(d,e){b=e.height;a.GA(e,c.qg.Tk)}),e=14,f=-b/2-10);e=a.ik=c.n.create("Loading... 0%","Arial",e);e.L(c.Gl(c.qg.Tk,z(0,f)));e.Z(c.color(180,180,180));d.J(this.ik,10);return!0},GA:function(a,b){var d=new c.K;d.Ib(a);d.wa();d=c.F.create(d);d.bv(c.Pa());d.x=b.x;d.y=b.y;this.Cz.J(d,10)},qf:function(){c.j.prototype.qf.call(this);
- this.qq(this.at,0.3)},md:function(){c.j.prototype.md.call(this);this.ik.pg("Loading... 0%")},tE:function(a,b){"string"==typeof a&&(a=[a]);this.PF=a||[];this.yb=b},at:function(){var a=this;a.sv(a.at);var b=a.PF;a.js=b.length;a.En=0;c.D.load(b,function(b,e){a.En=e},function(){a.yb&&a.yb()});a.qq(a.ht)},ht:function(){var a=this.En,b=this.js,d;d=Math.min(a/b*100|0,100);this.ik.pg("Loading... "+d+"%");a>=b&&this.sv(this.ht)}});
- c.vm.wF=function(a){var b=c;b.wl||(b.wl=new c.vm,b.wl.ga());b.wl.tE(null,a);c.S.Qu(b.wl)};c.i.um=function(){var a=c.kb.prototype;a.ot=function(){};a.rv=function(){};a.ka=c.j.prototype.ka};
- c.i.mn=function(){var a=c.xa.prototype;a.Dk=null;a.Uo=null;a.pp=null;a.Cn=null;a.Wo=null;a.Vo=null;a.ctor=function(a,d,e){this.Wo=new ArrayBuffer(32);this.Vo=new ArrayBuffer(16);var f=this.Wo,g=this.Vo,h=c.za.BYTES_PER_ELEMENT,k=c.lc.BYTES_PER_ELEMENT;this.Dk=[new c.za(0,0,f,0),new c.za(0,0,f,h),new c.za(0,0,f,2*h),new c.za(0,0,f,3*h)];this.Uo=[c.color(0,0,0,255,g,0),c.color(0,0,0,255,g,k),c.color(0,0,0,255,g,2*k),c.color(0,0,0,255,g,3*k)];this.pp=c.e.createBuffer();this.Cn=c.e.createBuffer();c.kb.prototype.ctor.call(this);
- this.A=new c.Ta(c.Nb,c.Mb);c.xa.prototype.ga.call(this,a,d,e)};a.Tc=function(a,d){var e=this.Dk;void 0===d?(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.zn();c.kb.prototype.Tc.call(this,a,d)};a.ie=function(a){var d=this.Dk;d[1].x=a;d[3].x=a;this.zn();c.kb.prototype.ie.call(this,a)};a.he=function(a){var d=this.Dk;d[2].y=a;d[3].y=a;this.zn();c.kb.prototype.he.call(this,a)};a.ab=function(){for(var a=this.Aa,d=this.eb,e=this.Uo,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.Br()};a.oa=function(a){a=a||c.e;c.zu(this);c.Hb(c.Pb|c.Hj);a.bindBuffer(a.ARRAY_BUFFER,this.pp);a.vertexAttribPointer(c.ya,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Cn);a.vertexAttribPointer(c.Vc,4,a.UNSIGNED_BYTE,!0,0,0);c.mf(this.A.src,this.A.fa);a.drawArrays(a.TRIANGLE_STRIP,0,4)};a.zn=function(){var a=c.e;a.bindBuffer(a.ARRAY_BUFFER,this.pp);a.bufferData(a.ARRAY_BUFFER,this.Wo,a.STATIC_DRAW)};a.Br=function(){var a=c.e;a.bindBuffer(a.ARRAY_BUFFER,
- this.Cn);a.bufferData(a.ARRAY_BUFFER,this.Vo,a.STATIC_DRAW)}};
- c.i.nn=function(){var a=c.vf.prototype;a.oa=c.xa.prototype.oa;a.ab=function(){var a=this.Je,d=c.jq(a);if(0!==d){var e=Math.sqrt(2),a=z(a.x/d,a.y/d);this.Vj&&(a=c.jg(a,1/(Math.abs(a.x)+Math.abs(a.y))*e));var f=this.eb/255,d=this.Aa,g=this.Qg,d={r:d.r,g:d.g,b:d.b,a:this.nh*f},f={r:g.r,g:g.g,b:g.b,a:this.Rg*f},h=this.Uo,g=h[0],k=h[1],m=h[2],h=h[3];g.r=f.r+(e+a.x+a.y)/(2*e)*(d.r-f.r);g.g=f.g+(e+a.x+a.y)/(2*e)*(d.g-f.g);g.b=f.b+(e+a.x+a.y)/(2*e)*(d.b-f.b);g.a=f.a+(e+a.x+a.y)/(2*e)*(d.a-f.a);k.r=f.r+(e-
- a.x+a.y)/(2*e)*(d.r-f.r);k.g=f.g+(e-a.x+a.y)/(2*e)*(d.g-f.g);k.b=f.b+(e-a.x+a.y)/(2*e)*(d.b-f.b);k.a=f.a+(e-a.x+a.y)/(2*e)*(d.a-f.a);m.r=f.r+(e+a.x-a.y)/(2*e)*(d.r-f.r);m.g=f.g+(e+a.x-a.y)/(2*e)*(d.g-f.g);m.b=f.b+(e+a.x-a.y)/(2*e)*(d.b-f.b);m.a=f.a+(e+a.x-a.y)/(2*e)*(d.a-f.a);h.r=f.r+(e-a.x-a.y)/(2*e)*(d.r-f.r);h.g=f.g+(e-a.x-a.y)/(2*e)*(d.g-f.g);h.b=f.b+(e-a.x-a.y)/(2*e)*(d.b-f.b);h.a=f.a+(e-a.x-a.y)/(2*e)*(d.a-f.a);this.Br()}}};c.i.Em=function(){var a=c.xa.prototype;c.f(a,"width",a.Ef,a.ie);c.f(a,"height",a.Df,a.he)};c.i.Fm=function(){var a=c.vf.prototype;c.f(a,"startColor",a.dE,a.EG);c.f(a,"endColor",a.wD,a.bG);c.f(a,"startOpacity",a.eE,a.FG);c.f(a,"endOpacity",a.xD,a.cG);c.f(a,"vector",a.iE,a.KG)};c.kb=c.j.extend({Gf:!1,Rj:null,xd:"Layer",ctor:function(){var a=c.j.prototype;a.ctor.call(this);this.de=!0;a.Ml.call(this,0.5,0.5);a.Tc.call(this,c.Vl)},ga:function(){this.de=!0;this.Ml(0.5,0.5);this.Tc(c.Vl);this.cascadeColor=this.cascadeOpacity=!1;return!0},ot:null,rv:null,jO:function(){return this.Gf},ka:null});c.kb.create=function(){return new c.kb};
- if(c.Ba===c.cb){var C=c.kb.prototype;C.ot=function(){if(!this.Gf){this.Gf=this.wd=!0;this.ji=this;for(var a=this.o,b=0,d=a.length;b<d;b++)a[b].Go(this);this.Rj||(this.Rj=new c.Fv)}};C.rv=function(){if(this.Gf){this.Gf=!1;this.wd=!0;this.ji=null;for(var a=this.o,b=0,d=a.length;b<d;b++)a[b].Go(null)}};C.ka=function(a){if(this.Gf){a=a||c.e;var b,d=this.o,e=d.length;if(this.Wb&&0!==e){var f=this.Rj;a.save();this.transform(a);if(this.wd){b=this.Qn();b.width|=0;b.height|=0;var g=f.Sj;f.Ou(b.width,b.height);
- g.translate(0-b.x,b.height+b.y);var h=f.Fp();f.L(h.x+b.x,h.y+b.y);this.Kb();c.view.Ss();for(b=0;b<e;b++)d[b].ka(g);c.view.Is();this.wd=!1}f.ka(a);this.arrivalOrder=0;a.restore()}}else c.j.prototype.ka.call(this,a)};C.Qn=function(){var a=null;if(!this.o||0===this.o.length)return B(0,0,10,10);for(var b=this.o,d=0;d<b.length;d++){var e=b[d];e&&e.Wb&&(a?(e=e.ti())&&(a=c.Jl(a,e)):a=e.ti())}return a};C=null}else c.assert("function"===typeof c.i.um,c.d.bb,"CCLayerWebGL.js"),c.i.um(),delete c.i.um;
- c.xa=c.kb.extend({A:null,xd:"LayerColor",Hp:function(){return this.A},kL:function(a,b){this.width=a;this.height=b},jL:function(a){this.width=a},iL:function(a){this.height=a},og:function(){},Vi:function(){return!1},Z:function(a){c.kb.prototype.Z.call(this,a);this.ab()},Xa:function(a){c.kb.prototype.Xa.call(this,a);this.ab()},xi:!1,ctor:null,ga:function(a,b,d){c.Ba!==c.cb&&(this.shaderProgram=c.Ud.Jb(c.Cj));var e=c.S.kd();a=a||c.color(0,0,0,255);b=void 0===b?e.width:b;d=void 0===d?e.height:d;e=this.Aa;
- e.r=a.r;e.g=a.g;e.b=a.b;e=this.Hd;e.r=a.r;e.g=a.g;e.b=a.b;this.Kf=this.eb=a.a;a=c.xa.prototype;a.Tc.call(this,b,d);a.ab.call(this);return!0},mj:function(a,b){this.A=void 0===b?a:{src:a,fa:b};c.Ba===c.cb&&(this.xi=this.A&&1==this.A.src&&771==this.A.fa)},ie:null,he:null,ab:null,Lb:function(a){c.kb.prototype.Lb.call(this,a);this.ab()},Ab:function(a){c.kb.prototype.Ab.call(this,a);this.ab()},oa:null});c.xa.create=function(a,b,d){return new c.xa(a,b,d)};
- c.Ba===c.cb?(p=c.xa.prototype,p.ctor=function(a,b,d){c.kb.prototype.ctor.call(this);this.A=new c.Ta(c.Nb,c.Mb);c.xa.prototype.ga.call(this,a,b,d)},p.ie=c.kb.prototype.ie,p.he=c.kb.prototype.he,p.ab=function(){},p.oa=function(a){a=a||c.e;var b=c.view,d=this.Aa;a.fillStyle="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b)+","+this.eb/255+")";a.fillRect(0,0,this.width*b.U,-this.height*b.ca);c.Nd++},p.ka=function(a){if(this.Gf){a=a||c.e;var b,d=this.o,e=d.length;if(this.Wb){var f=this.Rj;a.save();this.transform(a);
- if(this.wd){b=this.Qn();b.width|=0;b.height|=0;var g=f.Sj;f.Ou(b.width,b.height);var h=f.Fp(),k=this.Lc;if(this.de)g.translate(0-b.x+k.x,b.height+b.y-k.y),f.L(h.x+b.x-k.x,h.y+b.y-k.y);else{var m=this.Fp(),n=k.x-m.x,k=k.y-m.y;g.translate(0-b.x+n,b.height+b.y-k);f.L(h.x+b.x-n,h.y+b.y-k)}c.view.Ss();if(0<e){this.Kb();for(b=0;b<e;b++)if(h=d[b],0>h.ra)h.ka(g);else break;for(this.oa(g);b<e;b++)d[b].ka(g)}else this.oa(g);c.view.Is();this.wd=!1}f.ka(a);this.arrivalOrder=0;a.restore()}}else c.j.prototype.ka.call(this,
- a)},p.Qn=function(){var a=B(0,0,this.q.width,this.q.height),b=this.yl(),a=c.kq(a,this.yl());if(!this.o||0===this.o.length)return a;for(var d=this.o,e=0;e<d.length;e++){var f=d[e];f&&f.Wb&&(f=f.ti(b),a=c.Jl(a,f))}return a},p=null):(c.assert("function"===typeof c.i.mn,c.d.bb,"CCLayerWebGL.js"),c.i.mn(),delete c.i.mn);c.assert("function"===typeof c.i.Em,c.d.bb,"CCLayerPropertyDefine.js");c.i.Em();delete c.i.Em;
- c.vf=c.xa.extend({$s:null,Qg:null,nh:255,Rg:255,Je:null,Vj:!1,Vg:null,Ug:null,xd:"LayerGradient",ctor:function(a,b,d){c.xa.prototype.ctor.call(this);this.$s=c.color(0,0,0,255);this.Qg=c.color(0,0,0,255);this.Je=z(0,-1);this.Rg=this.nh=255;this.Vg=z(0,0);this.Ug=z(0,0);c.vf.prototype.ga.call(this,a,b,d)},ga:function(a,b,d){a=a||c.color(0,0,0,255);b=b||c.color(0,0,0,255);d=d||z(0,-1);var e=this.$s,f=this.Qg;e.r=a.r;e.g=a.g;e.b=a.b;this.nh=a.a;f.r=b.r;f.g=b.g;f.b=b.b;this.Rg=b.a;this.Je=d;this.Vj=!0;
- this.Vg=z(0,0);this.Ug=z(0,0);c.xa.prototype.ga.call(this,c.color(a.r,a.g,a.b,255));c.vf.prototype.ab.call(this);return!0},Tc:function(a,b){c.xa.prototype.Tc.call(this,a,b);this.ab()},ie:function(a){c.xa.prototype.ie.call(this,a);this.ab()},he:function(a){c.xa.prototype.he.call(this,a);this.ab()},dE:function(){return this.Hd},EG:function(a){this.color=a},bG:function(a){this.Qg=a;this.ab()},wD:function(){return this.Qg},FG:function(a){this.nh=a;this.ab()},eE:function(){return this.nh},cG:function(a){this.Rg=
- a;this.ab()},xD:function(){return this.Rg},KG:function(a){this.Je.x=a.x;this.Je.y=a.y;this.ab()},iE:function(){return z(this.Je.x,this.Je.y)},kO:function(){return this.Vj},CS:function(a){this.Vj=a;this.ab()},VJ:null,ab:null});c.vf.create=function(a,b,d){return new c.vf(a,b,d)};
- c.Ba===c.cb?(p=c.vf.prototype,p.oa=function(a){a=a||c.e;this.xi&&(a.globalCompositeOperation="lighter");a.save();var b=this.eb/255,d=c.view.U,e=c.view.ca,f=this.width*d,g=this.height*e,d=a.createLinearGradient(this.Vg.x*d,this.Vg.y*e,this.Ug.x*d,this.Ug.y*e),e=this.Aa,h=this.Qg;d.addColorStop(0,"rgba("+Math.round(e.r)+","+Math.round(e.g)+","+Math.round(e.b)+","+(this.nh/255*b).toFixed(4)+")");d.addColorStop(1,"rgba("+Math.round(h.r)+","+Math.round(h.g)+","+Math.round(h.b)+","+(this.Rg/255*b).toFixed(4)+
- ")");a.fillStyle=d;a.fillRect(0,0,f,-g);0!=this.oK&&a.rotate(this.pK);a.restore();c.Nd++},p.ab=function(){var a=this.Je,b=0.5*this.width,d=0.5*this.height;this.Vg.x=b*-a.x+b;this.Vg.y=d*a.y-d;this.Ug.x=b*a.x+b;this.Ug.y=d*-a.y-d},p=null):(c.assert("function"===typeof c.i.nn,c.d.bb,"CCLayerWebGL.js"),c.i.nn(),delete c.i.nn);c.assert("function"===typeof c.i.Fm,c.d.bb,"CCLayerPropertyDefine.js");c.i.Fm();delete c.i.Fm;
- c.xj=c.kb.extend({Cf:0,Cd:null,xd:"LayerMultiplex",ctor:function(a){c.kb.prototype.ctor.call(this);a instanceof Array?c.xj.prototype.Zt.call(this,a):c.xj.prototype.Zt.call(this,Array.prototype.slice.call(arguments))},Zt:function(a){0<a.length&&null==a[a.length-1]&&c.log(c.d.Aw);this.Cd=a;this.Cf=0;this.J(this.Cd[this.Cf]);return!0},ZT:function(a){a>=this.Cd.length?c.log(c.d.Bw):(this.removeChild(this.Cd[this.Cf],!0),this.Cf=a,this.J(this.Cd[a]))},$T:function(a){a>=this.Cd.length?c.log(c.d.Cw):(this.removeChild(this.Cd[this.Cf],
- !0),this.Cd[this.Cf]=null,this.Cf=a,this.J(this.Cd[a]))},GK:function(a){a?this.Cd.push(a):c.log(c.d.zw)}});c.xj.create=function(){return new c.xj(Array.prototype.slice.call(arguments))};c.i.on=function(){var a=c.F.prototype;a.To=function(a){this.T(!0);this.Ia(a.gd(),a.Eb,a.Bh());this.Hc()};a.og=function(a){this.Ma!==a&&(this.Ma=a,this.sj())};a.Ab=function(a){c.j.prototype.Ab.call(this,a);this.sj()};a.ctor=function(a,d,e){c.j.prototype.ctor.call(this);this.ef=!1;this.ua=z(0,0);this.ed=z(0,0);this.A={src:c.Nb,fa:c.Mb};this.C=B(0,0,0,0);this.va=new c.Fa;this.uk=c.e.createBuffer();this.sa=this.Sb=!0;this.Zs(a,d,e)};a.mj=function(a,d){var e=this.A;void 0===d?(e.src=a.src,e.fa=a.fa):(e.src=
- a,e.fa=d)};a.ga=function(){if(0<arguments.length)return this.Ui(arguments[0],arguments[1]);c.j.prototype.ga.call(this);this.dirty=this.bd=!1;this.Ma=!0;this.A.src=c.Nb;this.A.fa=c.Mb;this.texture=null;this.sa=!0;this.sb=this.tb=!1;this.anchorY=this.anchorX=0.5;this.ua.x=0;this.ua.y=0;this.Bd=!1;var a={r:255,g:255,b:255,a:255};this.va.da.t=a;this.va.ea.t=a;this.va.ia.t=a;this.va.ja.t=a;this.Sb=!0;this.Ia(B(0,0,0,0),!1,A(0,0));return!0};a.pa=function(a,d,e){c.assert(0!=arguments.length,c.d.cy);e=e||
- !1;if(!c.j.prototype.ga.call(this))return!1;this.P=null;this.dirty=this.bd=!1;this.Ma=!0;this.A.src=c.Nb;this.A.fa=c.Mb;this.sb=this.tb=!1;this.anchorY=this.anchorX=0.5;this.ua.x=0;this.ua.y=0;this.Bd=!1;var f=c.color(255,255,255,255),g=this.va;g.da.t=f;g.ea.t=f;g.ia.t=f;g.ja.t=f;this.sa=f=a.mb;if(!f)return this.$a=e||!1,d&&(f=this.C,f.x=d.x,f.y=d.y,f.width=d.width,f.height=d.height),a.pe(this.Ik,this),!0;d||(d=B(0,0,a.width,a.height));a&&a.url&&(e?(f=d.x+d.height,g=d.y+d.width):(f=d.x+d.width,g=
- d.y+d.height),f>a.width&&c.error(c.d.Lm,a.url),g>a.height&&c.error(c.d.Km,a.url));this.texture=a;this.Ia(d,e);this.batchNode=null;return this.Sb=!0};a.Ik=function(a){if(!this.sa){this.sa=!0;var d=this.C;d?c.Bs(d)&&(d.width=a.width,d.height=a.height):d=B(0,0,a.width,a.height);this.texture=a;this.Ia(d,this.$a);this.batchNode=this.P;this.Sb=!0;this.Hc()}};a.Ia=function(a,d,e){this.$a=d||!1;this.Tc(e||a);this.Bq(a);this.Ts(a);a=this.ed;this.sb&&(a.x=-a.x);this.tb&&(a.y=-a.y);var f=this.C;this.ua.x=a.x+
- (this.q.width-f.width)/2;this.ua.y=a.y+(this.q.height-f.height)/2;if(this.P)this.dirty=!0;else{a=0+this.ua.x;d=0+this.ua.y;e=a+f.width;var f=d+f.height,g=this.va;g.da.l={x:a,y:d,z:0};g.ea.l={x:e,y:d,z:0};g.ia.l={x:a,y:f,z:0};g.ja.l={x:e,y:f,z:0};this.Sb=!0}};a.kc=function(){if(this.dirty){var a=this.va,d=this.nb;if(!this.Wb||d&&d!=this.P&&d.ef)a.ea.l=a.ia.l=a.ja.l=a.da.l={x:0,y:0,z:0},this.ef=!0;else{this.ef=!1;var e=this.Uf=d&&d!=this.P?c.$f(this.$i(),d.Uf):this.$i(),f=this.C,d=this.ua.x,g=this.ua.y,
- h=d+f.width,k=g+f.height,m=e.N,n=e.O,r=e.a,s=e.b,t=e.s,u=-e.p,e=d*r-g*u+m,f=d*s+g*t+n,y=h*r-g*u+m,g=h*s+g*t+n,x=h*r-k*u+m,h=h*s+k*t+n,m=d*r-k*u+m,d=d*s+k*t+n,k=this.Pk;c.jr||(e|=0,f|=0,y|=0,g|=0,x|=0,h|=0,m|=0,d|=0);a.da.l={x:e,y:f,z:k};a.ea.l={x:y,y:g,z:k};a.ia.l={x:m,y:d,z:k};a.ja.l={x:x,y:h,z:k}}this.textureAtlas.Ul(a,this.atlasIndex);this.dirty=this.bd=!1}this.Bd&&this.Gc(this.o,c.j.mc.kc);c.De&&c.$d.Pc([z(this.va.da.l.x,this.va.da.l.y),z(this.va.ea.l.x,this.va.ea.l.y),z(this.va.ja.l.x,this.va.ja.l.y),
- z(this.va.ia.l.x,this.va.ia.l.y)],4,!0)};a.J=function(a,d,e){c.assert(a,c.d.Ux);null==d&&(d=a.ra);null==e&&(e=a.tag);if(this.P){if(!(a instanceof c.F)){c.log(c.d.Sx);return}a.texture.oe!==this.textureAtlas.texture.oe&&c.log(c.d.Tx);this.P.appendChild(a);this.wb||this.Mo()}c.j.prototype.J.call(this,a,d,e);this.Bd=!0};a.Xa=function(a){c.j.prototype.Xa.call(this,a);this.sj()};a.Z=function(a){c.j.prototype.Z.call(this,a);this.sj()};a.Lb=function(a){c.j.prototype.Lb.call(this,a);this.sj()};a.Oh=function(a){var d=
- this;"string"==typeof a&&(a=c.tf.lf(a),c.assert(a,c.d.ly));d.T(!0);var e=a.Lp();d.ed.x=e.x;d.ed.y=e.y;e=a.Ea();a.sa||(d.sa=!1,a.pe(function(a){d.sa=!0;var b=a.Ea();b!=d.Q&&(d.texture=b);d.Ia(a.gd(),a.Eb,a.Bh());d.Hc()},d));e!=d.Q&&(d.texture=e);d.$a=a.Eb;d.Ia(a.gd(),d.$a,a.Bh())};a.eu=function(a){return c.Hu(a.gd(),this.C)&&a.Ea().getName()==this.Q.getName()&&c.tF(a.Lp(),this.ed)};a.sq=function(a){if(this.P=a)this.Uf={a:1,b:0,p:0,s:1,N:0,O:0},this.textureAtlas=this.P.textureAtlas;else{this.atlasIndex=
- c.F.rm;this.textureAtlas=null;this.dirty=this.bd=!1;a=this.ua.x;var d=this.ua.y,e=a+this.C.width,f=d+this.C.height,g=this.va;g.da.l={x:a,y:d,z:0};g.ea.l={x:e,y:d,z:0};g.ia.l={x:a,y:f,z:0};g.ja.l={x:e,y:f,z:0};this.Sb=!0}};a.Qa=function(a){a&&"string"===typeof a?(a=c.qa.fc(a),this.Qa(a),a=a.Qc(),this.Ia(B(0,0,a.width,a.height))):(c.assert(!a||a instanceof c.K,c.d.ny),this.P&&this.P.texture!=a?c.log(c.d.my):(this.shaderProgram=a?c.Ud.Jb(c.Zh):c.Ud.Jb(c.Cj),this.P||this.Q==a||(this.Q=a,this.Vf())))};
- a.oa=function(){if(this.sa){var a=c.e,d=this.Q;d?d.mb&&(this.xb.Bb(),this.xb.jc(),c.mf(this.A.src,this.A.fa),c.Pp(0,d),c.Hb(c.hn),a.bindBuffer(a.ARRAY_BUFFER,this.uk),this.Sb&&(a.bufferData(a.ARRAY_BUFFER,this.va.Rk,a.DYNAMIC_DRAW),this.Sb=!1),a.vertexAttribPointer(0,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(1,4,a.UNSIGNED_BYTE,!0,24,12),a.vertexAttribPointer(2,2,a.FLOAT,!1,24,16),a.drawArrays(a.TRIANGLE_STRIP,0,4)):(this.xb.Bb(),this.xb.jc(),c.mf(this.A.src,this.A.fa),c.Rc(null),c.Hb(c.Pb|c.Hj),a.bindBuffer(a.ARRAY_BUFFER,
- this.uk),this.Sb&&(c.e.bufferData(c.e.ARRAY_BUFFER,this.va.Rk,c.e.STATIC_DRAW),this.Sb=!1),a.vertexAttribPointer(c.ya,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(c.Vc,4,a.UNSIGNED_BYTE,!0,24,12),a.drawArrays(a.TRIANGLE_STRIP,0,4));c.Nd++;if(0!==c.De||this.Qo)1===c.De||this.Qo?(a=this.va,c.$d.Pc([z(a.ia.l.x,a.ia.l.y),z(a.da.l.x,a.da.l.y),z(a.ea.l.x,a.ea.l.y),z(a.ja.l.x,a.ja.l.y)],4,!0)):2===c.De&&(a=this.Qt(),d=this.PD(),c.$d.Pc([z(d.x,d.y),z(d.x+a.width,d.y),z(d.x+a.width,d.y+a.height),z(d.x,d.y+a.height)],
- 4,!0))}};delete a};c.i.Gm=function(){var a=c.F.prototype;c.f(a,"opacityModifyRGB",a.Vi,a.og);c.f(a,"opacity",a.al,a.Xa);c.f(a,"color",a.zh,a.Z);c.f(a,"flippedX",a.CE,a.eG);c.f(a,"flippedY",a.DE,a.fG);c.f(a,"offsetX",a.qA);c.f(a,"offsetY",a.rA);c.f(a,"texture",a.Ea,a.Qa);c.f(a,"textureRectRotated",a.HE);c.f(a,"batchNode",a.oD,a.sq);c.f(a,"quad",a.WD)};c.Zk=function(a,b,d,e){e=e||c.Wa("canvas");d=d||B(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("+b.r+","+b.g+","+b.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};
- c.Yk=function(a,b,d,e,f){e||(e=B(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,b[0].width),k=Math.min(e.height,b[0].height),m;f?(m=f.getContext("2d"),m.clearRect(0,0,h,k)):(f=c.Wa("canvas"),f.width=h,f.height=k,m=f.getContext("2d"));m.save();m.globalCompositeOperation="lighter";var n=m.globalAlpha;0<a&&(m.globalAlpha=a*n,m.drawImage(b[0],e.x,e.y,h,k,0,0,h,k));0<g&&(m.globalAlpha=g*n,m.drawImage(b[1],e.x,e.y,h,k,0,0,h,k));0<d&&(m.globalAlpha=d*n,m.drawImage(b[2],e.x,
- e.y,h,k,0,0,h,k));1>a+g+d&&(m.globalAlpha=n,m.drawImage(b[3],e.x,e.y,h,k,0,0,h,k));m.restore();return f};
- c.yh=function(a){function b(){var b=c.yh,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;b.canvas.width=e;b.canvas.height=h;var k=b.canvas.getContext("2d");k.drawImage(a,0,0);b.Eq.width=e;b.Eq.height=h;for(var k=k.getImageData(0,0,e,h).data,m=0;4>m;m++){var n=d[m].getContext("2d");n.getImageData(0,0,e,h).data;b.mv.drawImage(a,0,0);for(var r=b.mv.getImageData(0,0,e,h),s=r.data,t=0;t<k.length;t+=4)s[t]=0===m?k[t]:0,s[t+
- 1]=1===m?k[t+1]:0,s[t+2]=2===m?k[t+2]:0,s[t+3]=k[t+3];n.putImageData(r,0,0)}a.onload=null}if(a.st)return a.st;var d=[c.Wa("canvas"),c.Wa("canvas"),c.Wa("canvas"),c.Wa("canvas")];try{b()}catch(e){a.onload=b}return a.st=d};c.yh.canvas=c.Wa("canvas");c.yh.Eq=c.Wa("canvas");c.yh.mv=c.yh.Eq.getContext("2d");
- c.Ap=function(a,b){if(!a)return null;if(!b)return a;var d=c.Wa("canvas");d.width=b.width;d.height=b.height;var e=d.getContext("2d");e.translate(d.width/2,d.height/2);e.rotate(-1.5707963267948966);e.drawImage(a,b.x,b.y,b.height,b.width,-b.height/2,-b.width/2,b.height,b.width);return d};
- c.F=c.j.extend({dirty:!1,atlasIndex:0,textureAtlas:null,P:null,bd:null,Bd:null,ef:!1,Uf:null,A:null,Q:null,C:null,$a:!1,ua:null,ed:null,Ma:!1,sb:!1,tb:!1,sa:!1,Va:null,jo:null,xd:"Sprite",rs:c.color.WHITE,gH:function(){return this.sa},pe:function(a,b){this.Va||(this.Va=[]);this.Va.push({eg:a,se:b})},Hc:function(){if(this.Va){for(var a=this.Va,b=0,d=a.length;b<d;b++){var e=a[b];e.eg.call(e.se,this)}a.length=0}},du:function(){return this.dirty},Wu:function(a){this.dirty=a},HE:function(){return this.$a},
- qM:function(){return this.atlasIndex},AS:function(a){this.atlasIndex=a},Qt:function(){return B(this.C.x,this.C.y,this.C.width,this.C.height)},Ot:function(){return this.textureAtlas},ev:function(a){this.textureAtlas=a},PD:function(){return z(this.ua)},qA:function(){return this.ua.x},rA:function(){return this.ua.y},Hp:function(){return this.A},Pd:function(a){c.assert(a,c.d.$x);a.sa||(this.sa=!1,a.pe(this.To,this));var b=c.Ba===c.cb?!1:a.Eb,b=this.pa(a.Ea(),a.gd(),b);this.Oh(a);return b},To:null,eO:function(a){c.assert(a,
- c.d.ay);var b=c.tf.lf(a);c.assert(b,a+c.d.by);return this.Pd(b)},jU:function(a){this.textureAtlas=a.textureAtlas;this.P=a},Bq:function(a){this.C.x=a.x;this.C.y=a.y;this.C.width=a.width;this.C.height=a.height},Kb:function(){if(this.wb){var a=this.o,b=a.length,d,e,f;for(d=1;d<b;d++){f=a[d];for(e=d-1;0<=e;){if(f.ra<a[e].ra)a[e+1]=a[e];else if(f.ra===a[e].ra&&f.arrivalOrder<a[e].arrivalOrder)a[e+1]=a[e];else break;e--}a[e+1]=f}this.P&&this.Gc(a,c.j.mc.Kb);this.wb=!1}},lj:function(a,b){c.assert(a,c.d.gy);
- -1===this.o.indexOf(a)?c.log(c.d.fy):b!==a.zIndex&&(this.P&&!this.wb&&(this.Mo(),this.P.Lu(!0)),c.j.prototype.lj.call(this,a,b))},removeChild:function(a,b){this.P&&this.P.mg(a);c.j.prototype.removeChild.call(this,a,b)},Td:function(a){c.j.prototype.Td.call(this,a);this.uq(!0)},sf:function(a){var b=this.o,d=this.P;if(d&&null!=b)for(var e=0,f=b.length;e<f;e++)d.mg(b[e]);c.j.prototype.sf.call(this,a);this.Bd=!1},uq:function(a){this.dirty=this.bd=a;a=this.o;for(var b,d=a?a.length:0,e=0;e<d;e++)b=a[e],
- b instanceof c.F&&b.uq(!0)},T:function(a){c.j.prototype.T.call(this);a||!this.P||this.bd||(this.Bd?this.uq(!0):this.dirty=this.bd=!0)},Up:function(a){this.P?c.log(c.d.Yx):c.j.prototype.Up.call(this,a)},eG:function(a){this.sb!=a&&(this.sb=a,this.Ia(this.C,this.$a,this.q),this.T(!0))},fG:function(a){this.tb!=a&&(this.tb=a,this.Ia(this.C,this.$a,this.q),this.T(!0))},CE:function(){return this.sb},DE:function(){return this.tb},og:null,Vi:function(){return this.Ma},Ab:null,LS:function(a,b){c.assert(a,c.d.ky);
- var d=c.Qk.nD(a);d?(d=d.ac[b])?this.Oh(d.lf()):c.log(c.d.jy):c.log(c.d.iy)},oD:function(){return this.P},Mo:function(){if(!this.wb){this.wb=!0;for(var a=this.nb;a&&a!=this.P;)a.Mo(),a=a.parent}},Ea:function(){return this.Q},va:null,uk:null,Sb:!1,Uj:!1,xi:!1,fb:null,ph:null,Mr:null,ctor:null,Zs:function(a,b,d){if(void 0===a)c.F.prototype.ga.call(this);else if("string"===typeof a)"#"===a[0]?(a=c.tf.lf(a.substr(1,a.length-1)),this.Pd(a)):c.F.prototype.ga.call(this,a,b);else if("object"===typeof a)if(a instanceof
- c.K)this.pa(a,b,d);else if(a instanceof c.Ob)this.Pd(a);else if(a instanceof HTMLImageElement||a instanceof HTMLCanvasElement)b=new c.K,b.Ib(a),b.wa(),this.pa(b)},WD:function(){return this.va},mj:null,ga:null,Ui:function(a,b){c.assert(a,c.d.Zx);var d=c.qa.oj(a);if(d){if(!b){var e=d.Qc();b=B(0,0,e.width,e.height)}return this.pa(d,b)}d=c.qa.fc(a);return this.pa(d,b||B(0,0,d.q.width,d.q.height))},pa:null,Ik:null,Ia:null,kc:null,J:null,sj:function(){var a=this.Aa,b=this.eb,a={r:a.r,g:a.g,b:a.b,a:b};this.Ma&&
- (a.r*=b/255,a.g*=b/255,a.b*=b/255);b=this.va;b.da.t=a;b.ea.t=a;b.ia.t=a;b.ja.t=a;this.P&&(this.atlasIndex!=c.F.rm?this.textureAtlas.Ul(b,this.atlasIndex):this.dirty=!0);this.Sb=!0},Xa:null,Z:null,Lb:null,Oh:null,KS:function(a){c.log(c.d.hy);this.Oh(a)},eu:null,FL:function(){return c.Ob.create(this.Q,c.jj(this.C),this.$a,c.uF(this.ed),c.QG(this.q))},sq:null,Qa:null,Vf:function(){this.P?c.log(c.d.Rx):this.Q&&this.Q.Ti()?(this.A.src=c.Nb,this.A.fa=c.Mb,this.opacityModifyRGB=!0):(this.A.src=c.SRC_ALPHA,
- this.A.fa=c.ONE_MINUS_SRC_ALPHA,this.opacityModifyRGB=!1)},Le:function(){var a,b=this.Q,d=this.ph;b&&d.Rh&&this.fb&&(a=b.ba)&&(this.Uj=!0,a instanceof HTMLCanvasElement&&!this.$a&&!this.jo?c.Zk(this.fb.ba,this.Aa,d,a):(a=c.Zk(this.fb.ba,this.Aa,d),b=new c.K,b.Ib(a),b.wa(),this.texture=b))},Ts:function(a){a=c.jj(a);var b=this.P?this.textureAtlas.texture:this.Q;if(b){var d=b.pixelsWidth,e=b.pixelsHeight,f,g=this.va;this.$a?(c.wj?(b=(2*a.x+1)/(2*d),d=b+(2*a.height-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.width-
- 2)/(2*e)):(b=a.x/d,d=(a.x+a.height)/d,f=a.y/e,a=(a.y+a.width)/e),this.sb&&(e=f,f=a,a=e),this.tb&&(e=b,b=d,d=e),g.da.m.X=b,g.da.m.Y=f,g.ea.m.X=b,g.ea.m.Y=a,g.ia.m.X=d,g.ia.m.Y=f,g.ja.m.X=d,g.ja.m.Y=a):(c.wj?(b=(2*a.x+1)/(2*d),d=b+(2*a.width-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.height-2)/(2*e)):(b=a.x/d,d=(a.x+a.width)/d,f=a.y/e,a=(a.y+a.height)/e),this.sb&&(e=b,b=d,d=e),this.tb&&(e=f,f=a,a=e),g.da.m.X=b,g.da.m.Y=a,g.ea.m.X=d,g.ea.m.Y=a,g.ia.m.X=b,g.ia.m.Y=f,g.ja.m.X=d,g.ja.m.Y=f);this.Sb=!0}},oa:null});
- c.F.create=function(a,b,d){return new c.F(a,b,d)};c.F.zp=c.F.create;c.F.vL=c.F.create;c.F.uL=c.F.create;c.F.rm=-1;
- c.Ba===c.cb?(p=c.F.prototype,p.To=function(a){this.T(!0);this.Ia(a.gd(),a.Eb,a.Bh());a=this.color;255===a.r&&255===a.g&&255===a.b||this.Le();this.Hc()},p.og=function(a){this.Ma!==a&&(this.Ma=a,this.T(!0))},p.Ab=function(a){c.j.prototype.Ab.call(this,a);this.ih()},p.ctor=function(a,b,d){c.j.prototype.ctor.call(this);this.ef=!1;this.ua=z(0,0);this.ed=z(0,0);this.A={src:c.Nb,fa:c.Mb};this.C=B(0,0,0,0);this.jo=!1;this.sa=!0;this.ph={x:0,y:0,width:0,height:0,Rh:!1};this.Mr=A(0,0);this.Zs(a,b,d)},p.mj=
- function(a,b){var d=this.A;void 0===b?(d.src=a.src,d.fa=a.fa):(d.src=a,d.fa=b);this.xi=d&&(d.src==c.SRC_ALPHA&&d.fa==c.ONE||d.src==c.ONE&&d.fa==c.ONE)},p.ga=function(){if(0<arguments.length)return this.Ui(arguments[0],arguments[1]);c.j.prototype.ga.call(this);this.dirty=this.bd=!1;this.Ma=!0;this.A.src=c.Nb;this.A.fa=c.Mb;this.texture=null;this.sa=!0;this.sb=this.tb=!1;this.anchorY=this.anchorX=0.5;this.ua.x=0;this.ua.y=0;this.Bd=!1;this.Ia(B(0,0,0,0),!1,A(0,0));return!0},p.pa=function(a,b,d){c.assert(0!=
- arguments.length,c.d.Jv);if((d=d||!1)&&a.mb){var e=a.ba,e=c.Ap(e,b),f=new c.K;f.Ib(e);f.wa();a=f;this.C=B(0,0,b.width,b.height)}if(!c.j.prototype.ga.call(this))return!1;this.P=null;this.dirty=this.bd=!1;this.Ma=!0;this.A.src=c.Nb;this.A.fa=c.Mb;this.sb=this.tb=!1;this.anchorY=this.anchorX=0.5;this.ua.x=0;this.ua.y=0;this.Bd=!1;this.sa=e=a.mb;if(!e)return this.$a=d,b&&(this.C.x=b.x,this.C.y=b.y,this.C.width=b.width,this.C.height=b.height),a.pe(this.Ik,this),!0;b||(b=B(0,0,a.width,a.height));a&&a.url&&
- (e=b.y+b.height,b.x+b.width>a.width&&c.error(c.d.Lm,a.url),e>a.height&&c.error(c.d.Km,a.url));this.texture=this.fb=a;this.Ia(b,d);this.batchNode=null;return!0},p.Ik=function(a){if(!this.sa){this.sa=!0;var b=this.C;b?c.Bs(b)&&(b.width=a.width,b.height=a.height):b=B(0,0,a.width,a.height);this.texture=this.fb=a;this.Ia(b,this.$a);a=this.Aa;255==a.r&&255==a.g&&255==a.b||this.Le();this.batchNode=this.P;this.Hc()}},p.Ia=function(a,b,d){this.$a=b||!1;this.Tc(d||a);this.Bq(a);b=this.ph;d=c.Pa();b.x=0|a.x*
- d;b.y=0|a.y*d;b.width=0|a.width*d;b.height=0|a.height*d;b.Rh=!(0===b.width||0===b.height||0>b.x||0>b.y);a=this.ed;this.sb&&(a.x=-a.x);this.tb&&(a.y=-a.y);this.ua.x=a.x+(this.q.width-this.C.width)/2;this.ua.y=a.y+(this.q.height-this.C.height)/2;this.P&&(this.dirty=!0)},p.kc=function(){if(this.dirty){var a=this.nb;!this.Wb||a&&a!=this.P&&a.ef?this.ef=!0:(this.ef=!1,this.Uf=a&&a!=this.P?c.$f(this.$i(),a.Uf):this.$i());this.dirty=this.bd=!1}this.Bd&&this.Gc(this.o,c.j.mc.kc)},p.J=function(a,b,d){c.assert(a,
- c.d.Hv);null==b&&(b=a.ra);null==d&&(d=a.tag);c.j.prototype.J.call(this,a,b,d);this.Bd=!0},p.Xa=function(a){c.j.prototype.Xa.call(this,a);this.ih()},p.Z=function(a){var b=this.color;this.rs=b;b.r===a.r&&b.g===a.g&&b.b===a.b||c.j.prototype.Z.call(this,a)},p.Lb=function(a){c.j.prototype.Lb.call(this,a);a=this.rs;var b=this.Aa;if(a.r!==b.r||a.g!==b.g||a.b!==b.b)this.Le(),this.ih()},p.Oh=function(a){var b=this;"string"==typeof a&&(a=c.tf.lf(a),c.assert(a,c.d.Mv));b.T(!0);var d=a.Lp();b.ed.x=d.x;b.ed.y=
- d.y;b.$a=a.Eb;var d=a.Ea(),e=a.sa;e||(b.sa=!1,a.pe(function(a){b.sa=!0;var d=a.Ea();d!=b.Q&&(b.texture=d);b.Ia(a.gd(),a.Eb,a.Bh());b.Hc()},b));d!=b.Q&&(b.texture=d);b.$a&&(b.fb=d);b.Ia(a.gd(),b.$a,a.Bh());b.Uj=!1;e&&(a=b.color,255===a.r&&255===a.g&&255===a.b||b.Le())},p.eu=function(a){return a.Ea()!=this.Q?!1:c.Hu(a.gd(),this.C)},p.sq=function(a){(this.P=a)?(this.Uf={a:1,b:0,p:0,s:1,N:0,O:0},this.textureAtlas=this.P.textureAtlas):(this.atlasIndex=c.F.rm,this.textureAtlas=null,this.dirty=this.bd=!1)},
- p.Qa=function(a){a&&"string"===typeof a?(a=c.qa.fc(a),this.Qa(a),a=a.Qc(),this.Ia(B(0,0,a.width,a.height))):(c.assert(!a||a instanceof c.K,c.d.Nv),this.Q!=a&&(a&&a.ba instanceof HTMLImageElement&&(this.fb=a),this.Q=a))},p.oa=function(a){if(this.sa){a=a||c.e;this.xi&&(a.globalCompositeOperation="lighter");var b=c.view.U,d=c.view.ca;a.globalAlpha=this.eb/255;var e=this.C,f=this.q,g=this.ua,h=this.Mr,k=0|g.x,m=-g.y-e.height,n=this.ph;h.width=e.width*b;h.height=e.height*d;if(this.sb||this.tb)a.save(),
- this.sb&&(k=-g.x-e.width,a.scale(-1,1)),this.tb&&(m=g.y,a.scale(1,-1));k*=b;m*=d;this.Q&&n.Rh?(f=this.Q.ba,this.Uj?a.drawImage(f,0,0,n.width,n.height,k,m,h.width,h.height):a.drawImage(f,n.x,n.y,n.width,n.height,k,m,h.width,h.height)):!this.Q&&n.Rh&&(h=this.color,a.fillStyle="rgba("+h.r+","+h.g+","+h.b+",1)",a.fillRect(k,m,f.width*b,f.height*d));1===c.De||this.Qo?(a.strokeStyle="rgba(0,255,0,1)",k/=b,m=-(m/d),c.$d.Pc([z(k,m),z(k+e.width,m),z(k+e.width,m-e.height),z(k,m-e.height)],4,!0)):2===c.De&&
- (a.strokeStyle="rgba(0,255,0,1)",b=this.C,m=-m,c.$d.Pc([z(k,m),z(k+b.width,m),z(k+b.width,m-b.height),z(k,m-b.height)],4,!0));(this.sb||this.tb)&&a.restore();c.Nd++}},c.Ja.ct||(p.Le=function(){var a,b=this.Q,d=this.ph;b&&d.Rh&&this.fb&&(a=b.ba)&&(b=c.qa.Pt(this.fb.ba))&&(this.Uj=!0,a instanceof HTMLCanvasElement&&!this.$a&&!this.jo?c.Yk(a,b,this.Aa,d,a):(a=c.Yk(a,b,this.Aa,d),b=new c.K,b.Ib(a),b.wa(),this.texture=b))}),delete p):(c.assert("function"===typeof c.i.on,c.d.bb,"SpritesWebGL.js"),c.i.on(),
- delete c.i.on);c.assert("function"===typeof c.i.Gm,c.d.bb,"SpritesPropertyDefine.js");c.i.Gm();delete c.i.Gm;c.gm=29;
- c.ai=c.j.extend({textureAtlas:null,A:null,rb:null,xd:"SpriteBatchNode",MK:function(a,b,d){c.assert(a,c.d.Lx);if(!(a instanceof c.F))return c.log(c.d.Kx),null;a.atlasIndex=b;var e=0,f=this.rb;if(f&&0<f.length)for(var g=0;g<f.length;g++){var h=f[g];h&&h.atlasIndex>=b&&++e}f.splice(e,0,a);c.j.prototype.J.call(this,a,b,d);this.Lu(!1);return this},Ot:function(){return this.textureAtlas},ev:function(a){a!=this.textureAtlas&&(this.textureAtlas=a)},vD:function(){return this.rb},Ui:function(a,b){var d=c.qa.oj(a);
- d||(d=c.qa.fc(a));return this.pa(d,b)},ih:function(){this.wd=!0},ga:function(a,b){var d=c.qa.oj(a);d||(d=c.qa.fc(a));return this.pa(d,b)},hl:function(){var a=this.textureAtlas.capacity,b=Math.floor(4*(a+1)/3);c.log(c.d.Mx,a,b);this.textureAtlas.OF(b)||c.log(c.d.Nx)},aS:function(a,b){this.removeChild(this.o[a],b)},Gu:function(a,b){var d=a.children;if(d&&0<d.length)for(var e=0;e<d.length;e++){var f=d[e];f&&0>f.zIndex&&(b=this.Gu(f,b))}!a==this&&(a.atlasIndex=b,b++);if(d&&0<d.length)for(e=0;e<d.length;e++)(f=
- d[e])&&0<=f.zIndex&&(b=this.Gu(f,b));return b},Tp:function(a){var b=a.children;return b&&0!=b.length?this.Tp(b[b.length-1]):a.atlasIndex},jF:function(a){var b=a.children;return b&&0!=b.length?this.jF(b[b.length-1]):a.atlasIndex},wC:function(a,b){var d=a.parent,e=d.children,f=e.indexOf(a),g=null;0<f&&f<c.Uy&&(g=e[f-1]);return d==this?0==f?0:this.Tp(g)+1:0==f?0>b?d.atlasIndex:d.atlasIndex+1:0>g.zIndex&&0>b||0<=g.zIndex&&0<=b?this.Tp(g)+1:d.atlasIndex+1},Lu:function(a){this.wb=a},mj:function(a,b){this.A=
- void 0===b?a:{src:a,fa:b}},Hp:function(){return this.A},lj:function(a,b){c.assert(a,c.d.Qx);-1===this.o.indexOf(a)?c.log(c.d.Px):b!==a.zIndex&&(c.j.prototype.lj.call(this,a,b),this.T())},removeChild:function(a,b){null!=a&&(-1===this.o.indexOf(a)?c.log(c.d.Ox):(this.mg(a),c.j.prototype.removeChild.call(this,a,b)))},YA:null,Sf:null,AK:!1,fb:null,ctor:null,Lz:function(a,b){c.j.prototype.ctor.call(this);var d;b=b||c.gm;"string"==typeof a?(d=c.qa.oj(a))||(d=c.qa.fc(a)):a instanceof c.K&&(d=a);d&&this.pa(d,
- b)},Mz:function(a,b){c.j.prototype.ctor.call(this);this.YA=new c.u;var d;b=b||c.gm;"string"==typeof a?(d=c.qa.oj(a))||(d=c.qa.fc(a)):a instanceof c.K&&(d=a);d&&this.pa(d,b)},uv:null,$B:function(a,b){c.assert(a,c.d.Ov);a instanceof c.F?(a.batchNode=this,a.atlasIndex=b,a.dirty=!0,a.kc()):c.log(c.d.dm)},aC:function(a,b){c.assert(a,c.d.dm);if(a instanceof c.F){for(var d=this.textureAtlas.capacity;b>=d||d==this.textureAtlas.totalQuads;)this.hl();a.batchNode=this;a.atlasIndex=b;a.dirty=!0;a.kc()}else c.log(c.d.dm)},
- ff:function(a,b){var d=this.rb,e=this.textureAtlas,f=e.quads,g=d[a],h=c.rr(f[a]);d[b].atlasIndex=a;d[a]=d[b];e.Ul(f[b],a);d[b]=g;e.Ul(h,b)},bu:null,KA:function(a,b){c.assert(a,c.d.Lv);a instanceof c.F?(a.batchNode=this,a.atlasIndex=b,a.dirty=!0,a.kc(),this.o.splice(b,0,a)):c.log(c.d.Kv)},LA:function(a,b){c.assert(a,c.d.ey);if(a instanceof c.F){for(var d=this.textureAtlas;b>=d.capacity||d.capacity===d.totalQuads;)this.hl();a.batchNode=this;a.atlasIndex=b;d.Xp(a.quad,b);a.dirty=!0;a.kc()}else c.log(c.d.dy)},
- ft:function(a,b){var d=0,e=a.children;e&&(d=e.length);var f=0;if(0===d)f=a.atlasIndex,a.atlasIndex=b,a.arrivalOrder=0,f!=b&&this.ff(f,b),b++;else{f=!0;0<=e[0].zIndex&&(f=a.atlasIndex,a.atlasIndex=b,a.arrivalOrder=0,f!=b&&this.ff(f,b),b++,f=!1);for(d=0;d<e.length;d++){var g=e[d];f&&0<=g.zIndex&&(f=a.atlasIndex,a.atlasIndex=b,a.arrivalOrder=0,f!=b&&this.ff(f,b),b++,f=!1);b=this.ft(g,b)}f&&(f=a.atlasIndex,a.atlasIndex=b,a.arrivalOrder=0,f!=b&&this.ff(f,b),b++)}return b},Vf:function(){this.textureAtlas.texture.Ti()||
- (this.A.src=c.SRC_ALPHA,this.A.fa=c.ONE_MINUS_SRC_ALPHA)},pa:null,ao:function(a){this.o=[];this.rb=[];this.A=new c.Ta(c.Nb,c.Mb);this.Sf=this.fb=a;return!0},bo:function(a,b){this.o=[];this.rb=[];this.A=new c.Ta(c.Nb,c.Mb);b=b||c.gm;this.textureAtlas=new c.Zd;this.textureAtlas.pa(a,b);this.Vf();this.shaderProgram=c.Ud.Jb(c.Zh);return!0},yE:function(a,b){a.batchNode=this;a.atlasIndex=b;a.dirty=!0;var d=this.textureAtlas;d.totalQuads>=d.capacity&&this.hl();d.Xp(a.quad,b);this.rb.splice(b,0,a);var d=
- b+1,e=this.rb;if(e&&0<e.length)for(;d<e.length;d++)e[d].atlasIndex++;var e=a.children,f;if(e)for(d=0,l=e.length||0;d<l;d++)(f=e[d])&&this.yE(f,this.wC(f,f.zIndex))},appendChild:null,yz:function(a){this.wb=!0;a.batchNode=this;a.dirty=!0;this.rb.push(a);a.atlasIndex=this.rb.length-1;a=a.children;for(var b=0,d=a.length||0;b<d;b++)this.appendChild(a[b])},zz:function(a){this.wb=!0;a.batchNode=this;a.dirty=!0;this.rb.push(a);var b=this.rb.length-1;a.atlasIndex=b;var d=this.textureAtlas;d.totalQuads==d.capacity&&
- this.hl();d.Xp(a.quad,b);a=a.children;b=0;for(d=a.length||0;b<d;b++)this.appendChild(a[b])},mg:null,mB:function(a){a.batchNode=null;var b=this.rb,d=b.indexOf(a);if(-1!=d){b.splice(d,1);for(var e=b.length;d<e;++d)b[d].atlasIndex--}if(a=a.children)for(b=0,d=a.length||0;b<d;b++)a[b]&&this.mg(a[b])},nB:function(a){this.textureAtlas.NF(a.atlasIndex);a.batchNode=null;var b=this.rb,d=b.indexOf(a);if(-1!=d){b.splice(d,1);for(var e=b.length;d<e;++d)b[d].atlasIndex--}if(a=a.children)for(b=0,d=a.length||0;b<
- d;b++)a[b]&&this.mg(a[b])},Ea:null,Un:function(){return this.Sf},Vn:function(){return this.textureAtlas.texture},Qa:null,No:function(a){this.Sf=a;for(var b=this.o,d=0;d<b.length;d++)b[d].texture=a},Oo:function(a){this.textureAtlas.texture=a;this.Vf()},ka:null,bC:function(a){var b=a||c.e;if(this.Wb){b.save();this.transform(a);var d=this.o;if(d)for(this.Kb(),a=0;a<d.length;a++)d[a]&&d[a].ka(b);b.restore()}},cC:function(a){a=a||c.e;if(this.Wb){c.gu();var b=this.Eh;b&&b.cu()&&(b.zC(),this.qv());this.Kb();
- this.transform(a);this.oa(a);b&&b.cu()&&b.jC(this);c.fu();this.arrivalOrder=0}},J:null,tz:function(a,b,d){c.assert(null!=a,c.d.Iv);a instanceof c.F?(b=null==b?a.zIndex:b,d=null==d?a.tag:d,c.j.prototype.J.call(this,a,b,d),this.appendChild(a),this.T()):c.log(c.d.Gv)},uz:function(a,b,d){c.assert(null!=a,c.d.Xx);a instanceof c.F?a.texture!=this.textureAtlas.texture?c.log(c.d.Wx):(b=null==b?a.zIndex:b,d=null==d?a.tag:d,c.j.prototype.J.call(this,a,b,d),this.appendChild(a),this.T()):c.log(c.d.Vx)},sf:null,
- kB:function(a){var b=this.rb;if(b&&0<b.length)for(var d=0,e=b.length;d<e;d++)b[d]&&(b[d].batchNode=null);c.j.prototype.sf.call(this,a);this.rb.length=0},lB:function(a){var b=this.rb;if(b&&0<b.length)for(var d=0,e=b.length;d<e;d++)b[d]&&(b[d].batchNode=null);c.j.prototype.sf.call(this,a);this.rb.length=0;this.textureAtlas.IF()},Kb:null,NB:function(){if(this.wb){var a,b=0,d=this.o,e=d.length,f;for(a=1;a<e;a++){var g=d[a],b=a-1;for(f=d[b];0<=b&&(g.ra<f.ra||g.ra==f.ra&&g.arrivalOrder<f.arrivalOrder);)d[b+
- 1]=f,b-=1,f=d[b];d[b+1]=g}0<d.length&&this.Gc(d,c.j.mc.Kb);this.wb=!1}},OB:function(){if(this.wb){var a=this.o,b,d=0,e=a.length,f;for(b=1;b<e;b++){var g=a[b],d=b-1;for(f=a[d];0<=d&&(g.ra<f.ra||g.ra==f.ra&&g.arrivalOrder<f.arrivalOrder);)a[d+1]=f,d-=1,f=a[d];a[d+1]=g}if(0<a.length)for(this.Gc(a,c.j.mc.Kb),b=d=0;b<a.length;b++)d=this.ft(a[b],d);this.wb=!1}},oa:null,In:function(){0!==this.textureAtlas.totalQuads&&(this.xb.Bb(),this.xb.jc(),this.Gc(this.o,c.j.mc.kc),c.mf(this.A.src,this.A.fa),this.textureAtlas.WC())}});
- p=c.ai.prototype;c.Ba===c.Ec?(p.ctor=p.Mz,p.uv=p.aC,p.bu=p.LA,p.pa=p.bo,p.appendChild=p.zz,p.mg=p.nB,p.Ea=p.Vn,p.Qa=p.Oo,p.ka=p.cC,p.J=p.uz,p.sf=p.lB,p.Kb=p.OB,p.oa=p.In):(p.ctor=p.Lz,p.uv=p.$B,p.bu=p.KA,p.pa=p.ao,p.appendChild=p.yz,p.mg=p.mB,p.Ea=p.Un,p.Qa=p.No,p.ka=p.bC,p.sf=p.kB,p.J=p.tz,p.Kb=p.NB,p.oa=c.j.prototype.oa);c.f(p,"texture",p.Ea,p.Qa);c.f(p,"descendants",p.vD);c.ai.create=function(a,b){return new c.ai(a,b)};c.ai.zp=c.ai.create;c.Fv=c.F.extend({Bn:null,Sj:null,ctor:function(){c.F.prototype.ctor.call(this);var a=document.createElement("canvas");a.width=a.height=10;this.Bn=a;this.Sj=a.getContext("2d");var b=new c.K;b.Ib(a);b.wa();this.Qa(b)},vM:function(){return this.Sj},uM:function(){return this.Bn},Ou:function(a,b){void 0===b&&(b=a.height,a=a.width);var d=this.Bn;d.width=a;d.height=b;this.Ea().wa();this.Ia(B(0,0,a,b),!1)}});c.pd=c.$.extend({mh:null,Qb:0,uh:null,ctor:function(a,b,d){this.mh=a||null;this.Qb=b||0;this.uh=d||null},zb:function(){var a=new c.pd;a.Pd(this.mh.zb(),this.Qb,this.uh);return a},Vk:function(){return c.zb(this)},copy:function(){var a=new c.pd;a.Pd(this.mh.zb(),this.Qb,this.uh);return a},Pd:function(a,b,d){this.mh=a;this.Qb=b;this.uh=d;return!0},lf:function(){return this.mh},Oh:function(a){this.mh=a},FM:function(){return this.Qb},HS:function(a){this.Qb=a},KN:function(){return this.uh},AT:function(a){this.uh=
- a}});c.pd.create=function(a,b,d){return new c.pd(a,b,d)};
- c.Be=c.$.extend({ac:null,bh:0,xk:!1,WJ:0,Qb:0,me:0,ctor:function(a,b,d){this.ac=[];if(void 0===a)this.$t(null,0);else{var e=a[0];e&&(e instanceof c.Ob?this.$t(a,b,d):e instanceof c.pd&&this.il(a,b,d))}},UM:function(){return this.ac},QS:function(a){this.ac=a},tp:function(a){var b=new c.pd;b.Pd(a,1,null);this.ac.push(b);this.me++},KK:function(a){a=c.qa.fc(a);var b=B(0,0,0,0);b.width=a.width;b.height=a.height;a=c.Ob.create(a,b);this.tp(a)},LK:function(a,b){var d=c.Ob.create(a,b);this.tp(d)},il:function(a,
- b,d){c.Sk(a,c.pd);this.Qb=b;this.bh=void 0===d?1:d;this.me=0;b=this.ac;for(d=b.length=0;d<a.length;d++){var e=a[d];b.push(e);this.me+=e.Qb}return!0},zb:function(){var a=new c.Be;a.il(this.Hr(),this.Qb,this.bh);a.xq(this.xk);return a},Vk:function(){var a=new c.Be;a.il(this.Hr(),this.Qb,this.bh);a.xq(this.xk);return a},Hr:function(){for(var a=[],b=0;b<this.ac.length;b++)a.push(this.ac[b].zb());return a},copy:function(){return this.Vk(null)},aN:function(){return this.bh},US:function(a){this.bh=a},xq:function(a){this.xk=
- a},rN:function(){return this.xk},NM:function(){return this.me*this.Qb},EM:function(){return this.Qb},GS:function(a){this.Qb=a},CN:function(){return this.me},$t:function(a,b,d){c.Sk(a,c.Ob);this.bh=void 0===d?1:d;this.Qb=b||0;this.me=0;b=this.ac;b.length=0;if(a){for(d=0;d<a.length;d++){var e=a[d],f=new c.pd;f.Pd(e,1,null);b.push(f)}this.me+=a.length}return!0},oq:function(){},Nh:function(){}});c.Be.create=function(a,b,d){return new c.Be(a,b,d)};c.Be.sL=c.Be.create;c.Qk={Cg:{},kt:function(a,b){this.Cg[b]=a},$R:function(a){a&&this.Cg[a]&&delete this.Cg[a]},nD:function(a){return this.Cg[a]?this.Cg[a]:null},sz:function(a,b){var d=a.animations;if(d){var e=1,f=a.properties;if(f)for(var e=null!=f.format?parseInt(f.format):e,f=f.spritesheets,g=c.tf,h=c.path,k=0;k<f.length;k++)g.hC(h.rt(b,f[k]));switch(e){case 1:this.dB(d);break;case 2:this.eB(d);break;default:c.log(c.d.nC)}}else c.log(c.d.mC)},DK:function(a){c.assert(a,c.d.vC);var b=c.D.hd(a);b?this.sz(b,a):c.log(c.d.uC)},
- dB:function(a){var b=c.tf,d;for(d in a){var e=a[d],f=e.frames,e=parseFloat(e.delay)||0,g=null;if(f){for(var g=[],h=0;h<f.length;h++){var k=b.lf(f[h]);if(k){var m=new c.pd;m.Pd(k,1,null);g.push(m)}else c.log(c.d.pC,d,f[h])}0===g.length?c.log(c.d.qC,d):(g.length!=f.length&&c.log(c.d.rC,d),g=c.Be.create(g,e,1),c.Qk.kt(g,d))}else c.log(c.d.oC,d)}},eB:function(a){var b=c.tf,d;for(d in a){var e=a[d],f=parseInt(e.loops),f=e.loop?c.Ag:isNaN(f)?1:f,g=e.restoreOriginalFrame&&!0==e.restoreOriginalFrame?!0:!1,
- h=e.frames;if(h){for(var k=[],m=0;m<h.length;m++){var n=h[m],r=n.spriteframe,s=b.lf(r);if(s){var r=parseFloat(n.delayUnits)||0,n=n.notification,t=new c.pd;t.Pd(s,r,n);k.push(t)}else c.log(c.d.tC,d,r)}e=parseFloat(e.delayPerUnit)||0;h=new c.Be;h.il(k,e,f);h.xq(g);c.Qk.kt(h,d)}else c.log(c.d.sC,d)}},Me:function(){this.Cg={}}};c.Ob=c.$.extend({ta:null,af:null,Ub:null,Eb:!1,C:null,Kc:null,uc:null,Q:null,oh:"",sa:!1,$j:null,ctor:function(a,b,d,e,f){this.ta=z(0,0);this.Kc=z(0,0);this.af=A(0,0);this.Eb=!1;this.uc=A(0,0);this.oh="";this.Q=null;this.sa=!1;void 0!==a&&void 0!==b&&(void 0===d||void 0===e||void 0===f?this.pa(a,b):this.pa(a,b,d,e,f))},gH:function(){return this.sa},pe:function(a,b){null==this.$j&&(this.$j=[]);this.$j.push({eg:a,se:b})},Hc:function(){var a=this.$j;if(a){for(var b=0,d=a.length;b<d;b++){var e=a[b];e.eg.call(e.se,
- this)}a.length=0}},XD:function(){var a=this.Ub;return B(a.x,a.y,a.width,a.height)},dT:function(a){this.Ub||(this.Ub=B(0,0,0,0));this.Ub.x=a.x;this.Ub.y=a.y;this.Ub.width=a.width;this.Ub.height=a.height;this.C=c.lq(a)},uO:function(){return this.Eb},fT:function(a){this.Eb=a},gd:function(){var a=this.C;return B(a.x,a.y,a.width,a.height)},av:function(a){this.C||(this.C=B(0,0,0,0));this.C.x=a.x;this.C.y=a.y;this.C.width=a.width;this.C.height=a.height;this.Ub=c.jj(this.C)},hN:function(){return z(this.Kc)},
- ZS:function(a){this.Kc.x=a.x;this.Kc.y=a.y;c.po(this.Kc,this.ta)},kN:function(){return A(this.uc)},aT:function(a){this.uc.width=a.width;this.uc.height=a.height},Bh:function(){return A(this.af)},$S:function(a){this.af.width=a.width;this.af.height=a.height},Ea:function(){if(this.Q)return this.Q;if(""!==this.oh){var a=c.qa.fc(this.oh);a&&(this.sa=a.mb);return a}return null},Qa:function(a){if(this.Q!=a){var b=a.mb;this.sa=b;this.Q=a;b||a.pe(function(a){this.sa=!0;if(this.Eb&&c.Ba===c.cb){var b=a.ba,b=
- c.Ap(b,this.gd()),f=new c.K;f.Ib(b);f.wa();this.Qa(f);b=this.gd();this.av(B(0,0,b.width,b.height))}b=this.C;0===b.width&&0===b.height&&(b=a.width,a=a.height,this.C.width=b,this.C.height=a,this.Ub=c.jj(this.C),this.uc.width=this.Ub.width,this.uc.height=this.Ub.height,this.af.width=b,this.af.height=a);this.Hc()},this)}},Lp:function(){return z(this.ta)},YS:function(a){this.ta.x=a.x;this.ta.y=a.y},zb:function(){var a=new c.Ob;a.pa(this.oh,this.Ub,this.Eb,this.Kc,this.uc);a.Qa(this.Q);return a},Vk:function(){var a=
- new c.Ob;a.pa(this.oh,this.Ub,this.Eb,this.Kc,this.uc);a.Qa(this.Q);return a},copy:function(){return this.Vk()},pa:function(a,b,d,e,f){2===arguments.length&&(b=c.jj(b));e=e||z(0,0);f=f||b;d=d||!1;"string"==typeof a?(this.Q=null,this.oh=a):a instanceof c.K&&this.Qa(a);if((a=this.Ea())&&a.url){var g,h;d?(g=b.x+b.height,h=b.y+b.width):(g=b.x+b.width,h=b.y+b.height);g>a.width&&c.error(c.d.Lm,a.url);h>a.height&&c.error(c.d.Km,a.url)}this.Ub=b;this.C=c.lq(b);this.Kc.x=e.x;this.Kc.y=e.y;c.po(e,this.ta);
- this.uc.width=f.width;this.uc.height=f.height;c.Ys(f,this.af);this.Eb=d;return!0}});c.Ob.create=function(a,b,d,e,f){return new c.Ob(a,b,d,e,f)};c.Ob.zp=c.Ob.create;c.Ob.YJ=function(a,b,d,e,f){var g=new c.Ob;g.Q=a;g.Ub=b;g.C=c.lq(b);g.Kc.x=e.x;g.Kc.y=e.y;c.po(g.Kc,g.ta);g.uc.width=f.width;g.uc.height=f.height;c.Ys(g.uc,g.af);g.Eb=d;return g};c.tf={ur:/^\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*$/,gz:/^\s*\{\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*,\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*\}\s*$/,dd:{},ke:{},Tg:{},Cs:function(a){return(a=this.gz.exec(a))?B(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]),parseFloat(a[4])):B(0,0,0,0)},ws:function(a){return(a=this.ur.exec(a))?z(parseFloat(a[1]),parseFloat(a[2])):z(0,0)},Ro:function(a){return(a=this.ur.exec(a))?A(parseFloat(a[1]),parseFloat(a[2])):
- A(0,0)},jA:function(a){var b=c.D.hd(a);c.assert(b,c.d.TG,a);c.D.Nh(a);if(b.Yg)return this.Tg[a]=b;var d=b.frames,e=b.metadata||b.meta,b={},f={},g=0;e&&(g=e.format,g=1>=g.length?parseInt(g):g,f.pE=e.textureFileName||e.textureFileName||e.image);for(var h in d){var k=d[h];if(k){e={};if(0==g){e.rect=B(k.x,k.y,k.width,k.height);e.Ll=!1;e.offset=z(k.offsetX,k.offsetY);var m=k.originalWidth,k=k.originalHeight;m&&k||c.log(c.d.SG);m=Math.abs(m);k=Math.abs(k);e.size=A(m,k)}else if(1==g||2==g)e.rect=this.Cs(k.frame),
- e.Ll=k.rotated||!1,e.offset=this.ws(k.offset),e.size=this.Ro(k.sourceSize);else if(3==g){var m=this.Ro(k.spriteSize),n=this.Cs(k.textureRect);m&&(n=B(n.x,n.y,m.width,m.height));e.rect=n;e.Ll=k.textureRotated||!1;e.offset=this.ws(k.spriteOffset);e.size=this.Ro(k.spriteSourceSize);e.kC=k.aliases}else m=k.frame,n=k.sourceSize,h=k.filename||h,e.rect=B(m.x,m.y,m.w,m.h),e.Ll=k.rotated||!1,e.offset=z(0,0),e.size=A(n.w,n.h);b[h]=e}}return this.Tg[a]={Yg:!0,frames:b,lF:f}},hC:function(a,b){c.assert(a,c.d.VG);
- var d=this.Tg[a]||c.D.hd(a);if(d&&d.frames){var e=this.Tg[a]||this.jA(a),d=e.frames,e=e.lF;b?b instanceof c.K||("string"==typeof b?b=c.qa.fc(b):c.assert(0,c.d.WG)):b=c.qa.fc(c.path.rt(a,e.pE||".png"));var e=this.ke,f=this.dd,g;for(g in d){var h=d[g],k=f[g];if(!k){k=c.Ob.create(b,h.rect,h.Ll,h.offset,h.size);if(h=h.kC)for(var m=0,n=h.length;m<n;m++){var r=h[m];e[r]&&c.log(c.d.UG,r);e[r]=g}c.Ba===c.cb&&k.Eb&&k.Ea().mb&&(h=k.Ea().ba,h=c.Ap(h,k.XD()),m=new c.K,m.Ib(h),m.wa(),k.Qa(m),h=k.C,k.av(B(0,0,
- h.width,h.height)));f[g]=k}}}},OJ:function(a){a=a.frames;for(var b in a)this.dd[b]&&c.log(c.d.RG,b)},tp:function(a,b){this.dd[b]=a},iS:function(){this.dd={};this.ke={}},hS:function(a){a&&(this.ke[a]&&delete this.ke[a],this.dd[a]&&delete this.dd[a])},jS:function(a){var b=this.dd,d=this.ke;if(a=this.Tg[a]){a=a.frames;for(var e in a)if(b[e]){delete b[e];for(var f in d)d[f]==e&&delete d[f]}}},kS:function(a){var b=this.dd,d=this.ke,e;for(e in b){var f=b[e];if(f&&f.Ea()==a){delete b[e];for(var g in d)d[g]==
- e&&delete d[g]}}},lf:function(a){var b=this.dd[a];if(!b){var d=this.ke[a];d&&((b=this.dd[d.toString()])||delete this.ke[a])}b||c.log(c.d.XG,a);return b},Me:function(){this.dd={};this.ke={};this.Tg={}}};c.vt={kI:0,oJ:1,INT:2,eI:3,FH:4,ok:0,WA:0,cp:!1,bp:!1,$o:!1,ap:!1,dp:!1,iK:0,ho:0,Jj:"",Li:{},Yg:!1,ui:function(){var a=this.Li;a["cocos2d.x.version"]=c.mm;a["cocos2d.x.compiled_with_profiler"]=!1;a["cocos2d.x.compiled_with_gl_state_cache"]=c.Uc;this.Yg=!0},dN:function(){return this.ok},cN:function(){return this.WA},eN:function(){return this.ho},UT:function(){return this.bp},VT:function(){return this.cp},TT:function(){return!1},WT:function(){return!1},QT:function(){return!1},RT:function(){return this.$o},
- ST:function(){return this.ap},XT:function(){return this.dp},Uk:function(a){return-1<this.Jj.indexOf(a)},MN:function(a,b){this.Yg||this.ui();var d=this.Li;return d[a]?d[a]:b},CT:function(a,b){this.Li[a]=b},$C:function(){0===c.Uc&&(c.log(""),c.log(c.d.GC),c.log(""))},mD:function(){if(c.Ba!==c.cb){this.Yg||this.ui();var a=c.e,b=this.Li;b["gl.vendor"]=a.getParameter(a.VENDOR);b["gl.renderer"]=a.getParameter(a.RENDERER);b["gl.version"]=a.getParameter(a.VERSION);this.Jj="";for(var d=a.getSupportedExtensions(),
- e=0;e<d.length;e++)this.Jj+=d[e]+" ";this.ok=a.getParameter(a.MAX_TEXTURE_SIZE);b["gl.max_texture_size"]=this.ok;this.ho=a.getParameter(a.MAX_COMBINED_TEXTURE_IMAGE_UNITS);b["gl.max_texture_units"]=this.ho;this.cp=this.Uk("GL_IMG_texture_compression_pvrtc");b["gl.supports_PVRTC"]=this.cp;this.bp=!1;b["gl.supports_NPOT"]=this.bp;this.$o=this.Uk("GL_IMG_texture_format_BGRA888");b["gl.supports_BGRA8888"]=this.$o;this.ap=this.Uk("GL_EXT_discard_framebuffer");b["gl.supports_discard_framebuffer"]=this.ap;
- this.dp=this.Uk("vertex_array_object");b["gl.supports_vertex_array_object"]=this.dp;c.xh()}},vQ:function(a){this.Yg||this.ui();var b=c.D.hd(a);if(!b)throw"Please load the resource first : "+a;c.assert(b,c.d.IC,a);if(b=b.data)for(var d in b)this.Li[d]=b[d];else c.log(c.d.HC,a)}};c.i.jm=function(){c.gI=c.$.extend({iU:function(){}});var a=c.R.prototype;a.Ql=function(a){var d=this.Ha;this.OG();var e=this.ad,f=e.Fb.x/e.U,e=e.Fb.y/e.ca;switch(a){case c.R.hx:c.ml(c.xg);c.ll();f=new c.u;c.RE(f,d.width,d.height);c.nl(f);c.ml(c.wg);c.ll();break;case c.R.fr:var g=this.Op(),h=new c.u,k=new c.u;c.ml(c.xg);c.ll();c.SE(h,d.width/d.height,2*g);c.nl(h);c.ml(c.wg);c.ll();g=c.Gh(null,-f+d.width/2,-e+d.height/2,g);c.ju(k,g,c.Gh(null,-f+d.width/2,-e+d.height/2,0),c.Gh(null,0,1,0));c.nl(k);break;
- case c.R.ix:break;default:c.log(c.d.Zv)}this.If=a;c.H.dispatchEvent(this.ak);c.vG()};a.Vu=function(a){var d=c.e;a?(d.clearDepth(1),d.enable(d.DEPTH_TEST),d.depthFunc(d.LEQUAL)):d.disable(d.DEPTH_TEST)};a.wq=function(a){this.Ha.width=c.V.width;this.Ha.height=c.V.height;this.ad=a||c.view;a=c.vt;a.mD();a.$C();this.Og();this.Xu();c.H&&c.H.Ol(!0)};a.Me=function(){var a=c.e;a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT)};a.yn=function(){c.gu()};a.vn=function(){c.fu()};a.Og=function(){if(!c.tm)this.Kz();
- else if(null!=c.R.Tr&&!1!=c.R.Tr){var a=new c.K;a.Ib(c.R.Sg);a.wa();var d=c.view.Jp().height/320;0===d&&(d=this.Ha.height/320);var e=new c.tm;e.Jo(!0);e.nf("00.0",a,12,32,".");e.scale=d;this.nc=e;e=new c.tm;e.Jo(!0);e.nf("0.000",a,12,32,".");e.scale=d;this.oc=e;e=new c.tm;e.Jo(!0);e.nf("000",a,12,32,".");e.scale=d;this.qc=e;a=c.hm;this.qc.L(a.x,34*d+a.y);this.oc.L(a.x,17*d+a.y);this.nc.L(a)}};a.Kz=function(){var a=0,a=this.Ha.width>this.Ha.height?0|this.Ha.height/320*24:0|this.Ha.width/320*24;this.nc=
- c.n.create("000.0","Arial",a);this.oc=c.n.create("0.000","Arial",a);this.qc=c.n.create("0000","Arial",a);a=c.hm;this.qc.L(this.qc.width/2+a.x,5*this.qc.height/2+a.y);this.oc.L(this.oc.width/2+a.x,3*this.oc.height/2+a.y);this.nc.L(this.nc.width/2+a.x,this.nc.height/2+a.y)};a.JC=function(a){var d=new c.u;c.Uq(d);var e=new c.u;c.QE(e,d);var f=this.ad.Jp(),g=new c.ha;c.tu(g,new c.ha(2*a.x/f.width-1,1-2*a.y/f.height,d.c[14]/d.c[15]),e);return z(g.x,g.y)};a.LC=function(a){var d=new c.u;c.Uq(d);var e=new c.ha;
- c.tu(e,new c.ha(a.x,a.y,0),d);a=this.ad.Jp();return z(a.width*(0.5*e.x+0.5),a.height*(0.5*-e.y+0.5))};a.Si=function(){return this.ad.Si()};a.Np=function(){return this.ad.Np()};a.Op=function(){return this.Ha.height/1.1566};a.OG=function(){var a=this.ad;if(a){var d=this.Ha;a.NG(-a.Fb.x/a.U,-a.Fb.y/a.ca,d.width,d.height)}};a.iN=function(){return this.ad};a.oN=function(){return this.If};a.UF=function(){c.mf(c.Nb,c.Mb)};a.Xu=function(){this.UF();this.Vu(!1);this.Ql(this.If);c.e.clearColor(0,0,0,1)}};c.Nd=0;c.Uq=function(a){var b=new c.u;c.kl(c.xg,b);var d=new c.u;c.kl(c.wg,d);c.ve(a,b,d)};
- c.R=c.$.extend({gK:!1,zi:!1,vb:!1,tk:!1,Nf:!1,gi:0,ko:0,If:0,Bg:0,Af:1,pi:!1,Oe:0,Nn:0,nc:null,oc:null,qc:null,Ha:null,Ze:null,Ed:null,qk:null,ad:null,Jd:null,xo:null,hb:null,ac:0,Jk:0,Fo:0,UJ:null,yc:null,Fc:null,ak:null,Jn:null,Ln:null,Kn:null,ctor:function(){var a=this;a.Ze=Date.now();c.H.gC(c.Da.vj,function(){a.Ze=Date.now()})},ga:function(){this.ko=this.gi=1/c.MC;this.Jd=[];this.If=c.R.jx;this.xo=null;this.Nn=this.Bg=0;this.pi=!1;this.Jk=this.ac=0;this.Ze=Date.now();this.tk=this.vb=!1;this.Ha=
- A(0,0);this.ad=null;this.Af=1;this.yc=new c.$h;this.Fc=c.Gq?new c.Gq:null;this.yc.rq(this.Fc,c.$h.Bj,!1);this.Jn=new c.Xd(c.R.dw);this.Jn.setUserData(this);this.Ln=new c.Xd(c.R.fw);this.Ln.setUserData(this);this.Kn=new c.Xd(c.R.ew);this.Kn.setUserData(this);this.ak=new c.Xd(c.R.gw);this.ak.setUserData(this);return!0},BC:function(){var a=Date.now();this.zi?(this.Oe=0,this.zi=!1):this.Oe=(a-this.Ze)/1E3;0<c.Da.Gb[c.Da.zc.Qi]&&0.2<this.Oe&&(this.Oe=1/60);this.Ze=a},YC:function(){this.BC();this.vb||(this.yc.update(this.Oe),
- c.H.dispatchEvent(this.Kn));this.Me();this.Ed&&this.pG();this.yn&&this.yn();this.hb&&(this.hb.ka(),c.H.dispatchEvent(this.Ln));this.qk&&this.qk.ka();this.pi&&this.MB();this.vn&&this.vn();c.H.dispatchEvent(this.Jn);this.Jk++;this.pi&&this.Dz()},yn:null,vn:null,end:function(){this.tk=!0},BM:function(){return this.Af},fN:function(){return this.qk},kd:function(){return A(this.Ha)},QN:function(){return A(this.Ha.width*this.Af,this.Ha.height*this.Af)},pause:function(){this.vb||(this.ko=this.gi,this.Uu(0.25),
- this.vb=!0)},AR:function(){c.assert(this.hb,c.d.Wv);this.Jd.pop();var a=this.Jd.length;0==a?this.end():(this.Nf=!0,this.Ed=this.Jd[a-1])},AF:function(){c.Qk.Me();c.tf.Me();c.qa.Me()},BF:function(){this.jd().Sl();c.H&&c.H.Ol(!1);this.hb&&(this.hb.ye(),this.hb.md(),this.hb.qe());this.Ed=this.hb=null;this.Jd.length=0;this.kv();this.AF();c.xh()},CF:function(a){c.assert(a,c.d.Qq);this.Nf=!1;this.Jd.push(a);this.Ed=a},Qu:function(a){c.assert(a,c.d.Qq);if(this.hb){var b=this.Jd.length;0===b?(this.Nf=!0,
- this.Jd[b]=a):(this.Nf=!0,this.Jd[b-1]=a);this.Ed=a}else this.CF(a),this.iv()},nq:function(){this.vb&&(this.Uu(this.ko),(this.Ze=Date.now())||c.log(c.d.Yv),this.vb=!1,this.Oe=0)},DS:function(a){a!=this.Af&&(this.Af=a,this.Og())},FS:function(){},VS:function(a){this.zi=a},pG:function(){var a=!1,b=!1;c.qr&&(a=this.hb?this.hb instanceof c.qr:!1,b=this.Ed?this.Ed instanceof c.qr:!1);if(!b){if(b=this.hb)b.ye(),b.md();this.Nf&&b&&b.qe()}this.hb=this.Ed;this.Ed=null;a||null==this.hb||(this.hb.qf(),this.hb.Hh())},
- WS:function(a){this.qk=a},GM:function(){return this.xo},IS:function(a){this.xo=a},MB:function(){this.ac++;this.Bg+=this.Oe;this.nc&&this.oc&&this.qc?(this.Bg>c.Uv&&(this.oc.string=this.Fo.toFixed(3),this.Nn=this.ac/this.Bg,this.Bg=this.ac=0,this.nc.string=this.Nn.toFixed(1),this.qc.string=(0|c.Nd).toString()),this.nc.ka(),this.oc.ka(),this.qc.ka()):this.Og();c.Nd=0},wO:function(){return this.Nf},sN:function(){return this.hb},pM:function(){return this.gi},lO:function(){return this.pi},aG:function(a){this.pi=
- a},xN:function(){return this.Fo},pO:function(){return this.zi},rO:function(){return this.vb},DN:function(){return this.Jk},BR:function(){this.vF(1)},vF:function(a){c.assert(this.hb,c.d.Xv);var b=this.Jd,d=b.length;if(0==d)this.end();else if(!(a>d)){for(;d>a;){var e=b.pop();e.running&&(e.ye(),e.md());e.qe();d--}this.Ed=b[b.length-1];this.Nf=!1}},jd:function(){return this.yc},cv:function(a){this.yc!=a&&(this.yc=a)},$k:function(){return this.Fc},Tu:function(a){this.Fc!=a&&(this.Fc=a)},HM:function(){return this.Oe},
- Og:null,Dz:function(){this.Fo=(Date.now()-this.Ze)/1E3}});c.R.gw="director_projection_changed";c.R.dw="director_after_draw";c.R.fw="director_after_visit";c.R.ew="director_after_update";c.$v=c.R.extend({jl:!1,iv:function(){this.zi=!0;this.jl=!1},kF:function(){this.tk?(this.tk=!1,this.BF()):this.jl||this.YC()},kv:function(){this.jl=!0},Uu:function(a){this.gi=a;this.jl||(this.kv(),this.iv())}});c.R.Cq=null;c.R.Dt=!0;c.R.Rn=function(){c.R.Dt&&(c.R.Dt=!1,c.R.Cq=new c.$v,c.R.Cq.ga());return c.R.Cq};
- c.MC=60;c.R.hx=0;c.R.fr=1;c.R.ix=3;c.R.jx=c.R.fr;
- c.Ba===c.cb?(p=c.R.prototype,p.Ql=function(a){this.If=a;c.H.dispatchEvent(this.ak)},p.Vu=function(){},p.wq=function(a){this.Ha.width=c.V.width;this.Ha.height=c.V.height;this.ad=a||c.view;c.H&&c.H.Ol(!0)},p.Me=function(){var a=this.ad.Fb;c.e.clearRect(-a.x,a.y,a.width,-a.height)},p.Og=function(){var a=0,a=this.Ha.width>this.Ha.height?0|this.Ha.height/320*24:0|this.Ha.width/320*24;this.nc=c.n.create("000.0","Arial",a);this.oc=c.n.create("0.000","Arial",a);this.qc=c.n.create("0000","Arial",a);a=c.hm;
- this.qc.L(this.qc.width/2+a.x,5*this.qc.height/2+a.y);this.oc.L(this.oc.width/2+a.x,3*this.oc.height/2+a.y);this.nc.L(this.nc.width/2+a.x,this.nc.height/2+a.y)},p.Si=function(){return this.kd()},p.Np=function(){return z(0,0)}):(c.R.Sg=new Image,c.aa(c.R.Sg,"load",function(){c.R.Tr=!0}),c.Sg&&(c.R.Sg.src=c.Sg),c.assert("function"===typeof c.i.jm,c.d.bb,"CCDirectorWebGL.js"),c.i.jm(),delete c.i.jm);c.em=c.$.extend({qi:null,ri:null,si:null,Kg:null,Lg:null,Mg:null,Ii:null,Ji:null,Ki:null,Pe:null,mk:null,ctor:function(){this.mk=new c.u;this.restore()},description:function(){return"\x3cCCCamera | center \x3d("+this.Kg+","+this.Lg+","+this.Mg+")\x3e"},Wu:function(a){this.Pe=a},du:function(){return this.Pe},restore:function(){this.qi=this.ri=0;this.si=c.em.Op();this.Ii=this.Kg=this.Lg=this.Mg=0;this.Ji=1;this.Ki=0;c.ig(this.mk);this.Pe=!1},yu:function(){if(this.Pe){var a=new c.ha,b=new c.ha,d=new c.ha;
- c.Gh(a,this.qi,this.ri,this.si);c.Gh(b,this.Kg,this.Lg,this.Mg);c.Gh(d,this.Ii,this.Ji,this.Ki);c.ju(this.mk,a,b,d);this.Pe=!1}c.nl(this.mk)},MS:function(a,b,d){this.dG(a,b,d)},dG:function(a,b,d){this.qi=a;this.ri=b;this.si=d;this.Pe=!0},BS:function(a,b,d){this.YF(a,b,d)},YF:function(a,b,d){this.Kg=a;this.Lg=b;this.Mg=d;this.Pe=!0},zT:function(a,b,d){this.JG(a,b,d)},JG:function(a,b,d){this.Ii=a;this.Ji=b;this.Ki=d;this.Pe=!0},RM:function(){return{x:this.qi,y:this.ri,z:this.si}},QM:function(){return{x:this.qi,
- y:this.ri,z:this.si}},zM:function(){return{x:this.Kg,y:this.Lg,z:this.Mg}},yM:function(){return{x:this.Kg,y:this.Lg,z:this.Mg}},JN:function(){return{x:this.Ii,y:this.Ji,z:this.Ki}},IN:function(){return{x:this.Ii,y:this.Ji,z:this.Ki}},HJ:function(){}});c.em.Op=function(){return c.lw};c.fJ=c.Bj+1;c.Sk=function(a,b){if(a&&0<a.length)for(var d=0;d<a.length;d++)if(!(a[d]instanceof b))return c.log(c.d.Sk),!1;return!0};c.gc=function(a,b){for(var d=0,e=a.length;d<e;d++)if(a[d]==b){a.splice(d,1);break}};c.WK=function(a,b){for(var d=0,e=b.length;d<e;d++)c.gc(a,b[d])};c.VK=function(a,b,d){a.splice.apply(a,[d,0].concat(b));return a};c.Xq=function(a,b,d){this.next=null;this.target=a;this.zF=b;this.paused=d;this.xl=!1};c.Vq=function(a,b,d){this.list=a;this.dg=b;this.target=d;this.fl=null};
- c.qw=function(a,b){this.Wd=null;this.target=a;this.Qh=0;this.Pi=this.Oi=null;this.paused=b;this.fl=null};
- c.pr=c.$.extend({Ye:0,Ke:null,Hk:null,$b:0,Os:!1,Ok:!1,qh:0,Ao:0,Zj:0,$M:function(){return this.Ye},setInterval:function(a){this.Ye=a},wM:function(){return this.Ke},ctor:function(a,b,d,e,f){this.Hk=a;this.Ke=b;this.$b=-1;this.Ye=d||0;this.Zj=f||0;this.Ok=0<this.Zj;this.Ao=null==e?c.Ag:e;this.Os=this.Ao==c.Ag},Hn:function(){if("string"==typeof this.Ke)this.Hk[this.Ke](this.$b);else this.Ke.call(this.Hk,this.$b)},update:function(a){if(-1==this.$b)this.qh=this.$b=0;else{var b=this.Hk,d=this.Ke;this.$b+=
- a;this.Os&&!this.Ok?this.$b>=this.Ye&&(b&&d&&this.Hn(),this.$b=0):(this.Ok?this.$b>=this.Zj&&(b&&d&&this.Hn(),this.$b-=this.Zj,this.qh+=1,this.Ok=!1):this.$b>=this.Ye&&(b&&d&&this.Hn(),this.$b=0,this.qh+=1),this.qh>this.Ao&&c.S.jd().Tl(b,d))}}});
- c.$h=c.$.extend({Hi:1,Wf:null,ce:null,Qj:null,be:null,LJ:null,qb:null,zd:!1,Kk:!1,ctor:function(){this.Hi=1;this.Wf=[[],[],[]];this.ce={};this.Qj=[];this.be={};this.hi=[];this.qb=null;this.Kk=this.zd=!1},zo:function(a){delete this.be[a.target.G];c.gc(this.hi,a);a.pr=null;a.target=null},Hs:function(a){if(a=this.ce[a.target.G])c.gc(a.list,a.dg),delete this.ce[a.target.G],c.gc(this.Qj,a),a.dg=null,a.target=null},As:function(a,b,d,e){e=new c.Xq(b,d,e);if(a){for(var f=a.length-1,g=0;g<=f&&!(d<a[g].zF);g++);
- a.splice(g,0,e)}else a=[],a.push(e);d=new c.Vq(a,e,b);this.Qj.push(d);this.ce[b.G]=d;return a},Az:function(a,b,d){d=new c.Xq(b,0,d);a.push(d);a=new c.Vq(a,d,b);this.Qj.push(a);this.ce[b.G]=a},kT:function(a){this.Hi=a},BN:function(){return this.Hi},update:function(a){var b=this.Wf,d=this.hi,e,f,g;this.Kk=!0;1!=this.Hi&&(a*=this.Hi);f=0;for(g=b.length;f<g&&0<=f;f++)for(var h=this.Wf[f],k=0,m=h.length;k<m;k++)e=h[k],e.paused||e.xl||e.target.update(a);f=0;for(g=d.length;f<g;f++){e=d[f];if(!e)break;this.qb=
- e;this.zd=!1;if(!e.paused)for(e.Qh=0;e.Qh<e.Wd.length;e.Qh++)e.Oi=e.Wd[e.Qh],e.Pi=!1,e.Oi.update(a),e.Oi=null;this.zd&&0==e.Wd.length&&(this.zo(e),f--)}f=0;for(g=b.length;f<g;f++)for(h=this.Wf[f],k=0,m=h.length;k<m;){e=h[k];if(!e)break;e.xl?this.Hs(e):k++}this.Kk=!1;this.qb=null},Ru:function(a,b,d,e,f,g){c.assert(b,c.d.Ix);c.assert(a,c.d.Jx);d=d||0;e=null==e?c.Ag:e;f=f||0;g=g||!1;var h=this.be[a.G];h||(h=new c.qw(a,g),this.hi.push(h),this.be[a.G]=h);if(null==h.Wd)h.Wd=[];else for(var k=0;k<h.Wd.length;k++)if(g=
- h.Wd[k],b==g.Ke){c.log(c.d.Hx,g.Ye.toFixed(4),d.toFixed(4));g.Ye=d;return}g=new c.pr(a,b,d,e,f);h.Wd.push(g)},rq:function(a,b,d){if(null!==a){var e=this.Wf,f=this.ce[a.G];f?f.dg.xl=!1:0==b?this.Az(e[1],a,d):0>b?e[0]=this.As(e[0],a,b,d):e[2]=this.As(e[2],a,b,d)}},Tl:function(a,b){if(null!=a&&null!=b){var d=this.be[a.G];if(d)for(var e=d.Wd,f=0,g=e.length;f<g;f++){var h=e[f];if(b==h.Ke){h!=d.Oi||d.Pi||(d.Pi=!0);e.splice(f,1);d.Qh>=f&&d.Qh--;0==e.length&&(this.qb==d?this.zd=!0:this.zo(d));break}}}},rj:function(a){null!=
- a&&(a=this.ce[a.G],null!=a&&(this.Kk?a.dg.xl=!0:this.Hs(a.dg)))},tv:function(a){if(null!=a){var b=this.be[a.G];if(b){var d=b.Wd;!b.Pi&&0<=d.indexOf(b.Oi)&&(b.Pi=!0);d.length=0;this.qb==b?this.zd=!0:this.zo(b)}this.rj(a)}},Sl:function(){this.iH(c.$h.Bj)},iH:function(a){for(var b=this.hi,d=this.Wf,e=0,f=b.length;e<f;e++)this.tv(b[e].target);for(e=2;0<=e;e--)if(!(1==e&&0<a||0==e&&0<=a))for(var b=d[e],f=0,g=b.length;f<g;f++)this.rj(b[f].target)},wR:function(){return this.rF(c.$h.Bj)},rF:function(){for(var a=
- [],b,d=this.hi,e=this.Wf,f=0,g=d.length;f<g;f++)if(b=d[f])b.paused=!0,a.push(b.target);f=0;for(g=e.length;f<g;f++)for(var d=e[f],h=0,k=d.length;h<k;h++)if(b=d[h])b.paused=!0,a.push(b.target);return a},QF:function(a){if(a)for(var b=0;b<a.length;b++)this.ze(a[b])},Jh:function(a){c.assert(a,c.d.Fx);var b=this.be[a.G];b&&(b.paused=!0);if(a=this.ce[a.G])a.dg.paused=!0},ze:function(a){c.assert(a,c.d.Gx);var b=this.be[a.G];b&&(b.paused=!1);if(a=this.ce[a.G])a.dg.paused=!1},yO:function(a){c.assert(a,c.d.Ex);
- return(a=this.be[a.G])?a.paused:!1}});c.$h.Bj=-2147483648;c.br=2*Math.PI;
- c.Rq=c.$.extend({An:[],e:null,ctor:function(a){this.e=a},TC:function(a,b){b||(b=1);var d=c.view.U,e=z(a.x*d,a.y*c.view.ca);this.e.beginPath();this.e.arc(e.x,-e.y,b*d,0,2*Math.PI,!1);this.e.closePath();this.e.fill()},UC:function(a,b,d){if(null!=a){d||(d=1);b=this.e;var e=c.view.U,f=c.view.ca;b.beginPath();for(var g=0,h=a.length;g<h;g++)b.arc(a[g].x*e,-a[g].y*f,d*e,0,2*Math.PI,!1);b.closePath();b.fill()}},re:function(a,b){var d=this.e,e=c.view.U,f=c.view.ca;d.beginPath();d.moveTo(a.x*e,-a.y*f);d.lineTo(b.x*
- e,-b.y*f);d.closePath();d.stroke()},XC:function(a,b){this.re(z(a.x,a.y),z(b.x,a.y));this.re(z(b.x,a.y),z(b.x,b.y));this.re(z(b.x,b.y),z(a.x,b.y));this.re(z(a.x,b.y),z(a.x,a.y))},ZC:function(a,b,d){this.Cp([a,z(b.x,a.y),b,z(a.x,b.y)],4,d)},Pc:function(a,b,d,e){e=e||!1;if(null!=a){if(3>a.length)throw Error("Polygon's point must greater than 2");var f=a[0];b=this.e;var g=c.view.U,h=c.view.ca;b.beginPath();b.moveTo(f.x*g,-f.y*h);for(var f=1,k=a.length;f<k;f++)b.lineTo(a[f].x*g,-a[f].y*h);d&&b.closePath();
- e?b.fill():b.stroke()}},Cp:function(a,b,d){this.vq(d.r,d.g,d.b,d.a);this.Pc(a,b,!0,!0)},QC:function(a,b,d,e,f){f=f||!1;e=this.e;var g=c.view.U,h=c.view.ca;e.beginPath();e.arc(0|a.x*g,0|-(a.y*h),b*g,-d,-(d-2*Math.PI),!1);f&&e.lineTo(0|a.x*g,0|-(a.y*h));e.stroke()},VC:function(a,b,d,e){for(var f=this.An,g=f.length=0,h=0;h<e;h++)f.push(z(Math.pow(1-g,2)*a.x+2*(1-g)*g*b.x+g*g*d.x,Math.pow(1-g,2)*a.y+2*(1-g)*g*b.y+g*g*d.y)),g+=1/e;f.push(z(d.x,d.y));this.Pc(f,e+1,!1,!1)},RC:function(a,b,d,e,f){for(var g=
- this.An,h=g.length=0,k=0;k<f;k++)g.push(z(Math.pow(1-h,3)*a.x+3*Math.pow(1-h,2)*h*b.x+3*(1-h)*h*h*d.x+h*h*h*e.x,Math.pow(1-h,3)*a.y+3*Math.pow(1-h,2)*h*b.y+3*(1-h)*h*h*d.y+h*h*h*e.y)),h+=1/f;g.push(z(e.x,e.y));this.Pc(g,f+1,!1,!1)},PC:function(a,b){this.Bp(a,0.5,b)},Bp:function(a,b,d){c.e.strokeStyle="rgba(255,255,255,1)";var e=this.An;e.length=0;for(var f,g,h=1/a.length,k=0;k<d+1;k++)g=k/d,1==g?(f=a.length-1,g=1):(f=0|g/h,g=(g-h*f)/h),f=c.Pv(c.gg(a,f-1),c.gg(a,f-0),c.gg(a,f+1),c.gg(a,f+2),b,g),e.push(f);
- this.Pc(e,d+1,!1,!1)},drawImage:function(a,b,d,e,f){switch(arguments.length){case 2:this.e.drawImage(a,b.x,-(b.y+a.height));break;case 3:this.e.drawImage(a,b.x,-(b.y+d.height),d.width,d.height);break;case 5:this.e.drawImage(a,b.x,b.y,d.width,d.height,e.x,-(e.y+f.height),f.width,f.height);break;default:throw Error("Argument must be non-nil");}},JL:function(a,b,d){a=a||this.e;b*=c.view.U;d="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b);a.fillStyle=d+",1)";var e=b/10;a.beginPath();a.moveTo(-b,b);a.lineTo(0,
- e);a.lineTo(b,b);a.lineTo(e,0);a.lineTo(b,-b);a.lineTo(0,-e);a.lineTo(-b,-b);a.lineTo(-e,0);a.lineTo(-b,b);a.closePath();a.fill();var f=a.createRadialGradient(0,0,e,0,0,b);f.addColorStop(0,d+", 1)");f.addColorStop(0.3,d+", 0.8)");f.addColorStop(1,d+", 0.0)");a.fillStyle=f;a.beginPath();a.arc(0,0,b-e,0,c.br,!1);a.closePath();a.fill()},HL:function(a,b,d){a=a||this.e;b*=c.view.U;d="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b);var e=a.createRadialGradient(0,0,b/10,0,0,b);e.addColorStop(0,d+", 1)");e.addColorStop(0.3,
- d+", 0.8)");e.addColorStop(0.6,d+", 0.4)");e.addColorStop(1,d+", 0.0)");a.fillStyle=e;a.beginPath();a.arc(0,0,b,0,c.br,!1);a.closePath();a.fill()},fillText:function(a,b,d){this.e.fillText(a,b,-d)},vq:function(a,b,d,e){this.e.fillStyle="rgba("+a+","+b+","+d+","+e/255+")";this.e.strokeStyle="rgba("+a+","+b+","+d+","+e/255+")"},rG:function(){},kG:function(a){this.e.lineWidth=a*c.view.U}});c.aw=c.$.extend({e:null,vi:!1,Na:null,yd:-1,Zb:null,ro:-1,qo:-1,ctor:function(a){null==a&&(a=c.e);if(!a instanceof WebGLRenderingContext)throw"Can't initialise DrawingPrimitiveWebGL. context need is WebGLRenderingContext";this.e=a;this.Zb=new Float32Array([1,1,1,1])},we:function(){this.vi||(this.Na=c.Ud.Jb(c.Pm),this.yd=this.e.getUniformLocation(this.Na.bl(),"u_color"),this.ro=this.e.getUniformLocation(this.Na.bl(),"u_pointSize"),this.vi=!0)},IL:function(){this.vi=!1},TC:function(a){this.we();var b=
- this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);b.uniform4fv(this.yd,this.Zb);this.Na.zq(this.ro,this.qo);var d=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,d);b.bufferData(b.ARRAY_BUFFER,new Float32Array([a.x,a.y]),b.STATIC_DRAW);b.vertexAttribPointer(c.ya,2,b.FLOAT,!1,0,0);b.drawArrays(b.POINTS,0,1);b.deleteBuffer(d);c.te()},UC:function(a){if(a&&0!=a.length){this.we();var b=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);b.uniform4fv(this.yd,this.Zb);this.Na.zq(this.ro,this.qo);var d=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,
- d);b.bufferData(b.ARRAY_BUFFER,this.sk(a),b.STATIC_DRAW);b.vertexAttribPointer(c.ya,2,b.FLOAT,!1,0,0);b.drawArrays(b.POINTS,0,a.length);b.deleteBuffer(d);c.te()}},sk:function(a){for(var b=new Float32Array(2*a.length),d=0;d<a.length;d++)b[2*d]=a[d].x,b[2*d+1]=a[d].y;return b},re:function(a,b){this.we();var d=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);d.uniform4fv(this.yd,this.Zb);var e=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,e);d.bufferData(d.ARRAY_BUFFER,this.sk([a,b]),d.STATIC_DRAW);d.vertexAttribPointer(c.ya,
- 2,d.FLOAT,!1,0,0);d.drawArrays(d.LINES,0,2);d.deleteBuffer(e);c.te()},XC:function(a,b){this.re(z(a.x,a.y),z(b.x,a.y));this.re(z(b.x,a.y),z(b.x,b.y));this.re(z(b.x,b.y),z(a.x,b.y));this.re(z(a.x,b.y),z(a.x,a.y))},ZC:function(a,b,d){this.Cp([a,z(b.x,a.y),b,z(a.x,b.y)],4,d)},Pc:function(a,b,d){this.we();b=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);b.uniform4fv(this.yd,this.Zb);var e=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,e);b.bufferData(b.ARRAY_BUFFER,this.sk(a),b.STATIC_DRAW);b.vertexAttribPointer(c.ya,
- 2,b.FLOAT,!1,0,0);d?b.drawArrays(b.LINE_LOOP,0,a.length):b.drawArrays(b.LINE_STRIP,0,a.length);b.deleteBuffer(e);c.te()},Cp:function(a,b,d){this.we();d&&this.vq(d.r,d.g,d.b,d.a);b=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);b.uniform4fv(this.yd,this.Zb);d=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,d);b.bufferData(b.ARRAY_BUFFER,this.sk(a),b.STATIC_DRAW);b.vertexAttribPointer(c.ya,2,b.FLOAT,!1,0,0);b.drawArrays(b.TRIANGLE_FAN,0,a.length);b.deleteBuffer(d);c.te()},QC:function(a,b,d,e,f){this.we();
- var g=1;f&&g++;var h=2*Math.PI/e;if(f=new Float32Array(2*(e+2))){for(var k=0;k<=e;k++){var m=k*h,n=b*Math.sin(m+d)+a.y;f[2*k]=b*Math.cos(m+d)+a.x;f[2*k+1]=n}f[2*(e+1)]=a.x;f[2*(e+1)+1]=a.y;a=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);a.uniform4fv(this.yd,this.Zb);b=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,b);a.bufferData(a.ARRAY_BUFFER,f,a.STATIC_DRAW);a.vertexAttribPointer(c.ya,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,e+g);a.deleteBuffer(b);c.te()}},VC:function(a,b,d,e){this.we();for(var f=
- new Float32Array(2*(e+1)),g=0,h=0;h<e;h++)f[2*h]=Math.pow(1-g,2)*a.x+2*(1-g)*g*b.x+g*g*d.x,f[2*h+1]=Math.pow(1-g,2)*a.y+2*(1-g)*g*b.y+g*g*d.y,g+=1/e;f[2*e]=d.x;f[2*e+1]=d.y;a=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);a.uniform4fv(this.yd,this.Zb);b=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,b);a.bufferData(a.ARRAY_BUFFER,f,a.STATIC_DRAW);a.vertexAttribPointer(c.ya,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,e+1);a.deleteBuffer(b);c.te()},RC:function(a,b,d,e,f){this.we();for(var g=new Float32Array(2*
- (f+1)),h=0,k=0;k<f;k++)g[2*k]=Math.pow(1-h,3)*a.x+3*Math.pow(1-h,2)*h*b.x+3*(1-h)*h*h*d.x+h*h*h*e.x,g[2*k+1]=Math.pow(1-h,3)*a.y+3*Math.pow(1-h,2)*h*b.y+3*(1-h)*h*h*d.y+h*h*h*e.y,h+=1/f;g[2*f]=e.x;g[2*f+1]=e.y;a=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);a.uniform4fv(this.yd,this.Zb);b=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,b);a.bufferData(a.ARRAY_BUFFER,g,a.STATIC_DRAW);a.vertexAttribPointer(c.ya,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,f+1);a.deleteBuffer(b);c.te()},PC:function(a,b){this.Bp(a,
- 0.5,b)},Bp:function(a,b,d){this.we();for(var e=new Float32Array(2*(d+1)),f,g,h=1/a.length,k=0;k<d+1;k++)g=k/d,1==g?(f=a.length-1,g=1):(f=0|g/h,g=(g-h*f)/h),f=c.Pv(c.gg(a,f-1),c.gg(a,f),c.gg(a,f+1),c.gg(a,f+2),b,g),e[2*k]=f.x,e[2*k+1]=f.y;a=this.e;this.Na.Bb();this.Na.jc();c.Hb(c.Pb);a.uniform4fv(this.yd,this.Zb);b=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,b);a.bufferData(a.ARRAY_BUFFER,e,a.STATIC_DRAW);a.vertexAttribPointer(c.ya,2,a.FLOAT,!1,0,0);a.drawArrays(a.LINE_STRIP,0,d+1);a.deleteBuffer(b);
- c.te()},vq:function(a,b,d,e){this.Zb[0]=a/255;this.Zb[1]=b/255;this.Zb[2]=d/255;this.Zb[3]=e/255},rG:function(a){this.qo=a*c.Pa()},kG:function(a){this.e.lineWidth&&this.e.lineWidth(a)}});c.i.ln=function(){var a=c.n.prototype;a.Z=c.F.prototype.Z;a.dc=function(){this.W=!0;var a=this.Pf,d=this.Rf;this.Ck="rgba(128,128,128,"+this.je+")";this.bk="rgba("+(0|d.r)+","+(0|d.g)+","+(0|d.b)+", 1)";this.Fk="rgba("+(0|a.r)+","+(0|a.g)+","+(0|a.b)+", 1)"};a.Lb=c.F.prototype.Lb;a.Xa=c.F.prototype.Xa;a.Ab=c.F.prototype.Ab;a.Vp=function(a,d){if(!c.F.prototype.ga.call(this))return!1;this.shaderProgram=c.Ud.Jb(c.n.oz);this.kp(d,!1);this.string=a;return!0};a.Pl=function(a){var d=this.Rf;if(d.r!=a.r||
- d.g!=a.g||d.b!=a.b)d.r=a.r,d.g=a.g,d.b=a.b,this.dc(),this.W=!0};a.oa=function(a){if(this.Mc&&""!=this.Mc){a=a||c.e;var d=this.Q;d&&d.mb&&(this.xb.Bb(),this.xb.jc(),c.mf(this.A.src,this.A.fa),c.Rc(d),c.Hb(c.hn),a.bindBuffer(a.ARRAY_BUFFER,this.uk),this.Sb&&(a.bufferData(a.ARRAY_BUFFER,this.va.Rk,a.STATIC_DRAW),this.Sb=!1),a.vertexAttribPointer(c.ya,3,a.FLOAT,!1,24,0),a.vertexAttribPointer(c.Dc,2,a.FLOAT,!1,24,16),a.vertexAttribPointer(c.Vc,4,a.UNSIGNED_BYTE,!0,24,12),a.drawArrays(a.TRIANGLE_STRIP,
- 0,4));if(1===c.De)a=this.va,c.$d.Pc([z(a.ia.l.x,a.ia.l.y),z(a.da.l.x,a.da.l.y),z(a.ea.l.x,a.ea.l.y),z(a.ja.l.x,a.ja.l.y)],4,!0);else if(2===c.De){a=this.Qt();var d=this.offsetX,e=this.offsetY;c.$d.Pc([z(d,e),z(d+a.width,e),z(d+a.width,e+a.height),z(d,e+a.height)],4,!0)}c.Nd++}};a.Ia=c.F.prototype.Ia};c.i.Dm=function(){var a=c.n.prototype;c.f(a,"color",a.zh,a.Z);c.f(a,"opacity",a.al,a.Xa);c.f(a,"string",a.fE,a.pg);c.f(a,"textAlign",a.DD,a.jG);c.f(a,"verticalAlign",a.kE,a.MG);c.f(a,"fontSize",a.zD,a.hG);c.f(a,"fontName",a.yD,a.gG);c.f(a,"font",a.iA,a.zB);c.f(a,"boundingWidth",a.gA,a.vB);c.f(a,"boundingHeight",a.fA,a.uB);c.f(a,"fillStyle",a.hA,a.Pl);c.f(a,"strokeStyle",a.zA,a.KB);c.f(a,"lineWidth",a.nA,a.BB);c.f(a,"shadowOffsetX",a.wA,a.HB);c.f(a,"shadowOffsetY",a.xA,a.IB);c.f(a,"shadowOpacity",
- a.yA,a.JB);c.f(a,"shadowBlur",a.vA,a.GB)};c.n=c.F.extend({Ga:null,Xe:c.Fj,jf:c.ci,Cb:null,ub:0,Mc:"",no:null,$g:!1,Xc:null,ib:!1,pb:null,je:0,df:0,Ck:null,Nc:!1,Pf:null,le:0,Fk:null,Rf:null,bk:null,Yo:0,Zo:0,W:!1,jk:null,kk:null,ks:null,xd:"LabelTTF",ctor:function(a,b,d,e,f,g){c.F.prototype.ctor.call(this);this.Ga=A(0,0);this.Xe=c.mr;this.jf=c.ci;this.Ma=!1;this.Xc="";this.Cb="Arial";this.ib=this.$g=!1;this.pb=z(0,0);this.df=this.je=0;this.Ck="rgba(128, 128, 128, 0.5)";this.Nc=!1;this.Pf=c.color(255,255,255,255);this.le=0;this.Fk="";this.Rf=
- c.color(255,255,255,255);this.bk="rgba(255,255,255,1)";this.Zo=this.Yo=0;this.W=!1;this.ks=[];this.dc();b&&b instanceof c.Tq?this.Vp(a,b):c.n.prototype.nf.call(this,a,b,d,e,f,g)},ga:function(){return this.nf(" ",this.Cb,this.ub)},XA:function(){this.Sn().font=this.Xc},dh:function(a){return this.Sn().measureText(a).width},description:function(){return"\x3ccc.LabelTTF | FontName \x3d"+this.Cb+" FontSize \x3d "+this.ub.toFixed(1)+"\x3e"},Z:null,dc:null,Lb:null,Xa:null,Ab:null,hU:function(a){c.j.prototype.Ab.call(this,
- a);this.dc()},fE:function(){return this.Mc},DD:function(){return this.Xe},kE:function(){return this.jf},LM:function(){return A(this.Ga)},zD:function(){return this.ub},yD:function(){return this.Cb},nf:function(a,b,d,e,f,g){a=a?a+"":"";d=d||16;e=e||A(0,d);f=f||c.mr;g=g||c.ci;this.Ma=!1;this.Ga=A(e.width,e.height);this.Cb=b||"Arial";this.Xe=f;this.jf=g;this.ub=d;this.Xc=this.ub+"px '"+b+"'";this.Ad=c.n.ei(b,this.ub);this.string=a;this.dc();this.jp();this.W=!1;return!0},Vp:null,jT:function(a){a&&this.kp(a,
- !0)},AN:function(){return this.gB(!1)},bD:function(a,b,d,e){d=d||0.5;!1===this.ib&&(this.ib=!0);var f=this.pb;if(f&&f.x!=a||f.Md!=b)f.x=a,f.y=b;this.je!=d&&(this.je=d);this.dc();this.df!=e&&(this.df=e);this.W=!0},wA:function(){return this.pb.x},HB:function(a){!1===this.ib&&(this.ib=!0);this.pb.x!=a&&(this.pb.x=a,this.W=!0)},xA:function(){return this.pb.Md},IB:function(a){!1===this.ib&&(this.ib=!0);this.pb.Md!=a&&(this.pb.Md=a,this.W=!0)},cK:function(){return z(this.pb.x,this.pb.y)},tK:function(a){!1===
- this.ib&&(this.ib=!0);if(this.pb.x!=a.x||this.pb.y!=a.y)this.pb.x=a.x,this.pb.y=a.y,this.W=!0},yA:function(){return this.je},JB:function(a){!1===this.ib&&(this.ib=!0);this.je!=a&&(this.je=a,this.dc(),this.W=!0)},vA:function(){return this.df},GB:function(a){!1===this.ib&&(this.ib=!0);this.df!=a&&(this.df=a,this.W=!0)},CL:function(){this.ib&&(this.ib=!1,this.W=!0)},cD:function(a,b){!1===this.Nc&&(this.Nc=!0);var d=this.Pf;if(d.r!==a.r||d.g!==a.g||d.b!==a.b)d.r=a.r,d.g=a.g,d.b=a.b,this.dc();this.le!==
- b&&(this.le=b||0);this.W=!0},zA:function(){return this.Pf},KB:function(a){!1===this.Nc&&(this.Nc=!0);var b=this.Pf;if(b.r!==a.r||b.g!==a.g||b.b!==a.b)b.r=a.r,b.g=a.g,b.b=a.b,this.dc(),this.W=!0},nA:function(){return this.le},BB:function(a){!1===this.Nc&&(this.Nc=!0);this.le!==a&&(this.le=a||0,this.W=!0)},DL:function(){this.Nc&&(this.Nc=!1,this.W=!0)},Pl:null,hA:function(){return this.Rf},kp:function(a,b){a.iM?(this.Ga.width=a.boundingWidth,this.Ga.height=a.boundingHeight):(this.Ga.width=0,this.Ga.height=
- 0);this.Xe=a.textAlign;this.jf=a.verticalAlign;this.Cb=a.fontName;this.ub=a.fontSize||12;this.Xc=this.ub+"px '"+this.Cb+"'";this.Ad=c.n.ei(this.Cb,this.ub);a.hv&&this.bD(a.shadowOffsetX,a.shadowOffsetY,a.shadowOpacity,a.shadowBlur);a.Dq&&this.cD(a.strokeStyle,a.lineWidth);this.Pl(a.fillStyle);b&&this.jp()},gB:function(a){var b=new c.Tq;a?(b.fontSize=this.ub,b.boundingWidth=c.Pa()*this.Ga.width,b.boundingHeight=c.Pa()*this.Ga.height):(b.fontSize=this.ub,b.boundingWidth=this.Ga.width,b.boundingHeight=
- this.Ga.height);b.fontName=this.Cb;b.textAlign=this.Xe;b.verticalAlign=this.jf;if(this.Nc){b.Dq=!0;var d=this.Pf;b.strokeStyle=c.color(d.r,d.g,d.b);b.lineWidth=this.le}else b.Dq=!1;this.ib?(b.hv=!0,b.shadowBlur=this.df,b.shadowOpacity=this.je,b.shadowOffsetX=(a?c.Pa():1)*this.pb.x,b.shadowOffsetY=(a?c.Pa():1)*this.pb.y):b.ib=!1;a=this.Rf;b.fillStyle=c.color(a.r,a.g,a.b);return b},Ad:18,pg:function(a){a=String(a);this.no!=a&&(this.no=a+"",this.Mk(),this.W=!0)},Mk:function(){this.Mc=this.no},jG:function(a){a!==
- this.Xe&&(this.Xe=a,this.W=!0)},MG:function(a){a!=this.jf&&(this.jf=a,this.W=!0)},JS:function(a,b){var d;void 0===b?(d=a.width,b=a.height):d=a;if(d!=this.Ga.width||b!=this.Ga.height)this.Ga.width=d,this.Ga.height=b,this.Mk(),this.W=!0},gA:function(){return this.Ga.width},vB:function(a){a!=this.Ga.width&&(this.Ga.width=a,this.Mk(),this.W=!0)},fA:function(){return this.Ga.height},uB:function(a){a!=this.Ga.height&&(this.Ga.height=a,this.Mk(),this.W=!0)},hG:function(a){this.ub!==a&&(this.ub=a,this.Xc=
- a+"px '"+this.Cb+"'",this.Ad=c.n.ei(this.Cb,a),this.W=!0)},gG:function(a){this.Cb&&this.Cb!=a&&(this.Cb=a,this.Xc=this.ub+"px '"+a+"'",this.Ad=c.n.ei(a,this.ub),this.W=!0)},iA:function(){return this.Xc},zB:function(a){var b=c.n.Wz.exec(a);b&&(this.ub=parseInt(b[1]),this.Cb=b[2],this.Xc=a,this.Ad=c.n.ei(this.Cb,this.ub),this.W=!0)},Sz:function(a){if(a){var b=this.Yo,d=this.Zo,e=this.q.height-d,f=this.jf,g=this.Xe,h=this.Ad,k=this.le;a.setTransform(1,0,0,1,0+0.5*b,e+0.5*d);a.font!=this.Xc&&(a.font=
- this.Xc);a.fillStyle=this.bk;var m=d=0,n=this.Nc;n&&(a.lineWidth=2*k,a.strokeStyle=this.Fk);this.ib&&(k=this.pb,a.shadowColor=this.Ck,a.shadowOffsetX=k.x,a.shadowOffsetY=-k.y,a.shadowBlur=this.df);a.textBaseline=c.n.XB[f];a.textAlign=c.n.WB[g];b=this.q.width-b;d=g===c.oy?d+b:g===c.Fj?d+b/2:d+0;if(this.$g)for(g=this.Kd.length,f===c.sr?m=h+e-h*g:f===c.fz&&(m=h/2+(e-h*g)/2),f=0;f<g;f++)b=this.Kd[f],k=-e+h*f+m,n&&a.strokeText(b,d,k),a.fillText(b,d,k);else f!==c.sr&&(m=f===c.ci?m-e:m-0.5*e),n&&a.strokeText(this.Mc,
- d,m),a.fillText(this.Mc,d,m)}},Sn:function(){if(this.kk)return this.kk;if(!this.jk){var a=c.Wa("canvas"),b=new c.K;b.Ib(a);this.texture=b;this.jk=a}return this.kk=this.jk.getContext("2d")},Iz:function(a,b,d){var e=a[b],f=this.dh(e);if(f>d&&1<e.length){for(var g=d/f*e.length|0,h=e.substr(g),k=f-this.dh(h),m,n=0,r=0;k>d&&100>r++;)g*=d/k,g|=0,h=e.substr(g),k=f-this.dh(h);for(r=0;k<d&&100>r++;)h&&(n=(m=c.n.dC.exec(h))?m[0].length:1,m=h),g+=n,h=e.substr(g),k=f-this.dh(h);g-=n;d=e.substr(0,g);c.n.mH&&c.n.VB.test(m||
- h)&&(f=c.n.SA.exec(d),g-=f?f[0].length:0,m=e.substr(g),d=e.substr(0,g));c.n.Tz.test(m)&&(f=c.n.RA.exec(d))&&d!==f[0]&&(g-=f[0].length,m=e.substr(g),d=e.substr(0,g));a[b]=m||h;a.splice(b,0,d)}},Nk:function(){var a=this.Ga.width,b,d,e=this.ks;e.length=0;this.$g=!1;this.XA();if(0!==a)for(this.Kd=this.Mc.split("\n"),b=0;b<this.Kd.length;b++)this.Iz(this.Kd,b,a);else for(this.Kd=this.Mc.split("\n"),b=0,d=this.Kd.length;b<d;b++)e.push(this.dh(this.Kd[b]));0<this.Kd.length&&(this.$g=!0);d=b=0;this.Nc&&(b=
- d=2*this.le);if(this.ib){var f=this.pb;b+=2*Math.abs(f.x);d+=2*Math.abs(f.y)}a=0===a?this.$g?A(0|Math.max.apply(Math,e)+b,0|this.Ad*this.Kd.length+d):A(0|this.dh(this.Mc)+b,0|this.Ad+d):0===this.Ga.height?this.$g?A(0|a+b,0|this.Ad*this.Kd.length+d):A(0|a+b,0|this.Ad+d):A(0|a+b,0|this.Ga.height+d);this.Tc(a);this.Yo=b;this.Zo=d;e=this.lb;this.Ya.x=0.5*b+(a.width-b)*e.x;this.Ya.y=0.5*d+(a.height-d)*e.y},Qc:function(){this.W&&this.Nk();return c.F.prototype.Qc.call(this)},Ef:function(){this.W&&this.Nk();
- return c.F.prototype.Ef.call(this)},Df:function(){this.W&&this.Nk();return c.F.prototype.Df.call(this)},jp:function(){var a=this.Sn(),b=this.jk,d=this.q;if(0===this.Mc.length)return b.width=1,b.height=d.height||1,this.Q&&this.Q.wa(),this.Ia(B(0,0,1,d.height)),!0;a.font=this.Xc;this.Nk();var e=d.width,d=d.height,f=b.width==e&&b.height==d;b.width=e;b.height=d;f&&a.clearRect(0,0,e,d);this.Sz(a);this.Q&&this.Q.wa();this.Ia(B(0,0,e,d));return!0},ka:function(a){this.Mc&&""!=this.Mc&&(this.W&&(this.W=!1,
- this.jp()),c.F.prototype.ka.call(this,a||c.e))},oa:null,Ts:function(a){var b=this.P?this.textureAtlas.texture:this.Q;if(b){var d=b.pixelsWidth,e=b.pixelsHeight,f,g=this.va;this.$a?(c.wj?(b=(2*a.x+1)/(2*d),d=b+(2*a.height-2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.width-2)/(2*e)):(b=a.x/d,d=(a.x+a.height)/d,f=a.y/e,a=(a.y+a.width)/e),this.sb&&(e=f,f=a,a=e),this.tb&&(e=b,b=d,d=e),g.da.m.X=b,g.da.m.Y=f,g.ea.m.X=b,g.ea.m.Y=a,g.ia.m.X=d,g.ia.m.Y=f,g.ja.m.X=d,g.ja.m.Y=a):(c.wj?(b=(2*a.x+1)/(2*d),d=b+(2*a.width-
- 2)/(2*d),f=(2*a.y+1)/(2*e),a=f+(2*a.height-2)/(2*e)):(b=a.x/d,d=(a.x+a.width)/d,f=a.y/e,a=(a.y+a.height)/e),this.sb&&(e=b,b=d,d=e),this.tb&&(e=f,f=a,a=e),g.da.m.X=b,g.da.m.Y=a,g.ea.m.X=d,g.ea.m.Y=a,g.ia.m.X=b,g.ia.m.Y=f,g.ja.m.X=d,g.ja.m.Y=f);this.Sb=!0}}});
- c.Ba===c.cb?(p=c.n.prototype,p.Z=function(a){c.j.prototype.Z.call(this,a);this.dc()},p.dc=function(){this.W=!0;var a=this.Aa,b=this.eb,d=this.Pf,e=this.Rf;this.Ck="rgba("+(0|0.5*a.r)+","+(0|0.5*a.g)+","+(0|0.5*a.b)+","+this.je+")";this.bk="rgba("+(0|a.r/255*e.r)+","+(0|a.g/255*e.g)+","+(0|a.b/255*e.b)+", "+b/255+")";this.Fk="rgba("+(0|a.r/255*d.r)+","+(0|a.g/255*d.g)+","+(0|a.b/255*d.b)+", "+b/255+")"},p.Lb=function(a){c.j.prototype.Lb.call(this,a);this.dc()},p.Xa=function(a){this.kK!==a&&(c.F.prototype.Xa.call(this,
- a),this.dc(),this.W=!0)},p.Ab=c.F.prototype.Ab,p.Vp=function(a,b){this.kp(b,!1);this.string=a;return!0},p.Pl=function(a){var b=this.Rf;if(b.r!=a.r||b.g!=a.g||b.b!=a.b)b.r=a.r,b.g=a.g,b.b=a.b,this.dc(),this.W=!0},p.oa=c.F.prototype.oa,p.Ia=function(a,b,d){this.$a=b||!1;this.Tc(d||a);this.Bq(a);b=this.ph;b.x=a.x;b.y=a.y;b.width=a.width;b.height=a.height;b.Rh=!(0===b.width||0===b.height||0>b.x||0>b.y);a=this.ed;this.sb&&(a.x=-a.x);this.tb&&(a.y=-a.y);this.ua.x=a.x+(this.q.width-this.C.width)/2;this.ua.y=
- a.y+(this.q.height-this.C.height)/2;this.P&&(this.dirty=!0)},p=null):(c.assert("function"===typeof c.i.ln,c.d.bb,"LabelTTFWebGL.js"),c.i.ln(),delete c.i.ln);c.assert("function"===typeof c.i.Dm,c.d.bb,"LabelTTFPropertyDefine.js");c.i.Dm();delete c.i.Dm;c.n.WB=["left","center","right"];c.n.XB=["top","middle","bottom"];c.n.mH=!0;c.n.dC=/([a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+|\S)/;c.n.VB=/^[!,.:;}\]%\?>\u3001\u2018\u201c\u300b\uff1f\u3002\uff0c\uff01]/;
- c.n.SA=/([a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+|\S)$/;c.n.RA=/[a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]+$/;c.n.Tz=/^[a-zA-Z0-9\u00c4\u00d6\u00dc\u00e4\u00f6\u00fc\u00df\u00e9\u00e8\u00e7\u00e0\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb]/;c.n.Wz=/^(\d+)px\s+['"]?([\w\s\d]+)['"]?$/;c.n.create=function(a,b,d,e,f,g){return new c.n(a,b,d,e,f,g)};c.n.tL=c.n.create;
- c.n.oz=c.dz?c.Zh:c.Nm;c.n.Ie=c.Wa("div");c.n.Ie.style.fontFamily="Arial";c.n.Ie.style.position="absolute";c.n.Ie.style.left="-100px";c.n.Ie.style.top="-100px";c.n.Ie.style.lineHeight="normal";document.body?document.body.appendChild(c.n.Ie):c.aa(window,"load",function(){this.removeEventListener("load",arguments.callee,!1);document.body.appendChild(c.n.Ie)},!1);
- c.n.ei=function(a,b){var d=c.n.vr[a+"."+b];if(0<d)return d;var e=c.n.Ie;e.innerHTML="ajghl~!";e.style.fontFamily=a;e.style.fontSize=b+"px";d=e.clientHeight;c.n.vr[a+"."+b]=d;e.innerHTML="";return d};c.n.vr={};c.pw=c.$.extend({Oa:null,target:null,Zf:0,hc:null,cg:!1,paused:!1,fl:null,ctor:function(){this.Oa=[];this.target=null;this.Zf=0;this.hc=null;this.paused=this.cg=!1;this.fl=null}});
- c.Gq=c.$.extend({Zc:null,Dg:null,qb:null,zd:!1,qK:function(a,b){for(var d=0;d<a.length;d++)if(b==a[d].target)return a[d];return null},ctor:function(){this.Zc={};this.Dg=[];this.qb=null;this.zd=!1},eC:function(a,b,d){if(!a)throw"cc.ActionManager.addAction(): action must be non-null";if(!b)throw"cc.ActionManager.addAction(): action must be non-null";var e=this.Zc[b.G];e||(e=new c.pw,e.paused=d,e.target=b,this.Zc[b.G]=e,this.Dg.push(e));this.qz(e);e.Oa.push(a);a.NT(b)},UR:function(){for(var a=this.Dg,
- b=0;b<a.length;b++){var d=a[b];d&&this.Ju(d.target,!0)}},Ju:function(a,b){if(null!=a){var d=this.Zc[a.G];d&&(-1===d.Oa.indexOf(d.hc)||d.cg||(d.cg=!0),d.Oa.length=0,this.qb!=d||b?this.Fn(d):this.zd=!0)}},Iu:function(a){if(null!=a){var b=a.QD();if(b=this.Zc[b.G])for(var d=0;d<b.Oa.length;d++){if(b.Oa[d]==a){b.Oa.splice(d,1);break}}else c.log(c.d.yv)}},HF:function(a,b){a==c.Wl&&c.log(c.d.Hq);c.assert(b,c.d.Hq);var d=this.Zc[b.G];if(d)for(var e=d.Oa.length,f=0;f<e;++f){var g=d.Oa[f];if(g&&g.Dh()===a&&
- g.QD()==b){this.jB(f,d);break}}},Et:function(a,b){a==c.Wl&&c.log(c.d.wv);var d=this.Zc[b.G];if(d){if(null!=d.Oa)for(var e=0;e<d.Oa.length;++e){var f=d.Oa[e];if(f&&f.Dh()===a)return f}c.log(c.d.xv,a)}return null},nF:function(a){return(a=this.Zc[a.G])?a.Oa?a.Oa.length:0:0},Jh:function(a){if(a=this.Zc[a.G])a.paused=!0},ze:function(a){if(a=this.Zc[a.G])a.paused=!1},vR:function(){for(var a=[],b=this.Dg,d=0;d<b.length;d++){var e=b[d];e&&!e.paused&&(e.paused=!0,a.push(e.target))}return a},QF:function(a){if(a)for(var b=
- 0;b<a.length;b++)a[b]&&this.ze(a[b])},DR:function(){c.S.jd().rj(this)},jB:function(a,b){b.Oa[a]!=b.hc||b.cg||(b.cg=!0);b.Oa.splice(a,1);b.Zf>=a&&b.Zf--;0==b.Oa.length&&(this.qb==b?this.zd=!0:this.Fn(b))},Fn:function(a){a&&(delete this.Zc[a.target.G],c.gc(this.Dg,a),a.Oa=null,a.target=null)},qz:function(a){null==a.Oa&&(a.Oa=[])},update:function(a){for(var b=this.Dg,d,e=0;e<b.length;e++){d=this.qb=b[e];if(!d.paused)for(d.Zf=0;d.Zf<d.Oa.length;d.Zf++)if(d.hc=d.Oa[d.Zf],d.hc){d.cg=!1;d.hc.step(a*(d.hc.wK?
- d.hc.vK:1));if(d.cg)d.hc=null;else if(d.hc.mO()){d.hc.stop();var f=d.hc;d.hc=null;this.Iu(f)}d.hc=null}this.zd&&0===d.Oa.length&&this.Fn(d)}}});c.QP=Number;c.GO=Number;c.HO=Number;c.vg=0;c.yg=1;c.$p=3.141592;c.VE=0.017453;c.WE=57.295779;c.I=0.015625;c.Sa=function(a){return a*a};c.Xi=function(a){return a*c.VE};c.LP=function(a){return a*c.WE};c.ql=function(a,b){return a<b?a:b};c.pl=function(a,b){return a>b?a:b};c.FO=function(a,b){return a+c.I>b&&a-c.I<b};c.ld=function(){this.y=this.x=0};c.UP=function(a,b,d){a.x=b;a.y=d;return a};c.sl=function(a){return Math.sqrt(c.Sa(a.x)+c.Sa(a.y))};c.VP=function(a){return c.Sa(a.x)+c.Sa(a.y)};c.bF=function(a,b){var d=1/c.sl(b),e=new c.ld;e.x=b.x*d;e.y=b.y*d;a.x=e.x;a.y=e.y};c.RP=function(a,b,d){a.x=b.x+d.x;a.y=b.y+d.y;return a};c.TP=function(a,b){return a.x*b.x+a.y*b.y};c.tl=function(a,b,d){a.x=b.x-d.x;a.y=b.y-d.y;return a};
- c.XP=function(a,b,d){var e=new c.ld;e.x=b.x*d.c[0]+b.y*d.c[3]+d.c[6];e.y=b.x*d.c[1]+b.y*d.c[4]+d.c[7];a.x=e.x;a.y=e.y;return a};c.YP=function(){return null};c.WP=function(a,b,d){a.x=b.x*d;a.y=b.y*d;return a};c.SP=function(a,b){return a.x<b.x+c.I&&a.x>b.x-c.I&&a.y<b.y+c.I&&a.y>b.y-c.I};c.ha=function(a,b,d){this.x=a||0;this.y=b||0;this.z=d||0};c.Gh=function(a,b,d,e){if(!a)return new c.ha(b,d,e);a.x=b;a.y=d;a.z=e;return a};c.ru=function(a){return Math.sqrt(c.Sa(a.x)+c.Sa(a.y)+c.Sa(a.z))};c.su=function(a){return c.Sa(a.x)+c.Sa(a.y)+c.Sa(a.z)};c.ic=function(a,b){var d=1/c.ru(b);a.x=b.x*d;a.y=b.y*d;a.z=b.z*d};c.pf=function(a,b,d){a.x=b.y*d.z-b.z*d.y;a.y=b.z*d.x-b.x*d.z;a.z=b.x*d.y-b.y*d.x};c.bq=function(a,b){return a.x*b.x+a.y*b.y+a.z*b.z};
- c.qu=function(a,b,d){a.x=b.x+d.x;a.y=b.y+d.y;a.z=b.z+d.z};c.dq=function(a,b,d){a.x=b.x-d.x;a.y=b.y-d.y;a.z=b.z-d.z};c.cQ=function(a,b,d){a.x=b.x*d.c[0]+b.y*d.c[4]+b.z*d.c[8]+d.c[12];a.y=b.x*d.c[1]+b.y*d.c[5]+b.z*d.c[9]+d.c[13];a.z=b.x*d.c[2]+b.y*d.c[6]+b.z*d.c[10]+d.c[14];return a};c.dQ=function(a,b,d){a.x=b.x*d.c[0]+b.y*d.c[4]+b.z*d.c[8];a.y=b.x*d.c[1]+b.y*d.c[5]+b.z*d.c[9];a.z=b.x*d.c[2]+b.y*d.c[6]+b.z*d.c[10];return a};
- c.tu=function(a,b,d){var e=new c.uu,f=new c.uu;c.cF(f,b.x,b.y,b.z);c.vu(e,f,d);a.x=e.x/e.k;a.y=e.y/e.k;a.z=e.z/e.k};c.cq=function(a,b,d){a.x=b.x*d;a.y=b.y*d;a.z=b.z*d;return a};c.ZP=function(a,b){return a.x<b.x+c.I&&a.x>b.x-c.I&&a.y<b.y+c.I&&a.y>b.y-c.I&&a.z<b.z+c.I&&a.z>b.z-c.I?1:0};c.$P=function(a,b,d){b=new c.ha(b.x-d.c[12],b.y-d.c[13],b.z-d.c[14]);a.x=b.x*d.c[0]+b.y*d.c[1]+b.z*d.c[2];a.y=b.x*d.c[4]+b.y*d.c[5]+b.z*d.c[6];a.z=b.x*d.c[8]+b.y*d.c[9]+b.z*d.c[10];return a};
- c.aQ=function(a,b,d){a.x=b.x*d.c[0]+b.y*d.c[1]+b.z*d.c[2];a.y=b.x*d.c[4]+b.y*d.c[5]+b.z*d.c[6];a.z=b.x*d.c[8]+b.y*d.c[9]+b.z*d.c[10];return a};c.Yi=function(a,b){a!=b&&(a.x=b.x,a.y=b.y,a.z=b.z)};c.eQ=function(a){a.x=0;a.y=0;a.z=0;return a};c.bQ=function(a){if(!a)return null;var b=new Float32Array(3);b[0]=a.x;b[1]=a.y;b[2]=a.z;return b};c.uu=function(){this.k=this.z=this.y=this.x=0};c.cF=function(a,b,d,e){a.x=b;a.y=d;a.z=e;a.k=1};c.fQ=function(a,b,d){a.x=b.x+d.x;a.y=b.y+d.y;a.z=b.z+d.z;a.k=b.k+d.k;return a};c.iQ=function(a,b){return a.x*b.x+a.y*b.y+a.z*b.z+a.k*b.k};c.dF=function(a){return Math.sqrt(c.Sa(a.x)+c.Sa(a.y)+c.Sa(a.z)+c.Sa(a.k))};c.jQ=function(a){return c.Sa(a.x)+c.Sa(a.y)+c.Sa(a.z)+c.Sa(a.k)};c.kQ=function(a){return a};c.eF=function(a,b){var d=1/c.dF(b);a.x*=d;a.y*=d;a.z*=d;a.k*=d};
- c.lQ=function(a,b,d){c.eF(a,b);a.x*=d;a.y*=d;a.z*=d;a.k*=d;return a};c.mQ=function(a,b,d){a.x=b.x-d.x;a.y=b.y-d.y;a.z=b.z-d.z;a.k=b.k-d.k;return a};c.vu=function(a,b,d){a.x=b.x*d.c[0]+b.y*d.c[4]+b.z*d.c[8]+b.k*d.c[12];a.y=b.x*d.c[1]+b.y*d.c[5]+b.z*d.c[9]+b.k*d.c[13];a.z=b.x*d.c[2]+b.y*d.c[6]+b.z*d.c[10]+b.k*d.c[14];a.k=b.x*d.c[3]+b.y*d.c[7]+b.z*d.c[11]+b.k*d.c[15]};c.oQ=function(a,b,d,e,f,g){for(var h=0;h<g;)c.vu(a+h*b,d+h*e,f),++h;return a};
- c.gQ=function(a,b){return a.x<b.x+c.I&&a.x>b.x-c.I&&a.y<b.y+c.I&&a.y>b.y-c.I&&a.z<b.z+c.I&&a.z>b.z-c.I&&a.k<b.k+c.I&&a.k>b.k-c.I};c.hQ=function(a,b){if(a==b)return c.log("destVec and srcVec are same object"),a;a.x=b.x;a.y=b.y;a.z=b.z;a.k=b.k;return a};c.nQ=function(a){if(!a)return null;var b=new Float32Array(4);b[0]=a.x;b[1]=a.y;b[2]=a.z;b[3]=a.k;return b};c.MP=function(a){this.start=a||new c.ld;this.start=a||new c.ld};c.NP=function(a,b,d,e,f){a.start.x=b;a.start.y=d;a.dir.x=e;a.dir.y=f};
- c.aq=function(a,b,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 k=b.x,m=b.y,n=d.x,r=d.y,s=(r-m)*(h-f)-(n-k)*(a-g);if(s>-c.I&&s<c.I)return c.vg;m=((n-k)*(g-m)-(r-m)*(f-k))/s;k=f+m*(h-f);m=g+m*(a-g);if(k<c.ql(b.x,d.x)-c.I||k>c.pl(b.x,d.x)+c.I||m<c.ql(b.y,d.y)-c.I||m>c.pl(b.y,d.y)+c.I||k<c.ql(f,h)-c.I||k>c.pl(f,h)+c.I||m<c.ql(g,a)-c.I||m>c.pl(g,a)+c.I)return c.vg;e.x=k;e.y=m;return c.yg};c.vp=function(a,b,d){var e=new c.ld;c.tl(e,b,a);d.x=-e.y;d.y=e.x;c.bF(d,d)};
- c.PP=function(a,b,d,e,f,g){var h=new c.ld,k=new c.ld,m=new c.ld,n=1E4,r=c.vg,s;c.aq(a,b,d,h)&&(s=new c.ld,r=c.yg,s=c.sl(c.tl(s,h,a.start)),s<n&&(k.x=h.x,k.y=h.y,n=s,c.vp(b,d,m)));c.aq(a,d,e,h)&&(s=new c.ld,r=c.yg,s=c.sl(c.tl(s,h,a.start)),s<n&&(k.x=h.x,k.y=h.y,n=s,c.vp(d,e,m)));c.aq(a,e,b,h)&&(s=new c.ld,r=c.yg,s=c.sl(c.tl(s,h,a.start)),s<n&&(k.x=h.x,k.y=h.y,c.vp(e,b,m)));r&&(f.x=k.x,f.y=k.y,g&&(g.x=m.x,g.y=m.y));return r};c.OP=function(){c.log("cc.kmRay2IntersectCircle() has not been implemented.")};var Float32Array=Float32Array||Array;c.ol=function(){this.c=new Float32Array([0,0,0,0,0,0,0,0,0])};c.PO=function(a,b){for(var d=0;9>d;d++)a.c[d]=b;return a};c.NE=function(a,b){a.c[0]=b.c[4]*b.c[8]-b.c[5]*b.c[7];a.c[1]=b.c[2]*b.c[7]-b.c[1]*b.c[8];a.c[2]=b.c[1]*b.c[5]-b.c[2]*b.c[4];a.c[3]=b.c[5]*b.c[6]-b.c[3]*b.c[8];a.c[4]=b.c[0]*b.c[8]-b.c[2]*b.c[6];a.c[5]=b.c[2]*b.c[3]-b.c[0]*b.c[5];a.c[6]=b.c[3]*b.c[7]-b.c[4]*b.c[6];a.c[8]=b.c[0]*b.c[4]-b.c[1]*b.c[3]};
- c.iu=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};c.QO=function(a,b,d){var e=new c.ol;if(0===b)return null;b=1/b;c.NE(e,d);c.OE(a,e,b);return a};c.ol.Xn=new Float32Array([1,0,0,0,1,0,0,0,1]);c.RO=function(a){for(var b=0;9>b;b++)if(c.ol.Xn[b]!==a.c[b])return!1;return!0};c.bP=function(a,b){var d,e;for(d=0;3>d;++d)for(e=0;3>e;++e)a.c[3*d+e]=b.c[3*e+d];return a};
- c.OO=function(a){var b;b=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 b-=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]};
- c.SO=function(a,b,d){b=b.c;d=d.c;a.c[0]=b[0]*d[0]+b[3]*d[1]+b[6]*d[2];a.c[1]=b[1]*d[0]+b[4]*d[1]+b[7]*d[2];a.c[2]=b[2]*d[0]+b[5]*d[1]+b[8]*d[2];a.c[3]=b[0]*d[3]+b[3]*d[4]+b[6]*d[5];a.c[4]=b[1]*d[3]+b[4]*d[4]+b[7]*d[5];a.c[5]=b[2]*d[3]+b[5]*d[4]+b[8]*d[5];a.c[6]=b[0]*d[6]+b[3]*d[7]+b[6]*d[8];a.c[7]=b[1]*d[6]+b[4]*d[7]+b[7]*d[8];a.c[8]=b[2]*d[6]+b[5]*d[7]+b[8]*d[8];return a};c.OE=function(a,b,d){for(var e=0;9>e;e++)a.c[e]=b.c[e]*d};
- c.UO=function(a,b,d){var e=Math.cos(d);d=Math.sin(d);a.c[0]=e+b.x*b.x*(1-e);a.c[1]=b.z*d+b.y*b.x*(1-e);a.c[2]=-b.y*d+b.z*b.x*(1-e);a.c[3]=-b.z*d+b.x*b.y*(1-e);a.c[4]=e+b.y*b.y*(1-e);a.c[5]=b.x*d+b.z*b.y*(1-e);a.c[6]=b.y*d+b.x*b.z*(1-e);a.c[7]=-b.x*d+b.y*b.z*(1-e);a.c[8]=e+b.z*b.z*(1-e);return a};c.NO=function(a,b){if(a==b)return c.log("cc.kmMat3Assign(): pOut equals pIn"),a;for(var d=0;9>d;d++)a.c[d]=b.c[d];return a};
- c.MO=function(a,b){if(a==b)return!0;for(var d=0;9>d;++d)if(!(a.c[d]+c.I>b.c[d]&&a.c[d]-c.I<b.c[d]))return!1;return!0};c.XO=function(a,b){a.c[0]=1;a.c[1]=0;a.c[2]=0;a.c[3]=0;a.c[4]=Math.cos(b);a.c[5]=Math.sin(b);a.c[6]=0;a.c[7]=-Math.sin(b);a.c[8]=Math.cos(b);return a};c.YO=function(a,b){a.c[0]=Math.cos(b);a.c[1]=0;a.c[2]=-Math.sin(b);a.c[3]=0;a.c[4]=1;a.c[5]=0;a.c[6]=Math.sin(b);a.c[7]=0;a.c[8]=Math.cos(b);return a};
- c.ZO=function(a,b){a.c[0]=Math.cos(b);a.c[1]=-Math.sin(b);a.c[2]=0;a.c[3]=Math.sin(b);a.c[4]=Math.cos(b);a.c[5]=0;a.c[6]=0;a.c[7]=0;a.c[8]=1;return a};c.TO=function(a,b){a.c[0]=Math.cos(b);a.c[1]=Math.sin(b);a.c[2]=0;a.c[3]=-Math.sin(b);a.c[4]=Math.cos(b);a.c[5]=0;a.c[6]=0;a.c[7]=0;a.c[8]=1;return a};c.$O=function(a,b,d){c.iu(a);a.c[0]=b;a.c[4]=d;return a};c.aP=function(a,b,d){c.iu(a);a.c[6]=b;a.c[7]=d;return a};
- c.VO=function(a,b){if(!b||!a)return null;a.c[0]=1-2*(b.y*b.y+b.z*b.z);a.c[1]=2*(b.x*b.y-b.k*b.z);a.c[2]=2*(b.x*b.z+b.k*b.y);a.c[3]=2*(b.x*b.y+b.k*b.z);a.c[4]=1-2*(b.x*b.x+b.z*b.z);a.c[5]=2*(b.y*b.z-b.k*b.x);a.c[6]=2*(b.x*b.z-b.k*b.y);a.c[7]=2*(b.y*b.z+b.k*b.x);a.c[8]=1-2*(b.x*b.x+b.y*b.y);return a};c.WO=function(a,b,d){c.ou(void 0,d);c.pu(void 0,a);return a};c.u=function(){this.c=new Float32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])};c.eP=function(a,b){a.c[0]=a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[5]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[10]=a.c[11]=a.c[12]=a.c[13]=a.c[14]=a.c[15]=b};c.ig=function(a){a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=a.c[12]=a.c[13]=a.c[14]=0;a.c[0]=a.c[5]=a.c[10]=a.c[15]=1};c.u.sc=function(a,b,d){return a.c[b+4*d]};c.u.cf=function(a,b,d,e){a.c[b+4*d]=e};
- c.u.ff=function(a,b,d,e,f){var g=c.u.sc(a,b,d);c.u.cf(a,b,d,c.u.sc(a,e,f));c.u.cf(a,e,f,g)};
- c.u.Yz=function(a,b){var d,e=0,f=0,g,h,k,m=[0,0,0,0],n=[0,0,0,0],r=[0,0,0,0];for(d=0;4>d;d++){for(g=k=0;4>g;g++)if(1!=r[g])for(h=0;4>h;h++)0==r[h]&&Math.abs(c.u.sc(a,g,h))>=k&&(k=Math.abs(c.u.sc(a,g,h)),f=g,e=h);++r[e];if(f!=e){for(g=0;4>g;g++)c.u.ff(a,f,g,e,g);for(g=0;4>g;g++)c.u.ff(b,f,g,e,g)}n[d]=f;m[d]=e;if(0==c.u.sc(a,e,e))return c.vg;h=1/c.u.sc(a,e,e);c.u.cf(a,e,e,1);for(g=0;4>g;g++)c.u.cf(a,e,g,c.u.sc(a,e,g)*h);for(g=0;4>g;g++)c.u.cf(b,e,g,c.u.sc(b,e,g)*h);for(h=0;4>h;h++)if(h!=e){k=c.u.sc(a,
- h,e);c.u.cf(a,h,e,0);for(g=0;4>g;g++)c.u.cf(a,h,g,c.u.sc(a,h,g)-c.u.sc(a,e,g)*k);for(g=0;4>g;g++)c.u.cf(b,h,g,c.u.sc(a,h,g)-c.u.sc(b,e,g)*k)}}for(g=3;0<=g;g--)if(n[g]!=m[g])for(h=0;4>h;h++)c.u.ff(a,h,n[g],h,m[g]);return c.yg};c.u.Xn=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);c.QE=function(a,b){var d=new c.u,e=new c.u;c.ue(d,b);c.ig(e);c.u.Yz(d,e)!=c.vg&&c.ue(a,d)};c.iP=function(a){for(var b=0;16>b;b++)if(c.u.Xn[b]!=a.c[b])return!1;return!0};
- c.qP=function(a,b){var d,e,f=a.c,g=b.c;for(e=0;4>e;++e)for(d=0;4>d;++d)f[4*e+d]=g[4*d+e];return a};
- c.ve=function(a,b,d){a=a.c;var e=b.c[0],f=b.c[1],g=b.c[2],h=b.c[3],k=b.c[4],m=b.c[5],n=b.c[6],r=b.c[7],s=b.c[8],t=b.c[9],u=b.c[10],y=b.c[11],x=b.c[12],E=b.c[13],D=b.c[14];b=b.c[15];var Q=d.c[0],R=d.c[1],S=d.c[2],T=d.c[3],U=d.c[4],V=d.c[5],W=d.c[6],X=d.c[7],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*b[13]+a[8]*b[14]+a[12]*b[15];d[13]=a[1]*b[12]+a[5]*b[13]+a[9]*b[14]+a[13]*b[15];d[14]=a[2]*b[12]+a[6]*b[13]+a[10]*b[14]+a[14]*b[15];d[15]=a[3]*b[12]+a[7]*b[13]+a[11]*b[14]+a[15]*b[15];return d};
- c.bN=function(a,b,d){a=a.c;b=b.c;var e=d.c;e[0]=a[0]*b[0]+a[4]*b[1]+a[8]*b[2]+a[12]*b[3];e[1]=a[1]*b[0]+a[5]*b[1]+a[9]*b[2]+a[13]*b[3];e[2]=a[2]*b[0]+a[6]*b[1]+a[10]*b[2]+a[14]*b[3];e[3]=a[3]*b[0]+a[7]*b[1]+a[11]*b[2]+a[15]*b[3];e[4]=a[0]*b[4]+a[4]*b[5]+a[8]*b[6]+a[12]*b[7];e[5]=a[1]*b[4]+a[5]*b[5]+a[9]*b[6]+a[13]*b[7];e[6]=a[2]*b[4]+a[6]*b[5]+a[10]*b[6]+a[14]*b[7];e[7]=a[3]*b[4]+a[7]*b[5]+a[11]*b[6]+a[15]*b[7];e[8]=a[0]*b[8]+a[4]*b[9]+a[8]*b[10]+a[12]*b[11];e[9]=a[1]*b[8]+a[5]*b[9]+a[9]*b[10]+a[13]*
- b[11];e[10]=a[2]*b[8]+a[6]*b[9]+a[10]*b[10]+a[14]*b[11];e[11]=a[3]*b[8]+a[7]*b[9]+a[11]*b[10]+a[15]*b[11];e[12]=a[0]*b[12]+a[4]*b[13]+a[8]*b[14]+a[12]*b[15];e[13]=a[1]*b[12]+a[5]*b[13]+a[9]*b[14]+a[13]*b[15];e[14]=a[2]*b[12]+a[6]*b[13]+a[10]*b[14]+a[14]*b[15];e[15]=a[3]*b[12]+a[7]*b[13]+a[11]*b[14]+a[15]*b[15];return d.c};
- c.ue=function(a,b){if(a==b)c.log("cc.kmMat4Assign(): pOut equals pIn");else{var d=a.c,e=b.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]}};c.cP=function(a,b){if(a==b)return c.log("cc.kmMat4AreEqual(): pMat1 and pMat2 are same object."),!0;for(var d=0;16>d;d++)if(!(a.c[d]+c.I>b.c[d]&&a.c[d]-c.I<b.c[d]))return!1;return!0};
- c.nP=function(a,b){a.c[0]=1;a.c[1]=0;a.c[2]=0;a.c[3]=0;a.c[4]=0;a.c[5]=Math.cos(b);a.c[6]=Math.sin(b);a.c[7]=0;a.c[8]=0;a.c[9]=-Math.sin(b);a.c[10]=Math.cos(b);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};c.oP=function(a,b){a.c[0]=Math.cos(b);a.c[1]=0;a.c[2]=-Math.sin(b);a.c[3]=0;a.c[4]=0;a.c[5]=1;a.c[6]=0;a.c[7]=0;a.c[8]=Math.sin(b);a.c[9]=0;a.c[10]=Math.cos(b);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};
- c.pP=function(a,b){a.c[0]=Math.cos(b);a.c[1]=Math.sin(b);a.c[2]=0;a.c[3]=0;a.c[4]=-Math.sin(b);a.c[5]=Math.cos(b);a.c[6]=0;a.c[7]=0;a.c[8]=0;a.c[9]=0;a.c[10]=1;a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};
- c.jP=function(a,b,d,e){var f=Math.cos(b);b=Math.sin(b);var g=Math.cos(d);d=Math.sin(d);var h=Math.cos(e);e=Math.sin(e);var k=b*d,m=f*d;a.c[0]=g*h;a.c[4]=g*e;a.c[8]=-d;a.c[1]=k*h-f*e;a.c[5]=k*e+f*h;a.c[9]=b*g;a.c[2]=m*h+b*e;a.c[6]=m*e-b*h;a.c[10]=f*g;a.c[3]=a.c[7]=a.c[11]=0;a.c[15]=1;return a};
- c.kP=function(a,b){a.c[0]=1-2*(b.y*b.y+b.z*b.z);a.c[1]=2*(b.x*b.y+b.z*b.k);a.c[2]=2*(b.x*b.z-b.y*b.k);a.c[3]=0;a.c[4]=2*(b.x*b.y-b.z*b.k);a.c[5]=1-2*(b.x*b.x+b.z*b.z);a.c[6]=2*(b.z*b.y+b.x*b.k);a.c[7]=0;a.c[8]=2*(b.x*b.z+b.y*b.k);a.c[9]=2*(b.y*b.z-b.x*b.k);a.c[10]=1-2*(b.x*b.x+b.y*b.y);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1;return a};
- c.mP=function(a,b,d){a.c[0]=b.c[0];a.c[1]=b.c[1];a.c[2]=b.c[2];a.c[3]=0;a.c[4]=b.c[3];a.c[5]=b.c[4];a.c[6]=b.c[5];a.c[7]=0;a.c[8]=b.c[6];a.c[9]=b.c[7];a.c[10]=b.c[8];a.c[11]=0;a.c[12]=d.x;a.c[13]=d.y;a.c[14]=d.z;a.c[15]=1;return a};c.UE=function(a,b,d,e){a.c[0]=b;a.c[5]=d;a.c[10]=e;a.c[15]=1;a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=a.c[12]=a.c[13]=a.c[14]=0};
- c.ku=function(a,b,d,e){a.c[0]=a.c[5]=a.c[10]=a.c[15]=1;a.c[1]=a.c[2]=a.c[3]=a.c[4]=a.c[6]=a.c[7]=a.c[8]=a.c[9]=a.c[11]=0;a.c[12]=b;a.c[13]=d;a.c[14]=e};c.hP=function(a,b){a.x=b.c[4];a.y=b.c[5];a.z=b.c[6];c.ic(a,a);return a};c.gP=function(a,b){a.x=b.c[0];a.y=b.c[1];a.z=b.c[2];c.ic(a,a);return a};c.fP=function(a,b){a.x=b.c[8];a.y=b.c[9];a.z=b.c[10];c.ic(a,a);return a};
- c.SE=function(a,b,d){var e=c.Xi(30),f=d-0.1,g=Math.sin(e);0!=f&&0!=g&&0!=b&&(e=Math.cos(e)/g,c.ig(a),a.c[0]=e/b,a.c[5]=e,a.c[10]=-(d+0.1)/f,a.c[11]=-1,a.c[14]=-0.2*d/f,a.c[15]=0)};c.RE=function(a,b,d){c.ig(a);a.c[0]=2/(b-0);a.c[5]=2/(d-0);a.c[10]=-2/2048;a.c[12]=-((b+0)/(b-0));a.c[13]=-((d+0)/(d-0));a.c[14]=-0};
- c.ju=function(a,b,d,e){var f=new c.ha,g=new c.ha,h=new c.ha,k=new c.ha,m=new c.u;c.dq(f,d,b);c.ic(f,f);c.Yi(g,e);c.ic(g,g);c.pf(h,f,g);c.ic(h,h);c.pf(k,h,f);c.ic(h,h);c.ig(a);a.c[0]=h.x;a.c[4]=h.y;a.c[8]=h.z;a.c[1]=k.x;a.c[5]=k.y;a.c[9]=k.z;a.c[2]=-f.x;a.c[6]=-f.y;a.c[10]=-f.z;c.ku(m,-b.x,-b.y,-b.z);c.ve(a,a,m)};
- c.TE=function(a,b,d){var e=Math.cos(d);d=Math.sin(d);var f=new c.ha;c.ic(f,b);a.c[0]=e+f.x*f.x*(1-e);a.c[1]=f.z*d+f.y*f.x*(1-e);a.c[2]=-f.y*d+f.z*f.x*(1-e);a.c[3]=0;a.c[4]=-f.z*d+f.x*f.y*(1-e);a.c[5]=e+f.y*f.y*(1-e);a.c[6]=f.x*d+f.z*f.y*(1-e);a.c[7]=0;a.c[8]=f.y*d+f.x*f.z*(1-e);a.c[9]=-f.x*d+f.y*f.z*(1-e);a.c[10]=e+f.z*f.z*(1-e);a.c[11]=0;a.c[12]=0;a.c[13]=0;a.c[14]=0;a.c[15]=1};
- c.PE=function(a,b){a.c[0]=b.c[0];a.c[1]=b.c[1];a.c[2]=b.c[2];a.c[3]=b.c[4];a.c[4]=b.c[5];a.c[5]=b.c[6];a.c[6]=b.c[8];a.c[7]=b.c[9];a.c[8]=b.c[10]};
- c.dP=function(a,b,d){switch(d){case c.ww:a.a=b.c[3]-b.c[0];a.b=b.c[7]-b.c[4];a.p=b.c[11]-b.c[8];a.s=b.c[15]-b.c[12];break;case c.uw:a.a=b.c[3]+b.c[0];a.b=b.c[7]+b.c[4];a.p=b.c[11]+b.c[8];a.s=b.c[15]+b.c[12];break;case c.sw:a.a=b.c[3]+b.c[1];a.b=b.c[7]+b.c[5];a.p=b.c[11]+b.c[9];a.s=b.c[15]+b.c[13];break;case c.xw:a.a=b.c[3]-b.c[1];a.b=b.c[7]-b.c[5];a.p=b.c[11]-b.c[9];a.s=b.c[15]-b.c[13];break;case c.tw:a.a=b.c[3]-b.c[2];a.b=b.c[7]-b.c[6];a.p=b.c[11]-b.c[10];a.s=b.c[15]-b.c[14];break;case c.vw:a.a=
- b.c[3]+b.c[2];a.b=b.c[7]+b.c[6];a.p=b.c[11]+b.c[10];a.s=b.c[15]+b.c[14];break;default:c.log("cc.kmMat4ExtractPlane(): Invalid plane index")}b=Math.sqrt(a.a*a.a+a.b*a.b+a.p*a.p);a.a/=b;a.b/=b;a.p/=b;a.s/=b;return a};c.lP=function(a,b,d){b=new fa;var e=new c.ol;c.PE(e,d);c.ou(b,e);c.pu(b,a);return a};c.uw=0;c.ww=1;c.sw=2;c.xw=3;c.vw=4;c.tw=5;c.rP=function(a,b,d,e){this.a=a||0;this.b=b||0;this.p=d||0;this.s=e||0};c.fx=0;c.ex=1;c.gx=2;c.tP=function(a,b){return a.a*b.x+a.b*b.y+a.p*b.z+a.s*b.k};c.uP=function(a,b){return a.a*b.x+a.b*b.y+a.p*b.z+a.s};c.vP=function(a,b){return a.a*b.x+a.b*b.y+a.p*b.z};c.wP=function(a,b,d){a.a=d.x;a.b=d.y;a.p=d.z;a.s=-c.bq(d,b);return a};
- c.xP=function(a,b,d,e){var f=new c.ha,g=new c.ha,h=new c.ha;c.dq(g,d,b);c.dq(h,e,b);c.pf(f,g,h);c.ic(f,f);a.a=f.x;a.b=f.y;a.p=f.z;a.s=c.bq(c.cq(f,f,-1),b);return a};c.yP=function(){throw"cc.kmPlaneIntersectLine() hasn't been implemented.";};c.zP=function(a,b){var d=new c.ha;d.x=b.a;d.y=b.b;d.z=b.p;var e=1/c.ru(d);c.ic(d,d);a.a=d.x;a.b=d.y;a.p=d.z;a.s=b.s*e;return a};c.AP=function(){c.log("cc.kmPlaneScale() has not been implemented.")};
- c.sP=function(a,b){var d=a.a*b.x+a.b*b.y+a.p*b.z+a.s;return 0.001<d?c.fx:-0.001>d?c.ex:c.gx};function fa(){this.k=this.z=this.y=this.x=0}c.YE=function(a,b){a.x=-b.x;a.y=-b.y;a.z=-b.z;a.k=b.k;return a};c.ZE=function(a,b){return a.k*b.k+a.x*b.x+a.y*b.y+a.z*b.z};c.CP=function(a){return a};c.$E=function(a){a.x=0;a.y=0;a.z=0;a.k=1};c.DP=function(a,b){var d=c.lu(b),e=new fa;if(Math.abs(d)>c.I)return a.x=0,a.y=0,a.z=0,a.k=0,a;c.rl(a,c.YE(e,b),1/d);return a};c.EP=function(a){return 0==a.x&&0==a.y&&0==a.z&&1==a.k};c.lu=function(a){return Math.sqrt(c.aF(a))};
- c.aF=function(a){return a.x*a.x+a.y*a.y+a.z*a.z+a.k*a.k};c.FP=function(a){return a};c.GP=function(a,b,d){a.k=b.k*d.k-b.x*d.x-b.y*d.y-b.z*d.z;a.x=b.k*d.x+b.x*d.k+b.y*d.z-b.z*d.y;a.y=b.k*d.y+b.y*d.k+b.z*d.x-b.x*d.z;a.z=b.k*d.z+b.z*d.k+b.x*d.y-b.y*d.x;return a};c.mu=function(a,b){var d=c.lu(b);if(Math.abs(d)<=c.I)throw"cc.kmQuaternionNormalize(): pIn is an invalid value";c.rl(a,b,1/d)};c.nu=function(a,b){var d=0.5*c.$p,e=Math.sin(d);a.k=Math.cos(d);a.x=b.x*e;a.y=b.y*e;a.z=b.z*e};
- c.ou=function(a,b){var d,e,f,g;d=[];e=g=0;if(b){d[0]=b.c[0];d[1]=b.c[3];d[2]=b.c[6];d[4]=b.c[1];d[5]=b.c[4];d[6]=b.c[7];d[8]=b.c[2];d[9]=b.c[5];d[10]=b.c[8];d[15]=1;var h=d[0];e=h[0]+h[5]+h[10]+1;e>c.I?(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.z=f;a.k=g}};c.JP=function(a,b,d,e){var f,g,h,k,m;f=c.Xi(d)/2;g=c.Xi(b)/2;h=c.Xi(e)/2;e=Math.cos(f);b=Math.cos(g);d=Math.cos(h);f=Math.sin(f);g=Math.sin(g);h=Math.sin(h);k=b*d;m=g*h;a.k=e*k+f*m;a.x=f*k-e*m;a.y=e*g*d+f*b*h;a.z=e*b*h-f*g*d;c.mu(a,a);return a};
- c.KP=function(a,b,d,e){if(b.x==d.x&&b.y==d.y&&b.z==d.z&&b.k==d.k)return a.x=b.x,a.y=b.y,a.z=b.z,a.k=b.k,a;var f=c.ZE(b,d),g=Math.acos(f),f=Math.sqrt(1-c.Sa(f)),h=Math.sin(e*g)/f,k=new fa,m=new fa;c.rl(k,b,Math.sin((1-e)*g)/f);c.rl(m,d,h);c.XE(a,k,m);return a};c.pu=function(a,b){var d;d=Math.sqrt(c.Sa(a.x)+c.Sa(a.y)+c.Sa(a.z));d>-c.I&&d<c.I||d<2*c.$p+c.I&&d>2*c.$p-c.I?(b.x=0,b.y=0,b.z=1):(b.x=a.x/d,b.y=a.y/d,b.z=a.z/d,c.ic(b,b))};c.rl=function(a,b,d){a.x=b.x*d;a.y=b.y*d;a.z=b.z*d;a.k=b.k*d};
- c.BP=function(a,b){a.x=b.x;a.y=b.y;a.z=b.z;a.k=b.k;return a};c.XE=function(a,b,d){a.x=b.x+d.x;a.y=b.y+d.y;a.z=b.z+d.z;a.k=b.k+d.k};
- c.IP=function(a,b,d,e){var f=new c.ha,g=new c.ha;c.Yi(f,b);c.Yi(g,d);c.ic(f,f);c.ic(g,g);d=c.bq(f,g);if(1<=d)return c.$E(a),a;-0.999999>d?Math.abs(c.su(e))<c.I?c.nu(a,e):(f=new c.ha,g=new c.ha,g.x=1,g.y=0,g.z=0,c.pf(f,g,b),Math.abs(c.su(f))<c.I&&(g=new c.ha,g.x=0,g.y=1,g.z=0,c.pf(f,g,b)),c.ic(f,f),c.nu(a,f)):(b=Math.sqrt(2*(1+d)),e=1/b,d=new c.ha,c.pf(d,f,g),a.x=d.x*e,a.y=d.y*e,a.z=d.z*e,a.k=0.5*b,c.mu(a,a));return a};
- c.HP=function(a,b,d){var e=new c.ha,f=new c.ha,g=new c.ha;g.x=b.x;g.y=b.y;g.z=b.z;c.pf(e,g,d);c.pf(f,g,e);c.cq(e,e,2*b.k);c.cq(f,f,2);c.qu(a,d,e);c.qu(a,a,f);return a};c.BO=function(a,b){this.min=a||new c.ha;this.max=b||new c.ha};c.DO=function(a,b){return a.x>=b.min.x&&a.x<=b.max.x&&a.y>=b.min.y&&a.y<=b.max.y&&a.z>=b.min.z&&a.z<=b.max.z?c.yg:c.vg};c.CO=function(a,b){c.Yi(a.min,b.min);c.Yi(a.max,b.max);return a};c.EO=function(){c.log("cc.kmAABBScale hasn't been supported.")};c.ul=function(a,b,d,e){this.top=d;this.stack=e};c.ul.sI=30;c.eq=function(a){a.stack=[];a.top=null};c.vl=function(a,b){a.stack.push(a.top);a.top=new c.u;c.ue(a.top,b)};c.pQ=function(a){a.top=a.stack.pop()};c.fq=function(a){a.stack=null;a.top=null};c.wg=5888;c.xg=5889;c.Wq=5890;c.xe=new c.ul;c.rf=new c.ul;c.pj=new c.ul;c.Ca=null;c.Wp=!1;c.fF=function(){if(!c.Wp){var a=new c.u;c.eq(c.xe);c.eq(c.rf);c.eq(c.pj);c.Ca=c.xe;c.Wp=!0;c.ig(a);c.vl(c.xe,a);c.vl(c.rf,a);c.vl(c.pj,a)}};c.fF();c.ME=function(){c.fq(c.xe);c.fq(c.rf);c.fq(c.pj);c.Wp=!1;c.Ca=null};c.gu=function(){c.vl(c.Ca,c.Ca.top)};c.JO=function(a){c.Ca.stack.push(c.Ca.top);c.ue(a,c.Ca.top);c.Ca.top=a};c.fu=function(){c.Ca.top=c.Ca.stack.pop()};
- c.ml=function(a){switch(a){case c.wg:c.Ca=c.xe;break;case c.xg:c.Ca=c.rf;break;case c.Wq:c.Ca=c.pj;break;default:throw"Invalid matrix mode specified";}};c.ll=function(){c.ig(c.Ca.top)};c.IO=function(a){c.ue(c.Ca.top,a)};c.nl=function(a){c.ve(c.Ca.top,c.Ca.top,a)};c.hu=function(a,b){var d=new c.u;c.ku(d,a,b,0);c.ve(c.Ca.top,c.Ca.top,d)};c.KO=function(a,b,d,e){b=new c.ha(b,d,e);d=new c.u;c.TE(d,b,c.Xi(a));c.ve(c.Ca.top,c.Ca.top,d)};
- c.LO=function(a,b,d){var e=new c.u;c.UE(e,a,b,d);c.ve(c.Ca.top,c.Ca.top,e)};c.kl=function(a,b){switch(a){case c.wg:c.ue(b,c.xe.top);break;case c.xg:c.ue(b,c.rf.top);break;case c.Wq:c.ue(b,c.pj.top);break;default:throw"Invalid matrix mode specified";}};c.Cx="precision lowp float;\nvarying vec4 v_fragmentColor;\nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n}\n";c.Dx="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}";c.px="precision lowp float; \nvarying vec4 v_fragmentColor; \nvoid main() \n{ \n gl_FragColor \x3d v_fragmentColor; \n} ";
- c.sx="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}";c.qx="// #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}";
- c.rx="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}";c.yx="precision lowp float; \nvarying vec2 v_texCoord; \nuniform sampler2D CC_Texture0; \nvoid main() \n{ \n gl_FragColor \x3d texture2D(CC_Texture0, v_texCoord); \n}";
- c.Bx="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}";c.zx="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}";c.Ax="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}";
- c.ux="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}";c.vx="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}";
- c.xx="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}";c.ir="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}";
- c.wx="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}";
- c.mJ="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}";c.Ud={Tm:0,Um:1,Rm:2,Sm:3,Wm:4,Vm:5,Xm:6,nr:7,uJ:8,gb:{},ui:function(){this.hF();return!0},Rb:function(a,b){switch(b){case this.Tm:a.Qd(c.ir,c.xx);a.jb(c.uf,c.ya);a.jb(c.Sh,c.Vc);a.jb(c.sg,c.Dc);break;case this.Um:a.Qd(c.ir,c.wx);a.jb(c.uf,c.ya);a.jb(c.Sh,c.Vc);a.jb(c.sg,c.Dc);break;case this.Rm:a.Qd(c.sx,c.px);a.jb(c.uf,c.ya);a.jb(c.Sh,c.Vc);break;case this.Sm:a.Qd(c.Bx,c.yx);a.jb(c.uf,c.ya);a.jb(c.sg,c.Dc);break;case this.Wm:a.Qd(c.Ax,c.zx);a.jb(c.uf,c.ya);a.jb(c.sg,c.Dc);break;case this.Vm:a.Qd(c.vx,
- c.ux);a.jb(c.uf,c.ya);a.jb(c.Sh,c.Vc);a.jb(c.sg,c.Dc);break;case this.Xm:a.Qd(c.Dx,c.Cx);a.jb("aVertex",c.ya);break;case this.nr:a.Qd(c.rx,c.qx);a.jb(c.uf,c.ya);a.jb(c.sg,c.Dc);a.jb(c.Sh,c.Vc);break;default:c.log("cocos2d: cc.shaderCache._loadDefaultShader, error shader type");return}a.link();a.jH()},hF:function(){var a=new c.qd;this.Rb(a,this.Tm);this.gb[c.Zh]=a;this.gb.ShaderPositionTextureColor=a;a=new c.qd;this.Rb(a,this.Um);this.gb[c.hr]=a;this.gb.ShaderPositionTextureColorAlphaTest=a;a=new c.qd;
- this.Rb(a,this.Rm);this.gb[c.Cj]=a;this.gb.ShaderPositionColor=a;a=new c.qd;this.Rb(a,this.Sm);this.gb[c.Dj]=a;this.gb.ShaderPositionTexture=a;a=new c.qd;this.Rb(a,this.Wm);this.gb[c.Om]=a;this.gb.ShaderPositionTextureUColor=a;a=new c.qd;this.Rb(a,this.Vm);this.gb[c.Nm]=a;this.gb.ShaderPositionTextureA8Color=a;a=new c.qd;this.Rb(a,this.Xm);this.gb[c.Pm]=a;this.gb.ShaderPositionUColor=a;a=new c.qd;this.Rb(a,this.nr);this.gb[c.tx]=a;this.gb.ShaderPositionLengthTextureColor=a},SR:function(){var a=this.Jb(c.Zh);
- a.reset();this.Rb(a,this.Tm);a=this.Jb(c.hr);a.reset();this.Rb(a,this.Um);a=this.Jb(c.Cj);a.reset();this.Rb(a,this.Rm);a=this.Jb(c.Dj);a.reset();this.Rb(a,this.Sm);a=this.Jb(c.Om);a.reset();this.Rb(a,this.Wm);a=this.Jb(c.Nm);a.reset();this.Rb(a,this.Vm);a=this.Jb(c.Pm);a.reset();this.Rb(a,this.Xm)},Jb:function(a){return this.gb[a]},bl:function(a){return this.gb[a]},JK:function(a,b){this.gb[b]=a}};c.rw=function(){this.location=this.value=void 0;this.fl={}};
- c.qd=c.$.extend({B:null,na:null,ec:null,Ic:null,ma:null,Yc:null,jt:!1,Vb:function(a,b){if(null==a)return!1;for(var d=!0,e=null,f=0;f<this.Yc.length;f++)this.Yc[f].location==a&&(e=this.Yc[f]);e?e.value==b?d=!1:e.value=b:(e=new c.rw,e.location=a,e.value=b,this.Yc.push(e));return d},TJ:function(){return"\x3cCCGLProgram \x3d "+this.toString()+" | Program \x3d "+this.na.toString()+", VertexShader \x3d "+this.ec.toString()+", FragmentShader \x3d "+this.Ic.toString()+"\x3e"},Fr:function(a,b,d){if(!d||!a)return!1;
- this.B.shaderSource(a,"precision highp float; \nuniform mat4 CC_PMatrix; \nuniform mat4 CC_MVMatrix; \nuniform mat4 CC_MVPMatrix; \nuniform vec4 CC_Time; \nuniform vec4 CC_SinTime; \nuniform vec4 CC_CosTime; \nuniform vec4 CC_Random01; \n//CC INCLUDES END \n"+d);this.B.compileShader(a);d=this.B.getShaderParameter(a,this.B.COMPILE_STATUS);d||(c.log("cocos2d: ERROR: Failed to compile shader:\n"+this.B.getShaderSource(a)),b==
- this.B.VERTEX_SHADER?c.log("cocos2d: \n"+this.lH()):c.log("cocos2d: \n"+this.lD()));return 1==d},ctor:function(a,b,d){this.ma=[];this.Yc=[];this.B=d||c.e;a&&b&&this.ga(a,b)},AL:function(){this.Yc=this.ma=this.Ic=this.ec=null;this.B.deleteProgram(this.na)},Qd:function(a,b){var d=this.B;this.na=d.createProgram();this.Ic=this.ec=null;a&&(this.ec=d.createShader(d.VERTEX_SHADER),this.Fr(this.ec,d.VERTEX_SHADER,a)||c.log("cocos2d: ERROR: Failed to compile vertex shader"));b&&(this.Ic=d.createShader(d.FRAGMENT_SHADER),
- this.Fr(this.Ic,d.FRAGMENT_SHADER,b)||c.log("cocos2d: ERROR: Failed to compile fragment shader"));this.ec&&d.attachShader(this.na,this.ec);c.xh();this.Ic&&d.attachShader(this.na,this.Ic);this.Yc.length=0;c.xh();return!0},nf:function(a,b){return this.Qd(a,b)},vE:function(a,b){var d=c.D.hd(a);if(!d)throw"Please load the resource firset : "+a;var e=c.D.hd(b);if(!e)throw"Please load the resource firset : "+b;return this.Qd(d,e)},ga:function(a,b){return this.vE(a,b)},jb:function(a,b){this.B.bindAttribLocation(this.na,
- b,a)},link:function(){if(!this.na)return c.log("cc.GLProgram.link(): Cannot link invalid program"),!1;this.B.linkProgram(this.na);this.ec&&this.B.deleteShader(this.ec);this.Ic&&this.B.deleteShader(this.Ic);this.Ic=this.ec=null;return c.Da.Gb[c.Da.zc.Qi]&&!this.B.getProgramParameter(this.na,this.B.LINK_STATUS)?(c.log("cocos2d: ERROR: Failed to link program: "+this.B.getProgramInfoLog(this.na)),c.mE(this.na),this.na=null,!1):!0},Bb:function(){c.Tt(this.na)},jH:function(){this.ma[c.an]=this.B.getUniformLocation(this.na,
- c.Yy);this.ma[c.$m]=this.B.getUniformLocation(this.na,c.Wy);this.ma[c.bi]=this.B.getUniformLocation(this.na,c.Xy);this.ma[c.en]=this.B.getUniformLocation(this.na,c.bz);this.ma[c.dn]=this.B.getUniformLocation(this.na,c.az);this.ma[c.Zm]=this.B.getUniformLocation(this.na,c.Vy);this.jt=null!=this.ma[c.en]||null!=this.ma[c.dn]||null!=this.ma[c.Zm];this.ma[c.bn]=this.B.getUniformLocation(this.na,c.Zy);this.ma[c.cn]=this.B.getUniformLocation(this.na,c.$y);this.Bb();this.fv(this.ma[c.cn],0)},FN:function(a){if(!a)throw"cc.GLProgram.getUniformLocationForName(): uniform name should be non-null";
- if(!this.na)throw"cc.GLProgram.getUniformLocationForName(): Invalid operation. Cannot get uniform location when program is not initialized";return this.B.getUniformLocation(this.na,a)},GN:function(){return this.ma[c.bi]},HN:function(){return this.ma[c.cn]},fv:function(a,b){this.Vb(a,b)&&this.B.uniform1i(a,b)},rT:function(a,b,d){this.Vb(a,[b,d])&&this.B.uniform2i(a,b,d)},uT:function(a,b,d,e){this.Vb(a,[b,d,e])&&this.B.uniform3i(a,b,d,e)},xT:function(a,b,d,e,f){this.Vb(a,[b,d,e,f])&&this.B.uniform4i(a,
- b,d,e,f)},sT:function(a,b){this.Vb(a,b)&&this.B.uniform2iv(a,b)},vT:function(a,b){this.Vb(a,b)&&this.B.uniform3iv(a,b)},yT:function(a,b){this.Vb(a,b)&&this.B.uniform4iv(a,b)},pT:function(a,b){this.fv(a,b)},zq:function(a,b){this.Vb(a,b)&&this.B.uniform1f(a,b)},HG:function(a,b,d){this.Vb(a,[b,d])&&this.B.uniform2f(a,b,d)},IG:function(a,b,d,e){this.Vb(a,[b,d,e])&&this.B.uniform3f(a,b,d,e)},nj:function(a,b,d,e,f){this.Vb(a,[b,d,e,f])&&this.B.uniform4f(a,b,d,e,f)},qT:function(a,b){this.Vb(a,b)&&this.B.uniform2fv(a,
- b)},tT:function(a,b){this.Vb(a,b)&&this.B.uniform3fv(a,b)},wT:function(a,b){this.Vb(a,b)&&this.B.uniform4fv(a,b)},Aq:function(a,b){this.Vb(a,b)&&this.B.uniformMatrix4fv(a,!1,b)},oT:function(){if(!(2>arguments.length))switch(arguments.length){case 2:this.zq(arguments[0],arguments[1]);break;case 3:this.HG(arguments[0],arguments[1],arguments[2]);break;case 4:this.IG(arguments[0],arguments[1],arguments[2],arguments[3]);break;case 5:this.nj(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4])}},
- gv:function(){var a=new c.u,b=new c.u,d=new c.u;c.kl(c.xg,a);c.kl(c.wg,b);c.ve(d,a,b);this.Aq(this.ma[c.an],a.c,1);this.Aq(this.ma[c.$m],b.c,1);this.Aq(this.ma[c.bi],d.c,1);this.jt&&(a=c.S,a=a.Jk*a.gi,this.nj(this.ma[c.en],a/10,a,2*a,4*a),this.nj(this.ma[c.dn],a/8,a/4,a/2,Math.sin(a)),this.nj(this.ma[c.Zm],a/8,a/4,a/2,Math.cos(a)));-1!=this.ma[c.bn]&&this.nj(this.ma[c.bn],Math.random(),Math.random(),Math.random(),Math.random())},mT:function(){this.B.uniformMatrix4fv(this.ma[c.bi],!1,c.KD())},nT:function(a){c.ve(a,
- c.rf.top,c.xe.top);this.B.uniformMatrix4fv(this.ma[c.bi],!1,a.c)},jc:function(){this.B.uniformMatrix4fv(this.ma[c.$m],!1,c.xe.top.c);this.B.uniformMatrix4fv(this.ma[c.an],!1,c.rf.top.c)},lH:function(){return this.B.getShaderInfoLog(this.ec)},NN:function(){return this.B.getShaderInfoLog(this.ec)},TM:function(){return this.B.getShaderInfoLog(this.ec)},lD:function(){return this.B.getShaderInfoLog(this.Ic)},CR:function(){return this.B.getProgramInfoLog(this.na)},nN:function(){return this.B.getProgramInfoLog(this.na)},
- reset:function(){this.Ic=this.ec=null;this.ma.length=0;this.B.deleteProgram(this.na);this.na=null;for(var a=0;a<this.Yc.length;a++)this.Yc[a].value=null,this.Yc[a]=null;this.Yc.length=0},bl:function(){return this.na},oq:function(){},Nh:function(){}});c.qd.create=function(a,b){return new c.qd(a,b)};c.Kr=-1;c.np=!1;c.mp=!1;c.op=!1;c.Uc&&(c.Dw=16,c.ni=-1,c.mi=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],c.Gg=-1,c.Fg=-1,c.mz=0,c.lr&&(c.et=0));c.XN=function(){c.ME();c.Kr=-1;c.np=!1;c.mp=!1;c.op=!1;if(c.Uc){c.ni=-1;for(var a=0;a<c.Dw;a++)c.mi[a]=-1;c.Gg=-1;c.Fg=-1;c.mz=0}};c.Tt=function(a){a!==c.ni&&(c.ni=a,c.e.useProgram(a))};c.Uc||(c.Tt=function(a){c.e.useProgram(a)});c.mE=function(a){c.Uc&&a===c.ni&&(c.ni=-1);gl.deleteProgram(a)};
- c.mf=function(a,b){if(a!==c.Gg||b!==c.Fg)c.Gg=a,c.Fg=b,c.Nl(a,b)};c.Nl=function(a,b){var d=c.e;a===d.ONE&&b===d.ZERO?d.disable(d.BLEND):(d.enable(d.BLEND),c.e.blendFunc(a,b))};c.TN=function(a,b){if(a!==c.Gg||b!==c.Fg){c.Gg=a;c.Fg=b;var d=c.e;a===d.ONE&&b===d.ZERO?d.disable(d.BLEND):(d.enable(d.BLEND),d.blendFuncSeparate(d.SRC_ALPHA,b,a,b))}};c.Uc||(c.mf=c.Nl);c.UN=function(){var a=c.e;a.blendEquation(a.FUNC_ADD);c.Uc?c.Nl(c.Gg,c.Fg):c.Nl(a.Nb,a.Mb)};c.vG=function(){c.Kr=-1};
- c.Hb=function(a){var b=c.e,d=a&c.Pb;d!==c.np&&(d?b.enableVertexAttribArray(c.ya):b.disableVertexAttribArray(c.ya),c.np=d);d=a&c.Hj;d!==c.mp&&(d?b.enableVertexAttribArray(c.Vc):b.disableVertexAttribArray(c.Vc),c.mp=d);a&=c.Ij;a!==c.op&&(a?b.enableVertexAttribArray(c.Dc):b.disableVertexAttribArray(c.Dc),c.op=a)};c.Rc=function(a){c.Pp(0,a)};c.Pp=function(a,b){if(c.mi[a]!=b){c.mi[a]=b;var d=c.e;d.activeTexture(d.TEXTURE0+a);b?d.bindTexture(d.TEXTURE_2D,b.oe):d.bindTexture(d.TEXTURE_2D,null)}};
- c.Uc||(c.Pp=function(a,b){var d=c.e;d.activeTexture(d.TEXTURE0+a);b?d.bindTexture(d.TEXTURE_2D,b.oe):d.bindTexture(d.TEXTURE_2D,null)});c.VN=function(a){c.nE(a)};c.nE=function(a){c.Uc&&a==c.mi[0]&&(c.mi[0]=-1);c.e.deleteTexture(a)};c.SN=function(a){c.lr&&c.Uc&&c.et!=a&&(c.et=a)};c.WN=function(){};var ga=[{level:25,text:"\u53ea\u80fd\u6697\u604b\u522b\u4eba\u4e86"},{level:50,text:"\u67091\u4e2a\u5f02\u6027\u6697\u604b"},{level:100,text:"\u67095\u4e2a\u5f02\u6027\u6697\u604b"},{level:200,text:"\u670910\u4e2a\u4ee5\u4e0a\u5f02\u6027\u6697\u604b"},{level:400,text:"\u7684\u8ffd\u6c42\u8005\u6570\u90fd\u6570\u4e0d\u6e05"},{level:800,text:"\u7684\u8ffd\u6c42\u8005\u904d\u5e03\u5168\u7403"},{level:1600,text:"\u7684\u6700\u6c42\u8005\u7ed5\u5730\u740310\u5708"},{level:3200,text:"\u4e0d\u4ec5\u88ab\u5f02\u6027\u8ffd\u6c42\uff0c\u8fde\u540c\u6027\u90fd\u60f3\u8ffd\u6c42\u4e86"},
- {level:1E6,text:"\u5c31\u662f\u5168\u4eba\u7c7b\u88ab\u6697\u604b\u88ab\u8ffd\u6c42\u7684\u6700\u4f73\u9009\u62e9"}];
- function ha(a){function b(a,b){var e=b.qb,f=e.Ni(a.hg()),g=e.Qc();return c.Il(B(0,0,g.width,g.height),f)?(c.log("begin game"),e=e.Dh(),1==e?(ia.removeChild(d,!0),ja(ia)):2==e&&(c.log("need modify"),clickMore()),!0):!1}ia=a;a=c.S.kd();var d=c.xa.create(c.color(130,255,130,255),a.width,a.height),e=c.n.create("\u603b\u5171\u56db\u79cd\u65b9\u5757\uff1a\n\u84dd\u7537\u3001\u7c89\u7537\u3001\u84dd\u5973\u3001\u7c89\u5973\n\u624b\u6307\u54ea\u79cd\u65b9\u5757\uff0c\u4f60\u5c31\u9009\u54ea\u79cd\n\u6ca1\u9519\uff0c\u5c31\u8fd9\u4e48\u7b80\u5355\u2026\u2026\n\u4f60\u6700\u9ad8\u80fd\u6311\u6218\u591a\u5c11\u5206\uff1f","Impact",
- 20);e.Z(c.color(255,150,0,255));d.J(e);e.L(a.width/2,a.height/2*1.5);e=c.xa.create(c.color(250,150,255,255),a.width/2,a.height/7);e.Ae(1);d.J(e,0);e.L(a.width/4,a.height/7*2+10);var f=c.n.create("\u5f00\u59cb","Impact",30);e.J(f);f.L(a.width/4,a.height/14);f=c.xa.create(c.color(50,150,255,255),a.width/2,a.height/7);f.Ae(2);d.J(f,0);f.L(a.width/4,a.height/7-10);var g=c.n.create("更多游戏","Impact",30);f.J(g);g.L(a.width/4,a.height/14);a=c.v.create({event:c.v.Yd,Vd:!0,nd:b});c.H.addListener(a,
- e);a=c.v.create({event:c.v.Yd,Vd:!0,nd:b});c.H.addListener(a,f);ia.J(d,0);d.L(0,0);ka()}
- function ka(){
-
- }var ia;
- function ma(){function a(a,b){var d=b.qb,f=d.Ni(a.hg()),g=d.Qc();return c.Il(B(0,0,g.width,g.height),f)?(c.log("rebegin game"),d=d.Dh(),1==d?(na.removeChild(e,!0),ja(na)):2==d?(c.log("need modify"),dp_share()):3==d?c.log("oneGame"):4==d&&(c.log("need modify"),clickMore()),!0):!1}var b=oa;na=F;var d=c.S.kd(),e=c.xa.create(c.color(130,255,130,255),d.width,d.height),f=c.n.create("\u70b9\u51fb\u4e0a\u65b9\u6309\u94ae\u5206\u4eab\u2191\u2191","Impact",20);f.Z(c.color(225,
- 0,0,255));f.Ml(z(1,1));e.J(f);f.L(d.width,d.height);b=c.n.create(b,"Impact",25,A(d.width,d.height/3),c.Fj);b.Z(c.color(255,150,0,255));e.J(b);b.L(d.width/2,d.height/3*2);b=c.xa.create(c.color(250,150,255,255),d.width/2,d.height/7);b.Ae(1);e.J(b,0);b.L(d.width/4,d.height/14*5+10);f=c.n.create("\u91cd\u73a9","Impact",30);b.J(f);f.L(d.width/4,d.height/14);f=c.xa.create(c.color(50,150,255,255),d.width/2,d.height/7);f.Ae(2);e.J(f,0);f.L(d.width/4,d.height/14*3);var g=c.n.create("炫耀一下","Impact",
- 30);f.J(g);g.L(d.width/4,d.height/14);g=c.xa.create(c.color(250,150,255,255),d.width/2,d.height/7);g.Ae(4);e.J(g,0);g.L(d.width/4,d.height/14-10);var h=c.n.create("\u66f4\u591a\u6e38\u620f","Impact",30);g.J(h);h.L(d.width/4,d.height/14);d=c.v.create({event:c.v.Yd,Vd:!0,nd:a});c.H.addListener(d,b);d=c.v.create({event:c.v.Yd,Vd:!0,nd:a});c.H.addListener(d,f);d=c.v.create({event:c.v.Yd,Vd:!0,nd:a});c.H.addListener(d,g);na.J(e,0);e.L(0,0)}var na,la="\u7c89\u84dd\u7537\u5973, \u770b\u60a8\u4eca\u5e74\u7684\u6843\u82b1\u8fd0\u8d70\u52bf\u5982\u4f55\uff1f";
- function pa(a,b,d,e,f,g,h){a=c.xa.create(a,b.width,b.height);null!=d&&(d=c.n.create(String(d),"Impact",f),d.Z(e),a.J(d),d.L(b.width/2,b.height/2));null!=g&&a.Ae(g);null!=h&&(b=c.v.create({event:c.v.Yd,Vd:!0,nd:function(a,b){var d=b.qb,e=d.Ni(a.hg()),f=d.Qc();return c.Il(B(0,0,f.width,f.height),e)?(h(d.Dh()),!0):!1}}),c.H.addListener(b,a));return a}
- function ja(a){F=a;a=c.S.kd();G=Array(4);H=Array(10);I=J=K=0;L=a.width+a.height/20;qa=a.width/16.5;M=0;oa="\u60a8\u7684\u6843\u82b1\u8fd0\u6307\u6570\u4e3a0\u5206\n\u60a8\u53ea\u80fd\u6697\u604b\u522b\u4eba\u4e86\n\u5feb\u544a\u8bc9\u60a8\u7684\u5c0f\u4f19\u4f34\u4eec\u5427\uff01";la="\u6211\u7684\u6843\u82b1\u8fd0\u6307\u6570\u4e3a0\u5206\uff0c\u6211\u53ea\u80fd\u6697\u604b\u522b\u4eba\u4e86\uff01\u4f60\u7684\u6843\u82b1\u8fd0\u6709\u6211\u597d\u5417\uff1f";a=c.S.kd();N=c.xa.create(c.color(130,255,
- 130,255),a.width,a.height);O=c.n.create("\u901f\u5ea6:L","Impact",30);O.Z(c.color(255,255,255,255));N.J(O);O.L(a.width/4,a.height-60);P=c.n.create("\u5206\u6570:0","Impact",30);P.Z(c.color(255,255,255,255));N.J(P);P.L(a.width/4*3,a.height-60);for(var b=0;4>b;b++){var d;d=0==b||2==b?c.color(250,150,255,255):c.color(50,150,255,255);var e={width:a.width/2,height:a.height/6},f=1<b?"\u7537":"\u5973",g=c.color(255,255,255,255);G[b]=pa(d,e,f,g,80,b,ra);N.J(G[b],0);0==b?G[b].L(0,0):1==b?G[b].L(0,a.height/
- 6):2==b?G[b].L(a.width/2,a.height/6):3==b&&G[b].L(a.width/2,0)}for(b=0;9>b;b++){d=Math.floor(2*Math.random());var e=Math.floor(2*Math.random()),f=0==d?c.color(250,150,255,255):c.color(50,150,255,255),g={width:a.width/5.5,height:a.width/5.5*1.5},h=1==e?"\u7537":"\u5973",k=c.color(255,255,255,255);H[b]=pa(f,g,h,k,40,1*d+2*e,null);H[b].Td(!1);N.J(H[b],0);d=new c.F("res/triangle.png");d.Ae(11);d.Td(!1);H[b].J(d,0);d.L(a.width/11,10);J++}F.J(N,0);c.S.jd().Ru(this,sa,0.3,c.Ag,0,!1)}
- function ta(a){if(H[I].Dh()==a){I=++I%10;M++;for(i=0;i<ga.length;i++)if(c.log("need modify"),M<ga[i].level){la="\u6211\u7684\u6843\u82b1\u8fd0\u6307\u6570\u4e3a"+String(M)+"\u5206\uff0c\u6211"+ga[i].text+"\uff01\u4f60\u7684\u6843\u82b1\u8fd0\u6709\u6211\u597d\u5417\uff1f";oa="\u60a8\u7684\u6843\u82b1\u8fd0\u6307\u6570\u4e3a"+String(M)+"\u5206\n\u60a8"+ga[i].text+"\n\u5feb\u544a\u8bc9\u60a8\u7684\u5c0f\u4f19\u4f34\u4eec\u5427\uff01";break}a=c.S.kd();if(10==M||30==M||70==M)qa+=a.width/16.5*0.2}else c.S.jd().Tl(this,
- sa),F.removeChild(N,!0),c.log("need modify"),dp_submitScore(M),ma()}
- function ua(){for(var a=c.S.kd(),b=K;b!=J;){H[b].L(L+(b-K+10)%10*a.width/5.5,a.height/2);H[b].Td(!0);var d=H[b].Ip(11);d.Td(!1);b=++b%10}d=H[I].Ip(11);d.Td(!0);10==M?(O.Z(c.color(0,255,0,255)),O.pg("\u901f\u5ea6:M")):30==M?(O.Z(c.color(0,0,255,255)),O.pg("\u901f\u5ea6:H")):70==M&&(O.Z(c.color(255,0,0,255)),O.pg("\u901f\u5ea6:H+"));P.pg("\u5206\u6570:"+String(M));0>H[I].SD().x&&(c.S.jd().Tl(this,sa),F.removeChild(N,!0),c.log("need modify"),dp_submitScore(M),ma())}
- function sa(){var a=c.S.kd();if(L<-a.height/10){L+=a.height/10;var b=Math.floor(2*Math.random()),d=Math.floor(2*Math.random()),e;e=0==b?c.color(250,150,255,255):c.color(50,150,255,255);var f={width:a.width/5.5,height:a.width/5.5*1.5},g=1==d?"\u7537":"\u5973",h=c.color(255,255,255,255);H[J]=pa(e,f,g,h,40,1*b+2*d,null);H[J].Td(!1);N.J(H[J],0);b=new c.F("res/triangle.png");b.Ae(11);b.Td(!1);H[J].J(b,0);b.L(a.width/11,10);K=++K%10;J=++J%10}L-=qa;ua()}function ra(a){ta(a);ua()}
- var G,H,K,J,I,L,qa,M,oa,F,N,O,P;c.Da.hq=function(){var a=c.view.AD();c.view.tq(a.width,a.height,c.Xb.SHOW_ALL);c.vm.wF(function(){var a=c.Ej.create();ha(a);c.S.Qu(a)})};c.Da.RF();
|