zmp-cli 3.15.8 → 3.15.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +97 -37
  2. package/build/index.js +1 -1
  3. package/config/index.js +1 -1
  4. package/create/index.js +1 -1
  5. package/create/utils/generate-app-config.js +1 -1
  6. package/create/utils/generate-npm-scripts.js +1 -1
  7. package/create/utils/get-options.js +1 -1
  8. package/create/utils/npm-scripts.js +1 -1
  9. package/deploy/index.js +1 -1
  10. package/deploy/utils/get-options.js +1 -1
  11. package/deploy/utils/request-upload.js +1 -1
  12. package/deploy/utils/upload-app.js +1 -1
  13. package/index.js +1 -1
  14. package/login/index.js +1 -1
  15. package/login/utils/get-options.js +1 -1
  16. package/login/utils/zalo-login.js +1 -1
  17. package/migrate/icons/update-icon-v3.js +1 -1
  18. package/migrate/index.js +1 -1
  19. package/migrate/utils/get-options.js +1 -1
  20. package/migrate/utils/migrate-react.js +1 -1
  21. package/package.json +2 -2
  22. package/start/index.js +1 -1
  23. package/sync/index-to-app-config.js +1 -1
  24. package/sync/index.js +1 -1
  25. package/utils/axios.js +1 -1
  26. package/utils/check-update.js +1 -1
  27. package/utils/constants.js +1 -1
  28. package/utils/env.js +1 -1
  29. package/utils/error.js +1 -1
  30. package/utils/find-files-by-ext.js +1 -1
  31. package/utils/find-free-port.js +1 -1
  32. package/utils/fs-extra.js +1 -1
  33. package/utils/generate-pages-map.js +1 -1
  34. package/utils/get-app-info.js +1 -1
  35. package/utils/get-current-project.js +1 -1
  36. package/utils/get-ip.js +1 -1
  37. package/utils/log.js +1 -1
  38. package/utils/node-blob.js +1 -1
  39. package/utils/resumable.d.js +1 -1
  40. package/utils/resumable.js +1 -1
  41. package/utils/spinner.js +1 -1
  42. package/utils/tunnel.js +1 -1
package/login/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1013(){const _0x3cf4a4=['login','1051665NyzIxb','catch','statusDone','permission_denied','./utils/zalo-login','statusStart','../utils/log','statusError','1690MyDmpE','request_timeout','2snxJYs','appId','Login...','ora','loginUrl','error_code','qrcode-terminal','stringify','getEnv','start','7326429COjrWW','../utils/axios','no-cache','setEnv','getQRCode','text','\x20(Time\x20out\x20after\x20','153vcZLEX','loginMethod','707754EMDzYv','generate','228208dLHruL','statusText','Token\x20Invalid!','stderr','msg','exports','env','stop','path','then','../utils/env','10VNLCCq','Login\x20failed!','token','192995rsdXvm','256608DMIfSd','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','POST','api_domain','zmpsk','decode','info','jsonwebtoken','7OqiHKN','2884YfCMFl','error_msg','Login\x20Success!','data','err'];_0x1013=function(){return _0x3cf4a4;};return _0x1013();}const _0x5f245f=_0x546f;(function(_0x1737c6,_0x46e3a9){const _0xc44cfc=_0x546f,_0x456174=_0x1737c6();while(!![]){try{const _0x3fdac6=parseInt(_0xc44cfc(0x20f))/0x1+parseInt(_0xc44cfc(0x1ec))/0x2*(parseInt(_0xc44cfc(0x1e2))/0x3)+parseInt(_0xc44cfc(0x1dc))/0x4*(-parseInt(_0xc44cfc(0x1ea))/0x5)+parseInt(_0xc44cfc(0x1ff))/0x6*(-parseInt(_0xc44cfc(0x1db))/0x7)+parseInt(_0xc44cfc(0x201))/0x8*(-parseInt(_0xc44cfc(0x1fd))/0x9)+-parseInt(_0xc44cfc(0x20c))/0xa*(-parseInt(_0xc44cfc(0x1f6))/0xb)+parseInt(_0xc44cfc(0x210))/0xc;if(_0x3fdac6===_0x46e3a9)break;else _0x456174['push'](_0x456174['shift']());}catch(_0x5f1572){_0x456174['push'](_0x456174['shift']());}}}(_0x1013,0x5dd76));function _0x546f(_0x1a87b9,_0x39b6d4){const _0x1013e3=_0x1013();return _0x546f=function(_0x546f40,_0x5f4b3f){_0x546f40=_0x546f40-0x1d7;let _0x28fb69=_0x1013e3[_0x546f40];return _0x28fb69;},_0x546f(_0x1a87b9,_0x39b6d4);}const e=require('chalk'),t=require(_0x5f245f(0x1ef)),r=require(_0x5f245f(0x1da)),a=require(_0x5f245f(0x1f2)),n=require('log-symbols'),o=require('../config'),s=require(_0x5f245f(0x20b)),i=require(_0x5f245f(0x1e8)),u=require(_0x5f245f(0x1e6)),{axiosClient:l}=require(_0x5f245f(0x1f7)),c=require('qs'),d=e['gray'](_0x5f245f(0x1ee)),p=t(d);module[_0x5f245f(0x206)]=async(_0x133070={},_0x38ca9f)=>{const _0x4fdbaa=_0x5f245f;let _0x43f9c0;_0x38ca9f||(_0x38ca9f={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){}}),_0x38ca9f[_0x4fdbaa(0x1e7)](d),p['start']();let _0x567bdd=_0x133070[_0x4fdbaa(0x1fe)],_0x39a474=_0x133070[_0x4fdbaa(0x1ed)]||s[_0x4fdbaa(0x1f4)](o[_0x4fdbaa(0x207)][_0x4fdbaa(0x1ed)]),_0x410ad2=_0x133070['token'],_0x3b6649=''+o[_0x4fdbaa(0x213)]+o[_0x4fdbaa(0x209)][_0x4fdbaa(0x1e1)];try{if(p[_0x4fdbaa(0x1f5)](),'zalo'===_0x567bdd){let _0x3e4bde;await new Promise((_0x21f914,_0xf01b44)=>{const _0x36ff3c=_0x4fdbaa;u[_0x36ff3c(0x1fa)](_0x39a474)['then'](function(_0x2eb8be){const _0x9e6864=_0x36ff3c;p['stop']();let _0x1590cb=_0x2eb8be[_0x9e6864(0x1df)];if(!_0x1590cb||_0x1590cb[_0x9e6864(0x1e0)]<0x0)return _0xf01b44(Error(_0x1590cb['msg']));let _0x2bbede=_0x1590cb['data']&&_0x1590cb[_0x9e6864(0x1df)][_0x9e6864(0x1f0)];return _0x3e4bde=_0x1590cb[_0x9e6864(0x1df)]&&_0x1590cb[_0x9e6864(0x1df)][_0x9e6864(0x1d7)],a[_0x9e6864(0x200)](_0x2bbede,{'small':!0x0},function(_0x57869d){const _0x2810dc=_0x9e6864;let _0x41948f=n[_0x2810dc(0x1d9)]+'\x20'+e['bold'](_0x2810dc(0x211)+_0x57869d);_0x38ca9f[_0x2810dc(0x1fb)](_0x41948f);}),s[_0x9e6864(0x1f9)](o[_0x9e6864(0x207)][_0x9e6864(0x1ed)],_0x39a474),_0x21f914();})['catch'](function(_0x5e46db){return p['stop'](),_0xf01b44(_0x5e46db);});}),await new Promise((_0x4795aa,_0x5550d3)=>{const _0x561dd4=_0x4fdbaa;if(!_0x3e4bde)return _0x5550d3(Error(_0x561dd4(0x203)));let _0x24c81c=0x0;_0x43f9c0=setInterval(()=>{const _0x1615f1=_0x561dd4;if(_0x38ca9f[_0x1615f1(0x202)](d+_0x1615f1(0x1fc)+(0x3c-_0x24c81c)+'s)'),_0x24c81c>0x3c)return clearInterval(_0x43f9c0),_0x5550d3(Error(o[_0x1615f1(0x1dd)][_0x1615f1(0x1eb)]));_0x24c81c++,u['checkStatus'](_0x3e4bde)[_0x1615f1(0x20a)](function(_0x46b3fb){const _0x2f5270=_0x1615f1;p[_0x2f5270(0x208)]();let _0x33b5b8=_0x46b3fb['data'];if(_0x33b5b8&&_0x33b5b8[_0x2f5270(0x1e0)]===o[_0x2f5270(0x1f1)][_0x2f5270(0x1e5)])return clearInterval(_0x43f9c0),_0x5550d3(Error(o[_0x2f5270(0x1dd)][_0x2f5270(0x1e5)]));if(_0x33b5b8&&_0x33b5b8[_0x2f5270(0x1e0)]===o[_0x2f5270(0x1f1)]['request_timeout'])return clearInterval(_0x43f9c0),_0x5550d3(Error(o[_0x2f5270(0x1dd)][_0x2f5270(0x1eb)]));if(_0x33b5b8&&_0x33b5b8[_0x2f5270(0x1e0)]>=0x0){clearInterval(_0x43f9c0);let _0x4afb9f=_0x33b5b8[_0x2f5270(0x1df)]&&_0x33b5b8['data']['jwt'];return s[_0x2f5270(0x1f9)](o[_0x2f5270(0x207)]['token'],_0x4afb9f),_0x38ca9f['statusDone'](_0x2f5270(0x1de)),_0x4795aa();}})[_0x1615f1(0x1e3)](function(_0x4e667b){const _0x11ac3e=_0x1615f1;return clearInterval(_0x43f9c0),p[_0x11ac3e(0x208)](),_0x5550d3(_0x4e667b);});},0x7d0);});}else await new Promise((_0x4e197a,_0x159a3c)=>{const _0x53f916=_0x4fdbaa;l({'url':_0x3b6649,'method':_0x53f916(0x212),'headers':{'cache-control':_0x53f916(0x1f8),'content-type':'application/x-www-form-urlencoded'},'data':c[_0x53f916(0x1f3)]({'accessToken':_0x410ad2,'appId':_0x39a474}),'withCredentials':!0x0})['then'](function(_0x4fc994){const _0x3dd443=_0x53f916;p[_0x3dd443(0x208)]();let _0x26343e=_0x4fc994[_0x3dd443(0x1df)];if(!_0x26343e||_0x26343e[_0x3dd443(0x1e0)]<0x0)return _0x159a3c(Error(_0x26343e[_0x3dd443(0x205)]));let _0x41b7e4=_0x26343e['data']&&_0x26343e['data']['jwt'];try{let _0x291d99=r[_0x3dd443(0x1d8)](_0x41b7e4);s[_0x3dd443(0x1f9)](o[_0x3dd443(0x207)]['appId'],_0x291d99[_0x3dd443(0x1ed)]),s[_0x3dd443(0x1f9)](o[_0x3dd443(0x207)][_0x3dd443(0x20e)],_0x41b7e4);}catch(_0x4648c4){return _0x159a3c(_0x4648c4);}return _0x38ca9f[_0x3dd443(0x1e4)](_0x3dd443(0x1de)),_0x4e197a();})[_0x53f916(0x1e3)](function(_0x5e1bf3){const _0x2a2262=_0x53f916;return p[_0x2a2262(0x208)](),_0x159a3c(_0x5e1bf3);});});}catch(_0x30c964){_0x38ca9f[_0x4fdbaa(0x1e9)](_0x4fdbaa(0x20d)),i['error'](_0x30c964[_0x4fdbaa(0x204)]||_0x30c964);return;}};
1
+ 'use strict';const _0x5e5dd0=_0x2c1b;(function(_0x1cbe1c,_0x9f5ee2){const _0x338f75=_0x2c1b,_0x50a661=_0x1cbe1c();while(!![]){try{const _0x195001=parseInt(_0x338f75(0x182))/0x1*(parseInt(_0x338f75(0x15f))/0x2)+parseInt(_0x338f75(0x17a))/0x3+parseInt(_0x338f75(0x184))/0x4+-parseInt(_0x338f75(0x173))/0x5*(-parseInt(_0x338f75(0x16a))/0x6)+-parseInt(_0x338f75(0x171))/0x7*(parseInt(_0x338f75(0x16f))/0x8)+-parseInt(_0x338f75(0x176))/0x9+-parseInt(_0x338f75(0x181))/0xa*(-parseInt(_0x338f75(0x188))/0xb);if(_0x195001===_0x9f5ee2)break;else _0x50a661['push'](_0x50a661['shift']());}catch(_0x222222){_0x50a661['push'](_0x50a661['shift']());}}}(_0x2cca,0x303ec));function _0x2cca(){const _0x4e50f0=['setEnv','238158KoVJku','data','../config','getQRCode','stop','path','generate','44750pOloOF','5643yoFjsh','loginMethod','142280iYEcyg','err','error_code','application/x-www-form-urlencoded','649wAOEDi','msg','Token\x20Invalid!','env','info','zmpsk','request_timeout','../utils/env','loginUrl','api_domain','start','zalo','chalk','statusStart','error','appId','text','token','no-cache','../utils/axios','jwt','34GvuLfg','qrcode-terminal','then','checkStatus','stringify','error_msg','bold','statusError','stderr','Login\x20failed!','login','1543236qFFCxj','log-symbols','jsonwebtoken','catch','ora','378520mLLOiE','Login\x20Success!','35RpbTfQ','decode','5NCCLKo','POST','./utils/zalo-login','2681379weuRKN','\x20(Time\x20out\x20after\x20','permission_denied'];_0x2cca=function(){return _0x4e50f0;};return _0x2cca();}function _0x2c1b(_0x5e4025,_0x4cf522){const _0x2cca70=_0x2cca();return _0x2c1b=function(_0x2c1b0d,_0x284c26){_0x2c1b0d=_0x2c1b0d-0x14e;let _0x1ebd68=_0x2cca70[_0x2c1b0d];return _0x1ebd68;},_0x2c1b(_0x5e4025,_0x4cf522);}const e=require(_0x5e5dd0(0x156)),t=require(_0x5e5dd0(0x16e)),r=require(_0x5e5dd0(0x16c)),a=require(_0x5e5dd0(0x160)),n=require(_0x5e5dd0(0x16b)),o=require(_0x5e5dd0(0x17c)),s=require(_0x5e5dd0(0x151)),i=require('../utils/log'),u=require(_0x5e5dd0(0x175)),{axiosClient:l}=require(_0x5e5dd0(0x15d)),c=require('qs'),d=e['gray']('Login...'),p=t(d);module['exports']=async(_0x2c5c7c={},_0x3130ea)=>{const _0x28a9a6=_0x5e5dd0;let _0x587ee4;_0x3130ea||(_0x3130ea={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){}}),_0x3130ea[_0x28a9a6(0x157)](d),p[_0x28a9a6(0x154)]();let _0x3c480c=_0x2c5c7c[_0x28a9a6(0x183)],_0xad0f0=_0x2c5c7c[_0x28a9a6(0x159)]||s['getEnv'](o[_0x28a9a6(0x18b)][_0x28a9a6(0x159)]),_0x48dc90=_0x2c5c7c[_0x28a9a6(0x15b)],_0x3b2e96=''+o[_0x28a9a6(0x153)]+o[_0x28a9a6(0x17f)][_0x28a9a6(0x169)];try{if(p[_0x28a9a6(0x154)](),_0x28a9a6(0x155)===_0x3c480c){let _0x8f20bf;await new Promise((_0xd6eb59,_0x632ef9)=>{const _0x13c6a3=_0x28a9a6;u[_0x13c6a3(0x17d)](_0xad0f0)['then'](function(_0xe5d287){const _0x235a05=_0x13c6a3;p[_0x235a05(0x17e)]();let _0x2afe83=_0xe5d287[_0x235a05(0x17b)];if(!_0x2afe83||_0x2afe83[_0x235a05(0x185)]<0x0)return _0x632ef9(Error(_0x2afe83[_0x235a05(0x189)]));let _0x4448a6=_0x2afe83[_0x235a05(0x17b)]&&_0x2afe83[_0x235a05(0x17b)][_0x235a05(0x152)];return _0x8f20bf=_0x2afe83[_0x235a05(0x17b)]&&_0x2afe83[_0x235a05(0x17b)][_0x235a05(0x14f)],a[_0x235a05(0x180)](_0x4448a6,{'small':!0x0},function(_0x11890c){const _0x1ac768=_0x235a05;let _0x97eea5=n[_0x1ac768(0x14e)]+'\x20'+e[_0x1ac768(0x165)]('Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a'+_0x11890c);_0x3130ea[_0x1ac768(0x15a)](_0x97eea5);}),s['setEnv'](o['env'][_0x235a05(0x159)],_0xad0f0),_0xd6eb59();})[_0x13c6a3(0x16d)](function(_0x591db2){const _0x2ba642=_0x13c6a3;return p[_0x2ba642(0x17e)](),_0x632ef9(_0x591db2);});}),await new Promise((_0x57e2d5,_0x5e6448)=>{const _0x1fcec3=_0x28a9a6;if(!_0x8f20bf)return _0x5e6448(Error(_0x1fcec3(0x18a)));let _0x3e9e0a=0x0;_0x587ee4=setInterval(()=>{const _0x58e84e=_0x1fcec3;if(_0x3130ea['statusText'](d+_0x58e84e(0x177)+(0x3c-_0x3e9e0a)+'s)'),_0x3e9e0a>0x3c)return clearInterval(_0x587ee4),_0x5e6448(Error(o[_0x58e84e(0x164)]['request_timeout']));_0x3e9e0a++,u[_0x58e84e(0x162)](_0x8f20bf)[_0x58e84e(0x161)](function(_0xdd3cd6){const _0x366050=_0x58e84e;p['stop']();let _0x1dffcb=_0xdd3cd6[_0x366050(0x17b)];if(_0x1dffcb&&_0x1dffcb[_0x366050(0x185)]===o[_0x366050(0x186)][_0x366050(0x178)])return clearInterval(_0x587ee4),_0x5e6448(Error(o['error_msg'][_0x366050(0x178)]));if(_0x1dffcb&&_0x1dffcb[_0x366050(0x185)]===o[_0x366050(0x186)][_0x366050(0x150)])return clearInterval(_0x587ee4),_0x5e6448(Error(o['error_msg'][_0x366050(0x150)]));if(_0x1dffcb&&_0x1dffcb[_0x366050(0x185)]>=0x0){clearInterval(_0x587ee4);let _0x51b22a=_0x1dffcb[_0x366050(0x17b)]&&_0x1dffcb[_0x366050(0x17b)][_0x366050(0x15e)];return s[_0x366050(0x179)](o[_0x366050(0x18b)]['token'],_0x51b22a),_0x3130ea['statusDone'](_0x366050(0x170)),_0x57e2d5();}})[_0x58e84e(0x16d)](function(_0x161459){return clearInterval(_0x587ee4),p['stop'](),_0x5e6448(_0x161459);});},0x7d0);});}else await new Promise((_0x3b55b1,_0x184d83)=>{const _0x3fc255=_0x28a9a6;l({'url':_0x3b2e96,'method':_0x3fc255(0x174),'headers':{'cache-control':_0x3fc255(0x15c),'content-type':_0x3fc255(0x187)},'data':c[_0x3fc255(0x163)]({'accessToken':_0x48dc90,'appId':_0xad0f0}),'withCredentials':!0x0})[_0x3fc255(0x161)](function(_0x28deba){const _0x5f2600=_0x3fc255;p[_0x5f2600(0x17e)]();let _0x36e2e9=_0x28deba[_0x5f2600(0x17b)];if(!_0x36e2e9||_0x36e2e9[_0x5f2600(0x185)]<0x0)return _0x184d83(Error(_0x36e2e9[_0x5f2600(0x189)]));let _0x36dc1e=_0x36e2e9[_0x5f2600(0x17b)]&&_0x36e2e9[_0x5f2600(0x17b)][_0x5f2600(0x15e)];try{let _0xf0ea7e=r[_0x5f2600(0x172)](_0x36dc1e);s[_0x5f2600(0x179)](o[_0x5f2600(0x18b)][_0x5f2600(0x159)],_0xf0ea7e[_0x5f2600(0x159)]),s[_0x5f2600(0x179)](o['env']['token'],_0x36dc1e);}catch(_0x3dabc2){return _0x184d83(_0x3dabc2);}return _0x3130ea['statusDone'](_0x5f2600(0x170)),_0x3b55b1();})['catch'](function(_0x323f91){const _0x21a4d3=_0x3fc255;return p[_0x21a4d3(0x17e)](),_0x184d83(_0x323f91);});});}catch(_0xbc102c){_0x3130ea[_0x28a9a6(0x166)](_0x28a9a6(0x168)),i[_0x28a9a6(0x158)](_0xbc102c[_0x28a9a6(0x167)]||_0xbc102c);return;}};
@@ -1 +1 @@
1
- 'use strict';function _0xe8d3(_0x23f70e,_0x3167cb){const _0x185190=_0x1851();return _0xe8d3=function(_0xe8d3ad,_0x4c44c7){_0xe8d3ad=_0xe8d3ad-0x188;let _0x3ffcf4=_0x185190[_0xe8d3ad];return _0x3ffcf4;},_0xe8d3(_0x23f70e,_0x3167cb);}const _0x25efae=_0xe8d3;(function(_0x3aa002,_0x35cece){const _0x16c406=_0xe8d3,_0x436f15=_0x3aa002();while(!![]){try{const _0x23513a=-parseInt(_0x16c406(0x1a3))/0x1*(-parseInt(_0x16c406(0x19b))/0x2)+-parseInt(_0x16c406(0x196))/0x3*(parseInt(_0x16c406(0x192))/0x4)+-parseInt(_0x16c406(0x1a0))/0x5*(-parseInt(_0x16c406(0x19f))/0x6)+parseInt(_0x16c406(0x1a2))/0x7+-parseInt(_0x16c406(0x190))/0x8+parseInt(_0x16c406(0x19c))/0x9*(-parseInt(_0x16c406(0x1a4))/0xa)+parseInt(_0x16c406(0x188))/0xb*(parseInt(_0x16c406(0x19e))/0xc);if(_0x23513a===_0x35cece)break;else _0x436f15['push'](_0x436f15['shift']());}catch(_0x2aaddc){_0x436f15['push'](_0x436f15['shift']());}}}(_0x1851,0xab304));const e=require(_0x25efae(0x19d)),i=require(_0x25efae(0x195)),o=require('../../config');function _0x1851(){const _0x1c97d7=['Mimi\x20App\x20ID\x20is\x20required','131092kmIucx','then','list','../../utils/env','54TQGkoJ','1.\x20Login\x20Via\x20QR\x20Code\x20With\x20Zalo\x20App','Zalo\x20Access\x20Token\x20is\x20required','length','token','2tBfPMv','1107xzKetN','inquirer','12YhdqnG','6FOUVMA','3099710nCGQgg','2.\x20Login\x20With\x20App\x20Access\x20Token','6617555LxgDXV','595937SqDSaA','98970YtxFiR','env','Login\x20method\x20is\x20required!','4707681bGqzYo','Mini\x20App\x20ID:','zalo','loginMethod','appId','Choose\x20a\x20Login\x20Method','input','accessToken','646256omsvIZ'];_0x1851=function(){return _0x1c97d7;};return _0x1851();}module['exports']=function(){const _0x4258f1=_0x25efae;let _0x1b4a5b=[{'type':_0x4258f1(0x18e),'name':_0x4258f1(0x18c),'message':_0x4258f1(0x189),'when':()=>!i['getEnv'](o[_0x4258f1(0x1a5)][_0x4258f1(0x18c)]),'validate':_0x20b29d=>new Promise((_0x5d05df,_0x5a236d)=>{const _0x56d740=_0x4258f1;_0x20b29d?_0x5d05df(!0x0):_0x5a236d(Error(_0x56d740(0x191)));})},{'type':_0x4258f1(0x194),'name':'loginMethod','message':_0x4258f1(0x18d),'choices':[{'name':_0x4258f1(0x197),'value':_0x4258f1(0x18a)},{'name':_0x4258f1(0x1a1),'value':_0x4258f1(0x18f)}],'validate':_0xf68da8=>new Promise((_0x102117,_0x3bcf7e)=>{const _0x14020d=_0x4258f1;_0xf68da8&&_0xf68da8[_0x14020d(0x199)]?_0x102117(!0x0):_0x3bcf7e(Error(_0x14020d(0x1a6)));})},{'type':_0x4258f1(0x18e),'name':_0x4258f1(0x19a),'message':'Zalo\x20Access\x20Token:','when':_0x3ed0fc=>_0x4258f1(0x18f)===_0x3ed0fc[_0x4258f1(0x18b)],'validate':_0x55d5e4=>new Promise((_0x3cabaf,_0x1ee8c3)=>{const _0x4edbf9=_0x4258f1;_0x55d5e4?_0x3cabaf(!0x0):_0x1ee8c3(Error(_0x4edbf9(0x198)));})}];return e['prompt'](_0x1b4a5b)[_0x4258f1(0x193)](_0x1df721=>Promise['resolve'](_0x1df721));};
1
+ 'use strict';const _0x158105=_0x1e55;function _0x45af(){const _0x3b58e6=['token','Mini\x20App\x20ID:','accessToken','prompt','1218PWujFT','Zalo\x20Access\x20Token:','env','loginMethod','length','Choose\x20a\x20Login\x20Method','614019WNynXV','1256200DSivVk','2347077aOwtUt','resolve','10755gkQXlL','getEnv','136ltMRVR','2.\x20Login\x20With\x20App\x20Access\x20Token','1.\x20Login\x20Via\x20QR\x20Code\x20With\x20Zalo\x20App','../../config','list','appId','2cFmkPD','Zalo\x20Access\x20Token\x20is\x20required','input','6190FwAcrI','../../utils/env','5270IvglaY','4252168bwgocM','12470898DPNIXw','exports'];_0x45af=function(){return _0x3b58e6;};return _0x45af();}(function(_0x14f671,_0x35fe15){const _0x448e4b=_0x1e55,_0x4e0daa=_0x14f671();while(!![]){try{const _0xc73087=-parseInt(_0x448e4b(0x1b2))/0x1+-parseInt(_0x448e4b(0x19e))/0x2*(-parseInt(_0x448e4b(0x194))/0x3)+parseInt(_0x448e4b(0x1a4))/0x4+parseInt(_0x448e4b(0x1a3))/0x5*(-parseInt(_0x448e4b(0x1ab))/0x6)+-parseInt(_0x448e4b(0x1b1))/0x7*(parseInt(_0x448e4b(0x198))/0x8)+parseInt(_0x448e4b(0x196))/0x9*(parseInt(_0x448e4b(0x1a1))/0xa)+parseInt(_0x448e4b(0x1a5))/0xb;if(_0xc73087===_0x35fe15)break;else _0x4e0daa['push'](_0x4e0daa['shift']());}catch(_0x490c56){_0x4e0daa['push'](_0x4e0daa['shift']());}}}(_0x45af,0xb8ee1));const e=require('inquirer'),i=require(_0x158105(0x1a2)),o=require(_0x158105(0x19b));function _0x1e55(_0x3a9c13,_0x48f29c){const _0x45af35=_0x45af();return _0x1e55=function(_0x1e5528,_0x2853a8){_0x1e5528=_0x1e5528-0x194;let _0x5240c1=_0x45af35[_0x1e5528];return _0x5240c1;},_0x1e55(_0x3a9c13,_0x48f29c);}module[_0x158105(0x1a6)]=function(){const _0x400fca=_0x158105;let _0x48530b=[{'type':_0x400fca(0x1a0),'name':_0x400fca(0x19d),'message':_0x400fca(0x1a8),'when':()=>!i[_0x400fca(0x197)](o[_0x400fca(0x1ad)][_0x400fca(0x19d)]),'validate':_0x1b5bdd=>new Promise((_0x1b524e,_0x4b1e01)=>{_0x1b5bdd?_0x1b524e(!0x0):_0x4b1e01(Error('Mimi\x20App\x20ID\x20is\x20required'));})},{'type':_0x400fca(0x19c),'name':'loginMethod','message':_0x400fca(0x1b0),'choices':[{'name':_0x400fca(0x19a),'value':'zalo'},{'name':_0x400fca(0x199),'value':_0x400fca(0x1a9)}],'validate':_0x3d719c=>new Promise((_0x225ee3,_0x570600)=>{const _0x2e11c5=_0x400fca;_0x3d719c&&_0x3d719c[_0x2e11c5(0x1af)]?_0x225ee3(!0x0):_0x570600(Error('Login\x20method\x20is\x20required!'));})},{'type':_0x400fca(0x1a0),'name':_0x400fca(0x1a7),'message':_0x400fca(0x1ac),'when':_0x4767db=>_0x400fca(0x1a9)===_0x4767db[_0x400fca(0x1ae)],'validate':_0x415bab=>new Promise((_0xa783cb,_0x225491)=>{const _0x433c13=_0x400fca;_0x415bab?_0xa783cb(!0x0):_0x225491(Error(_0x433c13(0x19f)));})}];return e[_0x400fca(0x1aa)](_0x48530b)['then'](_0x548886=>Promise[_0x400fca(0x195)](_0x548886));};
@@ -1 +1 @@
1
- 'use strict';const _0x1c59ef=_0x3048;function _0x30e6(){const _0x52e43f=['2703840LZlGOw','path','50OHIpsd','get','1183762gBTtSU','requestLogin','8492428egDmYY','621380awjYXU','../../utils/axios','31340241QpfZTM','exports','api_domain','no-cache','8qrlQqX','5277594nMQbzC','?zmpsk=','../../config','866940pqjmGS'];_0x30e6=function(){return _0x52e43f;};return _0x30e6();}(function(_0x4e4d99,_0x564816){const _0x19b75f=_0x3048,_0x1be0b3=_0x4e4d99();while(!![]){try{const _0x2ec388=-parseInt(_0x19b75f(0x1a9))/0x1+-parseInt(_0x19b75f(0x1a4))/0x2+parseInt(_0x19b75f(0x1a5))/0x3+-parseInt(_0x19b75f(0x1ac))/0x4*(parseInt(_0x19b75f(0x1a7))/0x5)+parseInt(_0x19b75f(0x1a1))/0x6+-parseInt(_0x19b75f(0x1ab))/0x7+-parseInt(_0x19b75f(0x1a0))/0x8*(-parseInt(_0x19b75f(0x1ae))/0x9);if(_0x2ec388===_0x564816)break;else _0x1be0b3['push'](_0x1be0b3['shift']());}catch(_0x3308d3){_0x1be0b3['push'](_0x1be0b3['shift']());}}}(_0x30e6,0xd6a8a));function _0x3048(_0x5050f1,_0x9be8db){const _0x30e626=_0x30e6();return _0x3048=function(_0x304843,_0x592e71){_0x304843=_0x304843-0x19f;let _0xad6eb=_0x30e626[_0x304843];return _0xad6eb;},_0x3048(_0x5050f1,_0x9be8db);}const e=require(_0x1c59ef(0x1a3)),{axiosClient:t}=require(_0x1c59ef(0x1ad));module[_0x1c59ef(0x1af)]=(function(){const _0x2a6aa5=_0x1c59ef;let _0x2c4271=''+e[_0x2a6aa5(0x1b0)]+e[_0x2a6aa5(0x1a6)][_0x2a6aa5(0x1aa)],_0x4f4334=''+e[_0x2a6aa5(0x1b0)]+e[_0x2a6aa5(0x1a6)]['checkLoginStatus'];return{'getQRCode':_0x1744c0=>t({'method':_0x2a6aa5(0x1a8),'url':_0x2c4271+'?appId='+_0x1744c0,'headers':{'cache-control':_0x2a6aa5(0x19f)},'withCredentials':!0x0}),'checkStatus':_0x321cfa=>t({'method':'get','url':_0x4f4334+_0x2a6aa5(0x1a2)+_0x321cfa,'headers':{'cache-control':_0x2a6aa5(0x19f)},'withCredentials':!0x0})};}());
1
+ 'use strict';const _0x1b98fc=_0x336d;(function(_0x1f0187,_0x3e95ce){const _0x262f26=_0x336d,_0x18d1f1=_0x1f0187();while(!![]){try{const _0x1f9091=parseInt(_0x262f26(0x1b9))/0x1*(-parseInt(_0x262f26(0x1c2))/0x2)+-parseInt(_0x262f26(0x1b8))/0x3+-parseInt(_0x262f26(0x1c0))/0x4+-parseInt(_0x262f26(0x1c4))/0x5+-parseInt(_0x262f26(0x1c8))/0x6+parseInt(_0x262f26(0x1c1))/0x7+parseInt(_0x262f26(0x1c5))/0x8;if(_0x1f9091===_0x3e95ce)break;else _0x18d1f1['push'](_0x18d1f1['shift']());}catch(_0x286ae1){_0x18d1f1['push'](_0x18d1f1['shift']());}}}(_0x2a6c,0xdb60f));function _0x336d(_0x241ca6,_0x3cdca2){const _0x2a6cab=_0x2a6c();return _0x336d=function(_0x336db9,_0x3c8572){_0x336db9=_0x336db9-0x1b8;let _0x1884cc=_0x2a6cab[_0x336db9];return _0x1884cc;},_0x336d(_0x241ca6,_0x3cdca2);}const e=require(_0x1b98fc(0x1ba)),{axiosClient:t}=require('../../utils/axios');function _0x2a6c(){const _0x4312e5=['2YocrZT','../../config','requestLogin','checkLoginStatus','no-cache','get','exports','5242716iWsxIl','8213751MrNQox','627316ZzaTgc','api_domain','60955fqmNSh','32408064OisGvh','?zmpsk=','path','8696250GekRTA','2778795tgXksf'];_0x2a6c=function(){return _0x4312e5;};return _0x2a6c();}module[_0x1b98fc(0x1bf)]=(function(){const _0x10d175=_0x1b98fc;let _0x2e82f0=''+e['api_domain']+e[_0x10d175(0x1c7)][_0x10d175(0x1bb)],_0x1b3ee4=''+e[_0x10d175(0x1c3)]+e['path'][_0x10d175(0x1bc)];return{'getQRCode':_0x444ddc=>t({'method':'get','url':_0x2e82f0+'?appId='+_0x444ddc,'headers':{'cache-control':_0x10d175(0x1bd)},'withCredentials':!0x0}),'checkStatus':_0x39dcb7=>t({'method':_0x10d175(0x1be),'url':_0x1b3ee4+_0x10d175(0x1c6)+_0x39dcb7,'headers':{'cache-control':_0x10d175(0x1bd)},'withCredentials':!0x0})};}());
@@ -1 +1 @@
1
- 'use strict';const _0x10c4fe=_0x5190;function _0x1ed5(){const _0x2b86ca=['../../utils/fs-extra','path','4018wYyozN','exports','npm\x20install\x20zmp-framework@latest','3570424ScWscx','5URQGoa','resolve','449913CiJsSD','4keCVDx','440BUaXwL','3974470YIqtEd','58177WvZfmT','promise','./src/css/icons.css','236vMcqBG','cwd','copyFileAsync','zmp-framework','uiFramework','11565228EMpKss','9tKJOoR','zmp-ui','1646394gKtXMe'];_0x1ed5=function(){return _0x2b86ca;};return _0x1ed5();}(function(_0x3915a6,_0x14d7f0){const _0x20f73f=_0x5190,_0x5e9097=_0x3915a6();while(!![]){try{const _0x1cc721=-parseInt(_0x20f73f(0x117))/0x1*(-parseInt(_0x20f73f(0x124))/0x2)+parseInt(_0x20f73f(0x11d))/0x3*(-parseInt(_0x20f73f(0x11e))/0x4)+-parseInt(_0x20f73f(0x11b))/0x5*(parseInt(_0x20f73f(0x12c))/0x6)+parseInt(_0x20f73f(0x121))/0x7*(parseInt(_0x20f73f(0x11f))/0x8)+parseInt(_0x20f73f(0x12a))/0x9*(parseInt(_0x20f73f(0x120))/0xa)+parseInt(_0x20f73f(0x11a))/0xb+-parseInt(_0x20f73f(0x129))/0xc;if(_0x1cc721===_0x14d7f0)break;else _0x5e9097['push'](_0x5e9097['shift']());}catch(_0x4052d2){_0x5e9097['push'](_0x5e9097['shift']());}}}(_0x1ed5,0x40ba1));function _0x5190(_0x4c7025,_0x10cbe0){const _0x1ed5f6=_0x1ed5();return _0x5190=function(_0x5190ba,_0xf03235){_0x5190ba=_0x5190ba-0x115;let _0x1e532a=_0x1ed5f6[_0x5190ba];return _0x1e532a;},_0x5190(_0x4c7025,_0x10cbe0);}const e=require(_0x10c4fe(0x115)),s=require(_0x10c4fe(0x116)),r=require('exec-sh');async function i(_0x3c78ba){const _0x1c8cb4=_0x10c4fe;if(_0x1c8cb4(0x127)===_0x3c78ba[_0x1c8cb4(0x128)])e[_0x1c8cb4(0x126)](s[_0x1c8cb4(0x11c)](__dirname,'./icons.css'),s[_0x1c8cb4(0x11c)](_0x3c78ba[_0x1c8cb4(0x125)],_0x1c8cb4(0x123))),await r[_0x1c8cb4(0x122)](_0x1c8cb4(0x119),!0x0);else{if(_0x1c8cb4(0x12b)!==_0x3c78ba[_0x1c8cb4(0x128)])return;await r[_0x1c8cb4(0x122)]('npm\x20install\x20zmp-ui@latest',!0x0);}}module[_0x10c4fe(0x118)]=i;
1
+ 'use strict';const _0xcb0696=_0x46aa;(function(_0x972400,_0x441270){const _0x303994=_0x46aa,_0x494c13=_0x972400();while(!![]){try{const _0x463ea0=parseInt(_0x303994(0x1bc))/0x1+-parseInt(_0x303994(0x1b6))/0x2*(-parseInt(_0x303994(0x1be))/0x3)+-parseInt(_0x303994(0x1bf))/0x4+-parseInt(_0x303994(0x1c7))/0x5+-parseInt(_0x303994(0x1c1))/0x6*(parseInt(_0x303994(0x1b5))/0x7)+parseInt(_0x303994(0x1ba))/0x8*(-parseInt(_0x303994(0x1ca))/0x9)+-parseInt(_0x303994(0x1c0))/0xa*(-parseInt(_0x303994(0x1c3))/0xb);if(_0x463ea0===_0x441270)break;else _0x494c13['push'](_0x494c13['shift']());}catch(_0x161a06){_0x494c13['push'](_0x494c13['shift']());}}}(_0x4a0e,0xa1202));const e=require('../../utils/fs-extra'),s=require('path'),r=require(_0xcb0696(0x1b9));function _0x4a0e(){const _0x155d0e=['copyFileAsync','864313WYVtcw','./icons.css','573jwmscG','336692EIUFNn','9523550QJtttU','2514gTCuFP','uiFramework','11OEhyeS','exports','zmp-framework','npm\x20install\x20zmp-framework@latest','947370JQtWyV','npm\x20install\x20zmp-ui@latest','./src/css/icons.css','13203teliJY','18515qguNOy','12174xWgocs','cwd','resolve','exec-sh','5112InodEt'];_0x4a0e=function(){return _0x155d0e;};return _0x4a0e();}function _0x46aa(_0x1d819b,_0x3f0d9c){const _0x4a0ea4=_0x4a0e();return _0x46aa=function(_0x46aad1,_0x68a1ca){_0x46aad1=_0x46aad1-0x1b5;let _0x275804=_0x4a0ea4[_0x46aad1];return _0x275804;},_0x46aa(_0x1d819b,_0x3f0d9c);}async function i(_0x24ef83){const _0xd19530=_0xcb0696;if(_0xd19530(0x1c5)===_0x24ef83[_0xd19530(0x1c2)])e[_0xd19530(0x1bb)](s['resolve'](__dirname,_0xd19530(0x1bd)),s[_0xd19530(0x1b8)](_0x24ef83[_0xd19530(0x1b7)],_0xd19530(0x1c9))),await r['promise'](_0xd19530(0x1c6),!0x0);else{if('zmp-ui'!==_0x24ef83[_0xd19530(0x1c2)])return;await r['promise'](_0xd19530(0x1c8),!0x0);}}module[_0xcb0696(0x1c4)]=i;
package/migrate/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3e51a6=_0xbe0e;function _0x3fdf(){const _0x5b33fe=['\x20💪','statusStart','10194KWIULX','1083CViagV','exit','4922505yHlYIe','framework','zmpConfig','2ZEwkFd','../config','23067WNOQus','chalk','statusDone','1841105OrLwFN','3858184qulRqd','./utils/migrate-react','1508545jaqfFv','2310tPBsub','gray','Migration\x20Done!','statusError','exports','filename','21028rsrSek','error','Migrating\x20Your\x20App\x20','6209tCRGah','cwd','Migration\x20error!','path','text','../utils/error','\x20is\x20not\x20yet\x20supported','log-symbols'];_0x3fdf=function(){return _0x5b33fe;};return _0x3fdf();}(function(_0x4a1b22,_0x3ef1c4){const _0x198286=_0xbe0e,_0x525956=_0x4a1b22();while(!![]){try{const _0x40a3df=parseInt(_0x198286(0x1d2))/0x1*(parseInt(_0x198286(0x1ca))/0x2)+-parseInt(_0x198286(0x1c5))/0x3*(-parseInt(_0x198286(0x1d9))/0x4)+-parseInt(_0x198286(0x1cf))/0x5+parseInt(_0x198286(0x1c4))/0x6*(-parseInt(_0x198286(0x1dc))/0x7)+parseInt(_0x198286(0x1d0))/0x8+-parseInt(_0x198286(0x1c7))/0x9+parseInt(_0x198286(0x1d3))/0xa*(-parseInt(_0x198286(0x1cc))/0xb);if(_0x40a3df===_0x3ef1c4)break;else _0x525956['push'](_0x525956['shift']());}catch(_0x26cfbf){_0x525956['push'](_0x525956['shift']());}}}(_0x3fdf,0xefbf9));const r=require(_0x3e51a6(0x1cd)),t=require(_0x3e51a6(0x1df)),e=require(_0x3e51a6(0x1e3)),s=require(_0x3e51a6(0x1d1)),{errorExit:a}=require(_0x3e51a6(0x1e1)),o=require(_0x3e51a6(0x1cb)),i=r[_0x3e51a6(0x1d4)]('(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)');async function u(_0x2795c9={},_0x67c343){const _0x45ce65=_0x3e51a6;let _0xcb533c=_0x2795c9[_0x45ce65(0x1dd)]||process[_0x45ce65(0x1dd)]();_0x67c343||(_0x67c343={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}}),_0x67c343[_0x45ce65(0x1c3)](_0x45ce65(0x1db)+i);try{let _0x3f0c9a,_0x400368=require((_0x3f0c9a=o[_0x45ce65(0x1d8)][_0x45ce65(0x1c9)],t['join'](_0xcb533c,_0x3f0c9a)));'react'===_0x400368['framework']?await s(_0x2795c9):(_0x67c343[_0x45ce65(0x1e0)](e[_0x45ce65(0x1da)]+'\x20Project\x20using\x20ZMP\x20'+_0x400368[_0x45ce65(0x1c8)]+_0x45ce65(0x1e2)),process[_0x45ce65(0x1c6)](0x1)),_0x67c343[_0x45ce65(0x1ce)](r['bold']['green'](_0x45ce65(0x1d5))+_0x45ce65(0x1c2));}catch(_0x58176d){_0x67c343[_0x45ce65(0x1d6)](_0x45ce65(0x1de)),a(_0x58176d);}}function _0xbe0e(_0x5e1afa,_0x4dceae){const _0x3fdffe=_0x3fdf();return _0xbe0e=function(_0xbe0edb,_0x283b9f){_0xbe0edb=_0xbe0edb-0x1c2;let _0x38e98a=_0x3fdffe[_0xbe0edb];return _0x38e98a;},_0xbe0e(_0x5e1afa,_0x4dceae);}module[_0x3e51a6(0x1d7)]=u;
1
+ 'use strict';function _0x426c(){const _0xb1c2fe=['8236233klPVAb','8rRHhXE','138125PTsaJv','../utils/error','10185077JfFeQI','15522060ymrJWt','zmpConfig','gray','30124094QsIREC','filename','bold','4597197FuduCw','statusDone','statusStart','5241812zSUgTF','react','Migration\x20error!','6LFGPzM','text','framework','statusError','exports','cwd','\x20is\x20not\x20yet\x20supported','5oaTaVc','join','2ENjjmW','log-symbols','(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)','../config'];_0x426c=function(){return _0xb1c2fe;};return _0x426c();}const _0x4d6947=_0xd029;(function(_0x204c16,_0x5a9605){const _0x51c058=_0xd029,_0x1b7860=_0x204c16();while(!![]){try{const _0x1e9f4e=-parseInt(_0x51c058(0x110))/0x1+parseInt(_0x51c058(0x10a))/0x2*(-parseInt(_0x51c058(0x119))/0x3)+parseInt(_0x51c058(0x11c))/0x4*(parseInt(_0x51c058(0x108))/0x5)+parseInt(_0x51c058(0x11f))/0x6*(parseInt(_0x51c058(0x112))/0x7)+parseInt(_0x51c058(0x10f))/0x8*(parseInt(_0x51c058(0x10e))/0x9)+parseInt(_0x51c058(0x113))/0xa+-parseInt(_0x51c058(0x116))/0xb;if(_0x1e9f4e===_0x5a9605)break;else _0x1b7860['push'](_0x1b7860['shift']());}catch(_0x4f7094){_0x1b7860['push'](_0x1b7860['shift']());}}}(_0x426c,0xc91b1));const r=require('chalk'),t=require('path'),e=require(_0x4d6947(0x10b)),s=require('./utils/migrate-react'),{errorExit:a}=require(_0x4d6947(0x111)),o=require(_0x4d6947(0x10d)),i=r[_0x4d6947(0x115)](_0x4d6947(0x10c));function _0xd029(_0x17eba8,_0x179fae){const _0x426c42=_0x426c();return _0xd029=function(_0xd02900,_0x2a4697){_0xd02900=_0xd02900-0x104;let _0x23f73c=_0x426c42[_0xd02900];return _0x23f73c;},_0xd029(_0x17eba8,_0x179fae);}async function u(_0x3c3479={},_0x7c1c23){const _0x1341e3=_0x4d6947;let _0x29fe29=_0x3c3479['cwd']||process[_0x1341e3(0x106)]();_0x7c1c23||(_0x7c1c23={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}}),_0x7c1c23[_0x1341e3(0x11b)]('Migrating\x20Your\x20App\x20'+i);try{let _0x560a9a,_0x9c3b29=require((_0x560a9a=o[_0x1341e3(0x117)][_0x1341e3(0x114)],t[_0x1341e3(0x109)](_0x29fe29,_0x560a9a)));_0x1341e3(0x11d)===_0x9c3b29[_0x1341e3(0x121)]?await s(_0x3c3479):(_0x7c1c23[_0x1341e3(0x120)](e['error']+'\x20Project\x20using\x20ZMP\x20'+_0x9c3b29[_0x1341e3(0x121)]+_0x1341e3(0x107)),process['exit'](0x1)),_0x7c1c23[_0x1341e3(0x11a)](r[_0x1341e3(0x118)]['green']('Migration\x20Done!')+'\x20💪');}catch(_0x4dbafe){_0x7c1c23[_0x1341e3(0x104)](_0x1341e3(0x11e)),a(_0x4dbafe);}}module[_0x4d6947(0x105)]=u;
@@ -1 +1 @@
1
- 'use strict';const _0x2bd4d9=_0x5efe;(function(_0xcc438f,_0x32333b){const _0x399985=_0x5efe,_0x5c55c3=_0xcc438f();while(!![]){try{const _0x5f4582=parseInt(_0x399985(0x10c))/0x1*(parseInt(_0x399985(0x106))/0x2)+-parseInt(_0x399985(0x101))/0x3+parseInt(_0x399985(0x103))/0x4*(-parseInt(_0x399985(0x102))/0x5)+parseInt(_0x399985(0x111))/0x6+-parseInt(_0x399985(0x10b))/0x7*(parseInt(_0x399985(0x115))/0x8)+-parseInt(_0x399985(0x113))/0x9+parseInt(_0x399985(0x110))/0xa;if(_0x5f4582===_0x32333b)break;else _0x5c55c3['push'](_0x5c55c3['shift']());}catch(_0x5e600a){_0x5c55c3['push'](_0x5c55c3['shift']());}}}(_0x5232,0xa4dcf));function _0x5efe(_0x243f12,_0x5d196d){const _0x5232b6=_0x5232();return _0x5efe=function(_0x5efecb,_0x39d065){_0x5efecb=_0x5efecb-0x101;let _0x2d6bd9=_0x5232b6[_0x5efecb];return _0x2d6bd9;},_0x5efe(_0x243f12,_0x5d196d);}function _0x5232(){const _0x49d7a0=['488CJbqEY','prompt','2207742QWARaq','185whJhQI','76308bkDRmu','What\x20version\x20do\x20you\x20want\x20to\x20migrate?','iconsv3','122yMatuO','migrateVersion','inquirer','list','exports','49350cPgfRM','21263aEpdgM','other','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','13641510cgBnsC','3110394rmpztR','zmp-ui','5692509JaOsEp','zmp-framework'];_0x5232=function(){return _0x49d7a0;};return _0x5232();}const e=require(_0x2bd4d9(0x108)),r=[{'type':_0x2bd4d9(0x109),'name':_0x2bd4d9(0x107),'message':_0x2bd4d9(0x104),'choices':[{'name':'Version\x201\x20=>\x20Version\x202','value':'v1tov2'},{'name':_0x2bd4d9(0x10f),'value':_0x2bd4d9(0x105)}]},{'type':_0x2bd4d9(0x109),'name':'uiFramework','message':_0x2bd4d9(0x10e),'when':_0x22d2b0=>_0x2bd4d9(0x105)===_0x22d2b0[_0x2bd4d9(0x107)],'choices':[{'name':_0x2bd4d9(0x114),'value':'zmp-framework'},{'name':'zmp-ui','value':_0x2bd4d9(0x112)},{'name':'Other','value':_0x2bd4d9(0x10d)}]}];module[_0x2bd4d9(0x10a)]=function(){const _0x6a3e15=_0x2bd4d9;return e[_0x6a3e15(0x116)](r)['then'](_0x52ef02=>Promise['resolve'](_0x52ef02));};
1
+ 'use strict';function _0x1979(){const _0x495d24=['uiFramework','11AHxGJY','142162krcQnB','What\x20version\x20do\x20you\x20want\x20to\x20migrate?','prompt','zmp-ui','12486470PjYpYP','inquirer','Other','61840339uLrOXw','27HFCyXb','6243OGmzBt','zmp-framework','v1tov2','465924jrgSVd','1033768ZCWpPW','iconsv3','resolve','list','migrateVersion','85jiXrWi','other','1076MleDxx','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','9058938mMdShF'];_0x1979=function(){return _0x495d24;};return _0x1979();}const _0x33d2b0=_0x4717;(function(_0x4fb629,_0x3607eb){const _0x140797=_0x4717,_0x2675fa=_0x4fb629();while(!![]){try{const _0x2091f3=-parseInt(_0x140797(0x18b))/0x1*(parseInt(_0x140797(0x18c))/0x2)+parseInt(_0x140797(0x195))/0x3*(-parseInt(_0x140797(0x187))/0x4)+parseInt(_0x140797(0x185))/0x5*(-parseInt(_0x140797(0x198))/0x6)+-parseInt(_0x140797(0x189))/0x7+-parseInt(_0x140797(0x199))/0x8*(-parseInt(_0x140797(0x194))/0x9)+-parseInt(_0x140797(0x190))/0xa+parseInt(_0x140797(0x193))/0xb;if(_0x2091f3===_0x3607eb)break;else _0x2675fa['push'](_0x2675fa['shift']());}catch(_0x5c0893){_0x2675fa['push'](_0x2675fa['shift']());}}}(_0x1979,0xc4845));const e=require(_0x33d2b0(0x191)),r=[{'type':_0x33d2b0(0x19c),'name':_0x33d2b0(0x184),'message':_0x33d2b0(0x18d),'choices':[{'name':'Version\x201\x20=>\x20Version\x202','value':_0x33d2b0(0x197)},{'name':_0x33d2b0(0x188),'value':_0x33d2b0(0x19a)}]},{'type':'list','name':_0x33d2b0(0x18a),'message':'Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','when':_0x57f94b=>_0x33d2b0(0x19a)===_0x57f94b[_0x33d2b0(0x184)],'choices':[{'name':'zmp-framework','value':_0x33d2b0(0x196)},{'name':_0x33d2b0(0x18f),'value':_0x33d2b0(0x18f)},{'name':_0x33d2b0(0x192),'value':_0x33d2b0(0x186)}]}];function _0x4717(_0x339787,_0x2b876d){const _0x1979d8=_0x1979();return _0x4717=function(_0x47172b,_0x1be124){_0x47172b=_0x47172b-0x184;let _0x1002a9=_0x1979d8[_0x47172b];return _0x1002a9;},_0x4717(_0x339787,_0x2b876d);}module['exports']=function(){const _0x4bdba0=_0x33d2b0;return e[_0x4bdba0(0x18e)](r)['then'](_0x46f0cb=>Promise[_0x4bdba0(0x19b)](_0x46f0cb));};
@@ -1 +1 @@
1
- 'use strict';const _0x5f1570=_0xa8d7;(function(_0x9f6e0f,_0x29343f){const _0x47078b=_0xa8d7,_0x3d9b0d=_0x9f6e0f();while(!![]){try{const _0x2d2219=parseInt(_0x47078b(0xbc))/0x1*(-parseInt(_0x47078b(0xb2))/0x2)+-parseInt(_0x47078b(0xb6))/0x3*(-parseInt(_0x47078b(0xbb))/0x4)+parseInt(_0x47078b(0xc8))/0x5+-parseInt(_0x47078b(0xc1))/0x6+parseInt(_0x47078b(0xbf))/0x7*(parseInt(_0x47078b(0xb7))/0x8)+parseInt(_0x47078b(0xc6))/0x9*(parseInt(_0x47078b(0xb0))/0xa)+parseInt(_0x47078b(0xbd))/0xb*(parseInt(_0x47078b(0xb5))/0xc);if(_0x2d2219===_0x29343f)break;else _0x3d9b0d['push'](_0x3d9b0d['shift']());}catch(_0x5f2a24){_0x3d9b0d['push'](_0x3d9b0d['shift']());}}}(_0x292d,0x35faf));function _0xa8d7(_0x389d34,_0x1474bd){const _0x292d16=_0x292d();return _0xa8d7=function(_0xa8d786,_0x4828de){_0xa8d786=_0xa8d786-0xaf;let _0x3cb096=_0x292d16[_0xa8d786];return _0x3cb096;},_0xa8d7(_0x389d34,_0x1474bd);}const e=require('../templates/v2/generate-index.react'),i=require(_0x5f1570(0xc2)),t=require(_0x5f1570(0xb8)),s=require(_0x5f1570(0xc7)),r=require(_0x5f1570(0xb1));async function a(_0x29194b){const _0x4afe89=_0x5f1570;let _0x254493=e(_0x29194b);i[_0x4afe89(0xc0)](t[_0x4afe89(0xc4)](_0x29194b[_0x4afe89(0xc3)],_0x4afe89(0xbe)),_0x254493),i[_0x4afe89(0xb9)](t[_0x4afe89(0xb3)](__dirname,'../templates/v2/vite.config.js'),t[_0x4afe89(0xb3)](_0x29194b[_0x4afe89(0xc3)],'vite.config.js')),await s[_0x4afe89(0xaf)](_0x4afe89(0xb4),!0x0);}function _0x292d(){const _0x38d205=['cwd','join','v1tov2','263943Abwwyf','exec-sh','1190685veZMfo','migrateVersion','promise','70LcHdqT','../icons/update-icon-v3','2BlDAKz','resolve','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev','192KJHDHp','225183dhuyje','3065128MzxNKT','path','copyFileAsync','exports','4aiLpMb','376787WUAYpH','31306vmqPot','index.html','7sbhjkM','writeFileSync','2095644YgkKjk','../../utils/fs-extra'];_0x292d=function(){return _0x38d205;};return _0x292d();}async function n(_0x4ff4ea){const _0x89ca34=_0x5f1570;switch(_0x4ff4ea[_0x89ca34(0xc9)]){case _0x89ca34(0xc5):await a(_0x4ff4ea);break;case'iconsv3':await r(_0x4ff4ea);}}module[_0x5f1570(0xba)]=n;
1
+ 'use strict';const _0x14a744=_0x317e;(function(_0xbe07b7,_0x54e930){const _0x55b572=_0x317e,_0x3dbec8=_0xbe07b7();while(!![]){try{const _0x22f443=-parseInt(_0x55b572(0xeb))/0x1*(-parseInt(_0x55b572(0x100))/0x2)+parseInt(_0x55b572(0x103))/0x3+parseInt(_0x55b572(0xea))/0x4*(-parseInt(_0x55b572(0xf1))/0x5)+-parseInt(_0x55b572(0xfc))/0x6+-parseInt(_0x55b572(0xf5))/0x7*(parseInt(_0x55b572(0xed))/0x8)+parseInt(_0x55b572(0xee))/0x9*(-parseInt(_0x55b572(0xf2))/0xa)+-parseInt(_0x55b572(0xf4))/0xb*(-parseInt(_0x55b572(0xfd))/0xc);if(_0x22f443===_0x54e930)break;else _0x3dbec8['push'](_0x3dbec8['shift']());}catch(_0x12f284){_0x3dbec8['push'](_0x3dbec8['shift']());}}}(_0x16f9,0x5fd57));function _0x16f9(){const _0x4c8087=['resolve','1551711cDgXGu','36eTMcZR','3eXjZQw','promise','1608sALpxw','8505EBGsDL','v1tov2','../templates/v2/vite.config.js','86880BUZryQ','2110ooRBNq','../templates/v2/generate-index.react','8168182UYKkOz','21847wpuxlk','cwd','exec-sh','exports','writeFileSync','join','index.html','3525804YmRSJu','12BSXIuM','migrateVersion','vite.config.js','468980BpQDWm','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev'];_0x16f9=function(){return _0x4c8087;};return _0x16f9();}const e=require(_0x14a744(0xf3)),i=require('../../utils/fs-extra'),t=require('path'),s=require(_0x14a744(0xf7)),r=require('../icons/update-icon-v3');async function a(_0x888915){const _0x3c829f=_0x14a744;let _0x1f163d=e(_0x888915);i[_0x3c829f(0xf9)](t[_0x3c829f(0xfa)](_0x888915[_0x3c829f(0xf6)],_0x3c829f(0xfb)),_0x1f163d),i['copyFileAsync'](t[_0x3c829f(0x102)](__dirname,_0x3c829f(0xf0)),t[_0x3c829f(0x102)](_0x888915[_0x3c829f(0xf6)],_0x3c829f(0xff))),await s[_0x3c829f(0xec)](_0x3c829f(0x101),!0x0);}function _0x317e(_0x4ad8ff,_0x9cff04){const _0x16f963=_0x16f9();return _0x317e=function(_0x317e10,_0x3cc47f){_0x317e10=_0x317e10-0xea;let _0x189100=_0x16f963[_0x317e10];return _0x189100;},_0x317e(_0x4ad8ff,_0x9cff04);}async function n(_0x303323){const _0x416896=_0x14a744;switch(_0x303323[_0x416896(0xfe)]){case _0x416896(0xef):await a(_0x303323);break;case'iconsv3':await r(_0x303323);}}module[_0x14a744(0xf8)]=n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-cli",
3
- "version": "3.15.8",
3
+ "version": "3.15.9",
4
4
  "description": "ZMP command line utility (CLI)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -74,6 +74,6 @@
74
74
  "xhr2": "^0.2.1",
75
75
  "xmlhttprequest": "^1.8.0",
76
76
  "zip-local": "^0.3.4",
77
- "zmp-cli-core": "1.0.1"
77
+ "zmp-cli-core": "~1.0.2"
78
78
  }
79
79
  }
package/start/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x57967b=_0x5b23;(function(_0x19f108,_0xa1dead){const _0x53fecb=_0x5b23,_0x3ffb17=_0x19f108();while(!![]){try{const _0x1ecfe5=-parseInt(_0x53fecb(0x164))/0x1+parseInt(_0x53fecb(0x160))/0x2+parseInt(_0x53fecb(0x16f))/0x3+-parseInt(_0x53fecb(0x168))/0x4+parseInt(_0x53fecb(0x134))/0x5*(parseInt(_0x53fecb(0x135))/0x6)+parseInt(_0x53fecb(0x13f))/0x7*(parseInt(_0x53fecb(0x133))/0x8)+-parseInt(_0x53fecb(0x15c))/0x9;if(_0x1ecfe5===_0xa1dead)break;else _0x3ffb17['push'](_0x3ffb17['shift']());}catch(_0x30509e){_0x3ffb17['push'](_0x3ffb17['shift']());}}}(_0x34f8,0x2c90b));const e=require(_0x57967b(0x141)),r=require(_0x57967b(0x166)),t=require(_0x57967b(0x16d)),i=require(_0x57967b(0x16e)),o=require(_0x57967b(0x137)),n=require(_0x57967b(0x162)),{hri:s}=require(_0x57967b(0x129)),{startLocal:a,startDevice:p}=require(_0x57967b(0x15b)),l=require(_0x57967b(0x127)),c=require(_0x57967b(0x138)),{errorExit:d}=require(_0x57967b(0x15d)),u=require('../utils/fs-extra'),f=require(_0x57967b(0x158)),{openTunnel:g}=require('../utils/tunnel'),$=r(_0x57967b(0x146));function _0x34f8(){const _0x22b13c=['join','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','listJS','app','parse','/target.js\x27;\x20document.body.appendChild(script);\x20})()','1245097PYJwKj','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','chalk','reverse','splice','stop','data','Starting\x20mini\x20app...','error','random','exit','server','adb\x20reverse\x20error:\x20','generate','devices','existsSync','bold','\x20browser.','isArray','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','deviceMode','previewOnZalo','green','printUrls','tcp:','../utils/find-free-port','Error\x20starting\x20project','stderr','zmp-cli-core','4769127lOPbgc','../utils/error','blue','Chromium-based','437882IzWNQb','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','chii','createServer','106177dUISxk','Google\x20Chrome','ora','cwd','1303664inwnOb','iosHostName','writeFileSync','appId','toString','path','qrcode-terminal','934536jIFsHQ','\x20in\x20','yellow','stringify','/frame','child_process','start','config','\x20or\x20a\x20','exports','To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:','appConfigJson','env','port','remote-debug-script','https://zalo.me/app/link/zapps/','adb','../config','stdout','human-readable-ids','readFileSync','address','text','httpServer','/src/app.js','red','ios','/?env=TESTING_LOCAL&clientIp=http://','spawn','16JrJgIl','1291700eMyBUu','6GRdqps','info','log-symbols','../utils/env'];_0x34f8=function(){return _0x22b13c;};return _0x34f8();}function _0x5b23(_0x5e9eac,_0x434aab){const _0x34f8dc=_0x34f8();return _0x5b23=function(_0x5b232b,_0x315398){_0x5b232b=_0x5b232b-0x11e;let _0x2a4bce=_0x34f8dc[_0x5b232b];return _0x2a4bce;},_0x5b23(_0x5e9eac,_0x434aab);}module[_0x57967b(0x11f)]=async(_0x39b572={},_0x603c5a)=>{const _0x4124be=_0x57967b;let _0x231b0c;_0x603c5a||(_0x603c5a={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$[_0x4124be(0x175)]();let _0x4fffdc=_0x39b572[_0x4124be(0x167)]||process[_0x4124be(0x167)](),_0xf839a8=_0x39b572[_0x4124be(0x16b)]||c['getEnv'](l[_0x4124be(0x122)][_0x4124be(0x16b)]),_0x41e63c=_0x39b572[_0x4124be(0x154)],_0x14ca8f=_0x39b572[_0x4124be(0x130)],_0x4bfbc4=_0x39b572[_0x4124be(0x169)],_0x32888e=_0x39b572['frame'],_0x534f77=_0x14ca8f?_0x4bfbc4:'localhost',_0x28f06f=_0x39b572[_0x4124be(0x123)],_0x260781=_0x28f06f-0x2,_0x47951f=_0x39b572[_0x4124be(0x121)]||require((_0x231b0c=l['filename']['appConfig'],t[_0x4124be(0x139)](_0x4fffdc,_0x231b0c))),_0xd29404=_0x39b572[_0x4124be(0x153)];try{let _0x4c8e1f,_0x37b0d3,_0x216544;if(_0x41e63c){let _0x5ce553=t[_0x4124be(0x139)](_0x4fffdc,'hr.config.json'),_0x226f19={'id':_0x4124be(0x124),'innerHTML':_0x4124be(0x161)+_0x534f77+':'+_0x260781+_0x4124be(0x13e),'type':'text/javascript'};if(u[_0x4124be(0x14e)](_0x5ce553)){let _0xfcbf49=u[_0x4124be(0x12a)](_0x5ce553),_0x5951d2=JSON[_0x4124be(0x13d)](_0xfcbf49),_0x4ee43d=_0x5951d2[_0x4124be(0x13b)];Array[_0x4124be(0x151)](_0x4ee43d)||(_0x4ee43d=[]);let _0x5b2e03=_0x4ee43d['findIndex'](_0x458516=>_0x4124be(0x124)===_0x458516['id']);_0x5b2e03<=0x0||_0x4ee43d[_0x4124be(0x143)](_0x5b2e03,0x1),_0x4ee43d['push'](_0x226f19),_0x5951d2[_0x4124be(0x13b)]=_0x4ee43d,u[_0x4124be(0x16a)](_0x5ce553,JSON[_0x4124be(0x172)](_0x5951d2,void 0x0,0x4));}else u[_0x4124be(0x16a)](_0x5ce553,JSON[_0x4124be(0x172)]({'listCSS':[],'listJS':[{'src':_0x4124be(0x12e),'type':'module','async':!0x0},_0x226f19]},void 0x0,0x4));}if(_0xd29404){_0x4c8e1f=s[_0x4124be(0x148)](),_0x37b0d3=await f(),n['start']({'port':_0x37b0d3});let _0x5f04f8=await g(_0x37b0d3);_0x216544=await p({'appId':_0xf839a8,'chiiUrl':_0x5f04f8,'cwd':_0x4fffdc,'subdomain':_0x4c8e1f});}else{if(_0x216544=await a({'cwd':_0x4fffdc,'appConfig':_0x47951f,'config':{'host':'0.0.0.0','port':_0x32888e?_0x28f06f-0x1:_0x28f06f},'hmr':_0x41e63c?{'host':_0x534f77,'protocol':'ws'}:void 0x0}),_0x32888e&&!_0x41e63c){let _0x550550=await _0x216544['vite'][_0x4124be(0x163)]({'configFile':!0x1,'root':__dirname+_0x4124be(0x173),'server':{'port':_0x216544[_0x4124be(0x13c)][_0x4124be(0x12d)][_0x4124be(0x12b)]()[_0x4124be(0x123)]+0x1,'strictPort':!0x0,'open':!0x0}});$['stop'](),await _0x550550['listen'](),(0x0,_0x550550['config']['logger'][_0x4124be(0x136)])(e[_0x4124be(0x155)](_0x4124be(0x140))),_0x550550['printUrls']();}else $[_0x4124be(0x144)](),(0x0,_0x216544[_0x4124be(0x14a)][_0x4124be(0x176)]['logger'][_0x4124be(0x136)])(e[_0x4124be(0x155)](_0x4124be(0x140))),_0x216544['server'][_0x4124be(0x156)]();}let _0x518153=_0x216544['app'];if(_0x41e63c)try{n[_0x4124be(0x175)]({'port':_0x260781}),_0x603c5a[_0x4124be(0x12c)](e['green'](o['info']+'\x20'+e[_0x4124be(0x14f)]('Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:'+_0x260781))),_0x14ca8f||require(_0x4124be(0x174))['spawn'](_0x4124be(0x126),[_0x4124be(0x142),_0x4124be(0x157)+_0x260781,_0x4124be(0x157)+_0x260781])[_0x4124be(0x15a)]['on'](_0x4124be(0x145),function(_0x59766e){const _0x2b3963=_0x4124be;_0x603c5a['error'](_0x59766e[_0x2b3963(0x16c)]());});}catch(_0x4ad662){_0x603c5a[_0x4124be(0x12c)](o[_0x4124be(0x136)]+'\x20'+e[_0x4124be(0x12f)]('Can\x20not\x20start\x20remote\x20debug\x20server'));}if($[_0x4124be(0x144)](),_0x41e63c){let _0x59dc74=_0x4124be(0x125)+_0xf839a8+_0x4124be(0x131)+_0x534f77+':'+_0x518153[_0x4124be(0x176)][_0x4124be(0x14a)][_0x4124be(0x123)];i['generate'](_0x59dc74,{'small':!0x0},function(_0x1863d6){const _0x1f9282=_0x4124be;if(_0x603c5a[_0x1f9282(0x12c)](e[_0x1f9282(0x155)](o[_0x1f9282(0x136)]+'\x20'+e[_0x1f9282(0x14f)](_0x1f9282(0x13a)+_0x534f77+':'+_0x518153[_0x1f9282(0x176)][_0x1f9282(0x14a)][_0x1f9282(0x123)]))),_0x603c5a[_0x1f9282(0x12c)](e['green'](o[_0x1f9282(0x136)]+'\x20'+e[_0x1f9282(0x14f)]('Trying\x20reverse\x20socket\x20connection'))),_0x14ca8f){let _0x1c5fc5=o[_0x1f9282(0x136)]+'\x20'+e['bold'](_0x1f9282(0x152)+_0x1863d6);_0x603c5a['text'](_0x1c5fc5);}else{let _0x574df5=require('child_process')[_0x1f9282(0x132)]('adb',[_0x1f9282(0x142),_0x1f9282(0x157)+_0x518153[_0x1f9282(0x176)][_0x1f9282(0x14a)]['port'],_0x1f9282(0x157)+_0x518153[_0x1f9282(0x176)]['server'][_0x1f9282(0x123)]]);_0x574df5[_0x1f9282(0x15a)]['on'](_0x1f9282(0x145),function(_0x52ad7c){const _0x547e0b=_0x1f9282;_0x603c5a[_0x547e0b(0x147)](_0x52ad7c[_0x547e0b(0x16c)]());}),_0x574df5['on'](_0x1f9282(0x149),function(_0x26d963){const _0x23f1ae=_0x1f9282;if(0x0!==_0x26d963)throw Error(_0x23f1ae(0x14b)+_0x26d963);{let _0x1f38c8=o[_0x23f1ae(0x136)]+'\x20'+e[_0x23f1ae(0x14f)](_0x23f1ae(0x152)+_0x1863d6);_0x603c5a[_0x23f1ae(0x12c)](_0x1f38c8),require(_0x23f1ae(0x174))[_0x23f1ae(0x132)](_0x23f1ae(0x126),[_0x23f1ae(0x14d)])[_0x23f1ae(0x128)]['on'](_0x23f1ae(0x145),function(_0x5927f){const _0x52482e=_0x23f1ae;_0x603c5a['text'](''+e[_0x52482e(0x171)](_0x5927f[_0x52482e(0x16c)]()));});}});}});}if(_0xd29404){let _0x1f89f6=_0x518153[_0x4124be(0x12d)][_0x4124be(0x12b)]()[_0x4124be(0x123)],_0x4d56ab=await g(_0x1f89f6,_0x4c8e1f),_0x1f7e17='https://zalo.me/app/link/zapps/'+_0xf839a8+'/?env=TESTING_LOCAL&clientIp='+_0x4d56ab;i[_0x4124be(0x14c)](_0x1f7e17,{'small':!0x0},function(_0x3e6706){const _0x2c3ecf=_0x4124be;let _0x332ecd=o[_0x2c3ecf(0x136)]+'\x20'+e[_0x2c3ecf(0x14f)](_0x2c3ecf(0x152)+_0x3e6706);_0x603c5a[_0x2c3ecf(0x12c)](_0x332ecd),_0x603c5a[_0x2c3ecf(0x12c)](o[_0x2c3ecf(0x136)]+'\x20'+e[_0x2c3ecf(0x14f)](_0x2c3ecf(0x120)+_0x37b0d3+_0x2c3ecf(0x170)+e[_0x2c3ecf(0x155)](_0x2c3ecf(0x165))+_0x2c3ecf(0x11e)+e[_0x2c3ecf(0x15e)](_0x2c3ecf(0x15f))+_0x2c3ecf(0x150)));});}return await new Promise(()=>{});}catch(_0x446828){$[_0x4124be(0x144)](),_0x603c5a['error'](_0x4124be(0x159)),d(_0x446828);return;}};
1
+ 'use strict';function _0x3cd5(_0x5de609,_0x248c62){const _0x26da60=_0x26da();return _0x3cd5=function(_0x3cd5e0,_0x4de1cc){_0x3cd5e0=_0x3cd5e0-0x1f4;let _0x2f22a1=_0x26da60[_0x3cd5e0];return _0x2f22a1;},_0x3cd5(_0x5de609,_0x248c62);}const _0x51b6b5=_0x3cd5;(function(_0x5f36ed,_0x26d911){const _0xca3776=_0x3cd5,_0x4166ac=_0x5f36ed();while(!![]){try{const _0x2ca563=parseInt(_0xca3776(0x218))/0x1+parseInt(_0xca3776(0x20d))/0x2+parseInt(_0xca3776(0x23c))/0x3*(parseInt(_0xca3776(0x1fe))/0x4)+-parseInt(_0xca3776(0x21b))/0x5+parseInt(_0xca3776(0x247))/0x6*(-parseInt(_0xca3776(0x238))/0x7)+parseInt(_0xca3776(0x219))/0x8+-parseInt(_0xca3776(0x244))/0x9*(parseInt(_0xca3776(0x208))/0xa);if(_0x2ca563===_0x26d911)break;else _0x4166ac['push'](_0x4166ac['shift']());}catch(_0x1d003c){_0x4166ac['push'](_0x4166ac['shift']());}}}(_0x26da,0x2290e));const e=require(_0x51b6b5(0x228)),r=require(_0x51b6b5(0x22b)),t=require('path'),i=require(_0x51b6b5(0x243)),o=require(_0x51b6b5(0x1f5)),n=require(_0x51b6b5(0x240)),{hri:s}=require(_0x51b6b5(0x1fb)),{startLocal:a,startDevice:p}=require(_0x51b6b5(0x24e)),l=require(_0x51b6b5(0x246)),c=require(_0x51b6b5(0x22c)),{errorExit:d}=require('../utils/error'),u=require(_0x51b6b5(0x20c)),f=require(_0x51b6b5(0x214)),{openTunnel:g}=require(_0x51b6b5(0x217)),$=r('Starting\x20mini\x20app...');module[_0x51b6b5(0x204)]=async(_0x4240a3={},_0x4096cd)=>{const _0x11e615=_0x51b6b5;let _0x3b4495;_0x4096cd||(_0x4096cd={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$[_0x11e615(0x237)]();let _0xf75cf2=_0x4240a3[_0x11e615(0x231)]||process[_0x11e615(0x231)](),_0x445b34=_0x4240a3[_0x11e615(0x250)]||c[_0x11e615(0x216)](l['env'][_0x11e615(0x250)]),_0x323f5b=_0x4240a3[_0x11e615(0x23e)],_0x260876=_0x4240a3[_0x11e615(0x212)],_0xb100a7=_0x4240a3['iosHostName'],_0x5b120f=_0x4240a3[_0x11e615(0x235)],_0x58cd50=_0x260876?_0xb100a7:_0x11e615(0x21c),_0x5cc79a=_0x4240a3[_0x11e615(0x201)],_0x476670=_0x5cc79a-0x2,_0x497e0a=_0x4240a3[_0x11e615(0x249)]||require((_0x3b4495=l[_0x11e615(0x21e)][_0x11e615(0x203)],t[_0x11e615(0x23f)](_0xf75cf2,_0x3b4495))),_0x17e58f=_0x4240a3[_0x11e615(0x24f)];try{let _0x5ea9c9,_0x35c3b7,_0x26db27;if(_0x323f5b){let _0x2b42e9=t[_0x11e615(0x23f)](_0xf75cf2,_0x11e615(0x227)),_0x52a67c={'id':_0x11e615(0x23a),'innerHTML':_0x11e615(0x209)+_0x58cd50+':'+_0x476670+_0x11e615(0x20e),'type':_0x11e615(0x248)};if(u[_0x11e615(0x1f9)](_0x2b42e9)){let _0x2714fe=u[_0x11e615(0x230)](_0x2b42e9),_0x2a169c=JSON[_0x11e615(0x234)](_0x2714fe),_0x3b5054=_0x2a169c['listJS'];Array[_0x11e615(0x24a)](_0x3b5054)||(_0x3b5054=[]);let _0x2ec615=_0x3b5054[_0x11e615(0x21a)](_0x9c6439=>_0x11e615(0x23a)===_0x9c6439['id']);_0x2ec615<=0x0||_0x3b5054[_0x11e615(0x242)](_0x2ec615,0x1),_0x3b5054['push'](_0x52a67c),_0x2a169c[_0x11e615(0x233)]=_0x3b5054,u[_0x11e615(0x220)](_0x2b42e9,JSON[_0x11e615(0x24c)](_0x2a169c,void 0x0,0x4));}else u[_0x11e615(0x220)](_0x2b42e9,JSON[_0x11e615(0x24c)]({'listCSS':[],'listJS':[{'src':'/src/app.js','type':'module','async':!0x0},_0x52a67c]},void 0x0,0x4));}if(_0x17e58f){_0x5ea9c9=s[_0x11e615(0x226)](),_0x35c3b7=await f(),n['start']({'port':_0x35c3b7});let _0x530d75=await g(_0x35c3b7);_0x26db27=await p({'appId':_0x445b34,'chiiUrl':_0x530d75,'cwd':_0xf75cf2,'subdomain':_0x5ea9c9});}else{if(_0x26db27=await a({'cwd':_0xf75cf2,'appConfig':_0x497e0a,'config':{'host':_0x11e615(0x21f),'port':_0x5b120f?_0x5cc79a-0x1:_0x5cc79a},'hmr':_0x323f5b?{'host':_0x58cd50,'protocol':'ws'}:void 0x0}),_0x5b120f&&!_0x323f5b){let _0x3c8ab5=await _0x26db27[_0x11e615(0x210)][_0x11e615(0x1fd)]({'configFile':!0x1,'root':__dirname+_0x11e615(0x1f4),'server':{'port':_0x26db27[_0x11e615(0x1fa)][_0x11e615(0x252)][_0x11e615(0x23d)]()[_0x11e615(0x201)]+0x1,'strictPort':!0x0,'open':!0x0}});$['stop'](),await _0x3c8ab5[_0x11e615(0x22d)](),(0x0,_0x3c8ab5['config'][_0x11e615(0x232)][_0x11e615(0x1fc)])(e[_0x11e615(0x24d)](_0x11e615(0x223))),_0x3c8ab5['printUrls']();}else $[_0x11e615(0x22e)](),(0x0,_0x26db27['server'][_0x11e615(0x251)][_0x11e615(0x232)]['info'])(e[_0x11e615(0x24d)]('Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a')),_0x26db27[_0x11e615(0x20a)][_0x11e615(0x239)]();}let _0x39f5f6=_0x26db27[_0x11e615(0x1fa)];if(_0x323f5b)try{n[_0x11e615(0x237)]({'port':_0x476670}),_0x4096cd[_0x11e615(0x213)](e[_0x11e615(0x24d)](o['info']+'\x20'+e['bold'](_0x11e615(0x229)+_0x476670))),_0x260876||require(_0x11e615(0x224))[_0x11e615(0x21d)](_0x11e615(0x241),[_0x11e615(0x221),_0x11e615(0x23b)+_0x476670,_0x11e615(0x23b)+_0x476670])[_0x11e615(0x202)]['on'](_0x11e615(0x20b),function(_0x3d0071){_0x4096cd['error'](_0x3d0071['toString']());});}catch(_0x7c3c65){_0x4096cd[_0x11e615(0x213)](o[_0x11e615(0x1fc)]+'\x20'+e[_0x11e615(0x22a)](_0x11e615(0x1ff)));}if($[_0x11e615(0x22e)](),_0x323f5b){let _0x39b347=_0x11e615(0x200)+_0x445b34+_0x11e615(0x205)+_0x58cd50+':'+_0x39f5f6[_0x11e615(0x251)][_0x11e615(0x20a)][_0x11e615(0x201)];i[_0x11e615(0x245)](_0x39b347,{'small':!0x0},function(_0xf6db32){const _0x263188=_0x11e615;if(_0x4096cd[_0x263188(0x213)](e[_0x263188(0x24d)](o[_0x263188(0x1fc)]+'\x20'+e[_0x263188(0x22f)]('Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20'+_0x58cd50+':'+_0x39f5f6[_0x263188(0x251)][_0x263188(0x20a)][_0x263188(0x201)]))),_0x4096cd[_0x263188(0x213)](e[_0x263188(0x24d)](o[_0x263188(0x1fc)]+'\x20'+e[_0x263188(0x22f)]('Trying\x20reverse\x20socket\x20connection'))),_0x260876){let _0x5e0724=o[_0x263188(0x1fc)]+'\x20'+e[_0x263188(0x22f)](_0x263188(0x24b)+_0xf6db32);_0x4096cd[_0x263188(0x213)](_0x5e0724);}else{let _0x21e843=require(_0x263188(0x224))[_0x263188(0x21d)](_0x263188(0x241),['reverse',_0x263188(0x23b)+_0x39f5f6[_0x263188(0x251)]['server'][_0x263188(0x201)],_0x263188(0x23b)+_0x39f5f6[_0x263188(0x251)]['server'][_0x263188(0x201)]]);_0x21e843[_0x263188(0x202)]['on'](_0x263188(0x20b),function(_0x327419){_0x4096cd['error'](_0x327419['toString']());}),_0x21e843['on'](_0x263188(0x207),function(_0x4d7e07){const _0x25e798=_0x263188;if(0x0!==_0x4d7e07)throw Error(_0x25e798(0x206)+_0x4d7e07);{let _0x3bdf11=o[_0x25e798(0x1fc)]+'\x20'+e[_0x25e798(0x22f)]('Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a'+_0xf6db32);_0x4096cd['text'](_0x3bdf11),require(_0x25e798(0x224))[_0x25e798(0x21d)](_0x25e798(0x241),['devices'])['stdout']['on'](_0x25e798(0x20b),function(_0x69b9f5){const _0x3fcd0c=_0x25e798;_0x4096cd[_0x3fcd0c(0x213)](''+e['yellow'](_0x69b9f5[_0x3fcd0c(0x1f8)]()));});}});}});}if(_0x17e58f){let _0x319895=_0x39f5f6[_0x11e615(0x252)][_0x11e615(0x23d)]()[_0x11e615(0x201)],_0x42a8f3=await g(_0x319895,_0x5ea9c9),_0x51ca87=_0x11e615(0x200)+_0x445b34+_0x11e615(0x1f7)+_0x42a8f3;i['generate'](_0x51ca87,{'small':!0x0},function(_0x26ab6c){const _0x245fdf=_0x11e615;let _0x7093d7=o['info']+'\x20'+e['bold'](_0x245fdf(0x24b)+_0x26ab6c);_0x4096cd[_0x245fdf(0x213)](_0x7093d7),_0x4096cd[_0x245fdf(0x213)](o[_0x245fdf(0x1fc)]+'\x20'+e[_0x245fdf(0x22f)]('To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:'+_0x35c3b7+_0x245fdf(0x20f)+e[_0x245fdf(0x24d)](_0x245fdf(0x225))+_0x245fdf(0x211)+e['blue'](_0x245fdf(0x215))+_0x245fdf(0x222)));});}return await new Promise(()=>{});}catch(_0x399a5f){$[_0x11e615(0x22e)](),_0x4096cd[_0x11e615(0x1f6)](_0x11e615(0x236)),d(_0x399a5f);return;}};function _0x26da(){const _0x448ade=['chii','adb','splice','qrcode-terminal','108KlKxfO','generate','../config','162Kktxpw','text/javascript','appConfigJson','isArray','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','stringify','green','zmp-cli-core','deviceMode','appId','config','httpServer','/frame','log-symbols','error','/?env=TESTING_LOCAL&clientIp=','toString','existsSync','app','human-readable-ids','info','createServer','52644tPzIrs','Can\x20not\x20start\x20remote\x20debug\x20server','https://zalo.me/app/link/zapps/','port','stderr','appConfig','exports','/?env=TESTING_LOCAL&clientIp=http://','adb\x20reverse\x20error:\x20','exit','67370OcwUOD','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','server','data','../utils/fs-extra','331880zjmOYO','/target.js\x27;\x20document.body.appendChild(script);\x20})()','\x20in\x20','vite','\x20or\x20a\x20','ios','text','../utils/find-free-port','Chromium-based','getEnv','../utils/tunnel','40430HcWRHu','1157520Olvqby','findIndex','619050CYNwZu','localhost','spawn','filename','0.0.0.0','writeFileSync','reverse','\x20browser.','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','child_process','Google\x20Chrome','random','hr.config.json','chalk','Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:','red','ora','../utils/env','listen','stop','bold','readFileSync','cwd','logger','listJS','parse','frame','Error\x20starting\x20project','start','42196rrLClc','printUrls','remote-debug-script','tcp:','36sqarUL','address','previewOnZalo','join'];_0x26da=function(){return _0x448ade;};return _0x26da();}
@@ -1 +1 @@
1
- 'use strict';const _0x3155fe=_0x1f52;function _0x1f52(_0x2091a8,_0x5243b8){const _0x21bc91=_0x21bc();return _0x1f52=function(_0x1f5219,_0x4a0211){_0x1f5219=_0x1f5219-0x1f1;let _0xeb896a=_0x21bc91[_0x1f5219];return _0xeb896a;},_0x1f52(_0x2091a8,_0x5243b8);}(function(_0x5c3f57,_0x386a24){const _0x449469=_0x1f52,_0x3e8037=_0x5c3f57();while(!![]){try{const _0x5ecefc=parseInt(_0x449469(0x22b))/0x1*(-parseInt(_0x449469(0x214))/0x2)+parseInt(_0x449469(0x20b))/0x3*(parseInt(_0x449469(0x222))/0x4)+parseInt(_0x449469(0x1fa))/0x5*(parseInt(_0x449469(0x1fc))/0x6)+-parseInt(_0x449469(0x1f4))/0x7*(parseInt(_0x449469(0x218))/0x8)+parseInt(_0x449469(0x20d))/0x9+parseInt(_0x449469(0x1f1))/0xa+-parseInt(_0x449469(0x204))/0xb;if(_0x5ecefc===_0x386a24)break;else _0x3e8037['push'](_0x3e8037['shift']());}catch(_0x5327e4){_0x3e8037['push'](_0x3e8037['shift']());}}}(_0x21bc,0xcc76f));const e=require(_0x3155fe(0x209)),t=require('fs'),{axiosClient:r}=require(_0x3155fe(0x202));async function s(_0x586047,{outputDir:_0x122e3a,rootElement:_0x3ceaa7}){const _0x94dd82=_0x3155fe;let _0x5d5e4c=[],_0xf571e1=[],_0x36749b=[],_0x36fe51='';try{let _0x29c59b=new e()['parseFromString'](_0x586047,_0x94dd82(0x216)),_0x1d2967=[],_0x5449e6=[];for(let _0x2ca9de of _0x29c59b[_0x94dd82(0x21a)](_0x94dd82(0x205))){let _0x4486fc=_0x2ca9de['getAttribute'](_0x94dd82(0x20c)),_0x213753=_0x2ca9de[_0x94dd82(0x219)](_0x94dd82(0x211)),_0x4c64e6=_0x2ca9de[_0x94dd82(0x219)]('async'),_0x3918e9=_0x2ca9de[_0x94dd82(0x229)];try{if(_0x3918e9)_0x5449e6[_0x94dd82(0x20a)](_0x2ca9de[_0x94dd82(0x22a)]);else{let _0x1f519c=_0x4486fc;if(_0x4486fc['includes'](_0x94dd82(0x225))){let _0x3ab95d=_0x4486fc[_0x94dd82(0x1f3)](_0x4486fc[_0x94dd82(0x1f6)]('/')+0x1);_0x3ab95d='cdn.'+_0x3ab95d;let _0x210364=await r({'method':_0x94dd82(0x1f2),'url':_0x4486fc,'responseType':_0x94dd82(0x1fb)}),_0x126195=t[_0x94dd82(0x223)](_0x122e3a+'/'+_0x3ab95d);_0x210364[_0x94dd82(0x1fe)][_0x94dd82(0x220)](_0x126195),await new Promise((_0x5c7715,_0x17dbad)=>{_0x126195['on']('finish',_0x5c7715),_0x126195['on']('error',_0x17dbad);}),_0x1f519c=_0x3ab95d;}if(_0x94dd82(0x20e)===_0x213753&&!_0x1f519c['endsWith'](_0x94dd82(0x203))){let _0x1984ea=_0x4486fc[_0x94dd82(0x20f)](0x0,-0x3)[_0x94dd82(0x210)](_0x94dd82(0x21e));t[_0x94dd82(0x201)](_0x1f519c,_0x1984ea),_0x1f519c=_0x1984ea;}(_0x4c64e6?_0x36749b:_0xf571e1)[_0x94dd82(0x20a)](_0x1f519c);}}catch(_0x672d1f){console['warn'](_0x94dd82(0x221),_0x4486fc),console[_0x94dd82(0x1f5)](_0x672d1f[_0x94dd82(0x21d)]);}}for(let _0x1c0480 of(_0x29c59b['getElementsByTagName']('style')[_0x94dd82(0x224)](_0x56beb3=>{const _0x45a65b=_0x94dd82;_0x56beb3[_0x45a65b(0x229)]&&_0x1d2967[_0x45a65b(0x20a)](_0x56beb3['outerHTML']);}),_0x29c59b[_0x94dd82(0x21a)](_0x94dd82(0x213)))){let _0x28c14b=_0x1c0480[_0x94dd82(0x219)](_0x94dd82(0x1f9)),_0x5b5ff7=_0x1c0480['getAttribute'](_0x94dd82(0x21b));try{if(_0x94dd82(0x212)===_0x28c14b){let _0x454642=_0x5b5ff7;if(_0x5b5ff7[_0x94dd82(0x206)](_0x94dd82(0x225))){_0x454642=_0x5b5ff7[_0x94dd82(0x1f3)](_0x5b5ff7[_0x94dd82(0x1f6)]('/')+0x1),_0x454642=_0x94dd82(0x1f8)+_0x454642;let _0x42c3ef=await r({'method':_0x94dd82(0x1f2),'url':_0x5b5ff7,'responseType':_0x94dd82(0x1fb)}),_0x2e0bf0=t[_0x94dd82(0x223)](_0x122e3a+'/'+_0x454642);_0x42c3ef[_0x94dd82(0x1fe)][_0x94dd82(0x220)](_0x2e0bf0),await new Promise((_0x30cc6e,_0x47acc0)=>{const _0x36f148=_0x94dd82;_0x2e0bf0['on'](_0x36f148(0x200),_0x30cc6e),_0x2e0bf0['on']('error',_0x47acc0);});}_0x5d5e4c[_0x94dd82(0x20a)](_0x454642);}}catch(_0x5b08bb){console[_0x94dd82(0x1f5)](_0x94dd82(0x221),_0x5b5ff7),console[_0x94dd82(0x1f5)](_0x5b08bb['message']);}}if(_0x29c59b[_0x94dd82(0x21a)]('meta')['forEach'](_0x23f7c7=>{const _0x19311b=_0x94dd82;_0x1d2967['push'](_0x23f7c7[_0x19311b(0x22a)]);}),_0x3ceaa7&&_0x94dd82(0x1fd)!==_0x3ceaa7){let _0x42549c='<'+_0x3ceaa7+_0x94dd82(0x228);_0x3ceaa7[_0x94dd82(0x215)]('#')&&(_0x42549c=_0x94dd82(0x226)+_0x3ceaa7[_0x94dd82(0x1f3)](0x1)+_0x94dd82(0x1ff)),_0x3ceaa7['startsWith']('.')&&(_0x42549c='<div\x20class=\x22'+_0x3ceaa7[_0x94dd82(0x1f3)](0x1)+'\x22\x20/>'),_0x3ceaa7['startsWith']('<')&&(_0x42549c=_0x3ceaa7),_0x5449e6[_0x94dd82(0x21c)](_0x42549c);}_0x36fe51+=_0x1d2967[_0x94dd82(0x1f7)](_0x4fc011=>_0x94dd82(0x227)+_0x4fc011[_0x94dd82(0x207)]('`','\x5c`')+'`;')[_0x94dd82(0x208)]('\x0a')+'\x0a'+_0x5449e6['map'](_0x489416=>_0x94dd82(0x217)+_0x489416['replaceAll']('`','\x5c`')+'`;')[_0x94dd82(0x208)]('\x0a'),_0xf571e1[_0x94dd82(0x21c)]('inline.js');}catch(_0x4cf76d){console[_0x94dd82(0x1f5)](_0x4cf76d[_0x94dd82(0x21d)]);}return{'listCSS':_0x5d5e4c,'listSyncJS':_0xf571e1,'listAsyncJS':_0x36749b,'inlineJS':_0x36fe51};}function _0x21bc(){const _0x4bcb94=['8Fbueyz','getAttribute','getElementsByTagName','href','unshift','message','.module.js','exports','pipe','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!','2427992SeehBn','createWriteStream','forEach','://','<div\x20id=\x22','document.head.innerHTML\x20+=\x20`','\x20/>','innerHTML','outerHTML','2rVveHx','15578660bilAXY','get','substring','9996889HknlxO','error','lastIndexOf','map','cdn.','rel','5EsAvpY','stream','2055162hfDMlP','#app','data','\x22\x20/>','finish','rename','../utils/axios','module.js','8018428QAFbPl','script','includes','replaceAll','join','dom-parser','push','3ovTepo','src','8956125QIyPhI','module','slice','concat','type','stylesheet','link','507954qlDSdZ','startsWith','text/html','document.body.innerHTML\x20+=\x20`'];_0x21bc=function(){return _0x4bcb94;};return _0x21bc();}module[_0x3155fe(0x21f)]={'generateListResourcesFromIndex':s};
1
+ 'use strict';const _0x118d42=_0xe12e;(function(_0x28362d,_0x4a4583){const _0x3668ca=_0xe12e,_0x3e6cbd=_0x28362d();while(!![]){try{const _0x3e1a19=-parseInt(_0x3668ca(0x12d))/0x1*(parseInt(_0x3668ca(0x138))/0x2)+-parseInt(_0x3668ca(0x13f))/0x3+-parseInt(_0x3668ca(0x11e))/0x4+parseInt(_0x3668ca(0x126))/0x5*(parseInt(_0x3668ca(0x136))/0x6)+-parseInt(_0x3668ca(0x111))/0x7*(-parseInt(_0x3668ca(0x141))/0x8)+-parseInt(_0x3668ca(0x124))/0x9*(parseInt(_0x3668ca(0x128))/0xa)+parseInt(_0x3668ca(0x13d))/0xb*(parseInt(_0x3668ca(0x11c))/0xc);if(_0x3e1a19===_0x4a4583)break;else _0x3e6cbd['push'](_0x3e6cbd['shift']());}catch(_0x1ee8ba){_0x3e6cbd['push'](_0x3e6cbd['shift']());}}}(_0x3f9d,0xdc4f4));const e=require(_0x118d42(0x117)),t=require('fs'),{axiosClient:r}=require('../utils/axios');function _0x3f9d(){const _0x134b29=['getElementsByTagName','type','data','.module.js','dom-parser','startsWith','://','src','#app','1139508SFcpUj','finish','6890020bVrYMR','stylesheet','stream','includes','substring','message','9849339UXDYbH','href','5362145QLzLut','module','10AfREkY','endsWith','meta','getAttribute','innerHTML','258MTarJU','outerHTML','replaceAll','error','\x20/>','module.js','forEach','get','cdn.','6xEuBje','push','8426AXQuVS','createWriteStream','pipe','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!','\x22\x20/>','484aMeXBx','rel','1969350HcGWou','document.head.innerHTML\x20+=\x20`','312OMbSLs','rename','unshift','link','document.body.innerHTML\x20+=\x20`','concat','parseFromString','map','<div\x20class=\x22','warn','join','inline.js','style','38059AHMOHy','text/html'];_0x3f9d=function(){return _0x134b29;};return _0x3f9d();}async function s(_0x20cac5,{outputDir:_0x26b108,rootElement:_0x4c4b7a}){const _0x18edab=_0x118d42;let _0x38ab1c=[],_0x459c2c=[],_0x5cbca9=[],_0x22415f='';try{let _0x10ac5e=new e()[_0x18edab(0x147)](_0x20cac5,_0x18edab(0x112)),_0x630c6d=[],_0x5b213b=[];for(let _0x3eb392 of _0x10ac5e['getElementsByTagName']('script')){let _0x326a08=_0x3eb392[_0x18edab(0x12b)](_0x18edab(0x11a)),_0x297209=_0x3eb392[_0x18edab(0x12b)](_0x18edab(0x114)),_0x5d8e94=_0x3eb392['getAttribute']('async'),_0x155823=_0x3eb392[_0x18edab(0x12c)];try{if(_0x155823)_0x5b213b[_0x18edab(0x137)](_0x3eb392[_0x18edab(0x12e)]);else{let _0x65722=_0x326a08;if(_0x326a08[_0x18edab(0x121)](_0x18edab(0x119))){let _0x3e1c0c=_0x326a08[_0x18edab(0x122)](_0x326a08['lastIndexOf']('/')+0x1);_0x3e1c0c=_0x18edab(0x135)+_0x3e1c0c;let _0x32d6f7=await r({'method':_0x18edab(0x134),'url':_0x326a08,'responseType':'stream'}),_0x380b72=t[_0x18edab(0x139)](_0x26b108+'/'+_0x3e1c0c);_0x32d6f7[_0x18edab(0x115)][_0x18edab(0x13a)](_0x380b72),await new Promise((_0x502fcf,_0x4e58c8)=>{const _0x3ac9bf=_0x18edab;_0x380b72['on'](_0x3ac9bf(0x11d),_0x502fcf),_0x380b72['on']('error',_0x4e58c8);}),_0x65722=_0x3e1c0c;}if(_0x18edab(0x127)===_0x297209&&!_0x65722[_0x18edab(0x129)](_0x18edab(0x132))){let _0x1ce2ca=_0x326a08['slice'](0x0,-0x3)[_0x18edab(0x146)](_0x18edab(0x116));t[_0x18edab(0x142)](_0x65722,_0x1ce2ca),_0x65722=_0x1ce2ca;}(_0x5d8e94?_0x5cbca9:_0x459c2c)['push'](_0x65722);}}catch(_0x340504){console[_0x18edab(0x10d)]('\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!',_0x326a08),console[_0x18edab(0x130)](_0x340504[_0x18edab(0x123)]);}}for(let _0x2f52d3 of(_0x10ac5e['getElementsByTagName'](_0x18edab(0x110))[_0x18edab(0x133)](_0x12e4bf=>{const _0x512312=_0x18edab;_0x12e4bf[_0x512312(0x12c)]&&_0x630c6d['push'](_0x12e4bf[_0x512312(0x12e)]);}),_0x10ac5e[_0x18edab(0x113)](_0x18edab(0x144)))){let _0x3ec857=_0x2f52d3[_0x18edab(0x12b)](_0x18edab(0x13e)),_0x1e4e45=_0x2f52d3[_0x18edab(0x12b)](_0x18edab(0x125));try{if(_0x18edab(0x11f)===_0x3ec857){let _0x1d7ace=_0x1e4e45;if(_0x1e4e45[_0x18edab(0x121)](_0x18edab(0x119))){_0x1d7ace=_0x1e4e45[_0x18edab(0x122)](_0x1e4e45['lastIndexOf']('/')+0x1),_0x1d7ace=_0x18edab(0x135)+_0x1d7ace;let _0x20dba1=await r({'method':_0x18edab(0x134),'url':_0x1e4e45,'responseType':_0x18edab(0x120)}),_0x4bd977=t['createWriteStream'](_0x26b108+'/'+_0x1d7ace);_0x20dba1[_0x18edab(0x115)][_0x18edab(0x13a)](_0x4bd977),await new Promise((_0x524b29,_0x52e7a6)=>{const _0x147b19=_0x18edab;_0x4bd977['on'](_0x147b19(0x11d),_0x524b29),_0x4bd977['on'](_0x147b19(0x130),_0x52e7a6);});}_0x38ab1c[_0x18edab(0x137)](_0x1d7ace);}}catch(_0x246b39){console[_0x18edab(0x130)](_0x18edab(0x13b),_0x1e4e45),console['error'](_0x246b39[_0x18edab(0x123)]);}}if(_0x10ac5e[_0x18edab(0x113)](_0x18edab(0x12a))['forEach'](_0x560515=>{const _0x4de74a=_0x18edab;_0x630c6d['push'](_0x560515[_0x4de74a(0x12e)]);}),_0x4c4b7a&&_0x18edab(0x11b)!==_0x4c4b7a){let _0xcfd83e='<'+_0x4c4b7a+_0x18edab(0x131);_0x4c4b7a[_0x18edab(0x118)]('#')&&(_0xcfd83e='<div\x20id=\x22'+_0x4c4b7a['substring'](0x1)+_0x18edab(0x13c)),_0x4c4b7a['startsWith']('.')&&(_0xcfd83e=_0x18edab(0x149)+_0x4c4b7a['substring'](0x1)+_0x18edab(0x13c)),_0x4c4b7a[_0x18edab(0x118)]('<')&&(_0xcfd83e=_0x4c4b7a),_0x5b213b[_0x18edab(0x143)](_0xcfd83e);}_0x22415f+=_0x630c6d[_0x18edab(0x148)](_0x2be672=>_0x18edab(0x140)+_0x2be672[_0x18edab(0x12f)]('`','\x5c`')+'`;')[_0x18edab(0x10e)]('\x0a')+'\x0a'+_0x5b213b[_0x18edab(0x148)](_0x2da13e=>_0x18edab(0x145)+_0x2da13e[_0x18edab(0x12f)]('`','\x5c`')+'`;')[_0x18edab(0x10e)]('\x0a'),_0x459c2c[_0x18edab(0x143)](_0x18edab(0x10f));}catch(_0xd6892e){console[_0x18edab(0x130)](_0xd6892e[_0x18edab(0x123)]);}return{'listCSS':_0x38ab1c,'listSyncJS':_0x459c2c,'listAsyncJS':_0x5cbca9,'inlineJS':_0x22415f};}function _0xe12e(_0x5ec126,_0x35754d){const _0x3f9d31=_0x3f9d();return _0xe12e=function(_0xe12ef1,_0x2efc1e){_0xe12ef1=_0xe12ef1-0x10d;let _0x187439=_0x3f9d31[_0xe12ef1];return _0x187439;},_0xe12e(_0x5ec126,_0x35754d);}module['exports']={'generateListResourcesFromIndex':s};
package/sync/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x9392ec=_0x39f5;(function(_0x35f777,_0xfd56ed){const _0x46b8f1=_0x39f5,_0x4cdb9b=_0x35f777();while(!![]){try{const _0x178fff=-parseInt(_0x46b8f1(0x1d5))/0x1+parseInt(_0x46b8f1(0x1d2))/0x2*(-parseInt(_0x46b8f1(0x1e6))/0x3)+parseInt(_0x46b8f1(0x1e3))/0x4*(parseInt(_0x46b8f1(0x1d6))/0x5)+-parseInt(_0x46b8f1(0x1d7))/0x6*(-parseInt(_0x46b8f1(0x1d1))/0x7)+parseInt(_0x46b8f1(0x1e4))/0x8+-parseInt(_0x46b8f1(0x1e8))/0x9+parseInt(_0x46b8f1(0x1cc))/0xa*(parseInt(_0x46b8f1(0x1d8))/0xb);if(_0x178fff===_0xfd56ed)break;else _0x4cdb9b['push'](_0x4cdb9b['shift']());}catch(_0x45c709){_0x4cdb9b['push'](_0x4cdb9b['shift']());}}}(_0x388e,0x505c1));function _0x39f5(_0x1abcb2,_0x3f8b16){const _0x388e06=_0x388e();return _0x39f5=function(_0x39f55a,_0x584696){_0x39f55a=_0x39f55a-0x1c8;let _0x166789=_0x388e06[_0x39f55a];return _0x166789;},_0x39f5(_0x1abcb2,_0x3f8b16);}const t=require('path'),e=require(_0x9392ec(0x1df)),r=require('../utils/fs-extra'),i=require(_0x9392ec(0x1d0)),{errorExit:n}=require(_0x9392ec(0x1c9)),{generateListResourcesFromIndex:a}=require(_0x9392ec(0x1d4)),o=e[_0x9392ec(0x1e9)]('(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)'),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};function _0x388e(){const _0x32b514=['232181lgGXgQ','40PABHEe','1908822pxfCjp','44TkdMso','toString','/inline.js','writeFileSync','assign','stringify','bold','chalk','error_msg','app_config_not_found','join','47504pdNDrl','514520ugbVdP','Synchronization\x20configuration\x20','325203tzZkZF','Configuration\x20synchronization\x20completed!','3755637ObmMZd','gray','green','exports','cwd','../utils/error','text','readFileSync','2607930dpMZqO','\x20💪','filename','statusDone','../config','7RFQRbI','10PoKRSP','statusStart','./index-to-app-config'];_0x388e=function(){return _0x32b514;};return _0x388e();}module[_0x9392ec(0x1eb)]=async(_0x251bee={},_0x1085b6=s)=>{const _0x111e0f=_0x9392ec;let _0x2ebb18;_0x1085b6[_0x111e0f(0x1d3)](_0x111e0f(0x1e5)+o);let _0x1b25b2=process[_0x111e0f(0x1c8)](),{source:_0x4e89fc,rootElement:_0x1603bd}=_0x251bee,_0x3dfe15=i[_0x111e0f(0x1ce)]['appConfig'],_0x547b4e=_0x497cee=>t[_0x111e0f(0x1e2)](_0x1b25b2,_0x497cee);try{_0x2ebb18=require(_0x547b4e(_0x3dfe15));}catch(_0x11ea3c){n(Error(i[_0x111e0f(0x1e0)][_0x111e0f(0x1e1)]));}let _0x46fb85=r[_0x111e0f(0x1cb)](_0x4e89fc)[_0x111e0f(0x1d9)](),_0x53e773=t['dirname'](_0x4e89fc),{listCSS:_0x2de309,listSyncJS:_0x2541ab,listAsyncJS:_0x12e15f,inlineJS:_0x10eb54}=await a(_0x46fb85,{'outputDir':_0x53e773,'rootElement':_0x1603bd});Object[_0x111e0f(0x1dc)](_0x2ebb18,{'listCSS':_0x2de309,'listSyncJS':_0x2541ab,'listAsyncJS':_0x12e15f}),_0x10eb54&&r[_0x111e0f(0x1db)](_0x547b4e(_0x53e773+_0x111e0f(0x1da)),_0x10eb54);let _0xb37953=JSON[_0x111e0f(0x1dd)](_0x2ebb18,null,0x2);r[_0x111e0f(0x1db)](_0x547b4e(_0x3dfe15),_0xb37953),_0x1085b6[_0x111e0f(0x1cf)](e[_0x111e0f(0x1de)][_0x111e0f(0x1ea)](_0x111e0f(0x1e7))+_0x111e0f(0x1cd)),_0x1085b6[_0x111e0f(0x1ca)]({'listCSS':_0x2de309,'listSyncJS':_0x2541ab,'listAsyncJS':_0x12e15f});};
1
+ 'use strict';function _0x7c0e(){const _0x5d0a5b=['20QOjaWy','appConfig','../config','filename','60anCgmV','readFileSync','exports','./index-to-app-config','toString','../utils/error','text','2413586EZSXpH','stringify','16VJoCWT','join','2VsayBX','(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)','writeFileSync','4xxoedh','1642940ZNdryg','6UwNwEi','dirname','1700138Xsdceg','statusDone','1230843KkrHvG','100545oPKftP','\x20💪','error_msg','Configuration\x20synchronization\x20completed!','181422xPajEb','cwd','2926728WqXKOZ','/inline.js'];_0x7c0e=function(){return _0x5d0a5b;};return _0x7c0e();}const _0x2f130b=_0xf0d6;(function(_0x2da778,_0xa5fa67){const _0x3f2a2b=_0xf0d6,_0x59c3f9=_0x2da778();while(!![]){try{const _0x3a1bef=parseInt(_0x3f2a2b(0x1b1))/0x1*(parseInt(_0x3f2a2b(0x1a8))/0x2)+parseInt(_0x3f2a2b(0x1b6))/0x3+parseInt(_0x3f2a2b(0x1ab))/0x4*(parseInt(_0x3f2a2b(0x1b2))/0x5)+parseInt(_0x3f2a2b(0x1ad))/0x6*(parseInt(_0x3f2a2b(0x1a4))/0x7)+parseInt(_0x3f2a2b(0x1a6))/0x8*(-parseInt(_0x3f2a2b(0x1b8))/0x9)+parseInt(_0x3f2a2b(0x1ba))/0xa*(parseInt(_0x3f2a2b(0x1af))/0xb)+parseInt(_0x3f2a2b(0x1be))/0xc*(-parseInt(_0x3f2a2b(0x1ac))/0xd);if(_0x3a1bef===_0xa5fa67)break;else _0x59c3f9['push'](_0x59c3f9['shift']());}catch(_0xbc9284){_0x59c3f9['push'](_0x59c3f9['shift']());}}}(_0x7c0e,0xa6c30));const t=require('path'),e=require('chalk'),r=require('../utils/fs-extra'),i=require(_0x2f130b(0x1bc)),{errorExit:n}=require(_0x2f130b(0x1a2)),{generateListResourcesFromIndex:a}=require(_0x2f130b(0x1c1)),o=e['gray'](_0x2f130b(0x1a9)),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};function _0xf0d6(_0xd13e56,_0x2f8b35){const _0x7c0e28=_0x7c0e();return _0xf0d6=function(_0xf0d67a,_0x2ed1e9){_0xf0d67a=_0xf0d67a-0x1a2;let _0x3feb48=_0x7c0e28[_0xf0d67a];return _0x3feb48;},_0xf0d6(_0xd13e56,_0x2f8b35);}module[_0x2f130b(0x1c0)]=async(_0x262b1e={},_0x51f741=s)=>{const _0xa5e975=_0x2f130b;let _0x1a2cdc;_0x51f741['statusStart']('Synchronization\x20configuration\x20'+o);let _0x23a7ac=process[_0xa5e975(0x1b7)](),{source:_0x6e082,rootElement:_0x3942df}=_0x262b1e,_0xde168b=i[_0xa5e975(0x1bd)][_0xa5e975(0x1bb)],_0x2f9f07=_0x3f5797=>t[_0xa5e975(0x1a7)](_0x23a7ac,_0x3f5797);try{_0x1a2cdc=require(_0x2f9f07(_0xde168b));}catch(_0x777f83){n(Error(i[_0xa5e975(0x1b4)]['app_config_not_found']));}let _0x388c9c=r[_0xa5e975(0x1bf)](_0x6e082)[_0xa5e975(0x1c2)](),_0x3a884e=t[_0xa5e975(0x1ae)](_0x6e082),{listCSS:_0x409fb2,listSyncJS:_0x35f35d,listAsyncJS:_0x45a0ff,inlineJS:_0x51ce4f}=await a(_0x388c9c,{'outputDir':_0x3a884e,'rootElement':_0x3942df});Object['assign'](_0x1a2cdc,{'listCSS':_0x409fb2,'listSyncJS':_0x35f35d,'listAsyncJS':_0x45a0ff}),_0x51ce4f&&r['writeFileSync'](_0x2f9f07(_0x3a884e+_0xa5e975(0x1b9)),_0x51ce4f);let _0x38fe51=JSON[_0xa5e975(0x1a5)](_0x1a2cdc,null,0x2);r[_0xa5e975(0x1aa)](_0x2f9f07(_0xde168b),_0x38fe51),_0x51f741[_0xa5e975(0x1b0)](e['bold']['green'](_0xa5e975(0x1b5))+_0xa5e975(0x1b3)),_0x51f741[_0xa5e975(0x1a3)]({'listCSS':_0x409fb2,'listSyncJS':_0x35f35d,'listAsyncJS':_0x45a0ff});};
package/utils/axios.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x5c13(_0x326f18,_0x3ce6b3){const _0x28e482=_0x28e4();return _0x5c13=function(_0x5c132b,_0x17470c){_0x5c132b=_0x5c132b-0x128;let _0x37d610=_0x28e482[_0x5c132b];return _0x37d610;},_0x5c13(_0x326f18,_0x3ce6b3);}const _0xf1c02a=_0x5c13;(function(_0x21bf25,_0x480e83){const _0x10f7a9=_0x5c13,_0xeddc47=_0x21bf25();while(!![]){try{const _0x4e96c3=parseInt(_0x10f7a9(0x129))/0x1+-parseInt(_0x10f7a9(0x131))/0x2+-parseInt(_0x10f7a9(0x12e))/0x3+parseInt(_0x10f7a9(0x12b))/0x4*(parseInt(_0x10f7a9(0x12d))/0x5)+-parseInt(_0x10f7a9(0x12f))/0x6+-parseInt(_0x10f7a9(0x130))/0x7+parseInt(_0x10f7a9(0x12c))/0x8;if(_0x4e96c3===_0x480e83)break;else _0xeddc47['push'](_0xeddc47['shift']());}catch(_0x36b772){_0xeddc47['push'](_0xeddc47['shift']());}}}(_0x28e4,0x3ec74));const {ProxyAgent:e}=require('proxy-agent'),t=require(_0xf1c02a(0x128)),r=new e(),o=t['create']({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});function _0x28e4(){const _0x5e86a2=['276604SBXDuu','exports','10700mDftLL','3799128XDfRcL','535kIYOmp','806385kZaIiz','1077228QNZQZH','1450281LwVOtQ','250128uZrOLz','axios'];_0x28e4=function(){return _0x5e86a2;};return _0x28e4();}module[_0xf1c02a(0x12a)]={'agent':r,'axiosClient':o};
1
+ 'use strict';const _0x12e989=_0x3c38;(function(_0x5a5a7e,_0x3f1634){const _0xa8315c=_0x3c38,_0x56bd13=_0x5a5a7e();while(!![]){try{const _0x54e255=parseInt(_0xa8315c(0x138))/0x1*(-parseInt(_0xa8315c(0x132))/0x2)+parseInt(_0xa8315c(0x12f))/0x3+-parseInt(_0xa8315c(0x136))/0x4+parseInt(_0xa8315c(0x133))/0x5*(parseInt(_0xa8315c(0x12e))/0x6)+parseInt(_0xa8315c(0x130))/0x7*(parseInt(_0xa8315c(0x131))/0x8)+parseInt(_0xa8315c(0x137))/0x9+-parseInt(_0xa8315c(0x139))/0xa;if(_0x54e255===_0x3f1634)break;else _0x56bd13['push'](_0x56bd13['shift']());}catch(_0x344954){_0x56bd13['push'](_0x56bd13['shift']());}}}(_0xe7c1,0xe30b9));function _0x3c38(_0x24e0f8,_0x2fa56b){const _0xe7c182=_0xe7c1();return _0x3c38=function(_0x3c3872,_0xb601d1){_0x3c3872=_0x3c3872-0x12e;let _0x18c866=_0xe7c182[_0x3c3872];return _0x18c866;},_0x3c38(_0x24e0f8,_0x2fa56b);}function _0xe7c1(){const _0x5ae436=['5ZiXdkk','create','axios','6414604SWLLGd','1266111TOpHFL','175289YKfXSK','8251850cIZTBn','proxy-agent','exports','6524754vktjQz','4295658LHaPOh','112dcJHmX','612328qqWEfz','6IIwOdK'];_0xe7c1=function(){return _0x5ae436;};return _0xe7c1();}const {ProxyAgent:e}=require(_0x12e989(0x13a)),t=require(_0x12e989(0x135)),r=new e(),o=t[_0x12e989(0x134)]({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});module[_0x12e989(0x13b)]={'agent':r,'axiosClient':o};
@@ -1 +1 @@
1
- 'use strict';const _0x32415f=_0x4645;function _0x4645(_0x2ddcb2,_0x332fc4){const _0x5eb923=_0x5eb9();return _0x4645=function(_0x46456c,_0x1e9480){_0x46456c=_0x46456c-0x159;let _0x55554f=_0x5eb923[_0x46456c];return _0x55554f;},_0x4645(_0x2ddcb2,_0x332fc4);}(function(_0x29dbef,_0x1c5aea){const _0x114613=_0x4645,_0x343c54=_0x29dbef();while(!![]){try{const _0x5af26=parseInt(_0x114613(0x16b))/0x1*(-parseInt(_0x114613(0x178))/0x2)+-parseInt(_0x114613(0x16e))/0x3+-parseInt(_0x114613(0x174))/0x4*(-parseInt(_0x114613(0x177))/0x5)+-parseInt(_0x114613(0x168))/0x6*(parseInt(_0x114613(0x15b))/0x7)+-parseInt(_0x114613(0x179))/0x8+parseInt(_0x114613(0x173))/0x9+parseInt(_0x114613(0x166))/0xa;if(_0x5af26===_0x1c5aea)break;else _0x343c54['push'](_0x343c54['shift']());}catch(_0x498e85){_0x343c54['push'](_0x343c54['shift']());}}}(_0x5eb9,0x7b812));const e=require(_0x32415f(0x17b)),r=require(_0x32415f(0x165)),t=require(_0x32415f(0x15e)),a=require(_0x32415f(0x15c)),i=require('./log');async function s(){const _0x1145ba=_0x32415f;a[_0x1145ba(0x16a)](_0x1145ba(0x170)),await new Promise((_0x694526,_0x3216a7)=>{const _0x23f7ba=_0x1145ba;r[_0x23f7ba(0x161)](_0x23f7ba(0x164))[_0x23f7ba(0x15d)](_0x4c991e=>{const _0x5c9e66=_0x23f7ba;let _0x19d20b=_0x4c991e[_0x5c9e66(0x160)][_0x5c9e66(0x16f)][_0x5c9e66(0x176)]('.')[_0x5c9e66(0x163)](_0x7f0c05=>parseInt(_0x7f0c05,0xa)),_0x4bf043=t[_0x5c9e66(0x16f)][_0x5c9e66(0x176)]('.')[_0x5c9e66(0x163)](_0x302ff2=>parseInt(_0x302ff2,0xa)),_0x4ea13a=!0x1,_0x39dc63=!0x1;_0x19d20b[_0x5c9e66(0x167)]((_0x468cd7,_0x29c5a0)=>{!_0x39dc63&&(_0x19d20b[_0x29c5a0]>_0x4bf043[_0x29c5a0]?_0x4ea13a=!0x0:_0x19d20b[_0x29c5a0]<_0x4bf043[_0x29c5a0]&&(_0x39dc63=!0x0));}),_0x694526(_0x4ea13a);})[_0x23f7ba(0x16c)](_0x4e4526=>{const _0x4bee30=_0x23f7ba;_0x3216a7(_0x4e4526),a[_0x4bee30(0x159)]('Error\x20checking\x20update'),_0x4e4526&&i['error'](_0x4e4526[_0x4bee30(0x15a)]||_0x4e4526),process[_0x4bee30(0x16d)](0x1);});})?(a[_0x1145ba(0x159)]('Update\x20available'),i['text']('\x0a'+e['warning']+_0x1145ba(0x171),!0x0),i[_0x1145ba(0x175)](e[_0x1145ba(0x17a)]+'\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:',!0x0),i[_0x1145ba(0x175)](_0x1145ba(0x172),!0x0),process[_0x1145ba(0x16d)](0x1)):a[_0x1145ba(0x169)](_0x1145ba(0x162));}module[_0x32415f(0x15f)]=s;function _0x5eb9(){const _0x5b32a5=['../package.json','exports','data','get','All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','map','https://registry.npmjs.org/zmp-cli/latest','axios','22980200lNhlrm','forEach','997902EVKoeV','done','start','96VUFYkn','catch','exit','2294865mbgUMm','version','Checking\x20for\x20available\x20updates...','\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','5254146sHTfle','12dfrAQb','text','split','166895zEzMSc','9286uQUGGV','6131544OSsEaU','warning','log-symbols','error','stderr','21zppong','./spinner','then'];_0x5eb9=function(){return _0x5b32a5;};return _0x5eb9();}
1
+ 'use strict';function _0xca4b(){const _0x55e798=['22xwHFBw','forEach','catch','data','24320930OkSkaM','1683594WxiOzh','6jMQwIa','map','12753432FEBLGT','2647708CIyjUl','get','error','text','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','done','\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:','Checking\x20for\x20available\x20updates...','9996028tcVagE','./log','738270JpFFKu','1WYOhmS','start','log-symbols','split','warning','https://registry.npmjs.org/zmp-cli/latest','exit','425778lEIYJJ','version','15PZnqHW','then','axios','./spinner'];_0xca4b=function(){return _0x55e798;};return _0xca4b();}const _0x36cfbc=_0x3a30;(function(_0x24a585,_0x5b4725){const _0x213a97=_0x3a30,_0x538d10=_0x24a585();while(!![]){try{const _0x449a7d=parseInt(_0x213a97(0x137))/0x1*(-parseInt(_0x213a97(0x13e))/0x2)+-parseInt(_0x213a97(0x14a))/0x3*(parseInt(_0x213a97(0x14d))/0x4)+parseInt(_0x213a97(0x140))/0x5*(parseInt(_0x213a97(0x136))/0x6)+-parseInt(_0x213a97(0x134))/0x7+-parseInt(_0x213a97(0x14c))/0x8+parseInt(_0x213a97(0x149))/0x9+-parseInt(_0x213a97(0x148))/0xa*(-parseInt(_0x213a97(0x144))/0xb);if(_0x449a7d===_0x5b4725)break;else _0x538d10['push'](_0x538d10['shift']());}catch(_0x5dbecb){_0x538d10['push'](_0x538d10['shift']());}}}(_0xca4b,0xd2515));const e=require(_0x36cfbc(0x139)),r=require(_0x36cfbc(0x142)),t=require('../package.json'),a=require(_0x36cfbc(0x143)),i=require(_0x36cfbc(0x135));async function s(){const _0x38787b=_0x36cfbc;a[_0x38787b(0x138)](_0x38787b(0x133)),await new Promise((_0xc42cba,_0x585635)=>{const _0x18465b=_0x38787b;r[_0x18465b(0x14e)](_0x18465b(0x13c))[_0x18465b(0x141)](_0x56ddc8=>{const _0x3d4712=_0x18465b;let _0x42de4b=_0x56ddc8[_0x3d4712(0x147)][_0x3d4712(0x13f)]['split']('.')[_0x3d4712(0x14b)](_0x1918f5=>parseInt(_0x1918f5,0xa)),_0x4ea79c=t['version'][_0x3d4712(0x13a)]('.')['map'](_0x41ab78=>parseInt(_0x41ab78,0xa)),_0x15ec3b=!0x1,_0x485be5=!0x1;_0x42de4b[_0x3d4712(0x145)]((_0x4193c5,_0x358f56)=>{!_0x485be5&&(_0x42de4b[_0x358f56]>_0x4ea79c[_0x358f56]?_0x15ec3b=!0x0:_0x42de4b[_0x358f56]<_0x4ea79c[_0x358f56]&&(_0x485be5=!0x0));}),_0xc42cba(_0x15ec3b);})[_0x18465b(0x146)](_0x240729=>{const _0x5476c2=_0x18465b;_0x585635(_0x240729),a['error']('Error\x20checking\x20update'),_0x240729&&i['error'](_0x240729['stderr']||_0x240729),process[_0x5476c2(0x13d)](0x1);});})?(a[_0x38787b(0x12e)]('Update\x20available'),i[_0x38787b(0x12f)]('\x0a'+e[_0x38787b(0x13b)]+'\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.',!0x0),i[_0x38787b(0x12f)](e[_0x38787b(0x13b)]+_0x38787b(0x132),!0x0),i[_0x38787b(0x12f)](_0x38787b(0x130),!0x0),process['exit'](0x1)):a[_0x38787b(0x131)]('All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.');}function _0x3a30(_0x2a0ee9,_0x2f5950){const _0xca4bd1=_0xca4b();return _0x3a30=function(_0x3a30b1,_0x3a923e){_0x3a30b1=_0x3a30b1-0x12e;let _0x3315dc=_0xca4bd1[_0x3a30b1];return _0x3315dc;},_0x3a30(_0x2a0ee9,_0x2f5950);}module['exports']=s;
@@ -1 +1 @@
1
- 'use strict';(function(_0x2bda0a,_0x51d8ba){var _0x58425d=_0x2f45,_0x1b6f12=_0x2bda0a();while(!![]){try{var _0x3bd84a=parseInt(_0x58425d(0x6e))/0x1+parseInt(_0x58425d(0x71))/0x2*(-parseInt(_0x58425d(0x6b))/0x3)+parseInt(_0x58425d(0x74))/0x4*(-parseInt(_0x58425d(0x72))/0x5)+-parseInt(_0x58425d(0x73))/0x6*(parseInt(_0x58425d(0x6d))/0x7)+-parseInt(_0x58425d(0x6f))/0x8+-parseInt(_0x58425d(0x70))/0x9*(parseInt(_0x58425d(0x6c))/0xa)+parseInt(_0x58425d(0x6a))/0xb*(parseInt(_0x58425d(0x69))/0xc);if(_0x3bd84a===_0x51d8ba)break;else _0x1b6f12['push'](_0x1b6f12['shift']());}catch(_0x2d7581){_0x1b6f12['push'](_0x1b6f12['shift']());}}}(_0x4e69,0x468c0));function _0x4e69(){var _0x5b3573=['4qCqEyZ','193212eknTeq','737xQuhKF','130641AfIeAu','3849640nUUpvu','20069ndbiZJ','506943VPHnSa','3491192UOTHfk','9XPlPpH','10DVSIGA','614515OPgzsr','282SnkcqP'];_0x4e69=function(){return _0x5b3573;};return _0x4e69();}function _0x2f45(_0x3b8d96,_0x130cfe){var _0x4e695b=_0x4e69();return _0x2f45=function(_0x2f4536,_0x5daecc){_0x2f4536=_0x2f4536-0x69;var _0x5e0cb1=_0x4e695b[_0x2f4536];return _0x5e0cb1;},_0x2f45(_0x3b8d96,_0x130cfe);}module['exports']={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':'mini.123c.vn'}};
1
+ 'use strict';function _0x5a50(_0x51188c,_0x1b3f55){var _0x3562c2=_0x3562();return _0x5a50=function(_0x5a505f,_0xdf691b){_0x5a505f=_0x5a505f-0x152;var _0x24e6b5=_0x3562c2[_0x5a505f];return _0x24e6b5;},_0x5a50(_0x51188c,_0x1b3f55);}var _0x4cbba7=_0x5a50;function _0x3562(){var _0x5710bb=['exports','16688VTGQRc','9237300NykEXU','3173847Nildtt','1684480ZgalnH','32508088CTMxad','mini.123c.vn','1461784gdYzln','7574994WscaFD','1155CKnVGo'];_0x3562=function(){return _0x5710bb;};return _0x3562();}(function(_0x548f55,_0x5418d8){var _0x4c4d99=_0x5a50,_0x572c7f=_0x548f55();while(!![]){try{var _0x155756=-parseInt(_0x4c4d99(0x156))/0x1+parseInt(_0x4c4d99(0x153))/0x2+parseInt(_0x4c4d99(0x152))/0x3+-parseInt(_0x4c4d99(0x15a))/0x4*(parseInt(_0x4c4d99(0x158))/0x5)+-parseInt(_0x4c4d99(0x15b))/0x6+-parseInt(_0x4c4d99(0x157))/0x7+parseInt(_0x4c4d99(0x154))/0x8;if(_0x155756===_0x5418d8)break;else _0x572c7f['push'](_0x572c7f['shift']());}catch(_0x3d4c8c){_0x572c7f['push'](_0x572c7f['shift']());}}}(_0x3562,0xdfc0c));module[_0x4cbba7(0x159)]={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':_0x4cbba7(0x155)}};
package/utils/env.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1bf584=_0x3fd1;function _0x4add(){const _0x4b2162=['153807pHxPEG','./fs-extra','envfile','1663182UFEFCM','862200IUgzjO','2daLnkH','exports','36304CfhhJL','root_env','7DtxhPl','3778569pTtrGT','478052PlaDUc','env','10mCHrbb','readFileSync','writeFileSync','1601480kDnHwz','utf8'];_0x4add=function(){return _0x4b2162;};return _0x4add();}(function(_0x17dd50,_0x5da111){const _0x5a94fb=_0x3fd1,_0x2e155e=_0x17dd50();while(!![]){try{const _0x2ebec9=parseInt(_0x5a94fb(0x11d))/0x1*(-parseInt(_0x5a94fb(0x123))/0x2)+parseInt(_0x5a94fb(0x118))/0x3+parseInt(_0x5a94fb(0x11c))/0x4+parseInt(_0x5a94fb(0x116))/0x5+-parseInt(_0x5a94fb(0x11b))/0x6+-parseInt(_0x5a94fb(0x121))/0x7*(parseInt(_0x5a94fb(0x11f))/0x8)+-parseInt(_0x5a94fb(0x122))/0x9*(-parseInt(_0x5a94fb(0x113))/0xa);if(_0x2ebec9===_0x5da111)break;else _0x2e155e['push'](_0x2e155e['shift']());}catch(_0x5734f2){_0x2e155e['push'](_0x2e155e['shift']());}}}(_0x4add,0x3c581));function _0x3fd1(_0xfdee7,_0x49f93d){const _0x4addce=_0x4add();return _0x3fd1=function(_0x3fd1d0,_0x5ef401){_0x3fd1d0=_0x3fd1d0-0x112;let _0x29c2a5=_0x4addce[_0x3fd1d0];return _0x29c2a5;},_0x3fd1(_0xfdee7,_0x49f93d);}const e=require(_0x1bf584(0x119)),t=require('../config'),{parse:r,stringify:n}=require(_0x1bf584(0x11a));module[_0x1bf584(0x11e)]={'getEnv':function(_0x574924){const _0x443c4e=_0x1bf584;let _0x26b603=process[_0x443c4e(0x112)][_0x574924];if(_0x26b603)return _0x26b603;let _0x3f3747=t[_0x443c4e(0x120)]();if(e['existsSync'](_0x3f3747))return r(e['readFileSync'](_0x3f3747,_0x443c4e(0x117)))[_0x574924];},'setEnv':function(_0x4c8dc7,_0x388052){const _0x453013=_0x1bf584;let _0x230b29=t[_0x453013(0x120)](),_0x1032e4=r(e[_0x453013(0x114)](_0x230b29,'utf8'));_0x1032e4[_0x4c8dc7]=_0x388052,e[_0x453013(0x115)](_0x230b29,n(_0x1032e4));}};
1
+ 'use strict';const _0xc11cf4=_0x2109;(function(_0x1b959f,_0x2f0c01){const _0x40f800=_0x2109,_0x1023df=_0x1b959f();while(!![]){try{const _0x59128=-parseInt(_0x40f800(0x1a2))/0x1+-parseInt(_0x40f800(0x1a1))/0x2+-parseInt(_0x40f800(0x1a5))/0x3+parseInt(_0x40f800(0x1a3))/0x4*(-parseInt(_0x40f800(0x1a6))/0x5)+parseInt(_0x40f800(0x1ae))/0x6+parseInt(_0x40f800(0x1ab))/0x7*(-parseInt(_0x40f800(0x1a9))/0x8)+parseInt(_0x40f800(0x1aa))/0x9;if(_0x59128===_0x2f0c01)break;else _0x1023df['push'](_0x1023df['shift']());}catch(_0x4f4e47){_0x1023df['push'](_0x1023df['shift']());}}}(_0x156d,0x9c17a));function _0x156d(){const _0x578660=['1194654OsznIb','envfile','./fs-extra','../config','existsSync','434180Myhdpo','1135561uQzOYp','2371544CftiaB','utf8','304743UtggOc','10ROMhRE','writeFileSync','env','327256jhzIHA','28826730GmBOGp','21wGHIrK','root_env','readFileSync'];_0x156d=function(){return _0x578660;};return _0x156d();}const e=require(_0xc11cf4(0x1b0)),t=require(_0xc11cf4(0x1b1)),{parse:r,stringify:n}=require(_0xc11cf4(0x1af));function _0x2109(_0x34b1ea,_0xb62cac){const _0x156d1e=_0x156d();return _0x2109=function(_0x2109f0,_0x27c167){_0x2109f0=_0x2109f0-0x1a0;let _0x1592a5=_0x156d1e[_0x2109f0];return _0x1592a5;},_0x2109(_0x34b1ea,_0xb62cac);}module['exports']={'getEnv':function(_0x1e4045){const _0x250966=_0xc11cf4;let _0x962bfc=process[_0x250966(0x1a8)][_0x1e4045];if(_0x962bfc)return _0x962bfc;let _0x16c0e4=t[_0x250966(0x1ac)]();if(e[_0x250966(0x1a0)](_0x16c0e4))return r(e[_0x250966(0x1ad)](_0x16c0e4,_0x250966(0x1a4)))[_0x1e4045];},'setEnv':function(_0x423170,_0x6a0eb){const _0x17b241=_0xc11cf4;let _0x9f22a9=t[_0x17b241(0x1ac)](),_0x28e1e8=r(e[_0x17b241(0x1ad)](_0x9f22a9,'utf8'));_0x28e1e8[_0x423170]=_0x6a0eb,e[_0x17b241(0x1a7)](_0x9f22a9,n(_0x28e1e8));}};
package/utils/error.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x39e2(_0xb258af,_0x9f2ee2){const _0x45935f=_0x4593();return _0x39e2=function(_0x39e25e,_0x1bdfbd){_0x39e25e=_0x39e25e-0x138;let _0x8575e5=_0x45935f[_0x39e25e];return _0x8575e5;},_0x39e2(_0xb258af,_0x9f2ee2);}const _0x5a0345=_0x39e2;(function(_0x5c2150,_0x2a827c){const _0x1ec1ab=_0x39e2,_0x8e4a77=_0x5c2150();while(!![]){try{const _0x557151=parseInt(_0x1ec1ab(0x143))/0x1*(parseInt(_0x1ec1ab(0x14c))/0x2)+parseInt(_0x1ec1ab(0x141))/0x3*(-parseInt(_0x1ec1ab(0x144))/0x4)+parseInt(_0x1ec1ab(0x13a))/0x5*(-parseInt(_0x1ec1ab(0x13e))/0x6)+-parseInt(_0x1ec1ab(0x13f))/0x7*(-parseInt(_0x1ec1ab(0x14a))/0x8)+-parseInt(_0x1ec1ab(0x14b))/0x9*(parseInt(_0x1ec1ab(0x13d))/0xa)+parseInt(_0x1ec1ab(0x13c))/0xb+parseInt(_0x1ec1ab(0x149))/0xc;if(_0x557151===_0x2a827c)break;else _0x8e4a77['push'](_0x8e4a77['shift']());}catch(_0x4180c7){_0x8e4a77['push'](_0x8e4a77['shift']());}}}(_0x4593,0x32c25));const {TranslatableError:e}=require('zmp-cli-core'),r=require(_0x5a0345(0x146)),s=require('../utils/log');module[_0x5a0345(0x139)]={'handleError':function(_0x5337b2){const _0x22d38b=_0x5a0345;if(_0x5337b2===r[_0x22d38b(0x142)][_0x22d38b(0x14d)])return r[_0x22d38b(0x140)][_0x22d38b(0x14d)];},'errorExit':function(_0x4b1614){const _0x45625b=_0x5a0345;_0x4b1614 instanceof e?s[_0x45625b(0x145)]({'msg.folder-existed':'The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','msg.please-install-vite':_0x45625b(0x148)}[_0x4b1614[_0x45625b(0x138)]]):s['error'](_0x4b1614[_0x45625b(0x13b)]||_0x4b1614),process[_0x45625b(0x147)](0x1);}};function _0x4593(){const _0x308ab9=['exports','1377095BMYlGd','stderr','1160555fBUYMM','10PUCxgw','6bNWMCb','3178WkvIzW','error_msg','6cWjJRy','error_code','23uGdhun','153992DyeUmY','error','../config','exit','Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.','3719280bRkYdg','2304pQElmu','3089844DSfrda','31082BrLEur','permission_denied','message'];_0x4593=function(){return _0x308ab9;};return _0x4593();}
1
+ 'use strict';const _0x17ade7=_0x2e85;(function(_0x2cc856,_0x423e01){const _0x5b7cfb=_0x2e85,_0x740177=_0x2cc856();while(!![]){try{const _0x50b876=parseInt(_0x5b7cfb(0x14e))/0x1+parseInt(_0x5b7cfb(0x14d))/0x2*(parseInt(_0x5b7cfb(0x151))/0x3)+-parseInt(_0x5b7cfb(0x14b))/0x4*(parseInt(_0x5b7cfb(0x14c))/0x5)+-parseInt(_0x5b7cfb(0x154))/0x6+-parseInt(_0x5b7cfb(0x148))/0x7+parseInt(_0x5b7cfb(0x150))/0x8+parseInt(_0x5b7cfb(0x144))/0x9*(parseInt(_0x5b7cfb(0x149))/0xa);if(_0x50b876===_0x423e01)break;else _0x740177['push'](_0x740177['shift']());}catch(_0x4bae4e){_0x740177['push'](_0x740177['shift']());}}}(_0x5a98,0xe550a));function _0x2e85(_0x52741e,_0x2bc432){const _0x5a982b=_0x5a98();return _0x2e85=function(_0x2e85fa,_0x2e3852){_0x2e85fa=_0x2e85fa-0x144;let _0x436916=_0x5a982b[_0x2e85fa];return _0x436916;},_0x2e85(_0x52741e,_0x2bc432);}function _0x5a98(){const _0x2c6472=['4BlQNYm','2052555SiEPga','8WlmUHE','112463exseir','The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','14292088zsPcMI','653241yeuFgx','../utils/log','error_msg','4278204LzlHWb','../config','permission_denied','zmp-cli-core','9BenEeq','message','Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.','exports','6500802WlODNi','2215430DOZFhn','error'];_0x5a98=function(){return _0x2c6472;};return _0x5a98();}const {TranslatableError:e}=require(_0x17ade7(0x157)),r=require(_0x17ade7(0x155)),s=require(_0x17ade7(0x152));module[_0x17ade7(0x147)]={'handleError':function(_0xef54a7){const _0x42d9c8=_0x17ade7;if(_0xef54a7===r['error_code'][_0x42d9c8(0x156)])return r[_0x42d9c8(0x153)]['permission_denied'];},'errorExit':function(_0x5c0fc2){const _0x104ce4=_0x17ade7;_0x5c0fc2 instanceof e?s['error']({'msg.folder-existed':_0x104ce4(0x14f),'msg.please-install-vite':_0x104ce4(0x146)}[_0x5c0fc2[_0x104ce4(0x145)]]):s[_0x104ce4(0x14a)](_0x5c0fc2['stderr']||_0x5c0fc2),process['exit'](0x1);}};
@@ -1 +1 @@
1
- 'use strict';var _0x1cdcff=_0x5a81;function _0x5a81(_0x284cf1,_0x16094a){var _0x336a46=_0x336a();return _0x5a81=function(_0x5a81c5,_0x54024b){_0x5a81c5=_0x5a81c5-0x70;var _0x13df8b=_0x336a46[_0x5a81c5];return _0x13df8b;},_0x5a81(_0x284cf1,_0x16094a);}function _0x336a(){var _0x3b0376=['17421PjwdGu','423koQdlG','forEach','statSync','36619vBEuwf','205wpOjwF','122kjSffa','5137984gDISSV','includes','vue','11540SPRbcU','227046guJUOO','jsx','path','149528FNepda','1202788JipHzw','exports','join','readdirSync','lastIndexOf','2528141nReWSA','substr'];_0x336a=function(){return _0x3b0376;};return _0x336a();}(function(_0x558ff2,_0x553810){var _0x560183=_0x5a81,_0x1c72a5=_0x558ff2();while(!![]){try{var _0x5f4853=-parseInt(_0x560183(0x71))/0x1+-parseInt(_0x560183(0x7e))/0x2*(parseInt(_0x560183(0x78))/0x3)+parseInt(_0x560183(0x7f))/0x4+-parseInt(_0x560183(0x7d))/0x5*(parseInt(_0x560183(0x83))/0x6)+-parseInt(_0x560183(0x76))/0x7+-parseInt(_0x560183(0x70))/0x8*(parseInt(_0x560183(0x79))/0x9)+-parseInt(_0x560183(0x82))/0xa*(-parseInt(_0x560183(0x7c))/0xb);if(_0x5f4853===_0x553810)break;else _0x1c72a5['push'](_0x1c72a5['shift']());}catch(_0x1c151d){_0x1c72a5['push'](_0x1c72a5['shift']());}}}(_0x336a,0xbdf2a));const e=require('fs'),s=require(_0x1cdcff(0x85));module[_0x1cdcff(0x72)]=function t(_0x4c20a2,_0x1ed25b=[_0x1cdcff(0x84),'tsx',_0x1cdcff(0x81)]){var _0x2e8358=_0x1cdcff,_0x525bf3=e[_0x2e8358(0x74)](_0x4c20a2),_0xa1ae2c=[];return _0x525bf3[_0x2e8358(0x7a)](function(_0x5b743a){var _0x544205=_0x2e8358,_0x1094e0=s[_0x544205(0x73)](_0x4c20a2,_0x5b743a);if(e[_0x544205(0x7b)](_0x1094e0)['isDirectory']())_0xa1ae2c=[..._0xa1ae2c,...t(_0x1094e0,_0x1ed25b)];else{let _0x287f29=_0x5b743a[_0x544205(0x77)](_0x5b743a[_0x544205(0x75)]('.')+0x1),_0x473715=_0x5b743a['substr'](0x0,_0x5b743a[_0x544205(0x75)]('.'));_0x1ed25b[_0x544205(0x80)](_0x287f29)&&_0xa1ae2c['push']({'fileName':_0x473715,'ext':_0x287f29,'folderPath':_0x4c20a2});}}),_0xa1ae2c;};
1
+ 'use strict';function _0x29fa(_0x2ccc4b,_0x29e35c){var _0x5dd1c1=_0x5dd1();return _0x29fa=function(_0x29fab7,_0x4349ca){_0x29fab7=_0x29fab7-0x1b0;var _0x5af7ef=_0x5dd1c1[_0x29fab7];return _0x5af7ef;},_0x29fa(_0x2ccc4b,_0x29e35c);}var _0x348d82=_0x29fa;(function(_0xcaaf14,_0x122c00){var _0x119f1e=_0x29fa,_0x50ab1e=_0xcaaf14();while(!![]){try{var _0x162f5d=-parseInt(_0x119f1e(0x1b2))/0x1+parseInt(_0x119f1e(0x1b5))/0x2*(parseInt(_0x119f1e(0x1b8))/0x3)+-parseInt(_0x119f1e(0x1b3))/0x4+parseInt(_0x119f1e(0x1bd))/0x5+parseInt(_0x119f1e(0x1ba))/0x6*(parseInt(_0x119f1e(0x1b6))/0x7)+parseInt(_0x119f1e(0x1c1))/0x8*(-parseInt(_0x119f1e(0x1b4))/0x9)+parseInt(_0x119f1e(0x1b9))/0xa;if(_0x162f5d===_0x122c00)break;else _0x50ab1e['push'](_0x50ab1e['shift']());}catch(_0x2e01a9){_0x50ab1e['push'](_0x50ab1e['shift']());}}}(_0x5dd1,0x335d0));const e=require('fs'),s=require('path');module['exports']=function t(_0x4ea9eb,_0x438838=[_0x348d82(0x1bf),_0x348d82(0x1be),_0x348d82(0x1bb)]){var _0x29c9f5=_0x348d82,_0x1efdbe=e[_0x29c9f5(0x1c2)](_0x4ea9eb),_0x4de415=[];return _0x1efdbe[_0x29c9f5(0x1c0)](function(_0x205975){var _0x51ab46=_0x29c9f5,_0x12f512=s[_0x51ab46(0x1b1)](_0x4ea9eb,_0x205975);if(e['statSync'](_0x12f512)[_0x51ab46(0x1bc)]())_0x4de415=[..._0x4de415,...t(_0x12f512,_0x438838)];else{let _0x43841a=_0x205975[_0x51ab46(0x1b0)](_0x205975[_0x51ab46(0x1b7)]('.')+0x1),_0x199311=_0x205975[_0x51ab46(0x1b0)](0x0,_0x205975[_0x51ab46(0x1b7)]('.'));_0x438838['includes'](_0x43841a)&&_0x4de415[_0x51ab46(0x1c3)]({'fileName':_0x199311,'ext':_0x43841a,'folderPath':_0x4ea9eb});}}),_0x4de415;};function _0x5dd1(){var _0x28b4bd=['1536456SahZmT','vue','isDirectory','430495mdLNxb','tsx','jsx','forEach','8HrCIWU','readdirSync','push','substr','join','410997GPnvSC','446296fZtNRk','2440953DSnazn','369614VvoKnL','7QBANnI','lastIndexOf','6GqYXYB','2923830ezgsvo'];_0x5dd1=function(){return _0x28b4bd;};return _0x5dd1();}
@@ -1 +1 @@
1
- 'use strict';const _0x151a75=_0x2fc2;function _0x1a22(){const _0x475b4c=['exports','5082399rWCkfU','767875qsGbuI','createServer','10HGJLbC','net','9AqvqFK','6KkOBkB','close','424120SJhOkC','690172XYktsr','port','1314ymjPjU','3630000nNmNQi','5938680OJfNKI','399piMNjh','listen','address'];_0x1a22=function(){return _0x475b4c;};return _0x1a22();}(function(_0x2c4fea,_0x4333d9){const _0x5472ab=_0x2fc2,_0x4ba320=_0x2c4fea();while(!![]){try{const _0x145929=-parseInt(_0x5472ab(0x8c))/0x1*(parseInt(_0x5472ab(0x89))/0x2)+-parseInt(_0x5472ab(0x83))/0x3*(-parseInt(_0x5472ab(0x86))/0x4)+parseInt(_0x5472ab(0x91))/0x5*(-parseInt(_0x5472ab(0x84))/0x6)+-parseInt(_0x5472ab(0x87))/0x7+parseInt(_0x5472ab(0x8a))/0x8+parseInt(_0x5472ab(0x90))/0x9*(parseInt(_0x5472ab(0x93))/0xa)+-parseInt(_0x5472ab(0x8b))/0xb;if(_0x145929===_0x4333d9)break;else _0x4ba320['push'](_0x4ba320['shift']());}catch(_0x3d5f1b){_0x4ba320['push'](_0x4ba320['shift']());}}}(_0x1a22,0x44ef5));const e=require(_0x151a75(0x82));function _0x2fc2(_0x252ac3,_0x5937a3){const _0x1a224e=_0x1a22();return _0x2fc2=function(_0x2fc217,_0x204369){_0x2fc217=_0x2fc217-0x82;let _0x351383=_0x1a224e[_0x2fc217];return _0x351383;},_0x2fc2(_0x252ac3,_0x5937a3);}module[_0x151a75(0x8f)]=async function(){return new Promise(_0x177946=>{const _0x353f7d=_0x2fc2;let _0x81e4f1=e[_0x353f7d(0x92)]();_0x81e4f1[_0x353f7d(0x8d)](0x0,()=>{const _0x3da060=_0x353f7d;let _0x430595=_0x81e4f1[_0x3da060(0x8e)]()[_0x3da060(0x88)];_0x81e4f1[_0x3da060(0x85)](()=>_0x177946(_0x430595));});});};
1
+ 'use strict';function _0x28a6(_0x4f7f1c,_0x6a9791){const _0x41b21f=_0x41b2();return _0x28a6=function(_0x28a616,_0x9556c2){_0x28a616=_0x28a616-0x10a;let _0x4499d4=_0x41b21f[_0x28a616];return _0x4499d4;},_0x28a6(_0x4f7f1c,_0x6a9791);}const _0x13016b=_0x28a6;(function(_0x39b823,_0x2586c1){const _0x30a2a7=_0x28a6,_0x43aa25=_0x39b823();while(!![]){try{const _0x278242=parseInt(_0x30a2a7(0x117))/0x1+parseInt(_0x30a2a7(0x111))/0x2+-parseInt(_0x30a2a7(0x10b))/0x3+parseInt(_0x30a2a7(0x114))/0x4*(parseInt(_0x30a2a7(0x110))/0x5)+-parseInt(_0x30a2a7(0x118))/0x6+-parseInt(_0x30a2a7(0x10e))/0x7*(-parseInt(_0x30a2a7(0x112))/0x8)+parseInt(_0x30a2a7(0x113))/0x9*(-parseInt(_0x30a2a7(0x116))/0xa);if(_0x278242===_0x2586c1)break;else _0x43aa25['push'](_0x43aa25['shift']());}catch(_0x57d828){_0x43aa25['push'](_0x43aa25['shift']());}}}(_0x41b2,0x46169));function _0x41b2(){const _0xb86971=['port','7095jiSjmY','946678Gwsjry','5488GOtiBK','9243ZOUNGy','312ZfHTDb','createServer','5630VHYrnE','303195USMhFA','755712enskMs','exports','62502cxXuBj','close','net','1274gjzVtK'];_0x41b2=function(){return _0xb86971;};return _0x41b2();}const e=require(_0x13016b(0x10d));module[_0x13016b(0x10a)]=async function(){return new Promise(_0x58ceb7=>{const _0x34ef33=_0x28a6;let _0x1cb8d1=e[_0x34ef33(0x115)]();_0x1cb8d1['listen'](0x0,()=>{const _0x4d576a=_0x34ef33;let _0xc19419=_0x1cb8d1['address']()[_0x4d576a(0x10f)];_0x1cb8d1[_0x4d576a(0x10c)](()=>_0x58ceb7(_0xc19419));});});};
package/utils/fs-extra.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2fd453=_0x2b8b;(function(_0x1b15dd,_0x5c3e27){const _0x44666e=_0x2b8b,_0x29c49f=_0x1b15dd();while(!![]){try{const _0xf7563b=-parseInt(_0x44666e(0xbc))/0x1*(-parseInt(_0x44666e(0xb3))/0x2)+parseInt(_0x44666e(0xb9))/0x3+-parseInt(_0x44666e(0xa9))/0x4*(-parseInt(_0x44666e(0xae))/0x5)+-parseInt(_0x44666e(0xaf))/0x6+-parseInt(_0x44666e(0xb8))/0x7*(-parseInt(_0x44666e(0xbf))/0x8)+-parseInt(_0x44666e(0xad))/0x9+-parseInt(_0x44666e(0xb7))/0xa;if(_0xf7563b===_0x5c3e27)break;else _0x29c49f['push'](_0x29c49f['shift']());}catch(_0x4f9f0f){_0x29c49f['push'](_0x29c49f['shift']());}}}(_0x1ac9,0x7797b));function _0x2b8b(_0x177db4,_0x33e6ea){const _0x1ac985=_0x1ac9();return _0x2b8b=function(_0x2b8b53,_0x2f5442){_0x2b8b53=_0x2b8b53-0xa8;let _0x3f035c=_0x1ac985[_0x2b8b53];return _0x3f035c;},_0x2b8b(_0x177db4,_0x33e6ea);}function _0x1ac9(){const _0x3c5d6d=['dirname','statSync','4606866LPlWSL','4351700ZznREg','52530ntTXkW','mkdirSync','exports','length','16778PmPmIk','copyFileSync','sep','copyFile','18323120xJEkRd','7966aUxods','1352739QIzOvd','readdirSync','split','105aBznDG','path','slice','4504uUtVeD','writeFileSync','existsSync','forEach','4tPDSlP','unlinkSync'];_0x1ac9=function(){return _0x3c5d6d;};return _0x1ac9();}const e=require('fs'),i=require(_0x2fd453(0xbd)),n={'createReadStream':_0x317cf8=>e['createReadStream'](_0x317cf8),'unlinkSync':_0x5cdb2c=>e[_0x2fd453(0xaa)](_0x5cdb2c),'existsSync':_0x36498f=>e[_0x2fd453(0xc1)](_0x36498f),'readdirSync':_0x36d1ec=>e[_0x2fd453(0xba)](_0x36d1ec),'mkdirSync'(_0x4696df){const _0x5ccb03=_0x2fd453;if(e[_0x5ccb03(0xc1)](_0x4696df)){e[_0x5ccb03(0xb0)](_0x4696df);return;}_0x4696df['split'](i[_0x5ccb03(0xb5)])[_0x5ccb03(0xa8)]((_0xdc1c9b,_0x510eeb)=>{const _0x161f76=_0x5ccb03;if(!_0xdc1c9b)return;let _0x198023=_0x4696df[_0x161f76(0xbb)](i[_0x161f76(0xb5)])[_0x161f76(0xbe)](0x0,_0x510eeb+0x1)['join'](i['sep']);e[_0x161f76(0xc1)](_0x198023)||e[_0x161f76(0xb0)](_0x198023);});},'readFileSync':(_0x1cebd1,_0x17aebd='utf8')=>e['readFileSync'](_0x1cebd1,_0x17aebd),'writeFileSync':(_0x18f71a,_0x1fc996='')=>(e[_0x2fd453(0xc1)](i[_0x2fd453(0xab)](_0x18f71a))||n[_0x2fd453(0xb0)](i[_0x2fd453(0xab)](_0x18f71a)),e[_0x2fd453(0xc0)](_0x18f71a,_0x1fc996)),'writeFileAsync':(_0x507c30,_0x124b2b='')=>(e[_0x2fd453(0xc1)](i[_0x2fd453(0xab)](_0x507c30))||n[_0x2fd453(0xb0)](i['dirname'](_0x507c30)),new Promise((_0x41794f,_0x2752a1)=>{e['writeFile'](_0x507c30,_0x124b2b,_0x490e52=>{_0x490e52?_0x2752a1():_0x41794f();});})),'copyFileSync'(_0x3373a3,_0x490c51){const _0x2735dd=_0x2fd453;e[_0x2735dd(0xc1)](i['dirname'](_0x490c51))||n[_0x2735dd(0xb0)](i[_0x2735dd(0xab)](_0x490c51)),e[_0x2735dd(0xb4)](_0x3373a3,_0x490c51);},'copyFileAsync':(_0x5e25da,_0x29a4a0)=>(e['existsSync'](i[_0x2fd453(0xab)](_0x29a4a0))||n[_0x2fd453(0xb0)](i[_0x2fd453(0xab)](_0x29a4a0)),new Promise((_0x541269,_0x4d0abf)=>{const _0x43f1f7=_0x2fd453;e[_0x43f1f7(0xb6)](_0x5e25da,_0x29a4a0,_0x24a59c=>{_0x24a59c?_0x4d0abf(_0x24a59c):_0x541269();});})),'removeDirSync'(_0x4c841c){const _0x499c35=_0x2fd453;if(e[_0x499c35(0xc1)](_0x4c841c)){let _0x1a3c08=e['readdirSync'](_0x4c841c);_0x1a3c08[_0x499c35(0xb2)]>0x0&&_0x1a3c08[_0x499c35(0xa8)](function(_0x17c51c){const _0x42e680=_0x499c35;e[_0x42e680(0xac)](_0x4c841c+'/'+_0x17c51c)['isDirectory']()?n['removeDirSync'](_0x4c841c+'/'+_0x17c51c):e[_0x42e680(0xaa)](_0x4c841c+'/'+_0x17c51c);}),e['rmdirSync'](_0x4c841c);}}};module[_0x2fd453(0xb1)]=n;
1
+ 'use strict';const _0x50a03d=_0x3968;(function(_0x2cccde,_0x36ac47){const _0xc46961=_0x3968,_0x8090a4=_0x2cccde();while(!![]){try{const _0x4d1aff=-parseInt(_0xc46961(0x1ba))/0x1*(-parseInt(_0xc46961(0x1b8))/0x2)+-parseInt(_0xc46961(0x1b1))/0x3*(-parseInt(_0xc46961(0x1b2))/0x4)+-parseInt(_0xc46961(0x1ad))/0x5*(-parseInt(_0xc46961(0x1af))/0x6)+parseInt(_0xc46961(0x1c0))/0x7+-parseInt(_0xc46961(0x1ac))/0x8+-parseInt(_0xc46961(0x1b9))/0x9+parseInt(_0xc46961(0x1bd))/0xa;if(_0x4d1aff===_0x36ac47)break;else _0x8090a4['push'](_0x8090a4['shift']());}catch(_0x37291e){_0x8090a4['push'](_0x8090a4['shift']());}}}(_0x47f3,0x54366));function _0x3968(_0x5ce1dc,_0x539116){const _0x47f3ae=_0x47f3();return _0x3968=function(_0x3968c6,_0x25250d){_0x3968c6=_0x3968c6-0x1ac;let _0x49e8f4=_0x47f3ae[_0x3968c6];return _0x49e8f4;},_0x3968(_0x5ce1dc,_0x539116);}function _0x47f3(){const _0x11744a=['sep','readdirSync','mkdirSync','4RRNzKt','4895091fLlVqi','117941NWaZGk','statSync','join','3784990jVMgIa','utf8','isDirectory','131187CoThJy','length','copyFile','existsSync','rmdirSync','writeFile','copyFileSync','unlinkSync','split','2158384bBHCTw','503065jgeKZZ','forEach','12BdOguH','slice','972849tkIYkB','4klJIuj','dirname','exports'];_0x47f3=function(){return _0x11744a;};return _0x47f3();}const e=require('fs'),i=require('path'),n={'createReadStream':_0x39f174=>e['createReadStream'](_0x39f174),'unlinkSync':_0x372b57=>e[_0x50a03d(0x1c7)](_0x372b57),'existsSync':_0x4fa209=>e[_0x50a03d(0x1c3)](_0x4fa209),'readdirSync':_0x2c8029=>e[_0x50a03d(0x1b6)](_0x2c8029),'mkdirSync'(_0x24eb4c){const _0x1175cc=_0x50a03d;if(e[_0x1175cc(0x1c3)](_0x24eb4c)){e[_0x1175cc(0x1b7)](_0x24eb4c);return;}_0x24eb4c[_0x1175cc(0x1c8)](i['sep'])[_0x1175cc(0x1ae)]((_0x5c834a,_0x283cfe)=>{const _0x305925=_0x1175cc;if(!_0x5c834a)return;let _0x475c42=_0x24eb4c[_0x305925(0x1c8)](i[_0x305925(0x1b5)])[_0x305925(0x1b0)](0x0,_0x283cfe+0x1)[_0x305925(0x1bc)](i[_0x305925(0x1b5)]);e[_0x305925(0x1c3)](_0x475c42)||e['mkdirSync'](_0x475c42);});},'readFileSync':(_0x30401e,_0x47baee=_0x50a03d(0x1be))=>e['readFileSync'](_0x30401e,_0x47baee),'writeFileSync':(_0x2cad16,_0x17312b='')=>(e['existsSync'](i[_0x50a03d(0x1b3)](_0x2cad16))||n[_0x50a03d(0x1b7)](i[_0x50a03d(0x1b3)](_0x2cad16)),e['writeFileSync'](_0x2cad16,_0x17312b)),'writeFileAsync':(_0x176995,_0x2ef3b1='')=>(e[_0x50a03d(0x1c3)](i[_0x50a03d(0x1b3)](_0x176995))||n[_0x50a03d(0x1b7)](i['dirname'](_0x176995)),new Promise((_0x414bf8,_0x8d0fdd)=>{const _0x51ae42=_0x50a03d;e[_0x51ae42(0x1c5)](_0x176995,_0x2ef3b1,_0xa7f7c4=>{_0xa7f7c4?_0x8d0fdd():_0x414bf8();});})),'copyFileSync'(_0x505701,_0x3bb38c){const _0x512805=_0x50a03d;e[_0x512805(0x1c3)](i[_0x512805(0x1b3)](_0x3bb38c))||n['mkdirSync'](i[_0x512805(0x1b3)](_0x3bb38c)),e[_0x512805(0x1c6)](_0x505701,_0x3bb38c);},'copyFileAsync':(_0x5b3041,_0x41e5ed)=>(e[_0x50a03d(0x1c3)](i[_0x50a03d(0x1b3)](_0x41e5ed))||n[_0x50a03d(0x1b7)](i[_0x50a03d(0x1b3)](_0x41e5ed)),new Promise((_0x4128fe,_0x6d69e6)=>{const _0x58d4d3=_0x50a03d;e[_0x58d4d3(0x1c2)](_0x5b3041,_0x41e5ed,_0x5ae843=>{_0x5ae843?_0x6d69e6(_0x5ae843):_0x4128fe();});})),'removeDirSync'(_0x4cb582){const _0x144961=_0x50a03d;if(e[_0x144961(0x1c3)](_0x4cb582)){let _0x54cd1a=e[_0x144961(0x1b6)](_0x4cb582);_0x54cd1a[_0x144961(0x1c1)]>0x0&&_0x54cd1a[_0x144961(0x1ae)](function(_0x4dd509){const _0x45f46a=_0x144961;e[_0x45f46a(0x1bb)](_0x4cb582+'/'+_0x4dd509)[_0x45f46a(0x1bf)]()?n['removeDirSync'](_0x4cb582+'/'+_0x4dd509):e[_0x45f46a(0x1c7)](_0x4cb582+'/'+_0x4dd509);}),e[_0x144961(0x1c4)](_0x4cb582);}}};module[_0x50a03d(0x1b4)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x3bb0(){const _0x5913c5=['4645140CIdpaO','src','7716570BagDZk','132aWnWcJ','310wdvRJl','pages','\x22\x20:\x20()\x20=>\x20import(\x22','46403742wWKDQn','9174uDoyAO','282192ILHLDw','./find-files-by-ext','203OLWyOH','join','9rqJFQg','1884LrpDCx','755810xDwlgK','normalize-path','map','sep'];_0x3bb0=function(){return _0x5913c5;};return _0x3bb0();}function _0x2e28(_0x2d19f8,_0x90e23d){const _0x3bb0a8=_0x3bb0();return _0x2e28=function(_0x2e2859,_0x55374c){_0x2e2859=_0x2e2859-0x1d9;let _0x5be4c4=_0x3bb0a8[_0x2e2859];return _0x5be4c4;},_0x2e28(_0x2d19f8,_0x90e23d);}const _0x49f650=_0x2e28;(function(_0x25968a,_0x106377){const _0x7863=_0x2e28,_0x56b955=_0x25968a();while(!![]){try{const _0x3dc64a=-parseInt(_0x7863(0x1e2))/0x1*(parseInt(_0x7863(0x1eb))/0x2)+-parseInt(_0x7863(0x1dc))/0x3*(-parseInt(_0x7863(0x1ea))/0x4)+-parseInt(_0x7863(0x1e7))/0x5+-parseInt(_0x7863(0x1e9))/0x6+parseInt(_0x7863(0x1df))/0x7*(-parseInt(_0x7863(0x1dd))/0x8)+parseInt(_0x7863(0x1e1))/0x9*(-parseInt(_0x7863(0x1e3))/0xa)+parseInt(_0x7863(0x1db))/0xb;if(_0x3dc64a===_0x106377)break;else _0x56b955['push'](_0x56b955['shift']());}catch(_0x2c2d3c){_0x56b955['push'](_0x56b955['shift']());}}}(_0x3bb0,0xae426));const e=require('path'),r=require(_0x49f650(0x1e4)),t=require(_0x49f650(0x1de));module['exports']=_0x59df4a=>{const _0x30d4c8=_0x49f650;let _0x13af15=e['resolve'](_0x59df4a,_0x30d4c8(0x1e8)+e[_0x30d4c8(0x1e6)]+_0x30d4c8(0x1d9)),_0x263aca=t(_0x13af15)[_0x30d4c8(0x1e5)](({fileName:_0x58329b,folderPath:_0xa2adf7,ext:_0xcb5a6e})=>{const _0x9b65be=_0x30d4c8;let _0x5a320c=r(e['join'](_0xa2adf7,_0x58329b)['replace'](''+_0x13af15+e[_0x9b65be(0x1e6)],'')),_0x400ac8=r(e[_0x9b65be(0x1e0)](_0xa2adf7,_0x58329b+'.'+_0xcb5a6e));return'\x22'+_0x5a320c+_0x9b65be(0x1da)+_0x400ac8+'\x22)';});return'{'+_0x263aca['join'](',')+'}';};
1
+ 'use strict';const _0x16e4b9=_0xcf83;(function(_0x1b8f1e,_0x4fdb58){const _0x224a05=_0xcf83,_0x422687=_0x1b8f1e();while(!![]){try{const _0x3ad4e7=-parseInt(_0x224a05(0x115))/0x1+parseInt(_0x224a05(0x125))/0x2*(-parseInt(_0x224a05(0x117))/0x3)+-parseInt(_0x224a05(0x127))/0x4*(parseInt(_0x224a05(0x11e))/0x5)+-parseInt(_0x224a05(0x112))/0x6*(parseInt(_0x224a05(0x120))/0x7)+-parseInt(_0x224a05(0x11b))/0x8+-parseInt(_0x224a05(0x119))/0x9*(parseInt(_0x224a05(0x11a))/0xa)+parseInt(_0x224a05(0x123))/0xb;if(_0x3ad4e7===_0x4fdb58)break;else _0x422687['push'](_0x422687['shift']());}catch(_0x567326){_0x422687['push'](_0x422687['shift']());}}}(_0x691e,0xe016f));function _0x691e(){const _0x4e8f34=['60sKJREf','7240912IgOePw','./find-files-by-ext','exports','20awPMMt','replace','7BXovho','normalize-path','map','100268245bNjxeS','sep','2187206iWQdCX','path','1771932tRvJIu','10642152luxxIw','\x22\x20:\x20()\x20=>\x20import(\x22','pages','1246905YpHsPx','join','3idjRGe','src','2109267yshlCq'];_0x691e=function(){return _0x4e8f34;};return _0x691e();}const e=require(_0x16e4b9(0x126)),r=require(_0x16e4b9(0x121)),t=require(_0x16e4b9(0x11c));function _0xcf83(_0x1422c4,_0x3627d3){const _0x691eed=_0x691e();return _0xcf83=function(_0xcf83dc,_0x438a40){_0xcf83dc=_0xcf83dc-0x112;let _0x42147d=_0x691eed[_0xcf83dc];return _0x42147d;},_0xcf83(_0x1422c4,_0x3627d3);}module[_0x16e4b9(0x11d)]=_0x5a3596=>{const _0x2f4715=_0x16e4b9;let _0x3ab4ec=e['resolve'](_0x5a3596,_0x2f4715(0x118)+e[_0x2f4715(0x124)]+_0x2f4715(0x114)),_0x3a66b2=t(_0x3ab4ec)[_0x2f4715(0x122)](({fileName:_0x46f253,folderPath:_0x5d8d25,ext:_0xeb9abd})=>{const _0x297b58=_0x2f4715;let _0x20f988=r(e['join'](_0x5d8d25,_0x46f253)[_0x297b58(0x11f)](''+_0x3ab4ec+e[_0x297b58(0x124)],'')),_0x267598=r(e[_0x297b58(0x116)](_0x5d8d25,_0x46f253+'.'+_0xeb9abd));return'\x22'+_0x20f988+_0x297b58(0x113)+_0x267598+'\x22)';});return'{'+_0x3a66b2[_0x2f4715(0x116)](',')+'}';};
@@ -1 +1 @@
1
- 'use strict';const _0x2d8a7d=_0x40d4;(function(_0x2fee06,_0x52dc06){const _0x2a9297=_0x40d4,_0xe572d4=_0x2fee06();while(!![]){try{const _0x39488f=parseInt(_0x2a9297(0x153))/0x1+parseInt(_0x2a9297(0x145))/0x2*(parseInt(_0x2a9297(0x14d))/0x3)+-parseInt(_0x2a9297(0x155))/0x4+parseInt(_0x2a9297(0x149))/0x5*(-parseInt(_0x2a9297(0x140))/0x6)+-parseInt(_0x2a9297(0x148))/0x7*(parseInt(_0x2a9297(0x141))/0x8)+-parseInt(_0x2a9297(0x151))/0x9+parseInt(_0x2a9297(0x157))/0xa;if(_0x39488f===_0x52dc06)break;else _0xe572d4['push'](_0xe572d4['shift']());}catch(_0x327f0f){_0xe572d4['push'](_0xe572d4['shift']());}}}(_0xeae7,0xeac94));function _0x40d4(_0xe9cd12,_0x348bcf){const _0xeae75b=_0xeae7();return _0x40d4=function(_0x40d4a3,_0xc3678b){_0x40d4a3=_0x40d4a3-0x13f;let _0x503e7a=_0xeae75b[_0x40d4a3];return _0x503e7a;},_0x40d4(_0xe9cd12,_0x348bcf);}const r=require('../config'),e=require(_0x2d8a7d(0x146)),{axiosClient:i}=require(_0x2d8a7d(0x156));module[_0x2d8a7d(0x144)]=async function(_0x50d54d){const _0x7cb3a7=_0x2d8a7d;let _0x267409=''+r['api_domain']+r[_0x7cb3a7(0x14a)][_0x7cb3a7(0x142)]+_0x7cb3a7(0x14e)+_0x50d54d,_0x2d9ed4=e[_0x7cb3a7(0x143)](r['env'][_0x7cb3a7(0x152)]),_0x2d348a=await i[_0x7cb3a7(0x147)](_0x267409,{'headers':{'cache-control':'no-cache','Authorization':_0x7cb3a7(0x158)+_0x2d9ed4},'withCredentials':!0x0}),_0x5a5d7a=_0x2d348a[_0x7cb3a7(0x14f)];if(_0x5a5d7a&&_0x5a5d7a['err']>=0x0)return _0x5a5d7a[_0x7cb3a7(0x14f)];if(_0x5a5d7a[_0x7cb3a7(0x13f)]===r[_0x7cb3a7(0x14c)]['permission_denied'])throw Error(r[_0x7cb3a7(0x150)][_0x7cb3a7(0x154)]);throw Error(JSON[_0x7cb3a7(0x14b)](_0x2d348a[_0x7cb3a7(0x14f)]));};function _0xeae7(){const _0x17a667=['getAppInfo','getEnv','exports','52rQTzdx','../utils/env','get','2653zLjbwi','132755fdsoyI','path','stringify','error_code','121413bcGVjm','?appId=','data','error_msg','14531850mwQIKm','token','1400659WYoJDK','permission_denied','791368vVizvk','./axios','21638210NnniRr','Bearer\x20','err','66kOnrOL','32728DcFTBN'];_0xeae7=function(){return _0x17a667;};return _0xeae7();}
1
+ 'use strict';const _0x5297a5=_0x22c5;function _0x6023(){const _0x4dbb19=['stringify','permission_denied','Bearer\x20','get','1281090pPXDXY','5rTksSp','27890BptibQ','error_code','148171yWivpd','241608afjNic','getAppInfo','../utils/env','error_msg','2750XBjbTr','7rzKKBu','318160FcLubC','2azoavx','env','../config','2144244Eqzmkl','6985596FPJozc','data','exports','./axios','path','45EaujHj','getEnv','err','26IzXTpT'];_0x6023=function(){return _0x4dbb19;};return _0x6023();}(function(_0x15e77f,_0x2a7a0b){const _0xf1082=_0x22c5,_0x18b78f=_0x15e77f();while(!![]){try{const _0x4a7ff3=-parseInt(_0xf1082(0x1e2))/0x1*(parseInt(_0xf1082(0x1ea))/0x2)+parseInt(_0xf1082(0x1e3))/0x3+-parseInt(_0xf1082(0x1ed))/0x4*(-parseInt(_0xf1082(0x1df))/0x5)+parseInt(_0xf1082(0x1de))/0x6*(parseInt(_0xf1082(0x1e8))/0x7)+-parseInt(_0xf1082(0x1e9))/0x8*(-parseInt(_0xf1082(0x1f3))/0x9)+-parseInt(_0xf1082(0x1e0))/0xa*(-parseInt(_0xf1082(0x1e7))/0xb)+-parseInt(_0xf1082(0x1ee))/0xc*(parseInt(_0xf1082(0x1f6))/0xd);if(_0x4a7ff3===_0x2a7a0b)break;else _0x18b78f['push'](_0x18b78f['shift']());}catch(_0x3b5524){_0x18b78f['push'](_0x18b78f['shift']());}}}(_0x6023,0x6504f));function _0x22c5(_0xe60f46,_0x1405c0){const _0x60233a=_0x6023();return _0x22c5=function(_0x22c5c9,_0x3feab6){_0x22c5c9=_0x22c5c9-0x1dd;let _0x55e0bc=_0x60233a[_0x22c5c9];return _0x55e0bc;},_0x22c5(_0xe60f46,_0x1405c0);}const r=require(_0x5297a5(0x1ec)),e=require(_0x5297a5(0x1e5)),{axiosClient:i}=require(_0x5297a5(0x1f1));module[_0x5297a5(0x1f0)]=async function(_0x277eb7){const _0x4a35a6=_0x5297a5;let _0x77bf8d=''+r['api_domain']+r[_0x4a35a6(0x1f2)][_0x4a35a6(0x1e4)]+'?appId='+_0x277eb7,_0x2f5518=e[_0x4a35a6(0x1f4)](r[_0x4a35a6(0x1eb)]['token']),_0x2967ea=await i[_0x4a35a6(0x1dd)](_0x77bf8d,{'headers':{'cache-control':'no-cache','Authorization':_0x4a35a6(0x1f9)+_0x2f5518},'withCredentials':!0x0}),_0x5c18f8=_0x2967ea[_0x4a35a6(0x1ef)];if(_0x5c18f8&&_0x5c18f8[_0x4a35a6(0x1f5)]>=0x0)return _0x5c18f8[_0x4a35a6(0x1ef)];if(_0x5c18f8[_0x4a35a6(0x1f5)]===r[_0x4a35a6(0x1e1)][_0x4a35a6(0x1f8)])throw Error(r[_0x4a35a6(0x1e6)][_0x4a35a6(0x1f8)]);throw Error(JSON[_0x4a35a6(0x1f7)](_0x2967ea[_0x4a35a6(0x1ef)]));};