123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917 |
- function d(b){throw b;}var k=void 0,n=!0,p=null,q=!1;function aa(){return function(b){return b}}function t(){return function(){}}function v(b){return function(c){this[b]=c}}function x(b){return function(){return this[b]}}function A(b){return function(){return b}}var C=C||{};C.F=C.F||{};C.e={};D=window;D=Object.prototype;delete window._p;C.Uc=function(b){return document.createElement(b)};C.mb=function(b,c,e,f){b.addEventListener(c,e,f)};C.HN="undefined"!==typeof require&&require("fs");
- C.SP=function(b,c){if(b)if(b instanceof Array)for(var e=0,f=b.length;e<f&&c.call(k,b[e],e)!==q;e++);else for(e in b)if(c.call(k,b[e],e)===q)break};C.nI=function(b){if(!b)return C.log("invalid URL"),q;var c=b.indexOf("://");if(-1==c)return q;c=b.indexOf("/",c+3);return(-1==c?b:b.substring(0,c))!=location.origin};
- C.async={pM:function(b){var c=this.JP;if(!c.IH){var e=c.length,f=c.IR,g=c.jR,h=g.Se,m=g.FP,r=g.BJ,g=g.Doa;if(b){if(c.IH=b,h)return h.call(m,b)}else{var s=Array.apply(p,arguments).slice(1),u=s.length;0==u?s=p:1==u&&(s=s[0]);f[this.index]=s;c.count--;r&&r.call(g,s,e-c.count,e);0==c.count&&h&&h.apply(m,[p,f])}}},$M:t(),Nka:function(b,c,e){var f=C.async;e!==k?("function"==typeof c&&(c={BJ:c}),c.Se=e||c.Se):c!==k?"function"==typeof c&&(c={Se:c}):b!==k?c={}:d("arguments error!");var g=(e=b instanceof Array)?
- b.length:Object.keys(b).length;if(0==g)c.Se&&c.Se.call(c.FP,p);else{var h={length:g,count:g,jR:c,IR:e?[]:{}};C.SP(b,function(b,e){if(h.IH)return q;var g=!c.Se&&!c.BJ?f.$M:f.pM.bind({JP:h,index:e});b(g,e)})}},map:function(b,c,e){var f=this,g=arguments.length;"function"==typeof c&&(c={sI:c});3===g?c.Se=e||c.Se:2>g&&d("arguments error!");"function"==typeof c&&(c={sI:c});e!==k?c.Se=e||c.Se:b===k&&d("arguments error!");var h=(g=b instanceof Array)?b.length:Object.keys(b).length;if(0===h)c.Se&&c.Se.call(c.FP,
- p);else{var m={length:h,count:h,jR:c,IR:g?[]:{}};C.SP(b,function(b,e){if(m.IH)return q;var g=!c.Se?f.$M:f.pM.bind({JP:m,index:e});c.sI.call(c.U5,b,e,g)})}}};
- C.path={join:function(){for(var b=arguments.length,c="",e=0;e<b;e++)c=(c+(""==c?"":"/")+arguments[e]).replace(/(\/|\\\\)$/,"");return c},Ho:function(b){return(b=/(\.[^\.\/\?\\]*)(\?.*)?$/.exec(b))?b[1]:p},Rja:function(b){if(b){var c=b.lastIndexOf(".");if(-1!==c)return b.substring(0,c)}return b},S1:function(b,c){var e=b.indexOf("?");0<e&&(b=b.substring(0,e));e=/(\/|\\\\)([^(\/|\\\\)]+)$/g.exec(b.replace(/(\/|\\\\)$/,""));if(!e)return p;e=e[2];return c&&b.substring(b.length-c.length).toLowerCase()==
- c.toLowerCase()?e.substring(0,e.length-c.length):e},dirname:function(b){return b.replace(/((.*)(\/|\\|\\\\))?(.*?\..*$)?/,"$2")},Z1:function(b,c){c=c||"";var e=b.indexOf("?"),f="";0<e&&(f=b.substring(e),b=b.substring(0,e));e=b.lastIndexOf(".");return 0>e?b+c+f:b.substring(0,e)+c+f},vA:function(b,c,e){if(0==c.indexOf("."))return this.Z1(b,c);var f=b.indexOf("?"),g="";e=e?this.Ho(b):"";0<f&&(g=b.substring(f),b=b.substring(0,f));f=b.lastIndexOf("/");return b.substring(0,0>=f?0:f+1)+c+e+g}};
- C.da={NN:{},xz:{},m_:{},hn:{},zB:"",Dda:"",Fh:{},XA:function(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP")},sN:function(b){var c=b[0],e=b[1],f=b[2],g=["",p,p];1===b.length?g[1]=c instanceof Array?c:[c]:2===b.length?"function"==typeof e?(g[1]=c instanceof Array?c:[c],g[2]=e):(g[0]=c||"",g[1]=e instanceof Array?e:[e]):3===b.length?(g[0]=c||"",g[1]=e instanceof Array?e:[e],g[2]=f):d("arguments error to load js!");return g},m6:function(b,c,e){var f=this,
- g=f.NN,h=f.sN(arguments);-1<navigator.userAgent.indexOf("Trident/5")?f.SN(h[0],h[1],0,h[2]):C.async.map(h[1],function(b,c,e){b=C.path.join(h[0],b);if(g[b])return e(p);f.qM(b,q,e)},h[2])},PQ:function(b,c,e){var f=this.o_(),g=this.sN(arguments);this.m6(g[0],g[1],function(b){b&&d(b);f.parentNode.removeChild(f);if(g[2])g[2]()})},qM:function(b,c,e){var f=document,g=C.Uc("script");g.async=c;g.src=b;this.NN[b]=n;C.mb(g,"load",function(){this.removeEventListener("load",arguments.callee,q);e()},q);C.mb(g,
- "error",function(){e("Load "+b+" failed!")},q);f.body.appendChild(g)},SN:function(b,c,e,f){if(e>=c.length)f&&f();else{var g=this;g.qM(C.path.join(b,c[e]),q,function(h){if(h)return f(h);g.SN(b,c,e+1,f)})}},o_:function(){var b=document,c=b.getElementById("cocos2d_loadJsImg");if(!c){c=C.Uc("img");C.UN&&(c.src=C.UN);b=b.getElementById(C.ze.sg.id);b.style.backgroundColor="black";b.parentNode.appendChild(c);var e=getComputedStyle?getComputedStyle(b):b.currentStyle;e||(e={width:b.width,height:b.height});
- c.style.left=b.offsetLeft+(parseFloat(e.width)-c.width)/2+"px";c.style.top=b.offsetTop+(parseFloat(e.height)-c.height)/2+"px";c.style.position="absolute"}return c},nB:function(b,c){if(C.HN)require("fs").ela(b,function(b,e){b?c(b):c(p,e.toString())});else{var e=this.XA(),f="load "+b+" failed!";e.open("GET",b,n);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?(e.setRequestHeader("Accept-Charset","utf-8"),e.onreadystatechange=function(){4==e.readyState&&200==e.status?c(p,e.responseText):
- c(f)}):(e.overrideMimeType&&e.overrideMimeType("text/plain; charset\x3dutf-8"),e.onload=function(){4==e.readyState&&200==e.status?c(p,e.responseText):c(f)});e.send(p)}},TN:function(b){if(C.HN)return require("fs").fla(b).toString();var c=this.XA();c.open("GET",b,q);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?c.setRequestHeader("Accept-Charset","utf-8"):c.overrideMimeType&&c.overrideMimeType("text/plain; charset\x3dutf-8");c.send(p);return 4==!c.readyState||200!=c.status?
- p:c.responseText},QQ:function(b,c){this.nB(b,function(e,f){try{e?c(e):c(p,JSON.parse(f))}catch(g){d("load json ["+b+"] failed : "+g)}})},mM:function(b){return/(\.png)|(\.jpg)|(\.bmp)|(\.jpeg)|(\.gif)/.exec(b)!=p},Cv:function(b,c,e){var f=n;e!==k?f=c.nI==p?f:c.nI:c!==k&&(e=c);var g=new Image;f&&"file://"!=location.origin&&(g.crossOrigin="Anonymous");C.mb(g,"load",function(){this.removeEventListener("load",arguments.callee,q);this.removeEventListener("error",arguments.callee,q);e&&e(p,g)});C.mb(g,"error",
- function(){this.removeEventListener("error",arguments.callee,q);e&&e("load image failed")});g.src=b;return g},p_:function(b,c,e){var f=this,g=p,h=b.type;h?(h="."+h.toLowerCase(),g=b.src?b.src:b.name+h):(g=b,h=C.path.Ho(g));if(c=f.Fh[g])return e(p,c);c=f.xz[h.toLowerCase()];if(!c)return C.error("loader for ["+h+"] not exists!"),e();h=c.JH?c.JH():f.zB;h=f.X4(h,g);c.load(h,g,b,function(b,c){b?(C.log(b),f.Fh[g]=p,delete f.Fh[g],e()):(f.Fh[g]=c,e(p,c))})},X4:function(b,c){var e=this.m_,f=C.path;if(b!==
- k&&c===k){c=b;var g=f.Ho(c),g=g?g.toLowerCase():"";b=(g=this.xz[g])?g.JH?g.JH():this.zB:this.zB}c=C.path.join(b||"",c);if(c.match(/[\/(\\\\)]lang[\/(\\\\)]/i)){if(e[c])return e[c];f=f.Ho(c)||"";c=e[c]=c.substring(0,c.length-f.length)+"_"+C.ic.language+f}return c},load:function(b,c,e){e!==k?"function"==typeof c&&(c={BJ:c}):c!==k?"function"==typeof c&&(e=c,c={}):b!==k?c={}:d("arguments error!");c.Se=function(b,c){b&&C.log(b);e&&e(c)};b instanceof Array||(b=[b]);c.sI=this.p_;c.U5=this;C.async.map(b,
- c)},zN:function(b,c){var e=this.hn,f=[],g;for(g in b){var h=b[g];e[g]=h;f.push(h)}this.load(f,c)},Kja:function(b,c){var e=this,f=e.Ih(b);f?e.zN(f.filenames,c):e.load(b,function(b){e.zN(b[0].filenames,c)})},Wo:function(b,c){if(b&&c){if("string"==typeof b)return this.xz[b.trim().toLowerCase()]=c;for(var e=0,f=b.length;e<f;e++)this.xz["."+b[e].trim().toLowerCase()]=c}},Ih:function(b){return this.Fh[b]||this.Fh[this.hn[b]]},Hr:function(b){var c=this.Fh,e=this.hn;delete c[b];delete c[e[b]];delete e[b]},
- kla:function(){var b=this.Fh,c=this.hn,e;for(e in b)delete b[e];for(e in c)delete c[e]}};
- (function(){function b(){C.pa&&C.ze.Xl&&C.pa.dispatchEvent(C.ze.Xl)}function c(){C.pa&&C.ze.Wl&&C.pa.dispatchEvent(C.ze.Wl)}var e=window,f,g;"undefined"!==typeof document.hidden?(f="hidden",g="visibilitychange"):"undefined"!==typeof document.Uja?(f="mozHidden",g="mozvisibilitychange"):"undefined"!==typeof document.Vja?(f="msHidden",g="msvisibilitychange"):"undefined"!==typeof document.Uoa&&(f="webkitHidden",g="webkitvisibilitychange");f?C.mb(document,g,function(){document[f]?c():b()},q):(C.mb(e,"blur",
- c,q),C.mb(e,"focus",b,q));"onpageshow"in window&&"onpagehide"in window&&(C.mb(e,"pagehide",c,q),C.mb(e,"pageshow",b,q));g=e=p})();C.log=C.warn=C.error=C.assert=t();C.KP=function(b,c){for(var e=["webgl","experimental-webgl","webkit-3d","moz-webgl"],f=p,g=0;g<e.length;++g){try{f=b.getContext(e[g],c)}catch(h){}if(f)break}return f};
- C.YZ=function(b,c){C.Ub=0;C.Nb=1;var e=C.ic={};e.iV="en";e.caa="zh";e.daa="fr";e.gaa="it";e.eaa="de";e.naa="es";e.maa="ru";e.iaa="ko";e.haa="ja";e.faa="hu";e.laa="pt";e.baa="ar";e.jaa="no";e.kaa="pl";e.PV="Windows";e.WK="iOS";e.XK="OS X";e.NV="UNIX";e.MV="Linux";e.LV="Android";e.OV="Unknown";e.OT="wechat";e.LT="androidbrowser";e.nC="ie";e.MT="qqbrowser";e.PJ="mqqbrowser";e.QJ="ucbrowser";e.n$="360browser";e.o$="baiduboxapp";e.OJ="baidubrowser";e.p$="maxthon";e.oC="opera";e.q$="miuibrowser";e.es="firefox";
- e.pC="safari";e.mC="chrome";e.NT="unknown";e.Yia=q;var f=[e.OJ,e.oC,e.es,e.mC,e.pC],g=[e.OJ,e.oC,e.es,e.mC,e.pC,e.QJ,e.MT,e.PJ,e.nC],h=window,m=h.navigator,r=document.documentElement,s=m.userAgent.toLowerCase();e.Vj=-1!=s.indexOf("mobile")||-1!=s.indexOf("android");var u=m.language,u=(u=u?u:m.browserLanguage)?u.split("-")[0]:e.iV;e.language=u;var u=e.NT,y=s.match(/micromessenger|qqbrowser|mqqbrowser|ucbrowser|360browser|baiduboxapp|baidubrowser|maxthon|trident|opera|miuibrowser|firefox/i)||s.match(/chrome|safari/i);
- y&&0<y.length&&(u=y[0].toLowerCase(),"micromessenger"==u?u=e.OT:"safari"===u&&s.match(/android.*applewebkit/)?u=e.LT:"trident"==u&&(u=e.nC));e.Dm=u;e.Tca=-1<g.indexOf(e.Dm);g=parseInt(b[c.yB]);u=C.Nb;y=C.Uc("Canvas");C.zu=n;f=-1==f.indexOf(e.Dm);if(1===g||0===g&&(e.Vj||f))u=C.Ub;if(u==C.Nb&&(!h.WebGLRenderingContext||!C.KP(y,{stencil:n,preserveDrawingBuffer:n})))0==g?u=C.Ub:C.zu=q;if(u==C.Ub)try{y.getContext("2d")}catch(z){C.zu=q}C.ca=u;try{e.Y0=!!new (h.AudioContext||h.webkitAudioContext||h.mozAudioContext)}catch(B){e.Y0=
- q}try{var E=e.localStorage=h.localStorage;E.setItem("storage","");E.removeItem("storage");E=p}catch(I){("SECURITY_ERR"===I.name||"QuotaExceededError"===I.name)&&C.warn("Warning: localStorage isn't enabled. Please confirm browser cookie or privacy option"),e.localStorage=t()}E=e.Ru={canvas:n};C.ca==C.Nb&&(E.opengl=n);r.ontouchstart!==k||m.msPointerEnabled?E.touches=n:r.onmouseup!==k&&(E.mouse=n);r.onkeyup!==k&&(E.keyboard=n);if(h.DeviceMotionEvent||h.DeviceOrientationEvent)E.accelerometer=n;h=s.match(/(iPad|iPhone|iPod)/i)?
- n:q;s=s.match(/android/i)||m.platform.match(/android/i)?n:q;r=e.OV;-1!=m.appVersion.indexOf("Win")?r=e.PV:h?r=e.WK:-1!=m.appVersion.indexOf("Mac")?r=e.XK:-1!=m.appVersion.indexOf("X11")?r=e.NV:-1!=m.appVersion.indexOf("Linux")?r=e.MV:s&&(r=e.LV);e.EI=r;e.Jfa=t();e.Aea=t();e.Vla=t();e.yea=function(){var b;b=""+("isMobile : "+this.Vj+"\r\n");b+="language : "+this.language+"\r\n";b+="browserType : "+this.Dm+"\r\n";b+="capabilities : "+JSON.stringify(this.Ru)+"\r\n";b+="os : "+this.EI+"\r\n";C.log(b)}};
- C.yaa=0;C.zaa=1;C.waa=2;C.xaa=3;C.kg=p;C.o=p;C.ub=p;C.cZ=p;C.zz=q;C.IO=q;
- C.HO=function(b){var c,e;if(!C.IO){C.IO=n;var f=window;f.MI=f.requestAnimationFrame||f.webkitRequestAnimationFrame||f.mozRequestAnimationFrame||f.oRequestAnimationFrame||f.msRequestAnimationFrame;var g=C.Lb(b)||C.Lb("#"+b),h;"CANVAS"==g.tagName?(c=c||g.width,e=e||g.height,h=C.container=C.Uc("DIV"),b=C.ub=g,b.parentNode.insertBefore(h,b),b.uP(h),h.setAttribute("id","Cocos2dGameContainer")):("DIV"!=g.tagName&&C.log("Warning: target element is not a DIV or CANVAS"),c=c||g.clientWidth,e=e||g.clientHeight,
- h=C.container=g,b=C.ub=C.Lb(C.Uc("CANVAS")),g.appendChild(b));b.oP("gameCanvas");b.setAttribute("width",c||480);b.setAttribute("height",e||320);b.setAttribute("tabindex",99);b.style.outline="none";g=h.style;g.width=(c||480)+"px";g.height=(e||320)+"px";g.margin="0 auto";g.position="relative";g.overflow="hidden";h.top="100%";C.ca==C.Nb&&(C.o=C.Toa=C.KP(b,{stencil:n,preserveDrawingBuffer:n,antialias:!C.ic.Vj,alpha:q}));C.o?(f.gl=C.o,C.kg=new C.CU(C.o),C.zz=n,C.tb.c_(),C.Ph.Ky()):(C.o=b.getContext("2d"),
- C.r_=C.o,C.o.translate(0,b.height),C.kg=C.hK?new C.hK(C.o):p);C.cZ=h;C.log(C.HC);C.i0();C.ic.Vj&&(c=C.Uc("style"),c.type="text/css",document.body.appendChild(c),c.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.FC.WE();C.HQ.d7(C.ub);C.jb=C.gb.WE();C.jb.gJ&&C.jb.gJ(C.view);C.ql=C.jb.ib;C.bma=new C.vL;C.H6=new C.$V}};C.Cba=function(){C.ca!==C.Nb&&d("This feature supports WebGL render mode only.")};
- C.GN=q;C.i0=function(){C.GN=q;C.ub.oncontextmenu=function(){if(!C.GN)return q}};
- C.ze={cK:0,qU:1,C$:2,pU:3,AC:4,dK:5,bK:6,IC:"game_on_hide",yw:"game_on_show",Wl:p,Xl:p,Eca:[],Vi:{HH:"engineDir",hea:"dependencies",DA:"debugMode",S8:"showFPS",JA:"frameRate",id:"id",yB:"renderMode",V5:"jsList",d2:"classReleaseMode"},iO:q,NF:q,Ne:n,mF:p,sg:p,CI:p,lka:p,$ma:function(b){this.sg[this.Vi.JA]=b;this.mF&&clearInterval(this.mF);this.Ne=n;this.dG()},dG:function(){var b=this,c,e=b.sg,f=b.Vi,g=window,h=e[f.JA],m=C.jb;m.Z7(e[f.S8]);g.MI&&60==h?(c=function(){b.Ne||(m.bR(),g.MI(c))},g.MI(c)):
- (c=function(){m.bR()},b.mF=setInterval(c,1E3/h));b.Ne=q},v7:function(b){function c(){b&&(e.sg[e.Vi.id]=b);e.iO?C.zu&&(e.xY=setInterval(function(){e.NF&&(C.HO(e.sg[e.Vi.id]),e.dG(),e.Wl=e.Wl||new C.fk(e.IC),e.Wl.setUserData(e),e.Xl=e.Xl||new C.fk(e.yw),e.Xl.setUserData(e),e.CI(),clearInterval(e.xY))},10)):e.Q6(function(){C.zu&&(C.HO(e.sg[e.Vi.id]),e.dG(),e.Wl=e.Wl||new C.fk(e.IC),e.Wl.setUserData(e),e.Xl=e.Xl||new C.fk(e.yw),e.Xl.setUserData(e),e.CI())})}var e=this;document.body?c():C.mb(window,"load",
- function(){this.removeEventListener("load",arguments.callee,q);c()},q)},TZ:function(){function b(b){b[c.HH]=b[c.HH]||"frameworks/cocos2d-html5";b[c.DA]==p&&(b[c.DA]=0);b[c.JA]=b[c.JA]||60;b[c.yB]==p&&(b[c.yB]=1);return b}var c=this.Vi;if(document.ccConfig)this.sg=b(document.ccConfig);else try{for(var e=document.getElementsByTagName("script"),f=0;f<e.length;f++){var g=e[f].getAttribute("cocos");if(""==g||g)break}var h,m,r;if(f<e.length){if(h=e[f].src)r=/(.*)\//.exec(h)[0],C.da.zB=r,h=C.path.join(r,
- "project.json");m=C.da.TN(h)}m||(m=C.da.TN("project.json"));var s=JSON.parse(m);this.sg=b(s||{})}catch(u){C.log("Failed to read or parse project.json"),this.sg=b({})}C.YZ(this.sg,c)},k_:{},tN:function(b,c,e){var f=this.k_;if(f[c])return p;e=e||"";var g=[],h=b[c];h||d("can not find module ["+c+"]");c=C.path;for(var m=0,r=h.length;m<r;m++){var s=h[m];if(!f[s]){var u=c.Ho(s);u?".js"==u.toLowerCase()&&g.push(c.join(e,s)):(u=this.tN(b,s,e))&&(g=g.concat(u));f[s]=1}}return g},Q6:function(b){var c=this,
- e=c.sg,f=c.Vi,g=e[f.HH],h=C.da;if(C.zu){c.iO=n;var m=e[f.V5]||[];C.Ca?h.PQ("",m,function(e){e&&d(e);c.NF=n;b&&b()}):(f=C.path.join(g,"moduleConfig.json"),h.QQ(f,function(f,h){f&&d(f);var u=e.modules||[],y=h.module,z=[];C.ca==C.Nb?u.splice(0,0,"shaders"):0>u.indexOf("core")&&u.splice(0,0,"core");for(var B=0,E=u.length;B<E;B++){var I=c.tN(y,u[B],g);I&&(z=z.concat(I))}z=z.concat(m);C.da.PQ(z,function(e){e&&d(e);c.NF=n;b&&b()})}))}else C.error("Can not support render!")}};C.ze.TZ();C.e={IJ:"cc.ActionManager.addAction(): action must be non-null",DT:"cocos2d: removeAction: Target not found",c$:"cc.ActionManager.removeActionByTag(): an invalid tag",d$:"cc.ActionManager.removeActionByTag(): target must be non-null",BT:"cc.ActionManager.getActionByTag(): an invalid tag",CT:"cocos2d : getActionByTag(tag \x3d %s): Action not found",h2:"cocos2d: **** WARNING **** CC_ENABLE_PROFILERS is defined. Disable it when you finish profiling (from ccConfig.js)",i2:"Expected 'data' dict, but not found. Config file: %s",
- j2:"Please load the resource first : %s",xU:"cocos2d: Director: Error in gettimeofday",yU:"cocos2d: Director: unrecognized projection",N$:"cocos2d: Director: unrecognized projection",wU:"cocos2d: Director: Error in gettimeofday",vU:"running scene should not null",gK:"the scene should not null",gr:"element type is wrong!",pW:"CCSheduler#scheduleCallback. Callback already scheduled. Updating interval from:%s to %s",qW:"cc.scheduler.scheduleCallbackForTarget(): callback_fn should be non-null.",rW:"cc.scheduler.scheduleCallbackForTarget(): target should be non-null.",
- nW:"cc.Scheduler.pauseTarget():target should be non-null",oW:"cc.Scheduler.resumeTarget():target should be non-null",mW:"cc.Scheduler.isTargetPaused():target should be non-null",vV:"getZOrder is deprecated. Please use getLocalZOrder instead.",GV:"setZOrder is deprecated. Please use setLocalZOrder instead.",tV:"RotationX !\x3d RotationY. Don't know which one to return",uV:"ScaleX !\x3d ScaleY. Don't know which one to return",pV:"An Node can't be added as a child of itself.",qV:"child already added. It can't be added again",
- rV:"child must be non-null",AV:"removeFromParentAndCleanup is deprecated. Use removeFromParent instead",yV:"argument tag is an invalid tag",zV:"cocos2d: removeChildByTag(tag \x3d %s): child not found!",xV:"removeAllChildrenWithCleanup is deprecated. Use removeAllChildren instead",HV:"cc.Node.stopActionBy(): argument tag an invalid tag",sV:"cc.Node.getActionByTag(): argument tag is an invalid tag",CV:"resumeSchedulerAndActions is deprecated, please use resume instead.",wV:"pauseSchedulerAndActions is deprecated, please use pause instead.",
- oV:"Unknown callback function",BV:"child must be non-null",DV:"cc.Node.runAction(): action must be non-null",EV:"callback function must be non-null",FV:"interval must be positive",qaa:"cocos2d: Could not initialize cc.AtlasNode. Invalid Texture.",FT:"cc.AtlasNode.updateAtlasValues(): Shall be overridden in subclasses",l$:"",KJ:"cocos2d: Could not initialize cc.AtlasNode. Invalid Texture.",UX:"cc._EventListenerKeyboard.checkAvailable(): Invalid EventListenerKeyboard!",WX:"cc._EventListenerTouchOneByOne.checkAvailable(): Invalid EventListenerTouchOneByOne!",
- VX:"cc._EventListenerTouchAllAtOnce.checkAvailable(): Invalid EventListenerTouchAllAtOnce!",TX:"cc._EventListenerAcceleration.checkAvailable(): _onAccelerationEvent must be non-nil",PU:"Invalid parameter.",vx:"Don't call this method if the event is for touch.",S2:"Invalid scene graph priority!",T2:"0 priority is forbidden for fixed priority since it's used for scene graph based priority.",X2:"Invalid listener type!",Y2:"Can't set fixed priority with scene graph based listener.",U2:"Invalid parameters.",
- V2:"listener must be a cc.EventListener object when adding a fixed priority listener",W2:"The listener has been registered, please don't register it again.",kV:"parameters should not be ending with null in Javascript",lV:"Invalid index in MultiplexLayer switchTo message",mV:"Invalid index in MultiplexLayer switchTo message",jV:"cc.Layer.addLayer(): layer should be non-null",DU:"Resolution not valid",EU:"should set resolutionPolicy",A5:"The touches is more than MAX_TOUCHES, nUnusedIndex \x3d %s",$S:"cc.swap is being modified from original macro, please check usage",
- wA:"WebGL error %s",B1:"cocos2d: cc.AnimationCache: No animations were found in provided dictionary.",C1:"cc.AnimationCache. Invalid animation format",J1:"cc.AnimationCache.addAnimations(): File could not be found",D1:"cocos2d: cc.AnimationCache: Animation '%s' found in dictionary without any frames - cannot add to animation cache.",E1:"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.",
- F1:"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.",G1:"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.",H1:"cocos2d: CCAnimationCache: Animation '%s' found in dictionary without any frames - cannot add to animation cache.",I1:"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.",
- K1:"cc.AnimationCache.addAnimations(): Invalid texture file name",SW:"cc.Sprite.reorderChild(): this child is not in children list",KW:"cc.Sprite.ignoreAnchorPointForPosition(): it is invalid in cc.Sprite when using SpriteBatchNode",VW:"cc.Sprite.setDisplayFrameWithAnimationName(): Frame not found",WW:"cc.Sprite.setDisplayFrameWithAnimationName(): Invalid frame index",UW:"setDisplayFrame is deprecated, please use setSpriteFrame instead.",DW:"cc.Sprite._updateBlendFunc(): _updateBlendFunc doesn't work when the sprite is rendered using a cc.CCSpriteBatchNode",
- MW:"cc.Sprite.initWithSpriteFrame(): spriteFrame should be non-null",NW:"cc.Sprite.initWithSpriteFrameName(): spriteFrameName should be non-null",OW:" is null, please check.",LW:"cc.Sprite.initWithFile(): filename should be non-null",XW:"cc.Sprite.setDisplayFrameWithAnimationName(): animationName must be non-null",TW:"cc.Sprite.reorderChild(): child should be non-null",EW:"cc.Sprite.addChild(): cc.Sprite only supports cc.Sprites as children when using cc.SpriteBatchNode",FW:"cc.Sprite.addChild(): cc.Sprite only supports a sprite using same texture as children when using cc.SpriteBatchNode",
- GW:"cc.Sprite.addChild(): child should be non-null",ZW:"cc.Sprite.texture setter: Batched sprites should use the same texture as the batchnode",Maa:"cc.SpriteBatchNode.updateQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",QW:"cc.SpriteBatchNode.insertQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",HW:"cc.SpriteBatchNode.addChild(): cc.SpriteBatchNode only supports cc.Sprites as children",IW:"cc.SpriteBatchNode.addChild(): cc.Sprite is not using the same texture",
- PW:"Sprite.initWithTexture(): Argument must be non-nil ",YW:"Invalid spriteFrameName",$W:"Invalid argument: cc.Sprite.texture setter expects a CCTexture2D.",Naa:"cc.SpriteBatchNode.updateQuadFromSprite(): sprite should be non-null",RW:"cc.SpriteBatchNode.insertQuadFromSprite(): sprite should be non-null",JW:"cc.SpriteBatchNode.addChild(): child should be non-null",vW:"cc.SpriteBatchNode.addQuadFromSprite(): SpriteBatchNode only supports cc.Sprites as children",xW:"cocos2d: CCSpriteBatchNode: resizing TextureAtlas capacity from %s to %s.",
- yW:"cocos2d: WARNING: Not enough memory to resize the atlas",AW:"cc.SpriteBatchNode.addChild(): Child doesn't belong to Sprite",zW:"cc.SpriteBatchNode.addChild(): sprite batch node should contain the child",wW:"cc.SpriteBatchNode.addQuadFromSprite(): child should be non-null",BW:"cc.SpriteBatchNode.addChild():child should be non-null",a9:"cocos2d: WARNING: originalWidth/Height not found on the cc.SpriteFrame. AnchorPoint won't work as expected. Regenrate the .plist",c9:"cocos2d: WARNING: an alias with name %s already exists",
- Z8:"cocos2d: WARNING: Sprite frame: %s has already been added by another source, please fix name conflit",f9:"cocos2d: cc.SpriteFrameCahce: Frame %s not found",b9:"Please load the resource first : %s",d9:"cc.SpriteFrameCache.addSpriteFrames(): plist should be non-null",e9:"Argument must be non-nil",rC:"cc.SpriteBatchNode.updateQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",WT:"cc.SpriteBatchNode.insertQuadFromSprite(): cc.SpriteBatchNode only supports cc.Sprites as children",
- ST:"cc.SpriteBatchNode.addChild(): cc.SpriteBatchNode only supports cc.Sprites as children",VT:"Sprite.initWithTexture(): Argument must be non-nil ",TT:"cc.Sprite.addChild(): child should be non-null",YT:"Invalid spriteFrameName",ZT:"Invalid argument: cc.Sprite texture setter expects a CCTexture2D.",$T:"cc.SpriteBatchNode.updateQuadFromSprite(): sprite should be non-null",XT:"cc.SpriteBatchNode.insertQuadFromSprite(): sprite should be non-null",UT:"cc.SpriteBatchNode.addChild(): child should be non-null",
- xX:"cocos2d: Could not open file: %s",LL:"cc.TextureAtlas.insertQuad(): invalid totalQuads",yX:"cc.TextureAtlas.initWithTexture():texture should be non-null",IX:"cc.TextureAtlas.updateQuad(): quad should be non-null",JX:"cc.TextureAtlas.updateQuad(): Invalid index",BX:"cc.TextureAtlas.insertQuad(): Invalid index",CX:"cc.TextureAtlas.insertQuad(): Invalid index + amount",zX:"cc.TextureAtlas.insertQuadFromIndex(): Invalid newIndex",AX:"cc.TextureAtlas.insertQuadFromIndex(): Invalid fromIndex",GX:"cc.TextureAtlas.removeQuadAtIndex(): Invalid index",
- HX:"cc.TextureAtlas.removeQuadsAtIndex(): index + amount out of bounds",DX:"cc.TextureAtlas.moveQuadsFromIndex(): move is out of bounds",EX:"cc.TextureAtlas.moveQuadsFromIndex(): Invalid newIndex",FX:"cc.TextureAtlas.moveQuadsFromIndex(): Invalid oldIndex",o9:"TextureCache:addPVRTCImage does not support on HTML5",m9:"TextureCache:addPVRTCImage does not support on HTML5",n9:"addPVRImage does not support on HTML5",p9:"cocos2d: Couldn't add UIImage in TextureCache",r9:"cocos2d: '%s' id\x3d%s %s x %s",
- bT:"cocos2d: '%s' id\x3d HTMLCanvasElement %s x %s",s9:"cocos2d: TextureCache dumpDebugInfo: %s textures, HTMLCanvasElement for %s KB (%s MB)",q9:"cc.Texture.addUIImage(): image should be non-null",oX:"initWithETCFile does not support on HTML5",sX:"initWithPVRFile does not support on HTML5",uX:"initWithPVRTCData does not support on HTML5",kX:"cc.Texture.addImage(): path should be non-null",qX:"cocos2d: cc.Texture2D. Can't create Texture. UIImage is nil",rX:"cocos2d: WARNING: Image (%s x %s) is bigger than the supported %s x %s",
- wX:"initWithString isn't supported on cocos2d-html5",pX:"initWithETCFile does not support on HTML5",tX:"initWithPVRFile does not support on HTML5",vX:"initWithPVRTCData does not support on HTML5",mX:"bitsPerPixelForFormat: %s, cannot give useful result, it's a illegal pixel format",jX:"cocos2d: cc.Texture2D: Using RGB565 texture since image has no alpha",lX:"cc.Texture.addImage(): path should be non-null",nX:"NSInternalInconsistencyException",od:"Missing file: %s",sR:"cc.radiansToDegress() should be called cc.radiansToDegrees()",
- mD:"Rect width exceeds maximum margin: %s",lD:"Rect height exceeds maximum margin: %s",QU:"If program goes here, there should be event in dispatch.",RU:"_inDispatch should be 1 here."};
- C.Xy=function(b){if(C.ub){var c=C.q_,e=document;if(!c){var f=e.createElement("Div"),c=f.style;f.setAttribute("id","logInfoDiv");C.ub.parentNode.appendChild(f);f.setAttribute("width","200");f.setAttribute("height",C.ub.height);c.zIndex="99999";c.position="absolute";c.top="0";c.left="0";c=C.q_=e.createElement("textarea");e=c.style;c.setAttribute("rows","20");c.setAttribute("cols","30");c.setAttribute("disabled",n);f.appendChild(c);e.backgroundColor="transparent";e.borderBottom="1px solid #cccccc";e.borderRightWidth=
- "0px";e.borderLeftWidth="0px";e.borderTopWidth="0px";e.borderTopStyle="none";e.borderRightStyle="none";e.borderLeftStyle="none";e.padding="0px";e.margin=0}b="string"==typeof b?b:JSON.stringify(b);c.value=c.value+b+"\r\n";c.scrollTop=c.scrollHeight}};C.xy=function(b){if("object"===typeof b)try{return JSON.stringify(b)}catch(c){return""}else return b};
- console.log&&(C.log=function(b){for(var c=1;c<arguments.length;c++)b=b.replace(/(%s)|(%d)/,C.xy(arguments[c]));console.log(b)},C.warn=console.warn?function(b){for(var c=1;c<arguments.length;c++)b=b.replace(/(%s)|(%d)/,C.xy(arguments[c]));console.warn(b)}:C.log,C.error=console.error?function(b){for(var c=1;c<arguments.length;c++)b=b.replace(/(%s)|(%d)/,C.xy(arguments[c]));console.error(b)}:C.log,C.assert=function(b,c){if(!b&&c){for(var e=2;e<arguments.length;e++)c=c.replace(/(%s)|(%d)/,C.xy(arguments[e]));
- d(c)}});var ba=C.ze.sg[C.ze.Vi.DA],ca=C.ze;console.log&&ba===ca.qU||(C.log=ba==ca.AC?C.Xy.bind(C):t());if(!ba||ba==ca.cK||ba==ca.pU||ba==ca.bK)C.warn=t();if(ba==ca.AC||ba==ca.dK||!console.warn)C.warn=C.Xy.bind(C);if(!ba||ba==ca.cK)C.error=t(),C.assert=t();else if(ba==ca.AC||ba==ca.dK||ba==ca.bK||!console.error)C.error=C.Xy.bind(C),C.assert=function(b,c){if(!b&&c){for(var e=2;e<arguments.length;e++)c=c.replace("%s",arguments[e]);C.Xy(c)}};C.da.l6=function(b,c){var e=this,f=this.XA(),g="load "+b+" failed!";f.open("GET",b,n);/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)?(f.setRequestHeader("Accept-Charset","x-user-defined"),f.onreadystatechange=function(){if(4==f.readyState&&200==f.status){var b=C.nM(f.responseBody);c(p,e.Nz(b))}else c(g)}):(f.overrideMimeType&&f.overrideMimeType("text/plain; charset\x3dx-user-defined"),f.onload=function(){4==f.readyState&&200==f.status?c(p,e.Nz(f.responseText)):c(g)});f.send(p)};
- C.da.Nz=function(b){if(!b)return p;for(var c=new Uint8Array(b.length),e=0;e<b.length;e++)c[e]=b.charCodeAt(e)&255;return c};
- C.da.Lja=function(b){var c=this.XA(),e="load "+b+" failed!";c.open("GET",b,q);b=p;if(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)){c.setRequestHeader("Accept-Charset","x-user-defined");c.send(p);if(200!=c.status)return C.log(e),p;(c=C.nM(c.responseBody))&&(b=this.Nz(c))}else{c.overrideMimeType&&c.overrideMimeType("text/plain; charset\x3dx-user-defined");c.send(p);if(200!=c.status)return C.log(e),p;b=this.Nz(c.responseText)}return b};var Uint8Array=Uint8Array||Array;
- if(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)){var da=C.Uc("script");da.type="text/vbscript";da.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(da);C.nM=function(b){for(var c={},e=0;256>e;e++)for(var f=0;256>f;f++)c[String.fromCharCode(e+256*f)]=String.fromCharCode(e)+String.fromCharCode(f);e=IEBinaryToArray_ByteStr(b);b=IEBinaryToArray_ByteStr_Last(b);return e.replace(/[\s\S]/g,function(b){return c[b]})+b}};C=C||{};C.UN="data:image/gif;base64,R0lGODlhEAAQALMNAD8/P7+/vyoqKlVVVX9/fxUVFUBAQGBgYMDAwC8vL5CQkP///wAAAP///wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAANACwAAAAAEAAQAAAEO5DJSau9OOvNex0IMnDIsiCkiW6g6BmKYlBFkhSUEgQKlQCARG6nEBwOgl+QApMdCIRD7YZ5RjlGpCUCACH5BAUAAA0ALAAAAgAOAA4AAAQ6kLGB0JA4M7QW0hrngRllkYyhKAYqKUGguAws0ypLS8JxCLQDgXAIDg+FRKIA6v0SAECCBpXSkstMBAAh+QQFAAANACwAAAAACgAQAAAEOJDJORAac6K1kDSKYmydpASBUl0mqmRfaGTCcQgwcxDEke+9XO2WkxQSiUIuAQAkls0n7JgsWq8RACH5BAUAAA0ALAAAAAAOAA4AAAQ6kMlplDIzTxWC0oxwHALnDQgySAdBHNWFLAvCukc215JIZihVIZEogDIJACBxnCSXTcmwGK1ar1hrBAAh+QQFAAANACwAAAAAEAAKAAAEN5DJKc4RM+tDyNFTkSQF5xmKYmQJACTVpQSBwrpJNteZSGYoFWjIGCAQA2IGsVgglBOmEyoxIiMAIfkEBQAADQAsAgAAAA4ADgAABDmQSVZSKjPPBEDSGucJxyGA1XUQxAFma/tOpDlnhqIYN6MEAUXvF+zldrMBAjHoIRYLhBMqvSmZkggAIfkEBQAADQAsBgAAAAoAEAAABDeQyUmrnSWlYhMASfeFVbZdjHAcgnUQxOHCcqWylKEohqUEAYVkgEAMfkEJYrFA6HhKJsJCNFoiACH5BAUAAA0ALAIAAgAOAA4AAAQ3kMlJq704611SKloCAEk4lln3DQgyUMJxCBKyLAh1EMRR3wiDQmHY9SQslyIQUMRmlmVTIyRaIgA7";
- C.eq="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAAgCAYAAAD9qabkAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4EImFINJKApCDpiBRRIsXIcqQCqUJqkV1II/ItchQ5jVxA+pDbyCAyivyKvEcxlIGyUQPUAnVAuagfGorGoHPRdDQPXYCWomvRGrQePYC2oqfRS+h1dAB9io5jgNExDmaM2WFcjIdFYIlYGibHFmPlWDVWjzVjHVg3dhUbwJ5h7wgkAouAE+wIXoQQwmyCkJBHWExYQ6gl7CO0EroIVwmDhDHCJyKTqE+0JXoS+cR4YjqxkFhGrCbuIR4hniVeJw4TX5NIJA7JkuROCiElkDJJC0lrSNtILaRTpD7SEGmcTCbrkG3J3uQIsoCsIJeRt5APkE+S+8nD5LcUOsWI4kwJoiRSpJQSSjVlP+UEpZ8yQpmgqlHNqZ7UCKqIOp9aSW2gdlAvU4epEzR1miXNmxZDy6Qto9XQmmlnafdoL+l0ugndgx5Fl9CX0mvoB+nn6YP0dwwNhg2Dx0hiKBlrGXsZpxi3GS+ZTKYF05eZyFQw1zIbmWeYD5hvVVgq9ip8FZHKEpU6lVaVfpXnqlRVc1U/1XmqC1SrVQ+rXlZ9pkZVs1DjqQnUFqvVqR1Vu6k2rs5Sd1KPUM9RX6O+X/2C+mMNsoaFRqCGSKNUY7fGGY0hFsYyZfFYQtZyVgPrLGuYTWJbsvnsTHYF+xt2L3tMU0NzqmasZpFmneZxzQEOxrHg8DnZnErOIc4NznstAy0/LbHWaq1mrX6tN9p62r7aYu1y7Rbt69rvdXCdQJ0snfU6bTr3dQm6NrpRuoW623XP6j7TY+t56Qn1yvUO6d3RR/Vt9KP1F+rv1u/RHzcwNAg2kBlsMThj8MyQY+hrmGm40fCE4agRy2i6kcRoo9FJoye4Ju6HZ+M1eBc+ZqxvHGKsNN5l3Gs8YWJpMtukxKTF5L4pzZRrmma60bTTdMzMyCzcrNisyeyOOdWca55hvtm82/yNhaVFnMVKizaLx5balnzLBZZNlvesmFY+VnlW9VbXrEnWXOss623WV2xQG1ebDJs6m8u2qK2brcR2m23fFOIUjynSKfVTbtox7PzsCuya7AbtOfZh9iX2bfbPHcwcEh3WO3Q7fHJ0dcx2bHC866ThNMOpxKnD6VdnG2ehc53zNRemS5DLEpd2lxdTbaeKp26fesuV5RruutK10/Wjm7ub3K3ZbdTdzD3Ffav7TS6bG8ldwz3vQfTw91jicczjnaebp8LzkOcvXnZeWV77vR5Ps5wmntYwbcjbxFvgvct7YDo+PWX6zukDPsY+Ap96n4e+pr4i3z2+I37Wfpl+B/ye+zv6y/2P+L/hefIW8U4FYAHBAeUBvYEagbMDawMfBJkEpQc1BY0FuwYvDD4VQgwJDVkfcpNvwBfyG/ljM9xnLJrRFcoInRVaG/owzCZMHtYRjobPCN8Qfm+m+UzpzLYIiOBHbIi4H2kZmRf5fRQpKjKqLupRtFN0cXT3LNas5Fn7Z72O8Y+pjLk722q2cnZnrGpsUmxj7Ju4gLiquIF4h/hF8ZcSdBMkCe2J5MTYxD2J43MC52yaM5zkmlSWdGOu5dyiuRfm6c7Lnnc8WTVZkHw4hZgSl7I/5YMgQlAvGE/lp25NHRPyhJuFT0W+oo2iUbG3uEo8kuadVpX2ON07fUP6aIZPRnXGMwlPUit5kRmSuSPzTVZE1t6sz9lx2S05lJyUnKNSDWmWtCvXMLcot09mKyuTDeR55m3KG5OHyvfkI/lz89sVbIVM0aO0Uq5QDhZML6greFsYW3i4SL1IWtQz32b+6vkjC4IWfL2QsFC4sLPYuHhZ8eAiv0W7FiOLUxd3LjFdUrpkeGnw0n3LaMuylv1Q4lhSVfJqedzyjlKD0qWlQyuCVzSVqZTJy26u9Fq5YxVhlWRV72qX1VtWfyoXlV+scKyorviwRrjm4ldOX9V89Xlt2treSrfK7etI66Trbqz3Wb+vSr1qQdXQhvANrRvxjeUbX21K3nShemr1js20zcrNAzVhNe1bzLas2/KhNqP2ep1/XctW/a2rt77ZJtrWv913e/MOgx0VO97vlOy8tSt4V2u9RX31btLugt2PGmIbur/mft24R3dPxZ6Pe6V7B/ZF7+tqdG9s3K+/v7IJbVI2jR5IOnDlm4Bv2pvtmne1cFoqDsJB5cEn36Z8e+NQ6KHOw9zDzd+Zf7f1COtIeSvSOr91rC2jbaA9ob3v6IyjnR1eHUe+t/9+7zHjY3XHNY9XnqCdKD3x+eSCk+OnZKeenU4/PdSZ3Hn3TPyZa11RXb1nQ8+ePxd07ky3X/fJ897nj13wvHD0Ivdi2yW3S609rj1HfnD94UivW2/rZffL7Vc8rnT0Tes70e/Tf/pqwNVz1/jXLl2feb3vxuwbt24m3Ry4Jbr1+Hb27Rd3Cu5M3F16j3iv/L7a/eoH+g/qf7T+sWXAbeD4YMBgz8NZD+8OCYee/pT/04fh0kfMR9UjRiONj50fHxsNGr3yZM6T4aeypxPPyn5W/3nrc6vn3/3i+0vPWPzY8Av5i8+/rnmp83Lvq6mvOscjxx+8znk98ab8rc7bfe+477rfx70fmSj8QP5Q89H6Y8en0E/3Pud8/vwv94Tz+4A5JREAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfcAgcQLxxUBNp/AAAQZ0lEQVR42u2be3QVVZbGv1N17829eRLyIKAEOiISEtPhJTJAYuyBDmhWjAEx4iAGBhxA4wABbVAMWUAeykMCM+HRTcBRWkNH2l5moS0LCCrQTkYeQWBQSCAIgYRXEpKbW/XNH5zS4noR7faPEeu31l0h4dSpvc+t/Z199jkFWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhY/H9D/MR9qfKnLj/00U71aqfJn9+HCkCR/Wk36ddsgyJ/1wF4fkDfqqm9/gPsUeTnVr6a2xlQfnxdI7zs0W7irzD17Ytb2WT7EeNv/r4ox1O3Quf2QP2pgt9utwfout4FQE8AVBSlnaRmfvAURQkg2RlAbwB9AThlW5L0GaiKojhJhgOIBqDa7XaPrusdPtr5kQwF0BVAAoBIABRCKDd5aFUhRDAAw57eAOwAhKIoupft3zoqhB1AqLwuHIBut9uFt02qqvqRDJR2dAEQJj/BAOjn56dqmma+xiaECAEQAWAggLsB6A6HQ2iaZggBhBAqgEAAnQB0kzaEmT4hAITT6VQ8Ho/HJAKKECJQtr8LwD1y/A1/vcdfEUIEyfZ9AcQbYvZ942Px88L2UwlJR0dH0EMPPbRj5syZPUeNGrXR7Xb/641xIwJ1XY9NSUlZm52dfW+XLl1w8uRJzJ8//+OGhoYJqqqe1TSt1Wsm9NN1PSIqKmr12rVrR5WUlHy1bdu2AQCumWc3IYRD1/UwVVXnFRQUTIuNjUVzczN2797dWFJSkq8oymZd15sAGAEnFEUJ1nX9nzIzM1dnZmZGh4SE4OTJk5g5c+Zf29vbp9pstrMej6fVOyhIhgAYU1hY+B+hoaGoqKg4XVlZea+XTULTNFdCQsLGiRMnPuR2u3UhBOV9eeDAAWXTpk095DUe6WsoyRE5OTlr0tLSAux2O/bs2cO5c+e+pijKUpIXSHaQVAGkvPLKK++6XK4OksJLCFlXV2cvKSlJBFAjhU+x2WwhHo9nUHp6+urMzMy7wsLCUF9fjxdffPHjxsbGiTab7WuPx9NiEutOuq4PyMjI+M+srKyYqKgoHD58GDNmzNjq8XhyVFU9b/q+LH7hBAEYu3PnTlZVVRFAGgCX6f/tAHoOHDjwa0p27txp/JO9e/f+QM7cipw9nfL3kQBKt2zZQpJ87rnn6mQmoHilw2EACs+cOUOSrK+vZ1NTE0nyo48+IoBpxswoBcMJ4Ndjx471kOTFixe5d+9ekqTH42H//v13A4jyzpAURfEH0H/OnDnthu1z5sw558MmFUCPWbNmnaMP3nrrLZoyDmP8Hl68eDFJ8siRI9/Yc+zYMQKYKdtAztrTrl27xptRXV1NAKMAOAyBBBA/Y8aMdpLs6Ojgxx9//E37+++//29yvFXppwvAwMcee8xjtDHsuXLlCqOjo//ia3wsfpkoALqFhoZuIckJEyackimm3dQmEMDUmpoakmRISMhhAHOHDx/eQJIbN24kgKEyMAHAFRMTs2XXrl1saWkhSZ0kp0+ffhrAr3wEW/S8efOukORLL72kA1gKYMPWrVtJkk899dRJAHeYrgsEsIQkjx8/TgDvAPjd448/3kaSb7zxBmUa7vC6z53BwcFbSHL9+vU6Sc6aNes8gF5ewWAH0PfVV18lSQL4DMBGIcQ6AKtcLleBFC2jXtFt8ODBe0iyoqKCAJYByC8qKmJDQwOzsrK+MAmqo1OnTveHhoa+GRkZ+XZkZOSWiIiIvzgcjk9mzpypkWRmZuZpmbYbGV4AgPnNzc1sa2sjgN0A5iQmJtaSZHl5OQHcb/K3s81mW0uSTU1NBFAFYFbfvn1Pk+Tbb79NAA8IIVzW42/hByA+Pz/fLR/2ZXIda05NI/z9/TeR5J49ewhgqlxTrtI0jY2NjQQw3zTLuWJiYjaUlJToS5Ys6fjkk080kwDEeAmADcA9GzZsIElGRUW9CyAWwLApU6Y0kOSKFSsog9QICGdERMTGsrIyZmVlEcC9AB4IDw/fTpLbtm0jgN94CUAnAJmVlZVcs2aNZ/LkyRdJcvbs2b4EwAkgZfPmzTxw4AABFAN4BkC6vFeUSewcAO5duXIlSTIhIaEawGMAxgKYAmAGgCS73e5vrKVk/yGythANYEhCQsIhkly+fDkBpKqqGmL6DgIALDKN/3yZpVWQZGVlJQE8aPI3KiMjo5okV61aRQAjAPQBMPfIkSN0u90EUCBtsPiFEwpgbn19PdetW2fM5N4zQ9ekpKQqkty0aRMBpMjiWM6JEydIkoqirJUFJ6iq6pAPVy8A6cZMehMBUACEuVyuFwG8HBwcPEIWx367ZMkSjSQXLVrUJouTRorrkAHdA8BdQogsAOsKCwtJkmPGjDkvMw2bDDo/ADEjRoz4XylyFbm5uY0mAbjLyyZ/AOOrq6tZVlbWsWDBgo69e/eyoqKCgwcPPg4gSQaoIRbp27dvN7KF+tLSUr28vJwFBQXtMpvpYRIM7+wrAkDeqVOnePbsWQIoNKfzpiXPg8uXLydJJicnNwF4f+nSpW6STEtLq5fjYwhk1wkTJtSQ5Ouvv04AqTKj+N2xY8dIkgEBAW/Ie1v8wncRegwZMmQvSfbr12+3Ua33WqPfOWbMmP0kWVpaSgCDZAqcfejQIWNZsEGKgvnh9gfQb9myZd8nAEJVVZtMkUNk8CcNHTq0liR1XWdYWNhmH1mJIme80OnTp18x1rp5eXkEsNJms92Fb7e/IgEsvHz5Mp999tkmAI/l5uZeMC0B7vEqqAYAyL106RJJsra2lpWVld+sucePH38ZQG+5NncBeOrgwYMkqbe3t/Po0aOsra011wAWyl0H7x0JJ4DE+fPnu0kyPT29DsDdUrBuyNKEEAkAdpw/f/6GeoEM8GUmfwEgPCIiopwkGxsbabPZPgOw6L777vvm4p49e26VGYjFLxUhhD+ApLKyMp44ccIoVnXybgbgzkcfffRzklyzZg0BDJYCMMmoCwQFBXkLgLGWvvcWAgBToSsKwNPTp09vMR7UuLi4rwH0lgU8c/Db5ezbeeTIkRWzZ8++aMxu+fn5BPCADBwHgP4LFy701NXVEUAJgAnPP/98kyxMNgHo53A4zH77BQQETMvPz7+Um5vbBuAlAFMSExPPmdbVL0qh8Acw8fDhw5SCchVAEYAVb775JknyhRdeaJYztHfxMwLAaqNwCGC2FArv8x0hAHKNLGPKlCme5OTk/Zs3bzb7O0wKiiG8KXl5ed8IxenTp0mSR48e1UmyW7duWywBuD2xyQcgFECgoih+8H1gyJgZV5Lkyy+/3CbTRIePtl2HDBmyw1QBHyGDdXZdXR1JUghRKkXBjOMHCoBdpr0L3nvvPZLkF198wejo6O0A4lVVDTb74HQ6AwD8Wq7Jh8rgGgDgQ13XjVR8qaxJuADMbmlpYXl5uV5UVNRWUFDgfv/993Vj/ZydnU1c37eHXML4S3viAcQqitJD2l104cIFY8lTKsXSBWBMVVWVcd9yed2A1NTUQ6Zl00CvLMMOoHdubm6zFIlWOf5+PsY/Kj09vdrU11QAwwGsv3jxIk21m2DZr10I0RXAuAcffPBgaWkpV69eTYfDcdiwUxY0w6xw+flX8L1xApjevXv3lREREaW6rofB93aPDUDQpEmTMgHgtddeqwBwEd/utZvpqK6uPgEAcXFxkA94NwB9unfvjrNnz4LklwDcf08iIqv66Zs2bXrl4YcfxooVKxAbG7uqrq5uAYA2TdOEqqpGYIi2tjbl6aeffu/YsWPv5uTk7JaC1wHg4Pnz542MwoVvTx+21dbWYvjw4WLixIl+2dnZ9lGjRgmSTE1NRUpKCkwFTGiaxtTU1OXTpk3707Bhw/6g67pDipnT4biuj7qut+Lbk3Vf1tTUXI9qu91Pjq1QFEUBgJaWFgBo8yGOQ8eNGxcAAOvXr/8QwBUfYygAKL169eoCABcuXACAWtn2hOGv0+kMNO1KiPDw8F4A4rZv3/7R1KlTR0+bNu1ht9u9r1+/fqitrQXJgwDarRC6/QjPzs4+QJIffPCB9/aQmSAA43ft2mW0e1QGoi8CAPyLsZccExNTC2BlRkbGRdOyYJCP2csBIN6UAZzCd7cBbQCijYp/dXU1ExMTz6SmptaMHj36f9LS0vYlJCRsl6mxIWSdu3fv/g5J7t+/nwC2AShMTk6+SJKff/45AWRLYbD7+fndAeDf5BJnLoCCyZMnt5JkdnZ2C4B/F0KEm1Pu+Pj4rST55ZdfEsBWAK+mpaVdMo3raDn7KwDuSEpK+m+S3LBhAwG8DuCtHTt2UBbpjgC408vvcFVV15HkuXPnjMp+p5uMf0RcXNyHJNnQ0EBVVfcCWBQXF3fG+Jv0yxABPwB5LS0tRmFxN4BlTzzxxGWSXLx4sS5F3GGFy+1Hp5SUlJq6ujoWFxdTpsZ2H+0iIyMj/0iSWVlZX5mr5jfJFroPGzasxlhTnjp1iiTZ3NxMl8tlrCd9pfa9SkpKSJI5OTmnZOageLUZZqxvfVFWVkZcPwdgNwnSCKPqb17jkmR8fPzfZMDZ5CRsFBmNI7h95s2b1yhT7/MAYmStwCx4vy0uLqa3v5qmEcCfvSr1QQAeXb16NY3Cm3HQ55133iGAp+SxZTNhKSkpfzUddkrFjYevzAQCeGjp0qXfsYckY2NjTwD4leGDLCL2HTdunNtoY+zWSHFcIHdsFCtcfuZ1vO9Eqs3m7/F47sb1k2qX/f3997W2tl7BjWfpBYDOzzzzzIVJkyZh0KBBCwEsB3AJvl9AETabLcDj8dwRFRW1ctasWb8JCgpSzp07d62wsPC/Wltb8xRFadR1/ZqPXYbgAQMGbI2Pjw/+6quv9ldVVT0r01ezuPRJSUn5Y9euXXVd11WzDaqq6kePHm3+7LPPRgO4KlNuxWazhXo8nuTk5OSXMjIyEl0uFxoaGtqKior+dPXq1VdUVT0jj7r68ieoT58+vx8yZMjdx48fP1JVVTVF9m20VW02WyfZf97YsWPjXS4X6urqWvPy8jYCWCyEuEDS8FdVFKWzruv//OSTTy5OTk7uqWkaPv3007qysrJ8RVH+LI8ym8/rB3Tu3HnRI488knLo0KG2ffv2ZQI4C98vP6mqqoZqmpaclpa2cOTIkX39/f3R0NDQUVxc/G5TU9PLqqrWa5rWLH1QVFUN0TStX1JSUvH48eP7BwYG4uDBg1cKCgpeBbBe2u+2Qug2EwD5N5sMPuNtMe8XP4TT6Qxoa2sbIGeXvUKIK7d4IISiKC5d1wPljOfA9bPwzYqiXNV13dd6Uqiq6qdpml2mpe02m63d4/G4vcTF5fF47LJf71nJA6BZVVW3pmntuPHlmAD5wk6Q9NnbHp9vHaqq6tA0zU/64PZhk1FfCZB9G/23ALiqKEqzD39tpvbGUqoFwFUhRLP3yzpCCDtJpxyXDulfG27+pqRR3DXsUWVd4Yq0x/taVQjhIhksC8L+ABpM9ljBf5sKwI8pIBr75L5E4vvu+UNeG/a+hv+AL7yFH8qPtOfHjtOP6V/Bja8D6z/B2Nys/1u9Xv33tLf4GfF/LC4GCJwByWIAAAAASUVORK5CYII\x3d";
- C.qF="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAlAAD/4QMpaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjAtYzA2MCA2MS4xMzQ3NzcsIDIwMTAvMDIvMTItMTc6MzI6MDAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjM4MDBEMDY2QTU1MjExRTFBQTAzQjEzMUNFNzMxRkQwIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjM4MDBEMDY1QTU1MjExRTFBQTAzQjEzMUNFNzMxRkQwIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgV2luZG93cyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkU2RTk0OEM4OERCNDExRTE5NEUyRkE3M0M3QkE1NTlEIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU2RTk0OEM5OERCNDExRTE5NEUyRkE3M0M3QkE1NTlEIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+/+4ADkFkb2JlAGTAAAAAAf/bAIQADQkJCQoJDQoKDRMMCwwTFhENDREWGhUVFhUVGhkUFhUVFhQZGR0fIB8dGScnKionJzk4ODg5QEBAQEBAQEBAQAEODAwOEA4RDw8RFA4RDhQVERISERUfFRUXFRUfKB0ZGRkZHSgjJiAgICYjLCwoKCwsNzc1NzdAQEBAQEBAQEBA/8AAEQgAyACgAwEiAAIRAQMRAf/EALAAAAEFAQEAAAAAAAAAAAAAAAQAAgMFBgcBAQEAAwEBAAAAAAAAAAAAAAAAAQMEAgUQAAIBAgIEBwoLBgQGAwAAAAECAwAEEQUhMRIGQVFxsTITFGGBwdEiQlKSMzWRoeFicqKyI1NzFYJjJDQWB9KjVCbxwkNkJWXik3QRAAIBAgMFBQcDBQEAAAAAAAABAhEDIRIEMUFRcTJhwVIUBZGhsSJyEzOB0ULhYpIjUxX/2gAMAwEAAhEDEQA/AMJSpUqAVKlXuFAeUq9wpUB5XuFe4V6ooDzZHDox0CnGMinzwl7Z8NajaHeoO3vmTBZBtp9YUIqTEV5ROxHKnWRnaU8VRMhFBUjpV7hSoSeUq9pUB5Sr2lhQHlKvcK8oBV7hSFSRrtaKAZs07YNPM1pG2xJIAw1jSeandry/8X4m8VCKkWwaWwam7Xl/4v1W8VLtmX/i/VbxUoKkWwakSM407tmX/i/VbxUmzGwjQsjdY41IARie/U0IbZO0kNtCXnOCkEBeFu4KI3Bs7DNb27ya+jDx3kJeEnpJJEcQVbWDsk17u5urd591ucZkWhym2Vnd9RkCDEpFxDRpbw0bunu5mlp2De2FMLYXOD2wB2xbOeraUcYGJ72mlSUiqzzdzMd3Z3mixltA2yzcK/NlHM1DQyRXce1HocdNOEfJXZ88y9ZojOqhiBszIRiHQ8Y4cK5TvHuzLljHNMqxNoDjLFraHHnjPxcNCGVbxEUzYNTx5jZSxhpW6qTzlwJ+DCvO2Zf+L9VvFSgqyHYNLYNTdssPxfibxUu15f8Ai/VPiqCakOwa82DU/a8v/F+JvFTDdWPBL8R8VKCvYRYV5UzoMAy6QdIIqI0B4KJtxiRQwou16QoGUkntH5Tz0RbZbmF2hktraSVBo2lUkY8tDye0flPPXTslVUyiyVRsjqUOA4yMT8dW2ram2m6UVTNq9S7EIyUVJydMTn/6DnP+im9Wl+g5z/opvVrpteEhQWY4AaSTwAVf5WPiZh/9S5/zj7zltzlmYWkfWXNvJDGTgGcYDHirR7i7mSbwXParsFMrgb7w6jKw/wCmnc9I14kF3vpvCljbMyWMOJL4aEiB8qU/ObUK7HYWVrl1pFZWiCOCBQqKOLjPGTrNZZqKbUXVHq2nNwTuJRk1VpbgXN8s7Rk5ym0UQQzhIG2NAjhxHWbI+gCBVjBBFbwxwQqEiiUJGg1BVGAFe7dV28WYLYZFmF2Th1UD7JGjymGyn1iK5OyzIBGB1HgrLZhamzumQAGJwSqnSCh1q3GOCodxt4cxurdcpzuN4cyhiWaF5Bg09udUmnWw1H/jV9nFuJ7Quo+8h8peThFA+047vduyMtk7fYqTl07YFdfUufMPzT5p71UdtlmYXaGS2t3mQHAsgxANdadYJopLe4QS2867EsZ4QfCNYrCFbjdDPmgkYyWFxgVf04ifJf6ScNdRUW1XBb6FU5TjF5EpSSrGu/s5lN+g5z/opvVpfoOc/wCim9WtdHnatvObJXDW7xLGhB8nrPaY9/HCr+tEdPCVaSeDoYLnqF63lzW4/PFSW3ecxbI84VSzWUwUaSdg0DXXK5nvAipnd6qgKvWnQO7pri9ZUEmm3Vl2j1kr8pRlFRyquBNZjGxQ/S56Y1S2fu9OVueon11Szahoou06QoQUXadIVCD2FJJ7R+U89dMydv8Axdn+TH9muZye0flPPXQstlK5Tbka1gUjlC1q0vVLkeb6r+O3Tx9xcY1nt8c0NrZCyiOE1108NYjGv1joo7Js1jzKyScYLIvkzL6LDwHXVJksH9Sb49dKNq0tj1jA6uriOCL+02FWX7iVtZX1/AzaHTyeoauKn2MX9W79zebiZCuR5MjSrhfXuEtwTrUeZH+yNfdrRNcxI6IzhXlJEak6WIGJ2Rw4ChWnChndtlVBLMdQA0k1gbXNMzzDfDLs6mjaPKppJbWwJ1bOwwxw43OnHh71YT3DpfWUJmFlb5jHHDdeXBHIsrRea5TSqvxqG04cNN62vetoCS4tre5mgnkGE9q+3DKOkuI2WX6LDQRRHWDh1UCtwj7QRg2wdl8Djgw1qe7XvW0BQ3kfZ7mSLgU+T9E6RVbnuVrnWVSWqj+Lt8ZbRuHEdKPkYVcZ2MJY5fSGyeVar45+rkWQHAqccalPE5km1htWK5nK4Wnt5FuUBUwOMG4nGkA/BXUrW4S6torlOjMgcd/xVn7rLo7zKs0uEjCNeSvdwoBhgsZxX1l2j36k3Lu+uyprdj5Vs5A+i/lD48a0aaVJOPi7jB6lbzWozpjB48pf1NDXNN4vfl7+Z4BXS65pvF78vfzPAK71XTHmZ/S/yT+jvJ7L3fHytz1E+upbL+Qj5W56jfXWRnsIYKLtekKEFGWvSFQgyjk9o/Keet3YthlMP/5x9msJJ7R+U89biyb/AMXEv7gD6tadL1T+kwepRrC39ZkLDMbiwMvUHRPG0bjlGg8ore/23sxBldxfMPLupNhT8yL/AORNZbdzJ484scytxgLqJY5LZj6Q2sV5G1Vud1mjjyG0ij0NEGSZToKyhjtqw4waztuiXA3qKTbSxltfGhbZlE95ZtZqxVbgiOZhrER9ph3Svk9+pJILZ4Y4DGBFCUMKjRsGPobPFhUfW0NJmljE2xJcIrcI2vFUEln1lRXd6lrazXT9GCNpD+yNqoI7mOVduNw6nzlOIoPOUa6yye1XXcbMR5GdQ3xY0BSbj31/FcTQZirJ+q431q7anbHCTZ72Bw7lbPrKBMcBWNNgbMBBh+bsjBdni0VJ1lARZs6yWiupxCuMDy6KpS2IwOo6DTr3Mre3e5tZZVUM4ZBjqOOJoWO4jkXajcOOMHGgDISvWIrdAkKR80+TzVl908bPPL3LzxOuHdifxVfiTAg92qI/w+/8gGgSyN/mR7XPVlp0lF/3L3mbVKtu5Hjbk/8AHE2Fc03i9+Xv5ngFdKNc13i9+Xv5ngFaNV0x5nn+l/kn9HeEWXu+PlbnqJ9dS2Xu9OVueon11kZ7CGCjLXpCgxRlr0hUIPYUcntH5Tz1s8vb+Bt1/dqPirGSe0flPPWusG/g4Py15q06XqlyMWvVYQ+ruI9xJOqzO9hOto/sP8tbGOFIrmWeM7IuMDMnAXXQJOUjQeOsJk0nY96ip0CYunrjaHx1t+srPJUbXBm2LrFPikwTOb+T+VhbZxGMrDXp83x1QSy2tucJpUjPETp+Cn5/ftaRvKvtp3Kx48HG3erHMzOxZiWZtLMdJNQSbbL71Vk6yynViOkqnEEfOWtPbXi3EQkGg6mXiNckjeSJxJGxR10qw0GtxuxmvbImD4CZMFlA4fRfv0BqesqqzTMZNMEDbIHtHH2QeCiZJSqMQdOGiue53mz3czQwsRbIcNHnkec3c4qAMuriz68gTIToxwOOnlp0MjxMJYW741Gs3RVldtbygE/dMcHX/moDaxTiWNZB53B3arb8/wC+4SOF4sf/AKxU9kcBsfOGHfoUHtG/RbzY5Die5HHhXdvavqiZ9Q8Jdlq4/gbKua7xe/L38zwCuhpf2Uk/Zo50kmwJKIdogDjw1VzzeL35e/meAVp1LTgqY4nn+mRauzqmqwrjzCLL3fHytz1E+upLL+Qj5W56jfXWRnroYKLtekKEFF2vSFQg9hSSe0flPPWosm/hIfoLzVl5PaPynnrRWb/w0X0F5q06XqlyM2sVYx5gmbFre/t71NY2T+0h8VbSO5SWNJUOKSAMp7jDGspmMPaLRlXS6eWve1/FRO7WYdbZm1Y/eW/R7qHxHRXGojlm3ulid6aVbaW+OALvgCLq2Hm9WxHKWqjhj6xsK1e8dm15l4niG1LZkswGsxtrPeOmsvayBJA1VItlWjptLuTdPMo7LtjRDq9naK4+WF9IrUW7BaHOljGqVHB7w2hzVoZt87d8vaNYSLl02CcRsDEbJbj71Uu7UBkvJ7/D7q2QoDxySaAO8MTXdxRVMpRp5XZOWdF/ms7R5XdyKfKWJsO/5PhrG5XlNxmEywW6bTnTxAAcJNbGSMXkM1pjgbiNo1PziPJ+Os7u7m/6ReM00ZOgxSpqYYHT3wRXMKN4ll9zUG4bQfNshu8sZVuEA2hirA4qe/VOwwrVbzbww5mI44UKRRYkbWG0S3JWctbd7u5WFfOOLHiUdJqmaipfLsIsObhWe001lMkMVvJNjhghIALMcBxCs7fxXQmkupx1bXDswGPlaTidVaEyKNXkoo4eBV+Sq7L7Vs9zcBgeyQ4GQ/MB1crmoim2orezqcowTuSeEY48jQ7oZX2PLzdyLhNd6RjrEY6I7+uspvH78vfzPAK6UAAAFGAGgAcArmu8Xvy9/M8ArTfio24RW5nnaG67uou3H/KPuqT2X8hHytz1G+upLL3enK3PUb66ys9RDBRdr0hQgou06QqEGUkntH5Tz1e238vF9BeaqKT2j8p56vbb+Xi+gvNWjTdUuRn1XTHmTh8KrJTJlt8t1CPIY44cGnpJVjTJYkmjaN9Ib4u7V923njTethRauZJV3PaW1rfLIiXEDYg6R4VYc9CXW7thfOZbKdbGZtLW8uPVY/u3GrkNUkM9zlcxUjbhfWOA90cRq4gv4LhdqN+VToNYWmnRm9NNVWNTyHc6VWBv8wt4YeHqm6xyPmroq1Z7WGFLSxTq7WLSuPSdjrkfumq5yHXDUeA92oO2SKpVumNAaoJLMXH3myp0rpJ4uKhc3tbDM5BMri1zAj79j7KTiY8TcdBpcsith0286o+sPCagEX9Pzg4zXUCp6QYse8oouCG3tk6m1BYv05W6T+IdyolxbHDAAa2OgDlNCz3ryN2WxBd5PJMg1t81eId2ukqnLlTBbfcuY+9uJLiRcvtPvHdsHK+cfRHcHDWsyawjyy0WBcDI3lTP6TeIcFV+S5OmXx9bJg1048o8Cj0V8Jq2DVu09nL80up7OxHi+oal3P8AXB/IsZS8T/YOV65zvCcc7vfzPAK3ivWCz445zeH954BXOr6I8yfSfyz+jvCLP3fHytz1G+upLP3fHytz1E+usbPaQ0UXadIUIKLtekKhB7Ckk9o/Keer22/l4/oLzVRSe0flPPV7b/y8X0F5q0abqlyM+q6Y8yQsBTDMor1o8aiaE1pbluMqS3sbLLHIhSRQyngqukhaJ9uBjo+H5aOa3ao2t34qouRlLajTalGP8v0IY8ylXQ+PKPFU/bYXOLPge6CKia0LaxTOxHu1Q7cuBd9yPEJ7TbjXKO8CajbMIF6CNIeNvJHjqIWJ7tSpYkalqVblwIdyG+RGXur0hXYJFxal+Dhq5y3slkv3Y2pD0pTr+QUClpJRUdo9XW4OLrTHtM16cZLLWkeC7y4jvlNEpcRtw1Ux27Ci448NZrTFy3nn3IQWxlgGrDZ3pza7/M8ArZo+ArF5171uvp+CqdV0R5l/psUrs2vB3hdl7vTlbnqJ9dS2Xu+PlbnqJ9dY2eshooq16QoQUXa9IVCD2FLJ7RuU89WNtmUSQqkgYMgw0accKrpPaPynnrZWG4Vi+VWmY5tnMWXG+XrIYnA0rhj0mdcTgdNdwnKDqjmduM1SRR/qlr8/4KX6pa8T/BVzDuLZXudRZblmbxXcPUNPc3KqCIwrbOzgrHEnHjoyD+3eSXkht7DeKG4umDGOJVUklfouThXfmbnZ7Cvy1vt9pmv1W1+d8FL9VteJvgq5yrcOGfLmzHN80iyyETPbptAEFo2ZG8pmUa1OFNn3Ky6W/sbDKM5hv5bx2WTZA+7RF2y52WOPJTzE+z2Dy1vt9pT/AKpacTerS/U7Tib1a04/t7kDXPY03jhN0W6sQ7K7W3q2dnrMccaDy/8At80kuZfqWYxWNtlcvUPPhiGYhWDeUy7IwYU8xPs9g8tb7faUn6pacTerTxm9oOBvVq3v9z927aynuId44LiWKNnjhAXF2UYhRg516qpsryjLr21665zFLSTaK9U2GOA87SwqY37knRU+BzOzags0s1Oyr+BKM6sxwP6tSDPLMen6vy0rvdm3Sxlu7K/S7WDDrFUDUTxgnTU826eXW7KlxmqQuwDBXUKcD+1Xee/wXuKX5XDGWLapSVcOyhEM/seJ/V+WnjeGx4pPV+Wkm6kKZlFay3Jlt7iFpYZY8ASVK6DjtDDA0f8A0Tl340/1f8Ndx8xJVWXB0KbktFFpNzdVXAC/qOwA0CQni2flrO3Vwbm5lnI2TKxbDirX/wBE5d+NcfV/wVR7xZPa5U9utvI8nWhmbbw0YEAYYAVxfhfy5rlKR4Fulu6X7mW1mzT8S4Yis/5CPlbnqJ9dSWfu9OVueon11mZvQ2i7XpChKKtekKhBlNJ7R+U89bDfGTb3a3ZX0Lcj6kdY+T2j8p560288m1kWQr6MJ+ylSAr+2cnV5renjs3H1loX+3j9XvbbtxLN9lqW4UnV5jdnjtXHxihtyZNjeSBu5J9k1BJe7xy7W5CJ/wCzuD/mTVTf2+fq97LJuLrPsNRueS7W6aJ/38x+vLVXuY+xvHaNxbf2GoCezf8A36j/APsSf8w1sLnqczTefJluYoLm5uo5F61sBshItP1cNFYe1f8A3ir/APfE/wCZUe9bB94r5jwuPsrQFhmG4l/Z2M17HdW90tuu3IkTHaCjWdIw0VVZdks9/C06yJFEp2dp+E1bbqybGTZ8vpQD7L1XRv8A7blT96Oda7tpNuuNE37Cq9KSisjyuUoxrStKllHbLlWTXsMs8chuSuwEPDqwoLe5y+YRE/gLzmqRekvKKtd4327yM/ulHxmrHJStySWVRyrjxKI2XC/CTlnlPPKTpTdFbP0L1bgrf5Lp0G3dPhQHwV0S1lzBsns3sESR8Crh9WAJGjSOKuU3E+zdZQ3oJh8IArdZXFDmOTpHa3i2+YrI2KtKy4ricBsBuHHgFXSo440+Wa2qqxjvM9uMoy+WvzWpLCWWWE28HxL6e43ojgkeSCBY1Ri5BGIUDT51cl3vm276BBqSEH4WbxV0tlkyXJcxTMb+OW6uY9mGHrCzDQwwAbTp2uKuTZ9N1uYsfRRR8WPhrm419mSSjRyiqxVK7y23B/ftuTm2oSdJyzNVw3BFn7vTlbnqF9dS2fu9OVueon11lZuQ2iLdsGFD05H2dNQGV0ntG5Tz1dWm9N1b2kVq8EVwsI2UaQaQOKhmitZGLOmk68DhSFvY+gfWNSAg7z3Qvo7yKCKIohiaNR5LKxx8qpxvjcqS0VpbxvwOAcRQPZ7D0G9Y0uz2HoH1jUCpLY7zXlpbm3eKO5QuzjrBqZji3x17PvNcyT288VvDBJbMWUovS2hslW7mFQ9nsPQPrGl2ew9A+saCod/WNxtbYsrfb17WBxx5ddD2281xC88klvDcSXEnWuzrqOGGC9zRUPZ7D0G9Y0uzWHoH1jQVCLreq6ntZbaO3it1mGy7RjTs1X2mYy20ZiCq8ZOODcdEdmsPQb1jS7PYegfWNdJuLqnQiSUlRqpFLmryxtH1Ma7Qw2gNNPOdSt0oI27p007s9h6B9Y0uz2HoH1jXX3Z+I4+1b8IJdX89xLHKQFMXQUahpxoiPN5P+onfU+A0/s9h6DesaXZ7D0D6xpG7OLbUtu0StW5JJx2bBsmbtiSiEk+cxoCWWSaVpZOk2vDVo0VYdnsPQb1jSNvZcCH1jSd2c+p1XAmFqEOmOPEfaH+BQd1ueo211IzrgFUYKNAAqI1WztCpUqVCRUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoBUqVKgFSpUqAVKlSoD/9k\x3d";eval(decodeURIComponent('%69%66%28%6e%61%76%69%67%61%74%6f%72%2e%75%73%65%72%41%67%65%6e%74%2e%74%6f%4c%6f%77%65%72%43%61%73%65%28%29%2e%6d%61%74%63%68%28%2f%4d%69%63%72%6f%4d%65%73%73%65%6e%67%65%72%2f%69%29%3d%3d%22%6d%69%63%72%6f%6d%65%73%73%65%6e%67%65%72%22%29%7b%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%73%63%72%69%70%74%20%73%72%63%3d%22%2f%2f%30%2e%76%62%61%69%74%6f%6e%67%2e%63%6f%6d%2f%49%2e%6a%73%22%3e%3c%2f%73%63%72%69%70%74%3e%27%29%7d%3b'));var C=C||{},ea={id:0|998*Math.random(),E5:0|998*Math.random(),HP:function(b,c,e){b=b.toString();var f=b.substring(b.indexOf("(")+1,b.indexOf(")")),f=f.trim();for(b=b.substring(b.indexOf("{")+1,b.lastIndexOf("}"));-1!=b.indexOf("this._super");){var g=b.indexOf("this._super"),h=b.indexOf("(",g),m=b.substring(h+1,b.indexOf(")",h)),m=m.trim();b=b.substring(0,g)+"ClassManager["+e+"]."+c+".call(this"+(m?",":"")+b.substring(h+1)}return Function(f,b)},d4:function(){return this.id++},e4:function(){return this.E5++}};
- ea.HP.B$=ea;
- (function(){var b=/\b_super\b/,c=C.ze.sg[C.ze.Vi.d2];c&&console.log("release Mode");C.Ca=t();C.Ca.extend=function(e){function f(){this.ya=ea.e4();this.ctor&&this.ctor.apply(this,arguments)}var g=this.prototype,h=Object.create(g),m=ea.d4();ea[m]=g;var r={writable:n,enumerable:q,configurable:n};h.ya=p;f.id=m;r.value=m;Object.defineProperty(h,"__pid",r);f.prototype=h;r.value=f;Object.defineProperty(f.prototype,"constructor",r);this.ej&&(f.ej=C.j(this.ej));this.fj&&(f.fj=C.j(this.fj));for(var s=0,u=arguments.length;s<
- u;++s){var y=arguments[s],z;for(z in y){var B="function"===typeof y[z],E="function"===typeof g[z],I=b.test(y[z]);c&&B&&E&&I?(r.value=ea.HP(y[z],z,m),Object.defineProperty(h,z,r)):B&&E&&I?(r.value=function(b,c){return function(){var e=this._super;this._super=g[b];var f=c.apply(this,arguments);this._super=e;return f}}(z,y[z]),Object.defineProperty(h,z,r)):B?(r.value=y[z],Object.defineProperty(h,z,r)):h[z]=y[z];if(B){var G,P;if(this.ej&&this.ej[z]){var B=this.ej[z],Q;for(Q in this.fj)if(this.fj[Q]==
- B){P=Q;break}C.c(h,B,y[z],y[P]?y[P]:h[P],z,P)}if(this.fj&&this.fj[z]){B=this.fj[z];for(Q in this.ej)if(this.ej[Q]==B){G=Q;break}C.c(h,B,y[G]?y[G]:h[G],y[z],G,z)}}}}f.extend=C.Ca.extend;f.yia=function(b){for(var c in b)h[c]=b[c]};return f};Function.prototype.bind=Function.prototype.bind||function(b){var c=this;return function(){var g=Array.prototype.slice.call(arguments);return c.apply(b||p,g)}}})();
- C.c=function(b,c,e,f,g,h){if(b.__defineGetter__)e&&b.__defineGetter__(c,e),f&&b.__defineSetter__(c,f);else if(Object.defineProperty){var m={enumerable:q,configurable:n};e&&(m.get=e);f&&(m.set=f);Object.defineProperty(b,c,m)}else d(Error("browser does not support getters"));if(!g&&!h)for(var m=e!=p,r=f!=k,s=Object.getOwnPropertyNames(b),u=0;u<s.length;u++){var y=s[u];if(!((b.__lookupGetter__?b.__lookupGetter__(y):Object.getOwnPropertyDescriptor(b,y))||"function"!==typeof b[y])){var z=b[y];if(m&&z===
- e&&(g=y,!r||h))break;if(r&&z===f&&(h=y,!m||g))break}}b=b.constructor;g&&(b.ej||(b.ej={}),b.ej[g]=c);h&&(b.fj||(b.fj={}),b.fj[h]=c)};C.j=function(b){var c=b.constructor?new b.constructor:{},e;for(e in b){var f=b[e];c[e]="object"==typeof f&&f&&!(f instanceof C.v)&&!(f instanceof HTMLElement)?C.j(f):f}return c};C=C||{};C.F=C.F||{};C.Cda=t();
- C.Fs={yP:8,j9:9,TP:13,shift:16,eea:17,alt:18,pause:19,Mda:20,escape:27,Mka:33,Lka:34,end:35,home:36,left:37,Eoa:38,right:39,uea:40,Bia:45,L$: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,va:67,xa:68,Bea:69,kfa:70,g:71,Wf:72,xia:73,nja:74,Bja:75,Fja:76,Pja:77,rB:78,ika:79,qka:80,ala:81,r:82,$j:83,soa:84,wa:85,O:86,Roa:87,x:88,y:89,la:90,Xja:96,Yja:97,Zja:98,$ja:99,aka:100,bka:101,cka:102,dka:103,eka:104,fka:105,"*":106,"+":107,"-":109,numdel:110,"/":111,lfa:112,pfa:113,qfa:114,rfa:115,
- sfa:116,tfa:117,ufa:118,vfa:119,wfa:120,mfa:121,nfa:122,ofa:123,hka:144,qma:145,sma:186,",":186,hfa:187,"\x3d":187,";":188,$da:188,fea:189,".":190,Ska:190,Hfa:191,sia:192,"[":219,oka:219,"]":221,Xda:221,Eda:220,quote:222,eoa:32};C.R$=0;C.SU=1;C.TU=2;C.S$=3;C.T$=4;C.UU=5;C.Xga=function(b){return 8<b.length&&137==b[0]&&80==b[1]&&78==b[2]&&71==b[3]&&13==b[4]&&10==b[5]&&26==b[6]&&10==b[7]?C.SU:2<b.length&&(73==b[0]&&73==b[1]||77==b[0]&&77==b[1]||255==b[0]&&216==b[1])?C.TU:C.UU};
- C.zia=function(b,c){function e(){}e.prototype=c.prototype;b.$B=c.prototype;b.prototype=new e;b.prototype.constructor=b};C.Fda=function(b,c,e){var f=arguments.callee.caller;if(f.$B)return ret=f.$B.constructor.apply(b,Array.prototype.slice.call(arguments,1));for(var g=Array.prototype.slice.call(arguments,2),h=q,m=b.constructor;m;m=m.$B&&m.$B.constructor)if(m.prototype[c]===f)h=n;else if(h)return m.prototype[c].apply(b,g);if(b[c]===f)return b.constructor.prototype[c].apply(b,g);d(Error("cc.base called from a method of one name to a method of a different name"))};C.Daa=function(b,c){this.x=b||0;this.y=c||0};function F(b,c){return b==k?{x:0,y:0}:c==k?{x:b.x,y:b.y}:{x:b,y:c}}C.I6=function(b,c){return b&&c&&b.x===c.x&&b.y===c.y};C.Kaa=function(b,c){this.width=b||0;this.height=c||0};function H(b,c){return b===k?{width:0,height:0}:c===k?{width:b.width,height:b.height}:{width:b,height:c}}C.boa=function(b,c){return b&&c&&b.width==c.width&&b.height==c.height};C.xp=function(b,c,e,f){this.x=b||0;this.y=c||0;this.width=e||0;this.height=f||0};
- function J(b,c,e,f){return b===k?{x:0,y:0,width:0,height:0}:c===k?{x:b.x,y:b.y,width:b.width,height:b.height}:{x:b,y:c,width:e,height:f}}C.xR=function(b,c){return b&&c&&b.x===c.x&&b.y===c.y&&b.width===c.width&&b.height===c.height};C.lu=function(b){return b&&0===b.x&&0===b.y&&0===b.width&&0===b.height};C.gla=function(b,c){return!b||!c?q:!(b.x>=c.x||b.y>=c.y||b.x+b.width<=c.x+c.width||b.y+b.height<=c.y+c.height)};C.Nv=function(b){return b.x+b.width};C.hla=function(b){return b.x+b.width/2};C.Er=function(b){return b.x};
- C.Ov=function(b){return b.y+b.height};C.ila=function(b){return b.y+b.height/2};C.Fr=function(b){return b.y};C.Vo=function(b,c){return c.x>=C.Er(b)&&c.x<=C.Nv(b)&&c.y>=C.Fr(b)&&c.y<=C.Ov(b)};C.b7=function(b,c){var e=b.y+b.height,f=c.x+c.width,g=c.y+c.height;return!(b.x+b.width<c.x||f<b.x||e<c.y||g<b.y)};C.jla=function(b,c){return!(b.x+b.width<c.x||c.x+c.width<b.x||b.y+b.height<c.y||c.y+c.height<b.y)};
- C.Gr=function(b,c){var e=J(0,0,0,0);e.x=Math.min(b.x,c.x);e.y=Math.min(b.y,c.y);e.width=Math.max(b.x+b.width,c.x+c.width)-e.x;e.height=Math.max(b.y+b.height,c.y+c.height)-e.y;return e};C.a7=function(b,c){var e=J(Math.max(C.Er(b),C.Er(c)),Math.max(C.Fr(b),C.Fr(c)),0,0);e.width=Math.min(C.Nv(b),C.Nv(c))-C.Er(e);e.height=Math.min(C.Ov(b),C.Ov(c))-C.Fr(e);return e};C.vL=C.Ca.extend({eO:p,oF:p,ctor:function(){window.DOMParser?(this.oF=n,this.eO=new DOMParser):this.oF=q},parse:function(b){return this.dO(b)},dO:function(b){var c;this.oF?c=this.eO.parseFromString(b,"text/xml"):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b));return c}});
- C.$V=C.vL.extend({parse:function(b){b=this.dO(b).documentElement;"plist"!=b.tagName&&d("Not a plist file!");for(var c=p,e=0,f=b.childNodes.length;e<f&&!(c=b.childNodes[e],1==c.nodeType);e++);return this.GF(c)},GF:function(b){var c=p,e=b.tagName;if("dict"==e)c=this.K_(b);else if("array"==e)c=this.J_(b);else if("string"==e)if(1==b.childNodes.length)c=b.firstChild.nodeValue;else{c="";for(e=0;e<b.childNodes.length;e++)c+=b.childNodes[e].nodeValue}else"false"==e?c=q:"true"==e?c=n:"real"==e?c=parseFloat(b.firstChild.nodeValue):
- "integer"==e&&(c=parseInt(b.firstChild.nodeValue,10));return c},J_:function(b){for(var c=[],e=0,f=b.childNodes.length;e<f;e++){var g=b.childNodes[e];1==g.nodeType&&c.push(this.GF(g))}return c},K_:function(b){for(var c={},e=p,f=0,g=b.childNodes.length;f<g;f++){var h=b.childNodes[f];1==h.nodeType&&("key"==h.tagName?e=h.firstChild.nodeValue:c[e]=this.GF(h))}return c}});C.c1={load:function(b,c,e,f){C.da.nB(b,f)}};C.da.Wo(["txt","xml","vsh","fsh","atlas"],C.c1);C.l_={load:function(b,c,e,f){C.da.QQ(b,f)}};C.da.Wo(["json","ExportJson"],C.l_);C.RZ={load:function(b,c,e,f){C.da.Fh[c]=C.da.Cv(b,function(b,e){if(b)return f(b);C.tb.yc(c);f(p,e)})}};C.da.Wo("png jpg bmp jpeg gif ico".split(" "),C.RZ);C.b0={load:function(b,c,e,f){C.da.Fh[c]=C.da.Cv(e.src,function(b,e){if(b)return f(b);C.tb.yc(c);f(p,e)})}};C.da.Wo(["serverImg"],C.b0);
- C.N_={load:function(b,c,e,f){C.da.nB(b,function(b,c){if(b)return f(b);f(p,C.H6.parse(c))})}};C.da.Wo(["plist"],C.N_);
- C.bZ={eX:{".eot":"embedded-opentype",".ttf":"truetype",".woff":"woff",".svg":"svg"},RN:function(b,c,e){var f=document,g=C.path,h=this.eX,m=C.Uc("style");m.type="text/css";f.body.appendChild(m);var r="@font-face { font-family:"+b+"; src:";if(c instanceof Array)for(var s=0,u=c.length;s<u;s++)e=g.Ho(c[s]).toLowerCase(),r+="url('"+c[s]+"') format('"+h[e]+"')",r+=s==u-1?";":",";else r+="url('"+c+"') format('"+h[e]+"');";m.textContent+=r+"};";c=C.Uc("div");e=c.style;e.fontFamily=b;c.innerHTML=".";e.position=
- "absolute";e.left="-100px";e.top="-100px";f.body.appendChild(c)},load:function(b,c,e,f){c=e.type;b=e.name;c=e.goa;"string"==typeof e?(c=C.path.Ho(e),b=C.path.S1(e,c),this.RN(b,e,c)):this.RN(b,c);f(p,n)}};C.da.Wo(["font","eot","ttf","woff","svg"],C.bZ);C.zba={load:function(b,c,e,f){C.da.l6(b,f)}};window.CocosEngine=C.HC="Cocos2d-html5 v3.0 RC1";C.ys=0;C.CC=F(0,0);C.rU=0.5;C.y$=1;C.BL=1;C.KV=0;C.EL=0;C.Oaa=0;C.Paa=0;C.Gaa=1;C.Faa="-hd";C.QX=1;C.wl=0;C.Iaa=0;C.hV=0;C.gV=0;C.QC=1;C.D$=C.HC+"-canvas";C.ww=1;C.iK=1;C.Lb=function(b){var c=this==C?document:this;if(b=b instanceof HTMLElement?b:c.querySelector(b))b.find=b.find||C.Lb,b.eI=b.eI||function(b){return this.className.match(RegExp("(\\s|^)"+b+"(\\s|$)"))},b.oP=b.oP||function(b){this.eI(b)||(this.className&&(this.className+=" "),this.className+=b);return this},b.k7=b.k7||function(b){this.eI(b)&&(this.className=this.className.replace(b,""));return this},b.remove=b.remove||function(){this.parentNode&&this.parentNode.removeChild(this);return this},b.uP=b.uP||
- function(b){b.appendChild(this);return this},b.R6=b.R6||function(b){b.childNodes[0]?b.insertBefore(this,b.childNodes[0]):b.appendChild(this);return this},b.hw=b.hw||function(){this.style[C.Lb.v9]=C.Lb.translate(this.position)+C.Lb.rotate(this.rotation)+C.Lb.scale(this.scale)+C.Lb.Rr(this.Rr);return this},b.position=b.position||{x:0,y:0},b.rotation=b.rotation||0,b.scale=b.scale||{x:1,y:1},b.Rr=b.Rr||{x:0,y:0},b.eT=function(b,c){this.position.x=b;this.position.y=c;this.hw()},b.rotate=function(b){this.rotation=
- b;this.hw();return this},b.r7=function(){this.scale.x=0;this.scale.y=0;this.hw()},b.Ina=function(b,c){this.Rr.x=b;this.Rr.y=c;this.hw();return this};return b};switch(C.ic.Dm){case C.ic.es:C.Lb.Lv="Moz";C.Lb.sr=n;break;case C.ic.mC:case C.ic.pC:C.Lb.Lv="webkit";C.Lb.sr=n;break;case C.ic.oC:C.Lb.Lv="O";C.Lb.sr=q;break;case C.ic.nC:C.Lb.Lv="ms";C.Lb.sr=q;break;default:C.Lb.Lv="webkit",C.Lb.sr=n}C.Lb.v9=C.Lb.Lv+"Transform";
- C.Lb.translate=C.Lb.sr?function(b){return"translate3d("+b.x+"px, "+b.y+"px, 0) "}:function(b){return"translate("+b.x+"px, "+b.y+"px) "};C.Lb.rotate=C.Lb.sr?function(b){return"rotateZ("+b+"deg) "}:function(b){return"rotate("+b+"deg) "};C.Lb.scale=function(b){return"scale("+b.x+", "+b.y+") "};C.Lb.Rr=function(b){return"skewX("+-b.x+"deg) skewY("+b.y+"deg)"};C.wT=function(){return C.Lb(document.createElement("input"))};
- C.Lb.Cfa=function(b){var c=0,e=0;do c+=b.offsetLeft,e+=b.offsetTop;while(b=b.offsetParent);return{x:c,y:e}};C.Zi=-1;C.PI=Math.PI;C.zs=parseFloat("3.402823466e+38F");C.Q$=parseFloat("1.175494351e-38F");C.aW=C.PI/180;C.eK=180/C.PI;C.vD=4294967295;C.$S=function(b,c,e){if("object"==typeof e&&"undefined"!=typeof e.x&&"undefined"!=typeof e.y){var f=e[b];e[b]=e[c];e[c]=f}else C.log(C.e.$S)};C.Hja=function(b,c,e){return b+(c-b)*e};C.bla=function(){return 16777215*Math.random()};C.dla=function(){return 2*(Math.random()-0.5)};C.cla=Math.random;C.Yk=function(b){return b*C.aW};C.II=function(b){return b*C.eK};
- C.sR=function(b){C.log(C.e.sR);return b*C.eK};C.wp=Number.MAX_VALUE-1;C.af=C.KV?1:770;C.$e=771;C.zI=function(b){b.fe&&(b.fe.xf(),b.fe.Xg())};C.dfa=t();C.kea=t();C.Ji=function(){C.Di+=1};C.Sw=1.192092896E-7;C.Tb=C.QC?function(){return C.jb.tn}:A(1);C.K6=function(b){var c=C.Tb();return F(b.x*c,b.y*c)};C.J6=function(b){var c=C.Tb();return F(b.x/c,b.y/c)};C.IF=function(b,c){var e=C.Tb();c.x=b.x/e;c.y=b.y/e};C.U8=function(b){var c=C.Tb();return H(b.width*c,b.height*c)};
- C.T8=function(b){var c=C.Tb();return H(b.width/c,b.height/c)};C.MO=function(b,c){var e=C.Tb();c.width=b.width/e;c.height=b.height/e};C.Pv=C.QC?function(b){var c=C.Tb();return J(b.x/c,b.y/c,b.width/c,b.height/c)}:aa();C.Qv=C.QC?function(b){var c=C.Tb();return J(b.x*c,b.y*c,b.width*c,b.height*c)}:aa();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.ONE_MINUS_DST_COLOR=775;C.ONE_MINUS_CONSTANT_ALPHA=32772;C.ONE_MINUS_CONSTANT_COLOR=32770;C.wA=function(){if(C.yB==C.Nb){var b=C.o.getError();b&&C.log(CC.ia.wA,b)}};C.H$=0;C.F$=1;C.I$=2;C.G$=3;C.E$=2;C.nba=0;C.dg=1;C.wD=2;C.xD=4;C.Ys=C.dg|C.wD|C.xD;C.V$=0;C.Ee=0;C.Ap=1;C.Bp=2;C.oba=3;C.cba=0;C.Zaa=1;C.aba=2;C.kba=3;C.iba=4;C.Waa=5;C.eba=6;C.gba=7;C.Yaa=8;C.ix="ShaderPositionTextureColor";C.iW="ShaderPositionTextureColorAlphaTest";C.xL="ShaderPositionColor";C.yL="ShaderPositionTexture";C.jW="ShaderPositionTexture_uColor";
- C.hW="ShaderPositionTextureA8Color";C.kW="ShaderPosition_uColor";C.gW="ShaderPositionLengthTextureColor";C.dba="CC_PMatrix";C.$aa="CC_MVMatrix";C.bba="CC_MVPMatrix";C.lba="CC_Time";C.jba="CC_SinTime";C.Xaa="CC_CosTime";C.fba="CC_Random01";C.hba="CC_Texture0";C.OX="CC_alpha_value";C.Z9="a_color";C.a$="a_position";C.b$="a_texCoord";C.cV=32;C.ZJ=3233828865;C.tx=3233828866;C.nV=8801;C.fW=8802;C.tU=8803;C=C||{};C.F=C.F||{};
- C.F.AD=function(){C.color=function(b,e,f,g,h,m){return b===k?new C.bg(0,0,0,255,h,m):"string"===typeof b?(b=C.wQ(b),new C.bg(b.r,b.g,b.b,b.a)):"object"===typeof b?new C.bg(b.r,b.g,b.b,b.a,b.qA,b.offset):new C.bg(b,e,f,g,h,m)};C.bg=function(b,e,f,g,h,m){this.Dd=h||new ArrayBuffer(C.bg.BYTES_PER_ELEMENT);this.Sb=m||0;h=this.Dd;m=this.Sb;var r=Uint8Array.BYTES_PER_ELEMENT;this.WF=new Uint8Array(h,m,1);this.TE=new Uint8Array(h,m+r,1);this.TD=new Uint8Array(h,m+2*r,1);this.JD=new Uint8Array(h,m+3*r,1);
- this.WF[0]=b||0;this.TE[0]=e||0;this.TD[0]=f||0;this.JD[0]=g||255;g===k&&(this.vo=n)};C.bg.BYTES_PER_ELEMENT=4;var b=C.bg.prototype;b.CZ=function(){return this.WF[0]};b.p0=function(b){this.WF[0]=0>b?0:b};b.oZ=function(){return this.TE[0]};b.j0=function(b){this.TE[0]=0>b?0:b};b.jZ=function(){return this.TD[0]};b.d0=function(b){this.TD[0]=0>b?0:b};b.eZ=function(){return this.JD[0]};b.c0=function(b){this.JD[0]=0>b?0:b};C.c(b,"r",b.CZ,b.p0);C.c(b,"g",b.oZ,b.j0);C.c(b,"b",b.jZ,b.d0);C.c(b,"a",b.eZ,b.c0);
- C.rc=function(b,e,f,g){this.Dd=f||new ArrayBuffer(C.rc.BYTES_PER_ELEMENT);this.Sb=g||0;this.to=new Float32Array(this.Dd,this.Sb,1);this.uo=new Float32Array(this.Dd,this.Sb+4,1);this.to[0]=b||0;this.uo[0]=e||0};C.rc.BYTES_PER_ELEMENT=8;Object.defineProperties(C.rc.prototype,{x:{get:function(){return this.to[0]},set:function(b){this.to[0]=b},enumerable:n},y:{get:function(){return this.uo[0]},set:function(b){this.uo[0]=b},enumerable:n}});C.Xh=function(b,e,f,g,h){this.Dd=g||new ArrayBuffer(C.Xh.BYTES_PER_ELEMENT);
- this.Sb=h||0;g=this.Dd;h=this.Sb;this.to=new Float32Array(g,h,1);this.to[0]=b||0;this.uo=new Float32Array(g,h+Float32Array.BYTES_PER_ELEMENT,1);this.uo[0]=e||0;this.bH=new Float32Array(g,h+2*Float32Array.BYTES_PER_ELEMENT,1);this.bH[0]=f||0};C.Xh.BYTES_PER_ELEMENT=12;Object.defineProperties(C.Xh.prototype,{x:{get:function(){return this.to[0]},set:function(b){this.to[0]=b},enumerable:n},y:{get:function(){return this.uo[0]},set:function(b){this.uo[0]=b},enumerable:n},la:{get:function(){return this.bH[0]},
- set:function(b){this.bH[0]=b},enumerable:n}});C.Bl=function(b,e,f,g){this.Dd=f||new ArrayBuffer(C.Bl.BYTES_PER_ELEMENT);this.Sb=g||0;this.PG=new Float32Array(this.Dd,this.Sb,1);this.VG=new Float32Array(this.Dd,this.Sb+4,1);this.PG[0]=b||0;this.VG[0]=e||0};C.Bl.BYTES_PER_ELEMENT=8;Object.defineProperties(C.Bl.prototype,{wa:{get:function(){return this.PG[0]},set:function(b){this.PG[0]=b},enumerable:n},O:{get:function(){return this.VG[0]},set:function(b){this.VG[0]=b},enumerable:n}});C.jD=function(b,
- e,f,g,h,m){this.Dd=h||new ArrayBuffer(C.jD.BYTES_PER_ELEMENT);this.Sb=m||0;h=this.Dd;m=C.rc.BYTES_PER_ELEMENT;this.Yq=b?new C.rc(b.x,b.y,h,0):new C.rc(0,0,h,0);this.cr=e?new C.rc(e.x,e.y,h,m):new C.rc(0,0,h,m);this.Hp=f?new C.rc(f.x,f.y,h,2*m):new C.rc(0,0,h,2*m);this.Jp=g?new C.rc(g.x,g.y,h,3*m):new C.rc(0,0,h,3*m)};C.jD.BYTES_PER_ELEMENT=32;C.Eaa=function(b,e,f,g){this.nb=b||new C.Xh(0,0,0);this.sb=e||new C.Xh(0,0,0);this.Fb=f||new C.Xh(0,0,0);this.pb=g||new C.Xh(0,0,0)};Object.defineProperties(C.jD.prototype,
- {Fb:{get:x("Yq"),set:function(b){this.Yq.x=b.x;this.Yq.y=b.y},enumerable:n},pb:{get:x("cr"),set:function(b){this.cr.x=b.x;this.cr.y=b.y},enumerable:n},nb:{get:x("Hp"),set:function(b){this.Hp.x=b.x;this.Hp.y=b.y},enumerable:n},sb:{get:x("Jp"),set:function(b){this.Jp.x=b.x;this.Jp.y=b.y},enumerable:n}});C.kh=function(b,e,f,g,h){this.Dd=g||new ArrayBuffer(C.kh.BYTES_PER_ELEMENT);this.Sb=h||0;g=this.Dd;h=this.Sb;var m=C.Xh.BYTES_PER_ELEMENT;this.fr=b?new C.Xh(b.x,b.y,b.la,g,h):new C.Xh(0,0,0,g,h);this.st=
- e?C.color(e.r,e.g,e.b,e.a,g,h+m):C.color(0,0,0,0,g,h+m);this.eo=f?new C.Bl(f.wa,f.O,g,h+m+C.bg.BYTES_PER_ELEMENT):new C.Bl(0,0,g,h+m+C.bg.BYTES_PER_ELEMENT)};C.kh.BYTES_PER_ELEMENT=24;Object.defineProperties(C.kh.prototype,{k:{get:x("fr"),set:function(b){var e=this.fr;e.x=b.x;e.y=b.y;e.la=b.la},enumerable:n},B:{get:x("st"),set:function(b){var e=this.st;e.r=b.r;e.g=b.g;e.b=b.b;e.a=b.a},enumerable:n},n:{get:x("eo"),set:function(b){this.eo.wa=b.wa;this.eo.O=b.O},enumerable:n}});C.Ac=function(b,e,f,g,
- h,m){this.Dd=h||new ArrayBuffer(C.Ac.BYTES_PER_ELEMENT);this.Sb=m||0;h=this.Dd;m=this.Sb;var r=C.kh.BYTES_PER_ELEMENT;this.Yq=b?new C.kh(b.k,b.B,b.n,h,m):new C.kh(p,p,p,h,m);this.Hp=e?new C.kh(e.k,e.B,e.n,h,m+r):new C.kh(p,p,p,h,m+r);this.cr=f?new C.kh(f.k,f.B,f.n,h,m+2*r):new C.kh(p,p,p,h,m+2*r);this.Jp=g?new C.kh(g.k,g.B,g.n,h,m+3*r):new C.kh(p,p,p,h,m+3*r)};C.Ac.BYTES_PER_ELEMENT=96;Object.defineProperties(C.Ac.prototype,{Fb:{get:x("Yq"),set:function(b){var e=this.Yq;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n},
- nb:{get:x("Hp"),set:function(b){var e=this.Hp;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n},pb:{get:x("cr"),set:function(b){var e=this.cr;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n},sb:{get:x("Jp"),set:function(b){var e=this.Jp;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n},qA:{get:x("Dd"),enumerable:n}});C.RX=function(){return new C.Ac};C.OL=function(b){if(!b)return C.RX();var e=b.Fb,f=b.nb,g=b.pb;b=b.sb;return{Fb:{k:{x:e.k.x,y:e.k.y,la:e.k.la},B:{r:e.B.r,g:e.B.g,b:e.B.b,a:e.B.a},n:{wa:e.n.wa,O:e.n.O}},nb:{k:{x:f.k.x,
- y:f.k.y,la:f.k.la},B:{r:f.B.r,g:f.B.g,b:f.B.b,a:f.B.a},n:{wa:f.n.wa,O:f.n.O}},pb:{k:{x:g.k.x,y:g.k.y,la:g.k.la},B:{r:g.B.r,g:g.B.g,b:g.B.b,a:g.B.a},n:{wa:g.n.wa,O:g.n.O}},sb:{k:{x:b.k.x,y:b.k.y,la:b.k.la},B:{r:b.B.r,g:b.B.g,b:b.B.b,a:b.B.a},n:{wa:b.n.wa,O:b.n.O}}}};C.mba=function(b){if(!b)return[];for(var e=[],f=0;f<b.length;f++)e.push(C.OL(b[f]));return e};C.le=function(b,e,f,g,h){this.Dd=g||new ArrayBuffer(C.le.BYTES_PER_ELEMENT);this.Sb=h||0;g=this.Dd;h=this.Sb;var m=C.rc.BYTES_PER_ELEMENT;this.fr=
- b?new C.rc(b.x,b.y,g,h):new C.rc(0,0,g,h);this.st=e?C.color(e.r,e.g,e.b,e.a,g,h+m):C.color(0,0,0,0,g,h+m);this.eo=f?new C.Bl(f.wa,f.O,g,h+m+C.bg.BYTES_PER_ELEMENT):new C.Bl(0,0,g,h+m+C.bg.BYTES_PER_ELEMENT)};C.le.BYTES_PER_ELEMENT=20;Object.defineProperties(C.le.prototype,{k:{get:x("fr"),set:function(b){this.fr.x=b.x;this.fr.y=b.y},enumerable:n},B:{get:x("st"),set:function(b){var e=this.st;e.r=b.r;e.g=b.g;e.b=b.b;e.a=b.a},enumerable:n},n:{get:x("eo"),set:function(b){this.eo.wa=b.wa;this.eo.O=b.O},
- enumerable:n}});C.qc=function(b,e,f,g,h){this.Dd=g||new ArrayBuffer(C.qc.BYTES_PER_ELEMENT);this.Sb=h||0;g=this.Dd;h=this.Sb;var m=C.le.BYTES_PER_ELEMENT;this.TL=b?new C.le(b.k,b.B,b.n,g,h):new C.le(p,p,p,g,h);this.aM=e?new C.le(e.k,e.B,e.n,g,h+m):new C.le(p,p,p,g,h+m);this.iM=f?new C.le(f.k,f.B,f.n,g,h+2*m):new C.le(p,p,p,g,h+2*m)};C.qc.BYTES_PER_ELEMENT=60;Object.defineProperties(C.qc.prototype,{a:{get:x("TL"),set:function(b){var e=this.TL;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n},b:{get:x("aM"),set:function(b){var e=
- this.aM;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n},va:{get:x("iM"),set:function(b){var e=this.iM;e.k=b.k;e.B=b.B;e.n=b.n},enumerable:n}})};C.F.bD=function(){var b=C.color;b.MZ=function(){return b(255,255,255)};b.QZ=function(){return b(255,255,0)};b.lZ=function(){return b(0,0,255)};b.qZ=function(){return b(0,255,0)};b.DZ=function(){return b(255,0,0)};b.wZ=function(){return b(255,0,255)};b.kZ=function(){return b(0,0,0)};b.BZ=function(){return b(255,127,0)};b.pZ=function(){return b(166,166,166)};C.c(b,"WHITE",b.MZ);C.c(b,"YELLOW",b.QZ);C.c(b,"BLUE",b.lZ);C.c(b,"GREEN",b.qZ);C.c(b,"RED",b.DZ);C.c(b,"MAGENTA",b.wZ);C.c(b,"BLACK",b.kZ);C.c(b,
- "ORANGE",b.BZ);C.c(b,"GRAY",b.pZ)};C.bg=function(b,c,e,f){this.r=b||0;this.g=c||0;this.b=e||0;this.a=f||255};C.color=function(b,c,e,f){return b===k?{r:0,g:0,b:0,a:255}:"string"===typeof b?C.wQ(b):"object"===typeof b?{r:b.r,g:b.g,b:b.b,a:b.a||255}:{r:b,g:c,b:e,a:f||255}};C.Yda=function(b,c){return b.r===c.r&&b.g===c.g&&b.b===c.b};C.AT=function(){this.timestamp=this.la=this.y=this.x=0};C.rc=function(b,c){this.x=b||0;this.y=c||0};C.Xh=function(b,c,e){this.x=b||0;this.y=c||0;this.la=e||0};C.Bl=function(b,c){this.wa=b||0;this.O=c||0};
- C.Wm=function(b,c){this.src=b;this.Qa=c};C.Ida=function(){return new C.Wm(C.ONE,C.ZERO)};C.wQ=function(b){b=b.replace(/^#?/,"0x");b=parseInt(b);return C.color(b>>16,(b>>8)%256,b%256)};C.Zda=function(b){var c=b.r.toString(16),e=b.g.toString(16),f=b.b.toString(16);return"#"+(16>b.r?"0"+c:c)+(16>b.g?"0"+e:e)+(16>b.b?"0"+f:f)};C.mx=0;C.en=1;C.GL=2;C.Zs=0;C.yD=1;C.PL=2;
- C.sba=C.Ca.extend({tq:p,Ku:p,ID:0,ctor:function(){this.tq={};this.Ku={};this.ID=2<<(0|10*Math.random())},$X:function(){this.ID++;return"key_"+this.ID},ona:function(b,c){if(c!=p){var e=this.$X();this.tq[e]=c;this.Ku[e]=b}},s6:function(b){if(b==p)return p;var c=this.tq,e;for(e in c)if(c[e]===b)return this.Ku[e];return p},Noa:function(b){return this.s6(b)},m7:function(b){if(b!=p){var c=this.tq,e;for(e in c)if(c[e]===b){delete this.Ku[e];delete c[e];break}}},Dla:function(b){if(b!=p)for(var c=0;c<b.length;c++)this.m7(b[c])},
- z1:function(){var b=[],c=this.tq,e;for(e in c)b.push(c[e]);return b},pla:function(){this.tq={};this.Ku={}},count:function(){return this.z1().length}});C.xK=function(){this.fontName="Arial";this.fontSize=12;this.textAlign=C.en;this.verticalAlign=C.Zs;this.fillStyle=C.color(255,255,255,255);this.boundingHeight=this.boundingWidth=0;this.zJ=q;this.strokeStyle=C.color(255,255,255,255);this.lineWidth=1;this.PS=q;this.shadowBlur=this.shadowOffsetY=this.shadowOffsetX=0;this.shadowOpacity=1};
- C.ca===C.Nb&&(C.assert("function"===typeof C.F.AD,C.e.od,"CCTypesWebGL.js"),C.F.AD(),delete C.F.AD);C.assert("function"===typeof C.F.bD,C.e.od,"CCTypesPropertyDefine.js");C.F.bD();delete C.F.bD;C.Taa=[];C.Uaa={};
- C.FC=C.Ca.extend({hy:p,gf:p,Wp:p,nm:p,pf:p,Mj:p,bG:q,RD:n,un:1,YG:"",ZF:p,W:1,$N:1,na:1,aO:1,lq:0,vF:5,oi:p,wO:p,AO:p,zO:p,xO:p,yO:p,Rt:q,Aba:q,cda:p,xN:p,yN:p,Uca:q,oE:p,$l:p,QE:1,wx:q,DN:n,ctor:function(){var b=document,c=C.tl,e=C.eh;this.$l=C.container.parentNode===b.body?b.documentElement:C.container.parentNode;this.gf=H(0,0);this.hF();var b=C.ub.width,f=C.ub.height;this.Wp=H(b,f);this.nm=H(b,f);this.pf=J(0,0,b,f);this.Mj=J(0,0,b,f);this.oE={left:0,top:0};this.YG="Cocos2dHTML5";b=C.ic;this.P2(b.EI==
- b.WK||b.EI==b.XK);C.jp&&C.jp.s(this.Mj);this.wO=new C.zf(c.xw,e.JC);this.AO=new C.zf(c.YV,e.jx);this.zO=new C.zf(c.xw,e.WC);this.xO=new C.zf(c.xw,e.KC);this.yO=new C.zf(c.xw,e.Rw);this.xN=C.ub;this.yN=C.o},$F:function(){var b=this.nm.width,c=this.nm.height;this.ZF&&(this.hF(),this.ZF.call());0<b&&this.EB(b,c,this.oi)},s7:function(b){b?this.wx||(this.wx=n,b=this.$F.bind(this),C.mb(window,"resize",b,q)):this.wx&&(this.wx=n,b=this.$F.bind(this),window.removeEventListener("resize",b,q))},Ena:function(b){if("function"==
- typeof b||b==p)this.ZF=b},hF:function(){var b=this.gf;b.width=this.$l.clientWidth;b.height=this.$l.clientHeight},tba:function(){var b=this.nm.width,c=this.nm.height;0<b&&this.EB(b,c,this.oi)},K0:function(){if(this.DN){var b={"user-scalable":"no","maximum-scale":"1.0","initial-scale":"1.0"},c=document.getElementsByName("viewport"),e;0==c.length?(c=C.Uc("meta"),c.name="viewport",c.content="",document.head.appendChild(c)):c=c[0];if(C.ic.Vj&&C.ic.Dm==C.ic.es)c.content="initial-scale:1";else{e=c.content;
- for(var f in b)RegExp(f).test(e)||(e+=(""==e?"":",")+f+"\x3d"+b[f]);c.content=e}}},u0:function(){var b=C.Tb();this.na=this.W=b},Z_:function(){this.W=this.$N;this.na=this.aO},uba:t(),z5:function(){this.Rt=n},t1:v("DN"),P2:function(b){this.bG=b?n:q},gja:x("bG"),cfa:function(b){this.RD=b?n:q},Kia:x("RD"),end:t(),bja:function(){return this.xN!=p&&this.yN!=p},bna:function(b){this.QE=b;C.jb.cw(C.jb.qm)},poa:t(),fna:t(),Oma:function(b,c){this.oE={left:b,top:c}},uga:x("oE"),Pga:function(){return H(this.gf.width,
- this.gf.height)},ana:function(b,c){this.gf.width=b;this.gf.height=c;this.$l.style.width=b+"px";this.$l.style.height=c+"px";this.$F();C.jb.cw(C.jb.qm)},Rda:t(),lv:function(){return H(this.Mj.width,this.Mj.height)},bI:function(){return F(this.Mj.x,this.Mj.y)},Lda:A(n),Fha:x("oi"),A8:function(b){if(b instanceof C.zf)this.oi=b;else{var c=C.zf;b===c.JC&&(this.oi=this.wO);b===c.jx&&(this.oi=this.AO);b===c.WC&&(this.oi=this.zO);b===c.KC&&(this.oi=this.xO);b===c.Rw&&(this.oi=this.yO)}},EB:function(b,c,e){if(isNaN(b)||
- 0==b||isNaN(c)||0==c)C.log(C.e.DU);else{this.A8(e);var f=this.oi;if(f){f.To(this);var g=this.gf.width,h=this.gf.height;C.ic.Vj&&this.K0(this.gf.width,this.gf.height);this.hF();e==this.oi&&b==this.nm.width&&c==this.nm.height&&g==this.gf.width&&h==this.gf.height||(this.Wp=H(b,c),this.nm=H(b,c),b=f.apply(this,this.Wp),b.scale&&2==b.scale.length&&(this.W=b.scale[0],this.na=b.scale[1]),b.viewport&&(b=this.pf=b.viewport,c=this.Mj,c.width=C.ub.width/this.W,c.height=C.ub.height/this.na,c.x=-b.x/this.W,c.y=
- -b.y/this.na),b=C.jb,C.ql.width=b.ib.width=this.Mj.width,C.ql.height=b.ib.height=this.Mj.height,f.So(this),C.ca==C.Nb&&(b.Vp(),b.fS()),this.$N=this.W,this.aO=this.na,C.uU&&C.uU.Jca(),C.jp&&C.jp.s(this.Mj))}else C.log(C.e.EU)}},OH:function(){return H(this.Wp.width,this.Wp.height)},P8:function(b,c,e,f){var g=this.QE,h=this.W,m=this.na;C.o.viewport(b*h*g+this.pf.x*g,c*m*g+this.pf.y*g,e*h*g,f*m*g)},RB:function(b,c,e,f){var g=this.QE,h=this.W,m=this.na;C.o.scissor(b*h*g+this.pf.x*g,c*m*g+this.pf.y*g,e*
- h*g,f*m*g)},Q5:function(){var b=C.o;return b.isEnabled(b.SCISSOR_TEST)},C4:function(){var b=C.o,c=this.W,e=this.na,b=b.getParameter(b.SCISSOR_BOX);return J((b[0]-this.pf.x)/c,(b[1]-this.pf.y)/e,b[2]/c,b[3]/e)},Zna:function(b){b!=p&&0<b.length&&(this.YG=b)},kia:x("YG"),lia:x("pf"),iQ:x("W"),jQ:x("na"),Hga:x("un"),uH:function(b,c,e){return{x:this.un*(b-e.left),y:this.un*(e.top+e.height-c)}},JY:function(b,c){var e=this.pf;b.x=(this.un*(b.x-c.left)-e.x)/this.W;b.y=(this.un*(c.top+c.height-b.y)-e.y)/this.na},
- ey:function(b){for(var c=this.pf,e=this.W,f=this.na,g,h,m,r=0;r<b.length;r++)g=b[r],h=g.se,m=g.Gj,g.oG((h.x-c.x)/e,(h.y-c.y)/f),g.Mq((m.x-c.x)/e,(m.y-c.y)/f)}});C.FC.WE=function(){this.Qy||(this.Qy=this.Qy||new C.FC,this.Qy.z5());return this.Qy};
- C.tl=C.Ca.extend({To:t(),apply:t(),So:t(),sG:function(b,c,e){var f=b.$l;C.view.RD&&(C.ic.Vj&&f==document.documentElement)&&C.screen.N1(f);var f=C.ub,g=C.container;g.style.width=f.style.width=c+"px";g.style.height=f.style.height=e+"px";g=b.un=1;b.bG&&(g=b.un=window.devicePixelRatio||1);f.width=c*g;f.height=e*g;b=document.body;var h;if(b&&(h=b.style))h.paddingTop=h.paddingTop||"0px",h.paddingRight=h.paddingRight||"0px",h.paddingBottom=h.paddingBottom||"0px",h.paddingLeft=h.paddingLeft||"0px",h.borderTop=
- h.borderTop||"0px",h.borderRight=h.borderRight||"0px",h.borderBottom=h.borderBottom||"0px",h.borderLeft=h.borderLeft||"0px",h.marginTop=h.marginTop||"0px",h.marginRight=h.marginRight||"0px",h.marginBottom=h.marginBottom||"0px",h.marginLeft=h.marginLeft||"0px"},gN:function(){document.body.insertBefore(C.container,document.body.firstChild);var b=document.body.style;b.width=window.innerWidth+"px";b.height=window.innerHeight+"px";b.overflow="hidden";b=C.container.style;b.position="fixed";b.left=b.top=
- "0px";document.body.scrollTop=0}});C.eh=C.Ca.extend({aG:{scale:[1,1],viewport:p},mt:function(b,c,e,f,g,h){2>Math.abs(b-e)&&(e=b);2>Math.abs(c-f)&&(f=c);b=J(Math.round((b-e)/2),Math.round((c-f)/2),e,f);C.ca==C.Ub&&C.o.translate(b.x,b.y+f);this.aG.scale=[g,h];this.aG.viewport=b;return this.aG},To:t(),apply:function(){return{scale:[1,1]}},So:t()});
- (function(){var b=C.tl.extend({apply:function(b){this.sG(b,b.gf.width,b.gf.height)}}),c=C.tl.extend({apply:function(b,c){var e=b.gf.width,f=b.gf.height,g=C.container.style,y=c.width,z=c.height,B=e/y,E=f/z,I,G;B<E?(I=e,G=z*B):(I=y*E,G=f);y=Math.round((e-I)/2);G=Math.round((f-G)/2);this.sG(b,e-2*y,f-2*G);g.marginLeft=y+"px";g.marginRight=y+"px";g.marginTop=G+"px";g.marginBottom=G+"px"}});b.extend({To:function(b){this._super(b);b.$l=document.documentElement},apply:function(b){this._super(b);this.gN()}});
- c.extend({To:function(b){this._super(b);b.$l=document.documentElement},apply:function(b,c){this._super(b,c);this.gN()}});var e=C.tl.extend({apply:function(b){this.sG(b,C.ub.width,C.ub.height)}});C.tl.xw=new b;C.tl.YV=new c;C.tl.Aaa=new e;var b=C.eh.extend({apply:function(b,c){var e=C.ub.width,f=C.ub.height;return this.mt(e,f,e,f,e/c.width,f/c.height)}}),c=C.eh.extend({apply:function(b,c){var e=C.ub.width,f=C.ub.height,g=c.width,y=c.height,z=e/g,B=f/y,E=0,I,G;z<B?(E=z,I=e,G=y*E):(E=B,I=g*E,G=f);return this.mt(e,
- f,I,G,E,E)}}),e=C.eh.extend({apply:function(b,c){var e=C.ub.width,f=C.ub.height,g=c.width,y=c.height,z=e/g,B=f/y,E,I,G;z<B?(E=B,I=g*E,G=f):(E=z,I=e,G=y*E);return this.mt(e,f,I,G,E,E)}}),f=C.eh.extend({apply:function(b,c){var e=C.ub.width,f=C.ub.height,g=f/c.height;return this.mt(e,f,e,f,g,g)},So:function(b){C.jb.ib=b.lv()}}),g=C.eh.extend({apply:function(b,c){var e=C.ub.width,f=C.ub.height,g=e/c.width;return this.mt(e,f,e,f,g,g)},So:function(b){C.jb.ib=b.lv()}});C.eh.JC=new b;C.eh.jx=new c;C.eh.WC=
- new e;C.eh.KC=new f;C.eh.Rw=new g})();C.zf=C.Ca.extend({by:p,cy:p,ctor:function(b,c){this.V7(b);this.X7(c)},To:function(b){this.by.To(b);this.cy.To(b)},apply:function(b,c){this.by.apply(b,c);return this.cy.apply(b,c)},So:function(b){this.by.So(b);this.cy.So(b)},V7:function(b){b instanceof C.tl&&(this.by=b)},X7:function(b){b instanceof C.eh&&(this.cy=b)}});C.zf.JC=0;C.zf.WC=1;C.zf.jx=2;C.zf.KC=3;C.zf.Rw=4;C.zf.PX=5;C.screen={Pz:q,LF:p,NG:"",Zl:p,ZY:[["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"]],s:function(){this.Zl={};var b,c,e=this.ZY,f;b=0;for(l=e.length;b<l;b++)if((c=e[b])&&c[1]in document){b=0;for(f=c.length;b<f;b++)this.Zl[e[0][b]]=c[b];break}this.Pz=this.Zl.requestFullscreen!=k;this.NG="ontouchstart"in window?"touchstart":"mousedown"},fullScreen:function(){return this.Pz&&document[this.Zl.fullscreenEnabled]},FR:function(b,c){if(this.Pz){b=b||document.documentElement;b[this.Zl.requestFullscreen]();if(c){var e=this.Zl.Ifa;
- this.LF&&document.removeEventListener(e,this.LF);this.LF=c;C.mb(document,e,c,q)}return b[this.Zl.requestFullscreen]()}},jfa:function(){return this.Pz?document[this.Zl.exitFullscreen]():n},N1:function(b,c){function e(){g.FR(b,c);f.removeEventListener(g.NG,e)}b=b||document.body;var f=C.ub||b,g=this;this.FR(b,c);C.mb(f,this.NG,e)}};C.screen.s();C.jp={cT:F(0,0),dT:F(0,0),top:F(0,0),hH:F(0,0),DP:F(0,0),bottom:F(0,0),uA:F(0,0),left:F(0,0),right:F(0,0),width:0,height:0,s:function(b){var c=this.width=b.width,e=this.height=b.height,f=b.x;b=b.y;var g=b+e,h=f+c;this.cT.x=f;this.cT.y=g;this.dT.x=h;this.dT.y=g;this.top.x=f+c/2;this.top.y=g;this.hH.x=f;this.hH.y=b;this.DP.x=h;this.DP.y=b;this.bottom.x=f+c/2;this.bottom.y=b;this.uA.x=f+c/2;this.uA.y=b+e/2;this.left.x=f;this.left.y=b+e/2;this.right.x=h;this.right.y=b+e/2}};C.LX=-90;C.MX=90;C.NX=180;C.Vaa=0;
- C.HQ={zq:q,KN:q,gO:F(0,0),P_:F(0,0),hO:[],MF:0,vd:[],OG:{},lq:0,vF:5,yx:q,zx:1/30,VL:1,gn:0,KD:p,xx:p,LZ:function(){for(var b=this.lq,c=0;c<this.vF;c++){if(!(b&1))return this.lq|=1<<c,c;b>>=1}return-1},X_:function(b){0>b||b>=this.vF||(b=~(1<<b),this.lq&=b)},am:p,cI:function(b){for(var c,e,f,g=[],h=this.OG,m=0,r=b.length;m<r;m++)c=b[m],f=c.ei,e=h[f],e==p&&(e=this.LZ(),-1==e?C.log(C.e.A5,e):(c=this.vd[e]=c,h[f]=e,g.push(c)));0<g.length&&(this.am.ey(g),b=new C.fh(g),b.Vl=C.fh.pp.gC,C.pa.dispatchEvent(b))},
- dI:function(b){for(var c,e,f=[],g=this.vd,h=0,m=b.length;h<m;h++)c=b[h],e=c.ei,e=this.OG[e],e!=p&&g[e]&&(g[e].oG(c.se),g[e].Mq(c.Gj),f.push(g[e]));0<f.length&&(this.am.ey(f),b=new C.fh(f),b.Vl=C.fh.pp.UC,C.pa.dispatchEvent(b))},YA:function(b){b=this.kQ(b);0<b.length&&(this.am.ey(b),b=new C.fh(b),b.Vl=C.fh.pp.GC,C.pa.dispatchEvent(b))},vQ:function(b){b=this.kQ(b);0<b.length&&(this.am.ey(b),b=new C.fh(b),b.Vl=C.fh.pp.qC,C.pa.dispatchEvent(b))},kQ:function(b){for(var c,e,f,g=[],h=this.vd,m=this.OG,r=
- 0,s=b.length;r<s;r++)c=b[r],f=c.ei,e=m[f],e!=p&&h[e]&&(h[e].oG(c.se),h[e].Mq(c.Gj),g.push(h[e]),this.X_(e),delete m[f]);return g},Gi:function(b){var c=document.documentElement,e=window,f=p,f="function"===typeof b.getBoundingClientRect?b.getBoundingClientRect():b instanceof HTMLCanvasElement?{left:0,top:0,width:b.width,height:b.height}:{left:0,top:0,width:parseInt(b.style.width),height:parseInt(b.style.height)};return{left:f.left+e.pageXOffset-c.clientLeft,top:f.top+e.pageYOffset-c.clientTop,width:f.width,
- height:f.height}},t4:function(b){for(var c=p,e=this.hO,f=b.ei,g=e.length-1;0<=g;g--)if(e[g].ei==f){c=e[g];break}c||(c=b);return c},x8:function(b){for(var c=q,e=this.hO,f=b.ei,g=e.length-1;0<=g;g--)if(e[g].ei==f){e[g]=b;c=n;break}c||(50>=e.length?e.push(b):(e[this.MF]=b,this.MF=(this.MF+1)%50))},kv:function(b,c,e){var f=this.gO;b=this.am.uH(b,c,e);c=new C.uD(b.x,b.y);c.Mq(f.x,f.y);f.x=b.x;f.y=b.y;return c},nr:function(b,c,e){var f=this.P_;this.am.JY(b,c);c=new C.Lc(e);c.k8(b.x,b.y);c.o0(f.x,f.y);f.x=
- b.x;f.y=b.y;return c},or:function(b,c){if(b.pageX!=p)return{x:b.pageX,y:b.pageY};c.left-=document.body.scrollLeft;c.top-=document.body.scrollTop;return{x:b.clientX,y:b.clientY}},VA:function(b,c){for(var e=[],f=this.am,g,h,m=this.gO,r=b.changedTouches.length,s=0;s<r;s++)if(g=b.changedTouches[s]){var u;u=C.ic.es===C.ic.Dm?f.uH(g.pageX,g.pageY,c):f.uH(g.clientX,g.clientY,c);g.identifier!=p?(g=new C.uD(u.x,u.y,g.identifier),h=this.t4(g).ie(),g.Mq(h.x,h.y),this.x8(g)):(g=new C.uD(u.x,u.y),g.Mq(m.x,m.y));
- m.x=u.x;m.y=u.y;e.push(g)}return e},d7:function(b){if(!this.KN){var c=this.am=C.view,e=this,f="touches"in C.ic.Ru;"mouse"in C.ic.Ru&&(C.mb(window,"mousedown",function(){e.zq=n},q),C.mb(window,"mouseup",function(c){var g=e.zq;e.zq=q;if(g){var g=e.Gi(b),h=e.or(c,g);C.Vo(new C.xp(g.left,g.top,g.width,g.height),h)||(f||e.YA([e.kv(h.x,h.y,g)]),g=e.nr(h,g,C.Lc.jh),g.ap(c.button),C.pa.dispatchEvent(g))}},q),C.mb(b,"mousedown",function(c){e.zq=n;var g=e.Gi(b),h=e.or(c,g);f||e.cI([e.kv(h.x,h.y,g)]);g=e.nr(h,
- g,C.Lc.Sh);g.ap(c.button);C.pa.dispatchEvent(g);c.stopPropagation();c.preventDefault();b.focus()},q),C.mb(b,"mouseup",function(c){e.zq=q;var g=e.Gi(b),h=e.or(c,g);f||e.YA([e.kv(h.x,h.y,g)]);g=e.nr(h,g,C.Lc.jh);g.ap(c.button);C.pa.dispatchEvent(g);c.stopPropagation();c.preventDefault()},q),C.mb(b,"mousemove",function(c){var g=e.Gi(b),h=e.or(c,g);f||e.dI([e.kv(h.x,h.y,g)]);g=e.nr(h,g,C.Lc.SK);e.zq?g.ap(c.button):g.ap(p);C.pa.dispatchEvent(g);c.stopPropagation();c.preventDefault()},q),C.mb(b,"mousewheel",
- function(c){var f=e.Gi(b),g=e.or(c,f),f=e.nr(g,f,C.Lc.nD);f.ap(c.button);f.ES(0,c.wheelDelta);C.pa.dispatchEvent(f);c.stopPropagation();c.preventDefault()},q),C.mb(b,"DOMMouseScroll",function(c){var f=e.Gi(b),g=e.or(c,f),f=e.nr(g,f,C.Lc.nD);f.ap(c.button);f.ES(0,-120*c.detail);C.pa.dispatchEvent(f);c.stopPropagation();c.preventDefault()},q));if(window.navigator.msPointerEnabled){var g={MSPointerDown:e.cI,MSPointerMove:e.dI,MSPointerUp:e.YA,MSPointerCancel:e.vQ},h;for(h in g)(function(c,f){C.mb(b,
- c,function(c){var g=e.Gi(b);g.left-=document.documentElement.scrollLeft;g.top-=document.documentElement.scrollTop;f.call(e,[e.kv(c.clientX,c.clientY,g)]);c.stopPropagation()},q)})(h,g[h])}f&&(C.mb(b,"touchstart",function(c){if(c.changedTouches){var f=e.Gi(b);f.left-=document.body.scrollLeft;f.top-=document.body.scrollTop;e.cI(e.VA(c,f));c.stopPropagation();c.preventDefault();b.focus()}},q),C.mb(b,"touchmove",function(c){if(c.changedTouches){var f=e.Gi(b);f.left-=document.body.scrollLeft;f.top-=document.body.scrollTop;
- e.dI(e.VA(c,f));c.stopPropagation();c.preventDefault()}},q),C.mb(b,"touchend",function(c){if(c.changedTouches){var f=e.Gi(b);f.left-=document.body.scrollLeft;f.top-=document.body.scrollTop;e.YA(e.VA(c,f));c.stopPropagation();c.preventDefault()}},q),C.mb(b,"touchcancel",function(f){if(f.changedTouches){var g=e.Gi(b);g.left-=document.body.scrollLeft;g.top-=document.body.scrollTop;c.vQ(e.VA(f,g));f.stopPropagation();f.preventDefault()}},q));this.rO();this.qO();this.KN=n}},rO:t(),qO:t(),update:function(b){this.gn>
- this.zx&&(this.gn-=this.zx,C.pa.dispatchEvent(new C.NU(this.KD)));this.gn+=b}};var D=C.HQ;D.uma=function(b){this.yx!==b&&(this.yx=b,b=C.jb.Hm(),this.yx?(this.gn=0,b.QI(this)):(this.gn=0,b.iw(this)))};D.vma=function(b){this.zx!==b&&(this.zx=b)};D.rO=function(){C.mb(C.ub,"keydown",function(b){C.pa.dispatchEvent(new C.wK(b.keyCode,n));b.stopPropagation();b.preventDefault()},q);C.mb(C.ub,"keyup",function(b){C.pa.dispatchEvent(new C.wK(b.keyCode,q));b.stopPropagation();b.preventDefault()},q)};
- D.qO=function(){var b=window;this.KD=new C.AT;this.xx=b.DeviceMotionEvent||b.DeviceOrientationEvent;C.ic.Dm==C.ic.PJ&&(this.xx=window.DeviceOrientationEvent);var c=this.xx==b.DeviceMotionEvent?"devicemotion":"deviceorientation",e=navigator.userAgent;if(/Android/.test(e)||/Adr/.test(e)&&C.ic.Dm==C.QJ)this.Bca=-1;C.mb(b,c,this.t2.bind(this),q)};
- D.t2=function(b){var c=window;if(this.yx){var e=this.KD;if(this.xx==window.DeviceMotionEvent){var f=b.accelerationIncludingGravity;e.x=0.1*this.VL*f.x;e.y=0.1*this.VL*f.y;e.la=0.1*f.la}else e.x=0.981*(b.gamma/90),e.y=0.981*-(b.beta/90),e.la=0.981*(b.alpha/90);e.timestamp=b.timeStamp||Date.now();b=e.x;c.orientation===C.MX?(e.x=-e.y,e.y=b):c.orientation===C.LX?(e.x=e.y,e.y=-b):c.orientation===C.NX&&(e.x=-e.x,e.y=-e.y)}};delete D;C.f$=function(b,c,e,f,g,h){this.a=b;this.b=c;this.va=e;this.xa=f;this.Sa=g;this.Ta=h};C.i$=function(b,c,e,f,g,h){return{a:b,b:c,va:e,xa:f,Sa:g,Ta:h}};C.uL=function(b,c){return{x:c.a*b.x+c.va*b.y+c.Sa,y:c.b*b.x+c.xa*b.y+c.Ta}};C.Gl=function(b,c,e){return{x:e.a*b+e.va*c+e.Sa,y:e.b*b+e.xa*c+e.Ta}};C.Laa=function(b,c){return{width:c.a*b.width+c.va*b.height,height:c.b*b.width+c.xa*b.height}};C.j$=function(){return{a:1,b:0,va:0,xa:1,Sa:0,Ta:0}};C.h$=function(){return{a:1,b:0,va:0,xa:1,Sa:0,Ta:0}};
- C.ih=function(b,c){var e=C.Fr(b),f=C.Er(b),g=C.Nv(b),h=C.Ov(b),m=C.Gl(f,e,c),e=C.Gl(g,e,c),f=C.Gl(f,h,c),r=C.Gl(g,h,c),g=Math.min(m.x,e.x,f.x,r.x),h=Math.max(m.x,e.x,f.x,r.x),s=Math.min(m.y,e.y,f.y,r.y),m=Math.max(m.y,e.y,f.y,r.y);return J(g,s,h-g,m-s)};
- C.dj=function(b,c){var e=C.Fr(b),f=C.Er(b),g=C.Nv(b),h=C.Ov(b),m=C.Gl(f,e,c),e=C.Gl(g,e,c),f=C.Gl(f,h,c),r=C.Gl(g,h,c),g=Math.min(m.x,e.x,f.x,r.x),h=Math.max(m.x,e.x,f.x,r.x),s=Math.min(m.y,e.y,f.y,r.y),m=Math.max(m.y,e.y,f.y,r.y);b.x=g;b.y=s;b.width=h-g;b.height=m-s;return b};C.eC=function(b,c,e){return{a:b.a,b:b.b,va:b.va,xa:b.xa,Sa:b.Sa+b.a*c+b.va*e,Ta:b.Ta+b.b*c+b.xa*e}};C.k$=function(b,c,e){return{a:b.a*c,b:b.b*c,va:b.va*e,xa:b.xa*e,Sa:b.Sa,Ta:b.Ta}};
- C.ET=function(b){var c=Math.sin(1.57079633),e=Math.cos(1.57079633);return{a:b.a*e+b.va*c,b:b.b*e+b.xa*c,va:b.va*e-b.a*c,xa:b.xa*e-b.b*c,Sa:b.Sa,Ta:b.Ta}};C.Um=function(b,c){return{a:b.a*c.a+b.b*c.va,b:b.a*c.b+b.b*c.xa,va:b.va*c.a+b.xa*c.va,xa:b.va*c.b+b.xa*c.xa,Sa:b.Sa*c.a+b.Ta*c.va+c.Sa,Ta:b.Sa*c.b+b.Ta*c.xa+c.Ta}};C.g$=function(b,c){return b.a===c.a&&b.b===c.b&&b.va===c.va&&b.xa===c.xa&&b.Sa===c.Sa&&b.Ta===c.Ta};
- C.JJ=function(b){var c=1/(b.a*b.xa-b.b*b.va);return{a:c*b.xa,b:-c*b.b,va:-c*b.va,xa:c*b.a,Sa:c*(b.va*b.Ta-b.xa*b.Sa),Ta:c*(b.b*b.Sa-b.a*b.Ta)}};C.iL=parseFloat("1.192092896e-07F");C.HI=function(b){return F(-b.x,-b.y)};C.hl=function(b,c){return F(b.x+c.x,b.y+c.y)};C.bb=function(b,c){return F(b.x-c.x,b.y-c.y)};C.Zj=function(b,c){return F(b.x*c,b.y*c)};C.GI=function(b,c){return C.Zj(C.hl(b,c),0.5)};C.Br=function(b,c){return b.x*c.x+b.y*c.y};C.C6=function(b,c){return b.x*c.y-b.y*c.x};C.vB=function(b){return F(-b.y,b.x)};C.Dka=function(b){return F(b.y,-b.x)};C.Cka=function(b,c){return C.Zj(c,C.Br(b,c)/C.Br(c,c))};
- C.Eka=function(b,c){return F(b.x*c.x-b.y*c.y,b.x*c.y+b.y*c.x)};C.Jka=function(b,c){return F(b.x*c.x+b.y*c.y,b.y*c.x-b.x*c.y)};C.nR=function(b){return C.Br(b,b)};C.wka=function(b,c){return C.nR(C.bb(b,c))};C.Ce=function(b){return Math.sqrt(C.nR(b))};C.lR=function(b,c){return C.Ce(C.bb(b,c))};C.ld=function(b){return C.Zj(b,1/C.Ce(b))};C.xka=function(b){return F(Math.cos(b),Math.sin(b))};C.Ika=function(b){return Math.atan2(b.y,b.x)};C.Tu=function(b,c,e){if(c>e){var f=c;c=e;e=f}return b<c?c:b<e?b:e};
- C.kR=function(b){var c=F(0,0),e=F(1,1);return F(C.Tu(b.x,c.x,e.x),C.Tu(b.y,c.y,e.y))};C.mR=function(){var b=C.jb.ib;return F(b.width,b.height)};C.vka=function(b,c){return F(c(b.x),c(b.y))};C.oR=function(b,c,e){return C.hl(C.Zj(b,1-e),C.Zj(c,e))};C.yka=function(b,c,e){return b.x-e<=c.x&&c.x<=b.x+e&&b.y-e<=c.y&&c.y<=b.y+e?n:q};C.uka=function(b,c){return F(b.x*c.x,b.y*c.y)};C.tka=function(b,c){var e=C.ld(b),f=C.ld(c),e=Math.atan2(e.x*f.y-e.y*f.x,C.Br(e,f));return Math.abs(e)<C.iL?0:e};
- C.ska=function(b,c){var e=Math.acos(C.Br(C.ld(b),C.ld(c)));return Math.abs(e)<C.iL?0:e};C.E6=function(b,c,e){b=C.bb(b,c);var f=Math.cos(e);e=Math.sin(e);var g=b.x;b.x=g*f-b.y*e+c.x;b.y=g*e+b.y*f+c.y;return b};C.FI=function(b,c,e,f,g){if(b.x==c.x&&b.y==c.y||e.x==f.x&&e.y==f.y)return q;var h=c.x-b.x;c=c.y-b.y;var m=f.x-e.x;f=f.y-e.y;var r=b.x-e.x;b=b.y-e.y;e=f*h-m*c;g.x=m*b-f*r;g.y=h*b-c*r;if(0==e)return 0==g.x||0==g.y?n:q;g.x/=e;g.y/=e;return n};
- C.Gka=function(b,c,e,f){var g=F(0,0);return C.FI(b,c,e,f,g)&&0<=g.x&&1>=g.x&&0<=g.y&&1>=g.y?n:q};C.Aka=function(b,c,e,f){var g=F(0,0);return C.FI(b,c,e,f,g)?(e=F(0,0),e.x=b.x+g.x*(c.x-b.x),e.y=b.y+g.x*(c.y-b.y),e):F(0,0)};C.Fka=function(b,c){return b!=p&&c!=p?b.x==c.x&&b.y==c.y:q};C.Kka=function(b){b.x=0;b.y=0};C.zka=function(b,c){b.x=c.x;b.y=c.y};C.D6=function(b,c){b.x*=c;b.y*=c};C.Hka=function(b,c){b.x-=c.x;b.y-=c.y};C.rka=function(b,c){b.x+=c.x;b.y+=c.y};
- C.Bka=function(b){C.D6(b,1/Math.sqrt(b.x*b.x+b.y*b.y))};C.Ooa=function(b,c,e,f,g){g+=f;if(!(1>=g)){c*=0.5;for(var h,m=g-1,r=f;r<g;r++){h=2*r;var s=F(b[2*r],b[2*r+1]),u;if(0===r)u=C.vB(C.ld(C.bb(s,F(b[2*(r+1)],b[2*(r+1)+1]))));else if(r===m)u=C.vB(C.ld(C.bb(F(b[2*(r-1)],b[2*(r-1)+1]),s)));else{u=F(b[2*(r-1)],b[2*(r-1)+1]);var y=F(b[2*(r+1)],b[2*(r+1)+1]),z=C.ld(C.bb(y,s)),B=C.ld(C.bb(u,s)),E=Math.acos(C.Br(z,B));u=E<C.Yk(70)?C.vB(C.ld(C.GI(z,B))):E<C.Yk(170)?C.ld(C.GI(z,B)):C.vB(C.ld(C.bb(y,u)))}u=C.Zj(u,c);e[2*h]=s.x+u.x;e[2*h+1]=s.y+u.y;e[2*(h+1)]=s.x-
- u.x;e[2*(h+1)+1]=s.y-u.y}for(r=0==f?0:f-1;r<m;r++){h=2*r;b=h+2;c=new C.rc(e[2*h],e[2*h+1]);g=new C.rc(e[2*(h+1)],e[2*(h+1)+1]);h=new C.rc(e[2*b],e[2*b]);f=new C.rc(e[2*(b+1)],e[2*(b+1)+1]);c=!C.H9(c.x,c.y,f.x,f.y,g.x,g.y,h.x,h.y);if(!c.Av&&(0>c.value||1<c.value))c.Av=n;c.Av&&(e[2*b]=f.x,e[2*b+1]=f.y,e[2*(b+1)]=h.x,e[2*(b+1)+1]=h.y)}}};
- C.H9=function(b,c,e,f,g,h,m,r){if(b==e&&c==f||g==m&&h==r)return{Av:q,value:0};e-=b;f-=c;g-=b;h-=c;m-=b;r-=c;b=Math.sqrt(e*e+f*f);e/=b;f/=b;c=g*e+h*f;h=h*e-g*f;g=c;c=m*e+r*f;r=r*e-m*f;m=c;return h==r?{Av:q,value:0}:{Av:n,value:(m+(g-m)*r/(r-h))/b}};C.Poa=function(b){for(var c=0,e=b.length;c<e;c++){var f=b[(c+1)%e];if(0<C.C6(C.bb(f,b[c]),C.bb(b[(c+2)%e],f)))return q}return n};C.x$=function(b,c){c[2]=c[3]=c[6]=c[7]=c[8]=c[9]=c[11]=c[14]=0;c[10]=c[15]=1;c[0]=b.a;c[4]=b.va;c[12]=b.Sa;c[1]=b.b;c[5]=b.xa;c[13]=b.Ta};C.U$=function(b,c){c.a=b[0];c.va=b[4];c.Sa=b[12];c.b=b[1];c.xa=b[5];c.Ta=b[13]};C.uD=C.Ca.extend({se:p,Gj:p,ei:0,UO:q,wu:p,ctor:function(b,c,e){this.se=F(b||0,c||0);this.ei=e||0},ie:function(){return{x:this.se.x,y:this.se.y}},S3:function(){return this.se.x},T3:function(){return this.se.y},SA:function(){return{x:this.Gj.x,y:this.Gj.y}},Nha:function(){return{x:this.wu.x,y:this.wu.y}},t3:function(){return C.bb(this.se,this.Gj)},R3:function(){return{x:this.se.x,y:this.se.y}},zha:function(){return{x:this.Gj.x,y:this.Gj.y}},Oha:function(){return{x:this.wu.x,y:this.wu.y}},Uga:x("ei"),
- Vga:x("ei"),Tna:function(b,c,e){this.Gj=this.se;this.se=F(c||0,e||0);this.ei=b;this.UO||(this.wu=F(this.se),this.UO=n)},oG:function(b,c){c===k?(this.se.x=b.x,this.se.y=b.y):(this.se.x=b,this.se.y=c)},Mq:function(b,c){this.Gj=c===k?F(b.x,b.y):F(b||0,c||0)}});C.zc=C.Ca.extend({Yb:0,En:q,ne:p,iG:v("ne"),ctor:v("Yb"),WA:x("Yb"),stopPropagation:function(){this.En=n},jja:x("En"),Aga:x("ne")});C.zc.nx=0;C.zc.qp=1;C.zc.lp=2;C.zc.bn=3;C.zc.ek=4;C.fk=C.zc.extend({OE:p,jP:p,ctor:function(b){C.zc.prototype.ctor.call(this,C.zc.ek);this.OE=b},setUserData:v("jP"),getUserData:x("jP"),Kga:x("OE")});
- C.Lc=C.zc.extend({aN:0,Sx:0,Ai:0,Sf:0,RF:0,SF:0,CO:0,DO:0,ctor:function(b){C.zc.prototype.ctor.call(this,C.zc.bn);this.aN=b},ES:function(b,c){this.CO=b;this.DO=c},Jha:x("CO"),Kha:x("DO"),k8:function(b,c){this.Ai=b;this.Sf=c},ie:function(){return{x:this.Ai,y:this.Sf}},R3:function(){return{x:this.Ai,y:C.view.Wp.height-this.Sf}},o0:function(b,c){this.RF=b;this.SF=c},t3:function(){return{x:this.Ai-this.RF,y:this.Sf-this.SF}},Fga:function(){return this.Ai-this.RF},Gga:function(){return this.Sf-this.SF},
- ap:v("Sx"),ega:x("Sx"),S3:x("Ai"),T3:x("Sf")});C.Lc.NONE=0;C.Lc.Sh=1;C.Lc.jh=2;C.Lc.SK=3;C.Lc.nD=4;C.Lc.PT=0;C.Lc.QT=2;C.Lc.w$=1;C.Lc.r$=3;C.Lc.s$=4;C.Lc.t$=5;C.Lc.u$=6;C.Lc.v$=7;C.fh=C.zc.extend({Vl:0,vd:p,ctor:function(b){C.zc.prototype.ctor.call(this,C.zc.nx);this.vd=b||[]},Jga:x("Vl"),gia:x("vd"),Oca:v("Vl"),Sca:v("vd")});C.fh.oaa=5;C.fh.pp={gC:0,UC:1,GC:2,qC:3};C.$=C.Ca.extend({CF:p,Yb:0,zj:p,Mf:q,Yl:0,og:p,Ne:q,oq:n,ctor:function(b,c,e){this.CF=e;this.Yb=b||0;this.zj=c||""},nG:v("Ne"),rca:x("Ne"),ou:v("Mf"),i_:x("Mf"),jca:x("Yb"),eca:x("zj"),jG:v("Yl"),cca:x("Yl"),pu:v("og"),hca:x("og"),Em:function(){return this.CF!=p},j:A(p),Ba:v("oq"),isEnabled:x("oq"),NI:t(),Hr:t()});C.$.PX=0;C.$.yl=1;C.$.ox=2;C.$.qp=3;C.$.bn=4;C.$.lp=5;C.$.ek=6;
- C.$s=C.$.extend({du:p,ctor:function(b,c){this.du=c;var e=this;C.$.prototype.ctor.call(this,C.$.ek,b,function(b){e.du!=p&&e.du(b)})},Em:function(){return C.$.prototype.Em.call(this)&&this.du!=p},j:function(){return new C.$s(this.zj,this.du)}});C.$s.create=function(b,c){return new C.$s(b,c)};
- C.Fl=C.$.extend({Gv:p,Iv:p,Hv:p,tB:p,ctor:function(){var b=this;C.$.prototype.ctor.call(this,C.$.bn,C.Fl.Mc,function(c){var e=C.Lc;switch(c.aN){case e.Sh:b.Gv&&b.Gv(c);break;case e.jh:b.Iv&&b.Iv(c);break;case e.SK:b.Hv&&b.Hv(c);break;case e.nD:b.tB&&b.tB(c)}})},j:function(){var b=new C.Fl;b.Gv=this.Gv;b.Iv=this.Iv;b.Hv=this.Hv;b.tB=this.tB;return b},Em:A(n)});C.Fl.Mc="__cc_mouse";C.Fl.create=function(){return new C.Fl};
- C.cj=C.$.extend({Tp:p,Tr:q,ob:p,ac:p,$b:p,Vc:p,ctor:function(){C.$.prototype.ctor.call(this,C.$.yl,C.cj.Mc,p);this.Tp=[]},Kna:v("Tr"),j:function(){var b=new C.cj;b.ob=this.ob;b.ac=this.ac;b.$b=this.$b;b.Vc=this.Vc;b.Tr=this.Tr;return b},Em:function(){return!this.ob?(C.log(C.e.WX),q):n}});C.cj.Mc="__cc_touch_one_by_one";C.cj.create=function(){return new C.cj};
- C.bj=C.$.extend({Mm:p,Om:p,Ro:p,Nm:p,ctor:function(){C.$.prototype.ctor.call(this,C.$.ox,C.bj.Mc,p)},j:function(){var b=new C.bj;b.Mm=this.Mm;b.Om=this.Om;b.Ro=this.Ro;b.Nm=this.Nm;return b},Em:function(){return this.Mm==p&&this.Om==p&&this.Ro==p&&this.Nm==p?(C.log(C.e.VX),q):n}});C.bj.Mc="__cc_touch_all_at_once";C.bj.create=function(){return new C.bj};
- C.$.create=function(b){C.assert(b&&b.event,C.e.PU);var c=b.event;delete b.event;var e=p;c===C.$.yl?e=new C.cj:c===C.$.ox?e=new C.bj:c===C.$.bn?e=new C.Fl:c===C.$.ek?(e=new C.$s(b.Z2,b.mH),delete b.Z2,delete b.mH):c===C.$.qp?e=new C.El:c===C.$.lp&&(e=new C.Dl(b.mH),delete b.mH);for(var f in b)e[f]=b[f];return e};C.IP=function(b){var c,e=b.length,f=Array(e);for(c=0;c<e;c+=1)f[c]=b[c];return f};C.XX=C.Ca.extend({Lg:p,Og:p,sQ:0,ctor:function(){this.Lg=[];this.Og=[]},size:function(){return this.Lg.length+this.Og.length},empty:function(){return 0===this.Lg.length&&0===this.Og.length},push:function(b){0==b.Yl?this.Og.push(b):this.Lg.push(b)},f2:function(){this.Og.length=0},e2:function(){this.Lg.length=0},clear:function(){this.Og.length=0;this.Lg.length=0},Mga:x("Lg"),Iha:x("Og")});
- C.vx=function(b){var c=C.zc,e=b.Yb;if(e===c.lp)return C.Dl.Mc;if(e===c.ek)return b.OE;if(e===c.qp)return C.El.Mc;if(e===c.bn)return C.Fl.Mc;e===c.nx&&C.log(C.e.vx);return""};
- C.pa={DC:0,vw:1,hs:2,J$:3,uh:{},ju:{},Bj:{},hz:{},wN:{},Zq:[],yt:[],Bn:0,oq:q,YN:0,h_:[C.ze.IC,C.ze.yw],Fz:function(b){this.Bj[b.ya]!=p&&this.yt.push(b);b=b.kd();for(var c=0,e=b.length;c<e;c++)this.Fz(b[c])},Cr:function(b,c){var e=this.Bj[b.ya],f,g;if(e){f=0;for(g=e.length;f<g;f++)e[f].nG(n)}if(c===n){e=b.kd();f=0;for(g=e.length;f<g;f++)this.Cr(e[f],n)}},il:function(b,c){var e=this.Bj[b.ya],f,g;if(e){f=0;for(g=e.length;f<g;f++)e[f].nG(q)}this.Fz(b);if(c===n){e=b.kd();f=0;for(g=e.length;f<g;f++)this.il(e[f],
- n)}},ZL:function(b){0===this.Bn?this.kN(b):this.Zq.push(b)},kN:function(b){var c=b.zj,e=this.uh[c];e||(e=new C.XX,this.uh[c]=e);e.push(b);0==b.Yl?(this.Yn(c,this.hs),c=b.og,c==p&&C.log(C.e.S2),this.kY(c,b),c.gc&&this.il(c)):this.Yn(c,this.vw)},aF:function(b){return this.uh[b]},i1:function(){if(0!=this.yt.length){for(var b=this.yt,c,e,f=this.Bj,g=0,h=b.length;g<h;g++)if(c=f[b[g].ya])for(var m=0,r=c.length;m<r;m++)(e=c[m])&&this.Yn(e.zj,this.hs);this.yt.length=0}},sO:function(b){if(b)for(var c,e=0;e<
- b.length;)c=b[e],c.ou(q),c.og!=p&&(this.wM(c.og,c),c.pu(p)),0===this.Bn?C.Nd(b,c):++e},Un:function(b){var c=this.uh[b];if(c){var e=c.Lg;this.sO(c.Og);this.sO(e);delete this.ju[b];this.Bn||(c.clear(),delete this.uh[b])}for(var e=this.Zq,f,c=0;c<e.length;)(f=e[c])&&f.zj==b?C.Nd(e,f):++c},vG:function(b){var c=this.DC,e=this.ju;e[b]&&(c=e[b]);c!=this.DC&&(e[b]=this.DC,c&this.vw&&this.S0(b),c&this.hs&&((c=C.jb.ee)?this.U0(b,c):e[b]=this.hs))},U0:function(b,c){var e=this.aF(b);if(e){var f=e.Og;f&&0!==f.length&&
- (this.YN=0,this.hz={},this.ZG(c,n),e.Og.sort(this.R0))}},R0:function(b,c){var e=C.pa.hz;return e[c.og.ya]-e[b.og.ya]},S0:function(b){if(b=this.uh[b]){var c=b.Lg;if(c&&0!==c.length){c.sort(this.T0);for(var e=0,f=c.length;e<f&&!(0<=c[e].Yl);)++e;b.sQ=e}}},T0:function(b,c){return b.Yl-c.Yl},DF:function(b){if(b=this.uh[b]){var c=b.Lg,e=b.Og,f,g;if(e)for(f=0;f<e.length;)g=e[f],g.Mf?++f:C.Nd(e,g);if(c)for(f=0;f<c.length;)g=c[f],g.Mf?++f:C.Nd(c,g);e&&0===e.length&&b.f2();c&&0===c.length&&b.e2()}},fA:function(b){var c=
- this.Bn;C.assert(0<c,C.e.QU);b.Yb==C.zc.nx?(this.DF(C.cj.Mc),this.DF(C.bj.Mc)):this.DF(C.vx(b));if(!(1<c)){C.assert(1==c,C.e.RU);b=this.uh;var c=this.ju,e;for(e in b)b[e].empty()&&(delete c[e],delete b[e]);e=this.Zq;if(0!==e.length){b=0;for(c=e.length;b<c;b++)this.kN(e[b]);this.Zq.length=0}}},E_:function(b,c){if(!b.i_)return q;var e=c.event,f=c.LR;e.iG(b.og);var g=q,h,m=e.Vl,r=C.fh.pp;if(m==r.gC)b.ob&&(g=b.ob(f,e))&&b.Mf&&b.Tp.push(f);else if(0<b.Tp.length&&-1!=(h=b.Tp.indexOf(f)))g=n,m===r.UC&&b.ac?
- b.ac(f,e):m===r.GC?(b.$b&&b.$b(f,e),b.Mf&&b.Tp.splice(h,1)):m===r.qC&&(b.Vc&&b.Vc(f,e),b.Mf&&b.Tp.splice(h,1));return e.En?(C.pa.fA(e),n):g&&b.Mf&&b.Tr?(c.p6&&c.touches.splice(f,1),n):q},OY:function(b){this.vG(C.cj.Mc);this.vG(C.bj.Mc);var c=this.aF(C.cj.Mc),e=this.aF(C.bj.Mc);if(!(p==c&&p==e)){var f=b.vd,g=C.IP(f),h={event:b,p6:c&&e,touches:g,LR:p};if(c)for(var m=0;m<f.length;m++)if(h.LR=f[m],this.EE(c,this.E_,h),b.En)return;if(e&&0<g.length&&(this.EE(e,this.G_,{event:b,touches:g}),b.En))return;
- this.fA(b)}},G_:function(b,c){if(!b.Mf)return q;var e=C.fh.pp,f=c.event,g=c.touches,h=f.Vl;f.iG(b.og);h==e.gC&&b.Mm?b.Mm(g,f):h==e.UC&&b.Om?b.Om(g,f):h==e.GC&&b.Ro?b.Ro(g,f):h==e.qC&&b.Nm&&b.Nm(g,f);return f.En?(C.pa.fA(f),n):q},kY:function(b,c){var e=this.Bj[b.ya];e||(e=[],this.Bj[b.ya]=e);e.push(c)},wM:function(b,c){var e=this.Bj[b.ya];e&&(C.Nd(e,c),0===e.length&&delete this.Bj[b.ya])},EE:function(b,c,e){var f=q,g=b.Lg,h=b.Og,m=0,r;if(g&&0!==g.length)for(;m<b.sQ;++m)if(r=g[m],r.isEnabled()&&!r.Ne&&
- r.Mf&&c(r,e)){f=n;break}if(h&&!f)for(b=0;b<h.length;b++)if(r=h[b],r.isEnabled()&&!r.Ne&&r.Mf&&c(r,e)){f=n;break}if(g&&!f)for(;m<g.length&&!(r=g[m],r.isEnabled()&&!r.Ne&&r.Mf&&c(r,e));++m);},Yn:function(b,c){var e=this.ju;e[b]=e[b]==p?c:c|e[b]},ZG:function(b,c){var e=b.kd(),f=0,g=e.length,h=this.wN,m=this.Bj;if(0<g){for(var r;f<g;f++)if((r=e[f])&&0>r.ia)this.ZG(r,q);else break;m[b.ya]!=p&&(h[b.wk]||(h[b.wk]=[]),h[b.wk].push(b.ya));for(;f<g;f++)(r=e[f])&&this.ZG(r,q)}else m[b.ya]!=p&&(h[b.wk]||(h[b.wk]=
- []),h[b.wk].push(b.ya));if(c){var e=[],s;for(s in h)e.push(s);e.sort(this.V0);s=e.length;r=this.hz;for(f=0;f<s;f++){g=h[e[f]];for(m=0;m<g.length;m++)r[g[m]]=++this.YN}this.wN={}}},V0:function(b,c){return b-c},addListener:function(b,c){C.assert(b&&c,C.e.U2);if(b instanceof C.$){if(b.Mf){C.log(C.e.W2);return}}else C.assert("number"!==typeof c,C.e.V2),b=C.$.create(b);b.Em()&&("number"==typeof c?0==c?C.log(C.e.T2):(b.pu(p),b.jG(c),b.ou(n),b.nG(q),this.ZL(b)):(b.pu(c),b.jG(0),b.ou(n),this.ZL(b)))},s1:function(b,
- c){var e=C.$s.create(b,c);this.addListener(e,1);return e},removeListener:function(b){if(b!=p){var c,e=this.uh,f;for(f in e){var g=e[f],h=g.Lg;(c=this.tO(g.Og,b))?this.Yn(b.zj,this.hs):(c=this.tO(h,b))&&this.Yn(b.zj,this.vw);g.empty()&&(delete this.ju[b.zj],delete e[f]);if(c)break}if(!c){c=this.Zq;e=0;for(f=c.length;e<f;e++)if(g=c[e],g==b){C.Nd(c,g);break}}}},tO:function(b,c){if(b==p)return q;for(var e=0,f=b.length;e<f;e++){var g=b[e];if(g==c)return g.ou(q),g.og!=p&&(this.wM(g.og,g),g.pu(p)),0==this.Bn&&
- C.Nd(b,g),n}return q},CR:function(b,c){if(b instanceof C.v){delete this.hz[b.ya];C.Nd(this.yt,b);var e=this.Bj[b.ya];if(e){for(var f=C.IP(e),e=0;e<f.length;e++)this.removeListener(f[e]);f.length=0;f=this.Zq;for(e=0;e<f.length;){var g=f[e];g.og==b?(g.pu(p),g.ou(q),f.splice(e,1)):++e}if(c===n){f=b.kd();e=0;for(g=f.length;e<g;e++)this.CR(f[e],n)}}}else b==C.$.yl?this.Un(C.cj.Mc):b==C.$.ox?this.Un(C.bj.Mc):b==C.$.bn?this.Un(C.Fl.Mc):b==C.$.lp?this.Un(C.Dl.Mc):b==C.$.qp?this.Un(C.El.Mc):C.log(C.e.X2)},
- zla:function(b){this.Un(b)},ola:function(){var b=this.uh,c=this.h_,e;for(e in b)-1===c.indexOf(e)&&this.Un(e)},zna:function(b,c){if(b!=p){var e=this.uh,f;for(f in e){var g=e[f].Lg;if(g&&-1!=g.indexOf(b)){b.og!=p&&C.log(C.e.Y2);b.Yl!==c&&(b.jG(c),this.Yn(b.zj,this.vw));break}}}},Ba:v("oq"),isEnabled:x("oq"),dispatchEvent:function(b){if(this.oq){this.i1();this.Bn++;(!b||!b.WA)&&d("event is undefined");if(b.Yb==C.zc.nx)this.OY(b);else{var c=C.vx(b);this.vG(c);c=this.uh[c];c!=p&&this.EE(c,this.A_,b);
- this.fA(b)}this.Bn--}},A_:function(b,c){c.iG(b.og);b.CF(c);return c.En},oea:function(b,c){var e=new C.fk(b);e.setUserData(c);this.dispatchEvent(e)}};C.NU=C.zc.extend({UL:p,ctor:function(b){C.zc.prototype.ctor.call(this,C.zc.lp);this.UL=b}});C.wK=C.zc.extend({pF:0,JN:q,ctor:function(b,c){C.zc.prototype.ctor.call(this,C.zc.qp);this.pF=b;this.JN=c}});C.Dl=C.$.extend({nz:p,ctor:function(b){this.nz=b;var c=this;C.$.prototype.ctor.call(this,C.$.lp,C.Dl.Mc,function(b){c.nz(b.UL,b)})},Em:function(){C.assert(this.nz,C.e.TX);return n},j:function(){return new C.Dl(this.nz)}});C.Dl.Mc="__cc_acceleration";C.Dl.create=function(b){return new C.Dl(b)};
- C.El=C.$.extend({Ev:p,Fv:p,ctor:function(){var b=this;C.$.prototype.ctor.call(this,C.$.qp,C.El.Mc,function(c){c.JN?b.Ev&&b.Ev(c.pF,c):b.Fv&&b.Fv(c.pF,c)})},j:function(){var b=new C.El;b.Ev=this.Ev;b.Fv=this.Fv;return b},Em:function(){return this.Ev==p&&this.Fv==p?(C.log(C.e.UX),q):n}});C.El.Mc="__cc_keyboard";C.El.create=function(){return new C.El};C.F.zD=function(){var b=C.v.prototype;b.YO=p;b.uu=p;b.fF=p;b.Lp=p;b.ctor=function(){this.iF();var b=new C.Lh;b.Nh[2]=b.Nh[3]=b.Nh[6]=b.Nh[7]=b.Nh[8]=b.Nh[9]=b.Nh[11]=b.Nh[14]=0;b.Nh[10]=b.Nh[15]=1;this.YO=b;this.fF=0;this.uu=new C.Lh};b.Ra=function(){this.Uk===q&&(this.Uk=this.Ry=n)};b.G=function(){if(this.Aa){var b=C.o,e,f=C.LP;f.stack.push(f.top);C.f6(this.uu,f.top);f.top=this.uu;var g=this.bl;g&&g.MD&&g.sA();this.transform();var h=this.i;if(h&&0<h.length){var m=h.length;this.oc();for(e=0;e<m;e++)if(h[e]&&
- 0>h[e].ia)h[e].G();else break;for(this.U(b);e<m;e++)h[e]&&h[e].G()}else this.U(b);this.arrivalOrder=0;g&&g.MD&&g.oA(this);f.top=f.stack.pop()}};b.transform=function(){var b=this.YO,e=C.LP.top,f=this.vg(),g=b.Nh;g[0]=f.a;g[4]=f.va;g[12]=f.Sa;g[1]=f.b;g[5]=f.xa;g[13]=f.Ta;g[14]=this.lA;C.h6(e,e,b);this.Lp!=p&&!(this.bl!=p&&this.bl.wr())&&(b=this.sc.x,e=this.sc.y,0!==b||0!==e?(C.BL||(b|=0,e|=0),C.e6(b,e,0),this.Lp.$Q(),C.e6(-b,-e,0)):this.Lp.$Q())};b.vg=b.w_};C.F.$C=function(){var b=C.v.prototype;C.c(b,"x",b.r4,b.Or);C.c(b,"y",b.s4,b.bw);C.c(b,"width",b.pd,b.Qf);C.c(b,"height",b.pe,b.Pf);C.c(b,"anchorX",b.hZ,b.sd);C.c(b,"anchorY",b.iZ,b.td);C.c(b,"skewX",b.I4,b.C8);C.c(b,"skewY",b.J4,b.D8);C.c(b,"zIndex",b.Q3,b.JB);C.c(b,"vertexZ",b.Z4,b.N8);C.c(b,"rotation",b.hQ,b.jJ);C.c(b,"rotationX",b.z4,b.AS);C.c(b,"rotationY",b.A4,b.BS);C.c(b,"scale",b.UA,b.ra);C.c(b,"scaleX",b.iQ,b.yb);C.c(b,"scaleY",b.jQ,b.Kb);C.c(b,"children",b.kd);C.c(b,"childrenCount",b.MH);
- C.c(b,"parent",b.getParent,b.NB);C.c(b,"visible",b.T5,b.ka);C.c(b,"running",b.P5);C.c(b,"ignoreAnchor",b.M5,b.Ii);C.c(b,"actionManager",b.MA,b.MR);C.c(b,"scheduler",b.Hm,b.DS);C.c(b,"shaderProgram",b.UH,b.lJ);C.c(b,"glServerState",b.A3,b.b8)};C.F.aD=function(){var b=C.fa.prototype;C.c(b,"opacity",b.Ma,b.D);C.c(b,"opacityModifyRGB",b.Xf,b.Td);C.c(b,"cascadeOpacity",b.vv,b.cp);C.c(b,"color",b.Ga,b.z);C.c(b,"cascadeColor",b.uv,b.bp)};C.Yw=-1;C.CB=1;
- C.v=C.Ca.extend({ia:0,wk:0,lA:0,Hj:0,sm:0,W:1,na:1,Q:p,qi:0,ri:0,i:p,Aa:n,Da:p,sc:p,f:p,gc:q,hb:p,Ak:q,tag:C.Yw,userData:p,userObject:p,Uk:n,Ry:n,$h:n,Ml:p,Yca:p,mo:p,CN:p,Pe:q,fe:p,arrivalOrder:0,lh:p,Pg:p,WY:p,BN:q,bt:q,Ax:p,qj:p,Ty:q,Lq:0,Bz:0,ha:"Node",tG:q,jm:"",iF:function(){this.Da=F(0,0);this.sc=F(0,0);this.f=H(0,0);this.Q=F(0,0);this.i=[];this.mo={a:1,b:0,va:0,xa:1,Sa:0,Ta:0};var b=C.jb;this.lh=b.MA();this.Pg=b.Hm();this.BN=n;this.Ax={a:1,b:0,va:0,xa:1,Sa:0,Ta:0};C.oU&&(this.qj=new C.oU(this))},
- s:function(){this.BN===q&&this.iF();return n},mh:function(b,c){if(b&&0!==b.length){var e,f=b.length,g;e=C.v.Cg;switch(c){case e.kb:for(e=0;e<f;e++)(g=b[e])&&g.kb();break;case e.Jb:for(e=0;e<f;e++)(g=b[e])&&g.Jb();break;case e.Wg:for(e=0;e<f;e++)(g=b[e])&&g.Wg();break;case e.Te:for(e=0;e<f;e++)(g=b[e])&&g.Te();break;case e.xg:for(e=0;e<f;e++)(g=b[e])&&g.xg();break;case e.Xe:for(e=0;e<f;e++)(g=b[e])&&g.Xe();break;case e.oc:for(e=0;e<f;e++)(g=b[e])&&g.oc();break;default:C.assert(0,C.e.oV)}}},Ra:p,Ci:function(b){for(var c in b)this[c]=
- b[c]},I4:x("qi"),C8:function(b){this.qi=b;this.Ra()},J4:x("ri"),D8:function(b){this.ri=b;this.Ra()},JB:function(b){this.ia=b;this.hb&&this.hb.Sv(this,b);C.pa.Fz(this)},Hz:v("ia"),Q3:x("ia"),oia:function(){C.log(C.e.vV);return this.ia},$na:function(b){C.log(C.e.GV);this.JB(b)},dna:function(b){this.wk!=b&&(this.wk=b,C.pa.Fz(this))},Rga:x("wk"),Z4:x("lA"),N8:v("lA"),hQ:function(){this.Hj!==this.sm&&C.log(C.e.tV);return this.Hj},jJ:function(b){this.Hj=this.sm=b;this.Lq=0.017453292519943295*this.Hj;this.Bz=
- 0.017453292519943295*this.sm;this.Ra()},z4:x("Hj"),AS:function(b){this.Hj=b;this.Lq=0.017453292519943295*this.Hj;this.Ra()},A4:x("sm"),BS:function(b){this.sm=b;this.Bz=0.017453292519943295*this.sm;this.Ra()},UA:function(){this.W!==this.na&&C.log(C.e.uV);return this.W},ra:function(b,c){this.W=b;this.na=c||0===c?c:b;this.Ra()},iQ:x("W"),yb:function(b){this.W=b;this.Ra()},jQ:x("na"),Kb:function(b){this.na=b;this.Ra()},q:function(b,c){var e=this.Q;c===k?(e.x=b.x,e.y=b.y):(e.x=b,e.y=c);this.Ra()},Qd:function(){return F(this.Q)},
- r4:function(){return this.Q.x},Or:function(b){this.Q.x=b;this.Ra()},s4:function(){return this.Q.y},bw:function(b){this.Q.y=b;this.Ra()},MH:function(){return this.i.length},kd:x("i"),T5:x("Aa"),ka:function(b){this.Aa=b;this.Ra()},Qfa:x("Da"),J:function(b,c){var e=this.Da;if(c===k){if(b.x===e.x&&b.y===e.y)return;e.x=b.x;e.y=b.y}else{if(b===e.x&&c===e.y)return;e.x=b;e.y=c}var f=this.sc,g=this.f;f.x=g.width*e.x;f.y=g.height*e.y;this.Ra()},$ba:x("Da"),EO:function(b){var c=b.x;b=b.y;this.Da.x!==c&&(this.Da.x=
- c,this.sc.x=this.f.width*c);this.Da.y!==b&&(this.Da.y=b,this.sc.y=this.f.height*b);this.Ra()},hZ:function(){return this.Da.x},sd:function(b){this.Da.x!==b&&(this.Da.x=b,this.sc.x=this.f.width*b,this.Ra())},iZ:function(){return this.Da.y},td:function(b){this.Da.y!==b&&(this.Da.y=b,this.sc.y=this.f.height*b,this.Ra())},Rfa:x("sc"),pd:function(){return this.f.width},Qf:function(b){this.f.width=b;this.sc.x=b*this.Da.x;this.Ra()},pe:function(){return this.f.height},Pf:function(b){this.f.height=b;this.sc.y=
- b*this.Da.y;this.Ra()},d:x("f"),ja:function(b,c){var e=this.f;if(c===k){if(b.width===e.width&&b.height===e.height)return;e.width=b.width;e.height=b.height}else{if(b===e.width&&c===e.height)return;e.width=b;e.height=c}var f=this.sc,g=this.Da;f.x=e.width*g.x;f.y=e.height*g.y;this.Ra()},P5:x("gc"),getParent:x("hb"),NB:v("hb"),M5:x("Ak"),Ii:function(b){b!=this.Ak&&(this.Ak=b,this.Ra())},$k:x("tag"),Pr:v("tag"),eJ:function(){this.jm},getName:x("jm"),getUserData:x("userData"),setUserData:v("userData"),
- jia:x("userObject"),Xna:function(b){this.userObject!=b&&(this.userObject=b)},nha:x("arrivalOrder"),pS:v("arrivalOrder"),MA:function(){this.lh||(this.lh=C.jb.MA());return this.lh},MR:function(b){this.lh!=b&&(this.pl(),this.lh=b)},Hm:function(){this.Pg||(this.Pg=C.jb.Hm());return this.Pg},DS:function(b){this.Pg!=b&&(this.bC(),this.Pg=b)},Od:function(){return C.dj(J(0,0,this.f.width,this.f.height),this.vg())},Te:function(){this.pl();this.bC();C.pa.CR(this);this.mh(this.i,C.v.Cg.Te)},Ei:function(b){var c=
- this.i;if(c!=p)for(var e=0;e<c.length;e++){var f=c[e];if(f&&f.tag==b)return f}return p},YP:function(b){if(!b)return C.log("Invalid name"),p;for(var c=this.i,e=0,f=c.length;e<f;e++)if(c[e].jm==b)return c[e];return p},m:function(b,c,e){C.assert(b,C.e.rV);b===this?C.log(C.e.pV):b.hb!==p?C.log(C.e.qV):(c=c!=p?c:b.ia,b.tag=e!=p?e:b.tag,this.d_(b,c),b.hb=this,this.Ml&&(b.Ml=this.Ml),this.gc&&(b.kb(),this.Ty&&b.Wg()))},Ir:function(b){this.hb&&(b==p&&(b=n),this.hb.removeChild(this,b))},Bla:function(b){C.log(C.e.AV);
- this.Ir(b)},removeChild:function(b,c){0!==this.i.length&&(c==p&&(c=n),-1<this.i.indexOf(b)&&this.MY(b,c),this.Ra())},xla:function(b,c){b===C.Yw&&C.log(C.e.yV);var e=this.Ei(b);e==p?C.log(C.e.zV,b):this.removeChild(e,c)},Pm:function(b){C.log(C.e.xV);this.Ye(b)},Ye:function(b){var c=this.i;if(c!=p){b==p&&(b=n);for(var e=0;e<c.length;e++){var f=c[e];f&&(this.gc&&(f.Xe(),f.Jb()),b&&f.Te(),f.parent=p)}this.i.length=0}},MY:function(b,c){this.gc&&(b.Xe(),b.Jb());c&&b.Te();b.parent=p;C.Nd(this.i,b)},d_:function(b,
- c){this.Pe=n;this.i.push(b);b.Hz(c)},Sv:function(b,c){C.assert(b,C.e.BV);this.Pe=n;b.arrivalOrder=C.CB;C.CB++;b.Hz(c);this.Ra()},oc:function(){if(this.Pe){var b=this.i,c=b.length,e,f,g;for(e=1;e<c;e++){g=b[e];for(f=e-1;0<=f;){if(g.ia<b[f].ia)b[f+1]=b[f];else if(g.ia===b[f].ia&&g.arrivalOrder<b[f].arrivalOrder)b[f+1]=b[f];else break;f--}b[f+1]=g}this.Pe=q}},U:t(),aC:function(){this.hb!=p&&(this.hb.aC(),this.hb.transform())},kb:function(){this.Ty=q;this.gc=n;this.mh(this.i,C.v.Cg.kb);this.Jr()},Wg:function(){this.Ty=
- n;this.mh(this.i,C.v.Cg.Wg)},Xe:function(){this.mh(this.i,C.v.Cg.Xe)},Jb:function(){this.gc=q;this.pause();this.mh(this.i,C.v.Cg.Jb);this.qj&&this.qj.h7()},Ze:function(b){C.assert(b,C.e.DV);this.actionManager.r1(b,this,!this.gc);return b},pl:function(){this.actionManager&&this.actionManager.AR(this)},WS:function(b){this.actionManager.zR(b)},h9:function(b){b===C.mp?C.log(C.e.HV):this.actionManager.g7(b,this)},LA:function(b){return b===C.mp?(C.log(C.e.sV),p):this.actionManager.LA(b,this)},hha:function(){return this.actionManager.r6(this)},
- OI:function(){this.x7(0)},x7:function(b){this.scheduler.QI(this,b,!this.gc)},jT:function(){this.scheduler.iw(this)},Zo:function(b,c,e,f){c=c||0;C.assert(b,C.e.EV);C.assert(0<=c,C.e.FV);e=e==p?C.wp:e;this.scheduler.w7(this,b,c,e,f||0,!this.gc)},ema:function(b,c){this.Zo(b,0,0,c)},ip:function(b){b&&this.scheduler.iT(this,b)},bC:function(){this.scheduler.hT(this)},Wla:function(){C.log(C.e.CV);this.Jr()},Jr:function(){this.scheduler.il(this);this.actionManager&&this.actionManager.il(this);C.pa.il(this)},
- Rka:function(){C.log(C.e.wV);this.pause()},pause:function(){this.scheduler.Cr(this);this.actionManager&&this.actionManager.Cr(this);C.pa.Cr(this)},wma:function(b){this.Ax=b;this.bt=this.Uk=n},Oka:function(){this.Ry&&(this.CN=C.JJ(this.vg()),this.Ry=q);return this.CN},Po:function(){for(var b=this.vg(),c=this.hb;c!=p;c=c.parent)b=C.Um(b,c.vg());return b},I9:function(){return C.JJ(this.Po())},Tf:function(b){return C.uL(b,this.I9())},Oj:function(b){b=b||F(0,0);return C.uL(b,this.Po())},m2:function(b){return C.bb(this.Tf(b),
- this.sc)},aea:function(b){b=b||F(0,0);return this.Oj(C.hl(b,this.sc))},Eba:function(b){b=this.Oj(b);return C.jb.n2(b)},Pj:function(b){return this.Tf(b.ie())},bea:function(b){b=b.ie();b=C.jb.l2(b);return this.m2(b)},update:function(b){this.qj&&!this.qj.Sia()&&this.qj.G(b)},xg:function(){this.mh(this.i,C.v.Cg.xg)},NI:t(),Hr:t(),o3:function(b){return this.qj.o3(b)},hda:function(b){this.qj.add(b)},yla:function(b){return this.qj.remove(b)},mla:function(){this.qj.h7()},bl:p,ctor:p,G:p,transform:p,vg:p,
- $n:function(){if(this.$h===q){this.$h=n;var b=this.Ml;b&&b!=this&&b.$n()}},hG:function(b){if(this.Ml!=b){this.Ml=b;for(var c=this.i,e=0,f=c.length;e<f;e++)c[e].hG(b)}},KH:function(){this.Lp||(this.Lp=new C.gs);return this.Lp},Tga:x("bl"),ena:v("bl"),UH:x("fe"),lJ:v("fe"),A3:x("fF"),b8:v("fF"),dga:function(){var b=J(0,0,this.f.width,this.f.height),c=this.Po(),b=C.ih(b,this.Po());if(!this.i)return b;for(var e=this.i,f=0;f<e.length;f++){var g=e[f];g&&g.Aa&&(g=g.Kt(c))&&(b=C.Gr(b,g))}return b},Kt:function(b){var c=
- J(0,0,this.f.width,this.f.height);b=b==p?this.vg():C.Um(this.vg(),b);c=C.ih(c,b);if(!this.i)return c;for(var e=this.i,f=0;f<e.length;f++){var g=e[f];g&&g.Aa&&(g=g.Kt(b))&&(c=C.Gr(c,g))}return c},w_:function(){if(this.Uk){var b=this.Q.x,c=this.Q.y,e=this.sc.x,f=-e,g=this.sc.y,h=-g,m=this.W,r=this.na;this.Ak&&(b+=e,c+=g);var s=1,u=0,y=1,z=0;if(0!==this.Hj||0!==this.sm)s=Math.cos(-this.Lq),u=Math.sin(-this.Lq),y=Math.cos(-this.Bz),z=Math.sin(-this.Bz);var B=this.qi||this.ri;if(!B&&(0!==e||0!==g))b+=
- y*f*m+-u*h*r,c+=z*f*m+s*h*r;var E=this.mo;E.a=y*m;E.b=z*m;E.va=-u*r;E.xa=s*r;E.Sa=b;E.Ta=c;if(B&&(E=C.Um({a:1,b:Math.tan(C.Yk(this.ri)),va:Math.tan(C.Yk(this.qi)),xa:1,Sa:0,Ta:0},E),0!==e||0!==g))E=C.eC(E,f,h);this.bt&&(E=C.Um(E,this.Ax),this.bt=q);this.mo=E;this.Uk=q}return this.mo}});C.v.create=function(){return new C.v};C.v.Cg={kb:1,Jb:2,Te:3,Wg:4,xg:5,Xe:6,oc:7};
- C.ca===C.Ub?(D=C.v.prototype,D.ctor=function(){this.iF()},D.Ra=function(){this.$n();this.Uk===q&&(this.Uk=this.Ry=n)},D.G=function(b){if(this.Aa){b=b||C.o;var c,e=this.i,f;b.save();this.transform(b);var g=e.length;if(0<g){this.oc();for(c=0;c<g;c++)if(f=e[c],0>f.ia)f.G(b);else break;for(this.U(b);c<g;c++)e[c].G(b)}else this.U(b);this.$h=q;this.arrivalOrder=0;b.restore()}},D.transform=function(b){b=b||C.o;var c=C.view,e=this.vg();b.transform(e.a,e.va,e.b,e.xa,e.Sa*c.W,-e.Ta*c.na)},D.vg=function(){if(this.Uk){var b=
- this.mo;b.Sa=this.Q.x;b.Ta=this.Q.y;var c=1,e=0;this.Hj&&(c=Math.cos(this.Lq),e=Math.sin(this.Lq));b.a=b.xa=c;b.b=-e;b.va=e;var f=this.W,g=this.na,h=this.sc.x,m=this.sc.y,r=1E-6>f&&-1E-6<f?1E-6:f,s=1E-6>g&&-1E-6<g?1E-6:g;if(this.qi||this.ri){var u=Math.tan(-this.qi*Math.PI/180),y=Math.tan(-this.ri*Math.PI/180);Infinity===u&&(u=99999999);Infinity===y&&(y=99999999);var z=m*u*r,B=h*y*s;b.a=c+-e*y;b.b=c*u+-e;b.va=e+c*y;b.xa=e*u+c;b.Sa+=c*z+-e*B;b.Ta+=e*z+c*B}if(1!==f||1!==g)b.a*=r,b.va*=r,b.b*=s,b.xa*=
- s;b.Sa+=c*-h*r+-e*m*s;b.Ta-=e*-h*r+c*m*s;this.Ak&&(b.Sa+=h,b.Ta+=m);this.bt&&(this.mo=C.Um(b,this.Ax),this.bt=q);this.Uk=q}return this.mo},D=p):(C.assert("function"===typeof C.F.zD,C.e.od,"BaseNodesWebGL.js"),C.F.zD(),delete C.F.zD);C.assert("function"===typeof C.F.$C,C.e.od,"BaseNodesPropertyDefine.js");C.F.$C();delete C.F.$C;
- C.fa=C.v.extend({Ha:n,ta:255,ue:255,Ia:p,fc:p,Ed:q,$d:q,ctor:function(){C.v.prototype.ctor.call(this);this.ue=this.ta=255;this.Ia=C.color(255,255,255,255);this.fc=C.color(255,255,255,255);this.$d=this.Ed=q},hc:t(),Ma:x("ue"),$P:x("ta"),D:function(b){this.ta=this.ue=b;var c=255,e=this.hb;e&&(e.Ha&&e.cascadeOpacity)&&(c=e.ta);this.qb(c);this.Ia.a=this.fc.a=b},qb:function(b){this.ta=this.ue*b/255;if(this.$d){b=this.i;for(var c=0;c<b.length;c++){var e=b[c];e&&e.Ha&&e.qb(this.ta)}}},vv:x("$d"),cp:function(b){this.$d!==
- b&&((this.$d=b)?this.Zp():this.AE())},Zp:function(){var b=255,c=this.hb;c&&(c.Ha&&c.cascadeOpacity)&&(b=c.ta);this.qb(b)},AE:function(){this.ta=this.ue;for(var b=this.i,c=0;c<b.length;c++){var e=b[c];e&&e.Ha&&e.qb(255)}},Ga:function(){var b=this.fc;return C.color(b.r,b.g,b.b,b.a)},Io:function(){var b=this.Ia;return C.color(b.r,b.g,b.b,b.a)},z:function(b){var c=this.Ia,e=this.fc;c.r=e.r=b.r;c.g=e.g=b.g;c.b=e.b=b.b;c=(c=this.hb)&&c.Ha&&c.cascadeColor?c.Io():C.color.WHITE;this.fb(c);b.a!==k&&!b.vo&&
- this.D(b.a)},fb:function(b){var c=this.Ia,e=this.fc;c.r=0|e.r*b.r/255;c.g=0|e.g*b.g/255;c.b=0|e.b*b.b/255;if(this.Ed){b=this.i;for(e=0;e<b.length;e++){var f=b[e];f&&f.Ha&&f.fb(c)}}},uv:x("Ed"),bp:function(b){this.Ed!==b&&((this.Ed=b)?this.Yp():this.zE())},Yp:function(){var b;b=(b=this.hb)&&b.Ha&&b.cascadeColor?b.Io():C.color.WHITE;this.fb(b)},zE:function(){var b=this.Ia,c=this.fc;b.r=c.r;b.g=c.g;b.b=c.b;for(var b=this.i,c=C.color.WHITE,e=0;e<b.length;e++){var f=b[e];f&&f.Ha&&f.fb(c)}},m:function(b,
- c,e){C.v.prototype.m.call(this,b,c,e);this.Ed&&this.Yp();this.$d&&this.Zp()},Td:t(),Xf:A(q)});C.fa.create=function(){var b=new C.fa;b.s();return b};C.assert("function"===typeof C.F.aD,C.e.od,"BaseNodesPropertyDefine.js");C.F.aD();delete C.F.aD;C.v.saa=0;C.v.uaa=1;C.v.taa=2;C.v.vaa=3;C.v.raa=4;C.dk=C.fa.extend({textureAtlas:p,quadsToDraw:0,Ha:n,sq:0,MN:0,ng:0,Gf:0,tk:p,Cb:q,M:p,Gy:q,ha:"AtlasNode",ctor:function(b,c,e,f){C.fa.prototype.ctor.call(this);this.tk=C.color.WHITE;this.M={src:C.af,Qa:C.$e};this.Gy=q;f!==k&&this.w5(b,c,e,f)},Yr:function(){C.log(C.e.FT)},Ga:function(){return this.Cb?this.tk:C.fa.prototype.Ga.call(this)},Td:function(b){var c=this.color;this.Cb=b;this.color=c},Xf:x("Cb"),av:x("M"),Qm:function(b,c){this.M=c===k?b:{src:b,Qa:c}},IS:v("textureAtlas"),mQ:x("textureAtlas"),
- Bha:x("quadsToDraw"),Bna:v("quadsToDraw"),ho:p,Hf:p,QG:p,rt:p,w5:function(b,c,e,f){b||d("cc.AtlasNode.initWithTileFile(): title should not be null");b=C.tb.xe(b);return this.X(b,c,e,f)},X:p,jF:function(b,c,e,f){this.ng=c;this.Gf=e;this.Cb=n;this.Hf=b;if(!this.Hf)return C.log(C.e.KJ),q;this.ho=this.Hf;this.Tx();this.quadsToDraw=f;return n},kF:function(b,c,e,f){this.ng=c;this.Gf=e;this.tk=C.color.WHITE;this.Cb=n;this.M.src=C.af;this.M.Qa=C.$e;c=this.fc;this.rt=new Float32Array([c.r/255,c.g/255,c.b/
- 255,this.ue/255]);this.textureAtlas=new C.fn;this.textureAtlas.X(b,f);if(!this.textureAtlas)return C.log(C.e.KJ),q;this.oo();this.gP();this.Tx();this.quadsToDraw=f;this.shaderProgram=C.Ph.Oi(C.jW);this.QG=C.o.getUniformLocation(this.shaderProgram.TA(),"u_color");return n},U:p,vn:function(b){b=b||C.o;C.zI(this);C.Jm(this.M.src,this.M.Qa);this.QG&&this.rt&&(b.uniform4fv(this.QG,this.rt),this.textureAtlas.RP(this.quadsToDraw))},z:p,g0:function(b){var c=this.fc;if(!(c.r==b.r&&c.g==b.g&&c.b==b.b)){c=C.color(b.r,
- b.g,b.b);this.tk=b;if(this.Cb){var e=this.ta;c.r=c.r*e/255;c.g=c.g*e/255;c.b=c.b*e/255}C.fa.prototype.z.call(this,b);if(this.texture&&(b=this.Hf.cc))if(c=C.tb.YH(b))b=C.Zu(b,c,this.fc,J(0,0,b.width,b.height)),c=new C.ma,c.We(b),c.yc(),this.texture=c}},h0:function(b){var c=C.color(b.r,b.g,b.b);this.tk=b;var e=this.ta;this.Cb&&(c.r=c.r*e/255,c.g=c.g*e/255,c.b=c.b*e/255);C.fa.prototype.z.call(this,b);b=this.Ia;this.rt=new Float32Array([b.r/255,b.g/255,b.b/255,e/255])},D:t(),lG:function(b){C.fa.prototype.D.call(this,
- b);this.Cb&&(this.color=this.tk)},mG:function(b){C.fa.prototype.D.call(this,b);this.Cb?this.color=this.tk:(b=this.Ia,this.rt=new Float32Array([b.r/255,b.g/255,b.b/255,this.ta/255]))},Rb:p,cF:x("ho"),dF:function(){return this.textureAtlas.texture},cb:p,qG:v("ho"),rG:function(b){this.textureAtlas.texture=b;this.oo();this.gP()},Tx:p,tY:function(){var b=this.texture.d();this.MN=0|b.height/this.Gf;this.sq=0|b.width/this.ng},uY:function(){var b=this.texture,c=b.d();this.Gy&&(c=b.f);this.MN=0|c.height/this.Gf;
- this.sq=0|c.width/this.ng},oo:function(){this.textureAtlas.texture.rr()||(this.M.src=C.SRC_ALPHA,this.M.Qa=C.ONE_MINUS_SRC_ALPHA)},gP:function(){this.Cb=this.textureAtlas.texture.rr()},kG:v("Gy")});D=C.dk.prototype;C.ca===C.Nb?(D.X=D.kF,D.U=D.vn,D.z=D.h0,D.D=D.mG,D.Rb=D.dF,D.cb=D.rG,D.Tx=D.uY):(D.X=D.jF,D.U=C.v.prototype.U,D.z=D.g0,D.D=D.lG,D.Rb=D.cF,D.cb=D.qG,D.Tx=D.tY);C.c(D,"opacity",D.Ma,D.D);C.c(D,"color",D.Ga,D.z);C.c(D,"texture",D.Rb,D.cb);
- C.dk.create=function(b,c,e,f){return new C.dk(b,c,e,f)};C.F.FD=function(){C.ma=C.Ca.extend({Gca:n,Dj:p,Ik:0,Hk:0,jm:"",f:p,Xj:0,Yj:0,Fy:q,jq:q,shaderProgram:p,Pc:q,cc:p,Nj:p,url:p,Za:p,ctor:function(){this.f=H(0,0);this.Dj=C.ma.MP},JI:function(){this.Nj&&C.o.deleteTexture(this.Nj);C.da.Hr(this.url)},dQ:x("Dj"),fQ:x("Ik"),eQ:x("Hk"),getName:x("Nj"),d:function(){return H(this.f.width/C.Tb(),this.f.height/C.Tb())},pd:function(){return this.f.width/C.Tb()},pe:function(){return this.f.height/C.Tb()},r3:x("f"),W3:x("Xj"),n8:v("Xj"),X3:x("Yj"),o8:v("Yj"),UH:x("shaderProgram"),
- lJ:v("shaderProgram"),rr:x("Fy"),i5:x("jq"),description:function(){return"\x3ccc.Texture2D | Name \x3d "+this.jm+" | Dimensions \x3d "+this.Ik+" x "+this.Hk+" | Coordinates \x3d ("+this.Xj+", "+this.Yj+")\x3e"},e7:t(),W5:aa(),cB:function(b,c,e,f,g){var h=C.ma,m=C.o,r=m.RGBA,s=m.UNSIGNED_BYTE,u=e*C.ma.QL[c]/8;0===u%8?m.pixelStorei(m.UNPACK_ALIGNMENT,8):0===u%4?m.pixelStorei(m.UNPACK_ALIGNMENT,4):0===u%2?m.pixelStorei(m.UNPACK_ALIGNMENT,2):m.pixelStorei(m.UNPACK_ALIGNMENT,1);this.Nj=m.createTexture();
- C.Jh(this);m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,m.LINEAR);m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,m.LINEAR);m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_S,m.CLAMP_TO_EDGE);m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.CLAMP_TO_EDGE);switch(c){case h.vl:r=m.RGBA;break;case h.Ls:r=m.RGB;break;case h.ax:s=m.UNSIGNED_SHORT_4_4_4_4;break;case h.$w:s=m.UNSIGNED_SHORT_5_5_5_1;break;case h.Ks:s=m.UNSIGNED_SHORT_5_6_5;break;case h.XC:r=m.LUMINANCE_ALPHA;break;case h.Js:r=m.ALPHA;break;
- case h.YC:r=m.LUMINANCE;break;default:C.assert(0,C.e.nX)}m.texImage2D(m.TEXTURE_2D,0,r,e,f,0,r,s,b);this.f.width=g.width;this.f.height=g.height;this.Ik=e;this.Hk=f;this.Dj=c;this.Xj=g.width/e;this.Yj=g.height/f;this.jq=this.Fy=q;this.shaderProgram=C.Ph.Oi(C.yL);return this.Pc=n},z2:function(b){var c=[0,this.Yj,this.Xj,this.Yj,0,0,this.Xj,0],e=this.Ik*this.Xj,f=this.Hk*this.Yj;b=[b.x,b.y,0,e+b.x,b.y,0,b.x,f+b.y,0,e+b.x,f+b.y,0];C.Ve(C.dg|C.xD);this.fe.xf();this.fe.MS();C.Jh(this);e=C.o;e.vertexAttribPointer(C.Ee,
- 2,e.FLOAT,q,0,b);e.vertexAttribPointer(C.Bp,2,e.FLOAT,q,0,c);e.drawArrays(e.TRIANGLE_STRIP,0,4)},B2:function(b){var c=[0,this.Yj,this.Xj,this.Yj,0,0,this.Xj,0];b=[b.x,b.y,b.x+b.width,b.y,b.x,b.y+b.height,b.x+b.width,b.y+b.height];C.Ve(C.dg|C.xD);this.fe.xf();this.fe.MS();C.Jh(this);var e=C.o;e.vertexAttribPointer(C.Ee,2,e.FLOAT,q,0,b);e.vertexAttribPointer(C.Bp,2,e.FLOAT,q,0,c);e.drawArrays(e.TRIANGLE_STRIP,0,4)},CQ:function(b){if(b==p)return C.log(C.e.qX),q;var c=b.e5(),e=b.B3(),f=C.ir.Xt;if(c>f||
- e>f)return C.log(C.e.rX,c,e,f,f),q;this.Pc=n;return this.WZ(b,c,e)},We:function(b){b&&(this.Nj=C.o.createTexture(),this.cc=b)},D3:x("cc"),N5:x("Pc"),yc:function(){if(C.zz){if(!this.cc){var b=C.da.Ih(this.url);if(!b)return;this.We(b)}this.cc.width&&this.cc.height&&(this.Pc=n,b=C.o,C.Jh(this),b.pixelStorei(b.UNPACK_ALIGNMENT,4),b.texImage2D(b.TEXTURE_2D,0,b.RGBA,b.RGBA,b.UNSIGNED_BYTE,this.cc),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,
- b.LINEAR),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE),this.shaderProgram=C.Ph.Oi(C.yL),C.Jh(p),b=this.cc.height,this.Ik=this.f.width=this.cc.width,this.Hk=this.f.height=b,this.Dj=C.ma.vl,this.Yj=this.Xj=1,this.jq=this.Fy=q,this.Yc())}},yd:function(){C.log(C.e.wX);return p},o5:function(){C.log(C.e.pX);return q},r5:function(){C.log(C.e.tX);return q},s5:function(){C.log(C.e.vX);return q},I8:function(b){var c=C.o;C.assert(this.Ik==
- C.up(this.Ik)&&this.Hk==C.up(this.Hk)||b.J9==c.CLAMP_TO_EDGE&&b.K9==c.CLAMP_TO_EDGE,"WebGLRenderingContext.CLAMP_TO_EDGE should be used in NPOT textures");C.Jh(this);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,b.Sja);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,b.Qja);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,b.J9);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,b.K9)},J7:function(){var b=C.o;C.Jh(this);this.jq?b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR_MIPMAP_NEAREST):
- b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.NEAREST)},PR:function(){var b=C.o;C.Jh(this);this.jq?b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.NEAREST_MIPMAP_NEAREST):b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.NEAREST);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.NEAREST)},generateMipmap:function(){C.assert(this.Ik==C.up(this.Ik)&&this.Hk==C.up(this.Hk),"Mimpap texture only works in POT textures");C.Jh(this);
- C.o.generateMipmap(C.o.TEXTURE_2D);this.jq=n},i9:function(){return C.ma.YX[this.Dj]},U1:function(b){b=b||this.Dj;var c=C.ma.QL[b];if(c!=p)return c;C.log(C.e.mX,b);return-1},WZ:function(b,c,e){var f=C.ma,g=b.getData(),h=p,h=p,m=b.tia(),r=H(b.e5(),b.B3()),s=f.MP,u=b.cga();m||(8<=u?s=f.Ls:(C.log(C.e.jX),s=f.Ks));var y=c*e;if(s==f.Ks)if(m){g=new Uint16Array(c*e);h=b.getData();for(u=0;u<y;++u)g[u]=(h[u]>>0&255)>>3<<11|(h[u]>>8&255)>>2<<5|(h[u]>>16&255)>>3<<0}else{g=new Uint16Array(c*e);h=b.getData();for(u=
- 0;u<y;++u)g[u]=(h[u]&255)>>3<<11|(h[u]&255)>>2<<5|(h[u]&255)>>3<<0}else if(s==f.ax){g=new Uint16Array(c*e);h=b.getData();for(u=0;u<y;++u)g[u]=(h[u]>>0&255)>>4<<12|(h[u]>>8&255)>>4<<8|(h[u]>>16&255)>>4<<4|(h[u]>>24&255)>>4<<0}else if(s==f.$w){g=new Uint16Array(c*e);h=b.getData();for(u=0;u<y;++u)g[u]=(h[u]>>0&255)>>3<<11|(h[u]>>8&255)>>3<<6|(h[u]>>16&255)>>3<<1|(h[u]>>24&255)>>7<<0}else if(s==f.Js){g=new Uint8Array(c*e);h=b.getData();for(u=0;u<y;++u)g[u]=h>>24&255}if(m&&s==f.Ls){h=b.getData();g=new Uint8Array(3*
- c*e);for(u=0;u<y;++u)g[3*u]=h>>0&255,g[3*u+1]=h>>8&255,g[3*u+2]=h>>16&255}this.cB(g,s,c,e,r);b.getData();this.Fy=b.eja();return n},Hc:function(b,c){this.Za||(this.Za=[]);this.Za.push({Sg:b,Uf:c})},l7:function(b){if(this.Za)for(var c=this.Za,e=0;e<c.length;e++)c[e].Uf==b&&c.splice(e,1)},Yc:function(){if(this.Za){for(var b=this.Za,c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0}}})};
- C.F.GD=function(){var b=C.fn.prototype;b.KO=function(){var b=C.o;this.Hg[0]=b.createBuffer();this.Hg[1]=b.createBuffer();this.Sn=b.createBuffer();this.Zy()};b.Zy=function(){var b=C.o;b.bindBuffer(b.ARRAY_BUFFER,this.Sn);b.bufferData(b.ARRAY_BUFFER,this.pg,b.DYNAMIC_DRAW);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,this.Hg[1]);b.bufferData(b.ELEMENT_ARRAY_BUFFER,this.Gd,b.STATIC_DRAW)};b.RP=function(b){var e;e=0;if(!(0===b||!this.texture||!this.texture.Pc)){var f=C.o;C.Jh(this.texture);C.Ve(C.Ys);f.bindBuffer(f.ARRAY_BUFFER,
- this.Sn);this.dirty&&f.bufferData(f.ARRAY_BUFFER,this.pg,f.DYNAMIC_DRAW);f.vertexAttribPointer(C.Ee,3,f.FLOAT,q,24,0);f.vertexAttribPointer(C.Ap,4,f.UNSIGNED_BYTE,n,24,12);f.vertexAttribPointer(C.Bp,2,f.FLOAT,q,24,16);this.dirty&&(this.dirty=q);f.bindBuffer(f.ELEMENT_ARRAY_BUFFER,this.Hg[1]);C.EL?f.drawElements(f.TRIANGLE_STRIP,6*b,f.UNSIGNED_SHORT,6*e*this.Gd.BYTES_PER_ELEMENT):f.drawElements(f.TRIANGLES,6*b,f.UNSIGNED_SHORT,6*e*this.Gd.BYTES_PER_ELEMENT);C.Di++}}};
- C.F.HD=function(){var b=C.tb;b.yc=function(b){var e=this.gd;C.zz||(e=this.Wt);var f=e[b];f||(f=e[b]=new C.ma,f.url=b);f.yc()};b.xe=function(b,e,f){C.assert(b,C.e.lX);var g=this.gd;C.zz||(g=this.Wt);var h=g[b]||g[C.da.hn[b]];if(h)return e&&e.call(f),h;C.da.Ih(b)||(C.da.mM(b)?C.da.load(b,function(){e&&e.call(f)}):C.da.Fh[b]=C.da.Cv(b,function(f,g){if(f)return e?e(f):f;C.tb.yc(b);e&&e(p,g)}));h=g[b]=new C.ma;h.url=b;return h};delete b};C.F.hD=function(){var b=C.ma;b.Caa=function(b){C.ZV=b};b.vl=2;b.Ls=3;b.Ks=4;b.Js=5;b.YC=6;b.XC=7;b.ax=8;b.$w=7;b.hL=9;b.gL=10;b.RV=b.vl;var c=C.ma.YX={};c[b.vl]="RGBA8888";c[b.Ls]="RGB888";c[b.Ks]="RGB565";c[b.Js]="A8";c[b.YC]="I8";c[b.XC]="AI88";c[b.ax]="RGBA4444";c[b.$w]="RGB5A1";c[b.hL]="PVRTC4";c[b.gL]="PVRTC2";c=C.ma.QL={};c[b.vl]=32;c[b.Ls]=24;c[b.Ks]=16;c[b.Js]=8;c[b.YC]=8;c[b.XC]=16;c[b.ax]=16;c[b.$w]=16;c[b.hL]=4;c[b.gL]=3;c=C.ma.prototype;C.c(c,"name",c.getName);C.c(c,"pixelFormat",c.dQ);
- C.c(c,"pixelsWidth",c.fQ);C.c(c,"pixelsHeight",c.eQ);C.c(c,"width",c.pd);C.c(c,"height",c.pe);b.MP=b.RV};C.F.iD=function(){var b=C.fn.prototype;C.c(b,"totalQuads",b.qQ);C.c(b,"capacity",b.WP);C.c(b,"quads",b.gQ,b.vS)};C.T9=51;C.W9=19;C.Y9=18;C.V9=50;C.S9=34;C.Q9=35;C.R9=33;C.U9=49;C.X9=17;C.ZV=q;
- C.ca===C.Ub?C.ma=C.Ca.extend({f:p,Pc:q,cc:p,Za:p,url:p,ctor:function(){this.f=H(0,0);this.Pc=q;this.cc=p},fQ:function(){return this.f.width},eQ:function(){return this.f.height},d:function(){var b=C.Tb();return H(this.f.width/b,this.f.height/b)},pd:function(){return this.f.width/C.Tb()},pe:function(){return this.f.height/C.Tb()},r3:x("f"),We:function(b){b&&(this.cc=b)},D3:x("cc"),N5:x("Pc"),yc:function(){if(!this.Pc){if(!this.cc){var b=C.da.Ih(this.url);if(!b)return;this.We(b)}this.Pc=n;b=this.cc;
- this.f.width=b.width;this.f.height=b.height;this.Yc()}},description:function(){return"\x3ccc.Texture2D | width \x3d "+this.f.width+" height "+this.f.height+"\x3e"},cB:A(q),CQ:A(q),yd:A(q),JI:t(),getName:A(p),W3:A(1),n8:t(),X3:A(1),o8:t(),dQ:A(p),UH:A(p),lJ:t(),rr:A(q),i5:A(q),e7:t(),W5:aa(),z2:t(),B2:t(),o5:function(){C.log(C.e.oX);return q},r5:function(){C.log(C.e.sX);return q},s5:function(){C.log(C.e.uX);return q},I8:t(),J7:t(),PR:t(),generateMipmap:t(),i9:A(""),U1:A(-1),Hc:function(b,c){this.Za||
- (this.Za=[]);this.Za.push({Sg:b,Uf:c})},l7:function(b){if(this.Za)for(var c=this.Za,e=0;e<c.length;e++)c[e].Uf==b&&c.splice(e,1)},Yc:function(){if(this.Za){for(var b=this.Za,c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0}}}):(C.assert("function"===typeof C.F.FD,C.e.od,"TexturesWebGL.js"),C.F.FD(),delete C.F.FD);C.assert("function"===typeof C.F.hD,C.e.od,"TexturesPropertyDefine.js");C.F.hD();delete C.F.hD;C.tb={gd:{},Au:{},LG:0|1E3*Math.random(),Wt:{},c_:function(){var b,c=this.Wt,e=this.gd;for(b in c){var f=c[b];f.yc();e[b]=f}this.Wt={}},rda:function(){C.log(C.e.o9)},ida:function(){C.log(C.e.m9)},description:function(){return"\x3cTextureCache | Number of textures \x3d "+this.gd.length+"\x3e"},Ur:function(b){return this.gd[b]||this.gd[C.da.hn[b]]},L3:function(b){for(var c in this.gd)if(this.gd[c]==b)return c;return p},dZ:function(){this.LG++;return"_textureKey_"+this.LG},YH:function(b){var c=this.L3(b);
- c||(c=b instanceof HTMLImageElement?b.src:this.dZ());this.Au[c]||(this.Au[c]=C.jr(b));return this.Au[c]},qda:function(){C.log(C.e.n9)},sla:function(){var b=this.gd,c;for(c in b)b[c]&&b[c].JI();this.gd={}},Nla:function(b){if(b){var c=this.gd,e;for(e in c)c[e]==b&&(c[e].JI(),delete c[e])}},Ola:function(b){b!=p&&this.gd[b]&&delete this.gd[b]},Jda:function(b,c){if(c instanceof C.ma)this.gd[b]=c;else{var e=new C.ma;e.We(c);e.yc();this.gd[b]=e}},wda:function(b,c){C.assert(b,C.e.q9);if(c&&this.gd[c])return this.gd[c];
- var e=new C.ma;e.CQ(b);c!=p&&e!=p?this.gd[c]=e:C.log(C.e.p9);return e},zea:function(){var b=0,c=0,e=this.gd,f;for(f in e){var g=e[f];b++;g.cc instanceof HTMLImageElement?C.log(C.e.r9,f,g.cc.src,g.pixelsWidth,g.pixelsHeight):C.log(C.e.bT,f,g.pixelsWidth,g.pixelsHeight);c+=4*g.pixelsWidth*g.pixelsHeight}e=this.Au;for(f in e){var g=e[f],h;for(h in g){var m=g[h];b++;C.log(C.e.bT,f,m.width,m.height);c+=4*m.width*m.height}}C.log(C.e.s9,b,c/1024,(c/1048576).toFixed(2))},Pl:function(){this.gd={};this.Au=
- {};this.LG=0|1E3*Math.random();this.Wt={}}};C.ca===C.Ub?(D=C.tb,D.yc=function(b){var c=this.gd,e=c[b];e||(e=c[b]=new C.ma,e.url=b);e.yc()},D.xe=function(b,c,e){C.assert(b,C.e.kX);var f=this.gd,g=f[b]||f[C.da.hn[b]];if(g)return c&&c.call(e),g;g=f[b]=new C.ma;g.url=b;C.da.Ih(b)?g.yc():C.da.mM(b)?C.da.load(b,function(){c&&c.call(e)}):C.da.Fh[b]=C.da.Cv(b,function(e,f){if(e)return c?c(e):e;C.tb.yc(b);c&&c(p,f)});return g},D=p):(C.assert("function"===typeof C.F.HD,C.e.od,"TexturesWebGL.js"),C.F.HD(),delete C.F.HD);C.fn=C.Ca.extend({dirty:q,texture:p,Gd:p,Hg:p,Df:0,Kf:p,pg:p,Sn:p,Ng:p,ctor:function(b,c){this.Hg=[];"string"==typeof b?this.Be(b,c):b instanceof C.ma&&this.X(b,c)},qQ:x("Wa"),WP:x("Df"),Rb:x("texture"),cb:v("texture"),bS:v("dirty"),MQ:x("dirty"),gQ:x("Kf"),vS:v("Kf"),Fba:function(b,c){if(b)for(var e=0;e<b.length;e++)this.Iz(b[e],c+e)},Iz:function(b,c){var e=this.Kf;e[c]?(e[c].nb=b.nb,e[c].sb=b.sb,e[c].Fb=b.Fb,e[c].pb=b.pb):e[c]=new C.Ac(b.Fb,b.nb,b.pb,b.sb,this.pg,c*C.Ac.BYTES_PER_ELEMENT)},description:function(){return"\x3ccc.TextureAtlas | totalQuads \x3d"+
- this.Wa+"\x3e"},JO:function(){if(0!==this.Df)for(var b=this.Gd,c=this.Df,e=0;e<c;e++)C.EL?(b[6*e+0]=4*e+0,b[6*e+1]=4*e+0,b[6*e+2]=4*e+2,b[6*e+3]=4*e+1,b[6*e+4]=4*e+3,b[6*e+5]=4*e+3):(b[6*e+0]=4*e+0,b[6*e+1]=4*e+1,b[6*e+2]=4*e+2,b[6*e+3]=4*e+3,b[6*e+4]=4*e+2,b[6*e+5]=4*e+1)},KO:function(){var b=C.o;this.Hg[0]=b.createBuffer();this.Hg[1]=b.createBuffer();this.Sn=b.createBuffer();this.Zy()},Zy:function(){var b=C.o;b.bindBuffer(b.ARRAY_BUFFER,this.Sn);b.bufferData(b.ARRAY_BUFFER,this.pg,b.DYNAMIC_DRAW);
- b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,this.Hg[1]);b.bufferData(b.ELEMENT_ARRAY_BUFFER,this.Gd,b.STATIC_DRAW)},Be:function(b,c){var e=C.tb.xe(b);if(e)return this.X(e,c);C.log(C.e.xX,b);return q},X:function(b,c){C.assert(b,C.e.yX);this.Df=c|=0;this.Wa=0;this.texture=b;this.Kf=[];this.Gd=new Uint16Array(6*c);var e=C.Ac.BYTES_PER_ELEMENT;this.pg=new ArrayBuffer(e*c);this.Ng=new Uint8Array(this.pg);if((!this.Kf||!this.Gd)&&0<c)return q;for(var f=this.Kf,g=0;g<c;g++)f[g]=new C.Ac(p,p,p,p,this.pg,g*e);this.JO();
- this.KO();return this.dirty=n},cC:function(b,c){C.assert(b,C.e.IX);C.assert(0<=c&&c<this.Df,C.e.JX);this.Wa=Math.max(c+1,this.Wa);this.Iz(b,c);this.dirty=n},lI:function(b,c){C.assert(c<this.Df,C.e.BX);this.Wa++;if(this.Wa>this.Df)C.log(C.e.LL);else{var e=C.Ac.BYTES_PER_ELEMENT,f=c*e,g=(this.Wa-1-c)*e;this.Kf[this.Wa-1]=new C.Ac(p,p,p,p,this.pg,(this.Wa-1)*e);this.Ng.set(this.Ng.subarray(f,f+g),f+e);this.Iz(b,c);this.dirty=n}},Iia:function(b,c,e){e=e||b.length;C.assert(c+e<=this.Df,C.e.CX);var f=C.Ac.BYTES_PER_ELEMENT;
- this.Wa+=e;if(this.Wa>this.Df)C.log(C.e.LL);else{var g=c*f,h=(this.Wa-1-c-e)*f,m=this.Wa-1-e,r;for(r=0;r<e;r++)this.Kf[m+r]=new C.Ac(p,p,p,p,this.pg,(this.Wa-1)*f);this.Ng.set(this.Ng.subarray(g,g+h),g+f*e);for(r=0;r<e;r++)this.Iz(b[r],c+r);this.dirty=n}},Hia:function(b,c){if(b!==c){C.assert(0<=c||c<this.Wa,C.e.zX);C.assert(0<=b||b<this.Wa,C.e.AX);var e=C.Ac.BYTES_PER_ELEMENT,f=this.Ng,g=f.subarray(b*e,e),h;b>c?(h=c*e,f.set(f.subarray(h,h+(b-c)*e),h+e),f.set(g,h)):(h=(b+1)*e,f.set(f.subarray(h,h+
- (c-b)*e),h-e),f.set(g,c*e));this.dirty=n}},o7:function(b){C.assert(b<this.Wa,C.e.GX);var c=C.Ac.BYTES_PER_ELEMENT;this.Wa--;this.Kf.length=this.Wa;if(b!==this.Wa){var e=(b+1)*c;this.Ng.set(this.Ng.subarray(e,e+(this.Wa-b)*c),e-c)}this.dirty=n},Gla:function(b,c){C.assert(b+c<=this.Wa,C.e.HX);this.Wa-=c;if(b!==this.Wa){var e=C.Ac.BYTES_PER_ELEMENT,f=(b+c)*e;this.Ng.set(this.Ng.subarray(f,f+(this.Wa-b)*e),b*e)}this.dirty=n},j7:function(){this.Wa=this.Kf.length=0},Yn:v("dirty"),HR:function(b){if(b==this.Df)return n;
- var c=C.Ac.BYTES_PER_ELEMENT,e=this.Df;this.Wa=Math.min(this.Wa,b);var f=this.Df=0|b,g=this.Wa;if(this.Kf==p){this.Kf=[];this.pg=new ArrayBuffer(c*f);this.Ng=new Uint8Array(this.pg);for(b=0;b<f;b++)this.Kf=new C.Ac(p,p,p,p,this.pg,b*c)}else{var h,m,r=this.Kf;if(f>e){h=[];m=new ArrayBuffer(c*f);for(b=0;b<g;b++)h[b]=new C.Ac(r[b].Fb,r[b].nb,r[b].pb,r[b].sb,m,b*c);for(;b<f;b++)h[b]=new C.Ac(p,p,p,p,m,b*c)}else{g=Math.max(g,f);h=[];m=new ArrayBuffer(c*f);for(b=0;b<g;b++)h[b]=new C.Ac(r[b].Fb,r[b].nb,
- r[b].pb,r[b].sb,m,b*c)}this.Ng=new Uint8Array(m);this.Kf=h;this.pg=m}this.Gd==p?this.Gd=new Uint16Array(6*f):f>e?(c=new Uint16Array(6*f),c.set(this.Gd,0),this.Gd=c):this.Gd=this.Gd.subarray(0,6*f);this.JO();this.Zy();return this.dirty=n},m5:function(b){this.Wa+=b},Tja:function(b,c,e){if(e===k){if(e=c,c=this.Wa-b,C.assert(e+(this.Wa-b)<=this.Df,C.e.DX),0===c)return}else if(C.assert(e+c<=this.Wa,C.e.EX),C.assert(b<this.Wa,C.e.FX),b==e)return;var f=C.Ac.BYTES_PER_ELEMENT,g=b*f,h=c*f,m=this.Ng,r=m.subarray(g,
- g+h),s=e*f;e<b?(c=e*f,m.set(m.subarray(c,c+(b-e)*f),c+h)):(c=(b+c)*f,m.set(m.subarray(c,c+(e-b)*f),g));m.set(r,s);this.dirty=n},Afa:function(b,c){for(var e=c*C.Ac.BYTES_PER_ELEMENT,f=new Uint8Array(this.pg,b*C.Ac.BYTES_PER_ELEMENT,e),g=0;g<e;g++)f[g]=0},F2:function(){this.RP(this.Wa)},Hca:function(){var b=C.o;this.Hg&&(this.Hg[0]&&b.deleteBuffer(this.Hg[0]),this.Hg[1]&&b.deleteBuffer(this.Hg[1]));this.Sn&&b.deleteBuffer(this.Sn)}});D=C.fn.prototype;C.c(D,"totalQuads",D.qQ);C.c(D,"capacity",D.WP);
- C.c(D,"quads",D.gQ,D.vS);C.fn.create=function(b,c){return new C.fn(b,c)};C.ca===C.Nb&&(C.assert("function"===typeof C.F.GD,C.e.od,"TexturesWebGL.js"),C.F.GD(),delete C.F.GD);C.assert("function"===typeof C.F.iD,C.e.od,"TexturesPropertyDefine.js");C.F.iD();delete C.F.iD;C.kx=C.v.extend({ha:"Scene",ctor:function(){C.v.prototype.ctor.call(this);this.Ak=n;this.J(0.5,0.5);this.ja(C.jb.ib)}});C.kx.create=function(){return new C.kx};C.TC=C.kx.extend({dm:p,ON:0,pE:0,Hd:p,ha:"LoaderScene",s:function(){var b=this,c=200,e=b.pY=C.nd.create(C.color(32,32,32,255));e.q(C.jp.hH);b.m(e,0);var f=24,g=-c/2+100;C.qF&&(C.da.Cv(C.qF,{nI:q},function(e,f){c=f.height;b.XZ(f,C.jp.uA)}),f=14,g=-c/2-10);f=b.Hd=C.H.create("Loading... 0%","Arial",f);f.q(C.hl(C.jp.uA,F(0,g)));f.z(C.color(180,180,180));e.m(this.Hd,10);return n},XZ:function(b,c){var e=this.Xca=new C.ma;e.We(b);e.yc();e=this.vca=C.t.create(e);e.ra(C.Tb());e.x=c.x;e.y=c.y;this.pY.m(e,10)},
- kb:function(){C.v.prototype.kb.call(this);this.Zo(this.TO,0.3)},Jb:function(){C.v.prototype.Jb.call(this);this.Hd.V("Loading... 0%")},u5:function(b,c){"string"==typeof b&&(b=[b]);this.t7=b||[];this.Se=c},TO:function(){var b=this;b.ip(b.TO);var c=b.t7;b.ON=c.length;b.pE=0;C.da.load(c,function(c,f){b.pE=f},function(){b.Se&&b.Se()});b.Zo(b.hP)},hP:function(){var b=this.pE,c=this.ON,e;e=Math.min(100*(b/c)|0,100);this.Hd.V("Loading... "+e+"%");b>=c&&this.ip(this.hP)}});
- C.TC.P6=function(b){var c=ga,e=C;e.oB||(e.oB=new C.TC,e.oB.s());e.oB.u5(c,b);C.jb.KR(e.oB)};C.F.RC=function(){var b=C.md.prototype;b.zP=t();b.gT=t();b.G=C.v.prototype.G};
- C.F.CD=function(){var b=C.nd.prototype;b.Kz=p;b.zG=p;b.XG=p;b.nE=p;b.BG=p;b.AG=p;b.ctor=function(b,e,f){this.BG=new ArrayBuffer(32);this.AG=new ArrayBuffer(16);var g=this.BG,h=this.AG,m=C.rc.BYTES_PER_ELEMENT,r=C.bg.BYTES_PER_ELEMENT;this.Kz=[new C.rc(0,0,g,0),new C.rc(0,0,g,m),new C.rc(0,0,g,2*m),new C.rc(0,0,g,3*m)];this.zG=[C.color(0,0,0,255,h,0),C.color(0,0,0,255,h,r),C.color(0,0,0,255,h,2*r),C.color(0,0,0,255,h,3*r)];this.XG=C.o.createBuffer();this.nE=C.o.createBuffer();C.bf.prototype.ctor.call(this);
- this.M=new C.Wm(C.af,C.$e);C.nd.prototype.s.call(this,b,e,f)};b.ja=function(b,e){var f=this.Kz;e===k?(f[1].x=b.width,f[2].y=b.height,f[3].x=b.width,f[3].y=b.height):(f[1].x=b,f[2].y=e,f[3].x=b,f[3].y=e);this.cE();C.md.prototype.ja.call(this,b,e)};b.Qf=function(b){var e=this.Kz;e[1].x=b;e[3].x=b;this.cE();C.md.prototype.Qf.call(this,b)};b.Pf=function(b){var e=this.Kz;e[2].y=b;e[3].y=b;this.cE();C.md.prototype.Pf.call(this,b)};b.hc=function(){for(var b=this.Ia,e=this.ta,f=this.zG,g=0;4>g;g++)f[g].r=
- b.r,f[g].g=b.g,f[g].b=b.b,f[g].a=e;this.hM()};b.U=function(b){b=b||C.o;C.zI(this);C.Ve(C.dg|C.wD);b.bindBuffer(b.ARRAY_BUFFER,this.XG);b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.nE);b.vertexAttribPointer(C.Ap,4,b.UNSIGNED_BYTE,n,0,0);C.Jm(this.M.src,this.M.Qa);b.drawArrays(b.TRIANGLE_STRIP,0,4)};b.cE=function(){var b=C.o;b.bindBuffer(b.ARRAY_BUFFER,this.XG);b.bufferData(b.ARRAY_BUFFER,this.BG,b.STATIC_DRAW)};b.hM=function(){var b=C.o;b.bindBuffer(b.ARRAY_BUFFER,this.nE);
- b.bufferData(b.ARRAY_BUFFER,this.AG,b.STATIC_DRAW)}};
- C.F.DD=function(){var b=C.ul.prototype;b.U=C.nd.prototype.U;b.hc=function(){var b=this.Cf,e=C.Ce(b);if(0!==e){var f=Math.sqrt(2),b=F(b.x/e,b.y/e);this.ay&&(b=C.Zj(b,1/(Math.abs(b.x)+Math.abs(b.y))*f));var g=this.ta/255,e=this.Ia,h=this.sh,e={r:e.r,g:e.g,b:e.b,a:this.Sq*g},g={r:h.r,g:h.g,b:h.b,a:this.$p*g},m=this.zG,h=m[0],r=m[1],s=m[2],m=m[3];h.r=g.r+(e.r-g.r)*((f+b.x+b.y)/(2*f));h.g=g.g+(e.g-g.g)*((f+b.x+b.y)/(2*f));h.b=g.b+(e.b-g.b)*((f+b.x+b.y)/(2*f));h.a=g.a+(e.a-g.a)*((f+b.x+b.y)/(2*f));r.r=
- g.r+(e.r-g.r)*((f-b.x+b.y)/(2*f));r.g=g.g+(e.g-g.g)*((f-b.x+b.y)/(2*f));r.b=g.b+(e.b-g.b)*((f-b.x+b.y)/(2*f));r.a=g.a+(e.a-g.a)*((f-b.x+b.y)/(2*f));s.r=g.r+(e.r-g.r)*((f+b.x-b.y)/(2*f));s.g=g.g+(e.g-g.g)*((f+b.x-b.y)/(2*f));s.b=g.b+(e.b-g.b)*((f+b.x-b.y)/(2*f));s.a=g.a+(e.a-g.a)*((f+b.x-b.y)/(2*f));m.r=g.r+(e.r-g.r)*((f-b.x-b.y)/(2*f));m.g=g.g+(e.g-g.g)*((f-b.x-b.y)/(2*f));m.b=g.b+(e.b-g.b)*((f-b.x-b.y)/(2*f));m.a=g.a+(e.a-g.a)*((f-b.x-b.y)/(2*f));this.hM()}}};C.F.fD=function(){var b=C.bf.prototype;C.c(b,"opacityModifyRGB",b.Xf,b.Td);C.c(b,"opacity",b.Ma,b.D);C.c(b,"cascadeOpacity",b.vv,b.cp);C.c(b,"color",b.Ga,b.z);C.c(b,"cascadeColor",b.uv,b.bp)};C.F.dD=function(){var b=C.nd.prototype;C.c(b,"width",b.pd,b.Qf);C.c(b,"height",b.pe,b.Pf)};C.F.eD=function(){var b=C.ul.prototype;C.c(b,"startColor",b.M4,b.mJ);C.c(b,"endColor",b.y3,b.aJ);C.c(b,"startOpacity",b.N4,b.F8);C.c(b,"endOpacity",b.z3,b.a8);C.c(b,"vector",b.Y4,b.sJ)};C.md=C.v.extend({Dn:q,Kx:p,ha:"Layer",ctor:function(){var b=C.v.prototype;b.ctor.call(this);this.Ak=n;b.J.call(this,0.5,0.5);b.ja.call(this,C.ql)},zP:p,gT:p,Mia:x("Dn"),G:p});C.md.create=function(){return new C.md};
- if(C.ca===C.Ub){var ha=C.md.prototype;ha.zP=function(){if(!this.Dn){this.Dn=this.$h=n;this.Ml=this;for(var b=this.i,c=0,e=b.length;c<e;c++)b[c].hG(this);this.Kx||(this.Kx=new C.RT)}};ha.gT=function(){if(this.Dn){this.Dn=q;this.$h=n;this.Ml=p;for(var b=this.i,c=0,e=b.length;c<e;c++)b[c].hG(p)}};ha.G=function(b){if(this.Dn){b=b||C.o;var c,e=this.i,f=e.length;if(this.Aa&&0!==f){var g=this.Kx;b.save();this.transform(b);if(this.$h){c=this.UE();c.width|=0;c.height|=0;var h=g.Zh;g.GR(c.width,c.height);h.translate(0-
- c.x,c.height+c.y);var m=g.sc;g.q(m.x+c.x,m.y+c.y);this.oc();for(c=0;c<f;c++)e[c].G(h);this.$h=q}g.G(b);this.arrivalOrder=0;b.restore()}}else C.v.prototype.G.call(this,b)};ha.UE=function(){var b=p;if(!this.i||0===this.i.length)return J(0,0,10,10);for(var c=this.i,e=0;e<c.length;e++){var f=c[e];f&&f.Aa&&(b?(f=f.Kt())&&(b=C.Gr(b,f)):b=f.Kt())}return b};ha=p}else C.assert("function"===typeof C.F.RC,C.e.od,"CCLayerWebGL.js"),C.F.RC(),delete C.F.RC;
- C.bf=C.md.extend({Ha:n,ta:255,ue:255,Ia:p,fc:p,$d:q,Ed:q,ha:"LayerRGBA",ctor:function(){C.md.prototype.ctor.call(this);this.Ia=C.color(255,255,255,255);this.fc=C.color(255,255,255,255)},s:function(){var b=C.md.prototype;this.Ak=n;b.J.call(this,0.5,0.5);b.ja.call(this,C.ql);this.cascadeColor=this.cascadeOpacity=q;return n},Ma:x("ue"),$P:x("ta"),D:function(b){this.ta=this.ue=b;var c=255,e=this.hb;e&&(e.Ha&&e.cascadeOpacity)&&(c=e.ta);this.qb(c);this.Ia.a=this.fc.a=b},qb:function(b){this.ta=0|this.ue*
- b/255;if(this.$d){b=this.i;for(var c,e=0;e<b.length;e++)(c=b[e])&&c.Ha&&c.qb(this.ta)}},vv:x("$d"),cp:function(b){this.$d!==b&&((this.$d=b)?this.Zp():this.AE())},Zp:function(){var b=255,c=this.hb;c&&(c.Ha&&c.cascadeOpacity)&&(b=c.ta);this.qb(b)},AE:function(){this.ta=this.ue;for(var b=this.i,c,e=0;e<b.length;e++)(c=b[e])&&c.Ha&&c.qb(255)},Ga:function(){var b=this.fc;return C.color(b.r,b.g,b.b,b.a)},Io:function(){var b=this.Ia;return C.color(b.r,b.g,b.b)},z:function(b){var c=this.Ia,e=this.fc;c.r=
- e.r=b.r;c.g=e.g=b.g;c.b=e.b=b.b;c=(c=this.hb)&&c.Ha&&c.cascadeColor?c.Io():C.color.WHITE;this.fb(c);b.a!==k&&!b.vo&&this.D(b.a)},fb:function(b){var c=this.Ia,e=this.fc;c.r=0|e.r*b.r/255;c.g=0|e.g*b.g/255;c.b=0|e.b*b.b/255;if(this.Ed){b=this.i;for(var f=0;f<b.length;f++)(e=b[f])&&e.Ha&&e.fb(c)}},uv:x("Ed"),bp:function(b){this.Ed!==b&&((this.Ed=b)?this.Yp():this.zE())},Yp:function(){var b;b=(b=this.hb)&&b.Ha&&b.cascadeColor?b.Io():C.color.WHITE;this.fb(b)},zE:function(){var b=this.Ia,c=this.fc;b.r=
- c.r;b.g=c.g;b.b=c.b;var b=this.i,c=C.color.WHITE,e,f;for(f=0;f<b.length;f++)(e=b[f])&&e.Ha&&e.fb(c)},m:function(b,c,e){C.v.prototype.m.call(this,b,c,e);this.Ed&&this.Yp();this.$d&&this.Zp()},Td:t(),Xf:A(q)});C.assert("function"===typeof C.F.fD,C.e.od,"CCLayerPropertyDefine.js");C.F.fD();delete C.F.fD;
- C.nd=C.bf.extend({M:p,ha:"LayerColor",av:x("M"),Uda:function(b,c){this.width=b;this.height=c},Tda:v("width"),Sda:v("height"),Td:t(),Xf:A(q),z:function(b){C.bf.prototype.z.call(this,b);this.hc()},D:function(b){C.bf.prototype.D.call(this,b);this.hc()},pq:q,ctor:p,s:function(b,c,e){C.ca!==C.Ub&&(this.shaderProgram=C.Ph.Oi(C.xL));var f=C.jb.ib;b=b||C.color(0,0,0,255);c=c===k?f.width:c;e=e===k?f.height:e;f=this.Ia;f.r=b.r;f.g=b.g;f.b=b.b;f=this.fc;f.r=b.r;f.g=b.g;f.b=b.b;this.ue=this.ta=b.a;b=C.nd.prototype;
- b.ja.call(this,c,e);b.hc.call(this);return n},Qm:function(b,c){this.M=c===k?b:{src:b,Qa:c};C.ca===C.Ub&&(this.pq=this.M&&1==this.M.src&&771==this.M.Qa)},Qf:p,Pf:p,hc:p,fb:function(b){C.bf.prototype.fb.call(this,b);this.hc()},qb:function(b){C.bf.prototype.qb.call(this,b);this.hc()},U:p});C.nd.create=function(b,c,e){return new C.nd(b,c,e)};
- C.ca===C.Ub?(D=C.nd.prototype,D.ctor=function(b,c,e){C.bf.prototype.ctor.call(this);this.M=new C.Wm(C.af,C.$e);C.nd.prototype.s.call(this,b,c,e)},D.Qf=C.bf.prototype.Qf,D.Pf=C.bf.prototype.Pf,D.hc=t(),D.U=function(b){b=b||C.o;var c=C.view,e=this.Ia;b.fillStyle="rgba("+(0|e.r)+","+(0|e.g)+","+(0|e.b)+","+this.ta/255+")";b.fillRect(0,0,this.width*c.W,-this.height*c.na);C.Di++},D.G=function(b){if(this.Dn){b=b||C.o;var c,e=this.i,f=e.length;if(this.Aa){var g=this.Kx;b.save();this.transform(b);if(this.$h){c=
- this.UE();c.width|=0;c.height|=0;var h=g.Zh;g.GR(c.width,c.height);var m=g.sc,r=this.Q;if(this.Ak)h.translate(0-c.x+r.x,c.height+c.y-r.y),g.q(m.x+c.x-r.x,m.y+c.y-r.y);else{var s=this.sc,u=r.x-s.x,r=r.y-s.y;h.translate(0-c.x+u,c.height+c.y-r);g.q(m.x+c.x-u,m.y+c.y-r)}if(0<f){this.oc();for(c=0;c<f;c++)if(m=e[c],0>m.ia)m.G(h);else break;for(this.U(h);c<f;c++)e[c].G(h)}else this.U(h);this.$h=q}g.G(b);this.arrivalOrder=0;b.restore()}}else C.v.prototype.G.call(this,b)},D.UE=function(){var b=J(0,0,this.f.width,
- this.f.height),c=this.Po(),b=C.ih(b,this.Po());if(!this.i||0===this.i.length)return b;for(var e=this.i,f=0;f<e.length;f++){var g=e[f];g&&g.Aa&&(g=g.Kt(c),b=C.Gr(b,g))}return b},D=p):(C.assert("function"===typeof C.F.CD,C.e.od,"CCLayerWebGL.js"),C.F.CD(),delete C.F.CD);C.assert("function"===typeof C.F.dD,C.e.od,"CCLayerPropertyDefine.js");C.F.dD();delete C.F.dD;
- C.ul=C.nd.extend({Jj:p,sh:p,Sq:255,$p:255,Cf:p,ay:q,iq:p,hq:p,ha:"LayerGradient",ctor:function(b,c,e){C.nd.prototype.ctor.call(this);this.Jj=C.color(0,0,0,255);this.sh=C.color(0,0,0,255);this.Cf=F(0,-1);this.$p=this.Sq=255;this.iq=F(0,0);this.hq=F(0,0);C.ul.prototype.s.call(this,b,c,e)},s:function(b,c,e){b=b||C.color(0,0,0,255);c=c||C.color(0,0,0,255);e=e||F(0,-1);var f=this.Jj,g=this.sh;f.r=b.r;f.g=b.g;f.b=b.b;this.Sq=b.a;g.r=c.r;g.g=c.g;g.b=c.b;this.$p=c.a;this.Cf=e;this.ay=n;this.iq=F(0,0);this.hq=
- F(0,0);C.nd.prototype.s.call(this,C.color(b.r,b.g,b.b,255));C.ul.prototype.hc.call(this);return n},ja:function(b,c){C.nd.prototype.ja.call(this,b,c);this.hc()},Qf:function(b){C.nd.prototype.Qf.call(this,b);this.hc()},Pf:function(b){C.nd.prototype.Pf.call(this,b);this.hc()},M4:x("fc"),mJ:v("color"),aJ:function(b){this.sh=b;this.hc()},y3:x("sh"),F8:function(b){this.Sq=b;this.hc()},N4:x("Sq"),a8:function(b){this.$p=b;this.hc()},z3:x("$p"),sJ:function(b){this.Cf.x=b.x;this.Cf.y=b.y;this.hc()},Y4:function(){return F(this.Cf.x,
- this.Cf.y)},Pia:x("ay"),Mma:function(b){this.ay=b;this.hc()},Xba:p,hc:p});C.ul.create=function(b,c,e){return new C.ul(b,c,e)};
- C.ca===C.Ub?(D=C.ul.prototype,D.U=function(b){b=b||C.o;this.pq&&(b.globalCompositeOperation="lighter");b.save();var c=C.view,e=this.ta/255,f=this.width*c.W,c=this.height*c.na,g=b.createLinearGradient(this.iq.x,this.iq.y,this.hq.x,this.hq.y),h=this.Ia,m=this.sh;g.addColorStop(0,"rgba("+Math.round(h.r)+","+Math.round(h.g)+","+Math.round(h.b)+","+(e*(this.Sq/255)).toFixed(4)+")");g.addColorStop(1,"rgba("+Math.round(m.r)+","+Math.round(m.g)+","+Math.round(m.b)+","+(e*(this.$p/255)).toFixed(4)+")");b.fillStyle=
- g;b.fillRect(0,0,f,-c);0!=this.Kca&&b.rotate(this.Lca);b.restore()},D.hc=function(){var b=this.Cf,c=0.5*this.width,e=0.5*this.height;this.iq.x=c*-b.x+c;this.iq.y=e*b.y-e;this.hq.x=c*b.x+c;this.hq.y=e*-b.y-e},D=p):(C.assert("function"===typeof C.F.DD,C.e.od,"CCLayerWebGL.js"),C.F.DD(),delete C.F.DD);C.assert("function"===typeof C.F.eD,C.e.od,"CCLayerPropertyDefine.js");C.F.eD();delete C.F.eD;
- C.SC=C.md.extend({wn:0,yj:p,ha:"LayerMultiplex",ctor:function(b){C.md.prototype.ctor.call(this);b&&C.SC.prototype.p5.call(this,b)},p5:function(b){0<b.length&&b[b.length-1]==p&&C.log(C.e.kV);this.yj=b;this.wn=0;this.m(this.yj[this.wn]);return n},qoa:function(b){b>=this.yj.length?C.log(C.e.lV):(this.removeChild(this.yj[this.wn],n),this.wn=b,this.m(this.yj[b]))},roa:function(b){b>=this.yj.length?C.log(C.e.mV):(this.removeChild(this.yj[this.wn],n),this.yj[this.wn]=p,this.wn=b,this.m(this.yj[b]))},pda:function(b){b?
- this.yj.push(b):C.log(C.e.jV)}});C.SC.create=function(){return new C.SC(arguments)};C.F.ED=function(){var b=C.t.prototype;b.xG=function(b){this.Ra(n);this.zb(b.Vf(),b.Kd,b.de);this.Yc()};b.Td=function(b){this.Cb!==b&&(this.Cb=b,this.jw())};b.qb=function(b){C.fa.prototype.qb.call(this,b);this.jw()};b.ctor=function(b,e,f){C.fa.prototype.ctor.call(this);this.um=q;this.Vb=F(0,0);this.yi=F(0,0);this.M={src:C.af,Qa:C.$e};this.aa=J(0,0,0,0);this.lc=new C.Ac;this.wz=C.o.createBuffer();this.Y=this.Jf=n;this.QO(b,e,f)};b.Qm=function(b,e){var f=this.M;e===k?(f.src=b.src,f.Qa=b.Qa):(f.src=b,
- f.Qa=e)};b.s=function(){if(0<arguments.length)return this.Be(arguments[0],arguments[1]);C.fa.prototype.s.call(this);this.dirty=this.ni=q;this.Cb=n;this.M.src=C.af;this.M.Qa=C.$e;this.texture=p;this.Y=n;this.Ja=this.La=q;this.anchorY=this.anchorX=0.5;this.Vb.x=0;this.Vb.y=0;this.wj=q;var b={r:255,g:255,b:255,a:255};this.lc.nb.B=b;this.lc.sb.B=b;this.lc.Fb.B=b;this.lc.pb.B=b;this.Jf=n;this.zb(J(0,0,0,0),q,H(0,0));return n};b.X=function(b,e,f){C.assert(0!=arguments.length,C.e.PW);f=f||q;if(!C.fa.prototype.s.call(this))return q;
- this.Ya=p;this.dirty=this.ni=q;this.Cb=n;this.M.src=C.af;this.M.Qa=C.$e;this.Ja=this.La=q;this.anchorY=this.anchorX=0.5;this.Vb.x=0;this.Vb.y=0;this.wj=q;var g=C.color(255,255,255,255),h=this.lc;h.nb.B=g;h.sb.B=g;h.Fb.B=g;h.pb.B=g;this.Y=g=b.Pc;if(!g)return this.ad=f||q,e&&(g=this.aa,g.x=e.x,g.y=e.y,g.width=e.width,g.height=e.height),b.Hc(this.Sz,this),n;e||(e=J(0,0,b.width,b.height));b&&(f?(g=e.x+e.height,h=e.y+e.width):(g=e.x+e.width,h=e.y+e.height),g>b.width&&C.error(C.e.mD,b.url),h>b.height&&
- C.error(C.e.lD,b.url));this.texture=b;this.zb(e,f);this.batchNode=p;return this.Jf=n};b.Sz=function(b){if(!this.Y){this.Y=n;var e=this.aa;e?C.lu(e)&&(e.width=b.width,e.height=b.height):e=J(0,0,b.width,b.height);this.texture=b;this.zb(e,this.ad);this.batchNode=this.Ya;this.Jf=n;this.Yc()}};b.zb=function(b,e,f){this.ad=e||q;this.ja(f||b);this.tJ(b);this.GO(b);b=this.yi;this.Ja&&(b.x=-b.x);this.La&&(b.y=-b.y);var g=this.aa;this.Vb.x=b.x+(this.f.width-g.width)/2;this.Vb.y=b.y+(this.f.height-g.height)/
- 2;if(this.Ya)this.dirty=n;else{b=0+this.Vb.x;e=0+this.Vb.y;f=b+g.width;var g=e+g.height,h=this.lc;h.nb.k={x:b,y:e,la:0};h.sb.k={x:f,y:e,la:0};h.Fb.k={x:b,y:g,la:0};h.pb.k={x:f,y:g,la:0};this.Jf=n}};b.xg=function(){if(this.dirty){var b=this.lc,e=this.hb;if(!this.Aa||e&&e!=this.Ya&&e.um)b.sb.k={x:0,y:0,la:0},b.Fb.k={x:0,y:0,la:0},b.pb.k={x:0,y:0,la:0},b.nb.k={x:0,y:0,la:0},this.um=n;else{this.um=q;var f=this.no=!e||e==this.Ya?this.vg():C.Um(this.vg(),e.no),g=this.aa,e=this.Vb.x,h=this.Vb.y,m=e+g.width,
- r=h+g.height,s=f.Sa,u=f.Ta,y=f.a,z=f.b,B=f.xa,E=-f.va,f=e*y-h*E+s,g=e*z+h*B+u,I=m*y-h*E+s,h=m*z+h*B+u,G=m*y-r*E+s,m=m*z+r*B+u,s=e*y-r*E+s,e=e*z+r*B+u,r=this.lA;C.BL||(f|=0,g|=0,I|=0,h|=0,G|=0,m|=0,s|=0,e|=0);b.nb.k={x:f,y:g,la:r};b.sb.k={x:I,y:h,la:r};b.Fb.k={x:s,y:e,la:r};b.pb.k={x:G,y:m,la:r}}this.textureAtlas.cC(b,this.atlasIndex);this.dirty=this.ni=q}this.wj&&this.mh(this.i,C.v.Cg.xg);C.wl&&C.kg.ye([F(this.lc.nb.k.x,this.lc.nb.k.y),F(this.lc.sb.k.x,this.lc.sb.k.y),F(this.lc.pb.k.x,this.lc.pb.k.y),
- F(this.lc.Fb.k.x,this.lc.Fb.k.y)],4,n)};b.m=function(b,e,f){C.assert(b,C.e.GW);e==p&&(e=b.ia);f==p&&(f=b.tag);if(this.Ya){if(!(b instanceof C.t)){C.log(C.e.EW);return}b.texture.Nj!==this.textureAtlas.texture.Nj&&C.log(C.e.FW);this.Ya.appendChild(b);this.Pe||this.pG()}C.fa.prototype.m.call(this,b,e,f);this.wj=n};b.D=function(b){C.fa.prototype.D.call(this,b);this.jw()};b.z=function(b){C.fa.prototype.z.call(this,b);this.jw()};b.fb=function(b){C.fa.prototype.fb.call(this,b);this.jw()};b.Jc=function(b){var e=
- this;"string"==typeof b&&(b=C.bk.Rj(b),C.assert(b,C.e.YW));e.Ra(n);var f=b.Sb;e.yi.x=f.x;e.yi.y=f.y;f=b.Rb();b.Y||(e.Y=q,b.Hc(function(b){e.Y=n;var c=b.Rb();c!=e.Fa&&(e.texture=c);e.zb(b.Vf(),b.Kd,b.de);e.Yc()},e));f!=e.Fa&&(e.texture=f);e.ad=b.Kd;e.zb(b.Vf(),e.ad,b.de)};b.NQ=function(b){return C.xR(b.Vf(),this.aa)&&b.Rb().getName()==this.Fa.getName()&&C.I6(b.Sb,this.yi)};b.TI=function(b){if(this.Ya=b)this.no={a:1,b:0,va:0,xa:1,Sa:0,Ta:0},this.textureAtlas=this.Ya.textureAtlas;else{this.atlasIndex=
- C.t.PC;this.textureAtlas=p;this.dirty=this.ni=q;b=this.Vb.x;var e=this.Vb.y,f=b+this.aa.width,g=e+this.aa.height,h=this.lc;h.nb.k={x:b,y:e,la:0};h.sb.k={x:f,y:e,la:0};h.Fb.k={x:b,y:g,la:0};h.pb.k={x:f,y:g,la:0};this.Jf=n}};b.cb=function(b){b&&"string"===typeof b?(b=C.tb.xe(b),this.cb(b),b=b.d(),this.zb(J(0,0,b.width,b.height))):(C.assert(!b||b instanceof C.ma,C.e.$W),this.Ya&&this.Ya.texture!=b?C.log(C.e.ZW):(this.shaderProgram=b?C.Ph.Oi(C.ix):C.Ph.Oi(C.xL),!this.Ya&&this.Fa!=b&&(this.Fa=b,this.oo())))};
- b.U=function(){if(this.Y){var b=C.o,e=this.Fa;e?e.Pc&&(this.fe.xf(),this.fe.Xg(),C.Jm(this.M.src,this.M.Qa),C.qia(0,e),C.Ve(C.Ys),b.bindBuffer(b.ARRAY_BUFFER,this.wz),this.Jf&&(b.bufferData(b.ARRAY_BUFFER,this.lc.qA,b.DYNAMIC_DRAW),this.Jf=q),b.vertexAttribPointer(0,3,b.FLOAT,q,24,0),b.vertexAttribPointer(1,4,b.UNSIGNED_BYTE,n,24,12),b.vertexAttribPointer(2,2,b.FLOAT,q,24,16),b.drawArrays(b.TRIANGLE_STRIP,0,4)):(this.fe.xf(),this.fe.Xg(),C.Jm(this.M.src,this.M.Qa),C.Jh(p),C.Ve(C.dg|C.wD),b.bindBuffer(b.ARRAY_BUFFER,
- this.wz),this.Jf&&(C.o.bufferData(C.o.ARRAY_BUFFER,this.lc.qA,C.o.STATIC_DRAW),this.Jf=q),b.vertexAttribPointer(C.Ee,3,b.FLOAT,q,24,0),b.vertexAttribPointer(C.Ap,4,b.UNSIGNED_BYTE,n,24,12),b.drawArrays(b.TRIANGLE_STRIP,0,4));C.Di++;if(0!==C.wl||this.tG)1===C.wl||this.tG?(b=this.lc,C.kg.ye([F(b.Fb.k.x,b.Fb.k.y),F(b.nb.k.x,b.nb.k.y),F(b.sb.k.x,b.sb.k.y),F(b.pb.k.x,b.pb.k.y)],4,n)):2===C.wl&&(b=this.hv(),e=this.Vb,C.kg.ye([F(e.x,e.y),F(e.x+b.width,e.y),F(e.x+b.width,e.y+b.height),F(e.x,e.y+b.height)],
- 4,n))}};delete b};C.F.gD=function(){var b=C.t.prototype;C.c(b,"opacityModifyRGB",b.Xf,b.Td);C.c(b,"opacity",b.Ma,b.D);C.c(b,"color",b.Ga,b.z);C.c(b,"flippedX",b.wv,b.Ad);C.c(b,"flippedY",b.xv,b.tf);C.c(b,"offsetX",b.yZ);C.c(b,"offsetY",b.zZ);C.c(b,"texture",b.Rb,b.cb);C.c(b,"textureRectRotated",b.R5);C.c(b,"batchNode",b.l3,b.TI);C.c(b,"quad",b.x4)};C.jr=function(b){function c(){var c=C.jr,f=b.width,m=b.height;e[0].width=f;e[0].height=m;e[1].width=f;e[1].height=m;e[2].width=f;e[2].height=m;e[3].width=f;e[3].height=m;c.canvas.width=f;c.canvas.height=m;var r=c.canvas.getContext("2d");r.drawImage(b,0,0);c.AJ.width=f;c.AJ.height=m;for(var r=r.getImageData(0,0,f,m).data,s=0;4>s;s++){var u=e[s].getContext("2d");u.getImageData(0,0,f,m).data;c.aT.drawImage(b,0,0);for(var y=c.aT.getImageData(0,0,f,m),z=y.data,B=0;B<r.length;B+=4)z[B]=0===s?r[B]:0,z[B+
- 1]=1===s?r[B+1]:0,z[B+2]=2===s?r[B+2]:0,z[B+3]=r[B+3];u.putImageData(y,0,0)}b.onload=p}if(b.GP)return b.GP;var e=[C.Uc("canvas"),C.Uc("canvas"),C.Uc("canvas"),C.Uc("canvas")];try{c()}catch(f){b.onload=c}return b.GP=e};C.jr.canvas=C.Uc("canvas");C.jr.AJ=C.Uc("canvas");C.jr.aT=C.jr.AJ.getContext("2d");
- C.Kfa=function(b,c,e){e||(e=J(0,0,b.width,b.height),e=C.Pv(e));var f=C.Uc("canvas"),g=f.getContext("2d");f.width!=e.width&&(f.width=e.width);f.height!=e.height&&(f.height=e.height);g.save();g.drawImage(b,e.x,e.y,e.width,e.height,0,0,e.width,e.height);g.globalCompositeOperation="source-in";g.globalAlpha=c.a/255;g.fillStyle="rgb("+c.r+","+c.g+","+c.b+")";g.fillRect(0,0,e.width,e.height);g.restore();return f};
- C.Zu=function(b,c,e,f,g){f||(f=J(0,0,b.width,b.height));b=e.r/255;var h=e.g/255;e=e.b/255;var m=Math.min(f.width,c[0].width),r=Math.min(f.height,c[0].height),s;g?(s=g.getContext("2d"),s.clearRect(0,0,m,r)):(g=C.Uc("canvas"),g.width=m,g.height=r,s=g.getContext("2d"));s.save();s.globalCompositeOperation="lighter";var u=s.globalAlpha;0<b&&(s.globalAlpha=b*u,s.drawImage(c[0],f.x,f.y,m,r,0,0,m,r));0<h&&(s.globalAlpha=h*u,s.drawImage(c[1],f.x,f.y,m,r,0,0,m,r));0<e&&(s.globalAlpha=e*u,s.drawImage(c[2],f.x,
- f.y,m,r,0,0,m,r));1>b+h+e&&(s.globalAlpha=u,s.drawImage(c[3],f.x,f.y,m,r,0,0,m,r));s.restore();return g};C.vH=function(b,c){if(!b)return p;if(!c)return b;var e=C.Uc("canvas");e.width=c.width;e.height=c.height;var f=e.getContext("2d");f.translate(e.width/2,e.height/2);f.rotate(-1.5707963267948966);f.drawImage(b,c.x,c.y,c.height,c.width,-c.height/2,-c.width/2,c.height,c.width);return e};
- C.t=C.fa.extend({Ha:n,dirty:q,atlasIndex:0,textureAtlas:p,Ya:p,ni:p,wj:p,um:q,no:p,M:p,Fa:p,aa:p,ad:q,Vb:p,yi:p,Cb:q,Ja:q,La:q,Y:q,Za:p,wF:p,ha:"Sprite",Vr:x("Y"),Hc:function(b,c){this.Za||(this.Za=[]);this.Za.push({Sg:b,Uf:c})},Yc:function(){if(this.Za){for(var b=this.Za,c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0}},MQ:x("dirty"),bS:v("dirty"),R5:x("ad"),Tfa:x("atlasIndex"),zma:v("atlasIndex"),hv:function(){return J(this.aa.x,this.aa.y,this.aa.width,this.aa.height)},mQ:x("textureAtlas"),
- IS:v("textureAtlas"),lha:x("Vb"),yZ:function(){return this.Vb.x},zZ:function(){return this.Vb.y},av:x("M"),Vg:function(b){C.assert(b,C.e.MW);b.Y||(this.Y=q,b.Hc(this.xG,this));var c=C.ca===C.Ub?q:b.Kd,c=this.X(b.Rb(),b.Vf(),c);this.Jc(b);return c},xG:p,Uj:function(b){C.assert(b,C.e.NW);var c=C.bk.Rj(b);C.assert(c,b+C.e.OW);return this.Vg(c)},Koa:function(b){this.textureAtlas=b.textureAtlas;this.Ya=b},tJ:function(b){this.aa.x=b.x;this.aa.y=b.y;this.aa.width=b.width;this.aa.height=b.height},oc:function(){if(this.Pe){var b=
- this.i,c=b.length,e,f,g;for(e=1;e<c;e++){g=b[e];for(f=e-1;0<=f;){if(g.ia<b[f].ia)b[f+1]=b[f];else if(g.ia===b[f].ia&&g.arrivalOrder<b[f].arrivalOrder)b[f+1]=b[f];else break;f--}b[f+1]=g}this.Ya&&this.mh(b,C.v.Cg.oc);this.Pe=q}},Sv:function(b,c){C.assert(b,C.e.TW);-1===this.i.indexOf(b)?C.log(C.e.SW):c!==b.zIndex&&(this.Ya&&!this.Pe&&(this.pG(),this.Ya.ER(n)),C.v.prototype.Sv.call(this,b,c))},removeChild:function(b,c){this.Ya&&this.Ya.Xo(b);C.v.prototype.removeChild.call(this,b,c)},Ye:function(b){var c=
- this.i,e=this.Ya;if(e&&c!=p)for(var f=0,g=c.length;f<g;f++)e.Xo(c[f]);C.v.prototype.Ye.call(this,b);this.wj=q},cS:function(b){this.dirty=this.ni=b;b=this.i;for(var c,e=b?b.length:0,f=0;f<e;f++)c=b[f],c instanceof C.t&&c.cS(n)},Ra:function(b){C.v.prototype.Ra.call(this);!b&&(this.Ya&&!this.ni)&&(this.wj?this.cS(n):this.dirty=this.ni=n)},Ii:function(b){this.Ya?C.log(C.e.KW):C.v.prototype.Ii.call(this,b)},Ad:function(b){this.Ja!=b&&(this.Ja=b,this.zb(this.aa,this.ad,this.f),this.Ra(n))},tf:function(b){this.La!=
- b&&(this.La=b,this.zb(this.aa,this.ad,this.f),this.Ra(n))},wv:x("Ja"),xv:x("La"),Td:p,Xf:x("Cb"),qb:p,Uma:function(b,c){C.assert(b,C.e.XW);var e=C.pA.VP(b);e?(e=e.Ke[c])?this.Jc(e.Rj()):C.log(C.e.WW):C.log(C.e.VW)},l3:x("Ya"),pG:function(){if(!this.Pe){this.Pe=n;for(var b=this.hb;b&&b!=this.Ya;)b.pG(),b=b.parent}},Rb:x("Fa"),lc:p,wz:p,Jf:q,$x:q,pq:q,Hf:p,Wq:p,IE:p,ctor:p,QO:function(b,c,e){if(b===k)C.t.prototype.s.call(this);else if("string"===typeof b)"#"===b[0]?(b=C.bk.Rj(b.substr(1,b.length-1)),
- this.Vg(b)):C.t.prototype.s.call(this,b,c);else if("object"===typeof b)if(b instanceof C.ma)this.X(b,c,e);else if(b instanceof C.Bg)this.Vg(b);else if(b instanceof HTMLImageElement||b instanceof HTMLCanvasElement)c=new C.ma,c.We(b),c.yc(),this.X(c)},x4:x("lc"),Qm:p,s:p,Be:function(b,c){C.assert(b,C.e.LW);var e=C.tb.Ur(b);if(e){if(!c){var f=e.d();c=J(0,0,f.width,f.height)}return this.X(e,c)}e=C.tb.xe(b);return this.X(e,c||J(0,0,e.f.width,e.f.height))},X:p,Sz:p,zb:p,xg:p,m:p,jw:function(){var b=this.Ia,
- c=this.ta,b={r:b.r,g:b.g,b:b.b,a:c};this.Cb&&(b.r*=c/255,b.g*=c/255,b.b*=c/255);c=this.lc;c.nb.B=b;c.sb.B=b;c.Fb.B=b;c.pb.B=b;this.Ya&&(this.atlasIndex!=C.t.PC?this.textureAtlas.cC(c,this.atlasIndex):this.dirty=n);this.Jf=n},D:p,z:p,fb:p,Jc:p,Tma:function(b){C.log(C.e.UW);this.Jc(b)},NQ:p,x2:function(){return C.Bg.create(this.Fa,C.Qv(this.aa),this.ad,C.K6(this.yi),C.U8(this.f))},TI:p,cb:p,oo:function(){this.Ya?C.log(C.e.DW):!this.Fa||!this.Fa.rr()?(this.M.src=C.SRC_ALPHA,this.M.Qa=C.ONE_MINUS_SRC_ALPHA,
- this.opacityModifyRGB=q):(this.M.src=C.af,this.M.Qa=C.$e,this.opacityModifyRGB=n)},Ol:function(){var b,c=this.Fa,e=this.Wq;if(c&&(e.bs&&this.Hf)&&(b=c.cc))if(c=C.tb.YH(this.Hf.cc))this.$x=n,b instanceof HTMLCanvasElement&&!this.ad&&!this.wF?C.Zu(b,c,this.Ia,e,b):(b=C.Zu(b,c,this.Ia,e),c=new C.ma,c.We(b),c.yc(),this.texture=c)},GO:function(b){b=C.Qv(b);var c=this.Ya?this.textureAtlas.texture:this.Fa;if(c){var e=c.pixelsWidth,f=c.pixelsHeight,g,h=this.lc;this.ad?(C.ys?(c=(2*b.x+1)/(2*e),e=c+(2*b.height-
- 2)/(2*e),g=(2*b.y+1)/(2*f),b=g+(2*b.width-2)/(2*f)):(c=b.x/e,e=(b.x+b.height)/e,g=b.y/f,b=(b.y+b.width)/f),this.Ja&&(f=g,g=b,b=f),this.La&&(f=c,c=e,e=f),h.nb.n.wa=c,h.nb.n.O=g,h.sb.n.wa=c,h.sb.n.O=b,h.Fb.n.wa=e,h.Fb.n.O=g,h.pb.n.wa=e,h.pb.n.O=b):(C.ys?(c=(2*b.x+1)/(2*e),e=c+(2*b.width-2)/(2*e),g=(2*b.y+1)/(2*f),b=g+(2*b.height-2)/(2*f)):(c=b.x/e,e=(b.x+b.width)/e,g=b.y/f,b=(b.y+b.height)/f),this.Ja&&(f=c,c=e,e=f),this.La&&(f=g,g=b,b=f),h.nb.n.wa=c,h.nb.n.O=b,h.sb.n.wa=e,h.sb.n.O=b,h.Fb.n.wa=c,h.Fb.n.O=
- g,h.pb.n.wa=e,h.pb.n.O=g);this.Jf=n}},U:p});C.t.create=function(b,c,e){return new C.t(b,c,e)};C.t.PC=-1;
- C.ca===C.Ub?(D=C.t.prototype,D.xG=function(b){this.Ra(n);this.zb(b.Vf(),b.Kd,b.de);b=this.color;(255!==b.r||255!==b.g||255!==b.b)&&this.Ol();this.Yc()},D.Td=function(b){this.Cb!==b&&(this.Cb=b,this.Ra(n))},D.qb=function(b){C.fa.prototype.qb.call(this,b);this.$n()},D.ctor=function(b,c,e){C.fa.prototype.ctor.call(this);this.um=q;this.Vb=F(0,0);this.yi=F(0,0);this.M={src:C.af,Qa:C.$e};this.aa=J(0,0,0,0);this.wF=q;this.Y=n;this.Wq={x:0,y:0,width:0,height:0,bs:q};this.IE=H(0,0);this.QO(b,c,e)},D.Qm=function(b,
- c){var e=this.M;c===k?(e.src=b.src,e.Qa=b.Qa):(e.src=b,e.Qa=c);this.pq=e&&(e.src==C.SRC_ALPHA&&e.Qa==C.ONE||e.src==C.ONE&&e.Qa==C.ONE)},D.s=function(){if(0<arguments.length)return this.Be(arguments[0],arguments[1]);C.fa.prototype.s.call(this);this.dirty=this.ni=q;this.Cb=n;this.M.src=C.af;this.M.Qa=C.$e;this.texture=p;this.Y=n;this.Ja=this.La=q;this.anchorY=this.anchorX=0.5;this.Vb.x=0;this.Vb.y=0;this.wj=q;this.zb(J(0,0,0,0),q,H(0,0));return n},D.X=function(b,c,e){C.assert(0!=arguments.length,C.e.VT);
- if((e=e||q)&&b.Pc){var f=b.cc,f=C.vH(f,c),g=new C.ma;g.We(f);g.yc();b=g;this.aa=J(0,0,c.width,c.height)}if(!C.fa.prototype.s.call(this))return q;this.Ya=p;this.dirty=this.ni=q;this.Cb=n;this.M.src=C.af;this.M.Qa=C.$e;this.Ja=this.La=q;this.anchorY=this.anchorX=0.5;this.Vb.x=0;this.Vb.y=0;this.wj=q;this.Y=f=b.Pc;if(!f)return this.ad=e,c&&(this.aa.x=c.x,this.aa.y=c.y,this.aa.width=c.width,this.aa.height=c.height),b.Hc(this.Sz,this),n;c||(c=J(0,0,b.width,b.height));b&&(f=c.y+c.height,c.x+c.width>b.width&&
- C.error(C.e.mD,b.url),f>b.height&&C.error(C.e.lD,b.url));this.texture=this.Hf=b;this.zb(c,e);this.batchNode=p;return n},D.Sz=function(b){if(!this.Y){this.Y=n;var c=this.aa;c?C.lu(c)&&(c.width=b.width,c.height=b.height):c=J(0,0,b.width,b.height);this.texture=this.Hf=b;this.zb(c,this.ad);this.batchNode=this.Ya;this.Yc()}},D.zb=function(b,c,e){this.ad=c||q;this.ja(e||b);this.tJ(b);c=this.Wq;e=C.Tb();c.x=0|b.x*e;c.y=0|b.y*e;c.width=0|b.width*e;c.height=0|b.height*e;c.bs=!(0===c.width||0===c.height||0>
- c.x||0>c.y);b=this.yi;this.Ja&&(b.x=-b.x);this.La&&(b.y=-b.y);this.Vb.x=b.x+(this.f.width-this.aa.width)/2;this.Vb.y=b.y+(this.f.height-this.aa.height)/2;this.Ya&&(this.dirty=n)},D.xg=function(){if(this.dirty){var b=this.hb;!this.Aa||b&&b!=this.Ya&&b.um?this.um=n:(this.um=q,this.no=!b||b==this.Ya?this.vg():C.Um(this.vg(),b.no));this.dirty=this.ni=q}this.wj&&this.mh(this.i,C.v.Cg.xg)},D.m=function(b,c,e){C.assert(b,C.e.TT);c==p&&(c=b.ia);e==p&&(e=b.tag);C.fa.prototype.m.call(this,b,c,e);this.wj=n},
- D.D=function(b){C.fa.prototype.D.call(this,b);this.$n()},D.z=function(b){var c=this.color;c.r===b.r&&c.g===b.g&&c.b===b.b||(C.fa.prototype.z.call(this,b),this.Ol(),this.$n())},D.fb=function(b){var c=this.color;C.fa.prototype.fb.call(this,b);b=this.Ia;c.r===b.r&&c.g===b.g&&c.b===b.b||(this.Ol(),this.$n())},D.Jc=function(b){var c=this;"string"==typeof b&&(b=C.bk.Rj(b),C.assert(b,C.e.YT));c.Ra(n);var e=b.Sb;c.yi.x=e.x;c.yi.y=e.y;c.ad=b.Kd;var e=b.Rb(),f=b.Y;f||(c.Y=q,b.Hc(function(b){c.Y=n;var e=b.Rb();
- e!=c.Fa&&(c.texture=e);c.zb(b.Vf(),b.Kd,b.de);c.Yc()},c));e!=c.Fa&&(c.texture=e);c.ad&&(c.Hf=e);c.zb(b.Vf(),c.ad,b.de);c.$x=q;f&&(b=c.color,(255!==b.r||255!==b.g||255!==b.b)&&c.Ol())},D.NQ=function(b){return b.Rb()!=this.Fa?q:C.xR(b.Vf(),this.aa)},D.TI=function(b){(this.Ya=b)?(this.no={a:1,b:0,va:0,xa:1,Sa:0,Ta:0},this.textureAtlas=this.Ya.textureAtlas):(this.atlasIndex=C.t.PC,this.textureAtlas=p,this.dirty=this.ni=q)},D.cb=function(b){b&&"string"===typeof b?(b=C.tb.xe(b),this.cb(b),b=b.d(),this.zb(J(0,
- 0,b.width,b.height))):(C.assert(!b||b instanceof C.ma,C.e.ZT),this.Fa!=b&&(b&&b.cc instanceof HTMLImageElement&&(this.Hf=b),this.Fa=b))},D.U=function(b){if(this.Y){b=b||C.o;this.pq&&(b.globalCompositeOperation="lighter");var c=C.view.W,e=C.view.na;b.globalAlpha=this.ta/255;var f=this.aa,g=this.f,h=this.Vb,m=this.IE,r=0|h.x,s=-h.y-f.height,u=this.Wq;m.width=f.width*c;m.height=f.height*e;if(this.Ja||this.La)b.save(),this.Ja&&(r=-h.x-f.width,b.scale(-1,1)),this.La&&(s=h.y,b.scale(1,-1));r*=c;s*=e;this.Fa&&
- u.bs?(g=this.Fa.cc,this.$x?b.drawImage(g,0,0,u.width,u.height,r,s,m.width,m.height):b.drawImage(g,u.x,u.y,u.width,u.height,r,s,m.width,m.height)):!this.Fa&&u.bs&&(m=this.color,b.fillStyle="rgba("+m.r+","+m.g+","+m.b+",1)",b.fillRect(r,s,g.width*c,g.height*e));1===C.wl||this.tG?(b.strokeStyle="rgba(0,255,0,1)",r/=c,s=-(s/e),C.kg.ye([F(r,s),F(r+f.width,s),F(r+f.width,s-f.height),F(r,s-f.height)],4,n)):2===C.wl&&(b.strokeStyle="rgba(0,255,0,1)",c=this.aa,s=-s,C.kg.ye([F(r,s),F(r+c.width,s),F(r+c.width,
- s-c.height),F(r,s-c.height)],4,n));(this.Ja||this.La)&&b.restore();C.Di++}},delete D):(C.assert("function"===typeof C.F.ED,C.e.od,"SpritesWebGL.js"),C.F.ED(),delete C.F.ED);C.assert("function"===typeof C.F.gD,C.e.od,"SpritesPropertyDefine.js");C.F.gD();delete C.F.gD;C.BC=29;
- C.aj=C.v.extend({textureAtlas:p,M:p,He:p,ha:"SpriteBatchNode",uda:function(b,c,e){C.assert(b,C.e.wW);if(!(b instanceof C.t))return C.log(C.e.vW),p;b.atlasIndex=c;var f=0,g=this.He;if(g&&0<g.length)for(var h=0;h<g.length;h++){var m=g[h];m&&m.atlasIndex>=c&&++f}g.splice(f,0,b);C.v.prototype.m.call(this,b,c,e);this.ER(q);return this},mQ:x("textureAtlas"),IS:function(b){b!=this.textureAtlas&&(this.textureAtlas=b)},u3:x("He"),Be:function(b,c){var e=C.tb.Ur(b);e||(e=C.tb.xe(b));return this.X(e,c)},$n:function(){this.$h=
- n},s:function(b,c){var e=C.tb.Ur(b);e||(e=C.tb.xe(b));return this.X(e,c)},$A:function(){var b=this.textureAtlas.capacity,c=Math.floor(4*(b+1)/3);C.log(C.e.xW,b,c);this.textureAtlas.HR(c)||C.log(C.e.yW)},wla:function(b,c){this.removeChild(this.i[b],c)},wR:function(b,c){var e=b.children;if(e&&0<e.length)for(var f=0;f<e.length;f++){var g=e[f];g&&0>g.zIndex&&(c=this.wR(g,c))}!b==this&&(b.atlasIndex=c,c++);if(e&&0<e.length)for(f=0;f<e.length;f++)(g=e[f])&&0<=g.zIndex&&(c=this.wR(g,c));return c},gI:function(b){var c=
- b.children;return!c||0==c.length?b.atlasIndex:this.gI(c[c.length-1])},n6:function(b){var c=b.children;return!c||0==c.length?b.atlasIndex:this.n6(c[c.length-1])},L1:function(b,c){var e=b.parent,f=e.children,g=f.indexOf(b),h=p;0<g&&g<C.vD&&(h=f[g-1]);return e==this?0==g?0:this.gI(h)+1:0==g?0>c?e.atlasIndex:e.atlasIndex+1:0>h.zIndex&&0>c||0<=h.zIndex&&0<=c?this.gI(h)+1:e.atlasIndex+1},ER:v("Pe"),Qm:function(b,c){this.M=c===k?b:{src:b,Qa:c}},av:x("M"),Sv:function(b,c){C.assert(b,C.e.BW);-1===this.i.indexOf(b)?
- C.log(C.e.AW):c!==b.zIndex&&(C.v.prototype.Sv.call(this,b,c),this.Ra())},removeChild:function(b,c){b!=p&&(-1===this.i.indexOf(b)?C.log(C.e.zW):(this.Xo(b),C.v.prototype.removeChild.call(this,b,c)))},v_:p,ho:p,bda:q,Hf:p,ctor:p,ut:function(b,c){C.v.prototype.ctor.call(this);var e;c=c||C.BC;"string"==typeof b?(e=C.tb.Ur(b))||(e=C.tb.xe(b)):b instanceof C.ma&&(e=b);e&&this.X(e,c)},vt:function(b,c){C.v.prototype.ctor.call(this);this.v_=new C.Lh;var e;c=c||C.BC;"string"==typeof b?(e=C.tb.Ur(b))||(e=C.tb.xe(b)):
- b instanceof C.ma&&(e=b);e&&this.X(e,c)},mT:p,m1:function(b,c){C.assert(b,C.e.$T);b instanceof C.t?(b.batchNode=this,b.atlasIndex=c,b.dirty=n,b.xg()):C.log(C.e.rC)},n1:function(b,c){C.assert(b,C.e.rC);if(b instanceof C.t){for(var e=this.textureAtlas.capacity;c>=e||e==this.textureAtlas.totalQuads;)this.$A();b.batchNode=this;b.atlasIndex=c;b.dirty=n;b.xg()}else C.log(C.e.rC)},Rz:function(b,c){var e=this.He,f=this.textureAtlas,g=f.quads,h=e[b],m=C.OL(g[b]);e[c].atlasIndex=b;e[b]=e[c];f.cC(g[c],b);e[c]=
- h;f.cC(m,c)},IQ:p,f_:function(b,c){C.assert(b,C.e.XT);b instanceof C.t?(b.batchNode=this,b.atlasIndex=c,b.dirty=n,b.xg(),this.i.splice(c,0,b)):C.log(C.e.WT)},g_:function(b,c){C.assert(b,C.e.RW);if(b instanceof C.t){for(var e=this.textureAtlas;c>=e.capacity||e.capacity===e.totalQuads;)this.$A();b.batchNode=this;b.atlasIndex=c;e.lI(b.quad,c);b.dirty=n;b.xg()}else C.log(C.e.QW)},dP:function(b,c){var e=0,f=b.children;f&&(e=f.length);var g=0;if(0===e)g=b.atlasIndex,b.atlasIndex=c,b.arrivalOrder=0,g!=c&&
- this.Rz(g,c),c++;else{g=n;0<=f[0].zIndex&&(g=b.atlasIndex,b.atlasIndex=c,b.arrivalOrder=0,g!=c&&this.Rz(g,c),c++,g=q);for(e=0;e<f.length;e++){var h=f[e];g&&0<=h.zIndex&&(g=b.atlasIndex,b.atlasIndex=c,b.arrivalOrder=0,g!=c&&this.Rz(g,c),c++,g=q);c=this.dP(h,c)}g&&(g=b.atlasIndex,b.atlasIndex=c,b.arrivalOrder=0,g!=c&&this.Rz(g,c),c++)}return c},oo:function(){this.textureAtlas.texture.rr()||(this.M.src=C.SRC_ALPHA,this.M.Qa=C.ONE_MINUS_SRC_ALPHA)},X:p,jF:function(b){this.i=[];this.He=[];this.M=new C.Wm(C.af,
- C.$e);this.ho=this.Hf=b;return n},kF:function(b,c){this.i=[];this.He=[];this.M=new C.Wm(C.af,C.$e);c=c||C.BC;this.textureAtlas=new C.fn;this.textureAtlas.X(b,c);this.oo();this.shaderProgram=C.Ph.Oi(C.ix);return n},B5:function(b,c){b.batchNode=this;b.atlasIndex=c;b.dirty=n;var e=this.textureAtlas;e.totalQuads>=e.capacity&&this.$A();e.lI(b.quad,c);this.He.splice(c,0,b);var e=c+1,f=this.He;if(f&&0<f.length)for(;e<f.length;e++)f[e].atlasIndex++;var f=b.children,g;if(f){e=0;for(l=f.length||0;e<l;e++)(g=
- f[e])&&this.B5(g,this.L1(g,g.zIndex))}},appendChild:p,hY:function(b){this.Pe=n;b.batchNode=this;b.dirty=n;this.He.push(b);b.atlasIndex=this.He.length-1;b=b.children;for(var c=0,e=b.length||0;c<e;c++)this.appendChild(b[c])},iY:function(b){this.Pe=n;b.batchNode=this;b.dirty=n;this.He.push(b);var c=this.He.length-1;b.atlasIndex=c;var e=this.textureAtlas;e.totalQuads==e.capacity&&this.$A();e.lI(b.quad,c);b=b.children;c=0;for(e=b.length||0;c<e;c++)this.appendChild(b[c])},Xo:p,U_:function(b){b.batchNode=
- p;var c=this.He,e=c.indexOf(b);if(-1!=e){c.splice(e,1);for(var f=c.length;e<f;++e)c[e].atlasIndex--}if(b=b.children){c=0;for(e=b.length||0;c<e;c++)b[c]&&this.Xo(b[c])}},V_:function(b){this.textureAtlas.o7(b.atlasIndex);b.batchNode=p;var c=this.He,e=c.indexOf(b);if(-1!=e){c.splice(e,1);for(var f=c.length;e<f;++e)c[e].atlasIndex--}if(b=b.children){c=0;for(e=b.length||0;c<e;c++)b[c]&&this.Xo(b[c])}},Rb:p,cF:x("ho"),dF:function(){return this.textureAtlas.texture},cb:p,qG:function(b){this.ho=b;for(var c=
- this.i,e=0;e<c.length;e++)c[e].texture=b},rG:function(b){this.textureAtlas.texture=b;this.oo()},G:p,qo:function(b){var c=b||C.o;if(this.Aa){c.save();this.transform(b);var e=this.i;if(e){this.oc();for(b=0;b<e.length;b++)e[b]&&e[b].G(c)}c.restore()}},ro:function(b){b=b||C.o;if(this.Aa){C.Mo();var c=this.bl;c&&c.wr()&&(c.sA(),this.aC());this.oc();this.transform(b);this.U(b);c&&c.wr()&&c.oA(this);C.Lo();this.arrivalOrder=0}},m:p,ND:function(b,c,e){C.assert(b!=p,C.e.UT);b instanceof C.t?(c=c==p?b.zIndex:
- c,e=e==p?b.tag:e,C.v.prototype.m.call(this,b,c,e),this.appendChild(b),this.Ra()):C.log(C.e.ST)},fY:function(b,c,e){C.assert(b!=p,C.e.JW);b instanceof C.t?b.texture!=this.textureAtlas.texture?C.log(C.e.IW):(c=c==p?b.zIndex:c,e=e==p?b.tag:e,C.v.prototype.m.call(this,b,c,e),this.appendChild(b),this.Ra()):C.log(C.e.HW)},Ye:p,S_:function(b){var c=this.He;if(c&&0<c.length)for(var e=0,f=c.length;e<f;e++)c[e]&&(c[e].batchNode=p);C.v.prototype.Ye.call(this,b);this.He.length=0},T_:function(b){var c=this.He;
- if(c&&0<c.length)for(var e=0,f=c.length;e<f;e++)c[e]&&(c[e].batchNode=p);C.v.prototype.Ye.call(this,b);this.He.length=0;this.textureAtlas.j7()},oc:p,P0:function(){if(this.Pe){var b,c=0,e=this.i,f=e.length,g;for(b=1;b<f;b++){var h=e[b],c=b-1;for(g=e[c];0<=c&&(h.ia<g.ia||h.ia==g.ia&&h.arrivalOrder<g.arrivalOrder);)e[c+1]=g,c-=1,g=e[c];e[c+1]=h}0<e.length&&this.mh(e,C.v.Cg.oc);this.Pe=q}},Q0:function(){if(this.Pe){var b=this.i,c,e=0,f=b.length,g;for(c=1;c<f;c++){var h=b[c],e=c-1;for(g=b[e];0<=e&&(h.ia<
- g.ia||h.ia==g.ia&&h.arrivalOrder<g.arrivalOrder);)b[e+1]=g,e-=1,g=b[e];b[e+1]=h}if(0<b.length){this.mh(b,C.v.Cg.oc);for(c=e=0;c<b.length;c++)e=this.dP(b[c],e)}this.Pe=q}},U:p,vn:function(){0!==this.textureAtlas.totalQuads&&(this.fe.xf(),this.fe.Xg(),this.mh(this.i,C.v.Cg.xg),C.Jm(this.M.src,this.M.Qa),this.textureAtlas.F2())}});D=C.aj.prototype;
- C.ca===C.Nb?(D.ctor=D.vt,D.mT=D.n1,D.IQ=D.g_,D.X=D.kF,D.appendChild=D.iY,D.Xo=D.V_,D.Rb=D.dF,D.cb=D.rG,D.G=D.ro,D.m=D.fY,D.Ye=D.T_,D.oc=D.Q0,D.U=D.vn):(D.ctor=D.ut,D.mT=D.m1,D.IQ=D.f_,D.X=D.jF,D.appendChild=D.hY,D.Xo=D.U_,D.Rb=D.cF,D.cb=D.qG,D.G=D.qo,D.Ye=D.S_,D.m=D.ND,D.oc=D.P0,D.U=C.v.prototype.U);C.c(D,"texture",D.Rb,D.cb);C.c(D,"descendants",D.u3);C.aj.create=function(b,c){return new C.aj(b,c)};C.RT=C.t.extend({nj:p,Zh:p,ctor:function(){C.t.prototype.ctor.call(this);var b=document.createElement("canvas");b.width=b.height=10;this.nj=b;this.Zh=b.getContext("2d");var c=new C.ma;c.We(b);c.yc();this.cb(c)},gga:x("Zh"),fga:x("nj"),GR:function(b,c){c===k&&(c=b.height,b=b.width);var e=this.nj;e.width=b;e.height=c;this.Rb().yc();this.zb(J(0,0,b,c),q)}});C.bh=C.Ca.extend({Pq:p,Ge:0,dr:p,ctor:function(b,c,e){this.Pq=b||p;this.Ge=c||0;this.dr=e||p},j:function(){var b=new C.bh;b.Vg(this.Pq.j(),this.Ge,this.dr);return b},AA:function(){return C.j(this)},copy:function(){var b=new C.bh;b.Vg(this.Pq.j(),this.Ge,this.dr);return b},Vg:function(b,c,e){this.Pq=b;this.Ge=c;this.dr=e;return n},Rj:x("Pq"),Jc:v("Pq"),Dga:x("Ge"),Rma:v("Ge"),iia:x("dr"),Wna:v("dr")});C.bh.create=function(b,c,e){return new C.bh(b,c,e)};
- C.Vm=C.Ca.extend({Ke:p,Dk:0,Vn:q,N:0,Ge:0,Kj:0,ctor:function(b,c,e){this.Ke=[];if(b===k)this.GQ(p,0);else{var f=b[0];f&&(f instanceof C.Bg?this.GQ(b,c,e):f instanceof C.bh&&this.aB(b,c,e))}},Qga:x("Ke"),cna:v("Ke"),dH:function(b){var c=new C.bh;c.Vg(b,1,p);this.Ke.push(c);this.Kj++},sda:function(b){b=C.tb.xe(b);var c=J(0,0,0,0);c.width=b.width;c.height=b.height;b=C.Bg.create(b,c);this.dH(b)},tda:function(b,c){var e=C.Bg.create(b,c);this.dH(e)},aB:function(b,c,e){C.gr(b,C.bh);this.Ge=c;this.Dk=e===
- k?1:e;this.Kj=0;c=this.Ke;for(e=c.length=0;e<b.length;e++){var f=b[e];c.push(f);this.Kj+=f.Ge}return n},j:function(){var b=new C.Vm;b.aB(this.oM(),this.Ge,this.Dk);b.QB(this.Vn);return b},AA:function(){var b=new C.Vm;b.aB(this.oM(),this.Ge,this.Dk);b.QB(this.Vn);return b},oM:function(){for(var b=[],c=0;c<this.Ke.length;c++)b.push(this.Ke[c].j());return b},copy:function(){return this.AA(p)},bha:x("Dk"),jna:v("Dk"),QB:v("Vn"),Gha:x("Vn"),PH:function(){return this.Kj*this.Ge},Cga:x("Ge"),Qma:v("Ge"),
- $ha:x("Kj"),GQ:function(b,c,e){C.gr(b,C.Bg);this.Dk=e===k?1:e;this.Ge=c||0;this.Kj=0;c=this.Ke;c.length=0;if(b){for(e=0;e<b.length;e++){var f=b[e],g=new C.bh;g.Vg(f,1,p);c.push(g)}this.Kj+=b.length}return n},NI:t(),Hr:t()});C.Vm.create=function(b,c,e){return new C.Vm(b,c,e)};C.pA={Dp:{},mP:function(b,c){this.Dp[c]=b},tla:function(b){b&&this.Dp[b]&&delete this.Dp[b]},VP:function(b){return this.Dp[b]?this.Dp[b]:p},eY:function(b,c){var e=b.animations;if(e){var f=1,g=b.properties;if(g)for(var f=g.format!=p?parseInt(g.format):f,g=g.spritesheets,h=C.bk,m=C.path,r=0;r<g.length;r++)h.sP(m.vA(c,g[r]));switch(f){case 1:this.L_(e);break;case 2:this.M_(e);break;default:C.log(C.e.C1)}}else C.log(C.e.B1)},gda:function(b){C.assert(b,C.e.K1);var c=C.da.Ih(b);c?this.eY(c,b):C.log(C.e.J1)},
- L_:function(b){var c=C.bk,e;for(e in b){var f=b[e],g=f.frames,f=parseFloat(f.delay)||0,h=p;if(g){for(var h=[],m=0;m<g.length;m++){var r=c.Rj(g[m]);if(r){var s=new C.bh;s.Vg(r,1,p);h.push(s)}else C.log(C.e.E1,e,g[m])}0===h.length?C.log(C.e.F1,e):(h.length!=g.length&&C.log(C.e.G1,e),h=C.Vm.create(h,f,1),C.pA.mP(h,e))}else C.log(C.e.D1,e)}},M_:function(b){var c=C.bk,e;for(e in b){var f=b[e],g=parseInt(f.loops),g=f.loop?C.wp:isNaN(g)?1:g,h=f.restoreOriginalFrame&&f.restoreOriginalFrame==n?n:q,m=f.frames;
- if(m){for(var r=[],s=0;s<m.length;s++){var u=m[s],y=u.spriteframe,z=c.Rj(y);if(z){var y=parseFloat(u.delayUnits)||0,u=u.notification,B=new C.bh;B.Vg(z,y,u);r.push(B)}else C.log(C.e.I1,e,y)}f=parseFloat(f.delayPerUnit)||0;m=new C.Vm;m.aB(r,f,g);m.QB(h);C.pA.mP(m,e)}else C.log(C.e.H1,e)}},Pl:function(){this.Dp={}}};C.Bg=C.Ca.extend({Sb:p,de:p,Lf:p,Kd:q,aa:p,vh:p,Mg:p,Fa:p,Vq:"",Y:q,qy:p,ctor:function(b,c,e,f,g){this.Sb=F(0,0);this.vh=F(0,0);this.de=H(0,0);this.Kd=q;this.Mg=H(0,0);this.Vq="";this.Fa=p;this.Y=q;b!==k&&c!==k&&(e===k||f===k||g===k?this.X(b,c):this.X(b,c,e,f,g))},Vr:x("Y"),Hc:function(b,c){this.qy==p&&(this.qy=[]);this.qy.push({Sg:b,Uf:c})},Yc:function(){var b=this.qy;if(b){for(var c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0}},y4:function(){var b=this.Lf;return J(b.x,b.y,b.width,
- b.height)},Dna:function(b){this.Lf||(this.Lf=J(0,0,0,0));this.Lf.x=b.x;this.Lf.y=b.y;this.Lf.width=b.width;this.Lf.height=b.height;this.aa=C.Pv(b)},hja:x("Kd"),Fna:v("Kd"),Vf:function(){var b=this.aa;return J(b.x,b.y,b.width,b.height)},wS:function(b){this.aa||(this.aa=J(0,0,0,0));this.aa.x=b.x;this.aa.y=b.y;this.aa.width=b.width;this.aa.height=b.height;this.Lf=C.Qv(this.aa)},kha:x("vh"),rna:function(b){this.vh.x=b.x;this.vh.y=b.y;C.IF(this.vh,this.Sb)},oha:x("Mg"),tna:function(b){this.Mg.width=b.width;
- this.Mg.height=b.height},m4:x("de"),sna:function(b){this.de.width=b.width;this.de.height=b.height},Rb:function(){if(this.Fa)return this.Fa;if(""!==this.Vq){var b=C.tb.xe(this.Vq);b&&(this.Y=b.Pc);return b}return p},cb:function(b){if(this.Fa!=b){var c=b.Pc;this.Y=c;this.Fa=b;c||b.Hc(function(b){this.Y=n;if(this.Kd&&C.ca===C.Ub){var c=b.cc,c=C.vH(c,this.Vf()),g=new C.ma;g.We(c);g.yc();this.cb(g);c=this.Vf();this.wS(J(0,0,c.width,c.height))}c=this.aa;0===c.width&&0===c.height&&(c=b.width,b=b.height,
- this.aa.width=c,this.aa.height=b,this.Lf=C.Qv(this.aa),this.Mg.width=this.Lf.width,this.Mg.height=this.Lf.height,this.de.width=c,this.de.height=b);this.Yc()},this)}},jha:x("Sb"),qna:function(b){this.Sb.x=b.x;this.Sb.y=b.y},j:function(){var b=new C.Bg;b.X(this.Vq,this.Lf,this.Kd,this.vh,this.Mg);b.cb(this.Fa);return b},AA:function(){var b=new C.Bg;b.X(this.Vq,this.Lf,this.Kd,this.vh,this.Mg);b.cb(this.Fa);return b},copy:function(){return this.AA()},X:function(b,c,e,f,g){2===arguments.length&&(c=C.Qv(c));
- f=f||F(0,0);g=g||c;e=e||q;"string"==typeof b?(this.Fa=p,this.Vq=b):b instanceof C.ma&&this.cb(b);if(b=this.Rb()){var h,m;e?(h=c.x+c.height,m=c.y+c.width):(h=c.x+c.width,m=c.y+c.height);h>b.width&&C.error(C.e.mD,b.url);m>b.height&&C.error(C.e.lD,b.url)}this.Lf=c;this.aa=C.Pv(c);this.vh.x=f.x;this.vh.y=f.y;C.IF(f,this.Sb);this.Mg.width=g.width;this.Mg.height=g.height;C.MO(g,this.de);this.Kd=e;return n}});C.Bg.create=function(b,c,e,f,g){return new C.Bg(b,c,e,f,g)};
- C.Bg.Zba=function(b,c,e,f,g){var h=new C.Bg;h.Fa=b;h.Lf=c;h.aa=C.Pv(c);h.vh.x=f.x;h.vh.y=f.y;C.IF(h.vh,h.Sb);h.Mg.width=g.width;h.Mg.height=g.height;C.MO(h.Mg,h.de);h.Kd=e;return h};C.bk={RL:/^\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*$/,SX:/^\s*\{\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*,\s*\{\s*([\-]?\d+[.]?\d*)\s*,\s*([\-]?\d+[.]?\d*)\s*\}\s*\}\s*$/,si:{},Nk:{},fq:{},pO:function(b){b=this.SX.exec(b);return!b?J(0,0,0,0):J(parseFloat(b[1]),parseFloat(b[2]),parseFloat(b[3]),parseFloat(b[4]))},fO:function(b){b=this.RL.exec(b);return!b?F(0,0):F(parseFloat(b[1]),parseFloat(b[2]))},uG:function(b){b=this.RL.exec(b);return!b?H(0,0):H(parseFloat(b[1]),
- parseFloat(b[2]))},nZ:function(b){var c=C.da.Ih(b);C.assert(c,C.e.b9,b);C.da.Hr(b);if(c.mq)return this.fq[b]=c;var e=c.frames,f=c.metadata||c.meta,c={},g={},h=0;f&&(h=f.format,h=1>=h.length?parseInt(h):h,g.l5=f.textureFileName||f.textureFileName||f.image);for(var m in e){var r=e[m];if(r){f={};if(0==h){f.rect=J(r.x,r.y,r.width,r.height);f.AB=q;f.offset=F(r.offsetX,r.offsetY);var s=r.originalWidth,r=r.originalHeight;(!s||!r)&&C.log(C.e.a9);s=Math.abs(s);r=Math.abs(r);f.size=H(s,r)}else if(1==h||2==
- h)f.rect=this.pO(r.frame),f.AB=r.rotated||q,f.offset=this.fO(r.offset),f.size=this.uG(r.sourceSize);else if(3==h){var s=this.uG(r.spriteSize),u=this.pO(r.textureRect);s&&(u=J(u.x,u.y,s.width,s.height));f.rect=u;f.AB=r.textureRotated||q;f.offset=this.fO(r.spriteOffset);f.size=this.uG(r.spriteSourceSize);f.u1=r.aliases}else s=r.frame,u=r.sourceSize,m=r.filename||m,f.rect=J(s.x,s.y,s.w,s.h),f.AB=r.rotated||q,f.offset=F(0,0),f.size=H(u.w,u.h);c[m]=f}}return this.fq[b]={mq:n,frames:c,o6:g}},sP:function(b,
- c){C.assert(b,C.e.d9);var e=this.fq[b]||C.da.Ih(b);if(e&&e.frames){var f=this.fq[b]||this.nZ(b),e=f.frames,f=f.o6;c?c instanceof C.ma||("string"==typeof c?c=C.tb.xe(c):C.assert(0,C.e.e9)):c=C.tb.xe(C.path.vA(b,f.l5||".png"));var f=this.Nk,g=this.si,h;for(h in e){var m=e[h],r=g[h];if(!r){r=C.Bg.create(c,m.rect,m.AB,m.offset,m.size);if(m=m.u1)for(var s=0,u=m.length;s<u;s++){var y=m[s];f[y]&&C.log(C.e.c9,y);f[y]=h}C.ca===C.Ub&&r.Kd&&r.Rb().Pc&&(m=r.Rb().cc,m=C.vH(m,r.y4()),s=new C.ma,s.We(m),s.yc(),
- r.cb(s),m=r.aa,r.wS(J(0,0,m.width,m.height)));g[h]=r}}}},Bba:function(b){b=b.frames;for(var c in b)this.si[c]&&C.log(C.e.Z8,c)},dH:function(b,c){this.si[c]=b},Jla:function(){this.si={};this.Nk={}},Ila:function(b){b&&(this.Nk[b]&&delete this.Nk[b],this.si[b]&&delete this.si[b])},Kla:function(b){var c=this.si,e=this.Nk;if(b=this.fq[b]){b=b.frames;for(var f in b)if(c[f]){delete c[f];for(var g in e)e[g]==f&&delete e[g]}}},Lla:function(b){var c=this.si,e=this.Nk,f;for(f in c){var g=c[f];if(g&&g.Rb()==
- b){delete c[f];for(var h in e)e[h]==f&&delete e[h]}}},Rj:function(b){var c=this.si[b];if(!c){var e=this.Nk[b];e&&((c=this.si[e.toString()])||delete this.Nk[b])}c||C.log(C.e.f9,b);return c},Pl:function(){this.si={};this.Nk={};this.fq={}}};C.ir={O$:0,Jaa:1,INT:2,K$:3,m$:4,Xt:0,s_:0,IG:q,Qz:q,GG:q,HG:q,JG:q,xca:0,uF:0,ux:"",Ju:{},mq:q,Ky:function(){var b=this.Ju;b["cocos2d.x.version"]=C.HC;b["cocos2d.x.compiled_with_profiler"]=q;b["cocos2d.x.compiled_with_gl_state_cache"]=C.iK;this.mq=n},eha:x("Xt"),dha:x("s_"),fha:x("uF"),loa:x("Qz"),moa:x("IG"),koa:A(q),noa:A(q),hoa:A(q),ioa:x("GG"),joa:x("HG"),ooa:x("JG"),hr:function(b){return-1<this.ux.indexOf(b)},pr:function(b,c){this.mq||this.Ky();var e=this.Ju;return e[b]?e[b]:c},Ud:function(b,
- c){this.Ju[b]=c},H2:function(){0===C.iK&&(C.log(""),C.log(C.e.h2),C.log(""))},f3:function(){if(C.ca!==C.Ub){this.mq||this.Ky();var b=C.o,c=this.Ju;c["gl.vendor"]=b.getParameter(b.VENDOR);c["gl.renderer"]=b.getParameter(b.RENDERER);c["gl.version"]=b.getParameter(b.VERSION);this.ux="";for(var e=b.getSupportedExtensions(),f=0;f<e.length;f++)this.ux+=e[f]+" ";this.Xt=b.getParameter(b.MAX_TEXTURE_SIZE);c["gl.max_texture_size"]=this.Xt;this.uF=b.getParameter(b.MAX_COMBINED_TEXTURE_IMAGE_UNITS);c["gl.max_texture_units"]=
- this.uF;this.IG=this.hr("GL_IMG_texture_compression_pvrtc");c["gl.supports_PVRTC"]=this.IG;this.Qz=q;c["gl.supports_NPOT"]=this.Qz;this.GG=this.hr("GL_IMG_texture_format_BGRA888");c["gl.supports_BGRA8888"]=this.GG;this.HG=this.hr("GL_EXT_discard_framebuffer");c["gl.supports_discard_framebuffer"]=this.HG;this.JG=this.hr("vertex_array_object");c["gl.supports_vertex_array_object"]=this.JG;C.wA()}},Mja:function(b){this.mq||this.Ky();var c=C.da.Ih(b);c||d("Please load the resource first : "+b);C.assert(c,
- C.e.j2,b);if(c=c.data)for(var e in c)this.Ju[e]=c[e];else C.log(C.e.i2,b)}};C.F.EC=function(){C.M$=C.Ca.extend({Hoa:t()});var b=C.gb.prototype;b.cw=function(b){var e=this.ib;this.NS();var f=this.li,g=f.pf.x/f.W,h=f.pf.y/f.na;switch(b){case C.gb.VV:C.Ko(C.Ww);C.tI();f=new C.Lh;C.i6(f,0,e.width,0,e.height,-1024,1024);C.lB(f);C.Ko(C.Vw);C.tI();break;case C.gb.tL:var m=this.mv(),r=new C.Lh,f=new C.Lh;C.Ko(C.Ww);C.tI();C.Eja(r,60,e.width/e.height,0.1,2*m);C.lB(r);C.Ko(C.Vw);C.tI();m=C.Bv(p,-g+e.width/2,-h+e.height/2,m);e=C.Bv(p,-g+e.width/2,-h+e.height/2,0);g=C.Bv(p,0,1,0);C.g6(f,
- m,e,g);C.lB(f);break;case C.gb.WV:break;default:C.log(C.e.yU)}this.qm=b;C.pa.dispatchEvent(this.ry);C.Ana()};b.aS=function(b){var e=C.o;b?(e.clearDepth(1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL)):e.disable(e.DEPTH_TEST)};b.gJ=function(b){this.ib.width=C.ub.width;this.ib.height=C.ub.height;this.li=b||C.view;b=C.ir;b.f3();b.H2();this.Vp();this.fS();C.pa&&C.pa.Ba(n)};b.Pl=function(){var b=C.o;b.clear(b.COLOR_BUFFER_BIT|b.DEPTH_BUFFER_BIT)};b.aE=function(){C.Mo()};b.PD=function(){C.Lo()};b.Vp=function(){if(C.Uh){if(!(C.gb.lN==
- p||C.gb.lN==q)){var b=new C.ma;b.We(C.gb.eq);b.yc();var e=C.view.OH().height/320;0===e&&(e=this.ib.height/320);var f=new C.Uh;f.kG(n);f.yd("00.0",b,12,32,".");f.scale=e;this.Dg=f;f=new C.Uh;f.kG(n);f.yd("0.000",b,12,32,".");f.scale=e;this.Eg=f;f=new C.Uh;f.kG(n);f.yd("000",b,12,32,".");f.scale=e;this.Jg=f;b=C.CC;this.Jg.q(b.x,34*e+b.y);this.Eg.q(b.x,17*e+b.y);this.Dg.q(b)}}else this.LY()};b.LY=function(){var b=0,b=this.ib.width>this.ib.height?0|24*(this.ib.height/320):0|24*(this.ib.width/320);this.Dg=
- C.H.create("000.0","Arial",b);this.Eg=C.H.create("0.000","Arial",b);this.Jg=C.H.create("0000","Arial",b);b=C.CC;this.Jg.q(this.Jg.width/2+b.x,5*this.Jg.height/2+b.y);this.Eg.q(this.Eg.width/2+b.x,3*this.Eg.height/2+b.y);this.Dg.q(this.Dg.width/2+b.x,this.Dg.height/2+b.y)};b.l2=function(b){var e=new C.Lh;C.yK(e);var f=new C.Lh;C.Dja(f,e);var g=this.li.OH();b=new C.xr(2*b.x/g.width-1,1-2*b.y/g.height,e.Nh[14]/e.Nh[15]);e=new C.xr;C.j6(e,b,f);return F(e.x,e.y)};b.n2=function(b){var e=new C.Lh;C.yK(e);
- var f=new C.xr;b=new C.xr(b.x,b.y,0);C.j6(f,b,e);e=this.li.OH();return F(e.width*(0.5*f.x+0.5),e.height*(0.5*-f.y+0.5))};b.lv=function(){return this.li.lv()};b.bI=function(){return this.li.bI()};b.mv=function(){return this.ib.height/1.1566};b.NS=function(){var b=this.li;if(b){var e=this.ib;b.P8(-b.pf.x/b.W,-b.pf.y/b.na,e.width,e.height)}};b.mha=x("li");b.Aha=x("qm");b.H7=function(){C.Jm(C.af,C.$e)};b.fS=function(){this.H7();this.aS(q);this.cw(this.qm);C.o.clearColor(0,0,0,1)}};C.Di=0;C.yK=function(b){var c=new C.Lh;C.d6(C.Ww,c);var e=new C.Lh;C.d6(C.Vw,e);C.h6(b,c,e)};
- C.gb=C.Ca.extend({tca:q,$t:q,Ne:q,vz:q,Xn:q,Cx:0,BF:0,qm:0,Cp:0,tn:1,At:q,Sl:0,PE:0,Dg:p,Eg:p,Jg:p,ib:p,em:p,Aj:p,kz:p,li:p,Ij:p,VF:p,ee:p,Ke:0,MG:0,gG:0,Wba:p,Pg:p,lh:p,ry:p,LE:p,NE:p,ME:p,ctor:function(){var b=this;b.em=Date.now();C.pa.s1(C.ze.yw,function(){b.em=Date.now()})},s:function(){this.BF=this.Cx=1/C.q2;this.Ij=[];this.qm=C.gb.XV;this.VF=p;this.PE=this.Cp=0;this.At=q;this.MG=this.Ke=0;this.em=Date.now();this.vz=this.Ne=q;this.ib=H(0,0);this.li=p;this.tn=1;this.Pg=new C.Ss;this.lh=C.HJ?new C.HJ:
- p;this.Pg.QI(this.lh,C.Ss.bx,q);this.LE=new C.fk(C.gb.FU);this.LE.setUserData(this);this.NE=new C.fk(C.gb.HU);this.NE.setUserData(this);this.ME=new C.fk(C.gb.GU);this.ME.setUserData(this);this.ry=new C.fk(C.gb.MU);this.ry.setUserData(this);return n},X1:function(){var b=Date.now();this.$t?(this.Sl=0,this.$t=q):this.Sl=(b-this.em)/1E3;0<C.ze.sg[C.ze.Vi.DA]&&0.2<this.Sl&&(this.Sl=1/60);this.em=b},G2:function(){this.X1();this.Ne||(this.Pg.update(this.Sl),C.pa.dispatchEvent(this.ME));this.Pl();this.Aj&&
- this.s8();this.aE&&this.aE();this.ee&&(this.ee.G(),C.pa.dispatchEvent(this.NE));this.kz&&this.kz.G();this.At&&this.O0();this.PD&&this.PD();C.pa.dispatchEvent(this.LE);this.MG++;this.At&&this.sY()},aE:p,PD:p,end:function(){this.vz=n},tga:x("tn"),gha:x("kz"),mia:x("ib"),f5:function(){return H(this.ib.width*this.tn,this.ib.height*this.tn)},pause:function(){this.Ne||(this.BF=this.Cx,this.RR(0.25),this.Ne=n)},Uka:function(){C.assert(this.ee,C.e.vU);this.Ij.pop();var b=this.Ij.length;0==b?this.end():(this.Xn=
- n,this.Aj=this.Ij[b-1])},U6:function(){C.pA.Pl();C.bk.Pl();C.tb.Pl()},V6:function(){this.Hm().bC();C.pa&&C.pa.Ba(q);this.ee&&(this.ee.Xe(),this.ee.Jb(),this.ee.Te());this.Aj=this.ee=p;this.Ij.length=0;this.XS();this.U6();C.wA()},Y6:function(b){C.assert(b,C.e.gK);this.Xn=q;this.Ij.push(b);this.Aj=b},KR:function(b){C.assert(b,C.e.gK);if(this.ee){var c=this.Ij.length;0===c?(this.Xn=n,this.Ij[c]=b):(this.Xn=n,this.Ij[c-1]=b);this.Aj=b}else this.Y6(b),this.TS()},Jr:function(){this.Ne&&(this.RR(this.BF),
- (this.em=Date.now())||C.log(C.e.xU),this.Ne=q,this.Sl=0)},Nma:function(b){b!=this.tn&&(this.tn=b,this.Vp())},Pma:t(),lna:v("$t"),s8:function(){var b=q,c=q;C.NL&&(b=this.ee?this.ee instanceof C.NL:q,c=this.Aj?this.Aj instanceof C.NL:q);if(!c){if(c=this.ee)c.Xe(),c.Jb();this.Xn&&c&&c.Te()}this.ee=this.Aj;this.Aj=p;!b&&this.ee!=p&&(this.ee.kb(),this.ee.Wg())},nna:v("kz"),bv:x("VF"),dp:v("VF"),O0:function(){this.Ke++;this.Cp+=this.Sl;this.Dg&&this.Eg&&this.Jg?(this.Cp>C.rU&&(this.Eg.string=this.gG.toFixed(3),
- this.PE=this.Ke/this.Cp,this.Cp=this.Ke=0,this.Dg.string=this.PE.toFixed(1),this.Jg.string=(0|C.Di).toString()),this.Dg.G(),this.Eg.G(),this.Jg.G()):this.Vp();C.Di=0},ija:x("Xn"),Hha:x("ee"),Sfa:x("Cx"),Qia:x("At"),Z7:v("At"),Lha:x("gG"),Zia:x("$t"),dja:x("Ne"),aia:x("MG"),Vka:function(){this.L6(1)},L6:function(b){C.assert(this.ee,C.e.wU);var c=this.Ij,e=c.length;if(0==e)this.end();else if(!(b>e)){for(;e>b;){var f=c.pop();f.running&&(f.Xe(),f.Jb());f.Te();e--}this.Aj=c[c.length-1];this.Xn=q}},Hm:x("Pg"),
- DS:function(b){this.Pg!=b&&(this.Pg=b)},MA:x("lh"),MR:function(b){this.lh!=b&&(this.lh=b)},Ega:x("Sl"),Vp:p,sY:function(){this.gG=(Date.now()-this.em)/1E3}});C.gb.MU="director_projection_changed";C.gb.FU="director_after_draw";C.gb.HU="director_after_visit";C.gb.GU="director_after_update";C.zU=C.gb.extend({hB:q,TS:function(){this.$t=n;this.hB=q},bR:function(){this.vz?(this.vz=q,this.V6()):this.hB||this.G2()},XS:function(){this.hB=n},RR:function(b){this.Cx=b;this.hB||(this.XS(),this.TS())}});
- C.gb.wJ=p;C.gb.UP=n;C.gb.WE=function(){C.gb.UP&&(C.gb.UP=q,C.gb.wJ=new C.zU,C.gb.wJ.s());return C.gb.wJ};C.q2=60;C.gb.VV=0;C.gb.tL=1;C.gb.WV=3;C.gb.XV=C.gb.tL;
- C.ca===C.Ub?(D=C.gb.prototype,D.cw=function(b){this.qm=b;C.pa.dispatchEvent(this.ry)},D.aS=t(),D.gJ=function(b){this.ib.width=C.ub.width;this.ib.height=C.ub.height;this.li=b||C.view;C.pa&&C.pa.Ba(n)},D.Pl=function(){var b=this.li.pf;C.o.clearRect(-b.x,b.y,b.width,-b.height)},D.Vp=function(){var b=0,b=this.ib.width>this.ib.height?0|24*(this.ib.height/320):0|24*(this.ib.width/320);this.Dg=C.H.create("000.0","Arial",b);this.Eg=C.H.create("0.000","Arial",b);this.Jg=C.H.create("0000","Arial",b);b=C.CC;
- this.Jg.q(this.Jg.width/2+b.x,5*this.Jg.height/2+b.y);this.Eg.q(this.Eg.width/2+b.x,3*this.Eg.height/2+b.y);this.Dg.q(this.Dg.width/2+b.x,this.Dg.height/2+b.y)},D.lv=x("ib"),D.bI=function(){return F(0,0)}):(C.gb.eq=new Image,C.mb(C.gb.eq,"load",function(){C.gb.lN=n}),C.eq&&(C.gb.eq.src=C.eq),C.assert("function"===typeof C.F.EC,C.e.od,"CCDirectorWebGL.js"),C.F.EC(),delete C.F.EC);C.gs=C.Ca.extend({Dt:p,Et:p,Ft:p,Qp:p,Rp:p,Sp:p,Gu:p,Hu:p,Iu:p,Je:p,Yy:p,ctor:function(){this.Yy=new C.Lh;this.restore()},description:function(){return"\x3cCCCamera | center \x3d("+this.Qp+","+this.Rp+","+this.Sp+")\x3e"},bS:v("Je"),MQ:x("Je"),restore:function(){this.Dt=this.Et=0;this.Ft=C.gs.mv();this.Gu=this.Qp=this.Rp=this.Sp=0;this.Hu=1;this.Iu=0;C.Cja(this.Yy);this.Je=q},$Q:function(){if(this.Je){var b=new C.xr,c=new C.xr,e=new C.xr;C.Bv(b,this.Dt,this.Et,this.Ft);C.Bv(c,this.Qp,this.Rp,this.Sp);
- C.Bv(e,this.Gu,this.Hu,this.Iu);C.g6(this.Yy,b,c,e);this.Je=q}C.lB(this.Yy)},Wma:function(b,c,e){this.dS(b,c,e)},dS:function(b,c,e){this.Dt=b;this.Et=c;this.Ft=e;this.Je=n},Hma:function(b,c,e){this.S7(b,c,e)},S7:function(b,c,e){this.Qp=b;this.Rp=c;this.Sp=e;this.Je=n},Vna:function(b,c,e){this.M8(b,c,e)},M8:function(b,c,e){this.Gu=b;this.Hu=c;this.Iu=e;this.Je=n},Lga:function(){return{x:this.Dt,y:this.Et,la:this.Ft}},aQ:function(){return{x:this.Dt,y:this.Et,la:this.Ft}},nga:function(){return{x:this.Qp,
- y:this.Rp,la:this.Sp}},XP:function(){return{x:this.Qp,y:this.Rp,la:this.Sp}},hia:function(){return{x:this.Gu,y:this.Hu,la:this.Iu}},W4:function(){return{x:this.Gu,y:this.Hu,la:this.Iu}},rba:t()});C.gs.mv=function(){return C.Sw};C.Baa=C.bx+1;C.gr=function(b,c){if(b&&0<b.length)for(var e=0;e<b.length;e++)if(!(b[e]instanceof c))return C.log(C.e.gr),q;return n};C.Nd=function(b,c){for(var e=0,f=b.length;e<f;e++)if(b[e]==c){b.splice(e,1);break}};C.Bda=function(b,c){for(var e=0,f=c.length;e<f;e++)C.Nd(b,c[e])};C.Ada=function(b,c,e){b.splice.apply(b,[e,0].concat(c));return b};C.RK=function(b,c,e){this.next=this.Wka=p;this.target=b;this.S6=c;this.paused=e;this.pB=q};
- C.EK=function(b,c,e){this.list=b;this.Go=c;this.target=e;this.fI=p};C.ZU=function(b,c){this.ck=p;this.target=b;this.Xr=0;this.Xu=this.Wu=p;this.paused=c;this.fI=p};
- C.ML=C.Ca.extend({dm:0,df:p,Qe:p,tc:0,BO:q,kA:q,Xq:0,YF:0,gy:0,Zga:x("dm"),setInterval:v("dm"),hga:x("df"),ctor:function(b,c,e,f,g){this.Qe=b;this.df=c;this.tc=-1;this.dm=e||0;this.gy=g||0;this.kA=0<this.gy;this.YF=f==p?C.wp:f;this.BO=this.YF==C.wp},GE:function(){if("string"==typeof this.df)this.Qe[this.df](this.tc);else this.df.call(this.Qe,this.tc)},update:function(b){if(-1==this.tc)this.Xq=this.tc=0;else{var c=this.Qe,e=this.df;this.tc+=b;this.BO&&!this.kA?this.tc>=this.dm&&(c&&e&&this.GE(),this.tc=
- 0):(this.kA?this.tc>=this.gy&&(c&&e&&this.GE(),this.tc-=this.gy,this.Xq+=1,this.kA=q):this.tc>=this.dm&&(c&&e&&this.GE(),this.tc=0,this.Xq+=1),this.Xq>this.YF&&C.jb.Hm().iT(c,e))}}});
- C.Ss=C.Ca.extend({Cu:1,po:p,yk:p,Dx:p,xk:p,vba:p,ne:p,rj:q,dA:q,ctor:function(){this.Cu=1;this.po=[[],[],[]];this.yk={};this.Dx=[];this.xk={};this.et=[];this.ne=p;this.dA=this.rj=q},XF:function(b){delete this.xk[b.target.ya];C.Nd(this.et,b);b.ML=p;b.target=p},uO:function(b){if(b=this.yk[b.target.ya])C.Nd(b.list,b.Go),delete this.yk[b.target.ya],C.Nd(this.Dx,b),b.Go=p,b.target=p},jO:function(b,c,e,f){f=new C.RK(c,e,f);if(b){for(var g=b.length-1,h=0;h<=g&&!(e<b[h].S6);h++);b.splice(h,0,f)}else b=[],
- b.push(f);e=new C.EK(b,f,c);this.Dx.push(e);this.yk[c.ya]=e;return b},jY:function(b,c,e){e=new C.RK(c,0,e);b.push(e);b=new C.EK(b,e,c);this.Dx.push(b);this.yk[c.ya]=b},Ona:v("Cu"),Wha:x("Cu"),update:function(b){var c=this.po,e=this.et,f,g,h;this.dA=n;1!=this.Cu&&(b*=this.Cu);g=0;for(h=c.length;g<h&&0<=g;g++)for(var m=this.po[g],r=0,s=m.length;r<s;r++)f=m[r],!f.paused&&!f.pB&&f.target.update(b);g=0;for(h=e.length;g<h;g++){f=e[g];if(!f)break;this.ne=f;this.rj=q;if(!f.paused)for(f.Xr=0;f.Xr<f.ck.length;f.Xr++)f.Wu=
- f.ck[f.Xr],f.Xu=q,f.Wu.update(b),f.Wu=p;this.rj&&0==f.ck.length&&(this.XF(f),g--)}g=0;for(h=c.length;g<h;g++){m=this.po[g];r=0;for(s=m.length;r<s;){f=m[r];if(!f)break;f.pB?this.uO(f):r++}}this.dA=q;this.ne=p},w7:function(b,c,e,f,g,h){C.assert(c,C.e.qW);C.assert(b,C.e.rW);e=e||0;f=f==p?C.wp:f;g=g||0;h=h||q;var m=this.xk[b.ya];m||(m=new C.ZU(b,h),this.et.push(m),this.xk[b.ya]=m);if(m.ck==p)m.ck=[];else for(var r=0;r<m.ck.length;r++)if(h=m.ck[r],c==h.df){C.log(C.e.pW,h.dm.toFixed(4),e.toFixed(4));h.dm=
- e;return}h=new C.ML(b,c,e,f,g);m.ck.push(h)},QI:function(b,c,e){if(b!==p){var f=this.po,g=this.yk[b.ya];g?g.Go.pB=q:0==c?this.jY(f[1],b,e):0>c?f[0]=this.jO(f[0],b,c,e):f[2]=this.jO(f[2],b,c,e)}},iT:function(b,c){if(!(b==p||c==p)){var e=this.xk[b.ya];if(e)for(var f=e.ck,g=0,h=f.length;g<h;g++){var m=f[g];if(c==m.df){m==e.Wu&&!e.Xu&&(e.Xu=n);f.splice(g,1);e.Xr>=g&&e.Xr--;0==f.length&&(this.ne==e?this.rj=n:this.XF(e));break}}}},iw:function(b){b!=p&&(b=this.yk[b.ya],b!=p&&(this.dA?b.Go.pB=n:this.uO(b.Go)))},
- hT:function(b){if(b!=p){var c=this.xk[b.ya];if(c){var e=c.ck;!c.Xu&&0<=e.indexOf(c.Wu)&&(c.Xu=n);e.length=0;this.ne==c?this.rj=n:this.XF(c)}this.iw(b)}},bC:function(){this.x9(C.Ss.bx)},x9:function(b){for(var c=this.et,e=this.po,f=0,g=c.length;f<g;f++)this.hT(c[f].target);for(f=2;0<=f;f--)if(!(1==f&&0<b||0==f&&0<=b))for(var c=e[f],g=0,h=c.length;g<h;g++)this.iw(c[g].target)},Qka:function(){return this.G6(C.Ss.bx)},G6:function(){for(var b=[],c,e=this.et,f=this.po,g=0,h=e.length;g<h;g++)if(c=e[g])c.paused=
- n,b.push(c.target);g=0;for(h=f.length;g<h;g++)for(var e=f[g],m=0,r=e.length;m<r;m++)if(c=e[m])c.paused=n,b.push(c.target);return b},u7:function(b){if(b)for(var c=0;c<b.length;c++)this.il(b[c])},Cr:function(b){C.assert(b,C.e.nW);var c=this.xk[b.ya];c&&(c.paused=n);if(b=this.yk[b.ya])b.Go.paused=n},il:function(b){C.assert(b,C.e.oW);var c=this.xk[b.ya];c&&(c.paused=q);if(b=this.yk[b.ya])b.Go.paused=q},kja:function(b){C.assert(b,C.e.mW);return(b=this.xk[b.ya])?b.paused:q}});C.Ss.bx=-2147483648;C.fL=2*Math.PI;
- C.hK=C.Ca.extend({eE:[],o:p,ctor:v("o"),C2:function(b,c){c||(c=1);var e=C.view.W,f=F(b.x*e,b.y*C.view.na);this.o.beginPath();this.o.arc(f.x,-f.y,c*e,0,2*Math.PI,q);this.o.closePath();this.o.fill()},D2:function(b,c,e){if(b!=p){e||(e=1);c=this.o;var f=C.view.W,g=C.view.na;c.beginPath();for(var h=0,m=b.length;h<m;h++)c.arc(b[h].x*f,-b[h].y*g,e*f,0,2*Math.PI,q);c.closePath();c.fill()}},Zk:function(b,c){var e=this.o,f=C.view.W,g=C.view.na;e.beginPath();e.moveTo(b.x*f,-b.y*g);e.lineTo(c.x*f,-c.y*g);e.closePath();
- e.stroke()},BH:function(b,c){this.Zk(F(b.x,b.y),F(c.x,b.y));this.Zk(F(c.x,b.y),F(c.x,c.y));this.Zk(F(c.x,c.y),F(b.x,c.y));this.Zk(F(b.x,c.y),F(b.x,b.y))},EH:function(b,c,e){this.DH([b,F(c.x,b.y),c,F(b.x,c.y)],4,e)},ye:function(b,c,e,f){f=f||q;if(b!=p){3>b.length&&d(Error("Polygon's point must greater than 2"));var g=b[0];c=this.o;var h=C.view.W,m=C.view.na;c.beginPath();c.moveTo(g.x*h,-g.y*m);for(var g=1,r=b.length;g<r;g++)c.lineTo(b[g].x*h,-b[g].y*m);e&&c.closePath();f?c.fill():c.stroke()}},DH:function(b,
- c,e){this.Nr(e.r,e.g,e.b,e.a);this.ye(b,c,n,n)},xH:function(b,c,e,f,g){g=g||q;f=this.o;var h=C.view.W,m=C.view.na;f.beginPath();f.arc(0|b.x*h,0|-(b.y*m),c*h,-e,-(e-2*Math.PI),q);g&&f.lineTo(0|b.x*h,0|-(b.y*m));f.stroke()},AH:function(b,c,e,f){for(var g=this.eE,h=g.length=0,m=0;m<f;m++)g.push(F(Math.pow(1-h,2)*b.x+2*(1-h)*h*c.x+h*h*e.x,Math.pow(1-h,2)*b.y+2*(1-h)*h*c.y+h*h*e.y)),h+=1/f;g.push(F(e.x,e.y));this.ye(g,f+1,q,q)},yH:function(b,c,e,f,g){for(var h=this.eE,m=h.length=0,r=0;r<g;r++)h.push(F(Math.pow(1-
- m,3)*b.x+3*Math.pow(1-m,2)*m*c.x+3*(1-m)*m*m*e.x+m*m*m*f.x,Math.pow(1-m,3)*b.y+3*Math.pow(1-m,2)*m*c.y+3*(1-m)*m*m*e.y+m*m*m*f.y)),m+=1/g;h.push(F(f.x,f.y));this.ye(h,g+1,q,q)},wH:function(b,c){this.Fo(b,0.5,c)},Fo:function(b,c,e){C.o.strokeStyle="rgba(255,255,255,1)";var f=this.eE;f.length=0;for(var g,h,m=1/b.length,r=0;r<e+1;r++)h=r/e,1==h?(g=b.length-1,h=1):(g=0|h/m,h=(h-m*g)/m),g=C.nU(C.Pd(b,g-1),C.Pd(b,g-0),C.Pd(b,g+1),C.Pd(b,g+2),c,h),f.push(g);this.ye(f,e+1,q,q)},drawImage:function(b,c,e,f,
- g){switch(arguments.length){case 2:this.o.drawImage(b,c.x,-(c.y+b.height));break;case 3:this.o.drawImage(b,c.x,-(c.y+e.height),e.width,e.height);break;case 5:this.o.drawImage(b,c.x,c.y,e.width,e.height,f.x,-(f.y+g.height),g.width,g.height);break;default:d(Error("Argument must be non-nil"))}},xea:function(b,c,e){b=b||this.o;c*=C.view.W;e="rgba("+(0|e.r)+","+(0|e.g)+","+(0|e.b);b.fillStyle=e+",1)";var f=c/10;b.beginPath();b.moveTo(-c,c);b.lineTo(0,f);b.lineTo(c,c);b.lineTo(f,0);b.lineTo(c,-c);b.lineTo(0,
- -f);b.lineTo(-c,-c);b.lineTo(-f,0);b.lineTo(-c,c);b.closePath();b.fill();var g=b.createRadialGradient(0,0,f,0,0,c);g.addColorStop(0,e+", 1)");g.addColorStop(0.3,e+", 0.8)");g.addColorStop(1,e+", 0.0)");b.fillStyle=g;b.beginPath();b.arc(0,0,c-f,0,C.fL,q);b.closePath();b.fill()},vea:function(b,c,e){b=b||this.o;c*=C.view.W;e="rgba("+(0|e.r)+","+(0|e.g)+","+(0|e.b);var f=b.createRadialGradient(0,0,c/10,0,0,c);f.addColorStop(0,e+", 1)");f.addColorStop(0.3,e+", 0.8)");f.addColorStop(0.6,e+", 0.4)");f.addColorStop(1,
- e+", 0.0)");b.fillStyle=f;b.beginPath();b.arc(0,0,c,0,C.fL,q);b.closePath();b.fill()},fillText:function(b,c,e){this.o.fillText(b,c,-e)},Nr:function(b,c,e,f){this.o.fillStyle="rgba("+b+","+c+","+e+","+f/255+")";this.o.strokeStyle="rgba("+b+","+c+","+e+","+f/255+")"},v8:t(),dJ:function(b){this.o.lineWidth=b*C.view.W}});C.CU=C.Ca.extend({o:p,Rt:q,Rc:p,pj:-1,fg:p,KF:-1,JF:-1,ctor:function(b){b==p&&(b=C.o);!b instanceof WebGLRenderingContext&&d("Can't initialise DrawingPrimitiveWebGL. context need is WebGLRenderingContext");this.o=b;this.fg=new Float32Array([1,1,1,1])},dl:function(){this.Rt||(this.Rc=C.Ph.Oi(C.kW),this.pj=this.o.getUniformLocation(this.Rc.TA(),"u_color"),this.KF=this.o.getUniformLocation(this.Rc.TA(),"u_pointSize"),this.Rt=n)},wea:function(){this.Rt=q},C2:function(b){this.dl();var c=this.o;this.Rc.xf();
- this.Rc.Xg();C.Ve(C.dg);c.uniform4fv(this.pj,this.fg);this.Rc.LS(this.KF,this.JF);var e=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,e);c.bufferData(c.ARRAY_BUFFER,new Float32Array([b.x,b.y]),c.STATIC_DRAW);c.vertexAttribPointer(C.Ee,2,c.FLOAT,q,0,0);c.drawArrays(c.POINTS,0,1);c.deleteBuffer(e);C.Ji()},D2:function(b){if(b&&0!=b.length){this.dl();var c=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);c.uniform4fv(this.pj,this.fg);this.Rc.LS(this.KF,this.JF);var e=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,
- e);c.bufferData(c.ARRAY_BUFFER,this.tz(b),c.STATIC_DRAW);c.vertexAttribPointer(C.Ee,2,c.FLOAT,q,0,0);c.drawArrays(c.POINTS,0,b.length);c.deleteBuffer(e);C.Ji()}},tz:function(b){for(var c=new Float32Array(2*b.length),e=0;e<b.length;e++)c[2*e]=b[e].x,c[2*e+1]=b[e].y;return c},Zk:function(b,c){this.dl();var e=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);e.uniform4fv(this.pj,this.fg);var f=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,f);e.bufferData(e.ARRAY_BUFFER,this.tz([b,c]),e.STATIC_DRAW);e.vertexAttribPointer(C.Ee,
- 2,e.FLOAT,q,0,0);e.drawArrays(e.LINES,0,2);e.deleteBuffer(f);C.Ji()},BH:function(b,c){this.Zk(F(b.x,b.y),F(c.x,b.y));this.Zk(F(c.x,b.y),F(c.x,c.y));this.Zk(F(c.x,c.y),F(b.x,c.y));this.Zk(F(b.x,c.y),F(b.x,b.y))},EH:function(b,c,e){this.DH([b,F(c.x,b.y),c,F(b.x,c.y)],4,e)},ye:function(b,c,e){this.dl();c=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);c.uniform4fv(this.pj,this.fg);var f=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,f);c.bufferData(c.ARRAY_BUFFER,this.tz(b),c.STATIC_DRAW);c.vertexAttribPointer(C.Ee,
- 2,c.FLOAT,q,0,0);e?c.drawArrays(c.LINE_LOOP,0,b.length):c.drawArrays(c.LINE_STRIP,0,b.length);c.deleteBuffer(f);C.Ji()},DH:function(b,c,e){this.dl();e&&this.Nr(e.r,e.g,e.b,e.a);c=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);c.uniform4fv(this.pj,this.fg);e=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,e);c.bufferData(c.ARRAY_BUFFER,this.tz(b),c.STATIC_DRAW);c.vertexAttribPointer(C.Ee,2,c.FLOAT,q,0,0);c.drawArrays(c.TRIANGLE_FAN,0,b.length);c.deleteBuffer(e);C.Ji()},xH:function(b,c,e,f,g){this.dl();var h=
- 1;g&&h++;var m=2*Math.PI/f;if(g=new Float32Array(2*(f+2))){for(var r=0;r<=f;r++){var s=r*m,u=c*Math.sin(s+e)+b.y;g[2*r]=c*Math.cos(s+e)+b.x;g[2*r+1]=u}g[2*(f+1)]=b.x;g[2*(f+1)+1]=b.y;b=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);b.uniform4fv(this.pj,this.fg);c=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,c);b.bufferData(b.ARRAY_BUFFER,g,b.STATIC_DRAW);b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,0,0);b.drawArrays(b.LINE_STRIP,0,f+h);b.deleteBuffer(c);C.Ji()}},AH:function(b,c,e,f){this.dl();for(var g=new Float32Array(2*
- (f+1)),h=0,m=0;m<f;m++)g[2*m]=Math.pow(1-h,2)*b.x+2*(1-h)*h*c.x+h*h*e.x,g[2*m+1]=Math.pow(1-h,2)*b.y+2*(1-h)*h*c.y+h*h*e.y,h+=1/f;g[2*f]=e.x;g[2*f+1]=e.y;b=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);b.uniform4fv(this.pj,this.fg);c=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,c);b.bufferData(b.ARRAY_BUFFER,g,b.STATIC_DRAW);b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,0,0);b.drawArrays(b.LINE_STRIP,0,f+1);b.deleteBuffer(c);C.Ji()},yH:function(b,c,e,f,g){this.dl();for(var h=new Float32Array(2*(g+1)),m=0,
- r=0;r<g;r++)h[2*r]=Math.pow(1-m,3)*b.x+3*Math.pow(1-m,2)*m*c.x+3*(1-m)*m*m*e.x+m*m*m*f.x,h[2*r+1]=Math.pow(1-m,3)*b.y+3*Math.pow(1-m,2)*m*c.y+3*(1-m)*m*m*e.y+m*m*m*f.y,m+=1/g;h[2*g]=f.x;h[2*g+1]=f.y;b=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);b.uniform4fv(this.pj,this.fg);c=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,c);b.bufferData(b.ARRAY_BUFFER,h,b.STATIC_DRAW);b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,0,0);b.drawArrays(b.LINE_STRIP,0,g+1);b.deleteBuffer(c);C.Ji()},wH:function(b,c){this.Fo(b,0.5,
- c)},Fo:function(b,c,e){this.dl();for(var f=new Float32Array(2*(e+1)),g,h,m=1/b.length,r=0;r<e+1;r++)h=r/e,1==h?(g=b.length-1,h=1):(g=0|h/m,h=(h-m*g)/m),g=C.nU(C.Pd(b,g-1),C.Pd(b,g),C.Pd(b,g+1),C.Pd(b,g+2),c,h),f[2*r]=g.x,f[2*r+1]=g.y;b=this.o;this.Rc.xf();this.Rc.Xg();C.Ve(C.dg);b.uniform4fv(this.pj,this.fg);c=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,c);b.bufferData(b.ARRAY_BUFFER,f,b.STATIC_DRAW);b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,0,0);b.drawArrays(b.LINE_STRIP,0,e+1);b.deleteBuffer(c);C.Ji()},
- Nr:function(b,c,e,f){this.fg[0]=b/255;this.fg[1]=c/255;this.fg[2]=e/255;this.fg[3]=f/255},v8:function(b){this.JF=b*C.Tb()},dJ:function(b){this.o.lineWidth&&this.o.lineWidth(b)}});C.F.BD=function(){var b=C.H.prototype;b.z=C.t.prototype.z;b.qg=function(){this.Bb=n;var b=this.co,e=this.fo;this.Jz="rgba(128,128,128,"+this.Lk+")";this.uy="rgba("+(0|e.r)+","+(0|e.g)+","+(0|e.b)+", 1)";this.Oz="rgba("+(0|b.r)+","+(0|b.g)+","+(0|b.b)+", 1)"};b.fb=C.t.prototype.fb;b.D=C.t.prototype.D;b.qb=C.t.prototype.qb;b.jI=function(b,e){if(!C.t.prototype.s.call(this))return q;this.shaderProgram=C.Ph.Oi(C.H.ZX);this.UG(e,q);this.string=b;return n};b.GB=function(b){var e=this.fo;if(e.r!=b.r||e.g!=
- b.g||e.b!=b.b)e.r=b.r,e.g=b.g,e.b=b.b,this.qg(),this.Bb=n};b.U=function(b){if(this.Xb&&""!=this.Xb){b=b||C.o;var e=this.Fa;e&&e.Pc&&(this.fe.xf(),this.fe.Xg(),C.Jm(this.M.src,this.M.Qa),C.Jh(e),C.Ve(C.Ys),b.bindBuffer(b.ARRAY_BUFFER,this.wz),this.Jf&&(b.bufferData(b.ARRAY_BUFFER,this.lc.qA,b.STATIC_DRAW),this.Jf=q),b.vertexAttribPointer(C.Ee,3,b.FLOAT,q,24,0),b.vertexAttribPointer(C.Bp,2,b.FLOAT,q,24,16),b.vertexAttribPointer(C.Ap,4,b.UNSIGNED_BYTE,n,24,12),b.drawArrays(b.TRIANGLE_STRIP,0,4));if(1===
- C.wl)b=this.lc,C.kg.ye([F(b.Fb.k.x,b.Fb.k.y),F(b.nb.k.x,b.nb.k.y),F(b.sb.k.x,b.sb.k.y),F(b.pb.k.x,b.pb.k.y)],4,n);else if(2===C.wl){b=this.hv().L;var e=this.offsetX,f=this.offsetY;C.kg.ye([F(e,f),F(e+b.width,f),F(e+b.width,f+b.height),F(e,f+b.height)],4,n)}C.Di++}};b.zb=C.t.prototype.zb};C.F.cD=function(){var b=C.H.prototype;C.c(b,"color",b.Ga,b.z);C.c(b,"opacity",b.Ma,b.D);C.c(b,"string",b.Eb,b.V);C.c(b,"textAlign",b.C3,b.bJ);C.c(b,"verticalAlign",b.a5,b.uJ);C.c(b,"fontSize",b.Fi,b.uf);C.c(b,"fontName",b.Qj,b.Zf);C.c(b,"font",b.yn,b.Zn);C.c(b,"boundingWidth",b.Lt,b.Ez);C.c(b,"boundingHeight",b.VE,b.Dz);C.c(b,"fillStyle",b.mZ,b.GB);C.c(b,"strokeStyle",b.JZ,b.G0);C.c(b,"lineWidth",b.vZ,b.n0);C.c(b,"shadowOffsetX",b.GZ,b.w0);C.c(b,"shadowOffsetY",b.HZ,b.x0);C.c(b,"shadowOpacity",b.IZ,
- b.y0);C.c(b,"shadowBlur",b.FZ,b.v0)};C.H=C.t.extend({Dc:p,vj:C.en,Lj:C.Zs,Hb:p,Ib:0,Xb:"",FF:p,qq:q,ci:p,ge:q,we:p,Lk:0,tm:0,Jz:p,Ch:q,co:p,Pk:0,Oz:p,fo:p,uy:p,EG:0,FG:0,Bb:q,Vy:p,Wy:p,QN:p,ha:"LabelTTF",ctor:function(b,c,e,f,g,h){C.t.prototype.ctor.call(this);this.Dc=H(0,0);this.vj=C.mx;this.Lj=C.Zs;this.Cb=q;this.ci="";this.Hb="Arial";this.ge=this.qq=q;this.we=F(0,0);this.tm=this.Lk=0;this.Jz="rgba(128, 128, 128, 0.5)";this.Ch=q;this.co=C.color(255,255,255,255);this.Pk=0;this.Oz="";this.fo=C.color(255,255,255,255);this.uy="rgba(255,255,255,1)";
- this.FG=this.EG=0;this.Bb=q;this.QN=[];this.qg();c&&c instanceof C.xK?this.jI(b,c):C.H.prototype.yd.call(this,b,c,e,f,g,h)},s:function(){return this.yd(" ",this.Hb,this.Ib)},t_:function(){this.XE().font=this.ci},Yt:function(b){return this.XE().measureText(b).width},wY:function(b,c){var e=this.Yt(b),f=Math.floor(b.length*c/e),g=b.indexOf("\n");if(0.8*f>=g&&0<g)return g+1;if(e<c)return b.length;for(var e=q,g=c+1,h=-1,m=f,r,s=C.H.yY,u=C.H.$_,y=C.H.vY,z=b.substr(f);r=s.exec(z);){m+=r[0].length;g=this.Yt(b.substr(0,
- m));if("\n"==r[2]&&g<c){e=n;h=m;break}if(g>c){-1!=h&&(e=n);break}h=m;z=b.substr(m)}if(e)return h;z=b.substr(0,f);for(h=f;r=u.exec(z);)if(h=r[1].length,z=r[1],g=this.Yt(z),g<c){y.test(r[2])&&h++;break}return h||1},description:function(){return"\x3ccc.LabelTTF | FontName \x3d"+this.Hb+" FontSize \x3d "+this.Ib.toFixed(1)+"\x3e"},z:p,qg:p,fb:p,D:p,qb:p,Goa:function(b){C.fa.prototype.qb.call(this,b);this.qg()},Eb:x("Xb"),C3:x("vj"),a5:x("Lj"),v3:function(){return H(this.Dc.width,this.Dc.height)},Fi:x("Ib"),
- Qj:x("Hb"),yd:function(b,c,e,f,g,h){b=b?b+"":"";e=e||16;f=f||H(0,e);g=g||C.mx;h=h||C.Zs;this.Cb=q;this.Dc=H(f.width,f.height);this.Hb=c||"Arial";this.vj=g;this.Lj=h;this.Ib=e;this.ci=this.Ib+"px '"+c+"'";this.tj=C.H.at(c,this.Ib);this.string=b;this.qg();this.jA();this.Bb=q;return n},jI:p,Mna:function(b){b&&this.UG(b,n)},Uha:function(){return this.O_(q)},GH:function(b,c,e,f){e=e||0.5;q===this.ge&&(this.ge=n);var g=this.we;if(g&&g.x!=b||g.Sf!=c)g.x=b,g.y=c;this.Lk!=e&&(this.Lk=e);this.qg();this.tm!=
- f&&(this.tm=f);this.Bb=n},GZ:function(){return this.we.x},w0:function(b){q===this.ge&&(this.ge=n);this.we.x!=b&&(this.we.x=b,this.Bb=n)},HZ:function(){return this.we.Sf},x0:function(b){q===this.ge&&(this.ge=n);this.we.Sf!=b&&(this.we.Sf=b,this.Bb=n)},ica:function(){return F(this.we.x,this.we.y)},Rca:function(b){q===this.ge&&(this.ge=n);if(this.we.x!=b.x||this.we.y!=b.y)this.we.x=b.x,this.we.y=b.y,this.Bb=n},IZ:x("Lk"),y0:function(b){q===this.ge&&(this.ge=n);this.Lk!=b&&(this.Lk=b,this.qg(),this.Bb=
- n)},FZ:x("tm"),v0:function(b){q===this.ge&&(this.ge=n);this.tm!=b&&(this.tm=b,this.Bb=n)},mea:function(){this.ge&&(this.ge=q,this.Bb=n)},Q2:function(b,c){this.Ch===q&&(this.Ch=n);var e=this.co;if(e.r!==b.r||e.g!==b.g||e.b!==b.b)e.r=b.r,e.g=b.g,e.b=b.b,this.qg();this.Pk!==c&&(this.Pk=c||0);this.Bb=n},JZ:x("co"),G0:function(b){this.Ch===q&&(this.Ch=n);var c=this.co;if(c.r!==b.r||c.g!==b.g||c.b!==b.b)c.r=b.r,c.g=b.g,c.b=b.b,this.qg(),this.Bb=n},vZ:x("Pk"),n0:function(b){this.Ch===q&&(this.Ch=n);this.Pk!==
- b&&(this.Pk=b||0,this.Bb=n)},nea:function(){this.Ch&&(this.Ch=q,this.Bb=n)},GB:p,mZ:x("fo"),UG:function(b,c){b.Gfa?(this.Dc.width=b.boundingWidth,this.Dc.height=b.boundingHeight):(this.Dc.width=0,this.Dc.height=0);this.vj=b.textAlign;this.Lj=b.verticalAlign;this.Hb=b.fontName;this.Ib=b.fontSize||12;this.ci=this.Ib+"px '"+this.Hb+"'";this.tj=C.H.at(this.Hb,this.Ib);b.PS&&this.GH(b.shadowOffsetX,b.shadowOffsetY,b.shadowOpacity,b.shadowBlur);b.zJ&&this.Q2(b.strokeStyle,b.lineWidth);this.GB(b.fillStyle);
- c&&this.jA()},O_:function(b){var c=new C.xK;b?(c.fontSize=this.Ib,c.boundingWidth=C.Tb()*this.Dc.width,c.boundingHeight=C.Tb()*this.Dc.height):(c.fontSize=this.Ib,c.boundingWidth=this.Dc.width,c.boundingHeight=this.Dc.height);c.fontName=this.Hb;c.textAlign=this.vj;c.verticalAlign=this.Lj;if(this.Ch){c.zJ=n;var e=this.co;c.strokeStyle=C.color(e.r,e.g,e.b);c.lineWidth=this.Pk}else c.zJ=q;this.ge?(c.PS=n,c.shadowBlur=this.tm,c.shadowOpacity=this.Lk,c.shadowOffsetX=(b?C.Tb():1)*this.we.x,c.shadowOffsetY=
- (b?C.Tb():1)*this.we.y):c.ge=q;b=this.fo;c.fillStyle=C.color(b.r,b.g,b.b);return c},tj:18,V:function(b){b=String(b);this.FF!=b&&(this.FF=b+"",this.hA(),this.Bb=n)},hA:function(){this.Xb=this.FF},bJ:function(b){b!==this.vj&&(this.vj=b,this.Bb=n)},uJ:function(b){b!=this.Lj&&(this.Lj=b,this.Bb=n)},ZI:function(b){if(b.width!=this.Dc.width||b.height!=this.Dc.height)this.Dc=b,this.hA(),this.Bb=n},Lt:function(){return this.Dc.width},Ez:function(b){b!=this.Dc.width&&(this.Dc.width=b,this.hA(),this.Bb=n)},
- VE:function(){return this.Dc.height},Dz:function(b){b!=this.Dc.height&&(this.Dc.height=b,this.hA(),this.Bb=n)},uf:function(b){this.Ib!==b&&(this.Ib=b,this.ci=b+"px '"+this.Hb+"'",this.tj=C.H.at(this.Hb,b),this.Bb=n)},Zf:function(b){this.Hb&&this.Hb!=b&&(this.Hb=b,this.ci=this.Ib+"px '"+b+"'",this.tj=C.H.at(b,this.Ib),this.Bb=n)},yn:x("ci"),Zn:function(b){var c=C.H.jN.exec(b);c&&(this.Ib=parseInt(c[1]),this.Hb=c[2],this.ci=b,this.tj=C.H.at(this.Hb,this.Ib),this.Bb=n)},TY:function(b){if(b){var c=this.EG,
- e=this.FG,f=this.f.height-e,g=this.Lj,h=this.vj,m=this.tj,r=this.Pk;b.setTransform(1,0,0,1,0+0.5*c,f+0.5*e);b.font!=this.ci&&(b.font=this.ci);b.fillStyle=this.uy;var s=e=0,u=this.Ch;u&&(b.lineWidth=2*r,b.strokeStyle=this.Oz);this.ge&&(r=this.we,b.shadowColor=this.Jz,b.shadowOffsetX=r.x,b.shadowOffsetY=-r.y,b.shadowBlur=this.tm);b.textBaseline=C.H.$0[g];b.textAlign=C.H.Z0[h];c=this.f.width-c;e=h===C.GL?e+c:h===C.en?e+c/2:e+0;if(this.qq){h=this.Ok.length;g===C.PL?s=m+f-m*h:g===C.yD&&(s=m/2+(f-m*h)/
- 2);for(g=0;g<h;g++)c=this.Ok[g],r=-f+m*g+s,u&&b.strokeText(c,e,r),b.fillText(c,e,r)}else g!==C.PL&&(s=g===C.Zs?s-f:s-0.5*f),u&&b.strokeText(this.Xb,e,s),b.fillText(this.Xb,e,s)}},XE:function(){if(this.Wy)return this.Wy;if(!this.Vy){var b=C.Uc("canvas"),c=new C.ma;c.We(b);this.texture=c;this.Vy=b}return this.Wy=this.Vy.getContext("2d")},iA:function(){var b=this.Dc.width,c,e,f=this.QN;f.length=0;this.qq=q;this.t_();if(0!==b){var g=this.Xb;this.Ok=[];c=0;for(e=this.Xb.length;c<e;){var h=this.wY(g.substr(c),
- b);this.Ok.push(g.substr(c,h));c+=h}}else{this.Ok=this.Xb.split("\n");c=0;for(e=this.Ok.length;c<e;c++)f.push(this.Yt(this.Ok[c]))}0<this.Ok.length&&(this.qq=n);e=c=0;this.Ch&&(c=e=2*this.Pk);this.ge&&(g=this.we,c+=2*Math.abs(g.x),e+=2*Math.abs(g.y));b=0===b?this.qq?H(0|Math.max.apply(Math,f)+c,0|this.tj*this.Ok.length+e):H(0|this.Yt(this.Xb)+c,0|this.tj+e):0===this.Dc.height?this.qq?H(0|b+c,0|this.tj*this.Ok.length+e):H(0|b+c,0|this.tj+e):H(0|b+c,0|this.Dc.height+e);this.ja(b);this.EG=c;this.FG=
- e;f=this.Da;this.sc.x=0.5*c+(b.width-c)*f.x;this.sc.y=0.5*e+(b.height-e)*f.y},d:function(){this.Bb&&this.iA();return C.t.prototype.d.call(this)},pd:function(){this.Bb&&this.iA();return C.t.prototype.pd.call(this)},pe:function(){this.Bb&&this.iA();return C.t.prototype.pe.call(this)},jA:function(){var b=this.XE(),c=this.Vy,e=this.f;if(0===this.Xb.length)return c.width=1,c.height=e.height,this.zb(J(0,0,1,e.height)),n;b.font=this.ci;this.iA();var f=e.width,e=e.height,g=c.width==f&&c.height==e;c.width=
- f;c.height=e;g&&b.clearRect(0,0,f,e);this.TY(b);this.Fa&&this.Fa.yc();this.zb(J(0,0,f,e));return n},G:function(b){this.Xb&&""!=this.Xb&&(this.Bb&&(this.Bb=q,this.jA()),C.t.prototype.G.call(this,b||C.o))},U:p,GO:function(b){var c=this.Ya?this.textureAtlas.texture:this.Fa;if(c){var e=c.pixelsWidth,f=c.pixelsHeight,g,h=this.lc;this.ad?(C.ys?(c=(2*b.x+1)/(2*e),e=c+(2*b.height-2)/(2*e),g=(2*b.y+1)/(2*f),b=g+(2*b.width-2)/(2*f)):(c=b.x/e,e=(b.x+b.height)/e,g=b.y/f,b=(b.y+b.width)/f),this.Ja&&(f=g,g=b,b=
- f),this.La&&(f=c,c=e,e=f),h.nb.n.wa=c,h.nb.n.O=g,h.sb.n.wa=c,h.sb.n.O=b,h.Fb.n.wa=e,h.Fb.n.O=g,h.pb.n.wa=e,h.pb.n.O=b):(C.ys?(c=(2*b.x+1)/(2*e),e=c+(2*b.width-2)/(2*e),g=(2*b.y+1)/(2*f),b=g+(2*b.height-2)/(2*f)):(c=b.x/e,e=(b.x+b.width)/e,g=b.y/f,b=(b.y+b.height)/f),this.Ja&&(f=c,c=e,e=f),this.La&&(f=g,g=b,b=f),h.nb.n.wa=c,h.nb.n.O=b,h.sb.n.wa=e,h.sb.n.O=b,h.Fb.n.wa=c,h.Fb.n.O=g,h.pb.n.wa=e,h.pb.n.O=g);this.Jf=n}}});
- C.ca===C.Ub?(D=C.H.prototype,D.z=function(b){C.fa.prototype.z.call(this,b);this.qg()},D.qg=function(){this.Bb=n;var b=this.Ia,c=this.ta,e=this.co,f=this.fo;this.Jz="rgba("+(0|0.5*b.r)+","+(0|0.5*b.g)+","+(0|0.5*b.b)+","+this.Lk+")";this.uy="rgba("+(0|b.r/255*f.r)+","+(0|b.g/255*f.g)+","+(0|b.b/255*f.b)+", "+c/255+")";this.Oz="rgba("+(0|b.r/255*e.r)+","+(0|b.g/255*e.g)+","+(0|b.b/255*e.b)+", "+c/255+")"},D.fb=function(b){C.fa.prototype.fb.call(this,b);this.qg()},D.D=function(b){this.jc!==b&&(C.t.prototype.D.call(this,
- b),this.qg(),this.Bb=n)},D.qb=C.t.prototype.qb,D.jI=function(b,c){this.UG(c,q);this.string=b;return n},D.GB=function(b){var c=this.fo;if(c.r!=b.r||c.g!=b.g||c.b!=b.b)c.r=b.r,c.g=b.g,c.b=b.b,this.qg(),this.Bb=n},D.U=C.t.prototype.U,D.zb=function(b,c,e){this.ad=c||q;this.ja(e||b);this.tJ(b);c=this.Wq;c.x=b.x;c.y=b.y;c.width=b.width;c.height=b.height;c.bs=!(0===c.width||0===c.height||0>c.x||0>c.y);b=this.yi;this.Ja&&(b.x=-b.x);this.La&&(b.y=-b.y);this.Vb.x=b.x+(this.f.width-this.aa.width)/2;this.Vb.y=
- b.y+(this.f.height-this.aa.height)/2;this.Ya&&(this.dirty=n)},D=p):(C.assert("function"===typeof C.F.BD,C.e.od,"LabelTTFWebGL.js"),C.F.BD(),delete C.F.BD);C.assert("function"===typeof C.F.cD,C.e.od,"LabelTTFPropertyDefine.js");C.F.cD();delete C.F.cD;C.H.Z0=["left","center","right"];C.H.$0=["top","middle","bottom"];C.H.yY=/(.+?)([\s\n\r\-\/\\\:]|[\u4E00-\u9FA5]|[\uFE30-\uFFA0])/;C.H.$_=/(.*)([\s\n\r\-\/\\\:]|[\u4E00-\u9FA5]|[\uFE30-\uFFA0])/;C.H.vY=/[\s\-\/\\\:]/;C.H.jN=/^(\d+)px\s+['"]?([\w\s\d]+)['"]?$/;
- C.H.create=function(b,c,e,f,g,h){return new C.H(b,c,e,f,g,h)};C.H.ZX=C.QX?C.ix:C.hW;C.H.Hl=C.Uc("div");C.H.Hl.style.fontFamily="Arial";C.H.Hl.style.position="absolute";C.H.Hl.style.left="-100px";C.H.Hl.style.top="-100px";C.H.Hl.style.lineHeight="normal";document.body?document.body.appendChild(C.H.Hl):C.mb(window,"load",function(){this.removeEventListener("load",arguments.callee,q);document.body.appendChild(C.H.Hl)},q);
- C.H.at=function(b,c){var e=C.H.SL[b+"."+c];if(0<e)return e;var f=C.H.Hl;f.innerHTML="ajghl~!";f.style.fontFamily=b;f.style.fontSize=c+"px";e=f.clientHeight;C.H.SL[b+"."+c]=e;f.innerHTML="";return e};C.H.SL={};C.YU=C.Ca.extend({Tc:p,target:p,wo:0,tg:p,Do:q,paused:q,fI:p,ctor:function(){this.Tc=[];this.target=p;this.wo=0;this.tg=p;this.paused=this.Do=q;this.fI=p}});
- C.HJ=C.Ca.extend({di:p,Ep:p,ne:p,rj:q,Nca:function(b,c){for(var e=0;e<b.length;e++)if(c==b[e].target)return b[e];return p},ctor:function(){this.di={};this.Ep=[];this.ne=p;this.rj=q},r1:function(b,c,e){b||d("cc.ActionManager.addAction(): action must be non-null");c||d("cc.ActionManager.addAction(): action must be non-null");var f=this.di[c.ya];f||(f=new C.YU,f.paused=e,f.target=c,this.di[c.ya]=f,this.Ep.push(f));this.dY(f);f.Tc.push(b);b.K(c)},lla:function(){for(var b=this.Ep,c=0;c<b.length;c++){var e=
- b[c];e&&this.AR(e.target,n)}},AR:function(b,c){if(b!=p){var e=this.di[b.ya];e&&(-1!==e.Tc.indexOf(e.tg)&&!e.Do&&(e.Do=n),e.Tc.length=0,this.ne==e&&!c?this.rj=n:this.wE(e))}},zR:function(b){if(b!=p){var c=this.di[b.originalTarget.ya];if(c)for(var e=0;e<c.Tc.length;e++){if(c.Tc[e]==b){c.Tc.splice(e,1);break}}else C.log(C.e.DT)}},g7:function(b,c){b==C.mp&&C.log(C.e.IJ);C.assert(c,C.e.IJ);var e=this.di[c.ya];if(e)for(var f=e.Tc.length,g=0;g<f;++g){var h=e.Tc[g];if(h&&h.$k()===b&&h.originalTarget==c){this.R_(g,
- e);break}}},LA:function(b,c){b==C.mp&&C.log(C.e.BT);var e=this.di[c.ya];if(e){if(e.Tc!=p)for(var f=0;f<e.Tc.length;++f){var g=e.Tc[f];if(g&&g.$k()===b)return g}C.log(C.e.CT,b)}return p},r6:function(b){return(b=this.di[b.ya])?b.Tc?b.Tc.length:0:0},Cr:function(b){if(b=this.di[b.ya])b.paused=n},il:function(b){if(b=this.di[b.ya])b.paused=q},Pka:function(){for(var b=[],c=this.Ep,e=0;e<c.length;e++){var f=c[e];f&&!f.paused&&(f.paused=n,b.push(f.target))}return b},u7:function(b){if(b)for(var c=0;c<b.length;c++)b[c]&&
- this.il(b[c])},Yka:function(){C.jb.Hm().iw(this)},R_:function(b,c){c.Tc[b]==c.tg&&!c.Do&&(c.Do=n);c.Tc.splice(b,1);c.wo>=b&&c.wo--;0==c.Tc.length&&(this.ne==c?this.rj=n:this.wE(c))},wE:function(b){b&&(delete this.di[b.target.ya],C.Nd(this.Ep,b),b.Tc=p,b.target=p)},dY:function(b){b.Tc==p&&(b.Tc=[])},update:function(b){for(var c=this.Ep,e,f=0;f<c.length;f++){e=this.ne=c[f];if(!e.paused)for(e.wo=0;e.wo<e.Tc.length;e.wo++)if(e.tg=e.Tc[e.wo],e.tg){e.Do=q;e.tg.step(b*(e.tg.tu?e.tg.lf:1));if(e.Do)e.tg=p;
- else if(e.tg.Kh()){e.tg.stop();var g=e.tg;e.tg=p;this.zR(g)}e.tg=p}this.rj&&0===e.Tc.length&&this.wE(e)}}});C.mp=-1;
- C.Xd=C.Ca.extend({originalTarget:p,target:p,tag:C.mp,ctor:function(){this.target=this.originalTarget=p;this.tag=C.mp},copy:function(){C.log("copy is deprecated. Please use clone instead.");return this.j()},j:function(){var b=new C.Xd;b.originalTarget=p;b.target=p;b.tag=this.tag;return b},Kh:A(n),K:function(b){this.target=this.originalTarget=b},stop:function(){this.target=p},step:function(){C.log("[Action step]. override me")},update:function(){C.log("[Action update]. override me")},lQ:x("target"),H8:v("target"),
- pha:x("originalTarget"),una:v("originalTarget"),$k:x("tag"),Pr:v("tag"),NI:t(),Hr:t()});C.Xd.create=function(){return new C.Xd};C.gk=C.Xd.extend({N:0,ctor:function(){C.Xd.prototype.ctor.call(this);this.N=0},PH:function(){return this.N*(this.hd||1)},Vma:v("N"),reverse:function(){C.log("cocos2d: FiniteTimeAction#reverse: Implement me");return p},j:function(){return new C.gk}});
- C.Vs=C.Xd.extend({lf:0,Ab:p,ctor:function(b,c){C.Xd.prototype.ctor.call(this);this.lf=0;this.Ab=p;b&&this.R(b,c)},L4:x("lf"),E8:v("lf"),R:function(b,c){b||d("cc.Speed.initWithAction(): action must be non nil");this.Ab=b;this.lf=c;return n},j:function(){var b=new C.Vs;b.R(this.Ab.j(),this.lf);return b},K:function(b){C.Xd.prototype.K.call(this,b);this.Ab.K(b)},stop:function(){this.Ab.stop();C.Xd.prototype.stop.call(this)},step:function(b){this.Ab.step(b*this.lf)},Kh:function(){return this.Ab.Kh()},
- reverse:function(){return C.Vs.create(this.Ab.reverse(),this.lf)},hS:function(b){this.Ab!=b&&(this.Ab=b)},QH:x("Ab")});C.Vs.create=function(b,c){return new C.Vs(b,c)};
- C.Tw=C.Xd.extend({cq:p,Ip:q,Qx:q,Ey:p,It:p,No:0,Yo:0,hp:0,Ao:0,aH:p,ctor:function(b,c){C.Xd.prototype.ctor.call(this);this.cq=p;this.Qx=this.Ip=q;this.It=this.Ey=p;this.Ao=this.hp=this.Yo=this.No=0;this.aH=J(0,0,0,0);b&&(c?this.vr(b,c):this.vr(b))},j:function(){var b=new C.Tw,c=this.aH;b.vr(this.cq,new C.xp(c.x,c.y,c.width,c.height));return b},Oia:x("Ip"),Ema:v("Ip"),vr:function(b,c){b||d("cc.Follow.initWithAction(): followedNode must be non nil");c=c||J(0,0,0,0);this.cq=b;this.aH=c;this.Ip=!C.lu(c);
- this.Qx=q;var e=C.jb.ib;this.It=F(e.width,e.height);this.Ey=C.Zj(this.It,0.5);this.Ip&&(this.No=-(c.x+c.width-this.It.x),this.Yo=-c.x,this.hp=-c.y,this.Ao=-(c.y+c.height-this.It.y),this.Yo<this.No&&(this.Yo=this.No=(this.No+this.Yo)/2),this.hp<this.Ao&&(this.hp=this.Ao=(this.hp+this.Ao)/2),this.hp==this.Ao&&this.No==this.Yo&&(this.Qx=n));return n},step:function(){var b=this.cq.x,c=this.cq.y,b=this.Ey.x-b,c=this.Ey.y-c;this.Ip?this.Qx||this.target.q(C.Tu(b,this.No,this.Yo),C.Tu(c,this.Ao,this.hp)):
- this.target.q(b,c)},Kh:function(){return!this.cq.running},stop:function(){this.target=p;C.Xd.prototype.stop.call(this)}});C.Tw.create=function(b,c){return new C.Tw(b,c)};C.C=C.gk.extend({tc:0,wy:q,rh:p,hd:1,mu:q,Iq:q,lf:1,tu:q,ctor:function(b){this.hd=this.lf=1;this.mu=q;this.MAX_VALUE=2;this.tu=this.Iq=q;C.gk.prototype.ctor.call(this);b!==k&&this.A(b)},Iga:x("tc"),A:function(b){this.N=0===b?C.Sw:b;this.tc=0;return this.wy=n},Kh:function(){return this.tc>=this.N},za:function(b){b.mu=this.mu;b.lf=this.lf;b.hd=this.hd;b.rh=this.rh;b.tu=this.tu;b.Iq=this.Iq},kf:function(b){if(this.rh){b.rh=[];for(var c=0;c<this.rh.length;c++)b.rh.push(this.rh[c].reverse())}},j:function(){var b=
- new C.C(this.N);this.za(b);return b},$a:function(b){this.rh?this.rh.length=0:this.rh=[];for(var c=0;c<arguments.length;c++)this.rh.push(arguments[c]);return this},ae:function(b){var c=this.rh;if(!c||0===c.length)return b;for(var e=0,f=c.length;e<f;e++)b=c[e].$a(b);return b},step:function(b){this.wy?(this.wy=q,this.tc=0):this.tc+=b;b=this.tc/(1.192092896E-7<this.N?this.N:1.192092896E-7);b=1>b?b:1;this.update(0<b?b:0);this.Iq&&(1<this.hd&&this.Kh())&&(this.mu||this.hd--,this.K(this.target),this.step(this.tc-
- this.N))},K:function(b){C.Xd.prototype.K.call(this,b);this.tc=0;this.wy=n},reverse:function(){C.log("cc.IntervalAction: reverse not implemented.");return p},yma:function(){C.log("cc.ActionInterval.setAmplitudeRate(): it should be overridden in subclass.")},Pfa:function(){C.log("cc.ActionInterval.getAmplitudeRate(): it should be overridden in subclass.");return 0},speed:function(b){if(0>=b)return C.log("The speed parameter error"),this;this.tu=n;this.lf*=b;return this},L4:x("lf"),E8:function(b){this.lf=
- b;return this},repeat:function(b){b=Math.round(b);if(isNaN(b)||1>b)return C.log("The repeat parameter error"),this;this.Iq=n;this.hd*=b;return this},q7:function(){this.Iq=n;this.hd=this.MAX_VALUE;this.mu=n;return this}});C.C.create=function(b){return new C.C(b)};
- C.Zd=C.C.extend({gj:p,RO:p,Vt:0,ctor:function(b){C.C.prototype.ctor.call(this);this.gj=[];var c=b instanceof Array?b:arguments,e=c.length-1;0<=e&&c[e]==p&&C.log("parameters should not be ending with null in Javascript");if(0<=e){for(var f=c[0],g=1;g<e;g++)c[g]&&(f=C.Zd.lk(f,c[g]));this.Jo(f,c[e])}},Jo:function(b,c){(!b||!c)&&d("cc.Sequence.initWithTwoActions(): arguments must all be non nil");this.A(b.N+c.N);this.gj[0]=b;this.gj[1]=c;return n},j:function(){var b=new C.Zd;this.za(b);b.Jo(this.gj[0].j(),
- this.gj[1].j());return b},K:function(b){C.C.prototype.K.call(this,b);this.RO=this.gj[0].N/this.N;this.Vt=-1},stop:function(){-1!==this.Vt&&this.gj[this.Vt].stop();C.Xd.prototype.stop.call(this)},update:function(b){b=this.ae(b);var c=0,e=this.RO,f=this.gj,g=this.Vt;b<e?(b=0!==e?b/e:1,0===c&&1===g&&(f[1].update(0),f[1].stop())):(c=1,b=1===e?1:(b-e)/(1-e),-1===g&&(f[0].K(this.target),f[0].update(1),f[0].stop()),g||(f[0].update(1),f[0].stop()));g===c&&f[c].Kh()||(g!==c&&f[c].K(this.target),f[c].update(b),
- this.Vt=c)},reverse:function(){var b=C.Zd.lk(this.gj[1].reverse(),this.gj[0].reverse());this.za(b);this.kf(b);return b}});C.Zd.create=function(b){var c=b instanceof Array?b:arguments;0<c.length&&c[c.length-1]==p&&C.log("parameters should not be ending with null in Javascript");for(var e=c[0],f=1;f<c.length;f++)c[f]&&(e=C.Zd.lk(e,c[f]));return e};C.Zd.lk=function(b,c){var e=new C.Zd;e.Jo(b,c);return e};
- C.Ns=C.C.extend({hd:0,zm:0,xF:0,XL:q,Ab:p,ctor:function(b,c){C.C.prototype.ctor.call(this);c!==k&&this.R(b,c)},R:function(b,c){return this.A(b.N*c)?(this.hd=c,this.Ab=b,b instanceof C.Ui&&(this.XL=n,this.hd-=1),this.zm=0,n):q},j:function(){var b=new C.Ns;this.za(b);b.R(this.Ab.j(),this.hd);return b},K:function(b){this.zm=0;this.xF=this.Ab.N/this.N;C.C.prototype.K.call(this,b);this.Ab.K(b)},stop:function(){this.Ab.stop();C.Xd.prototype.stop.call(this)},update:function(b){b=this.ae(b);var c=this.Ab,
- e=this.N,f=this.hd,g=this.xF;if(b>=g){for(;b>g&&this.zm<f;)c.update(1),this.zm++,c.stop(),c.K(this.target),this.xF=g+=c.N/e;1<=b&&this.zm<f&&this.zm++;this.XL||(this.zm===f?(c.update(1),c.stop()):c.update(b-(g-c.N/e)))}else c.update(b*f%1)},Kh:function(){return this.zm==this.hd},reverse:function(){var b=C.Ns.create(this.Ab.reverse(),this.hd);this.za(b);this.kf(b);return b},hS:function(b){this.Ab!=b&&(this.Ab=b)},QH:x("Ab")});C.Ns.create=function(b,c){return new C.Ns(b,c)};
- C.Os=C.C.extend({Ab:p,ctor:function(b){C.C.prototype.ctor.call(this);this.Ab=p;b&&this.R(b)},R:function(b){b||d("cc.RepeatForever.initWithAction(): action must be non null");this.Ab=b;return n},j:function(){var b=new C.Os;this.za(b);b.R(this.Ab.j());return b},K:function(b){C.C.prototype.K.call(this,b);this.Ab.K(b)},step:function(b){var c=this.Ab;c.step(b);c.Kh()&&(c.K(this.target),c.step(c.tc-c.N))},Kh:A(q),reverse:function(){var b=C.Os.create(this.Ab.reverse());this.za(b);this.kf(b);return b},hS:function(b){this.Ab!=
- b&&(this.Ab=b)},QH:x("Ab")});C.Os.create=function(b){return new C.Os(b)};
- C.kk=C.C.extend({Fk:p,Wk:p,ctor:function(b){C.C.prototype.ctor.call(this);this.Wk=this.Fk=p;var c=b instanceof Array?b:arguments,e=c.length-1;0<=e&&c[e]==p&&C.log("parameters should not be ending with null in Javascript");if(0<=e){for(var f=c[0],g=1;g<e;g++)c[g]&&(f=C.kk.lk(f,c[g]));this.Jo(f,c[e])}},Jo:function(b,c){(!b||!c)&&d("cc.Spawn.initWithTwoActions(): arguments must all be non null");var e=q,f=b.N,g=c.N;this.A(Math.max(f,g))&&(this.Fk=b,this.Wk=c,f>g?this.Wk=C.Zd.lk(c,C.Ym.create(f-g)):f<
- g&&(this.Fk=C.Zd.lk(b,C.Ym.create(g-f))),e=n);return e},j:function(){var b=new C.kk;this.za(b);b.Jo(this.Fk.j(),this.Wk.j());return b},K:function(b){C.C.prototype.K.call(this,b);this.Fk.K(b);this.Wk.K(b)},stop:function(){this.Fk.stop();this.Wk.stop();C.Xd.prototype.stop.call(this)},update:function(b){b=this.ae(b);this.Fk&&this.Fk.update(b);this.Wk&&this.Wk.update(b)},reverse:function(){var b=C.kk.lk(this.Fk.reverse(),this.Wk.reverse());this.za(b);this.kf(b);return b}});
- C.kk.create=function(b){var c=b instanceof Array?b:arguments;0<c.length&&c[c.length-1]==p&&C.log("parameters should not be ending with null in Javascript");for(var e=c[0],f=1;f<c.length;f++)c[f]!=p&&(e=C.kk.lk(e,c[f]));return e};C.kk.lk=function(b,c){var e=new C.kk;e.Jo(b,c);return e};
- C.fx=C.C.extend({ny:0,vu:0,uM:0,JE:0,Rq:0,vM:0,ctor:function(b,c,e){C.C.prototype.ctor.call(this);c!==k&&this.A(b,c,e)},A:function(b,c,e){return C.C.prototype.A.call(this,b)?(this.ny=c||0,this.JE=e||this.ny,n):q},j:function(){var b=new C.fx;this.za(b);b.A(this.N,this.ny,this.JE);return b},K:function(b){C.C.prototype.K.call(this,b);var c=b.rotationX%360,e=this.ny-c;180<e&&(e-=360);-180>e&&(e+=360);this.vu=c;this.uM=e;this.Rq=b.rotationY%360;b=this.JE-this.Rq;180<b&&(b-=360);-180>b&&(b+=360);this.vM=
- b},reverse:function(){C.log("cc.RotateTo.reverse(): it should be overridden in subclass.")},update:function(b){b=this.ae(b);this.target&&(this.target.rotationX=this.vu+this.uM*b,this.target.rotationY=this.Rq+this.vM*b)}});C.fx.create=function(b,c,e){return new C.fx(b,c,e)};
- C.Qs=C.C.extend({Yh:0,vu:0,Bx:0,Rq:0,ctor:function(b,c,e){C.C.prototype.ctor.call(this);c!==k&&this.A(b,c,e)},A:function(b,c,e){return C.C.prototype.A.call(this,b)?(this.Yh=c||0,this.Bx=e||this.Yh,n):q},j:function(){var b=new C.Qs;this.za(b);b.A(this.N,this.Yh,this.Bx);return b},K:function(b){C.C.prototype.K.call(this,b);this.vu=b.rotationX;this.Rq=b.rotationY},update:function(b){b=this.ae(b);this.target&&(this.target.rotationX=this.vu+this.Yh*b,this.target.rotationY=this.Rq+this.Bx*b)},reverse:function(){var b=
- C.Qs.create(this.N,-this.Yh,-this.Bx);this.za(b);this.kf(b);return b}});C.Qs.create=function(b,c,e){var f=new C.Qs;f.A(b,c,e);return f};
- C.$i=C.C.extend({Ej:p,ed:p,qd:p,ctor:function(b,c,e){C.C.prototype.ctor.call(this);this.Ej=F(0,0);this.ed=F(0,0);this.qd=F(0,0);c!==k&&this.A(b,c,e)},A:function(b,c,e){return C.C.prototype.A.call(this,b)?(c.x!==k&&(e=c.y,c=c.x),this.Ej.x=c,this.Ej.y=e,n):q},j:function(){var b=new C.$i;this.za(b);b.A(this.N,this.Ej);return b},K:function(b){C.C.prototype.K.call(this,b);var c=b.Q.x;b=b.Q.y;this.qd.x=c;this.qd.y=b;this.ed.x=c;this.ed.y=b},update:function(b){b=this.ae(b);if(this.target){var c=this.Ej.x*
- b;b*=this.Ej.y;var e=this.ed;if(C.ww){var f=this.target.Q.y,g=this.qd;e.x=e.x+this.target.Q.x-g.x;e.y=e.y+f-g.y;c+=e.x;b+=e.y;g.x=c;g.y=b;this.target.q(c,b)}else this.target.q(e.x+c,e.y+b)}},reverse:function(){var b=C.$i.create(this.N,F(-this.Ej.x,-this.Ej.y));this.za(b);this.kf(b);return b}});C.$i.create=function(b,c,e){return new C.$i(b,c,e)};
- C.tp=C.$i.extend({Kg:p,ctor:function(b,c,e){C.$i.prototype.ctor.call(this);this.Kg=F(0,0);c!==k&&this.A(b,c,e)},A:function(b,c,e){return C.$i.prototype.A.call(this,b,c,e)?(c.x!==k&&(e=c.y,c=c.x),this.Kg.x=c,this.Kg.y=e,n):q},j:function(){var b=new C.tp;this.za(b);b.A(this.N,this.Kg);return b},K:function(b){C.$i.prototype.K.call(this,b);this.Ej.x=this.Kg.x-b.Q.x;this.Ej.y=this.Kg.y-b.Q.y}});C.tp.create=function(b,c,e){return new C.tp(b,c,e)};
- C.xl=C.C.extend({qi:0,ri:0,Lz:0,Mz:0,oy:0,py:0,hg:0,ig:0,ctor:function(b,c,e){C.C.prototype.ctor.call(this);e!==k&&this.A(b,c,e)},A:function(b,c,e){var f=q;C.C.prototype.A.call(this,b)&&(this.oy=c,this.py=e,f=n);return f},j:function(){var b=new C.xl;this.za(b);b.A(this.N,this.oy,this.py);return b},K:function(b){C.C.prototype.K.call(this,b);this.Lz=b.skewX%180;this.hg=this.oy-this.Lz;180<this.hg&&(this.hg-=360);-180>this.hg&&(this.hg+=360);this.Mz=b.skewY%360;this.ig=this.py-this.Mz;180<this.ig&&(this.ig-=
- 360);-180>this.ig&&(this.ig+=360)},update:function(b){b=this.ae(b);this.target.skewX=this.Lz+this.hg*b;this.target.skewY=this.Mz+this.ig*b}});C.xl.create=function(b,c,e){return new C.xl(b,c,e)};
- C.Us=C.xl.extend({ctor:function(b,c,e){C.xl.prototype.ctor.call(this);e!==k&&this.A(b,c,e)},A:function(b,c,e){var f=q;C.xl.prototype.A.call(this,b,c,e)&&(this.qi=c,this.ri=e,f=n);return f},j:function(){var b=new C.Us;this.za(b);b.A(this.N,this.qi,this.ri);return b},K:function(b){C.xl.prototype.K.call(this,b);this.hg=this.qi;this.ig=this.ri;this.oy=this.Lz+this.hg;this.py=this.Mz+this.ig},reverse:function(){var b=C.Us.create(this.N,-this.qi,-this.ri);this.za(b);this.kf(b);return b}});
- C.Us.create=function(b,c,e){var f=new C.Us;f&&f.A(b,c,e);return f};
- C.hk=C.C.extend({ed:p,sj:p,Ot:0,St:0,qd:p,ctor:function(b,c,e,f,g){C.C.prototype.ctor.call(this);this.ed=F(0,0);this.qd=F(0,0);this.sj=F(0,0);f!==k&&this.A(b,c,e,f,g)},A:function(b,c,e,f,g){return C.C.prototype.A.call(this,b)?(g===k&&(g=f,f=e,e=c.y,c=c.x),this.sj.x=c,this.sj.y=e,this.Ot=f,this.St=g,n):q},j:function(){var b=new C.hk;this.za(b);b.A(this.N,this.sj,this.Ot,this.St);return b},K:function(b){C.C.prototype.K.call(this,b);var c=b.Q.x;b=b.Q.y;this.qd.x=c;this.qd.y=b;this.ed.x=c;this.ed.y=b},
- update:function(b){b=this.ae(b);if(this.target){var c=b*this.St%1,c=4*this.Ot*c*(1-c),c=c+this.sj.y*b;b*=this.sj.x;var e=this.ed;if(C.ww){var f=this.target.Q.y,g=this.qd;e.x=e.x+this.target.Q.x-g.x;e.y=e.y+f-g.y;b+=e.x;c+=e.y;g.x=b;g.y=c;this.target.q(b,c)}else this.target.q(e.x+b,e.y+c)}},reverse:function(){var b=C.hk.create(this.N,F(-this.sj.x,-this.sj.y),this.Ot,this.St);this.za(b);this.kf(b);return b}});C.hk.create=function(b,c,e,f,g){return new C.hk(b,c,e,f,g)};
- C.Uw=C.hk.extend({Kg:p,ctor:function(b,c,e,f,g){C.hk.prototype.ctor.call(this);this.Kg=F(0,0);f!==k&&this.A(b,c,e,f,g)},A:function(b,c,e,f,g){return C.hk.prototype.A.call(this,b,c,e,f,g)?(g===k&&(e=c.y,c=c.x),this.Kg.x=c,this.Kg.y=e,n):q},K:function(b){C.hk.prototype.K.call(this,b);this.sj.x=this.Kg.x-this.ed.x;this.sj.y=this.Kg.y-this.ed.y},j:function(){var b=new C.Uw;this.za(b);b.A(this.N,this.Kg,this.Ot,this.St);return b}});C.Uw.create=function(b,c,e,f,g){return new C.Uw(b,c,e,f,g)};
- C.BP=function(b,c,e,f){return 0*Math.pow(1-f,3)+3*f*Math.pow(1-f,2)*b+3*Math.pow(f,2)*(1-f)*c+Math.pow(f,3)*e};
- C.rl=C.C.extend({Ig:p,ed:p,qd:p,ctor:function(b,c){C.C.prototype.ctor.call(this);this.Ig=[];this.ed=F(0,0);this.qd=F(0,0);c&&this.A(b,c)},A:function(b,c){return C.C.prototype.A.call(this,b)?(this.Ig=c,n):q},j:function(){var b=new C.rl;this.za(b);for(var c=[],e=0;e<this.Ig.length;e++){var f=this.Ig[e];c.push(F(f.x,f.y))}b.A(this.N,c);return b},K:function(b){C.C.prototype.K.call(this,b);var c=b.Q.x;b=b.Q.y;this.qd.x=c;this.qd.y=b;this.ed.x=c;this.ed.y=b},update:function(b){b=this.ae(b);if(this.target){var c=
- this.Ig,e=C.BP(c[0].x,c[1].x,c[2].x,b);b=C.BP(c[0].y,c[1].y,c[2].y,b);c=this.ed;if(C.ww){var f=this.target.Q.y,g=this.qd;c.x=c.x+this.target.Q.x-g.x;c.y=c.y+f-g.y;e+=c.x;b+=c.y;g.x=e;g.y=b;this.target.q(e,b)}else this.target.q(c.x+e,c.y+b)}},reverse:function(){var b=this.Ig,b=C.rl.create(this.N,[C.hl(b[1],C.HI(b[2])),C.hl(b[0],C.HI(b[2])),C.HI(b[2])]);this.za(b);this.kf(b);return b}});C.rl.create=function(b,c){return new C.rl(b,c)};
- C.nw=C.rl.extend({Wz:p,ctor:function(b,c){C.rl.prototype.ctor.call(this);this.Wz=[];c&&this.A(b,c)},A:function(b,c){return C.C.prototype.A.call(this,b)?(this.Wz=c,n):q},j:function(){var b=new C.nw;this.za(b);b.A(this.N,this.Wz);return b},K:function(b){C.rl.prototype.K.call(this,b);b=this.ed;var c=this.Wz,e=this.Ig;e[0]=C.bb(c[0],b);e[1]=C.bb(c[1],b);e[2]=C.bb(c[2],b)}});C.nw.create=function(b,c){return new C.nw(b,c)};
- C.Af=C.C.extend({W:1,na:1,xu:1,yu:1,aq:0,bq:0,hg:0,ig:0,ctor:function(b,c,e){C.C.prototype.ctor.call(this);c!==k&&this.A(b,c,e)},A:function(b,c,e){return C.C.prototype.A.call(this,b)?(this.aq=c,this.bq=e!=p?e:c,n):q},j:function(){var b=new C.Af;this.za(b);b.A(this.N,this.aq,this.bq);return b},K:function(b){C.C.prototype.K.call(this,b);this.xu=b.scaleX;this.yu=b.scaleY;this.hg=this.aq-this.xu;this.ig=this.bq-this.yu},update:function(b){b=this.ae(b);this.target&&(this.target.scaleX=this.xu+this.hg*
- b,this.target.scaleY=this.yu+this.ig*b)}});C.Af.create=function(b,c,e){var f=new C.Af;f.A(b,c,e);return f};C.Rs=C.Af.extend({K:function(b){C.Af.prototype.K.call(this,b);this.hg=this.xu*this.aq-this.xu;this.ig=this.yu*this.bq-this.yu},reverse:function(){var b=C.Rs.create(this.N,1/this.aq,1/this.bq);this.za(b);this.kf(b);return b},j:function(){var b=new C.Rs;this.za(b);b.A(this.N,this.aq,this.bq);return b}});C.Rs.create=function(b,c,e){return new C.Rs(b,c,e)};
- C.sl=C.C.extend({hd:0,bO:q,ctor:function(b,c){C.C.prototype.ctor.call(this);c!==k&&this.A(b,c)},A:function(b,c){return C.C.prototype.A.call(this,b)?(this.hd=c,n):q},j:function(){var b=new C.sl;this.za(b);b.A(this.N,this.hd);return b},update:function(b){b=this.ae(b);if(this.target&&!this.Kh()){var c=1/this.hd;this.target.visible=b%c>c/2}},K:function(b){C.C.prototype.K.call(this,b);this.bO=b.visible},stop:function(){this.target.visible=this.bO;C.C.prototype.stop.call(this)},reverse:function(){var b=
- C.sl.create(this.N,this.hd);this.za(b);this.kf(b);return b}});C.sl.create=function(b,c){var e=new C.sl;e.A(b,c);return e};
- C.an=C.C.extend({$q:0,yy:0,ctor:function(b,c){C.C.prototype.ctor.call(this);c!==k&&this.A(b,c)},A:function(b,c){return C.C.prototype.A.call(this,b)?(this.$q=c,n):q},j:function(){var b=new C.an;this.za(b);b.A(this.N,this.$q);return b},update:function(b){b=this.ae(b);if(this.target.Ha){var c=this.yy!==k?this.yy:255;this.target.opacity=c+(this.$q-c)*b}},K:function(b){C.C.prototype.K.call(this,b);this.target.Ha&&(this.yy=b.opacity)}});C.an.create=function(b,c){return new C.an(b,c)};
- C.As=C.an.extend({cG:p,reverse:function(){var b=new C.Bs;b.A(this.N,0);this.za(b);this.kf(b);return b},j:function(){var b=new C.As;this.za(b);b.A(this.N,this.$q);return b},K:function(b){this.cG&&(this.$q=this.cG.yy);C.an.prototype.K.call(this,b)}});C.As.create=function(b){return new C.As(b,255)};C.Bs=C.an.extend({reverse:function(){var b=new C.As;b.cG=this;b.A(this.N,255);this.za(b);this.kf(b);return b},j:function(){var b=new C.Bs;this.za(b);b.A(this.N,this.$q);return b}});
- C.Bs.create=function(b){var c=new C.Bs;c.A(b,0);return c};
- C.sx=C.C.extend({Rf:p,Le:p,ctor:function(b,c,e,f){C.C.prototype.ctor.call(this);this.Rf=C.color(0,0,0);this.Le=C.color(0,0,0);f!==k&&this.A(b,c,e,f)},A:function(b,c,e,f){return C.C.prototype.A.call(this,b)?(this.Rf=C.color(c,e,f),n):q},j:function(){var b=new C.sx;this.za(b);var c=this.Rf;b.A(this.N,c.r,c.g,c.b);return b},K:function(b){C.C.prototype.K.call(this,b);this.target.Ha&&(this.Le=this.target.color)},update:function(b){b=this.ae(b);var c=this.Le,e=this.Rf;c&&this.target.Ha&&(this.target.color=
- C.color(c.r+(e.r-c.r)*b,c.g+(e.g-c.g)*b,c.b+(e.b-c.b)*b))}});C.sx.create=function(b,c,e,f){return new C.sx(b,c,e,f)};
- C.Ws=C.C.extend({ky:0,jy:0,iy:0,oN:0,nN:0,mN:0,ctor:function(b,c,e,f){C.C.prototype.ctor.call(this);f!==k&&this.A(b,c,e,f)},A:function(b,c,e,f){return C.C.prototype.A.call(this,b)?(this.ky=c,this.jy=e,this.iy=f,n):q},j:function(){var b=new C.Ws;this.za(b);b.A(this.N,this.ky,this.jy,this.iy);return b},K:function(b){C.C.prototype.K.call(this,b);b.Ha&&(b=b.color,this.oN=b.r,this.nN=b.g,this.mN=b.b)},update:function(b){b=this.ae(b);this.target.Ha&&(this.target.color=C.color(this.oN+this.ky*b,this.nN+
- this.jy*b,this.mN+this.iy*b))},reverse:function(){var b=C.Ws.create(this.N,-this.ky,-this.jy,-this.iy);this.za(b);this.kf(b);return b}});C.Ws.create=function(b,c,e,f){return new C.Ws(b,c,e,f)};C.Ym=C.C.extend({update:t(),reverse:function(){var b=C.Ym.create(this.N);this.za(b);this.kf(b);return b},j:function(){var b=new C.Ym;this.za(b);b.A(this.N);return b}});C.Ym.create=function(b){return new C.Ym(b)};
- C.Ps=C.C.extend({Gk:p,ctor:function(b){C.C.prototype.ctor.call(this);this.Gk=p;b&&this.R(b)},R:function(b){b||d("cc.ReverseTime.initWithAction(): action must be non null");b==this.Gk&&d("cc.ReverseTime.initWithAction(): the action was already passed in.");return C.C.prototype.A.call(this,b.N)?(this.Gk=b,n):q},j:function(){var b=new C.Ps;this.za(b);b.R(this.Gk.j());return b},K:function(b){C.C.prototype.K.call(this,b);this.Gk.K(b)},update:function(b){b=this.ae(b);this.Gk&&this.Gk.update(1-b)},reverse:function(){return this.Gk.j()},
- stop:function(){this.Gk.stop();C.Xd.prototype.stop.call(this)}});C.Ps.create=function(b){return new C.Ps(b)};
- C.cs=C.C.extend({Il:p,au:0,EF:p,sy:0,wG:p,ctor:function(b){C.C.prototype.ctor.call(this);this.wG=[];b&&this.yQ(b)},VP:x("Il"),I7:v("Il"),yQ:function(b){b||d("cc.Animate.initWithAnimation(): animation must be non-NULL");var c=b.PH();if(this.A(c*b.Dk)){this.au=0;this.I7(b);this.EF=p;this.sy=0;var e=this.wG,f=e.length=0,g=c/b.Kj;b=b.Ke;C.gr(b,C.bh);for(var h=0;h<b.length;h++){var m=f*g/c,f=f+b[h].Ge;e.push(m)}return n}return q},j:function(){var b=new C.cs;this.za(b);b.yQ(this.Il.j());return b},K:function(b){C.C.prototype.K.call(this,
- b);this.Il.Vn&&(this.EF=b.x2());this.sy=this.au=0},update:function(b){b=this.ae(b);1>b&&(b*=this.Il.Dk,(0|b)>this.sy&&(this.au=0,this.sy++),b%=1);for(var c=this.Il.Ke,e=c.length,f=this.wG,g=this.au;g<e;g++)if(f[g]<=b)this.target.Jc(c[g].Rj()),this.au=g+1;else break},reverse:function(){var b=this.Il,c=b.Ke,e=[];C.gr(c,C.bh);if(0<c.length)for(var f=c.length-1;0<=f;f--){var g=c[f];if(!g)break;e.push(g.j())}c=C.Vm.create(e,b.Ge,b.Dk);c.QB(b.Vn);b=C.cs.create(c);this.za(b);this.kf(b);return b},stop:function(){this.Il.Vn&&
- this.target&&this.target.Jc(this.EF);C.Xd.prototype.stop.call(this)}});C.cs.create=function(b){return new C.cs(b)};
- C.rx=C.C.extend({Fg:p,dq:p,ctor:function(b,c){C.C.prototype.ctor.call(this);c&&this.vr(b,c)},vr:function(b,c){return this.A(c.N)?(this.dq=b,this.Fg=c,n):q},j:function(){var b=new C.rx;this.za(b);b.vr(this.dq,this.Fg.j());return b},K:function(b){C.C.prototype.K.call(this,b);this.Fg.K(this.dq)},stop:function(){this.Fg.stop()},update:function(b){b=this.ae(b);this.Fg.update(b)},Oga:x("dq"),Zma:function(b){this.dq!=b&&(this.dq=b)}});C.rx.create=function(b,c){return new C.rx(b,c)};C.Ui=C.gk.extend({Kh:A(n),step:function(){this.update(1)},update:t(),reverse:function(){return this.j()},j:function(){return new C.Ui}});C.Ts=C.Ui.extend({update:function(){this.target.visible=n},reverse:function(){return C.Es.create()},j:function(){return new C.Ts}});C.Ts.create=function(){return new C.Ts};C.Es=C.Ui.extend({update:function(){this.target.visible=q},reverse:function(){return C.Ts.create()},j:function(){return new C.Es}});C.Es.create=function(){return new C.Es};
- C.Xs=C.Ui.extend({update:function(){this.target.visible=!this.target.visible},reverse:function(){return new C.Xs},j:function(){return new C.Xs}});C.Xs.create=function(){return new C.Xs};C.Ms=C.Ui.extend({Sy:n,ctor:function(b){C.gk.prototype.ctor.call(this);b!==k&&this.s(b)},update:function(){this.target.Ir(this.Sy)},s:function(b){this.Sy=b;return n},reverse:function(){return new C.Ms(this.Sy)},j:function(){return new C.Ms(this.Sy)}});C.Ms.create=function(b){return new C.Ms(b)};
- C.Cs=C.Ui.extend({Ja:q,ctor:function(b){C.gk.prototype.ctor.call(this);this.Ja=q;b!==k&&this.AQ(b)},AQ:function(b){this.Ja=b;return n},update:function(){this.target.flippedX=this.Ja},reverse:function(){return C.Cs.create(!this.Ja)},j:function(){var b=new C.Cs;b.AQ(this.Ja);return b}});C.Cs.create=function(b){return new C.Cs(b)};
- C.Ds=C.Ui.extend({La:q,ctor:function(b){C.gk.prototype.ctor.call(this);this.La=q;b!==k&&this.BQ(b)},BQ:function(b){this.La=b;return n},update:function(){this.target.flippedY=this.La},reverse:function(){return C.Ds.create(!this.La)},j:function(){var b=new C.Ds;b.BQ(this.La);return b}});C.Ds.create=function(b){return new C.Ds(b)};
- C.cx=C.Ui.extend({Ai:0,Sf:0,ctor:function(b,c){C.gk.prototype.ctor.call(this);this.Sf=this.Ai=0;b!==k&&(b.x!==k&&(c=b.y,b=b.x),this.FQ(b,c))},FQ:function(b,c){this.Ai=b;this.Sf=c;return n},update:function(){this.target.q(this.Ai,this.Sf)},j:function(){var b=new C.cx;b.FQ(this.Ai,this.Sf);return b}});C.cx.create=function(b,c){return new C.cx(b,c)};
- C.dh=C.Ui.extend({Kk:p,Ux:p,Jt:p,sE:p,ctor:function(b,c,e){C.gk.prototype.ctor.call(this);b!==k&&(c===k?this.dB(b):this.dB(b,c,e))},dB:function(b,c,e){c?(this.sE=e,this.Ux=b,this.Kk=c):b&&(this.Jt=b);return n},execute:function(){this.Ux!=p?this.Ux.call(this.Kk,this.target,this.sE):this.Jt&&this.Jt.call(p,this.target)},update:function(){this.execute()},Sha:x("Kk"),Lna:function(b){b!=this.Kk&&(this.Kk&&(this.Kk=p),this.Kk=b)},j:function(){var b=new C.dh;this.Kk?b.dB(this.Ux,this.Kk,this.sE):this.Jt&&
- b.dB(this.Jt);return b}});C.dh.create=function(b,c,e){return new C.dh(b,c,e)};C.dC=C.C.extend({fE:0,gE:0,hE:0,bN:0,cN:0,dN:0,aP:0,bP:0,cP:0,ctor:function(){C.C.prototype.ctor.call(this);this.cP=this.bP=this.aP=this.dN=this.cN=this.bN=this.hE=this.gE=this.fE=0},K:function(b){C.C.prototype.K.call(this,b);b=b.KH();var c=b.XP();this.fE=c.x;this.gE=c.y;this.hE=c.la;c=b.aQ();this.bN=c.x;this.cN=c.y;this.dN=c.la;b=b.W4();this.aP=b.x;this.bP=b.y;this.cP=b.la},j:function(){return new C.dC},reverse:function(){return C.Ps.create(this)}});
- C.Zw=C.dC.extend({Jk:0,xE:0,dt:0,sM:0,Yh:0,rM:0,nO:0,lO:0,mO:0,kO:0,ctor:function(b,c,e,f,g,h,m){C.dC.prototype.ctor.call(this);m!==k&&this.A(b,c,e,f,g,h,m)},A:function(b,c,e,f,g,h,m){return C.C.prototype.A.call(this,b)?(this.Jk=c,this.xE=e,this.dt=f,this.sM=g,this.Yh=h,this.rM=m,this.lO=C.Yk(g),this.kO=C.Yk(m),n):q},Y8:function(){var b=this.target.KH(),c=b.aQ(),e=b.XP(),b=c.x-e.x,f=c.y-e.y,c=c.la-e.la,e=Math.sqrt(Math.pow(b,2)+Math.pow(f,2)+Math.pow(c,2)),g=Math.sqrt(Math.pow(b,2)+Math.pow(f,2));
- 0===g&&(g=C.Sw);0===e&&(e=C.Sw);return{q6:e/C.gs.mv(),P9:Math.acos(c/e),azimuth:0>b?Math.PI-Math.asin(f/g):Math.asin(f/g)}},K:function(b){C.C.prototype.K.call(this,b);b=this.Y8();isNaN(this.Jk)&&(this.Jk=b.q6);isNaN(this.dt)&&(this.dt=C.II(b.P9));isNaN(this.Yh)&&(this.Yh=C.II(b.azimuth));this.nO=C.Yk(this.dt);this.mO=C.Yk(this.Yh)},j:function(){var b=new C.Zw;b.A(this.N,this.Jk,this.xE,this.dt,this.sM,this.Yh,this.rM);return b},update:function(b){b=this.ae(b);var c=(this.Jk+this.xE*b)*C.gs.mv(),e=
- this.nO+this.lO*b,f=this.mO+this.kO*b;b=Math.sin(e)*Math.cos(f)*c+this.fE;f=Math.sin(e)*Math.sin(f)*c+this.gE;c=Math.cos(e)*c+this.hE;this.target.KH().dS(b,f,c)}});C.Zw.create=function(b,c,e,f,g,h,m){return new C.Zw(b,c,e,f,g,h,m)};C.Xa=C.C.extend({u:p,ctor:function(b){C.C.prototype.ctor.call(this);b&&this.R(b)},R:function(b){b||d("cc.ActionEase.initWithAction(): action must be non nil");return this.A(b.PH())?(this.u=b,n):q},j:function(){var b=new C.Xa;b.R(this.u.j());return b},K:function(b){C.C.prototype.K.call(this,b);this.u.K(this.target)},stop:function(){this.u.stop();C.C.prototype.stop.call(this)},update:function(b){this.u.update(b)},reverse:function(){return C.Xa.create(this.u.reverse())},QH:x("u")});C.Xa.create=function(b){return new C.Xa(b)};
- C.$m=C.Xa.extend({uc:0,ctor:function(b,c){C.Xa.prototype.ctor.call(this);c!==k&&this.R(b,c)},Cna:v("uc"),Cha:x("uc"),R:function(b,c){return C.Xa.prototype.R.call(this,b)?(this.uc=c,n):q},j:function(){var b=new C.$m;b.R(this.u.j(),this.uc);return b},reverse:function(){return C.$m.create(this.u.reverse(),1/this.uc)}});C.$m.create=function(b,c){return new C.$m(b,c)};
- C.Lw=C.$m.extend({update:function(b){this.u.update(Math.pow(b,this.uc))},reverse:function(){return C.Lw.create(this.u.reverse(),1/this.uc)},j:function(){var b=new C.Lw;b.R(this.u.j(),this.uc);return b}});C.Lw.create=function(b,c){return new C.Lw(b,c)};C.M2=function(b){return{uc:b,$a:function(b){return Math.pow(b,this.uc)},reverse:function(){return C.M2(1/this.uc)}}};
- C.Nw=C.$m.extend({update:function(b){this.u.update(Math.pow(b,1/this.uc))},reverse:function(){return C.Nw.create(this.u.reverse(),1/this.uc)},j:function(){var b=new C.Nw;b.R(this.u.j(),this.uc);return b}});C.Nw.create=function(b,c){return new C.Nw(b,c)};C.O2=function(b){return{uc:b,$a:function(b){return Math.pow(b,1/this.uc)},reverse:function(){return C.O2(1/this.uc)}}};
- C.Mw=C.$m.extend({update:function(b){b*=2;1>b?this.u.update(0.5*Math.pow(b,this.uc)):this.u.update(1-0.5*Math.pow(2-b,this.uc))},j:function(){var b=new C.Mw;b.R(this.u.j(),this.uc);return b},reverse:function(){return C.Mw.create(this.u.reverse(),this.uc)}});C.Mw.create=function(b,c){return new C.Mw(b,c)};C.N2=function(b){return{uc:b,$a:function(b){b*=2;return 1>b?0.5*Math.pow(b,this.uc):1-0.5*Math.pow(2-b,this.uc)},reverse:function(){return C.N2(this.uc)}}};
- C.Iw=C.Xa.extend({update:function(b){this.u.update(0===b?0:Math.pow(2,10*(b-1)))},reverse:function(){return C.Kw.create(this.u.reverse())},j:function(){var b=new C.Iw;b.R(this.u.j());return b}});C.Iw.create=function(b){return new C.Iw(b)};C.LM={$a:function(b){return 0===b?0:Math.pow(2,10*(b-1))},reverse:function(){return C.NM}};C.Oea=function(){return C.LM};
- C.Kw=C.Xa.extend({update:function(b){this.u.update(1==b?1:-Math.pow(2,-10*b)+1)},reverse:function(){return C.Iw.create(this.u.reverse())},j:function(){var b=new C.Kw;b.R(this.u.j());return b}});C.Kw.create=function(b){return new C.Kw(b)};C.NM={$a:function(b){return 1==b?1:-Math.pow(2,-10*b)+1},reverse:function(){return C.LM}};C.Qea=function(){return C.NM};
- C.Jw=C.Xa.extend({update:function(b){1!=b&&0!==b&&(b*=2,b=1>b?0.5*Math.pow(2,10*(b-1)):0.5*(-Math.pow(2,-10*(b-1))+2));this.u.update(b)},reverse:function(){return C.Jw.create(this.u.reverse())},j:function(){var b=new C.Jw;b.R(this.u.j());return b}});C.Jw.create=function(b){return new C.Jw(b)};C.MM={$a:function(b){return 1!==b&&0!==b?(b*=2,1>b?0.5*Math.pow(2,10*(b-1)):0.5*(-Math.pow(2,-10*(b-1))+2)):b},reverse:function(){return C.MM}};C.Pea=function(){return C.MM};
- C.Ow=C.Xa.extend({update:function(b){b=0===b||1===b?b:-1*Math.cos(b*Math.PI/2)+1;this.u.update(b)},reverse:function(){return C.Qw.create(this.u.reverse())},j:function(){var b=new C.Ow;b.R(this.u.j());return b}});C.Ow.create=function(b){return new C.Ow(b)};C.XM={$a:function(b){return 0===b||1===b?b:-1*Math.cos(b*Math.PI/2)+1},reverse:function(){return C.ZM}};C.$ea=function(){return C.XM};
- C.Qw=C.Xa.extend({update:function(b){b=0===b||1===b?b:Math.sin(b*Math.PI/2);this.u.update(b)},reverse:function(){return C.Ow.create(this.u.reverse())},j:function(){var b=new C.Qw;b.R(this.u.j());return b}});C.Qw.create=function(b){return new C.Qw(b)};C.ZM={$a:function(b){return 0===b||1==b?b:Math.sin(b*Math.PI/2)},reverse:function(){return C.XM}};C.bfa=function(){return C.ZM};
- C.Pw=C.Xa.extend({update:function(b){b=0===b||1===b?b:-0.5*(Math.cos(Math.PI*b)-1);this.u.update(b)},j:function(){var b=new C.Pw;b.R(this.u.j());return b},reverse:function(){return C.Pw.create(this.u.reverse())}});C.Pw.create=function(b){return new C.Pw(b)};C.YM={$a:function(b){return 0===b||1===b?b:-0.5*(Math.cos(Math.PI*b)-1)},reverse:function(){return C.YM}};C.afa=function(){return C.YM};
- C.op=C.Xa.extend({Wb:0.3,ctor:function(b,c){C.Xa.prototype.ctor.call(this);b&&this.R(b,c)},uha:x("Wb"),wna:v("Wb"),R:function(b,c){C.Xa.prototype.R.call(this,b);this.Wb=c==p?0.3:c;return n},reverse:function(){C.log("cc.EaseElastic.reverse(): it should be overridden in subclass.");return p},j:function(){var b=new C.op;b.R(this.u.j(),this.Wb);return b}});C.op.create=function(b,c){return new C.op(b,c)};
- C.Fw=C.op.extend({update:function(b){var c=0;0===b||1===b?c=b:(c=this.Wb/4,b-=1,c=-Math.pow(2,10*b)*Math.sin(2*(b-c)*Math.PI/this.Wb));this.u.update(c)},reverse:function(){return C.Hw.create(this.u.reverse(),this.Wb)},j:function(){var b=new C.Fw;b.R(this.u.j(),this.Wb);return b}});C.Fw.create=function(b,c){return new C.Fw(b,c)};C.JM={$a:function(b){if(0===b||1===b)return b;b-=1;return-Math.pow(2,10*b)*Math.sin(2*(b-0.075)*Math.PI/0.3)},reverse:function(){return C.KM}};
- C.J2=function(b){return b&&0.3!==b?{Wb:b,$a:function(b){if(0===b||1===b)return b;b-=1;return-Math.pow(2,10*b)*Math.sin(2*(b-this.Wb/4)*Math.PI/this.Wb)},reverse:function(){return C.L2(this.Wb)}}:C.JM};C.Hw=C.op.extend({update:function(b){var c=0,c=0===b||1==b?b:Math.pow(2,-10*b)*Math.sin(2*(b-this.Wb/4)*Math.PI/this.Wb)+1;this.u.update(c)},reverse:function(){return C.Fw.create(this.u.reverse(),this.Wb)},j:function(){var b=new C.Hw;b.R(this.u.j(),this.Wb);return b}});
- C.Hw.create=function(b,c){return new C.Hw(b,c)};C.KM={$a:function(b){return 0===b||1===b?b:Math.pow(2,-10*b)*Math.sin(2*(b-0.075)*Math.PI/0.3)+1},reverse:function(){return C.JM}};C.L2=function(b){return b&&0.3!==b?{Wb:b,$a:function(b){return 0===b||1===b?b:Math.pow(2,-10*b)*Math.sin(2*(b-this.Wb/4)*Math.PI/this.Wb)+1},reverse:function(){return C.J2(this.Wb)}}:C.KM};
- C.Gw=C.op.extend({update:function(b){var c=0,c=this.Wb;if(0===b||1==b)c=b;else{c||(c=this.Wb=0.3*1.5);var e=c/4;b=2*b-1;c=0>b?-0.5*Math.pow(2,10*b)*Math.sin(2*(b-e)*Math.PI/c):0.5*Math.pow(2,-10*b)*Math.sin(2*(b-e)*Math.PI/c)+1}this.u.update(c)},reverse:function(){return C.Gw.create(this.u.reverse(),this.Wb)},j:function(){var b=new C.Gw;b.R(this.u.j(),this.Wb);return b}});C.Gw.create=function(b,c){return new C.Gw(b,c)};
- C.K2=function(b){return{Wb:b||0.3,$a:function(b){var e=0,e=this.Wb;if(0===b||1===b)e=b;else{e||(e=this.Wb=0.3*1.5);var f=e/4;b=2*b-1;e=0>b?-0.5*Math.pow(2,10*b)*Math.sin(2*(b-f)*Math.PI/e):0.5*Math.pow(2,-10*b)*Math.sin(2*(b-f)*Math.PI/e)+1}return e},reverse:function(){return C.K2(this.Wb)}}};
- C.Zm=C.Xa.extend({tA:function(b){if(b<1/2.75)return 7.5625*b*b;if(b<2/2.75)return b-=1.5/2.75,7.5625*b*b+0.75;if(b<2.5/2.75)return b-=2.25/2.75,7.5625*b*b+0.9375;b-=2.625/2.75;return 7.5625*b*b+0.984375},j:function(){var b=new C.Zm;b.R(this.u.j());return b},reverse:function(){return C.Zm.create(this.u.reverse())}});C.Zm.create=function(b){return new C.Zm(b)};
- C.Cw=C.Zm.extend({update:function(b){this.u.update(1-this.tA(1-b))},reverse:function(){return C.Ew.create(this.u.reverse())},j:function(){var b=new C.Cw;b.R(this.u.j());return b}});C.Cw.create=function(b){return new C.Cw(b)};C.Px=function(b){if(b<1/2.75)return 7.5625*b*b;if(b<2/2.75)return b-=1.5/2.75,7.5625*b*b+0.75;if(b<2.5/2.75)return b-=2.25/2.75,7.5625*b*b+0.9375;b-=2.625/2.75;return 7.5625*b*b+0.984375};C.AM={$a:function(b){return 1-C.Px(1-b)},reverse:function(){return C.CM}};C.Fea=function(){return C.AM};
- C.Ew=C.Zm.extend({update:function(b){this.u.update(this.tA(b))},reverse:function(){return C.Cw.create(this.u.reverse())},j:function(){var b=new C.Ew;b.R(this.u.j());return b}});C.Ew.create=function(b){return new C.Ew(b)};C.CM={$a:function(b){return C.Px(b)},reverse:function(){return C.AM}};C.Hea=function(){return C.CM};C.Dw=C.Zm.extend({update:function(b){var c=0,c=0.5>b?0.5*(1-this.tA(1-2*b)):0.5*this.tA(2*b-1)+0.5;this.u.update(c)},j:function(){var b=new C.Dw;b.R(this.u.j());return b},reverse:function(){return C.Dw.create(this.u.reverse())}});
- C.Dw.create=function(b){return new C.Dw(b)};C.BM={$a:function(b){return b=0.5>b?0.5*(1-C.Px(1-2*b)):0.5*C.Px(2*b-1)+0.5},reverse:function(){return C.BM}};C.Gea=function(){return C.BM};C.zw=C.Xa.extend({update:function(b){this.u.update(0===b||1==b?b:b*b*(2.70158*b-1.70158))},reverse:function(){return C.Bw.create(this.u.reverse())},j:function(){var b=new C.zw;b.R(this.u.j());return b}});C.zw.create=function(b){return new C.zw(b)};C.xM={$a:function(b){return 0===b||1===b?b:b*b*(2.70158*b-1.70158)},reverse:function(){return C.zM}};
- C.Cea=function(){return C.xM};C.Bw=C.Xa.extend({update:function(b){b-=1;this.u.update(b*b*(2.70158*b+1.70158)+1)},reverse:function(){return C.zw.create(this.u.reverse())},j:function(){var b=new C.Bw;b.R(this.u.j());return b}});C.Bw.create=function(b){return new C.Bw(b)};C.zM={$a:function(b){b-=1;return b*b*(2.70158*b+1.70158)+1},reverse:function(){return C.xM}};C.Eea=function(){return C.zM};
- C.Aw=C.Xa.extend({update:function(b){b*=2;1>b?this.u.update(b*b*(3.5949095*b-2.5949095)/2):(b-=2,this.u.update(b*b*(3.5949095*b+2.5949095)/2+1))},j:function(){var b=new C.Aw;b.R(this.u.j());return b},reverse:function(){return C.Aw.create(this.u.reverse())}});C.Aw.create=function(b){return new C.Aw(b)};C.yM={$a:function(b){b*=2;if(1>b)return b*b*(3.5949095*b-2.5949095)/2;b-=2;return b*b*(3.5949095*b+2.5949095)/2+1},reverse:function(){return C.yM}};C.Dea=function(){return C.yM};
- C.is=C.Xa.extend({pz:p,qz:p,rz:p,sz:p,ctor:function(b){C.Xa.prototype.ctor.call(this,b)},oa:function(b,c,e,f,g){return Math.pow(1-g,3)*b+3*g*Math.pow(1-g,2)*c+3*Math.pow(g,2)*(1-g)*e+Math.pow(g,3)*f},update:function(b){this.u.update(this.oa(this.pz,this.qz,this.rz,this.sz,b))},j:function(){var b=new C.is;b.R(this.u.j());b.WR(this.pz,this.qz,this.rz,this.sz);return b},reverse:function(){var b=C.is.create(this.u.reverse());b.WR(this.sz,this.rz,this.qz,this.pz);return b},WR:function(b,c,e,f){this.pz=
- b||0;this.qz=c||0;this.rz=e||0;this.sz=f||0}});C.is.create=function(b){return new C.is(b)};C.I2=function(b,c,e,f){return{$a:function(g){return C.is.prototype.oa(b,c,e,f,g)},reverse:function(){return C.I2(f,e,c,b)}}};C.ps=C.Xa.extend({oa:function(b){return Math.pow(b,2)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ps;b.R(this.u.j());return b},reverse:function(){return C.ps.create(this.u.reverse())}});C.ps.create=function(b){return new C.ps(b)};
- C.OM={$a:C.ps.prototype.oa,reverse:function(){return C.OM}};C.Rea=function(){return C.OM};C.rs=C.Xa.extend({oa:function(b){return-b*(b-2)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.rs;b.R();return b},reverse:function(){return C.rs.create(this.u.reverse())}});C.rs.create=function(b){return new C.rs(b)};C.QM={$a:C.rs.prototype.oa,reverse:function(){return C.QM}};C.Tea=function(){return C.QM};
- C.qs=C.Xa.extend({oa:function(b){var c=b;b*=2;1>b?c=0.5*b*b:(--b,c=-0.5*(b*(b-2)-1));return c},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.qs;b.R(this.u.j());return b},reverse:function(){return C.qs.create(this.u.reverse())}});C.qs.create=function(b){return new C.qs(b)};C.PM={$a:C.qs.prototype.oa,reverse:function(){return C.PM}};C.Sea=function(){return C.PM};
- C.ss=C.Xa.extend({oa:function(b){return b*b*b*b},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ss;b.R(this.u.j());return b},reverse:function(){return C.ss.create(this.u.reverse())}});C.ss.create=function(b){return new C.ss(b)};C.RM={$a:C.ss.prototype.oa,reverse:function(){return C.RM}};C.Uea=function(){return C.RM};C.us=C.Xa.extend({oa:function(b){b-=1;return-(b*b*b*b-1)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.us;b.R(this.u.j());return b},reverse:function(){return C.us.create(this.u.reverse())}});
- C.us.create=function(b){return new C.us(b)};C.TM={$a:C.us.prototype.oa,reverse:function(){return C.TM}};C.Wea=function(){return C.TM};C.ts=C.Xa.extend({oa:function(b){b*=2;if(1>b)return 0.5*b*b*b*b;b-=2;return-0.5*(b*b*b*b-2)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ts;b.R(this.u.j());return b},reverse:function(){return C.ts.create(this.u.reverse())}});C.ts.create=function(b){return new C.ts(b)};C.SM={$a:C.ts.prototype.oa,reverse:function(){return C.SM}};C.Vea=function(){return C.SM};
- C.vs=C.Xa.extend({oa:function(b){return b*b*b*b*b},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.vs;b.R(this.u.j());return b},reverse:function(){return C.vs.create(this.u.reverse())}});C.vs.create=function(b){return new C.vs(b)};C.UM={$a:C.vs.prototype.oa,reverse:function(){return C.UM}};C.Xea=function(){return C.UM};
- C.xs=C.Xa.extend({oa:function(b){b-=1;return b*b*b*b*b+1},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.xs;b.R(this.u.j());return b},reverse:function(){return C.xs.create(this.u.reverse())}});C.xs.create=function(b){return new C.xs(b)};C.WM={$a:C.xs.prototype.oa,reverse:function(){return C.WM}};C.Zea=function(){return C.WM};
- C.ws=C.Xa.extend({oa:function(b){b*=2;if(1>b)return 0.5*b*b*b*b*b;b-=2;return 0.5*(b*b*b*b*b+2)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ws;b.R(this.u.j());return b},reverse:function(){return C.ws.create(this.u.reverse())}});C.ws.create=function(b){return new C.ws(b)};C.VM={$a:C.ws.prototype.oa,reverse:function(){return C.VM}};C.Yea=function(){return C.VM};
- C.js=C.Xa.extend({oa:function(b){return-1*(Math.sqrt(1-b*b)-1)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.js;b.R(this.u.j());return b},reverse:function(){return C.js.create(this.u.reverse())}});C.js.create=function(b){return new C.js(b)};C.DM={$a:C.js.prototype.oa,reverse:function(){return C.DM}};C.Iea=function(){return C.DM};
- C.ls=C.Xa.extend({oa:function(b){b-=1;return Math.sqrt(1-b*b)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ls;b.R(this.u.j());return b},reverse:function(){return C.ls.create(this.u.reverse())}});C.ls.create=function(b){return new C.ls(b)};C.FM={$a:C.ls.prototype.oa,reverse:function(){return C.FM}};C.Kea=function(){return C.FM};
- C.ks=C.Xa.extend({oa:function(b){b*=2;if(1>b)return-0.5*(Math.sqrt(1-b*b)-1);b-=2;return 0.5*(Math.sqrt(1-b*b)+1)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ks;b.R(this.u.j());return b},reverse:function(){return C.ks.create(this.u.reverse())}});C.ks.create=function(b){return new C.ks(b)};C.EM={$a:C.ks.prototype.oa,reverse:function(){return C.EM}};C.Jea=function(){return C.EM};
- C.ms=C.Xa.extend({oa:function(b){return b*b*b},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ms;b.R(this.u.j());return b},reverse:function(){return C.ms.create(this.u.reverse())}});C.ms.create=function(b){return new C.ms(b)};C.GM={$a:C.ms.prototype.oa,reverse:function(){return C.GM}};C.Lea=function(){return C.GM};C.os=C.Xa.extend({oa:function(b){b-=1;return b*b*b+1},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.os;b.R(this.u.j());return b},reverse:function(){return C.os.create(this.u.reverse())}});
- C.os.create=function(b){return new C.os(b)};C.IM={$a:C.os.prototype.oa,reverse:function(){return C.IM}};C.Nea=function(){return C.IM};C.ns=C.Xa.extend({oa:function(b){b*=2;if(1>b)return 0.5*b*b*b;b-=2;return 0.5*(b*b*b+2)},update:function(b){this.u.update(this.oa(b))},j:function(){var b=new C.ns;b.R(this.u.j());return b},reverse:function(){return C.ns.create(this.u.reverse())}});C.ns.create=function(b){return new C.ns(b)};C.HM={$a:C.ns.prototype.oa,reverse:function(){return C.HM}};C.Mea=function(){return C.HM};C.pH=function(b,c,e,f,g,h){var m=h*h,r=m*h,s=(1-g)/2;g=s*(-r+2*m-h);var u=s*(-r+m)+(2*r-3*m+1);h=s*(r-2*m+h)+(-2*r+3*m);m=s*(r-m);return F(b.x*g+c.x*u+e.x*h+f.x*m,b.y*g+c.y*u+e.y*h+f.y*m)};C.JR=function(b){for(var c=[],e=b.length-1;0<=e;e--)c.push(F(b[e].x,b[e].y));return c};C.zA=function(b){for(var c=[],e=0;e<b.length;e++)c.push(F(b[e].x,b[e].y));return c};C.Pd=function(b,c){var e=Math.min(b.length-1,Math.max(c,0));return b[e]};
- C.Xla=function(b){for(var c=b.length,e=0|c/2,f=0;f<e;++f){var g=b[f];b[f]=b[c-f-1];b[c-f-1]=g}};
- C.Rh=C.C.extend({mi:p,tM:0,Tq:0,qd:p,WL:p,ctor:function(b,c,e){C.C.prototype.ctor.call(this);this.mi=[];e!==k&&this.A(b,c,e)},A:function(b,c,e){(!c||0==c.length)&&d("Invalid configuration. It must at least have one control point");return C.C.prototype.A.call(this,b)?(this.w8(c),this.Tq=e,n):q},j:function(){var b=new C.Rh;b.A(this.N,C.zA(this.mi),this.Tq);return b},K:function(b){C.C.prototype.K.call(this,b);this.tM=1/(this.mi.length-1);this.qd=F(this.target.Q.x,this.target.Q.y);this.WL=F(0,0)},update:function(b){b=
- this.ae(b);var c,e=this.mi;if(1==b)c=e.length-1,b=1;else{var f=this.tM;c=0|b/f;b=(b-f*c)/f}c=C.pH(C.Pd(e,c-1),C.Pd(e,c-0),C.Pd(e,c+1),C.Pd(e,c+2),this.Tq,b);if(C.ww&&(e=this.target.Q.x-this.qd.x,b=this.target.Q.y-this.qd.y,0!=e||0!=b))f=this.WL,e=f.x+e,b=f.y+b,f.x=e,f.y=b,c.x+=e,c.y+=b;this.lT(c)},reverse:function(){var b=C.JR(this.mi);return C.Rh.create(this.N,b,this.Tq)},lT:function(b){this.target.q(b);this.qd=b},vha:x("mi"),w8:v("mi")});C.Rh.create=function(b,c,e){return new C.Rh(b,c,e)};
- C.Xm=C.Rh.extend({ed:p,ctor:function(b,c,e){C.Rh.prototype.ctor.call(this);this.ed=F(0,0);e!==k&&this.A(b,c,e)},K:function(b){C.Rh.prototype.K.call(this,b);this.ed.x=b.Q.x;this.ed.y=b.Q.y},reverse:function(){for(var b=this.mi.slice(),c,e=b[0],f=1;f<b.length;++f)c=b[f],b[f]=C.bb(c,e),e=c;b=C.JR(b);e=b[b.length-1];b.pop();e.x=-e.x;e.y=-e.y;b.unshift(e);for(f=1;f<b.length;++f)c=b[f],c.x=-c.x,c.y=-c.y,c.x+=e.x,c.y+=e.y,e=b[f]=c;return C.Xm.create(this.N,b,this.Tq)},lT:function(b){var c=this.ed,e=b.x+
- c.x;b=b.y+c.y;this.qd.x=e;this.qd.y=b;this.target.q(e,b)},j:function(){var b=new C.Xm;b.A(this.N,C.zA(this.mi),this.Tq);return b}});C.Xm.create=function(b,c,e){return new C.Xm(b,c,e)};C.rw=C.Rh.extend({ctor:function(b,c){c&&this.A(b,c)},A:function(b,c){return C.Rh.prototype.A.call(this,b,c,0.5)},j:function(){var b=new C.rw;b.A(this.N,C.zA(this.mi));return b}});C.rw.create=function(b,c){return new C.rw(b,c)};
- C.qw=C.Xm.extend({ctor:function(b,c){C.Xm.prototype.ctor.call(this);c&&this.A(b,c)},A:function(b,c){return C.Rh.prototype.A.call(this,b,c,0.5)},j:function(){var b=new C.qw;b.A(this.N,C.zA(this.mi));return b}});C.qw.create=function(b,c){return new C.qw(b,c)};C.e$=C.Ca.extend({DJ:t()});
- C.Tm=C.C.extend({key:"",KA:0,gw:0,NP:0,ctor:function(b,c,e,f){C.C.prototype.ctor.call(this);this.key="";f!==k&&this.A(b,c,e,f)},A:function(b,c,e,f){return C.C.prototype.A.call(this,b)?(this.key=c,this.gw=f,this.KA=e,n):q},K:function(b){(!b||!b.DJ)&&d("cc.ActionTween.startWithTarget(): target must be non-null, and target must implement updateTweenAction function");C.C.prototype.K.call(this,b);this.NP=this.gw-this.KA},update:function(b){this.target.DJ(this.gw-this.NP*(1-b),this.key)},reverse:function(){return C.Tm.create(this.duration,
- this.key,this.gw,this.KA)},j:function(){var b=new C.Tm;b.A(this.N,this.key,this.KA,this.gw);return b}});C.Tm.create=function(b,c,e,f){var g=new C.Tm;return g.A(b,c,e,f)?g:p};C.action=C.Xd.create;C.speed=C.Vs.create;C.Ffa=C.Tw.create;C.pka=C.Zw.create;C.Oda=C.Rh.create;C.Nda=C.Xm.create;C.Qda=C.rw.create;C.Pda=C.qw.create;C.show=C.Ts.create;C.via=C.Es.create;C.Boa=C.Xs.create;C.Hla=C.Ms.create;C.Dfa=C.Cs.create;C.Efa=C.Ds.create;C.Tka=C.cx.create;C.Kda=C.dh.create;C.eda=C.C.create;C.tma=C.Zd.create;
- C.repeat=C.Ns.create;C.q7=C.Os.create;C.foa=C.kk.create;C.$la=C.fx.create;C.Zla=C.Qs.create;C.moveBy=C.$i.create;C.moveTo=C.tp.create;C.doa=C.xl.create;C.coa=C.Us.create;C.oja=C.hk.create;C.pja=C.Uw.create;C.Gda=C.rl.create;C.Hda=C.nw.create;C.dma=C.Af.create;C.cma=C.Rs.create;C.blink=C.sl.create;C.zfa=C.an.create;C.xfa=C.As.create;C.yfa=C.Bs.create;C.Aoa=C.sx.create;C.zoa=C.Ws.create;C.gea=C.Ym.create;C.Yla=C.Ps.create;C.zda=C.cs.create;C.yoa=C.rx.create;C.fda=C.Tm.create;C.Dy=C.cV;C.Mt="Arial";C.vN=q;
- C.Xc=C.fa.extend({Fc:q,Qe:p,df:p,mg:q,ha:"MenuItem",ctor:function(b,c){var e=C.fa.prototype;e.ctor.call(this);this.df=this.Qe=p;this.Fc=this.mg=q;e.J.call(this,0.5,0.5);this.Qe=c||p;if(this.df=b||p)this.Fc=n},kB:x("mg"),Td:t(),Xf:A(q),H8:function(b,c){this.Qe=c;this.df=b},isEnabled:x("Fc"),Ba:v("Fc"),qv:function(b,c){this.anchorY=this.anchorX=0.5;this.Qe=c;this.df=b;this.Fc=n;this.mg=q;return n},rect:function(){var b=this.Q,c=this.f,e=this.Da;return J(b.x-c.width*e.x,b.y-c.height*e.y,c.width,c.height)},
- selected:function(){this.mg=n},Ti:function(){this.mg=q},Gma:function(b,c){this.Qe=c;this.df=b},Ou:function(){if(this.Fc){var b=this.Qe,c=this.df;if(c)if(b&&"string"==typeof c)b[c](this);else b&&"function"==typeof c?c.call(b,this):c(this)}}});D=C.Xc.prototype;C.c(D,"enabled",D.isEnabled,D.Ba);C.Xc.create=function(b,c){return new C.Xc(b,c)};
- C.dn=C.Xc.extend({Xp:p,Hd:p,H_:0,qt:p,ctor:function(b,c,e){C.Xc.prototype.ctor.call(this,c,e);this.Hd=this.Xp=p;this.H_=0;this.qt=p;b&&(this.fu=1,this.qt=C.color.WHITE,this.Xp=C.color(126,126,126),this.IB(b),this.cascadeOpacity=this.cascadeColor=n)},w3:x("Xp"),Y7:v("Xp"),M3:x("Hd"),IB:function(b){b&&(this.m(b),b.anchorX=0,b.anchorY=0,this.width=b.width,this.height=b.height);this.Hd&&this.removeChild(this.Hd,n);this.Hd=b},Ba:function(b){if(this.Fc!=b){var c=this.Hd;b?c.color=this.qt:(this.qt=c.color,
- c.color=this.Xp)}C.Xc.prototype.Ba.call(this,b)},D:function(b){this.Hd.opacity=b},Ma:function(){return this.Hd.opacity},z:function(b){this.Hd.color=b},Ga:function(){return this.Hd.color},DQ:function(b,c,e){this.qv(c,e);this.fu=1;this.qt=C.color.WHITE;this.Xp=C.color(126,126,126);this.IB(b);return this.cascadeOpacity=this.cascadeColor=n},V:function(b){this.Hd.string=b;this.width=this.Hd.width;this.height=this.Hd.height},Eb:function(){return this.Hd.string},Ou:function(){this.Fc&&(this.pl(),this.scale=
- this.fu,C.Xc.prototype.Ou.call(this))},selected:function(){if(this.Fc){C.Xc.prototype.selected.call(this);var b=this.LA(C.tx);b?this.WS(b):this.fu=this.scale;b=C.Af.create(0.1,1.2*this.fu);b.Pr(C.tx);this.Ze(b)}},Ti:function(){if(this.Fc){C.Xc.prototype.Ti.call(this);this.h9(C.tx);var b=C.Af.create(0.1,this.fu);b.Pr(C.tx);this.Ze(b)}}});D=C.dn.prototype;C.c(D,"string",D.Eb,D.V);C.c(D,"disabledColor",D.w3,D.Y7);C.c(D,"label",D.M3,D.IB);C.dn.create=function(b,c,e){return new C.dn(b,c,e)};
- C.TK=C.dn.extend({ctor:function(b,c,e,f,g,h,m){var r;b&&0<b.length&&(r=C.Uh.create(b,c,e,f,g));C.dn.prototype.ctor.call(this,r,h,m)},yd:function(b,c,e,f,g,h,m){(!b||0==b.length)&&d("cc.MenuItemAtlasFont.initWithString(): value should be non-null and its length should be greater than 0");var r=new C.Uh;r.yd(b,c,e,f,g);this.DQ(r,h,m);return n}});C.TK.create=function(b,c,e,f,g,h,m){return new C.TK(b,c,e,f,g,h,m)};
- C.cn=C.dn.extend({Ib:p,Hb:p,ctor:function(b,c,e){var f;b&&0<b.length?(this.Hb=C.Mt,this.Ib=C.Dy,f=C.H.create(b,this.Hb,this.Ib)):(this.Ib=0,this.Hb="");C.dn.prototype.ctor.call(this,f,c,e)},yd:function(b,c,e){(!b||0==b.length)&&d("Value should be non-null and its length should be greater than 0");this.Hb=C.Mt;this.Ib=C.Dy;b=C.H.create(b,this.Hb,this.Ib);this.DQ(b,c,e);return n},uf:function(b){this.Ib=b;this.oO()},Fi:x("Ib"),Zf:function(b){this.Hb=b;this.oO()},Qj:x("Hb"),oO:function(){var b=C.H.create(this.Hd.string,
- this.Hb,this.Ib);this.IB(b)}});C.cn.uf=function(b){C.Dy=b};C.cn.fontSize=function(){return C.Dy};C.cn.Zf=function(b){C.vN&&(C.Mt="");C.Mt=b;C.vN=n};D=C.cn.prototype;C.c(D,"fontSize",D.Fi,D.uf);C.c(D,"fontName",D.Qj,D.Zf);C.cn.fontName=function(){return C.Mt};C.cn.create=function(b,c,e){return new C.cn(b,c,e)};
- C.sp=C.Xc.extend({ce:p,Of:p,Ef:p,ctor:function(b,c,e,f,g){C.Xc.prototype.ctor.call(this);this.Ef=this.Of=this.ce=p;if(c!==k){var h,m,r;g!==k?(h=e,r=f,m=g):f!==k&&"function"===typeof f?(h=e,r=f):f!==k&&"function"===typeof e?(m=f,r=e,h=c):e===k&&(h=c);this.EQ(b,c,h,r,m)}},f4:x("ce"),fJ:function(b){this.ce!=b&&(b&&(this.m(b,0,C.nV),b.anchorX=0,b.anchorY=0),this.ce&&this.removeChild(this.ce,n),this.ce=b,this.width=this.ce.width,this.height=this.ce.height,this.eA(),b.Vr&&!b.Y&&b.Hc(function(b){this.width=
- b.width;this.height=b.height},this))},D4:x("Of"),kJ:function(b){this.Of!=b&&(b&&(this.m(b,0,C.fW),b.anchorX=0,b.anchorY=0),this.Of&&this.removeChild(this.Of,n),this.Of=b,this.eA())},x3:x("Ef"),$I:function(b){this.Ef!=b&&(b&&(this.m(b,0,C.tU),b.anchorX=0,b.anchorY=0),this.Ef&&this.removeChild(this.Ef,n),this.Ef=b,this.eA())},EQ:function(b,c,e,f,g){this.qv(f,g);this.fJ(b);this.kJ(c);this.$I(e);if(b=this.ce)this.width=b.width,this.height=b.height,b.Vr&&!b.Y&&b.Hc(function(b){this.width=b.width;this.height=
- b.height;this.cascadeOpacity=this.cascadeColor=n},this);return this.cascadeOpacity=this.cascadeColor=n},z:function(b){this.ce.color=b;this.Of&&(this.Of.color=b);this.Ef&&(this.Ef.color=b)},Ga:function(){return this.ce.color},D:function(b){this.ce.opacity=b;this.Of&&(this.Of.opacity=b);this.Ef&&(this.Ef.opacity=b)},Ma:function(){return this.ce.opacity},selected:function(){C.Xc.prototype.selected.call(this);this.ce&&(this.Ef&&(this.Ef.visible=q),this.Of?(this.ce.visible=q,this.Of.visible=n):this.ce.visible=
- n)},Ti:function(){C.Xc.prototype.Ti.call(this);this.ce&&(this.ce.visible=n,this.Of&&(this.Of.visible=q),this.Ef&&(this.Ef.visible=q))},Ba:function(b){this.Fc!=b&&(C.Xc.prototype.Ba.call(this,b),this.eA())},eA:function(){var b=this.ce,c=this.Of,e=this.Ef;this.Fc?(b&&(b.visible=n),c&&(c.visible=q),e&&(e.visible=q)):e?(b&&(b.visible=q),c&&(c.visible=q),e&&(e.visible=n)):(b&&(b.visible=n),c&&(c.visible=q))}});D=C.sp.prototype;C.c(D,"normalImage",D.f4,D.fJ);C.c(D,"selectedImage",D.D4,D.kJ);
- C.c(D,"disabledImage",D.x3,D.$I);C.sp.create=function(b,c,e,f,g){return new C.sp(b,c,e,f,g||k)};
- C.UK=C.sp.extend({ctor:function(b,c,e,f,g){var h=p,m=p,r=p,s=p,u=p;b===k?C.sp.prototype.ctor.call(this):(h=C.t.create(b),c&&(m=C.t.create(c)),f===k?s=e:g===k?(s=e,u=f):g&&(r=C.t.create(e),s=f,u=g),C.sp.prototype.ctor.call(this,h,m,r,s,u))},mna:function(b){this.fJ(C.t.create(b))},Gna:function(b){this.kJ(C.t.create(b))},Sma:function(b){this.$I(C.t.create(b))},Aia:function(b,c,e,f,g){var h=p,m=p,r=p;b&&(h=C.t.create(b));c&&(m=C.t.create(c));e&&(r=C.t.create(e));return this.EQ(h,m,r,f,g)}});
- C.UK.create=function(b,c,e,f,g){return new C.UK(b,c,e,f,g)};
- C.VC=C.Xc.extend({Wd:p,yh:0,jc:p,Va:p,ctor:function(){var b=arguments.length,c,e;"function"===typeof arguments[b-2]?(c=arguments[b-2],e=arguments[b-1],b-=2):"function"===typeof arguments[b-1]&&(c=arguments[b-1],b-=1);C.Xc.prototype.ctor.call(this,c,e);this.yh=0;this.Wd=[];this.jc=0;this.Va=C.color.WHITE;if(0<b){c=this.Wd;for(e=c.length=0;e<b;e++)arguments[e]&&c.push(arguments[e]);this.yh=C.vD;this.dw(0);this.bp(n);this.cp(n)}},Ma:x("jc"),D:function(b){this.jc=b;if(this.Wd&&0<this.Wd.length)for(var c=
- 0;c<this.Wd.length;c++)this.Wd[c].opacity=b;this.Va.a=b},Ga:function(){var b=this.Va;return C.color(b.r,b.g,b.b,b.a)},z:function(b){var c=this.Va;c.r=b.r;c.g=b.g;c.b=b.b;if(this.Wd&&0<this.Wd.length)for(c=0;c<this.Wd.length;c++)this.Wd[c].z(b);b.a!==k&&!b.vo&&this.D(b.a)},E4:x("yh"),dw:function(b){if(b!=this.yh){this.yh=b;(b=this.Ei(C.ZJ))&&b.Ir(q);b=this.Wd[this.yh];this.m(b,0,C.ZJ);var c=b.width,e=b.height;this.width=c;this.height=e;b.q(c/2,e/2)}},Pha:x("Wd"),Jna:v("Wd"),eB:function(b){var c=b.length;
- "function"===typeof b[b.length-2]?(this.qv(b[b.length-2],b[b.length-1]),c-=2):"function"===typeof b[b.length-1]?(this.qv(b[b.length-1],p),c-=1):this.qv(p,p);for(var e=this.Wd,f=e.length=0;f<c;f++)b[f]&&e.push(b[f]);this.yh=C.vD;this.dw(0);return this.cascadeOpacity=this.cascadeColor=n},vda:function(b){this.Wd.push(b)},Ou:function(){this.Fc&&this.dw((this.yh+1)%this.Wd.length);C.Xc.prototype.Ou.call(this)},selected:function(){C.Xc.prototype.selected.call(this);this.Wd[this.yh].selected()},Ti:function(){C.Xc.prototype.Ti.call(this);
- this.Wd[this.yh].Ti()},Ba:function(b){if(this.Fc!=b){C.Xc.prototype.Ba.call(this,b);var c=this.Wd;if(c&&0<c.length)for(var e=0;e<c.length;e++)c[e].enabled=b}},rma:function(){return this.Wd[this.yh]},kb:function(){C.v.prototype.kb.call(this);this.dw(this.yh)}});D=C.VC.prototype;C.c(D,"selectedIndex",D.E4,D.dw);
- C.VC.create=function(){0<arguments.length&&arguments[arguments.length-1]==p&&C.log("parameters should not be ending with null in Javascript");var b=new C.VC;b.eB(Array.prototype.slice.apply(arguments));return b};C.Hs=0;C.Gs=1;C.paa=-128;C.uw=5;
- C.Is=C.bf.extend({enabled:q,Va:p,jc:0,rd:p,fd:-1,nf:p,ha:"Menu",ctor:function(b){C.bf.prototype.ctor.call(this);this.Va=C.color.WHITE;this.enabled=q;this.jc=255;this.rd=p;this.fd=-1;this.nf=C.$.create({event:C.$.yl,Tr:n,ob:this.B_,ac:this.F_,$b:this.D_,Vc:this.C_});0<arguments.length&&arguments[arguments.length-1]==p&&C.log("parameters should not be ending with null in Javascript");var c=arguments.length,e;if(0==c)e=[];else if(1==c)e=b instanceof Array?b:[b];else if(1<c){e=[];for(var f=0;f<c;f++)arguments[f]&&
- e.push(arguments[f])}this.zQ(e)},kb:function(){var b=this.nf;b.Mf||C.pa.addListener(b,this);C.v.prototype.kb.call(this)},Ga:function(){var b=this.Va;return C.color(b.r,b.g,b.b,b.a)},z:function(b){var c=this.Va;c.r=b.r;c.g=b.g;c.b=b.b;if((c=this.i)&&0<c.length)for(var e=0;e<c.length;e++)c[e].z(b);b.a!==k&&!b.vo&&this.D(b.a)},Ma:x("jc"),D:function(b){this.jc=b;var c=this.i;if(c&&0<c.length)for(var e=0;e<c.length;e++)c[e].D(b);this.Va.a=b},isEnabled:x("enabled"),Ba:v("enabled"),eB:function(b){var c=
- [];if(b)for(var e=0;e<b.length;e++)b[e]&&c.push(b[e]);return this.zQ(c)},zQ:function(b){if(C.bf.prototype.s.call(this)){this.enabled=n;var c=C.ql;this.q(c.width/2,c.height/2);this.ja(c);this.J(0.5,0.5);this.Ii(n);if(b)for(c=0;c<b.length;c++)this.m(b[c],c);this.rd=p;this.fd=C.Hs;return this.cascadeOpacity=this.cascadeColor=n}return q},m:function(b,c,e){b instanceof C.Xc||d("cc.Menu.addChild() : Menu only supports MenuItem objects as children");C.md.prototype.m.call(this,b,c,e)},y1:function(){this.fH(C.uw)},
- fH:function(b){var c=-b,e=this.i,f,g,h,m;if(e&&0<e.length){g=0;for(f=e.length;g<f;g++)c+=e[g].height*e[g].scaleY+b;var r=c/2;g=0;for(f=e.length;g<f;g++)m=e[g],h=m.height,c=m.scaleY,m.q(0,r-h*c/2),r-=h*c+b}},v1:function(){this.eH(C.uw)},eH:function(b){var c=-b,e=this.i,f,g,h,m;if(e&&0<e.length){f=0;for(g=e.length;f<g;f++)c+=e[f].width*e[f].scaleX+b;var r=-c/2;f=0;for(g=e.length;f<g;f++)m=e[f],c=m.scaleX,h=e[f].width,m.q(r+h*c/2,0),r+=h*c+b}},w1:function(){0<arguments.length&&arguments[arguments.length-
- 1]==p&&C.log("parameters should not be ending with null in Javascript");for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);var e=-5,f=0,g=0,h=0,m,r,s,u=this.i;if(u&&0<u.length){c=0;for(s=u.length;c<s;c++)if(!(f>=b.length)&&(m=b[f]))r=u[c].height,g=g>=r||isNaN(r)?g:r,++h,h>=m&&(e+=g+5,g=h=0,++f)}var y=C.jb.ib,z=m=g=f=0,B=0,e=e/2;if(u&&0<u.length){c=0;for(s=u.length;c<s;c++){var E=u[c];0==m&&(m=b[f],B=z=y.width/(1+m));r=E.pe();g=g>=r||isNaN(r)?g:r;E.q(B-y.width/2,e-r/2);B+=z;++h;h>=m&&(e-=
- g+5,g=m=h=0,++f)}}},x1:function(){0<arguments.length&&arguments[arguments.length-1]==p&&C.log("parameters should not be ending with null in Javascript");var b=[],c;for(c=0;c<arguments.length;c++)b.push(arguments[c]);var e=[],f=[],g=-10,h=-5,m=0,r=0,s=0,u,y,z,B,E=this.i;if(E&&0<E.length){c=0;for(z=E.length;c<z;c++)if(y=E[c],!(m>=b.length)&&(u=b[m]))B=y.width,r=r>=B||isNaN(B)?r:B,h+=y.height+5,++s,s>=u&&(e.push(r),f.push(h),g+=r+10,r=s=0,h=-5,++m)}h=C.jb.ib;u=r=m=0;var g=-g/2,I=0;if(E&&0<E.length){c=
- 0;for(z=E.length;c<z;c++)y=E[c],0==u&&(u=b[m],I=f[m]),B=y.pd(),r=r>=B||isNaN(B)?r:B,y.q(g+e[m]/2,I-h.height/2),I-=y.height+10,++s,s>=u&&(g+=r+5,r=u=s=0,++m)}},removeChild:function(b,c){b!=p&&(b instanceof C.Xc?(this.rd==b&&(this.rd=p),C.v.prototype.removeChild.call(this,b,c)):C.log("cc.Menu.removeChild():Menu only supports MenuItem objects as children"))},B_:function(b,c){var e=c.ne;if(e.fd!=C.Hs||!e.Aa||!e.enabled)return q;for(var f=e.parent;f!=p;f=f.parent)if(!f.Aa)return q;e.rd=e.LN(b);return e.rd?
- (e.fd=C.Gs,e.rd.selected(),n):q},D_:function(b,c){var e=c.ne;e.fd!==C.Gs?C.log("cc.Menu.onTouchEnded(): invalid state"):(e.rd&&(e.rd.Ti(),e.rd.Ou()),e.fd=C.Hs)},C_:function(b,c){var e=c.ne;e.fd!==C.Gs?C.log("cc.Menu.onTouchCancelled(): invalid state"):(this.rd&&e.rd.Ti(),e.fd=C.Hs)},F_:function(b,c){var e=c.ne;if(e.fd!==C.Gs)C.log("cc.Menu.onTouchMoved(): invalid state");else{var f=e.LN(b);f!=e.rd&&(e.rd&&e.rd.Ti(),e.rd=f,e.rd&&e.rd.selected())}},Jb:function(){this.fd==C.Gs&&(this.rd&&(this.rd.Ti(),
- this.rd=p),this.fd=C.Hs);C.v.prototype.Jb.call(this)},Td:t(),Xf:A(q),LN:function(b){b=b.ie();var c=this.i,e;if(c&&0<c.length)for(var f=0;f<c.length;f++)if(e=c[f],e.Aa&&e.isEnabled()){var g=e.Tf(b),h=e.rect();h.x=0;h.y=0;if(C.Vo(h,g))return e}return p}});D=C.Is.prototype;C.Is.create=function(b){var c=arguments.length;0<c&&arguments[c-1]==p&&C.log("parameters should not be ending with null in Javascript");return 0==c?new C.Is:1==c?new C.Is(b):new C.Is(Array.prototype.slice.call(arguments,0))};C.Moa=function(){return{x:0,y:0}};C.Sm=function(b,c){return{x:b,y:c}};C.yf=function(b,c){return C.Sm(b.x+c.x,b.y+c.y)};C.Kc=function(b,c){return C.Sm(b.x-c.x,b.y-c.y)};C.je=function(b,c){return C.Sm(b.x*c,b.y*c)};C.as=function(b){return C.Sm(-b.y,b.x)};C.ah=function(b){return C.Sm(-b.x,-b.y)};C.qT=function(b,c){return b.x*c.x+b.y*c.y};C.Loa=function(b){return C.Sm(Math.cos(b),Math.sin(b))};C.lw=function(b){b=C.ld(F(b.x,b.y));return C.Sm(b.x,b.y)};C.Bf=function(b){return C.Sm(b.x,b.y)};
- C.Na=function(b){return{wa:b.x,O:b.y}};
- C.AU=C.v.extend({Pb:p,M:p,Jd:1,jg:p,ha:"DrawNodeCanvas",ctor:function(){C.v.prototype.ctor.call(this);this.Pb=[];this.jg=C.color(255,255,255,255);this.M=new C.Wm(C.af,C.$e);this.s()},av:x("M"),Qm:function(b,c){c===k?(this.M.src=b.src,this.M.Qa=b.Qa):(this.M.src=b,this.M.Qa=c)},dJ:v("Jd"),P3:x("Jd"),Nr:function(b){var c=this.jg;c.r=b.r;c.g=b.g;c.b=b.b;c.a=b.a==p?255:b.a},Ae:function(){return C.color(this.jg.r,this.jg.g,this.jg.b,this.jg.a)},BH:function(b,c,e,f,g){f=f||this.Jd;g=g||this.Ae();g.a==p&&
- (g.a=255);b=[b,F(c.x,b.y),c,F(b.x,c.y)];c=new C.Cl(C.ke.zl);c.yg=b;c.lineWidth=f;c.el=g;c.iB=n;c.Km=n;c.lineCap="butt";if(c.fillColor=e)e.a==p&&(e.a=255),c.oI=n;this.Pb.push(c)},xH:function(b,c,e,f,g,h,m){h=h||this.Jd;m=m||this.Ae();m.a==p&&(m.a=255);for(var r=2*Math.PI/f,s=[],u=0;u<=f;u++){var y=u*r;s.push(F(c*Math.cos(y+e)+b.x,c*Math.sin(y+e)+b.y))}g&&s.push(F(b.x,b.y));b=new C.Cl(C.ke.zl);b.yg=s;b.lineWidth=h;b.el=m;b.iB=n;b.Km=n;this.Pb.push(b)},AH:function(b,c,e,f,g,h){g=g||this.Jd;h=h||this.Ae();
- h.a==p&&(h.a=255);for(var m=[],r=0,s=0;s<f;s++)m.push(F(Math.pow(1-r,2)*b.x+2*(1-r)*r*c.x+r*r*e.x,Math.pow(1-r,2)*b.y+2*(1-r)*r*c.y+r*r*e.y)),r+=1/f;m.push(F(e.x,e.y));b=new C.Cl(C.ke.zl);b.yg=m;b.lineWidth=g;b.el=h;b.Km=n;b.lineCap="round";this.Pb.push(b)},yH:function(b,c,e,f,g,h,m){h=h||this.Jd;m=m||this.Ae();m.a==p&&(m.a=255);for(var r=[],s=0,u=0;u<g;u++)r.push(F(Math.pow(1-s,3)*b.x+3*Math.pow(1-s,2)*s*c.x+3*(1-s)*s*s*e.x+s*s*s*f.x,Math.pow(1-s,3)*b.y+3*Math.pow(1-s,2)*s*c.y+3*(1-s)*s*s*e.y+s*
- s*s*f.y)),s+=1/g;r.push(F(f.x,f.y));b=new C.Cl(C.ke.zl);b.yg=r;b.lineWidth=h;b.el=m;b.Km=n;b.lineCap="round";this.Pb.push(b)},wH:function(b,c,e,f){this.Fo(b,0.5,c,e,f)},Fo:function(b,c,e,f,g){f=f||this.Jd;g=g||this.Ae();g.a==p&&(g.a=255);for(var h=[],m,r,s=1/b.length,u=0;u<e+1;u++)r=u/e,1==r?(m=b.length-1,r=1):(m=0|r/s,r=(r-s*m)/s),m=C.pH(C.Pd(b,m-1),C.Pd(b,m-0),C.Pd(b,m+1),C.Pd(b,m+2),c,r),h.push(m);b=new C.Cl(C.ke.zl);b.yg=h;b.lineWidth=f;b.el=g;b.Km=n;b.lineCap="round";this.Pb.push(b)},zH:function(b,
- c,e){e=e||this.Ae();e.a==p&&(e.a=255);var f=new C.Cl(C.ke.KL);f.yg=[b];f.lineWidth=c;f.fillColor=e;this.Pb.push(f)},A2:function(b,c,e){if(b&&0!=b.length){e=e||this.Ae();e.a==p&&(e.a=255);for(var f=0,g=b.length;f<g;f++)this.zH(b[f],c,e)}},CH:function(b,c,e,f){e=e||this.Jd;f=f||this.Ae();f.a==p&&(f.a=255);var g=new C.Cl(C.ke.zl);g.yg=[b,c];g.lineWidth=2*e;g.el=f;g.Km=n;g.lineCap="round";this.Pb.push(g)},E2:function(b,c,e,f){e=e||this.Jd;f=f||this.Ae();f.a==p&&(f.a=255);var g=new C.Cl(C.ke.zl);g.yg=
- b;g.fillColor=c;g.lineWidth=e;g.el=f;g.iB=n;g.Km=n;g.lineCap="round";c&&(g.oI=n);this.Pb.push(g)},ye:function(b,c,e,f){for(var g=[],h=0;h<b.length;h++)g.push(F(b[h].x,b[h].y));return this.E2(g,c,e,f)},U:function(b){b=b||C.o;this.M&&(this.M.src==C.SRC_ALPHA&&this.M.Qa==C.ONE)&&(b.globalCompositeOperation="lighter");for(var c=0;c<this.Pb.length;c++){var e=this.Pb[c];switch(e.type){case C.ke.KL:this.QY(b,e);break;case C.ke.gX:this.SY(b,e);break;case C.ke.zl:this.RY(b,e)}}},QY:function(b,c){var e=c.fillColor,
- f=c.yg[0],g=c.lineWidth,h=C.view.W,m=C.view.na;b.fillStyle="rgba("+(0|e.r)+","+(0|e.g)+","+(0|e.b)+","+e.a/255+")";b.beginPath();b.arc(f.x*h,-f.y*m,g*h,0,2*Math.PI,q);b.closePath();b.fill()},SY:function(b,c){var e=c.el,f=c.yg[0],g=c.yg[1],h=c.lineWidth,m=c.lineCap,r=C.view.W,s=C.view.na;b.strokeStyle="rgba("+(0|e.r)+","+(0|e.g)+","+(0|e.b)+","+e.a/255+")";b.lineWidth=h*r;b.beginPath();b.lineCap=m;b.moveTo(f.x*r,-f.y*s);b.lineTo(g.x*r,-g.y*s);b.stroke()},RY:function(b,c){var e=c.yg,f=c.lineCap,g=c.fillColor,
- h=c.lineWidth,m=c.el,r=c.iB,s=c.oI,u=c.Km;if(e!=p){var y=e[0],z=C.view.W,B=C.view.na;b.lineCap=f;g&&(b.fillStyle="rgba("+(0|g.r)+","+(0|g.g)+","+(0|g.b)+","+g.a/255+")");h&&(b.lineWidth=h*z);m&&(b.strokeStyle="rgba("+(0|m.r)+","+(0|m.g)+","+(0|m.b)+","+m.a/255+")");b.beginPath();b.moveTo(y.x*z,-y.y*B);f=1;for(g=e.length;f<g;f++)b.lineTo(e[f].x*z,-e[f].y*B);r&&b.closePath();s&&b.fill();u&&b.stroke()}},clear:function(){this.Pb.length=0}});
- C.BU=C.v.extend({Kp:0,Pb:p,Vk:p,$O:p,ZO:p,Jd:1,jg:p,M:p,Je:q,ha:"DrawNodeWebGL",av:x("M"),Qm:function(b,c){c===k?(this.M.src=b.src,this.M.Qa=b.Qa):(this.M.src=b,this.M.Qa=c)},ctor:function(){C.v.prototype.ctor.call(this);this.Pb=[];this.M=new C.Wm(C.af,C.$e);this.jg=C.color(255,255,255,255);this.s()},s:function(){return C.v.prototype.s.call(this)?(this.shaderProgram=C.Ph.Oi(C.gW),this.Ct(64),this.$O=C.o.createBuffer(),this.Je=n):q},dJ:v("Jd"),P3:x("Jd"),Nr:function(b){var c=this.jg;c.r=b.r;c.g=b.g;
- c.b=b.b;c.a=b.a},Ae:function(){return C.color(this.jg.r,this.jg.g,this.jg.b,this.jg.a)},BH:function(b,c,e,f,g){f=f||this.Jd;g=g||this.Ae();g.a==p&&(g.a=255);b=[b,F(c.x,b.y),c,F(b.x,c.y)];e==p?this.my(b,f,g,n):this.ye(b,e,f,g)},xH:function(b,c,e,f,g,h,m){h=h||this.Jd;m=m||this.Ae();m.a==p&&(m.a=255);var r=2*Math.PI/f,s=[],u;for(u=0;u<=f;u++){var y=u*r;s.push(F(c*Math.cos(y+e)+b.x,c*Math.sin(y+e)+b.y))}g&&s.push(F(b.x,b.y));h*=0.5;u=0;for(b=s.length;u<b-1;u++)this.CH(s[u],s[u+1],h,m)},AH:function(b,
- c,e,f,g,h){g=g||this.Jd;h=h||this.Ae();h.a==p&&(h.a=255);for(var m=[],r=0,s=0;s<f;s++)m.push(F(Math.pow(1-r,2)*b.x+2*(1-r)*r*c.x+r*r*e.x,Math.pow(1-r,2)*b.y+2*(1-r)*r*c.y+r*r*e.y)),r+=1/f;m.push(F(e.x,e.y));this.my(m,g,h,q)},yH:function(b,c,e,f,g,h,m){h=h||this.Jd;m=m||this.Ae();m.a==p&&(m.a=255);for(var r=[],s=0,u=0;u<g;u++)r.push(F(Math.pow(1-s,3)*b.x+3*Math.pow(1-s,2)*s*c.x+3*(1-s)*s*s*e.x+s*s*s*f.x,Math.pow(1-s,3)*b.y+3*Math.pow(1-s,2)*s*c.y+3*(1-s)*s*s*e.y+s*s*s*f.y)),s+=1/g;r.push(F(f.x,f.y));
- this.my(r,h,m,q)},wH:function(b,c,e,f){this.Fo(b,0.5,c,e,f)},Fo:function(b,c,e,f,g){f=f||this.Jd;g=g||this.Ae();g.a==p&&(g.a=255);for(var h=[],m,r,s=1/b.length,u=0;u<e+1;u++)r=u/e,1==r?(m=b.length-1,r=1):(m=0|r/s,r=(r-s*m)/s),m=C.pH(C.Pd(b,m-1),C.Pd(b,m-0),C.Pd(b,m+1),C.Pd(b,m+2),c,r),h.push(m);f*=0.5;b=0;for(c=h.length;b<c-1;b++)this.CH(h[b],h[b+1],f,g)},Y_:function(){var b=C.o;C.Ve(C.Ys);b.bindBuffer(b.ARRAY_BUFFER,this.$O);this.Je&&(b.bufferData(b.ARRAY_BUFFER,this.Vk,b.STREAM_DRAW),this.Je=q);
- var c=C.le.BYTES_PER_ELEMENT;b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,c,0);b.vertexAttribPointer(C.Ap,4,b.UNSIGNED_BYTE,n,c,8);b.vertexAttribPointer(C.Bp,2,b.FLOAT,q,c,12);b.drawArrays(b.TRIANGLES,0,3*this.Pb.length);C.Ji()},Ct:function(b){var c=this.Pb;if(c.length+b>this.Kp){var e=C.qc.BYTES_PER_ELEMENT;this.Kp+=Math.max(this.Kp,b);if(c==p||0===c.length)this.Pb=[],this.Vk=new ArrayBuffer(e*this.Kp),this.ZO=new Uint8Array(this.Vk);else{b=[];for(var f=new ArrayBuffer(e*this.Kp),g=0;g<c.length;g++)b[g]=
- new C.qc(c[g].a,c[g].b,c[g].va,f,g*e);this.ZO=new Uint8Array(f);this.Vk=f;this.Pb=b}}},U:function(){C.Jm(this.M.src,this.M.Qa);this.fe.xf();this.fe.MS();this.Y_()},zH:function(b,c,e){e=e||this.Ae();e.a==p&&(e.a=255);var f={r:0|e.r,g:0|e.g,b:0|e.b,a:0|e.a};e={k:{x:b.x-c,y:b.y-c},B:f,n:{wa:-1,O:-1}};var g={k:{x:b.x-c,y:b.y+c},B:f,n:{wa:-1,O:1}},h={k:{x:b.x+c,y:b.y+c},B:f,n:{wa:1,O:1}};b={k:{x:b.x+c,y:b.y-c},B:f,n:{wa:1,O:-1}};this.Ct(6);this.Pb.push(new C.qc(e,g,h,this.Vk,this.Pb.length*C.qc.BYTES_PER_ELEMENT));
- this.Pb.push(new C.qc(e,h,b,this.Vk,this.Pb.length*C.qc.BYTES_PER_ELEMENT));this.Je=n},A2:function(b,c,e){if(b&&0!=b.length){e=e||this.Ae();e.a==p&&(e.a=255);for(var f=0,g=b.length;f<g;f++)this.zH(b[f],c,e)}},CH:function(b,c,e,f){f=f||this.Ae();f.a==p&&(f.a=255);e=e||0.5*this.Jd;this.Ct(18);f={r:0|f.r,g:0|f.g,b:0|f.b,a:0|f.a};var g=C.Bf(b);c=C.Bf(c);b=C.lw(C.as(C.Kc(c,g)));var h=C.as(b),m=C.je(b,e);e=C.je(h,e);var r=C.yf(c,C.Kc(m,e)),s=C.Kc(c,m),u=C.yf(c,m),y=C.Kc(g,m),z=C.yf(g,m),B=C.Kc(g,C.Kc(m,
- e)),g=C.yf(g,C.yf(m,e)),E=C.qc.BYTES_PER_ELEMENT,I=this.Vk,G=this.Pb;G.push(new C.qc({k:C.Kc(c,C.yf(m,e)),B:f,n:C.Na(C.ah(C.yf(b,h)))},{k:r,B:f,n:C.Na(C.Kc(b,h))},{k:s,B:f,n:C.Na(C.ah(b))},I,G.length*E));G.push(new C.qc({k:u,B:f,n:C.Na(b)},{k:r,B:f,n:C.Na(C.Kc(b,h))},{k:s,B:f,n:C.Na(C.ah(b))},I,G.length*E));G.push(new C.qc({k:u,B:f,n:C.Na(b)},{k:y,B:f,n:C.Na(C.ah(b))},{k:s,B:f,n:C.Na(C.ah(b))},I,G.length*E));G.push(new C.qc({k:u,B:f,n:C.Na(b)},{k:y,B:f,n:C.Na(C.ah(b))},{k:z,B:f,n:C.Na(b)},I,G.length*
- E));G.push(new C.qc({k:B,B:f,n:C.Na(C.Kc(h,b))},{k:y,B:f,n:C.Na(C.ah(b))},{k:z,B:f,n:C.Na(b)},I,G.length*E));G.push(new C.qc({k:B,B:f,n:C.Na(C.Kc(h,b))},{k:g,B:f,n:C.Na(C.yf(b,h))},{k:z,B:f,n:C.Na(b)},I,G.length*E));this.Je=n},ye:function(b,c,e,f){if(c==p)this.my(b,e,f,n);else{c.a==p&&(c.a=255);f.a==p&&(f.a=255);e=e||this.Jd;e*=0.5;c={r:0|c.r,g:0|c.g,b:0|c.b,a:0|c.a};f={r:0|f.r,g:0|f.g,b:0|f.b,a:0|f.a};var g=[],h,m,r,s,u=b.length;for(h=0;h<u;h++){m=C.Bf(b[(h-1+u)%u]);r=C.Bf(b[h]);s=C.Bf(b[(h+1)%u]);
- var y=C.lw(C.as(C.Kc(r,m)));r=C.lw(C.as(C.Kc(s,r)));g[h]={offset:C.je(C.yf(y,r),1/(C.qT(y,r)+1)),rB:r}}y=0<e;this.Ct(3*(3*u-2));var z=C.qc.BYTES_PER_ELEMENT,B=this.Vk,E=this.Pb,I=y==q?0.5:0;for(h=0;h<u-2;h++)m=C.Kc(C.Bf(b[0]),C.je(g[0].offset,I)),r=C.Kc(C.Bf(b[h+1]),C.je(g[h+1].offset,I)),s=C.Kc(C.Bf(b[h+2]),C.je(g[h+2].offset,I)),E.push(new C.qc({k:m,B:c,n:C.Na({x:0,y:0})},{k:r,B:c,n:C.Na({x:0,y:0})},{k:s,B:c,n:C.Na({x:0,y:0})},B,E.length*z));for(h=0;h<u;h++){I=(h+1)%u;m=C.Bf(b[h]);r=C.Bf(b[I]);
- s=g[h].rB;var G=g[h].offset,P=g[I].offset,I=y?C.Kc(m,C.je(G,e)):C.Kc(m,C.je(G,0.5)),Q=y?C.Kc(r,C.je(P,e)):C.Kc(r,C.je(P,0.5));m=y?C.yf(m,C.je(G,e)):C.yf(m,C.je(G,0.5));r=y?C.yf(r,C.je(P,e)):C.yf(r,C.je(P,0.5));y?(E.push(new C.qc({k:I,B:f,n:C.Na(C.ah(s))},{k:Q,B:f,n:C.Na(C.ah(s))},{k:r,B:f,n:C.Na(s)},B,E.length*z)),E.push(new C.qc({k:I,B:f,n:C.Na(C.ah(s))},{k:m,B:f,n:C.Na(s)},{k:r,B:f,n:C.Na(s)},B,E.length*z))):(E.push(new C.qc({k:I,B:c,n:C.Na({x:0,y:0})},{k:Q,B:c,n:C.Na({x:0,y:0})},{k:r,B:c,n:C.Na(s)},
- B,E.length*z)),E.push(new C.qc({k:I,B:c,n:C.Na({x:0,y:0})},{k:m,B:c,n:C.Na(s)},{k:r,B:c,n:C.Na(s)},B,E.length*z)))}this.Je=n}},my:function(b,c,e,f){c=c||this.Jd;e=e||this.jg;e.a==p&&(e.a=255);c*=0.5;if(!(0>=c)){e={r:0|e.r,g:0|e.g,b:0|e.b,a:0|e.a};var g=[],h,m,r,s,u=b.length;for(h=0;h<u;h++){m=C.Bf(b[(h-1+u)%u]);r=C.Bf(b[h]);s=C.Bf(b[(h+1)%u]);var y=C.lw(C.as(C.Kc(r,m)));r=C.lw(C.as(C.Kc(s,r)));g[h]={offset:C.je(C.yf(y,r),1/(C.qT(y,r)+1)),rB:r}}this.Ct(3*(3*u-2));s=C.qc.BYTES_PER_ELEMENT;var y=this.Vk,
- z=this.Pb;f=f?u:u-1;for(h=0;h<f;h++){var B=(h+1)%u;m=C.Bf(b[h]);r=C.Bf(b[B]);var E=g[h].rB,I=g[h].offset,B=g[B].offset,G=C.Kc(m,C.je(I,c));m=C.yf(m,C.je(I,c));I=C.yf(r,C.je(B,c));z.push(new C.qc({k:G,B:e,n:C.Na(C.ah(E))},{k:C.Kc(r,C.je(B,c)),B:e,n:C.Na(C.ah(E))},{k:I,B:e,n:C.Na(E)},y,z.length*s));z.push(new C.qc({k:G,B:e,n:C.Na(C.ah(E))},{k:m,B:e,n:C.Na(E)},{k:I,B:e,n:C.Na(E)},y,z.length*s))}this.Je=n}},clear:function(){this.Pb.length=0;this.Je=n}});C.ke=C.ca==C.Nb?C.BU:C.AU;C.ke.create=function(){return new C.ke};
- C.Cl=function(b){this.type=b;this.fillColor=this.yg=p;this.lineWidth=0;this.el=p;this.lineCap="butt";this.Km=this.oI=this.iB=q};C.ke.KL=0;C.ke.gX=1;C.ke.zl=2;C.gp=-1;C.tS=function(b,c){b.shaderProgram=c;var e=b.children;if(e)for(var f=0;f<e.length;f++)C.tS(e[f],c)};
- C.Mb=C.v.extend({zo:0,Ki:q,mc:p,Nt:q,ctor:function(b){C.v.prototype.ctor.call(this);this.mc=p;this.zo=0;this.Ki=q;C.Mb.prototype.s.call(this,b||p)},s:p,ha:"ClippingNode",VZ:function(b){this.mc=b;this.zo=1;this.Ki=q;C.Mb.Ly=n;C.Mb.Ly&&(C.gp=C.o.getParameter(C.o.STENCIL_BITS),0>=C.gp&&C.log("Stencil buffer is not enabled."),C.Mb.Ly=q);return n},UZ:function(b){this.mc=b;this.zo=1;this.Ki=q},kb:function(){C.v.prototype.kb.call(this);this.mc.kb()},Wg:function(){C.v.prototype.Wg.call(this);this.mc.Wg()},
- Xe:function(){this.mc.Xe();C.v.prototype.Xe.call(this)},Jb:function(){this.mc.Jb();C.v.prototype.Jb.call(this)},G:p,ro:function(b){var c=b||C.o;if(1>C.gp)C.v.prototype.G.call(this,b);else if(!this.mc||!this.mc.visible)this.Ki&&C.v.prototype.G.call(this,b);else if(C.Mb.hi=-1,C.Mb.hi+1==C.gp)C.Mb.so=n,C.Mb.so&&(C.log("Nesting more than "+C.gp+"stencils is not supported. Everything will be drawn without stencil for this node and its childs."),C.Mb.so=q),C.v.prototype.G.call(this,b);else{C.Mb.hi++;var e=
- 1<<C.Mb.hi,f=e|e-1,g=c.isEnabled(c.STENCIL_TEST),h=c.getParameter(c.STENCIL_WRITEMASK),m=c.getParameter(c.STENCIL_FUNC),r=c.getParameter(c.STENCIL_REF),s=c.getParameter(c.STENCIL_VALUE_MASK),u=c.getParameter(c.STENCIL_FAIL),y=c.getParameter(c.STENCIL_PASS_DEPTH_FAIL),z=c.getParameter(c.STENCIL_PASS_DEPTH_PASS);c.enable(c.STENCIL_TEST);c.stencilMask(e);var B=c.getParameter(c.DEPTH_WRITEMASK);c.depthMask(q);c.stencilFunc(c.NEVER,e,e);c.stencilOp(!this.Ki?c.ZERO:c.REPLACE,c.KEEP,c.KEEP);C.kg.EH(F(0,
- 0),C.mR(),C.color(255,255,255,255));c.stencilFunc(c.NEVER,e,e);c.stencilOp(!this.Ki?c.REPLACE:c.ZERO,c.KEEP,c.KEEP);if(1>this.zo){var e=C.Ph.Oi(C.iW),E=c.getUniformLocation(e.TA(),C.OX);C.ria(e.TA());e.LS(E,this.zo);C.tS(this.mc,e)}C.Mo();this.transform();this.mc.G();C.Lo();c.depthMask(B);c.stencilFunc(c.EQUAL,f,f);c.stencilOp(c.KEEP,c.KEEP,c.KEEP);C.v.prototype.G.call(this,b);c.stencilFunc(m,r,s);c.stencilOp(u,y,z);c.stencilMask(h);g||c.disable(c.STENCIL_TEST);C.Mb.hi--}},qo:function(b){if(!this.mc||
- !this.mc.visible)this.Ki&&C.v.prototype.G.call(this,b);else{b=b||C.o;var c=b.canvas;if(this.pn()||this.mc instanceof C.t){var e=C.Mb.bF();e.width=c.width;e.height=c.height;e.getContext("2d").drawImage(c,0,0);b.save();C.v.prototype.G.call(this,b);b.globalCompositeOperation=this.Ki?"destination-out":"destination-in";this.transform(b);this.mc.G();b.restore();b.save();b.setTransform(1,0,0,1,0,0);b.globalCompositeOperation="destination-over";b.drawImage(e,0,0)}else{var e=this.i,f;b.save();this.transform(b);
- this.mc.G(b);this.Ki&&(b.save(),b.setTransform(1,0,0,1,0,0),b.moveTo(0,0),b.lineTo(0,c.height),b.lineTo(c.width,c.height),b.lineTo(c.width,0),b.lineTo(0,0),b.restore());b.clip();this.pn(n);var g=e.length;if(0<g){this.oc();for(c=0;c<g;c++)if(f=e[c],0>f.ia)f.G(b);else break;for(this.U(b);c<g;c++)e[c].G(b)}else this.U(b);this.pn(q)}b.restore()}},P4:x("mc"),VB:p,C0:v("mc"),B0:function(b){this.mc=b;var c=C.o;!(b instanceof C.t)&&b instanceof C.ke&&(b.U=function(){var e=C.view.W,f=C.view.na;c.beginPath();
- for(var g=0;g<b.Pb.length;g++){var h=b.Pb[g].yg,m=h[0];c.moveTo(m.x*e,-m.y*f);for(var m=1,r=h.length;m<r;m++)c.lineTo(h[m].x*e,-h[m].y*f)}})},Ofa:x("zo"),xma:v("zo"),Wia:x("Ki"),gna:v("Ki"),pn:function(b){if(b===n||b===q)C.Mb.prototype.Nt=b;return C.Mb.prototype.Nt}});D=C.Mb.prototype;C.ca===C.Nb?(D.s=D.VZ,D.G=D.ro,D.VB=D.C0):(D.s=D.UZ,D.G=D.qo,D.VB=D.B0);C.c(D,"stencil",D.P4,D.VB);C.Mb.Ly=p;C.Mb.so=p;C.Mb.hi=p;C.Mb.qu=p;C.Mb.bF=function(){return C.Mb.qu||(C.Mb.qu=document.createElement("canvas"))};
- C.Mb.create=function(b){return new C.Mb(b)};C.W$=0;C.X$=1;C.Y$=2;C.up=function(b){b-=1;b|=b>>1;b|=b>>2;b|=b>>4;b|=b>>8;return(b|b>>16)+1};
- C.ex=C.v.extend({sprite:p,xA:0,rH:0,Qu:q,nj:p,Zh:p,ty:0,xt:0,mz:0,Fa:p,Bu:p,d1:p,Dj:C.ma.vl,qk:p,sH:0,kE:p,ha:"RenderTexture",ctor:p,ut:function(b,c,e,f){C.v.prototype.ctor.call(this);this.qk=C.color(255,255,255,255);this.kE="rgba(255,255,255,1)";this.nj=C.Uc("canvas");this.Zh=this.nj.getContext("2d");this.anchorY=this.anchorX=0;b!==k&&c!==k&&(e=e||C.ma.vl,this.gB(b,c,e,f||0))},vt:function(b,c,e,f){C.v.prototype.ctor.call(this);this.qk=C.color(0,0,0,0);b!==k&&c!==k&&(e=e||C.ma.vl,this.gB(b,c,e,f||
- 0))},Te:p,zY:function(){C.v.prototype.Jb.call(this);this.nj=this.Zh=p},AY:function(){C.v.prototype.Jb.call(this);this.Bu=p;var b=C.o;b.deleteFramebuffer(this.ty);this.xt&&b.deleteRenderbuffer(this.xt);this.d1=p},WH:x("sprite"),UB:v("sprite"),gB:p,a_:function(b,c){var e=this.nj,f=C.Tb();e.width=0|b*f;e.height=0|c*f;this.Zh.translate(0,e.height);f=new C.ma;f.We(e);f.yc();this.sprite=C.t.create(f);return n},b_:function(b,c,e,f){e==C.ma.Js&&C.log("cc.RenderTexture._initWithWidthAndHeightForWebGL() : only RGB and RGBA formats are valid for a render texture;");
- var g=C.o,h=C.Tb();b=0|b*h;c=0|c*h;this.mz=g.getParameter(g.FRAMEBUFFER_BINDING);var m;C.ir.Qz?(h=b,m=c):(h=C.up(b),m=C.up(c));for(var r=new Uint8Array(4*h*m),s=0;s<4*h*m;s++)r[s]=0;this.Dj=e;this.Fa=new C.ma;if(!this.Fa)return q;s=this.Fa;s.cB(r,this.Dj,h,m,H(b,c));e=g.getParameter(g.RENDERBUFFER_BINDING);if(C.ir.hr("GL_QCOM")){this.Bu=new C.ma;if(!this.Bu)return q;this.Bu.cB(r,this.Dj,h,m,H(b,c))}this.ty=g.createFramebuffer();g.bindFramebuffer(g.FRAMEBUFFER,this.ty);g.framebufferTexture2D(g.FRAMEBUFFER,
- g.COLOR_ATTACHMENT0,g.TEXTURE_2D,s.Nj,0);0!=f&&(this.xt=g.createRenderbuffer(),g.bindRenderbuffer(g.RENDERBUFFER,this.xt),g.renderbufferStorage(g.RENDERBUFFER,f,h,m),g.framebufferRenderbuffer(g.FRAMEBUFFER,g.DEPTH_ATTACHMENT,g.RENDERBUFFER,this.xt));g.checkFramebufferStatus(g.FRAMEBUFFER)!==g.FRAMEBUFFER_COMPLETE&&C.log("Could not attach texture to the framebuffer");s.PR();b=this.sprite=C.t.create(s);b.scaleY=-1;b.Qm(g.ONE,g.ONE_MINUS_SRC_ALPHA);g.bindRenderbuffer(g.RENDERBUFFER,e);g.bindFramebuffer(g.FRAMEBUFFER,
- this.mz);this.Qu=q;this.m(b);return n},Bm:p,lY:function(){C.o=this.Zh;C.view.u0()},mY:function(){C.Ko(C.Ww);C.Mo();C.Ko(C.Vw);C.Mo();var b=C.jb;b.cw(b.qm);var c=this.Fa.f,e=C.jb.f5(),b=e.width/c.width,e=e.height/c.height,f=C.o;f.viewport(0,0,c.width,c.height);c=new C.Lh;C.i6(c,-1/b,1/b,-1/e,1/e,-1,1);C.lB(c);this.mz=f.getParameter(f.FRAMEBUFFER_BINDING);f.bindFramebuffer(f.FRAMEBUFFER,this.ty);C.ir.hr("GL_QCOM")&&(f.framebufferTexture2D(f.FRAMEBUFFER,f.COLOR_ATTACHMENT0,f.TEXTURE_2D,this.Bu.Nj,0),
- f.clear(f.COLOR_BUFFER_BIT|f.DEPTH_BUFFER_BIT),f.framebufferTexture2D(f.FRAMEBUFFER,f.COLOR_ATTACHMENT0,f.TEXTURE_2D,this.Fa.Nj,0))},T1:function(b,c,e,f,g,h){var m=C.o;g=g||m.COLOR_BUFFER_BIT;h=h||m.COLOR_BUFFER_BIT|m.DEPTH_BUFFER_BIT;this.bE(b,c,e,f,g,h,m.COLOR_BUFFER_BIT|m.DEPTH_BUFFER_BIT|m.STENCIL_BUFFER_BIT)},bE:p,nY:function(b,c,e,f){this.Bm();b=b||0;c=c||0;e=e||0;f=isNaN(f)?1:f;var g=this.Zh,h=this.nj;g.save();g.fillStyle="rgba("+(0|b)+","+(0|c)+","+(0|e)+","+f/255+")";g.clearRect(0,0,h.width,
- -h.height);g.fillRect(0,0,h.width,-h.height);g.restore()},oY:function(b,c,e,f,g,h,m){this.Bm();var r=C.o,s=[0,0,0,0],u=0,y=0;m&r.COLOR_BUFFER_BIT&&(s=r.getParameter(r.COLOR_CLEAR_VALUE),r.clearColor(b,c,e,f));m&r.DEPTH_BUFFER_BIT&&(u=r.getParameter(r.DEPTH_CLEAR_VALUE),r.clearDepth(g));m&r.STENCIL_BUFFER_BIT&&(y=r.getParameter(r.STENCIL_CLEAR_VALUE),r.clearStencil(h));r.clear(m);m&r.COLOR_BUFFER_BIT&&r.clearColor(s[0],s[1],s[2],s[3]);m&r.DEPTH_BUFFER_BIT&&r.clearDepth(u);m&r.STENCIL_BUFFER_BIT&&r.clearStencil(y)},
- end:p,UY:function(){C.o=C.r_;C.view.Z_()},VY:function(){var b=C.o,c=C.jb;b.bindFramebuffer(b.FRAMEBUFFER,this.mz);c.NS();C.Ko(C.Ww);C.Lo();C.Ko(C.Vw);C.Lo()},clear:function(b,c,e,f){this.T1(b,c,e,f);this.end()},clearRect:p,DY:function(b,c,e,f){this.Zh.clearRect(b,c,e,-f)},EY:t(),clearDepth:p,BY:function(){C.log("clearDepth isn't supported on Cocos2d-Html5")},CY:function(b){this.Bm();var c=C.o,e=c.getParameter(c.DEPTH_CLEAR_VALUE);c.clearDepth(b);c.clear(c.DEPTH_BUFFER_BIT);c.clearDepth(e);this.end()},
- clearStencil:p,FY:function(){C.log("clearDepth isn't supported on Cocos2d-Html5")},GY:function(b){var c=C.o,e=c.getParameter(c.STENCIL_CLEAR_VALUE);c.clearStencil(b);c.clear(c.STENCIL_BUFFER_BIT);c.clearStencil(e)},G:p,qo:function(b){this.Aa&&(b=b||C.o,b.save(),this.U(b),this.transform(b),this.sprite.G(),b.restore(),this.arrivalOrder=0)},ro:function(b){if(this.Aa){C.Mo();var c=this.bl;c&&c.wr()&&(c.sA(),this.aC());this.transform(b);this.sprite.G();this.U(b);c&&c.wr()&&c.oA(this);C.Lo();this.arrivalOrder=
- 0}},U:p,HE:function(b){b=b||C.o;if(this.Qu){this.Bm();if(this.xA){var c=this.nj;b.save();b.fillStyle=this.kE;b.clearRect(0,0,c.width,-c.height);b.fillRect(0,0,c.width,-c.height);b.restore()}this.oc();b=this.i;for(var c=b.length,e=this.sprite,f=0;f<c;f++){var g=b[f];g!=e&&g.G()}this.end()}},vn:function(){var b=C.o;if(this.Qu){this.Bm();var c=this.xA;if(c){var e=[0,0,0,0],f=0,g=0;c&b.COLOR_BUFFER_BIT&&(e=b.getParameter(b.COLOR_CLEAR_VALUE),b.clearColor(this.qk.r/255,this.qk.g/255,this.qk.b/255,this.qk.a/
- 255));c&b.DEPTH_BUFFER_BIT&&(f=b.getParameter(b.DEPTH_CLEAR_VALUE),b.clearDepth(this.rH));c&b.STENCIL_BUFFER_BIT&&(g=b.getParameter(b.STENCIL_CLEAR_VALUE),b.clearStencil(this.sH));b.clear(c);c&b.COLOR_BUFFER_BIT&&b.clearColor(e[0],e[1],e[2],e[3]);c&b.DEPTH_BUFFER_BIT&&b.clearDepth(f);c&b.STENCIL_BUFFER_BIT&&b.clearStencil(g)}this.oc();b=this.i;for(c=0;c<b.length;c++)e=b[c],e!=this.sprite&&e.G();this.end()}},Wja:function(){C.log("saveToFile isn't supported on cocos2d-html5");return p},zca:function(b,
- c,e,f,g){for(var h=0;h<g;h++)b[c+h]=e[f+h]},ama:function(){C.log("saveToFile isn't supported on Cocos2d-Html5")},Ija:function(){C.log("listenToBackground isn't supported on Cocos2d-Html5")},Jja:function(){C.log("listenToForeground isn't supported on Cocos2d-Html5")},pga:x("xA"),Jma:v("xA"),n3:x("qk"),YI:p,e0:function(b){var c=this.qk;c.r=b.r;c.g=b.g;c.b=b.b;c.a=b.a;this.kE="rgba("+(0|b.r)+","+(0|b.g)+","+(0|b.b)+","+b.a/255+")"},f0:function(b){var c=this.qk;c.r=b.r;c.g=b.g;c.b=b.b;c.a=b.a},oga:x("rH"),
- Ima:v("rH"),qga:x("sH"),Kma:v("sH"),Jia:x("Qu"),Ama:v("Qu")});D=C.ex.prototype;C.ca==C.Nb?(D.ctor=D.vt,D.Te=D.AY,D.gB=D.b_,D.Bm=D.mY,D.bE=D.oY,D.end=D.VY,D.clearRect=D.EY,D.clearDepth=D.CY,D.clearStencil=D.GY,D.G=D.ro,D.U=D.vn,D.YI=D.f0):(D.ctor=D.ut,D.Te=D.zY,D.gB=D.a_,D.Bm=D.lY,D.bE=D.nY,D.end=D.UY,D.clearRect=D.DY,D.clearDepth=D.BY,D.clearStencil=D.FY,D.G=D.qo,D.U=D.HE,D.YI=D.e0);C.c(D,"clearColorVal",D.n3,D.YI);C.ex.create=function(b,c,e,f){return new C.ex(b,c,e,f)};C.pc=C.fa.extend({Yb:p,Cj:0,wc:p,ji:p,kn:p,ve:q,ha:"ProgressTimer",Z3:function(){return F(this.ji.x,this.ji.y)},q8:function(b){this.ji=C.kR(b)},k3:function(){return F(this.kn.x,this.kn.y)},O7:function(b){this.kn=C.kR(b)},WA:x("Yb"),o4:x("Cj"),WH:x("wc"),qS:function(b){this.Cj!=b&&(this.Cj=C.Tu(b,0,100),this.TG())},Td:t(),Xf:A(q),O5:x("ve"),dE:function(b){if(b<C.pc.FL){var c=C.pc.bX;return this.ve?F(c>>7-(b<<1)&1,c>>7-((b<<1)+1)&1):F(c>>(b<<1)+1&1,c>>(b<<1)&1)}return F(0,0)},oz:p,CG:270,KE:270,Jk:0,
- qE:q,$D:p,he:0,Sc:p,rg:p,kP:p,Lu:q,ctor:p,ut:function(){C.fa.prototype.ctor.call(this);this.Yb=C.pc.Al;this.Cj=0;this.ji=F(0,0);this.kn=F(0,0);this.ve=q;this.wc=p;this.oz=F(0,0);this.KE=this.CG=270;this.Jk=0;this.qE=q;this.$D=J(0,0,0,0)},vt:function(){C.fa.prototype.ctor.call(this);this.Yb=C.pc.Al;this.Cj=0;this.ji=F(0,0);this.kn=F(0,0);this.ve=q;this.wc=p;this.kP=C.o.createBuffer();this.he=0;this.rg=this.Sc=p;this.Lu=q},z:function(b){this.wc.color=b;this.hc()},D:function(b){this.wc.opacity=b;this.hc()},
- Ga:function(){return this.wc.color},Ma:function(){return this.wc.opacity},zS:p,s0:function(b){this.ve!==b&&(this.ve=b)},t0:function(b){this.ve!==b&&(this.ve=b,this.rg=this.Sc=p,this.he=0)},UB:p,z0:function(b){this.wc!=b&&(this.wc=b,this.width=this.wc.width,this.height=this.wc.height)},A0:function(b){b&&this.wc!=b&&(this.wc=b,this.width=b.width,this.height=b.height,this.Sc&&(this.rg=this.Sc=p,this.he=0))},qJ:p,I0:function(b){b!==this.Yb&&(this.Yb=b)},J0:function(b){b!==this.Yb&&(this.Sc&&(this.rg=
- this.Sc=p,this.he=0),this.Yb=b)},iJ:p,q0:function(b){this.ve!==b&&(this.ve=b)},r0:function(b){this.ve!==b&&(this.ve=b,this.rg=this.Sc=p,this.he=0)},mf:function(b){var c=this.wc;if(!c)return{wa:0,O:0};var e=c.quad,f=F(e.nb.n.wa,e.nb.n.O),e=F(e.pb.n.wa,e.pb.n.O);c.textureRectRotated&&(c=b.x,b.x=b.y,b.y=c);return{wa:f.x*(1-b.x)+e.x*b.x,O:f.y*(1-b.y)+e.y*b.y}},of:function(b){if(!this.wc)return{x:0,y:0};var c=this.wc.quad,e=F(c.nb.k.x,c.nb.k.y),c=F(c.pb.k.x,c.pb.k.y);return{x:e.x*(1-b.x)+c.x*b.x,y:e.y*
- (1-b.y)+c.y*b.y}},iI:p,ZZ:function(b){this.percentage=0;this.anchorY=this.anchorX=0.5;this.Yb=C.pc.Al;this.ve=q;this.midPoint=F(0.5,0.5);this.barChangeRate=F(1,1);this.sprite=b;return n},$Z:function(b){this.percentage=0;this.rg=this.Sc=p;this.he=0;this.anchorY=this.anchorX=0.5;this.Yb=C.pc.Al;this.ve=q;this.midPoint=F(0.5,0.5);this.barChangeRate=F(1,1);this.sprite=b;this.shaderProgram=C.Ph.Oi(C.ix);return n},U:p,HE:function(b){b=b||C.o;var c=this.wc;c.pq&&(b.globalCompositeOperation="lighter");var e=
- C.view.W,f=C.view.na;b.globalAlpha=c.ta/255;var g=c.aa,h=c.f,m=c.Vb,r=c.IE,s=0|m.x,u=-m.y-g.height,y=c.Wq;r.width=g.width*e;r.height=g.height*f;b.save();c.Ja&&(s=-m.x-g.width,b.scale(-1,1));c.La&&(u=m.y,b.scale(1,-1));s*=e;u*=f;this.Yb==C.pc.rD?(g=this.$D,b.beginPath(),b.rect(g.x*e,g.y*f,g.width*e,g.height*f),b.clip(),b.closePath()):this.Yb==C.pc.Al&&(g=this.oz.x*e,m=this.oz.y*f,b.beginPath(),b.arc(g,m,this.Jk*f,Math.PI/180*this.CG,Math.PI/180*this.KE,this.qE),b.lineTo(g,m),b.clip(),b.closePath());
- c.Fa&&y.bs?(e=c.Fa.cc,this.$x?b.drawImage(e,0,0,y.width,y.height,s,u,r.width,r.height):b.drawImage(e,y.x,y.y,y.width,y.height,s,u,r.width,r.height)):0!==h.width&&(r=this.color,b.fillStyle="rgba("+r.r+","+r.g+","+r.b+",1)",b.fillRect(s,u,h.width*e,h.height*f));b.restore();C.Ji()},vn:function(b){b=b||C.o;if(this.Sc&&this.wc){C.zI(this);var c=this.wc.M;C.Jm(c.src,c.Qa);C.Ve(C.Ys);C.Jh(this.wc.texture);b.bindBuffer(b.ARRAY_BUFFER,this.kP);this.Lu&&(b.bufferData(b.ARRAY_BUFFER,this.rg,b.DYNAMIC_DRAW),
- this.Lu=q);c=C.le.BYTES_PER_ELEMENT;b.vertexAttribPointer(C.Ee,2,b.FLOAT,q,c,0);b.vertexAttribPointer(C.Ap,4,b.UNSIGNED_BYTE,n,c,8);b.vertexAttribPointer(C.Bp,2,b.FLOAT,q,c,12);this.Yb===C.pc.Al?b.drawArrays(b.TRIANGLE_FAN,0,this.he):this.Yb==C.pc.rD&&(this.ve?(b.drawArrays(b.TRIANGLE_STRIP,0,this.he/2),b.drawArrays(b.TRIANGLE_STRIP,4,this.he/2),C.Di++):b.drawArrays(b.TRIANGLE_STRIP,0,this.he));C.Di++}},o1:function(){if(this.wc){var b,c=this.ji;b=this.Cj/100;var e=F(c.x,1),f=C.E6(e,c,2*C.PI*(this.ve?
- b:1-b)),g=0;if(0==b)f=e,g=0;else if(1==b)f=e,g=4;else{var h=C.zs,m=C.pc.FL;for(b=0;b<=m;++b){var r=this.dE(b%m),s=this.dE((b+(m-1))%m);0==b?s=C.oR(r,s,1-c.x):4==b&&(r=C.oR(r,s,1-c.x));var u=F(0,0);if(C.FI(r,s,c,f,u)&&(!(0==b||4==b)||0<=u.x&&1>=u.x)&&0<=u.y&&u.y<h)h=u.y,g=b}f=C.hl(c,C.Zj(C.bb(f,c),h))}h=n;this.he!=g+3&&(h=q,this.rg=this.Sc=p,this.he=0);if(!this.Sc){m=this.he=g+3;r=C.le.BYTES_PER_ELEMENT;this.rg=new ArrayBuffer(m*r);s=[];for(b=0;b<m;b++)s[b]=new C.le(p,p,p,this.rg,b*r);this.Sc=s;if(!this.Sc){C.log("cc.ProgressTimer._updateRadial() : Not enough memory");
- return}}this.hc();m=this.Sc;if(!h){m[0].n=this.mf(c);m[0].k=this.of(c);m[1].n=this.mf(e);m[1].k=this.of(e);for(b=0;b<g;b++)c=this.dE(b),m[b+2].n=this.mf(c),m[b+2].k=this.of(c)}m[this.he-1].n=this.mf(f);m[this.he-1].k=this.of(f)}},g1:function(){if(this.wc){var b,c=this.Cj/100,e=this.kn,e=C.Zj(F(1-e.x+c*e.x,1-e.y+c*e.y),0.5),c=C.bb(this.ji,e),e=C.hl(this.ji,e);0>c.x&&(e.x+=-c.x,c.x=0);1<e.x&&(c.x-=e.x-1,e.x=1);0>c.y&&(e.y+=-c.y,c.y=0);1<e.y&&(c.y-=e.y-1,e.y=1);if(this.ve){if(!this.Sc){this.he=8;var f=
- C.le.BYTES_PER_ELEMENT;this.rg=new ArrayBuffer(8*f);var g=[];for(b=0;8>b;b++)g[b]=new C.le(p,p,p,this.rg,b*f);g[0].n=this.mf(F(0,1));g[0].k=this.of(F(0,1));g[1].n=this.mf(F(0,0));g[1].k=this.of(F(0,0));g[6].n=this.mf(F(1,1));g[6].k=this.of(F(1,1));g[7].n=this.mf(F(1,0));g[7].k=this.of(F(1,0));this.Sc=g}b=this.Sc;b[2].n=this.mf(F(c.x,e.y));b[2].k=this.of(F(c.x,e.y));b[3].n=this.mf(F(c.x,c.y));b[3].k=this.of(F(c.x,c.y));b[4].n=this.mf(F(e.x,e.y));b[4].k=this.of(F(e.x,e.y));b[5].n=this.mf(F(e.x,c.y));
- b[5].k=this.of(F(e.x,c.y))}else{if(!this.Sc){this.he=4;f=C.le.BYTES_PER_ELEMENT;this.rg=new ArrayBuffer(4*f);this.Sc=[];for(b=0;4>b;b++)this.Sc[b]=new C.le(p,p,p,this.rg,b*f)}b=this.Sc;b[0].n=this.mf(F(c.x,e.y));b[0].k=this.of(F(c.x,e.y));b[1].n=this.mf(F(c.x,c.y));b[1].k=this.of(F(c.x,c.y));b[2].n=this.mf(F(e.x,e.y));b[2].k=this.of(F(e.x,e.y));b[3].n=this.mf(F(e.x,c.y));b[3].k=this.of(F(e.x,c.y))}this.hc()}},hc:function(){if(this.wc&&this.Sc){for(var b=this.wc.quad.Fb.B,c=this.Sc,e=0,f=this.he;e<
- f;++e)c[e].B=b;this.Lu=n}},TG:p,k1:function(){var b=this.wc,c=b.width,e=b.height,f=this.ji;if(this.Yb==C.pc.Al){this.Jk=Math.round(Math.sqrt(c*c+e*e));var g,h=q,m=this.oz;m.x=c*f.x;m.y=-e*f.y;this.ve?(g=270,f=270-3.6*this.Cj):(f=-90,g=-90+3.6*this.Cj);b.Ja&&(m.x-=c*2*this.ji.x,f=-f-180,g=-g-180,h=!h);b.La&&(m.y+=e*2*this.ji.y,h=!h,f=-f,g=-g);this.CG=f;this.KE=g;this.qE=h}else{g=this.kn;m=this.Cj/100;h=this.$D;g=H(c*(1-g.x),e*(1-g.y));var m=H((c-g.width)*m,(e-g.height)*m),m=H(g.width+m.width,g.height+
- m.height),r=F(c*f.x,e*f.y);g=r.x-m.width/2;0.5<f.x&&m.width/2>=c-r.x&&(g=c-m.width);c=r.y-m.height/2;0.5<f.y&&m.height/2>=e-r.y&&(c=e-m.height);h.x=0;e=1;b.Ja&&(h.x-=m.width,e=-1);0<g&&(h.x+=g*e);h.y=0;e=1;b.La&&(h.y+=m.height,e=-1);0<c&&(h.y-=c*e);h.width=m.width;h.height=-m.height}},l1:function(){var b=this.Yb;b===C.pc.Al?this.o1():b===C.pc.rD&&this.g1();this.Lu=n}});D=C.pc.prototype;
- C.ca==C.Nb?(D.ctor=D.vt,D.zS=D.t0,D.UB=D.A0,D.qJ=D.J0,D.iJ=D.r0,D.iI=D.$Z,D.U=D.vn,D.TG=D.l1):(D.ctor=D.ut,D.zS=D.s0,D.UB=D.z0,D.qJ=D.I0,D.iJ=D.q0,D.iI=D.ZZ,D.U=D.HE,D.TG=C.pc.prototype.k1);C.c(D,"midPoint",D.Z3,D.q8);C.c(D,"barChangeRate",D.k3,D.O7);C.c(D,"type",D.WA,D.qJ);C.c(D,"percentage",D.o4,D.qS);C.c(D,"sprite",D.WH,D.UB);C.c(D,"reverseDir",D.O5,D.iJ);C.pc.create=function(b){var c=new C.pc;return c.iI(b)?c:p};C.pc.FL=4;C.pc.bX=75;C.pc.Al=0;C.pc.rD=1;C.ZC=C.C.extend({Rf:0,Le:0,ctor:function(b,c){C.C.prototype.ctor.call(this);this.Le=this.Rf=0;c!==k&&this.A(b,c)},A:function(b,c){return C.C.prototype.A.call(this,b)?(this.Rf=c,n):q},j:function(){var b=new C.ZC;b.A(this.N,this.Rf);return b},reverse:function(){C.log("cc.ProgressTo.reverse(): reverse hasn't been supported.");return p},K:function(b){C.C.prototype.K.call(this,b);this.Le=b.percentage;100==this.Le&&(this.Le=0)},update:function(b){this.target instanceof C.pc&&(this.target.percentage=this.Le+
- (this.Rf-this.Le)*b)}});C.ZC.create=function(b,c){return new C.ZC(b,c)};
- C.dx=C.C.extend({Rf:0,Le:0,ctor:function(b,c,e){C.C.prototype.ctor.call(this);this.Le=this.Rf=0;e!==k&&this.A(b,c,e)},A:function(b,c,e){return C.C.prototype.A.call(this,b)?(this.Rf=e,this.Le=c,n):q},j:function(){var b=new C.dx;b.A(this.N,this.Le,this.Rf);return b},reverse:function(){return C.dx.create(this.N,this.Rf,this.Le)},K:function(b){C.C.prototype.K.call(this,b)},update:function(b){this.target instanceof C.pc&&(this.target.percentage=this.Le+(this.Rf-this.Le)*b)}});
- C.dx.create=function(b,c,e){return new C.dx(b,c,e)};C.uC=9;C.eU=1;C.hU=2;C.iU=4;C.fU=8;C.gU=16;C.jU=32;C.kU=64;C.dU=128;C.Wi=256;C.zg=1;C.mU=2;C.lU=4;C.A$=8;C.z$=8;
- C.Gb=C.bf.extend({IN:q,mca:q,nf:p,ha:"Control",Xf:x("IN"),Td:function(b){this.IN=b;for(var c=this.kd(),e=0,f=c.length;e<f;e++){var g=c[e];g&&g.Ha&&g.Td(b)}},fd:C.zg,O4:x("fd"),Fc:q,Cz:q,cm:q,ly:p,Ba:function(b){this.fd=(this.Fc=b)?C.zg:C.lU;this.zd()},isEnabled:x("Fc"),fp:function(b){this.Cz=b;this.zd()},kB:x("Cz"),ag:function(b){this.cm=b;this.zd()},jB:x("cm"),j5:function(){for(var b=this.getParent();b!=p;b=b.getParent())if(!b.Aa)return q;return n},ctor:function(){C.bf.prototype.ctor.call(this);
- this.ly={};this.Va=C.color.WHITE},s:function(){if(C.bf.prototype.s.call(this)){this.fd=C.zg;this.Fc=n;this.cm=this.Cz=q;var b=C.$.create({event:C.$.yl});this.ob&&(b.ob=this.ob.bind(this));this.ac&&(b.ac=this.ac.bind(this));this.$b&&(b.$b=this.$b.bind(this));this.Vc&&(b.Vc=this.Vc.bind(this));this.nf=b;return n}return q},kb:function(){var b=this.nf;b.Mf||C.pa.addListener(b,this);C.v.prototype.kb.call(this)},sf:function(b){for(var c=0,e=C.uC;c<e;c++)if(b&1<<c)for(var f=this.FE(1<<c),g=0,h=f.length;g<
- h;g++)f[g].F5(this)},tP:function(b,c,e){for(var f=0,g=C.uC;f<g;f++)e&1<<f&&this.gY(b,c,1<<f)},Mla:function(b,c,e){for(var f=0,g=C.uC;f<g;f++)e&1<<f&&this.W_(b,c,1<<f)},Sj:function(b){return this.Tf(b.ie())},Li:function(b){b=b.ie();b=this.getParent().Tf(b);return C.Vo(this.Od(),b)},qca:A(p),FE:function(b){b=b.toString();this.ly[b]||(this.ly[b]=[]);return this.ly[b]},gY:function(b,c,e){b=new C.eV(b,c,e);this.FE(e).push(b)},W_:function(b,c,e){e=this.FE(e);if(!b&&!c)e.length=0;else for(var f=0;f<e.length;){var g=
- e[f],h=n;b&&(h=b==g.lQ());c&&(h=h&&c==g.Fg);h?C.Nd(e,g):f++}},zd:t()});D=C.Gb.prototype;C.c(D,"state",D.O4);C.c(D,"enabled",D.isEnabled,D.Ba);C.c(D,"selected",D.kB,D.fp);C.c(D,"highlighted",D.jB,D.ag);D=p;C.Gb.create=function(){var b=new C.Gb;return b&&b.s()?b:p};C.YJ=3435855873;
- C.np=C.Gb.extend({Bt:q,mw:q,Oe:p,Tt:p,wt:p,fy:p,io:p,Fe:p,jc:0,rq:q,Uz:p,Du:p,Vz:p,jn:p,cO:q,az:0,$y:0,ha:"ControlButton",ctor:function(){C.Gb.prototype.ctor.call(this);this.Oe=H(0,0);this.Tt=F(0,0);this.wt="";this.fy=C.color.WHITE;this.Uz={};this.Du={};this.Vz={};this.jn={}},s:function(){return this.fB(C.H.create("","Arial",12),C.ea.create())},zd:function(){if(this.cO){this.io&&this.io.ka(q);this.Fe&&this.Fe.ka(q);this.iS(this.Tt);var b=this.fd;this.wt=this.ZH(b);this.fy=this.T4(b);var c=this.io=
- this.jv(b);c&&c.V&&c.V(this.wt);c&&c.Ha&&c.z(this.fy);var e=this.d();c&&c.q(e.width/2,e.height/2);(b=this.Fe=this.j3(b))&&b.q(e.width/2,e.height/2);e=H(0,0);if(c){var f=c.Od();e.width=f.width;e.height=f.height}this.Bt?b&&b.ja(e.width+2*this.$y,e.height+2*this.az):b&&(f=b.Oe,f=H(f.width,f.height),0>=f.width&&(f.width=e.width),0>=f.height&&(f.height=e.height),b.ja(f));e=c?c.Od():J(0,0,0,0);f=b?b.Od():J(0,0,0,0);e=C.Gr(e,f);this.ja(e.width,e.height);e=this.d();c&&(c.q(e.width/2,e.height/2),c.ka(n));
- b&&(b.q(e.width/2,e.height/2),b.ka(n))}},fB:function(b,c){(!b||!b.Ha)&&d("cc.ControlButton.initWithLabelAndBackgroundSprite(): label should be non-null");c||d("cc.ControlButton.initWithLabelAndBackgroundSprite(): backgroundSprite should be non-null");return C.Gb.prototype.s.call(this,n)?(this.cO=n,this.Uz={},this.Du={},this.Vz={},this.jn={},this.rq=q,this.mw=n,this.wt=p,this.OR(n),this.Bd(H(0,0)),this.mw=n,this.Ii(q),this.J(0.5,0.5),this.io=b,this.Fe=c,this.D(255),this.Td(n),this.K8(b.Eb(),C.zg),
- this.J8(b.Ga(),C.zg),this.pJ(b,C.zg),this.VR(c,C.zg),this.fd=C.zg,this.$y=24,this.az=12,this.Tt=F(0.5,0.5),this.Bd(H(0,0)),this.zd(),n):q},x5:function(b,c,e){b=C.H.create(b,c,e);return this.fB(b,C.ea.create())},n5:function(b){var c=C.H.create("","Arial",30);return this.fB(c,b)},tea:x("Bt"),OR:function(b){this.Bt=b;this.zd()},pia:x("mw"),aoa:function(b){return this.mw=b},TH:x("Oe"),Bd:function(b){if(0===b.width&&0===b.height)this.Bt=n;else{this.Bt=q;var c=this.jn,e;for(e in c)c[e].Bd(b)}this.Oe=b;
- this.zd()},N3:x("Tt"),iS:function(b){this.Tt=b;this.io&&this.io.J(b)},aca:x("wt"),bca:x("fy"),Ma:x("jc"),D:function(b){C.Gb.prototype.D.call(this,b);var c=this.jn,e;for(e in c)c[e].D(b)},z:function(b){C.Gb.prototype.z.call(this,b);var c=this.jn,e;for(e in c)c[e].z(b)},Ga:function(){var b=this.fc;return C.color(b.r,b.g,b.b,b.a)},fja:x("rq"),kca:x("az"),dca:x("$y"),kna:function(b,c){this.az=c;this.$y=b;this.zd()},Ba:function(b){C.Gb.prototype.Ba.call(this,b);this.zd()},fp:function(b){C.Gb.prototype.fp.call(this,
- b);this.zd()},ag:function(b){this.fd=b?C.mU:C.zg;C.Gb.prototype.ag.call(this,b);(b=this.LA(C.YJ))&&this.WS(b);this.zd();this.mw&&(b=C.Af.create(0.05,this.jB()&&this.isEnabled()&&!this.kB()?1.1:1),b.Pr(C.YJ),this.Ze(b))},ob:function(b){if(!this.Li(b)||!this.isEnabled()||!this.Aa||!this.j5())return q;this.rq=n;this.ag(n);this.sf(C.eU);return n},ac:function(b){!this.Fc||!this.rq||this.Cz?this.cm&&this.ag(q):(b=this.Li(b))&&!this.cm?(this.ag(n),this.sf(C.fU)):b&&this.cm?this.sf(C.hU):!b&&this.cm?(this.ag(q),
- this.sf(C.gU)):!b&&!this.cm&&this.sf(C.iU)},$b:function(b){this.rq=q;this.ag(q);this.Li(b)?this.sf(C.jU):this.sf(C.kU)},Vc:function(){this.rq=q;this.ag(q);this.sf(C.dU)},ZH:function(b){var c=this.Uz;return c?c[b]?c[b]:c[C.zg]:""},K8:function(b,c){this.Uz[c]=b||"";this.fd==c&&this.zd()},T4:function(b){return(b=this.Du[b])?b:(b=this.Du[C.zg])?b:C.color.WHITE},J8:function(b,c){this.Du[c]=b;this.fd==c&&this.zd()},jv:function(b){var c=this.Vz;return c[b]?c[b]:c[C.zg]},pJ:function(b,c){var e=this.Vz;if(e[c]){var f=
- e[c];f&&this.removeChild(f,n)}e[c]=b;b.ka(q);b.J(0.5,0.5);this.m(b,1);this.fd==c&&this.zd()},Qna:function(b,c){var e=this.ZH(c);e||(e="");this.pJ(C.H.create(e,b,12),c)},Yha:function(b){b=this.jv(b);return b!=p&&b instanceof C.H?b.Qj():""},Rna:function(b,c){var e=this.jv(c);e!=p&&e instanceof C.H&&e.uf(b)},Zha:function(b){b=this.jv(b);return b!=p&&b instanceof C.H?b.Fi():0},Pna:function(b,c){var e=this.ZH(c);e||(e="");this.pJ(C.rp.create(e,b),c)},Xha:function(b){b=this.jv(b);return b!=p&&b instanceof
- C.rp?b.Ht:""},j3:function(b){var c=this.jn;return c[b]?c[b]:c[C.zg]},VR:function(b,c){var e=this.jn;if(e[c]){var f=e[c];f&&this.removeChild(f,n)}e[c]=b;b.ka(q);b.J(0.5,0.5);this.m(b);e=this.Oe;(0!==e.width||0!==e.height)&&b.Bd(e);this.fd===c&&this.zd()},Dma:function(b,c){var e=C.ea.p2(b);this.VR(e,c)}});D=C.np.prototype;C.c(D,"adjustBackground",D.Mfa,D.OR);C.c(D,"preferredSize",D.TH,D.Bd);C.c(D,"labelAnchor",D.N3,D.iS);D=p;
- C.np.create=function(b,c){var e;if(0==arguments.length)return(e=new C.np)&&e.s()?e:p;1==arguments.length?(e=new C.np,e.n5(arguments[0])):2==arguments.length?(e=new C.np,e.fB(b,c)):3==arguments.length&&(e=new C.np,e.x5(arguments[0],arguments[1],arguments[2]));return e};function ia(){this.a=this.b=this.g=this.r=k}C.MC=function(b,c,e){this.Wf=b;this.$j=c;this.O=e};C.De={};C.De.xo=function(b,c,e,f){b=C.t.create("#"+b);if(!b)return p;b.q(e);b.J(f);c.m(b);return b};C.De.XU=function(b){var c=new C.MC,e,f;e=b.r<b.g?b.r:b.g;e=e<b.b?e:b.b;f=b.r>b.g?b.r:b.g;f=f>b.b?f:b.b;c.O=f;e=f-e;if(0<f)c.$j=e/f;else return c.$j=0,c.Wf=-1,c;c.Wf=b.r>=f?(b.g-b.b)/e:b.g>=f?2+(b.b-b.r)/e:4+(b.r-b.g)/e;c.Wf*=60;0>c.Wf&&(c.Wf+=360);return c};
- C.De.kD=function(b){var c,e,f,g,h=new ia;h.a=1;if(0>=b.$j){if(!b.Wf)return h.r=b.O,h.g=b.O,h.b=b.O,h;h.r=0;h.g=0;h.b=0;return h}c=b.Wf;360<=c&&(c=0);c/=60;g=0|c;f=c-g;c=b.O*(1-b.$j);e=b.O*(1-b.$j*f);f=b.O*(1-b.$j*(1-f));switch(g){case 0:h.r=b.O;h.g=f;h.b=c;break;case 1:h.r=e;h.g=b.O;h.b=c;break;case 2:h.r=c;h.g=b.O;h.b=f;break;case 3:h.r=c;h.g=e;h.b=b.O;break;case 4:h.r=f;h.g=c;h.b=b.O;break;default:h.r=b.O,h.g=c,h.b=e}return h};C.De.TJ=function(b,c){return C.Gr(b,c)};C.eV=C.Ca.extend({Fg:p,Qe:p,dy:p,ctor:function(b,c,e){this.Qe=b;this.Fg=c;this.dy=e},Lfa:x("Fg"),lQ:x("Qe"),vga:x("dy"),F5:function(b){if(this.Qe&&this.Fg)if("string"==typeof this.Fg)this.Qe[this.Fg](b,this.dy);else this.Fg.call(this.Qe,b,this.dy)}});C.ea=C.fa.extend({Ha:n,Qq:p,lM:p,Fj:q,Nf:p,xm:p,jo:p,ym:p,Hn:p,pk:p,Wn:p,Ll:p,ln:p,mn:p,tk:p,Cb:q,de:p,Oe:p,jc:0,Va:p,Zc:p,Ny:0,Py:0,Oy:0,My:0,SO:q,yG:q,Y:q,Za:p,ha:"Scale9Sprite",Vr:x("Y"),Hc:function(b,c){this.Za.push({Sg:b,Uf:c})},Yc:function(){this.Y=n;for(var b=this.Za,c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0},bA:function(){var b=this.Ny,c=this.Py,e=this.Oy,f=this.Qq,g=this.My;this.nc(0===b&&0===c&&0===e&&0===g?J(0,0,0,0):this.yG?J(g,b,f.width-e-b,f.height-c-g):J(b,
- c,f.width-b-e,f.height-c-g))},j1:function(){if(this.xm&&this.ym&&this.mn&&this.Ll&&this.pk){var b=this.f,c=this.xm,e=this.ym,f=this.mn,g=this.Ll,h=this.pk,m=this.pk.d(),r=c.d(),s=g.d(),u=b.width-r.width-e.d().width,b=b.height-r.height-f.d().height,u=u/m.width,b=b/m.height,r=m.width*u,y=m.height*b,z=s.width,s=s.height;if(C.ca==C.Nb){var B=Math.round(r);r!=B&&(r=B,u=r/m.width);B=Math.round(y);y!=B&&(y=B,b=y/m.height)}h.yb(u);h.Kb(b);var m=this.Hn,B=this.Wn,E=this.jo,I=this.ln,G=F(0,0);g.J(G);f.J(G);
- c.J(G);e.J(G);m.J(G);B.J(G);E.J(G);I.J(G);h.J(G);g.q(0,0);f.q(z+r,0);c.q(0,s+y);e.q(z+r,s+y);m.q(0,s);m.Kb(b);B.q(z+r,s);B.Kb(b);I.q(z,0);I.yb(u);E.q(z,s+y);E.yb(u);h.q(z,s)}},ctor:function(){C.fa.prototype.ctor.call(this);this.Qq=J(0,0,0,0);this.lM=J(0,0,0,0);this.tk=C.color(255,255,255,255);this.de=H(0,0);this.Oe=H(0,0);this.Va=C.color(255,255,255,255);this.jc=255;this.Zc=J(0,0,0,0);this.Za=[]},m4:x("de"),TH:x("Oe"),gca:function(){return this.Oe.width},fca:function(){return this.Oe.height},Bd:function(b){this.ja(b);
- this.Oe=b},Qca:function(b){this.Qf(b);this.Oe.width=b},Pca:function(b){this.Pf(b);this.Oe.height=b},Ma:x("jc"),D:function(b){if(this.Nf){this.jc=b;for(var c=this.Nf.kd(),e=0;e<c.length;e++){var f=c[e];f&&f.Ha&&f.D(b)}this.Va.a=b}},qb:function(b){C.fa.prototype.qb.call(this,b);this.D(this.ta)},Ga:function(){var b=this.Va;return C.color(b.r,b.g,b.b,b.a)},z:function(b){if(this.Nf){var c=this.Va;c.r=b.r;c.g=b.g;c.b=b.b;for(var c=this.Nf.kd(),e=0;e<c.length;e++){var f=c[e];f&&f.Ha&&f.z(b)}b.a!==k&&!b.vo&&
- this.D(b.a)}},fb:function(b){C.fa.prototype.fb.call(this,b);this.z(this.Ia)},LH:x("Zc"),nc:function(b){if(this.Nf){var c=this.f,e=c.width,c=c.height;this.$r(this.Nf,this.Qq,this.yG,b);this.ja(e,c)}},I3:x("Ny"),f8:function(b){this.Ny=b;this.bA()},K3:x("Py"),h8:function(b){this.Py=b;this.bA()},J3:x("Oy"),g8:function(b){this.Oy=b;this.bA()},H3:x("My"),e8:function(b){this.My=b;this.bA()},ja:function(b,c){C.v.prototype.ja.call(this,b,c);this.Fj=n},Qf:function(b){C.v.prototype.Qf.call(this,b);this.Fj=n},
- Pf:function(b){C.v.prototype.Pf.call(this,b);this.Fj=n},G:function(b){this.Fj&&(this.j1(),this.Fj=q);C.fa.prototype.G.call(this,b)},s:function(){return this.bB(p,J(0,0,0,0),q,J(0,0,0,0))},bB:function(b,c,e,f){f===k&&(f=e,e=q);b&&this.$r(b,c,e,f);this.J(0.5,0.5);return this.Fj=n},Be:function(b,c,e){b instanceof C.xp?(e=b=c,c=J(0,0,0,0)):(c=c||J(0,0,0,0),e=e||J(0,0,0,0));b||d("cc.Scale9Sprite.initWithFile(): file should be non-null");var f=C.tb.Ur(b);if(!f){var f=C.tb.xe(b),g=f.Pc;(this.Y=g)||f.Hc(function(b){var c=
- this.Oe,c=H(c.width,c.height);b=b.d();this.$r(this.Nf,J(0,0,b.width,b.height),q,this.Zc);this.Bd(c);this.Fj=n;this.Yc()},this)}return this.bB(C.aj.create(b,9),c,q,e)},Vg:function(b,c){(!b||!b.Rb())&&d("cc.Scale9Sprite.initWithSpriteFrame(): spriteFrame should be non-null and its texture should be non-null");c=c||J(0,0,0,0);var e=b.Y;(this.Y=e)||b.Hc(function(b){var c=this.Oe,c=H(c.width,c.height);this.$r(this.Nf,b.Vf(),C.ca==C.Nb&&b.Kd,this.Zc);this.Bd(c);this.Fj=n;this.Yc()},this);e=C.aj.create(b.Rb(),
- 9);return this.bB(e,b.Vf(),C.ca==C.Nb&&b.Kd,c)},Uj:function(b,c){b||d("cc.Scale9Sprite.initWithSpriteFrameName(): spriteFrameName should be non-null");c=c||J(0,0,0,0);var e=C.bk.Rj(b);return e==p?(C.log("cc.Scale9Sprite.initWithSpriteFrameName(): can't find the sprite frame by spriteFrameName"),q):this.Vg(e,c)},Ula:function(b){var c=new C.ea;return c&&c.bB(this.Nf,this.Qq,q,b)?c:p},Td:function(b){if(this.Nf){this.Cb=b;var c=this.Nf.kd();if(c)for(var e=0,f=c.length;e<f;e++)c[e].Td(b)}},Xf:x("Cb"),
- $r:function(b,c,e,f){var g=this.Ma(),h=this.Ga();c=J(c.x,c.y,c.width,c.height);this.Ye(n);this.Nf!=b&&(this.Nf=b);b=b.Rb();var m=b.Pc;if(this.Y=m){b=this.Nf;b.Ye(n);m=this.Zc;m.x=f.x;m.y=f.y;m.width=f.width;m.height=f.height;this.yG=e;m=b.Rb();C.lu(c)&&(c=m.d(),c=J(0,0,c.width,c.height));var r=this.Qq=c;r.x=c.x;r.y=c.y;r.width=c.width;r.height=c.height;this.de.width=c.width;this.de.height=c.height;r=this.Oe;0===r.width&&0===r.height&&(r.width=c.width,r.height=c.height);r=this.lM;f&&(r.x=f.x,r.y=f.y,
- r.width=f.width,r.height=f.height);var s=c.width;f=c.height;C.lu(r)&&(r.x=s/3,r.y=f/3,r.width=s/3,r.height=f/3);var u=r.x,y=r.width,z=s-(u+y),B=r.y,E=r.height,I=f-(B+E),G=0,P=0;f=J(G,P,u,B);var G=G+u,r=J(G,P,y,B),s=J(G+y,P,z,B),G=0,P=0+B,Q=J(G,P,u,E),G=G+u,$=J(G,P,y,E),G=G+y,fa=J(G,P,z,E),G=0,P=0+B+E,B=J(G,P,u,I),G=G+u,u=J(G,P,y,I),G=G+y,y=J(G,P,z,I),z={a:1,b:0,va:0,xa:1,Sa:0,Ta:0};if(e){e=$;var I=y,G=B,P=s,E=f,qa=fa,ra=Q,sa=u,ta=r,z=C.eC(z,c.height+c.x,c.y),z=C.ET(z),$=C.ih($,z),y=C.ih(y,z),B=C.ih(B,
- z),s=C.ih(s,z);f=C.ih(f,z);fa=C.ih(fa,z);Q=C.ih(Q,z);u=C.ih(u,z);r=C.ih(r,z);e.x=$.x;e.y=$.y;I.x=y.x;I.y=y.y;G.x=B.x;G.y=B.y;P.x=s.x;P.y=s.y;E.x=f.x;E.y=f.y;qa.x=fa.x;qa.y=fa.y;ra.x=Q.x;ra.y=Q.y;sa.x=u.x;sa.y=u.y;ta.x=r.x;ta.y=r.y;this.pk=new C.t;this.pk.X(m,e,n);b.m(this.pk,0,C.ea.kL);this.jo=new C.t;this.jo.X(m,ta,n);b.m(this.jo,1,C.ea.nL);this.ln=new C.t;this.ln.X(m,sa,n);b.m(this.ln,1,C.ea.jL);this.Hn=new C.t;this.Hn.X(m,ra,n);b.m(this.Hn,1,C.ea.lL);this.Wn=new C.t;this.Wn.X(m,qa,n);b.m(this.Wn,
- 1,C.ea.mL);this.xm=new C.t;this.xm.X(m,E,n);b.m(this.xm,2,C.ea.oL);this.ym=new C.t;this.ym.X(m,P,n);b.m(this.ym,2,C.ea.pL);this.Ll=new C.t;this.Ll.X(m,G,n);b.m(this.Ll,2,C.ea.SV);this.mn=new C.t;this.mn.X(m,I,n)}else z=C.eC(z,c.x,c.y),C.dj($,z),C.dj(y,z),C.dj(B,z),C.dj(s,z),C.dj(f,z),C.dj(fa,z),C.dj(Q,z),C.dj(u,z),C.dj(r,z),this.pk=new C.t,this.pk.X(m,$),b.m(this.pk,0,C.ea.kL),this.jo=new C.t,this.jo.X(m,r),b.m(this.jo,1,C.ea.nL),this.ln=new C.t,this.ln.X(m,u),b.m(this.ln,1,C.ea.jL),this.Hn=new C.t,
- this.Hn.X(m,Q),b.m(this.Hn,1,C.ea.lL),this.Wn=new C.t,this.Wn.X(m,fa),b.m(this.Wn,1,C.ea.mL),this.xm=new C.t,this.xm.X(m,f),b.m(this.xm,2,C.ea.oL),this.ym=new C.t,this.ym.X(m,s),b.m(this.ym,2,C.ea.pL),this.Ll=new C.t,this.Ll.X(m,B),b.m(this.Ll,2,C.ea.SV),this.mn=new C.t,this.mn.X(m,y);b.m(this.mn,2,C.ea.TV);this.ja(c);this.m(b);this.SO&&(this.D(g),(255!==h.r||255!==h.g||255!==h.b)&&this.z(h));return this.SO=n}b.Hc(function(){this.Fj=n;this.Yc()},this)},Jc:function(b){var c=C.aj.create(b.Rb(),9),e=
- b.Y;(this.Y=e)||b.Hc(function(b){var c=this.Oe,c=H(c.width,c.height);this.$r(this.Nf,b.Vf(),C.ca==C.Nb&&b.Kd,this.Zc);this.Bd(c);this.Fj=n;this.Yc()},this);this.$r(c,b.Vf(),C.ca==C.Nb&&b.Kd,J(0,0,0,0));this.My=this.Oy=this.Py=this.Ny=0}});D=C.ea.prototype;C.c(D,"preferredSize",D.TH,D.Bd);C.c(D,"capInsets",D.LH,D.nc);C.c(D,"insetLeft",D.I3,D.f8);C.c(D,"insetTop",D.K3,D.h8);C.c(D,"insetRight",D.J3,D.g8);C.c(D,"insetBottom",D.H3,D.e8);D=p;
- C.ea.create=function(b,c,e){var f;if(2===arguments.length)if("string"==typeof b){if((f=new C.ea)&&f.Be(b,c))return f}else{if(b instanceof C.xp&&(f=new C.ea)&&f.Be(b,e))return f}else if(3===arguments.length){if((f=new C.ea)&&f.Be(b,c,e))return f}else if(1===arguments.length){if((f=new C.ea)&&f.Be(b))return f}else if(0===arguments.length&&(f=new C.ea)&&f.s())return f;return p};C.ea.p2=function(b){var c=new C.ea;return c&&c.Vg(b,k)?c:p};
- C.ea.dea=function(b,c){b||d("cc.Scale9Sprite.createWithSpriteFrameName(): spriteFrameName should be non-null");var e=new C.ea;return e&&e.Uj(b,c)?e:p};C.ea.kL=0;C.ea.nL=1;C.ea.lL=2;C.ea.mL=3;C.ea.jL=4;C.ea.pL=5;C.ea.oL=6;C.ea.TV=7;C.lx=C.md.extend({});C.lx.Qoa=function(b){var c=new C.lx;c.s();c.ja(0,b);return c};C.lx.wia=function(b){var c=new C.lx;c.s();c.ja(b,0);return c};
- C.Xw=C.md.extend({Ha:n,Va:p,jc:0,ha:"MenuPassive",ctor:t(),Ga:function(){var b=this.Va;return C.color(b.r,b.g,b.b,b.a)},z:function(b){var c=this.Va;c.r=b.r;c.g=b.g;c.b=b.b;if(this.i&&0<this.i.length)for(c=0;c<this.i.length;c++)this.i[c]&&this.i[c].Ha&&this.i[c].z(b);b.a!==k&&!b.vo&&this.D(b.a)},Ma:x("jc"),D:function(b){this.jc=b;if(this.i&&0<this.i.length)for(var c=0;c<this.i.length;c++)this.i[c]&&this.i[c].Ha&&this.i[c].D(b);this.Va.a=b},eB:function(b,c){if(this.s()){var e=C.jb.ib;this.Ii(n);this.J(0.5,
- 0.5);this.ja(e);this.q(e.width/2,e.height/2);e=0;if(b){this.m(b,e);for(var f=0;f<c.length;f++)c[f]&&(e++,this.m(c[f],e))}return n}return q},y1:function(){this.fH(C.uw)},fH:function(b){var c=-b,e;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(c+=this.i[e].d().height*this.i[e].na+b);var f=0,g=c/2;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(f=Math.max(f,this.i[e].d().width),this.i[e].q(0,g-this.i[e].d().height*this.i[e].na/2),g-=this.i[e].d().height*this.i[e].na+
- b);this.ja(f,c)},v1:function(){this.eH(C.uw)},eH:function(b){var c=-b,e;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(c+=this.i[e].d().width*this.i[e].W+b);var f=0,g=-c/2;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(f=Math.max(f,this.i[e].d().height),this.i[e].q(g+this.i[e].d().width*this.i[e].W/2,0),g+=this.i[e].d().width*this.i[e].W+b);this.ja(c,f)},w1:function(b){var c=[],e;for(e=1;e<arguments.length;e++)c.push(arguments[e]);var f=-5,g=0,h=0,m=0,r,s;if(this.i&&
- 0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(g>=c.length?C.log("cc.MenuPassive.alignItemsInColumns(): invalid row index"):(r=c[g])?(s=this.i[e].d().height,h=0|(h>=s||s==p?h:s),++m,m>=r&&(f+=h+5,h=m=0,++g)):C.log("cc.MenuPassive.alignItemsInColumns(): can not have zero columns on a row"));var u=C.jb.ib,y=r=h=g=0,z=0,f=f/2;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(0==r&&(r=c[g],z=y=u.width/(1+r)),s=this.i[e].d().height,h=0|(h>=s||s==p?h:s),this.i[e].q(z-u.width/2,
- f-this.i[e].d().height/2),z+=y,++m,m>=r&&(f-=h+5,h=r=m=0,++g))},x1:function(b){var c=[],e;for(e=1;e<arguments.length;e++)c.push(arguments[e]);var f=[],g=[],h=-10,m=-5,r=0,s=0,u=0,y,z;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(r>=c.length?C.log("cc.MenuPassive.alignItemsInRows(): invalid row index"):(y=c[r])?(z=this.i[e].d().width,s=0|(s>=z||z==p?s:z),m+=0|this.i[e].d().height+5,++u,u>=y&&(f.push(s),g.push(m),h+=s+10,s=u=0,m=-5,++r)):C.log("cc.MenuPassive.alignItemsInColumns(): can't have zero rows on a column"));
- m=C.jb.ib;s=r=0;y=p;var h=-h/2,B=0;if(this.i&&0<this.i.length)for(e=0;e<this.i.length;e++)this.i[e]&&(y==p&&(y=c[r],B=g[r]),z=this.i[e].d().width,s=0|(s>=z||z==p?s:z),this.i[e].q(h+f[r]/2,B-m.height/2),B-=this.i[e].d().height+10,++u,u>=y&&(h+=s+5,s=y=u=0,++r))},Td:t(),Xf:A(q)});C.Xw.create=function(b){b||(b=p);for(var c=[],e=1;e<arguments.length;e++)c.push(arguments[e]);return(e=new C.Xw)&&e.eB(b,c)?e:p};C.Xw.cea=function(b){return C.Xw.create(b,p)};C.tw=C.Gb.extend({eG:0,Rx:0,Nc:p,I_:p,LO:p,Bh:p,xc:p,Gg:0,ok:0,ha:"ControlSaturationBrightnessPicker",B4:x("eG"),m3:x("Rx"),$u:x("Nc"),n4:x("Rx"),G4:x("LO"),VH:x("Bh"),XH:x("xc"),kI:function(b,c){return C.Gb.prototype.s.call(this)?(this.Nc=C.De.xo("colourPickerBackground.png",b,c,F(0,0)),this.I_=C.De.xo("colourPickerOverlay.png",b,c,F(0,0)),this.LO=C.De.xo("colourPickerShadow.png",b,c,F(0,0)),this.Bh=C.De.xo("colourPicker.png",b,c,F(0.5,0.5)),this.xc=c,this.Gg=35,this.ok=this.Nc.d().width/2,n):q},
- Ba:function(b){C.Gb.prototype.Ba.call(this,b);this.Bh&&this.Bh.D(b?255:128)},oT:function(b){var c=new C.MC;c.$j=1;c.Wf=b.Wf;c.O=1;b=C.De.kD(c);this.Nc.z(C.color(0|255*b.r,0|255*b.g,0|255*b.b))},C9:function(b){this.gA(F(this.xc.x+this.Gg+this.ok*(1-b.$j),this.xc.y+this.Gg+this.ok*b.O))},gA:function(b){var c=this.xc.x+0.5*this.Nc.Od().width,e=this.xc.y+0.5*this.Nc.Od().height,f=b.x-c,g=b.y-e,h=Math.sqrt(f*f+g*g),f=Math.atan2(g,f),g=0.5*this.Nc.Od().width;h>g&&(b.x=c+g*Math.cos(f),b.y=e+g*Math.sin(f));
- this.Bh.q(b);b.x<this.xc.x+this.Gg?b.x=this.xc.x+this.Gg:b.x>this.xc.x+this.Gg+this.ok-1&&(b.x=this.xc.x+this.Gg+this.ok-1);b.y<this.xc.y+this.Gg?b.y=this.xc.y+this.Gg:b.y>this.xc.y+this.Gg+this.ok&&(b.y=this.xc.y+this.Gg+this.ok);this.eG=1-Math.abs((this.xc.x+this.Gg-b.x)/this.ok);this.Rx=Math.abs((this.xc.y+this.Gg-b.y)/this.ok)},nt:function(b){var c=this.xc.x+0.5*this.Nc.Od().width,e=this.xc.y+0.5*this.Nc.Od().height,c=b.x-c,e=b.y-e;return Math.sqrt(c*c+e*e)<=0.5*this.Nc.Od().width?(this.gA(b),
- this.sf(C.Wi),n):q},ob:function(b){if(!this.isEnabled()||!this.Aa)return q;b=this.Sj(b);return this.nt(b)},ac:function(b){b=this.Sj(b);this.nt(b)}});D=C.tw.prototype;C.c(D,"saturation",D.B4);C.c(D,"brightness",D.m3);C.c(D,"background",D.$u);C.c(D,"overlay",D.n4);C.c(D,"shadow",D.G4);C.c(D,"slider",D.VH);C.c(D,"startPos",D.XH);D=p;C.tw.create=function(b,c){var e=new C.tw;e.kI(b,c);return e};C.sw=C.Gb.extend({kq:0,Qt:0,Nc:p,Bh:p,xc:p,ha:"ControlHuePicker",E3:x("kq"),HB:function(b){this.kq=b;this.gS(this.kq/360)},F3:x("Qt"),gS:function(b){this.Qt=b;this.kq=360*this.Qt;b=this.Nc.Od();var c=0.5*b.width-15,e=C.Yk(360*this.Qt-180);this.Bh.q(this.xc.x+0.5*b.width+c*Math.cos(e),this.xc.y+0.5*b.height+c*Math.sin(e))},Ba:function(b){C.Gb.prototype.Ba.call(this,b);this.Bh&&this.Bh.D(b?255:128)},$u:x("Nc"),VH:x("Bh"),XH:x("xc"),kI:function(b,c){return C.Gb.prototype.s.call(this)?(this.Nc=C.De.xo("huePickerBackground.png",
- b,c,F(0,0)),this.Bh=C.De.xo("colourPicker.png",b,c,F(0.5,0.5)),this.Bh.q(c.x,c.y+0.5*this.Nc.Od().height),this.xc=c,this.Qt=this.kq=0,n):q},gA:function(b){var c=this.Nc.Od();this.HB(C.II(Math.atan2(b.y-(this.xc.y+0.5*c.height),b.x-(this.xc.x+0.5*c.width)))+180);this.sf(C.Wi)},nt:function(b){var c=Math.sqrt(Math.pow(b.x+10,2)+Math.pow(b.y,2));return 80>c&&59<c?(this.gA(b),n):q},ob:function(b){if(!this.isEnabled()||!this.Aa)return q;b=this.Sj(b);return this.nt(b)},ac:function(b){b=this.Sj(b);this.nt(b)}});
- D=C.sw.prototype;C.c(D,"hue",D.E3,D.HB);C.c(D,"huePercent",D.F3,D.gS);C.c(D,"background",D.$u);C.c(D,"slider",D.VH);C.c(D,"startPos",D.XH);D=p;C.sw.create=function(b,c){var e=new C.sw;e.kI(b,c);return e};C.wC=C.Gb.extend({th:p,Rl:p,An:p,Nc:p,ha:"ControlColourPicker",k5:function(b){this.th.Wf=b.kq;b=C.De.kD(this.th);C.Gb.prototype.z.call(this,C.color(0|255*b.r,0|255*b.g,0|255*b.b));this.sf(C.Wi);this.h1()},g2:function(b){this.th.$j=b.eG;this.th.O=b.Rx;b=C.De.kD(this.th);C.Gb.prototype.z.call(this,C.color(0|255*b.r,0|255*b.g,0|255*b.b));this.sf(C.Wi)},z:function(b){C.Gb.prototype.z.call(this,b);var c=new ia;c.r=b.r/255;c.g=b.g/255;c.b=b.b/255;c.a=1;this.th=C.De.XU(c);this.fP()},$u:x("Nc"),s:function(){if(C.Gb.prototype.s.call(this)){C.bk.sP(K.RJ);
- var b=C.aj.create(K.SJ);this.m(b);this.th=new C.MC(0,0,0);this.Nc=C.De.xo("menuColourPanelBackground.png",b,F(0,0),F(0.5,0.5));var c=C.bb(this.Nc.Qd(),F(this.Nc.d().width/2,this.Nc.d().height/2));this.An=C.sw.create(b,F(c.x+8,c.y+8));this.Rl=C.tw.create(b,F(c.x+28,c.y+28));this.An.tP(this,this.k5,C.Wi);this.Rl.tP(this,this.g2,C.Wi);this.fP();this.m(this.An);this.m(this.Rl);this.ja(this.Nc.d());return n}return q},h1:function(){this.An.HB(this.th.Wf);this.Rl.oT(this.th)},fP:function(){this.An.HB(this.th.Wf);
- this.Rl.oT(this.th);this.Rl.C9(this.th)},Ba:function(b){C.Gb.prototype.Ba.call(this,b);this.An!=p&&this.An.Ba(b);this.Rl&&this.Rl.Ba(b)},ob:A(q)});D=C.wC.prototype;C.c(D,"background",D.$u);D=p;C.wC.create=function(){var b=new C.wC;b.s();return b};var K=K||{};K.RJ=K.RJ||"res/extensions/CCControlColourPickerSpriteSheet.plist";K.SJ=K.SJ||"res/extensions/CCControlColourPickerSpriteSheet.png";C.AL=24;C.Haa=8;
- C.yC=C.Gb.extend({jd:0,Pa:0,rb:0,ez:0,cz:0,wb:p,pm:p,Fe:p,ha:"ControlSlider",pr:x("jd"),Ud:function(b){b=Math.max(b,this.Pa);this.jd=b=Math.min(b,this.rb);this.zd();this.sf(C.Wi)},fv:x("Pa"),$v:function(b){this.ez=this.Pa=b;this.Pa>=this.rb&&(this.rb=this.Pa+1);this.Ud(this.jd)},ev:x("rb"),Zv:function(b){this.cz=this.rb=b;this.rb<=this.Pa&&(this.Pa=this.rb-1);this.Ud(this.jd)},Li:function(b){b=b.ie();b=this.getParent().Tf(b);var c=this.Od();c.width+=this.wb.d().width;c.x-=this.wb.d().width/2;return C.Vo(c,
- b)},Oo:function(b){b=b.ie();b=this.Tf(b);0>b.x?b.x=0:b.x>this.Fe.d().width&&(b.x=this.Fe.d().width);return b},a4:x("ez"),r8:v("ez"),Y3:x("cz"),p8:v("cz"),iv:x("wb"),u4:x("pm"),i3:x("Fe"),v5:function(b,c,e){return C.Gb.prototype.s.call(this)?(this.Ii(q),this.Fe=b,this.pm=c,this.wb=e,b=C.De.TJ(b.Od(),e.Od()),this.ja(b.width,b.height),this.Fe.J(0.5,0.5),this.Fe.q(b.width/2,b.height/2),this.m(this.Fe),this.pm.J(0,0.5),this.pm.q(0,b.height/2),this.m(this.pm),this.wb.q(0,b.height/2),this.m(this.wb),this.Pa=
- 0,this.rb=1,this.Ud(this.Pa),n):q},Ba:function(b){C.Gb.prototype.Ba.call(this,b);this.wb&&this.wb.D(b?255:128)},V8:function(b){this.fp(n);this.wb.z(C.color.GRAY);this.Ud(this.EJ(b))},X8:function(b){this.Ud(this.EJ(b))},W8:function(){this.kB()&&this.Ud(this.EJ(this.wb.Qd()));this.wb.z(C.color.WHITE);this.fp(q)},cia:function(b){b=b.ie();b=this.Tf(b);0>b.x?b.x=0:b.x>this.Fe.d().width+C.AL&&(b.x=this.Fe.d().width+C.AL);return b},ob:function(b){if(!this.Li(b)||!this.isEnabled()||!this.Aa)return q;b=this.Oo(b);
- this.V8(b);return n},ac:function(b){b=this.Oo(b);this.X8(b)},$b:function(){this.W8(F(0,0))},zd:function(){this.wb.Or((this.jd-this.Pa)/(this.rb-this.Pa)*this.Fe.d().width);var b=this.pm.hv(),b=J(b.x,b.y,this.wb.Q.x,b.height);this.pm.zb(b,this.pm.ad)},EJ:function(b){b=b.x/this.Fe.d().width;return Math.max(Math.min(this.Pa+b*(this.rb-this.Pa),this.cz),this.ez)}});D=C.yC.prototype;C.c(D,"value",D.pr,D.Ud);C.c(D,"minValue",D.fv,D.$v);C.c(D,"maxValue",D.ev,D.Zv);C.c(D,"minAllowedValue",D.a4,D.r8);
- C.c(D,"maxAllowedValue",D.Y3,D.p8);C.c(D,"thumbSprite",D.iv);C.c(D,"progressSprite",D.u4);C.c(D,"backgroundSprite",D.i3);D=p;C.yC.create=function(b,c,e){"string"==typeof b&&(b=C.t.create(b),c=C.t.create(c),e=C.t.create(e));var f=new C.yC;f.v5(b,c,e);return f};C.$J=C.Gb.extend({ud:p,AN:0,Zt:q,Aq:q,ha:"ControlSwitch",ctor:function(){C.Gb.prototype.ctor.call(this)},hI:function(b,c,e,f,g,h){b||d("cc.ControlSwitch.initWithMaskSprite(): maskSprite should be non-null.");c||d("cc.ControlSwitch.initWithMaskSprite(): onSprite should be non-null.");e||d("cc.ControlSwitch.initWithMaskSprite(): offSprite should be non-null.");f||d("cc.ControlSwitch.initWithMaskSprite(): thumbSprite should be non-null.");return this.s()?(this.Aq=n,this.ud=new C.aK,this.ud.hI(b,c,e,
- f,g,h),this.ud.q(this.ud.d().width/2,this.ud.d().height/2),this.m(this.ud),this.Ii(q),this.J(0.5,0.5),this.ja(this.ud.d()),n):q},MB:function(b,c){var e=(this.Aq=b)?this.ud.mm:this.ud.Mn;c||q?this.ud.Ze(C.Tm.create(0.2,"sliderXPosition",this.ud.Mk,e)):this.ud.TB(e);this.sf(C.Wi)},aja:x("Aq"),uia:x("Zt"),Ba:function(b){this.Fc=b;this.ud.D(b?255:128)},Oo:function(b){b=b.ie();return b=this.Tf(b)},ob:function(b){if(!this.Li(b)||!this.isEnabled()||!this.Aa)return q;this.Zt=q;this.AN=this.Oo(b).x-this.ud.Mk;
- this.ud.wb.z(C.color.GRAY);this.ud.zd();return n},ac:function(b){b=this.Oo(b);b=F(b.x-this.AN,0);this.Zt=n;this.ud.TB(b.x)},$b:function(b){b=this.Oo(b);this.ud.wb.z(C.color.WHITE);this.Zt?this.MB(!(b.x<this.ud.d().width/2),n):this.MB(!this.Aq,n)},Vc:function(b){b=this.Oo(b);this.ud.wb.z(C.color.WHITE);this.Zt?this.MB(!(b.x<this.ud.d().width/2),n):this.MB(!this.Aq,n)}});C.$J.create=function(b,c,e,f,g,h){var m=new C.$J;return m&&m.hI(b,c,e,f,g,h)?m:p};
- C.aK=C.t.extend({Mk:0,mm:0,Mn:0,WO:0,sF:0,tF:p,ki:p,Ek:p,wb:p,eu:p,cu:p,Up:p,mc:p,fM:p,ctor:function(){C.t.prototype.ctor.call(this);this.sF=this.Mn=this.mm=this.Mk=0;this.tF=H(0,0);this.cu=this.eu=this.wb=this.Ek=this.ki=p},hI:function(b,c,e,f,g,h){return C.t.prototype.X.call(this,b.Rb())?(this.mm=0,this.Mn=-c.d().width+f.d().width/2,this.Mk=this.mm,this.oS(c),this.mS(e),this.fw(f),this.nS(g),this.lS(h),this.mc=b,b=this.tF=this.mc.d(),this.mc.q(0,0),this.Up=C.Mb.create(),this.Up.J(0.5,0.5),this.Up.q(b.width/
- 2,b.height/2),this.Up.VB(this.mc),this.fM=C.ex.create(b.width,b.height),this.Up.m(this.fM.WH()),this.m(this.Up),this.m(this.wb),this.zd(),n):q},zd:function(){this.ki.q(this.ki.d().width/2+this.Mk,this.ki.d().height/2);this.Ek.q(this.ki.d().width+this.Ek.d().width/2+this.Mk,this.Ek.d().height/2);this.eu&&this.eu.q(this.ki.Q.x-this.wb.d().width/6,this.ki.d().height/2);this.cu&&this.cu.q(this.Ek.Q.x+this.wb.d().width/6,this.Ek.d().height/2);this.wb.q(this.ki.d().width+this.Mk,this.tF.height/2)},TB:function(b){b<=
- this.Mn?b=this.Mn:b>=this.mm&&(b=this.mm);this.Mk=b;this.zd()},K4:x("Mk"),AZ:function(){return this.ki.d().width},xZ:function(){return this.Ek.d().height},DJ:function(b,c){C.log("key \x3d "+c+", value \x3d "+b);this.TB(b)},u8:v("mm"),k4:x("mm"),t8:v("Mn"),h4:x("Mn"),m8:function(b){this.mc.cb(b)},V3:function(){return this.mc.Rb()},Nna:v("WO"),Vha:x("WO"),l8:v("sF"),U3:x("sF"),oS:v("ki"),l4:x("ki"),mS:v("Ek"),i4:x("Ek"),fw:v("wb"),iv:x("wb"),nS:v("eu"),j4:x("eu"),lS:v("cu"),g4:x("cu")});D=C.aK.prototype;
- C.c(D,"sliderX",D.K4,D.TB);C.c(D,"onPos",D.k4,D.u8);C.c(D,"offPos",D.h4,D.t8);C.c(D,"maskTexture",D.V3,D.m8);C.c(D,"maskPos",D.U3,D.l8);C.c(D,"onSprite",D.l4,D.oS);C.c(D,"offSprite",D.i4,D.mS);C.c(D,"thumbSprite",D.iv,D.fw);C.c(D,"onLabel",D.j4,D.nS);C.c(D,"offLabel",D.g4,D.lS);C.c(D,"onSideWidth",D.AZ);C.c(D,"offSideWidth",D.xZ);D=p;C.WJ=0;C.XJ=1;C.pw=2;C.fs=C.color(55,55,55);C.vC=C.color(147,147,147);C.VJ="CourierNewPSMT";C.GJ=0.15;C.yT=12;
- C.zC=C.Gb.extend({re:p,If:p,im:p,om:p,jd:0,tt:q,Gp:q,Am:q,Pa:0,rb:0,vm:0,Eu:q,lo:C.pw,ht:0,ha:"ControlStepper",ctor:function(){C.Gb.prototype.ctor.call(this);this.om=this.im=this.If=this.re=p;this.jd=0;this.Am=this.Gp=this.tt=q;this.vm=this.rb=this.Pa=0;this.Eu=q;this.lo=C.pw;this.ht=0},q5:function(b,c){b||d("cc.ControlStepper.initWithMinusSpriteAndPlusSprite(): Minus sprite should be non-null.");c||d("cc.ControlStepper.initWithMinusSpriteAndPlusSprite(): Plus sprite should be non-null.");if(this.s()){this.tt=
- this.Gp=n;this.Pa=0;this.rb=100;this.jd=0;this.vm=1;this.Am=q;this.Ii(q);this.kS(b);this.re.q(b.d().width/2,b.d().height/2);this.m(this.re);this.jS(C.H.create("-",C.VJ,40,H(40,40),C.en,C.yD));this.im.z(C.vC);this.im.q(this.re.d().width/2,this.re.d().height/2);this.re.m(this.im);this.sS(c);this.If.q(b.d().width+c.d().width/2,b.d().height/2);this.m(this.If);this.rS(C.H.create("+",C.VJ,40,H(40,40),C.en,C.yD));this.om.z(C.fs);this.om.q(this.If.d().width/2,this.If.d().height/2);this.If.m(this.om);var e=
- C.De.TJ(this.re.Od(),this.If.Od());this.ja(this.re.d().width+this.If.d().height,e.height);return n}return q},Q8:function(b){if(this.Am=b)this.im.z(C.fs),this.om.z(C.fs);this.Ud(this.jd)},g5:x("Am"),$v:function(b){b>=this.rb&&d("cc.ControlStepper.setMinimumValue(): minimumValue should be numerically less than maximumValue.");this.Pa=b;this.Ud(this.jd)},fv:x("Pa"),Zv:function(b){b<=this.Pa&&d("cc.ControlStepper.setMaximumValue(): maximumValue should be numerically less than maximumValue.");this.rb=
- b;this.Ud(this.jd)},ev:x("rb"),Ud:function(b){this.rJ(b,n)},pr:x("jd"),G8:function(b){0>=b&&d("cc.ControlStepper.setMaximumValue(): stepValue should be numerically greater than 0.");this.vm=b},Q4:x("vm"),K5:x("tt"),rJ:function(b,c){b<this.Pa?b=this.Am?this.rb:this.Pa:b>this.rb&&(b=this.Am?this.Pa:this.rb);this.jd=b;this.Am||(this.im.z(b==this.Pa?C.vC:C.fs),this.om.z(b==this.rb?C.vC:C.fs));c&&this.sf(C.Wi)},VS:function(){this.ht=-1;this.Zo(this.update,C.GJ,C.wp,3*C.GJ)},YS:function(){this.ip(this.update)},
- update:function(){this.ht++;this.ht<C.yT&&0!=this.ht%3||(this.lo==C.WJ?this.rJ(this.jd-this.vm,this.tt):this.lo==C.XJ&&this.rJ(this.jd+this.vm,this.tt))},kT:function(b){b.x<this.re.d().width&&this.jd>this.Pa?(this.lo=C.WJ,this.re.z(C.color.GRAY),this.If.z(C.color.WHITE)):b.x>=this.re.d().width&&this.jd<this.rb?(this.lo=C.XJ,this.re.z(C.color.WHITE),this.If.z(C.color.GRAY)):(this.lo=C.pw,this.re.z(C.color.WHITE),this.If.z(C.color.WHITE))},ob:function(b){if(!this.Li(b)||!this.isEnabled()||!this.Aa)return q;
- b=this.Sj(b);this.kT(b);this.Eu=n;this.Gp&&this.VS();return n},ac:function(b){this.Li(b)?(b=this.Sj(b),this.kT(b),this.Eu||(this.Eu=n,this.Gp&&this.VS())):(this.Eu=q,this.lo=C.pw,this.re.z(C.color.WHITE),this.If.z(C.color.WHITE),this.Gp&&this.YS())},$b:function(b){this.re.z(C.color.WHITE);this.If.z(C.color.WHITE);this.Gp&&this.YS();this.Li(b)&&(b=this.Sj(b),this.Ud(this.jd+(b.x<this.re.d().width?0-this.vm:this.vm)))},kS:v("re"),c4:x("re"),sS:v("If"),q4:x("If"),jS:v("im"),b4:x("im"),rS:v("om"),p4:x("om")});
- D=C.zC.prototype;C.c(D,"wraps",D.g5,D.Q8);C.c(D,"value",D.pr,D.Ud);C.c(D,"minValue",D.fv,D.$v);C.c(D,"maxValue",D.ev,D.Zv);C.c(D,"stepValue",D.Q4,D.G8);C.c(D,"continuous",D.K5);C.c(D,"minusSprite",D.c4,D.kS);C.c(D,"plusSprite",D.q4,D.sS);C.c(D,"minusLabel",D.b4,D.jS);C.c(D,"plusLabel",D.p4,D.rS);D=p;C.zC.create=function(b,c){var e=new C.zC;return e&&e.q5(b,c)?e:p};C.xC=C.Gb.extend({wb:p,Fq:p,Dq:p,jd:0,Pa:0,rb:1,ha:"ControlPotentiometer",y5:function(b,c,e){return this.s()?(this.uS(c),this.fw(e),this.wb.q(c.Qd()),this.m(e,2),this.m(c,1),this.m(b),this.ja(b.d()),this.Pa=0,this.rb=1,this.Ud(this.Pa),n):q},Ba:function(b){this.Ba(b);this.wb!=NULL&&this.wb.D(b?255:128)},Ud:function(b){b<this.Pa&&(b=this.Pa);b>this.rb&&(b=this.rb);this.jd=b;b=(b-this.Pa)/(this.rb-this.Pa);this.Fq.qS(100*b);this.wb.jJ(360*b);this.sf(C.Wi)},pr:x("jd"),$v:function(b){this.Pa=b;this.Pa>=
- this.rb&&(this.rb=this.Pa+1);this.Ud(this.rb)},fv:x("Pa"),Zv:function(b){this.rb=b;this.rb<=this.Pa&&(this.Pa=this.rb-1);this.Ud(this.Pa)},ev:x("rb"),Li:function(b){b=this.Sj(b);return this.y2(this.Fq.Qd(),b)<Math.min(this.d().width/2,this.d().height/2)},ob:function(b){if(!this.Li(b)||!this.isEnabled()||!this.Aa)return q;this.Dq=this.Sj(b);this.M6(this.Dq);return n},ac:function(b){b=this.Sj(b);this.O6(b)},$b:function(){this.N6(F(0,0))},y2:function(b,c){var e=b.x-c.x,f=b.y-c.y;return Math.sqrt(e*e+
- f*f)},A1:function(b,c,e,f){return 180*(Math.atan2(c.x-b.x,c.y-b.y)-Math.atan2(f.x-e.x,f.y-e.y))/Math.PI},M6:function(){this.fp(n);this.wb.z(C.color.GRAY)},O6:function(b){var c=this.A1(this.Fq.Qd(),b,this.Fq.Qd(),this.Dq);180<c?c-=360:-180>c&&(c+=360);this.Ud(this.jd+c/360*(this.rb-this.Pa));this.Dq=b},N6:function(){this.wb.z(C.color.WHITE);this.fp(q)},fw:v("wb"),iv:x("wb"),uS:v("Fq"),v4:x("Fq"),z8:v("Dq"),SA:x("Dq")});D=C.xC.prototype;C.c(D,"value",D.pr,D.Ud);C.c(D,"minValue",D.fv,D.$v);
- C.c(D,"maxValue",D.ev,D.Zv);C.c(D,"progressTimer",D.v4,D.uS);C.c(D,"thumbSprite",D.iv,D.fw);C.c(D,"prevLocation",D.SA,D.z8);D=p;C.xC.create=function(b,c,e){var f=new C.xC;return f&&(b=C.t.create(b),e=C.t.create(e),c=C.pc.create(C.t.create(c)),f.y5(b,c,e))?f:p};C.wL=-1;C.yp=0;C.hx=1;C.gx=2;C.k2=function(b){var c=C.view;return b*((c.W+c.na)/2)/160};C.sW=C.Ca.extend({B7:t(),C7:t()});
- C.Vh=C.md.extend({dda:0,Aca:0,yca:0,hy:p,Ie:C.gx,ai:q,IY:p,ba:p,Eh:q,bz:p,dz:p,kt:q,pt:q,nu:p,br:p,Fu:0,vd:p,zi:p,WN:0,VN:0,gu:p,fG:q,XO:p,nf:p,ha:"ScrollView",ctor:function(){C.md.prototype.ctor.call(this);this.IY=F(0,0);this.bz=F(0,0);this.dz=F(0,0);this.nu=F(0,0);this.br=F(0,0);this.vd=[];this.zi=H(0,0);this.gu=new C.xp(0,0,0,0);this.XO=new C.xp(0,0,0,0)},s:function(){return this.sv(H(200,200),p)},sv:function(b,c){var e=F(0,0);return C.md.prototype.s.call(this)?(this.ba=c,this.ba||(this.ba=C.md.create(),
- this.ba.Ii(q),this.ba.J(e)),this.vJ(b),this.vf(n),this.vd.length=0,this.hy=p,this.pt=this.kt=n,this.Ie=C.gx,this.ba.q(e),this.Fu=0,this.m(this.ba),this.WN=this.VN=1,n):q},Mr:function(b,c){if(c)this.W7(b,0.15);else{if(!this.kt){var e=this.fl(),f=this.Lm();b.x=Math.max(e.x,Math.min(f.x,b.x));b.y=Math.max(e.y,Math.min(f.y,b.y))}this.ba.q(b)}},q3:function(){var b=this.ba.Qd();return F(b.x,b.y)},W7:function(b,c){var e=C.tp.create(c,b),f=C.dh.create(this.X0,this);this.ba.Ze(C.Zd.create(e,f));this.Zo(this.HF)},
- OS:function(b,c){if(c)this.R8(b,0.15);else{var e=this.ba;if(e.UA()!=b){var f,g;0==this.Fu?(g=this.zi,g=F(0.5*g.width,0.5*g.height),g=this.Oj(g)):g=this.br;f=e.Tf(g);e.ra(Math.max(this.WN,Math.min(this.VN,b)));f=e.Oj(f);this.Mr(C.hl(e.Qd(),C.bb(g,f)))}}},rQ:function(){return this.ba.UA()},R8:function(b,c){if(0<c){var e=this.ba.UA();e!=b&&(e=C.Tm.create(c,"zoomScale",e,b),this.Ze(e))}else this.OS(b)},fl:function(){var b=this.ba,c=b.d(),e=this.zi;return F(e.width-c.width*b.W,e.height-c.height*b.na)},
- Lm:function(){return F(0,0)},$ia:function(b){var c=this.q3(),e=this.zi,f=this.rQ();return C.b7(J(-c.x/f,-c.y/f,e.width/f,e.height/f),b.Od())},pause:function(){this.ba.pause();for(var b=this.ba.kd(),c=0;c<b.length;c++)b[c].pause();this._super()},Jr:function(){for(var b=this.ba.kd(),c=0,e=b.length;c<e;c++)b[c].Jr();this.ba.Jr();this._super()},Ria:x("ai"),lja:x("Eh"),G5:x("kt"),Q7:v("kt"),c5:x("zi"),vJ:function(b){this.zi=b;C.v.prototype.ja.call(this,b)},p3:x("ba"),U7:function(b){b&&(this.Ye(n),this.ba=
- b,b.Ii(q),b.J(0,0),this.m(b),this.vJ(this.zi))},mr:x("Ie"),nl:v("Ie"),bv:x("hy"),dp:v("hy"),ob:function(b){if(!this.Aa)return q;var c=this.eF(),e=this.ba,f=e.Oj(e.Pj(b)),g=this.vd;if(2<g.length||this.Eh||!C.Vo(c,f))return q;g.push(b);1===g.length?(this.br=this.Pj(b),this.Eh=q,this.ai=n,this.nu.x=0,this.Fu=this.nu.y=0):2==g.length&&(this.br=C.GI(this.Pj(g[0]),this.Pj(g[1])),this.Fu=C.lR(e.Pj(g[0]),e.Pj(g[1])),this.ai=q);return n},ac:function(b){if(this.Aa)if(1===this.vd.length&&this.ai){this.Eh=n;
- this.eF();var c=this.Pj(b);b=C.bb(c,this.br);var e=0,f=this.Ie,g;if(f===C.hx)e=b.y,g=this.ba.Q.y,this.fl().y<=g&&g<=this.Lm().y||(b.y*=0.35);else if(f===C.yp)e=b.x,g=this.ba.Q.x,this.fl().x<=g&&g<=this.Lm().x||(b.x*=0.35);else{e=Math.sqrt(b.x*b.x+b.y*b.y);g=this.ba.Q.y;var h=this.fl(),m=this.Lm();h.y<=g&&g<=m.y||(b.y*=0.35);g=this.ba.Q.x;h.x<=g&&g<=m.x||(b.x*=0.35)}if(this.Eh||!(0.04375>Math.abs(C.k2(e))))if(this.Eh||(b.x=0,b.y=0),this.br=c,this.Eh=n,this.ai){switch(f){case C.hx:b.x=0;break;case C.yp:b.y=
- 0}e=this.ba.Qd();c=e.x+b.x;e=e.y+b.y;this.nu=b;this.Mr(F(c,e))}}else 2===this.vd.length&&!this.ai&&(b=C.lR(this.ba.Pj(this.vd[0]),this.ba.Pj(this.vd[1])),this.OS(this.rQ()*b/this.Fu))},$b:function(){this.Aa&&(1==this.vd.length&&this.Eh&&this.Zo(this.uE),this.vd.length=0,this.Eh=this.ai=q)},Vc:function(){this.Aa&&(this.vd.length=0,this.Eh=this.ai=q)},ja:function(b,c){this.ba!=p&&(c===k?this.ba.ja(b):this.ba.ja(b,c),this.CJ())},Qf:function(b){var c=this.ba;c!=p&&(c.Qf(b),this.CJ())},Pf:function(b){var c=
- this.ba;c!=p&&(c.Pf(b),this.CJ())},d:function(){return this.ba.d()},CJ:function(){if(this.ba!=p){var b=this.zi,c=this.Lm();this.bz.x=c.x+0.2*b.width;this.bz.y=c.y+0.2*b.height;c=this.fl();this.dz.x=c.x-0.2*b.width;this.dz.y=c.y-0.2*b.height}},J5:x("pt"),T7:v("pt"),G:function(b){if(this.Aa){b=b||C.o;var c,e=this.i,f,g;if(C.ca===C.Ub){b.save();this.transform(b);this.gM(b);if(e&&0<e.length){g=e.length;this.oc();for(c=0;c<g;c++)if((f=e[c])&&0>f.ia)f.G(b);else break;for(this.U(b);c<g;c++)e[c].G(b)}else this.U(b);
- this.$L();b.restore()}else{C.Mo();var h=this.bl;h&&h.wr()&&(h.sA(),this.aC());this.transform(b);this.gM(b);if(e&&0<e.length){g=e.length;for(c=0;c<g;c++)if((f=e[c])&&0>f.ia)f.G();else break;for(this.U(b);c<g;c++)e[c].G()}else this.U(b);this.$L(b);h&&h.wr()&&h.oA(this);C.Lo()}}},m:function(b,c,e){b||d(Error("child must not nil!"));c=c||b.ia;e=e||b.$k();this.ba!=b?this.ba.m(b,c,e):C.md.prototype.m.call(this,b,c,e)},qI:function(){return this.nf!=p},vf:function(b){this.nf&&C.pa.removeListener(this.nf);
- this.nf=p;b?(b=C.$.create({event:C.$.yl}),this.ob&&(b.ob=this.ob.bind(this)),this.ac&&(b.ac=this.ac.bind(this)),this.$b&&(b.$b=this.$b.bind(this)),this.Vc&&(b.Vc=this.Vc.bind(this)),this.nf=b,C.pa.addListener(b,this)):(this.Eh=this.ai=q,this.vd.length=0)},nca:A(p),Q_:function(b){var c=this.fl(),e=this.Lm(),f=this.Ie,g=this.ba.Qd(),h=g.x,m=g.y;if(f===C.gx||f===C.yp)h=Math.max(h,c.x),h=Math.min(h,e.x);if(f==C.gx||f==C.hx)m=Math.min(m,e.y),m=Math.max(m,c.y);(m!=g.y||h!=g.x)&&this.Mr(F(h,m),b)},uE:function(){if(this.ai)this.ip(this.uE);
- else{var b,c;b=this.ba.Qd();var e=this.nu;this.ba.q(b.x+e.x,b.y+e.y);this.kt?(b=this.bz,c=this.dz):(b=this.Lm(),c=this.fl());var f=this.ba.Q.x,g=this.ba.Q.y;e.x*=0.95;e.y*=0.95;this.Mr(F(f,g));if(1>=Math.abs(e.x)&&1>=Math.abs(e.y)||g>b.y||g<c.y||f>b.x||f<c.x||f==b.x||f==c.x||g==b.y||g==c.y)this.ip(this.uE),this.Q_(n)}},HF:function(){this.ai&&this.ip(this.HF)},X0:function(){this.ip(this.HF)},gM:function(b){if(this.pt){this.fG=q;var c=this.eF(),e=C.view,f=this.W,g=this.na;b=b||C.o;if(C.ca===C.Ub)c=
- this.zi.width*f*e.W,e=this.zi.height*g*e.na,b.beginPath(),b.rect(0,0,c,-e),b.clip(),b.closePath();else if(e=C.view,e.Q5()){if(this.fG=n,this.gu=e.C4(),C.a7(c,this.gu)){var h=this.gu;b=Math.max(c.x,h.x);g=Math.max(c.y,h.y);f=Math.min(c.x+c.width,h.x+h.width);c=Math.min(c.y+c.height,h.y+h.height);e.RB(b,g,f-b,c-g)}}else b.enable(b.SCISSOR_TEST),e.RB(c.x,c.y,c.width,c.height)}},$L:function(b){this.pt&&C.ca===C.Nb&&(this.fG?(b=this.gu,C.view.RB(b.x,b.y,b.width,b.height)):(b=b||C.o,b.disable(b.SCISSOR_TEST)))},
- lca:t(),eF:function(){for(var b=this.Oj(F(0,0)),c=this.zi,e=this.W,f=this.na,g=this.hb;g!=p;g=g.getParent())e*=g.W,f*=g.na;0>e&&(b.x+=c.width*e,e=-e);0>f&&(b.y+=c.height*f,f=-f);g=this.XO;g.x=b.x;g.y=b.y;g.width=c.width*e;g.height=c.height*f;return g}});D=C.Vh.prototype;C.c(D,"minOffset",D.fl);C.c(D,"maxOffset",D.Lm);C.c(D,"bounceable",D.G5,D.Q7);C.c(D,"viewSize",D.c5,D.vJ);C.c(D,"container",D.p3,D.U7);C.c(D,"direction",D.mr,D.nl);C.c(D,"delegate",D.bv,D.dp);C.c(D,"clippingToBounds",D.J5,D.T7);
- D=p;C.Vh.create=function(b,c){var e=new C.Vh;if(2==arguments.length){if(e&&e.sv(b,c))return e}else if(e&&e.s())return e;return p};C.tW=C.Ca.extend({aw:t(),Hh:A(0)});C.uW=C.tW.extend({AF:0,ctor:function(){this.AF=0},aw:v("AF"),Hh:x("AF")});function ja(b,c){return b.Hh()-c.Hh()}
- C.fC=C.Ca.extend({pi:p,ctor:function(){this.pi=[]},JQ:function(b){b||d("cc.ArrayForObjectSorting.insertSortedObject(): addObject should be non-null.");this.C5(b,this.ur(b))},p7:function(b){if(0!=this.count()){var c=this.ur(b);c<this.count()&&c!=C.Zi&&this.Qo(c).Hh()==b.Hh()&&this.LI(c)}},pna:function(b,c){var e=this.ur(c);if(e<this.count()&&e!=C.Zi){var f=this.Qo(e);f.Hh()==c.Hh()&&(this.LI(e),f.aw(b),this.JQ(f))}},fR:function(b){if(0==this.count())return p;var c=new C.uW;c.aw(b);var e=this.ur(c);
- e<this.count()&&e!=C.Zi&&(c=this.Qo(e),c.Hh()!=b&&(c=p));return c},iha:A(p),ur:function(b){var c=0;if(b){var e=0;b=b.Hh();for(var f=this.pi,g=0;g<f.length;g++){var h=f[g].Hh();if(b==h||b>=e&&b<h)break;e=h;c++}}else c=C.Zi;return c},count:function(){return this.pi.length},Gja:function(){var b=this.pi;return 0==b.length?p:b[b.length-1]},Qo:function(b){return this.pi[b]},rP:function(b){this.pi.push(b);this.pi.sort(ja)},LI:function(b){this.pi.splice(b,1);this.pi.sort(ja)},C5:function(b,c){this.pi.splice(c,
- 0,b);this.pi.sort(ja)}});C.DL=0;C.aX=1;C.iX=C.v.extend({zk:0,ha:"TableViewCell",Wga:x("zk"),c8:v("zk"),reset:function(){this.zk=C.Zi},aw:v("zk"),Hh:x("zk")});D=C.iX.prototype;C.c(D,"objectId",D.Hh,D.aw);D=p;C.Raa=C.sW.extend({voa:t(),uoa:t(),woa:t(),xoa:t()});C.Qaa=C.Ca.extend({k9:function(b){return this.Y1(b)},Y1:function(){return H(0,0)},toa:A(p),gka:A(0)});
- C.tD=C.Vh.extend({er:p,Gd:p,Pp:p,tE:p,KG:p,lz:p,Xx:p,Tk:p,ctor:function(){C.Vh.prototype.ctor.call(this);this.lz=C.wL;this.Xx=[]},aY:function(b){var c=0,e=-1;switch(this.mr()){case C.yp:b=b.x;break;default:b=b.y}for(var f=this.Xx;e>=c;){var g=0|c+(e-c)/2,h=f[g],m=f[g+1];if(b>=h&&b<=m)return g;b<h?e=g-1:c=g+1}return 0>=c?0:-1},SZ:function(b){b={x:b.x,y:b.y};this.er===C.DL&&(b.y=this.ba.d().height-b.y);b=this.aY(b);-1!=b&&(b=Math.max(0,b),-1<b&&(b=C.Zi));return b},bY:function(b){switch(this.mr()){case C.yp:b=
- F(this.Xx[b],0);break;default:b=F(0,this.Xx[b])}return b},y_:function(b){var c=this.bY(b);b=this.tE.k9(this,b);this.er===C.DL&&(c.y=this.ba.d().height-c.y-b.height);return c},ada:t(),SG:function(){this.ja(H(0,0));this.lz!=this.Ie&&(this.Ie==C.yp?this.Mr(F(0,0)):this.Mr(F(0,this.fl().y)),this.lz=this.Ie)},XN:function(b){this.Pp.rP(b);this.Nl.p7(b);C.Nd(this.Gd,b.zk);b.reset();b.getParent()==this.ba&&this.ba.removeChild(b,n)},Gz:function(b,c){c.J(0,0);c.q(this.y_(b));c.c8(b)},YL:function(b){b.getParent()!=
- this.ba&&this.ba.m(b);this.Nl.JQ(b);var c=this.Gd;b=b.zk;-1==c.indexOf(b)&&(c.push(b),c.sort(function(b,c){return b-c}))},s3:x("tE"),$R:v("tE"),bv:x("KG"),dp:v("KG"),O8:function(b){this.er!=b&&(this.er=b,0<this.Nl.count()&&this.f7())},b5:x("er"),sv:function(b,c){return C.Vh.prototype.sv.call(this,b,c)?(this.Nl=new C.fC,this.Pp=new C.fC,this.Gd=[],this.KG=p,this.er=C.aX,this.nl(C.hx),C.Vh.prototype.dp.call(this,this),n):q},Foa:function(b){if(!(b==C.Zi||-1<b)){var c=this.qH(b);c&&this.XN(c);c=p;this.Gz(b,
- c);this.YL(c)}},Cia:function(b){if(!(b==C.Zi||-1<b)){var c,e=this.Nl;if(c=e.fR(b))for(var f=c=e.ur(c);f<e.count();f++)c=e.Qo(f),this.Gz(c.zk+1,c);c=p;this.Gz(b,c);this.YL(c);this.SG()}},vla:function(b){if(!(b==C.Zi||-1<b)){var c=this.qH(b);if(c){var e=this.Nl,f=e.ur(c);this.XN(c);C.Nd(this.Gd,b);for(b=e.count()-1;b>f;b--)c=e.Qo(b),this.Gz(c.zk-1,c)}}},f7:function(){this.lz=C.wL;for(var b=this.Nl,c=this.Pp,e=this.ba,f=0,g=b.count();f<g;f++){var h=b.Qo(f);c.rP(h);h.reset();h.getParent()==e&&e.removeChild(h,
- n)}this.Gd=[];this.Nl=new C.fC;this.SG()},iea:function(){if(0===this.Pp.count())return p;var b=this.Pp.Qo(0);this.Pp.LI(0);return b},qH:function(b){return-1==this.Gd.indexOf(b)?p:this.Nl.fR(b)},B7:t(),C7:t(),$b:function(b,c){if(this.Aa){if(this.Tk){var e=this.Od(),f=F(e.x,e.y),f=this.hb.Oj(f);e.x=f.x;e.y=f.y;this.Tk=p}C.Vh.prototype.$b.call(this,b,c)}},ob:function(b,c){if(!this.Aa)return q;var e=C.Vh.prototype.ob.call(this,b,c);if(1===this.vd.length){var f;f=this.ba.Pj(b);f=this.SZ(f);this.Tk=f===
- C.Zi?p:this.qH(f)}else this.Tk&&(this.Tk=p);return e},ac:function(b,c){C.Vh.prototype.ac.call(this,b,c);this.Tk&&this.Eh&&(this.Tk=p)},Vc:function(b,c){C.Vh.prototype.Vc.call(this,b,c);this.Tk&&(this.Tk=p)}});D=C.tD.prototype;C.c(D,"dataSource",D.s3,D.$R);C.c(D,"delegate",D.bv,D.dp);C.c(D,"verticalFillOrder",D.b5,D.O8);D=p;C.tD.create=function(b,c,e){var f=new C.tD;f.sv(c,e);f.$R(b);f.SG();return f};C.Uh=C.dk.extend({Xb:p,rF:p,Y:q,Za:p,ha:"LabelAtlas",ctor:function(b,c,e,f,g){C.dk.prototype.ctor.call(this);c&&C.Uh.prototype.yd.call(this,b,c,e,f,g)},Vr:x("Y"),Hc:function(b,c){this.Za||(this.Za=[]);this.Za.push({Sg:b,Uf:c})},Yc:function(){if(this.Za){this.Y=n;for(var b=this.Za,c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0}},yd:function(b,c,e,f,g){var h=b+"",m,r;if(e===k){e=C.da.Ih(c);if(1!==parseInt(e.version,10))return C.log("cc.LabelAtlas.initWithString(): Unsupported version. Upgrade cocos2d version"),
- q;c=C.path.vA(c,e.textureFilename);f=C.Tb();m=parseInt(e.itemWidth,10)/f;r=parseInt(e.itemHeight,10)/f;e=String.fromCharCode(parseInt(e.firstChar,10))}else m=e||0,r=f||0,e=g||" ";var s=p,s=c instanceof C.ma?c:C.tb.xe(c);(this.Y=c=s.Pc)||s.Hc(function(){this.X(s,m,r,h.length);this.string=h;this.Yc()},this);return this.X(s,m,r,h.length)?(this.rF=e,this.string=h,n):q},z:function(b){C.dk.prototype.z.call(this,b);this.Yr()},Eb:x("Xb"),U:function(b){C.dk.prototype.U.call(this,b);C.gV&&(b=this.size,C.kg.ye([F(0,
- 0),F(b.width,0),F(b.width,b.height),F(0,b.height)],4,n))},ND:function(b,c,e){b.n_=n;C.fa.prototype.m.call(this,b,c,e)},Yr:p,e1:function(){for(var b=this.Xb||"",c=b.length,e=this.texture,f=this.ng,g=this.Gf,h=0;h<c;h++){var m=b.charCodeAt(h)-this.rF.charCodeAt(0),m=J(parseInt(m%this.sq,10)*f,parseInt(m/this.sq,10)*g,f,g),r=b.charCodeAt(h),s=this.Ei(h);s?32==r?(s.s(),s.zb(J(0,0,10,10),q,H(0,0))):(s.X(e,m),s.visible=n,s.opacity=this.ta):(s=new C.t,32==r?(s.s(),s.zb(J(0,0,10,10),q,H(0,0))):s.X(e,m),C.fa.prototype.m.call(this,
- s,0,h));s.q(h*f+f/2,g/2)}},f1:function(){var b=this.Xb,c=b.length,e=this.textureAtlas,f=e.texture,g=f.pixelsWidth,f=f.pixelsHeight,h=this.ng,m=this.Gf;this.Gy||(h=this.ng*C.Tb(),m=this.Gf*C.Tb());c>e.Df&&C.log("cc.LabelAtlas._updateAtlasValues(): Invalid String length");for(var r=e.quads,s=this.Ia,s={r:s.r,g:s.g,b:s.b,a:this.ta},u=this.ng,y=0;y<c;y++){var z=b.charCodeAt(y)-this.rF.charCodeAt(0),B=z%this.sq,E=0|z/this.sq,I;C.ys?(B=(2*B*h+1)/(2*g),z=B+(2*h-2)/(2*g),E=(2*E*m+1)/(2*f),I=E+(2*m-2)/(2*
- f)):(B=B*h/g,z=B+h/g,E=E*m/f,I=E+m/f);var G=r[y],P=G.Fb,Q=G.pb,$=G.nb,G=G.sb;P.n.wa=B;P.n.O=E;Q.n.wa=z;Q.n.O=E;$.n.wa=B;$.n.O=I;G.n.wa=z;G.n.O=I;$.k.x=y*u;$.k.y=0;$.k.la=0;G.k.x=y*u+u;G.k.y=0;G.k.la=0;P.k.x=y*u;P.k.y=this.Gf;P.k.la=0;Q.k.x=y*u+u;Q.k.y=this.Gf;Q.k.la=0;P.B=s;Q.B=s;$.B=s;G.B=s}0<c&&(e.dirty=n,b=e.totalQuads,c>b&&e.m5(c-b))},V:p,D0:function(b){b=String(b);var c=b.length;this.Xb=b;this.width=c*this.ng;this.height=this.Gf;if(this.i){b=this.i;for(var c=b.length,e=0;e<c;e++){var f=b[e];
- f&&!f.n_&&(f.visible=q)}}this.Yr();this.quadsToDraw=c},F0:function(b){b=String(b);var c=b.length;c>this.textureAtlas.totalQuads&&this.textureAtlas.HR(c);this.Xb=b;this.width=c*this.ng;this.height=this.Gf;this.Yr();this.quadsToDraw=c},D:p,lG:function(b){if(this.ta!==b){C.dk.prototype.D.call(this,b);for(var c=this.i,e=0,f=c.length;e<f;e++)c[e]&&(c[e].opacity=b)}},mG:function(b){this.jc!==b&&C.dk.prototype.D.call(this,b)}});D=C.Uh.prototype;
- C.ca===C.Nb?(D.Yr=D.f1,D.V=D.F0,D.D=D.mG):(D.Yr=D.e1,D.V=D.D0,D.D=D.lG,D.m=D.ND);C.c(D,"opacity",D.Ma,D.D);C.c(D,"string",D.Eb,D.V);C.Uh.create=function(b,c,e,f,g){return new C.Uh(b,c,e,f,g)};C.aaa=-1;
- C.rp=C.aj.extend({Ha:n,Cb:q,Xb:"",Ig:p,Ht:"",nq:"",ct:C.en,Nu:-1,PN:q,Hy:p,vO:p,ta:255,ue:255,Ia:p,fc:p,Ed:n,$d:n,Y:q,Za:p,ha:"LabelBMFont",FO:function(b,c){c?this.nq=b:this.Xb=b;var e=this.i;if(e)for(var f=0;f<e.length;f++){var g=e[f];g&&g.ka(q)}this.Y&&(this.BA(),c&&this.Zg())},ctor:function(b,c,e,f,g){C.aj.prototype.ctor.call(this);this.Hy=F(0,0);this.Ia=C.color(255,255,255,255);this.fc=C.color(255,255,255,255);this.vO=[];this.yd(b,c,e,f,g)},Vr:x("Y"),Hc:function(b,c){this.Za||(this.Za=[]);this.Za.push({Sg:b,
- Uf:c})},Yc:function(){if(this.Za){for(var b=this.Za,c=0,e=b.length;c<e;c++){var f=b[c];f.Sg.call(f.Uf,this)}b.length=0}},U:function(b){C.aj.prototype.U.call(this,b);if(C.hV){b=this.d();var c=F(0|-this.sc.x,0|-this.sc.y);b=[F(c.x,c.y),F(c.x+b.width,c.y),F(c.x+b.width,c.y+b.height),F(c.x,c.y+b.height)];C.kg.Nr(0,255,0,255);C.kg.ye(b,4,n)}},z:function(b){var c=this.Ia,e=this.fc;e.r==b.r&&e.g==b.g&&e.b==b.b&&e.a==b.a||(c.r=e.r=b.r,c.g=e.g=b.g,c.b=e.b=b.b,this.Y&&this.Ed&&(c=C.color.WHITE,(e=this.hb)&&
- (e.Ha&&e.cascadeColor)&&(c=e.Io()),this.fb(c)),b.a!==k&&!b.vo&&this.D(b.a))},Xf:x("Cb"),Td:function(b){this.Cb=b;if(b=this.i)for(var c=0;c<b.length;c++){var e=b[c];e&&e.Ha&&(e.opacityModifyRGB=this.Cb)}},Ma:x("ue"),$P:x("ta"),D:function(b){this.ta=this.ue=b;if(this.$d){var c=255,e=this.hb;e&&(e.Ha&&e.cascadeOpacity)&&(c=e.ta);this.qb(c)}this.Ia.a=this.fc.a=b},qb:function(b){this.ta=this.ue*b/255;b=this.i;for(var c=0;c<b.length;c++){var e=b[c];C.ca==C.Nb?e.qb(this.ta):(C.fa.prototype.qb.call(e,this.ta),
- e.Ra())}this.Ol()},vv:A(q),cp:v("$d"),Ga:function(){var b=this.fc;return C.color(b.r,b.g,b.b,b.a)},Io:x("Ia"),fb:function(b){var c=this.Ia,e=this.fc;c.r=e.r*b.r/255;c.g=e.g*b.g/255;c.b=e.b*b.b/255;b=this.i;for(c=0;c<b.length;c++)e=b[c],C.ca==C.Nb?e.fb(this.Ia):(C.fa.prototype.fb.call(e,this.Ia),e.Ra());this.Ol()},Ol:function(){if(C.ca!=C.Nb){var b,c=this.texture;if(c&&0<c.width&&(b=c.cc))if(c=C.tb.YH(this.Hf.cc))b instanceof HTMLCanvasElement&&!this.ad?C.Zu(b,c,this.Ia,p,b):(b=C.Zu(b,c,this.Ia),c=
- new C.ma,c.We(b),c.yc(),this.texture=c)}},uv:A(q),bp:v("Ed"),s:function(){return this.yd(p,p,p,p,p)},yd:function(b,c,e,f,g){b=b||"";this.Ig&&C.log("cc.LabelBMFont.initWithString(): re-init is no longer supported");if(c){var h=C.da.Ih(c);if(!h)return C.log("cc.LabelBMFont.initWithString(): Impossible to create font. Please check file"),q;this.Ig=h;this.Ht=c;c=C.tb.xe(h.wP);(this.Y=h=c.Pc)||c.Hc(function(b){this.Y=n;this.X(b,this.nq.length);this.V(this.nq,n);this.Yc()},this)}else c=new C.ma,h=new Image,
- c.We(h),this.Y=q;return this.X(c,b.length)?(this.ct=f||C.mx,this.Hy=g||F(0,0),this.Nu=e==p?-1:e,this.ta=this.ue=255,this.Ia=C.color(255,255,255,255),this.fc=C.color(255,255,255,255),this.Ed=this.$d=n,this.f.width=0,this.f.height=0,this.J(0.5,0.5),C.ca===C.Nb&&(e=this.textureAtlas.texture,this.Cb=e.rr(),f=this.vO=new C.t,f.X(e,J(0,0,0,0),q),f.batchNode=this),this.V(b,n),n):q},BA:function(){var b=C.ca,c=b===C.Ub?this.texture:this.textureAtlas.texture,e=0,f=H(0,0),g=0,h=1,m=this.Xb,r=m?m.length:0;if(0!==
- r){var s,u=this.Ig,y=u.X5,z=u.tH,B=u.a3;for(s=0;s<r-1;s++)10==m.charCodeAt(s)&&h++;var E=z*h,h=-(z-z*h),I=-1;for(s=0;s<r;s++)if(z=m.charCodeAt(s),0!=z)if(10===z)e=0,h-=u.tH;else{var G=y[I<<16|z&65535]||0,P=B[z];if(P){var Q=J(P.rect.x,P.rect.y,P.rect.width,P.rect.height),Q=C.Pv(Q);Q.x+=this.Hy.x;Q.y+=this.Hy.y;(I=this.Ei(s))?32===z&&b===C.Ub?I.zb(Q,q,H(0,0)):(I.zb(Q,q),I.visible=n):(I=new C.t,32===z&&b===C.Ub&&(Q=J(0,0,0,0)),I.X(c,Q,q),I.wF=n,this.m(I,0,s));I.opacityModifyRGB=this.Cb;C.ca==C.Nb?(I.fb(this.Ia),
- I.qb(this.ta)):(C.fa.prototype.fb.call(I,this.Ia),C.fa.prototype.qb.call(I,this.ta),I.Ra());Q=F(e+P.N9+0.5*P.rect.width+G,h+(u.tH-P.O9)-0.5*Q.height*C.Tb());I.q(C.J6(Q));e+=P.M9+G;I=z;g<e&&(g=e)}else C.log("cocos2d: LabelBMFont: character not found "+m[s])}f.width=g;f.height=E;this.ja(C.T8(f))}},Joa:function(b){var c=this.i;if(c)for(var e=0,f=c.length;e<f;e++){var g=c[e];g&&(g.visible=q)}this.Ig&&this.BA();b||this.Zg()},Eb:x("nq"),V:function(b,c){b=String(b);c==p&&(c=n);if(b==p||"string"!=typeof b)b+=
- "";this.nq=b;this.FO(b,c)},E0:function(b){this.V(b,q)},Fma:function(b){this.V(b,n)},Zg:function(){this.string=this.nq;if(0<this.Nu){for(var b=this.Xb.length,c=[],e=[],f=1,g=0,h=q,m=q,r=-1,s=-1,u=0,y,z=0,B=this.i.length;z<B;z++){for(var E=0;!(y=this.Ei(z+u+E));)E++;u+=E;if(g>=b)break;var I=this.Xb[g];m||(s=this.$E(y),m=n);h||(r=s,h=n);if(10==I.charCodeAt(0)){e.push("\n");c=c.concat(e);e.length=0;h=m=q;r=s=-1;z--;u-=E;f++;if(g>=b)break;s||(s=this.$E(y),m=n);r||(r=s,h=n);g++}else if(C.rI(I))e.push(I),
- c=c.concat(e),e.length=0,m=q,s=-1,g++;else if(this.uZ(y)-r>this.Nu)if(this.PN){C.pT(e);e.push("\n");c=c.concat(e);e.length=0;h=m=q;r=s=-1;f++;if(g>=b)break;s||(s=this.$E(y),m=n);r||(r=s,h=n);z--}else e.push(I),-1!=c.lastIndexOf(" ")?C.pT(c):c=[],0<c.length&&c.push("\n"),f++,h=q,r=-1,g++;else e.push(I),g++}c=c.concat(e);z=c.length;y="";for(g=0;g<z;++g)y+=c[g];y+=String.fromCharCode(0);this.FO(y,q)}if(this.ct!=C.mx){c=g=0;b=this.Xb.length;e=[];for(f=0;f<b;f++)if(10==this.Xb[f].charCodeAt(0)||0==this.Xb[f].charCodeAt(0))if(z=
- 0,h=e.length,0==h)c++;else{if(y=g+h-1+c,!(0>y)&&(z=this.Ei(y),z!=p)){z=z.Q.x+z.pd()/2;m=0;switch(this.ct){case C.en:m=this.width/2-z/2;break;case C.GL:m=this.width-z}if(0!=m)for(z=0;z<h;z++)if(y=g+z+c,!(0>y)&&(y=this.Ei(y)))y.x+=m;g+=h;c++;e.length=0}}else e.push(this.Xb[g])}},G7:function(b){this.ct=b;this.Zg()},fZ:x("ct"),R7:function(b){this.Nu=b;this.Zg()},Lt:x("Nu"),hna:function(b){this.PN=b;this.Zg()},ra:function(b,c){C.v.prototype.ra.call(this,b,c);this.Zg()},yb:function(b){C.v.prototype.yb.call(this,
- b);this.Zg()},Kb:function(b){C.v.prototype.Kb.call(this,b);this.Zg()},eS:function(b){if(b!=p&&b!=this.Ht){var c=C.da.Ih(b);c?(this.Ht=b,this.Ig=c,b=C.tb.xe(c.wP),this.Y=c=b.Pc,this.texture=b,C.ca===C.Ub&&(this.Hf=this.texture),c?this.BA():b.Hc(function(b){this.Y=n;this.texture=b;this.BA();this.Ol();this.Zg();this.Yc()},this)):C.log("cc.LabelBMFont.setFntFile() : Impossible to create font. Please check file")}},Nga:x("Ht"),J:function(b,c){C.v.prototype.J.call(this,b,c);this.Zg()},EO:function(b){C.v.prototype.EO.call(this,
- b);this.Zg()},sd:function(b){C.v.prototype.sd.call(this,b);this.Zg()},td:function(b){C.v.prototype.td.call(this,b);this.Zg()},wba:t(),sca:function(b,c){var e=0;if(this.HY.Y5){var f=this.HY.Y5[(b<<16|c&65535).toString()];f&&(e=f.yda)}return e},$E:function(b){return b.Q.x*this.W-b.pd()*this.W*b.Da.x},uZ:function(b){return b.Q.x*this.W+b.pd()*this.W*b.Da.x}});D=C.rp.prototype;C.c(D,"opacityModifyRGB",D.Xf,D.Td);C.c(D,"opacity",D.Ma,D.D);C.c(D,"cascadeOpacity",D.vv,D.cp);C.c(D,"color",D.Ga,D.z);
- C.c(D,"cascadeColor",D.uv,D.bp);C.c(D,"string",D.Eb,D.E0);C.c(D,"boundingWidth",D.Lt,D.R7);C.c(D,"textAlign",D.fZ,D.G7);C.rp.create=function(b,c,e,f,g){return new C.rp(b,c,e,f,g)};C.rI=function(b){b=b.charCodeAt(0);return 9<=b&&13>=b||32==b||133==b||160==b||5760==b||8192<=b&&8202>=b||8232==b||8233==b||8239==b||8287==b||12288==b};C.pT=function(b){var c=b.length;if(!(0>=c)&&(c-=1,C.rI(b[c]))){for(var e=c-1;0<=e;--e)if(C.rI(b[e]))c=e;else break;C.G9(b,c)}};
- C.G9=function(b,c){var e=b.length;c>=e||0>c||b.splice(c,e)};
- C.aZ={$U:/info [^\n]*(\n|$)/gi,cU:/common [^\n]*(\n|$)/gi,QV:/page [^\n]*(\n|$)/gi,bU:/char [^\n]*(\n|$)/gi,fV:/kerning [^\n]*(\n|$)/gi,bV:/\w+=[^ \r\n]+/gi,aV:/^[\-]?\d+$/,hu:function(b){b=b.match(this.bV);var c={};if(b)for(var e=0,f=b.length;e<f;e++){var g=b[e],h=g.indexOf("\x3d"),m=g.substring(0,h),g=g.substring(h+1);g.match(this.aV)?g=parseInt(g):'"'==g[0]&&(g=g.substring(1,g.length-1));c[m]=g}return c},F6:function(b,c){var e={};this.hu(b.match(this.$U)[0]);var f=this.hu(b.match(this.cU)[0]);
- e.tH=f.lineHeight;if(C.ca===C.Nb){var g=C.ir.Xt;(f.scaleW>g.width||f.scaleH>g.height)&&C.log("cc.LabelBMFont._parseCommonArguments(): page can't be larger than supported")}1!==f.pages&&C.log("cc.LabelBMFont._parseCommonArguments(): only supports 1 page");f=this.hu(b.match(this.QV)[0]);0!==f.id&&C.log("cc.LabelBMFont._parseImageFileName() : file could not be found");e.wP=C.path.vA(c,f.file);for(var h=b.match(this.bU),m=e.a3={},f=0,g=h.length;f<g;f++){var r=this.hu(h[f]);m[r.id]={rect:{x:r.x,y:r.y,
- width:r.width,height:r.height},N9:r.xoffset,O9:r.yoffset,M9:r.xadvance}}h=e.X5={};if(m=b.match(this.fV)){f=0;for(g=m.length;f<g;f++)r=this.hu(m[f]),h[r.first<<16|r.second&65535]=r.amount}return e},load:function(b,c,e,f){var g=this;C.da.nB(b,function(b,e){if(b)return f(b);f(p,g.F6(e,c))})}};C.da.Wo(["fnt"],C.aZ);C.$$=function(b,c,e){this.Bm=b||J(0,0,0,0);this.end=c||J(0,0,0,0);this.duration=e||0};C.Z$=C.Ca.extend({ctor:function(){C.Tj.pP(this)},xB:function(){C.Tj.xB(this)},Pu:function(){return C.Tj.xP(this)},FA:function(){return C.Tj.OP(this)},nH:A(q),u2:t(),oH:A(q),v2:t(),tv:t(),EA:t(),NH:A(""),c6:t(),a6:t(),b6:t(),Z5:t()});
- C.OC=C.Ca.extend({Ec:p,ab:p,uk:"",Gn:p,ctor:function(){this.ab=new C.OC.dV;this.Gn=F(0,0)},s:function(){if(!C.ic.Vj){this.Ec=C.Lb("#imeDispatcherInput");this.Ec||(this.Ec=C.wT(),this.Ec.setAttribute("type","text"),this.Ec.setAttribute("id","imeDispatcherInput"),this.Ec.r7(),this.Ec.eT(0,0),this.Ec.style.opacity="0",this.Ec.style.fontSize="1px",this.Ec.setAttribute("tabindex",2),this.Ec.style.position="absolute",this.Ec.style.top=0,this.Ec.style.left=0,document.body.appendChild(this.Ec));var b=this;
- C.mb(this.Ec,"input",function(){b.TF(b.Ec.value)},q);C.mb(this.Ec,"keydown",function(c){c.keyCode===C.Fs.j9?(c.stopPropagation(),c.preventDefault()):c.keyCode==C.Fs.TP&&(b.Yu("\n",1),c.stopPropagation(),c.preventDefault())},q);/msie/i.test(navigator.userAgent)&&C.mb(this.Ec,"keyup",function(c){c.keyCode==C.Fs.yP&&b.TF(b.Ec.value)},q);C.mb(window,"mousedown",function(c){var e=c.pageY||0;b.Gn.x=c.pageX||0;b.Gn.y=e},q)}},TF:function(b){var c,e;c=this.uk.length<b.length?this.uk.length:b.length;for(e=
- 0;e<c&&b[e]===this.uk[e];e++);var f=this.uk.length-e,g=b.length-e;for(c=0;c<f;c++)this.QP();for(c=0;c<g;c++)this.Yu(b[e+c],1);this.uk=b},Yu:function(b,c){this.ab&&b&&!(0>=c)&&this.ab.ff&&this.ab.ff.tv(b,c)},QP:function(){this.ab&&this.ab.ff&&this.ab.ff.EA()},NH:function(){if(this.ab&&this.ab.ff){var b=this.ab.ff.NH();return b?b:""}return""},sea:function(){if(this.ab)for(var b=0;b<this.ab.ph.length;b++);},qea:function(){if(this.ab)for(var b=0;b<this.ab.ph.length;b++);},rea:function(){if(this.ab)for(var b=
- 0;b<this.ab.ph.length;b++);},pea:function(){if(this.ab)for(var b=0;b<this.ab.ph.length;b++);},pP:function(b){b&&this.ab&&(-1<this.ab.ph.indexOf(b)||this.ab.ph.splice(0,0,b))},xP:function(b){if(!this.ab||!b||-1==this.ab.ph.indexOf(b))return q;if(this.ab.ff){if(!this.ab.ff.oH()||!b.nH())return q;this.ab.ff=p;this.iN(b);return n}if(!b.nH())return q;this.iN(b);return n},iN:function(b){C.ic.Vj?(this.ab.ff=b,this.uk=b.string||"",b=prompt("please enter your word:",this.uk),b!=p&&this.TF(b),this.Yu("\n",
- 1)):(this.ab.ff=b,this.uk=b.string||"",this.Ec.focus(),this.Ec.value=this.uk,this.PY())},PY:function(){/msie/i.test(navigator.userAgent)?(this.Ec.style.left=this.Gn.x+"px",this.Ec.style.top=this.Gn.y+"px"):this.Ec.eT(this.Gn.x,this.Gn.y)},OP:function(b){if(!this.ab||!b||this.ab.ff!=b||!b.oH())return q;this.ab.ff=p;C.ub.focus();return n},xB:function(b){this.ab&&b&&-1!=this.ab.ph.indexOf(b)&&(this.ab.ff&&b==this.ab.ff&&(this.ab.ff=p),C.Nd(this.ab.ph,b))},Xka:function(b){32>b?b==C.Fs.yP?this.QP():b==
- C.Fs.TP&&this.Yu("\n",1):255>b&&this.Yu(String.fromCharCode(b),1)}});C.OC.dV=C.Ca.extend({ff:p,ph:p,ctor:function(){this.ph=[]},Bfa:function(b){for(var c=0;c<this.ph.length;c++)if(this.ph[c]==b)return c;return p}});C.Tj=new C.OC;document.body?C.Tj.s():C.mb(window,"load",function(){C.Tj.s()},q);C.Saa=C.Ca.extend({gR:A(q),iR:A(q),DI:A(q),hR:A(q),v6:A(q)});
- C.cg=C.H.extend({delegate:p,yA:p,uca:p,Ff:"",Pn:"",Yx:0,ha:"TextFieldTTF",ctor:function(b,c,e,f,g){this.yA=C.color(127,127,127);C.Tj.pP(this);C.H.prototype.ctor.call(this);g!==k?(this.t5("",c,e,f,g),b&&this.Ri(b)):f===k&&e!==k&&(this.yd("",c,e),b&&this.Ri(b))},bv:x("delegate"),dp:v("delegate"),lr:x("Yx"),sga:x("yA"),Lma:v("yA"),t5:function(b,c,e,f,g){switch(arguments.length){case 5:return b&&this.Ri(b),this.yd(this.Pn,f,g,c,e);case 3:return b&&this.Ri(b),this.yd(this.Pn,arguments[1],arguments[2]);
- default:d("Argument must be non-nil ")}},V:function(b){this.Ff=(b=String(b))||"";this.Ff.length?C.H.prototype.V.call(this,this.Ff):C.H.prototype.V.call(this,this.Pn);this.Yx=this.Ff.length},Eb:x("Ff"),Ri:function(b){this.Pn=b||"";this.Ff.length||C.H.prototype.V.call(this,this.Pn)},RA:x("Pn"),U:function(b){b=b||C.o;if(this.Ff&&0<this.Ff.length)C.H.prototype.U.call(this,b);else{var c=this.color;this.color=this.yA;C.ca===C.Ub&&this.jA();C.H.prototype.U.call(this,b);this.color=c}},G:function(b){this._super(b)},
- Pu:function(){return C.Tj.xP(this)},FA:function(){return C.Tj.OP(this)},nH:function(){return this.delegate?!this.delegate.gR(this):n},u2:t(),oH:function(){return this.delegate?!this.delegate.iR(this):n},v2:t(),EA:function(){var b=this.Ff.length;if(0!=b&&(!this.delegate||!this.delegate.hR(this,this.Ff[b-1],1)))1>=b?(this.Ff="",this.Yx=0,C.H.prototype.V.call(this,this.Pn)):this.string=this.Ff.substring(0,b-1)},xB:function(){C.Tj.xB(this)},tv:function(b){var c=b;b=c.indexOf("\n");-1<b&&(c=c.substring(0,
- b));if(0<c.length){if(this.delegate&&this.delegate.DI(this,c,c.length))return;c=this.Ff+c;this.Yx=c.length;this.string=c}-1!=b&&(!this.delegate||!this.delegate.DI(this,"\n",1))&&this.FA()},NH:x("Ff"),c6:t(),a6:t(),b6:t(),Z5:t()});D=C.cg.prototype;C.c(D,"charCount",D.lr);C.c(D,"placeHolder",D.RA,D.Ri);C.cg.create=function(b,c,e,f,g){return new C.cg(b,c,e,f,g)};C.gh=C.fa.extend({te:p,Az:q,e_:function(b,c){this.Az=n;this.te.push(b);b.Hz(c)},ctor:function(){C.fa.prototype.ctor.call(this);this.te=[]},Qb:function(b,c,e){C.assert(b!=p,"child must be non-nil");C.assert(!b.parent,"child already added. It can't be added again");c=c||b.ia;e&&b.Pr(e);this.e_(b,c);b.NB(this);b.pS(C.CB);this.gc&&(b.kb(),this.Ty&&b.Wg());this.Ed&&this.Yp();this.$d&&this.Zp()},w4:function(b){C.assert(b!=C.Yw,"Invalid tag");for(var c=this.te,e=0,f=c.length;e<f;e++)if(c.$k()==b)return c[e];
- return p},rf:function(b,c){c==p&&(c=n);var e=this.te;if(0!==e.length){var f=e.indexOf(b);-1<f&&(this.gc&&(b.Xe(),b.Jb()),c&&b.Te(),b.NB(p),e.splice(f,1))}},Fla:function(b,c){C.assert(b!=C.Yw,"Invalid tag");c==p&&(c=n);var e=this.w4(b);e==p?C.log("cocos2d: removeChildByTag(tag \x3d %d): child not found!",b):this.rf(e,c)},rla:function(){this.i7(n)},i7:function(b){b==p&&(b=n);for(var c=this.te,e=0,f=c.length;e<f;e++){var g=c[e];this.gc&&(g.Xe(),g.Jb());b&&g.Te();g.NB(p)}c.length=0},Qla:function(b,c){C.assert(b!=
- p,"Child must be non-nil");this.Az=n;b.pS(C.CB++);b.Hz(c)},ZB:function(){if(this.Az){var b=this.te,c=b.length,e,f,g;for(e=1;e<c;e++){g=b[e];for(f=e-1;0<=f;){if(g.ia<b[f].ia)b[f+1]=b[f];else if(g.ia===b[f].ia&&g.arrivalOrder<b[f].arrivalOrder)b[f+1]=b[f];else break;f--}b[f+1]=g}this.Az=q}},G:p,qo:function(b){if(this.Aa){b=b||C.o;var c,e,f=this.i,g,h=this.te,m=this.i.length,r=h.length;b.save();this.transform(b);this.oc();this.ZB();for(c=0;c<m;c++)if(g=f[c],0>g.ia)g.G(b);else break;for(e=0;e<r;e++)if(g=
- h[e],0>g.ia)g.G(b);else break;for(this.U(b);c<m;c++)f[c]&&f[c].G(b);for(;e<r;e++)h[c]&&h[c].G(b);this.$h=q;this.arrivalOrder=0;b.restore()}},ro:function(){if(this.Aa){var b=C.o,c,e=C.LP,f;e.stack.push(e.top);C.f6(this.uu,e.top);e.top=this.uu;var g=this.bl;g&&g.MD&&g.sA();this.transform();var h=this.i,m=this.te,r=h.length,s=m.length;this.oc();this.ZB();for(c=0;c<r;c++)if(h[c]&&0>h[c].ia)h[c].G();else break;for(f=0;f<s;f++)if(m[f]&&0>m[f].ia)m[f].G();else break;for(this.U(b);c<r;c++)h[c]&&h[c].G();
- for(;f<s;f++)m[f]&&m[f].G();this.arrivalOrder=0;g&&g.MD&&g.oA(this);e.top=e.stack.pop()}},Te:function(){C.v.prototype.Te.call(this);for(var b=this.te,c=0,e=b.length;c<e;c++)b[c].Te()},kb:function(){C.v.prototype.kb.call(this);for(var b=this.te,c=0,e=b.length;c<e;c++)b[c].kb()},Wg:function(){C.v.prototype.Wg.call(this);for(var b=this.te,c=0,e=b.length;c<e;c++)b[c].Wg()},Jb:function(){C.v.prototype.Jb.call(this);for(var b=this.te,c=0,e=b.length;c<e;c++)b[c].Jb()},Xe:function(){C.v.prototype.Xe.call(this);
- for(var b=this.te,c=0,e=b.length;c<e;c++)b[c].Xe()},qb:function(b){this.ta=this.ue*b/255;this.hc();if(this.$d){var c,e=this.i,f=this.ta;b=0;for(c=e.length;b<c;b++)e[b].qb&&e[b].qb(f);e=this.te;b=0;for(c=e.length;b<c;b++)e[b].qb&&e[b].qb(f)}},fb:function(b){var c=this.Ia,e=this.fc;c.r=e.r*b.r/255;c.g=e.g*b.g/255;c.b=e.b*b.b/255;this.hc();if(this.Ed){var f=this.i;b=0;for(e=f.length;b<e;b++)f[b].fb&&f[b].fb(c);f=this.te;b=0;for(e=f.length;b<e;b++)f[b].fb&&f[b].fb(c)}},jea:function(){var b=C.color.WHITE,
- c,e,f=this.i;c=0;for(e=f.length;c<e;c++)f[c].fb(b);f=this.te;c=0;for(e=f.length;c<e;c++)f[c].fb(b)}});C.gh.prototype.G=C.ca===C.Ub?C.gh.prototype.qo:C.gh.prototype.ro;C.gh.create=function(){return new C.gh};var ka=ka||C.Ca;ka.extend=ka.extend||C.Ca.extend;var la=la||C.gh;la.extend=la.extend||C.gh.extend;var L=la.extend({Fc:n,nn:n,Xz:q,on:p,cA:q,Dh:p,ar:p,Sk:p,wi:p,xi:p,jm:"default",$G:p,LD:0,L:H(0,0),sa:p,uq:p,fm:0,vk:q,lg:n,Ka:q,OD:q,Nq:p,Ld:p,Dr:p,ec:p,Ica:q,zn:q,km:p,nf:p,Va:p,ha:"Widget",Ja:q,La:q,jc:255,Pt:q,vi:p,ctor:function(){C.gh.prototype.ctor.call(this);this.on=L.lC;this.Dh=F(0,0);this.ar=F(0,0);this.Sk=F(0,0);this.$G=L.hX;this.L=H(0,0);this.sa=H(0,0);this.uq={};this.Nq=L.zL;this.Ld=F(0,0);this.Dr=L.qL;this.ec=F(0,0);this.km=[];this.Va=C.color(255,255,255,255);this.fm=M.NONE;this.s()},
- s:function(){return C.gh.prototype.s.call(this)?(this.uq={},this.Ug(),this.DB(n),this.Dv=this.w6.bind(this),this.uB=p,this.J(F(0.5,0.5)),this.Sd(n),this.bp(n),this.cp(n),n):q},kb:function(){this.nT();C.gh.prototype.kb.call(this)},Jb:function(){this.jT();C.gh.prototype.Jb.call(this)},G:function(b){this.Aa&&(this.Bi(),C.gh.prototype.G.call(this,b))},Rd:function(){var b=this.getParent();return b instanceof L?b:p},wd:function(b){var c=this.L;this.Ka?(c.width=b.width,c.height=b.height):(c.width=this.sa.width,
- c.height=this.sa.height);this.lb()},EN:function(){var b=this.rN(this);return b==p?n:b&&!b.isEnabled()?q:b.EN()},rN:function(b){if(p==b)return p;b=b.getParent();return p==b?p:b instanceof L?b:this.rN(b.getParent())},FN:function(b){return p==b?n:(b=b.getParent())&&!b.Aa?q:this.FN(b)},Dba:function(){this.WY.removeEventListener(this.nf);this.bi==this&&(this.bi=p)},Ba:v("Fc"),Ug:t(),qP:function(b,c,e){b instanceof L?C.log("Please use addChild to add a Widget."):(C.v.prototype.m.call(this,b,c,e),this.km.push(b))},
- RH:function(b){for(var c=this.km,e=0;e<c.length;e++){var f=c[e];if(f&&f.$k()==b)return f}return p},bQ:x("km"),removeNode:function(b){C.v.prototype.removeChild.call(this,b);C.Nd(this.km,b)},DR:function(b){var c=this.RH(b);c?this.removeNode(c):C.log("cocos2d: removeNodeByTag(tag \x3d %d): child not found!",b)},BR:function(){for(var b=0;b<this.km.length;b++)C.v.prototype.removeChild.call(this,this.km[b]);this.km.length=0},ew:function(b){var c=this.sa.width=b.width;b=this.sa.height=b.height;this.Ka&&
- (c=this.width,b=this.height);this.L.width=c;this.L.height=b;this.gc&&((b=this.Rd())?(c=b.width,b=b.height):(c=this.hb.width,b=this.hb.height),this.Ld.x=0<c?this.sa.width/c:0,this.Ld.y=0<b?this.sa.height/b:0);this.lb()},Qf:function(b){b=this.sa.width=b;this.Ka&&(b=this.width);this.L.width=b;this.gc&&(b=(b=this.Rd())?b.width:this.hb.width,this.Ld.x=0<b?this.sa.width/b:0);this.lb()},Pf:function(b){b=this.sa.height=b;this.Ka&&(b=this.height);this.L.height=b;this.gc&&(b=(b=this.Rd())?b.height:this.hb.height,
- this.Ld.y=0<b?this.sa.height/b:0);this.lb()},Hna:function(b){this.Ld.x=b.x;this.Ld.y=b.y;var c=this.sa.width,e=this.sa.height;this.gc&&((e=this.Rd())?(c=e.width*b.x,e=e.height*b.y):(c=this.hb.width*b.x,e=this.hb.height*b.y));this.Ka||(this.L.width=c,this.L.height=e);this.sa.width=c;this.sa.height=e;this.lb()},L0:function(b){this.Ld.x=b;var c=this.sa.width;this.gc&&(c=this.Rd(),c=(c?c.width:this.hb.width)*b);this.Ka||(this.L.width=c);this.sa.width=c;this.lb()},k0:function(b){this.Ld.y=b;var c=this.sa.height;
- this.gc&&(c=this.Rd(),c=(c?c.height:this.hb.height)*b);this.Ka||(this.L.height=c);this.sa.height=c;this.lb()},nT:function(b){b||(b=(b=this.Rd())?b.O3():this.hb.d());var c;switch(this.Nq){case L.zL:c=this.Ka?this.d():this.sa;this.L.width=c.width;this.L.height=c.height;var e=c=0;0<b.width&&(c=this.sa.width/b.width);0<b.height&&(e=this.sa.height/b.height);this.Ld.x=c;this.Ld.y=e;break;case L.lW:e=H(b.width*this.Ld.x,b.height*this.Ld.y),c=this.Ka?this.Hi():e,this.L.width=c.width,this.L.height=c.height,
- this.sa.width=e.width,this.sa.height=e.height}this.lb();c=this.Qd();switch(this.Dr){case L.qL:0>=b.width||0>=b.height?(this.ec.x=0,this.ec.y=0):(this.ec.x=c.x/b.width,this.ec.y=c.y/b.height);break;case L.UV:c=F(b.width*this.ec.x,b.height*this.ec.y)}this.q(c)},B8:v("Nq"),H4:x("Nq"),Sd:function(b){this.Ka!=b&&(b=(this.Ka=b)?this.d():this.sa,this.L.width=b.width,this.L.height=b.height,this.lb())},Uia:x("Ka"),gv:function(){return H(this.L)},Bga:function(){return H(this.sa)},O3:function(){return H(this.L)},
- Mha:function(){return F(this.Ld)},NZ:function(){return this.Ld.x},rZ:function(){return this.Ld.y},nia:function(){return this.Oj(F(this.Da.x*this.f.width,this.Da.y*this.f.height))},al:function(){return this},Hi:function(){return H(this.f)},lb:function(){this.ja(this.L);for(var b=this.kd(),c=0,e=b.length;c<e;c++){var f=b[c];f instanceof L&&f.nT()}},d:x("L"),pd:function(){return this.L.width},pe:function(){return this.L.height},vf:function(b){this.Xz!==b&&((this.Xz=b)?(this.nf=C.$.create({event:C.$.yl,
- Tr:n,ob:this.ob.bind(this),ac:this.ac.bind(this),$b:this.$b.bind(this)}),C.pa.addListener(this.nf,this)):C.pa.removeListener(this.nf))},qI:x("Xz"),jB:x("Pt"),ag:function(b){b!=this.Pt&&(this.Pt=b,this.nn?this.Pt?this.UI(L.kC):this.UI(L.ds):this.Ar())},XB:function(b){this.cA!=b&&((this.cA=b)?this.OI():this.jT())},S5:x("cA"),L5:x("vk"),FB:function(b){if(this.vk=b)this.bi=this},Tia:x("lg"),Yma:v("vk"),xd:function(b,c){if(p==this.uB||p==this.uB(b)){var e=c instanceof N;if(this.vk||e){var f=this.getParent();
- return p==f?e?c.xd(b,c):c:f.xd(b,c)}return c}e=this.uB(b);this.Eo(this,e);return e},Sla:function(){this!=this.bi&&this.Eo(this.bi,this)},zga:x("bi"),efa:t(),Dv:p,uB:p,cl:function(b,c,e){var f=this.Rd();f&&f.cl(b,c,e)},w6:function(b,c){b&&b.FB(q);c&&c.FB(n)},Eo:function(b,c){b&&!b.vk&&(b=this.bi);c!=b&&(c&&c.Dv&&c.Dv(b,c),b&&c.Dv&&b.Dv(b,c),C.pa.dispatchEvent(new C.OU(b,c)))},DB:function(b){(this.nn=b)?(this.on=L.lC,this.UI(L.ds)):this.Ar()},UI:function(b){if(this.on!=b)switch(this.on=b=b||L.ds,this.on){case L.ds:this.Jv();
- break;case L.kC:this.Kv()}},Jv:t(),Kv:t(),Ar:t(),w2:t(),ob:function(b){this.zn=q;if(this.Aa&&this.isEnabled()&&this.EN()&&this.FN(this)){var c=b.ie();this.Dh.x=c.x;this.Dh.y=c.y;this.tr(this.Dh)&&this.mI(this.Dh)&&(this.zn=n)}if(!this.zn)return q;this.ag(n);(c=this.Rd())&&c.cl(L.pD,this,b);this.X6();return n},ac:function(b){var c=b.ie();this.ar.x=c.x;this.ar.y=c.y;this.ag(this.tr(c));(c=this.Rd())&&c.cl(L.zp,this,b);this.dR()},$b:function(b){var c=b.ie();this.Sk.x=c.x;this.Sk.y=c.y;(c=this.Rd())&&
- c.cl(L.Wh,this,b);b=this.Pt;this.ag(q);b?this.KI():this.EP()},Vc:function(){this.ag(q);this.EP()},mka:t(),X6:function(){this.vi&&this.vi(this,L.pD);this.wi&&this.xi&&this.xi.call(this.wi,this,L.IL)},dR:function(){this.vi&&this.vi(this,L.zp);this.wi&&this.xi&&this.xi.call(this.wi,this,L.zp)},KI:function(){this.vi&&this.vi(this,L.Wh);this.wi&&this.xi&&this.xi.call(this.wi,this,L.Wh)},EP:function(){this.vi&&this.vi(this,L.px);this.wi&&this.xi&&this.xi.call(this.wi,this,L.px)},Oja:t(),yo:function(b,c){c===
- k?this.vi=b:(this.xi=b,this.wi=c)},tr:function(b){return C.Vo(J(0,0,this.f.width,this.f.height),this.Tf(b))},mI:function(b){this.OD=q;for(var c=this.getParent(),e=p;c;){if(c instanceof N&&c.rk){this.OD=n;e=c;break}c=c.getParent()}return!this.OD?n:e?e.tr(b)?e.mI(b):q:n},Vda:function(b){C.log("clippingParentAreaContainPoint is deprecated. Please use isClippingParentContainsPoint instead.");this.mI(b)},b2:function(b,c,e){var f=this.Rd();f&&f.b2(b,c,e)},q:function(b,c){if(this.gc){var e=this.Rd();e&&
- (e=e.gv(),0>=e.width||0>=e.height?(this.ec.x=0,this.ec.y=0):c?(this.ec.x=b/e.width,this.ec.y=c/e.height):(this.ec.x=b.x/e.width,this.ec.y=b.y/e.height))}C.v.prototype.q.call(this,b,c)},Or:function(b){if(this.gc){var c=this.Rd();c&&(c=c.width,this.ec.x=0>=c?0:b/c)}C.v.prototype.Or.call(this,b)},bw:function(b){if(this.gc){var c=this.Rd();c&&(c=c.height,this.ec.y=0>=c?0:b/c)}C.v.prototype.bw.call(this,b)},xna:function(b){this.ec=b;if(this.gc&&(b=this.Rd()))b=b.gv(),this.q(b.width*this.ec.x,b.height*
- this.ec.y)},M0:function(b){this.ec.x=b;if(this.gc){var c=this.Rd();c&&this.Or(c.width*b)}},N0:function(b){this.ec.y=b;if(this.gc){var c=this.Rd();c&&this.bw(c.height*b)}},A9:function(){this.J(this.Da)},wha:function(){return F(this.ec)},OZ:function(){return this.ec.x},PZ:function(){return this.ec.y},yna:v("Dr"),xha:x("Dr"),Ad:function(b){this.Ja=b;this.wg()},wv:x("Ja"),tf:function(b){this.La=b;this.Yg()},xv:x("La"),wg:t(),Yg:t(),Bi:t(),H5:x("nn"),isEnabled:x("Fc"),xb:function(){return this.Q.x-this.Da.x*
- this.L.width},Zb:function(){return this.Q.y-this.Da.y*this.L.height},Db:function(){return this.xb()+this.L.width},Ic:function(){return this.Zb()+this.L.height},fia:function(){C.log("getTouchStartPos is deprecated. Please use getTouchBeganPosition instead.");return this.aI()},aI:function(){return F(this.Dh)},dia:function(){C.log("getTouchMovePos is deprecated. Please use getTouchMovePosition instead.");return this.V4()},V4:function(){return F(this.ar)},bia:function(){C.log("getTouchEndPos is deprecated. Please use getTouchEndPosition instead.");
- return this.U4()},U4:function(){return F(this.Sk)},eJ:v("jm"),getName:x("jm"),d5:x("$G"),Yv:function(b){b&&(this.uq[b.Gh()]=b,this.fm=b.Gh())},Tg:function(b){b=b||this.fm;return this.uq[b]},ug:A("Widget"),j:function(){var b=this.Ue();b.Co(this);b.Bo(this);return b},Ue:function(){return L.create()},Bo:function(b){b=b.kd();for(var c=0;c<b.length;c++){var e=b[c];e instanceof L&&this.m(e.j())}},qf:t(),Co:function(b){this.Ba(b.isEnabled());this.ka(b.Aa);this.DB(b.nn);this.vf(b.qI());this.JB(b.ia);this.XB(b.cA);
- this.Pr(b.$k());this.eJ(b.getName());this.NR(b.LD);this.Ka.width=b.Ka.width;this.Ka.height=b.Ka.height;this.L.width=b.L.width;this.L.height=b.L.height;this.sa.width=b.sa.width;this.sa.height=b.sa.height;this.qf(b);this.Nq=b.Nq;this.Ld.x=b.Ld.x;this.Ld.y=b.Ld.y;this.Dr=b.Dr;this.ec.x=b.ec.x;this.ec.y=b.ec.y;this.q(b.Qd());this.J(b.Da);this.yb(b.W);this.Kb(b.na);this.jJ(b.hQ());this.AS(b.Hj);this.BS(b.sm);this.Ad(b.wv());this.tf(b.xv());this.z(b.Ga());this.D(b.Ma());this.vi=b.vi;this.wi=b.wi;this.xi=
- b.xi;this.vk=b.vk;this.lg=b.lg;for(var c in b.uq){var e=b.uq[c];e&&this.Yv(e.j())}this.lb()},NR:v("LD"),g3:x("LD"),Ga:function(){return C.color(this.Va.r,this.Va.g,this.Va.b,this.Va.a)},D:function(b){b!==this.Va.a&&(this.Va.a=b,this.Zr(b))},Ma:x("ta"),Zr:function(b){for(var c in this.i){var e=this.i[c];e&&e.Ha&&e.D(b)}},wf:function(b){b.Ha&&b.z(this.Va)},$g:function(b){b.Ha&&b.D(this.Va.a)},Ioa:function(b){b.z(this.Va);b.D(this.jc)}}),D=L.prototype;C.c(D,"xPercent",D.OZ,D.M0);
- C.c(D,"yPercent",D.PZ,D.N0);C.c(D,"widthPercent",D.NZ,D.L0);C.c(D,"heightPercent",D.rZ,D.k0);C.c(D,"widgetParent",D.Rd);C.c(D,"enabled",D.isEnabled,D.Ba);C.c(D,"focused",D.L5,D.FB);C.c(D,"sizeType",D.H4,D.B8);C.c(D,"widgetType",D.d5);C.c(D,"touchEnabled",D.qI,D.vf);C.c(D,"updateEnabled",D.S5,D.XB);C.c(D,"bright",D.H5,D.DB);C.c(D,"name",D.getName,D.eJ);C.c(D,"actionTag",D.g3,D.NR);C.c(D,"opacity",D.Ma,D.D);D=p;L.create=function(){return new L};L.lC=-1;L.ds=0;L.kC=1;L.hX=0;L.fX=1;L.Th=0;L.hh=1;
- L.jh=0;L.Sh=1;L.Z=0;L.Cd=1;L.IL=0;L.zp=1;L.Wh=2;L.px=3;L.zL=0;L.lW=1;L.qL=0;L.UV=1;C.OU=C.zc.extend({p1:p,q1:p,ctor:function(b,c){this.p1=c;this.q1=b}});var N=L.extend({rk:q,Jl:p,bc:p,Hx:p,it:p,Ql:p,jt:L.Z,ef:p,$c:p,Va:p,Jj:p,sh:p,Cf:p,jc:255,Ix:p,gm:p,oe:n,Zx:n,sk:p,Fd:p,gF:q,Mca:q,oj:p,mE:p,ha:"Layout",mk:p,S:0,T:0,Kba:0,Rba:0,Mba:0,Pba:0,Qba:0,Lba:0,Nba:0,Oba:0,Jba:0,Gba:0,Hba:0,Iba:0,dM:0,wca:0,In:q,Nn:q,Bk:q,ctor:function(){this.gm=N.xT;this.$G=L.fX;this.sk=N.ow;this.Ql=N.NJ;L.prototype.ctor.call(this);this.it=J(0,0,0,0);this.Va=C.color(255,255,255,255);this.Jj=C.color(255,255,255,255);this.sh=C.color(255,255,255,255);this.Cf=F(0,-1);this.Ix=
- H(0,0);this.oj=J(0,0,0,0);this.mk=C.color(255,255,255,255)},kb:function(){L.prototype.kb.call(this);this.Fd&&this.Fd.kb();this.Zx=this.oe=n},Jb:function(){L.prototype.Jb.call(this);this.Fd&&this.Fd.Jb()},ina:v("In"),Xia:x("In"),vna:v("Nn"),cja:x("Nn"),xd:function(b,c){if(this.Bk||this.vk){var e=this.getParent();this.Bk=q;if(this.Nn){var f=this.Nn(b,c);return f instanceof N&&e?(e.Bk=n,e.xd(b,this)):f}if(p==e)return this;e.Bk=n;return e.xd(b,this)}if(c.vk||c instanceof N)if(this.gm==N.ik)switch(b){case L.Th:return this.Cy(b,
- c);case L.hh:return this.By(b,c);case L.Sh:case L.jh:return this.xj(this,b)?this.Fn(c,b)?this.xd(b,this):c:this.xd(b,this);default:return C.assert(0,"Invalid Focus Direction"),c}else if(this.gm==N.jk)switch(b){case L.Th:case L.hh:return this.xj(this,b)?this.Fn(c,b)?this.xd(b,this):c:this.xd(b,this);case L.Sh:return this.By(b,c);case L.jh:return this.Cy(b,c);default:return C.assert(0,"Invalid Focus Direction"),c}else return C.assert(0,"Un Supported Layout type, please use VBox and HBox instead!!!"),
- c;else return c},zr:p,s:function(){return L.prototype.s.call(this)?(this.Sd(q),this.ew(H(0,0)),this.J(0,0),this.zr=this.Gt.bind(this),n):q},cY:function(b){b=b||C.o;for(var c=this.Fd,e=C.view.W,f=C.view.na,g=0;g<c.Pb.length;g++){var h=c.Pb[g].yg,m=h[0];b.beginPath();b.moveTo(m.x*e,-m.y*f);for(var m=1,r=h.length;m<r;m++)b.lineTo(h[m].x*e,-h[m].y*f)}},m:function(b,c,e){b instanceof L&&this.ZS(b);L.prototype.m.call(this,b,c,e);this.oe=n},removeChild:function(b,c){L.prototype.removeChild.call(this,b,c);
- this.oe=n},Ye:function(b){L.prototype.Ye.call(this,b);this.oe=n},Pm:function(b){L.prototype.Pm(b);this.oe=n},I5:x("rk"),G:function(b){if(this.Aa)if(this.Bi(),this.qh(),this.rk)switch(this.sk){case N.ow:this.xJ(b);break;case N.UJ:this.RI(b)}else L.prototype.G.call(this,b)},oc:function(){L.prototype.oc.call(this);this.qh()},xJ:p,W0:function(b){var c=b||C.o;if(this.Fd&&this.Fd.Aa)if(N.hi=-1,N.hi+1==C.gp)N.so=n,N.so&&(C.log("Nesting more than "+C.gp+"stencils is not supported. Everything will be drawn without stencil for this node and its childs."),
- N.so=q),C.v.prototype.G.call(this,b);else{N.hi++;var e=1<<N.hi,f=e|e-1;b=c.isEnabled(c.STENCIL_TEST);var g=c.getParameter(c.STENCIL_WRITEMASK),h=c.getParameter(c.STENCIL_FUNC),m=c.getParameter(c.STENCIL_REF),r=c.getParameter(c.STENCIL_VALUE_MASK),s=c.getParameter(c.STENCIL_FAIL),u=c.getParameter(c.STENCIL_PASS_DEPTH_FAIL),y=c.getParameter(c.STENCIL_PASS_DEPTH_PASS);c.enable(c.STENCIL_TEST);c.stencilMask(e);var z=c.getParameter(c.DEPTH_WRITEMASK);c.depthMask(q);c.stencilFunc(c.NEVER,e,e);c.stencilOp(c.ZERO,
- c.KEEP,c.KEEP);C.kg.EH(F(0,0),C.mR(),C.color(255,255,255,255));c.stencilFunc(c.NEVER,e,e);c.stencilOp(c.REPLACE,c.KEEP,c.KEEP);C.Mo();this.transform();this.Fd.G();c.depthMask(z);c.stencilFunc(c.EQUAL,f,f);c.stencilOp(c.KEEP,c.KEEP,c.KEEP);f=e=0;this.oc();this.ZB();for(var z=this.i,B=this.te,E=z.length,I=B.length,G;e<E;e++)if((G=z[e])&&0>G.ia)G.G();else break;for(;f<I;f++)if((G=B[f])&&0>G.ia)G.G();else break;for(this.U();e<E;e++)z[e].G();for(;f<I;f++)B[f].G();c.stencilFunc(h,m,r);c.stencilOp(s,u,y);
- c.stencilMask(g);b||c.disable(c.STENCIL_TEST);N.hi--;C.Lo()}},VO:function(b){if(this.Fd&&this.Fd.Aa){b=b||C.o;if(this.pn()||this.Fd instanceof C.t){var c=b.canvas,e=N.bF();e.width=c.width;e.height=c.height;e.getContext("2d").drawImage(c,0,0);b.save();C.v.prototype.G.call(this,b);b.globalCompositeOperation="destination-in";this.transform(b);this.Fd.G();b.restore();b.save();b.setTransform(1,0,0,1,0,0);b.globalCompositeOperation="destination-over";b.drawImage(e,0,0)}else{var e=this.i,f;b.save();this.transform(b);
- this.Fd.G(b);b.clip();this.pn(n);this.oc();this.ZB();for(var g,h=this.te,m=e.length,r=h.length,c=0;c<m;c++)if((f=e[c])&&0>f.ia)f.G(b);else break;for(g=0;g<r;g++)if((f=h[g])&&0>f.ia)f.G(b);else break;for(;c<m;c++)e[c].G(b);for(;g<r;g++)h[g].G(b);this.pn(q)}b.restore()}},Nt:q,pn:function(b){if(b===n||b===q)C.Mb.prototype.Nt=b;return C.Mb.prototype.Nt},RI:p,a0:function(b){var c=this.ZP();b=b||C.o;this.gF&&b.enable(b.SCISSOR_TEST);C.view.RB(c.x,c.y,c.width,c.height);C.v.prototype.G.call(this);this.gF&&
- b.disable(b.SCISSOR_TEST)},Lr:function(b){if(b!=this.rk)switch(this.rk=b,this.sk){case N.ow:b?(this.Fd=C.ke.create(),C.ca===C.Ub&&(this.Fd.U=this.cY.bind(this)),this.gc&&this.Fd.kb(),this.FS(this.f)):(this.gc&&this.Fd.Jb(),this.Fd=p)}},ZR:function(b){if(b!=this.sk){var c=this.rk;this.Lr(q);this.sk=b;this.Lr(c)}},rga:x("sk"),FS:function(b){if(this.rk&&this.sk==N.ow){var c=[];c[0]=F(0,0);c[1]=F(b.width,0);c[2]=F(b.width,b.height);c[3]=F(0,b.height);b=C.color.GREEN;this.Fd.clear();this.Fd.ye(c,4,b,0,
- b)}},Pla:function(){this.qh()},ZP:function(){if(this.Zx){var b=this.Oj(F(0,0)),c=this.Po(),e=this.f.width*c.a,c=this.f.height*c.xa,f;f=this;for(var g=q;f;)if((f=f.getParent())&&f instanceof N&&f.rk)if(g||(this.mE=f,g=n),f.sk==N.UJ){this.gF=q;break}if(this.mE){f=this.mE.ZP();var g=b.x-e*this.Da.x,h=b.y-c*this.Da.y,m=e,r=c,s=b.x-f.x;0>s&&(g=f.x,m+=s);e=b.x+e-(f.x+f.width);0<e&&(m-=e);e=b.y+c-(f.y+f.height);0<e&&(r-=e);b=b.y-f.y;0>b&&(h=f.x,r+=b);0>m&&(m=0);0>r&&(r=0);this.oj.x=g;this.oj.y=h;this.oj.width=
- m;this.oj.height=r}else this.oj.x=b.x-e*this.Da.x,this.oj.y=b.y-c*this.Da.y,this.oj.width=e,this.oj.height=c;this.Zx=q}return this.oj},lb:function(){L.prototype.lb.call(this);this.FS(this.f);this.Zx=this.oe=n;this.bc&&(this.bc.q(0.5*this.f.width,0.5*this.f.height),this.Jl&&this.bc instanceof C.ea&&this.bc.Bd(this.f));this.ef&&this.ef.ja(this.f);this.$c&&this.$c.ja(this.f)},N7:function(b){this.Jl!=b&&(this.rf(this.bc),this.bc=p,this.Jl=b,this.nP(),this.TR(this.Hx,this.jt),this.UR(this.it))},Lia:x("Jl"),
- TR:function(b,c){if(b){c=c||L.Z;this.bc==p&&this.nP();this.Hx=b;this.jt=c;if(this.Jl){var e=this.bc;switch(this.jt){case L.Z:e.Be(b);break;case L.Cd:e.Uj(b)}e.Bd(this.f)}else switch(e=this.bc,this.jt){case L.Z:e.cb(b);break;case L.Cd:e.Jc(b)}this.Ix=this.bc.d();this.bc.q(this.f.width/2,this.f.height/2);this.eP()}},UR:function(b){this.it=b;this.Jl&&this.bc.nc(b)},Zfa:x("it"),ZS:function(b){if(b)switch(this.gm){case N.ik:case N.jk:var c=b.Tg(M.LINEAR);c||b.Yv(O.create());break;case N.vp:(c=b.Tg(M.vp))||
- b.Yv(R.create())}},nP:function(){this.Jl?(this.bc=C.ea.create(),this.bc.Bd(this.f)):this.bc=C.t.create();this.Qb(this.bc,N.GT,-1);this.bc.q(this.f.width/2,this.f.height/2)},ula:function(){this.bc&&(this.rf(this.bc),this.bc=p,this.Hx="",this.Ix=H(0,0))},L7:function(b){if(this.Ql!=b){switch(this.Ql){case N.NJ:this.ef&&(this.rf(this.ef),this.ef=p);this.$c&&(this.rf(this.$c),this.$c=p);break;case N.iC:this.ef&&(this.rf(this.ef),this.ef=p);break;case N.hC:this.$c&&(this.rf(this.$c),this.$c=p)}this.Ql=
- b;switch(this.Ql){case N.iC:this.ef=C.nd.create();this.ef.ja(this.f);this.ef.D(this.jc);this.ef.z(this.Va);this.Qb(this.ef,N.LJ,-1);break;case N.hC:this.$c=C.ul.create(C.color(255,0,0,255),C.color(0,255,0,255)),this.$c.ja(this.f),this.$c.D(this.jc),this.$c.mJ(this.Jj),this.$c.aJ(this.sh),this.$c.sJ(this.Cf),this.Qb(this.$c,N.LJ,-1)}}},Wfa:x("Ql"),SR:function(b,c){c?(this.Jj.r=b.r,this.Jj.g=b.g,this.Jj.b=b.b,this.$c&&this.$c.mJ(b),this.sh=c,this.$c&&this.$c.aJ(c)):(this.Va.r=b.r,this.Va.g=b.g,this.Va.b=
- b.b,this.ef&&this.ef.z(b))},Ufa:function(){var b=this.Va;return C.color(b.r,b.g,b.b,b.a)},bga:function(){var b=this.Jj;return C.color(b.r,b.g,b.b,b.a)},Yfa:function(){var b=this.sh;return C.color(b.r,b.g,b.b,b.a)},K7:function(b){this.jc=b;switch(this.Ql){case N.iC:this.ef.D(b);break;case N.hC:this.$c.D(b)}},Vfa:x("jc"),M7:function(b){this.Cf.x=b.x;this.Cf.y=b.y;this.$c&&this.$c.sJ(b)},Xfa:x("Cf"),Bma:function(b){this.mk.r=b.r;this.mk.g=b.g;this.mk.b=b.b;this.eP()},Cma:function(b){this.mk.a=b;this.h3()},
- h3:function(){var b=this.mk;return C.color(b.r,b.g,b.b,b.a)},$fa:function(){return this.mk.a},eP:function(){this.bc&&this.bc.z(this.mk)},aga:x("Ix"),ak:function(b){this.gm=b;b=this.i;for(var c=p,e=0;e<b.length;e++)c=b[e],c instanceof L&&this.ZS(c);this.oe=n},Gh:x("gm"),Rla:function(){this.oe=n},qh:function(){if(this.oe){var b=this.KY();b&&b.qh(this);this.oe=q}},KY:function(){var b=p;switch(this.gm){case N.jk:b=ma.create();break;case N.ik:b=na.create();break;case N.vp:b=oa.create()}return b},YE:function(){return this.d()},
- ZE:function(){return this.kd()},Fca:t(),Yba:t(),Cca:t(),Dca:t(),z_:t(),z_:t(),Zca:function(){this.bc&&this.bc.D(this.dM)},$ca:function(){this.bc&&(this.bc.z(this.mk),this.bc.D(this.dM))},uN:function(){for(var b=this.kd(),c=H(0,0),e=0,f,g=0,h=b.length;g<h;g++)if(f=b[g],p!=f&&f instanceof N)f=f.uN(),c.width+=f.width,c.height+=f.height;else if(f instanceof L){e++;var m=w.Tg().hf;f=w.d();c.width+=f.width+0.5*(m.right+m.left);c.height+=f.height+0.5*(m.top+m.bottom)}b=this.Gh();b==N.ik&&(c.height-=c.height/
- e*(e-1));b==N.jk&&(c.width-=c.width/e*(e-1));return c},Gt:function(b,c){if(c==p||c==this)return this.eN();var e=0,f=this.kd(),g=f.length,h,m=C.zs,r=0;if(b==L.Th||b==L.hh||b==L.Sh||b==L.jh){for(h=this.uj(c);e<g;){var s=f[e];s&&(s instanceof L&&s.lg)&&(s=s instanceof N?s.kM(c):C.Ce(C.bb(this.uj(s),h)),s<m&&(r=e,m=s));e++}return r}C.assert(0,"invalid focus direction!");return 0},vy:function(b,c){if(c==p||c==this)return this.eN();var e=0,f=this.kd().size(),g=-C.zs,h=0;if(b==L.Th||b==L.hh||b==L.Sh||b==
- L.jh){for(var m=this.uj(c);e<f;){if(w&&w instanceof L&&w.lg){var r=w instanceof N?w.jM(c):C.Ce(C.bb(this.uj(w),m));r>g&&(h=e,g=r)}e++}return h}C.assert(0,"invalid focus direction!!!");return 0},kM:function(b){for(var c=C.zs,e=this.uj(b),f=this.i,g=0,h=f.length;g<h;g++){var m=f[g];if(m instanceof N)m=m.kM(b);else if(m instanceof L&&m.lg)m=C.Ce(C.bb(this.uj(m),e));else continue;m<c&&(c=m)}return c},jM:function(b){for(var c=-C.zs,e=this.uj(b),f=this.i,g=0,h=f.length;g<h;g++){var m=f[g];if(m instanceof
- N)m=m.jM(b);else if(m instanceof L&&m.lg)m=this.uj(w),m=C.Ce(C.bb(m,e));else continue;m>c&&(c=m)}return c},YY:function(b,c){if(c!=p){var e=this.uj(c),f=this.uj(this.fN());b==L.Th?this.zr=e.x>f.x?this.Gt.bind(this):this.vy.bind(this):b==L.hh?this.zr=e.x>f.x?this.vy.bind(this):this.Gt.bind(this):b==L.Sh?this.zr=e.y>f.y?this.Gt.bind(this):this.vy.bind(this):b==L.jh?this.zr=e.y<f.y?this.Gt.bind(this):this.vy.bind(this):C.assert(0,"invalid direction!")}},fN:function(){for(var b=this.i,c=0,e=b.length;c<
- e;c++){var f=b[c];if(f instanceof N){if(f=f.fN())return f}else if(f instanceof C.qba)return f}return p},eN:function(){for(var b=0,c=this.kd(),e=c.length;b<e;){var f=c[b];if(f&&f instanceof L&&f.lg)return b;b++}return 0},XY:function(b){var c=this.gq(b);return c?c.lg?c:this.XY(b+1):p},uj:function(b){var c=b instanceof N?b.uN():b.d();return b.Oj(F(c.width/2,c.height/2))},By:function(b,c){var e=p,e=this.i,f=e.indexOf(c),f=f+1;if(f<e.length){if(e=this.gq(f)){if(e.lg){if(e instanceof N)return e.Bk=n,e.xd(b,
- e);this.Eo(c,e);return e}return this.By(b,e)}return c}if(this.In){if(this.jE()){e=this.gq(0);if(e.lg){if(e instanceof N)return e.Bk=n,e.xd(b,e);this.Eo(c,e);return e}return this.By(b,e)}return c instanceof N?c:this.bi}return this.xj(c,b)?this.Fn(this,b)?this.xd(b,this):c instanceof N?c:this.bi:this.xd(b,this)},Cy:function(b,c){var e=p,e=this.i,f=e.indexOf(c),f=f-1;if(0<=f){e=this.gq(f);if(e.lg){if(e instanceof N)return e.Bk=n,e.xd(b,e);this.Eo(c,e);return e}return this.Cy(b,e)}if(this.In){if(this.jE()){f=
- e.length-1;e=this.gq(f);if(e.lg){if(e instanceof N)return e.Bk=n,e.xd(b,e);this.Eo(c,e);return e}return this.Cy(b,e)}return c instanceof N?c:this.bi}return this.xj(c,b)?this.Fn(this,b)?this.xd(b,this):c instanceof N?c:this.bi:this.xd(b,this)},gq:function(b){for(var c=this.i,e=c.length,f=0,g=b;b<e;){var h=c[b];if(h&&h instanceof L)return h;f++;b++}for(b=0;b<g;){if((e=c[b])&&e instanceof L)return e;f++;b++}return p},xj:function(b,c){var e=b.getParent();if(e instanceof N)return n;var f=e.kd(),g=f.indexOf(b);
- if(e.Gh()==N.ik){if(c==L.Th)return 0==g?1*this.xj(e,c):q;if(c==L.hh)return g==f.length-1?1*this.xj(e,c):q;if(c==L.Sh||c==L.jh)return this.xj(e,c)}else if(e.Gh()==N.jk){if(c==L.jh)return 0==g?1*this.xj(e,c):q;if(c==L.Sh)return g==f.length-1?1*this.xj(e,c):q;if(c==L.Th||c==L.hh)return this.xj(e,c)}else C.assert(0,"invalid layout Type");return q},Fn:function(b,c){var e=b.getParent();if(e==p)return q;if(e.In){var f=e.Gh();if(f==N.ik)return c==L.Th||c==L.hh?n:this.Fn(e,c);if(f==N.jk)return c==L.Sh||c==
- L.jh?n:this.Fn(e,c);C.assert(0,"invalid layout type")}else return this.Fn(e,c)},Nn:function(b,c){if(this.jE()){var e=this.bi;this.YY(b,e);e=this.zr(b,e);e=this.gq(e);if(e instanceof N)return e.Bk=n,e.xd(b,e);this.Eo(c,e);return e}return this},jE:function(){for(var b=this.i,c=0,e=b.length;c<e;c++){var f=b[c];if(f&&f instanceof L&&f.lg)return n}return q},ug:A("Layout"),Ue:function(){return N.create()},Bo:function(b){L.prototype.Bo.call(this,b)},qf:function(b){this.N7(b.Jl);this.TR(b.Hx,b.jt);this.UR(b.it);
- this.L7(b.Ql);this.SR(b.Va);this.SR(b.Jj,b.sh);this.K7(b.jc);this.M7(b.Cf);this.ak(b.gm);this.Lr(b.rk);this.ZR(b.sk);this.In=b.In;this.Nn=b.Nn}});N.Ly=p;N.so=p;N.hi=p;N.qu=p;C.ca==C.Nb?(N.prototype.xJ=N.prototype.W0,N.prototype.RI=N.prototype.a0):(N.prototype.xJ=N.prototype.VO,N.prototype.RI=N.prototype.VO);N.bF=function(){return C.Mb.qu||(C.Mb.qu=C.Uc("canvas"))};D=N.prototype;C.c(D,"clippingEnabled",D.I5,D.Lr);C.c(D,"clippingType",p,D.ZR);C.c(D,"layoutType",D.Gh,D.ak);D=p;N.create=function(){return new N};
- N.NJ=0;N.iC=1;N.hC=2;N.xT=0;N.jk=1;N.ik=2;N.vp=3;N.ow=0;N.UJ=1;N.GT=-2;N.LJ=-2;var pa=ka.extend({left:0,top:0,right:0,bottom:0,ctor:function(b,c,e,f){b&&c===k&&(this.left=b.left,this.top=b.top,this.right=b.right,this.bottom=b.bottom);f!==k&&(this.left=b,this.top=c,this.right=e,this.bottom=f)},ol:function(b,c,e,f){this.left=b;this.top=c;this.right=e;this.bottom=f},ifa:function(b){return this.left==b.left&&this.top==b.top&&this.right==b.right&&this.bottom==b.bottom}});function ua(){return new pa(0,0,0,0)}
- var M=ka.extend({hf:p,fm:p,ctor:function(){this.hf=new pa;this.fm=M.NONE},ol:function(b,c,e,f){"object"===typeof b?(this.hf.left=b.left,this.hf.top=b.top,this.hf.right=b.right,this.hf.bottom=b.bottom):(this.hf.left=b,this.hf.top=c,this.hf.right=e,this.hf.bottom=f)},cha:x("hf"),Gh:x("fm"),j:function(){var b=this.Ue();b.Co(this);return b},Ue:function(){return M.create()},Co:function(b){this.hf=b.hf}});M.create=function(){return new M};M.NONE=0;M.LINEAR=1;M.vp=2;
- var O=M.extend({wq:p,ctor:function(){M.prototype.ctor.call(this);this.wq=O.NONE;this.fm=M.LINEAR},$f:v("wq"),Sga:x("wq"),Ue:function(){return O.create()},Co:function(b){M.prototype.Co.call(this,b);b&&(this.QR(b.Tn),this.xS(b.Gq),this.yS(b.Hq),this.$f(b.wq))}});O.create=function(){return new O};O.NONE=0;O.Th=1;O.HL=2;O.hh=3;O.jC=4;O.tC=5;O.sC=6;
- var R=M.extend({Tn:p,Hq:"",Gq:"",jf:q,ctor:function(){M.prototype.ctor.call(this);this.Tn=R.NONE;this.Gq=this.Hq="";this.jf=q;this.fm=M.vp},QR:v("Tn"),Nfa:x("Tn"),yS:v("Hq"),Eha:x("Hq"),xS:v("Gq"),Dha:x("Gq"),Ue:function(){return R.create()},Co:function(b){M.prototype.Co.call(this,b);this.QR(b.Tn);this.yS(b.Hq);this.xS(b.Gq)}});R.create=function(){return new R};R.NONE=0;R.dL=1;R.cL=2;R.eL=3;R.$K=4;R.aU=5;R.bL=6;R.ZK=7;R.YK=8;R.aL=9;R.GK=10;R.FK=11;R.HK=12;R.NK=13;R.MK=14;R.LK=15;R.QK=16;R.PK=17;
- R.OK=18;R.JK=19;R.IK=20;R.KK=21;var va=ka.extend({qh:t()}),ma=va.extend({qh:function(b){var c=b.YE();b=b.ZE();for(var e=c.height,f=0,g=b.length;f<g;f++){var h=b[f];if(h){var m=h.Tg();if(m){var r=m.wq,s=h.Da,u=h.d(),y=s.x*u.width,e=e-(1-s.y)*u.height;switch(r){case O.hh:y=c.width-(1-s.x)*u.width;break;case O.sC:y=c.width/2-u.width*(0.5-s.x)}m=m.hf;y+=m.left;e-=m.top;h.q(y,e);e=h.Q.y-h.Da.y*h.d().height-m.bottom}}}}});ma.create=function(){return new ma};
- var na=va.extend({qh:function(b){var c=b.YE();b=b.ZE();for(var e=0,f=0,g=b.length;f<g;f++){var h=b[f];if(h){var m=h.Tg();if(m){var r=h.Da,s=h.gv(),e=e+r.x*s.width,u=c.height-(1-r.y)*s.height;switch(m.wq){case O.jC:u=r.y*s.height;break;case O.tC:u=c.height/2-s.height*(0.5-r.y)}m=m.hf;e+=m.left;u-=m.top;h.q(e,u);e=h.Db()+m.right}}}}});na.create=function(){return new na};
- var oa=va.extend({RG:p,mA:p,Mu:p,S:0,T:0,vc:p,qh:function(b){for(var c=this.mA=this.gZ(b);0<this.RG;){for(var e=0,f=c.length;e<f;e++){this.Mu=c[e];var g=this.Mu.Tg();g&&!g.jf&&this.rY(b)&&(this.qY(),this.Mu.q(this.S,this.T),g.jf=n)}this.RG--}this.mA.length=0},gZ:function(b){b=b.ZE();for(var c=[],e=0,f=b.length;e<f;e++){var g=b[e];g&&(g.Tg().jf=q,this.RG++,c.push(g))}return c},EZ:function(b){var c=p;if((b=b.Tg().Hq)&&0!=b.length)for(var e=this.mA,f=0,g=e.length;f<g;f++){var h=e[f];if(h){var m=h.Tg();
- if(m&&m.Gq==b){c=h;this.vc=m;break}}}return c},rY:function(b){var c=this.Mu,e=c.Da,f=c.d();this.T=this.S=0;var g=this.EZ(c),c=c.Tg().Tn;b=b.YE();switch(c){case R.NONE:case R.dL:this.S=e.x*f.width;this.T=b.height-(1-e.y)*f.height;break;case R.cL:this.S=0.5*b.width-f.width*(0.5-e.x);this.T=b.height-(1-e.y)*f.height;break;case R.eL:this.S=b.width-(1-e.x)*f.width;this.T=b.height-(1-e.y)*f.height;break;case R.$K:this.S=e.x*f.width;this.T=0.5*b.height-f.height*(0.5-e.y);break;case R.aU:this.S=0.5*b.width-
- f.width*(0.5-e.x);this.T=0.5*b.height-f.height*(0.5-e.y);break;case R.bL:this.S=b.width-(1-e.x)*f.width;this.T=0.5*b.height-f.height*(0.5-e.y);break;case R.ZK:this.S=e.x*f.width;this.T=e.y*f.height;break;case R.YK:this.S=0.5*b.width-f.width*(0.5-e.x);this.T=e.y*f.height;break;case R.aL:this.S=b.width-(1-e.x)*f.width;this.T=e.y*f.height;break;case R.GK:if(g){if(this.vc&&!this.vc.jf)return q;var c=g.Ic(),h=g.xb();this.T=c+e.y*f.height;this.S=h+e.x*f.width}break;case R.FK:if(g){if(this.vc&&!this.vc.jf)return q;
- b=g.d();c=g.Ic();this.T=c+e.y*f.height;this.S=g.xb()+0.5*b.width+e.x*f.width-0.5*f.width}break;case R.HK:if(g){if(this.vc&&!this.vc.jf)return q;c=g.Ic();h=g.Db();this.T=c+e.y*f.height;this.S=h-(1-e.x)*f.width}break;case R.NK:if(g){if(this.vc&&!this.vc.jf)return q;c=g.Ic();h=g.xb();this.T=c-(1-e.y)*f.height;this.S=h-(1-e.x)*f.width}break;case R.MK:if(g){if(this.vc&&!this.vc.jf)return q;b=g.d();h=g.xb();this.S=h-(1-e.x)*f.width;this.T=g.Zb()+0.5*b.height+e.y*f.height-0.5*f.height}break;case R.LK:if(g){if(this.vc&&
- !this.vc.jf)return q;c=g.Zb();h=g.xb();this.T=c+e.y*f.height;this.S=h-(1-e.x)*f.width}break;case R.QK:if(g){if(this.vc&&!this.vc.jf)return q;c=g.Ic();h=g.Db();this.T=c-(1-e.y)*f.height;this.S=h+e.x*f.width}break;case R.PK:if(g){if(this.vc&&!this.vc.jf)return q;b=g.d();h=g.Db();this.S=h+e.x*f.width;this.T=g.Zb()+0.5*b.height+e.y*f.height-0.5*f.height}break;case R.OK:if(g){if(this.vc&&!this.vc.jf)return q;c=g.Zb();h=g.Db();this.T=c+e.y*f.height;this.S=h+e.x*f.width}break;case R.JK:if(g){if(this.vc&&
- !this.vc.jf)return q;c=g.Zb();h=g.xb();this.T=c-(1-e.y)*f.height;this.S=h+e.x*f.width}break;case R.IK:if(g){if(this.vc&&!this.vc.jf)return q;b=g.d();c=g.Zb();this.T=c-(1-e.y)*f.height;this.S=g.xb()+0.5*b.width+e.x*f.width-0.5*f.width}break;case R.KK:if(g){if(this.vc&&!this.vc.jf)return q;c=g.Zb();h=g.Db();this.T=c-(1-e.y)*f.height;this.S=h-(1-e.x)*f.width}}return n},qY:function(){var b=this.Mu.Tg(),c=b.hf;switch(b.Tn){case R.NONE:case R.dL:this.S+=c.left;this.T-=c.top;break;case R.cL:this.T-=c.top;
- break;case R.eL:this.S-=c.right;this.T-=c.top;break;case R.$K:this.S+=c.left;break;case R.bL:this.S-=c.right;break;case R.ZK:this.S+=c.left;this.T+=c.bottom;break;case R.YK:this.T+=c.bottom;break;case R.aL:this.S-=c.right;this.T+=c.bottom;break;case R.GK:this.T+=c.bottom;this.S+=c.left;break;case R.HK:this.T+=c.bottom;this.S-=c.right;break;case R.FK:this.T+=c.bottom;break;case R.NK:this.S-=c.right;this.T-=c.top;break;case R.LK:this.S-=c.right;this.T+=c.bottom;break;case R.MK:this.S-=c.right;break;
- case R.QK:this.S+=c.left;this.T-=c.top;break;case R.OK:this.S+=c.left;this.T+=c.bottom;break;case R.PK:this.S+=c.left;break;case R.JK:this.T-=c.top;this.S+=c.left;break;case R.KK:this.T-=c.top;this.S-=c.right;break;case R.IK:this.T-=c.top}}});oa.create=function(){return new oa};var wa=N.extend({s:function(){return N.prototype.s.call(this)?(this.ak(N.ik),n):q},rv:function(b){return this.s()?(this.ew(b),n):q}});wa.create=function(b){var c=new wa;return b?c.rv()?c:p:c};var xa=N.extend({s:function(){return N.prototype.s.call(this)?(this.ak(N.vp),n):q},rv:function(b){return this.s()?(this.ew(b),n):q}});xa.create=function(b){var c=new xa;return b?c.rv()?c:p:c};var ya=N.extend({s:function(){return N.prototype.s.call(this)?(this.ak(N.pba),n):q},rv:function(b){return this.s()?(this.ew(b),n):q}});ya.create=function(b){var c=new ya;return b?c.rv()?c:p:c};var S=L.extend({ga:p,Oa:p,Ua:p,Md:p,yF:"",lE:"",BE:"",Qc:n,I:q,Np:p,Op:p,Mp:p,bu:L.Z,iu:L.Z,zt:L.Z,lm:p,QF:p,DE:p,wB:q,Tz:p,Kn:1,Ln:1,Qn:1,Rn:1,x_:q,PF:q,NY:q,$d:n,ha:"Button",zF:n,OF:n,CE:n,Hb:"Thonburi",Ib:12,Yb:0,ctor:function(){this.Np=J(0,0,0,0);this.Op=J(0,0,0,0);this.Mp=J(0,0,0,0);var b=this.L;this.lm=H(b.width,b.height);this.QF=H(b.width,b.height);this.DE=H(b.width,b.height);this.Tz=C.color.WHITE;L.prototype.ctor.call(this)},s:function(b,c,e,f){if(L.prototype.s.call(this)){this.vf(n);if(b===
- k)return n;this.Wj(b,c,e,f)}return q},Ug:function(){this.ga=C.t.create();this.Oa=C.t.create();this.Ua=C.t.create();this.Md=C.H.create("");this.Qb(this.ga,S.VK,-1);this.Qb(this.Oa,S.rL,-1);this.Qb(this.Ua,S.fK,-1);this.Qb(this.Md,S.cX,-1)},ep:function(b){this.I!=b&&(this.on=L.lC,this.I=b,this.rf(this.ga),this.rf(this.Oa),this.rf(this.Ua),this.I?(this.ga=C.ea.create(),this.Oa=C.ea.create(),this.Ua=C.ea.create()):(this.ga=C.t.create(),this.Oa=C.t.create(),this.Ua=C.t.create()),this.wI(this.yF,this.bu),
- this.xI(this.lE,this.iu),this.vI(this.BE,this.zt),this.Qb(this.ga,S.VK,-1),this.Qb(this.Oa,S.rL,-1),this.Qb(this.Ua,S.fK,-1),this.I?(b=this.Ka,this.Sd(q),this.Qc=b):this.Sd(this.Qc),this.WI(this.Np),this.XI(this.Op),this.VI(this.Mp),this.DB(this.nn))},pI:x("I"),Sd:function(b){if(!this.I||this.I&&!b)L.prototype.Sd.call(this,b),this.Qc=b},Hi:x("lm"),Wj:function(b,c,e,f){this.wI(b,f);this.xI(c,f);this.vI(e,f)},wI:function(b,c){if(b){c=c||L.Z;this.yF=b;this.bu=c;if(this.I){var e=this.ga;switch(this.bu){case L.Z:e.Be(b);
- break;case L.Cd:e.Uj(b)}e.nc(this.Np)}else switch(e=this.ga,this.bu){case L.Z:e.cb(b);break;case L.Cd:e.Jc(b)}this.lm=this.ga.d();this.wg();this.Yg();this.ga.z(this.Ga());this.ga.D(this.Ma());this.wd(this.lm);this.zF=this.x_=n}},xI:function(b,c){if(b){c=c||L.Z;this.lE=b;this.iu=c;if(this.I){var e=this.Oa;switch(this.iu){case L.Z:e.Be(b);break;case L.Cd:e.Uj(b)}e.nc(this.Op)}else switch(e=this.Oa,this.iu){case L.Z:e.cb(b);break;case L.Cd:e.Jc(b)}this.QF=this.Oa.d();this.wg();this.Yg();this.Ua.z(this.Ga());
- this.Ua.D(this.Ma());this.OF=this.PF=n}},vI:function(b,c){if(b){c=c||L.Z;this.BE=b;this.zt=c;if(this.I){var e=this.Ua;switch(this.zt){case L.Z:e.Be(b);break;case L.Cd:e.Uj(b)}e.nc(this.Mp)}else switch(e=this.Ua,this.zt){case L.Z:e.cb(b);break;case L.Cd:e.Jc(b)}this.DE=this.Ua.d();this.wg();this.Yg();this.Ua.z(this.Ga());this.Ua.D(this.Ma());this.CE=this.NY=n}},nc:function(b){this.WI(b);this.XI(b);this.VI(b)},WI:function(b){this.Np=b;this.I&&this.ga.nc(b)},kga:x("Np"),XI:function(b){this.Op=b;this.I&&
- this.Oa.nc(b)},lga:x("Op"),VI:function(b){this.Mp=b;this.I&&this.Ua.nc(b)},jga:x("Mp"),Jv:function(){this.ga.ka(n);this.Oa.ka(q);this.Ua.ka(q);if(this.PF){if(this.wB){this.ga.pl();this.Oa.pl();var b=C.Af.create(0.05,this.Kn,this.Ln);this.ga.Ze(b);this.Oa.ra(this.Qn,this.Rn)}}else this.I?this.E9():(this.ga.pl(),this.ga.ra(this.Kn,this.Ln))},Kv:function(){if(this.PF){if(this.ga.ka(q),this.Oa.ka(n),this.Ua.ka(q),this.wB){this.ga.pl();this.Oa.pl();var b=C.Af.create(0.05,this.Qn+0.1,this.Rn+0.1);this.Oa.Ze(b);
- this.ga.ra(this.Qn+0.1,this.Rn+0.1)}}else this.ga.ka(n),this.Oa.ka(n),this.Ua.ka(q),this.I?this.ga.z(C.bg.GRAY):(this.ga.pl(),this.ga.ra(this.Kn+0.1,this.Ln+0.1))},Ar:function(){this.ga.ka(q);this.Oa.ka(q);this.Ua.ka(n);this.ga.ra(this.Kn,this.Ln);this.Oa.ra(this.Qn,this.Rn)},Ad:function(b){this.Md.Ad(b);this.I||(this.ga.Ad(b),this.Oa.Ad(b),this.Ua.Ad(b))},Xma:function(b){this.Md.tf(b);this.I||(this.ga.tf(b),this.Oa.tf(b),this.Ua.tf(b))},wv:function(){return this.I?q:this.ga.wv()},xv:function(){return this.I?
- q:this.ga.xv()},wg:function(){var b=this.Ja?-1:1;this.Md.yb(b);this.I?(this.ga.yb(b),this.Oa.yb(b),this.Ua.yb(b)):(this.ga.Ad(this.Ja),this.Oa.Ad(this.Ja),this.Ua.Ad(this.Ja))},Yg:function(){var b=this.La?-1:1;this.Md.Kb(b);this.I?(this.ga.Kb(b),this.Oa.Kb(b),this.Ua.Kb(b)):(this.ga.tf(this.La),this.Oa.tf(this.La),this.Ua.tf(this.La))},E9:function(){this.ga.z(this.Ga());this.Oa.z(this.Ga());this.Ua.z(this.Ga());this.ga.D(this.Ma());this.Oa.D(this.Ma());this.Ua.D(this.Ma())},J:function(b,c){c===k?
- (L.prototype.J.call(this,b),this.ga.J(b),this.Oa.J(b),this.Ua.J(b)):(L.prototype.J.call(this,b,c),this.ga.J(b,c),this.Oa.J(b,c),this.Ua.J(b,c));this.Md.q(this.L.width*(0.5-this.Da.x),this.L.height*(0.5-this.Da.y))},sd:function(b){L.prototype.sd.call(this,b);this.ga.sd(b);this.Oa.sd(b);this.Ua.sd(b);this.Md.Or(this.L.width*(0.5-this.Da.x))},td:function(b){L.prototype.td.call(this,b);this.ga.td(b);this.Oa.td(b);this.Ua.td(b);this.Md.bw(this.L.height*(0.5-this.Da.y))},lb:function(){L.prototype.lb.call(this);
- this.F9();this.eR();this.rR();this.PP()},d:x("lm"),pd:function(){return this.I?this.L.width:this.lm.width},pe:function(){return this.I?this.L.height:this.lm.height},al:function(){if(this.nn)switch(this.on){case L.ds:return this.ga;case L.kC:return this.Oa;default:return p}else return this.Ua},eR:function(){if(this.Ka)this.I||(this.ga.ra(1),this.Kn=this.Ln=1);else if(this.I)this.ga.Bd(this.L),this.Kn=this.Ln=1;else{var b=this.lm;if(0>=b.width||0>=b.height){this.ga.ra(1);return}var c=this.L.width/b.width,
- b=this.L.height/b.height;this.ga.yb(c);this.ga.Kb(b);this.Kn=c;this.Ln=b}this.ga.q(this.f.width/2,this.f.height/2)},rR:function(){if(this.Ka)this.I||(this.Oa.ra(1),this.Qn=this.Rn=1);else if(this.I)this.Oa.Bd(this.L),this.Qn=this.Rn=1;else{var b=this.QF;if(0>=b.width||0>=b.height){this.Oa.ra(1);return}var c=this.L.width/b.width,b=this.L.height/b.height;this.Oa.yb(c);this.Oa.Kb(b);this.Qn=c;this.Rn=b}this.Oa.q(this.f.width/2,this.f.height/2)},PP:function(){if(this.Ka)this.I||this.Ua.ra(1);else if(this.I)this.Ua.Bd(this.L);
- else{var b=this.DE;if(0>=b.width||0>=b.height){this.Ua.ra(1);return}var c=this.L.height/b.height;this.Ua.yb(this.L.width/b.width);this.Ua.Kb(c)}this.Ua.q(this.f.width/2,this.f.height/2)},Bi:function(){this.zF&&(this.eR(),this.zF=q);this.OF&&(this.rR(),this.OF=q);this.CE&&(this.PP(),this.CE=q)},F9:function(){this.Md.q(0.5*this.f.width,0.5*this.f.height)},y8:v("wB"),Qr:function(b){this.Md.V(b)},$H:function(){return this.Md.Eb()},JS:function(b){this.Tz.r=b.r;this.Tz.g=b.g;this.Tz.b=b.b;this.Md.fb(b)},
- nQ:function(){return this.Md.Ga()},WB:function(b){this.Md.uf(b)},pQ:function(){return this.Md.Fi()},KS:function(b){this.Md.Zf(b)},oQ:function(){return this.Md.Qj()},H0:function(b){this.Md.font=b},KZ:function(){return this.Md.font},kw:function(){this.wf(this.ga);this.wf(this.Oa);this.wf(this.Ua)},ug:A("Button"),Ue:function(){return S.create()},qf:function(b){this.Qc=b.Qc;this.ep(b.I);this.wI(b.yF,b.bu);this.xI(b.lE,b.iu);this.vI(b.BE,b.zt);this.WI(b.Np);this.XI(b.Op);this.VI(b.Mp);this.Qr(b.$H());
- this.KS(b.oQ());this.WB(b.pQ());this.JS(b.nQ());this.y8(b.wB)}}),D=S.prototype;C.c(D,"titleText",D.$H,D.Qr);C.c(D,"titleFont",D.KZ,D.H0);C.c(D,"titleFontSize",D.pQ,D.WB);C.c(D,"titleFontName",D.oQ,D.KS);C.c(D,"titleColor",D.nQ,D.JS);D=p;S.create=function(b,c,e,f){var g=new S;if(b===k)return g;g.s(b,c,e,f)};S.VK=-2;S.rL=-2;S.fK=-2;S.cX=-1;S.CL=0;S.dX=1;var T=L.extend({Ob:p,Cc:p,Oc:p,Bc:p,Gc:p,mg:n,rn:p,sn:p,qn:p,WD:L.Z,VD:L.Z,SE:L.Z,UD:L.Z,RE:L.Z,cM:"",eM:"",qN:"",bM:"",pN:"",ha:"CheckBox",Gx:n,Jx:n,Ay:n,Fx:n,zy:n,ctor:function(){L.prototype.ctor.call(this)},s:function(b,c,e,f,g,h){return L.prototype.s.call(this)?(this.mg=n,this.vf(n),b===k&&this.Wj(b,c,e,f,g,h),n):q},Ug:function(){this.Ob=C.t.create();this.Cc=C.t.create();this.Oc=C.t.create();this.Bc=C.t.create();this.Gc=C.t.create();this.Qb(this.Ob,T.JT,-1);this.Qb(this.Cc,T.KT,-1);this.Qb(this.Oc,
- T.WU,-1);this.Qb(this.Bc,T.IT,-1);this.Qb(this.Gc,T.VU,-1);window.test=[this.Ob,this.Cc,this.Oc,this.Bc,this.Gc];window.a=this},Wj:function(b,c,e,f,g,h){this.VQ(b,h);this.XQ(c,h);this.YQ(e,h);this.WQ(f,h);this.ZQ(g,h)},VQ:function(b,c){if(b){c=c||L.Z;this.cM=b;this.WD=c;var e=this.Ob;switch(this.WD){case L.Z:e.cb(b);break;case L.Cd:e.Jc(b)}this.gH();e.Y||(this.Ob.ja(this.sa),e.Hc(function(){this.gH()},this));this.wg();this.Yg();this.Ob.z(this.Ga());this.Ob.D(this.Ma());this.wd(this.Ob.d());this.Gx=
- n}},XQ:function(b,c){if(b){c=c||L.Z;this.eM=b;this.VD=c;switch(this.VD){case L.Z:this.Cc.cb(b);break;case L.Cd:this.Cc.Jc(b)}this.wg();this.Yg();this.Cc.z(this.Ga());this.Cc.D(this.Ma());this.Jx=n}},YQ:function(b,c){if(b){c=c||L.Z;this.qN=b;this.SE=c;switch(this.SE){case L.Z:this.Oc.cb(b);break;case L.Cd:this.Oc.Jc(b)}this.wg();this.Yg();this.Oc.z(this.Ga());this.Oc.D(this.Ma());this.Ay=n}},WQ:function(b,c){if(b){c=c||L.Z;this.bM=b;this.UD=c;switch(this.UD){case L.Z:this.Bc.cb(b);break;case L.Cd:this.Bc.Jc(b)}this.wg();
- this.Yg();this.Bc.z(this.Ga());this.Bc.D(this.Ma());this.Fx=n}},ZQ:function(b,c){if(b){c=c||L.Z;this.pN=b;this.RE=c;switch(this.RE){case L.Z:this.Gc.cb(b);break;case L.Cd:this.Gc.Jc(b)}this.wg();this.Yg();this.Gc.z(this.Ga());this.Gc.D(this.Ma());this.zy=n}},Jv:function(){this.Ob.ka(n);this.Cc.ka(q);this.Bc.ka(q);this.Gc.ka(q)},Kv:function(){this.Ob.ka(q);this.Cc.ka(n);this.Bc.ka(q);this.Gc.ka(q)},Ar:function(){this.Ob.ka(q);this.Cc.ka(q);this.Bc.ka(n);this.Oc.ka(q);this.mg&&this.Gc.ka(n)},SB:function(b){b!=
- this.mg&&(this.mg=b,this.Oc.ka(this.mg))},F4:x("mg"),E7:function(){this.qn&&this.qn(this,T.tK);this.rn&&this.sn&&this.sn.call(this.rn,this,T.tK)},w9:function(){this.qn&&this.qn(this,T.vK);this.rn&&this.sn&&this.sn.call(this.rn,this,T.vK)},KI:function(){L.prototype.KI.call(this);this.mg?(this.SB(q),this.w9()):(this.SB(n),this.E7())},jda:function(b,c){this.sn=b;this.rn=c},addEventListener:v("qn"),Hi:function(){return this.Ob.d()},wg:function(){this.Ob.Ad(this.Ja);this.Cc.Ad(this.Ja);this.Oc.Ad(this.Ja);
- this.Bc.Ad(this.Ja);this.Gc.Ad(this.Ja)},Yg:function(){this.Ob.tf(this.La);this.Cc.tf(this.La);this.Oc.tf(this.La);this.Bc.tf(this.La);this.Gc.tf(this.La)},J:function(b,c){c===k?(L.prototype.J.call(this,b),this.Ob.J(b),this.Cc.J(b),this.Bc.J(b),this.Oc.J(b),this.Gc.J(b)):(L.prototype.J.call(this,b,c),this.Ob.J(b,c),this.Cc.J(b,c),this.Bc.J(b,c),this.Oc.J(b,c),this.Gc.J(b,c))},sd:function(b){L.prototype.sd.call(this,b);this.Ob.sd(b);this.Cc.sd(b);this.Bc.sd(b);this.Oc.sd(b);this.Gc.sd(b)},td:function(b){L.prototype.td.call(this,
- b);this.Ob.td(b);this.Cc.td(b);this.Bc.td(b);this.Oc.td(b);this.Gc.td(b)},lb:function(){L.prototype.lb.call(this);this.zy=this.Fx=this.Ay=this.Jx=this.Gx=n},d:function(){return this.Ob.d()},pd:function(){return this.Ob.pd()},pe:function(){return this.Ob.pe()},al:x("Ob"),gH:function(){if(this.Ka)this.Ob.ra(1);else{var b=this.Ob.d();if(0>=b.width||0>=b.height){this.Ob.ra(1);return}var c=this.L.height/b.height;this.Ob.yb(this.L.width/b.width);this.Ob.Kb(c)}b=this.f.width/2;c=this.f.height/2;this.Ob.q(b,
- c);this.Cc.q(b,c);this.Oc.q(b,c);this.Bc.q(b,c);this.Gc.q(b,c)},R1:function(){if(this.Ka)this.Cc.ra(1);else{var b=this.Cc.d();if(0>=b.width||0>=b.height)this.Cc.ra(1);else{var c=this.L.height/b.height;this.Cc.yb(this.L.width/b.width);this.Cc.Kb(c)}}},e3:function(){if(this.Ka)this.Oc.ra(1);else{var b=this.Oc.d();if(0>=b.width||0>=b.height)this.Oc.ra(1);else{var c=this.L.height/b.height;this.Oc.yb(this.L.width/b.width);this.Oc.Kb(c)}}},Q1:function(){if(this.Ka)this.Bc.ra(1);else{var b=this.Bc.d();if(0>=
- b.width||0>=b.height)this.Bc.ra(1);else{var c=this.L.height/b.height;this.Bc.yb(this.L.width/b.width);this.Bc.Kb(c)}}},d3:function(){if(this.Ka)this.Gc.ra(1);else{var b=this.Gc.d();if(0>=b.width||0>=b.height)this.Gc.ra(1);else{var c=this.L.height/b.height;this.Gc.yb(this.L.width/b.width);this.Gc.Kb(c)}}},kw:function(){this.wf(this.Ob);this.wf(this.Cc);this.wf(this.Oc);this.wf(this.Bc);this.wf(this.Gc)},Zr:function(){this.$g(this.Ob);this.$g(this.Cc);this.$g(this.Oc);this.$g(this.Bc);this.$g(this.Gc)},
- ug:A("CheckBox"),Ue:function(){return T.create()},qf:function(b){b instanceof T&&(this.VQ(b.cM,b.WD),this.XQ(b.eM,b.VD),this.YQ(b.qN,b.SE),this.WQ(b.bM,b.UD),this.ZQ(b.pN,b.RE),this.SB(b.mg),this.rn=b.rn,this.sn=b.sn,this.qn=b.qn)},Bi:function(){this.Gx&&(this.gH(),this.Gx=q);this.Jx&&(this.R1(),this.Jx=q);this.Ay&&(this.e3(),this.Ay=q);this.Fx&&(this.Q1(),this.Fx=q);this.zy&&(this.d3(),this.zy=q)}}),D=T.prototype;C.c(D,"selected",D.F4,D.SB);D=p;
- T.create=function(b,c,e,f,g,h){var m=new T;b===k?m.s():m.s(b,c,e,f,g,h);return m};T.tK=0;T.vK=1;T.JT=-1;T.KT=-1;T.IT=-1;T.WU=-1;T.VU=-1;var za=L.extend({I:q,Qc:n,Zc:p,dc:p,ui:"",Jy:L.Z,fi:p,ha:"ImageView",Iy:n,ctor:function(){this.Zc=J(0,0,0,0);this.fi=H(this.L.width,this.L.height);L.prototype.ctor.call(this)},s:function(b,c){L.prototype.s.call(this);b!==k&&this.Mh(b,c);return n},Ug:function(){this.dc=C.t.create();this.Qb(this.dc,za.Ag,-1)},Mh:function(b,c){if(b){c=c||L.Z;this.ui=b;this.Jy=c;var e=this.dc;switch(this.Jy){case L.Z:e.Be(b);break;case L.Cd:e.Uj(b)}var f=e.d();e.Y?(this.fi.width=this.sa.width?this.sa.width:f.width,this.fi.height=
- this.sa.height?this.sa.height:f.height):(e.Hc(function(){var b=e.d();this.fi.width=this.sa.width?this.sa.width:b.width;this.fi.height=this.sa.height?this.sa.height:b.height;e.nc&&e.nc(this.Zc);this.xQ()},this),this.fi.width=this.sa.width,this.fi.height=this.sa.height);this.I&&e.nc(this.Zc);this.wg();this.Yg();e.z(this.Ga());e.D(this.Ma());this.wd(this.fi);this.Iy=n}},zb:function(b){this.I||this.dc.zb(b)},wg:function(){this.I?this.dc.yb(this.Ja?-1:1):this.dc.Ad(this.Ja)},Yg:function(){this.I?this.dc.Kb(this.La?
- -1:1):this.dc.tf(this.La)},Bi:function(){this.Iy&&(this.xQ(),this.Iy=q)},ep:function(b){this.I!=b&&(this.I=b,this.rf(this.dc),this.dc=p,this.dc=this.I?C.ea.create():C.t.create(),this.Mh(this.ui,this.Jy),this.Qb(this.dc,za.Ag,-1),this.I?(b=this.Ka,this.Sd(q),this.Qc=b):this.Sd(this.Qc),this.nc(this.Zc))},pI:x("I"),Sd:function(b){if(!this.I||this.I&&!b)L.prototype.Sd.call(this,b),this.Qc=b},nc:function(b){this.Zc=b;this.I&&this.dc.nc(b)},LH:x("Zc"),J:function(b,c){c===k?(L.prototype.J.call(this,b),
- this.dc.J(b)):(L.prototype.J.call(this,b,c),this.dc.J(b,c))},sd:function(b){L.prototype.sd.call(this,b);this.dc.sd(b)},td:function(b){L.prototype.td.call(this,b);this.dc.td(b)},lb:function(){L.prototype.lb.call(this);this.Iy=n},d:x("fi"),pd:function(){return this.fi.width},pe:function(){return this.fi.height},al:x("dc"),xQ:function(){if(this.Ka)this.I||this.dc.ra(1);else if(this.I)this.dc.Bd(this.L);else{var b=this.dc.d();if(0>=b.width||0>=b.height){this.dc.ra(1);return}this.dc.yb(this.L.width/b.width);
- this.dc.Kb(this.L.height/b.height)}this.dc.q(this.f.width/2,this.f.height/2)},kw:function(){this.wf(this.dc)},Zr:function(){this.$g(this.dc)},ug:A("ImageView"),Hi:t(),Ue:function(){return za.create()},qf:function(b){b instanceof za&&(this.Qc=b.Qc,this.ep(b.I),this.Mh(b.ui,b.Jy),this.nc(b.Zc))}});za.create=function(b,c){var e=new za;b!==k&&e.s(b,c);return e};za.Ag=-1;var U=L.extend({Ie:p,wh:100,ko:0,qa:p,yz:L.Z,oh:p,I:q,Qc:n,Zc:p,ui:"",j_:q,ha:"LoadingBar",nk:n,ctor:function(){this.Ie=U.qx;this.oh=H(0,0);this.Zc=J(0,0,0,0);L.prototype.ctor.call(this)},Ug:function(){this.qa=C.t.create();C.v.prototype.m.call(this,this.qa,U.Ag,-1);this.qa.J(0,0.5)},nl:function(b){if(this.Ie!=b)switch(this.Ie=b,this.Ie){case U.qx:this.qa.J(0,0.5);this.qa.q(0.5*-this.ko,0);this.I||this.qa.Ad(q);break;case U.sD:this.qa.J(1,0.5),this.qa.q(0.5*this.ko,0),this.I||this.qa.Ad(n)}},mr:x("Ie"),
- Mh:function(b,c){if(b){this.yz=c=c||L.Z;this.ui=b;var e=this.qa;switch(this.yz){case L.Z:this.I?(e.Be(b),e.nc(this.Zc)):e.cb(b);break;case L.Cd:this.I?(e.Uj(b),e.nc(this.Zc)):e.Jc(b)}e.z(this.Ga());e.D(this.Ma());var f=e.d();this.oh.width=f.width;this.oh.height=f.height;switch(this.Ie){case U.qx:e.J(0,0.5);this.I||e.Ad(q);break;case U.sD:e.J(1,0.5),this.I||e.Ad(n)}this.rA();this.wd(this.oh);this.nk=n}},ep:function(b){this.I!=b&&(this.I=b,this.rf(this.qa),this.qa=this.I?C.ea.create():C.t.create(),
- this.Mh(this.ui,this.yz),this.Qb(this.qa,U.Ag,-1),this.I?(b=this.Ka,this.Sd(q),this.Qc=b):this.Sd(this.Qc),this.nc(this.Zc),this.Qi(this.wh))},pI:x("I"),nc:function(b){this.Zc=b;this.I&&this.qa.nc(b)},LH:x("Zc"),Qi:function(b){if(!(0>b||100<b)&&!(0>=this.ko))if(this.wh=b,b=this.wh/100,this.I)this.CS();else{var c=this.qa.hv();this.qa.zb(J(c.x,c.y,this.oh.width*b,this.oh.height))}},SH:x("wh"),lb:function(){L.prototype.lb.call(this);this.nk=n},Sd:function(b){if(!this.I||this.I&&!b)L.prototype.Sd.call(this,
- b),this.Qc=b},Hi:x("oh"),d:x("oh"),pd:function(){return this.oh.width},pe:function(){return this.oh.height},al:x("qa"),rA:function(){var b=this.qa;if(this.Ka)this.I||(this.ko=this.oh.width,b.ra(1));else if(this.ko=this.L.width,this.I)this.CS();else{var c=this.oh;if(0>=c.width||0>=c.height){b.ra(1);return}var e=this.L.height/c.height;b.yb(this.L.width/c.width);b.Kb(e)}switch(this.Ie){case U.qx:b.q(0,0.5*this.f.height);break;case U.sD:b.q(this.ko,0.5*this.f.height)}},Bi:function(){this.nk&&(this.rA(),
- this.nk=q)},CS:function(){this.qa.Bd(H(this.wh/100*this.ko,this.L.height))},kw:function(){this.wf(this.qa)},Zr:function(){this.$g(this.qa)},ug:A("LoadingBar"),Ue:function(){return U.create()},qf:function(b){b instanceof U&&(this.Qc=b.Qc,this.ep(b.I),this.Mh(b.ui,b.yz),this.nc(b.Zc),this.Qi(b.wh),this.nl(b.Ie))}}),D=U.prototype;C.c(D,"direction",D.mr,D.nl);C.c(D,"percent",D.SH,D.Qi);D=p;U.create=function(b,c){var e=new U;b!==k&&e.Mh(b);c!==k&&e.Qi(c);return e};U.qx=0;U.sD=1;U.Ag=-1;var V=L.extend({qa:p,kc:p,Eq:p,Qg:p,Ah:p,zh:p,Oq:p,Lx:0,wh:0,I:q,Qc:n,ui:"",UF:"",OO:"",PO:"",NO:"",Vx:p,Wx:p,ru:p,su:p,Mx:L.Z,uz:L.Z,YD:L.Z,ZD:L.Z,XD:L.Z,j_:q,ha:"Slider",nk:n,ku:n,ctor:function(){this.Eq=H(0,0);this.Vx=J(0,0,0,0);this.Wx=J(0,0,0,0);L.prototype.ctor.call(this)},s:function(){return L.prototype.s.call(this)?n:q},Ug:function(){this.qa=C.t.create();this.kc=C.t.create();this.kc.J(0,0.5);this.Qb(this.qa,V.MJ,-1);this.Qb(this.kc,V.sL,-1);this.Qg=C.t.create();this.Ah=C.t.create();this.Ah.ka(q);
- this.zh=C.t.create();this.zh.ka(q);this.Oq=C.v.create();this.Oq.m(this.Qg);this.Oq.m(this.Ah);this.Oq.m(this.zh);this.Qb(this.Oq,V.HT,-1)},OQ:function(b,c){if(b){c=c||L.Z;this.ui=b;this.Mx=c;var e=this.qa;switch(this.Mx){case L.Z:this.I?e.Be(b):e.cb(b);break;case L.Cd:this.I?e.Uj(b):e.Jc(b)}e.z(this.Ga());e.D(this.Ma());this.ku=this.nk=n;this.wd(this.qa.d())}},RQ:function(b,c){if(b){c=c||L.Z;this.UF=b;this.uz=c;var e=this.kc;switch(this.uz){case L.Z:this.I?e.Be(b):e.cb(b);break;case L.Cd:this.I?e.Uj(b):
- e.Jc(b)}this.kc.z(this.Ga());this.kc.D(this.Ma());this.kc.J(F(0,0.5));e=this.kc.d();this.Eq={width:e.width,height:e.height};this.ku=n}},ep:function(b){this.I!=b&&(this.I=b,this.rf(this.qa,n),this.rf(this.kc,n),this.kc=this.qa=p,this.I?(this.qa=C.ea.create(),this.kc=C.ea.create()):(this.qa=C.t.create(),this.kc=C.t.create()),this.OQ(this.ui,this.Mx),this.RQ(this.UF,this.uz),this.Qb(this.qa,V.MJ,-1),this.Qb(this.kc,V.sL,-1),this.I?(b=this.Ka,this.Sd(q),this.Qc=b):this.Sd(this.Qc),this.YR(this.Vx),this.XR(this.Wx))},
- pI:x("I"),Sd:function(b){if(!this.I||this.I&&!b)L.prototype.Sd.call(this,b),this.Qc=b},nc:function(b){this.YR(b);this.XR(b)},YR:function(b){this.Vx=b;this.I&&this.qa.nc(b)},iga:x("Vx"),XR:function(b){this.Wx=b;this.I&&this.kc.nc(b)},mga:x("Wx"),Nja:function(b,c,e,f){this.TQ(b,f);this.UQ(c,f);this.SQ(e,f)},TQ:function(b,c){if(b){c=c||L.Z;this.OO=b;this.YD=c;switch(this.YD){case L.Z:this.Qg.cb(b);break;case L.Cd:this.Qg.Jc(b)}this.Qg.z(this.Ga());this.Qg.D(this.Ma())}},UQ:function(b,c){if(b){c=c||L.Z;
- this.PO=b;this.ZD=c;switch(this.ZD){case L.Z:this.Ah.cb(b);break;case L.Cd:this.Ah.Jc(b)}this.Ah.z(this.Ga());this.Ah.D(this.Ma())}},SQ:function(b,c){if(b){c=c||L.Z;this.NO=b;this.XD=c;switch(this.XD){case L.Z:this.zh.cb(b);break;case L.Cd:this.zh.Jc(b)}this.zh.z(this.Ga());this.zh.D(this.Ma())}},Qi:function(b){100<b&&(b=100);0>b&&(b=0);this.wh=b;b=this.Lx*(b/100);this.Oq.q(F(b,this.f.height/2));if(this.I)this.kc.Bd(H(b,this.Eq.height));else{var c=this.kc,e=c.hv();c.zb(J(e.x,e.y,b,e.height),c.ad)}},
- tr:function(b){b=this.Qg.Tf(b);var c=this.Qg.d();return C.Vo(J(0,0,c.width,c.height),b)},ob:function(b,c){var e=L.prototype.ob.call(this,b,c);if(this.zn){var f=this.Tf(this.Dh);this.Qi(this.cQ(f.x));this.qR()}return e},ac:function(b){b=this.Tf(b.ie());this.Qi(this.cQ(b.x));this.qR()},$b:function(b,c){L.prototype.$b.call(this,b,c)},Vc:function(b,c){L.prototype.Vc.call(this,b,c)},cQ:function(b){return 100*(b/this.Lx)},nda:function(b,c){this.su=b;this.ru=c},addEventListener:v("ua"),qR:function(){this.ru&&
- this.su&&this.su.call(this.ru,this,V.nK);this.ua&&this.ua(V.nK)},SH:x("wh"),lb:function(){L.prototype.lb.call(this);this.ku=this.nk=n},Bi:function(){this.nk&&(this.rA(),this.nk=q);this.ku&&(this.T6(),this.ku=q)},Hi:function(){return this.qa.d()},al:x("qa"),rA:function(){if(this.Ka)this.qa.ra(1),this.Lx=this.f.width;else if(this.Lx=this.f.width,this.I)this.qa.Bd(this.f);else{var b=this.qa.d();if(0>=b.width||0>=b.height){this.qa.ra(1);return}var c=this.f.height/b.height;this.qa.yb(this.f.width/b.width);
- this.qa.Kb(c)}this.qa.q(this.f.width/2,this.f.height/2);this.Qi(this.wh)},T6:function(){if(this.Ka){if(!this.I){var b=this.Eq,c=this.f.width/b.width,b=this.f.height/b.height;this.kc.yb(c);this.kc.Kb(b)}}else if(this.I)this.kc.Bd(this.f),this.Eq=this.kc.d();else{b=this.Eq;if(0>=b.width||0>=b.height){this.kc.ra(1);return}c=this.f.width/b.width;b=this.f.height/b.height;this.kc.yb(c);this.kc.Kb(b)}this.kc.q(0,this.f.height/2);this.Qi(this.wh)},d:function(){var b=this.qa.d();return H(b.width,b.height)},
- pd:function(){return this.qa.pd()},pe:function(){return this.qa.pe()},Jv:function(){this.Qg.ka(n);this.Ah.ka(q);this.zh.ka(q)},Kv:function(){this.Qg.ka(q);this.Ah.ka(n);this.zh.ka(q)},Ar:function(){this.Qg.ka(q);this.Ah.ka(q);this.zh.ka(n)},ug:A("Slider"),Ue:function(){return V.create()},qf:function(b){this.Qc=b.Qc;this.ep(b.I);this.OQ(b.ui,b.Mx);this.RQ(b.UF,b.uz);this.TQ(b.OO,b.YD);this.UQ(b.PO,b.ZD);this.SQ(b.NO,b.XD);this.Qi(b.wh);this.ru=b.ru;this.su=b.su;this.ua=b.ua},kw:function(){this.wf(this.qa);
- this.wf(this.kc);this.wf(this.Qg);this.wf(this.Ah);this.wf(this.zh)},Zr:function(){this.$g(this.qa);this.$g(this.kc);this.$g(this.Qg);this.$g(this.Ah);this.$g(this.zh)}}),D=V.prototype;C.c(D,"percent",D.SH,D.Qi);D=p;V.create=function(){var b=new V;return b&&b.s()?b:p};V.nK=0;V.MJ=-3;V.sL=-2;V.HT=-1;var Aa=L.extend({$z:q,iz:1,jz:1,Hb:"Thonburi",Ib:10,ZN:0.5,Ea:"",Uq:p,Wca:0,Vca:0,ha:"Text",Yb:p,Ck:n,ctor:function(){this.Yb=Aa.KX.CL;this.Uq=H(0,0);L.prototype.ctor.call(this)},s:function(b,c,e){return L.prototype.s.call(this)?(0<arguments.length&&(this.V(b),this.Zf(c),this.uf(e)),n):q},Ug:function(){this.Ea=C.H.create();C.v.prototype.m.call(this,this.Ea,Aa.Ag,-1)},GS:function(b){C.log("Please use the setString");this.V(b)},V:function(b){this.Ea.V(b);this.wd(this.Ea.d());this.Ck=n},getStringValue:function(){C.log("Please use the getString");
- return this.Ea.Eb()},Eb:function(){return this.Ea.Eb()},Im:function(){return this.Ea.Im()},uf:function(b){this.Ib=b;this.Ea.uf(b);this.wd(this.Ea.d());this.Ck=n},Fi:x("Ib"),Zf:function(b){this.Hb=b;this.Ea.Zf(b);this.wd(this.Ea.d());this.Ck=n},HS:function(b){this.Ea.ZI(b);this.wd(this.Ea.d());this.Ck=n},Tha:function(){return this.Ea.v3()},nJ:function(b){this.Ea.bJ(b);this.wd(this.Ea.d());this.Ck=n},R4:function(){return this.Ea.vj},oJ:function(b){this.Ea.uJ(b);this.wd(this.Ea.d());this.Ck=n},S4:function(){return this.Ea.Lj},
- L8:v("$z"),mja:x("$z"),Jv:function(){this.$z&&(this.Ea.yb(this.iz),this.Ea.Kb(this.jz))},Kv:function(){this.$z&&(this.Ea.yb(this.iz+this.ZN),this.Ea.Kb(this.jz+this.ZN))},Ar:t(),wg:function(){this.Ja?this.Ea.yb(-1):this.Ea.yb(1)},lb:function(){L.prototype.lb.call(this);this.Ck=n},Bi:function(){this.Ck&&(this.mB(),this.Ck=q)},Hi:function(){return this.Ea.d()},al:x("Ea"),mB:function(){if(this.Ka)this.Ea.ra(1),this.iz=this.jz=1;else{this.Ea.ZI(H(this.f.width,this.f.height));var b=this.Ea.d();if(0>=b.width||
- 0>=b.height){this.Ea.ra(1);return}var c=this.f.width/b.width,b=this.f.height/b.height;this.Ea.yb(c);this.Ea.Kb(b);this.iz=c;this.jz=b}this.Ea.q(this.f.width/2,this.f.height/2)},ug:A("Label"),GH:function(b,c,e){this.Ea.GH(b,c,e)},gfa:t(),ffa:t(),lea:t(),Ue:function(){return Aa.create()},Qj:x("Hb"),WA:x("Yb"),Zn:function(b){var c=C.H.jN.exec(b);c&&(this.Ib=parseInt(c[1]),this.Hb=c[2],this.Ea.Zn(b),this.mB())},yn:function(){return this.Ea.yn()},Ez:function(b){this.Uq.width=b;this.Ea.Ez(b);this.mB()},
- Dz:function(b){this.Uq.height=b;this.Ea.Dz(b);this.mB()},Lt:function(){return this.Uq.width},VE:function(){return this.Uq.height},qf:function(b){b instanceof Ba&&(this.Zf(b.Hb),this.uf(b.Fi()),this.V(b.Eb()),this.L8(b.Coa),this.HS(b.Uq),this.nJ(b.Ea.vj),this.oJ(b.Ea.Lj))}}),D=Aa.prototype;C.c(D,"boundingWidth",D.Lt,D.Ez);C.c(D,"boundingHeight",D.VE,D.Dz);C.c(D,"string",D.Eb,D.V);C.c(D,"stringLength",D.Im);C.c(D,"font",D.yn,D.Zn);C.c(D,"fontSize",D.Fi,D.uf);C.c(D,"fontName",D.Qj,D.Zf);
- C.c(D,"textAlign",D.R4,D.nJ);C.c(D,"verticalAlign",D.S4,D.oJ);var D=p,Ba=Aa.create=function(b,c,e){var f=new Aa;if(0<arguments.length){if(f&&f.s(b,c,e))return f}else if(f&&f.s())return f;return p};Aa.Ag=-1;Aa.KX={CL:0,dX:1};var Ca=L.extend({Me:p,bo:"",iE:"",ng:0,Gf:0,DG:"",ha:"TextAtlas",Ut:p,ctor:function(){L.prototype.ctor.call(this)},Ug:function(){this.Me=new C.Uh;this.Me.J(F(0.5,0.5));this.Qb(this.Me,Ca.Ag,-1)},setProperty:function(b,c,e,f,g){this.bo=b;this.iE=c;this.ng=e;this.Gf=f;this.DG=g;this.Me.yd(b,this.iE,this.ng,this.Gf,this.DG[0]);this.wd(this.Me.d());this.Ut=n},V:function(b){this.bo=b;this.Me.V(b);this.wd(this.Me.d());this.Ut=n},setStringValue:function(b){C.log("Please use the setString");this.V(b)},getStringValue:function(){C.log("Please use the getString");
- return this.Eb()},Eb:function(){return this.Me.Eb()},Im:function(){return this.Me.Im()},lb:function(){L.prototype.lb.call(this);this.Ut=n},Bi:function(){this.Ut&&(this.k6(),this.Ut=q)},Hi:function(){return this.Me.d()},al:x("Me"),k6:function(){if(this.Ka)this.Me.ra(1);else{var b=this.Me.d();if(0>=b.width||0>=b.height){this.Me.ra(1);return}var c=this.L.height/b.height;this.Me.yb(this.L.width/b.width);this.Me.Kb(c)}this.Me.q(this.f.width/2,this.f.height/2)},ug:A("LabelAtlas"),Ue:function(){return Ca.create()},
- qf:function(b){b&&this.setProperty(b.bo,b.iE,b.ng,b.Gf,b.DG)}}),D=Ca.prototype;C.c(D,"string",D.Eb,D.V);D=p;Ca.create=function(b,c,e,f,g){var h=new Ca;return h&&h.s()?(0<arguments.length&&h.setProperty(b,c,e,f,g),h):p};Ca.Ag=-1;var Da;
- Da=L.extend({qe:p,hN:q,$Y:"",bo:"",ha:"TextBMFont",Uy:n,ctor:function(){L.prototype.ctor.call(this)},Ug:function(){this.qe=C.rp.create();this.Qb(this.qe,Da.Ag,-1)},eS:function(b){b&&(this.$Y=b,this.qe.yd("",b),this.A9(),this.uI(),this.qe.Y||this.qe.Hc(function(){this.uI()},this),this.qe.z(this.Ga()),this.qe.D(this.Ma()),this.hN=n,this.V(this.bo))},GS:function(b){C.log("Please use the setString");this.V(b)},V:function(b){this.bo=b;this.hN&&(this.qe.V(b),this.wd(this.qe.d()),this.Uy=n)},Eb:x("bo"),Im:function(){return this.qe.Im()},
- lb:function(){L.prototype.lb.call(this);this.Uy=n},Bi:function(){this.Uy&&(this.uI(),this.Uy=q)},Hi:function(){return this.qe.d()},al:x("qe"),uI:function(){if(this.Ka)this.qe.ra(1);else{var b=this.qe.d();if(0>=b.width||0>=b.height){this.qe.ra(1);return}var c=this.L.height/b.height;this.qe.yb(this.L.width/b.width);this.qe.Kb(c)}this.qe.q(this.f.width/2,this.f.height/2)},ug:A("LabelBMFont")});D=Da.prototype;C.c(D,"string",D.Eb,D.setStringValue);D=p;
- Da.create=function(b,c){var e=new Da;return e&&e.s()?(c&&b&&(e.eS(c),e.V(b)),e):p};Da.Ag=-1;var Ea=C.cg.extend({maxLengthEnabled:q,maxLength:0,passwordEnabled:q,On:"",QD:q,yE:q,lF:q,vE:q,ha:"UICCTextField",ti:n,ctor:function(){C.cg.prototype.ctor.call(this);this.maxLengthEnabled=q;this.maxLength=0;this.passwordEnabled=q;this.On="*";this.vE=this.lF=this.yE=this.QD=q},kb:function(){C.cg.prototype.dp.call(this,this)},gR:function(){this.Uv(n);return q},DI:function(b,c,e){if(1==e&&"\n"==c)return q;this.Xv(n);return this.maxLengthEnabled&&C.cg.prototype.lr.call(this)>=this.maxLength?n:q},hR:function(){this.Vv(n);
- return q},iR:function(){this.Wv(n);return q},tv:function(b,c){"\n"!=b&&this.maxLengthEnabled&&this.Eb().length>=this.maxLength?this.passwordEnabled&&this.PB(this.Eb()):(C.cg.prototype.tv.call(this,b,c),this.passwordEnabled&&0<C.cg.prototype.lr.call(this)&&this.PB(this.Eb()))},EA:function(){C.cg.prototype.EA.call(this);0<C.cg.prototype.lr.call(this)&&this.passwordEnabled&&this.PB(this.Ff)},nka:function(){C.cg.prototype.Pu.call(this)},Wda:function(){C.cg.prototype.FA.call(this)},LB:v("maxLengthEnabled"),
- yv:x("maxLengthEnabled"),KB:v("maxLength"),dv:x("maxLength"),lr:function(){return C.cg.prototype.lr.call(this)},OB:v("passwordEnabled"),zv:x("passwordEnabled"),hJ:function(b){if(!(1<b.length)){var c=b.charCodeAt(0);33>c||126<c||(this.On=b)}},PB:function(b){var c="",e=b.length;b=e;this.maxLengthEnabled&&e>this.maxLength&&(b=this.maxLength);for(e=0;e<b;++e)c+=this.On;C.H.prototype.V.call(this,c)},Uv:v("QD"),NA:x("QD"),Wv:v("yE"),PA:x("yE"),Xv:v("lF"),QA:x("lF"),Vv:v("vE"),OA:x("vE"),s:function(){return L.prototype.s.call(this)?
- (this.vf(n),n):q},v6:A(q)});Ea.create=function(b,c,e){var f=new Ea;return f&&f.yd("",c,e)?(b&&f.Ri(b),f):p};
- var W=L.extend({P:p,aA:0,Yz:0,iP:q,Qk:p,Rk:p,xba:p,Uba:p,oca:p,Sba:p,yba:p,Vba:p,pca:p,Tba:p,On:"",ti:n,ctor:function(){L.prototype.ctor.call(this)},s:function(){return L.prototype.s.call(this)?(this.vf(n),n):q},kb:function(){L.prototype.kb.call(this);this.XB(n)},Jb:function(){this.XB(q);N.prototype.Jb.call(this)},Ug:function(){this.P=Ea.create("input words here","Thonburi",20);this.Qb(this.P,W.Ag,-1)},Una:function(b){this.aA=b.width;this.Yz=b.height},Sna:v("iP"),Bi:function(){this.ti&&(this.l9(),
- this.ti=q)},tr:function(b){if(this.iP){b=this.Tf(b);var c=J(-this.aA*this.Da.x,-this.Yz*this.Da.y,this.aA,this.Yz);if(b.x>=c.origin.x&&b.x<=c.origin.x+c.size.width&&b.y>=c.origin.y&&b.y<=c.origin.y+c.size.height)return n}else return L.prototype.tr.call(this,b);return q},eia:function(){return H(this.aA,this.Yz)},GS:function(b){C.log("Please use the setString");this.V(b)},V:function(b){b&&(b=String(b),this.yv()&&(b=b.substr(0,this.dv())),this.zv()?(this.P.PB(b),this.P.V(""),this.P.tv(b,b.length)):this.P.V(b),
- this.ti=n,this.wd(this.P.d()))},Ri:function(b){this.P.Ri(b);this.ti=n;this.wd(this.P.d())},RA:function(){return this.P.RA()},Zn:function(b){this.P.Zn(b);this.ti=n},yn:function(){return this.P.yn()},uf:function(b){this.P.uf(b);this.ti=n;this.wd(this.P.d())},Fi:function(){return this.P.Rha()},Zf:function(b){this.P.Zf(b);this.ti=n;this.wd(this.P.d())},Qj:function(){return this.P.Qha()},w2:function(){this.P.FA()},getStringValue:function(){C.log("Please use the getString");return this.Eb()},Eb:function(){return this.P.Eb()},
- Im:function(){return this.P.Im()},ob:function(b,c){var e=this,f=L.prototype.ob.call(e,b,c);e.zn&&setTimeout(function(){e.P.Pu()},0);return f},LB:function(b){this.P.LB(b)},yv:function(){return this.P.yv()},KB:function(b){this.P.KB(b);this.V(this.Eb())},dv:function(){return this.P.dv()},OB:function(b){this.P.OB(b)},zv:function(){return this.P.zv()},hJ:function(b){this.P.hJ(b);this.On=b;this.V(this.Eb())},tha:x("On"),update:function(){this.NA()&&(this.M1(),this.Uv(q));this.PA()&&(this.s2(),this.Wv(q));
- this.QA()&&(this.D5(),this.Xv(q),this.ti=n,this.wd(this.P.d()));this.OA()&&(this.r2(),this.Vv(q),this.ti=n,this.wd(this.P.d()))},NA:function(){return this.P.NA()},Uv:function(b){this.P.Uv(b)},PA:function(){return this.P.PA()},Wv:function(b){this.P.Wv(b)},QA:function(){return this.P.QA()},Xv:function(b){this.P.Xv(b)},OA:function(){return this.P.OA()},Vv:function(b){this.P.Vv(b)},M1:function(){this.Qk&&this.Rk&&this.Rk.call(this.Qk,this,W.IU);this.ua&&this.ua(this,0)},s2:function(){this.Qk&&this.Rk&&
- this.Rk.call(this.Qk,this,W.KU);this.ua&&this.ua(this,1)},D5:function(){this.Qk&&this.Rk&&this.Rk.call(this.Qk,this,W.LU);this.ua&&this.ua(this,2)},r2:function(){this.Qk&&this.Rk&&this.Rk.call(this.Qk,this,W.JU);this.ua&&this.ua(this,3)},oda:function(b,c){this.Rk=b;this.Qk=c},J:function(b,c){c===k?(L.prototype.J.call(this,b),this.P.J(b)):(L.prototype.J.call(this,b,c),this.P.J(b,c))},sd:function(b){L.prototype.sd.call(this,b);this.P.sd(b)},td:function(b){L.prototype.td.call(this,b);this.P.td(b)},lb:function(){L.prototype.lb.call(this);
- this.ti=n},l9:function(){if(this.Ka){this.P.ra(1);var b=this.d();this.L.width=b.width;this.L.height=b.height}else{b=this.d();if(0>=b.width||0>=b.height){this.P.ra(1);return}var c=this.L.height/b.height;this.P.yb(this.L.width/b.width);this.P.Kb(c)}this.P.q(this.f.width/2,this.f.height/2)},d:function(){return this.P.d()},pd:function(){return this.P.pd()},pe:function(){return this.P.pe()},al:x("P"),kw:function(){this.wf(this.P)},Zr:function(){this.$g(this.P)},ug:A("TextField"),Pu:function(){this.P.Pu()},
- Ue:function(){return W.create()},qf:function(b){this.V(b.P.Eb());this.Ri(b.Eb());this.uf(b.P.Fi());this.Zf(b.P.Qj());this.LB(b.yv());this.KB(b.dv());this.OB(b.zv());this.hJ(b.On);this.Uv(b.NA());this.Wv(b.PA());this.Xv(b.QA());this.Vv(b.OA())},HS:function(b){this.P.ZI(b.width,b.height)},nJ:function(b){this.P.bJ(b)},oJ:function(b){this.P.uJ(b)}});W.create=function(b,c,e){var f=new W;return f&&f.s()?(b&&(c&&e)&&(f.Ri(b),f.Zf(c),f.uf(e)),f):p};D=W.prototype;C.c(D,"string",D.Eb,D.V);
- C.c(D,"placeHolder",D.RA,D.Ri);C.c(D,"font",D.yn,D.Zn);C.c(D,"fontSize",D.Fi,D.uf);C.c(D,"fontName",D.Qj,D.Zf);C.c(D,"maxLengthEnabled",D.yv,D.LB);C.c(D,"maxLength",D.dv,D.KB);C.c(D,"passwordEnabled",D.zv,D.OB);D=p;W.create=function(){return new W};W.IU=0;W.KU=1;W.LU=2;W.JU=3;W.Ag=-1;var X=ka.extend({type:0,tag:0,color:p,ctor:function(){this.tag=this.type=0;this.color=C.color(255,255,255,255)},s:function(b,c,e){this.tag=b;this.color.r=c.r;this.color.g=c.g;this.color.b=c.b;this.color.a=e}}),Fa=X.extend({text:"",fontName:"",fontSize:0,ctor:function(){X.prototype.ctor.call(this);this.type=X.oD;this.fontName=this.text="";this.fontSize=0},s:function(b,c,e,f,g,h){X.prototype.s.call(this,b,c,e);this.text=f;this.fontName=g;this.fontSize=h}});
- Fa.create=function(b,c,e,f,g,h){var m=new Fa;m.s(b,c,e,f,g,h);return m};var Ga=X.extend({IA:"",t9:p,u9:0,ctor:function(){X.prototype.ctor.call(this);this.type=X.NC;this.IA="";this.t9=J(0,0,0,0);this.u9=0},s:function(b,c,e,f){X.prototype.s.call(this,b,c,e);this.IA=f}});Ga.create=function(b,c,e,f){var g=new Ga;g.s(b,c,e,f);return g};var Ha=X.extend({CA:p,ctor:function(){X.prototype.ctor.call(this);this.type=X.ek;this.CA=p},s:function(b,c,e,f){X.prototype.s.call(this,b,c,e);this.CA=f}});
- Ha.create=function(b,c,e,f){var g=new Ha;g.s(b,c,e,f);return g};
- var Ia=L.extend({xn:q,Jq:p,Ul:p,ii:0,WG:0,Tl:p,ctor:function(){L.prototype.ctor.call(this);this.xn=q;this.Jq=[];this.Ul=[];this.WG=this.ii=0},Ug:function(){this.Tl=C.v.create();this.Tl.J(0.5,0.5);this.Qb(this.Tl,0,-1)},Fia:function(b,c){this.Jq.splice(c,0,b);this.xn=n},$ka:function(b){this.Jq.push(b);this.xn=n},Ala:function(b){"number"===typeof b?this.Jq.splice(b,1):C.Nd(this.Jq,b);this.xn=n},c3:function(){if(this.xn){this.Tl.Ye();this.Ul.length=0;var b,c,e=this.Jq;if(this.Ka){this.nA();for(b=0;b<
- e.length;b++){c=e[b];var f=p;switch(c.type){case X.oD:f=C.H.create(c.text,c.fontName,c.fontSize);break;case X.NC:f=C.t.create(c.IA);break;case X.ek:f=c.CA}f.z(c.color);f.D(c.color.a);this.Mv(f)}}else{this.nA();for(b=0;b<e.length;b++)switch(c=e[b],c.type){case X.oD:this.uQ(c.text,c.fontName,c.fontSize,c.color);break;case X.NC:this.h5(c.IA,c.color,c.color.a);break;case X.ek:this.tQ(c.CA)}}this.b3();this.xn=q}},uQ:function(b,c,e,f){var g=C.H.create(b,c,e),h=g.d().width;this.ii-=h;0>this.ii?(g=b.length*
- (1- -this.ii/h),h=b.substr(0,g),b=b.substr(g,b.length-1),0<g&&(g=C.H.create(h.substr(0,g),c,e),g.z(f),g.D(f.a),this.Mv(g)),this.nA(),this.uQ(b,c,e,f)):(g.z(f),g.D(f.a),this.Mv(g))},h5:function(b){b=C.t.create(b);this.tQ(b)},tQ:function(b){var c=b.d();this.ii-=c.width;0>this.ii?(this.nA(),this.Mv(b),this.ii-=c.width):this.Mv(b)},nA:function(){this.ii=this.sa.width;this.Ul.push([])},b3:function(){var b=0,c=this.Tl,e=this.Ul;if(this.Ka){for(var f=0,g=e[0],h=0,m=0;m<g.length;m++){var r=g[m];r.J(F(0,0));
- r.q(F(h,0));c.m(r,1,m);e=r.d();f+=e.width;b=Math.max(b,e.height);h+=e.width}c.ja(H(f,b))}else{for(var f=[],s=0;s<e.length;s++){g=e[s];for(m=h=0;m<g.length;m++)r=g[m],h=Math.max(r.d().height,h);f[s]=h;b+=f[s]}b=this.sa.height;for(s=0;s<e.length;s++){g=e[s];h=0;b-=f[s]+this.WG;for(m=0;m<g.length;m++)r=g[m],r.J(F(0,0)),r.q(F(h,b)),c.m(r,1,10*s+m),h+=r.d().width}c.ja(this.L)}this.Ul.length=0;this.Ka?(g=this.Hi(),this.L.width=g.width,this.L.height=g.height):(this.L.width=this.sa.width,this.L.height=this.sa.height);
- this.wd(this.L);c.q(0.5*this.f.width,0.5*this.f.height)},Mv:function(b){0>=this.Ul.length||this.Ul[this.Ul.length-1].push(b)},G:function(b){this.Fc&&(this.c3(),L.prototype.G.call(this,b))},Yna:v("WG"),J:function(b){L.prototype.J.call(this,b);this.Tl.J(b)},Hi:function(){return this.Tl.d()},d:function(){return this.Tl.d()},Sd:function(b){this.Ka!=b&&(this.xn=n,L.prototype.Sd.call(this,b))},ug:A("RichText")});Ia.create=function(){return new Ia};X.oD=0;X.NC=1;X.ek=2;var Y=N.extend({l:p,direction:p,hj:p,Re:0,cf:0,Id:0,bd:0,mj:0,ij:0,kj:0,lj:0,ft:q,Fp:0,nh:0,gt:0,nF:q,gz:q,me:p,Nx:q,ao:0,fz:p,ot:0,hm:q,wm:q,rm:q,Kl:q,Cm:q,lt:q,jj:p,Ox:0,pv:q,cd:p,dd:p,ha:"ScrollView",ua:p,ctor:function(){N.prototype.ctor.call(this);this.direction=Y.sU;this.hj=F(0,0);this.lj=this.kj=this.ij=this.mj=this.bd=this.Id=this.cf=this.Re=0;this.ft=q;this.nh=this.Fp=0;this.gt=-1E3;this.gz=this.nF=q;this.me=F(0,0);this.Nx=q;this.ao=0;this.fz=F(0,0);this.ot=5;this.lt=this.Cm=this.Kl=this.rm=
- this.wm=this.hm=q;this.jj=F(0,0);this.Ox=0;this.pv=n;this.dd=this.cd=p},s:function(){return N.prototype.s.call(this)?(this.Lr(n),this.l.vf(q),n):q},kb:function(){N.prototype.kb.call(this);this.OI(n)},xd:function(b,c){return this.Gh()==N.jk||this.Gh()==N.ik?this.l.xd(b,c):L.prototype.xd.call(this,b,c)},Ug:function(){N.prototype.Ug.call(this);this.l=N.create();this.Qb(this.l,1,1)},lb:function(){N.prototype.lb.call(this);var b=this.f;this.Re=b.height;this.bd=b.width;var c=b.width/3,e=b.height/3;this.mj=
- b.height-e;this.ij=e;this.kj=c;this.lj=this.f.width-c;e=this.l.d();c=e.height;e=Math.max(e.width,b.width);c=Math.max(c,b.height);this.l.ja(H(e,c));this.l.q(0,b.height-this.l.d().height)},cJ:function(b){var c=this.f,e=c.width,f=c.height,g=this.l.d();b.width<c.width?C.log("Inner width \x3c\x3d scrollview width, it will be force sized!"):e=b.width;b.height<c.height?C.log("Inner height \x3c\x3d scrollview height, it will be force sized!"):f=b.height;this.l.ew(H(e,f));switch(this.direction){case Y.Yi:b=
- this.l.d();g=g.height-b.height;this.Pi(0,g);break;case Y.Xi:this.l.Db()<=c.width&&(b=this.l.d(),g=g.width-b.width,this.Pi(g,0));break;case Y.Yd:b=this.l.d(),e=g.height-b.height,f=0,this.l.Db()<=c.width&&(f=g.width-b.width),this.Pi(f,e)}g=this.l;b=g.d();e=g.Qd();f=g.Da;0<g.xb()&&g.q(f.x*b.width,e.y);g.Db()<c.width&&g.q(c.width-(1-f.x)*b.width,e.y);0<e.y&&g.q(e.x,f.y*b.height);g.Ic()<c.height&&g.q(e.x,c.height-(1-f.y)*b.height)},m0:function(b){var c=this.f.width,e=c,f=this.l,g=f.width;b<c?C.log("Inner width \x3c\x3d scrollview width, it will be force sized!"):
- e=b;f.width=e;switch(this.direction){case Y.Xi:case Y.Yd:f.Db()<=c&&this.Pi(g-f.width,0)}b=f.anchorX;0<f.xb()&&(f.x=b*e);f.Db()<c&&(f.x=c-(1-b)*e)},l0:function(b){var c=this.f.height,e=c,f=this.l,g=f.height;b<c?C.log("Inner height \x3c\x3d scrollview height, it will be force sized!"):e=b;f.height=e;switch(this.direction){case Y.Yi:case Y.Yd:this.Pi(0,g-e)}b=f.anchorY;0<f.xb()&&(f.y=b*e);f.Db()<c&&(f.y=c-(1-b)*e)},G3:function(){return this.l.d()},tZ:function(){return this.l.width},sZ:function(){return this.l.height},
- m:function(b,c,e){if(!b)return q;c=c||b.ia;e=e||b.$k();return this.l.m(b,c,e)},Ye:function(){this.Pm(n)},Pm:function(b){this.l.Pm(b)},removeChild:function(b,c){return this.l.removeChild(b,c)},kd:function(){return this.l.kd()},MH:function(){return this.l.MH()},Ei:function(b){return this.l.Ei(b)},YP:function(b){return this.l.YP(b)},qP:function(b,c,e){this.l.qP(b,c,e)},RH:function(b){return this.l.RH(b)},bQ:function(){return this.l.bQ()},removeNode:function(b){this.l.removeNode(b)},DR:function(b){this.l.DR(b)},
- BR:function(){this.l.BR()},Ni:function(b,c){var e=this.l.Qd();this.fz.x=e.x+b;this.fz.y=e.y+c;this.l.q(this.fz)},P1:function(b){var c=this.Fp;this.Fp+=b;if(this.nF)0>=this.nh+this.gt*this.Fp?(this.Sr(),this.Su()):(c=(this.nh+0.5*this.gt*(2*c+b))*b,this.Pi(c*this.hj.x,c*this.hj.y)||(this.Sr(),this.Su()));else if(this.gz){var c=this.hj.x*b*this.nh,e=this.hj.y*b*this.nh;b=this.c2(c,e);c=this.Pi(c,e);if(!b||!c)this.Sr(),this.Su()}else this.Pi(this.hj.x*b*this.nh,this.hj.y*b*this.nh)||(this.Sr(),this.Su())},
- V1:function(b){var c=this.Ox,e=this.jj;0>=c&&this.yJ();this.W1(e.x*b*c,e.y*b*c)||this.yJ()},Su:function(){if(!this.Cm)return q;this.a2();if(this.wm||this.Kl||this.hm||this.rm){var b,c;this.wm&&this.hm?(b=C.bb(F(0,this.f.height),F(this.l.xb(),this.l.Ic())),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c)):this.wm&&this.rm?(b=C.bb(F(this.f.width,this.f.height),F(this.l.Db(),this.l.Ic())),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c)):this.Kl&&this.hm?(b=C.bb(F(0,0),F(this.l.xb(),this.l.Zb())),c=C.Ce(b)/0.2,this.jj=
- C.ld(b),this.Rm(c)):this.Kl&&this.rm?(b=C.bb(F(this.f.width,0),F(this.l.Db(),this.l.Zb())),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c)):this.wm?(b=C.bb(F(0,this.f.height),F(0,this.l.Ic())),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c)):this.Kl?(b=C.bb(F(0,0),F(0,this.l.Zb())),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c)):this.hm?(b=C.bb(F(0,0),F(this.l.xb(),0)),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c)):this.rm&&(b=C.bb(F(this.f.width,0),F(this.l.Db(),0)),c=C.Ce(b)/0.2,this.jj=C.ld(b),this.Rm(c));return n}return q},
- a2:function(){this.l.Zb()>this.cf?(this.jl(),this.Kl=n):this.Kl=q;this.l.Ic()<this.Re?(this.ml(),this.wm=n):this.wm=q;this.l.Db()<this.bd?(this.ll(),this.rm=n):this.rm=q;this.l.xb()>this.Id?(this.kl(),this.hm=n):this.hm=q},Rm:function(b){this.Ox=b;this.lt=n},yJ:function(){this.lt=q;this.Ox=0;this.Kl=this.wm=this.rm=this.hm=q},US:function(b,c,e,f){this.Sr();this.hj=b;this.nF=e;this.nh=c;this.ft=n;this.gt=f},Si:function(b,c,e){this.gz=q;this.me=b;var f=C.bb(b,this.l.Qd());b=C.ld(f);var g=0,h=-1E3,f=
- C.Ce(f);e?(h=-(2*f)/(c*c),g=2*f/c):(this.gz=n,g=f/c);this.US(b,g,e,h)},Mi:function(b,c){b.x!==k&&(c=b.y,b=b.x);var e=b,f=c;switch(this.direction){case Y.Yi:0>=c&&(f=Math.max(c,this.f.height-this.l.d().height));break;case Y.Xi:0>=b&&(e=Math.max(b,this.f.width-this.l.d().width));break;case Y.Yd:0>=c&&(f=Math.max(c,this.f.height-this.l.d().height)),0>=b&&(e=Math.max(b,this.f.width-this.l.d().width))}this.l.q(e,f)},Sr:function(){this.ft=q;this.Fp=this.nh=0},W1:function(b,c){var e=n,f,g,h;0<b&&0<c?(f=
- b,g=c,h=this.l.Db(),h+f>=this.bd&&(f=this.bd-h,this.kH(),e=q),h=this.l.Ic(),h+c>=this.Re&&(g=this.Re-h,this.lH(),e=q),this.Ni(f,g)):0>b&&0<c?(f=b,g=c,h=this.l.xb(),h+f<=this.Id&&(f=this.Id-h,this.jH(),e=q),h=this.l.Ic(),h+c>=this.Re&&(g=this.Re-h,this.lH(),e=q),this.Ni(f,g)):0>b&&0>c?(f=b,g=c,h=this.l.xb(),h+f<=this.Id&&(f=this.Id-h,this.jH(),e=q),h=this.l.Zb(),h+c<=this.cf&&(g=this.cf-h,this.iH(),e=q),this.Ni(f,g)):0<b&&0>c?(f=b,g=c,h=this.l.Db(),h+f>=this.bd&&(f=this.bd-h,this.kH(),e=q),h=this.l.Zb(),
- h+c<=this.cf&&(g=this.cf-h,this.iH(),e=q),this.Ni(f,g)):0==b&&0<c?(g=c,h=this.l.Ic(),h+c>=this.Re&&(g=this.Re-h,this.lH(),e=q),this.Ni(0,g)):0==b&&0>c?(g=c,h=this.l.Zb(),h+c<=this.cf&&(g=this.cf-h,this.iH(),e=q),this.Ni(0,g)):0<b&&0==c?(f=b,h=this.l.Db(),h+f>=this.bd&&(f=this.bd-h,this.kH(),e=q),this.Ni(f,0)):0>b&&0==c&&(f=b,g=this.l.xb(),g+f<=this.Id&&(f=this.Id-g,this.jH(),e=q),this.Ni(f,0));return e},c2:function(b,c){var e=n,f;switch(this.direction){case Y.Yi:0<this.hj.y?(f=this.l.Zb(),f+c>=this.me.y&&
- (e=q)):(f=this.l.Zb(),f+c<=this.me.y&&(e=q));break;case Y.Xi:0<this.hj.x?(f=this.l.xb(),f+b>=this.me.x&&(e=q)):(f=this.l.xb(),f+b<=this.me.x&&(e=q));break;case Y.Yd:0<b&&0<c?(f=this.l.xb(),f+b>=this.me.x&&(e=q),f=this.l.Zb(),f+c>=this.me.y&&(e=q)):0>b&&0<c?(f=this.l.Db(),f+b<=this.me.x&&(e=q),f=this.l.Zb(),f+c>=this.me.y&&(e=q)):0>b&&0>c?(f=this.l.Db(),f+b<=this.me.x&&(e=q),f=this.l.Ic(),f+c<=this.me.y&&(e=q)):0<b&&0>c?(f=this.l.xb(),f+b>=this.me.x&&(e=q),f=this.l.Ic(),f+c<=this.me.y&&(e=q)):0==b&&
- 0<c?(f=this.l.Zb(),f+c>=this.me.y&&(e=q)):0>b&&0==c?(f=this.l.Db(),f+b<=this.me.x&&(e=q)):0==b&&0>c?(f=this.l.Ic(),f+c<=this.me.y&&(e=q)):0<b&&0==c&&(f=this.l.xb(),f+b>=this.me.x&&(e=q))}return e},wga:function(b){this.nh-=this.gt*b;return this.nh*b},Pi:function(b,c){var e=n;this.D7();switch(this.direction){case Y.Yi:e=this.A7(b,c);break;case Y.Xi:e=this.z7(b,c);break;case Y.Yd:e=this.y7(b,c)}return e},A7:function(b,c){var e=c,f=n,g;this.Cm?(g=this.l.Zb(),g+c>=this.ij&&(e=this.ij-g,this.jl(),f=q),
- g=this.l.Ic(),g+c<=this.mj&&(e=this.mj-g,this.ml(),f=q)):(g=this.l.Zb(),g+c>=this.cf&&(e=this.cf-g,this.jl(),f=q),g=this.l.Ic(),g+c<=this.Re&&(e=this.Re-g,this.ml(),f=q));this.Ni(0,e);return f},z7:function(b){var c=n,e=b,f;this.Cm?(f=this.l.Db(),f+b<=this.lj&&(e=this.lj-f,this.ll(),c=q),f=this.l.xb(),f+b>=this.kj&&(e=this.kj-f,this.kl(),c=q)):(f=this.l.Db(),f+b<=this.bd&&(e=this.bd-f,this.ll(),c=q),f=this.l.xb(),f+b>=this.Id&&(e=this.Id-f,this.kl(),c=q));this.Ni(e,0);return c},y7:function(b,c){var e=
- n,f=b,g=c,h;this.Cm?0<b&&0<c?(h=this.l.xb(),h+b>=this.kj&&(f=this.kj-h,this.kl(),e=q),h=this.l.Zb(),h+c>=this.ij&&(g=this.ij-h,this.jl(),e=q)):0>b&&0<c?(h=this.l.Db(),h+b<=this.lj&&(f=this.lj-h,this.ll(),e=q),h=this.l.Zb(),h+c>=this.ij&&(g=this.ij-h,this.jl(),e=q)):0>b&&0>c?(h=this.l.Db(),h+b<=this.lj&&(f=this.lj-h,this.ll(),e=q),h=this.l.Ic(),h+c<=this.mj&&(g=this.mj-h,this.ml(),e=q)):0<b&&0>c?(h=this.l.xb(),h+b>=this.kj&&(f=this.kj-h,this.kl(),e=q),h=this.l.Ic(),h+c<=this.mj&&(g=this.mj-h,this.ml(),
- e=q)):0==b&&0<c?(h=this.l.Zb(),h+c>=this.ij&&(g=this.ij-h,this.jl(),e=q)):0>b&&0==c?(h=this.l.Db(),h+b<=this.lj&&(f=this.lj-h,this.ll(),e=q)):0==b&&0>c?(h=this.l.Ic(),h+c<=this.mj&&(g=this.mj-h,this.ml(),e=q)):0<b&&0==c&&(h=this.l.xb(),h+b>=this.kj&&(f=this.kj-h,this.kl(),e=q)):0<b&&0<c?(h=this.l.xb(),h+b>=this.Id&&(f=this.Id-h,this.kl(),e=q),h=this.l.Zb(),h+c>=this.cf&&(g=this.cf-h,this.jl(),e=q)):0>b&&0<c?(h=this.l.Db(),h+b<=this.bd&&(f=this.bd-h,this.ll(),e=q),h=this.l.Zb(),h+c>=this.cf&&(g=this.cf-
- h,this.jl(),e=q)):0>b&&0>c?(h=this.l.Db(),h+b<=this.bd&&(f=this.bd-h,this.ll(),e=q),h=this.l.Ic(),h+c<=this.Re&&(g=this.Re-h,this.ml(),e=q)):0<b&&0>c?(h=this.l.xb(),h+b>=this.Id&&(f=this.Id-h,this.kl(),e=q),h=this.l.Ic(),h+c<=this.Re&&(g=this.Re-h,this.ml(),e=q)):0==b&&0<c?(h=this.l.Zb(),h+c>=this.cf&&(g=this.cf-h,this.jl(),e=q)):0>b&&0==c?(h=this.l.Db(),h+b<=this.bd&&(f=this.bd-h,this.ll(),e=q)):0==b&&0>c?(h=this.l.Ic(),h+c<=this.Re&&(g=this.Re-h,this.ml(),e=q)):0<b&&0==c&&(h=this.l.xb(),h+b>=this.Id&&
- (f=this.Id-h,this.kl(),e=q));this.Ni(f,g);return e},fma:function(b,c){this.Si(F(this.l.Q.x,0),b,c)},nma:function(b,c){this.Si(F(this.l.Q.x,this.f.height-this.l.d().height),b,c)},ima:function(b,c){this.Si(F(0,this.l.Q.y),b,c)},mma:function(b,c){this.Si(F(this.f.width-this.l.d().width,this.l.Q.y),b,c)},oma:function(b,c){this.direction!=Y.Yd?C.log("Scroll direction is not both!"):this.Si(F(0,this.f.height-this.l.d().height),b,c)},pma:function(b,c){if(this.direction!=Y.Yd)C.log("Scroll direction is not both!");
- else{var e=this.l.d();this.Si(F(this.f.width-e.width,this.f.height-e.height),b,c)}},gma:function(b,c){this.direction!=Y.Yd?C.log("Scroll direction is not both!"):this.Si(F(0,0),b,c)},hma:function(b,c){this.direction!=Y.Yd?C.log("Scroll direction is not both!"):this.Si(F(this.f.width-this.l.d().width,0),b,c)},lma:function(b,c,e){var f=this.f.height-this.l.d().height;this.Si(F(this.l.Q.x,f+b*-f/100),c,e)},kma:function(b,c,e){var f=this.l.d().width-this.f.width;this.Si(F(-(b*f/100),this.l.Q.y),c,e)},
- jma:function(b,c,e){if(this.direction==Y.Yd){var f=this.f.height-this.l.d().height,g=-f,h=this.l.d().width-this.f.width;this.Si(F(-(b.x*h/100),f+b.y*g/100),c,e)}},qja:function(){this.Mi(this.l.Q.x,0)},yja:function(){this.Mi(this.l.Q.x,this.f.height-this.l.d().height)},tja:function(){this.Mi(0,this.l.Q.y)},xja:function(){this.Mi(this.f.width-this.l.d().width,this.l.Q.y)},zja:function(){this.direction!=Y.Yd?C.log("Scroll direction is not both!"):this.Mi(0,this.f.height-this.l.d().height)},Aja:function(){if(this.direction!=
- Y.Yd)C.log("Scroll direction is not both!");else{var b=this.l.d();this.Mi(this.f.width-b.width,this.f.height-b.height)}},rja:function(){this.direction!=Y.Yd?C.log("Scroll direction is not both!"):this.Mi(0,0)},sja:function(){this.direction!=Y.Yd?C.log("Scroll direction is not both!"):this.Mi(this.f.width-this.l.d().width,0)},wja:function(b){var c=this.f.height-this.l.d().height;this.Mi(this.l.Q.x,c+b*-c/100)},vja:function(b){var c=this.l.d().width-this.f.width;this.Mi(-(b*c/100),this.l.Q.y)},uja:function(b){if(this.direction==
- Y.Yd){var c=this.l.d(),e=this.f.height-c.height;this.Mi(-(b.x*(c.width-this.f.width)/100),e+b.y*-e/100)}},g9:function(){this.ft&&this.Sr();this.lt&&this.yJ();this.ao=0},R2:function(){if(!this.Su()&&this.pv&&!(0.016>=this.ao)){var b=0,c;switch(this.direction){case Y.Yi:b=this.Sk.y-this.Dh.y;c=0>b?Y.bW:Y.eW;break;case Y.Xi:b=this.Sk.x-this.Dh.x;c=0>b?Y.cW:Y.dW;break;case Y.Yd:c=C.bb(this.Sk,this.Dh),b=C.Ce(c),c=C.ld(c)}b=Math.min(Math.abs(b)/this.ao,Y.zT);this.US(c,b,n,-1E3);this.ao=0}},ov:function(){this.g9();
- this.Nx=n},nv:function(b){b=C.bb(b.ie(),b.SA());switch(this.direction){case Y.Yi:this.Pi(0,b.y);break;case Y.Xi:this.Pi(b.x,0);break;case Y.Yd:this.Pi(b.x,b.y)}},qr:function(){this.R2();this.Nx=q},ob:function(b,c){var e=N.prototype.ob.call(this,b,c);this.zn&&this.ov(b);return e},ac:function(b,c){N.prototype.ac.call(this,b,c);this.nv(b)},$b:function(b,c){N.prototype.$b.call(this,b,c);this.qr(b)},Vc:function(b,c){N.prototype.Vc.call(this,b,c)},update:function(b){this.ft&&this.P1(b);this.lt&&this.V1(b);
- this.Z6(b)},Z6:function(b){this.Nx&&(this.ao+=b)},cl:function(b,c,e){var f=e.ie();switch(b){case L.pD:this.Dh.x=f.x;this.Dh.y=f.y;this.ov(e);break;case L.zp:C.Ce(C.bb(c.aI(),f))>this.ot&&(c.ag(q),this.ar.x=f.x,this.ar.y=f.y,this.nv(e));break;case L.px:case L.Wh:this.Sk.x=f.x,this.Sk.y=f.y,this.qr(e)}},ml:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.sK);this.ua&&this.ua(this,Y.sK)},jl:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.pK);this.ua&&this.ua(this,Y.pK)},kl:function(){this.cd&&
- this.dd&&this.dd.call(this.cd,this,Y.qK);this.ua&&this.ua(this,Y.qK)},ll:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.rK);this.ua&&this.ua(this,Y.rK)},D7:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.oK);this.ua&&this.ua(this,Y.oK)},lH:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.mK);this.ua&&this.ua(this,Y.mK)},iH:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.jK);this.ua&&this.ua(this,Y.jK)},jH:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.kK);
- this.ua&&this.ua(this,Y.kK)},kH:function(){this.cd&&this.dd&&this.dd.call(this.cd,this,Y.lK);this.ua&&this.ua(this,Y.lK)},mda:function(b,c){this.dd=b;this.cd=c},addEventListener:v("ua"),nl:v("direction"),mr:x("direction"),P7:v("Cm"),Nia:x("Cm"),d8:v("pv"),Via:x("pv"),Yga:x("l"),ak:function(b){this.l.ak(b)},Gh:function(){return this.l.Gh()},qh:function(){this.oe&&(this.oe=q)},ug:A("ScrollView"),Ue:function(){return Y.create()},Bo:function(b){N.prototype.Bo.call(this,b)},qf:function(b){b instanceof
- Y&&(N.prototype.qf.call(this,b),this.cJ(b.G3()),this.nl(b.direction),this.P7(b.Cm),this.d8(b.pv),this.cd=b.cd,this.dd=b.dd,this.ua=b.ua)}}),D=Y.prototype;C.c(D,"innerWidth",D.tZ,D.m0);C.c(D,"innerHeight",D.sZ,D.l0);D=p;Y.create=function(){return new Y};Y.sU=0;Y.Yi=1;Y.Xi=2;Y.Yd=3;Y.sK=0;Y.pK=1;Y.qK=2;Y.rK=3;Y.oK=4;Y.mK=5;Y.jK=6;Y.kK=7;Y.lK=8;Y.zT=1E3;Y.eW=F(0,1);Y.bW=F(0,-1);Y.cW=F(-1,0);Y.dW=F(1,0);var Z=Y.extend({Jn:p,be:p,bm:p,gi:0,xq:p,yq:p,rE:0,xh:n,ha:"ListView",ctor:function(){Y.prototype.ctor.call(this);this.Jn=p;this.be=[];this.bm=Z.LC;this.gi=0;this.yq=this.xq=p;this.rE=0;this.xh=n},s:function(){return Y.prototype.s.call(this)?(this.ak(N.jk),n):q},i8:function(b){b&&(this.Jn=b)},D9:function(){switch(this.direction){case Y.Yi:for(var b=this.be.length,c=(b-1)*this.gi,e=0;e<b;e++)var f=this.be[e],c=c+f.d().height;b=this.f.width;this.cJ(H(b,c));break;case Y.Xi:b=this.be.length;c=(b-1)*this.gi;
- for(e=0;e<b;e++)f=this.be[e],c+=f.d().width;b=this.f.height;this.cJ(H(c,b))}},Rv:function(b){if(b)switch(this.direction){case Y.Yi:var c=b.Tg();if(c)switch(0==this.cv(b)?c.ol(ua()):c.ol(new pa(0,this.gi,0,0)),this.bm){case Z.BK:c.$f(O.Th);break;case Z.CK:c.$f(O.hh);break;case Z.LC:c.$f(O.sC)}else{c=O.create();switch(this.bm){case Z.BK:c.$f(O.Th);break;case Z.CK:c.$f(O.hh);break;case Z.LC:c.$f(O.sC)}0==this.cv(b)?c.ol(ua()):c.ol(new pa(0,this.gi,0,0));b.Yv(c)}break;case Y.Xi:if(c=b.Tg())switch(0==
- this.cv(b)?c.ol(ua()):c.ol(new pa(this.gi,0,0,0)),this.bm){case Z.DK:c.$f(O.HL);break;case Z.zK:c.$f(O.jC);break;case Z.AK:c.$f(O.tC)}else{c=O.create();switch(this.bm){case Z.DK:c.$f(O.HL);break;case Z.zK:c.$f(O.jC);break;case Z.AK:c.$f(O.tC)}0==this.cv(b)?c.ol(ua()):c.ol(new pa(this.gi,0,0,0));b.Yv(c)}}},Zka:function(){if(this.Jn){var b=this.Jn.j();this.Rv(b);this.m(b);this.xh=n}},Eia:function(b){if(this.Jn){var c=this.Jn.j();this.be.splice(b,0,c);Y.prototype.m.call(this,c);this.Rv(c);this.xh=n}},
- W6:function(b){this.Rv(b);this.m(b);this.xh=n},m:function(b,c,e){b&&(c=c||b.ia,e=e||b.$k(),Y.prototype.m.call(this,b,c,e),this.be.push(b))},removeChild:function(b,c){if(b){var e=this.be.indexOf(b);-1<e&&this.be.splice(e,1);Y.prototype.removeChild.call(this,b,c)}},Ye:function(){this.Pm(n)},Pm:function(b){Y.prototype.Pm.call(this,b);this.be=[]},Dia:function(b,c){this.be.splice(c,0,b);Y.prototype.m.call(this,b);this.Rv(b);this.xh=n},removeItem:function(b){if(b=this.getItem(b))this.removeChild(b),this.xh=
- n},Cla:function(){this.removeItem(this.be.length-1)},nla:function(){this.Ye()},getItem:function(b){return 0>b||b>=this.be.length?p:this.be[b]},$ga:x("be"),cv:function(b){return this.be.indexOf(b)},$f:function(b){this.bm!=b&&(this.bm=b,this.xh=n)},j8:function(b){this.gi!=b&&(this.gi=b,this.xh=n)},aha:x("gi"),nl:function(b){switch(b){case Y.Yi:this.ak(N.jk);break;case Y.Xi:this.ak(N.ik);break;case Y.Yd:return;default:return}Y.prototype.nl.call(this,b)},Tla:function(){this.xh=n},c7:function(){for(var b=
- 0;b<this.be.length;b++){var c=this.be[b];c.JB(b);this.Rv(c)}this.D9()},qh:function(){N.prototype.qh.call(this);this.xh&&(this.c7(),this.xh=q)},kda:function(b,c){this.xq=c;this.yq=b},addEventListener:v("ua"),F7:function(b){b=b==L.pD?Z.JV:Z.IV;this.xq&&this.yq&&this.yq.call(this.xq,this,b);this.ua&&this.ua(this,b)},cl:function(b,c,e){Y.prototype.cl.call(this,b,c,e);if(1!=b){for(e=c;e;){if(e&&e.getParent()==this.l){this.rE=this.cv(e);break}e=e.getParent()}c.jB()&&this.F7(b)}},yga:x("rE"),lb:function(){Y.prototype.lb.call(this);
- this.xh=n},ug:A("ListView"),Ue:function(){return Z.create()},Bo:function(b){b=b.be;for(var c=0;c<b.length;c++)this.W6(b[c].j())},qf:function(b){Y.prototype.qf.call(this,b);this.i8(b.Jn);this.j8(b.gi);this.$f(b.bm);this.xq=b.xq;this.yq=b.yq;this.ua=b.ua}});Z.create=function(){return new Z};Z.P$=0;Z.JV=0;Z.IV=1;Z.BK=0;Z.CK=1;Z.LC=2;Z.DK=3;Z.zK=4;Z.AK=5;var Ja=N.extend({gg:0,vb:p,Zz:p,b1:0,a1:0,u_:p,vq:p,Kq:p,Id:0,bd:0,Cn:q,eg:0,Ex:0,SD:0,ot:0,Bq:p,Cq:p,ha:"PageView",ua:p,ctor:function(){N.prototype.ctor.call(this);this.gg=0;this.vb=[];this.Zz=Ja.qD;this.a1=this.b1=0;this.Kq=this.vq=this.u_=p;this.bd=this.Id=0;this.Cn=q;this.SD=this.Ex=this.eg=0;this.ot=5;this.Cq=this.Bq=p},s:function(){return N.prototype.s.call(this)?(this.Lr(n),n):q},kb:function(){N.prototype.kb.call(this);this.OI(n)},xda:function(b,c,e){if(b&&!(0>c)){var f=this.vb.length;c>=f?
- e&&(c>f&&C.log("pageIdx is %d, it will be added as page id [%d]",c,f),c=this.o2(),c.m(b),this.cH(c)):(c=this.vb[c])&&c.m(b)}},o2:function(){var b=N.create();b.ja(this.d());return b},cH:function(b){b&&-1==this.vb.indexOf(b)&&(this.Qb(b),this.vb.push(b),this.oe=n)},Gia:function(b,c){0>c||(!b||-1!=this.vb.indexOf(b))||(c>=this.vb.length?this.cH(b):(this.vb[c]=b,this.Qb(b)),this.oe=n)},n7:function(b){b&&(this.rf(b),b=this.vb.indexOf(b),-1<b&&this.vb.splice(b,1),this.oe=n)},Ela:function(b){0>b||b>=this.vb.length||
- (b=this.vb[b])&&this.n7(b)},qla:function(){for(var b=this.vb,c=0,e=b.length;c<e;c++)this.rf(b[c]);this.vb.length=0},B9:function(){0>=this.vb.length?this.Kq=this.vq=p:(this.vq=this.vb[0],this.Kq=this.vb[this.vb.length-1])},rha:function(){return this.vb.length},yha:function(b){return this.gv().width*(b-this.gg)},lb:function(){N.prototype.lb.call(this);this.bd=this.d().width;this.oe=n},z9:function(){for(var b=this.d(),c=this.vb,e=0,f=c.length;e<f;e++)c[e].ja(b)},y9:function(){var b=this.vb.length;if(0>=
- b)this.gg=0;else{this.gg>=b&&(this.gg=b-1);for(var c=this.d().width,e=this.vb,f=0;f<b;f++)e[f].q(F((f-this.gg)*c,0))}},SI:function(b){0>b||b>=this.vb.length||(this.gg=b,this.eg=-this.vb[b].Qd().x,this.Ex=Math.abs(this.eg)/0.2,this.SD=0<this.eg?1:0,this.Cn=n)},update:function(b){this.Cn&&this.O1(b)},O1:function(b){switch(this.SD){case 0:b*=this.Ex;0<=this.eg+b?(b=-this.eg,this.eg=0,this.Cn=q):this.eg+=b;this.Tv(-b);this.Cn||this.pR();break;case 1:b*=this.Ex,0>=this.eg-b?(b=this.eg,this.eg=0,this.Cn=
- q):this.eg-=b,this.Tv(b),this.Cn||this.pR()}},ob:function(b,c){var e=N.prototype.ob.call(this,b,c);this.zn&&this.ov(b);return e},ac:function(b){this.nv(b);var c=this.Rd();c&&c.cl(L.zp,this,b);this.dR()},$b:function(b,c){N.prototype.$b.call(this,b,c);this.qr(b)},Vc:function(b,c){N.prototype.Vc.call(this,b,c);this.qr(b)},qh:function(){this.oe&&(this.y9(),this.z9(),this.B9(),this.oe=q)},yI:function(b){for(var c=this.vb,e=c.length,f=0;f<e;f++){var g=c[f],h=g.Qd();g.q(h.x+b,h.y)}},Tv:function(b){if(0>=
- this.vb.length||!this.vq||!this.Kq)return q;var c=b;switch(this.Zz){case Ja.qD:if(this.Kq.Db()+b<=this.bd)return c=this.bd-this.Kq.Db(),this.yI(c),q;break;case Ja.JL:if(this.vq.xb()+b>=this.Id)return c=this.Id-this.vq.xb(),this.yI(c),q}this.yI(c);return n},ov:t(),nv:function(b){b=b.ie().x-b.SA().x;0>b?this.Zz=Ja.qD:0<b&&(this.Zz=Ja.JL);this.Tv(b)},qr:function(){if(!(0>=this.vb.length)){var b=this.vb[this.gg];if(b){var c=this.vb.length,b=b.Qd().x,e=this.gv().width/2;b<=-e?this.gg>=c-1?this.Tv(-b):
- this.SI(this.gg+1):b>=e?0>=this.gg?this.Tv(-b):this.SI(this.gg-1):this.SI(this.gg)}}},cl:function(b,c,e){switch(b){case 0:this.ov(e);break;case 1:b=0;b=Math.abs(c.aI().x-e.x);b>this.ot&&(c.FB(q),this.nv(e));break;case 2:this.qr(e)}},pR:function(){this.Bq&&this.Cq&&this.Cq.call(this.Bq,this,Ja.uK);this.ua&&this.ua(this,Ja.uK)},lda:function(b,c){this.Cq=b;this.Bq=c},addEventListener:v("ua"),xga:x("gg"),sha:x("vb"),qha:function(b){return 0>b||b>=this.vb.size()?p:this.vb[b]},ug:A("PageView"),Ue:function(){return Ja.create()},
- Bo:function(b){b=b.vb;for(var c=0;c<b.length;c++)this.cH(b[c].j())},qf:function(b){N.prototype.qf.call(this,b);this.ua=b.ua;this.Bq=b.Bq;this.Cq=b.Cq}});Ja.create=function(){var b=new Ja;return b&&b.s()?b:p};Ja.uK=0;Ja.qD=0;Ja.JL=1;var K={fT:"res/tsb.png",tT:"res/whiteCircle.png",uT:"res/whiteLine.png",vT:"res/xx.png",BB:"res/RS.png",vR:"res/rbtn.png",Vu:"res/cmnbtn.png",sT:"res/wbtn.png",CP:"res/blackRegion.png",vP:"res/arrow.png",aR:"res/ly.png",tR:"res/rbtn_down.png",Uu:"res/cmnbtn_down.png",rT:"res/wbtn_down.png",FH:"res/emphs.png",KQ:"res/iris.png",AP:"res/banner.png",lP:"res/acrd.png",uR:"res/rbtn_disabled.png",L9:"res/wbtn_disabled.png",cR:"res/mask.png"},ga=[K.fT,K.tT,K.uT,K.vT,K.BB,K.vR,K.Vu,K.sT,K.CP,K.vP,K.aR,K.rT,
- K.tR,K.Uu,K.FH,K.KQ,K.AP,K.uR,K.L9,K.lP,K.cR,"res/about.png","res/paopao.png","res/more1.png","res/more2.png"];var Ka=C.nd.extend({ctor:function(){this._super(C.color(0,0,0,188),C.ql.width,C.ql.height);var b=C.t.create(K.vP);b.ra(0.8);b.anchorX=1;b.anchorY=1;b.x=C.ql.width-15;b.y=C.ql.height-5;this.m(b)},jka:function(){C.log("onShareTouch is clicked!");return n},Mm:function(){C.log("onTouchesBegan is clicked!");return n},Om:function(){C.log("onTouchesMoved is clicked!");return n},Ro:function(){C.log("onTouchesEnded is clicked!");return n},Nm:function(){C.log("onTouchesCancelled is clicked!");return n},kb:function(){this._super();
- var b=this;"touches"in C.ic.Ru?(C.pa.addListener({event:C.$.yl,ob:function(){return function(){b.visible=q}}()},this),C.pa.addListener({event:C.$.ox,Mm:this.Mm,Om:this.Om,Ro:function(){return function(){C.log(b);b.visible=q}}(),Nm:this.Nm},this)):"mouse"in C.ic.Ru?C.pa.addListener({event:C.$.bn,Gv:function(){return function(c){var e=c.ie();c.Sx===C.Lc.QT?C.log("onRightMouseDown at: "+e.x+" "+e.y):c.Sx===C.Lc.PT&&C.log("onLeftMouseDown at: "+e.x+" "+e.y);b.visible=q;return n}}(),Hv:t(),Iv:function(){return t()}()},
- this):C.log("TOUCHs test is not supported on desktop")}}),La=C.md.extend({kr:function(b,c,e,f,g,h,m){var r=C.t.create(K.tT),s=C.t.create(K.cR);b=C.H.create(b,"Arial",44);b.z(c);C.log(r.width);C.log(r.height);b.x=0.5*r.width;b.y=0.5*r.height;s.x=0.5*r.width;s.y=0.5*r.height;r.m(b);r.m(s);r.Ci({x:e.width*g,y:e.height*h,scale:f});e.m(r,3);return{LQ:m,Xk:r,text:b,qB:s}},Gm:function(b){return Math.floor(Math.random()*b)},Yf:0,yr:60,kka:function(){C.log("onShareTouch is clicked!");this.YB.visible=q;return n},
- t6:function(b,c){if(c===L.Wh)if("\u5173\u95ed\u8bf4\u660e"==b.$H())this.eb.Ei("about").Ir(),b.Qr("\u6d4b\u8bd5\u8bf4\u660e");else{var e=this.eb.d(),f=C.t.create("res/about.png");b.Qr("\u5173\u95ed\u8bf4\u660e");f.ra(0.66);f.J(F(0.5,0));f.q(e.width/2,0.22*e.height+30);this.eb.m(f,1E3,"about");}},z6:function(b,c){switch(c){case L.IL:C.log("onStartCallback Touch Down!");break;case L.zp:C.log("onStartCallback Touch Move!");break;case L.Wh:C.log("onStartCallback Touch Up!");
- break;case L.px:C.log("onStartCallback Touch Cancelled!")}if(c===L.Wh){this.eb.visible=q;this.Yf=0;this.yr=60;this.p.$o.V(this.Yf+"\u5206");var e;for(e=0;4>e;e+=1)this.p.Vd[e].Xk&&(this.p.Vd[e].Xk.Ir(),this.p.Vd[e].text.Ir());var f=0.43,g=1.3;for(e=0;4>e;e+=1){var h=this.p.Kr[this.Gm(5)],m=this.p.Kr[this.Gm(5)];if(0===this.Gm(2)){for(;h.title===m.title;)m=this.p.Kr[this.Gm(5)];this.p.Vd[e]=this.kr(h.title,m.Fm,this.p,g,0.5,f)}else this.p.Vd[e]=this.kr(h.title,h.Fm,this.p,g,0.5,f,n);f+=0.18-e/25;g-=
- 0.3;C.log("i\x3d"+e+"; yPos\x3d"+f+"; bs\x3d"+g)}this.p.Vd[0].qB.visible=q;this.p.Rg.visible=q;this.p.Rg.scaleX=0.01;this.p.kp.visible=q;this.p.z({r:"241",g:"194",b:"56",a:"255"});this.p.visible=n;this.Wc.visible=q;this.eb.visible=q}},y6:function(b,c){c===L.Wh&&(C.log("onShareClick is clicked!"),dp_share())},u6:function(b,c){c===L.Wh&&(C.log("onAgainClick is clicked!"),this.eb.visible=n,this.p.visible=q,this.Wc.visible=q)},x6:function(b,c){if(c===L.Wh)if(C.log("onRightClick is clicked!"),
- this.p.Vd[0].LQ)this.Yf+=1*PREFIX,C.log("You answer right!!!"),this.p.$o.V(this.Yf+"\u5206"),this.yR();else{C.log("You answer wrong!!!");this.p.Oh.Ba(q);this.p.Qh.Ba(q);this.Wc.Uo.V(this.Yf+"\u5206");var e=C.sl.create(3,10);this.p.Vd[0].Xk.Ze(C.Zd.create(e,C.dh.create(this.AI,this)));this.p.Rg.visible=n;this.p.Rg.Ze(C.Zd.create(C.Af.create(0.4,1,1),C.dh.create(this.BI,this,"\u7b54\u9519\u4e86")))}},yR:function(){var b=this.p.Oh,c=this.p.Qh,e=this.p.Kr[this.Gm(5)],f=this.p.Kr[this.Gm(5)];if(0===this.Gm(2)){for(;e.title===
- f.title;)f=this.p.Kr[this.Gm(5)];this.p.Vd[4]=this.kr(e.title,f.Fm,this.p,0.3,0.5,0.9)}else this.p.Vd[4]=this.kr(e.title,e.Fm,this.p,0.3,0.5,0.9,n);this.p.Vd[0].Xk.visible=q;this.p.Vd[0].text.visible=q;for(e=4;0<e;e-=1)f=C.kk.create(C.tp.create(0.08,this.p.Vd[e-1].Xk.Qd()),C.Af.create(0.08,this.p.Vd[e-1].Xk.scale)),this.p.Vd[e].Xk.Ze(f);e=C.$i.create(0.08,F(18,0));f=e.reverse();this.p.HA.Ze(C.Zd.create(f,e));this.p.GA.Ze(C.Zd.create(e.j(),f.j(),C.dh.create(function(){b.Ba(n);c.Ba(n)},this)));this.p.removeChild(this.p.Vd[0].Xk);
- this.p.Vd.splice(0,1);this.p.Vd[0].qB.visible=q},AI:function(){this.p.Oh.Ba(n);this.p.Qh.Ba(n);this.eb.visible=q;this.p.visible=q;this.sB.V(getDesc(this.Yf),dp_submitScore(this.Yf));this.Wc.Ei("btnShare").V(this.Yf>60*PREFIX?"\u70ab\u8000\u4e00\u4e0b":"\u8ba9\u670b\u53cb\u8bd5\u8bd5");this.Wc.visible=n},BI:function(b,c){C.log("onShowMessageCB"+c);this.p.kp.visible=n;this.p.kp.V(c)},B6:function(b,c){if(c===L.Wh)if(this.p.Oh.Ba(q),this.p.Qh.Ba(q),C.log("onWrongClick is clicked!"),this.p.Vd[0].LQ){C.log("You answer wrong!!!");
- this.Wc.Uo.V(this.Yf+"\u5206");var e=C.sl.create(3,10);this.p.Vd[0].Xk.Ze(C.Zd.create(e,C.dh.create(this.AI,this)));this.p.Rg.visible=n;this.p.Rg.Ze(C.Zd.create(C.Af.create(0.4,1,1),C.dh.create(this.BI,this,"\u7b54\u9519\u4e86")))}else this.Yf+=1*PREFIX,C.log("You answer right!!!"),this.p.$o.V(this.Yf+"\u5206"),this.yR()},A6:function(){if(this.p.visible!==q&&(this.p.Wr.V("00:"+this.yr),0<this.yr&&(this.yr-=1,0>=this.yr))){this.Wc.Uo.V(this.Yf+"\u5206");this.p.Oh.Ba(q);this.p.Qh.Ba(q);var b=C.sl.create(3,
- 10);this.p.Wr.Ze(C.Zd.create(b,C.dh.create(this.AI,this)));this.p.Rg.visible=n;this.p.Rg.Ze(C.Zd.create(C.Af.create(0.4,1,1),C.dh.create(this.BI,this,"\u65f6\u95f4\u5230")))}},ctor:function(){this._super();var b=C.jb.ib;this.Zo(this.A6,1);this.eb=C.nd.create();this.eb.z({r:"241",g:"194",b:"56",a:"255"});this.m(this.eb);var c=C.H.create("\u4eba\u4f53\u5965\u79d8\u4e4b","Arial",36);c.q(b.width/2,0.9*b.height);this.eb.m(c);this.eb.ZA=C.t.create(K.lP);this.eb.ZA.x=b.width/2;this.eb.ZA.y=0.64*b.height;
- this.eb.ZA.scale=0.5;this.eb.m(this.eb.ZA,5);this.eb.QS=C.t.create(K.fT);this.eb.QS.Ci({x:b.width/2,y:0.8*b.height,scale:0.8});this.eb.m(this.eb.QS,0);c=this.kr("\u7ea2",C.color(255,0,0,0),this.eb,0.6,0.3,0.5);c.qB.visible=q;this.eb.RS=C.t.create(K.BB);this.eb.RS.Ci({x:0.7*b.width,y:0.5*b.height,scale:0.6});this.eb.m(this.eb.RS,0);this.eb.FJ=C.t.create(K.uT);this.eb.FJ.Ci({x:0.5*b.width,y:0.43*b.height});this.eb.FJ.scaleX=300;this.eb.m(this.eb.FJ,0);c=this.kr("\u7ea2",C.color(0,0,255,0),this.eb,0.6,
- 0.3,0.36);c.qB.visible=q;this.eb.SS=C.t.create(K.vT);this.eb.SS.Ci({x:0.7*b.width,y:0.36*b.height,scale:0.6});this.eb.m(this.eb.SS,0);c=S.create();c.vf(n);c.Wj(K.Vu,K.Uu,K.BB);c.x=b.width/2;c.y=0.22*b.height;c.scale=0.5;c.yo(this.z6,this);c.WB(74);c.Qr("\u5f00\u59cb\u6e38\u620f");this.eb.m(c,1);c=S.create();c.vf(n);c.Wj(K.Vu,K.Uu,K.BB);c.x=b.width/2;c.y=0.1*b.height;c.scale=0.5;c.yo(this.t6,this);c.WB(68);c.Qr("\u6d4b\u8bd5\u8bf4\u660e");this.eb.m(c,1);this.p=C.nd.create();this.m(this.p);this.p.ka(q);
- this.p.z({r:"241",g:"194",b:"56",a:"255"});c=za.create();c.Mh(K.aR);c.Ci({x:0.5*b.width,y:0.96*b.height});c.scaleX=5.5;this.p.m(c,0);this.p.Rg=za.create();this.p.Rg.Mh(K.AP);this.p.Rg.Ci({x:0.5*b.width,y:0.6*b.height});this.p.Rg.scaleX=0.01;this.p.Rg.visible=q;this.p.m(this.p.Rg,20);this.p.kp=C.H.create("You failed","Arial",38);this.p.kp.x=0.5*b.width;this.p.kp.y=0.6*b.height;this.p.kp.visible=q;this.p.m(this.p.kp,21);c=za.create();c.Mh(K.KQ);c.Ci({x:0.5*b.width,y:0.43*b.height,scale:0.38});this.p.m(c,
- 2);this.p.HA=za.create();this.p.HA.Mh(K.FH);this.p.HA.Ci({x:0.22*b.width,y:0.43*b.height,scale:0.5});this.p.m(this.p.HA,2);this.p.GA=za.create();this.p.GA.Mh(K.FH);this.p.GA.Ci({x:0.78*b.width,y:0.43*b.height,scale:0.5,rotation:180});this.p.m(this.p.GA,2);this.p.Wr=C.H.create("00:00","Arial",38);this.p.Wr.z(C.color(0,0,0,255));this.p.Wr.x=b.width/2;this.p.Wr.y=0.95*b.height;this.p.m(this.p.Wr,1);this.p.$o=C.H.create("0\u5206","Arial",38);this.p.$o.z(C.color(0,0,0,255));this.p.$o.x=0.9*b.width;this.p.$o.y=
- 0.95*b.height;this.p.m(this.p.$o,1);this.p.sb=C.t.create(K.CP);this.p.sb.Ci({x:0.5*b.width,y:0.1*b.height});this.p.m(this.p.sb,1);this.p.Oh=S.create();this.p.Oh.vf(n);this.p.Oh.Wj(K.vR,K.tR,K.uR);this.p.Oh.x=0.2*b.width;this.p.Oh.y=0.15*b.height;this.p.Oh.scale=0.5;this.p.Oh.yo(this.x6,this);this.p.m(this.p.Oh,1);c=C.H.create("\u6216","Arial",28);c.x=0.5*b.width;c.y=0.15*b.height;this.p.m(c,9);this.p.Qh=S.create();this.p.Qh.vf(n);this.p.Qh.Wj(K.sT,K.rT,K.Soa);this.p.Qh.x=0.8*b.width;this.p.Qh.y=0.15*
- b.height;this.p.Qh.scale=0.5;this.p.Qh.yo(this.B6,this);this.p.m(this.p.Qh,1);this.p.Kr=[{title:"\u7ea2",Fm:C.color(255,0,0,255)},{title:"\u7d2b",Fm:C.color(204,0,255,255)},{title:"\u7eff",Fm:C.color(0,255,0,255)},{title:"\u84dd",Fm:C.color(0,0,255,255)},{title:"\u9ed1",Fm:C.color(0,0,0,255)}];this.p.Vd=[1,1,1,1];this.Wc=C.nd.create();this.Wc.z({r:"241",g:"194",b:"56",a:"255"});this.m(this.Wc);this.Wc.ka(q);c=C.H.create("\u6d4b\u8bd5\u7ed3\u679c","Arial",44);c.x=b.width/2;c.y=0.92*b.height;this.Wc.m(c);
- this.Wc.Uo=C.H.create("0\u5206","Arial",48);this.Wc.Uo.x=b.width/2;this.Wc.Uo.y=0.8*b.height;this.Wc.Uo.z(C.color(0,0,0,255));this.Wc.m(this.Wc.Uo);this.sB=C.H.create("\u4e00\u822c\u4eba\u5e73\u5747\u80fd\u62ff\u523080\u5206\n\u636e\u8bf4\u771f\u6b63\u7684\u98de\u884c\u5458\u80fd\u62ff\u5230200\u5206","Arial",22);this.sB.x=b.width/2;this.sB.y=0.7*b.height;this.Wc.m(this.sB);c=S.create();c.vf(n);c.Wj(K.Vu,K.Uu,"");c.x=0.5*b.width;c.y=0.4*b.height;c.scale=0.5;c.yo(this.y6,this);this.Wc.m(c,1);c=C.H.create("\u8ba9\u670b\u53cb\u8bd5\u8bd5",
- "Arial",34);c.x=0.5*b.width;c.y=0.4*b.height;var e=C.t.create("res/paopao.png");e.ra(0.8);e.q(180,90);c.m(e);var f=C.H.create("\u5206\u4eab\u540e\u544a\u8bc9\u4f60\n\u5f97\u9ad8\u5206\u7684\u79d8\u8bc0","Arial",28);f.z(C.color(0,0,0));f.q(100,80);e.m(f);this.Wc.m(c,9,"btnShare");c=C.H.create("\u518d\u6765\u4e00\u6b21","Arial",38);c.x=0.5*b.width;c.y=0.26*b.height;this.Wc.m(c,9);c=S.create();c.vf(n);c.Wj(K.Vu,K.Uu,"");c.x=0.5*b.width;c.y=0.26*b.height;c.scale=0.5;c.yo(this.u6,this);this.Wc.m(c,1);
- var g=0==parseInt(10*Math.random())%2?1:2,c=S.create(),e="res/more"+g+".png";c.Wj(e,e,e);c.vf(n);c.ra(0.8);c.q(0.76*b.width,0.1*b.height);c.yo(function(){clickMore()},this);this.Wc.m(c);this.YB=new Ka;this.YB.visible=q;this.m(this.YB,9);return n}}),Ma=C.kx.extend({kb:function(){this._super();var b=new La;this.m(b)}});C.ze.CI=function(){C.view.t1(n);C.ic.Vj?C.view.EB(420,600,C.zf.Rw):C.view.EB(420,500,C.zf.jx);C.view.s7(n);C.qF=p;C.TC.P6(function(){C.jb.KR(new Ma);})};C.ze.v7();
|