UNPKG

@quick-game/cli

Version:

Command line interface for rapid qg development

1,081 lines 50.1 kB
#!/usr/bin/env node 'use strict'; const _0x21d888 = _0x8075; (function (_0x486bf8, _0x9ae8c3) { const _0xb19dec = _0x8075, _0x5340e3 = _0x486bf8(); while (!![]) { try { const _0x2d8699 = parseInt(_0xb19dec(0x1b3)) / (-0xe27 * 0x2 + 0x1d4d + -0xfe) * (parseInt(_0xb19dec(0x19f)) / (0x71 + 0x124c * 0x2 + 0x1 * -0x2507)) + -parseInt(_0xb19dec(0x213)) / (-0x1883 + -0xc * -0x21f + 0x22 * -0x7) * (parseInt(_0xb19dec(0x294)) / (-0x227d + -0x701 * 0x3 + 0x3784)) + parseInt(_0xb19dec(0x1e8)) / (0xecc * -0x1 + 0x16f7 * -0x1 + -0x2 * -0x12e4) + parseInt(_0xb19dec(0x161)) / (0x1328 * 0x1 + -0x2 * 0x13d + -0x10a8) * (-parseInt(_0xb19dec(0x22e)) / (0x403 + 0xada + -0xed6)) + parseInt(_0xb19dec(0x128)) / (-0x1 * 0x102b + -0x1fb2 * -0x1 + -0xf7f) * (-parseInt(_0xb19dec(0x1c5)) / (-0xd7d * -0x1 + 0x1865 + -0x25d9)) + parseInt(_0xb19dec(0x18f)) / (0x2 * 0x85d + -0xf4e + 0x3 * -0x76) * (parseInt(_0xb19dec(0x1a1)) / (0x1cb5 + -0x114f + -0xb5b)) + -parseInt(_0xb19dec(0x18a)) / (-0x5ae + 0x148e + -0xed4) * (-parseInt(_0xb19dec(0x189)) / (0xb * -0x209 + -0x97 * -0x13 + -0x5 * -0x23f)); if (_0x2d8699 === _0x9ae8c3) break; else _0x5340e3['push'](_0x5340e3['shift']()); } catch (_0x27553f) { _0x5340e3['push'](_0x5340e3['shift']()); } } }(_0xe4f0, 0x11113c + 0x751d4 + 0x7d559 * -0x2)); var _WeakMap = require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x12e) + _0x21d888(0x1bf)), _Object$defineProperty = require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x12e) + _0x21d888(0x14a) + _0x21d888(0x132) + _0x21d888(0x276)), _Object$getOwnPropertyDescriptor = require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x12e) + _0x21d888(0x242) + _0x21d888(0x24c) + _0x21d888(0x152) + _0x21d888(0x136)), _interopRequireDefault = require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x26f) + _0x21d888(0x1d5) + _0x21d888(0x2ba) + 'lt'); _Object$defineProperty(exports, _0x21d888(0x2cb), { 'value': !![] }), exports[_0x21d888(0x204)] = void (0x4 * -0x4a0 + -0x52f * -0x5 + -0x76b); var _from = _interopRequireDefault(require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x12e) + _0x21d888(0x202) + 'm')), _stringify = _interopRequireDefault(require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x12e) + _0x21d888(0x10a) + _0x21d888(0x210))), _promise = _interopRequireDefault(require(_0x21d888(0x1c8) + _0x21d888(0x137) + _0x21d888(0x12e) + _0x21d888(0x257))), _index = require(_0x21d888(0x1c7) + _0x21d888(0x15c) + 'js'), paths = _interopRequireWildcard(require(_0x21d888(0x10f) + _0x21d888(0x283) + _0x21d888(0x1a5))), _index2 = require(_0x21d888(0x10f) + _0x21d888(0x219) + _0x21d888(0x1fc)), _requestIde = require(_0x21d888(0x230) + _0x21d888(0x26e) + 'js'); function _getRequireWildcardCache(_0x353548) { const _0x42de7e = _0x21d888, _0x1edd65 = { 'vKUnn': function (_0x3f1ac1, _0x20226b) { return _0x3f1ac1 != _0x20226b; }, 'ytzcC': _0x42de7e(0x25b) }; if (_0x1edd65[_0x42de7e(0x255)](_0x1edd65[_0x42de7e(0x2a9)], typeof _WeakMap)) return null; var _0x19c15e = new _WeakMap(), _0x453696 = new _WeakMap(); return (_getRequireWildcardCache = function (_0x45fa7b) { return _0x45fa7b ? _0x453696 : _0x19c15e; })(_0x353548); } function _interopRequireWildcard(_0x3980c2, _0x141b6c) { const _0x2d9c8c = _0x21d888, _0x2f7b75 = { 'fFCdT': _0x2d9c8c(0x1c4) + _0x2d9c8c(0x1f8), 'wAmls': function (_0x525c6a, _0x4b8a56) { return _0x525c6a && _0x4b8a56; }, 'kzpGJ': function (_0x42d93c, _0x47efae) { return _0x42d93c && _0x47efae; }, 'JsAxt': function (_0x15e078, _0xf72fa4) { return _0x15e078(_0xf72fa4); }, 'lGSjC': function (_0x272461, _0x276194) { return _0x272461 !== _0x276194; }, 'KMJJi': _0x2d9c8c(0xfd), 'BbsLJ': function (_0x2be211, _0x15ea40, _0xfc1c39) { return _0x2be211(_0x15ea40, _0xfc1c39); }, 'BKBMo': function (_0x5e4dfe, _0x524562, _0x43b31e, _0x2f2d81) { return _0x5e4dfe(_0x524562, _0x43b31e, _0x2f2d81); }, 'cSmzL': function (_0x49d572, _0xf2e745) { return _0x49d572 === _0xf2e745; }, 'sgLyf': function (_0x220895, _0x3ec4fa) { return _0x220895 != _0x3ec4fa; }, 'MmDfK': _0x2d9c8c(0x1f5), 'eKFRi': function (_0x59c578, _0x3f7860) { return _0x59c578 != _0x3f7860; }, 'PPAbj': _0x2d9c8c(0x25b) }, _0x2a3623 = _0x2f7b75[_0x2d9c8c(0x1b2)][_0x2d9c8c(0x240)]('|'); let _0x1f641f = -0x2 * -0x737 + 0x4 * 0x733 + -0x2b3a; while (!![]) { switch (_0x2a3623[_0x1f641f++]) { case '0': if (_0x119d91 && _0x119d91[_0x2d9c8c(0x112)](_0x3980c2)) return _0x119d91[_0x2d9c8c(0x15b)](_0x3980c2); continue; case '1': if (_0x2f7b75[_0x2d9c8c(0x282)](!_0x141b6c, _0x3980c2) && _0x3980c2[_0x2d9c8c(0x2cb)]) return _0x3980c2; continue; case '2': var _0x3debf3 = { '__proto__': null }, _0x324d05 = _0x2f7b75[_0x2d9c8c(0x237)](_Object$defineProperty, _Object$getOwnPropertyDescriptor); continue; case '3': return _0x3debf3[_0x2d9c8c(0xfd)] = _0x3980c2, _0x119d91 && _0x119d91[_0x2d9c8c(0x1e3)](_0x3980c2, _0x3debf3), _0x3debf3; case '4': var _0x119d91 = _0x2f7b75[_0x2d9c8c(0x13c)](_getRequireWildcardCache, _0x141b6c); continue; case '5': for (var _0x2b14df in _0x3980c2) if (_0x2f7b75[_0x2d9c8c(0x2bd)](_0x2f7b75[_0x2d9c8c(0x1ed)], _0x2b14df) && {}[_0x2d9c8c(0x169) + _0x2d9c8c(0x226)][_0x2d9c8c(0x1f1)](_0x3980c2, _0x2b14df)) { var _0x1a1557 = _0x324d05 ? _0x2f7b75[_0x2d9c8c(0x2ab)](_Object$getOwnPropertyDescriptor, _0x3980c2, _0x2b14df) : null; _0x1a1557 && (_0x1a1557[_0x2d9c8c(0x15b)] || _0x1a1557[_0x2d9c8c(0x1e3)]) ? _0x2f7b75[_0x2d9c8c(0x153)](_Object$defineProperty, _0x3debf3, _0x2b14df, _0x1a1557) : _0x3debf3[_0x2b14df] = _0x3980c2[_0x2b14df]; } continue; case '6': if (_0x2f7b75[_0x2d9c8c(0x209)](null, _0x3980c2) || _0x2f7b75[_0x2d9c8c(0x208)](_0x2f7b75[_0x2d9c8c(0x1b1)], typeof _0x3980c2) && _0x2f7b75[_0x2d9c8c(0x29a)](_0x2f7b75[_0x2d9c8c(0x248)], typeof _0x3980c2)) return { 'default': _0x3980c2 }; continue; } break; } } const {info, error, warn, fs, projectPath} = require(_0x21d888(0x11f) + _0x21d888(0x133)), {fsExt, replaceFiles} = require(_0x21d888(0x11f) + _0x21d888(0x24b) + _0x21d888(0x2b8) + 's'), path = require(_0x21d888(0x1a0)), prettyjson = require(_0x21d888(0x105)), chalk = require(_0x21d888(0x20d)), readline = require(_0x21d888(0x190)), XMLHttpRequest = require(_0x21d888(0x179) + _0x21d888(0x2b4))[_0x21d888(0x1af) + _0x21d888(0x2b4)], fetch = require(_0x21d888(0x2a0)); console[_0x21d888(0x234)](_0x21d888(0x12f) + _0x21d888(0x160) + process[_0x21d888(0x19e)]); function _0xe4f0() { const _0x509547 = [ 'parse', 'responseTe', 'qgGamePath', 'env', 'NwKBm', 'sjBIp', '需要手动修改,日志中', 'rsion', '\x22)}catch(e', 'UsYrL', '请确认项目', 'xmlhttpreq', 'ports=plug', 's重命名为', 'QRboZ', 'build', 'tSfjn', 'dpPoj', '出在\x20', 'dist', 'title', 'plugins', 'cVfGC', '动修改', 'ryAeh', 'nVpCl', 'BehBF', '13PsnXdw', '2247012NCPZXz', 'uVmFD', 'Tfaqo', 'abel', 'wx_Game_te', '3110HNOYhJ', 'readline', '录下~', 'asScale可以传', 'build打包,rp', 'nifest文件:', 'IfgDg', 'd打包完成,若需要打', '.json', 'CmNbj', 'function\x20H', 'stdout', 'game.json', 'webgl.wasm', 'transFinis', 'version', '2IpDUbs', 'path', '13717tNSgfb', 's()\x20||\x20\x22\x22,', 'require(\x27.', 'wx_unityPl', 'paths.js', 'global._pl', 'getAllResp', 'main', 'son', 'st.json的信息', 'src/manife', 'GET', 'data', 'n分包,将其转换为\x20', 'XMLHttpReq', 'vnAkK', 'MmDfK', 'fFCdT', '388670pBfBID', '将会提示不支持的AP', '\x0a\x20\x0a###buil', 'internal:\x5c', 'UPdyq', 'status', 'length', 'wx-unity-b', '则可运行命令\x20qg\x20', 'anifest.js', '.json\x20配置到q', 'versionNam', '/weak-map', '正在获取微信小游戏的', 'pxfHO', 'hzSTL', 'st已被微信工程下文', '1|6|4|0|2|', '204939WGbVZp', 'e_\x20=\x20\x27', '../cli-ser', '@babel/run', 'es\x20or\x20no\x20(', 'clearDir', 'render', 'ync', '拷贝后的game.j', 'DiibX', 'transfer\x20-', '的name为', 'equirePlug', 'on,是否覆盖qg联', 'api-v0/con', '号等,再进行编译打包', '/interopRe', '\x20?\x20$2', '-transfer内', 'success', 'xMwOn', 'ugin_name_', 'writeFileS', 'QnqFe', 'Module', 'ICAFa', 'chdir', 'qMMHS', 'engine', 'onerror', 'set', 'hVTBA', 'gin.js', 'ect', 'phyTn', '5382505iAHEwV', '\x20window.Ru', '\x27)\x0a', '器进行扫码安装', 'OoRzJ', 'KMJJi', 's\x22);plugin', 'Math.abs', 'BXhUA', 'call', 'kHrXH', 'g联盟转换目录下~', 'TSbeL', 'object', 'Tspes', 'send', '5|3', 'error', 'abel-runti', 'gRequire', 'x.js', 'DJQUP', '初始化qg联盟工程.', 'basename', '\x0a###开始自动进行', 'code', '/array/fro', 'find', 'transfer', 'gWgge', 'PATH_PROJE', '\x0a###转化完成,微', 'sgLyf', 'cSmzL', 'obal._main', 'message', 'text', 'chalk', '-palace.vi', 'unity_plug', 'ngify', 'global._ma', 'ntime\x20', '1953588bsrXxp', '包后直接生成二维码,', 'resolve', 'tGHRv', 'in,替换为wx.r', '!\x0a\x0a', 'kager/inde', 'lugin\x20', 'EwIQl', '开始获取UnityP', '\x20=\x20\x27', 'nmeKf', 'pgyEx', 'isUnity', 'wxdemo', 'relative', '微信分包中包含mai', 'AlarT', 'tLdqZ', 'erty', 'EkKIf', 'manifest.j', 'SIGINT', '失败:', 'hwmfP', '的代码', 'vo.com.cn/', '14clYFLD', 'overwrite', '../utils/r', '解决白鹭引擎屏幕尺寸', 's)?\x20\x20', 'cnsUr', 'log', 'cgScz', 'mp.js', 'kzpGJ', '=require(\x22', 'replace', '生成二维码', '-transfer|', 'ld打包完成,生成相', 'IIazc', 'wx.require', 'mfGpC', 'split', '||\x20\x22\x22;', '/object/ge', '信的部分API和qg', 'eaPQt', 'ogLcH', '配置到qg联盟转换目', 'ejFnp', 'PPAbj', '正在改写game.j', '正在拷贝微小工程qg', 'red-utils/', 't-own-prop', 'ev.reason\x20', 'fig/get?co', 'YmRdE', '下存在文件:game', '###工程根目录是\x20', 're(\x22wx_uni', 'PqbvE', 'err);\x20', 'vKUnn', 'rface', '/promise', 'zhzZD', 'close', 'libVersion', 'function', 'kVSBF', 'readFileSy', 'substring', 'DeuaB', '正在获取packag', 'subpackage', '目录下', 'gin\x20', 'LACBM', '/\x5c/files', '正在获取manife', 'global.__q', 'laxOT', 'zPwbq', 'ide', 'andleError', 'lUIbO', 'let\x20plugin', 'equestIde.', 's2/helpers', 'Toutt', 'src/game.j', 'lugin.js文件', ',\x20qg联盟工程将导', 'Plugin(', 'LlZYQ', 'rty', '.framework', 'vslsL', '(node_modu', 'VyPKa', 'allianceVe', '不支持当前Unity', 'Plugin版本:', 'toLowerCas', '正在拷贝微信小游戏源', '的deviceOri', 'k包体将打包到', 'wAmls', 'kager/lib/', 'https://vg', '\x0a\x20\x0a\x20###bui', '\x20load\x20WxUn', 'FenvT', 'bOudh', 'root', '中的信息', 'axzNC', '目录:', 'e.json的信息', '盟工程下manife', '的\x20sign\x20文件夹', '问题,setCanv', '.js', 'TUgHH', 'WxUnityPlu', '4NeuyqJ', 'RWLgS', 'kGhSl', 'cZvWO', 'updateProj', 'vivo-trans', 'eKFRi', 'in;\x0a', 'ugin_', 'onseHeader', 'BSJrE', 'existsSync', 'node-fetch', 'mHLoX', 'question', 'CAVTH', '\x27Failed\x20to', 'fetchInfo', 'startsWith', 'xkQAQ', 'st.json|qg', 'ytzcC', 'cwd', 'BbsLJ', ';try{requi', 'ncache)', 'q,\x20-q命令表示转', 'ovSdP', '中使用', 'renameSync', 'utf8', '_sub_name_', 'uest', 'package.js', 'ZGnWd', '入小数值', 'lib/fsUtil', 'stdin', 'quireDefau', 'ole.error(', '.unityweb.', 'lGSjC', '检测到微信工程存在m', 'SAzLi', 'wx_Game.js', 'yes', '-qg-transf', 'tqqsE', 'st.json:\x20y', 'TcAFz', '应的二维码,可用调试', 'Manifest配置', 'es分包重写为:', 'project.co', 'copy\x20Unity', '__esModule', 'soNfX', '件替换,请检查!\x0a', '\x27,error);t', 'name', ',运行时会注册到gl', 'IvfjS', 'qwkXE', '正在清理qg联盟工程', '的subpackag', 'deviceOrie', '的version为', '\x0a\x20qg联盟工程的m', 'YCNSe', 'default', '1.2.32', '建议先配置manif', 'wx-templat', 'IuDSL', 'anifest文件:', ',并重新生成game', 'src', 'prettyjson', 'blueBright', '}module.ex', '$1\x20||\x20true', '微信引擎插件替换\x20r', '/json/stri', 'zXqoA', 'qhSoH', 'DIST', '\x0a###manife', '../cli-pac', 'slice', 'transfer\x20', 'has', 'YhLBu', 'initServer', '[正在添加ps信息]', 'kfjtq', 'VctrK', 'entation重写', 'open', 'hDLlh', 'UnWrv', 'BdhRN', 'iQbNc', 'kUNNV', '../cli-sha', 'fer|.plugi', 'xxVHk', '\x0a\x20微信工程下的ma', 'dirname', 'UnityPlugi', 'qg-transfe', 'wptIf', 'dnHSI', '40KTEiBm', 'ityPlugin:', 'createInte', 'in_', 'sign', 'amKgv', 's2/core-js', '当前环境的Node.', 'HqzSA', '的\x20manifest', 'fine-prope', 'red-utils', 'fVgss', 'est文件中包名版本', 'iptor', 'time-corej', '获取UnityPlu', 'hrow\x20error', 'uDgLa', '(err,\x20code', 'JsAxt', 'vnrbX', '\x20失败', 'VBEqf', 'in_sub_nam', 'build\x20任务执行', 'argv', 'join', '换且打包完成时,直接', 'I,请根据提示进行手', 'endsWith', 'ajnIs', 'wPkAj', 'nfigId=107', '/object/de', 'st.json', 'LNgid', 'nfig.json', 'onload', 'ty_audio.j', '生成WxUnityP', 'iTpIV', 'erty-descr', 'BKBMo', 'main_sub', 'ECQhG', 'RHwEA', 'TyVJD', 'NvDAL', '\x0a###转化完成后,', '联盟小游戏存在差异,', 'get', 'ver/index.', 'ntation', 'les|manife', 'default\x20ye', 'js的版本号为', '2111106jDLEaf', 'me...', 'Plugin依赖的b', ')\x20{\x20\x0a\x20cons', 'game.js', 'rZcuO', 'projectnam', 'abvUq', 'hasOwnProp', 'XHNkL', 'nvkND', 'ochOa', 'rror){cons' ]; _0xe4f0 = function () { return _0x509547; }; return _0xe4f0(); } let isIde = ![], targetPath = ''; console[_0x21d888(0x234)](_0x21d888(0x115)); try { process[_0x21d888(0x182)] = _0x21d888(0x111) + (0xf76 * 0x1 + -0x31 * -0x17 + -0x13dd, _from[_0x21d888(0xfd)])(process[_0x21d888(0x142)])[_0x21d888(0x110)](0x1d00 + -0x1c0c + -0xf2)[_0x21d888(0x143)]('\x20'); } catch (_0x478a99) { process[_0x21d888(0x182)] = _0x21d888(0x204); } async function _transfer(_0xe2a062) { const _0x42bdff = _0x21d888, _0x2b4cb1 = { 'TcAFz': function (_0xf10b5d, _0x3b3a90) { return _0xf10b5d(_0x3b3a90); }, 'ovSdP': function (_0x2c9184, _0x24946f) { return _0x2c9184 + _0x24946f; }, 'ajnIs': _0x42bdff(0x2c2) + 'er', 'PqbvE': _0x42bdff(0x125) + 'r', 'TyVJD': _0x42bdff(0x228) + _0x42bdff(0x1a9), 'vnrbX': _0x42bdff(0x1ab) + _0x42bdff(0x14b), 'UsYrL': _0x42bdff(0x12c), 'ryAeh': function (_0x168659, _0x2a888f) { return _0x168659(_0x2a888f); }, 'kHrXH': _0x42bdff(0x1fe) + '..', 'HqzSA': _0x42bdff(0x100) + 'es', 'EwIQl': _0x42bdff(0x19b), 'QRboZ': function (_0x58f5ec, _0x2e2601) { return _0x58f5ec(_0x2e2601); }, 'FenvT': function (_0x16d684, _0x3aa44d) { return _0x16d684(_0x3aa44d); }, 'UnWrv': _0x42bdff(0x260) + _0x42bdff(0x28d), 'LNgid': _0x42bdff(0x2b5) + 'on', 'mfGpC': _0x42bdff(0x2c9) + _0x42bdff(0x14d), 'LACBM': _0x42bdff(0x266) + _0x42bdff(0x1aa), 'sjBIp': function (_0xe03aaf, _0x4dfcc9) { return _0xe03aaf === _0x4dfcc9; }, 'dpPoj': _0x42bdff(0x261) + 's', 'BXhUA': function (_0x3296ac, _0x509cad) { return _0x3296ac < _0x509cad; }, 'xMwOn': _0x42bdff(0x1a8), 'ECQhG': function (_0x1c815c, _0x47cc83) { return _0x1c815c !== _0x47cc83; }, 'Tspes': function (_0x39a247, _0x95663c) { return _0x39a247 === _0x95663c; }, 'BdhRN': _0x42bdff(0x291), 'eaPQt': function (_0x3aa9a6, _0x446b7f) { return _0x3aa9a6 === _0x446b7f; }, 'nmeKf': _0x42bdff(0x124) + 'n', 'RHwEA': function (_0x4c5ed8, _0x2e9778) { return _0x4c5ed8 === _0x2e9778; }, 'iTpIV': _0x42bdff(0x221), 'tLdqZ': function (_0x3ef00b, _0x2d5783) { return _0x3ef00b(_0x2d5783); }, 'YCNSe': function (_0x5a6b4a, _0x3572f4) { return _0x5a6b4a === _0x3572f4; }, 'VBEqf': function (_0xe725f6, _0x3be433) { return _0xe725f6 === _0x3be433; }, 'CAVTH': function (_0xafb6ec, _0x369d84) { return _0xafb6ec(_0x369d84); }, 'kGhSl': function (_0x586816, _0x4e45e4) { return _0x586816(_0x4e45e4); }, 'EkKIf': _0x42bdff(0xfb) + _0x42bdff(0x102), 'VctrK': _0x42bdff(0x271) + 's', 'zhzZD': _0x42bdff(0x2b2), 'qMMHS': _0x42bdff(0x104), 'fVgss': _0x42bdff(0x279) + _0x42bdff(0x15e) + _0x42bdff(0x2a8) + _0x42bdff(0x23b) + _0x42bdff(0x299) + _0x42bdff(0x120) + _0x42bdff(0x2ad), 'kVSBF': function (_0x5638a5, _0x22d773, _0x10446b) { return _0x5638a5(_0x22d773, _0x10446b); }, 'axzNC': function (_0x3dbb13, _0x412aed) { return _0x3dbb13(_0x412aed); }, 'vslsL': _0x42bdff(0x165), 'BehBF': _0x42bdff(0x2c0), 'tSfjn': _0x42bdff(0x18e) + _0x42bdff(0x236), 'OoRzJ': function (_0x3f7b1f, _0x52f02c) { return _0x3f7b1f(_0x52f02c); }, 'cnsUr': function (_0x591bbf, _0x3fb449) { return _0x591bbf(_0x3fb449); }, 'pgyEx': _0x42bdff(0x249) + 's', 'cVfGC': function (_0xdac76b, _0xfe56c4) { return _0xdac76b + _0xfe56c4; }, 'IvfjS': function (_0x44a47e, _0x543040) { return _0x44a47e + _0x543040; }, 'rZcuO': function (_0x34fa6d, _0x18e5a6) { return _0x34fa6d || _0x18e5a6; }, 'ICAFa': _0x42bdff(0x109) + _0x42bdff(0x1d1) + _0x42bdff(0x217) + _0x42bdff(0x1d1) + 'in', 'NvDAL': function (_0x57a4d2, _0x1990d8, _0x37e037) { return _0x57a4d2(_0x1990d8, _0x37e037); }, 'UPdyq': _0x42bdff(0x23e) + _0x42bdff(0x274), 'cgScz': function (_0x5cbd55, _0x5a30a5) { return _0x5cbd55(_0x5a30a5); }, 'tqqsE': _0x42bdff(0x231) + _0x42bdff(0x290) + _0x42bdff(0x192) + _0x42bdff(0x2b7), 'Tfaqo': function (_0xa964f5, _0x5a3105, _0x2832c0) { return _0xa964f5(_0x5a3105, _0x2832c0); }, 'ZGnWd': _0x42bdff(0x1ef), 'YhLBu': function (_0x20098e, _0x6004a, _0xd794ed) { return _0x20098e(_0x6004a, _0xd794ed); }, 'laxOT': _0x42bdff(0x267) + _0x42bdff(0x1fb), 'kUNNV': _0x42bdff(0xfe), 'TSbeL': _0x42bdff(0x150) + _0x42bdff(0x272), 'AlarT': _0x42bdff(0x293) + _0x42bdff(0x1e5), 'VyPKa': _0x42bdff(0x2ca) + _0x42bdff(0x163) + _0x42bdff(0x1fa) + _0x42bdff(0x162), 'NwKBm': _0x42bdff(0x1ba) + _0x42bdff(0x18d), 'ochOa': _0x42bdff(0x19c) + _0x42bdff(0x277) + _0x42bdff(0x2bc) + 'js', 'xxVHk': _0x42bdff(0x1dd), 'abvUq': function (_0x4d7954, _0x564d7c, _0x5b1017) { return _0x4d7954(_0x564d7c, _0x5b1017); }, 'uDgLa': _0x42bdff(0x1e9) + _0x42bdff(0x212), 'phyTn': function (_0x13ad04, _0x4e087c, _0x187d0e) { return _0x13ad04(_0x4e087c, _0x187d0e); }, 'pxfHO': _0x42bdff(0x199) + _0x42bdff(0x26b) + _0x42bdff(0x13b) + _0x42bdff(0x164) + _0x42bdff(0x2bb) + _0x42bdff(0x254), 'BSJrE': function (_0x2c09c8, _0x2a309f, _0x3e538a) { return _0x2c09c8(_0x2a309f, _0x3e538a); }, 'IuDSL': _0x42bdff(0x24d) + _0x42bdff(0x241), 'IIazc': function (_0x3cfc34, _0x4ce99d, _0x347955) { return _0x3cfc34(_0x4ce99d, _0x347955); }, 'cZvWO': _0x42bdff(0x1b6) + _0x42bdff(0x265), 'SAzLi': function (_0x4b940c, _0x53262a, _0x5691de) { return _0x4b940c(_0x53262a, _0x5691de); }, 'LlZYQ': _0x42bdff(0x108) + _0x42bdff(0x1d6) }, _0x25069f = process[_0x42bdff(0x2aa)](); _0x2b4cb1[_0x42bdff(0x2c5)](warn, chalk[_0x42bdff(0x106)]((0x6 * -0x486 + -0xa3f * 0x1 + 0x2563, _stringify[_0x42bdff(0xfd)])(projectPath))); const _0x5866ad = projectPath || process[_0x42bdff(0x171)][_0x42bdff(0x206) + 'CT'] || _0x25069f; await _0x2b4cb1[_0x42bdff(0x2c5)](check, _0x5866ad); const _0x4ce7d2 = _0x2b4cb1[_0x42bdff(0x2af)](path[_0x42bdff(0x1ff)](_0x5866ad), _0x2b4cb1[_0x42bdff(0x147)]), _0x2dce76 = _0xe2a062 || path[_0x42bdff(0x143)](path[_0x42bdff(0x123)](_0x5866ad), _0x4ce7d2); _0x2b4cb1[_0x42bdff(0x2c5)](warn, chalk[_0x42bdff(0x106)](_0x42bdff(0x251) + _0x5866ad + (_0x42bdff(0x273) + _0x42bdff(0x180)) + _0x2dce76)), _0x2b4cb1[_0x42bdff(0x2c5)](warn, _0x42bdff(0xf7) + _0x42bdff(0x28c) + _0x2dce76), fsExt[_0x42bdff(0x1ca)](_0x2dce76, { 'recursive': !![], 'exclude': /node_modules|src[\\/]+manifest\.json|sign/, 'build': !![] }); const _0x736504 = path[_0x42bdff(0x143)](_0x5866ad, _0x2b4cb1[_0x42bdff(0x253)]), _0x367e11 = path[_0x42bdff(0x143)](_0x736504, _0x2b4cb1[_0x42bdff(0x157)]); fs[_0x42bdff(0x29f)](_0x367e11) && (_0x2b4cb1[_0x42bdff(0x2c5)](warn, _0x42bdff(0x24a) + _0x42bdff(0x1d7) + _0x42bdff(0x131) + _0x42bdff(0x1bd) + _0x42bdff(0x1f3)), fsExt[_0x42bdff(0x22f)](_0x367e11, path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x13d)]))); const _0x374475 = path[_0x42bdff(0x143)](_0x736504, _0x2b4cb1[_0x42bdff(0x177)]); fs[_0x42bdff(0x29f)](_0x374475) && (_0x2b4cb1[_0x42bdff(0x2c5)](warn, _0x42bdff(0x24a) + _0x42bdff(0x1d7) + _0x42bdff(0x28f) + _0x42bdff(0x246) + _0x42bdff(0x191)), fsExt[_0x42bdff(0x22f)](_0x374475, path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x177)]))); let _0x14181e; if (fs[_0x42bdff(0x29f)](path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x13d)]))) { const _0x10210e = path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x13d)]); _0x14181e = fsExt[_0x42bdff(0x16e)](_0x10210e), _0x14181e[_0x42bdff(0x261) + 's'] = []; } _0x2b4cb1[_0x42bdff(0x186)](warn, _0x2b4cb1[_0x42bdff(0x1f2)]); const _0x1ff186 = path[_0x42bdff(0x143)](__dirname, _0x2b4cb1[_0x42bdff(0x130)]); fsExt[_0x42bdff(0x22f)](_0x1ff186, _0x2dce76); const _0x2ff48b = path[_0x42bdff(0x143)](_0x5866ad, _0x2b4cb1[_0x42bdff(0x21b)]); _0x2b4cb1[_0x42bdff(0x17c)](warn, _0x42bdff(0x1c0) + _0x2ff48b + _0x42bdff(0x28a)); const _0x1778bd = fsExt[_0x42bdff(0x16e)](_0x2ff48b); _0x2b4cb1[_0x42bdff(0x287)](warn, _0x2b4cb1[_0x42bdff(0x11b)]); const _0x43955e = path[_0x42bdff(0x143)](_0x5866ad, _0x2b4cb1[_0x42bdff(0x14c)]); let _0x399c24 = ''; fs[_0x42bdff(0x29f)](_0x43955e) && (_0x399c24 = fsExt[_0x42bdff(0x16e)](_0x43955e)); let _0xb59d58 = ''; fs[_0x42bdff(0x29f)](path[_0x42bdff(0x143)](_0x5866ad, _0x2b4cb1[_0x42bdff(0x23f)])) && (_0xb59d58 = fsExt[_0x42bdff(0x16e)](path[_0x42bdff(0x143)](_0x5866ad, _0x2b4cb1[_0x42bdff(0x23f)]))); _0x2b4cb1[_0x42bdff(0x287)](warn, _0x2b4cb1[_0x42bdff(0x264)]); const _0x5b389d = path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x13d)]); !_0x14181e && (_0x14181e = fsExt[_0x42bdff(0x16e)](_0x5b389d)); let _0x3cb4cc = '', _0x1361d6 = ''; const _0x274a26 = {}; if (_0x1778bd) { _0x1778bd[_0x42bdff(0xf9) + _0x42bdff(0x15d)] && (_0x14181e[_0x42bdff(0xf9) + _0x42bdff(0x15d)] = _0x1778bd[_0x42bdff(0xf9) + _0x42bdff(0x15d)], _0x2b4cb1[_0x42bdff(0x17c)](warn, _0x42bdff(0x2c7) + _0x42bdff(0x280) + _0x42bdff(0x118) + '为' + _0x1778bd[_0x42bdff(0xf9) + _0x42bdff(0x15d)])); if (!_0x1778bd[_0x42bdff(0x261) + 's']) for (var _0x2f3c2a in _0x1778bd) { if (_0x2f3c2a && _0x2b4cb1[_0x42bdff(0x173)](_0x2f3c2a[_0x42bdff(0x27e) + 'e'](), _0x2b4cb1[_0x42bdff(0x17f)])) { _0x1778bd[_0x42bdff(0x261) + 's'] = _0x1778bd[_0x2f3c2a]; break; } } if (_0x1778bd[_0x42bdff(0x261) + 's']) { _0x14181e[_0x42bdff(0x261) + 's'] = _0x1778bd[_0x42bdff(0x261) + 's']; for (let _0x321957 = -0xb * 0x209 + -0x5e9 + 0x4 * 0x713; _0x2b4cb1[_0x42bdff(0x1f0)](_0x321957, _0x14181e[_0x42bdff(0x261) + 's'][_0x42bdff(0x1b9)]); _0x321957++) { if (_0x2b4cb1[_0x42bdff(0x173)](_0x14181e[_0x42bdff(0x261) + 's'][_0x321957][_0x42bdff(0xf3)], _0x2b4cb1[_0x42bdff(0x1d9)])) { let _0xa991b0 = ''; while (_0x2b4cb1[_0x42bdff(0x155)](_0x14181e[_0x42bdff(0x261) + 's'][_0x42bdff(0x203)](_0x28e4e2 => _0x28e4e2[_0x42bdff(0xf3)] === _0x42bdff(0x154) + _0xa991b0), undefined)) { _0xa991b0 = _0x2b4cb1[_0x42bdff(0x1f6)](_0xa991b0, '') ? '1' : _0xa991b0[_0x42bdff(0x239)](/\d+/, _0xf6c45a => Number(_0xf6c45a) + (0x12fe + -0xc * 0xe6 + -0x835)); } _0x14181e[_0x42bdff(0x261) + 's'][_0x321957][_0x42bdff(0xf3)] = _0x42bdff(0x154) + _0xa991b0, _0x3cb4cc = _0x42bdff(0x154) + _0xa991b0, _0x2b4cb1[_0x42bdff(0x186)](warn, _0x42bdff(0x223) + _0x42bdff(0x1ae) + _0x3cb4cc + (_0x42bdff(0xf4) + _0x42bdff(0x20a) + _0x42bdff(0x2b3) + _0x42bdff(0x2b0))); } let _0x4ff460 = _0x14181e[_0x42bdff(0x261) + 's'][_0x321957][_0x42bdff(0x289)]; !_0x4ff460[_0x42bdff(0x146)](_0x2b4cb1[_0x42bdff(0x11c)]) && !_0x4ff460[_0x42bdff(0x146)]('/') && (_0x4ff460 = _0x2b4cb1[_0x42bdff(0x2af)](_0x4ff460, '/')), _0x4ff460[_0x42bdff(0x2a6)]('/') && (_0x4ff460 = _0x4ff460[_0x42bdff(0x25e)](-0x1e77 + 0x1eaf + -0xb * 0x5)), _0x14181e[_0x42bdff(0x261) + 's'][_0x321957][_0x42bdff(0x289)] = _0x4ff460; } _0x2b4cb1[_0x42bdff(0x287)](warn, _0x42bdff(0x2c7) + _0x42bdff(0xf8) + _0x42bdff(0x2c8) + prettyjson[_0x42bdff(0x1cb)](_0x14181e[_0x42bdff(0x261) + 's']) + '\x0a'); } if (_0x1778bd[_0x42bdff(0x183)]) for (const _0x44d1c9 in _0x1778bd[_0x42bdff(0x183)]) { if (Object[_0x42bdff(0x169) + _0x42bdff(0x226)][_0x42bdff(0x1f1)](_0x1778bd[_0x42bdff(0x183)], _0x44d1c9)) { const _0x1d85ef = _0x44d1c9, _0xc7d564 = _0x1778bd[_0x42bdff(0x183)][_0x44d1c9]; console[_0x42bdff(0x234)](_0x44d1c9, _0xc7d564), _0xc7d564[_0x42bdff(0x1a0)] && (_0x274a26[_0x1d85ef] = _0xc7d564[_0x42bdff(0x1a0)]), _0x2b4cb1[_0x42bdff(0x244)](_0x1d85ef, _0x2b4cb1[_0x42bdff(0x21e)]) && _0xc7d564[_0x42bdff(0x19e)] && (_0x1361d6 = _0xc7d564[_0x42bdff(0x19e)], console[_0x42bdff(0x234)](_0x1361d6), _0x14181e[_0x42bdff(0x220)] = !![]); } } } if (_0x2b4cb1[_0x42bdff(0x156)](_0x14181e[_0x42bdff(0xf3)], _0x2b4cb1[_0x42bdff(0x151)]) || _0x2b4cb1[_0x42bdff(0x1f6)](_0x14181e[_0x42bdff(0xf3)], _0xb59d58[_0x42bdff(0x167) + 'e']) || _0x2b4cb1[_0x42bdff(0x156)](_0x14181e[_0x42bdff(0xf3)], _0x399c24[_0x42bdff(0x167) + 'e'])) { if (_0x399c24) _0x14181e[_0x42bdff(0xf3)] = _0x399c24[_0x42bdff(0xf3)] ? _0x399c24[_0x42bdff(0xf3)] : _0x2b4cb1[_0x42bdff(0x151)], _0x2b4cb1[_0x42bdff(0x17c)](warn, _0x42bdff(0x2c7) + _0x42bdff(0x1d0) + _0x14181e[_0x42bdff(0xf3)]); else _0xb59d58 && (_0x14181e[_0x42bdff(0xf3)] = _0xb59d58[_0x42bdff(0x167) + 'e'] ? _0xb59d58[_0x42bdff(0x167) + 'e'] : _0x2b4cb1[_0x42bdff(0x151)], _0x2b4cb1[_0x42bdff(0x225)](warn, _0x42bdff(0x2c7) + _0x42bdff(0x1d0) + _0x14181e[_0x42bdff(0xf3)])); } if (_0x2b4cb1[_0x42bdff(0x244)](_0x14181e[_0x42bdff(0x1be) + 'e'], '1') || _0x2b4cb1[_0x42bdff(0xfc)](_0x14181e[_0x42bdff(0x1be) + 'e'], _0xb59d58[_0x42bdff(0x25a)]) || _0x2b4cb1[_0x42bdff(0x13f)](_0x14181e[_0x42bdff(0x1be) + 'e'], _0x399c24[_0x42bdff(0x19e)])) { if (_0x399c24) _0x14181e[_0x42bdff(0x1be) + 'e'] = _0x399c24[_0x42bdff(0x19e)] ? _0x399c24[_0x42bdff(0x19e)] : '1', _0x2b4cb1[_0x42bdff(0x2a3)](warn, _0x42bdff(0x2c7) + _0x42bdff(0xfa) + _0x14181e[_0x42bdff(0x1be) + 'e']); else _0xb59d58 && (_0x14181e[_0x42bdff(0x1be) + 'e'] = _0xb59d58[_0x42bdff(0x25a)] ? _0xb59d58[_0x42bdff(0x25a)] : '1', _0x2b4cb1[_0x42bdff(0x296)](warn, _0x42bdff(0x2c7) + _0x42bdff(0xfa) + _0x14181e[_0x42bdff(0x1be) + 'e'])); } _0x14181e[_0x42bdff(0x1e1)] = 'wx'; _0x1361d6 && (_0x14181e[_0x42bdff(0x1e1)] = _0x42bdff(0x1a4) + _0x42bdff(0x29c) + _0x1361d6); _0x14181e[_0x42bdff(0x27b) + _0x42bdff(0x175)] = 0x34b * 0x1 + -0x76d * 0x5 + 0x1 * 0x26ea, console[_0x42bdff(0x234)](_0x2b4cb1[_0x42bdff(0x227)]), console[_0x42bdff(0x234)](_0x14181e), fs[_0x42bdff(0x1db) + _0x42bdff(0x1cc)](_0x5b389d, (0x1 * -0x44b + 0x18ec + -0x14a1, _stringify[_0x42bdff(0xfd)])(_0x14181e)); const _0x1dcaee = path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x117)]), _0x116299 = fs[_0x42bdff(0x25d) + 'nc'](_0x1dcaee, { 'encoding': _0x2b4cb1[_0x42bdff(0x258)] }), _0x2aff63 = path[_0x42bdff(0x143)](_0x2dce76, _0x2b4cb1[_0x42bdff(0x1e0)]); _0x2b4cb1[_0x42bdff(0x186)](warn, _0x42bdff(0x27f) + '码到' + _0x2aff63), fsExt[_0x42bdff(0x22f)](_0x5866ad, _0x2aff63, { 'exclude': new RegExp(_0x2b4cb1[_0x42bdff(0x134)]) }); const _0x16235a = path[_0x42bdff(0x143)](_0x5866ad, _0x2b4cb1[_0x42bdff(0x157)]); fs[_0x42bdff(0x29f)](_0x16235a) && await _0x2b4cb1[_0x42bdff(0x25c)](overwriteManifest, _0x16235a, path[_0x42bdff(0x143)](_0x2aff63, _0x2b4cb1[_0x42bdff(0x157)])); await _0x2b4cb1[_0x42bdff(0x28b)](check, _0x2aff63); const _0x34f5f5 = path[_0x42bdff(0x215)](_0x2aff63, _0x2b4cb1[_0x42bdff(0x278)]); let _0x4a8148 = path[_0x42bdff(0x143)](_0x2aff63, _0x2b4cb1[_0x42bdff(0x188)]); fs[_0x42bdff(0x29f)](_0x4a8148) && (_0x4a8148 = path[_0x42bdff(0x143)](_0x2aff63, _0x2b4cb1[_0x42bdff(0x17e)])); fs[_0x42bdff(0x2b1)](_0x34f5f5, _0x4a8148), _0x2b4cb1[_0x42bdff(0x1ec)](warn, _0x42bdff(0x1cd) + _0x42bdff(0x17b) + _0x4a8148 + (_0x42bdff(0x103) + 'JS')); let _0x39ca80 = ''; _0x2b4cb1[_0x42bdff(0x155)](_0x3cb4cc, '') && (_0x39ca80 = _0x42bdff(0x211) + _0x42bdff(0x140) + _0x42bdff(0x1c6) + _0x3cb4cc + '\x27\x0a'); let _0x1da39f = ![]; for (const _0x50f76d in _0x274a26) { if (_0x2b4cb1[_0x42bdff(0x155)](_0x50f76d, _0x274a26[_0x50f76d])) { const _0x5e8377 = path[_0x42bdff(0x215)](_0x2aff63, _0x50f76d), _0x3c3d38 = path[_0x42bdff(0x143)](_0x2aff63, _0x274a26[_0x50f76d]); fs[_0x42bdff(0x2b1)](_0x3c3d38, _0x5e8377); } _0x39ca80 += _0x42bdff(0x1a6) + _0x42bdff(0x1da) + _0x42bdff(0x21d) + _0x50f76d + '\x27\x0a', _0x1da39f = !![]; } _0x2b4cb1[_0x42bdff(0x233)](warn, _0x2b4cb1[_0x42bdff(0x21f)]); const _0x1d6c28 = path[_0x42bdff(0x222)](_0x2aff63, _0x4a8148), _0x4228ec = _0x42bdff(0x1a3) + '/' + _0x1d6c28 + _0x42bdff(0x1ea); fs[_0x42bdff(0x1db) + _0x42bdff(0x1cc)](_0x1dcaee, _0x2b4cb1[_0x42bdff(0x184)](_0x2b4cb1[_0x42bdff(0xf5)](_0x39ca80, _0x116299), _0x4228ec), _0x2b4cb1[_0x42bdff(0x258)]); _0x2b4cb1[_0x42bdff(0x166)](_0x1da39f, _0x1361d6) && (_0x2b4cb1[_0x42bdff(0x287)](warn, _0x2b4cb1[_0x42bdff(0x1de)]), _0x2b4cb1[_0x42bdff(0x158)](replaceFiles, _0x2dce76, { 'include': /\.[jJ][sS]$/, 'exclude': /node_modules|\.json|babel\.config\.js$|minigame\.config\.js|wxadapter$/, 'map': /requirePlugin\(/g, 'to': _0x2b4cb1[_0x42bdff(0x1b7)] })); _0x2b4cb1[_0x42bdff(0x235)](warn, _0x2b4cb1[_0x42bdff(0x2c3)]), _0x2b4cb1[_0x42bdff(0x18c)](replaceFiles, _0x2dce76, { 'include': /egret\.wxgame\.js$/, 'exclude': /node_modules|\.json|babel\.config\.js$|minigame\.config\.js|wxadapter$/, 'map': /Math\.ceil\([^;]*\)[;,][^;,]*Math\.ceil\([^;]*\)[;,][^;,]*DisplayList\.\$setCanvasScale/g, 'replaceFrom': /Math\.ceil/g, 'replaceTo': _0x2b4cb1[_0x42bdff(0x2b6)] }), _0x2b4cb1[_0x42bdff(0x113)](replaceFiles, _0x2dce76, { 'include': /\.[jJ][sS]$/, 'exclude': /node_modules|\.json|babel\.config\.js$|minigame\.config\.js|wxadapter$/, 'map': /["']function["']\s*==\s*typeof\s*require\s*&&\s*require[;, ]/g, 'replaceFrom': /["']function["']\s*==\s*typeof\s*require\s*&&\s*require/g, 'replaceTo': _0x2b4cb1[_0x42bdff(0x268)] }); if (_0x1361d6) { _0x1361d6 = _0x2b4cb1[_0x42bdff(0x11e)], _0x2b4cb1[_0x42bdff(0x2c5)](warn, _0x42bdff(0x21c) + _0x42bdff(0x21a) + _0x1361d6 + _0x42bdff(0x22c)); const _0x3e442d = _0x42bdff(0x20f) + _0x42bdff(0x12b) + _0x1361d6 + _0x42bdff(0x291); _0x2b4cb1[_0x42bdff(0x2c5)](warn, _0x2b4cb1[_0x42bdff(0x1f4)]); const _0x4c7b7b = path[_0x42bdff(0x143)](_0x2aff63, _0x2b4cb1[_0x42bdff(0x224)]), _0x57f99b = _0x42bdff(0x26d) + _0x42bdff(0x2ac) + _0x42bdff(0x252) + _0x42bdff(0x14f) + _0x42bdff(0x1ee) + _0x42bdff(0x238) + _0x3e442d + (_0x42bdff(0x176) + _0x42bdff(0x16d) + _0x42bdff(0x2bb) + _0x42bdff(0x2a4) + _0x42bdff(0x286) + _0x42bdff(0x129) + _0x42bdff(0xf2) + _0x42bdff(0x139) + _0x42bdff(0x107) + _0x42bdff(0x17a) + _0x42bdff(0x29b)); fs[_0x42bdff(0x1db) + _0x42bdff(0x1cc)](_0x4c7b7b, _0x57f99b), _0x2b4cb1[_0x42bdff(0x186)](warn, _0x2b4cb1[_0x42bdff(0x27a)]); const _0x53def8 = path[_0x42bdff(0x143)](__dirname, _0x2b4cb1[_0x42bdff(0x172)]); fsExt[_0x42bdff(0x22f)](_0x53def8, _0x2aff63); const _0x9dc4db = path[_0x42bdff(0x143)](_0x2aff63, _0x2b4cb1[_0x42bdff(0x16c)]); _0x2b4cb1[_0x42bdff(0x158)](replaceFiles, _0x9dc4db, { 'map': /unityInstance/g, 'to': _0x2b4cb1[_0x42bdff(0x121)] }), _0x2b4cb1[_0x42bdff(0x168)](replaceFiles, _0x9dc4db, { 'map': /\bRuntime\b/g, 'to': _0x2b4cb1[_0x42bdff(0x13a)] }), _0x2b4cb1[_0x42bdff(0x1e7)](replaceFiles, _0x9dc4db, { 'map': /function HandleError\(err, code\) \{/g, 'to': _0x2b4cb1[_0x42bdff(0x1c1)] }), _0x2b4cb1[_0x42bdff(0x29e)](replaceFiles, _0x9dc4db, { 'map': /ev.reason;/g, 'to': _0x2b4cb1[_0x42bdff(0x101)] }), _0x2b4cb1[_0x42bdff(0x23d)](replaceFiles, _0x2dce76, { 'map': /(?<![a-zA-Z])wxfile:/g, 'to': _0x2b4cb1[_0x42bdff(0x297)] }), _0x2b4cb1[_0x42bdff(0x2bf)](replaceFiles, _0x2dce76, { 'map': /(GameGlobal\.canUseH5Renderer)\s*\?\s*([a-zA-Z_$][0-9a-zA-Z_$]*\.wasm_split\.logCall\s*=)/g, 'to': _0x2b4cb1[_0x42bdff(0x275)] }); } return _0x2b4cb1[_0x42bdff(0x186)](warn, chalk[_0x42bdff(0x106)](_0x42bdff(0x207) + _0x42bdff(0x243) + _0x42bdff(0x15a) + _0x42bdff(0x174) + _0x42bdff(0x1b4) + _0x42bdff(0x145) + _0x42bdff(0x185))), _0x2b4cb1[_0x42bdff(0x225)](warn, chalk[_0x42bdff(0x106)](_0x42bdff(0x159) + _0x42bdff(0xff) + _0x42bdff(0x135) + _0x42bdff(0x1d4) + _0x42bdff(0x218))), _0x2dce76; } async function overwriteManifest(_0x52676c, _0x594376) { const _0x44f202 = _0x21d888, _0x4facdf = { 'kfjtq': _0x44f202(0x122) + _0x44f202(0x194), 'ejFnp': function (_0x26a286, _0xec131f) { return _0x26a286(_0xec131f); }, 'xkQAQ': _0x44f202(0x2be) + _0x44f202(0x1bc) + _0x44f202(0x1d2) + _0x44f202(0x28e) + _0x44f202(0x2c4) + _0x44f202(0x1c9) + _0x44f202(0x15f) + _0x44f202(0x232), 'qhSoH': function (_0x51ef52, _0x5cea3a) { return _0x51ef52 === _0x5cea3a; }, 'hzSTL': _0x44f202(0x2c1) }, _0x3a39d9 = fsExt[_0x44f202(0x16e)](_0x52676c); console[_0x44f202(0x234)](_0x4facdf[_0x44f202(0x116)]), console[_0x44f202(0x234)](_0x3a39d9); const _0x4f4d8e = await _0x4facdf[_0x44f202(0x247)](readInput, _0x4facdf[_0x44f202(0x2a7)]); (!_0x4f4d8e || _0x4facdf[_0x44f202(0x10c)](_0x4f4d8e, _0x4facdf[_0x44f202(0x1c2)])) && (_0x4facdf[_0x44f202(0x247)](warn, chalk[_0x44f202(0x106)](_0x44f202(0x10e) + _0x44f202(0x1c3) + _0x44f202(0x2cd))), fsExt[_0x44f202(0x22f)](_0x52676c, _0x594376)); } async function readInput(_0x2c6c63) { const _0x315edf = _0x21d888, _0x418f1b = { 'CmNbj': function (_0x66d140, _0x43254a) { return _0x66d140(_0x43254a); }, 'soNfX': _0x315edf(0x229) }; return new _promise[(_0x315edf(0xfd))](_0x2111bd => { const _0x31f1f7 = _0x315edf, _0x322745 = { 'XHNkL': function (_0x2fd869, _0x336270) { const _0x1fb6a0 = _0x8075; return _0x418f1b[_0x1fb6a0(0x198)](_0x2fd869, _0x336270); } }, _0x174dd3 = readline[_0x31f1f7(0x12a) + _0x31f1f7(0x256)]({ 'input': process[_0x31f1f7(0x2b9)], 'output': process[_0x31f1f7(0x19a)] }); _0x174dd3[_0x31f1f7(0x2a2)](_0x2c6c63, _0x114774 => { const _0x5ae25d = _0x31f1f7; _0x174dd3[_0x5ae25d(0x259)](), _0x322745[_0x5ae25d(0x16a)](_0x2111bd, _0x114774); }), _0x174dd3['on'](_0x418f1b[_0x31f1f7(0x2cc)], () => { const _0x20f7f7 = _0x31f1f7; _0x174dd3[_0x20f7f7(0x259)](); }); }); } async function check(_0x1e39e1) { const _0x38e726 = _0x21d888, _0x54ae26 = { 'mHLoX': _0x38e726(0x165), 'vnAkK': function (_0x5b07f3, _0x19aba4) { return _0x5b07f3(_0x19aba4); }, 'DeuaB': _0x38e726(0x1f9), 'ogLcH': _0x38e726(0x19d) + 'h', 'qwkXE': _0x38e726(0x19b), 'DJQUP': function (_0x51a65a, _0xd2175d) { return _0x51a65a(_0xd2175d); } }; if (!fs[_0x38e726(0x29f)](path[_0x38e726(0x215)](_0x1e39e1, _0x54ae26[_0x38e726(0x2a1)]))) { _0x54ae26[_0x38e726(0x1b0)](error, _0x38e726(0x178) + _0x1e39e1 + (_0x38e726(0x250) + _0x38e726(0x291))); isIde && await (-0x1df + 0x12e9 * -0x1 + 0x1 * 0x14c8, _requestIde[_0x38e726(0x2a5)])({ 'status': _0x54ae26[_0x38e726(0x25f)] }, _0x54ae26[_0x38e726(0x245)]); throw new Error(_0x38e726(0x178) + _0x1e39e1 + (_0x38e726(0x250) + _0x38e726(0x291))); } if (!fs[_0x38e726(0x29f)](path[_0x38e726(0x215)](_0x1e39e1, _0x54ae26[_0x38e726(0xf6)]))) { _0x54ae26[_0x38e726(0x1fd)](error, _0x38e726(0x178) + _0x1e39e1 + (_0x38e726(0x250) + _0x38e726(0x197))); isIde && await (-0x20 * -0x2a + -0x1b0 + -0x390, _requestIde[_0x38e726(0x2a5)])({ 'status': _0x54ae26[_0x38e726(0x25f)] }, _0x54ae26[_0x38e726(0x245)]); throw new Error(_0x38e726(0x178) + _0x1e39e1 + (_0x38e726(0x250) + _0x38e726(0x197))); } } function _0x8075(_0x535e0d, _0xd6948a) { const _0x1417f0 = _0xe4f0(); return _0x8075 = function (_0x6b8af9, _0x48ba68) { _0x6b8af9 = _0x6b8af9 - (-0x1c7f + 0xb45 + 0x122c); let _0x174ab3 = _0x1417f0[_0x6b8af9]; return _0x174ab3; }, _0x8075(_0x535e0d, _0xd6948a); } async function httpsGetSync(_0x3b5965, _0x2a5e9d) { const _0x4f6947 = _0x21d888, _0x1d889 = { 'IfgDg': _0x4f6947(0x284) + _0x4f6947(0x20e) + _0x4f6947(0x22d) + _0x4f6947(0x1d3) + _0x4f6947(0x24e) + _0x4f6947(0x149), 'lUIbO': function (_0x303813, _0x5b3d60, _0x136059) { return _0x303813(_0x5b3d60, _0x136059); }, 'RWLgS': _0x4f6947(0x1ac), 'dnHSI': function (_0x49e64d, _0x568f37) { return _0x49e64d === _0x568f37; }, 'Toutt': function (_0x455b49, _0x286259, _0x1fa456, _0x6babd7) { return _0x455b49(_0x286259, _0x1fa456, _0x6babd7); }, 'zPwbq': _0x4f6947(0x1f9), 'uVmFD': _0x4f6947(0x19d) + 'h' }, _0x15abb6 = _0x1d889[_0x4f6947(0x195)], _0x1e5537 = JSON[_0x4f6947(0x16e)](await _0x1d889[_0x4f6947(0x26c)](makeRequest, _0x1d889[_0x4f6947(0x295)], _0x15abb6)); if (_0x1e5537 && _0x1d889[_0x4f6947(0x127)](_0x1e5537[_0x4f6947(0x201)], 0x11bb * 0x2 + 0x1e2 * -0x8 + -0xa33 * 0x2)) { const _0x472e97 = _0x1e5537[_0x4f6947(0x1ad)]; await _0x1d889[_0x4f6947(0x270)](downloadJSFile, _0x3b5965, _0x472e97[_0x2a5e9d], _0x2a5e9d); } else { isIde && await (-0x285 * 0xd + 0xd * 0x2b + 0x1 * 0x1e92, _requestIde[_0x4f6947(0x2a5)])({ 'status': _0x1d889[_0x4f6947(0x269)] }, _0x1d889[_0x4f6947(0x18b)]); throw new Error(_0x4f6947(0x138) + _0x4f6947(0x263) + _0x2a5e9d[_0x4f6947(0x239)](/-/g, '.') + _0x4f6947(0x13e)); } } function makeRequest(_0xbc538c, _0x561f5e) { const _0x89f407 = _0x21d888, _0xb5caf0 = { 'bOudh': function (_0x2f444d, _0x2fcd5f) { return _0x2f444d >= _0x2fcd5f; }, 'zXqoA': function (_0x56bcdf, _0x354cfd) { return _0x56bcdf < _0x354cfd; }, 'hVTBA': function (_0x5b7d61, _0x450bc4) { return _0x5b7d61(_0x450bc4); } }; return new _promise[(_0x89f407(0xfd))](function (_0x46af1f, _0x4d6531) { const _0x59cfaa = _0x89f407, _0x2f45d6 = { 'hDLlh': function (_0xa03b00, _0x4a7905) { const _0x29f035 = _0x8075; return _0xb5caf0[_0x29f035(0x288)](_0xa03b00, _0x4a7905); }, 'nVpCl': function (_0x20e08c, _0x2c6455) { const _0x34fce9 = _0x8075; return _0xb5caf0[_0x34fce9(0x10b)](_0x20e08c, _0x2c6455); }, 'TUgHH': function (_0x595681, _0x5125c5) { const _0x11ebda = _0x8075; return _0xb5caf0[_0x11ebda(0x1e4)](_0x595681, _0x5125c5); } }, _0x435328 = new XMLHttpRequest(); _0x435328[_0x59cfaa(0x119)](_0xbc538c, _0x561f5e), _0x435328[_0x59cfaa(0x14e)] = function () { const _0x2fd6b6 = _0x59cfaa; _0x2f45d6[_0x2fd6b6(0x11a)](this[_0x2fd6b6(0x1b8)], 0x2615 * -0x1 + 0x2 * 0x458 + -0x19 * -0x135) && _0x2f45d6[_0x2fd6b6(0x187)](this[_0x2fd6b6(0x1b8)], 0x21e * 0xc + 0x121 * -0x1f + 0x91 * 0x13) ? _0x2f45d6[_0x2fd6b6(0x292)](_0x46af1f, this[_0x2fd6b6(0x16f) + 'xt']) : _0x2f45d6[_0x2fd6b6(0x292)](_0x4d6531, new Error(this[_0x2fd6b6(0x1b8)])); }, _0x435328[_0x59cfaa(0x1e2)] = function () { const _0x193aca = _0x59cfaa; _0x2f45d6[_0x193aca(0x292)](_0x4d6531, new Error(this[_0x193aca(0x1b8)])); }, _0x435328[_0x59cfaa(0x1f7)](); }); } async function downloadJSFile(_0x18ca47, _0x239da2, _0x3c40ab) { const _0x1d16b9 = _0x21d888, _0x4be853 = { 'nvkND': function (_0x3bcdaf, _0xc1a062) { return _0x3bcdaf(_0xc1a062); }, 'tGHRv': _0x1d16b9(0x1a7) + _0x1d16b9(0x29d) + _0x1d16b9(0x1a2), 'YmRdE': _0x1d16b9(0x1f9), 'gWgge': _0x1d16b9(0x19d) + 'h' }; if (_0x239da2) { const _0x51829b = await _0x4be853[_0x1d16b9(0x16b)](fetch, _0x239da2), _0x1d6746 = await _0x51829b[_0x1d16b9(0x20c)](), _0x547c15 = _0x1d6746[_0x1d16b9(0x239)](/getAllResponseHeaders\(\),/g, _0x4be853[_0x1d16b9(0x216)]); fs[_0x1d16b9(0x1db) + _0x1d16b9(0x1cc)](_0x18ca47, _0x547c15); } else { isIde && await (0x2 * -0xcae + -0x3e1 + 0x1d3d, _requestIde[_0x1d16b9(0x2a5)])({ 'status': _0x4be853[_0x1d16b9(0x24f)] }, _0x4be853[_0x1d16b9(0x205)]); throw new Error(_0x1d16b9(0x27c) + _0x1d16b9(0x27d) + _0x3c40ab[_0x1d16b9(0x239)](/-/g, '.')); } } const transfer = async _0x1c5a8d => { const _0x16005e = _0x21d888, _0x1bba93 = { 'amKgv': function (_0x205693, _0x1a2b15) { return _0x205693(_0x1a2b15); }, 'DiibX': _0x16005e(0x285) + _0x16005e(0x23c) + _0x16005e(0x2c6) + _0x16005e(0x1eb), 'wPkAj': _0x16005e(0x1b5) + _0x16005e(0x196) + _0x16005e(0x214) + _0x16005e(0x1bb) + _0x16005e(0x1cf) + _0x16005e(0x2ae) + _0x16005e(0x144) + _0x16005e(0x23a), 'hwmfP': _0x16005e(0x1d8), 'QnqFe': _0x16005e(0x19d) + 'h', 'wptIf': function (_0x1f6e93, _0x193add) { return _0x1f6e93(_0x193add); }, 'iQbNc': _0x16005e(0x170) + ':' }; isIde = _0x1c5a8d && _0x1c5a8d[_0x16005e(0x26a)], targetPath = _0x1c5a8d[_0x16005e(0x181)] || ''; const _0xefcae2 = await _0x1bba93[_0x16005e(0x126)](_transfer, targetPath); process[_0x16005e(0x1df)](_0xefcae2), console[_0x16005e(0x234)](_0x1bba93[_0x16005e(0x11d)], _0xefcae2), paths[_0x16005e(0x298) + _0x16005e(0x1e6)](_0xefcae2); try { _0x1bba93[_0x16005e(0x126)](info, chalk[_0x16005e(0x106)](_0x16005e(0x200) + _0x16005e(0x193) + _0x16005e(0x281) + paths[_0x16005e(0x10d)] + _0x16005e(0x262))); const { q: _0x4cf497, a: _0x2b2124 } = _0x1c5a8d; _0x1c5a8d[_0x16005e(0x181)] = paths[_0x16005e(0x10d)], (0x1a91 * -0x1 + -0x1ec3 + 0x3954, _index2[_0x16005e(0x17d)])({ ..._0x1c5a8d, 'amd': !_0x2b2124, 'complete': () => { const _0x3fb080 = _0x16005e; _0x4cf497 ? (_0x1bba93[_0x3fb080(0x12d)](info, chalk[_0x3fb080(0x106)](_0x1bba93[_0x3fb080(0x1ce)])), (0x190a + 0x22b2 + -0x3bbc, _index[_0x3fb080(0x114)])()) : _0x1bba93[_0x3fb080(0x12d)](info, chalk[_0x3fb080(0x106)](_0x1bba93[_0x3fb080(0x148)])), isIde && (0x21e1 + -0xe87 + -0x9ad * 0x2, _requestIde[_0x3fb080(0x2a5)])({ 'status': _0x1bba93[_0x3fb080(0x22b)], 'path': _0xefcae2 }, _0x1bba93[_0x3fb080(0x1dc)]); } }); } catch (_0x572628) { console[_0x16005e(0x1f9)](_0x16005e(0x141) + _0x16005e(0x22a) + _0x572628[_0x16005e(0x20b)]); } }; exports[_0x21d888(0x204)] = transfer;