提交 5311f60a 作者: 毛细亚

初始化小程序

上级 a63d439b
# Windows
[Dd]esktop.ini
Thumbs.db
$RECYCLE.BIN/
# macOS
.DS_Store
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
# Node.js
node_modules/
module.exports = {
app_id: "wxfa450ecfe43703fb",
game_id: "106",
/**以下参数,请勿随意修改! */
gameVersion: "1.16852"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
const _zw_a=['info','./manifest.js','https://cdn.sszt.app.9125flying.com/shenqi_20210203/miniGame/','./egret.wxgame.js','cfgZipName','qufuCdnServer','scaleMode','APIlocation','fixedWide','img/bugu_bg0.jpg','./config/config.js','js_gameVars','0config.zip','renderMode','zipTargetDir','ZXjqL','cfgTotalCount','banshu','img/bg11.jpg','frameRate','mozBackingStorePixelRatio','./library/image.js','MG_banshu','trace','configUrl','channel','qufu_version','client','warn','eszgA','qudao','debug','entryClassName','error','table','forwardWs','{}.constructor(\x22return\x20this\x22)(\x20)','backingStorePixelRatio','https://cdn.sszt.app.9125flying.com/shenqi_20210203/assets/resource/','oBackingStorePixelRatio','contentWidth','webgl','fpsStyles','publish','qufu.QuFuMain','isWX','newCreateRole','RcXAx','cdnServerMTest','isMobile','showFPS','mkcun','initialization','loadedCfgZip','./library/binary.js','calculateCanvasScaleFactor','processor','sNsli','temp_config/','monitormessage','landscape','bgImg0','x:550,y:30,size:14,textColor:0xffffff,bgAlpha:0.6','subpackage','apply','orientation','RES','exception','platform','return\x20(function()\x20','https://ht-api.sszt.app.9125flying.com/','ssl','154','qufuType','uSuUv','resUrl','console','著作权人\x20广州酷玩网络科技有限公司\x20出版单位名称\x20上海同济大学电子音像出版社\x0a著作权登记号\x20\x202013SR055848\x20\x20批准文号\x20新广出审[2014]1090号\x20网络游戏出版物号\x20978-7-89404-095-4','runEgret','msBackingStorePixelRatio'];(function(a,b){const c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x125));const _zw_b=function(a,b){a=a-0x0;let c=_zw_a[a];return c;};const _zw_g=function(){let a=!![];return function(b,g){if(_zw_b('0x15')!==_zw_b('0x4')){const h=a?function(){if(g){if(_zw_b('0x2a')!=='ZXjqL'){that[_zw_b('0x17')]['log']=func;that[_zw_b('0x17')][_zw_b('0x37')]=func;that[_zw_b('0x17')][_zw_b('0x3a')]=func;that['console'][_zw_b('0x1b')]=func;that[_zw_b('0x17')][_zw_b('0x3c')]=func;that[_zw_b('0x17')]['exception']=func;that['console'][_zw_b('0x3d')]=func;that[_zw_b('0x17')][_zw_b('0x32')]=func;}else{const j=g['apply'](b,arguments);g=null;return j;}}}:function(){};a=![];return h;}else{const j={};j['log']=func;j[_zw_b('0x37')]=func;j['debug']=func;j[_zw_b('0x1b')]=func;j[_zw_b('0x3c')]=func;j[_zw_b('0xe')]=func;j['table']=func;j[_zw_b('0x32')]=func;return j;}};}();const _zw_h=_zw_g(this,function(){const a=function(){};const b=function(){if(_zw_b('0x38')===_zw_b('0x38')){let h;try{h=Function(_zw_b('0x10')+_zw_b('0x3f')+');')();}catch(i){h=window;}return h;}else{const k=fn[_zw_b('0xb')](context,arguments);fn=null;return k;}};const g=b();if(!g[_zw_b('0x17')]){if(_zw_b('0x4a')===_zw_b('0x4e')){globalObject=window;}else{g[_zw_b('0x17')]=function(i){const j={};j['log']=i;j['warn']=i;j[_zw_b('0x3a')]=i;j['info']=i;j['error']=i;j['exception']=i;j['table']=i;j['trace']=i;return j;}(a);}}else{g[_zw_b('0x17')]['log']=a;g['console'][_zw_b('0x37')]=a;g[_zw_b('0x17')][_zw_b('0x3a')]=a;g[_zw_b('0x17')][_zw_b('0x1b')]=a;g['console'][_zw_b('0x3c')]=a;g[_zw_b('0x17')][_zw_b('0xe')]=a;g[_zw_b('0x17')][_zw_b('0x3d')]=a;g[_zw_b('0x17')]['trace']=a;}});_zw_h();require('./weapp-adapter.js');require(_zw_b('0x1c'));require(_zw_b('0x1e'));const {gameVersion}=require(_zw_b('0x25'));window[_zw_b('0x31')]=!![];window['js_copyright']=_zw_b('0x18')+'\x0a抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。\x0a适龄提示:适合16岁以上使用';const _zw_i={};_zw_i[_zw_b('0x2c')]=![];_zw_i[_zw_b('0x3e')]=0x1;_zw_i[_zw_b('0x12')]=!![];_zw_i[_zw_b('0x39')]=_zw_b('0x13');_zw_i[_zw_b('0x34')]=_zw_b('0x13');_zw_i[_zw_b('0xf')]=0x86;_zw_i[_zw_b('0x49')]=0x1;_zw_i[_zw_b('0x46')]=!![];_zw_i[_zw_b('0x35')]='29';_zw_i['bgImg']=_zw_b('0x2d');_zw_i[_zw_b('0x8')]=_zw_b('0x24');_zw_i[_zw_b('0x4c')]=0x1;_zw_i[_zw_b('0x6')]=!![];_zw_i[_zw_b('0x22')]=_zw_b('0x11');_zw_i[_zw_b('0xa')]=!![];_zw_i[_zw_b('0x36')]=-0x1;_zw_i[_zw_b('0x14')]=0x3;_zw_i[_zw_b('0x1f')]=_zw_b('0x27');_zw_i[_zw_b('0x29')]=_zw_b('0x5');_zw_i['newCfgZip']=!![];_zw_i[_zw_b('0x0')]=![];_zw_i[_zw_b('0x2b')]=0x6;_zw_i[_zw_b('0x33')]='';_zw_i[_zw_b('0x16')]=_zw_b('0x41');_zw_i[_zw_b('0x20')]=_zw_b('0x1d');_zw_i[_zw_b('0x4b')]=_zw_b('0x1d')+gameVersion+'/';_zw_i[_zw_b('0x48')]=!![];_zw_i[_zw_b('0x3a')]=![];window[_zw_b('0x26')]=_zw_i;if(window[_zw_b('0xd')]&&RES[_zw_b('0x3')]){require(_zw_b('0x30'));require('./library/text.js');require(_zw_b('0x1'));}const _zw_j={};_zw_j[_zw_b('0x3b')]=_zw_b('0x47');_zw_j[_zw_b('0xc')]=_zw_b('0x7');_zw_j[_zw_b('0x2e')]=0x3c;_zw_j[_zw_b('0x21')]=_zw_b('0x23');_zw_j[_zw_b('0x43')]=0x470;_zw_j['contentHeight']=0x280;_zw_j[_zw_b('0x4d')]=![];_zw_j[_zw_b('0x45')]=_zw_b('0x9');_zw_j['showLog']=![];_zw_j['maxTouches']=0x2;_zw_j[_zw_b('0x28')]=_zw_b('0x44');_zw_j['audioType']=0x0;_zw_j[_zw_b('0x2')]=function(a){var b=a[_zw_b('0x40')]||a['webkitBackingStorePixelRatio']||a[_zw_b('0x2f')]||a[_zw_b('0x1a')]||a[_zw_b('0x42')]||a[_zw_b('0x40')]||0x1;return(window['devicePixelRatio']||0x1)/b;};egret[_zw_b('0x19')](_zw_j);platform[_zw_b('0x4f')]();
\ No newline at end of file
{
"deviceOrientation": "landscapeRight",
"networkTimeout": {
"request": 50000,
"connectSocket": 50000,
"uploadFile": 50000,
"downloadFile": 50000
},
"subpackages": [
{
"name": "subpackage",
"root": "subpackage/main.min.js"
}
]
}
\ No newline at end of file
var egret = window.egret;var __reflect=this&&this.__reflect||function(e,r,t){e.__class__=r,t?t.push(r):t=[r],e.__types__=e.__types__?t.concat(e.__types__):t},__extends=this&&this.__extends||function(e,r){function t(){this.constructor=e}for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o]);t.prototype=r.prototype,e.prototype=new t},__decorate=this&&this.__decorate||function(e,r,t,o){var n,i=arguments.length,a=3>i?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(3>i?n(a):i>3?n(r,t,a):n(r,t))||a);return i>3&&a&&Object.defineProperty(r,t,a),a},RES;!function(e){}(RES||(RES={}));var RES;!function(e){var r=function(){function r(){this.groupTotalDic={},this.numLoadedDic={},this.groupErrorDic={},this.retryTimesDic={},this.maxRetryTimes=3,this.reporterDic={},this.dispatcherDic={},this.failedList=new Array,this.loadItemErrorDic={},this.errorDic={},this.itemListPriorityDic={},this.itemLoadDic={},this.promiseHash={},this.lazyLoadList=new Array,this.loadingCount=0,this.thread=4}return r.prototype.pushResItem=function(e){if(this.promiseHash[e.root+e.name])return this.promiseHash[e.root+e.name];this.lazyLoadList.push(e),this.itemListPriorityDic[Number.NEGATIVE_INFINITY]=this.lazyLoadList,this.updatelistPriority(this.lazyLoadList,Number.NEGATIVE_INFINITY);var r=new egret.EventDispatcher;this.dispatcherDic[e.root+e.name]=r;var t=new Promise(function(e,t){r.addEventListener("complete",function(r){e(r.data)},null),r.addEventListener("error",function(e){t(e.data)},null)});return this.promiseHash[e.root+e.name]=t,this.loadNextResource(),t},r.prototype.pushResGroup=function(e,r,t,o){if(this.promiseHash[r])return this.promiseHash[r];for(var n=e.length,i=0;n>i;i++){var a=e[i];a.groupNames||(a.groupNames=[]),a.groupNames.push(r)}this.groupTotalDic[r]=e.length,this.numLoadedDic[r]=0,this.updatelistPriority(e,t),this.reporterDic[r]=o;var s=new egret.EventDispatcher;this.dispatcherDic[r]=s;var u=new Promise(function(e,r){s.addEventListener("complete",e,null),s.addEventListener("error",function(e){r(e.data)},null)});return this.promiseHash[r]=u,this.loadNextResource(),u},r.prototype.updatelistPriority=function(e,r){void 0==this.itemListPriorityDic[r]&&(this.itemListPriorityDic[r]=[]);for(var t=0,o=e;t<o.length;t++){var n=o[t];if(1!=this.itemLoadDic[n.root+n.name]){var i=this.findPriorityInDic(n);if(void 0==i)this.itemListPriorityDic[r].push(n);else if(r>i){this.itemListPriorityDic[r].push(n);var a=this.itemListPriorityDic[i].indexOf(n);this.itemListPriorityDic[i].splice(a,1)}}}},r.prototype.findPriorityInDic=function(e){for(var r in this.itemListPriorityDic)if(this.itemListPriorityDic[r].indexOf(e)>-1)return parseInt(r)},r.prototype.loadNextResource=function(){for(;this.loadingCount<this.thread;){var e=this.loadSingleResource();if(!e)break}},r.prototype.loadSingleResource=function(){var r=this,t=this.getOneResourceInfoInGroup();return t?(this.itemLoadDic[t.root+t.name]=1,this.loadingCount++,this.loadResource(t).then(function(o){if(r.loadingCount--,delete r.itemLoadDic[t.root+t.name],e.host.save(t,o),r.promiseHash[t.root+t.name]){var n=r.deleteDispatcher(t.root+t.name);n.dispatchEventWith("complete",!1,o)}var i=t.groupNames;if(i){delete t.groupNames;for(var a=0,s=i;a<s.length;a++){var u=s[a];r.setGroupProgress(u,t)&&r.loadGroupEnd(u)}}r.loadNextResource()})["catch"](function(o){if(!o)throw t.name+" load fail";if(!o.__resource_manager_error__)throw o;delete r.itemLoadDic[t.root+t.name],r.loadingCount--,delete e.host.state[t.root+t.name];var n=r.retryTimesDic[t.name]||1;if(!(n>r.maxRetryTimes))return r.retryTimesDic[t.name]=n+1,r.failedList.push(t),void r.loadNextResource();if(delete r.retryTimesDic[t.name],r.promiseHash[t.root+t.name]){var i=r.deleteDispatcher(t.root+t.name);i.dispatchEventWith("error",!1,{r:t,error:o})}var a=t.groupNames;if(a){delete t.groupNames;for(var s=0,u=a;s<u.length;s++){var c=u[s];r.loadItemErrorDic[c]||(r.loadItemErrorDic[c]=[]),-1==r.loadItemErrorDic[c].indexOf(t)&&r.loadItemErrorDic[c].push(t),r.groupErrorDic[c]=!0,r.setGroupProgress(c,t)?r.loadGroupEnd(c,o):r.errorDic[c]=o}}r.loadNextResource()}),!0):!1},r.prototype.getOneResourceInfoInGroup=function(){if(this.failedList.length>0)return this.failedList.shift();var e=Number.NEGATIVE_INFINITY;for(var r in this.itemListPriorityDic)e=Math.max(e,r);var t=this.itemListPriorityDic[e];if(t)return 0==t.length?(delete this.itemListPriorityDic[e],this.getOneResourceInfoInGroup()):t.shift()},r.prototype.setGroupProgress=function(e,r){var t=this.reporterDic[e];this.numLoadedDic[e]++;var o=this.numLoadedDic[e],n=this.groupTotalDic[e];return t&&t.onProgress&&t.onProgress(o,n,r),o==n},r.prototype.loadGroupEnd=function(e,r){delete this.groupTotalDic[e],delete this.numLoadedDic[e],delete this.reporterDic[e];var t=this.deleteDispatcher(e);if(r){delete this.groupErrorDic[e];var o=this.loadItemErrorDic[e];delete this.loadItemErrorDic[e],t.dispatchEventWith("error",!1,{itemList:o,lastError:r})}else{var n=this.groupErrorDic[e];if(delete this.groupErrorDic[e],n){var o=this.loadItemErrorDic[e];delete this.loadItemErrorDic[e];var i=this.errorDic[e];delete this.errorDic[e],t.dispatchEventWith("error",!1,{itemList:o,error:i})}else t.dispatchEventWith("complete")}},r.prototype.deleteDispatcher=function(e){delete this.promiseHash[e];var r=this.dispatcherDic[e];return delete this.dispatcherDic[e],r},r.prototype.loadResource=function(r,t){if(!t){if(1==e.FEATURE_FLAG.FIX_DUPLICATE_LOAD){var o=e.host.state[r.root+r.name];if(2==o)return Promise.resolve(e.host.get(r));if(1==o)return r.promise}t=e.processor.isSupport(r)}if(!t)throw new e.ResourceManagerError(2001,r.name,r.type);e.host.state[r.root+r.name]=1;var n=t.onLoadStart(e.host,r);return r.promise=n,n},r.prototype.unloadResource=function(r){var t=e.host.get(r);if(!t)return console.warn("尝试释放不存在的资源:",r.name),!1;var o=e.processor.isSupport(r);return o?(o.onRemoveStart(e.host,r),e.host.remove(r),1==r.extra&&e.config.removeResourceData(r),!0):!0},r}();e.ResourceLoader=r,__reflect(r.prototype,"RES.ResourceLoader")}(RES||(RES={}));var RES;!function(e){e.checkNull=function(e,r,t){var o=t.value;t.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[0]?o.apply(this,e):(console.warn("方法"+r+"的参数不能为null"),null)}},e.FEATURE_FLAG={FIX_DUPLICATE_LOAD:1};var r;!function(e){function r(e){t=e}var t="warning";e.setUpgradeGuideLevel=r}(r=e.upgrade||(e.upgrade={}))}(RES||(RES={}));var RES;!function(e){function r(r){var t=e.config.config.fileSystem.getFile(r);return t||(r=e.resourceNameSelector(r),t=e.config.config.fileSystem.getFile(r)),t}function t(e,r){var t;t=e.indexOf(".json")>=0?"legacyResourceConfig":"resourceConfig",o={type:t,root:r,url:e,name:e}}e.resourceNameSelector=function(e){return e},e.getResourceInfo=r;var o;e.setConfigURL=t;var n=function(){function t(){}return t.prototype.init=function(){return this.config||(this.config={alias:{},groups:{},resourceRoot:o.root,mergeSelector:null,fileSystem:null,loadGroup:[]}),e.queue.pushResItem(o)["catch"](function(r){return e.isCompatible||r.__resource_manager_error__||(r.error?console.error(r.error.stack):console.error(r.stack),r=new e.ResourceManagerError(1002)),e.host.remove(o),Promise.reject(r)})},t.prototype.getGroupByName=function(r){var t=this.config.groups[r],o=[];if(!t)return o;for(var n=0,i=t;n<i.length;n++){var a=i[n],s=void 0;if(s=e.config.getResourceWithSubkey(a),null!=s){var u=s.r,c=s.key;if(null==u)throw new e.ResourceManagerError(2005,c);-1==o.indexOf(u)&&o.push(u)}}return o},t.prototype.__temp__get__type__via__url=function(r){var t=this.config.alias[r];if(t||(t=r),e.typeSelector){var o=e.typeSelector(t);if(!o)throw new e.ResourceManagerError(2004,t);return o}return console.warn("RES.mapConfig 并未设置 typeSelector"),"unknown"},t.prototype.getResourceWithSubkey=function(e){e=this.getKeyByAlias(e);var r=e.indexOf("#"),t="";r>=0&&(t=e.substr(r+1),e=e.substr(0,r));var o=this.getResource(e);return o?{r:o,key:e,subkey:t}:null},t.prototype.getKeyByAlias=function(e){return this.config.alias[e]?this.config.alias[e]:e},t.prototype.getResource=function(e){var t=this.config.alias[e];t||(t=e);var o=r(t);return o?o:null},t.prototype.createGroup=function(e,r,t){if(void 0===t&&(t=!1),!t&&this.config.groups[e]||!r||0==r.length)return!1;for(var o=[],n=0,i=r;n<i.length;n++){var a=i[n];if(this.config.groups[a]){var s=this.config.groups[a];o=o.concat(s)}else o.push(a)}return this.config.groups[e]=o,!0},t.prototype.addSubkey=function(e,r){this.addAlias(e,r+"#"+e)},t.prototype.addAlias=function(e,r){this.config.alias[r]&&(r=this.config.alias[r]),this.config.alias[e]=r},t.prototype.addResourceData=function(r){e.hasRes(r.name)||(r.type||(r.type=this.__temp__get__type__via__url(r.url)),e.config.config.fileSystem.addFile(r))},t.prototype.removeResourceData=function(r){e.hasRes(r.name)&&(e.config.config.fileSystem.removeFile(r.url),this.config.alias[r.name]&&delete this.config.alias[r.name])},t}();e.ResourceConfig=n,__reflect(n.prototype,"RES.ResourceConfig")}(RES||(RES={}));var RES;!function(e){function r(r){return e.path.basename(r).split(".").join("_")}function t(r){var t,o=r.substr(r.lastIndexOf(".")+1);switch(o){case e.ResourceItem.TYPE_XML:case e.ResourceItem.TYPE_JSON:case e.ResourceItem.TYPE_SHEET:t=o;break;case"png":case"jpg":case"gif":case"jpeg":case"bmp":t=e.ResourceItem.TYPE_IMAGE;break;case"fnt":t=e.ResourceItem.TYPE_FONT;break;case"txt":t=e.ResourceItem.TYPE_TEXT;break;case"mp3":case"ogg":case"mpeg":case"wav":case"m4a":case"mp4":case"aiff":case"wma":case"mid":t=e.ResourceItem.TYPE_SOUND;break;case"mergeJson":case"zip":case"pvr":t=o;break;default:t=e.ResourceItem.TYPE_BIN}return t}function o(r,t){throw new e.ResourceManagerError(2002)}function n(r){e.isCompatible=r}function i(r,t){if(t.indexOf("://")>=0){var o=t.split("://");t=o[0]+"://"+e.path.normalize(o[1]+"/"),r=r.replace(t,"")}else t=e.path.normalize(t+"/"),r=r.replace(t,"");return e.setConfigURL(r,t),P||(P=new D),a(P.loadConfig())}function a(r){return e.isCompatible?void r["catch"](function(e){}).then():r}function s(e,r,t){return void 0===r&&(r=0),a(P.loadGroup(e,r,t))}function u(e){return P.isGroupLoaded(e)}function c(r){return P.getGroupByName(r).map(function(r){return e.ResourceItem.convertToResItem(r)})}function l(e,r,t){return void 0===t&&(t=!1),P.createGroup(e,r,t)}function f(e){return P.hasRes(e)}function p(e){return P.getRes(e)}function g(e,r,t){return a(P.getResAsync.apply(P,arguments))}function d(e,r,t,o){if(void 0===o&&(o=""),!P){var n=egret.sys.tr(3200);return egret.warn(n),Promise.reject(n)}return a(P.getResByUrl(e,r,t,o))}function v(e,r){return P.destroyRes(e,r)}function h(e){P||(P=new D),P.setMaxLoadingThread(e)}function m(e){P.setMaxRetryTimes(e)}function R(e,r,t,o,n){void 0===o&&(o=!1),void 0===n&&(n=0),P||(P=new D),P.addEventListener(e,r,t,o,n)}function E(e,r,t,o){void 0===o&&(o=!1),P.removeEventListener(e,r,t,o)}function y(e){P.addResourceData(e)}function _(){return P||(P=new D),P.vcs}function S(e){P||(P=new D),P.registerVersionController(e)}function L(e){return P.vcs?P.vcs.getVirtualUrl(e):e}e.nameSelector=r,e.typeSelector=t,e.registerAnalyzer=o,e.setIsCompatible=n,e.isCompatible=!1,e.loadConfig=i,e.loadGroup=s,e.isGroupLoaded=u,e.getGroupByName=c,e.createGroup=l,e.hasRes=f,e.getRes=p,e.getResAsync=g,e.getResByUrl=d,e.destroyRes=v,e.setMaxLoadingThread=h,e.setMaxRetryTimes=m,e.addEventListener=R,e.removeEventListener=E,e.$addResourceData=y,e.getVersionController=_,e.registerVersionController=S,e.getVirtualUrl=L;var D=function(r){function t(){var t=r.call(this)||this;return t.isVcsInit=!1,t.normalLoadConfig=function(){return e.config.init().then(function(r){e.ResourceEvent.dispatchResourceEvent(t,e.ResourceEvent.CONFIG_COMPLETE)},function(r){return e.ResourceEvent.dispatchResourceEvent(t,e.ResourceEvent.CONFIG_LOAD_ERROR),Promise.reject(r)})},e.VersionController&&(t.vcs=new e.VersionController),t}return __extends(t,r),t.prototype.registerVersionController=function(e){this.vcs=e,this.isVcsInit=!1},t.prototype.loadConfig=function(){var e=this;return!this.isVcsInit&&this.vcs?(this.isVcsInit=!0,this.vcs.init().then(function(){return e.normalLoadConfig()})):this.normalLoadConfig()},t.prototype.isGroupLoaded=function(r){var t=e.config.getGroupByName(r);return t.every(function(r){return null!=e.host.get(r)})},t.prototype.getGroupByName=function(r){return e.config.getGroupByName(r)},t.prototype.loadGroup=function(r,t,o){var n=this;void 0===t&&(t=0);var i={onProgress:function(t,i,a){o&&o.onProgress&&o.onProgress(t,i,a),e.ResourceEvent.dispatchResourceEvent(n,e.ResourceEvent.GROUP_PROGRESS,r,a,t,i)}};return this._loadGroup(r,t,i).then(function(t){-1==e.config.config.loadGroup.indexOf(r)&&e.config.config.loadGroup.push(r),e.ResourceEvent.dispatchResourceEvent(n,e.ResourceEvent.GROUP_COMPLETE,r)},function(t){if(-1==e.config.config.loadGroup.indexOf(r)&&e.config.config.loadGroup.push(r),t.itemList)for(var o=t.itemList,i=o.length,a=0;i>a;a++){var s=o[a];delete s.promise,e.ResourceEvent.dispatchResourceEvent(n,e.ResourceEvent.ITEM_LOAD_ERROR,r,s)}return e.isCompatible&&console.warn(t.error.message),e.ResourceEvent.dispatchResourceEvent(n,e.ResourceEvent.GROUP_LOAD_ERROR,r),Promise.reject(t.error)})},t.prototype._loadGroup=function(r,t,o){void 0===t&&(t=0);var n=e.config.getGroupByName(r);return 0==n.length?new Promise(function(t,o){o({error:new e.ResourceManagerError(2005,r)})}):e.queue.pushResGroup(n,r,t,o)},t.prototype.createGroup=function(r,t,o){return void 0===o&&(o=!1),e.config.createGroup(r,t,o)},t.prototype.hasRes=function(r){return null!=e.config.getResourceWithSubkey(r)},t.prototype.getRes=function(r){var t=e.config.getResourceWithSubkey(r);if(t){var o=t.r,n=t.key,i=t.subkey,a=e.processor.isSupport(o);return a&&a.getData&&i?a.getData(e.host,o,n,i):e.host.get(o)}return null},t.prototype.getResAsync=function(r,t,o){var n=this,i=r,a=e.config.getResourceWithSubkey(r);if(null==a)return t&&t.call(o,null,i),Promise.reject(new e.ResourceManagerError(2006,r));var s=this.getRes(r);if(s)return t&&egret.callLater(function(){t.call(o,s,i)},this),Promise.resolve(s);var u=a.r,c=a.subkey;return e.queue.pushResItem(u).then(function(n){e.host.save(u,n);var a=e.processor.isSupport(u);return a&&a.getData&&c&&(n=a.getData(e.host,u,r,c)),t&&t.call(o,n,i),n},function(r){return e.host.remove(u),e.ResourceEvent.dispatchResourceEvent(n,e.ResourceEvent.ITEM_LOAD_ERROR,"",u),t?(t.call(o,null,i),Promise.reject(null)):Promise.reject(r)})},t.prototype.getResByUrl=function(r,t,o,n){var i=this;void 0===n&&(n="");var a=e.config.getResource(r);if(!a&&(n||(n=e.config.__temp__get__type__via__url(r)),a={name:r,url:r,type:n,root:"",extra:1},e.config.addResourceData(a),a=e.config.getResource(r),!a))throw"never";return e.queue.pushResItem(a).then(function(r){return e.host.save(a,r),t&&a&&t.call(o,r,a.url),r},function(n){return e.host.remove(a),e.ResourceEvent.dispatchResourceEvent(i,e.ResourceEvent.ITEM_LOAD_ERROR,"",a),t?(t.call(o,null,r),Promise.reject(null)):Promise.reject(n)})},t.prototype.destroyRes=function(r,t){void 0===t&&(t=!0);var o=e.config.getGroupByName(r);if(o&&o.length>0){var n=e.config.config.loadGroup.indexOf(r);if(-1==n)return!1;if(t||1==e.config.config.loadGroup.length&&e.config.config.loadGroup[0]==r){for(var i=0,a=o;i<a.length;i++){var s=a[i];e.queue.unloadResource(s)}e.config.config.loadGroup.splice(n,1)}else{for(var u={},c=0,l=e.config.config.loadGroup;c<l.length;c++){var f=l[c];for(var p in e.config.config.groups[f]){var g=e.config.config.groups[f][p];u[g]?u[g]++:u[g]=1}}for(var d=0,v=o;d<v.length;d++){var s=v[d];u[s.name]&&1==u[s.name]&&e.queue.unloadResource(s)}e.config.config.loadGroup.splice(n,1)}return!0}var s=e.config.getResource(r);return s?e.queue.unloadResource(s):(console.warn("在内存"+r+"资源不存在"),!1)},t.prototype.setMaxLoadingThread=function(r){1>r&&(r=1),e.queue.thread=r},t.prototype.setMaxRetryTimes=function(r){r=Math.max(r,0),e.queue.maxRetryTimes=r},t.prototype.addResourceData=function(r){r.root="",e.config.addResourceData(r)},__decorate([e.checkNull],t.prototype,"hasRes",null),__decorate([e.checkNull],t.prototype,"getRes",null),__decorate([e.checkNull],t.prototype,"getResAsync",null),__decorate([e.checkNull],t.prototype,"getResByUrl",null),t}(egret.EventDispatcher);e.Resource=D,__reflect(D.prototype,"RES.Resource");var P}(RES||(RES={}));var RES;!function(e){var r;!function(e){function r(e){var r=e.split("/");return r.filter(function(e,t){return!!e||t==r.length-1}).join("/")}function t(e){return e.substr(e.lastIndexOf("/")+1)}function o(e){return e.substr(0,e.lastIndexOf("/"))}e.normalize=r,e.basename=t,e.dirname=o}(r=e.path||(e.path={}))}(RES||(RES={}));var RES;!function(e){function r(){e.config.config.fileSystem.profile(),console.log(t);var r=0;for(var o in t){var n=t[o];n instanceof egret.Texture&&(r+=n.$bitmapWidth*n.$bitmapHeight*4)}console.log("gpu size : "+(r/1024).toFixed(3)+"kb")}var t={};e.profile=r,e.host={state:{},get resourceConfig(){return e.config},load:function(r,t){var o="string"==typeof t?e.processor._map[t]:t;return e.queue.loadResource(r,o)},unload:function(r){return e.queue.unloadResource(r)},save:function(r,o){e.host.state[r.root+r.name]=2,delete r.promise,t[r.root+r.name]=o},get:function(e){return t[e.root+e.name]},remove:function(r){delete e.host.state[r.root+r.name],delete t[r.root+r.name]}},e.config=new e.ResourceConfig,e.queue=new e.ResourceLoader;var o=function(e){function r(t,o,n){var i=e.call(this)||this;return i.__resource_manager_error__=!0,i.name=t.toString(),i.message=r.errorMessage[t].replace("{0}",o).replace("{1}",n),i}return __extends(r,e),r.errorMessage={1001:"文件加载失败:{0}",1002:"ResourceManager 初始化失败:配置文件加载失败",2001:"{0}解析失败,不支持指定解析类型:'{1}',请编写自定义 Processor ,更多内容请参见 https://github.com/egret-labs/resourcemanager/blob/master/docs/README.md#processor",2002:"Analyzer 相关API 在 ResourceManager 中不再支持,请编写自定义 Processor ,更多内容请参见 https://github.com/egret-labs/resourcemanager/blob/master/docs/README.md#processor",2003:"{0}解析失败,错误原因:{1}",2004:"无法找到文件类型:{0}",2005:'RES加载了不存在或空的资源组:"{0}"',2006:"资源配置文件中无法找到特定的资源:{0}"},r}(Error);e.ResourceManagerError=o,__reflect(o.prototype,"RES.ResourceManagerError")}(RES||(RES={}));var RES;!function(e){var r;!function(r){function t(e){return r._map[e.type]}function o(e,t){r._map[e]=t}function n(r,t){var o=this;return new Promise(function(n,i){var a=function(){var e=r.data?r.data:r.response;n(e)},s=function(){var r=new e.ResourceManagerError(1001,t.url);i(r)};r.addEventListener(egret.Event.COMPLETE,a,o),r.addEventListener(egret.IOErrorEvent.IO_ERROR,s,o)})}function i(e,r){if(-1!=r.indexOf("://"))return r;e=e.split("\\").join("/");var t=e.match(/#.*|\?.*/),o="";t&&(o=t[0]);var n=e.lastIndexOf("/");return e=-1!=n?e.substring(0,n+1)+r:r,e+o}function a(e){return{name:e.name+"_alpha",url:e.etc1_alpha_url,type:"ktx",root:e.root}}r.isSupport=t,r.map=o,r.getRelativePath=i,r.ImageProcessor={onLoadStart:function(r,t){var o=new egret.ImageLoader;return o.load(e.getVirtualUrl(t.root+t.url)),n(o,t).then(function(e){var o=new egret.Texture;o._setBitmapData(e);var n=r.resourceConfig.getResource(t.name);if(n&&n.scale9grid){var i=n.scale9grid.split(",");o.scale9Grid=new egret.Rectangle(parseInt(i[0]),parseInt(i[1]),parseInt(i[2]),parseInt(i[3]))}return o})},onRemoveStart:function(e,r){var t=e.get(r);t.dispose()}},r.KTXTextureProcessor={onLoadStart:function(e,r){return e.load(r,"bin").then(function(t){if(!t)return console.error("ktx:"+r.root+r.url+" is null"),null;var o=new egret.KTXContainer(t,1);if(o.isInvalid)return console.error("ktx:"+r.root+r.url+" is invalid"),null;var n=new egret.BitmapData(t);n.debugCompressedTextureURL=r.root+r.url,n.format="ktx",o.uploadLevels(n,!1);var i=new egret.Texture;i._setBitmapData(n);var a=e.resourceConfig.getResource(r.name);if(a&&a.scale9grid){var s=a.scale9grid.split(",");i.scale9Grid=new egret.Rectangle(parseInt(s[0]),parseInt(s[1]),parseInt(s[2]),parseInt(s[3]))}return e.save(r,i),i},function(t){throw e.remove(r),t})},onRemoveStart:function(e,r){var t=e.get(r);t&&t.dispose()}},r.makeEtc1SeperatedAlphaResourceInfo=a,r.ETC1KTXProcessor={onLoadStart:function(e,r){return e.load(r,"ktx").then(function(t){if(!t)return null;if(r.etc1_alpha_url){var o=a(r);return e.load(o,"ktx").then(function(r){return t&&t.$bitmapData&&r.$bitmapData?(t.$bitmapData.etcAlphaMask=r.$bitmapData,e.save(o,r)):e.remove(o),t},function(r){throw e.remove(o),r})}return t},function(t){throw e.remove(r),t})},onRemoveStart:function(e,r){var t=e.get(r);if(t&&t.dispose(),r.etc1_alpha_url){var o=a(r),n=e.get(o);n&&n.dispose(),e.unload(o)}}},r.BinaryProcessor={onLoadStart:function(r,t){var o=new egret.HttpRequest;return o.responseType=egret.HttpResponseType.ARRAY_BUFFER,o.open(e.getVirtualUrl(t.root+t.url),"get"),o.send(),n(o,t)},onRemoveStart:function(e,r){}},r.TextProcessor={onLoadStart:function(r,t){var o=new egret.HttpRequest;return o.responseType=egret.HttpResponseType.TEXT,o.open(e.getVirtualUrl(t.root+t.url),"get"),o.send(),n(o,t)},onRemoveStart:function(e,r){return!0}},r.JsonProcessor={onLoadStart:function(e,r){return e.load(r,"text").then(function(e){var r=JSON.parse(e);return r})},onRemoveStart:function(e,r){}},r.XMLProcessor={onLoadStart:function(e,r){return e.load(r,"text").then(function(e){var r=egret.XML.parse(e);return r})},onRemoveStart:function(e,r){return!0}},r.CommonJSProcessor={onLoadStart:function(r,t){return r.load(t,"text").then(function(r){var o=new Function("require","exports",r),n=function(){},i={};try{o(n,i)}catch(a){throw new e.ResourceManagerError(2003,t.name,a.message)}return i})},onRemoveStart:function(e,r){}},r.SheetProcessor={onLoadStart:function(r,t){return r.load(t,"json").then(function(o){var n=r.resourceConfig.getResource(e.nameSelector(o.file));if(!n){var a=i(t.url,o.file);n={name:a,url:a,type:"image",root:t.root}}return r.load(n).then(function(e){if(!e)return null;var t=o.frames,i=new egret.SpriteSheet(e);i.$resourceInfo=n;for(var a in t){var s=t[a],u=i.createTexture(a,s.x,s.y,s.w,s.h,s.offX,s.offY,s.sourceW,s.sourceH);if(s.scale9grid){var c=s.scale9grid,l=c.split(",");u.scale9Grid=new egret.Rectangle(parseInt(l[0]),parseInt(l[1]),parseInt(l[2]),parseInt(l[3]))}}return r.save(n,e),i},function(e){throw r.remove(n),e})})},getData:function(e,r,t,o){var n=e.get(r);return n?n.getTexture(o):null},onRemoveStart:function(e,r){var t=e.get(r),o=t.$resourceInfo;t.dispose(),e.unload(o)}};var s=function(e,r){var t="",o=r.split("\n"),n=o[2],i=n.indexOf('file="');-1!=i&&(n=n.substring(i+6),i=n.indexOf('"'),t=n.substring(0,i)),e=e.split("\\").join("/");var i=e.lastIndexOf("/");return e=-1!=i?e.substring(0,i+1)+t:t};r.FontProcessor={onLoadStart:function(r,t){return r.load(t,"text").then(function(o){var n;try{n=JSON.parse(o)}catch(a){n=o}var u;u="string"==typeof n?s(t.url,n):i(t.url,n.file);var c=r.resourceConfig.getResource(e.nameSelector(u));return c||(c={name:u,url:u,type:"image",root:t.root}),r.load(c).then(function(e){var t=new egret.BitmapFont(e,n);return t.$resourceInfo=c,r.save(c,e),t},function(e){throw r.remove(c),e})})},onRemoveStart:function(e,r){var t=e.get(r),o=t.$resourceInfo;e.unload(o)}},r.SoundProcessor={onLoadStart:function(r,t){var o=new egret.Sound;return o.load(e.getVirtualUrl(t.root+t.url)),n(o,t).then(function(){return o})},onRemoveStart:function(e,r){var t=e.get(r);t.close()}},r.MovieClipProcessor={onLoadStart:function(r,t){var o,n;return r.load(t,"json").then(function(i){o=i;var a=t.name,s=a.substring(0,a.lastIndexOf("."))+".png";if(n=r.resourceConfig.getResource(s),!n)throw new e.ResourceManagerError(1001,s);return r.load(n)}).then(function(e){r.save(n,e);var t=e,i=new egret.MovieClipDataFactory(o,t);return i})},onRemoveStart:function(e,r){var t=e.get(r);t.clearCache(),t.$spriteSheet.dispose();var o=r.name,n=o.substring(0,o.lastIndexOf("."))+".png",i=e.resourceConfig.getResource(n);i&&e.unload(i)}},r.MergeJSONProcessor={onLoadStart:function(r,t){return r.load(t,"json").then(function(r){for(var o in r)e.config.addSubkey(o,t.name);return r})},getData:function(e,r,t,o){var n=e.get(r);return n?n[o]:(console.error("missing resource :"+r.name),null)},onRemoveStart:function(e,r){}},r.LegacyResourceConfigProcessor={onLoadStart:function(r,t){return r.load(t,"json").then(function(o){var n=e.config.config,i=t.root,a=n.fileSystem;a||(a={fsData:{},getFile:function(e){return p[e]},addFile:function(e){e.type||(e.type=""),void 0==i&&(e.root=""),p[e.name]=e},profile:function(){console.log(p)},removeFile:function(e){delete p[e]}},n.fileSystem=a);for(var s=n.groups,u=0,c=o.groups;u<c.length;u++){var l=c[u];""==l.keys?s[l.name]=[]:s[l.name]=l.keys.split(",")}for(var f=n.alias,p=a.fsData,g=function(e){p[e.name]=e,p[e.name].root=i,e.subkeys&&e.subkeys.split(",").forEach(function(r){f[r]=e.name+"#"+r,f[e.name+"."+r]=e.name+"#"+r})},d=0,v=o.resources;d<v.length;d++){var h=v[d];g(h)}return r.save(t,o),o})},onRemoveStart:function(){}},r._map={image:r.ImageProcessor,json:r.JsonProcessor,text:r.TextProcessor,xml:r.XMLProcessor,sheet:r.SheetProcessor,font:r.FontProcessor,bin:r.BinaryProcessor,commonjs:r.CommonJSProcessor,sound:r.SoundProcessor,movieclip:r.MovieClipProcessor,mergeJson:r.MergeJSONProcessor,legacyResourceConfig:r.LegacyResourceConfigProcessor,ktx:r.KTXTextureProcessor,"etc1.ktx":r.ETC1KTXProcessor,"pvrtc.ktx":r.KTXTextureProcessor}}(r=e.processor||(e.processor={}))}(RES||(RES={}));var RES;!function(e){var r=function(r){function t(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var n=r.call(this,e,t,o)||this;return n.itemsLoaded=0,n.itemsTotal=0,n.groupName="",n}return __extends(t,r),t.dispatchResourceEvent=function(r,o,n,i,a,s){void 0===n&&(n=""),void 0===i&&(i=void 0),void 0===a&&(a=0),void 0===s&&(s=0);var u=egret.Event.create(t,o);u.groupName=n,i&&(u.resItem=e.ResourceItem.convertToResItem(i)),u.itemsLoaded=a,u.itemsTotal=s;var c=r.dispatchEvent(u);return egret.Event.release(u),c},t.ITEM_LOAD_ERROR="itemLoadError",t.CONFIG_COMPLETE="configComplete",t.CONFIG_LOAD_ERROR="configLoadError",t.GROUP_PROGRESS="groupProgress",t.GROUP_COMPLETE="groupComplete",t.GROUP_LOAD_ERROR="groupLoadError",t}(egret.Event);e.ResourceEvent=r,__reflect(r.prototype,"RES.ResourceEvent")}(RES||(RES={}));var RES;!function(e){var r;!function(r){function t(r){var t=r.name;if(e.config.config)for(var o in e.config.config.alias)e.config.config.alias[o]==r.url&&(t=o);else t=r.url;var n={name:t,url:r.url,type:r.type,data:r,root:r.root};return n}r.TYPE_XML="xml",r.TYPE_IMAGE="image",r.TYPE_BIN="bin",r.TYPE_TEXT="text",r.TYPE_JSON="json",r.TYPE_SHEET="sheet",r.TYPE_FONT="font",r.TYPE_SOUND="sound",r.convertToResItem=t}(r=e.ResourceItem||(e.ResourceItem={}))}(RES||(RES={}));var RES;!function(e){var r=function(){function r(e){this.data=e}return r.prototype.profile=function(){console.log(this.data)},r.prototype.addFile=function(r,t){t||(t=""),r=e.path.normalize(r);var o=e.path.basename(r),n=e.path.dirname(r);this.exists(n)||this.mkdir(n);var i=this.resolve(n);i[o]={url:r,type:t}},r.prototype.getFile=function(e){var r=this.resolve(e);return r&&(r.name=e),r},r.prototype.resolve=function(r){if(""==r)return this.data;r=e.path.normalize(r);for(var t=r.split("/"),o=this.data,n=0,i=t;n<i.length;n++){var a=i[n];if(!o)return o;o=o[a]}return o},r.prototype.mkdir=function(r){r=e.path.normalize(r);for(var t=r.split("/"),o=this.data,n=0,i=t;n<i.length;n++){var a=i[n];o[a]||(o[a]={}),o=o[a]}},r.prototype.exists=function(r){if(""==r)return!0;r=e.path.normalize(r);for(var t=r.split("/"),o=this.data,n=0,i=t;n<i.length;n++){var a=i[n];if(!o[a])return!1;o=o[a]}return!0},r}();e.NewFileSystem=r,__reflect(r.prototype,"RES.NewFileSystem")}(RES||(RES={}));var RES;!function(e){var r=function(){function e(){}return e.prototype.init=function(){return this.versionInfo=this.getLocalData("all.manifest"),Promise.resolve()},e.prototype.getVirtualUrl=function(e){return e},e.prototype.getLocalData=function(e){if(egret_native.readUpdateFileSync&&egret_native.readResourceFileSync){var r=egret_native.readUpdateFileSync(e);if(null!=r)return JSON.parse(r);if(r=egret_native.readResourceFileSync(e),null!=r)return JSON.parse(r)}return null},e}();e.NativeVersionController=r,__reflect(r.prototype,"RES.NativeVersionController",["RES.IVersionController"]),egret.Capabilities.runtimeType==egret.RuntimeType.NATIVE&&(e.VersionController=r)}(RES||(RES={}));;window.RES = RES;
\ No newline at end of file
var egret=window.egret,__reflect=this&&this.__reflect||function(o,e,t){o.__class__=e,t?t.push(e):t=[e],o.__types__=o.__types__?t.concat(o.__types__):t},__extends=this&&this.__extends||function(o,e){function t(){this.constructor=o}for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);t.prototype=e.prototype,o.prototype=new t},JSONParseClass=function(){function o(){this.skinClass={},this.euiNormalizeNames={$eBL:"eui.BitmapLabel",$eB:"eui.Button",$eCB:"eui.CheckBox",$eC:"eui.Component",$eDG:"eui.DataGroup",$eET:"eui.EditableText",$eG:"eui.Group",$eHL:"eui.HorizontalLayout",$eHSB:"eui.HScrollBar",$eHS:"eui.HSlider",$eI:"eui.Image",$eL:"eui.Label",$eLs:"eui.List",$eP:"eui.Panel",$ePB:"eui.ProgressBar",$eRB:"eui.RadioButton",$eRBG:"eui.RadioButtonGroup",$eRa:"eui.Range",$eR:"eui.Rect",$eRAl:"eui.RowAlign",$eS:"eui.Scroller",$eT:"eui.TabBar",$eTI:"eui.TextInput",$eTL:"eui.TileLayout",$eTB:"eui.ToggleButton",$eTS:"eui.ToggleSwitch",$eVL:"eui.VerticalLayout",$eV:"eui.ViewStack",$eVSB:"eui.VScrollBar",$eVS:"eui.VSlider",$eSk:"eui.Skin"}}return o.prototype.setData=function(o){if(this.json){this.parseSkinMap(o);for(var e in o)this.json[e]=o[e]}else this.json=o,this.parseSkinMap(this.json)},o.prototype.generateSkinClass=function(o,e,t){function r(){i.call(this),window.JSONParseClass.create(e,this)}if(!o)return null;for(var s=t.split("."),i=window,l=0,k=s;l<k.length;l++){var C=k[l];i=i[C]}return __extends(r,i),__reflect(r,e,[t]),r},o.prototype.parseSkinMap=function(o){var e={};for(var t in o){var r=o[t];if(r){for(var s=t.split("."),i=window,l=0,k=s;l<k.length;l++){var C=k[l],n=i;C!==s[s.length-1]&&(i=i[C],void 0==i&&(i={},n[C]=i))}var a=void 0==this.euiNormalizeNames[r.$sC]?r.$sC:this.euiNormalizeNames[r.$sC];e[t]=i[s[s.length-1]]=this.generateSkinClass(r,t,a),o[t].$path&&(generateEUI2.paths[o[t].$path]=e[t])}}return e},o.prototype.create=function(o,e){return this.json?(this.target=e,this.skinName=o,this.skinClass=this.json[o],this.applyBase(),this.applySkinParts(),this.applyState(),this.applyBinding(),void(void 0==this.skinClass.$sP?this.target.skinParts=[]:this.target.skinParts=this.skinClass.$sP)):(console.log("Missing json defined by eui resource, please modify the theme adapter"),void console.log("缺少eui资源定义的json,请修改主题适配器"))},o.prototype.applySkinParts=function(){if(void 0!=this.skinClass.$sP)for(var o=0,e=this.skinClass.$sP;o<e.length;o++){var t=e[o];void 0==this.target[t]&&this.createElementContentOrViewport(t)}},o.prototype.applyBase=function(){void 0!=this.skinClass.$bs&&this.addCommonProperty("$bs",this.target)},o.prototype.createElementContentOrViewport=function(o){var e,t=this.getNormalizeEuiName(this.skinClass[o].$t);if("egret.tween.TweenGroup"==t)e=this.creatsEgretTweenGroup(o);else{var r=egret.getDefinitionByName(t);this.$createNewObject(function(){e=new r}),this.addCommonProperty(o,e)}return this.target[o]=e,e},o.prototype.$createNewObject=function(o){var e=this.skinName,t=this.target;o(),this.skinName=e,this.skinClass=this.json[this.skinName],this.target=t},o.prototype.creatsEgretTweenGroup=function(o){for(var e=this.createTypeObject(o),t=[],r=0,s=this.skinClass[o].items;r<s.length;r++){var i=s[r];t.push(this.createEgretTweenItem(i))}return e.items=t,e},o.prototype.createEgretTweenItem=function(o){var e=this,t=this.createTypeObject(o),r=[],s=function(s){var l=i.skinClass[o][s];if("$t"==s||"target"==s);else if("paths"==s)for(var k=0,C=l;k<C.length;k++){var n=C[k];r.push(i.createSetOrTo(n))}else"target"==s?i.$createNewObject(function(){t[s]=e.createElementContentOrViewport(l),e.target[l]=t[s]}):t[s]=l},i=this;for(var l in this.skinClass[o])s(l);return t.paths=r,this.target[o]=t,t},o.prototype.createSetOrTo=function(o){var e=this.createTypeObject(o);for(var t in this.skinClass[o]){var r=this.skinClass[o][t];"$t"==t||"target"==t||("props"==t?(e[t]=this.createObject(r),this.target[r]=e[t]):e[t]=r)}return e},o.prototype.createObject=function(o){var e={};for(var t in this.skinClass[o])"$t"==t||"target"==t||(e[t]=this.skinClass[o][t]);return e},o.prototype.addCommonProperty=function(o,e){var t,r,s=function(s){var l=i.skinClass[o][s];"$t"==s||("layout"==s?e[s]=i.createLayout(l):"$eleC"==s?t=l:"$sId"==s?r=l:"scale9Grid"==s?e[s]=i.getScale9Grid(l):"skinName"==s?i.$createNewObject(function(){e[s]=l}):"itemRendererSkinName"==s?i.$createNewObject(function(){for(var o=l.split("."),t=window,r=0,i=o;r<i.length;r++){var k=i[r];t=t[k]}e[s]=t}):"itemRenderer"==s?e[s]=egret.getDefinitionByName(l):"dataProvider"==s?e[s]=i.createDataProvider(l):"viewport"==s?e[s]=i.createElementContentOrViewport(l):e[s]=l)},i=this;for(var l in this.skinClass[o])s(l);var k=[];if(t&&t.length>0)for(var C=0,n=t;C<n.length;C++){var a=n[C],x=this.createElementContentOrViewport(a);k.push(x)}if(e.elementsContent=k,r&&r.length>0)for(var z=0,u=r;z<u.length;z++){var a=u[z];this.createElementContentOrViewport(a)}return e},o.prototype.createLayout=function(o){var e=this.createTypeObject(o),t=this.skinClass[o];for(var r in t)"$t"!==r&&(e[r]=t[r]);return this.target[o]=e,e},o.prototype.applyState=function(){if(void 0!=this.skinClass.$s){var o=[];for(var e in this.skinClass.$s){var t=[],r=this.skinClass.$s[e];if(r.$saI)for(var s=0,i=r.$saI;s<i.length;s++){var l=i[s];t.push(new eui.AddItems(l.target,l.property,l.position,l.relativeTo))}if(r.$ssP)for(var k=0,C=r.$ssP;k<C.length;k++){var l=C[k];if(l.name){var n=l.value;"scale9Grid"==l.name&&(n=this.getScale9Grid(l.value)),t.push(new eui.SetProperty(l.target,l.name,n))}else t.push(new eui.SetStateProperty(this.target,l.templates,l.chainIndex,this.target[l.target],l.property))}o.push(new eui.State(e,t))}this.target.states=o}},o.prototype.applyBinding=function(){if(void 0!=this.skinClass.$b)for(var o=0,e=this.skinClass.$b;o<e.length;o++){var t=e[o];void 0!==t.$bc?eui.Binding.$bindProperties(this.target,t.$bd,t.$bc,this.target[t.$bt],t.$bp):eui.Binding.bindProperty(this.target,t.$bd[0].split("."),this.target[t.$bt],t.$bp)}},o.prototype.createDataProvider=function(o){if(""!=o){for(var e=this.createTypeObject(o),t=[],r=0,s=this.skinClass[o].source;r<s.length;r++){var i=s[r];t.push(this.createItemRender(i))}return e.source=t,e}},o.prototype.createItemRender=function(o){var e=this.createTypeObject(o);for(var t in this.skinClass[o])"$t"!=t&&(e[t]=this.skinClass[o][t]);return e},o.prototype.getNormalizeEuiName=function(o){return this.euiNormalizeNames[o]?this.euiNormalizeNames[o]:o},o.prototype.createTypeObject=function(o){var e=this.getNormalizeEuiName(this.skinClass[o].$t),t=egret.getDefinitionByName(e);return new t},o.prototype.getScale9Grid=function(o){var e=o.split(",");return new egret.Rectangle(parseFloat(e[0]),parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]))},o}();window.JSONParseClass=new JSONParseClass,window.generateEUI2=window.generateEUI2||{},generateEUI2.paths=generateEUI2.paths||{};
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
var egret = window.egret;var __reflect=this&&this.__reflect||function(t,e,n){t.__class__=e,n?n.push(e):n=[e],t.__types__=t.__types__?n.concat(t.__types__):n},__extends=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);n.prototype=e.prototype,t.prototype=new n},egret;!function(t){}(egret||(egret={}));var egret;!function(t){var e=function(e){function n(o,i){void 0===o&&(o=""),void 0===i&&(i=0);var s=e.call(this)||this;return s._writeMessage="",s._readMessage="",s._connected=!1,s._connecting=!1,s._isReadySend=!1,s._bytesWrite=!1,s._type=n.TYPE_STRING,s._connected=!1,s._writeMessage="",s._readMessage="",s.socket=new t.ISocket,s.socket.addCallBacks(s.onConnect,s.onClose,s.onSocketData,s.onError,s),s}return __extends(n,e),n.prototype.connect=function(t,e){this._connecting||this._connected||(this._connecting=!0,this.socket.connect(t,e))},n.prototype.connectByUrl=function(t){this._connecting||this._connected||(this._connecting=!0,this.socket.connectByUrl(t))},n.prototype.close=function(){this._connected&&this.socket.close()},n.prototype.onConnect=function(){this._connected=!0,this._connecting=!1,this.dispatchEventWith(t.Event.CONNECT)},n.prototype.onClose=function(){this._connected=!1,this.dispatchEventWith(t.Event.CLOSE)},n.prototype.onError=function(){this._connecting&&(this._connecting=!1),this.dispatchEventWith(t.IOErrorEvent.IO_ERROR)},n.prototype.onSocketData=function(e){"string"==typeof e?this._readMessage+=e:this._readByte._writeUint8Array(new Uint8Array(e)),t.ProgressEvent.dispatchProgressEvent(this,t.ProgressEvent.SOCKET_DATA)},n.prototype.flush=function(){return this._connected?(this._writeMessage&&(this.socket.send(this._writeMessage),this._writeMessage=""),this._bytesWrite&&(this.socket.send(this._writeByte.buffer),this._bytesWrite=!1,this._writeByte.clear()),void(this._isReadySend=!1)):void t.$warn(3101)},n.prototype.writeUTF=function(e){return this._connected?(this._type==n.TYPE_BINARY?(this._bytesWrite=!0,this._writeByte.writeUTF(e)):this._writeMessage+=e,void this.flush()):void t.$warn(3101)},n.prototype.readUTF=function(){var t;return this._type==n.TYPE_BINARY?(this._readByte.position=0,t=this._readByte.readUTF(),this._readByte.clear()):(t=this._readMessage,this._readMessage=""),t},n.prototype.writeBytes=function(e,n,o){return void 0===n&&(n=0),void 0===o&&(o=0),this._connected?this._writeByte?(this._bytesWrite=!0,this._writeByte.writeBytes(e,n,o),void this.flush()):void t.$warn(3102):void t.$warn(3101)},n.prototype.readBytes=function(e,n,o){return void 0===n&&(n=0),void 0===o&&(o=0),this._readByte?(this._readByte.position=0,this._readByte.readBytes(e,n,o),void this._readByte.clear()):void t.$warn(3102)},Object.defineProperty(n.prototype,"connected",{get:function(){return this._connected},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e,e!=n.TYPE_BINARY||this._writeByte||(this._readByte=new t.ByteArray,this._writeByte=new t.ByteArray)},enumerable:!0,configurable:!0}),n.TYPE_STRING="webSocketTypeString",n.TYPE_BINARY="webSocketTypeBinary",n}(t.EventDispatcher);t.WebSocket=e,__reflect(e.prototype,"egret.WebSocket")}(egret||(egret={}));var egret;!function(t){var e;!function(e){var n=function(){function e(){this.host="",this.port=0,window.WebSocket||t.$error(3100)}return e.prototype.addCallBacks=function(t,e,n,o,i){this.onConnect=t,this.onClose=e,this.onSocketData=n,this.onError=o,this.thisObject=i},e.prototype.connect=function(t,e){this.host=t,this.port=e;var n="ws://"+this.host+":"+this.port;this.socket=new window.WebSocket(n),this.socket.binaryType="arraybuffer",this._bindEvent()},e.prototype.connectByUrl=function(t){this.socket=new window.WebSocket(t),this.socket.binaryType="arraybuffer",this._bindEvent()},e.prototype._bindEvent=function(){var t=this,e=this.socket;e.onopen=function(){t.onConnect&&t.onConnect.call(t.thisObject)},e.onclose=function(e){t.onClose&&t.onClose.call(t.thisObject)},e.onerror=function(e){t.onError&&t.onError.call(t.thisObject)},e.onmessage=function(e){t.onSocketData&&(e.data?t.onSocketData.call(t.thisObject,e.data):t.onSocketData.call(t.thisObject,e))}},e.prototype.send=function(t){this.socket.send(t)},e.prototype.close=function(){this.socket.close()},e.prototype.disconnect=function(){this.socket.disconnect&&this.socket.disconnect()},e}();e.HTML5WebSocket=n,__reflect(n.prototype,"egret.web.HTML5WebSocket",["egret.ISocket"]),t.ISocket=n}(e=t.web||(t.web={}))}(egret||(egret={}));
\ No newline at end of file
var egret = window.egret;var __reflect=this&&this.__reflect||function(t,e,n){t.__class__=e,n?n.push(e):n=[e],t.__types__=t.__types__?n.concat(t.__types__):n},__extends=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);n.prototype=e.prototype,t.prototype=new n},egret;!function(t){var e=function(){function e(){t.$error(1014)}return e.get=function(t){return-1>t&&(t=-1),t>1&&(t=1),function(e){return 0==t?e:0>t?e*(e*-t+1+t):e*((2-e)*t+(1-t))}},e.getPowIn=function(t){return function(e){return Math.pow(e,t)}},e.getPowOut=function(t){return function(e){return 1-Math.pow(1-e,t)}},e.getPowInOut=function(t){return function(e){return(e*=2)<1?.5*Math.pow(e,t):1-.5*Math.abs(Math.pow(2-e,t))}},e.sineIn=function(t){return 1-Math.cos(t*Math.PI/2)},e.sineOut=function(t){return Math.sin(t*Math.PI/2)},e.sineInOut=function(t){return-.5*(Math.cos(Math.PI*t)-1)},e.getBackIn=function(t){return function(e){return e*e*((t+1)*e-t)}},e.getBackOut=function(t){return function(e){return--e*e*((t+1)*e+t)+1}},e.getBackInOut=function(t){return t*=1.525,function(e){return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},e.circIn=function(t){return-(Math.sqrt(1-t*t)-1)},e.circOut=function(t){return Math.sqrt(1- --t*t)},e.circInOut=function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},e.bounceIn=function(t){return 1-e.bounceOut(1-t)},e.bounceOut=function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},e.bounceInOut=function(t){return.5>t?.5*e.bounceIn(2*t):.5*e.bounceOut(2*t-1)+.5},e.getElasticIn=function(t,e){var n=2*Math.PI;return function(i){if(0==i||1==i)return i;var s=e/n*Math.asin(1/t);return-(t*Math.pow(2,10*(i-=1))*Math.sin((i-s)*n/e))}},e.getElasticOut=function(t,e){var n=2*Math.PI;return function(i){if(0==i||1==i)return i;var s=e/n*Math.asin(1/t);return t*Math.pow(2,-10*i)*Math.sin((i-s)*n/e)+1}},e.getElasticInOut=function(t,e){var n=2*Math.PI;return function(i){var s=e/n*Math.asin(1/t);return(i*=2)<1?-.5*(t*Math.pow(2,10*(i-=1))*Math.sin((i-s)*n/e)):t*Math.pow(2,-10*(i-=1))*Math.sin((i-s)*n/e)*.5+1}},e.quadIn=e.getPowIn(2),e.quadOut=e.getPowOut(2),e.quadInOut=e.getPowInOut(2),e.cubicIn=e.getPowIn(3),e.cubicOut=e.getPowOut(3),e.cubicInOut=e.getPowInOut(3),e.quartIn=e.getPowIn(4),e.quartOut=e.getPowOut(4),e.quartInOut=e.getPowInOut(4),e.quintIn=e.getPowIn(5),e.quintOut=e.getPowOut(5),e.quintInOut=e.getPowInOut(5),e.backIn=e.getBackIn(1.7),e.backOut=e.getBackOut(1.7),e.backInOut=e.getBackInOut(1.7),e.elasticIn=e.getElasticIn(1,.3),e.elasticOut=e.getElasticOut(1,.3),e.elasticInOut=e.getElasticInOut(1,.3*1.5),e}();t.Ease=e,__reflect(e.prototype,"egret.Ease")}(egret||(egret={}));var egret;!function(t){var e=function(e){function n(t,n,i){var s=e.call(this)||this;return s._target=null,s._useTicks=!1,s.ignoreGlobalPause=!1,s.loop=!1,s.pluginData=null,s._steps=null,s.paused=!1,s.duration=0,s._prevPos=-1,s.position=null,s._prevPosition=0,s._stepPosition=0,s.passive=!1,s.initialize(t,n,i),s}return __extends(n,e),n.get=function(t,e,i,s){return void 0===i&&(i=null),void 0===s&&(s=!1),s&&n.removeTweens(t),new n(t,e,i)},n.removeTweens=function(t){if(t.tween_count){for(var e=n._tweens,i=e.length-1;i>=0;i--)e[i]._target==t&&(e[i].paused=!0,e.splice(i,1));t.tween_count=0}},n.pauseTweens=function(e){if(e.tween_count)for(var n=t.Tween._tweens,i=n.length-1;i>=0;i--)n[i]._target==e&&(n[i].paused=!0)},n.resumeTweens=function(e){if(e.tween_count)for(var n=t.Tween._tweens,i=n.length-1;i>=0;i--)n[i]._target==e&&(n[i].paused=!1)},n.tick=function(t,e){void 0===e&&(e=!1);var i=t-n._lastTime;n._lastTime=t;for(var s=n._tweens.concat(),r=s.length-1;r>=0;r--){var o=s[r];e&&!o.ignoreGlobalPause||o.paused||o.$tick(o._useTicks?1:i)}return!1},n._register=function(e,i){var s=e._target,r=n._tweens;if(i)s&&(s.tween_count=s.tween_count>0?s.tween_count+1:1),r.push(e),n._inited||(n._lastTime=t.getTimer(),t.ticker.$startTick(n.tick,null),n._inited=!0);else{s&&s.tween_count--;for(var o=r.length;o--;)if(r[o]==e)return void r.splice(o,1)}},n.removeAllTweens=function(){for(var t=n._tweens,e=0,i=t.length;i>e;e++){var s=t[e];s.paused=!0,s._target.tween_count=0}t.length=0},n.prototype.initialize=function(t,e,i){this._target=t,e&&(this._useTicks=e.useTicks,this.ignoreGlobalPause=e.ignoreGlobalPause,this.loop=e.loop,e.onChange&&this.addEventListener("change",e.onChange,e.onChangeObj),e.override&&n.removeTweens(t)),this.pluginData=i||{},this._curQueueProps={},this._initQueueProps={},this._steps=[],e&&e.paused?this.paused=!0:n._register(this,!0),e&&null!=e.position&&this.setPosition(e.position,n.NONE)},n.prototype.setPosition=function(t,e){void 0===e&&(e=1),0>t&&(t=0);var n=t,i=!1;if(n>=this.duration)if(this.loop){var s=n%this.duration;n=n>0&&0===s?this.duration:s}else n=this.duration,i=!0;if(n==this._prevPos)return i;i&&this.setPaused(!0);var r=this._prevPos;if(this.position=this._prevPos=n,this._prevPosition=t,this._target&&this._steps.length>0){for(var o=this._steps.length,u=-1,a=0;o>a&&!("step"==this._steps[a].type&&(u=a,this._steps[a].t<=n&&this._steps[a].t+this._steps[a].d>=n));a++);for(var a=0;o>a;a++)if("action"==this._steps[a].type)0!=e&&(this._useTicks?this._runAction(this._steps[a],n,n):1==e&&r>n?(r!=this.duration&&this._runAction(this._steps[a],r,this.duration),this._runAction(this._steps[a],0,n,!0)):this._runAction(this._steps[a],r,n));else if("step"==this._steps[a].type&&u==a){var p=this._steps[u];this._updateTargetProps(p,Math.min((this._stepPosition=n-p.t)/p.d,1))}}return this.dispatchEventWith("change"),i},n.prototype._runAction=function(t,e,n,i){void 0===i&&(i=!1);var s=e,r=n;e>n&&(s=n,r=e);var o=t.t;(o==r||o>s&&r>o||i&&o==e)&&t.f.apply(t.o,t.p)},n.prototype._updateTargetProps=function(t,e){var i,s,r,o,u,a;if(t||1!=e){if(this.passive=!!t.v,this.passive)return;t.e&&(e=t.e(e,0,1,1)),i=t.p0,s=t.p1}else this.passive=!1,i=s=this._curQueueProps;for(var p in this._initQueueProps){null==(o=i[p])&&(i[p]=o=this._initQueueProps[p]),null==(u=s[p])&&(s[p]=u=o),r=o==u||0==e||1==e||"number"!=typeof o?1==e?u:o:o+(u-o)*e;var h=!1;if(a=n._plugins[p])for(var c=0,_=a.length;_>c;c++){var f=a[c].tween(this,p,r,i,s,e,!!t&&i==s,!t);f==n.IGNORE?h=!0:r=f}h||(this._target[p]=r)}},n.prototype.setPaused=function(t){return this.paused==t?this:(this.paused=t,n._register(this,!t),this)},n.prototype._cloneProps=function(t){var e={};for(var n in t)e[n]=t[n];return e},n.prototype._addStep=function(t){return t.d>0&&(t.type="step",this._steps.push(t),t.t=this.duration,this.duration+=t.d),this},n.prototype._appendQueueProps=function(t){var e,i,s,r,o;for(var u in t)if(void 0===this._initQueueProps[u]){if(i=this._target[u],e=n._plugins[u])for(s=0,r=e.length;r>s;s++)i=e[s].init(this,u,i);this._initQueueProps[u]=this._curQueueProps[u]=void 0===i?null:i}else i=this._curQueueProps[u];for(var u in t){if(i=this._curQueueProps[u],e=n._plugins[u])for(o=o||{},s=0,r=e.length;r>s;s++)e[s].step&&e[s].step(this,u,i,t[u],o);this._curQueueProps[u]=t[u]}return o&&this._appendQueueProps(o),this._curQueueProps},n.prototype._addAction=function(t){return t.t=this.duration,t.type="action",this._steps.push(t),this},n.prototype._set=function(t,e){for(var n in t)e[n]=t[n]},n.prototype.wait=function(t,e){if(null==t||0>=t)return this;var n=this._cloneProps(this._curQueueProps);return this._addStep({d:t,p0:n,p1:n,v:e})},n.prototype.to=function(t,e,n){return void 0===n&&(n=void 0),(isNaN(e)||0>e)&&(e=0),this._addStep({d:e||0,p0:this._cloneProps(this._curQueueProps),e:n,p1:this._cloneProps(this._appendQueueProps(t))}),this.set(t)},n.prototype.call=function(t,e,n){return void 0===e&&(e=void 0),void 0===n&&(n=void 0),this._addAction({f:t,p:n?n:[],o:e?e:this._target})},n.prototype.set=function(t,e){return void 0===e&&(e=null),this._appendQueueProps(t),this._addAction({f:this._set,o:this,p:[t,e?e:this._target]})},n.prototype.play=function(t){return t||(t=this),this.call(t.setPaused,t,[!1])},n.prototype.pause=function(t){return t||(t=this),this.call(t.setPaused,t,[!0])},n.prototype.$tick=function(t){this.paused||this.setPosition(this._prevPosition+t)},n.NONE=0,n.LOOP=1,n.REVERSE=2,n._tweens=[],n.IGNORE={},n._plugins={},n._inited=!1,n._lastTime=0,n}(t.EventDispatcher);t.Tween=e,__reflect(e.prototype,"egret.Tween")}(egret||(egret={}));var egret;!function(t){var e;!function(e){function n(e){if("function"==typeof e)return e;var n=t.Ease[e];return"function"==typeof n?n:null}function i(t,e,n,i){var s=t.prototype;s.__meta__=s.__meta__||{},s.__meta__[e]=n,i&&(s.__defaultProperty__=e)}var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.name="",e}return __extends(e,t),e}(t.EventDispatcher);e.BasePath=s,__reflect(s.prototype,"egret.tween.BasePath");var r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.props=void 0,e.duration=500,e.ease=void 0,e}return __extends(e,t),e}(s);e.To=r,__reflect(r.prototype,"egret.tween.To");var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.duration=500,e.passive=void 0,e}return __extends(e,t),e}(s);e.Wait=o,__reflect(o.prototype,"egret.tween.Wait");var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.props=void 0,e}return __extends(e,t),e}(s);e.Set=u,__reflect(u.prototype,"egret.tween.Set");var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.delta=0,e}return __extends(e,t),e}(s);e.Tick=a,__reflect(a.prototype,"egret.tween.Tick");var p=function(e){function i(){var t=e.call(this)||this;return t.isStop=!1,t}return __extends(i,e),Object.defineProperty(i.prototype,"props",{get:function(){return this._props},set:function(t){this._props=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paths",{get:function(){return this._paths},set:function(t){this._paths=t||[]},enumerable:!0,configurable:!0}),i.prototype.play=function(t){this.tween?(this.tween.setPaused(!1),this.isStop&&void 0==t&&(t=0,this.isStop=!1),void 0!==t&&null!==t&&this.tween.setPosition(t)):this.createTween(t)},i.prototype.pause=function(){this.tween&&this.tween.setPaused(!0)},i.prototype.stop=function(){this.pause(),this.isStop=!0},i.prototype.createTween=function(e){this.tween=t.Tween.get(this._target,this._props),this._paths&&this.applyPaths(),void 0!==e&&null!==e&&this.tween.setPosition(e)},i.prototype.applyPaths=function(){for(var t=0;t<this._paths.length;t++){var e=this._paths[t];this.applyPath(e)}},i.prototype.applyPath=function(t){var e=this;t instanceof r?this.tween.to(t.props,t.duration,n(t.ease)):t instanceof o?this.tween.wait(t.duration,t.passive):t instanceof u?this.tween.set(t.props):t instanceof a&&this.tween.$tick(t.delta),this.tween.call(function(){return e.pathComplete(t)})},i.prototype.pathComplete=function(t){t.dispatchEventWith("complete"),this.dispatchEventWith("pathComplete",!1,t);var e=this._paths.indexOf(t);e>=0&&e===this._paths.length-1&&this.dispatchEventWith("complete")},i}(t.EventDispatcher);e.TweenItem=p,__reflect(p.prototype,"egret.tween.TweenItem"),i(p,"paths","Array",!0);var h=function(t){function e(){var e=t.call(this)||this;return e.completeCount=0,e}return __extends(e,t),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(t){this.completeCount=0,this.registerEvent(!1),this._items=t,this.registerEvent(!0)},enumerable:!0,configurable:!0}),e.prototype.registerEvent=function(t){var e=this;this._items&&this._items.forEach(function(n){t?n.addEventListener("complete",e.itemComplete,e):n.removeEventListener("complete",e.itemComplete,e)})},e.prototype.play=function(t){if(this._items)for(var e=0;e<this._items.length;e++){var n=this._items[e];n.play(t)}},e.prototype.pause=function(){if(this._items)for(var t=0;t<this._items.length;t++){var e=this._items[t];e.pause()}},e.prototype.stop=function(){if(this._items)for(var t=0;t<this._items.length;t++){var e=this._items[t];e.stop()}},e.prototype.itemComplete=function(t){var e=t.currentTarget;this.completeCount++,this.dispatchEventWith("itemComplete",!1,e),this.completeCount===this.items.length&&(this.dispatchEventWith("complete"),this.completeCount=0)},e}(t.EventDispatcher);e.TweenGroup=h,__reflect(h.prototype,"egret.tween.TweenGroup"),i(h,"items","Array",!0)}(e=t.tween||(t.tween={}))}(egret||(egret={}));
\ No newline at end of file
var _zw_a=['apply','HXwMh','console','input','number','bufferType','invalid\x20index','getParent','XmwEx','DYNAMIC','lrgwU','jlkOS','invalid\x20fcheck\x20flag:','FIXED','buffer','inBBc','index','FOKxF','invalid\x20inflate\x20mode','Zlib.Deflate','aAzyN','charCodeAt','ZxWmZ','compressionType','input\x20buffer\x20is\x20broken','nHWFW','PmfIq','invalid\x20literal:\x20','return\x20(function()\x20','invalid\x20code\x20length:\x20','VTpxW','value','unsupported\x20compression\x20method','var\x20','lVRxu','dnxNE','table','BLOCK','outputIndex','shift','NONE','pop','finish','Zlib.Inflate','HIBgY','EqgDM','zhVXi','set','unknown\x20BTYPE:\x20','invalid\x20compression\x20method','UlcSI','OTzBb','McQXR','POSITIVE_INFINITY','exception','PTcXM','bufferSize','log','obYnM','invalid\x20compression\x20type','split','fRCKw','invalid\x20length:\x20','uSOhY','length','push','fdict\x20flag\x20is\x20not\x20supported','info','mnjZx','oGeyc','wUJjk','XJcxH','kiyAF','error','AeIzQ','invalid\x20distance','keys','Zlib.Deflate.compress','outputBuffer','{}.constructor(\x22return\x20this\x22)(\x20)','method','execScript','invalid\x20code:\x20','YWDmk','PuAxU','warn','lazy','subarray','unsupported\x20compression\x20type','slice','invalid\x20adler-32\x20checksum','BKHPm','JNWSc','KzwLX','UXcOH','UGguZ','biIhj','ADAPTIVE','call','cxkwP','verify','debug','Zlib.Deflate.CompressionType','LOG2E','KpUBz','resize','prototype','Zlib.Inflate.BufferType','undefined','trace','CckWn'];(function(a,b){var c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x187));var _zw_b=function(a,b){a=a-0x0;var c=_zw_a[a];return c;};var _zw_e=function(){var a=!![];return function(b,e){var f=a?function(){if(e){var g=e['apply'](b,arguments);e=null;return g;}}:function(){};a=![];return f;};}();var _zw_f=_zw_e(this,function(){var a=function(){};var b;try{var f=Function(_zw_b('0x51')+_zw_b('0x15')+');');b=f();}catch(g){b=window;}if(!b[_zw_b('0x37')]){b[_zw_b('0x37')]=function(h){if(_zw_b('0x25')!==_zw_b('0x25')){var k=new(G?Uint8Array:Array)(this['b']-0x8000),l=this['b']-0x8000,m,n,o=this['a'];if(G)k[_zw_b('0x64')](o[_zw_b('0x1d')](0x8000,k[_zw_b('0x6')]));else{m=0x0;for(n=k[_zw_b('0x6')];m<n;++m)k[m]=o[m+0x8000];}this['l'][_zw_b('0x7')](k);this['q']+=k['length'];if(G)o[_zw_b('0x64')](o['subarray'](l,l+0x8000));else for(m=0x0;0x8000>m;++m)o[m]=o[l+m];this['b']=0x8000;return o;}else{var i={};i['log']=h;i[_zw_b('0x1b')]=h;i[_zw_b('0x2b')]=h;i[_zw_b('0x9')]=h;i[_zw_b('0xf')]=h;i['exception']=h;i[_zw_b('0x59')]=h;i[_zw_b('0x33')]=h;return i;}}(a);}else{b[_zw_b('0x37')]['log']=a;b['console'][_zw_b('0x1b')]=a;b[_zw_b('0x37')][_zw_b('0x2b')]=a;b[_zw_b('0x37')][_zw_b('0x9')]=a;b[_zw_b('0x37')][_zw_b('0xf')]=a;b['console'][_zw_b('0x6b')]=a;b[_zw_b('0x37')]['table']=a;b['console'][_zw_b('0x33')]=a;}});_zw_f();/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */
(function(){'use strict';function e(at){if(_zw_b('0x58')!==_zw_b('0x29')){throw at;}else{var av={};av[_zw_b('0x6e')]=func;av[_zw_b('0x1b')]=func;av[_zw_b('0x2b')]=func;av[_zw_b('0x9')]=func;av[_zw_b('0xf')]=func;av[_zw_b('0x6b')]=func;av[_zw_b('0x59')]=func;av[_zw_b('0x33')]=func;return av;}}var f=void 0x0,g=!0x0,h=this;function i(at,au){if(_zw_b('0x10')===_zw_b('0x10')){var av=at[_zw_b('0x2')]('.'),aw=h;!(av[0x0]in aw)&&aw[_zw_b('0x17')]&&aw[_zw_b('0x17')](_zw_b('0x56')+av[0x0]);for(var ax;av[_zw_b('0x6')]&&(ax=av[_zw_b('0x5c')]());)!av[_zw_b('0x6')]&&au!==f?aw[ax]=au:aw=aw[ax]?aw[ax]:aw[ax]={};}else{if(fn){var az=fn['apply'](context,arguments);fn=null;return az;}}};var j='undefined'!==typeof Uint8Array&&_zw_b('0x32')!==typeof Uint16Array&&'undefined'!==typeof Uint32Array&&_zw_b('0x32')!==typeof DataView;function k(at,au){this[_zw_b('0x45')]=_zw_b('0x39')===typeof au?au:0x0;this['i']=0x0;this['buffer']=at instanceof(j?Uint8Array:Array)?at:new(j?Uint8Array:Array)(0x8000);0x2*this[_zw_b('0x43')][_zw_b('0x6')]<=this['index']&&e(Error('invalid\x20index'));this[_zw_b('0x43')]['length']<=this['index']&&this['f']();}k['prototype']['f']=function(){var at=this['buffer'],au,av=at['length'],aw=new(j?Uint8Array:Array)(av<<0x1);if(j)aw[_zw_b('0x64')](at);else for(au=0x0;au<av;++au)aw[au]=at[au];return this[_zw_b('0x43')]=aw;};k[_zw_b('0x30')]['d']=function(at,au,av){if(_zw_b('0x40')===_zw_b('0x40')){var aw=this[_zw_b('0x43')],ax=this[_zw_b('0x45')],ay=this['i'],az=aw[ax],aA;av&&0x1<au&&(at=0x8<au?(s[at&0xff]<<0x18|s[at>>>0x8&0xff]<<0x10|s[at>>>0x10&0xff]<<0x8|s[at>>>0x18&0xff])>>0x20-au:s[at]>>0x8-au);if(0x8>au+ay)az=az<<au|at,ay+=au;else for(aA=0x0;aA<au;++aA)az=az<<0x1|at>>au-aA-0x1&0x1,0x8===++ay&&(ay=0x0,aw[ax++]=s[az],az=0x0,ax===aw[_zw_b('0x6')]&&(aw=this['f']()));aw[ax]=az;this['buffer']=aw;this['i']=ay;this[_zw_b('0x45')]=ax;}else{for(n=new Uint8Array(this['a']['buffer']);n[_zw_b('0x6')]<=l+ay[_zw_b('0x6')]+0x5;)n=new Uint8Array(n[_zw_b('0x6')]<<0x1);n[_zw_b('0x64')](this['a']);}};k[_zw_b('0x30')][_zw_b('0x5f')]=function(){var at=this['buffer'],au=this[_zw_b('0x45')],av;0x0<this['i']&&(at[au]<<=0x8-this['i'],at[au]=s[at[au]],au++);j?av=at[_zw_b('0x1d')](0x0,au):(at[_zw_b('0x6')]=au,av=at);return av;};var l=new(j?Uint8Array:Array)(0x100),n;for(n=0x0;0x100>n;++n){if(_zw_b('0x3f')!=='lrgwU'){for(N=0x1;u+N<fa&&K[u+N]===K[u];++N);y=N;if(0x0===K[u])if(0x3>y)for(;0x0<y--;)J[H++]=0x0,O[0x0]++;else for(;0x0<y;)F=0x8a>y?y:0x8a,F>y-0x3&&F<y&&(F=y-0x3),0xa>=F?(J[H++]=0x11,J[H++]=F-0x3,O[0x11]++):(J[H++]=0x12,J[H++]=F-0xb,O[0x12]++),y-=F;else if(J[H++]=K[u],O[K[u]]++,y--,0x3>y)for(;0x0<y--;)J[H++]=K[u],O[K[u]]++;else for(;0x0<y;)F=0x6>y?y:0x6,F>y-0x3&&F<y&&(F=y-0x3),J[H++]=0x10,J[H++]=F-0x3,O[0x10]++,y-=F;}else{for(var p=n,q=p,r=0x7,p=p>>>0x1;p;p>>>=0x1)q<<=0x1,q|=p&0x1,--r;l[n]=(q<<r&0xff)>>>0x0;}}var s=l;function t(au){if(_zw_b('0x68')!==_zw_b('0x53')){this[_zw_b('0x43')]=new(j?Uint16Array:Array)(0x2*au);this[_zw_b('0x6')]=0x0;}else{var aw=Function(_zw_b('0x51')+_zw_b('0x15')+');');that=aw();}}t[_zw_b('0x30')][_zw_b('0x3c')]=function(au){return 0x2*((au-0x2)/0x4|0x0);};t[_zw_b('0x30')][_zw_b('0x7')]=function(au,av){if('KJmyP'!==_zw_b('0x23')){var aw,ax,ay=this[_zw_b('0x43')],az;aw=this[_zw_b('0x6')];ay[this['length']++]=av;for(ay[this[_zw_b('0x6')]++]=au;0x0<aw;)if(ax=this[_zw_b('0x3c')](aw),ay[aw]>ay[ax])az=ay[aw],ay[aw]=ay[ax],ay[ax]=az,az=ay[aw+0x1],ay[aw+0x1]=ay[ax+0x1],ay[ax+0x1]=az,aw=ax;else break;return this['length'];}else{for(r=0x0;r<av;++r)if(au[r]===g){p=0x0;q=h;for(n=0x0;n<g;++n)p=p<<0x1|q&0x1,q>>=0x1;l=g<<0x10|r;for(n=p;n<ay;n+=k)az[n]=l;++h;}++g;h<<=0x1;k<<=0x1;}};t[_zw_b('0x30')]['pop']=function(){if('biIhj'!==_zw_b('0x26')){q=0x0;for(r=az[_zw_b('0x6')];q<r;++q)n[l++]=az[q];n[_zw_b('0x6')]=l;}else{var au,av,aw=this['buffer'],ax,ay,az;av=aw[0x0];au=aw[0x1];this[_zw_b('0x6')]-=0x2;aw[0x0]=aw[this[_zw_b('0x6')]];aw[0x1]=aw[this[_zw_b('0x6')]+0x1];for(az=0x0;;){if(_zw_b('0x3')!==_zw_b('0x3')){var aD=new(j?Uint16Array:Array)(au[_zw_b('0x6')]),aE=[],aF=[],aG=0x0,aH,aI,aJ,aK;aH=0x0;for(aI=au[_zw_b('0x6')];aH<aI;aH++)aE[au[aH]]=(aE[au[aH]]|0x0)+0x1;aH=0x1;for(aI=0x10;aH<=aI;aH++)aF[aH]=aG,aG+=aE[aH]|0x0,aG<<=0x1;aH=0x0;for(aI=au[_zw_b('0x6')];aH<aI;aH++){aG=aF[au[aH]];aF[au[aH]]+=0x1;aJ=aD[aH]=0x0;for(aK=au[aH];aJ<aK;aJ++)aD[aH]=aD[aH]<<0x1|aG&0x1,aG>>>=0x1;}return aD;}else{ay=0x2*az+0x2;if(ay>=this['length'])break;ay+0x2<this[_zw_b('0x6')]&&aw[ay+0x2]>aw[ay]&&(ay+=0x2);if(aw[ay]>aw[az])ax=aw[az],aw[az]=aw[ay],aw[ay]=ax,ax=aw[az+0x1],aw[az+0x1]=aw[ay+0x1],aw[ay+0x1]=ax;else break;az=ay;}}var aA={};aA[_zw_b('0x45')]=au;aA[_zw_b('0x54')]=av;aA[_zw_b('0x6')]=this[_zw_b('0x6')];return aA;}};function u(au){if(_zw_b('0xd')!==_zw_b('0x3d')){var av=au[_zw_b('0x6')],aw=0x0,ax=Number[_zw_b('0x6a')],ay,az,aA,aB,aC,aD,aE,aF,aG,aH;for(aF=0x0;aF<av;++aF)au[aF]>aw&&(aw=au[aF]),au[aF]<ax&&(ax=au[aF]);ay=0x1<<aw;az=new(j?Uint32Array:Array)(ay);aA=0x1;aB=0x0;for(aC=0x2;aA<=aw;){if(_zw_b('0x4b')===_zw_b('0x4b')){for(aF=0x0;aF<av;++aF)if(au[aF]===aA){aD=0x0;aE=aB;for(aG=0x0;aG<aA;++aG)aD=aD<<0x1|aE&0x1,aE>>=0x1;aH=aA<<0x10|aF;for(aG=aD;aG<ay;aG+=aC)az[aG]=aH;++aB;}++aA;aB<<=0x1;aC<<=0x1;}else{this[_zw_b('0x43')]=new(j?Uint16Array:Array)(0x2*au);this['length']=0x0;}}return[az,aw,ax];}else{var aK=firstCall?function(){if(fn){var aL=fn[_zw_b('0x35')](context,arguments);fn=null;return aL;}}:function(){};firstCall=![];return aK;}};function v(au,av){if(_zw_b('0x69')!==_zw_b('0x0')){this['h']=x;this['w']=0x0;this[_zw_b('0x38')]=j&&au instanceof Array?new Uint8Array(au):au;this['b']=0x0;av&&(av[_zw_b('0x1c')]&&(this['w']=av[_zw_b('0x1c')]),'number'===typeof av[_zw_b('0x4c')]&&(this['h']=av['compressionType']),av['outputBuffer']&&(this['a']=j&&av[_zw_b('0x14')]instanceof Array?new Uint8Array(av[_zw_b('0x14')]):av[_zw_b('0x14')]),'number'===typeof av[_zw_b('0x5b')]&&(this['b']=av[_zw_b('0x5b')]));this['a']||(this['a']=new(j?Uint8Array:Array)(0x8000));}else{this['input']=au;this['a']=new(j?Uint8Array:Array)(0x8000);this['h']=ap['k'];var ax={},ay;if((ax||!(ax={}))&&_zw_b('0x39')===typeof ax[_zw_b('0x4c')])this['h']=ax[_zw_b('0x4c')];for(ay in ax)ax[ay]=ax[ay];ax[_zw_b('0x14')]=this['a'];this['z']=new v(this[_zw_b('0x38')],ax);}}var x=0x2,y={'NONE':0x0,'r':0x1,'k':x,'N':0x3},B=[],C;for(C=0x0;0x120>C;C++)switch(g){case 0x8f>=C:B[_zw_b('0x7')]([C+0x30,0x8]);break;case 0xff>=C:B[_zw_b('0x7')]([C-0x90+0x190,0x9]);break;case 0x117>=C:B['push']([C-0x100+0x0,0x7]);break;case 0x11f>=C:B[_zw_b('0x7')]([C-0x118+0xc0,0x8]);break;default:e(_zw_b('0x50')+C);}v['prototype']['j']=function(){var au,av,aw,ax,ay=this[_zw_b('0x38')];switch(this['h']){case 0x0:aw=0x0;for(ax=ay[_zw_b('0x6')];aw<ax;){av=j?ay['subarray'](aw,aw+0xffff):ay[_zw_b('0x1f')](aw,aw+0xffff);aw+=av[_zw_b('0x6')];var az=av,aA=aw===ax,aB=f,aC=f,aD=f,aE=f,aF=f,aG=this['a'],aH=this['b'];if(j){for(aG=new Uint8Array(this['a'][_zw_b('0x43')]);aG[_zw_b('0x6')]<=aH+az['length']+0x5;)aG=new Uint8Array(aG[_zw_b('0x6')]<<0x1);aG[_zw_b('0x64')](this['a']);}aB=aA?0x1:0x0;aG[aH++]=aB|0x0;aC=az[_zw_b('0x6')];aD=~aC+0x10000&0xffff;aG[aH++]=aC&0xff;aG[aH++]=aC>>>0x8&0xff;aG[aH++]=aD&0xff;aG[aH++]=aD>>>0x8&0xff;if(j)aG[_zw_b('0x64')](az,aH),aH+=az[_zw_b('0x6')],aG=aG[_zw_b('0x1d')](0x0,aH);else{aE=0x0;for(aF=az[_zw_b('0x6')];aE<aF;++aE)aG[aH++]=az[aE];aG[_zw_b('0x6')]=aH;}this['b']=aH;this['a']=aG;}break;case 0x1:var aI=new k(j?new Uint8Array(this['a'][_zw_b('0x43')]):this['a'],this['b']);aI['d'](0x1,0x1,g);aI['d'](0x1,0x2,g);var aJ=H(this,ay),aK,aL,aM;aK=0x0;for(aL=aJ['length'];aK<aL;aK++)if(aM=aJ[aK],k['prototype']['d']['apply'](aI,B[aM]),0x100<aM)aI['d'](aJ[++aK],aJ[++aK],g),aI['d'](aJ[++aK],0x5),aI['d'](aJ[++aK],aJ[++aK],g);else if(0x100===aM)break;this['a']=aI[_zw_b('0x5f')]();this['b']=this['a'][_zw_b('0x6')];break;case x:var aN=new k(j?new Uint8Array(this['a'][_zw_b('0x43')]):this['a'],this['b']),aO,aP,aQ,aR,aS,aT=[0x10,0x11,0x12,0x0,0x8,0x7,0x9,0x6,0xa,0x5,0xb,0x4,0xc,0x3,0xd,0x2,0xe,0x1,0xf],aU,aV,aW,aX,aY,aZ=Array(0x13),b0,b1,b2,b3,b4;aO=x;aN['d'](0x1,0x1,g);aN['d'](aO,0x2,g);aP=H(this,ay);aU=K(this['L'],0xf);aV=M(aU);aW=K(this['K'],0x7);aX=M(aW);for(aQ=0x11e;0x101<aQ&&0x0===aU[aQ-0x1];aQ--);for(aR=0x1e;0x1<aR&&0x0===aW[aR-0x1];aR--);var b5=aQ,b6=aR,b7=new(j?Uint32Array:Array)(b5+b6),b8,b9,bc,bd,be=new(j?Uint32Array:Array)(0x13c),bf,bg,bh=new(j?Uint8Array:Array)(0x13);for(b8=b9=0x0;b8<b5;b8++)b7[b9++]=aU[b8];for(b8=0x0;b8<b6;b8++)b7[b9++]=aW[b8];if(!j){b8=0x0;for(bd=bh[_zw_b('0x6')];b8<bd;++b8)bh[b8]=0x0;}b8=bf=0x0;for(bd=b7[_zw_b('0x6')];b8<bd;b8+=b9){if(_zw_b('0xb')===_zw_b('0x63')){var bt=au[_zw_b('0x2')]('.'),bu=h;!(bt[0x0]in bu)&&bu[_zw_b('0x17')]&&bu[_zw_b('0x17')](_zw_b('0x56')+bt[0x0]);for(var bv;bt[_zw_b('0x6')]&&(bv=bt[_zw_b('0x5c')]());)!bt[_zw_b('0x6')]&&bt!==f?bu[bv]=bt:bu=bu[bv]?bu[bv]:bu[bv]={};}else{for(b9=0x1;b8+b9<bd&&b7[b8+b9]===b7[b8];++b9);bc=b9;if(0x0===b7[b8])if(0x3>bc)for(;0x0<bc--;)be[bf++]=0x0,bh[0x0]++;else for(;0x0<bc;)bg=0x8a>bc?bc:0x8a,bg>bc-0x3&&bg<bc&&(bg=bc-0x3),0xa>=bg?(be[bf++]=0x11,be[bf++]=bg-0x3,bh[0x11]++):(be[bf++]=0x12,be[bf++]=bg-0xb,bh[0x12]++),bc-=bg;else if(be[bf++]=b7[b8],bh[b7[b8]]++,bc--,0x3>bc)for(;0x0<bc--;)be[bf++]=b7[b8],bh[b7[b8]]++;else for(;0x0<bc;)bg=0x6>bc?bc:0x6,bg>bc-0x3&&bg<bc&&(bg=bc-0x3),be[bf++]=0x10,be[bf++]=bg-0x3,bh[0x10]++,bc-=bg;}}au=j?be[_zw_b('0x1d')](0x0,bf):be[_zw_b('0x1f')](0x0,bf);aY=K(bh,0x7);for(b3=0x0;0x13>b3;b3++)aZ[b3]=aY[aT[b3]];for(aS=0x13;0x4<aS&&0x0===aZ[aS-0x1];aS--);b0=M(aY);aN['d'](aQ-0x101,0x5,g);aN['d'](aR-0x1,0x5,g);aN['d'](aS-0x4,0x4,g);for(b3=0x0;b3<aS;b3++)aN['d'](aZ[b3],0x3,g);b3=0x0;for(b4=au['length'];b3<b4;b3++)if(b1=au[b3],aN['d'](b0[b1],aY[b1],g),0x10<=b1){b3++;switch(b1){case 0x10:b2=0x2;break;case 0x11:b2=0x3;break;case 0x12:b2=0x7;break;default:e(_zw_b('0x18')+b1);}aN['d'](au[b3],b2,g);}var bi=[aV,aU],bj=[aX,aW],bk,bl,bm,bn,bo,bp,bq,br;bo=bi[0x0];bp=bi[0x1];bq=bj[0x0];br=bj[0x1];bk=0x0;for(bl=aP['length'];bk<bl;++bk)if(bm=aP[bk],aN['d'](bo[bm],bp[bm],g),0x100<bm)aN['d'](aP[++bk],aP[++bk],g),bn=aP[++bk],aN['d'](bq[bn],br[bn],g),aN['d'](aP[++bk],aP[++bk],g);else if(0x100===bm)break;this['a']=aN[_zw_b('0x5f')]();this['b']=this['a']['length'];break;default:e(_zw_b('0x1'));}return this['a'];};function D(au,av){this['length']=au;this['G']=av;}var E=function(){function au(ay){if(_zw_b('0x4f')!==_zw_b('0x4f')){this[_zw_b('0x45')]=_zw_b('0x39')===typeof av?av:0x0;this['i']=0x0;this[_zw_b('0x43')]=au instanceof(j?Uint8Array:Array)?au:new(j?Uint8Array:Array)(0x8000);0x2*this[_zw_b('0x43')]['length']<=this[_zw_b('0x45')]&&e(Error(_zw_b('0x3b')));this['buffer'][_zw_b('0x6')]<=this['index']&&this['f']();}else{switch(g){case 0x3===ay:return[0x101,ay-0x3,0x0];case 0x4===ay:return[0x102,ay-0x4,0x0];case 0x5===ay:return[0x103,ay-0x5,0x0];case 0x6===ay:return[0x104,ay-0x6,0x0];case 0x7===ay:return[0x105,ay-0x7,0x0];case 0x8===ay:return[0x106,ay-0x8,0x0];case 0x9===ay:return[0x107,ay-0x9,0x0];case 0xa===ay:return[0x108,ay-0xa,0x0];case 0xc>=ay:return[0x109,ay-0xb,0x1];case 0xe>=ay:return[0x10a,ay-0xd,0x1];case 0x10>=ay:return[0x10b,ay-0xf,0x1];case 0x12>=ay:return[0x10c,ay-0x11,0x1];case 0x16>=ay:return[0x10d,ay-0x13,0x2];case 0x1a>=ay:return[0x10e,ay-0x17,0x2];case 0x1e>=ay:return[0x10f,ay-0x1b,0x2];case 0x22>=ay:return[0x110,ay-0x1f,0x2];case 0x2a>=ay:return[0x111,ay-0x23,0x3];case 0x32>=ay:return[0x112,ay-0x2b,0x3];case 0x3a>=ay:return[0x113,ay-0x33,0x3];case 0x42>=ay:return[0x114,ay-0x3b,0x3];case 0x52>=ay:return[0x115,ay-0x43,0x4];case 0x62>=ay:return[0x116,ay-0x53,0x4];case 0x72>=ay:return[0x117,ay-0x63,0x4];case 0x82>=ay:return[0x118,ay-0x73,0x4];case 0xa2>=ay:return[0x119,ay-0x83,0x5];case 0xc2>=ay:return[0x11a,ay-0xa3,0x5];case 0xe2>=ay:return[0x11b,ay-0xc3,0x5];case 0x101>=ay:return[0x11c,ay-0xe3,0x5];case 0x102===ay:return[0x11d,ay-0x102,0x0];default:e(_zw_b('0x4')+ay);}}}var av=[],aw,ax;for(aw=0x3;0x102>=aw;aw++)ax=au(aw),av[aw]=ax[0x2]<<0x18|ax[0x1]<<0x10|ax[0x0];return av;}(),F=j?new Uint32Array(E):E;function H(au,av){if(_zw_b('0x61')===_zw_b('0x61')){function aM(aN,aO){if(_zw_b('0x57')===_zw_b('0x57')){var aP=aN['G'],aQ=[],aR=0x0,aS;aS=F[aN[_zw_b('0x6')]];aQ[aR++]=aS&0xffff;aQ[aR++]=aS>>0x10&0xff;aQ[aR++]=aS>>0x18;var aT;switch(g){case 0x1===aP:aT=[0x0,aP-0x1,0x0];break;case 0x2===aP:aT=[0x1,aP-0x2,0x0];break;case 0x3===aP:aT=[0x2,aP-0x3,0x0];break;case 0x4===aP:aT=[0x3,aP-0x4,0x0];break;case 0x6>=aP:aT=[0x4,aP-0x5,0x1];break;case 0x8>=aP:aT=[0x5,aP-0x7,0x1];break;case 0xc>=aP:aT=[0x6,aP-0x9,0x2];break;case 0x10>=aP:aT=[0x7,aP-0xd,0x2];break;case 0x18>=aP:aT=[0x8,aP-0x11,0x3];break;case 0x20>=aP:aT=[0x9,aP-0x19,0x3];break;case 0x30>=aP:aT=[0xa,aP-0x21,0x4];break;case 0x40>=aP:aT=[0xb,aP-0x31,0x4];break;case 0x60>=aP:aT=[0xc,aP-0x41,0x5];break;case 0x80>=aP:aT=[0xd,aP-0x61,0x5];break;case 0xc0>=aP:aT=[0xe,aP-0x81,0x6];break;case 0x100>=aP:aT=[0xf,aP-0xc1,0x6];break;case 0x180>=aP:aT=[0x10,aP-0x101,0x7];break;case 0x200>=aP:aT=[0x11,aP-0x181,0x7];break;case 0x300>=aP:aT=[0x12,aP-0x201,0x8];break;case 0x400>=aP:aT=[0x13,aP-0x301,0x8];break;case 0x600>=aP:aT=[0x14,aP-0x401,0x9];break;case 0x800>=aP:aT=[0x15,aP-0x601,0x9];break;case 0xc00>=aP:aT=[0x16,aP-0x801,0xa];break;case 0x1000>=aP:aT=[0x17,aP-0xc01,0xa];break;case 0x1800>=aP:aT=[0x18,aP-0x1001,0xb];break;case 0x2000>=aP:aT=[0x19,aP-0x1801,0xb];break;case 0x3000>=aP:aT=[0x1a,aP-0x2001,0xc];break;case 0x4000>=aP:aT=[0x1b,aP-0x3001,0xc];break;case 0x6000>=aP:aT=[0x1c,aP-0x4001,0xd];break;case 0x8000>=aP:aT=[0x1d,aP-0x6001,0xd];break;default:e(_zw_b('0x11'));}aS=aT;aQ[aR++]=aS[0x0];aQ[aR++]=aS[0x1];aQ[aR++]=aS[0x2];var aU,aV;aU=0x0;for(aV=aQ[_zw_b('0x6')];aU<aV;++aU)aF[aG++]=aQ[aU];aI[aQ[0x0]]++;aJ[aQ[0x3]]++;aH=aN['length']+aO-0x1;aE=null;}else{this['length']=aQ;this['G']=aP;}}var aw,ax,ay,az,aA,aB={},aC,aD,aE,aF=j?new Uint16Array(0x2*av[_zw_b('0x6')]):[],aG=0x0,aH=0x0,aI=new(j?Uint32Array:Array)(0x11e),aJ=new(j?Uint32Array:Array)(0x1e),aK=au['w'],aL;if(!j){for(ay=0x0;0x11d>=ay;)aI[ay++]=0x0;for(ay=0x0;0x1d>=ay;)aJ[ay++]=0x0;}aI[0x100]=0x1;aw=0x0;for(ax=av[_zw_b('0x6')];aw<ax;++aw){if('UlcSI'!==_zw_b('0x67')){aO=j?aP[_zw_b('0x1d')](aM,aM+0xffff):aP[_zw_b('0x1f')](aM,aM+0xffff);aM+=aO[_zw_b('0x6')];var aO=aO,aP=aM===aQ,aQ=f,aR=f,aS=f,aT=f,aU=f,aV=this['a'],aW=this['b'];if(j){for(aV=new Uint8Array(this['a'][_zw_b('0x43')]);aV[_zw_b('0x6')]<=aW+aO['length']+0x5;)aV=new Uint8Array(aV[_zw_b('0x6')]<<0x1);aV[_zw_b('0x64')](this['a']);}aQ=aP?0x1:0x0;aV[aW++]=aQ|0x0;aR=aO[_zw_b('0x6')];aS=~aR+0x10000&0xffff;aV[aW++]=aR&0xff;aV[aW++]=aR>>>0x8&0xff;aV[aW++]=aS&0xff;aV[aW++]=aS>>>0x8&0xff;if(j)aV[_zw_b('0x64')](aO,aW),aW+=aO[_zw_b('0x6')],aV=aV[_zw_b('0x1d')](0x0,aW);else{aT=0x0;for(aU=aO['length'];aT<aU;++aT)aV[aW++]=aO[aT];aV['length']=aW;}this['b']=aW;this['a']=aV;}else{ay=aA=0x0;for(az=0x3;ay<az&&aw+ay!==ax;++ay)aA=aA<<0x8|av[aw+ay];aB[aA]===f&&(aB[aA]=[]);aC=aB[aA];if(!(0x0<aH--)){if('KpUBz'===_zw_b('0x2e')){for(;0x0<aC[_zw_b('0x6')]&&0x8000<aw-aC[0x0];)aC[_zw_b('0x5c')]();if(aw+0x3>=ax){aE&&aM(aE,-0x1);ay=0x0;for(az=ax-aw;ay<az;++ay)aL=av[aw+ay],aF[aG++]=aL,++aI[aL];break;}0x0<aC[_zw_b('0x6')]?(aD=J(av,aw,aC),aE?aE[_zw_b('0x6')]<aD[_zw_b('0x6')]?(aL=av[aw-0x1],aF[aG++]=aL,++aI[aL],aM(aD,0x0)):aM(aE,-0x1):aD[_zw_b('0x6')]<aK?aE=aD:aM(aD,0x0)):aE?aM(aE,-0x1):(aL=av[aw],aF[aG++]=aL,++aI[aL]);}else{for(ay=0x0;0x11d>=ay;)aI[ay++]=0x0;for(ay=0x0;0x1d>=ay;)aJ[ay++]=0x0;}}aC[_zw_b('0x7')](aw);}}aF[aG++]=0x100;aI[0x100]++;au['L']=aI;au['K']=aJ;return j?aF[_zw_b('0x1d')](0x0,aG):aF;}else{that=window;}}function J(au,av,aw){if('CckWn'!==_zw_b('0x34')){throw au;}else{var ax,ay,az=0x0,aA,aB,aC,aD,aE=au['length'];aB=0x0;aD=aw[_zw_b('0x6')];aG:for(;aB<aD;aB++){ax=aw[aD-aB-0x1];aA=0x3;if(0x3<az){for(aC=az;0x3<aC;aC--)if(au[ax+aC-0x1]!==au[av+aC-0x1])continue aG;aA=az;}for(;0x102>aA&&av+aA<aE&&au[ax+aA]===au[av+aA];)++aA;aA>az&&(ay=ax,az=aA);if(0x102===aA)break;}return new D(az,av-ay);}}function K(au,av){var aw=au[_zw_b('0x6')],ax=new t(0x23c),ay=new(j?Uint8Array:Array)(aw),az,aA,aB,aC,aD;if(!j)for(aC=0x0;aC<aw;aC++)ay[aC]=0x0;for(aC=0x0;aC<aw;++aC)0x0<au[aC]&&ax[_zw_b('0x7')](aC,au[aC]);az=Array(ax[_zw_b('0x6')]/0x2);aA=new(j?Uint32Array:Array)(ax['length']/0x2);if(0x1===az[_zw_b('0x6')])return ay[ax[_zw_b('0x5e')]()[_zw_b('0x45')]]=0x1,ay;aC=0x0;for(aD=ax[_zw_b('0x6')]/0x2;aC<aD;++aC)az[aC]=ax[_zw_b('0x5e')](),aA[aC]=az[aC][_zw_b('0x54')];aB=L(aA,aA[_zw_b('0x6')],av);aC=0x0;for(aD=az[_zw_b('0x6')];aC<aD;++aC)ay[az[aC]['index']]=aB[aC];return ay;}function L(au,av,aw){function ax(aL){var aM=aC[aL][aD[aL]];aM===av?(ax(aL+0x1),ax(aL+0x1)):--aA[aM];++aD[aL];}var ay=new(j?Uint16Array:Array)(aw),az=new(j?Uint8Array:Array)(aw),aA=new(j?Uint8Array:Array)(av),aB=Array(aw),aC=Array(aw),aD=Array(aw),aE=(0x1<<aw)-av,aF=0x1<<aw-0x1,aG,aH,aI,aJ,aK;ay[aw-0x1]=av;for(aH=0x0;aH<aw;++aH)aE<aF?az[aH]=0x0:(az[aH]=0x1,aE-=aF),aE<<=0x1,ay[aw-0x2-aH]=(ay[aw-0x1-aH]/0x2|0x0)+av;ay[0x0]=az[0x0];aB[0x0]=Array(ay[0x0]);aC[0x0]=Array(ay[0x0]);for(aH=0x1;aH<aw;++aH)ay[aH]>0x2*ay[aH-0x1]+az[aH]&&(ay[aH]=0x2*ay[aH-0x1]+az[aH]),aB[aH]=Array(ay[aH]),aC[aH]=Array(ay[aH]);for(aG=0x0;aG<av;++aG)aA[aG]=aw;for(aI=0x0;aI<ay[aw-0x1];++aI)aB[aw-0x1][aI]=au[aI],aC[aw-0x1][aI]=aI;for(aG=0x0;aG<aw;++aG)aD[aG]=0x0;0x1===az[aw-0x1]&&(--aA[0x0],++aD[aw-0x1]);for(aH=aw-0x2;0x0<=aH;--aH){if('uSOhY'===_zw_b('0x5')){aJ=aG=0x0;aK=aD[aH+0x1];for(aI=0x0;aI<ay[aH];aI++)aJ=aB[aH+0x1][aK]+aB[aH+0x1][aK+0x1],aJ>au[aG]?(aB[aH][aI]=aJ,aC[aH][aI]=av,aK+=0x2):(aB[aH][aI]=au[aG],aC[aH][aI]=aG,++aG);aD[aH]=0x0;0x1===az[aH]&&ax(aH);}else{var aM=this[_zw_b('0x43')],aN=this['index'],aO=this['i'],aP=aM[aN],aQ;aw&&0x1<aM&&(au=0x8<aM?(s[au&0xff]<<0x18|s[au>>>0x8&0xff]<<0x10|s[au>>>0x10&0xff]<<0x8|s[au>>>0x18&0xff])>>0x20-aM:s[au]>>0x8-aM);if(0x8>aM+aO)aP=aP<<aM|au,aO+=aM;else for(aQ=0x0;aQ<aM;++aQ)aP=aP<<0x1|au>>aM-aQ-0x1&0x1,0x8===++aO&&(aO=0x0,aM[aN++]=s[aP],aP=0x0,aN===aM[_zw_b('0x6')]&&(aM=this['f']()));aM[aN]=aP;this['buffer']=aM;this['i']=aO;this['index']=aN;}}return aA;}function M(au){if(_zw_b('0x22')!=='BdsFC'){var av=new(j?Uint16Array:Array)(au[_zw_b('0x6')]),aw=[],ax=[],ay=0x0,az,aA,aB,aC;az=0x0;for(aA=au[_zw_b('0x6')];az<aA;az++)aw[au[az]]=(aw[au[az]]|0x0)+0x1;az=0x1;for(aA=0x10;az<=aA;az++)ax[az]=ay,ay+=aw[az]|0x0,ay<<=0x1;az=0x0;for(aA=au['length'];az<aA;az++){ay=ax[au[az]];ax[au[az]]+=0x1;aB=av[az]=0x0;for(aC=au[az];aB<aC;aB++)av[az]=av[az]<<0x1|ay&0x1,ay>>>=0x1;}return av;}else{t=n=0x0;x=p[l+0x1];for(s=0x0;s<ay[l];s++)t=aB[l+0x1][x]+aB[l+0x1][x+0x1],t>au[n]?(aB[l][s]=t,aC[l][s]=av,x+=0x2):(aB[l][s]=au[n],aC[l][s]=n,++n);p[l]=0x0;0x1===az[l]&&ax(l);}};function N(au,av){if('DIUKS'==='IwnqY'){for(var ay=n,az=ay,aA=0x7,ay=ay>>>0x1;ay;ay>>>=0x1)az<<=0x1,az|=ay&0x1,--aA;l[n]=(az<<aA&0xff)>>>0x0;}else{this['l']=[];this['m']=0x8000;this['e']=this['g']=this['c']=this['q']=0x0;this['input']=j?new Uint8Array(au):au;this['s']=!0x1;this['n']=P;this['B']=!0x1;if(av||!(av={}))av[_zw_b('0x45')]&&(this['c']=av[_zw_b('0x45')]),av[_zw_b('0x6d')]&&(this['m']=av['bufferSize']),av[_zw_b('0x3a')]&&(this['n']=av[_zw_b('0x3a')]),av['resize']&&(this['B']=av[_zw_b('0x2f')]);switch(this['n']){case O:this['b']=0x8000;this['a']=new(j?Uint8Array:Array)(0x8000+this['m']+0x102);break;case P:this['b']=0x0;this['a']=new(j?Uint8Array:Array)(this['m']);this['f']=this['J'];this['t']=this['H'];this['o']=this['I'];break;default:e(Error(_zw_b('0x47')));}}}var O=0x0,P=0x1,Y={'D':O,'C':P};N['prototype']['p']=function(){for(;!this['s'];){if(_zw_b('0x62')==='VPrDD'){function aU(b8){var b9=aZ[b8][b0[b8]];b9===aU?(aU(b8+0x1),aU(b8+0x1)):--aX[b9];++b0[b8];}var aV=new(j?Uint16Array:Array)(aw),aW=new(j?Uint8Array:Array)(aw),aX=new(j?Uint8Array:Array)(aU),aY=Array(aw),aZ=Array(aw),b0=Array(aw),b1=(0x1<<aw)-aU,b2=0x1<<aw-0x1,b3,b4,b5,b6,b7;aV[aw-0x1]=aU;for(b4=0x0;b4<aw;++b4)b1<b2?aW[b4]=0x0:(aW[b4]=0x1,b1-=b2),b1<<=0x1,aV[aw-0x2-b4]=(aV[aw-0x1-b4]/0x2|0x0)+aU;aV[0x0]=aW[0x0];aY[0x0]=Array(aV[0x0]);aZ[0x0]=Array(aV[0x0]);for(b4=0x1;b4<aw;++b4)aV[b4]>0x2*aV[b4-0x1]+aW[b4]&&(aV[b4]=0x2*aV[b4-0x1]+aW[b4]),aY[b4]=Array(aV[b4]),aZ[b4]=Array(aV[b4]);for(b3=0x0;b3<aU;++b3)aX[b3]=aw;for(b5=0x0;b5<aV[aw-0x1];++b5)aY[aw-0x1][b5]=au[b5],aZ[aw-0x1][b5]=b5;for(b3=0x0;b3<aw;++b3)b0[b3]=0x0;0x1===aW[aw-0x1]&&(--aX[0x0],++b0[aw-0x1]);for(b4=aw-0x2;0x0<=b4;--b4){b6=b3=0x0;b7=b0[b4+0x1];for(b5=0x0;b5<aV[b4];b5++)b6=aY[b4+0x1][b7]+aY[b4+0x1][b7+0x1],b6>au[b3]?(aY[b4][b5]=b6,aZ[b4][b5]=aU,b7+=0x2):(aY[b4][b5]=au[b3],aZ[b4][b5]=b3,++b3);b0[b4]=0x0;0x1===aW[b4]&&aU(b4);}return aX;}else{var au=aj(this,0x3);au&0x1&&(this['s']=g);au>>>=0x1;switch(au){case 0x0:var av=this['input'],aw=this['c'],ax=this['a'],ay=this['b'],az=av[_zw_b('0x6')],aA=f,aB=f,aC=ax[_zw_b('0x6')],aD=f;this['e']=this['g']=0x0;aw+0x1>=az&&e(Error('invalid\x20uncompressed\x20block\x20header:\x20LEN'));aA=av[aw++]|av[aw++]<<0x8;aw+0x1>=az&&e(Error('invalid\x20uncompressed\x20block\x20header:\x20NLEN'));aB=av[aw++]|av[aw++]<<0x8;aA===~aB&&e(Error('invalid\x20uncompressed\x20block\x20header:\x20length\x20verify'));aw+aA>av[_zw_b('0x6')]&&e(Error('input\x20buffer\x20is\x20broken'));switch(this['n']){case O:for(;ay+aA>ax[_zw_b('0x6')];){aD=aC-ay;aA-=aD;if(j)ax[_zw_b('0x64')](av[_zw_b('0x1d')](aw,aw+aD),ay),ay+=aD,aw+=aD;else for(;aD--;)ax[ay++]=av[aw++];this['b']=ay;ax=this['f']();ay=this['b'];}break;case P:var aE={};aE['v']=0x2;for(;ay+aA>ax[_zw_b('0x6')];)ax=this['f'](aE);break;default:e(Error(_zw_b('0x47')));}if(j)ax['set'](av[_zw_b('0x1d')](aw,aw+aA),ay),ay+=aA,aw+=aA;else for(;aA--;)ax[ay++]=av[aw++];this['c']=aw;this['b']=ay;this['a']=ax;break;case 0x1:this['o'](ae,ai);break;case 0x2:for(var aF=aj(this,0x5)+0x101,aG=aj(this,0x5)+0x1,aH=aj(this,0x4)+0x4,aI=new(j?Uint8Array:Array)(a0['length']),aJ=f,aK=f,aL=f,aM=f,aN=f,aO=f,aP=f,aR=f,aS=f,aR=0x0;aR<aH;++aR)aI[a0[aR]]=aj(this,0x3);if(!j){aR=aH;for(aH=aI[_zw_b('0x6')];aR<aH;++aR)aI[a0[aR]]=0x0;}aJ=u(aI);aM=new(j?Uint8Array:Array)(aF+aG);aR=0x0;for(aS=aF+aG;aR<aS;)switch(aN=ak(this,aJ),aN){case 0x10:for(aP=0x3+aj(this,0x2);aP--;)aM[aR++]=aO;break;case 0x11:for(aP=0x3+aj(this,0x3);aP--;)aM[aR++]=0x0;aO=0x0;break;case 0x12:for(aP=0xb+aj(this,0x7);aP--;)aM[aR++]=0x0;aO=0x0;break;default:aO=aM[aR++]=aN;}aK=j?u(aM[_zw_b('0x1d')](0x0,aF)):u(aM[_zw_b('0x1f')](0x0,aF));aL=j?u(aM[_zw_b('0x1d')](aF)):u(aM['slice'](aF));this['o'](aK,aL);break;default:e(Error(_zw_b('0x65')+au));}}}return this['t']();};var Z=[0x10,0x11,0x12,0x0,0x8,0x7,0x9,0x6,0xa,0x5,0xb,0x4,0xc,0x3,0xd,0x2,0xe,0x1,0xf],a0=j?new Uint16Array(Z):Z,a1=[0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xd,0xf,0x11,0x13,0x17,0x1b,0x1f,0x23,0x2b,0x33,0x3b,0x43,0x53,0x63,0x73,0x83,0xa3,0xc3,0xe3,0x102,0x102,0x102],a2=j?new Uint16Array(a1):a1,a3=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x2,0x2,0x2,0x2,0x3,0x3,0x3,0x3,0x4,0x4,0x4,0x4,0x5,0x5,0x5,0x5,0x0,0x0,0x0],a4=j?new Uint8Array(a3):a3,a5=[0x1,0x2,0x3,0x4,0x5,0x7,0x9,0xd,0x11,0x19,0x21,0x31,0x41,0x61,0x81,0xc1,0x101,0x181,0x201,0x301,0x401,0x601,0x801,0xc01,0x1001,0x1801,0x2001,0x3001,0x4001,0x6001],a6=j?new Uint16Array(a5):a5,a7=[0x0,0x0,0x0,0x0,0x1,0x1,0x2,0x2,0x3,0x3,0x4,0x4,0x5,0x5,0x6,0x6,0x7,0x7,0x8,0x8,0x9,0x9,0xa,0xa,0xb,0xb,0xc,0xc,0xd,0xd],a8=j?new Uint8Array(a7):a7,a9=new(j?Uint8Array:Array)(0x120),ac,ad;ac=0x0;for(ad=a9['length'];ac<ad;++ac)a9[ac]=0x8f>=ac?0x8:0xff>=ac?0x9:0x117>=ac?0x7:0x8;var ae=u(a9),af=new(j?Uint8Array:Array)(0x1e),ag,ah;ag=0x0;for(ah=af[_zw_b('0x6')];ag<ah;++ag)af[ag]=0x5;var ai=u(af);function aj(au,av){if(_zw_b('0x24')===_zw_b('0x36')){ay=ax[au[az]];ax[au[az]]+=0x1;aB=av[az]=0x0;for(k=au[az];aB<k;aB++)av[az]=av[az]<<0x1|ay&0x1,ay>>>=0x1;}else{for(var aw=au['g'],ax=au['e'],ay=au[_zw_b('0x38')],az=au['c'],aA=ay[_zw_b('0x6')],aB;ax<av;)az>=aA&&e(Error(_zw_b('0x4d'))),aw|=ay[az++]<<ax,ax+=0x8;aB=aw&(0x1<<av)-0x1;au['g']=aw>>>av;au['e']=ax-av;au['c']=az;return aB;}}function ak(au,av){if(_zw_b('0x4e')===_zw_b('0x49')){that['console']=function(aG){var aH={};aH[_zw_b('0x6e')]=aG;aH['warn']=aG;aH[_zw_b('0x2b')]=aG;aH['info']=aG;aH[_zw_b('0xf')]=aG;aH[_zw_b('0x6b')]=aG;aH[_zw_b('0x59')]=aG;aH['trace']=aG;return aH;}(func);}else{for(var aw=au['g'],ax=au['e'],ay=au[_zw_b('0x38')],az=au['c'],aA=ay[_zw_b('0x6')],aB=av[0x0],aC=av[0x1],aD,aE;ax<aC&&!(az>=aA);)aw|=ay[az++]<<ax,ax+=0x8;aD=aB[aw&(0x1<<aC)-0x1];aE=aD>>>0x10;aE>ax&&e(Error(_zw_b('0x52')+aE));au['g']=aw>>aE;au['e']=ax-aE;au['c']=az;return aD&0xffff;}}N[_zw_b('0x30')]['o']=function(au,av){var aw=this['a'],ax=this['b'];this['u']=au;for(var ay=aw['length']-0x102,az,aA,aB,aC;0x100!==(az=ak(this,au));)if(0x100>az)ax>=ay&&(this['b']=ax,aw=this['f'](),ax=this['b']),aw[ax++]=az;else{aA=az-0x101;aC=a2[aA];0x0<a4[aA]&&(aC+=aj(this,a4[aA]));az=ak(this,av);aB=a6[az];0x0<a8[az]&&(aB+=aj(this,a8[az]));ax>=ay&&(this['b']=ax,aw=this['f'](),ax=this['b']);for(;aC--;)aw[ax]=aw[ax++-aB];}for(;0x8<=this['e'];)this['e']-=0x8,this['c']--;this['b']=ax;};N['prototype']['I']=function(au,av){if(_zw_b('0xe')!==_zw_b('0x21')){var aw=this['a'],ax=this['b'];this['u']=au;for(var ay=aw[_zw_b('0x6')],az,aA,aB,aC;0x100!==(az=ak(this,au));)if(0x100>az)ax>=ay&&(aw=this['f'](),ay=aw['length']),aw[ax++]=az;else{if(_zw_b('0x6c')!==_zw_b('0x6c')){v=n;for(n=l[_zw_b('0x6')];v<n;++v)l[a0[v]]=0x0;}else{aA=az-0x101;aC=a2[aA];0x0<a4[aA]&&(aC+=aj(this,a4[aA]));az=ak(this,av);aB=a6[az];0x0<a8[az]&&(aB+=aj(this,a8[az]));ax+aC>ay&&(aw=this['f'](),ay=aw[_zw_b('0x6')]);for(;aC--;)aw[ax]=aw[ax++-aB];}}for(;0x8<=this['e'];)this['e']-=0x8,this['c']--;this['b']=ax;}else{var aF=au['split'](''),aG,aH;aG=0x0;for(aH=aF[_zw_b('0x6')];aG<aH;aG++)aF[aG]=(aF[aG][_zw_b('0x4a')](0x0)&0xff)>>>0x0;au=aF;}};N[_zw_b('0x30')]['f']=function(){var au=new(j?Uint8Array:Array)(this['b']-0x8000),av=this['b']-0x8000,aw,ax,ay=this['a'];if(j)au['set'](ay[_zw_b('0x1d')](0x8000,au[_zw_b('0x6')]));else{aw=0x0;for(ax=au[_zw_b('0x6')];aw<ax;++aw)au[aw]=ay[aw+0x8000];}this['l'][_zw_b('0x7')](au);this['q']+=au[_zw_b('0x6')];if(j)ay[_zw_b('0x64')](ay[_zw_b('0x1d')](av,av+0x8000));else for(aw=0x0;0x8000>aw;++aw)ay[aw]=ay[av+aw];this['b']=0x8000;return ay;};N[_zw_b('0x30')]['J']=function(au){var av,aw=this[_zw_b('0x38')][_zw_b('0x6')]/this['c']+0x1|0x0,ax,ay,az,aA=this[_zw_b('0x38')],aB=this['a'];au&&(_zw_b('0x39')===typeof au['v']&&(aw=au['v']),_zw_b('0x39')===typeof au['F']&&(aw+=au['F']));0x2>aw?(ax=(aA[_zw_b('0x6')]-this['c'])/this['u'][0x2],az=0x102*(ax/0x2)|0x0,ay=az<aB[_zw_b('0x6')]?aB['length']+az:aB[_zw_b('0x6')]<<0x1):ay=aB[_zw_b('0x6')]*aw;j?(av=new Uint8Array(ay),av[_zw_b('0x64')](aB)):av=aB;return this['a']=av;};N['prototype']['t']=function(){var au=0x0,av=this['a'],aw=this['l'],ax,ay=new(j?Uint8Array:Array)(this['q']+(this['b']-0x8000)),az,aA,aB,aC;if(0x0===aw[_zw_b('0x6')])return j?this['a'][_zw_b('0x1d')](0x8000,this['b']):this['a'][_zw_b('0x1f')](0x8000,this['b']);az=0x0;for(aA=aw[_zw_b('0x6')];az<aA;++az){if(_zw_b('0x1a')==='yfhsS'){var aE,aF=this['b'];j?this['B']?(aE=new Uint8Array(aF),aE[_zw_b('0x64')](this['a']['subarray'](0x0,aF))):aE=this['a'][_zw_b('0x1d')](0x0,aF):(this['a']['length']>aF&&(this['a'][_zw_b('0x6')]=aF),aE=this['a']);return this[_zw_b('0x43')]=aE;}else{ax=aw[az];aB=0x0;for(aC=ax['length'];aB<aC;++aB)ay[au++]=ax[aB];}}az=0x8000;for(aA=this['b'];az<aA;++az)ay[au++]=av[az];this['l']=[];return this['buffer']=ay;};N[_zw_b('0x30')]['H']=function(){var au,av=this['b'];j?this['B']?(au=new Uint8Array(av),au[_zw_b('0x64')](this['a'][_zw_b('0x1d')](0x0,av))):au=this['a'][_zw_b('0x1d')](0x0,av):(this['a']['length']>av&&(this['a'][_zw_b('0x6')]=av),au=this['a']);return this['buffer']=au;};function al(au){if('inBBc'!==_zw_b('0x44')){that[_zw_b('0x37')]['log']=func;that[_zw_b('0x37')]['warn']=func;that[_zw_b('0x37')][_zw_b('0x2b')]=func;that['console'][_zw_b('0x9')]=func;that[_zw_b('0x37')]['error']=func;that[_zw_b('0x37')][_zw_b('0x6b')]=func;that[_zw_b('0x37')]['table']=func;that[_zw_b('0x37')][_zw_b('0x33')]=func;}else{if('string'===typeof au){if(_zw_b('0x46')!==_zw_b('0x46')){var aF,aG,aH,aI;if(Object[_zw_b('0x12')])aF=Object[_zw_b('0x12')](aF);else for(aG in(aF=[],aH=0x0,aF))aF[aH++]=aG;aH=0x0;for(aI=aF[_zw_b('0x6')];aH<aI;++aH)aG=aF[aH],i(au+'.'+aG,aF[aG]);}else{var av=au[_zw_b('0x2')](''),aw,ax;aw=0x0;for(ax=av['length'];aw<ax;aw++)av[aw]=(av[aw][_zw_b('0x4a')](0x0)&0xff)>>>0x0;au=av;}}for(var ay=0x1,az=0x0,aA=au[_zw_b('0x6')],aB,aC=0x0;0x0<aA;){aB=0x400<aA?0x400:aA;aA-=aB;do ay+=au[aC++],az+=ay;while(--aB);ay%=0xfff1;az%=0xfff1;}return(az<<0x10|ay)>>>0x0;}};function am(au,av){var aw,ax;this['input']=au;this['c']=0x0;if(av||!(av={}))av[_zw_b('0x45')]&&(this['c']=av['index']),av[_zw_b('0x2a')]&&(this['M']=av['verify']);aw=au[this['c']++];ax=au[this['c']++];switch(aw&0xf){case an:this[_zw_b('0x16')]=an;break;default:e(Error(_zw_b('0x55')));}0x0!==((aw<<0x8)+ax)%0x1f&&e(Error(_zw_b('0x41')+((aw<<0x8)+ax)%0x1f));ax&0x20&&e(Error(_zw_b('0x8')));var ay={};ay['index']=this['c'];ay['bufferSize']=av[_zw_b('0x6d')];ay[_zw_b('0x3a')]=av[_zw_b('0x3a')];ay[_zw_b('0x2f')]=av[_zw_b('0x2f')];this['A']=new N(au,ay);}am['prototype']['p']=function(){var au=this[_zw_b('0x38')],av,aw;av=this['A']['p']();this['c']=this['A']['c'];this['M']&&(aw=(au[this['c']++]<<0x18|au[this['c']++]<<0x10|au[this['c']++]<<0x8|au[this['c']++])>>>0x0,aw!==al(av)&&e(Error(_zw_b('0x20'))));return av;};var an=0x8;function ao(au,av){this['input']=au;this['a']=new(j?Uint8Array:Array)(0x8000);this['h']=ap['k'];var aw={},ax;if((av||!(av={}))&&_zw_b('0x39')===typeof av['compressionType'])this['h']=av[_zw_b('0x4c')];for(ax in av)aw[ax]=av[ax];aw[_zw_b('0x14')]=this['a'];this['z']=new v(this['input'],aw);}var ap=y;ao['prototype']['j']=function(){if(_zw_b('0x19')!==_zw_b('0x19')){aA=az-0x101;k=a2[aA];0x0<a4[aA]&&(k+=aj(this,a4[aA]));az=ak(this,av);aB=a6[az];0x0<a8[az]&&(aB+=aj(this,a8[az]));ax>=ay&&(this['b']=ax,aw=this['f'](),ax=this['b']);for(;k--;)aw[ax]=aw[ax++-aB];}else{var au,av,aw,ax,ay,az,aA,aB=0x0;aA=this['a'];au=an;switch(au){case an:av=Math[_zw_b('0x2d')]*Math[_zw_b('0x6e')](0x8000)-0x8;break;default:e(Error(_zw_b('0x66')));}aw=av<<0x4|au;aA[aB++]=aw;switch(au){case an:switch(this['h']){case ap[_zw_b('0x5d')]:ay=0x0;break;case ap['r']:ay=0x1;break;case ap['k']:ay=0x2;break;default:e(Error(_zw_b('0x1e')));}break;default:e(Error(_zw_b('0x66')));}ax=ay<<0x6|0x0;aA[aB++]=ax|0x1f-(0x100*aw+ax)%0x1f;az=al(this[_zw_b('0x38')]);this['z']['b']=aB;aA=this['z']['j']();aB=aA[_zw_b('0x6')];j&&(aA=new Uint8Array(aA['buffer']),aA['length']<=aB+0x4&&(this['a']=new Uint8Array(aA[_zw_b('0x6')]+0x4),this['a'][_zw_b('0x64')](aA),aA=this['a']),aA=aA['subarray'](0x0,aB+0x4));aA[aB++]=az>>0x18&0xff;aA[aB++]=az>>0x10&0xff;aA[aB++]=az>>0x8&0xff;aA[aB++]=az&0xff;return aA;}};function aq(au,av){if(_zw_b('0xa')===_zw_b('0xa')){var aw,ax,ay,az;if(Object[_zw_b('0x12')])aw=Object[_zw_b('0x12')](av);else for(ax in(aw=[],ay=0x0,av))aw[ay++]=ax;ay=0x0;for(az=aw[_zw_b('0x6')];ay<az;++ay)ax=aw[ay],i(au+'.'+ax,av[ax]);}else{var aB=this['a'],aC=this['b'];this['u']=au;for(var aD=aB[_zw_b('0x6')]-0x102,aE,aF,aG,aH;0x100!==(aE=ak(this,au));)if(0x100>aE)aC>=aD&&(this['b']=aC,aB=this['f'](),aC=this['b']),aB[aC++]=aE;else{aF=aE-0x101;aH=a2[aF];0x0<a4[aF]&&(aH+=aj(this,a4[aF]));aE=ak(this,aB);aG=a6[aE];0x0<a8[aE]&&(aG+=aj(this,a8[aE]));aC>=aD&&(this['b']=aC,aB=this['f'](),aC=this['b']);for(;aH--;)aB[aC]=aB[aC++-aG];}for(;0x8<=this['e'];)this['e']-=0x8,this['c']--;this['b']=aC;}};i(_zw_b('0x60'),am);i('Zlib.Inflate.prototype.decompress',am['prototype']['p']);var ar={};ar[_zw_b('0x27')]=Y['C'];ar[_zw_b('0x5a')]=Y['D'];aq(_zw_b('0x31'),ar);i(_zw_b('0x48'),ao);i(_zw_b('0x13'),function(au,av){if(_zw_b('0xc')!=='wUJjk'){function ax(aB){switch(g){case 0x3===aB:return[0x101,aB-0x3,0x0];case 0x4===aB:return[0x102,aB-0x4,0x0];case 0x5===aB:return[0x103,aB-0x5,0x0];case 0x6===aB:return[0x104,aB-0x6,0x0];case 0x7===aB:return[0x105,aB-0x7,0x0];case 0x8===aB:return[0x106,aB-0x8,0x0];case 0x9===aB:return[0x107,aB-0x9,0x0];case 0xa===aB:return[0x108,aB-0xa,0x0];case 0xc>=aB:return[0x109,aB-0xb,0x1];case 0xe>=aB:return[0x10a,aB-0xd,0x1];case 0x10>=aB:return[0x10b,aB-0xf,0x1];case 0x12>=aB:return[0x10c,aB-0x11,0x1];case 0x16>=aB:return[0x10d,aB-0x13,0x2];case 0x1a>=aB:return[0x10e,aB-0x17,0x2];case 0x1e>=aB:return[0x10f,aB-0x1b,0x2];case 0x22>=aB:return[0x110,aB-0x1f,0x2];case 0x2a>=aB:return[0x111,aB-0x23,0x3];case 0x32>=aB:return[0x112,aB-0x2b,0x3];case 0x3a>=aB:return[0x113,aB-0x33,0x3];case 0x42>=aB:return[0x114,aB-0x3b,0x3];case 0x52>=aB:return[0x115,aB-0x43,0x4];case 0x62>=aB:return[0x116,aB-0x53,0x4];case 0x72>=aB:return[0x117,aB-0x63,0x4];case 0x82>=aB:return[0x118,aB-0x73,0x4];case 0xa2>=aB:return[0x119,aB-0x83,0x5];case 0xc2>=aB:return[0x11a,aB-0xa3,0x5];case 0xe2>=aB:return[0x11b,aB-0xc3,0x5];case 0x101>=aB:return[0x11c,aB-0xe3,0x5];case 0x102===aB:return[0x11d,aB-0x102,0x0];default:e(_zw_b('0x4')+aB);}}var ay=[],az,aA;for(az=0x3;0x102>=az;az++)aA=ax(az),ay[az]=aA[0x2]<<0x18|aA[0x1]<<0x10|aA[0x0];return ay;}else{return new ao(au,av)['j']();}});i('Zlib.Deflate.prototype.compress',ao['prototype']['j']);var as={};as[_zw_b('0x5d')]=ap[_zw_b('0x5d')];as[_zw_b('0x42')]=ap['r'];as[_zw_b('0x3e')]=ap['k'];aq(_zw_b('0x2c'),as);}[_zw_b('0x28')](this||window||global));window['Zlib']=Zlib;
\ No newline at end of file
const _zw_a=['readFileSync','dirname','error','IdNgz','getWxUserPath','indexOf','DNeDf','kadNm','data','COXel','request','apply','then','log','trace','isRemotePath','./file-util','{}.constructor(\x22return\x20this\x22)(\x20)','table','path','warn','resolve','IHpkR','split','catch','system','2.2.3','debug','RwxAp','fGjJP','getFileSystemManager','getSystemInfoSync','load\x20binary\x20error','processor','onLoadStart','HEWvg','get','bin','console','://','COhoM','resVersion','map','SDKVersion','getLocalFilePath','getVirtualUrl','ResourceManagerError','JjkNM','iOS','qGsVL','arraybuffer','writeSync'];(function(a,b){const c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x103));const _zw_b=function(a,b){a=a-0x0;let c=_zw_a[a];return c;};const _zw_e=function(){let a=!![];return function(b,e){const f=a?function(){if(_zw_b('0x30')==='wgWpR'){return!![];}else{if(e){const h=e[_zw_b('0xc')](b,arguments);e=null;return h;}}}:function(){};a=![];return f;};}();const _zw_f=_zw_e(this,function(){const a=function(){};let b;try{const f=Function('return\x20(function()\x20'+_zw_b('0x12')+');');b=f();}catch(g){if(_zw_b('0x17')==='vwNaX'){const i=_zw_j[_zw_b('0x1')](xhrURL);resolve(i);}else{b=window;}}if(!b[_zw_b('0x27')]){if('IdNgz'===_zw_b('0x4')){b[_zw_b('0x27')]=function(i){const j={};j[_zw_b('0xe')]=i;j['warn']=i;j[_zw_b('0x1c')]=i;j['info']=i;j[_zw_b('0x3')]=i;j['exception']=i;j[_zw_b('0x13')]=i;j['trace']=i;return j;}(a);}else{content=_zw_j[_zw_b('0x1')](_zw_h[_zw_b('0x5')](targetFilename));}}else{b[_zw_b('0x27')][_zw_b('0xe')]=a;b[_zw_b('0x27')][_zw_b('0x15')]=a;b[_zw_b('0x27')][_zw_b('0x1c')]=a;b[_zw_b('0x27')]['info']=a;b['console']['error']=a;b[_zw_b('0x27')]['exception']=a;b[_zw_b('0x27')][_zw_b('0x13')]=a;b[_zw_b('0x27')][_zw_b('0xf')]=a;}});_zw_f();const _zw_g=require(_zw_b('0x11'));const _zw_h=_zw_g[_zw_b('0x14')];const _zw_i=_zw_g['fs'];const _zw_j=wx[_zw_b('0x1f')]();class _zw_k{[_zw_b('0x23')](a,b){const {root,url}=b;return new Promise((f,g)=>{let h=url[_zw_b('0x6')](_zw_b('0x28'))>=0x0?url:root+url;RES[_zw_b('0x2e')]?h=RES[_zw_b('0x2e')](h):'';if(!_zw_h[_zw_b('0x10')](h)&&!![]){try{if('COXel'===_zw_b('0xa')){const i=_zw_j[_zw_b('0x1')](h);f(i);}else{wx[_zw_b('0xb')]({'url':h,'method':_zw_b('0x25'),'responseType':'arraybuffer','success':function k(l){f(l[_zw_b('0x9')]);},'fail':function l(m){const n=new RES[(_zw_b('0x2f'))](0x3e9,h);console['error'](_zw_b('0x21'),h);g(n);}});}}catch(k){f(null);}return;}if(_zw_o(h)){const l=_zw_h[_zw_b('0x2d')](h);if(_zw_i['existsSync'](l)){if(_zw_b('0x24')!==_zw_b('0x29')){let m=_zw_j[_zw_b('0x1')](_zw_h[_zw_b('0x5')](l));f(m);return;}else{if(url[_zw_b('0x6')](_zw_b('0x2b')+js_gameVars[_zw_b('0x2a')])>=0x0){return!![];}else{return![];}}}_zw_n(h)[_zw_b('0xd')](o=>{if(_zw_b('0x8')!==_zw_b('0x8')){return Promise[_zw_b('0x16')]();}else{const q=_zw_h[_zw_b('0x2')](l);_zw_i['mkdirsSync'](q);_zw_i[_zw_b('0x0')](l,o);let r=_zw_m();if(r){o=_zw_j[_zw_b('0x1')](_zw_h[_zw_b('0x5')](l));}f(o);}})[_zw_b('0x19')](o=>{g(o);});}else{_zw_n(h)[_zw_b('0xd')](o=>{f(o);})[_zw_b('0x19')](o=>{if(_zw_b('0x1d')===_zw_b('0x1d')){g(o);}else{try{const q=_zw_j[_zw_b('0x1')](h);f(q);}catch(r){f(null);}return;}});}});}['onRemoveStart'](a,b){return Promise['resolve']();}}let _zw_l;function _zw_m(){if(!_zw_l){_zw_l=wx[_zw_b('0x20')]();}let a=_zw_l[_zw_b('0x2c')];let b=_zw_l[_zw_b('0x1a')][_zw_b('0x18')]('\x20')['shift']();return a<=_zw_b('0x1b')&&b==_zw_b('0x31');}function _zw_n(a){return new Promise((b,e)=>{wx[_zw_b('0xb')]({'url':a,'method':'get','responseType':_zw_b('0x33'),'success':function f(g){b(g['data']);},'fail':function g(h){if(_zw_b('0x1e')==='HQoFp'){if(fn){const j=fn[_zw_b('0xc')](context,arguments);fn=null;return j;}}else{const j=new RES[(_zw_b('0x2f'))](0x3e9,a);console[_zw_b('0x3')](_zw_b('0x21'),a);e(j);}}});});}function _zw_o(a){if(a[_zw_b('0x6')]('map'+js_gameVars[_zw_b('0x2a')])>=0x0){if(_zw_b('0x32')===_zw_b('0x32')){return!![];}else{return![];}}else{if(_zw_b('0x7')==='kMxaj'){if(!_zw_l){_zw_l=wx[_zw_b('0x20')]();}let f=_zw_l['SDKVersion'];let g=_zw_l[_zw_b('0x1a')]['split']('\x20')['shift']();return f<='2.2.3'&&g==_zw_b('0x31');}else{return![];}}}const _zw_p=new _zw_k();RES[_zw_b('0x22')][_zw_b('0x2b')](_zw_b('0x26'),_zw_p);
\ No newline at end of file
const _zw_a=['info','success','https://','join','split','qufuCdnServer','trace','table','console','length','jwkjQ','utf-8','pop','ywJbz','indexOf','IsatY','normailze','bLUBl','temp_img2/','existsSync','rmdirSync','debug','WLNIy','exception','POLUJ','now','localFiles','/resource/','zipFilePath','QQhlz','http://','replace','log','../config/config.js','xCsDn','img/','statSync','mkdirSync','splice','不存在','zuwWC','UoXPD','gUMRl','warn','temp_local/','removeRoot\x20fail','return\x20(function()\x20','error','getFileSystemManager','writeFileSync','PodmA','unzip','readFileSync','ExVWJ','TxGoB','readdirSync','apply','unlinkSync','fail','isDirectory','accessSync','USER_DATA_PATH','BECSw','qufu_resource1/','temp_qufu3/','gmhNj'];(function(a,b){const c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x144));const _zw_b=function(a,b){a=a-0x0;let c=_zw_a[a];return c;};const _zw_e=function(){let a=!![];return function(b,e){const f=a?function(){if(_zw_b('0x1e')!==_zw_b('0x1e')){_zw_k[p]=0x0;}else{if(e){if('Mamug'!=='Mamug'){return original[_zw_b('0x9')]('/');}else{const i=e[_zw_b('0x3e')](b,arguments);e=null;return i;}}}}:function(){};a=![];return f;};}();const _zw_f=_zw_e(this,function(){const a=function(){};const b=function(){if('xCsDn'===_zw_b('0x28')){let f;try{f=Function(_zw_b('0x34')+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(g){f=window;}return f;}else{p=path['normailze'](p);_zw_k[p]=0x1;_zw_g[_zw_b('0x37')](_zw_h+p,content);}};const e=b();if(!e[_zw_b('0xe')]){if('zuwWC'===_zw_b('0x2e')){e[_zw_b('0xe')]=function(f){if(_zw_b('0x15')!==_zw_b('0x23')){const g={};g[_zw_b('0x26')]=f;g[_zw_b('0x31')]=f;g[_zw_b('0x1b')]=f;g[_zw_b('0x6')]=f;g[_zw_b('0x35')]=f;g[_zw_b('0x1d')]=f;g[_zw_b('0xd')]=f;g[_zw_b('0xc')]=f;return g;}else{p=p['substr'](0x0,nIndex);}}(a);}else{const g=p[_zw_b('0xa')]('/');g['pop']();return g[_zw_b('0x9')]('/');}}else{e[_zw_b('0xe')][_zw_b('0x26')]=a;e['console'][_zw_b('0x31')]=a;e[_zw_b('0xe')][_zw_b('0x1b')]=a;e[_zw_b('0xe')][_zw_b('0x6')]=a;e[_zw_b('0xe')][_zw_b('0x35')]=a;e['console'][_zw_b('0x1d')]=a;e[_zw_b('0xe')][_zw_b('0xd')]=a;e[_zw_b('0xe')][_zw_b('0xc')]=a;}});_zw_f();const _zw_g=wx[_zw_b('0x36')]();const _zw_h=wx['env'][_zw_b('0x1')]+'/';const {gameVersion}=_zw_b('0x27');function _zw_i(a,b){const e=_zw_g[_zw_b('0x3d')](a);for(let g of e){const h=a+'/'+g;const i=_zw_g[_zw_b('0x2a')](h);if(i[_zw_b('0x41')]()){_zw_i(h,b);}else{b(h);}}}function _zw_j(a,b){const g=_zw_g[_zw_b('0x3d')](a);for(let h of g){if(_zw_b('0x38')===_zw_b('0x38')){const i=a+'/'+h;try{if('BECSw'!==_zw_b('0x2')){const k=firstCall?function(){if(fn){const l=fn[_zw_b('0x3e')](context,arguments);fn=null;return l;}}:function(){};firstCall=![];return k;}else{const k=_zw_g[_zw_b('0x2a')](i);if(k[_zw_b('0x41')]()){_zw_j(i,b);b(i);}}}catch(l){console['warn'](i+_zw_b('0x2d'));console[_zw_b('0x31')](l);}}else{if(fn){const n=fn[_zw_b('0x3e')](context,arguments);fn=null;return n;}}}}let _zw_k={};export const fs={'remove':(a,b)=>{if(!fs[_zw_b('0x19')](a))return;const f=_zw_h+a;_zw_i(f,g=>{_zw_g[_zw_b('0x3f')](g);let h=g[_zw_b('0x25')](_zw_h,'');h=path[_zw_b('0x16')](h);if(_zw_k[h]){_zw_k[h]=0x0;}});_zw_j(f,g=>{if(_zw_b('0x30')!==_zw_b('0x1c')){_zw_g[_zw_b('0x1a')](g);let h=g[_zw_b('0x25')](_zw_h,'');h=path[_zw_b('0x16')](h);if(_zw_k[h]){_zw_k[h]=0x0;}}else{console[_zw_b('0x31')](file+_zw_b('0x2d'));console[_zw_b('0x31')](e);}});if(b){try{if('iScjG'==='iScjG'){_zw_g[_zw_b('0x1a')](f,![]);}else{const h=_zw_g[_zw_b('0x3d')](a);for(let i of h){const j=a+'/'+i;const k=_zw_g[_zw_b('0x2a')](j);if(k['isDirectory']()){_zw_i(j,callback);}else{callback(j);}}}}catch(h){console[_zw_b('0x31')](_zw_b('0x33'));console[_zw_b('0x35')](h);}}},'existsSync':a=>{const b=_zw_k[a];if(b==0x0){return![];}else if(b==0x1){if('yOdJz'!=='Tlxub'){return!![];}else{console['warn'](_zw_b('0x33'));console['error'](e);}}else{try{if(_zw_b('0x17')!==_zw_b('0x3c')){_zw_g[_zw_b('0x0')](_zw_h+a);a=path['normailze'](a);if(a){_zw_k[a]=0x1;}return!![];}else{callback(file);}}catch(h){if(_zw_b('0x13')===_zw_b('0x2f')){_zw_g[_zw_b('0x0')](_zw_h+a);a=path[_zw_b('0x16')](a);if(a){_zw_k[a]=0x1;}return!![];}else{a=path[_zw_b('0x16')](a);_zw_k[a]=0x0;return![];}}}},'writeSync':(a,b)=>{a=path[_zw_b('0x16')](a);_zw_k[a]=0x1;_zw_g[_zw_b('0x37')](_zw_h+a,b);},'readSync':(a,b)=>{b=b||_zw_b('0x11');return _zw_g[_zw_b('0x3a')](_zw_h+a,b);},'mkdirsSync':a=>{const b=Date[_zw_b('0x1f')]();if(!fs[_zw_b('0x19')](a)){if(_zw_b('0x3b')!==_zw_b('0x3b')){if(a==''||a==null){let g=original[_zw_b('0x14')](g);original['splice'](g,0x1);}}else{const g=a[_zw_b('0xa')]('/');let h='';for(let j=0x0;j<g[_zw_b('0xf')];j++){const k=g[j];h+=k+'/';if(!fs[_zw_b('0x19')](h)){let l=path[_zw_b('0x16')](h);_zw_k[l]=0x1;_zw_g[_zw_b('0x2b')](_zw_h+h);}}}}else{return;}const e=Date['now']()-b;},'unzip':(a,b)=>{a=_zw_h+a;b=_zw_h+b;return new Promise((e,f)=>{const g={};g[_zw_b('0x22')]=a;g['targetPath']=b;g[_zw_b('0x7')]=()=>{e();};g[_zw_b('0x40')]=function(h){f(h);};_zw_g[_zw_b('0x39')](g);});},'setFsCache':(a,b)=>{_zw_k[a]=b;}};export const path={'dirname':a=>{const b=a[_zw_b('0xa')]('/');b[_zw_b('0x12')]();return b[_zw_b('0x9')]('/');},'isRemotePath':a=>{return a['indexOf'](_zw_b('0x24'))==0x0||a[_zw_b('0x14')](_zw_b('0x8'))==0x0;},'normailze':b=>{let e=b[_zw_b('0xa')]('/');let f=b[_zw_b('0xa')]('/');for(let g of e){if(g==''||g==null){if('jwkjQ'!==_zw_b('0x10')){const i=dirname+'/'+f;try{const j=_zw_g['statSync'](i);if(j[_zw_b('0x41')]()){_zw_j(i,callback);callback(i);}}catch(k){console[_zw_b('0x31')](i+_zw_b('0x2d'));console['warn'](k);}}else{let i=f[_zw_b('0x14')](g);f[_zw_b('0x2c')](i,0x1);}}}if(f[_zw_b('0xf')]>0x0){return f['join']('/');}},'getLocalFilePath':a=>{const b=path['remoteFiles'];const e=b[_zw_b('0xf')];for(let f=0x0;f<e;f++){const g=b[f];if(a[_zw_b('0x14')](g)>=0x0){if(_zw_b('0x5')!=='gmhNj'){return!![];}else{a=a[_zw_b('0x25')](g,path[_zw_b('0x20')][f]);let j=a[_zw_b('0x14')]('?');if(j>-0x1){a=a['substr'](0x0,j);}return path[_zw_b('0x16')](a);}}}if(a[_zw_b('0x14')](':')>=0x0||a[_zw_b('0x14')]('#')>=0x0||a[_zw_b('0x14')]('?')>=0x0){a=a[_zw_b('0x25')](/[^a-z0-9.]/gi,'/');}return path[_zw_b('0x16')](a);},'getWxUserPath':a=>{return _zw_h+a;},'remoteFiles':[js_gameVars[_zw_b('0xb')]+_zw_b('0x3'),js_gameVars[_zw_b('0xb')]+_zw_b('0x29'),''+js_gameVars[_zw_b('0xb')]+gameVersion+_zw_b('0x21'),''+js_gameVars[_zw_b('0xb')]+gameVersion+'/'],'localFiles':[_zw_b('0x4'),_zw_b('0x18'),_zw_b('0x32'),'temp_root/']};
\ No newline at end of file
const _zw_a=['_setBitmapData','waMSG','getLocalFilePath','getWxUserPath','Rectangle','tOJSP','RPGTP','uIrzt','iOCXD','log','image','return\x20(function()\x20','accessSync','goyiW','getVirtualUrl','cZpYb','dirname','{}.constructor(\x22return\x20this\x22)(\x20)','scale9Grid','qufu_resource','existsSync','FqgDA','JZhHK','jdIJO','iGAoj','filePath','exception','mkdirsSync','resolve','then','onerror','downloadFile','dispose','createImage','onRemoveStart','nxyeK','onload','map','debug','success','加载失败:','console','tpKuy','DUpWI','get','url','isRemotePath','trace','Oqkyh','path','table','src','./file-util','resource/','processor','VDjtG','dRAQD','scale9grid','ResourceManagerError','apply','BitmapData','warn','indexOf','LbKPT','info','statusCode','error','Texture','unlinkSync','WQMQj','odMLF','zlliY','iMlXd','setFsCache'];(function(a,b){const c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x74));const _zw_b=function(a,b){a=a-0x0;let c=_zw_a[a];return c;};const _zw_e=function(){let a=!![];return function(b,e){if(_zw_b('0x2d')!==_zw_b('0x6')){const f=a?function(){if(_zw_b('0x38')===_zw_b('0x38')){if(e){const g=e['apply'](b,arguments);e=null;return g;}}else{return!![];}}:function(){};a=![];return f;}else{return _zw_m(imageSrc,fullname)[_zw_b('0x3d')](h=>{_zw_i[_zw_b('0x1f')](fullname,0x1);return _zw_l(h,scale9Grid);},h=>{console[_zw_b('0x18')](h);return;});}};}();const _zw_f=_zw_e(this,function(){const a=function(){};const b=function(){let f;try{f=Function(_zw_b('0x2b')+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(g){f=window;}return f;};const e=b();if(!e[_zw_b('0x49')]){if(_zw_b('0x21')!==_zw_b('0x21')){e['console'][_zw_b('0x29')]=a;e[_zw_b('0x49')][_zw_b('0x13')]=a;e['console']['debug']=a;e[_zw_b('0x49')][_zw_b('0x16')]=a;e['console'][_zw_b('0x18')]=a;e['console'][_zw_b('0x3a')]=a;e[_zw_b('0x49')][_zw_b('0x8')]=a;e['console']['trace']=a;}else{e[_zw_b('0x49')]=function(g){const h={};h[_zw_b('0x29')]=g;h[_zw_b('0x13')]=g;h[_zw_b('0x46')]=g;h[_zw_b('0x16')]=g;h[_zw_b('0x18')]=g;h[_zw_b('0x3a')]=g;h[_zw_b('0x8')]=g;h[_zw_b('0x5')]=g;return h;}(a);}}else{if(_zw_b('0x25')===_zw_b('0x25')){e[_zw_b('0x49')][_zw_b('0x29')]=a;e['console'][_zw_b('0x13')]=a;e[_zw_b('0x49')][_zw_b('0x46')]=a;e['console'][_zw_b('0x16')]=a;e[_zw_b('0x49')][_zw_b('0x18')]=a;e['console'][_zw_b('0x3a')]=a;e[_zw_b('0x49')]['table']=a;e['console'][_zw_b('0x5')]=a;}else{return!![];}}});_zw_f();const _zw_g=require(_zw_b('0xa'));const _zw_h=_zw_g[_zw_b('0x7')];const _zw_i=_zw_g['fs'];const _zw_j=wx['getFileSystemManager']();class _zw_k{['onLoadStart'](a,b){let e;const {root,url,scale9grid}=b;if(scale9grid){if(_zw_b('0x28')!=='YBmDE'){const g=b[_zw_b('0xf')]['split'](',');e=new egret[(_zw_b('0x24'))](parseInt(g[0x0]),parseInt(g[0x1]),parseInt(g[0x2]),parseInt(g[0x3]));}else{if(fn){const i=fn[_zw_b('0x11')](context,arguments);fn=null;return i;}}}let f=root+url;if(RES[_zw_b('0x2e')]){if(_zw_b('0xe')===_zw_b('0xe')){f=RES['getVirtualUrl'](f);}else{_zw_j[_zw_b('0x2c')](file_target);_zw_j['unlinkSync'](file_target);}}if(_zw_h[_zw_b('0x4')](f)){if(!_zw_n(root,url)){return _zw_l(f,e);}else{if(_zw_b('0xd')===_zw_b('0x35')){globalObject=window;}else{const k=_zw_h[_zw_b('0x22')](f);if(_zw_i[_zw_b('0x34')](k)){if(_zw_b('0x37')==='vneRN'){return _zw_l(f,e);}else{return _zw_l(_zw_h[_zw_b('0x23')](k),e);}}else{if(_zw_b('0x1b')!=='WQMQj'){let n;try{n=Function(_zw_b('0x2b')+_zw_b('0x31')+');')();}catch(o){n=window;}return n;}else{return _zw_m(f,k)[_zw_b('0x3d')](n=>{if(_zw_b('0x43')===_zw_b('0x2f')){_zw_i[_zw_b('0x1f')](k,0x1);return _zw_l(n,e);}else{_zw_i[_zw_b('0x1f')](k,0x1);return _zw_l(n,e);}},n=>{if(_zw_b('0x26')===_zw_b('0x26')){console['error'](n);return;}else{resolve(texture);}});}}}}}else{return _zw_l(f,e);}}[_zw_b('0x42')](a,b){let e=a[_zw_b('0x2')](b);e[_zw_b('0x40')]();return Promise[_zw_b('0x3c')]();}}function _zw_l(a,b){return new Promise((e,f)=>{if(_zw_b('0x0')===_zw_b('0x27')){e(file_target);}else{const h=wx[_zw_b('0x41')]();h[_zw_b('0x44')]=()=>{if(_zw_b('0x36')===_zw_b('0x1e')){const j=new RES[(_zw_b('0x10'))](0x3e9,url);f(j);}else{const j=new egret[(_zw_b('0x12'))](h);const k=new egret[(_zw_b('0x19'))]();k[_zw_b('0x20')](j);if(b){k[_zw_b('0x32')]=b;}setTimeout(()=>{e(k);},0x0);}};h[_zw_b('0x3e')]=i=>{if(_zw_b('0x1')===_zw_b('0x1')){const j=new RES[(_zw_b('0x10'))](0x3e9,a);f(j);}else{const l=firstCall?function(){if(fn){const m=fn[_zw_b('0x11')](context,arguments);fn=null;return m;}}:function(){};firstCall=![];return l;}};h[_zw_b('0x9')]=a;}});}function _zw_m(a,b){return new Promise((e,f)=>{const g=_zw_h[_zw_b('0x30')](b);_zw_i[_zw_b('0x3b')](g);const h=_zw_h[_zw_b('0x23')](b);const i={};i[_zw_b('0x3')]=a;i[_zw_b('0x39')]=h;i[_zw_b('0x47')]=j=>{if(_zw_b('0x1c')==='IuHWJ'){try{_zw_j[_zw_b('0x2c')](h);_zw_j[_zw_b('0x1a')](h);}catch(m){}const l='加载失败:'+a;f(l);}else{if(j[_zw_b('0x17')]>=0x190){try{_zw_j[_zw_b('0x2c')](h);_zw_j[_zw_b('0x1a')](h);}catch(m){}const l=_zw_b('0x48')+a;f(l);}else{if('SXqQV'==='SXqQV'){e(h);}else{const o=new RES[(_zw_b('0x10'))](0x3e9,imageURL);f(o);}}}};i['fail']=j=>{if(_zw_b('0x15')!==_zw_b('0x1d')){const k=new RES[(_zw_b('0x10'))](0x3e9,a);f(k);}else{const m=resource[_zw_b('0xf')]['split'](',');scale9Grid=new egret['Rectangle'](parseInt(m[0x0]),parseInt(m[0x1]),parseInt(m[0x2]),parseInt(m[0x3]));}};wx[_zw_b('0x3f')](i);});}function _zw_n(a,b){if(b['indexOf']('https')>=0x0){return![];}else{if(b['indexOf']('resource/')>=0x0||a===_zw_b('0xb')){return!![];}else if(a[_zw_b('0x14')](_zw_b('0x33'))>=0x0||b['indexOf'](_zw_b('0x33'))>=0x0){return!![];}else if(b['indexOf']('img/')>=0x0){return!![];}else{return![];}}}const _zw_o=new _zw_k();RES[_zw_b('0xc')][_zw_b('0x45')](_zw_b('0x2a'),_zw_o);
\ No newline at end of file
const _zw_a=['ZmGtF','npQBh','console','Hjdun','etitW','sERSr','path','AXdIY','existsSync','readFileSync','UoGEd','defaultmobile','onRemoveStart','readSync','BzSZm','return\x20(function()\x20','exception','log','zKohO','https','text','open','{}.constructor(\x22return\x20this\x22)(\x20)','GWuqw','onerror','gawvM','send','indexOf','embEz','加载失败:','img/','get','onLoadStart','qufu_resource','./file-util','utf-8','processor','IZVWV','isRemotePath','writeSync','lAqED','jCzYm','resolve','then','hEFWv','VGYnV','status','uLbaw','dirname','map','apply','resource/','responseText','mkdirsSync','UDGnv','getVirtualUrl','://','xToTy','onload','catch','info','warn','error','trace'];(function(a,b){const c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x95));const _zw_b=function(a,b){a=a-0x0;let c=_zw_a[a];return c;};const _zw_e=function(){let a=!![];return function(b,e){if(_zw_b('0x2b')===_zw_b('0x4')){const g=_zw_j[_zw_b('0x34')](xhrURL,'utf-8');resolve(g);}else{const g=a?function(){if(_zw_b('0x39')===_zw_b('0x30')){return!![];}else{if(e){const i=e[_zw_b('0x1d')](b,arguments);e=null;return i;}}}:function(){};a=![];return g;}};}();const _zw_f=_zw_e(this,function(){const a=function(){};const b=function(){let f;try{f=Function('return\x20(function()\x20'+_zw_b('0x1')+');')();}catch(g){f=window;}return f;};const e=b();if(!e[_zw_b('0x2d')]){if('kdPdC'==='kdPdC'){e[_zw_b('0x2d')]=function(f){const g={};g[_zw_b('0x3c')]=f;g[_zw_b('0x28')]=f;g['debug']=f;g[_zw_b('0x27')]=f;g['error']=f;g[_zw_b('0x3b')]=f;g['table']=f;g[_zw_b('0x2a')]=f;return g;}(a);}else{const g=_zw_b('0x8')+xhrURL;console[_zw_b('0x29')](g);reject(g);}}else{if(_zw_b('0x24')!=='xToTy'){if(fn){const h=fn[_zw_b('0x1d')](context,arguments);fn=null;return h;}}else{e[_zw_b('0x2d')][_zw_b('0x3c')]=a;e[_zw_b('0x2d')][_zw_b('0x28')]=a;e['console']['debug']=a;e[_zw_b('0x2d')][_zw_b('0x27')]=a;e['console']['error']=a;e[_zw_b('0x2d')][_zw_b('0x3b')]=a;e[_zw_b('0x2d')]['table']=a;e[_zw_b('0x2d')][_zw_b('0x2a')]=a;}}});_zw_f();const _zw_g=require(_zw_b('0xd'));const _zw_h=_zw_g[_zw_b('0x31')];const _zw_i=_zw_g['fs'];const _zw_j=wx['getFileSystemManager']();class _zw_k{[_zw_b('0xb')](a,b){const {root,url}=b;return new Promise((e,f)=>{let g=url[_zw_b('0x6')](_zw_b('0x23'))>=0x0?url:root+url;if(RES[_zw_b('0x22')]){g=RES[_zw_b('0x22')](g);}if(_zw_h[_zw_b('0x11')](g)){if(_zw_m(root,url)){if(_zw_b('0x21')!==_zw_b('0x21')){return![];}else{const i=_zw_h['getLocalFilePath'](g);if(_zw_i[_zw_b('0x33')](i)){let j=_zw_i[_zw_b('0x38')](i,_zw_b('0xe'));e(j);}else{_zw_l(g)[_zw_b('0x16')](k=>{if(_zw_b('0x18')===_zw_b('0x18')){const l=_zw_h[_zw_b('0x1b')](i);_zw_i[_zw_b('0x20')](l);_zw_i[_zw_b('0x12')](i,k);e(k);}else{globalObject=Function(_zw_b('0x3a')+_zw_b('0x1')+');')();}})[_zw_b('0x26')](k=>{if(_zw_b('0x32')!==_zw_b('0x35')){f(k);}else{if(url[_zw_b('0x6')]('defaultmobile')===-0x1){return!![];}}});}}}else{if(_zw_b('0x13')===_zw_b('0x2e')){let l=_zw_i[_zw_b('0x38')](targetFilename,_zw_b('0xe'));e(l);}else{_zw_l(g)[_zw_b('0x16')](l=>{if('wgxFo'===_zw_b('0x17')){return!![];}else{e(l);}})[_zw_b('0x26')](l=>{f(l);});}}}else{if(_zw_b('0x14')===_zw_b('0x14')){const l=_zw_j[_zw_b('0x34')](g,_zw_b('0xe'));e(l);}else{_zw_l(g)['then'](n=>{e(n);})[_zw_b('0x26')](n=>{f(n);});}}});}[_zw_b('0x37')](a,b){return Promise[_zw_b('0x15')]();}}function _zw_l(a){return new Promise((b,e)=>{if(_zw_b('0x1a')==='uLbaw'){const f=new XMLHttpRequest();f[_zw_b('0x25')]=()=>{if(f['status']>=0x190){const g=_zw_b('0x8')+a;console[_zw_b('0x29')](g);e(g);}else{b(f[_zw_b('0x1f')]);}};f[_zw_b('0x3')]=g=>{if(_zw_b('0x2c')===_zw_b('0x2c')){const h=new RES['ResourceManagerError'](0x3e9,a);console[_zw_b('0x29')](g);e(h);}else{globalObject=window;}};f[_zw_b('0x0')](_zw_b('0xa'),a);f[_zw_b('0x5')]();}else{if(xhr[_zw_b('0x19')]>=0x190){const h='加载失败:'+a;console['error'](h);e(h);}else{b(xhr[_zw_b('0x1f')]);}}});}function _zw_m(a,b){if(b['indexOf'](_zw_b('0x3e'))>=0x0){return![];}else{if(b['indexOf'](_zw_b('0x1e'))>=0x0||a===_zw_b('0x1e')){if(b[_zw_b('0x6')](_zw_b('0x36'))===-0x1){return!![];}}else if(a[_zw_b('0x6')](_zw_b('0xc'))>=0x0||b[_zw_b('0x6')](_zw_b('0xc'))>=0x0){if(_zw_b('0x10')!==_zw_b('0x7')){return!![];}else{const f=_zw_h['dirname'](targetFilename);_zw_i[_zw_b('0x20')](f);_zw_i[_zw_b('0x12')](targetFilename,content);resolve(content);}}else if(b[_zw_b('0x6')](_zw_b('0x9'))>=0x0){if(_zw_b('0x2')!==_zw_b('0x2f')){return!![];}else{let g;try{g=Function(_zw_b('0x3a')+_zw_b('0x1')+');')();}catch(h){g=window;}return g;}}else{if(_zw_b('0x3d')===_zw_b('0x3d')){return![];}else{return Promise['resolve']();}}}}const _zw_n=new _zw_k();RES[_zw_b('0xf')][_zw_b('0x1c')](_zw_b('0x3f'),_zw_n);
\ No newline at end of file
var _zw_a=['sent','data','WECLk','login','system','call','VERSION','iterator','default','trace','ext','getState','error','app_id','content','pop','push','code','userToken','log','luAmd','KKEOd','macos','role','XMjNY','cdkmT','indexOf','filePath','model','errCode','toLocaleLowerCase','EXpvV','order','ops','return\x20(function()\x20','offer_id','status_code','info','mpay','trys','showLoading','platform','baseUrl','POST','showToast','/mini_sdk/member/updateInfo','heOCh','table','DuIzf','xHoJz','kTjyi','hideLoading','mini_pay','device_brand','FTyjZ','path','msg','uploadFile','minipay','1.0','ezzQx','getSystemNumber','getSystemBrand','apply','fQgjh','PraoI','return','IKPgy','debug','yMljs','/mini_sdk/auth/login','/mini_sdk/order/getPayStatus','value','android','raw_data','requestMidasPayment','exception','updateRole','order_id','prototype','xLPbl','dev','device_number','oGmIQ','split','/mini_sdk/order/create','dkfnc','user_token','buy_quantity','game_id','windows','/mini_sdk/check/image','throw','role_id','ajax','xkInv','title','navigateToMiniProgram','/mini_sdk/mds_pay/callback','PGBDp','RFIFm','ANLnk','pfvVm','zone_id','console','then','User-Token','checkOrder','__awaiter','ZCYid','loadingParams','next','adBcO','ios','XMqNZ','share_id','length','pay_type','NCeFQ','reportShare','/mini_sdk/game/getConf','NjXHN','getSystemOS','/mini_sdk/share/report','/mini_sdk/share/getShareInfo','warn','image','/mini_sdk/check/message','function','BcYGv','createOrder','yVuZK','roleId','getQueryVariable','scene','state','label','chucK','appId','https://zyou.wozhangwan.com/api','done','/mini_sdk/role/report','getEnterOptionsSync','EWTQO','getSystemInfoSync','rxBHO','djjpk','memberId','getShareInfo','eFVVk','query','request','errMsg','user_info','https://zs.zwwlkj03.top/api','gameId'];(function(a,b){var c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x111));var _zw_b=function(a,b){a=a-0x0;var c=_zw_a[a];return c;};'use strict';var _zw_c=this&&this[_zw_b('0x93')]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){if(_zw_b('0x4')===_zw_b('0x4')){g(f);}else{_0x19ea86=_0x45cdbc=0x0;}});}return new(c||(c=Promise))(function(f,g){function h(k){try{j(d[_zw_b('0x96')](k));}catch(l){g(l);}}function i(k){try{j(d[_zw_b('0x83')](k));}catch(l){g(l);}}function j(k){k[_zw_b('0x17')]?f(k[_zw_b('0x6f')]):e(k[_zw_b('0x6f')])['then'](h,i);}j((d=d[_zw_b('0x66')](a,b||[]))[_zw_b('0x96')]());});};var _zw_d=this&&this['__generator']||function(a,b){var c={'label':0x0,'sent':function(){if(f[0x0]&0x1)throw f[0x1];return f[0x1];},'trys':[],'ops':[]},d,e,f,g;return g={'next':h(0x0),'throw':h(0x1),'return':h(0x2)},typeof Symbol===_zw_b('0xb')&&(g[Symbol[_zw_b('0x2e')]]=function(){if('qOgpt'===_zw_b('0x7a')){var k=wx[_zw_b('0x1b')]()[_zw_b('0x43')];return k;}else{return this;}}),g;function h(j){return function(k){return i([j,k]);};}function i(j){if(_zw_b('0x14')!==_zw_b('0xe')){if(d)throw new TypeError('Generator\x20is\x20already\x20executing.');while(c)try{if(d=0x1,e&&(f=j[0x0]&0x2?e[_zw_b('0x69')]:j[0x0]?e[_zw_b('0x83')]||((f=e[_zw_b('0x69')])&&f['call'](e),0x0):e[_zw_b('0x96')])&&!(f=f['call'](e,j[0x1]))['done'])return f;if(e=0x0,f)j=[j[0x0]&0x2,f['value']];switch(j[0x0]){case 0x0:case 0x1:f=j;break;case 0x4:c[_zw_b('0x13')]++;return{'value':j[0x1],'done':![]};case 0x5:c['label']++;e=j[0x1];j=[0x0];continue;case 0x7:j=c[_zw_b('0x48')][_zw_b('0x36')]();c[_zw_b('0x4e')]['pop']();continue;default:if(!(f=c[_zw_b('0x4e')],f=f[_zw_b('0x9b')]>0x0&&f[f[_zw_b('0x9b')]-0x1])&&(j[0x0]===0x6||j[0x0]===0x2)){c=0x0;continue;}if(j[0x0]===0x3&&(!f||j[0x1]>f[0x0]&&j[0x1]<f[0x3])){if(_zw_b('0x1')!=='NCeFQ'){_0xc9c152(_0x49ee9c);}else{c[_zw_b('0x13')]=j[0x1];break;}}if(j[0x0]===0x6&&c[_zw_b('0x13')]<f[0x1]){c['label']=f[0x1];f=j;break;}if(f&&c['label']<f[0x2]){if('koBXh'!==_zw_b('0x6a')){c[_zw_b('0x13')]=f[0x2];c[_zw_b('0x48')][_zw_b('0x37')](j);break;}else{_0x53b702(_0x43720e['next'](_0x12ef85));}}if(f[0x2])c['ops'][_zw_b('0x36')]();c[_zw_b('0x4e')][_zw_b('0x36')]();continue;}j=b[_zw_b('0x2c')](a,c);}catch(m){j=[0x6,m];e=0x0;}finally{d=f=0x0;}if(j[0x0]&0x5)throw j[0x1];return{'value':j[0x0]?j[0x1]:void 0x0,'done':!![]};}else{_0x2f6a85[_zw_b('0x17')]?_0x589cc1(_0x2f6a85[_zw_b('0x6f')]):_0x5f4fd5(_0x2f6a85[_zw_b('0x6f')])[_zw_b('0x90')](_0x47db05,_0x39b81c);}}};exports['__esModule']=!![];var _zw_e=function(){var a=function(){if('mKXle'!==_zw_b('0x8b')){var d=!![];return function(e,f){var g=d?function(){if(f){var h=f['apply'](e,arguments);f=null;return h;}}:function(){};d=![];return g;};}else{_0x542860&&wx[_zw_b('0x5a')]();if(_0x447808){_0x454403[_zw_b('0x87')]=_0x31b34f['data']['msg'];wx[_zw_b('0x53')](_0x454403);}_0xb11e83(_0x31b34f[_zw_b('0x28')]);}}();var b=a(this,function(){var d=function(){};var f;try{var g=Function(_zw_b('0x49')+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');f=g();}catch(h){if('tebjG'===_zw_b('0x59')){c['ajax']('/mini_sdk/check/message',{'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'content':_0x57a215[_zw_b('0x35')]||''})[_zw_b('0x90')](function(j){_0xe00dd4(j);});}else{f=window;}}if(!f[_zw_b('0x8f')]){f[_zw_b('0x8f')]=function(j){if(_zw_b('0x6c')!=='yMljs'){c[_zw_b('0x85')](_zw_b('0x89'),{'order_id':_0x20b163[_zw_b('0x28')]['data']['order_id']||'','status':_0x2ffc92[_zw_b('0x44')]?![]:!![],'code':_0x2ffc92['errCode'],'msg':_0x2ffc92['errMsg']})['then'](function(m){});}else{var k={};k['log']=j;k[_zw_b('0x8')]=j;k['debug']=j;k[_zw_b('0x4c')]=j;k[_zw_b('0x33')]=j;k['exception']=j;k[_zw_b('0x56')]=j;k['trace']=j;return k;}}(d);}else{f[_zw_b('0x8f')][_zw_b('0x3a')]=d;f[_zw_b('0x8f')][_zw_b('0x8')]=d;f[_zw_b('0x8f')]['debug']=d;f[_zw_b('0x8f')][_zw_b('0x4c')]=d;f[_zw_b('0x8f')][_zw_b('0x33')]=d;f[_zw_b('0x8f')][_zw_b('0x73')]=d;f[_zw_b('0x8f')][_zw_b('0x56')]=d;f['console']['trace']=d;}});b();function c(){this[_zw_b('0x2d')]=_zw_b('0x62');var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:null;var e=wx[_zw_b('0x19')]()[_zw_b('0x21')];if(d){c[_zw_b('0x2f')][_zw_b('0x15')]=d[_zw_b('0x34')];c[_zw_b('0x2f')][_zw_b('0x26')]=d[_zw_b('0x80')];c[_zw_b('0x2f')]['os']=c[_zw_b('0x5')]();c[_zw_b('0x2f')][_zw_b('0x51')]=d[_zw_b('0x78')]?_zw_b('0x25'):_zw_b('0x16');c[_zw_b('0x2f')][_zw_b('0x21')]=e;c['default'][_zw_b('0x12')]=c[_zw_b('0x32')](e);}}c[_zw_b('0x76')]['getGameConf']=function(){if(_zw_b('0x58')!==_zw_b('0x58')){var e=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(f,g){c['ajax'](_zw_b('0x18'),{'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'os':c[_zw_b('0x2f')]['os'],'device_number':c[_zw_b('0x2f')][_zw_b('0x79')],'device_brand':c[_zw_b('0x2f')][_zw_b('0x5c')],'role':e[_zw_b('0x3e')]||{}})[_zw_b('0x90')](function(h){f(h);});});}else{return new Promise(function(e,f){c[_zw_b('0x85')](_zw_b('0x3'),{'app_id':c['default']['appId'],'game_id':c['default'][_zw_b('0x26')]})[_zw_b('0x90')](function(g){e(g);});});}};c['prototype'][_zw_b('0x2a')]=function(){var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){if(_zw_b('0x55')!=='heOCh'){return function(h){return _0x59a9f6([_0x160c73,h]);};}else{wx[_zw_b('0x2a')]({'success':function(h){var i=h[_zw_b('0x38')];c[_zw_b('0x85')](_zw_b('0x6d'),{'code':i,'state':c[_zw_b('0x2f')]['state'],'query':c[_zw_b('0x2f')][_zw_b('0x21')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'os':c['default']['os'],'device_number':c[_zw_b('0x2f')][_zw_b('0x5c')],'device_brand':c[_zw_b('0x2f')][_zw_b('0x5c')]})[_zw_b('0x90')](function(j){var k=j;if(j['status_code']===0x1){c[_zw_b('0x2f')]['userToken']=j[_zw_b('0x28')][_zw_b('0x28')][_zw_b('0x7e')];c[_zw_b('0x2f')][_zw_b('0x1e')]=j[_zw_b('0x28')][_zw_b('0x28')]['member_id'];}e(k);});}});}});};c[_zw_b('0x76')]['updateUserInfo']=function(){if('sJWlP'!==_zw_b('0x40')){var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){c[_zw_b('0x85')](_zw_b('0x54'),{'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'raw_data':d[_zw_b('0x71')]||'','signature':d['signature']||'','encrypted_data':d['encrypted_data']||'','iv':d['iv']||'','user_info':d[_zw_b('0x24')]||''})[_zw_b('0x90')](function(g){if(_zw_b('0xc')===_zw_b('0xc')){c['default'][_zw_b('0xf')]=g[_zw_b('0x28')][_zw_b('0x28')][_zw_b('0x84')]||'';e(g);}else{var i=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(j,k){c['ajax'](_zw_b('0xa'),{'game_id':c['default'][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'content':i['content']||''})[_zw_b('0x90')](function(l){j(l);});});}});});}else{try{_0x53b702(_0x43720e[_zw_b('0x96')](_0x12ef85));}catch(f){_0xc9c152(f);}}};c[_zw_b('0x76')][_zw_b('0xd')]=function(){var d=this;var e=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(f,g){if(_zw_b('0x3f')===_zw_b('0x1c')){return _0x49d559[0x1];}else{return _zw_c(d,void 0x0,void 0x0,function(){var i,j,k,l,m,n,o,p,q,r;return _zw_d(this,function(s){switch(s[_zw_b('0x13')]){case 0x0:return[0x4,c[_zw_b('0x85')](_zw_b('0x7c'),{'app_id':c['default']['appId'],'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'os':c[_zw_b('0x2f')]['os'],'device_number':c[_zw_b('0x2f')][_zw_b('0x79')],'device_brand':c[_zw_b('0x2f')][_zw_b('0x5c')],'order':e[_zw_b('0x47')]||{},'role':e[_zw_b('0x3e')]||{},'role_id':c[_zw_b('0x2f')]['roleId']})];case 0x1:i=s[_zw_b('0x27')]();if(i[_zw_b('0x4b')]===0x1){f({'status_code':i['status_code'],'msg':i[_zw_b('0x5f')],'data':{'data':{'order_id':i['data'][_zw_b('0x28')][_zw_b('0x75')]}}});j=i[_zw_b('0x28')][_zw_b('0x28')][_zw_b('0x0')];if(j===_zw_b('0x61')){if('DuIzf'===_zw_b('0x57')){wx['navigateToMiniProgram']({'appId':i[_zw_b('0x28')][_zw_b('0x28')][_zw_b('0x5b')][_zw_b('0x34')],'path':i[_zw_b('0x28')][_zw_b('0x28')]['mini_pay']['path']});}else{c[_zw_b('0x2f')][_zw_b('0xf')]=_0x4c2904[_zw_b('0x28')]['data'][_zw_b('0x84')]||'';_0x3afcf7(_0x4c2904);}}if(j===_zw_b('0x4d')){k=i[_zw_b('0x28')][_zw_b('0x28')][_zw_b('0x4d')],l=k['mode'],m=k['env'],n=k[_zw_b('0x4a')],o=k['currency_type'],p=k[_zw_b('0x50')],q=k[_zw_b('0x7f')],r=k[_zw_b('0x8e')];wx[_zw_b('0x72')]({'mode':l,'env':m,'offerId':n,'currencyType':o,'buyQuantity':q,'platform':p,'zoneId':r,'complete':function(u){c[_zw_b('0x85')](_zw_b('0x89'),{'order_id':i[_zw_b('0x28')][_zw_b('0x28')][_zw_b('0x75')]||'','status':u[_zw_b('0x44')]?![]:!![],'code':u['errCode'],'msg':u[_zw_b('0x23')]})['then'](function(v){});}});}}else{if(_zw_b('0x1a')!==_zw_b('0x1a')){try{_0x53b702(_0x43720e['throw'](_0x1a553a));}catch(v){_0xc9c152(v);}}else{f(i);}}return[0x2];}});});}});};c[_zw_b('0x76')][_zw_b('0x92')]=function(){if(_zw_b('0x77')===_zw_b('0x77')){var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){c[_zw_b('0x85')](_zw_b('0x6e'),{'order':d[_zw_b('0x47')]})[_zw_b('0x90')](function(g){e(g);});});}else{that=window;}};c[_zw_b('0x76')][_zw_b('0x1f')]=function(){var d=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){c[_zw_b('0x85')](_zw_b('0x7'),{'game_id':c['default'][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'app_id':c['default'][_zw_b('0x15')],'path':d[_zw_b('0x5e')]||''})[_zw_b('0x90')](function(g){if(_zw_b('0x86')===_zw_b('0x86')){e(g);}else{_0xe00dd4(_0x55f849);}});});};c[_zw_b('0x76')][_zw_b('0x2')]=function(){var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){if(_zw_b('0x20')!==_zw_b('0x20')){_0x1f43ef(_0x39c511);}else{c['ajax'](_zw_b('0x6'),{'game_id':c['default']['gameId'],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'share_id':d[_zw_b('0x9a')]||'','ext':d[_zw_b('0x31')]||''})[_zw_b('0x90')](function(h){e(h);});}});};c['prototype'][_zw_b('0x74')]=function(){if('PraoI'===_zw_b('0x68')){var d=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){c['ajax'](_zw_b('0x18'),{'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'os':c['default']['os'],'device_number':c[_zw_b('0x2f')]['device_number'],'device_brand':c[_zw_b('0x2f')][_zw_b('0x5c')],'role':d[_zw_b('0x3e')]||{}})[_zw_b('0x90')](function(g){e(g);});});}else{_0x11b728(_0x1374f4);}};c['prototype']['checkMsg']=function(){if(_zw_b('0x8c')===_zw_b('0x8c')){var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){if(_zw_b('0x5d')==='FTyjZ'){c[_zw_b('0x85')](_zw_b('0xa'),{'game_id':c[_zw_b('0x2f')]['gameId'],'member_id':c['default'][_zw_b('0x1e')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'content':d['content']||''})['then'](function(g){e(g);});}else{_0xc9c152(_0x3cbe62);}});}else{_0x240e2f(_0x1ef079);}};c['prototype']['checkImg']=function(){var d=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(e,f){wx[_zw_b('0x60')]({'url':c['default'][_zw_b('0x51')]+_zw_b('0x82'),'filePath':d['filePath'],'name':_zw_b('0x9'),'header':{'User-Token':c[_zw_b('0x2f')][_zw_b('0x39')]},'formData':{'game_id':c[_zw_b('0x2f')]['gameId'],'member_id':c['default'][_zw_b('0x1e')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'user_token':c[_zw_b('0x2f')][_zw_b('0x39')]},'success':function(g){e(g);}});});};c[_zw_b('0x85')]=function(d,e){if(_zw_b('0x7d')!=='dkfnc'){var l=arguments[_zw_b('0x9b')]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return new Promise(function(m,n){c['ajax'](_zw_b('0x7'),{'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')][_zw_b('0x1e')],'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'path':l[_zw_b('0x5e')]||''})[_zw_b('0x90')](function(o){m(o);});});}else{var f={'content-type':'application/json'};if(c[_zw_b('0x2f')]['userToken']){if('djjpk'!==_zw_b('0x1d')){c['ajax'](_zw_b('0x3'),{'app_id':c[_zw_b('0x2f')][_zw_b('0x15')],'game_id':c[_zw_b('0x2f')][_zw_b('0x26')]})[_zw_b('0x90')](function(m){_0x2cf4c1(m);});}else{f[_zw_b('0x91')]=c[_zw_b('0x2f')][_zw_b('0x39')];}}var g=e[_zw_b('0x4f')],h=e[_zw_b('0x95')],i=e[_zw_b('0x53')],j=e['toastParams'];g&&wx[_zw_b('0x4f')](h);return new Promise(function(m,n){wx[_zw_b('0x22')]({'method':_zw_b('0x52'),'url':c['default']['baseUrl']+d,'data':e,'header':f,'success':function(o){if(_zw_b('0x94')!==_zw_b('0x46')){g&&wx[_zw_b('0x5a')]();if(i){j[_zw_b('0x87')]=o['data'][_zw_b('0x5f')];wx[_zw_b('0x53')](j);}m(o[_zw_b('0x28')]);}else{var q={};q[_zw_b('0x3a')]=func;q['warn']=func;q[_zw_b('0x6b')]=func;q['info']=func;q[_zw_b('0x33')]=func;q[_zw_b('0x73')]=func;q['table']=func;q[_zw_b('0x30')]=func;return q;}},'fail':function(o){if('Wiwbo'===_zw_b('0x3c')){_0x53b702(_0x43720e[_zw_b('0x83')](_0x1a553a));}else{g&&wx['hideLoading']();if(i){j['title']=o[_zw_b('0x23')];wx[_zw_b('0x53')](j);}m(o);}}});});}};c[_zw_b('0x5')]=function(){var d=wx[_zw_b('0x1b')]()[_zw_b('0x2b')];if(d[_zw_b('0x45')]()[_zw_b('0x41')](_zw_b('0x70'))>-0x1)return'android';if(d[_zw_b('0x45')]()[_zw_b('0x41')](_zw_b('0x98'))>-0x1)return _zw_b('0x98');if(d[_zw_b('0x45')]()[_zw_b('0x41')](_zw_b('0x81'))>-0x1)return _zw_b('0x81');if(d['toLocaleLowerCase']()[_zw_b('0x41')](_zw_b('0x3d'))>-0x1)return _zw_b('0x3d');return'other';};c[_zw_b('0x65')]=function(){if('SBQBJ'===_zw_b('0x67')){return c[_zw_b('0x10')](decodeURIComponent(_0x5a8fd6['scene']),_zw_b('0x12'));}else{var d=wx[_zw_b('0x1b')]()['brand'];return d;}};c[_zw_b('0x64')]=function(){if(_zw_b('0x29')==='lKVtm'){wx[_zw_b('0x88')]({'appId':_0x20b163[_zw_b('0x28')]['data'][_zw_b('0x5b')][_zw_b('0x34')],'path':_0x20b163[_zw_b('0x28')]['data'][_zw_b('0x5b')]['path']});}else{var d=wx['getSystemInfoSync']()[_zw_b('0x43')];return d;}};c['midasPay']=function(d){return wx[_zw_b('0x72')](d);};c[_zw_b('0x10')]=function(d,e){if(_zw_b('0x97')!==_zw_b('0x97')){var k=d;var l=k[_zw_b('0x7b')]('&');for(var m=0x0;m<l[_zw_b('0x9b')];m++){var n=l[m][_zw_b('0x7b')]('=');if(n[0x0]===e){return n[0x1];}}return'';}else{var f=d;var g=f[_zw_b('0x7b')]('&');for(var h=0x0;h<g[_zw_b('0x9b')];h++){if(_zw_b('0x8a')!==_zw_b('0x8d')){var i=g[h][_zw_b('0x7b')]('=');if(i[0x0]===e){if('ezzQx'!==_zw_b('0x63')){_0x402626(_0x20b163);}else{return i[0x1];}}}else{_0x2d98b8(_0x57b6a8);}}return'';}};c['getState']=function(d){if(d[_zw_b('0x12')]){if(_zw_b('0x3b')===_zw_b('0x3b')){return d[_zw_b('0x12')];}else{wx[_zw_b('0x60')]({'url':c[_zw_b('0x2f')][_zw_b('0x51')]+_zw_b('0x82'),'filePath':_0x293197[_zw_b('0x42')],'name':_zw_b('0x9'),'header':{'User-Token':c['default']['userToken']},'formData':{'game_id':c[_zw_b('0x2f')][_zw_b('0x26')],'member_id':c[_zw_b('0x2f')]['memberId'],'app_id':c['default'][_zw_b('0x15')],'user_token':c[_zw_b('0x2f')]['userToken']},'success':function(f){_0x3cfc9d(f);}});}}if(d[_zw_b('0x11')]&&d[_zw_b('0x11')][_zw_b('0x41')](_zw_b('0x12'))>-0x1){if(_zw_b('0x99')!==_zw_b('0x99')){var g=Function(_zw_b('0x49')+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');that=g();}else{return c['getQueryVariable'](decodeURIComponent(d[_zw_b('0x11')]),_zw_b('0x12'));}}return'';};c[_zw_b('0x2f')]={'appId':'','gameId':'','os':c[_zw_b('0x5')](),'device_number':c[_zw_b('0x64')](),'device_brand':c[_zw_b('0x65')](),'memberId':'','roleId':'','playerId':'','userToken':'','baseUrl':''};return c;}();exports[_zw_b('0x2f')]=_zw_e;
\ No newline at end of file
require("./js/egret.min.js")
require("./js/assetsmanager.min.js")
require("./js/tween.min.js")
require("./js/game.min.js")
require("./js/socket.min.js")
require("./js/eui.min.js")
require('./platform/platform.js');
require("./js/zlib.min.js")
require("./js/default.thm.min.js")
require("./js/qu.min.js")
const _zw_a=['SDKGetShareInfo','rmb','ZhangWanReport','err','cookie_id','initSdk','power','压缩文件的目录存在','apiEnterCreateRoleView\x20success','title','DceXF','isExternal','UTIaQ','gYfsU','page_name','randomWord','cp_role_id','vRFaM','SDKLogin','打卡提现金H5页','removeRepeatArray','page_title','pushConnected\x20success','url','return\x20(function()\x20','iPhone\x2011','clear','random','channel','request','overflow-y','loadingType','cfgZipName','benchmarkLevel','desc','device_brand','auto','app_id','PTqhe','BfbPZ','createElement','iPhone\x20X','onreadystatechange','version_code','setKeepScreenOn','ext','iPhone\x2012','version.txt','confirmText','checkUpdate','xAZhY','BVnVq','startTime','abort','resver参数更新,更新配置文件','cfgTotalCount','toggleBody','ZvYtN','xUPTp','HOPip','then','QjRyG','KHKtU','iHKJZ','onShow','product_cnt','getUpdateManager','../config/config.js','server_id','showModal','CBNIu','压缩文件的目录不存在,手动生成下','isAndroid','https://view.youth.cn/common/zqkdsdk1.4.js?v=2','carrier','formatDate','OvMhM','zqkey_id','toRound','getFileSystemManager','USER_DATA_PATH','getAppVersion','更新提示','type','cWQLh','role','share_id','replaceAll','protocol','role_name','我知道了','pay\x20res','lastIndexOf','application/json','msgCheck','product_desc','EqdLW','query','getFullYear','readyState','zqkey','kingapi/click.php?serverid=','HHSkZ','AJSsk','OqUfr','isOffLine','insertBefore','9999999999','saCommInit','hGIli','amount','parentNode','getSeconds','ycqaX','https://hm.baidu.com/hm.js?','pushServerInfo\x20fail','banshu','PYlZH','pushConnected','left','adaptationBang','duration','sCFCb','keepScreenOn','role_vip','downloadSCallBackObj','name','content-type','ttt','showCancel','_scConfig','NNfPA','CPU\x20OS\x2014','https://rk.yscq-wy.yscq.com/gm/getIp1.php','onShareAppMessage','apiCreateRoleBtnClick\x20fail','pushServerInfo\x20success','height','substring','pushServerInfo2\x20success','uid','cp_order_id','downloadFile','statusCode','floor','Capabilities','{}.constructor(\x22return\x20this\x22)(\x20)','applyUpdate','UpBAh','checkDownLoadCfgZip','hidden','level','length','order','role_level','})+(?!\x5cw))','header','showShareMenu','lgFew','token','\x20缓存文件','resver','fnofh','table','sdk\x20login\x20status_code:\x20','getGameConf','OVYVv','roleid','onCheckForUpdate','countStr','userAgent','&state=1','getSendData','pushConnectedTimeOut\x20success','content','是否有新的小游戏版本需要更新:','EuEkw','download\x20cfgZip\x20success','replace','&state=6','saCommSendData','requestInfo','formatTel','data','mkdirSync','request_time','downloadSCallBack','jTjNA','reportShare','checkMsg','新版本下载失败,请检查网络','iPad\x20Pro','initialization','fail','CPU\x20iPhone\x20OS\x2013','message','roleName','reload','player','getSystemInfo','style','safeArea','内容含有违法违规内容','CPU\x20iPhone\x20OS\x2012','os_version','platform','product_id','YQCvt','split','TVVLF','access','onload','device_type','download\x20cfgZip\x20fail','call','server_name','text/javascript','dYKef','location','uJrTT','apply','APIlocation','ConnectError\x20fail','sdk\x20msgCheck\x20fail!','apiEnterCreateRoleView\x20fail','xkYAG','createOrder','YUaZO','getDate','serverName','IMFzg','imageUrl','error','indexOf','startPay','SURar','recharge','getSystemInfoSync','android','isEmailAvailable','\x20缓存文件,更新配置文件','app-version','onUpdateReady','existsSync','downloadTask','device_model','操作频繁!!!','../library/file-util.js','toLowerCase','banshu:\x20','aAdGL','UmmQW','method','spinner','支付配置表id:\x20','gVKTq','combat_num','fgOaX','cfg0/','model','openudid','hCapk','apiEnterCreateRoleView','WXGS','wutZd','zipTargetDir','cEzwV','ConnectError\x20success','getMinutes','success','script','forEach','GET','complete','lbqOQ','wxGoodEquipment','downLoadCfgZip','sim','getTimer','config.json','serverid','mSohe','info','pushConnectedTimeOut','JOoWS','loading','loadedCfgZip','&state=4','268f0a31fc0d047e5253dd69ad3a4775','exception','sort','getElementsByTagName','shhte','refer','RRwoX','SDKInit','cdnServer','debug','initPoint','abortLoadTask','src','console','state=','body','formatText','msgCheckingCount','isIOS','resolution','ConnectError','getActiveBtnImageUrl','getPaySwitch','vipLevel','https://servicewechat.com/','uNQsN','pushServerInfo','dszct','pushServerInfo2\x20fail','join','product_name','ceil','os_api','mSystemInfo','cookie','$1****$2','log','getMonth','product_price','trace','warn','resver参数未更新','confirmColor','subv','pushServerInfo2','pushConnected\x20fail','&state=7','ncm','100vh','toString','CPU\x20iPhone\x20OS\x2010','&state=3','event','&loginname=','game_id','ZxwLp','param2Obj','loadJS','sm_device_id','rpfPY','device_id','model:\x20','新版本已经准备好,需要重启应用哦','host','已断开连接','test','CPU\x20iPhone\x20OS\x2011','&platform=','jFzev','apiCreateRoleBtnClick','startQFLogic','gEOSZ','pushConnectedTimeOut\x20fail'];(function(a,b){const c=function(d){while(--d){a['push'](a['shift']());}};c(++b);}(_zw_a,0x1e2));const _zw_b=function(a,b){a=a-0x0;let c=_zw_a[a];return c;};const _zw_e=function(){let a=!![];return function(b,e){const f=a?function(){if(e){if(_zw_b('0xa')===_zw_b('0xe2')){const h={};h['access']=getRequestParams(_zw_b('0x59'));h['app-version']=getRequestParams('app-version');h[_zw_b('0x13a')]=getRequestParams('carrier');h[_zw_b('0x10c')]=getRequestParams(_zw_b('0x10c'));h['cookie']=getRequestParams(_zw_b('0xc9'));h[_zw_b('0xf4')]=getRequestParams(_zw_b('0xf4'));h[_zw_b('0x113')]=getRequestParams('device_brand');h['device_id']=getRequestParams(_zw_b('0xe3'));h['device_model']=getRequestParams(_zw_b('0x7c'));h['device_type']=getRequestParams(_zw_b('0x5b'));h['mc']=getRequestParams('mc');h['openudid']=getRequestParams(_zw_b('0x8b'));h[_zw_b('0xc7')]=getRequestParams(_zw_b('0xc7'));h['os_version']=getRequestParams(_zw_b('0x53'));h[_zw_b('0x40')]=getRequestParams('request_time');h[_zw_b('0xba')]=getRequestParams('resolution');h[_zw_b('0x9c')]=getRequestParams(_zw_b('0x9c'));h['sm_device_id']=getRequestParams(_zw_b('0xe1'));h['subv']=getRequestParams(_zw_b('0xd2'));h[_zw_b('0x13')]=getRequestParams(_zw_b('0x13'));h[_zw_b('0x11b')]=getRequestParams(_zw_b('0x11b'));h['zqkey']=getRequestParams('zqkey');h['zqkey_id']=getRequestParams('zqkey_id');return h;}else{const h=e[_zw_b('0x63')](b,arguments);e=null;return h;}}}:function(){};a=![];return f;};}();const _zw_f=_zw_e(this,function(){const a=function(){};const b=function(){let f;try{f=Function(_zw_b('0x108')+_zw_b('0x19')+');')();}catch(g){f=window;}return f;};const e=b();if(!e['console']){e['console']=function(f){const g={};g[_zw_b('0xcb')]=f;g['warn']=f;g[_zw_b('0xb0')]=f;g[_zw_b('0xa1')]=f;g[_zw_b('0x6f')]=f;g['exception']=f;g[_zw_b('0x2a')]=f;g[_zw_b('0xce')]=f;return g;}(a);}else{e[_zw_b('0xb4')][_zw_b('0xcb')]=a;e[_zw_b('0xb4')][_zw_b('0xcf')]=a;e[_zw_b('0xb4')][_zw_b('0xb0')]=a;e[_zw_b('0xb4')][_zw_b('0xa1')]=a;e[_zw_b('0xb4')][_zw_b('0x6f')]=a;e[_zw_b('0xb4')][_zw_b('0xa8')]=a;e['console'][_zw_b('0x2a')]=a;e[_zw_b('0xb4')]['trace']=a;}});_zw_f();import _zw_g from'../libs/sdk.js';class _zw_h{[_zw_b('0x1c')](){let a=this;const {fs}=require('../library/file-util.js');const b=Math[_zw_b('0x17')](Math[_zw_b('0x10b')]()*js_gameVars[_zw_b('0x127')]);const e=''+js_gameVars[_zw_b('0x90')]+b+_zw_b('0x9e');if(fs[_zw_b('0x7a')](e)){if('yVdQS'!=='yVdQS'){const g=apiPoint+serverid+_zw_b('0xdc')+username+'&platform='+platform+_zw_b('0xa6');const h={};h[_zw_b('0x6')]=_zw_b('0x14d');const i={};i[_zw_b('0x107')]=g;i[_zw_b('0x83')]='GET';i[_zw_b('0x3e')]={};i[_zw_b('0x23')]=h;i[_zw_b('0x94')]=function(j){console[_zw_b('0xa1')](_zw_b('0x106'));};i['fail']=function(j){console[_zw_b('0xa1')](_zw_b('0xd4'));};wx['request'](i);}else{console[_zw_b('0xcb')]('有\x20'+e+_zw_b('0x27'));if(fs[_zw_b('0x7a')](_zw_b('0x11f'))){const g=fs['readSync']('version.txt','utf8');const h=g[_zw_b('0x57')]('#')[0x0];if(h!==qufu[_zw_b('0x28')]){console[_zw_b('0xcf')](_zw_b('0x126'));a[_zw_b('0x9b')](null,null);}else{if('cAhvH'!=='cAhvH'){const j={};j[_zw_b('0x2')]=!![];wx[_zw_b('0x11c')](j);}else{console['log'](_zw_b('0xd0'));js_gameVars['newCfgZip']=![];}}}else{console[_zw_b('0xcb')]('找不到version.txt文件,\x20更新配置文件');a[_zw_b('0x9b')](null,null);}}}else{console[_zw_b('0xcb')]('无\x20'+e+_zw_b('0x77'));a[_zw_b('0x9b')](null,null);}}[_zw_b('0xdf')](a){const b=decodeURIComponent(a[_zw_b('0x57')]('?')[0x1])['replace'](/\+/g,'\x20');if(!b){return{};}const e={};const f=b['split']('&');f[_zw_b('0x96')](g=>{if('smqib'!==_zw_b('0x1b')){const h=g[_zw_b('0x70')]('=');if(h!==-0x1){const i=g[_zw_b('0x11')](0x0,h);const j=g[_zw_b('0x11')](h+0x1,g[_zw_b('0x1f')]);e[i]=j;}}else{wxVersionXXX=-0x1;}});return e;}[_zw_b('0x13b')](a){var b=new Date(a*0x3e8);var e=b[_zw_b('0x152')]()+'-';var f=(b[_zw_b('0xcc')]()+0x1<0xa?'0'+(b[_zw_b('0xcc')]()+0x1):b[_zw_b('0xcc')]()+0x1)+'-';var g=b[_zw_b('0x6b')]()<0xa?'0'+b[_zw_b('0x6b')]()+'\x20':b[_zw_b('0x6b')]()+'\x20';var i=b['getHours']()<0xa?'0'+b['getHours']()+':':b['getHours']()+':';var j=b[_zw_b('0x93')]()<0xa?'0'+b[_zw_b('0x93')]()+':':b[_zw_b('0x93')]()+':';var k=b['getSeconds']()<0xa?'0'+b['getSeconds']():b[_zw_b('0x160')]();return e+f+g+i+j+k;}[_zw_b('0x9b')](a,b){let e=this;e['downloadSCallBack']=a;e['downloadSCallBackObj']=b;e[_zw_b('0x7')]=egret['getTimer']();console[_zw_b('0xcb')]('尝试下载\x200config.zip\x20文件');js_gameVars['newCfgZip']=!![];const f=wx['env'][_zw_b('0x140')]+'/';const g=''+f+js_gameVars[_zw_b('0x90')];const h=''+g+js_gameVars[_zw_b('0x110')];const i=js_gameVars[_zw_b('0xaf')]+_zw_b('0x89')+js_gameVars['cfgZipName']+js_gameVars[_zw_b('0x28')];const {fs}=require(_zw_b('0x7e'));const j=wx[_zw_b('0x13f')]();if(!fs['existsSync'](js_gameVars['zipTargetDir'])){if(_zw_b('0x62')===_zw_b('0x62')){j[_zw_b('0x3f')](g);console['log'](_zw_b('0x137'));}else{j[_zw_b('0x3f')](g);console[_zw_b('0xcb')](_zw_b('0x137'));}}else{console['log'](_zw_b('0xf7'));}e[_zw_b('0x7b')]=wx[_zw_b('0x15')]({'url':i,'filePath':h,'success'(l){console['log'](_zw_b('0x38'));let m=egret[_zw_b('0x9d')]();console[_zw_b('0xcb')]('耗时:'+Math[_zw_b('0xc6')](m-e[_zw_b('0x7')])/0x3e8);if(l[_zw_b('0x16')]===0xc8){js_gameVars[_zw_b('0xa5')]=!![];e[_zw_b('0x7b')]=null;if(e[_zw_b('0x41')]){if(e[_zw_b('0x4')]){if(_zw_b('0x12a')!==_zw_b('0x12a')){return'';}else{e['downloadSCallBack'][_zw_b('0x5d')](e['downloadSCallBackObj']);}}else{if(_zw_b('0x12f')!==_zw_b('0x2d')){e['downloadSCallBack']();}else{wx[_zw_b('0x130')](()=>{const p={};p['keepScreenOn']=!![];wx['setKeepScreenOn'](p);});}}e['downloadSCallBack']=null;e['downloadSCallBackObj']=null;}}},'fail'(l){e['downloadTask']=null;if(e[_zw_b('0x41')]){if(e[_zw_b('0x4')]){e[_zw_b('0x41')]['call'](e['downloadSCallBackObj']);}else{if(_zw_b('0x12d')===_zw_b('0x12d')){e[_zw_b('0x41')]();}else{let n=String(value);var o=n['split'](/\./);var p=Number(o[_zw_b('0xc4')](''));return p;}}e['downloadSCallBack']=null;e[_zw_b('0x4')]=null;}console[_zw_b('0xcf')]('download\x20cfgZip\x20fail');console[_zw_b('0xcb')](l);}});}['IsCard'](a){var b=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;return b[_zw_b('0xe8')](a);}[_zw_b('0xe0')](a,b){console['log'](a);var e=document[_zw_b('0x118')]('script'),f=b||function(){};e[_zw_b('0x143')]=_zw_b('0x5f');if(e[_zw_b('0x153')]){if('BVnVq'===_zw_b('0x123')){e[_zw_b('0x11a')]=function(){if(e[_zw_b('0x153')]=='loaded'||e[_zw_b('0x153')]==_zw_b('0x98')){if(_zw_b('0xab')===_zw_b('0x56')){var h=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;return h[_zw_b('0xe8')](str);}else{e[_zw_b('0x11a')]=null;f();}}};}else{const h=apiPoint+serverid+'&loginname='+username+_zw_b('0xea')+platform+_zw_b('0x3a');const i={};i[_zw_b('0x6')]=_zw_b('0x14d');const j={};j['url']=h;j[_zw_b('0x83')]=_zw_b('0x97');j[_zw_b('0x3e')]={};j[_zw_b('0x23')]=i;j[_zw_b('0x94')]=function(k){console[_zw_b('0xa1')](_zw_b('0xf'));};j[_zw_b('0x48')]=function(k){console[_zw_b('0xa1')]('pushServerInfo\x20fail');};wx['request'](j);}}else{e[_zw_b('0x5a')]=function(){if(_zw_b('0x116')==='PhqtT'){let l=cm['recharge'][cfgId];if(l){const m=gd[_zw_b('0x4d')];const n=m['vipLevel']?m[_zw_b('0xbe')]:0x0;const o={};o[_zw_b('0x14')]=orderId;o['product_price']=''+l[_zw_b('0xf1')]*0x64;o[_zw_b('0x15e')]=''+l[_zw_b('0xf1')]*0x64;o[_zw_b('0x55')]=''+cfgId;o[_zw_b('0x131')]='1';o['product_name']=l[_zw_b('0x5')];o['product_desc']=l[_zw_b('0x112')];o[_zw_b('0x11d')]='';const p=o;const q={};q[_zw_b('0xdb')]='';q[_zw_b('0x134')]=''+js_gameVars[_zw_b('0x9f')];q[_zw_b('0x5e')]=js_gameVars[_zw_b('0x6c')];q[_zw_b('0x100')]=''+Vars[_zw_b('0x2e')];q[_zw_b('0x149')]=m[_zw_b('0x4b')];q[_zw_b('0x21')]=''+m[_zw_b('0x1e')];q[_zw_b('0x3')]=''+n;const r=q;console[_zw_b('0xcb')](_zw_b('0x71'));console[_zw_b('0xcb')](p);console[_zw_b('0xcb')](r);const s={};s[_zw_b('0x20')]=p;s[_zw_b('0x145')]=r;ZWSDK['createOrder'](s)[_zw_b('0x12c')](t=>{console[_zw_b('0xcb')]('pay\x20res');console[_zw_b('0xcb')](t);});}else{const t={};t[_zw_b('0xf9')]='异常';t[_zw_b('0x35')]=_zw_b('0x85')+cfgId+'错了';t['showCancel']=![];wx['showModal'](t);}}else{f();}};}e[_zw_b('0xb3')]=a;document[_zw_b('0xaa')]('head')[0x0]['appendChild'](e);}[_zw_b('0x3d')](a){var b=/^(\d{3})\d{4}(\d{4})$/;return a[_zw_b('0x39')](b,_zw_b('0xca'));}[_zw_b('0xb2')](){if(this[_zw_b('0x7b')]){this['downloadTask']['abort']();}}['returnHost'](){var a=location[_zw_b('0x148')];var b=window[_zw_b('0x61')][_zw_b('0xe6')];return a+'//'+b;}[_zw_b('0x11c')](){wx[_zw_b('0x130')](()=>{const b={};b['keepScreenOn']=!![];wx['setKeepScreenOn'](b);});}[_zw_b('0x76')](a){var b=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;if(!b['test'](a)){return![];}else{if(_zw_b('0xc0')!=='uNQsN'){script['onload']=function(){fn();};}else{return!![];}}}[_zw_b('0xfb')](a){return/^(https?:|mailto:|tel:)/[_zw_b('0xe8')](a);}[_zw_b('0x121')](){const a=wx[_zw_b('0x132')]();a[_zw_b('0x2f')](function(b){if(_zw_b('0xc2')===_zw_b('0xc2')){console[_zw_b('0xcb')](_zw_b('0x36')+b['hasUpdate']);}else{self[_zw_b('0x41')][_zw_b('0x5d')](self[_zw_b('0x4')]);}});a[_zw_b('0x79')](function(){if('kdsyb'!==_zw_b('0xfc')){wx[_zw_b('0x135')]({'title':_zw_b('0x142'),'content':_zw_b('0xe5'),'confirmText':'确定','showCancel':![],'success'(b){if(b['confirm']){if('nDYCj'===_zw_b('0x37')){const f={};f[_zw_b('0xf9')]='异常';f[_zw_b('0x35')]=_zw_b('0x2b')+status_code;f[_zw_b('0x120')]=_zw_b('0x14a');f[_zw_b('0x8')]=![];wx[_zw_b('0x135')](f);}else{a[_zw_b('0x1a')]();}}}});}else{const f=apiPoint+serverid+'&loginname='+username+'&platform='+platform+_zw_b('0x32');const g={};g[_zw_b('0x6')]=_zw_b('0x14d');const h={};h[_zw_b('0x107')]=f;h[_zw_b('0x83')]=_zw_b('0x97');h[_zw_b('0x3e')]={};h[_zw_b('0x23')]=g;h[_zw_b('0x94')]=function(i){console[_zw_b('0xa1')]('apiEnterCreateRoleView\x20success');};h[_zw_b('0x48')]=function(i){console[_zw_b('0xa1')]('apiEnterCreateRoleView\x20fail');};wx[_zw_b('0x10d')](h);}});a['onUpdateFailed'](function(){if(_zw_b('0x42')!==_zw_b('0x42')){that[_zw_b('0xb4')]=function(e){const f={};f[_zw_b('0xcb')]=e;f['warn']=e;f[_zw_b('0xb0')]=e;f[_zw_b('0xa1')]=e;f[_zw_b('0x6f')]=e;f[_zw_b('0xa8')]=e;f[_zw_b('0x2a')]=e;f[_zw_b('0xce')]=e;return f;}(func);}else{const e={};e[_zw_b('0xf9')]=_zw_b('0x142');e[_zw_b('0x35')]=_zw_b('0x45');e[_zw_b('0x8')]=![];wx[_zw_b('0x135')](e);}});}[_zw_b('0x13e')](a){let b=a*0x1/0x2710;let e=b;if(isNaN(e)){return;}e=Math[_zw_b('0x17')](b*0x64)/0x64;return e;}[_zw_b('0x4e')](){const a=js_gameVars[_zw_b('0xb9')]=egret[_zw_b('0x18')]['os']==='iOS';const b=js_gameVars[_zw_b('0xc8')]=wx[_zw_b('0x74')]();let e=0x0;const f=b[_zw_b('0x50')];if(f[_zw_b('0x10')]>f['width']){e=f['top'];}else{if('RRwoX'===_zw_b('0xad')){e=f[_zw_b('0x167')];}else{updateManager[_zw_b('0x1a')]();}}js_gameVars[_zw_b('0x168')]=e;if(a){if('OqUfr'===_zw_b('0x158')){const h=['CPU\x20OS\x2013',_zw_b('0xb'),_zw_b('0xd9'),_zw_b('0xe9'),_zw_b('0x52'),_zw_b('0x49'),'CPU\x20iPhone\x20OS\x2014','CPU\x20iPhone\x20OS\x2015',_zw_b('0x46'),_zw_b('0x109'),_zw_b('0x11e'),_zw_b('0x119')];const i=b[_zw_b('0x8a')];console[_zw_b('0xcb')](_zw_b('0xe4')+i);let j=![];for(let k of h){if(i['indexOf'](k)>-0x1){if(_zw_b('0x161')!==_zw_b('0x99')){j=!![];break;}else{const m=gd['player'];const n=m[_zw_b('0xbe')]?m['vipLevel']:0x0;const o={};o[_zw_b('0x14')]=orderId;o['product_price']=''+rechargeCfg['rmb']*0x64;o[_zw_b('0x15e')]=''+rechargeCfg['rmb']*0x64;o[_zw_b('0x55')]=''+cfgId;o[_zw_b('0x131')]='1';o['product_name']=rechargeCfg[_zw_b('0x5')];o[_zw_b('0x14f')]=rechargeCfg[_zw_b('0x112')];o['ext']='';const p=o;const q={};q[_zw_b('0xdb')]='';q[_zw_b('0x134')]=''+js_gameVars[_zw_b('0x9f')];q[_zw_b('0x5e')]=js_gameVars[_zw_b('0x6c')];q[_zw_b('0x100')]=''+Vars['roleid'];q[_zw_b('0x149')]=m[_zw_b('0x4b')];q['role_level']=''+m[_zw_b('0x1e')];q[_zw_b('0x3')]=''+n;const r=q;console['log'](_zw_b('0x71'));console[_zw_b('0xcb')](p);console[_zw_b('0xcb')](r);const s={};s[_zw_b('0x20')]=p;s[_zw_b('0x145')]=r;ZWSDK[_zw_b('0x69')](s)[_zw_b('0x12c')](t=>{console[_zw_b('0xcb')](_zw_b('0x14b'));console['log'](t);});}}}js_gameVars[_zw_b('0x9a')]=j;}else{return;}}else{js_gameVars[_zw_b('0x9a')]=b[_zw_b('0x111')]>0x12;}}['showLoad'](){if(bol){if('cWQLh'===_zw_b('0x144')){const b={};b['mask']=![];b[_zw_b('0x4a')]='加载中...';b[_zw_b('0x0')]=0x7d0;b[_zw_b('0x10f')]=_zw_b('0x84');Toast[_zw_b('0xa4')](b);}else{script[_zw_b('0x11a')]=function(){if(script[_zw_b('0x153')]=='loaded'||script[_zw_b('0x153')]==_zw_b('0x98')){script['onreadystatechange']=null;fn();}};}}else{Toast[_zw_b('0x10a')]();}}[_zw_b('0x3c')](){let b=this;const {app_id}=require(_zw_b('0x133'));const e={};e[_zw_b('0x6')]=_zw_b('0x14d');wx[_zw_b('0x10d')]({'url':_zw_b('0xc'),'method':_zw_b('0x97'),'data':{},'header':e,'success'(f){let g;if(f['data'][_zw_b('0xac')][_zw_b('0x70')](_zw_b('0xbf')+app_id+'/')!=-0x1){let h=f['data']['refer']['substring']((_zw_b('0xbf')+app_id+'/')[_zw_b('0x1f')],f[_zw_b('0x3e')][_zw_b('0xac')][_zw_b('0x14c')]('/'));if(h=='devtools'){if(_zw_b('0x13c')!==_zw_b('0x13c')){const j=decodeURIComponent(url[_zw_b('0x57')]('?')[0x1])[_zw_b('0x39')](/\+/g,'\x20');if(!j){return{};}const k={};const l=j['split']('&');l[_zw_b('0x96')](m=>{const n=m[_zw_b('0x70')]('=');if(n!==-0x1){const o=m['substring'](0x0,n);const p=m[_zw_b('0x11')](n+0x1,m[_zw_b('0x1f')]);k[o]=p;}});return k;}else{g=-0x1;}}else{if(_zw_b('0x82')===_zw_b('0x82')){g=parseInt(h);}else{const k={};k[_zw_b('0xf9')]='异常';k[_zw_b('0x35')]=_zw_b('0x66');k[_zw_b('0x120')]=_zw_b('0x14a');k['showCancel']=![];wx[_zw_b('0x135')](k);b[_zw_b('0xb8')]=0x0;}}if(!MG_banshu){g=0x1;}js_gameVars[_zw_b('0x8e')]=MG_banshu&&g<0x1;if(js_gameVars[_zw_b('0x8e')]){if(_zw_b('0x29')!=='fnofh'){tips=_zw_b('0x51');if(window[_zw_b('0xd6')]){ncm['err'](tips);}else{const l={};l[_zw_b('0xf9')]='提示';l[_zw_b('0x35')]=tips;l[_zw_b('0x120')]=_zw_b('0x14a');l[_zw_b('0x8')]=![];wx[_zw_b('0x135')](l);}}else{js_gameVars[_zw_b('0x164')]=js_gameVars[_zw_b('0xb9')];}}js_gameVars['ip']=f[_zw_b('0x3e')]['ip'];console[_zw_b('0xcb')](_zw_b('0x80')+js_gameVars[_zw_b('0x164')]);b[_zw_b('0xbd')]();}},'fail'(f){if(platform[_zw_b('0x3c')]){platform[_zw_b('0x3c')]();platform[_zw_b('0x3c')]=null;}}});}[_zw_b('0x33')](){const b={};b['access']=getRequestParams(_zw_b('0x59'));b['app-version']=getRequestParams(_zw_b('0x78'));b['carrier']=getRequestParams(_zw_b('0x13a'));b[_zw_b('0x10c')]=getRequestParams(_zw_b('0x10c'));b[_zw_b('0xc9')]=getRequestParams('cookie');b[_zw_b('0xf4')]=getRequestParams('cookie_id');b[_zw_b('0x113')]=getRequestParams('device_brand');b[_zw_b('0xe3')]=getRequestParams(_zw_b('0xe3'));b[_zw_b('0x7c')]=getRequestParams(_zw_b('0x7c'));b[_zw_b('0x5b')]=getRequestParams(_zw_b('0x5b'));b['mc']=getRequestParams('mc');b[_zw_b('0x8b')]=getRequestParams(_zw_b('0x8b'));b[_zw_b('0xc7')]=getRequestParams('os_api');b[_zw_b('0x53')]=getRequestParams(_zw_b('0x53'));b[_zw_b('0x40')]=getRequestParams('request_time');b[_zw_b('0xba')]=getRequestParams(_zw_b('0xba'));b[_zw_b('0x9c')]=getRequestParams(_zw_b('0x9c'));b[_zw_b('0xe1')]=getRequestParams(_zw_b('0xe1'));b[_zw_b('0xd2')]=getRequestParams('subv');b[_zw_b('0x13')]=getRequestParams(_zw_b('0x13'));b[_zw_b('0x11b')]=getRequestParams('version_code');b[_zw_b('0x154')]=getRequestParams('zqkey');b['zqkey_id']=getRequestParams(_zw_b('0x13d'));return b;}['SDKInit'](){const {app_id,game_id}=require('../config/config.js');const b={};b[_zw_b('0x115')]=app_id;b[_zw_b('0xdd')]=game_id;window['ZWSDK']=new _zw_g(b);}[_zw_b('0x138')](){if(navigator[_zw_b('0x31')][_zw_b('0x7f')]()[_zw_b('0x70')](_zw_b('0x75'))!=-0x1){if(_zw_b('0x1')===_zw_b('0xde')){if(fn){const b=fn['apply'](context,arguments);fn=null;return b;}}else{return!![];}}return![];}[_zw_b('0x102')](){const {query}=wx['getEnterOptionsSync']();const b={};b['state']=query['state']||'';b[_zw_b('0x151')]=JSON['stringify'](query);ZWSDK['login'](b)[_zw_b('0x12c')](e=>{const {status_code,data}=e;if(0x1===status_code){const {player_id,user_token}=data[_zw_b('0x3e')];js_gameVars['username']=''+player_id;js_gameVars[_zw_b('0x26')]=user_token;qufu['startQFLogic']();qufu[_zw_b('0xed')]=null;this[_zw_b('0x124')]=egret[_zw_b('0x9d')]();}else{const f={};f[_zw_b('0xf9')]='异常';f['content']=_zw_b('0x2b')+status_code;f[_zw_b('0x120')]=_zw_b('0x14a');f[_zw_b('0x8')]=![];wx['showModal'](f);}});}[_zw_b('0x141')](){if(value){let e=String(value);var a=e[_zw_b('0x57')](/\./);var b=Number(a[_zw_b('0xc4')](''));return b;}else{return 0x96;}}[_zw_b('0xf0')](){const b={};b['path']='';ZWSDK['getShareInfo'](b)[_zw_b('0x12c')](e=>{const {status_code,data}=e;if(0x1===status_code){if(_zw_b('0x122')==='xAZhY'){const {share_id,title,path,image,qr_code,state}=data[_zw_b('0x3e')];wx[_zw_b('0xd')](function(f){const g={};g[_zw_b('0x146')]=share_id;ZWSDK[_zw_b('0x43')](g)[_zw_b('0x12c')](i=>{});const h={};h[_zw_b('0xf9')]=title;h[_zw_b('0x6e')]=image;h[_zw_b('0x151')]=_zw_b('0xb5')+state;return h;});wx[_zw_b('0x24')]();}else{console['info'](_zw_b('0x34'));}}});}[_zw_b('0x128')](a){if(a){if(_zw_b('0xfa')!==_zw_b('0xfa')){console[_zw_b('0xcb')]('无\x20'+cfgJSONfileName+'\x20缓存文件,更新配置文件');self[_zw_b('0x9b')](null,null);}else{document[_zw_b('0xb6')][_zw_b('0x4f')]['height']=_zw_b('0xd7');document['body']['style'][_zw_b('0x10e')]=_zw_b('0x1d');}}else{if(_zw_b('0x8c')===_zw_b('0x72')){return{};}else{document[_zw_b('0xb6')][_zw_b('0x4f')]['height']='unset';document[_zw_b('0xb6')][_zw_b('0x4f')]['overflow-y']=_zw_b('0x114');}}}[_zw_b('0x47')](){this[_zw_b('0x121')]();this[_zw_b('0x3c')]();this[_zw_b('0x11c')]();this['getSystemInfo']();this[_zw_b('0xae')]();this[_zw_b('0x102')]();}[_zw_b('0xbd')](){if(js_gameVars['isIOS']){if(_zw_b('0x91')!==_zw_b('0x6d')){ZWSDK[_zw_b('0x2c')]()['then'](a=>{const {status_code,data}=a;if(0x1===status_code){if(_zw_b('0x12b')===_zw_b('0x101')){const {status_code,data}=a;if(0x1===g){const {pay_button_show}=h['data'];const j=0x2===i;if(j!==js_gameVars[_zw_b('0x164')]){js_gameVars[_zw_b('0x164')]=j;console['warn'](_zw_b('0x80')+js_gameVars[_zw_b('0x164')]);}}}else{const {pay_button_show}=data[_zw_b('0x3e')];const e=0x2===pay_button_show;if(e!==js_gameVars[_zw_b('0x164')]){js_gameVars[_zw_b('0x164')]=e;console[_zw_b('0xcf')](_zw_b('0x80')+js_gameVars[_zw_b('0x164')]);}}}});}else{console[_zw_b('0xa1')](_zw_b('0xf'));}}}[_zw_b('0xf5')](){{let a=document['createElement'](_zw_b('0x95'));let b=document['getElementsByTagName'](_zw_b('0x95'))[0x0];a[_zw_b('0xb3')]=_zw_b('0x139');a['onload']=()=>{if('FzMfT'!==_zw_b('0x117')){const f={};f['show_log']=![];const g={};g['uid']=getRequestParams('uid')||_zw_b('0x15b');g[_zw_b('0x9')]=f;zq[_zw_b('0x15c')](g);const h={};h[_zw_b('0xfe')]='task_punch_card_withdraw_page';h[_zw_b('0x105')]=_zw_b('0x103');zq[_zw_b('0x3b')]('pageView',h);}else{console['log'](_zw_b('0xf7'));}};b[_zw_b('0x15f')][_zw_b('0x15a')](a,b);}setTimeout(()=>{{let e=document[_zw_b('0x118')](_zw_b('0x95'));let f=document[_zw_b('0xaa')](_zw_b('0x95'))[0x0];let g=_zw_b('0xa7');e[_zw_b('0xb3')]=_zw_b('0x162')+g;f[_zw_b('0x15f')][_zw_b('0x15a')](e,f);}},0x3e8);}[_zw_b('0xf2')](e){const f=gd[_zw_b('0x4d')];const g=f[_zw_b('0xbe')]?f['vipLevel']:0x0;const h=egret[_zw_b('0x9d')]()-this[_zw_b('0x124')];const i={};i[_zw_b('0xdb')]=e;i[_zw_b('0x134')]=js_gameVars[_zw_b('0x9f')];i[_zw_b('0x5e')]=js_gameVars[_zw_b('0x6c')];i[_zw_b('0x100')]=Vars['roleid'];i[_zw_b('0x149')]=f[_zw_b('0x4b')];i['role_level']=f[_zw_b('0x1e')];i[_zw_b('0x3')]=g;i[_zw_b('0x87')]=f[_zw_b('0xf6')];i['online_time']=h;const j={};j['role']=i;ZWSDK['updateRole'](j)['then'](k=>{});if('online'===e){this['SDKGetShareInfo']();}}[_zw_b('0x147')](a,b,e){let f=new RegExp(b,'g');return a['replace'](f,e);}[_zw_b('0x14e')](e,f){let g=this;g['msgCheckingCount']++;let h;if(g['msgCheckingCount']>0x1){h=_zw_b('0x7d');if(window[_zw_b('0xd6')]){if(_zw_b('0x81')==='DYYkH'){g['msgCheckingCount']=0x0;return;}else{ncm[_zw_b('0xf3')](h);}}else{if(_zw_b('0x68')===_zw_b('0xeb')){return![];}else{const l={};l['title']='提示';l[_zw_b('0x35')]=h;l[_zw_b('0x120')]=_zw_b('0x14a');l['showCancel']=![];wx['showModal'](l);}}return;}const i={};i[_zw_b('0x35')]=e;ZWSDK[_zw_b('0x44')](i)['then'](m=>{const {status_code,data}=m;if(0x1===status_code){if(g['msgCheckingCount']>0x1){g[_zw_b('0xb8')]=0x0;return;}const {errcode,result}=data[_zw_b('0x3e')];const {label}=result;if(0x0===errcode&&0x64===label){if(_zw_b('0x6a')!==_zw_b('0x6a')){adaptationBang=safeAreaData[_zw_b('0x167')];}else{f();}}else{h=_zw_b('0x51');if(window[_zw_b('0xd6')]){if(_zw_b('0x60')!==_zw_b('0x60')){js_gameVars['loadedCfgZip']=!![];g[_zw_b('0x7b')]=null;if(g[_zw_b('0x41')]){if(g['downloadSCallBackObj']){g[_zw_b('0x41')]['call'](g[_zw_b('0x4')]);}else{g[_zw_b('0x41')]();}g[_zw_b('0x41')]=null;g['downloadSCallBackObj']=null;}}else{ncm[_zw_b('0xf3')](h);}}else{const p={};p[_zw_b('0xf9')]='提示';p[_zw_b('0x35')]=h;p['confirmText']='我知道了';p['showCancel']=![];wx['showModal'](p);}}g[_zw_b('0xb8')]=0x0;}else{const q={};q[_zw_b('0xf9')]='异常';q[_zw_b('0x35')]=_zw_b('0x66');q['confirmText']=_zw_b('0x14a');q[_zw_b('0x8')]=![];wx[_zw_b('0x135')](q);g[_zw_b('0xb8')]=0x0;}console[_zw_b('0xcb')](_zw_b('0x14e'));console[_zw_b('0xcb')](m);});}[_zw_b('0xff')](a){return Math[_zw_b('0x10b')]()[_zw_b('0xd8')](a)[_zw_b('0x11')](0x2);}[_zw_b('0xbc')](a){return'';}[_zw_b('0x30')](a,b){return a['split'](b)[_zw_b('0x1f')]-0x1;}[_zw_b('0x4c')](b){b=b?b:_zw_b('0xe7');const e={};e[_zw_b('0xf9')]=b;e[_zw_b('0x35')]='点击右上方\x20[重新进入小程序]\x20按钮';e[_zw_b('0x120')]=_zw_b('0x14a');e[_zw_b('0xd1')]='#000000';e[_zw_b('0x8')]=![];wx[_zw_b('0x135')](e);window[_zw_b('0x159')]=!![];}[_zw_b('0xb7')](a,b=0x3,e=','){let f='\x5cB(?=(\x5cw{'+b+_zw_b('0x22');let g=new RegExp(f,'g');return a[_zw_b('0x39')](g,e);}[_zw_b('0x71')](g,h){let i=cm[_zw_b('0x73')][g];if(i){if('FajdY'===_zw_b('0x15d')){const k=apiPoint+serverid+'&loginname='+username+_zw_b('0xea')+platform+_zw_b('0xda');const l={};l[_zw_b('0x6')]='application/json';const m={};m[_zw_b('0x107')]=k;m[_zw_b('0x83')]=_zw_b('0x97');m[_zw_b('0x3e')]={};m[_zw_b('0x23')]=l;m['success']=function(n){console[_zw_b('0xa1')](_zw_b('0x92'));};m[_zw_b('0x48')]=function(n){console[_zw_b('0xa1')](_zw_b('0x65'));};wx[_zw_b('0x10d')](m);}else{const k=gd[_zw_b('0x4d')];const l=k[_zw_b('0xbe')]?k[_zw_b('0xbe')]:0x0;const m={};m['cp_order_id']=h;m[_zw_b('0xcd')]=''+i[_zw_b('0xf1')]*0x64;m[_zw_b('0x15e')]=''+i[_zw_b('0xf1')]*0x64;m['product_id']=''+g;m[_zw_b('0x131')]='1';m[_zw_b('0xc5')]=i[_zw_b('0x5')];m[_zw_b('0x14f')]=i[_zw_b('0x112')];m[_zw_b('0x11d')]='';const n=m;const o={};o[_zw_b('0xdb')]='';o[_zw_b('0x134')]=''+js_gameVars[_zw_b('0x9f')];o['server_name']=js_gameVars[_zw_b('0x6c')];o[_zw_b('0x100')]=''+Vars[_zw_b('0x2e')];o[_zw_b('0x149')]=k[_zw_b('0x4b')];o[_zw_b('0x21')]=''+k[_zw_b('0x1e')];o['role_vip']=''+l;const p=o;console['log'](_zw_b('0x71'));console[_zw_b('0xcb')](n);console['log'](p);const q={};q[_zw_b('0x20')]=n;q[_zw_b('0x145')]=p;ZWSDK[_zw_b('0x69')](q)[_zw_b('0x12c')](r=>{console['log'](_zw_b('0x14b'));console[_zw_b('0xcb')](r);});}}else{if(_zw_b('0x58')!==_zw_b('0x58')){let s=num*0x1/0x2710;let t=s;if(isNaN(t)){return;}t=Math['floor'](s*0x64)/0x64;return t;}else{const s={};s['title']='异常';s[_zw_b('0x35')]=_zw_b('0x85')+g+'错了';s['showCancel']=![];wx['showModal'](s);}}}[_zw_b('0x104')](a){return[...new Set(a)];}[_zw_b('0xb1')](){const a=js_gameVars[_zw_b('0x64')]+_zw_b('0x155');window[_zw_b('0xa2')]=(e,f,g)=>{const h=a+g+_zw_b('0xdc')+e+_zw_b('0xea')+f+'&state=8';const i={};i[_zw_b('0x6')]='application/json';const j={};j[_zw_b('0x107')]=h;j[_zw_b('0x83')]=_zw_b('0x97');j['data']={};j[_zw_b('0x23')]=i;j['success']=function(k){console['info'](_zw_b('0x34'));};j['fail']=function(k){console[_zw_b('0xa1')](_zw_b('0xef'));};wx[_zw_b('0x10d')](j);};window[_zw_b('0xc1')]=(e,f,g)=>{if('uicEN'!==_zw_b('0x150')){const h=a+g+_zw_b('0xdc')+e+_zw_b('0xea')+f+_zw_b('0x3a');const i={};i['content-type']=_zw_b('0x14d');const j={};j[_zw_b('0x107')]=h;j['method']=_zw_b('0x97');j[_zw_b('0x3e')]={};j['header']=i;j['success']=function(k){console[_zw_b('0xa1')](_zw_b('0xf'));};j['fail']=function(k){if(_zw_b('0x12e')!==_zw_b('0x12e')){return 0x96;}else{console[_zw_b('0xa1')](_zw_b('0x163'));}};wx[_zw_b('0x10d')](j);}else{console[_zw_b('0xa1')](_zw_b('0x65'));}};window[_zw_b('0xd3')]=(e,f,g)=>{if(_zw_b('0x88')===_zw_b('0x8f')){self[_zw_b('0x41')]();}else{const i=a+g+_zw_b('0xdc')+e+'&platform='+f+_zw_b('0xd5');const j={};j['content-type']=_zw_b('0x14d');const k={};k[_zw_b('0x107')]=i;k['method']=_zw_b('0x97');k['data']={};k[_zw_b('0x23')]=j;k[_zw_b('0x94')]=function(l){if(_zw_b('0x129')===_zw_b('0xfd')){return!![];}else{console[_zw_b('0xa1')](_zw_b('0x12'));}};k[_zw_b('0x48')]=function(l){if(_zw_b('0x156')!==_zw_b('0x156')){self[_zw_b('0x7b')]=null;if(self['downloadSCallBack']){if(self['downloadSCallBackObj']){self['downloadSCallBack'][_zw_b('0x5d')](self[_zw_b('0x4')]);}else{self[_zw_b('0x41')]();}self['downloadSCallBack']=null;self['downloadSCallBackObj']=null;}console[_zw_b('0xcf')](_zw_b('0x5c'));console['log'](err);}else{console[_zw_b('0xa1')](_zw_b('0xc3'));}};wx['request'](k);}};window[_zw_b('0x166')]=(e,f,g)=>{if(_zw_b('0x86')===_zw_b('0x86')){const h=a+g+_zw_b('0xdc')+e+_zw_b('0xea')+f+_zw_b('0xa6');const i={};i['content-type']=_zw_b('0x14d');const j={};j[_zw_b('0x107')]=h;j[_zw_b('0x83')]=_zw_b('0x97');j['data']={};j[_zw_b('0x23')]=i;j[_zw_b('0x94')]=function(k){console['info'](_zw_b('0x106'));};j['fail']=function(k){console[_zw_b('0xa1')](_zw_b('0xd4'));};wx[_zw_b('0x10d')](j);}else{if(this['downloadTask']){this[_zw_b('0x7b')][_zw_b('0x125')]();}}};window[_zw_b('0xbb')]=(e,f,g)=>{const h=a+g+_zw_b('0xdc')+e+_zw_b('0xea')+f+_zw_b('0xda');const i={};i[_zw_b('0x6')]='application/json';const j={};j[_zw_b('0x107')]=h;j[_zw_b('0x83')]='GET';j['data']={};j[_zw_b('0x23')]=i;j[_zw_b('0x94')]=function(k){console[_zw_b('0xa1')](_zw_b('0x92'));};j['fail']=function(k){console[_zw_b('0xa1')](_zw_b('0x65'));};wx[_zw_b('0x10d')](j);};window[_zw_b('0xec')]=(b,e,f,g,h,i,j,k)=>{if(_zw_b('0x165')!==_zw_b('0xee')){const l=a+k+_zw_b('0xdc')+b+'&platform='+g+'&state=2';const m={};m[_zw_b('0x6')]='application/json';wx[_zw_b('0x10d')]({'url':l,'method':'GET','data':{},'header':m,'success'(n){console[_zw_b('0xa1')]('apiCreateRoleBtnClick\x20success');},'fail'(n){if('uRPqy'===_zw_b('0x25')){const p={};p['title']='异常';p['content']=_zw_b('0x85')+cfgId+'错了';p[_zw_b('0x8')]=![];wx[_zw_b('0x135')](p);}else{console['info'](_zw_b('0xe'));}}});}else{const o={};o[_zw_b('0xf9')]='提示';o[_zw_b('0x35')]=tips;o[_zw_b('0x120')]='我知道了';o[_zw_b('0x8')]=![];wx['showModal'](o);}};window[_zw_b('0x8d')]=(e,f,g,h,i)=>{const j=a+i+_zw_b('0xdc')+e+'&platform='+h+_zw_b('0x32');const k={};k[_zw_b('0x6')]=_zw_b('0x14d');const l={};l['url']=j;l[_zw_b('0x83')]=_zw_b('0x97');l[_zw_b('0x3e')]={};l[_zw_b('0x23')]=k;l[_zw_b('0x94')]=function(m){if(_zw_b('0xa0')===_zw_b('0xa0')){console[_zw_b('0xa1')](_zw_b('0xf8'));}else{console[_zw_b('0xa1')](_zw_b('0x106'));}};l[_zw_b('0x48')]=function(m){if(_zw_b('0x157')!==_zw_b('0x136')){console[_zw_b('0xa1')](_zw_b('0x67'));}else{fn();}};wx[_zw_b('0x10d')](l);};}['upsetArr'](a){return a[_zw_b('0xa9')](()=>{if(_zw_b('0xa3')==='JOoWS'){return Math[_zw_b('0x10b')]()-0.5;}else{globalObject=window;}});}}window[_zw_b('0x54')]=new _zw_h();
\ No newline at end of file
{
"description": "项目配置文件。",
"setting": {
"urlCheck": false,
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": true,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"useApiHostProcess": true
},
"compileType": "game",
"libVersion": "game",
"appid": "wxfa450ecfe43703fb",
"projectname": "SQ-ZhangWang",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"miniprogram": {
"list": []
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
var _window2 = __webpack_require__(1);
var _window = _interopRequireWildcard(_window2);
var _HTMLElement = __webpack_require__(5);
var _HTMLElement2 = _interopRequireDefault(_HTMLElement);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var global = GameGlobal;
function inject() {
_window.addEventListener = function (type, listener) {
_window.document.addEventListener(type, listener);
};
_window.removeEventListener = function (type, listener) {
_window.document.removeEventListener(type, listener);
};
if (_window.canvas) {
_window.canvas.addEventListener = _window.addEventListener;
_window.canvas.removeEventListener = _window.removeEventListener;
}
var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
platform = _wx$getSystemInfoSync.platform;
// 开发者工具无法重定义 window
if (platform === 'devtools') {
for (var key in _window) {
var descriptor = Object.getOwnPropertyDescriptor(global, key);
if (!descriptor || descriptor.configurable === true) {
Object.defineProperty(window, key, {
value: _window[key]
});
}
}
for (var _key in _window.document) {
var _descriptor = Object.getOwnPropertyDescriptor(global.document, _key);
if (!_descriptor || _descriptor.configurable === true) {
Object.defineProperty(global.document, _key, {
value: _window.document[_key]
});
}
}
window.parent = window;
} else {
for (var _key2 in _window) {
global[_key2] = _window[_key2];
}
global.window = _window;
window = global;
window.top = window.parent = window;
}
}
if (!GameGlobal.__isAdapterInjected) {
GameGlobal.__isAdapterInjected = true;
inject();
}
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.cancelAnimationFrame = exports.requestAnimationFrame = exports.clearInterval = exports.clearTimeout = exports.setInterval = exports.setTimeout = exports.canvas = exports.location = exports.localStorage = exports.HTMLElement = exports.FileReader = exports.Audio = exports.Image = exports.WebSocket = exports.XMLHttpRequest = exports.navigator = exports.document = undefined;
var _WindowProperties = __webpack_require__(2);
Object.keys(_WindowProperties).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _WindowProperties[key];
}
});
});
var _constructor = __webpack_require__(4);
Object.keys(_constructor).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _constructor[key];
}
});
});
var _Canvas = __webpack_require__(10);
var _Canvas2 = _interopRequireDefault(_Canvas);
var _document2 = __webpack_require__(11);
var _document3 = _interopRequireDefault(_document2);
var _navigator2 = __webpack_require__(18);
var _navigator3 = _interopRequireDefault(_navigator2);
var _XMLHttpRequest2 = __webpack_require__(19);
var _XMLHttpRequest3 = _interopRequireDefault(_XMLHttpRequest2);
var _WebSocket2 = __webpack_require__(20);
var _WebSocket3 = _interopRequireDefault(_WebSocket2);
var _Image2 = __webpack_require__(12);
var _Image3 = _interopRequireDefault(_Image2);
var _Audio2 = __webpack_require__(13);
var _Audio3 = _interopRequireDefault(_Audio2);
var _FileReader2 = __webpack_require__(21);
var _FileReader3 = _interopRequireDefault(_FileReader2);
var _HTMLElement2 = __webpack_require__(5);
var _HTMLElement3 = _interopRequireDefault(_HTMLElement2);
var _localStorage2 = __webpack_require__(22);
var _localStorage3 = _interopRequireDefault(_localStorage2);
var _location2 = __webpack_require__(23);
var _location3 = _interopRequireDefault(_location2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.document = _document3.default;
exports.navigator = _navigator3.default;
exports.XMLHttpRequest = _XMLHttpRequest3.default;
exports.WebSocket = _WebSocket3.default;
exports.Image = _Image3.default;
exports.Audio = _Audio3.default;
exports.FileReader = _FileReader3.default;
exports.HTMLElement = _HTMLElement3.default;
exports.localStorage = _localStorage3.default;
exports.location = _location3.default;
// 暴露全局的 canvas
var canvas = new _Canvas2.default();
exports.canvas = canvas;
exports.setTimeout = setTimeout;
exports.setInterval = setInterval;
exports.clearTimeout = clearTimeout;
exports.clearInterval = clearInterval;
exports.requestAnimationFrame = requestAnimationFrame;
exports.cancelAnimationFrame = cancelAnimationFrame;
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.performance = exports.ontouchend = exports.ontouchmove = exports.ontouchstart = exports.screen = exports.devicePixelRatio = exports.innerHeight = exports.innerWidth = undefined;
var _performance2 = __webpack_require__(3);
var _performance3 = _interopRequireDefault(_performance2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
screenWidth = _wx$getSystemInfoSync.screenWidth,
screenHeight = _wx$getSystemInfoSync.screenHeight,
devicePixelRatio = _wx$getSystemInfoSync.devicePixelRatio;
var innerWidth = exports.innerWidth = screenWidth;
var innerHeight = exports.innerHeight = screenHeight;
exports.devicePixelRatio = devicePixelRatio;
var screen = exports.screen = {
availWidth: innerWidth,
availHeight: innerHeight
};
var ontouchstart = exports.ontouchstart = null;
var ontouchmove = exports.ontouchmove = null;
var ontouchend = exports.ontouchend = null;
exports.performance = _performance3.default;
/***/ }),
/* 3 */
/***/ (function(module, exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var performance = void 0;
if (wx.getPerformance) {
var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
platform = _wx$getSystemInfoSync.platform;
var wxPerf = wx.getPerformance();
var initTime = wxPerf.now();
var clientPerfAdapter = Object.assign({}, wxPerf, {
now: function now() {
return (wxPerf.now() - initTime) / 1000;
}
});
performance = platform === 'devtools' ? wxPerf : clientPerfAdapter;
}
exports.default = performance;
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.HTMLCanvasElement = exports.HTMLImageElement = undefined;
var _HTMLElement3 = __webpack_require__(5);
var _HTMLElement4 = _interopRequireDefault(_HTMLElement3);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var HTMLImageElement = exports.HTMLImageElement = function (_HTMLElement) {
_inherits(HTMLImageElement, _HTMLElement);
function HTMLImageElement() {
_classCallCheck(this, HTMLImageElement);
return _possibleConstructorReturn(this, (HTMLImageElement.__proto__ || Object.getPrototypeOf(HTMLImageElement)).call(this, 'img'));
}
return HTMLImageElement;
}(_HTMLElement4.default);
var HTMLCanvasElement = exports.HTMLCanvasElement = function (_HTMLElement2) {
_inherits(HTMLCanvasElement, _HTMLElement2);
function HTMLCanvasElement() {
_classCallCheck(this, HTMLCanvasElement);
return _possibleConstructorReturn(this, (HTMLCanvasElement.__proto__ || Object.getPrototypeOf(HTMLCanvasElement)).call(this, 'canvas'));
}
return HTMLCanvasElement;
}(_HTMLElement4.default);
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _Element2 = __webpack_require__(6);
var _Element3 = _interopRequireDefault(_Element2);
var _util = __webpack_require__(9);
var _WindowProperties = __webpack_require__(2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var HTMLElement = function (_Element) {
_inherits(HTMLElement, _Element);
function HTMLElement() {
var tagName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
_classCallCheck(this, HTMLElement);
var _this = _possibleConstructorReturn(this, (HTMLElement.__proto__ || Object.getPrototypeOf(HTMLElement)).call(this));
_this.className = '';
_this.childern = [];
_this.style = {
width: _WindowProperties.innerWidth + 'px',
height: _WindowProperties.innerHeight + 'px'
};
_this.insertBefore = _util.noop;
_this.innerHTML = '';
_this.tagName = tagName.toUpperCase();
return _this;
}
_createClass(HTMLElement, [{
key: 'setAttribute',
value: function setAttribute(name, value) {
this[name] = value;
}
}, {
key: 'getAttribute',
value: function getAttribute(name) {
return this[name];
}
}, {
key: 'getBoundingClientRect',
value: function getBoundingClientRect() {
return {
top: 0,
left: 0,
width: _WindowProperties.innerWidth,
height: _WindowProperties.innerHeight
};
}
}, {
key: 'focus',
value: function focus() {}
}, {
key: 'clientWidth',
get: function get() {
var ret = parseInt(this.style.fontSize, 10) * this.innerHTML.length;
return Number.isNaN(ret) ? 0 : ret;
}
}, {
key: 'clientHeight',
get: function get() {
var ret = parseInt(this.style.fontSize, 10);
return Number.isNaN(ret) ? 0 : ret;
}
}]);
return HTMLElement;
}(_Element3.default);
exports.default = HTMLElement;
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Node2 = __webpack_require__(7);
var _Node3 = _interopRequireDefault(_Node2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var ELement = function (_Node) {
_inherits(ELement, _Node);
function ELement() {
_classCallCheck(this, ELement);
var _this = _possibleConstructorReturn(this, (ELement.__proto__ || Object.getPrototypeOf(ELement)).call(this));
_this.className = '';
_this.children = [];
return _this;
}
return ELement;
}(_Node3.default);
exports.default = ELement;
/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _EventTarget2 = __webpack_require__(8);
var _EventTarget3 = _interopRequireDefault(_EventTarget2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var Node = function (_EventTarget) {
_inherits(Node, _EventTarget);
function Node() {
_classCallCheck(this, Node);
var _this = _possibleConstructorReturn(this, (Node.__proto__ || Object.getPrototypeOf(Node)).call(this));
_this.childNodes = [];
return _this;
}
_createClass(Node, [{
key: 'appendChild',
value: function appendChild(node) {
if (node instanceof Node) {
this.childNodes.push(node);
} else {
throw new TypeError('Failed to executed \'appendChild\' on \'Node\': parameter 1 is not of type \'Node\'.');
}
}
}, {
key: 'cloneNode',
value: function cloneNode() {
var copyNode = Object.create(this);
Object.assign(copyNode, this);
return copyNode;
}
}, {
key: 'removeChild',
value: function removeChild(node) {
var index = this.childNodes.findIndex(function (child) {
return child === node;
});
if (index > -1) {
return this.childNodes.splice(index, 1);
}
return null;
}
}]);
return Node;
}(_EventTarget3.default);
exports.default = Node;
/***/ }),
/* 8 */
/***/ (function(module, exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var _events = new WeakMap();
var EventTarget = function () {
function EventTarget() {
_classCallCheck(this, EventTarget);
_events.set(this, {});
}
_createClass(EventTarget, [{
key: 'addEventListener',
value: function addEventListener(type, listener) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
var events = _events.get(this);
if (!events) {
events = {};
_events.set(this, events);
}
if (!events[type]) {
events[type] = [];
}
events[type].push(listener);
if (options.capture) {
console.warn('EventTarget.addEventListener: options.capture is not implemented.');
}
if (options.once) {
console.warn('EventTarget.addEventListener: options.once is not implemented.');
}
if (options.passive) {
console.warn('EventTarget.addEventListener: options.passive is not implemented.');
}
}
}, {
key: 'removeEventListener',
value: function removeEventListener(type, listener) {
var listeners = _events.get(this)[type];
if (listeners && listeners.length > 0) {
for (var i = listeners.length; i--; i > 0) {
if (listeners[i] === listener) {
listeners.splice(i, 1);
break;
}
}
}
}
}, {
key: 'dispatchEvent',
value: function dispatchEvent() {
var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var listeners = _events.get(this)[event.type];
if (listeners) {
for (var i = 0; i < listeners.length; i++) {
listeners[i](event);
}
}
}
}]);
return EventTarget;
}();
exports.default = EventTarget;
/***/ }),
/* 9 */
/***/ (function(module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.noop = noop;
function noop() {}
/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Canvas;
var _constructor = __webpack_require__(4);
var _HTMLElement = __webpack_require__(5);
var _HTMLElement2 = _interopRequireDefault(_HTMLElement);
var _document = __webpack_require__(11);
var _document2 = _interopRequireDefault(_document);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var hasModifiedCanvasPrototype = false;
var hasInit2DContextConstructor = false;
var hasInitWebGLContextConstructor = false;
function Canvas() {
var canvas = wx.createCanvas();
canvas.type = 'canvas';
canvas.__proto__.__proto__ = new _HTMLElement2.default('canvas');
var _getContext = canvas.getContext;
canvas.getBoundingClientRect = function () {
var ret = {
top: 0,
left: 0,
width: window.innerWidth,
height: window.innerHeight
};
return ret;
};
return canvas;
}
/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _window = __webpack_require__(1);
var window = _interopRequireWildcard(_window);
var _HTMLElement = __webpack_require__(5);
var _HTMLElement2 = _interopRequireDefault(_HTMLElement);
var _Image = __webpack_require__(12);
var _Image2 = _interopRequireDefault(_Image);
var _Audio = __webpack_require__(13);
var _Audio2 = _interopRequireDefault(_Audio);
var _Canvas = __webpack_require__(10);
var _Canvas2 = _interopRequireDefault(_Canvas);
__webpack_require__(16);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var events = {};
var document = {
readyState: 'complete',
visibilityState: 'visible',
documentElement: window,
hidden: false,
style: {},
location: window.location,
ontouchstart: null,
ontouchmove: null,
ontouchend: null,
head: new _HTMLElement2.default('head'),
body: new _HTMLElement2.default('body'),
createElement: function createElement(tagName) {
if (tagName === 'canvas') {
return new _Canvas2.default();
} else if (tagName === 'audio') {
return new _Audio2.default();
} else if (tagName === 'img') {
return new _Image2.default();
}
return new _HTMLElement2.default(tagName);
},
getElementById: function getElementById(id) {
if (id === window.canvas.id) {
return window.canvas;
}
return null;
},
getElementsByTagName: function getElementsByTagName(tagName) {
if (tagName === 'head') {
return [document.head];
} else if (tagName === 'body') {
return [document.body];
} else if (tagName === 'canvas') {
return [window.canvas];
}
return [];
},
getElementsByName: function getElementsByName(tagName) {
if (tagName === 'head') {
return [document.head];
} else if (tagName === 'body') {
return [document.body];
} else if (tagName === 'canvas') {
return [window.canvas];
}
return [];
},
querySelector: function querySelector(query) {
if (query === 'head') {
return document.head;
} else if (query === 'body') {
return document.body;
} else if (query === 'canvas') {
return window.canvas;
} else if (query === '#' + window.canvas.id) {
return window.canvas;
}
return null;
},
querySelectorAll: function querySelectorAll(query) {
if (query === 'head') {
return [document.head];
} else if (query === 'body') {
return [document.body];
} else if (query === 'canvas') {
return [window.canvas];
}
return [];
},
addEventListener: function addEventListener(type, listener) {
if (!events[type]) {
events[type] = [];
}
events[type].push(listener);
},
removeEventListener: function removeEventListener(type, listener) {
var listeners = events[type];
if (listeners && listeners.length > 0) {
for (var i = listeners.length; i--; i > 0) {
if (listeners[i] === listener) {
listeners.splice(i, 1);
break;
}
}
}
},
dispatchEvent: function dispatchEvent(event) {
var listeners = events[event.type];
if (listeners) {
for (var i = 0; i < listeners.length; i++) {
listeners[i](event);
}
}
}
};
exports.default = document;
/***/ }),
/* 12 */
/***/ (function(module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Image;
function Image() {
var image = wx.createImage();
return image;
}
/***/ }),
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _HTMLAudioElement2 = __webpack_require__(14);
var _HTMLAudioElement3 = _interopRequireDefault(_HTMLAudioElement2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var HAVE_NOTHING = 0;
var HAVE_METADATA = 1;
var HAVE_CURRENT_DATA = 2;
var HAVE_FUTURE_DATA = 3;
var HAVE_ENOUGH_DATA = 4;
var _innerAudioContext = new WeakMap();
var _src = new WeakMap();
var _loop = new WeakMap();
var _autoplay = new WeakMap();
var Audio = function (_HTMLAudioElement) {
_inherits(Audio, _HTMLAudioElement);
function Audio(url) {
_classCallCheck(this, Audio);
var _this = _possibleConstructorReturn(this, (Audio.__proto__ || Object.getPrototypeOf(Audio)).call(this));
_this.HAVE_NOTHING = HAVE_NOTHING;
_this.HAVE_METADATA = HAVE_METADATA;
_this.HAVE_CURRENT_DATA = HAVE_CURRENT_DATA;
_this.HAVE_FUTURE_DATA = HAVE_FUTURE_DATA;
_this.HAVE_ENOUGH_DATA = HAVE_ENOUGH_DATA;
_this.readyState = HAVE_NOTHING;
_src.set(_this, '');
var innerAudioContext = wx.createInnerAudioContext();
_innerAudioContext.set(_this, innerAudioContext);
innerAudioContext.onCanplay(function () {
_this.dispatchEvent({ type: 'load' });
_this.dispatchEvent({ type: 'loadend' });
_this.dispatchEvent({ type: 'canplay' });
_this.dispatchEvent({ type: 'canplaythrough' });
_this.dispatchEvent({ type: 'loadedmetadata' });
_this.readyState = HAVE_CURRENT_DATA;
});
innerAudioContext.onPlay(function () {
_this.dispatchEvent({ type: 'play' });
});
innerAudioContext.onPause(function () {
_this.dispatchEvent({ type: 'pause' });
});
innerAudioContext.onEnded(function () {
_this.dispatchEvent({ type: 'ended' });
_this.readyState = HAVE_ENOUGH_DATA;
});
innerAudioContext.onError(function () {
_this.dispatchEvent({ type: 'error' });
});
if (url) {
_innerAudioContext.get(_this).src = url;
}
return _this;
}
_createClass(Audio, [{
key: 'load',
value: function load() {
console.warn('HTMLAudioElement.load() is not implemented.');
}
}, {
key: 'play',
value: function play() {
_innerAudioContext.get(this).play();
}
}, {
key: 'pause',
value: function pause() {
_innerAudioContext.get(this).pause();
}
}, {
key: 'canPlayType',
value: function canPlayType() {
var mediaType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
if (typeof mediaType !== 'string') {
return '';
}
if (mediaType.indexOf('audio/mpeg') > -1 || mediaType.indexOf('audio/mp4')) {
return 'probably';
}
return '';
}
}, {
key: 'cloneNode',
value: function cloneNode() {
var newAudio = new Audio();
newAudio.loop = _innerAudioContext.get(this).loop;
newAudio.autoplay = _innerAudioContext.get(this).autoplay;
newAudio.src = this.src;
return newAudio;
}
}, {
key: 'currentTime',
get: function get() {
return _innerAudioContext.get(this).currentTime;
},
set: function set(value) {
_innerAudioContext.get(this).seek(value);
}
}, {
key: 'src',
get: function get() {
return _src.get(this);
},
set: function set(value) {
_src.set(this, value);
_innerAudioContext.get(this).src = value;
}
}, {
key: 'loop',
get: function get() {
return _innerAudioContext.get(this).loop;
},
set: function set(value) {
_innerAudioContext.get(this).loop = value;
}
}, {
key: 'autoplay',
get: function get() {
return _innerAudioContext.get(this).autoplay;
},
set: function set(value) {
_innerAudioContext.get(this).autoplay = value;
}
}, {
key: 'paused',
get: function get() {
return _innerAudioContext.get(this).paused;
}
}]);
return Audio;
}(_HTMLAudioElement3.default);
exports.default = Audio;
/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _HTMLMediaElement2 = __webpack_require__(15);
var _HTMLMediaElement3 = _interopRequireDefault(_HTMLMediaElement2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var HTMLAudioElement = function (_HTMLMediaElement) {
_inherits(HTMLAudioElement, _HTMLMediaElement);
function HTMLAudioElement() {
_classCallCheck(this, HTMLAudioElement);
return _possibleConstructorReturn(this, (HTMLAudioElement.__proto__ || Object.getPrototypeOf(HTMLAudioElement)).call(this, 'audio'));
}
return HTMLAudioElement;
}(_HTMLMediaElement3.default);
exports.default = HTMLAudioElement;
/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _HTMLElement2 = __webpack_require__(5);
var _HTMLElement3 = _interopRequireDefault(_HTMLElement2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var HTMLMediaElement = function (_HTMLElement) {
_inherits(HTMLMediaElement, _HTMLElement);
function HTMLMediaElement(type) {
_classCallCheck(this, HTMLMediaElement);
return _possibleConstructorReturn(this, (HTMLMediaElement.__proto__ || Object.getPrototypeOf(HTMLMediaElement)).call(this, type));
}
_createClass(HTMLMediaElement, [{
key: 'addTextTrack',
value: function addTextTrack() {}
}, {
key: 'captureStream',
value: function captureStream() {}
}, {
key: 'fastSeek',
value: function fastSeek() {}
}, {
key: 'load',
value: function load() {}
}, {
key: 'pause',
value: function pause() {}
}, {
key: 'play',
value: function play() {}
}]);
return HTMLMediaElement;
}(_HTMLElement3.default);
exports.default = HTMLMediaElement;
/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
__webpack_require__(17);
/***/ }),
/* 17 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
var _window = __webpack_require__(1);
var window = _interopRequireWildcard(_window);
var _document = __webpack_require__(11);
var _document2 = _interopRequireDefault(_document);
var _util = __webpack_require__(9);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var TouchEvent = function TouchEvent(type) {
_classCallCheck(this, TouchEvent);
this.target = window.canvas;
this.currentTarget = window.canvas;
this.touches = [];
this.targetTouches = [];
this.changedTouches = [];
this.preventDefault = _util.noop;
this.stopPropagation = _util.noop;
this.type = type;
};
function touchEventHandlerFactory(type) {
return function (event) {
var touchEvent = new TouchEvent(type);
touchEvent.touches = event.touches;
touchEvent.targetTouches = Array.prototype.slice.call(event.touches);
touchEvent.changedTouches = event.changedTouches;
touchEvent.timeStamp = event.timeStamp;
_document2.default.dispatchEvent(touchEvent);
};
}
wx.onTouchStart(touchEventHandlerFactory('touchstart'));
wx.onTouchMove(touchEventHandlerFactory('touchmove'));
wx.onTouchEnd(touchEventHandlerFactory('touchend'));
wx.onTouchCancel(touchEventHandlerFactory('touchcancel'));
/***/ }),
/* 18 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _util = __webpack_require__(9);
// TODO 需要 wx.getSystemInfo 获取更详细信息
var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
platform = _wx$getSystemInfoSync.platform;
var navigator = {
platform: platform,
language: 'zh-cn',
appVersion: '5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1',
userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E8301 MicroMessenger/6.6.0 MiniGame NetType/WIFI Language/zh_CN',
onLine: true, // TODO 用 wx.getNetworkStateChange 和 wx.onNetworkStateChange 来返回真实的状态
// TODO 用 wx.getLocation 来封装 geolocation
geolocation: {
getCurrentPosition: _util.noop,
watchPosition: _util.noop,
clearWatch: _util.noop
}
};
exports.default = navigator;
/***/ }),
/* 19 */
/***/ (function(module, exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var _url = new WeakMap();
var _method = new WeakMap();
var _requestHeader = new WeakMap();
var _responseHeader = new WeakMap();
var _requestTask = new WeakMap();
function _triggerEvent(type) {
if (typeof this['on' + type] === 'function') {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
this['on' + type].apply(this, args);
}
}
function _changeReadyState(readyState) {
this.readyState = readyState;
_triggerEvent.call(this, 'readystatechange');
}
var XMLHttpRequest = function () {
// TODO 没法模拟 HEADERS_RECEIVED 和 LOADING 两个状态
function XMLHttpRequest() {
_classCallCheck(this, XMLHttpRequest);
this.onabort = null;
this.onerror = null;
this.onload = null;
this.onloadstart = null;
this.onprogress = null;
this.ontimeout = null;
this.onloadend = null;
this.onreadystatechange = null;
this.readyState = 0;
this.response = null;
this.responseText = null;
this.responseType = '';
this.responseXML = null;
this.status = 0;
this.statusText = '';
this.upload = {};
this.withCredentials = false;
_requestHeader.set(this, {
'content-type': 'application/x-www-form-urlencoded'
});
_responseHeader.set(this, {});
}
/*
* TODO 这一批事件应该是在 XMLHttpRequestEventTarget.prototype 上面的
*/
_createClass(XMLHttpRequest, [{
key: 'abort',
value: function abort() {
var myRequestTask = _requestTask.get(this);
if (myRequestTask) {
myRequestTask.abort();
}
}
}, {
key: 'getAllResponseHeaders',
value: function getAllResponseHeaders() {
var responseHeader = _responseHeader.get(this);
return Object.keys(responseHeader).map(function (header) {
return header + ': ' + responseHeader[header];
}).join('\n');
}
}, {
key: 'getResponseHeader',
value: function getResponseHeader(header) {
return _responseHeader.get(this)[header];
}
}, {
key: 'open',
value: function open(method, url /* async, user, password 这几个参数在小程序内不支持*/) {
_method.set(this, method);
_url.set(this, url);
_changeReadyState.call(this, XMLHttpRequest.OPENED);
}
}, {
key: 'overrideMimeType',
value: function overrideMimeType() {}
}, {
key: 'send',
value: function send() {
var _this = this;
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
if (this.readyState !== XMLHttpRequest.OPENED) {
throw new Error("Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED.");
} else {
wx.request({
data: data,
url: _url.get(this),
method: _method.get(this),
header: _requestHeader.get(this),
responseType: this.responseType,
success: function success(_ref) {
var data = _ref.data,
statusCode = _ref.statusCode,
header = _ref.header;
if (typeof data !== 'string' && !(data instanceof ArrayBuffer)) {
try {
data = JSON.stringify(data);
} catch (e) {
data = data;
}
}
_this.status = statusCode;
_responseHeader.set(_this, header);
_triggerEvent.call(_this, 'loadstart');
_changeReadyState.call(_this, XMLHttpRequest.HEADERS_RECEIVED);
_changeReadyState.call(_this, XMLHttpRequest.LOADING);
_this.response = data;
if (data instanceof ArrayBuffer) {
_this.responseText = '';
var bytes = new Uint8Array(data);
var len = bytes.byteLength;
for (var i = 0; i < len; i++) {
_this.responseText += String.fromCharCode(bytes[i]);
}
} else {
_this.responseText = data;
}
_changeReadyState.call(_this, XMLHttpRequest.DONE);
_triggerEvent.call(_this, 'load');
_triggerEvent.call(_this, 'loadend');
},
fail: function fail(_ref2) {
var errMsg = _ref2.errMsg;
// TODO 规范错误
if (errMsg.indexOf('abort') !== -1) {
_triggerEvent.call(_this, 'abort');
} else {
_triggerEvent.call(_this, 'error', errMsg);
}
_triggerEvent.call(_this, 'loadend');
}
});
}
}
}, {
key: 'setRequestHeader',
value: function setRequestHeader(header, value) {
var myHeader = _requestHeader.get(this);
myHeader[header] = value;
_requestHeader.set(this, myHeader);
}
}]);
return XMLHttpRequest;
}();
XMLHttpRequest.UNSEND = 0;
XMLHttpRequest.OPENED = 1;
XMLHttpRequest.HEADERS_RECEIVED = 2;
XMLHttpRequest.LOADING = 3;
XMLHttpRequest.DONE = 4;
exports.default = XMLHttpRequest;
/***/ }),
/* 20 */
/***/ (function(module, exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var _socketTask = new WeakMap();
var WebSocket = function () {
// TODO 更新 binaryType
// The connection is in the process of closing.
// The connection is not yet open.
function WebSocket(url) {
var _this = this;
var protocols = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
_classCallCheck(this, WebSocket);
this.binaryType = '';
this.bufferedAmount = 0;
this.extensions = '';
this.onclose = null;
this.onerror = null;
this.onmessage = null;
this.onopen = null;
this.protocol = '';
this.readyState = 3;
if (typeof url !== 'string' || !/(^ws:\/\/)|(^wss:\/\/)/.test(url)) {
throw new TypeError('Failed to construct \'WebSocket\': The URL \'' + url + '\' is invalid');
}
this.url = url;
this.readyState = WebSocket.CONNECTING;
var socketTask = wx.connectSocket({
url: url,
protocols: Array.isArray(protocols) ? protocols : [protocols]
});
_socketTask.set(this, socketTask);
socketTask.onClose(function (res) {
_this.readyState = WebSocket.CLOSED;
if (typeof _this.onclose === 'function') {
_this.onclose(res);
}
});
socketTask.onMessage(function (res) {
if (typeof _this.onmessage === 'function') {
_this.onmessage(res);
}
});
socketTask.onOpen(function () {
_this.readyState = WebSocket.OPEN;
if (typeof _this.onopen === 'function') {
_this.onopen();
}
});
socketTask.onError(function (res) {
if (typeof _this.onerror === 'function') {
_this.onerror(new Error(res.errMsg));
}
});
return this;
} // TODO 小程序内目前获取不到,实际上需要根据服务器选择的 sub-protocol 返回
// TODO 更新 bufferedAmount
// The connection is closed or couldn't be opened.
// The connection is open and ready to communicate.
_createClass(WebSocket, [{
key: 'close',
value: function close(code, reason) {
this.readyState = WebSocket.CLOSING;
var socketTask = _socketTask.get(this);
socketTask.close({
code: code,
reason: reason
});
}
}, {
key: 'send',
value: function send(data) {
if (typeof data !== 'string' && !(data instanceof ArrayBuffer)) {
throw new TypeError('Failed to send message: The data ' + data + ' is invalid');
}
var socketTask = _socketTask.get(this);
socketTask.send({
data: data
});
}
}]);
return WebSocket;
}();
WebSocket.CONNECTING = 0;
WebSocket.OPEN = 1;
WebSocket.CLOSING = 2;
WebSocket.CLOSED = 3;
exports.default = WebSocket;
/***/ }),
/* 21 */
/***/ (function(module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/*
* TODO 使用 wx.readFile 来封装 FileReader
*/
var FileReader = function () {
function FileReader() {
_classCallCheck(this, FileReader);
}
_createClass(FileReader, [{
key: "construct",
value: function construct() {}
}]);
return FileReader;
}();
exports.default = FileReader;
/***/ }),
/* 22 */
/***/ (function(module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var localStorage = {
get length() {
var _wx$getStorageInfoSyn = wx.getStorageInfoSync(),
keys = _wx$getStorageInfoSyn.keys;
return keys.length;
},
key: function key(n) {
var _wx$getStorageInfoSyn2 = wx.getStorageInfoSync(),
keys = _wx$getStorageInfoSyn2.keys;
return keys[n];
},
getItem: function getItem(key) {
return wx.getStorageSync(key);
},
setItem: function setItem(key, value) {
return wx.setStorageSync(key, value);
},
removeItem: function removeItem(key) {
wx.removeStorageSync(key);
},
clear: function clear() {
wx.clearStorageSync();
}
};
exports.default = localStorage;
/***/ }),
/* 23 */
/***/ (function(module, exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var location = {
href: 'game.js',
reload: function reload() {}
};
exports.default = location;
/***/ })
/******/ ]);
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论