zmp-cli 3.15.11 → 3.15.12

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/build/index.js +1 -1
  2. package/config/index.js +1 -1
  3. package/create/index.js +1 -1
  4. package/create/utils/generate-app-config.js +1 -1
  5. package/create/utils/generate-npm-scripts.js +1 -1
  6. package/create/utils/get-options.js +1 -1
  7. package/create/utils/npm-scripts.js +1 -1
  8. package/deploy/index.js +1 -1
  9. package/deploy/utils/get-options.js +1 -1
  10. package/deploy/utils/request-upload.js +1 -1
  11. package/deploy/utils/upload-app.js +1 -1
  12. package/index.js +1 -1
  13. package/login/index.js +1 -1
  14. package/login/utils/get-options.js +1 -1
  15. package/login/utils/zalo-login.js +1 -1
  16. package/migrate/icons/update-icon-v3.js +1 -1
  17. package/migrate/index.js +1 -1
  18. package/migrate/utils/get-options.js +1 -1
  19. package/migrate/utils/migrate-react.js +1 -1
  20. package/package.json +3 -2
  21. package/start/index.js +1 -1
  22. package/sync/index-to-app-config.js +1 -1
  23. package/sync/index.js +1 -1
  24. package/utils/axios.js +1 -1
  25. package/utils/check-update.js +1 -1
  26. package/utils/constants.js +1 -1
  27. package/utils/env.js +1 -1
  28. package/utils/error.js +1 -1
  29. package/utils/find-files-by-ext.js +1 -1
  30. package/utils/find-free-port.js +1 -1
  31. package/utils/fs-extra.js +1 -1
  32. package/utils/generate-pages-map.js +1 -1
  33. package/utils/get-app-info.js +1 -1
  34. package/utils/get-current-project.js +1 -1
  35. package/utils/get-ip.js +1 -1
  36. package/utils/get-latest-version.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
@@ -1 +1 @@
1
- 'use strict';function _0x56c0(){const _0x403c8a=['v1tov2','690245egCXhu','34137490QEkaao','migrateVersion','9JeWSsR','inquirer','exports','iconsv3','21dCOzmn','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','zmp-framework','Version\x201\x20=>\x20Version\x202','list','2965376nSTinM','then','zmp-ui','prompt','2502568NsLODT','other','Other','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','983999Fgymwf','3918495WcXslK','3048440ytPkeC','6wnLAHe'];_0x56c0=function(){return _0x403c8a;};return _0x56c0();}function _0x3fbd(_0x3e2849,_0x55acaf){const _0x56c09b=_0x56c0();return _0x3fbd=function(_0x3fbd47,_0x44ae90){_0x3fbd47=_0x3fbd47-0x1e6;let _0x56c867=_0x56c09b[_0x3fbd47];return _0x56c867;},_0x3fbd(_0x3e2849,_0x55acaf);}const _0x182968=_0x3fbd;(function(_0x19dd73,_0x44e329){const _0x183d8e=_0x3fbd,_0x1649f4=_0x19dd73();while(!![]){try{const _0x584f85=-parseInt(_0x183d8e(0x1ec))/0x1+parseInt(_0x183d8e(0x1ee))/0x2+-parseInt(_0x183d8e(0x1ed))/0x3+-parseInt(_0x183d8e(0x1e8))/0x4+-parseInt(_0x183d8e(0x1f1))/0x5*(parseInt(_0x183d8e(0x1ef))/0x6)+parseInt(_0x183d8e(0x1f8))/0x7*(-parseInt(_0x183d8e(0x1fd))/0x8)+-parseInt(_0x183d8e(0x1f4))/0x9*(-parseInt(_0x183d8e(0x1f2))/0xa);if(_0x584f85===_0x44e329)break;else _0x1649f4['push'](_0x1649f4['shift']());}catch(_0x47e13c){_0x1649f4['push'](_0x1649f4['shift']());}}}(_0x56c0,0xbc802));const e=require(_0x182968(0x1f5)),r=[{'type':_0x182968(0x1fc),'name':_0x182968(0x1f3),'message':'What\x20version\x20do\x20you\x20want\x20to\x20migrate?','choices':[{'name':_0x182968(0x1fb),'value':_0x182968(0x1f0)},{'name':_0x182968(0x1eb),'value':'iconsv3'}]},{'type':_0x182968(0x1fc),'name':'uiFramework','message':_0x182968(0x1f9),'when':_0x5a5052=>_0x182968(0x1f7)===_0x5a5052['migrateVersion'],'choices':[{'name':_0x182968(0x1fa),'value':'zmp-framework'},{'name':_0x182968(0x1e6),'value':_0x182968(0x1e6)},{'name':_0x182968(0x1ea),'value':_0x182968(0x1e9)}]}];module[_0x182968(0x1f6)]=function(){const _0x3bed9f=_0x182968;return e[_0x3bed9f(0x1e7)](r)[_0x3bed9f(0x1fe)](_0x53ddeb=>Promise['resolve'](_0x53ddeb));};
1
+ 'use strict';function _0x523b(){const _0x43af98=['then','list','other','1978228AbGVkf','94286oGejEt','29529lWuoqT','prompt','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','35bujAOx','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','1706886QPRThr','Other','iconsv3','10NKZeSg','487698PhzZoN','v1tov2','4279oCujdw','1150dxZcWf','migrateVersion','inquirer','Version\x201\x20=>\x20Version\x202','zmp-ui','2847580DVxvaK','zmp-framework','1192fhlons'];_0x523b=function(){return _0x43af98;};return _0x523b();}const _0x180157=_0x133b;function _0x133b(_0x1dc590,_0x32dd9a){const _0x523bf0=_0x523b();return _0x133b=function(_0x133b1a,_0x19a657){_0x133b1a=_0x133b1a-0xcf;let _0x3a08f2=_0x523bf0[_0x133b1a];return _0x3a08f2;},_0x133b(_0x1dc590,_0x32dd9a);}(function(_0x7b91fe,_0xe758bf){const _0xbc367=_0x133b,_0x5941f9=_0x7b91fe();while(!![]){try{const _0x712cef=-parseInt(_0xbc367(0xd4))/0x1*(parseInt(_0xbc367(0xdd))/0x2)+parseInt(_0xbc367(0xda))/0x3+-parseInt(_0xbc367(0xd3))/0x4+parseInt(_0xbc367(0xe6))/0x5+-parseInt(_0xbc367(0xde))/0x6*(parseInt(_0xbc367(0xd8))/0x7)+-parseInt(_0xbc367(0xcf))/0x8*(-parseInt(_0xbc367(0xd5))/0x9)+parseInt(_0xbc367(0xe1))/0xa*(parseInt(_0xbc367(0xe0))/0xb);if(_0x712cef===_0xe758bf)break;else _0x5941f9['push'](_0x5941f9['shift']());}catch(_0x5dba9c){_0x5941f9['push'](_0x5941f9['shift']());}}}(_0x523b,0x492a0));const e=require(_0x180157(0xe3)),r=[{'type':_0x180157(0xd1),'name':'migrateVersion','message':'What\x20version\x20do\x20you\x20want\x20to\x20migrate?','choices':[{'name':_0x180157(0xe4),'value':_0x180157(0xdf)},{'name':_0x180157(0xd7),'value':'iconsv3'}]},{'type':_0x180157(0xd1),'name':'uiFramework','message':_0x180157(0xd9),'when':_0x4923e2=>_0x180157(0xdc)===_0x4923e2[_0x180157(0xe2)],'choices':[{'name':'zmp-framework','value':_0x180157(0xe7)},{'name':_0x180157(0xe5),'value':_0x180157(0xe5)},{'name':_0x180157(0xdb),'value':_0x180157(0xd2)}]}];module['exports']=function(){const _0x20f9be=_0x180157;return e[_0x20f9be(0xd6)](r)[_0x20f9be(0xd0)](_0x2fea47=>Promise['resolve'](_0x2fea47));};
@@ -1 +1 @@
1
- 'use strict';const _0x2b4715=_0x4d7d;(function(_0x52ab3b,_0x3b68c5){const _0x5a673e=_0x4d7d,_0x3bb96c=_0x52ab3b();while(!![]){try{const _0x496efa=-parseInt(_0x5a673e(0x88))/0x1*(parseInt(_0x5a673e(0x87))/0x2)+-parseInt(_0x5a673e(0x89))/0x3*(-parseInt(_0x5a673e(0x7d))/0x4)+-parseInt(_0x5a673e(0x7b))/0x5+parseInt(_0x5a673e(0x80))/0x6*(parseInt(_0x5a673e(0x86))/0x7)+-parseInt(_0x5a673e(0x7f))/0x8+-parseInt(_0x5a673e(0x81))/0x9*(parseInt(_0x5a673e(0x7c))/0xa)+-parseInt(_0x5a673e(0x7a))/0xb*(-parseInt(_0x5a673e(0x76))/0xc);if(_0x496efa===_0x3b68c5)break;else _0x3bb96c['push'](_0x3bb96c['shift']());}catch(_0x344404){_0x3bb96c['push'](_0x3bb96c['shift']());}}}(_0x9de1,0xd01bb));function _0x9de1(){const _0x4abf09=['copyFileAsync','../templates/v2/vite.config.js','index.html','../icons/update-icon-v3','15648crvvLu','path','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev','v1tov2','45694dfBfnz','7214895IkyeoP','13678270aiItBc','128WTrnUW','writeFileSync','12671912dPEqhJ','1266066IqhNGg','9oATnZn','migrateVersion','exec-sh','resolve','join','7pailxo','10TnRXGC','81225qvetad','2391UTfYNv','promise','exports'];_0x9de1=function(){return _0x4abf09;};return _0x9de1();}const e=require('../templates/v2/generate-index.react'),i=require('../../utils/fs-extra'),t=require(_0x2b4715(0x77)),s=require(_0x2b4715(0x83)),r=require(_0x2b4715(0x75));async function a(_0x2fc798){const _0x8a51a2=_0x2b4715;let _0x42557f=e(_0x2fc798);i[_0x8a51a2(0x7e)](t[_0x8a51a2(0x85)](_0x2fc798['cwd'],_0x8a51a2(0x74)),_0x42557f),i[_0x8a51a2(0x72)](t[_0x8a51a2(0x84)](__dirname,_0x8a51a2(0x73)),t['resolve'](_0x2fc798['cwd'],'vite.config.js')),await s[_0x8a51a2(0x8a)](_0x8a51a2(0x78),!0x0);}function _0x4d7d(_0x3627c9,_0x3f9097){const _0x9de185=_0x9de1();return _0x4d7d=function(_0x4d7dc5,_0x44df82){_0x4d7dc5=_0x4d7dc5-0x71;let _0x55d0a9=_0x9de185[_0x4d7dc5];return _0x55d0a9;},_0x4d7d(_0x3627c9,_0x3f9097);}async function n(_0x450bca){const _0x3f9807=_0x2b4715;switch(_0x450bca[_0x3f9807(0x82)]){case _0x3f9807(0x79):await a(_0x450bca);break;case'iconsv3':await r(_0x450bca);}}module[_0x2b4715(0x71)]=n;
1
+ 'use strict';const _0x1edad3=_0x44bc;function _0x44bc(_0x759d9b,_0x48bd4e){const _0x18e270=_0x18e2();return _0x44bc=function(_0x44bc03,_0x1906c8){_0x44bc03=_0x44bc03-0x1e3;let _0x17e44e=_0x18e270[_0x44bc03];return _0x17e44e;},_0x44bc(_0x759d9b,_0x48bd4e);}(function(_0x96edac,_0x38329c){const _0x28d78d=_0x44bc,_0x3fec98=_0x96edac();while(!![]){try{const _0x4d0e4a=parseInt(_0x28d78d(0x1e3))/0x1*(-parseInt(_0x28d78d(0x1ec))/0x2)+parseInt(_0x28d78d(0x1e6))/0x3*(-parseInt(_0x28d78d(0x1ed))/0x4)+parseInt(_0x28d78d(0x1e9))/0x5+parseInt(_0x28d78d(0x1f5))/0x6+parseInt(_0x28d78d(0x1ef))/0x7*(-parseInt(_0x28d78d(0x1ea))/0x8)+-parseInt(_0x28d78d(0x1eb))/0x9+parseInt(_0x28d78d(0x1f4))/0xa;if(_0x4d0e4a===_0x38329c)break;else _0x3fec98['push'](_0x3fec98['shift']());}catch(_0x4a32fa){_0x3fec98['push'](_0x3fec98['shift']());}}}(_0x18e2,0x23e82));const e=require(_0x1edad3(0x1fb)),i=require(_0x1edad3(0x1f6)),t=require(_0x1edad3(0x1f1)),s=require(_0x1edad3(0x1fa)),r=require(_0x1edad3(0x1f8));function _0x18e2(){const _0x280579=['v1tov2','4128400QacaMH','1088976YaTRBR','../../utils/fs-extra','../templates/v2/vite.config.js','../icons/update-icon-v3','cwd','exec-sh','../templates/v2/generate-index.react','vite.config.js','join','1019KXdunM','exports','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev','4332EJXFgD','migrateVersion','writeFileSync','740760gZYFru','1888InCHIR','896157NGMpgR','206gdpeRp','448jCHWDB','iconsv3','6797qyRLEo','resolve','path','index.html'];_0x18e2=function(){return _0x280579;};return _0x18e2();}async function a(_0x8156ea){const _0x5a0c86=_0x1edad3;let _0x20f7c6=e(_0x8156ea);i[_0x5a0c86(0x1e8)](t[_0x5a0c86(0x1fd)](_0x8156ea['cwd'],_0x5a0c86(0x1f2)),_0x20f7c6),i['copyFileAsync'](t[_0x5a0c86(0x1f0)](__dirname,_0x5a0c86(0x1f7)),t[_0x5a0c86(0x1f0)](_0x8156ea[_0x5a0c86(0x1f9)],_0x5a0c86(0x1fc))),await s['promise'](_0x5a0c86(0x1e5),!0x0);}async function n(_0x1409d5){const _0x16c16c=_0x1edad3;switch(_0x1409d5[_0x16c16c(0x1e7)]){case _0x16c16c(0x1f3):await a(_0x1409d5);break;case _0x16c16c(0x1ee):await r(_0x1409d5);}}module[_0x1edad3(0x1e4)]=n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-cli",
3
- "version": "3.15.11",
3
+ "version": "3.15.12",
4
4
  "description": "ZMP command line utility (CLI)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -59,6 +59,7 @@
59
59
  "proxy-agent": "^6.2.1",
60
60
  "qrcode": "^1.4.4",
61
61
  "qrcode-terminal": "^0.12.0",
62
+ "qs": "^6.14.0",
62
63
  "react-refresh": "^0.9.0",
63
64
  "resumablejs": "^1.1.0",
64
65
  "rimraf": "^3.0.0",
@@ -74,6 +75,6 @@
74
75
  "xhr2": "^0.2.1",
75
76
  "xmlhttprequest": "^1.8.0",
76
77
  "zip-local": "^0.3.4",
77
- "zmp-cli-core": "~1.0.2"
78
+ "zmp-cli-core": "~1.0.11"
78
79
  }
79
80
  }
package/start/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3007(){const _0x53f5fa=['../utils/fs-extra','green','iosHostName','vite','address','Trying\x20reverse\x20socket\x20connection','chii','119961BBlAor','join','appConfigJson','child_process','appId','parse','previewOnZalo','chalk','Google\x20Chrome','stderr','existsSync','Can\x20not\x20start\x20remote\x20debug\x20server','Error\x20starting\x20project','0.0.0.0','4NWEeFQ','human-readable-ids','blue','random','8768xJBNLg','push','text','toString','222UcmAZf','stringify','splice','createServer','writeFileSync','printUrls','generate','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','bold','log-symbols','port','stdout','red','To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:','../utils/error','2589615XWwDdZ','\x20browser.','2234165ntAeqd','Starting\x20mini\x20app...','frame','adb','findIndex','zmp-cli-core','adb\x20reverse\x20error:\x20','app','7512408BVLLKh','https://zalo.me/app/link/zapps/','13690930qQiKFP','listen','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','module','remote-debug-script','isArray','ios','server','getEnv','../utils/env','ora','../config','cwd','/frame','devices','httpServer','82537zFyCya','exports','data','deviceMode','path','tcp:','localhost','appConfig','206blylna','spawn','stop','config','\x20or\x20a\x20','info','770FuVaHo','start','/?env=TESTING_LOCAL&clientIp=http://','logger','error','../utils/tunnel','reverse'];_0x3007=function(){return _0x53f5fa;};return _0x3007();}const _0x167e65=_0x1e80;(function(_0x535fef,_0xcee359){const _0x45720c=_0x1e80,_0x1fc7e7=_0x535fef();while(!![]){try{const _0x24739a=-parseInt(_0x45720c(0x1b9))/0x1*(parseInt(_0x45720c(0x193))/0x2)+-parseInt(_0x45720c(0x16f))/0x3+-parseInt(_0x45720c(0x1b5))/0x4*(parseInt(_0x45720c(0x171))/0x5)+-parseInt(_0x45720c(0x15f))/0x6*(parseInt(_0x45720c(0x18b))/0x7)+parseInt(_0x45720c(0x179))/0x8+-parseInt(_0x45720c(0x1a7))/0x9*(-parseInt(_0x45720c(0x199))/0xa)+parseInt(_0x45720c(0x17b))/0xb;if(_0x24739a===_0xcee359)break;else _0x1fc7e7['push'](_0x1fc7e7['shift']());}catch(_0x3428cc){_0x1fc7e7['push'](_0x1fc7e7['shift']());}}}(_0x3007,0x88ddd));function _0x1e80(_0x393794,_0xd18b8c){const _0x3007af=_0x3007();return _0x1e80=function(_0x1e801e,_0xe5fbd2){_0x1e801e=_0x1e801e-0x15c;let _0x3f0a5=_0x3007af[_0x1e801e];return _0x3f0a5;},_0x1e80(_0x393794,_0xd18b8c);}const e=require(_0x167e65(0x1ae)),r=require(_0x167e65(0x185)),t=require(_0x167e65(0x18f)),i=require('qrcode-terminal'),o=require(_0x167e65(0x169)),n=require(_0x167e65(0x1a6)),{hri:s}=require(_0x167e65(0x1b6)),{startLocal:a,startDevice:p}=require(_0x167e65(0x176)),l=require(_0x167e65(0x186)),c=require(_0x167e65(0x184)),{errorExit:d}=require(_0x167e65(0x16e)),u=require(_0x167e65(0x1a0)),f=require('../utils/find-free-port'),{openTunnel:g}=require(_0x167e65(0x19e)),$=r(_0x167e65(0x172));module[_0x167e65(0x18c)]=async(_0x21c3e5={},_0x125a42)=>{const _0x25d9eb=_0x167e65;let _0x3aea24;_0x125a42||(_0x125a42={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$['start']();let _0xd15fb7=_0x21c3e5[_0x25d9eb(0x187)]||process['cwd'](),_0x48f41b=_0x21c3e5[_0x25d9eb(0x1ab)]||c[_0x25d9eb(0x183)](l['env']['appId']),_0x3d0db6=_0x21c3e5[_0x25d9eb(0x1ad)],_0x28d45f=_0x21c3e5[_0x25d9eb(0x181)],_0x1d6cd7=_0x21c3e5[_0x25d9eb(0x1a2)],_0xc555d=_0x21c3e5[_0x25d9eb(0x173)],_0xedb131=_0x28d45f?_0x1d6cd7:_0x25d9eb(0x191),_0x492719=_0x21c3e5[_0x25d9eb(0x16a)],_0x5b3a0a=_0x492719-0x2,_0x32e55b=_0x21c3e5[_0x25d9eb(0x1a9)]||require((_0x3aea24=l['filename'][_0x25d9eb(0x192)],t[_0x25d9eb(0x1a8)](_0xd15fb7,_0x3aea24))),_0x21a051=_0x21c3e5[_0x25d9eb(0x18e)];try{let _0x4ed721,_0x1c919c,_0x29190c;if(_0x3d0db6){let _0x1fdebb=t['join'](_0xd15fb7,'hr.config.json'),_0x11ee0e={'id':'remote-debug-script','innerHTML':'(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://'+_0xedb131+':'+_0x5b3a0a+'/target.js\x27;\x20document.body.appendChild(script);\x20})()','type':'text/javascript'};if(u[_0x25d9eb(0x1b1)](_0x1fdebb)){let _0x3ba42d=u['readFileSync'](_0x1fdebb),_0x453b03=JSON[_0x25d9eb(0x1ac)](_0x3ba42d),_0x3c7a6d=_0x453b03['listJS'];Array[_0x25d9eb(0x180)](_0x3c7a6d)||(_0x3c7a6d=[]);let _0x11b12e=_0x3c7a6d[_0x25d9eb(0x175)](_0x210997=>_0x25d9eb(0x17f)===_0x210997['id']);_0x11b12e<=0x0||_0x3c7a6d[_0x25d9eb(0x161)](_0x11b12e,0x1),_0x3c7a6d[_0x25d9eb(0x15c)](_0x11ee0e),_0x453b03['listJS']=_0x3c7a6d,u[_0x25d9eb(0x163)](_0x1fdebb,JSON[_0x25d9eb(0x160)](_0x453b03,void 0x0,0x4));}else u['writeFileSync'](_0x1fdebb,JSON[_0x25d9eb(0x160)]({'listCSS':[],'listJS':[{'src':'/src/app.js','type':_0x25d9eb(0x17e),'async':!0x0},_0x11ee0e]},void 0x0,0x4));}if(_0x21a051){_0x4ed721=s[_0x25d9eb(0x1b8)](),_0x1c919c=await f(),n['start']({'port':_0x1c919c});let _0x8fb872=await g(_0x1c919c);_0x29190c=await p({'appId':_0x48f41b,'chiiUrl':_0x8fb872,'cwd':_0xd15fb7,'subdomain':_0x4ed721});}else{if(_0x29190c=await a({'cwd':_0xd15fb7,'appConfig':_0x32e55b,'config':{'host':_0x25d9eb(0x1b4),'port':_0xc555d?_0x492719-0x1:_0x492719},'hmr':_0x3d0db6?{'host':_0xedb131,'protocol':'ws'}:void 0x0}),_0xc555d&&!_0x3d0db6){let _0x545d6c=await _0x29190c[_0x25d9eb(0x1a3)][_0x25d9eb(0x162)]({'configFile':!0x1,'root':__dirname+_0x25d9eb(0x188),'server':{'port':_0x29190c['app'][_0x25d9eb(0x18a)][_0x25d9eb(0x1a4)]()['port']+0x1,'strictPort':!0x0,'open':!0x0}});$['stop'](),await _0x545d6c[_0x25d9eb(0x17c)](),(0x0,_0x545d6c[_0x25d9eb(0x196)][_0x25d9eb(0x19c)][_0x25d9eb(0x198)])(e[_0x25d9eb(0x1a1)](_0x25d9eb(0x167))),_0x545d6c[_0x25d9eb(0x164)]();}else $[_0x25d9eb(0x195)](),(0x0,_0x29190c[_0x25d9eb(0x182)][_0x25d9eb(0x196)][_0x25d9eb(0x19c)][_0x25d9eb(0x198)])(e['green'](_0x25d9eb(0x167))),_0x29190c['server'][_0x25d9eb(0x164)]();}let _0x2e691f=_0x29190c[_0x25d9eb(0x178)];if(_0x3d0db6)try{n[_0x25d9eb(0x19a)]({'port':_0x5b3a0a}),_0x125a42[_0x25d9eb(0x15d)](e['green'](o[_0x25d9eb(0x198)]+'\x20'+e[_0x25d9eb(0x168)]('Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:'+_0x5b3a0a))),_0x28d45f||require(_0x25d9eb(0x1aa))[_0x25d9eb(0x194)](_0x25d9eb(0x174),['reverse',_0x25d9eb(0x190)+_0x5b3a0a,_0x25d9eb(0x190)+_0x5b3a0a])[_0x25d9eb(0x1b0)]['on'](_0x25d9eb(0x18d),function(_0x825064){const _0x2a3487=_0x25d9eb;_0x125a42[_0x2a3487(0x19d)](_0x825064[_0x2a3487(0x15e)]());});}catch(_0x339ebc){_0x125a42['text'](o[_0x25d9eb(0x198)]+'\x20'+e[_0x25d9eb(0x16c)](_0x25d9eb(0x1b2)));}if($['stop'](),_0x3d0db6){let _0x1cf116=_0x25d9eb(0x17a)+_0x48f41b+_0x25d9eb(0x19b)+_0xedb131+':'+_0x2e691f[_0x25d9eb(0x196)][_0x25d9eb(0x182)][_0x25d9eb(0x16a)];i['generate'](_0x1cf116,{'small':!0x0},function(_0x2ebdc5){const _0x22825d=_0x25d9eb;if(_0x125a42[_0x22825d(0x15d)](e[_0x22825d(0x1a1)](o[_0x22825d(0x198)]+'\x20'+e[_0x22825d(0x168)](_0x22825d(0x17d)+_0xedb131+':'+_0x2e691f[_0x22825d(0x196)]['server'][_0x22825d(0x16a)]))),_0x125a42[_0x22825d(0x15d)](e[_0x22825d(0x1a1)](o[_0x22825d(0x198)]+'\x20'+e[_0x22825d(0x168)](_0x22825d(0x1a5)))),_0x28d45f){let _0x4d4a2e=o[_0x22825d(0x198)]+'\x20'+e['bold'](_0x22825d(0x166)+_0x2ebdc5);_0x125a42['text'](_0x4d4a2e);}else{let _0x52a78d=require(_0x22825d(0x1aa))['spawn'](_0x22825d(0x174),[_0x22825d(0x19f),'tcp:'+_0x2e691f['config'][_0x22825d(0x182)][_0x22825d(0x16a)],_0x22825d(0x190)+_0x2e691f[_0x22825d(0x196)]['server'][_0x22825d(0x16a)]]);_0x52a78d['stderr']['on'](_0x22825d(0x18d),function(_0x2aa87a){const _0x1ff30b=_0x22825d;_0x125a42[_0x1ff30b(0x19d)](_0x2aa87a[_0x1ff30b(0x15e)]());}),_0x52a78d['on']('exit',function(_0x3b49c0){const _0x2814f4=_0x22825d;if(0x0!==_0x3b49c0)throw Error(_0x2814f4(0x177)+_0x3b49c0);{let _0x3f1173=o[_0x2814f4(0x198)]+'\x20'+e[_0x2814f4(0x168)](_0x2814f4(0x166)+_0x2ebdc5);_0x125a42[_0x2814f4(0x15d)](_0x3f1173),require(_0x2814f4(0x1aa))['spawn'](_0x2814f4(0x174),[_0x2814f4(0x189)])[_0x2814f4(0x16b)]['on'](_0x2814f4(0x18d),function(_0x4f0001){const _0x43637d=_0x2814f4;_0x125a42['text'](''+e['yellow'](_0x4f0001[_0x43637d(0x15e)]()));});}});}});}if(_0x21a051){let _0x54dde5=_0x2e691f[_0x25d9eb(0x18a)][_0x25d9eb(0x1a4)]()[_0x25d9eb(0x16a)],_0x149976=await g(_0x54dde5,_0x4ed721),_0x36bcd6=_0x25d9eb(0x17a)+_0x48f41b+'/?env=TESTING_LOCAL&clientIp='+_0x149976;i[_0x25d9eb(0x165)](_0x36bcd6,{'small':!0x0},function(_0x1d7ba8){const _0x33386c=_0x25d9eb;let _0x1befe5=o[_0x33386c(0x198)]+'\x20'+e[_0x33386c(0x168)](_0x33386c(0x166)+_0x1d7ba8);_0x125a42['text'](_0x1befe5),_0x125a42[_0x33386c(0x15d)](o[_0x33386c(0x198)]+'\x20'+e[_0x33386c(0x168)](_0x33386c(0x16d)+_0x1c919c+'\x20in\x20'+e[_0x33386c(0x1a1)](_0x33386c(0x1af))+_0x33386c(0x197)+e[_0x33386c(0x1b7)]('Chromium-based')+_0x33386c(0x170)));});}return await new Promise(()=>{});}catch(_0x525839){$['stop'](),_0x125a42[_0x25d9eb(0x19d)](_0x25d9eb(0x1b3)),d(_0x525839);return;}};
1
+ 'use strict';const _0x278cc7=_0x3da2;(function(_0x4708b2,_0x296804){const _0x27e539=_0x3da2,_0x222ebe=_0x4708b2();while(!![]){try{const _0x14f04e=parseInt(_0x27e539(0x164))/0x1*(-parseInt(_0x27e539(0x161))/0x2)+-parseInt(_0x27e539(0x181))/0x3+parseInt(_0x27e539(0x142))/0x4+-parseInt(_0x27e539(0x179))/0x5+-parseInt(_0x27e539(0x168))/0x6*(parseInt(_0x27e539(0x173))/0x7)+-parseInt(_0x27e539(0x14d))/0x8*(-parseInt(_0x27e539(0x18e))/0x9)+parseInt(_0x27e539(0x182))/0xa;if(_0x14f04e===_0x296804)break;else _0x222ebe['push'](_0x222ebe['shift']());}catch(_0x4e5609){_0x222ebe['push'](_0x222ebe['shift']());}}}(_0x14ec,0x5f644));function _0x3da2(_0xa09468,_0x4a075d){const _0x14ec3a=_0x14ec();return _0x3da2=function(_0x3da288,_0x2f0302){_0x3da288=_0x3da288-0x133;let _0x20fc50=_0x14ec3a[_0x3da288];return _0x20fc50;},_0x3da2(_0xa09468,_0x4a075d);}function _0x14ec(){const _0x124473=['/?env=TESTING_LOCAL&clientIp=http://','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','Google\x20Chrome','filename','2798MQLCUI','Chromium-based','vite','355sVGNpq','data','Trying\x20reverse\x20socket\x20connection','Error\x20starting\x20project','17772zgsuVZ','qrcode-terminal','/src/app.js','path','stdout','toString','listen','../utils/tunnel','app','spawn','appId','70tuJkoP','httpServer','stderr','/?env=TESTING_LOCAL&clientIp=','log-symbols','\x20browser.','2153095ILLnNT','\x20in\x20','port','existsSync','printUrls','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','../config','adb\x20reverse\x20error:\x20','1609284KrKyPl','6897340ciHBHh','isArray','/target.js\x27;\x20document.body.appendChild(script);\x20})()','join','stop','Starting\x20mini\x20app...','ora','mode','text','red','\x20or\x20a\x20','zmp-cli-core','768906ntNAZl','server','chalk','listJS','To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:','getEnv','blue','reverse','../utils/fs-extra','previewOnZalo','appConfigJson','bold','/frame','env','stringify','text/javascript','address','module','Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:','0.0.0.0','random','2043320ShWxQV','../utils/find-free-port','start','adb','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','remote-debug-script','parse','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','config','writeFileSync','https://zalo.me/app/link/zapps/','64TZsvJx','logger','../utils/error','generate','splice','yellow','push','devices','appConfig','info','tcp:','green','findIndex','localhost','hr.config.json','readFileSync'];_0x14ec=function(){return _0x124473;};return _0x14ec();}const e=require(_0x278cc7(0x190)),r=require(_0x278cc7(0x188)),t=require(_0x278cc7(0x16b)),i=require(_0x278cc7(0x169)),o=require(_0x278cc7(0x177)),n=require('chii'),{hri:s}=require('human-readable-ids'),{startLocal:a,startDevice:p}=require(_0x278cc7(0x18d)),l=require(_0x278cc7(0x17f)),c=require('../utils/env'),{errorExit:d}=require(_0x278cc7(0x14f)),u=require(_0x278cc7(0x135)),f=require(_0x278cc7(0x143)),{openTunnel:g}=require(_0x278cc7(0x16f)),$=r(_0x278cc7(0x187));module['exports']=async(_0x51c657={},_0x3a4ec9)=>{const _0x4de5e1=_0x278cc7;let _0x48f2dd;_0x3a4ec9||(_0x3a4ec9={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$[_0x4de5e1(0x144)]();let _0x5b4897=_0x51c657['cwd']||process['cwd'](),_0x247db0=_0x51c657[_0x4de5e1(0x172)]||c[_0x4de5e1(0x193)](l[_0x4de5e1(0x13a)][_0x4de5e1(0x172)]),_0x324ad3=_0x51c657[_0x4de5e1(0x136)],_0x55e781=_0x51c657['ios'],_0x2866c8=_0x51c657['iosHostName'],_0x340739=_0x51c657['frame'],_0x5152d7=_0x55e781?_0x2866c8:_0x4de5e1(0x15a),_0x1dac2a=_0x51c657['port'],_0x11a99d=_0x1dac2a-0x2,_0x260c0a=_0x51c657[_0x4de5e1(0x137)]||require((_0x48f2dd=l[_0x4de5e1(0x160)][_0x4de5e1(0x155)],t[_0x4de5e1(0x185)](_0x5b4897,_0x48f2dd))),_0x11bd46=_0x51c657['deviceMode'];try{let _0x5e48b4,_0x53a009,_0xeb1b7b;if(_0x324ad3){let _0x591a85=t[_0x4de5e1(0x185)](_0x5b4897,_0x4de5e1(0x15b)),_0x4e2521={'id':_0x4de5e1(0x147),'innerHTML':_0x4de5e1(0x146)+_0x5152d7+':'+_0x11a99d+_0x4de5e1(0x184),'type':_0x4de5e1(0x13c)};if(u[_0x4de5e1(0x17c)](_0x591a85)){let _0x16ddbb=u[_0x4de5e1(0x15c)](_0x591a85),_0x8f5dde=JSON[_0x4de5e1(0x148)](_0x16ddbb),_0x47883e=_0x8f5dde[_0x4de5e1(0x191)];Array[_0x4de5e1(0x183)](_0x47883e)||(_0x47883e=[]);let _0x2c2c50=_0x47883e[_0x4de5e1(0x159)](_0x5c5262=>'remote-debug-script'===_0x5c5262['id']);_0x2c2c50<=0x0||_0x47883e[_0x4de5e1(0x151)](_0x2c2c50,0x1),_0x47883e[_0x4de5e1(0x153)](_0x4e2521),_0x8f5dde[_0x4de5e1(0x191)]=_0x47883e,u[_0x4de5e1(0x14b)](_0x591a85,JSON[_0x4de5e1(0x13b)](_0x8f5dde,void 0x0,0x4));}else u[_0x4de5e1(0x14b)](_0x591a85,JSON[_0x4de5e1(0x13b)]({'listCSS':[],'listJS':[{'src':_0x4de5e1(0x16a),'type':_0x4de5e1(0x13e),'async':!0x0},_0x4e2521]},void 0x0,0x4));}if(_0x11bd46){_0x5e48b4=s[_0x4de5e1(0x141)](),_0x53a009=await f(),n[_0x4de5e1(0x144)]({'port':_0x53a009});let _0x21355e=await g(_0x53a009);_0xeb1b7b=await p({'appId':_0x247db0,'chiiUrl':_0x21355e,'cwd':_0x5b4897,'subdomain':_0x5e48b4,'mode':_0x51c657[_0x4de5e1(0x189)]});}else{if(_0xeb1b7b=await a({'cwd':_0x5b4897,'appConfig':_0x260c0a,'config':{'host':_0x4de5e1(0x140),'port':_0x340739?_0x1dac2a-0x1:_0x1dac2a},'hmr':_0x324ad3?{'host':_0x5152d7,'protocol':'ws'}:void 0x0,'mode':_0x51c657[_0x4de5e1(0x189)]}),_0x340739&&!_0x324ad3){let _0x2686ab=await _0xeb1b7b[_0x4de5e1(0x163)]['createServer']({'configFile':!0x1,'root':__dirname+_0x4de5e1(0x139),'server':{'port':_0xeb1b7b[_0x4de5e1(0x170)][_0x4de5e1(0x174)][_0x4de5e1(0x13d)]()[_0x4de5e1(0x17b)]+0x1,'strictPort':!0x0,'open':!0x0}});$[_0x4de5e1(0x186)](),await _0x2686ab[_0x4de5e1(0x16e)](),(0x0,_0x2686ab[_0x4de5e1(0x14a)][_0x4de5e1(0x14e)]['info'])(e[_0x4de5e1(0x158)](_0x4de5e1(0x15e))),_0x2686ab['printUrls']();}else $[_0x4de5e1(0x186)](),(0x0,_0xeb1b7b[_0x4de5e1(0x18f)]['config']['logger']['info'])(e[_0x4de5e1(0x158)](_0x4de5e1(0x15e))),_0xeb1b7b[_0x4de5e1(0x18f)][_0x4de5e1(0x17d)]();}let _0x23c1a7=_0xeb1b7b[_0x4de5e1(0x170)];if(_0x324ad3)try{n[_0x4de5e1(0x144)]({'port':_0x11a99d}),_0x3a4ec9[_0x4de5e1(0x18a)](e[_0x4de5e1(0x158)](o[_0x4de5e1(0x156)]+'\x20'+e[_0x4de5e1(0x138)](_0x4de5e1(0x13f)+_0x11a99d))),_0x55e781||require('child_process')[_0x4de5e1(0x171)](_0x4de5e1(0x145),[_0x4de5e1(0x134),_0x4de5e1(0x157)+_0x11a99d,_0x4de5e1(0x157)+_0x11a99d])[_0x4de5e1(0x175)]['on'](_0x4de5e1(0x165),function(_0x422f75){_0x3a4ec9['error'](_0x422f75['toString']());});}catch(_0x2b5cd8){_0x3a4ec9['text'](o['info']+'\x20'+e[_0x4de5e1(0x18b)]('Can\x20not\x20start\x20remote\x20debug\x20server'));}if($[_0x4de5e1(0x186)](),_0x324ad3){let _0x685605=_0x4de5e1(0x14c)+_0x247db0+_0x4de5e1(0x15d)+_0x5152d7+':'+_0x23c1a7[_0x4de5e1(0x14a)][_0x4de5e1(0x18f)][_0x4de5e1(0x17b)];i['generate'](_0x685605,{'small':!0x0},function(_0x248689){const _0x56a2cd=_0x4de5e1;if(_0x3a4ec9[_0x56a2cd(0x18a)](e['green'](o[_0x56a2cd(0x156)]+'\x20'+e[_0x56a2cd(0x138)](_0x56a2cd(0x17e)+_0x5152d7+':'+_0x23c1a7['config']['server'][_0x56a2cd(0x17b)]))),_0x3a4ec9[_0x56a2cd(0x18a)](e[_0x56a2cd(0x158)](o[_0x56a2cd(0x156)]+'\x20'+e['bold'](_0x56a2cd(0x166)))),_0x55e781){let _0x5a17ce=o['info']+'\x20'+e[_0x56a2cd(0x138)](_0x56a2cd(0x149)+_0x248689);_0x3a4ec9[_0x56a2cd(0x18a)](_0x5a17ce);}else{let _0x16dc95=require('child_process')[_0x56a2cd(0x171)](_0x56a2cd(0x145),[_0x56a2cd(0x134),'tcp:'+_0x23c1a7[_0x56a2cd(0x14a)][_0x56a2cd(0x18f)][_0x56a2cd(0x17b)],'tcp:'+_0x23c1a7[_0x56a2cd(0x14a)][_0x56a2cd(0x18f)]['port']]);_0x16dc95[_0x56a2cd(0x175)]['on'](_0x56a2cd(0x165),function(_0x5d8e2b){_0x3a4ec9['error'](_0x5d8e2b['toString']());}),_0x16dc95['on']('exit',function(_0x3588dc){const _0x5412b1=_0x56a2cd;if(0x0!==_0x3588dc)throw Error(_0x5412b1(0x180)+_0x3588dc);{let _0x122e74=o['info']+'\x20'+e[_0x5412b1(0x138)](_0x5412b1(0x149)+_0x248689);_0x3a4ec9[_0x5412b1(0x18a)](_0x122e74),require('child_process')['spawn'](_0x5412b1(0x145),[_0x5412b1(0x154)])[_0x5412b1(0x16c)]['on'](_0x5412b1(0x165),function(_0x2ee83d){const _0x194d5a=_0x5412b1;_0x3a4ec9[_0x194d5a(0x18a)](''+e[_0x194d5a(0x152)](_0x2ee83d[_0x194d5a(0x16d)]()));});}});}});}if(_0x11bd46){let _0x9ce584=_0x23c1a7['httpServer'][_0x4de5e1(0x13d)]()[_0x4de5e1(0x17b)],_0x2ee293=await g(_0x9ce584,_0x5e48b4),_0x1a9d11='https://zalo.me/app/link/zapps/'+_0x247db0+_0x4de5e1(0x176)+_0x2ee293;i[_0x4de5e1(0x150)](_0x1a9d11,{'small':!0x0},function(_0x263ccc){const _0x45dda5=_0x4de5e1;let _0x584d18=o['info']+'\x20'+e[_0x45dda5(0x138)](_0x45dda5(0x149)+_0x263ccc);_0x3a4ec9['text'](_0x584d18),_0x3a4ec9[_0x45dda5(0x18a)](o['info']+'\x20'+e[_0x45dda5(0x138)](_0x45dda5(0x192)+_0x53a009+_0x45dda5(0x17a)+e[_0x45dda5(0x158)](_0x45dda5(0x15f))+_0x45dda5(0x18c)+e[_0x45dda5(0x133)](_0x45dda5(0x162))+_0x45dda5(0x178)));});}return await new Promise(()=>{});}catch(_0x4fa6b2){$[_0x4de5e1(0x186)](),_0x3a4ec9['error'](_0x4de5e1(0x167)),d(_0x4fa6b2);return;}};
@@ -1 +1 @@
1
- 'use strict';const _0x179675=_0x128e;(function(_0x4aa18c,_0x415ee4){const _0x10d8c1=_0x128e,_0x19de62=_0x4aa18c();while(!![]){try{const _0x3dc79b=-parseInt(_0x10d8c1(0x14d))/0x1*(-parseInt(_0x10d8c1(0x15b))/0x2)+-parseInt(_0x10d8c1(0x167))/0x3+parseInt(_0x10d8c1(0x161))/0x4*(-parseInt(_0x10d8c1(0x14b))/0x5)+parseInt(_0x10d8c1(0x15e))/0x6*(-parseInt(_0x10d8c1(0x164))/0x7)+parseInt(_0x10d8c1(0x14c))/0x8+-parseInt(_0x10d8c1(0x154))/0x9*(-parseInt(_0x10d8c1(0x143))/0xa)+parseInt(_0x10d8c1(0x174))/0xb;if(_0x3dc79b===_0x415ee4)break;else _0x19de62['push'](_0x19de62['shift']());}catch(_0x336ce3){_0x19de62['push'](_0x19de62['shift']());}}}(_0x3549,0x8ca70));function _0x128e(_0x58d1a6,_0x529afa){const _0x35496f=_0x3549();return _0x128e=function(_0x128e9c,_0x18831f){_0x128e9c=_0x128e9c-0x140;let _0x27ed1a=_0x35496f[_0x128e9c];return _0x27ed1a;},_0x128e(_0x58d1a6,_0x529afa);}const e=require(_0x179675(0x162)),t=require('fs'),{axiosClient:r}=require(_0x179675(0x141));async function s(_0x1e3346,{outputDir:_0x138b73,rootElement:_0x39be0e}){const _0xe9727d=_0x179675;let _0x5b1192=[],_0x2d3622=[],_0x2542ca=[],_0x48aaf7='';try{let _0x2010f2=new e()[_0xe9727d(0x178)](_0x1e3346,_0xe9727d(0x150)),_0x3dd2d0=[],_0x5d3f0f=[];for(let _0x2e28e3 of _0x2010f2[_0xe9727d(0x177)](_0xe9727d(0x170))){let _0x4c86fa=_0x2e28e3[_0xe9727d(0x142)](_0xe9727d(0x16d)),_0x21a19=_0x2e28e3['getAttribute'](_0xe9727d(0x17a)),_0x3f0acb=_0x2e28e3[_0xe9727d(0x142)]('async'),_0x4a85a6=_0x2e28e3['innerHTML'];try{if(_0x4a85a6)_0x5d3f0f[_0xe9727d(0x144)](_0x2e28e3[_0xe9727d(0x175)]);else{let _0xc79b10=_0x4c86fa;if(_0x4c86fa[_0xe9727d(0x156)]('://')){let _0x362115=_0x4c86fa['substring'](_0x4c86fa[_0xe9727d(0x15d)]('/')+0x1);_0x362115=_0xe9727d(0x140)+_0x362115;let _0x3b5a56=await r({'method':_0xe9727d(0x158),'url':_0x4c86fa,'responseType':_0xe9727d(0x157)}),_0x38e25f=t[_0xe9727d(0x179)](_0x138b73+'/'+_0x362115);_0x3b5a56['data'][_0xe9727d(0x149)](_0x38e25f),await new Promise((_0x20e810,_0x26b79f)=>{const _0x3fcc1e=_0xe9727d;_0x38e25f['on'](_0x3fcc1e(0x152),_0x20e810),_0x38e25f['on']('error',_0x26b79f);}),_0xc79b10=_0x362115;}if(_0xe9727d(0x17d)===_0x21a19&&!_0xc79b10[_0xe9727d(0x171)](_0xe9727d(0x159))){let _0x1733d0=_0x4c86fa[_0xe9727d(0x14e)](0x0,-0x3)[_0xe9727d(0x148)](_0xe9727d(0x146));t[_0xe9727d(0x147)](_0xc79b10,_0x1733d0),_0xc79b10=_0x1733d0;}(_0x3f0acb?_0x2542ca:_0x2d3622)[_0xe9727d(0x144)](_0xc79b10);}}catch(_0x1564b8){console[_0xe9727d(0x15c)](_0xe9727d(0x173),_0x4c86fa),console['error'](_0x1564b8[_0xe9727d(0x169)]);}}for(let _0x558da0 of(_0x2010f2[_0xe9727d(0x177)]('style')[_0xe9727d(0x151)](_0x1c5894=>{const _0xfb8251=_0xe9727d;_0x1c5894[_0xfb8251(0x166)]&&_0x3dd2d0[_0xfb8251(0x144)](_0x1c5894[_0xfb8251(0x175)]);}),_0x2010f2[_0xe9727d(0x177)](_0xe9727d(0x15a)))){let _0x6eda0b=_0x558da0['getAttribute'](_0xe9727d(0x168)),_0xa2248e=_0x558da0[_0xe9727d(0x142)]('href');try{if(_0xe9727d(0x172)===_0x6eda0b){let _0x5576af=_0xa2248e;if(_0xa2248e['includes'](_0xe9727d(0x160))){_0x5576af=_0xa2248e[_0xe9727d(0x17b)](_0xa2248e[_0xe9727d(0x15d)]('/')+0x1),_0x5576af=_0xe9727d(0x140)+_0x5576af;let _0x34e830=await r({'method':_0xe9727d(0x158),'url':_0xa2248e,'responseType':_0xe9727d(0x157)}),_0xd21816=t[_0xe9727d(0x179)](_0x138b73+'/'+_0x5576af);_0x34e830[_0xe9727d(0x14f)]['pipe'](_0xd21816),await new Promise((_0x4b9f04,_0x21437b)=>{const _0x50dc77=_0xe9727d;_0xd21816['on'](_0x50dc77(0x152),_0x4b9f04),_0xd21816['on'](_0x50dc77(0x165),_0x21437b);});}_0x5b1192['push'](_0x5576af);}}catch(_0x334a6f){console['error'](_0xe9727d(0x173),_0xa2248e),console[_0xe9727d(0x165)](_0x334a6f[_0xe9727d(0x169)]);}}if(_0x2010f2[_0xe9727d(0x177)]('meta')['forEach'](_0x794655=>{const _0x27bab4=_0xe9727d;_0x3dd2d0[_0x27bab4(0x144)](_0x794655[_0x27bab4(0x175)]);}),_0x39be0e&&_0xe9727d(0x16e)!==_0x39be0e){let _0x2f600d='<'+_0x39be0e+_0xe9727d(0x17c);_0x39be0e[_0xe9727d(0x16b)]('#')&&(_0x2f600d=_0xe9727d(0x163)+_0x39be0e['substring'](0x1)+'\x22\x20/>'),_0x39be0e[_0xe9727d(0x16b)]('.')&&(_0x2f600d=_0xe9727d(0x14a)+_0x39be0e[_0xe9727d(0x17b)](0x1)+_0xe9727d(0x16f)),_0x39be0e[_0xe9727d(0x16b)]('<')&&(_0x2f600d=_0x39be0e),_0x5d3f0f[_0xe9727d(0x153)](_0x2f600d);}_0x48aaf7+=_0x3dd2d0[_0xe9727d(0x16a)](_0xc13ddc=>'document.head.innerHTML\x20+=\x20`'+_0xc13ddc[_0xe9727d(0x155)]('`','\x5c`')+'`;')['join']('\x0a')+'\x0a'+_0x5d3f0f[_0xe9727d(0x16a)](_0xe6e4=>_0xe9727d(0x145)+_0xe6e4[_0xe9727d(0x155)]('`','\x5c`')+'`;')[_0xe9727d(0x176)]('\x0a'),_0x2d3622[_0xe9727d(0x153)](_0xe9727d(0x15f));}catch(_0x33ae87){console[_0xe9727d(0x165)](_0x33ae87[_0xe9727d(0x169)]);}return{'listCSS':_0x5b1192,'listSyncJS':_0x2d3622,'listAsyncJS':_0x2542ca,'inlineJS':_0x48aaf7};}function _0x3549(){const _0x236326=['replaceAll','includes','stream','get','module.js','link','22JYYyZw','warn','lastIndexOf','237846tjdlFg','inline.js','://','2336cGDrTY','dom-parser','<div\x20id=\x22','21DZNPoc','error','innerHTML','907077cHsHTr','rel','message','map','startsWith','exports','src','#app','\x22\x20/>','script','endsWith','stylesheet','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!','356411YVcaEX','outerHTML','join','getElementsByTagName','parseFromString','createWriteStream','type','substring','\x20/>','module','cdn.','../utils/axios','getAttribute','90430dNBhIa','push','document.body.innerHTML\x20+=\x20`','.module.js','rename','concat','pipe','<div\x20class=\x22','4490TteXks','8987760tmidID','27514dzZsYv','slice','data','text/html','forEach','finish','unshift','63gCyEdW'];_0x3549=function(){return _0x236326;};return _0x3549();}module[_0x179675(0x16c)]={'generateListResourcesFromIndex':s};
1
+ 'use strict';const _0x22cd05=_0x2d2f;function _0x2098(){const _0x53cb9b=['createWriteStream','lastIndexOf','9PSmhht','\x22\x20/>','substring','#app','endsWith','\x20/>','getElementsByTagName','.module.js','233JMJHvt','330003NTNBrc','src','16126wfRCta','13QygeFZ','5825860nJPfRH','://','document.head.innerHTML\x20+=\x20`','<div\x20class=\x22','78RWKBXU','href','document.body.innerHTML\x20+=\x20`','dom-parser','stream','inline.js','replaceAll','stylesheet','concat','forEach','meta','startsWith','innerHTML','map','18936390zTjNAf','cdn.','script','180330ThUAKL','8MzDQOD','join','text/html','includes','24NNXBff','get','../utils/axios','data','push','error','<div\x20id=\x22','getAttribute','2477615Grxzsg','15901260yyABtI','message','module.js','pipe','rename','warn','outerHTML','link','module','style','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!'];_0x2098=function(){return _0x53cb9b;};return _0x2098();}function _0x2d2f(_0x302666,_0x19a1fc){const _0x2098fb=_0x2098();return _0x2d2f=function(_0x2d2f69,_0x4f3449){_0x2d2f69=_0x2d2f69-0x1ac;let _0x56dd7d=_0x2098fb[_0x2d2f69];return _0x56dd7d;},_0x2d2f(_0x302666,_0x19a1fc);}(function(_0xe9a584,_0x4d2b4b){const _0xcda56a=_0x2d2f,_0x173895=_0xe9a584();while(!![]){try{const _0x1948c1=-parseInt(_0xcda56a(0x1c3))/0x1*(parseInt(_0xcda56a(0x1c6))/0x2)+-parseInt(_0xcda56a(0x1c4))/0x3*(parseInt(_0xcda56a(0x1de))/0x4)+parseInt(_0xcda56a(0x1dd))/0x5*(-parseInt(_0xcda56a(0x1cc))/0x6)+parseInt(_0xcda56a(0x1ad))/0x7*(parseInt(_0xcda56a(0x1e2))/0x8)+parseInt(_0xcda56a(0x1bb))/0x9*(-parseInt(_0xcda56a(0x1c8))/0xa)+parseInt(_0xcda56a(0x1da))/0xb+parseInt(_0xcda56a(0x1ae))/0xc*(parseInt(_0xcda56a(0x1c7))/0xd);if(_0x1948c1===_0x4d2b4b)break;else _0x173895['push'](_0x173895['shift']());}catch(_0x1bb4ad){_0x173895['push'](_0x173895['shift']());}}}(_0x2098,0xe9f61));const e=require(_0x22cd05(0x1cf)),t=require('fs'),{axiosClient:r}=require(_0x22cd05(0x1e4));async function s(_0x57bf4a,{outputDir:_0x24df9d,rootElement:_0x3903dc}){const _0x46bec0=_0x22cd05;let _0x4999ea=[],_0x3748e9=[],_0x3c5300=[],_0x32b773='';try{let _0x222a19=new e()['parseFromString'](_0x57bf4a,_0x46bec0(0x1e0)),_0x425880=[],_0x522097=[];for(let _0x56a26a of _0x222a19['getElementsByTagName'](_0x46bec0(0x1dc))){let _0x38b60d=_0x56a26a[_0x46bec0(0x1ac)](_0x46bec0(0x1c5)),_0x3807dc=_0x56a26a['getAttribute']('type'),_0x836916=_0x56a26a['getAttribute']('async'),_0x1218d0=_0x56a26a[_0x46bec0(0x1d8)];try{if(_0x1218d0)_0x522097[_0x46bec0(0x1e6)](_0x56a26a[_0x46bec0(0x1b4)]);else{let _0x66b26=_0x38b60d;if(_0x38b60d[_0x46bec0(0x1e1)](_0x46bec0(0x1c9))){let _0x4f7715=_0x38b60d[_0x46bec0(0x1bd)](_0x38b60d[_0x46bec0(0x1ba)]('/')+0x1);_0x4f7715=_0x46bec0(0x1db)+_0x4f7715;let _0x162dc3=await r({'method':_0x46bec0(0x1e3),'url':_0x38b60d,'responseType':_0x46bec0(0x1d0)}),_0x2ce8a4=t[_0x46bec0(0x1b9)](_0x24df9d+'/'+_0x4f7715);_0x162dc3[_0x46bec0(0x1e5)]['pipe'](_0x2ce8a4),await new Promise((_0x301dc7,_0x3dc9fc)=>{const _0x271b2a=_0x46bec0;_0x2ce8a4['on']('finish',_0x301dc7),_0x2ce8a4['on'](_0x271b2a(0x1e7),_0x3dc9fc);}),_0x66b26=_0x4f7715;}if(_0x46bec0(0x1b6)===_0x3807dc&&!_0x66b26[_0x46bec0(0x1bf)](_0x46bec0(0x1b0))){let _0x563f45=_0x38b60d['slice'](0x0,-0x3)[_0x46bec0(0x1d4)](_0x46bec0(0x1c2));t[_0x46bec0(0x1b2)](_0x66b26,_0x563f45),_0x66b26=_0x563f45;}(_0x836916?_0x3c5300:_0x3748e9)[_0x46bec0(0x1e6)](_0x66b26);}}catch(_0x22fbec){console[_0x46bec0(0x1b3)]('\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!',_0x38b60d),console[_0x46bec0(0x1e7)](_0x22fbec[_0x46bec0(0x1af)]);}}for(let _0x10ae2e of(_0x222a19[_0x46bec0(0x1c1)](_0x46bec0(0x1b7))[_0x46bec0(0x1d5)](_0x502f22=>{const _0x4c975b=_0x46bec0;_0x502f22[_0x4c975b(0x1d8)]&&_0x425880[_0x4c975b(0x1e6)](_0x502f22[_0x4c975b(0x1b4)]);}),_0x222a19['getElementsByTagName'](_0x46bec0(0x1b5)))){let _0x589150=_0x10ae2e[_0x46bec0(0x1ac)]('rel'),_0x5da2f4=_0x10ae2e[_0x46bec0(0x1ac)](_0x46bec0(0x1cd));try{if(_0x46bec0(0x1d3)===_0x589150){let _0x9c77ba=_0x5da2f4;if(_0x5da2f4[_0x46bec0(0x1e1)]('://')){_0x9c77ba=_0x5da2f4['substring'](_0x5da2f4[_0x46bec0(0x1ba)]('/')+0x1),_0x9c77ba=_0x46bec0(0x1db)+_0x9c77ba;let _0xb42ae7=await r({'method':_0x46bec0(0x1e3),'url':_0x5da2f4,'responseType':_0x46bec0(0x1d0)}),_0x47072c=t[_0x46bec0(0x1b9)](_0x24df9d+'/'+_0x9c77ba);_0xb42ae7['data'][_0x46bec0(0x1b1)](_0x47072c),await new Promise((_0x22ed12,_0x417832)=>{const _0x2561af=_0x46bec0;_0x47072c['on']('finish',_0x22ed12),_0x47072c['on'](_0x2561af(0x1e7),_0x417832);});}_0x4999ea[_0x46bec0(0x1e6)](_0x9c77ba);}}catch(_0x2717e2){console[_0x46bec0(0x1e7)](_0x46bec0(0x1b8),_0x5da2f4),console[_0x46bec0(0x1e7)](_0x2717e2[_0x46bec0(0x1af)]);}}if(_0x222a19[_0x46bec0(0x1c1)](_0x46bec0(0x1d6))[_0x46bec0(0x1d5)](_0x551acb=>{const _0x2c4c83=_0x46bec0;_0x425880[_0x2c4c83(0x1e6)](_0x551acb[_0x2c4c83(0x1b4)]);}),_0x3903dc&&_0x46bec0(0x1be)!==_0x3903dc){let _0xc30f7c='<'+_0x3903dc+_0x46bec0(0x1c0);_0x3903dc['startsWith']('#')&&(_0xc30f7c=_0x46bec0(0x1e8)+_0x3903dc[_0x46bec0(0x1bd)](0x1)+_0x46bec0(0x1bc)),_0x3903dc[_0x46bec0(0x1d7)]('.')&&(_0xc30f7c=_0x46bec0(0x1cb)+_0x3903dc[_0x46bec0(0x1bd)](0x1)+_0x46bec0(0x1bc)),_0x3903dc[_0x46bec0(0x1d7)]('<')&&(_0xc30f7c=_0x3903dc),_0x522097['unshift'](_0xc30f7c);}_0x32b773+=_0x425880[_0x46bec0(0x1d9)](_0x2b0dac=>_0x46bec0(0x1ca)+_0x2b0dac[_0x46bec0(0x1d2)]('`','\x5c`')+'`;')[_0x46bec0(0x1df)]('\x0a')+'\x0a'+_0x522097[_0x46bec0(0x1d9)](_0x4ec891=>_0x46bec0(0x1ce)+_0x4ec891[_0x46bec0(0x1d2)]('`','\x5c`')+'`;')[_0x46bec0(0x1df)]('\x0a'),_0x3748e9['unshift'](_0x46bec0(0x1d1));}catch(_0x4d2e61){console['error'](_0x4d2e61[_0x46bec0(0x1af)]);}return{'listCSS':_0x4999ea,'listSyncJS':_0x3748e9,'listAsyncJS':_0x3c5300,'inlineJS':_0x32b773};}module['exports']={'generateListResourcesFromIndex':s};
package/sync/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5b69ed=_0x4bcc;(function(_0x3c7c0d,_0x1b09e3){const _0x43d199=_0x4bcc,_0x45cf10=_0x3c7c0d();while(!![]){try{const _0x131aa2=parseInt(_0x43d199(0x135))/0x1*(-parseInt(_0x43d199(0x130))/0x2)+-parseInt(_0x43d199(0x14f))/0x3*(-parseInt(_0x43d199(0x136))/0x4)+parseInt(_0x43d199(0x147))/0x5*(parseInt(_0x43d199(0x13b))/0x6)+parseInt(_0x43d199(0x143))/0x7+-parseInt(_0x43d199(0x134))/0x8*(-parseInt(_0x43d199(0x144))/0x9)+-parseInt(_0x43d199(0x131))/0xa+parseInt(_0x43d199(0x146))/0xb*(-parseInt(_0x43d199(0x12f))/0xc);if(_0x131aa2===_0x1b09e3)break;else _0x45cf10['push'](_0x45cf10['shift']());}catch(_0x25c582){_0x45cf10['push'](_0x45cf10['shift']());}}}(_0x2d73,0x5048c));function _0x4bcc(_0x2582f1,_0xb977f){const _0x2d7328=_0x2d73();return _0x4bcc=function(_0x4bcc83,_0x30fad6){_0x4bcc83=_0x4bcc83-0x12d;let _0x212708=_0x2d7328[_0x4bcc83];return _0x212708;},_0x4bcc(_0x2582f1,_0xb977f);}const t=require(_0x5b69ed(0x14a)),e=require(_0x5b69ed(0x137)),r=require(_0x5b69ed(0x14c)),i=require(_0x5b69ed(0x12d)),{errorExit:n}=require(_0x5b69ed(0x139)),{generateListResourcesFromIndex:a}=require('./index-to-app-config'),o=e[_0x5b69ed(0x148)]('(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)'),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};module[_0x5b69ed(0x140)]=async(_0x4cc60d={},_0x5aad6f=s)=>{const _0x1d73e8=_0x5b69ed;let _0x3a0593;_0x5aad6f[_0x1d73e8(0x138)](_0x1d73e8(0x142)+o);let _0x409f66=process['cwd'](),{source:_0x2869dc,rootElement:_0x28054e}=_0x4cc60d,_0x264af5=i[_0x1d73e8(0x12e)][_0x1d73e8(0x13f)],_0x16e2dc=_0x45280e=>t[_0x1d73e8(0x132)](_0x409f66,_0x45280e);try{_0x3a0593=require(_0x16e2dc(_0x264af5));}catch(_0x53d421){n(Error(i[_0x1d73e8(0x14d)][_0x1d73e8(0x151)]));}let _0x2695c9=r[_0x1d73e8(0x13d)](_0x2869dc)[_0x1d73e8(0x141)](),_0x16e48f=t[_0x1d73e8(0x13e)](_0x2869dc),{listCSS:_0x13574c,listSyncJS:_0xa49fb9,listAsyncJS:_0x41c345,inlineJS:_0x1e3222}=await a(_0x2695c9,{'outputDir':_0x16e48f,'rootElement':_0x28054e});Object['assign'](_0x3a0593,{'listCSS':_0x13574c,'listSyncJS':_0xa49fb9,'listAsyncJS':_0x41c345}),_0x1e3222&&r[_0x1d73e8(0x149)](_0x16e2dc(_0x16e48f+_0x1d73e8(0x13a)),_0x1e3222);let _0x197739=JSON['stringify'](_0x3a0593,null,0x2);r[_0x1d73e8(0x149)](_0x16e2dc(_0x264af5),_0x197739),_0x5aad6f[_0x1d73e8(0x145)](e[_0x1d73e8(0x150)][_0x1d73e8(0x14b)](_0x1d73e8(0x13c))+_0x1d73e8(0x133)),_0x5aad6f[_0x1d73e8(0x14e)]({'listCSS':_0x13574c,'listSyncJS':_0xa49fb9,'listAsyncJS':_0x41c345});};function _0x2d73(){const _0x422c9b=['app_config_not_found','../config','filename','10762248oHmtxD','574942YSkoho','1429320usNvaw','join','\x20💪','16lowkcW','1KObgLZ','1285448RZiCso','chalk','statusStart','../utils/error','/inline.js','696NURzKO','Configuration\x20synchronization\x20completed!','readFileSync','dirname','appConfig','exports','toString','Synchronization\x20configuration\x20','2881627mNOvIG','842094mGJeHl','statusDone','11KOtJcV','17870nxrdPz','gray','writeFileSync','path','green','../utils/fs-extra','error_msg','text','6jGzZPx','bold'];_0x2d73=function(){return _0x422c9b;};return _0x2d73();}
1
+ 'use strict';const _0x5860f5=_0x12d2;function _0x1af5(){const _0x5d1087=['appConfig','4698452mkgLlQ','statusDone','assign','bold','415jDfWRk','\x20💪','(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)','Synchronization\x20configuration\x20','writeFileSync','18546BbuJHT','371UYtGII','/inline.js','app_config_not_found','stringify','../utils/error','cwd','readFileSync','dirname','gray','108Ozwmcm','./index-to-app-config','../config','toString','chalk','text','3uFXaFN','96868tQIXdh','join','90330TuhZss','252400tqVmyM','12552lcTsth','../utils/fs-extra','exports','path','filename','45279clbNMu'];_0x1af5=function(){return _0x5d1087;};return _0x1af5();}(function(_0x4f84f7,_0x5738c7){const _0x10b6cd=_0x12d2,_0x459207=_0x4f84f7();while(!![]){try{const _0x3f5546=parseInt(_0x10b6cd(0x191))/0x1+-parseInt(_0x10b6cd(0x188))/0x2+parseInt(_0x10b6cd(0x187))/0x3*(-parseInt(_0x10b6cd(0x18b))/0x4)+-parseInt(_0x10b6cd(0x197))/0x5*(parseInt(_0x10b6cd(0x19c))/0x6)+-parseInt(_0x10b6cd(0x178))/0x7*(parseInt(_0x10b6cd(0x18c))/0x8)+parseInt(_0x10b6cd(0x181))/0x9*(parseInt(_0x10b6cd(0x18a))/0xa)+parseInt(_0x10b6cd(0x193))/0xb;if(_0x3f5546===_0x5738c7)break;else _0x459207['push'](_0x459207['shift']());}catch(_0x385c5a){_0x459207['push'](_0x459207['shift']());}}}(_0x1af5,0x1fa1b));const t=require(_0x5860f5(0x18f)),e=require(_0x5860f5(0x185)),r=require(_0x5860f5(0x18d)),i=require(_0x5860f5(0x183)),{errorExit:n}=require(_0x5860f5(0x17c)),{generateListResourcesFromIndex:a}=require(_0x5860f5(0x182)),o=e[_0x5860f5(0x180)](_0x5860f5(0x199)),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};function _0x12d2(_0x26d2fb,_0x28b0b5){const _0x1af5c2=_0x1af5();return _0x12d2=function(_0x12d20e,_0x579284){_0x12d20e=_0x12d20e-0x178;let _0x33f08f=_0x1af5c2[_0x12d20e];return _0x33f08f;},_0x12d2(_0x26d2fb,_0x28b0b5);}module[_0x5860f5(0x18e)]=async(_0x3f663e={},_0x457bd5=s)=>{const _0x1f1588=_0x5860f5;let _0x2ad0c4;_0x457bd5['statusStart'](_0x1f1588(0x19a)+o);let _0x5ada76=process[_0x1f1588(0x17d)](),{source:_0x1fcc44,rootElement:_0x2b5f69}=_0x3f663e,_0x349ce2=i[_0x1f1588(0x190)][_0x1f1588(0x192)],_0x30c344=_0x2cc64f=>t[_0x1f1588(0x189)](_0x5ada76,_0x2cc64f);try{_0x2ad0c4=require(_0x30c344(_0x349ce2));}catch(_0x52274b){n(Error(i['error_msg'][_0x1f1588(0x17a)]));}let _0x30288c=r[_0x1f1588(0x17e)](_0x1fcc44)[_0x1f1588(0x184)](),_0xb933f7=t[_0x1f1588(0x17f)](_0x1fcc44),{listCSS:_0x2e8bcb,listSyncJS:_0x5e30ef,listAsyncJS:_0x26bb43,inlineJS:_0x212d91}=await a(_0x30288c,{'outputDir':_0xb933f7,'rootElement':_0x2b5f69});Object[_0x1f1588(0x195)](_0x2ad0c4,{'listCSS':_0x2e8bcb,'listSyncJS':_0x5e30ef,'listAsyncJS':_0x26bb43}),_0x212d91&&r[_0x1f1588(0x19b)](_0x30c344(_0xb933f7+_0x1f1588(0x179)),_0x212d91);let _0x5552b9=JSON[_0x1f1588(0x17b)](_0x2ad0c4,null,0x2);r[_0x1f1588(0x19b)](_0x30c344(_0x349ce2),_0x5552b9),_0x457bd5[_0x1f1588(0x194)](e[_0x1f1588(0x196)]['green']('Configuration\x20synchronization\x20completed!')+_0x1f1588(0x198)),_0x457bd5[_0x1f1588(0x186)]({'listCSS':_0x2e8bcb,'listSyncJS':_0x5e30ef,'listAsyncJS':_0x26bb43});};
package/utils/axios.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2aae(){const _0x4dfb04=['4Haybjy','2454714fGhiHW','18188566PWaomW','8DiVuLF','proxy-agent','3193788UdIfuL','191877UFpmds','axios','8iBpzkX','978165dZWbOm','10IGUqVg','649702PPkeZA','exports','241131MkapVx','create'];_0x2aae=function(){return _0x4dfb04;};return _0x2aae();}const _0xc0d785=_0x3cd8;(function(_0x3972df,_0x47bf8d){const _0x26c002=_0x3cd8,_0x2016b6=_0x3972df();while(!![]){try{const _0x15bf80=-parseInt(_0x26c002(0x179))/0x1+-parseInt(_0x26c002(0x17d))/0x2*(parseInt(_0x26c002(0x17b))/0x3)+parseInt(_0x26c002(0x176))/0x4*(parseInt(_0x26c002(0x177))/0x5)+-parseInt(_0x26c002(0x182))/0x6+-parseInt(_0x26c002(0x174))/0x7+parseInt(_0x26c002(0x180))/0x8*(-parseInt(_0x26c002(0x17e))/0x9)+parseInt(_0x26c002(0x178))/0xa*(parseInt(_0x26c002(0x17f))/0xb);if(_0x15bf80===_0x47bf8d)break;else _0x2016b6['push'](_0x2016b6['shift']());}catch(_0x19ca08){_0x2016b6['push'](_0x2016b6['shift']());}}}(_0x2aae,0x621c5));const {ProxyAgent:e}=require(_0xc0d785(0x181)),t=require(_0xc0d785(0x175)),r=new e(),o=t[_0xc0d785(0x17c)]({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});function _0x3cd8(_0x3073f2,_0x4f5f98){const _0x2aae32=_0x2aae();return _0x3cd8=function(_0x3cd8a5,_0x270554){_0x3cd8a5=_0x3cd8a5-0x174;let _0x49f6da=_0x2aae32[_0x3cd8a5];return _0x49f6da;},_0x3cd8(_0x3073f2,_0x4f5f98);}module[_0xc0d785(0x17a)]={'agent':r,'axiosClient':o};
1
+ 'use strict';const _0xc34eba=_0x2023;(function(_0x4420dc,_0x4a361){const _0x19b5fe=_0x2023,_0x29f9d5=_0x4420dc();while(!![]){try{const _0x446e7b=-parseInt(_0x19b5fe(0x139))/0x1+parseInt(_0x19b5fe(0x134))/0x2*(parseInt(_0x19b5fe(0x131))/0x3)+parseInt(_0x19b5fe(0x136))/0x4*(parseInt(_0x19b5fe(0x132))/0x5)+-parseInt(_0x19b5fe(0x137))/0x6+parseInt(_0x19b5fe(0x130))/0x7*(parseInt(_0x19b5fe(0x13e))/0x8)+-parseInt(_0x19b5fe(0x13a))/0x9*(parseInt(_0x19b5fe(0x133))/0xa)+parseInt(_0x19b5fe(0x138))/0xb*(parseInt(_0x19b5fe(0x135))/0xc);if(_0x446e7b===_0x4a361)break;else _0x29f9d5['push'](_0x29f9d5['shift']());}catch(_0x5a6d8d){_0x29f9d5['push'](_0x29f9d5['shift']());}}}(_0x3592,0x19531));const {ProxyAgent:e}=require(_0xc34eba(0x13b)),t=require(_0xc34eba(0x13d)),r=new e(),o=t[_0xc34eba(0x13c)]({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});function _0x2023(_0x123646,_0xe99915){const _0x3592e7=_0x3592();return _0x2023=function(_0x202304,_0x3dd8a1){_0x202304=_0x202304-0x130;let _0x146f76=_0x3592e7[_0x202304];return _0x146f76;},_0x2023(_0x123646,_0xe99915);}module[_0xc34eba(0x13f)]={'agent':r,'axiosClient':o};function _0x3592(){const _0x21ef32=['201712hIEMtj','237dwRVNQ','223190NHnoqJ','10PCjFfe','4012EhRoOW','73596lpKVPR','8VhKMJD','636318JVesSe','286lKrkar','191535ruaoxl','1349739mnHRCP','proxy-agent','create','axios','40rVVjWn','exports'];_0x3592=function(){return _0x21ef32;};return _0x3592();}
@@ -1 +1 @@
1
- 'use strict';function _0x59ad(){const _0xd15a13=['error','140VNzzPE','3372rmvgCx','3398945Hfodmr','All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','Error\x20checking\x20update','12URsRov','698424yUVyps','map','2904517XWiTXe','69134yakTif','20839GHpWJn','split','./spinner','Checking\x20for\x20available\x20updates...','warning','axios','9bmDTTR','14254614OFIWHi','version','./log','1249284wmuQOM','../package.json','data','\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.','stderr','catch','then','start','exports','exit','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','text'];_0x59ad=function(){return _0xd15a13;};return _0x59ad();}function _0x5b47(_0x512948,_0x4d020d){const _0x59ad40=_0x59ad();return _0x5b47=function(_0x5b47b6,_0x2a10f5){_0x5b47b6=_0x5b47b6-0x115;let _0x2d83fb=_0x59ad40[_0x5b47b6];return _0x2d83fb;},_0x5b47(_0x512948,_0x4d020d);}const _0x263611=_0x5b47;(function(_0x2d8b48,_0x567a08){const _0x5137cc=_0x5b47,_0x56aa36=_0x2d8b48();while(!![]){try{const _0x3640ee=parseInt(_0x5137cc(0x11a))/0x1*(-parseInt(_0x5137cc(0x11e))/0x2)+-parseInt(_0x5137cc(0x125))/0x3*(-parseInt(_0x5137cc(0x129))/0x4)+parseInt(_0x5137cc(0x117))/0x5+-parseInt(_0x5137cc(0x116))/0x6*(-parseInt(_0x5137cc(0x11f))/0x7)+parseInt(_0x5137cc(0x11b))/0x8+parseInt(_0x5137cc(0x126))/0x9+parseInt(_0x5137cc(0x115))/0xa*(-parseInt(_0x5137cc(0x11d))/0xb);if(_0x3640ee===_0x567a08)break;else _0x56aa36['push'](_0x56aa36['shift']());}catch(_0x1a7506){_0x56aa36['push'](_0x56aa36['shift']());}}}(_0x59ad,0xcf669));const e=require('log-symbols'),r=require(_0x263611(0x124)),t=require(_0x263611(0x12a)),a=require(_0x263611(0x121)),i=require(_0x263611(0x128));async function s(){const _0x11e05d=_0x263611;a[_0x11e05d(0x130)](_0x11e05d(0x122)),await new Promise((_0x58f08b,_0x2fdb56)=>{const _0x1438c7=_0x11e05d;r['get']('https://registry.npmjs.org/zmp-cli/latest')[_0x1438c7(0x12f)](_0x466af1=>{const _0x2eb2e4=_0x1438c7;let _0x2f2d96=_0x466af1[_0x2eb2e4(0x12b)][_0x2eb2e4(0x127)][_0x2eb2e4(0x120)]('.')[_0x2eb2e4(0x11c)](_0x4c4471=>parseInt(_0x4c4471,0xa)),_0x3e47c4=t[_0x2eb2e4(0x127)]['split']('.')[_0x2eb2e4(0x11c)](_0x3885b5=>parseInt(_0x3885b5,0xa)),_0x403c8b=!0x1,_0x469f79=!0x1;_0x2f2d96['forEach']((_0x2ee186,_0x4ee0ff)=>{!_0x469f79&&(_0x2f2d96[_0x4ee0ff]>_0x3e47c4[_0x4ee0ff]?_0x403c8b=!0x0:_0x2f2d96[_0x4ee0ff]<_0x3e47c4[_0x4ee0ff]&&(_0x469f79=!0x0));}),_0x58f08b(_0x403c8b);})[_0x1438c7(0x12e)](_0x50ca46=>{const _0x3d1cd1=_0x1438c7;_0x2fdb56(_0x50ca46),a[_0x3d1cd1(0x135)](_0x3d1cd1(0x119)),_0x50ca46&&i[_0x3d1cd1(0x135)](_0x50ca46[_0x3d1cd1(0x12d)]||_0x50ca46),process[_0x3d1cd1(0x132)](0x1);});})?(a[_0x11e05d(0x135)]('Update\x20available'),i[_0x11e05d(0x134)]('\x0a'+e[_0x11e05d(0x123)]+_0x11e05d(0x12c),!0x0),i[_0x11e05d(0x134)](e['warning']+'\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:',!0x0),i['text'](_0x11e05d(0x133),!0x0),process[_0x11e05d(0x132)](0x1)):a['done'](_0x11e05d(0x118));}module[_0x263611(0x131)]=s;
1
+ 'use strict';const _0x4877d8=_0x206c;(function(_0xe81a5d,_0xae8d2c){const _0x5abbfe=_0x206c,_0x689e9e=_0xe81a5d();while(!![]){try{const _0x40be56=parseInt(_0x5abbfe(0xb8))/0x1+-parseInt(_0x5abbfe(0xa9))/0x2*(parseInt(_0x5abbfe(0xbe))/0x3)+-parseInt(_0x5abbfe(0xc2))/0x4*(-parseInt(_0x5abbfe(0xb5))/0x5)+parseInt(_0x5abbfe(0xa1))/0x6+parseInt(_0x5abbfe(0xb0))/0x7+-parseInt(_0x5abbfe(0xbc))/0x8*(-parseInt(_0x5abbfe(0xbb))/0x9)+-parseInt(_0x5abbfe(0xa4))/0xa;if(_0x40be56===_0xae8d2c)break;else _0x689e9e['push'](_0x689e9e['shift']());}catch(_0x6698cc){_0x689e9e['push'](_0x689e9e['shift']());}}}(_0x571f,0x75e95));const e=require(_0x4877d8(0xb2)),r=require(_0x4877d8(0xc5)),t=require(_0x4877d8(0xab)),a=require(_0x4877d8(0xbf)),i=require(_0x4877d8(0xaa));function _0x571f(){const _0x2a49d0=['https://registry.npmjs.org/zmp-cli/latest','text','then','done','434826kXpEDj','\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:','log-symbols','\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.','start','25DjNikE','error','get','227352AqMqFy','Update\x20available','data','9ciQNIl','3222088OIzeYS','exports','3yXifGr','./spinner','exit','map','333992hagapT','catch','split','axios','4539990pJEmbf','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','Checking\x20for\x20available\x20updates...','11076760GSVQzj','stderr','warning','All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','version','551490QeTnbY','./log','../package.json'];_0x571f=function(){return _0x2a49d0;};return _0x571f();}async function s(){const _0x415291=_0x4877d8;a[_0x415291(0xb4)](_0x415291(0xa3)),await new Promise((_0x4e319d,_0x3a3033)=>{const _0x1ebcfa=_0x415291;r[_0x1ebcfa(0xb7)](_0x1ebcfa(0xac))[_0x1ebcfa(0xae)](_0x1cae3d=>{const _0x7797d=_0x1ebcfa;let _0xaefd44=_0x1cae3d[_0x7797d(0xba)][_0x7797d(0xa8)]['split']('.')[_0x7797d(0xc1)](_0x37e33c=>parseInt(_0x37e33c,0xa)),_0x482f32=t[_0x7797d(0xa8)][_0x7797d(0xc4)]('.')[_0x7797d(0xc1)](_0x35de93=>parseInt(_0x35de93,0xa)),_0xdaf04d=!0x1,_0x57b8c7=!0x1;_0xaefd44['forEach']((_0x2519be,_0x5c2485)=>{!_0x57b8c7&&(_0xaefd44[_0x5c2485]>_0x482f32[_0x5c2485]?_0xdaf04d=!0x0:_0xaefd44[_0x5c2485]<_0x482f32[_0x5c2485]&&(_0x57b8c7=!0x0));}),_0x4e319d(_0xdaf04d);})[_0x1ebcfa(0xc3)](_0x51f794=>{const _0x29c55c=_0x1ebcfa;_0x3a3033(_0x51f794),a[_0x29c55c(0xb6)]('Error\x20checking\x20update'),_0x51f794&&i[_0x29c55c(0xb6)](_0x51f794[_0x29c55c(0xa5)]||_0x51f794),process[_0x29c55c(0xc0)](0x1);});})?(a[_0x415291(0xb6)](_0x415291(0xb9)),i[_0x415291(0xad)]('\x0a'+e[_0x415291(0xa6)]+_0x415291(0xb3),!0x0),i[_0x415291(0xad)](e[_0x415291(0xa6)]+_0x415291(0xb1),!0x0),i[_0x415291(0xad)](_0x415291(0xa2),!0x0),process[_0x415291(0xc0)](0x1)):a[_0x415291(0xaf)](_0x415291(0xa7));}function _0x206c(_0x13d5d1,_0xba5fe){const _0x571f44=_0x571f();return _0x206c=function(_0x206c40,_0x1c0b17){_0x206c40=_0x206c40-0xa1;let _0x7ac70f=_0x571f44[_0x206c40];return _0x7ac70f;},_0x206c(_0x13d5d1,_0xba5fe);}module[_0x4877d8(0xbd)]=s;
@@ -1 +1 @@
1
- 'use strict';function _0x3352(_0x27f937,_0x2a38bd){var _0xca53ce=_0xca53();return _0x3352=function(_0x3352e7,_0x9520cb){_0x3352e7=_0x3352e7-0xba;var _0x364284=_0xca53ce[_0x3352e7];return _0x364284;},_0x3352(_0x27f937,_0x2a38bd);}function _0xca53(){var _0x26fb17=['exports','194369zAQdpf','445820DLMpqO','78dAtQUM','5190310Tzymlt','891666ZydoCS','657864YohVqh','8013MHYkmI','mini.123c.vn','16amlFXc','1513525bBJDiM','66hfnHbA'];_0xca53=function(){return _0x26fb17;};return _0xca53();}var _0x5c53f2=_0x3352;(function(_0x4dcc64,_0x1ca114){var _0x3a53c2=_0x3352,_0x4b35ff=_0x4dcc64();while(!![]){try{var _0x99bf7c=parseInt(_0x3a53c2(0xc3))/0x1*(parseInt(_0x3a53c2(0xbb))/0x2)+-parseInt(_0x3a53c2(0xc2))/0x3+parseInt(_0x3a53c2(0xbe))/0x4+-parseInt(_0x3a53c2(0xba))/0x5+parseInt(_0x3a53c2(0xbf))/0x6*(-parseInt(_0x3a53c2(0xbd))/0x7)+parseInt(_0x3a53c2(0xc5))/0x8*(parseInt(_0x3a53c2(0xc1))/0x9)+parseInt(_0x3a53c2(0xc0))/0xa;if(_0x99bf7c===_0x1ca114)break;else _0x4b35ff['push'](_0x4b35ff['shift']());}catch(_0x1c7747){_0x4b35ff['push'](_0x4b35ff['shift']());}}}(_0xca53,0x334b3));module[_0x5c53f2(0xbc)]={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':_0x5c53f2(0xc4)}};
1
+ 'use strict';(function(_0x484005,_0x1f82ea){var _0x32f24e=_0x5eb6,_0x152706=_0x484005();while(!![]){try{var _0x9fa833=parseInt(_0x32f24e(0x9c))/0x1*(-parseInt(_0x32f24e(0xa2))/0x2)+-parseInt(_0x32f24e(0x98))/0x3+-parseInt(_0x32f24e(0x9b))/0x4+-parseInt(_0x32f24e(0xa1))/0x5*(-parseInt(_0x32f24e(0x9d))/0x6)+parseInt(_0x32f24e(0x9a))/0x7*(parseInt(_0x32f24e(0xa0))/0x8)+parseInt(_0x32f24e(0xa3))/0x9*(parseInt(_0x32f24e(0x9f))/0xa)+parseInt(_0x32f24e(0x9e))/0xb*(parseInt(_0x32f24e(0x99))/0xc);if(_0x9fa833===_0x1f82ea)break;else _0x152706['push'](_0x152706['shift']());}catch(_0x18767a){_0x152706['push'](_0x152706['shift']());}}}(_0x43fe,0x59b50));function _0x43fe(){var _0x30e23f=['995281uZjdVi','2781340ltAqxW','313577rydJuY','150mLPNIb','7925137KRXTtO','681480SLTvVH','40nfdjgm','25345zpKavY','2ZtxapE','54OGMuBE','1771929SVriSJ','12PTMgWf'];_0x43fe=function(){return _0x30e23f;};return _0x43fe();}function _0x5eb6(_0x56a508,_0xe9e501){var _0x43feee=_0x43fe();return _0x5eb6=function(_0x5eb648,_0x119a59){_0x5eb648=_0x5eb648-0x98;var _0xe2170e=_0x43feee[_0x5eb648];return _0xe2170e;},_0x5eb6(_0x56a508,_0xe9e501);}module['exports']={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':'mini.123c.vn'}};
package/utils/env.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2ce780=_0x2dcc;(function(_0x407a90,_0x25153f){const _0x3e8c65=_0x2dcc,_0x48b069=_0x407a90();while(!![]){try{const _0x123564=-parseInt(_0x3e8c65(0x1c7))/0x1*(-parseInt(_0x3e8c65(0x1bb))/0x2)+parseInt(_0x3e8c65(0x1c0))/0x3*(parseInt(_0x3e8c65(0x1c2))/0x4)+parseInt(_0x3e8c65(0x1b9))/0x5+parseInt(_0x3e8c65(0x1be))/0x6*(parseInt(_0x3e8c65(0x1c3))/0x7)+parseInt(_0x3e8c65(0x1c1))/0x8+-parseInt(_0x3e8c65(0x1c8))/0x9*(parseInt(_0x3e8c65(0x1c9))/0xa)+-parseInt(_0x3e8c65(0x1c5))/0xb*(parseInt(_0x3e8c65(0x1bd))/0xc);if(_0x123564===_0x25153f)break;else _0x48b069['push'](_0x48b069['shift']());}catch(_0x42db0d){_0x48b069['push'](_0x48b069['shift']());}}}(_0x5f40,0x99fd8));const e=require(_0x2ce780(0x1bf)),t=require('../config'),{parse:r,stringify:n}=require('envfile');module['exports']={'getEnv':function(_0x944302){const _0x34f8c4=_0x2ce780;let _0x4cd14d=process[_0x34f8c4(0x1bc)][_0x944302];if(_0x4cd14d)return _0x4cd14d;let _0x75cd7f=t['root_env']();if(e['existsSync'](_0x75cd7f))return r(e[_0x34f8c4(0x1ba)](_0x75cd7f,_0x34f8c4(0x1c6)))[_0x944302];},'setEnv':function(_0x5e593c,_0x549ed7){const _0xdb07c=_0x2ce780;let _0x248ac0=t[_0xdb07c(0x1c4)](),_0x10d77e=r(e[_0xdb07c(0x1ba)](_0x248ac0,'utf8'));_0x10d77e[_0x5e593c]=_0x549ed7,e[_0xdb07c(0x1ca)](_0x248ac0,n(_0x10d77e));}};function _0x2dcc(_0x36f336,_0x16fcfe){const _0x5f4063=_0x5f40();return _0x2dcc=function(_0x2dcc70,_0x523838){_0x2dcc70=_0x2dcc70-0x1b9;let _0x184508=_0x5f4063[_0x2dcc70];return _0x184508;},_0x2dcc(_0x36f336,_0x16fcfe);}function _0x5f40(){const _0x5014e1=['9852296fOFEhv','232VccNRW','5980289ojQwVk','root_env','5201449VtrMdg','utf8','224193TYyfEQ','6489rfxGeP','15400vQSUgD','writeFileSync','1349355rYeYNa','readFileSync','4aJPXFV','env','36hSDiDR','6FONset','./fs-extra','18390rRaBBs'];_0x5f40=function(){return _0x5014e1;};return _0x5f40();}
1
+ 'use strict';const _0x44fde8=_0x474d;(function(_0x510afe,_0x167dcd){const _0x1b51a3=_0x474d,_0x4514d3=_0x510afe();while(!![]){try{const _0x370019=parseInt(_0x1b51a3(0x13d))/0x1*(-parseInt(_0x1b51a3(0x151))/0x2)+parseInt(_0x1b51a3(0x142))/0x3*(-parseInt(_0x1b51a3(0x14f))/0x4)+-parseInt(_0x1b51a3(0x13f))/0x5*(-parseInt(_0x1b51a3(0x144))/0x6)+parseInt(_0x1b51a3(0x14e))/0x7*(-parseInt(_0x1b51a3(0x14c))/0x8)+parseInt(_0x1b51a3(0x140))/0x9*(-parseInt(_0x1b51a3(0x148))/0xa)+-parseInt(_0x1b51a3(0x147))/0xb*(parseInt(_0x1b51a3(0x145))/0xc)+parseInt(_0x1b51a3(0x150))/0xd;if(_0x370019===_0x167dcd)break;else _0x4514d3['push'](_0x4514d3['shift']());}catch(_0x33d206){_0x4514d3['push'](_0x4514d3['shift']());}}}(_0xa0e2,0x46417));const e=require('./fs-extra'),t=require(_0x44fde8(0x14a)),{parse:r,stringify:n}=require(_0x44fde8(0x141));function _0x474d(_0x4fd842,_0x483ca6){const _0xa0e2aa=_0xa0e2();return _0x474d=function(_0x474d41,_0x1abd3d){_0x474d41=_0x474d41-0x13d;let _0x3291ad=_0xa0e2aa[_0x474d41];return _0x3291ad;},_0x474d(_0x4fd842,_0x483ca6);}function _0xa0e2(){const _0x2b90ff=['2060772gniuwe','writeFileSync','11XEiaZp','2213810HJGWzA','exports','../config','readFileSync','2248hPKHuE','root_env','10864HGRMrT','8SEgmLb','22411038vPEVNa','794972sJqiHA','1nuvnSV','existsSync','63610IoyRHC','18kaqcRH','envfile','497343NEWanG','utf8','162ctcbAJ'];_0xa0e2=function(){return _0x2b90ff;};return _0xa0e2();}module[_0x44fde8(0x149)]={'getEnv':function(_0x1879c6){const _0x2eb21c=_0x44fde8;let _0x2b538c=process['env'][_0x1879c6];if(_0x2b538c)return _0x2b538c;let _0xae5e81=t[_0x2eb21c(0x14d)]();if(e[_0x2eb21c(0x13e)](_0xae5e81))return r(e[_0x2eb21c(0x14b)](_0xae5e81,_0x2eb21c(0x143)))[_0x1879c6];},'setEnv':function(_0x494d47,_0x580a48){const _0x56305c=_0x44fde8;let _0x3673c1=t[_0x56305c(0x14d)](),_0x524777=r(e[_0x56305c(0x14b)](_0x3673c1,_0x56305c(0x143)));_0x524777[_0x494d47]=_0x580a48,e[_0x56305c(0x146)](_0x3673c1,n(_0x524777));}};
package/utils/error.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x10a2(){const _0x2bdb7d=['../config','4936168gIBCoh','3aFRxCE','error','permission_denied','error_msg','zmp-cli-core','2195914qXIOni','190714GItXwH','exports','1906374BLHNRi','The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','666597ZAuzpp','650284QZjfWV','1113825pWVJwl','exit','error_code','stderr','message'];_0x10a2=function(){return _0x2bdb7d;};return _0x10a2();}const _0xd58442=_0x24c1;(function(_0x2bf70a,_0x38d087){const _0x455ea9=_0x24c1,_0x1078ac=_0x2bf70a();while(!![]){try{const _0xd47de2=parseInt(_0x455ea9(0x118))/0x1*(-parseInt(_0x455ea9(0x10b))/0x2)+-parseInt(_0x455ea9(0x10f))/0x3+-parseInt(_0x455ea9(0x110))/0x4+parseInt(_0x455ea9(0x111))/0x5+parseInt(_0x455ea9(0x10d))/0x6+-parseInt(_0x455ea9(0x10a))/0x7+parseInt(_0x455ea9(0x117))/0x8;if(_0xd47de2===_0x38d087)break;else _0x1078ac['push'](_0x1078ac['shift']());}catch(_0x9edca3){_0x1078ac['push'](_0x1078ac['shift']());}}}(_0x10a2,0x2a3ac));function _0x24c1(_0x4ab8c3,_0x31fa0e){const _0x10a26e=_0x10a2();return _0x24c1=function(_0x24c153,_0x29f57b){_0x24c153=_0x24c153-0x109;let _0x301e5b=_0x10a26e[_0x24c153];return _0x301e5b;},_0x24c1(_0x4ab8c3,_0x31fa0e);}const {TranslatableError:e}=require(_0xd58442(0x109)),r=require(_0xd58442(0x116)),s=require('../utils/log');module[_0xd58442(0x10c)]={'handleError':function(_0x7910df){const _0x312999=_0xd58442;if(_0x7910df===r[_0x312999(0x113)][_0x312999(0x11a)])return r[_0x312999(0x11b)][_0x312999(0x11a)];},'errorExit':function(_0x482461){const _0x5dd1ee=_0xd58442;_0x482461 instanceof e?s[_0x5dd1ee(0x119)]({'msg.folder-existed':_0x5dd1ee(0x10e),'msg.please-install-vite':'Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.'}[_0x482461[_0x5dd1ee(0x115)]]):s[_0x5dd1ee(0x119)](_0x482461[_0x5dd1ee(0x114)]||_0x482461),process[_0x5dd1ee(0x112)](0x1);}};
1
+ 'use strict';const _0x1b9d0e=_0x1fff;function _0x48ec(){const _0x2522fb=['854742dthlqd','message','exports','zmp-cli-core','../utils/log','Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.','stderr','8yHEwHY','The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','../config','error','3895tRPUYM','permission_denied','1379996UhibHb','11814354IeRyVD','error_code','2262QOxHcG','404585DrqwvI','2752253VGntah','1655769sshAbA'];_0x48ec=function(){return _0x2522fb;};return _0x48ec();}(function(_0x485eb2,_0x58db32){const _0x158641=_0x1fff,_0x278c22=_0x485eb2();while(!![]){try{const _0x2339c1=parseInt(_0x158641(0x1c0))/0x1+parseInt(_0x158641(0x1af))/0x2+parseInt(_0x158641(0x1ae))/0x3+parseInt(_0x158641(0x1bc))/0x4+-parseInt(_0x158641(0x1ba))/0x5*(-parseInt(_0x158641(0x1bf))/0x6)+-parseInt(_0x158641(0x1ad))/0x7+-parseInt(_0x158641(0x1b6))/0x8*(parseInt(_0x158641(0x1bd))/0x9);if(_0x2339c1===_0x58db32)break;else _0x278c22['push'](_0x278c22['shift']());}catch(_0x587b03){_0x278c22['push'](_0x278c22['shift']());}}}(_0x48ec,0x4d504));function _0x1fff(_0xcd03fc,_0x542864){const _0x48ec71=_0x48ec();return _0x1fff=function(_0x1fff7c,_0x572477){_0x1fff7c=_0x1fff7c-0x1ad;let _0x484cf0=_0x48ec71[_0x1fff7c];return _0x484cf0;},_0x1fff(_0xcd03fc,_0x542864);}const {TranslatableError:e}=require(_0x1b9d0e(0x1b2)),r=require(_0x1b9d0e(0x1b8)),s=require(_0x1b9d0e(0x1b3));module[_0x1b9d0e(0x1b1)]={'handleError':function(_0x14c94c){const _0x18acf3=_0x1b9d0e;if(_0x14c94c===r[_0x18acf3(0x1be)][_0x18acf3(0x1bb)])return r['error_msg']['permission_denied'];},'errorExit':function(_0x20c5b5){const _0x2fd514=_0x1b9d0e;_0x20c5b5 instanceof e?s[_0x2fd514(0x1b9)]({'msg.folder-existed':_0x2fd514(0x1b7),'msg.please-install-vite':_0x2fd514(0x1b4)}[_0x20c5b5[_0x2fd514(0x1b0)]]):s[_0x2fd514(0x1b9)](_0x20c5b5[_0x2fd514(0x1b5)]||_0x20c5b5),process['exit'](0x1);}};
@@ -1 +1 @@
1
- 'use strict';var _0x1feb27=_0x2e29;(function(_0x26b2c2,_0x39a3ee){var _0x4ef5cc=_0x2e29,_0x2608e5=_0x26b2c2();while(!![]){try{var _0x2f2fb1=parseInt(_0x4ef5cc(0x99))/0x1*(-parseInt(_0x4ef5cc(0x9e))/0x2)+-parseInt(_0x4ef5cc(0x98))/0x3+-parseInt(_0x4ef5cc(0x94))/0x4+-parseInt(_0x4ef5cc(0xa1))/0x5+parseInt(_0x4ef5cc(0xa0))/0x6+parseInt(_0x4ef5cc(0x9b))/0x7+parseInt(_0x4ef5cc(0x96))/0x8;if(_0x2f2fb1===_0x39a3ee)break;else _0x2608e5['push'](_0x2608e5['shift']());}catch(_0x55bebf){_0x2608e5['push'](_0x2608e5['shift']());}}}(_0x3499,0x42792));const e=require('fs'),s=require('path');function _0x2e29(_0x589e48,_0x54be12){var _0x3499ea=_0x3499();return _0x2e29=function(_0x2e29c9,_0x3b59da){_0x2e29c9=_0x2e29c9-0x93;var _0x35d112=_0x3499ea[_0x2e29c9];return _0x35d112;},_0x2e29(_0x589e48,_0x54be12);}module[_0x1feb27(0x95)]=function t(_0x348890,_0x3162a9=[_0x1feb27(0x9f),_0x1feb27(0xa3),_0x1feb27(0x93)]){var _0x458c4c=_0x1feb27,_0x44171a=e[_0x458c4c(0x9d)](_0x348890),_0x1c0d10=[];return _0x44171a['forEach'](function(_0x84c2){var _0x271639=_0x458c4c,_0x38b7c1=s['join'](_0x348890,_0x84c2);if(e[_0x271639(0x97)](_0x38b7c1)['isDirectory']())_0x1c0d10=[..._0x1c0d10,...t(_0x38b7c1,_0x3162a9)];else{let _0x58dbe7=_0x84c2['substr'](_0x84c2['lastIndexOf']('.')+0x1),_0x5acf56=_0x84c2['substr'](0x0,_0x84c2[_0x271639(0x9a)]('.'));_0x3162a9[_0x271639(0x9c)](_0x58dbe7)&&_0x1c0d10[_0x271639(0xa2)]({'fileName':_0x5acf56,'ext':_0x58dbe7,'folderPath':_0x348890});}}),_0x1c0d10;};function _0x3499(){var _0x36f169=['tsx','vue','2091348AfOCMQ','exports','10786096BVgWJw','statSync','1154673kWRsFH','55uLHhTs','lastIndexOf','767284eXGdck','includes','readdirSync','730jswGLi','jsx','1450572twYzRa','2497795HmnOnY','push'];_0x3499=function(){return _0x36f169;};return _0x3499();}
1
+ 'use strict';function _0x3169(_0x9cf579,_0x529cc3){var _0x2a1fdb=_0x2a1f();return _0x3169=function(_0x316952,_0x455a81){_0x316952=_0x316952-0xa1;var _0xda0c42=_0x2a1fdb[_0x316952];return _0xda0c42;},_0x3169(_0x9cf579,_0x529cc3);}var _0x2b4aaa=_0x3169;(function(_0x39dbf2,_0x59dcbf){var _0x1023a3=_0x3169,_0x267542=_0x39dbf2();while(!![]){try{var _0x1eb3f8=-parseInt(_0x1023a3(0xb2))/0x1+parseInt(_0x1023a3(0xb1))/0x2*(parseInt(_0x1023a3(0xb0))/0x3)+parseInt(_0x1023a3(0xa2))/0x4+parseInt(_0x1023a3(0xa5))/0x5+-parseInt(_0x1023a3(0xa3))/0x6+-parseInt(_0x1023a3(0xac))/0x7+parseInt(_0x1023a3(0xa8))/0x8;if(_0x1eb3f8===_0x59dcbf)break;else _0x267542['push'](_0x267542['shift']());}catch(_0x33ca4a){_0x267542['push'](_0x267542['shift']());}}}(_0x2a1f,0x7597f));function _0x2a1f(){var _0x3fc59b=['2dAIInQ','594434fHdJQX','statSync','substr','2159248digsOR','2044128KVtYpT','tsx','4248615PgozWT','path','join','4586552LieErW','jsx','lastIndexOf','forEach','6385519ycHeWN','readdirSync','includes','push','1098444FgdkRi'];_0x2a1f=function(){return _0x3fc59b;};return _0x2a1f();}const e=require('fs'),s=require(_0x2b4aaa(0xa6));module['exports']=function t(_0x5542a7,_0x16d6c0=[_0x2b4aaa(0xa9),_0x2b4aaa(0xa4),'vue']){var _0x25c00b=_0x2b4aaa,_0x52bb03=e[_0x25c00b(0xad)](_0x5542a7),_0x399013=[];return _0x52bb03[_0x25c00b(0xab)](function(_0x1bb38a){var _0x1e75bd=_0x25c00b,_0x13d5e2=s[_0x1e75bd(0xa7)](_0x5542a7,_0x1bb38a);if(e[_0x1e75bd(0xb3)](_0x13d5e2)['isDirectory']())_0x399013=[..._0x399013,...t(_0x13d5e2,_0x16d6c0)];else{let _0x24fdc6=_0x1bb38a['substr'](_0x1bb38a[_0x1e75bd(0xaa)]('.')+0x1),_0x268c7b=_0x1bb38a[_0x1e75bd(0xa1)](0x0,_0x1bb38a['lastIndexOf']('.'));_0x16d6c0[_0x1e75bd(0xae)](_0x24fdc6)&&_0x399013[_0x1e75bd(0xaf)]({'fileName':_0x268c7b,'ext':_0x24fdc6,'folderPath':_0x5542a7});}}),_0x399013;};
@@ -1 +1 @@
1
- 'use strict';const _0x14de46=_0x25f9;(function(_0x4990a0,_0x5af54d){const _0x5e9040=_0x25f9,_0x4a8f0d=_0x4990a0();while(!![]){try{const _0x59d2be=-parseInt(_0x5e9040(0x155))/0x1*(parseInt(_0x5e9040(0x156))/0x2)+parseInt(_0x5e9040(0x151))/0x3*(-parseInt(_0x5e9040(0x15e))/0x4)+-parseInt(_0x5e9040(0x15b))/0x5+parseInt(_0x5e9040(0x158))/0x6+-parseInt(_0x5e9040(0x15a))/0x7+-parseInt(_0x5e9040(0x154))/0x8+parseInt(_0x5e9040(0x159))/0x9;if(_0x59d2be===_0x5af54d)break;else _0x4a8f0d['push'](_0x4a8f0d['shift']());}catch(_0x125dfc){_0x4a8f0d['push'](_0x4a8f0d['shift']());}}}(_0x5465,0xdd1c5));function _0x25f9(_0x208943,_0x44309a){const _0x546506=_0x5465();return _0x25f9=function(_0x25f947,_0x1fcfa0){_0x25f947=_0x25f947-0x151;let _0x3ec2a4=_0x546506[_0x25f947];return _0x3ec2a4;},_0x25f9(_0x208943,_0x44309a);}const e=require('net');function _0x5465(){const _0x3eea6f=['2015510waqgDP','exports','listen','4TZmpIP','5043045fyEwdt','close','createServer','12139744dkakYN','37931lLjUEi','74IYHNls','address','376224PLGDDB','54128070nIWdNB','1163631SMpJkK'];_0x5465=function(){return _0x3eea6f;};return _0x5465();}module[_0x14de46(0x15c)]=async function(){return new Promise(_0xdf45c2=>{const _0x1b639e=_0x25f9;let _0x54bdda=e[_0x1b639e(0x153)]();_0x54bdda[_0x1b639e(0x15d)](0x0,()=>{const _0x2b79df=_0x1b639e;let _0x159eda=_0x54bdda[_0x2b79df(0x157)]()['port'];_0x54bdda[_0x2b79df(0x152)](()=>_0xdf45c2(_0x159eda));});});};
1
+ 'use strict';function _0x5953(){const _0xcc7e71=['676fXtWnk','port','53000USiwwm','address','2909880hXDPqg','1195208VlwPuE','1BoNBVY','592064dTZymu','783294JafCkN','createServer','net','5uivKtV','4027750EdvNUe','close','339YApcgq','listen'];_0x5953=function(){return _0xcc7e71;};return _0x5953();}function _0x5583(_0x4b11dc,_0x26081b){const _0x59536c=_0x5953();return _0x5583=function(_0x55833e,_0x3ab3d7){_0x55833e=_0x55833e-0x7d;let _0x58c77f=_0x59536c[_0x55833e];return _0x58c77f;},_0x5583(_0x4b11dc,_0x26081b);}const _0x58f3f7=_0x5583;(function(_0x1ef647,_0x3862b1){const _0x622859=_0x5583,_0x2957fc=_0x1ef647();while(!![]){try{const _0x3f946e=-parseInt(_0x622859(0x83))/0x1*(-parseInt(_0x622859(0x7f))/0x2)+parseInt(_0x622859(0x8b))/0x3*(-parseInt(_0x622859(0x7d))/0x4)+-parseInt(_0x622859(0x88))/0x5*(parseInt(_0x622859(0x85))/0x6)+parseInt(_0x622859(0x82))/0x7+parseInt(_0x622859(0x84))/0x8+-parseInt(_0x622859(0x81))/0x9+parseInt(_0x622859(0x89))/0xa;if(_0x3f946e===_0x3862b1)break;else _0x2957fc['push'](_0x2957fc['shift']());}catch(_0xdc9a97){_0x2957fc['push'](_0x2957fc['shift']());}}}(_0x5953,0x31165));const e=require(_0x58f3f7(0x87));module['exports']=async function(){return new Promise(_0x45ac1c=>{const _0x36c889=_0x5583;let _0x1985ec=e[_0x36c889(0x86)]();_0x1985ec[_0x36c889(0x8c)](0x0,()=>{const _0x3809dd=_0x36c889;let _0x5301d5=_0x1985ec[_0x3809dd(0x80)]()[_0x3809dd(0x7e)];_0x1985ec[_0x3809dd(0x8a)](()=>_0x45ac1c(_0x5301d5));});});};
package/utils/fs-extra.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3c38cf=_0x4abb;(function(_0x36cb2e,_0xfae328){const _0x555853=_0x4abb,_0x5a8ae3=_0x36cb2e();while(!![]){try{const _0x1f39bc=parseInt(_0x555853(0xbe))/0x1*(-parseInt(_0x555853(0xc0))/0x2)+parseInt(_0x555853(0xbf))/0x3*(parseInt(_0x555853(0xd3))/0x4)+parseInt(_0x555853(0xbd))/0x5+-parseInt(_0x555853(0xcc))/0x6+-parseInt(_0x555853(0xda))/0x7+parseInt(_0x555853(0xce))/0x8+parseInt(_0x555853(0xc4))/0x9;if(_0x1f39bc===_0xfae328)break;else _0x5a8ae3['push'](_0x5a8ae3['shift']());}catch(_0x3bc0a4){_0x5a8ae3['push'](_0x5a8ae3['shift']());}}}(_0x1722,0xd9ebe));const e=require('fs'),i=require(_0x3c38cf(0xd6)),n={'createReadStream':_0x442880=>e['createReadStream'](_0x442880),'unlinkSync':_0x72f115=>e[_0x3c38cf(0xc1)](_0x72f115),'existsSync':_0x47bbca=>e[_0x3c38cf(0xc7)](_0x47bbca),'readdirSync':_0x436984=>e[_0x3c38cf(0xc6)](_0x436984),'mkdirSync'(_0x59dc4e){const _0x49f5cc=_0x3c38cf;if(e[_0x49f5cc(0xc7)](_0x59dc4e)){e[_0x49f5cc(0xd7)](_0x59dc4e);return;}_0x59dc4e['split'](i[_0x49f5cc(0xd5)])[_0x49f5cc(0xd2)]((_0x3c7dc8,_0x439784)=>{const _0x15e86b=_0x49f5cc;if(!_0x3c7dc8)return;let _0x4de2e9=_0x59dc4e[_0x15e86b(0xcd)](i[_0x15e86b(0xd5)])[_0x15e86b(0xd1)](0x0,_0x439784+0x1)[_0x15e86b(0xd8)](i[_0x15e86b(0xd5)]);e[_0x15e86b(0xc7)](_0x4de2e9)||e[_0x15e86b(0xd7)](_0x4de2e9);});},'readFileSync':(_0x54f469,_0x3b17ee=_0x3c38cf(0xcf))=>e[_0x3c38cf(0xc2)](_0x54f469,_0x3b17ee),'writeFileSync':(_0x70a64e,_0x332209='')=>(e[_0x3c38cf(0xc7)](i[_0x3c38cf(0xcb)](_0x70a64e))||n[_0x3c38cf(0xd7)](i[_0x3c38cf(0xcb)](_0x70a64e)),e[_0x3c38cf(0xc8)](_0x70a64e,_0x332209)),'writeFileAsync':(_0x274ce0,_0x1a026e='')=>(e[_0x3c38cf(0xc7)](i[_0x3c38cf(0xcb)](_0x274ce0))||n[_0x3c38cf(0xd7)](i[_0x3c38cf(0xcb)](_0x274ce0)),new Promise((_0xd41cab,_0x3baeef)=>{e['writeFile'](_0x274ce0,_0x1a026e,_0x279400=>{_0x279400?_0x3baeef():_0xd41cab();});})),'copyFileSync'(_0x4bea68,_0x66fcf8){const _0x42cd3a=_0x3c38cf;e[_0x42cd3a(0xc7)](i[_0x42cd3a(0xcb)](_0x66fcf8))||n[_0x42cd3a(0xd7)](i['dirname'](_0x66fcf8)),e[_0x42cd3a(0xc3)](_0x4bea68,_0x66fcf8);},'copyFileAsync':(_0x2f7691,_0x350cbf)=>(e[_0x3c38cf(0xc7)](i[_0x3c38cf(0xcb)](_0x350cbf))||n['mkdirSync'](i[_0x3c38cf(0xcb)](_0x350cbf)),new Promise((_0xa40032,_0x568737)=>{const _0xa96b23=_0x3c38cf;e[_0xa96b23(0xd0)](_0x2f7691,_0x350cbf,_0x3e2998=>{_0x3e2998?_0x568737(_0x3e2998):_0xa40032();});})),'removeDirSync'(_0x28bd87){const _0x851fcd=_0x3c38cf;if(e[_0x851fcd(0xc7)](_0x28bd87)){let _0x2bdce9=e[_0x851fcd(0xc6)](_0x28bd87);_0x2bdce9[_0x851fcd(0xd4)]>0x0&&_0x2bdce9['forEach'](function(_0x1f60b9){const _0x1037a4=_0x851fcd;e[_0x1037a4(0xca)](_0x28bd87+'/'+_0x1f60b9)[_0x1037a4(0xd9)]()?n[_0x1037a4(0xc9)](_0x28bd87+'/'+_0x1f60b9):e[_0x1037a4(0xc1)](_0x28bd87+'/'+_0x1f60b9);}),e[_0x851fcd(0xc5)](_0x28bd87);}}};function _0x1722(){const _0x99cc4e=['length','sep','path','mkdirSync','join','isDirectory','2621955AkqVQA','4976350gETWHX','63697EqDDCA','183LZZOPX','40vXPVIB','unlinkSync','readFileSync','copyFileSync','5582835TpamEt','rmdirSync','readdirSync','existsSync','writeFileSync','removeDirSync','statSync','dirname','6756660DVPQcW','split','5375016GsfolE','utf8','copyFile','slice','forEach','90476mHPrcq'];_0x1722=function(){return _0x99cc4e;};return _0x1722();}function _0x4abb(_0x4006ab,_0x1e53cb){const _0x17220a=_0x1722();return _0x4abb=function(_0x4abb46,_0x578208){_0x4abb46=_0x4abb46-0xbd;let _0x287aac=_0x17220a[_0x4abb46];return _0x287aac;},_0x4abb(_0x4006ab,_0x1e53cb);}module['exports']=n;
1
+ 'use strict';function _0x321c(_0x2e856b,_0x2efd19){const _0x54de5c=_0x54de();return _0x321c=function(_0x321c2c,_0x1b7851){_0x321c2c=_0x321c2c-0x147;let _0x3b6586=_0x54de5c[_0x321c2c];return _0x3b6586;},_0x321c(_0x2e856b,_0x2efd19);}function _0x54de(){const _0x3e6e62=['existsSync','4139368fmkUWM','join','utf8','writeFile','249097pVrPqB','161Kouutp','4294040fIebJI','128118wiwVNh','writeFileSync','copyFileSync','469028lunxcA','exports','length','98343McHFvR','removeDirSync','readdirSync','isDirectory','mkdirSync','copyFile','unlinkSync','forEach','dirname','2oewycN','5QMobex','slice','path','sep','split','145281IrBNks'];_0x54de=function(){return _0x3e6e62;};return _0x54de();}const _0x18b7fb=_0x321c;(function(_0x49f74c,_0x5ab445){const _0x37d84a=_0x321c,_0x144e53=_0x49f74c();while(!![]){try{const _0x34e9fd=-parseInt(_0x37d84a(0x150))/0x1*(parseInt(_0x37d84a(0x162))/0x2)+-parseInt(_0x37d84a(0x14a))/0x3+parseInt(_0x37d84a(0x156))/0x4*(parseInt(_0x37d84a(0x163))/0x5)+parseInt(_0x37d84a(0x153))/0x6*(-parseInt(_0x37d84a(0x151))/0x7)+parseInt(_0x37d84a(0x14c))/0x8+parseInt(_0x37d84a(0x159))/0x9+parseInt(_0x37d84a(0x152))/0xa;if(_0x34e9fd===_0x5ab445)break;else _0x144e53['push'](_0x144e53['shift']());}catch(_0x3c691a){_0x144e53['push'](_0x144e53['shift']());}}}(_0x54de,0x45e9e));const e=require('fs'),i=require(_0x18b7fb(0x147)),n={'createReadStream':_0xb0565d=>e['createReadStream'](_0xb0565d),'unlinkSync':_0x3bd9b7=>e[_0x18b7fb(0x15f)](_0x3bd9b7),'existsSync':_0x599e31=>e['existsSync'](_0x599e31),'readdirSync':_0x1afe10=>e['readdirSync'](_0x1afe10),'mkdirSync'(_0x55173d){const _0xee8710=_0x18b7fb;if(e[_0xee8710(0x14b)](_0x55173d)){e['mkdirSync'](_0x55173d);return;}_0x55173d['split'](i[_0xee8710(0x148)])[_0xee8710(0x160)]((_0x35ffcf,_0x6a955b)=>{const _0xac78fc=_0xee8710;if(!_0x35ffcf)return;let _0x1f6489=_0x55173d[_0xac78fc(0x149)](i[_0xac78fc(0x148)])[_0xac78fc(0x164)](0x0,_0x6a955b+0x1)[_0xac78fc(0x14d)](i['sep']);e['existsSync'](_0x1f6489)||e[_0xac78fc(0x15d)](_0x1f6489);});},'readFileSync':(_0x3812d2,_0x46fe53=_0x18b7fb(0x14e))=>e['readFileSync'](_0x3812d2,_0x46fe53),'writeFileSync':(_0x4a4667,_0x46c54a='')=>(e[_0x18b7fb(0x14b)](i[_0x18b7fb(0x161)](_0x4a4667))||n[_0x18b7fb(0x15d)](i[_0x18b7fb(0x161)](_0x4a4667)),e[_0x18b7fb(0x154)](_0x4a4667,_0x46c54a)),'writeFileAsync':(_0x308f4c,_0xbbbe4a='')=>(e[_0x18b7fb(0x14b)](i[_0x18b7fb(0x161)](_0x308f4c))||n[_0x18b7fb(0x15d)](i[_0x18b7fb(0x161)](_0x308f4c)),new Promise((_0x16e97d,_0x17cc77)=>{const _0x1a4ec5=_0x18b7fb;e[_0x1a4ec5(0x14f)](_0x308f4c,_0xbbbe4a,_0x53b80f=>{_0x53b80f?_0x17cc77():_0x16e97d();});})),'copyFileSync'(_0x218003,_0x3b4e54){const _0x56d946=_0x18b7fb;e['existsSync'](i[_0x56d946(0x161)](_0x3b4e54))||n['mkdirSync'](i[_0x56d946(0x161)](_0x3b4e54)),e[_0x56d946(0x155)](_0x218003,_0x3b4e54);},'copyFileAsync':(_0x39dd94,_0x1bdaf2)=>(e['existsSync'](i[_0x18b7fb(0x161)](_0x1bdaf2))||n['mkdirSync'](i['dirname'](_0x1bdaf2)),new Promise((_0x983da3,_0xacb914)=>{const _0x2de3f7=_0x18b7fb;e[_0x2de3f7(0x15e)](_0x39dd94,_0x1bdaf2,_0x248d7d=>{_0x248d7d?_0xacb914(_0x248d7d):_0x983da3();});})),'removeDirSync'(_0x1db9ad){const _0x334e89=_0x18b7fb;if(e['existsSync'](_0x1db9ad)){let _0x126c51=e[_0x334e89(0x15b)](_0x1db9ad);_0x126c51[_0x334e89(0x158)]>0x0&&_0x126c51[_0x334e89(0x160)](function(_0x439fef){const _0x447606=_0x334e89;e['statSync'](_0x1db9ad+'/'+_0x439fef)[_0x447606(0x15c)]()?n[_0x447606(0x15a)](_0x1db9ad+'/'+_0x439fef):e[_0x447606(0x15f)](_0x1db9ad+'/'+_0x439fef);}),e['rmdirSync'](_0x1db9ad);}}};module[_0x18b7fb(0x157)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x1ebb5e=_0x4ddc;function _0x4ddc(_0x3144e5,_0x263603){const _0xa5cf54=_0xa5cf();return _0x4ddc=function(_0x4ddc2c,_0x19ec7d){_0x4ddc2c=_0x4ddc2c-0x196;let _0x3e4800=_0xa5cf54[_0x4ddc2c];return _0x3e4800;},_0x4ddc(_0x3144e5,_0x263603);}function _0xa5cf(){const _0x9c001c=['1434945XpgJhC','8407hFCIYx','1177SvadNI','sep','5605272wRxjgH','normalize-path','\x22\x20:\x20()\x20=>\x20import(\x22','3432YHyRBX','pages','path','exports','join','45972tatyHr','375330LcMXHN','resolve','./find-files-by-ext','1777129ArzEfq','src','4785555NnXOhM','map','2OtXzAs','2328pbGfgG'];_0xa5cf=function(){return _0x9c001c;};return _0xa5cf();}(function(_0x2b4b19,_0x10fe88){const _0xe2afa0=_0x4ddc,_0x41d5ce=_0x2b4b19();while(!![]){try{const _0x1780a3=-parseInt(_0xe2afa0(0x1a5))/0x1*(-parseInt(_0xe2afa0(0x1a9))/0x2)+-parseInt(_0xe2afa0(0x1a7))/0x3+-parseInt(_0xe2afa0(0x199))/0x4+parseInt(_0xe2afa0(0x1ab))/0x5+parseInt(_0xe2afa0(0x19c))/0x6*(-parseInt(_0xe2afa0(0x196))/0x7)+parseInt(_0xe2afa0(0x1aa))/0x8*(-parseInt(_0xe2afa0(0x1a1))/0x9)+-parseInt(_0xe2afa0(0x1a2))/0xa*(-parseInt(_0xe2afa0(0x197))/0xb);if(_0x1780a3===_0x10fe88)break;else _0x41d5ce['push'](_0x41d5ce['shift']());}catch(_0x38a182){_0x41d5ce['push'](_0x41d5ce['shift']());}}}(_0xa5cf,0xde3a6));const e=require(_0x1ebb5e(0x19e)),r=require(_0x1ebb5e(0x19a)),t=require(_0x1ebb5e(0x1a4));module[_0x1ebb5e(0x19f)]=_0x4eafed=>{const _0xfd52a0=_0x1ebb5e;let _0x13c5b0=e[_0xfd52a0(0x1a3)](_0x4eafed,_0xfd52a0(0x1a6)+e[_0xfd52a0(0x198)]+_0xfd52a0(0x19d)),_0x39fc31=t(_0x13c5b0)[_0xfd52a0(0x1a8)](({fileName:_0x2a53b7,folderPath:_0x33543f,ext:_0x538e1d})=>{const _0x54182c=_0xfd52a0;let _0x80a19c=r(e[_0x54182c(0x1a0)](_0x33543f,_0x2a53b7)['replace'](''+_0x13c5b0+e[_0x54182c(0x198)],'')),_0x50d2d4=r(e[_0x54182c(0x1a0)](_0x33543f,_0x2a53b7+'.'+_0x538e1d));return'\x22'+_0x80a19c+_0x54182c(0x19b)+_0x50d2d4+'\x22)';});return'{'+_0x39fc31[_0xfd52a0(0x1a0)](',')+'}';};
1
+ 'use strict';const _0x188e5a=_0x3320;function _0x3320(_0x5b9f5f,_0x3e94d6){const _0x15542c=_0x1554();return _0x3320=function(_0x332001,_0x384f4d){_0x332001=_0x332001-0x114;let _0x51de15=_0x15542c[_0x332001];return _0x51de15;},_0x3320(_0x5b9f5f,_0x3e94d6);}(function(_0xb7a5f,_0xabc41){const _0x420e09=_0x3320,_0x59b2ee=_0xb7a5f();while(!![]){try{const _0x23c1b5=parseInt(_0x420e09(0x118))/0x1*(-parseInt(_0x420e09(0x119))/0x2)+parseInt(_0x420e09(0x125))/0x3+parseInt(_0x420e09(0x124))/0x4+-parseInt(_0x420e09(0x123))/0x5+parseInt(_0x420e09(0x11b))/0x6*(parseInt(_0x420e09(0x11e))/0x7)+parseInt(_0x420e09(0x126))/0x8*(-parseInt(_0x420e09(0x127))/0x9)+-parseInt(_0x420e09(0x116))/0xa*(parseInt(_0x420e09(0x117))/0xb);if(_0x23c1b5===_0xabc41)break;else _0x59b2ee['push'](_0x59b2ee['shift']());}catch(_0x32d978){_0x59b2ee['push'](_0x59b2ee['shift']());}}}(_0x1554,0x98845));const e=require(_0x188e5a(0x122)),r=require(_0x188e5a(0x114)),t=require(_0x188e5a(0x11f));module[_0x188e5a(0x120)]=_0x21836d=>{const _0x3d3dc5=_0x188e5a;let _0x224d95=e[_0x3d3dc5(0x11d)](_0x21836d,_0x3d3dc5(0x129)+e[_0x3d3dc5(0x115)]+_0x3d3dc5(0x11c)),_0x1455cb=t(_0x224d95)[_0x3d3dc5(0x121)](({fileName:_0xe7d024,folderPath:_0xcd6b31,ext:_0x459ddf})=>{const _0x1b9dac=_0x3d3dc5;let _0x4f45aa=r(e[_0x1b9dac(0x128)](_0xcd6b31,_0xe7d024)[_0x1b9dac(0x11a)](''+_0x224d95+e['sep'],'')),_0x4eb50b=r(e[_0x1b9dac(0x128)](_0xcd6b31,_0xe7d024+'.'+_0x459ddf));return'\x22'+_0x4f45aa+'\x22\x20:\x20()\x20=>\x20import(\x22'+_0x4eb50b+'\x22)';});return'{'+_0x1455cb[_0x3d3dc5(0x128)](',')+'}';};function _0x1554(){const _0x4f4ffb=['sep','107990nwssmd','770TnHaFs','44647ZlWFSZ','20yyesVh','replace','2466RDqnFw','pages','resolve','19397xbaQsw','./find-files-by-ext','exports','map','path','3977395WCjgxA','4672252dqRMJb','1766250IwFQiE','2184848KyEhLU','9yewSdZ','join','src','normalize-path'];_0x1554=function(){return _0x4f4ffb;};return _0x1554();}
@@ -1 +1 @@
1
- 'use strict';const _0xdc8206=_0x26d5;(function(_0x5a0451,_0x4efbe3){const _0x5e73be=_0x26d5,_0x778d88=_0x5a0451();while(!![]){try{const _0x5ab967=parseInt(_0x5e73be(0x1dd))/0x1*(parseInt(_0x5e73be(0x1d1))/0x2)+-parseInt(_0x5e73be(0x1df))/0x3+parseInt(_0x5e73be(0x1d5))/0x4+parseInt(_0x5e73be(0x1d4))/0x5*(-parseInt(_0x5e73be(0x1e3))/0x6)+-parseInt(_0x5e73be(0x1d2))/0x7+parseInt(_0x5e73be(0x1e6))/0x8+parseInt(_0x5e73be(0x1db))/0x9*(parseInt(_0x5e73be(0x1e2))/0xa);if(_0x5ab967===_0x4efbe3)break;else _0x778d88['push'](_0x778d88['shift']());}catch(_0x4680ba){_0x778d88['push'](_0x778d88['shift']());}}}(_0x40e3,0x702b4));function _0x26d5(_0x4d9a9c,_0x5f00cd){const _0x40e309=_0x40e3();return _0x26d5=function(_0x26d522,_0x340354){_0x26d522=_0x26d522-0x1d0;let _0x26b0ed=_0x40e309[_0x26d522];return _0x26b0ed;},_0x26d5(_0x4d9a9c,_0x5f00cd);}const r=require(_0xdc8206(0x1e9)),e=require(_0xdc8206(0x1ea)),{axiosClient:i}=require(_0xdc8206(0x1dc));module['exports']=async function(_0x27a424){const _0xad1b16=_0xdc8206;let _0x302f83=''+r[_0xad1b16(0x1d6)]+r[_0xad1b16(0x1d7)][_0xad1b16(0x1d9)]+_0xad1b16(0x1d3)+_0x27a424,_0xaf46b0=e[_0xad1b16(0x1de)](r[_0xad1b16(0x1da)][_0xad1b16(0x1e1)]),_0x4dc89f=await i[_0xad1b16(0x1e0)](_0x302f83,{'headers':{'cache-control':_0xad1b16(0x1e4),'Authorization':'Bearer\x20'+_0xaf46b0},'withCredentials':!0x0}),_0x571864=_0x4dc89f[_0xad1b16(0x1d8)];if(_0x571864&&_0x571864[_0xad1b16(0x1e7)]>=0x0)return _0x571864[_0xad1b16(0x1d8)];if(_0x571864[_0xad1b16(0x1e7)]===r[_0xad1b16(0x1e5)]['permission_denied'])throw Error(r[_0xad1b16(0x1e8)]['permission_denied']);throw Error(JSON[_0xad1b16(0x1d0)](_0x4dc89f[_0xad1b16(0x1d8)]));};function _0x40e3(){const _0xf524cd=['../utils/env','stringify','2imeclQ','5008668WiTwAK','?appId=','5OZEetS','648512ZalOYi','api_domain','path','data','getAppInfo','env','9nVNaZO','./axios','515819FgfDnV','getEnv','1925916BKdcUc','get','token','12978930UFzpkd','3281754AjzvmM','no-cache','error_code','3104472TqMuhG','err','error_msg','../config'];_0x40e3=function(){return _0xf524cd;};return _0x40e3();}
1
+ 'use strict';function _0x1f53(){const _0x2f43f6=['stringify','error_msg','7nVsdsS','1253735stbQRf','get','api_domain','27966730CNpVNP','permission_denied','token','err','7925Abaayx','../config','getAppInfo','env','../utils/env','Bearer\x20','exports','getEnv','6dSwCLj','./axios','6253176CLLgTW','5956767LSPiGd','28INbWnY','no-cache','552957OaKFrk','1576828zOlguW','data','?appId='];_0x1f53=function(){return _0x2f43f6;};return _0x1f53();}const _0x55f8d2=_0x1b47;(function(_0x4e8a6d,_0x38a783){const _0x4fd7c6=_0x1b47,_0x476986=_0x4e8a6d();while(!![]){try{const _0x34e0ce=parseInt(_0x4fd7c6(0x1a3))/0x1+parseInt(_0x4fd7c6(0x196))/0x2+-parseInt(_0x4fd7c6(0x195))/0x3*(-parseInt(_0x4fd7c6(0x193))/0x4)+parseInt(_0x4fd7c6(0x19c))/0x5*(parseInt(_0x4fd7c6(0x1ab))/0x6)+-parseInt(_0x4fd7c6(0x19b))/0x7*(-parseInt(_0x4fd7c6(0x191))/0x8)+parseInt(_0x4fd7c6(0x192))/0x9+-parseInt(_0x4fd7c6(0x19f))/0xa;if(_0x34e0ce===_0x38a783)break;else _0x476986['push'](_0x476986['shift']());}catch(_0x4dc089){_0x476986['push'](_0x476986['shift']());}}}(_0x1f53,0xf045c));const r=require(_0x55f8d2(0x1a4)),e=require(_0x55f8d2(0x1a7)),{axiosClient:i}=require(_0x55f8d2(0x190));function _0x1b47(_0x4ce6dc,_0x2dde8e){const _0x1f53eb=_0x1f53();return _0x1b47=function(_0x1b471e,_0x5d6a18){_0x1b471e=_0x1b471e-0x190;let _0xb5cbd2=_0x1f53eb[_0x1b471e];return _0xb5cbd2;},_0x1b47(_0x4ce6dc,_0x2dde8e);}module[_0x55f8d2(0x1a9)]=async function(_0x30ac80){const _0x5c57ee=_0x55f8d2;let _0x4f8ac7=''+r[_0x5c57ee(0x19e)]+r['path'][_0x5c57ee(0x1a5)]+_0x5c57ee(0x198)+_0x30ac80,_0x12b1ac=e[_0x5c57ee(0x1aa)](r[_0x5c57ee(0x1a6)][_0x5c57ee(0x1a1)]),_0x51837c=await i[_0x5c57ee(0x19d)](_0x4f8ac7,{'headers':{'cache-control':_0x5c57ee(0x194),'Authorization':_0x5c57ee(0x1a8)+_0x12b1ac},'withCredentials':!0x0}),_0x2f662b=_0x51837c['data'];if(_0x2f662b&&_0x2f662b['err']>=0x0)return _0x2f662b[_0x5c57ee(0x197)];if(_0x2f662b[_0x5c57ee(0x1a2)]===r['error_code'][_0x5c57ee(0x1a0)])throw Error(r[_0x5c57ee(0x19a)][_0x5c57ee(0x1a0)]);throw Error(JSON[_0x5c57ee(0x199)](_0x51837c[_0x5c57ee(0x197)]));};
@@ -1 +1 @@
1
- 'use strict';const _0x4f8fa2=_0x39b3;(function(_0x282972,_0x40d152){const _0x38d0cd=_0x39b3,_0x621d44=_0x282972();while(!![]){try{const _0xa2c4d7=-parseInt(_0x38d0cd(0x145))/0x1*(-parseInt(_0x38d0cd(0x13d))/0x2)+-parseInt(_0x38d0cd(0x139))/0x3*(parseInt(_0x38d0cd(0x142))/0x4)+-parseInt(_0x38d0cd(0x146))/0x5+-parseInt(_0x38d0cd(0x13f))/0x6+-parseInt(_0x38d0cd(0x144))/0x7+parseInt(_0x38d0cd(0x13c))/0x8*(parseInt(_0x38d0cd(0x13b))/0x9)+parseInt(_0x38d0cd(0x143))/0xa*(parseInt(_0x38d0cd(0x13a))/0xb);if(_0xa2c4d7===_0x40d152)break;else _0x621d44['push'](_0x621d44['shift']());}catch(_0x32e787){_0x621d44['push'](_0x621d44['shift']());}}}(_0x551c,0x99d35));const e=require(_0x4f8fa2(0x137)),r=require(_0x4f8fa2(0x141));function _0x551c(){const _0x4c3404=['16506050Anyyvo','5436956WmYuDG','1WZsaiS','2250550aGRfPK','../config','zmp','261EWCwOa','11TlCjoL','314829hcUyRT','144PvczmM','844786VkNcQm','filename','2871252AqcXEN','exports','path','16884DBQIYP'];_0x551c=function(){return _0x4c3404;};return _0x551c();}function _0x39b3(_0x1298c8,_0x540c5c){const _0x551ca3=_0x551c();return _0x39b3=function(_0x39b36f,_0x1bc24e){_0x39b36f=_0x39b36f-0x137;let _0x2ec5de=_0x551ca3[_0x39b36f];return _0x2ec5de;},_0x39b3(_0x1298c8,_0x540c5c);}module[_0x4f8fa2(0x140)]=_0x279cb6=>{const _0x47b3c1=_0x4f8fa2;let _0x339b27;try{_0x339b27=require(r['resolve'](_0x279cb6,e[_0x47b3c1(0x13e)]['zmpConfig']));}catch(_0x16b817){}if(!_0x339b27)try{_0x339b27=require(r['resolve'](_0x279cb6,'package.json'))[_0x47b3c1(0x138)];}catch(_0xc6b2b6){}if(_0x339b27)return{'cwd':_0x279cb6,..._0x339b27||{}};};
1
+ 'use strict';const _0x1b31ed=_0x49f4;(function(_0x32227c,_0x3d61ae){const _0x226651=_0x49f4,_0xd5291=_0x32227c();while(!![]){try{const _0x18c036=parseInt(_0x226651(0x7d))/0x1*(-parseInt(_0x226651(0x74))/0x2)+-parseInt(_0x226651(0x71))/0x3+-parseInt(_0x226651(0x78))/0x4*(parseInt(_0x226651(0x73))/0x5)+parseInt(_0x226651(0x79))/0x6*(parseInt(_0x226651(0x7b))/0x7)+parseInt(_0x226651(0x75))/0x8+parseInt(_0x226651(0x77))/0x9+parseInt(_0x226651(0x7a))/0xa;if(_0x18c036===_0x3d61ae)break;else _0xd5291['push'](_0xd5291['shift']());}catch(_0x432891){_0xd5291['push'](_0xd5291['shift']());}}}(_0xafbc,0xa2182));function _0xafbc(){const _0x5550a7=['6020NeIgxo','3505088xWFkHj','path','178983SFDmne','84BGpqFT','4417254KmnTpQ','20793100LxMjKA','7RCAtDq','resolve','283dZTlsa','filename','2694921jnNyAJ','zmp','204635oFydbe'];_0xafbc=function(){return _0x5550a7;};return _0xafbc();}function _0x49f4(_0x450216,_0x3aa8bf){const _0xafbcdd=_0xafbc();return _0x49f4=function(_0x49f4d9,_0x1a6604){_0x49f4d9=_0x49f4d9-0x70;let _0x5a7f92=_0xafbcdd[_0x49f4d9];return _0x5a7f92;},_0x49f4(_0x450216,_0x3aa8bf);}const e=require('../config'),r=require(_0x1b31ed(0x76));module['exports']=_0x53cbd2=>{const _0x422175=_0x1b31ed;let _0x4db204;try{_0x4db204=require(r[_0x422175(0x7c)](_0x53cbd2,e[_0x422175(0x70)]['zmpConfig']));}catch(_0x286f55){}if(!_0x4db204)try{_0x4db204=require(r[_0x422175(0x7c)](_0x53cbd2,'package.json'))[_0x422175(0x72)];}catch(_0x37c213){}if(_0x4db204)return{'cwd':_0x53cbd2,..._0x4db204||{}};};
package/utils/get-ip.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x40598d=_0x19fb;(function(_0x3627cf,_0x1b1a1b){const _0x11c137=_0x19fb,_0x23b7ae=_0x3627cf();while(!![]){try{const _0x136b72=parseInt(_0x11c137(0x101))/0x1*(-parseInt(_0x11c137(0x102))/0x2)+parseInt(_0x11c137(0xfb))/0x3*(-parseInt(_0x11c137(0x103))/0x4)+-parseInt(_0x11c137(0x105))/0x5*(-parseInt(_0x11c137(0xfd))/0x6)+parseInt(_0x11c137(0xff))/0x7+parseInt(_0x11c137(0xfe))/0x8*(-parseInt(_0x11c137(0xf8))/0x9)+-parseInt(_0x11c137(0xf9))/0xa*(-parseInt(_0x11c137(0xf7))/0xb)+parseInt(_0x11c137(0x104))/0xc*(parseInt(_0x11c137(0x100))/0xd);if(_0x136b72===_0x1b1a1b)break;else _0x23b7ae['push'](_0x23b7ae['shift']());}catch(_0x340bfa){_0x23b7ae['push'](_0x23b7ae['shift']());}}}(_0x882b,0x679c5));function _0x19fb(_0x46f35b,_0x1cd76e){const _0x882bb9=_0x882b();return _0x19fb=function(_0x19fb70,_0x276b2e){_0x19fb70=_0x19fb70-0xf7;let _0x1000b7=_0x882bb9[_0x19fb70];return _0x1000b7;},_0x19fb(_0x46f35b,_0x1cd76e);}const {networkInterfaces:e}=require('os');function _0x882b(){const _0x59c1f4=['2084MmFrwh','198060esqwxn','156205jfHPYV','exports','push','109274csfgvt','27342VyacwY','60qyBfdc','IPv4','489DVxDof','keys','6DWQiWM','736voLnmH','4099711emMQPX','299WSTvBB','37jLGLZH','14450eNEeXg'];_0x882b=function(){return _0x59c1f4;};return _0x882b();}module[_0x40598d(0x106)]=function(){const _0x53cd27=_0x40598d;let _0x5f4243=e(),_0x340f0d=Object['create'](null);for(let _0x7f3a15 of Object[_0x53cd27(0xfc)](_0x5f4243))for(let _0x18c944 of _0x5f4243[_0x7f3a15])_0x53cd27(0xfa)!==_0x18c944['family']||_0x18c944['internal']||(_0x340f0d[_0x7f3a15]||(_0x340f0d[_0x7f3a15]=[]),_0x340f0d[_0x7f3a15][_0x53cd27(0x107)](_0x18c944['address']));return _0x340f0d;};
1
+ 'use strict';function _0x14a3(_0x427270,_0x1890ff){const _0x42fd73=_0x42fd();return _0x14a3=function(_0x14a34f,_0x4a073c){_0x14a34f=_0x14a34f-0x8b;let _0x58b8db=_0x42fd73[_0x14a34f];return _0x58b8db;},_0x14a3(_0x427270,_0x1890ff);}(function(_0x27ba8c,_0x45068b){const _0x3068be=_0x14a3,_0x3ddb97=_0x27ba8c();while(!![]){try{const _0x16faf7=-parseInt(_0x3068be(0x91))/0x1*(parseInt(_0x3068be(0x9b))/0x2)+parseInt(_0x3068be(0x99))/0x3*(-parseInt(_0x3068be(0x8e))/0x4)+-parseInt(_0x3068be(0x8b))/0x5+parseInt(_0x3068be(0x90))/0x6+parseInt(_0x3068be(0x96))/0x7*(parseInt(_0x3068be(0x8d))/0x8)+parseInt(_0x3068be(0x97))/0x9*(-parseInt(_0x3068be(0x92))/0xa)+-parseInt(_0x3068be(0x95))/0xb*(-parseInt(_0x3068be(0x94))/0xc);if(_0x16faf7===_0x45068b)break;else _0x3ddb97['push'](_0x3ddb97['shift']());}catch(_0x5c5802){_0x3ddb97['push'](_0x3ddb97['shift']());}}}(_0x42fd,0xd5ec2));const {networkInterfaces:e}=require('os');module['exports']=function(){const _0x462848=_0x14a3;let _0x8b161a=e(),_0x970ee4=Object[_0x462848(0x8c)](null);for(let _0x2864f2 of Object['keys'](_0x8b161a))for(let _0x2a89c3 of _0x8b161a[_0x2864f2])_0x462848(0x8f)!==_0x2a89c3[_0x462848(0x98)]||_0x2a89c3[_0x462848(0x9a)]||(_0x970ee4[_0x2864f2]||(_0x970ee4[_0x2864f2]=[]),_0x970ee4[_0x2864f2]['push'](_0x2a89c3[_0x462848(0x93)]));return _0x970ee4;};function _0x42fd(){const _0x9c5c9f=['9086yeXWeV','42oqOGgT','29817HjjeNG','family','123CjZZCs','internal','3235220Jzhhhe','2944365ClRiXU','create','1785192VhSUwQ','69172Gqkowe','IPv4','9889506qjUzgz','1iNPBOD','4530MaDfHj','address','33492TjDpRl'];_0x42fd=function(){return _0x9c5c9f;};return _0x42fd();}
@@ -1 +1 @@
1
- 'use strict';const _0x528dbd=_0x328c;(function(_0x5d03db,_0x5dde34){const _0x1e1310=_0x328c,_0x4e71d8=_0x5d03db();while(!![]){try{const _0x42c484=-parseInt(_0x1e1310(0x1b6))/0x1+-parseInt(_0x1e1310(0x1a9))/0x2*(-parseInt(_0x1e1310(0x1b8))/0x3)+parseInt(_0x1e1310(0x1b4))/0x4*(parseInt(_0x1e1310(0x1b9))/0x5)+parseInt(_0x1e1310(0x1b2))/0x6+-parseInt(_0x1e1310(0x1b1))/0x7*(-parseInt(_0x1e1310(0x1ae))/0x8)+parseInt(_0x1e1310(0x1b7))/0x9+-parseInt(_0x1e1310(0x1b5))/0xa;if(_0x42c484===_0x5dde34)break;else _0x4e71d8['push'](_0x4e71d8['shift']());}catch(_0x114ba2){_0x4e71d8['push'](_0x4e71d8['shift']());}}}(_0x183e,0xad811));function _0x328c(_0x29d1d7,_0x161ff5){const _0x183e3b=_0x183e();return _0x328c=function(_0x328cf8,_0x4849c5){_0x328cf8=_0x328cf8-0x1a5;let _0x36f30c=_0x183e3b[_0x328cf8];return _0x36f30c;},_0x328c(_0x29d1d7,_0x161ff5);}function _0x183e(){const _0x529cf4=['exports','getLatestVersion','14XrgAbN','./axios','api_domain','no-cache','path','8yygTaM','error_msg','../config','9026591NNwRqD','4847628TtESPo','err','20flHQtD','21018180EqFfLn','833594NiTohF','4032441wUitNt','205860dAykYo','620245RClaBn','permission_denied','data','?appId=','stringify'];_0x183e=function(){return _0x529cf4;};return _0x183e();}const r=require(_0x528dbd(0x1b0)),{axiosClient:e}=require(_0x528dbd(0x1aa));module[_0x528dbd(0x1a7)]=async function(_0x4f16a5){const _0x5e1820=_0x528dbd;let _0x187c41=''+r[_0x5e1820(0x1ab)]+r[_0x5e1820(0x1ad)][_0x5e1820(0x1a8)]+_0x5e1820(0x1a5)+_0x4f16a5,_0x3bf828=await e['get'](_0x187c41,{'headers':{'cache-control':_0x5e1820(0x1ac)}}),_0x1fd0bf=_0x3bf828['data'];if(_0x1fd0bf&&_0x1fd0bf[_0x5e1820(0x1b3)]>=0x0)return _0x1fd0bf[_0x5e1820(0x1bb)];if(_0x1fd0bf['err']===r['error_code'][_0x5e1820(0x1ba)])throw Error(r[_0x5e1820(0x1af)][_0x5e1820(0x1ba)]);throw Error(JSON[_0x5e1820(0x1a6)](_0x3bf828[_0x5e1820(0x1bb)]));};
1
+ 'use strict';const _0x554599=_0x26c8;(function(_0x70548d,_0x836f9b){const _0x2afa67=_0x26c8,_0x55f86a=_0x70548d();while(!![]){try{const _0x132e11=parseInt(_0x2afa67(0x14a))/0x1+-parseInt(_0x2afa67(0x146))/0x2+parseInt(_0x2afa67(0x149))/0x3*(parseInt(_0x2afa67(0x145))/0x4)+-parseInt(_0x2afa67(0x141))/0x5+parseInt(_0x2afa67(0x150))/0x6*(-parseInt(_0x2afa67(0x14b))/0x7)+-parseInt(_0x2afa67(0x13f))/0x8+parseInt(_0x2afa67(0x144))/0x9;if(_0x132e11===_0x836f9b)break;else _0x55f86a['push'](_0x55f86a['shift']());}catch(_0x26ecb4){_0x55f86a['push'](_0x55f86a['shift']());}}}(_0x3746,0x97800));function _0x3746(){const _0x315d31=['error_code','../config','245589mytKeP','1149377xkiNsL','7NaHOdO','./axios','permission_denied','err','no-cache','7295898QPNHSz','exports','data','?appId=','8826384KoBQAH','getLatestVersion','6133865TPUGMg','error_msg','api_domain','22815108mOBnYI','44lJdcpi','836568wCpZLQ'];_0x3746=function(){return _0x315d31;};return _0x3746();}function _0x26c8(_0x568372,_0x4e6250){const _0x3746df=_0x3746();return _0x26c8=function(_0x26c8b0,_0x934a81){_0x26c8b0=_0x26c8b0-0x13d;let _0x159833=_0x3746df[_0x26c8b0];return _0x159833;},_0x26c8(_0x568372,_0x4e6250);}const r=require(_0x554599(0x148)),{axiosClient:e}=require(_0x554599(0x14c));module[_0x554599(0x151)]=async function(_0x5d56b1){const _0x308dd1=_0x554599;let _0x5c24b3=''+r[_0x308dd1(0x143)]+r['path'][_0x308dd1(0x140)]+_0x308dd1(0x13e)+_0x5d56b1,_0x46d0fc=await e['get'](_0x5c24b3,{'headers':{'cache-control':_0x308dd1(0x14f)}}),_0x56262d=_0x46d0fc[_0x308dd1(0x13d)];if(_0x56262d&&_0x56262d[_0x308dd1(0x14e)]>=0x0)return _0x56262d[_0x308dd1(0x13d)];if(_0x56262d[_0x308dd1(0x14e)]===r[_0x308dd1(0x147)]['permission_denied'])throw Error(r[_0x308dd1(0x142)][_0x308dd1(0x14d)]);throw Error(JSON['stringify'](_0x46d0fc[_0x308dd1(0x13d)]));};
package/utils/log.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5275c0=_0x769c;(function(_0x4de3eb,_0x44f25f){const _0x467d9c=_0x769c,_0x3c7327=_0x4de3eb();while(!![]){try{const _0x92b496=-parseInt(_0x467d9c(0x82))/0x1*(parseInt(_0x467d9c(0x80))/0x2)+parseInt(_0x467d9c(0x81))/0x3+-parseInt(_0x467d9c(0x7d))/0x4+-parseInt(_0x467d9c(0x83))/0x5+parseInt(_0x467d9c(0x79))/0x6*(-parseInt(_0x467d9c(0x77))/0x7)+-parseInt(_0x467d9c(0x76))/0x8*(parseInt(_0x467d9c(0x7b))/0x9)+parseInt(_0x467d9c(0x7f))/0xa;if(_0x92b496===_0x44f25f)break;else _0x3c7327['push'](_0x3c7327['shift']());}catch(_0x2f8475){_0x3c7327['push'](_0x3c7327['shift']());}}}(_0x5828,0xb061e));function _0x5828(){const _0x5cc2a7=['444ROGidM','log','1353852OmMWsU','bold','1173700dfntvH','exports','34594450JDDdkN','8ULdgXz','3503040FlfCzj','302058JRjEiN','2761520qeBkKR','64CHAApm','61229ZmbTEK','error'];_0x5828=function(){return _0x5cc2a7;};return _0x5828();}const o=require('chalk');function _0x769c(_0x11db78,_0x5ab3f1){const _0x58283e=_0x5828();return _0x769c=function(_0x769c10,_0x32395a){_0x769c10=_0x769c10-0x76;let _0x1992f6=_0x58283e[_0x769c10];return _0x1992f6;},_0x769c(_0x11db78,_0x5ab3f1);}module[_0x5275c0(0x7e)]={'text'(_0x52e1af,_0x444722,_0x4ed87e){const _0x2eff25=_0x5275c0;_0x4ed87e&&_0x444722?console[_0x2eff25(0x7a)](o[_0x4ed87e][_0x2eff25(0x7c)](_0x52e1af)):_0x4ed87e?console['log'](o[_0x4ed87e](_0x52e1af)):_0x444722?console[_0x2eff25(0x7a)](o[_0x2eff25(0x7c)](_0x52e1af)):console[_0x2eff25(0x7a)](_0x52e1af);},'error'(_0x56f1bb){const _0x24bb63=_0x5275c0;console[_0x24bb63(0x78)](o['red'](_0x56f1bb));}};
1
+ 'use strict';function _0x5814(_0x2ee392,_0x28329d){const _0x47f573=_0x47f5();return _0x5814=function(_0x5814d,_0x3fe56e){_0x5814d=_0x5814d-0xce;let _0x41fa5=_0x47f573[_0x5814d];return _0x41fa5;},_0x5814(_0x2ee392,_0x28329d);}function _0x47f5(){const _0x52e6d5=['chalk','110097jIjFkY','18uafSIw','error','bold','6887226wDdwaQ','log','40505420hiARCG','904SRPsae','3138093CeupJi','444591rYyOZU','5XFfVjZ','294736lcVDUI','12863wPyxWC'];_0x47f5=function(){return _0x52e6d5;};return _0x47f5();}const _0xcb3151=_0x5814;(function(_0x843806,_0x27f5f8){const _0x16d53d=_0x5814,_0x5e470b=_0x843806();while(!![]){try{const _0x5123b3=-parseInt(_0x16d53d(0xd8))/0x1*(-parseInt(_0x16d53d(0xdb))/0x2)+-parseInt(_0x16d53d(0xd4))/0x3+parseInt(_0x16d53d(0xd7))/0x4+-parseInt(_0x16d53d(0xd6))/0x5*(parseInt(_0x16d53d(0xd0))/0x6)+parseInt(_0x16d53d(0xd5))/0x7+parseInt(_0x16d53d(0xd3))/0x8*(-parseInt(_0x16d53d(0xda))/0x9)+parseInt(_0x16d53d(0xd2))/0xa;if(_0x5123b3===_0x27f5f8)break;else _0x5e470b['push'](_0x5e470b['shift']());}catch(_0x5f065e){_0x5e470b['push'](_0x5e470b['shift']());}}}(_0x47f5,0xb18eb));const o=require(_0xcb3151(0xd9));module['exports']={'text'(_0x13566d,_0x19fd2e,_0x51a32b){const _0x3af4f0=_0xcb3151;_0x51a32b&&_0x19fd2e?console[_0x3af4f0(0xd1)](o[_0x51a32b]['bold'](_0x13566d)):_0x51a32b?console[_0x3af4f0(0xd1)](o[_0x51a32b](_0x13566d)):_0x19fd2e?console[_0x3af4f0(0xd1)](o[_0x3af4f0(0xcf)](_0x13566d)):console[_0x3af4f0(0xd1)](_0x13566d);},'error'(_0xace96a){const _0x4fb689=_0xcb3151;console[_0x4fb689(0xce)](o['red'](_0xace96a));}};
@@ -1 +1 @@
1
- 'use strict';function _0x1e91(_0x3ba0b7,_0x5b98ca){const _0x221d8b=_0x221d();return _0x1e91=function(_0x1e912d,_0x3119db){_0x1e912d=_0x1e912d-0x10b;let _0x2f818e=_0x221d8b[_0x1e912d];return _0x2f818e;},_0x1e91(_0x3ba0b7,_0x5b98ca);}function _0x221d(){const _0x16adc8=['length','max','10728310JvWezc','isClosed','BlobPrototype','concat','isView','prototype','string','byteLength','1381064fyWzgm','slice','close','min','size','buffer','byteOffset','toStringTag','5502750VuDcnf','from','closed','9FQCgyx','6180548MaTOIf','Blob','2729360ODLXSG','exports','defineProperty','509961NhjaNA','7MAIDFa','1lQmWuA','test','type','4573650bksbfc'];_0x221d=function(){return _0x16adc8;};return _0x221d();}const _0x943a7=_0x1e91;(function(_0x29d356,_0x2da153){const _0x127e62=_0x1e91,_0x8522b9=_0x29d356();while(!![]){try{const _0x48dc01=-parseInt(_0x127e62(0x112))/0x1*(-parseInt(_0x127e62(0x120))/0x2)+-parseInt(_0x127e62(0x110))/0x3+parseInt(_0x127e62(0x10b))/0x4+-parseInt(_0x127e62(0x128))/0x5+-parseInt(_0x127e62(0x115))/0x6*(parseInt(_0x127e62(0x111))/0x7)+-parseInt(_0x127e62(0x10d))/0x8+parseInt(_0x127e62(0x12b))/0x9*(parseInt(_0x127e62(0x118))/0xa);if(_0x48dc01===_0x2da153)break;else _0x8522b9['push'](_0x8522b9['shift']());}catch(_0x4c978b){_0x8522b9['push'](_0x8522b9['shift']());}}}(_0x221d,0xe4276));const e=Symbol(_0x943a7(0x114)),t=Symbol(_0x943a7(0x12a));class r{get['size'](){const _0x1684ce=_0x943a7;return this[t]?0x0:this[_0x1684ce(0x125)][_0x1684ce(0x116)];}get['type'](){return this[e];}get[_0x943a7(0x119)](){return this[t];}[_0x943a7(0x121)](){const _0x41cc4c=_0x943a7;let _0x32d4ea,_0x2df36f=this[_0x41cc4c(0x124)],_0x79620b=arguments[0x0],_0x51189d=arguments[0x1];_0x32d4ea=void 0x0===_0x79620b?0x0:_0x79620b<0x0?Math[_0x41cc4c(0x117)](_0x2df36f+_0x79620b,0x0):Math[_0x41cc4c(0x123)](_0x79620b,_0x2df36f);let _0x331c13=Math[_0x41cc4c(0x117)]((void 0x0===_0x51189d?_0x2df36f:_0x51189d<0x0?Math[_0x41cc4c(0x117)](_0x2df36f+_0x51189d,0x0):Math['min'](_0x51189d,_0x2df36f))-_0x32d4ea,0x0),_0x1b888c=this[_0x41cc4c(0x125)][_0x41cc4c(0x121)](_0x32d4ea,_0x32d4ea+_0x331c13),_0x248384=new r([],{'type':arguments[0x2]});return _0x248384[_0x41cc4c(0x125)]=_0x1b888c,_0x248384[t]=this[t],_0x248384;}[_0x943a7(0x122)](){this[t]=!0x0;}constructor(){const _0xdbebde=_0x943a7;Object['defineProperty'](this,Symbol[_0xdbebde(0x127)],{'value':_0xdbebde(0x10c),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),this[t]=!0x1,this[e]='';let _0x3049c0=arguments[0x0],_0x15d7f3=arguments[0x1],_0x68b946=[];if(_0x3049c0){let _0x177d58=Number(_0x3049c0['length']);for(let _0x203090=0x0;_0x203090<_0x177d58;_0x203090++){let _0x3a52c8,_0x1bba8b=_0x3049c0[_0x203090];_0x1bba8b instanceof Buffer?_0x3a52c8=_0x1bba8b:_0x3a52c8=ArrayBuffer[_0xdbebde(0x11c)](_0x1bba8b)?Buffer[_0xdbebde(0x129)](_0x1bba8b[_0xdbebde(0x125)],_0x1bba8b[_0xdbebde(0x126)],_0x1bba8b[_0xdbebde(0x11f)]):_0x1bba8b instanceof ArrayBuffer?Buffer[_0xdbebde(0x129)](_0x1bba8b):_0x1bba8b instanceof r?_0x1bba8b[_0xdbebde(0x125)]:Buffer[_0xdbebde(0x129)](_0xdbebde(0x11e)==typeof _0x1bba8b?_0x1bba8b:String(_0x1bba8b)),_0x68b946['push'](_0x3a52c8);}}this['buffer']=Buffer[_0xdbebde(0x11b)](_0x68b946);let _0x1ac68b=_0x15d7f3&&void 0x0!==_0x15d7f3[_0xdbebde(0x114)]&&String(_0x15d7f3[_0xdbebde(0x114)])['toLowerCase']();_0x1ac68b&&!/[^\u0020-\u007E]/[_0xdbebde(0x113)](_0x1ac68b)&&(this[e]=_0x1ac68b);}}Object[_0x943a7(0x10f)](r[_0x943a7(0x11d)],Symbol[_0x943a7(0x127)],{'value':_0x943a7(0x11a),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),module[_0x943a7(0x10e)]=r;
1
+ 'use strict';const _0x220404=_0x2a61;function _0x2036(){const _0x51a2f4=['Blob','defineProperty','419661DcOvdx','string','13160BaJqOs','7xUsgEH','308685GwmzlI','61110RfqcEl','slice','buffer','1100490QEHqqU','exports','isClosed','215lKtchL','length','closed','max','20qeUDPG','byteLength','test','min','isView','from','type','byteOffset','2864430qPxXwK','BlobPrototype','prototype','size','toLowerCase','push','521616aAQQqt'];_0x2036=function(){return _0x51a2f4;};return _0x2036();}function _0x2a61(_0x55537e,_0x13e6e6){const _0x20367a=_0x2036();return _0x2a61=function(_0x2a61d9,_0x46cda7){_0x2a61d9=_0x2a61d9-0xda;let _0x3045e2=_0x20367a[_0x2a61d9];return _0x3045e2;},_0x2a61(_0x55537e,_0x13e6e6);}(function(_0x5189ce,_0x3026a8){const _0xa8a3d0=_0x2a61,_0x520720=_0x5189ce();while(!![]){try{const _0x800021=-parseInt(_0xa8a3d0(0xf9))/0x1+-parseInt(_0xa8a3d0(0xda))/0x2+parseInt(_0xa8a3d0(0xf5))/0x3+-parseInt(_0xa8a3d0(0xf7))/0x4*(parseInt(_0xa8a3d0(0xe0))/0x5)+-parseInt(_0xa8a3d0(0xdd))/0x6*(parseInt(_0xa8a3d0(0xf8))/0x7)+parseInt(_0xa8a3d0(0xf2))/0x8+parseInt(_0xa8a3d0(0xec))/0x9*(parseInt(_0xa8a3d0(0xe4))/0xa);if(_0x800021===_0x3026a8)break;else _0x520720['push'](_0x520720['shift']());}catch(_0x326410){_0x520720['push'](_0x520720['shift']());}}}(_0x2036,0x2b560));const e=Symbol(_0x220404(0xea)),t=Symbol(_0x220404(0xe2));class r{get['size'](){const _0x184f2e=_0x220404;return this[t]?0x0:this[_0x184f2e(0xdc)]['length'];}get['type'](){return this[e];}get[_0x220404(0xdf)](){return this[t];}[_0x220404(0xdb)](){const _0x460808=_0x220404;let _0x11aa71,_0x5c761a=this[_0x460808(0xef)],_0x5326dc=arguments[0x0],_0xda958d=arguments[0x1];_0x11aa71=void 0x0===_0x5326dc?0x0:_0x5326dc<0x0?Math[_0x460808(0xe3)](_0x5c761a+_0x5326dc,0x0):Math[_0x460808(0xe7)](_0x5326dc,_0x5c761a);let _0xbf0f8a=Math[_0x460808(0xe3)]((void 0x0===_0xda958d?_0x5c761a:_0xda958d<0x0?Math[_0x460808(0xe3)](_0x5c761a+_0xda958d,0x0):Math[_0x460808(0xe7)](_0xda958d,_0x5c761a))-_0x11aa71,0x0),_0x260333=this['buffer'][_0x460808(0xdb)](_0x11aa71,_0x11aa71+_0xbf0f8a),_0x56af69=new r([],{'type':arguments[0x2]});return _0x56af69[_0x460808(0xdc)]=_0x260333,_0x56af69[t]=this[t],_0x56af69;}['close'](){this[t]=!0x0;}constructor(){const _0x47ca11=_0x220404;Object[_0x47ca11(0xf4)](this,Symbol['toStringTag'],{'value':_0x47ca11(0xf3),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),this[t]=!0x1,this[e]='';let _0x79f74a=arguments[0x0],_0x22e600=arguments[0x1],_0x249c03=[];if(_0x79f74a){let _0x2efa11=Number(_0x79f74a[_0x47ca11(0xe1)]);for(let _0x3a5355=0x0;_0x3a5355<_0x2efa11;_0x3a5355++){let _0x290de7,_0x177b5a=_0x79f74a[_0x3a5355];_0x177b5a instanceof Buffer?_0x290de7=_0x177b5a:_0x290de7=ArrayBuffer[_0x47ca11(0xe8)](_0x177b5a)?Buffer[_0x47ca11(0xe9)](_0x177b5a[_0x47ca11(0xdc)],_0x177b5a[_0x47ca11(0xeb)],_0x177b5a[_0x47ca11(0xe5)]):_0x177b5a instanceof ArrayBuffer?Buffer[_0x47ca11(0xe9)](_0x177b5a):_0x177b5a instanceof r?_0x177b5a[_0x47ca11(0xdc)]:Buffer[_0x47ca11(0xe9)](_0x47ca11(0xf6)==typeof _0x177b5a?_0x177b5a:String(_0x177b5a)),_0x249c03[_0x47ca11(0xf1)](_0x290de7);}}this[_0x47ca11(0xdc)]=Buffer['concat'](_0x249c03);let _0xb3007d=_0x22e600&&void 0x0!==_0x22e600[_0x47ca11(0xea)]&&String(_0x22e600[_0x47ca11(0xea)])[_0x47ca11(0xf0)]();_0xb3007d&&!/[^\u0020-\u007E]/[_0x47ca11(0xe6)](_0xb3007d)&&(this[e]=_0xb3007d);}}Object[_0x220404(0xf4)](r[_0x220404(0xee)],Symbol['toStringTag'],{'value':_0x220404(0xed),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),module[_0x220404(0xde)]=r;
@@ -1 +1 @@
1
- 'use strict';function _0x544d(_0xcbca29,_0x4b9824){var _0x5a8a3d=_0x5a8a();return _0x544d=function(_0x544ded,_0x50318b){_0x544ded=_0x544ded-0xfb;var _0x57ed12=_0x5a8a3d[_0x544ded];return _0x57ed12;},_0x544d(_0xcbca29,_0x4b9824);}(function(_0x241d37,_0x5233b5){var _0xd6ab1d=_0x544d,_0x336251=_0x241d37();while(!![]){try{var _0x18c93d=parseInt(_0xd6ab1d(0x102))/0x1*(parseInt(_0xd6ab1d(0xfb))/0x2)+parseInt(_0xd6ab1d(0x105))/0x3+parseInt(_0xd6ab1d(0x101))/0x4+parseInt(_0xd6ab1d(0xfc))/0x5*(parseInt(_0xd6ab1d(0xff))/0x6)+parseInt(_0xd6ab1d(0x104))/0x7*(parseInt(_0xd6ab1d(0xfd))/0x8)+-parseInt(_0xd6ab1d(0x103))/0x9+-parseInt(_0xd6ab1d(0x100))/0xa*(parseInt(_0xd6ab1d(0xfe))/0xb);if(_0x18c93d===_0x5233b5)break;else _0x336251['push'](_0x336251['shift']());}catch(_0x44172f){_0x336251['push'](_0x336251['shift']());}}}(_0x5a8a,0x22aa1));function _0x5a8a(){var _0x550f22=['11FXjIvb','678BaRpvQ','5200360RixHad','339964lulEsE','2089hUgXEv','2371014GDkVRU','511ThFIZg','367836XQIRTG','262qmXgth','9855SDThak','24272ocvIcs'];_0x5a8a=function(){return _0x550f22;};return _0x5a8a();}
1
+ 'use strict';(function(_0x1d53cf,_0xd10e9){var _0x4f5f98=_0x3f8e,_0x340d82=_0x1d53cf();while(!![]){try{var _0x4eff6a=parseInt(_0x4f5f98(0x1a4))/0x1+parseInt(_0x4f5f98(0x1a5))/0x2*(parseInt(_0x4f5f98(0x1a3))/0x3)+-parseInt(_0x4f5f98(0x1ab))/0x4*(parseInt(_0x4f5f98(0x1a9))/0x5)+parseInt(_0x4f5f98(0x1a2))/0x6*(-parseInt(_0x4f5f98(0x1a8))/0x7)+parseInt(_0x4f5f98(0x1a6))/0x8*(-parseInt(_0x4f5f98(0x1a7))/0x9)+-parseInt(_0x4f5f98(0x1aa))/0xa+parseInt(_0x4f5f98(0x1a1))/0xb;if(_0x4eff6a===_0xd10e9)break;else _0x340d82['push'](_0x340d82['shift']());}catch(_0x222f53){_0x340d82['push'](_0x340d82['shift']());}}}(_0x293a,0x8b530));function _0x3f8e(_0x581eae,_0x5aa413){var _0x293a16=_0x293a();return _0x3f8e=function(_0x3f8ea9,_0x4063f7){_0x3f8ea9=_0x3f8ea9-0x1a1;var _0x1f2ba0=_0x293a16[_0x3f8ea9];return _0x1f2ba0;},_0x3f8e(_0x581eae,_0x5aa413);}function _0x293a(){var _0x4f1508=['1176268jxcSwJ','2373584VKCuUX','18CRjpIt','350UqodhE','154820pRlOBv','9295550gmDlYH','36Gyjrzc','16522154GucOEb','60126GPNpGO','3oPsyKX','783201UyGCke'];_0x293a=function(){return _0x4f1508;};return _0x293a();}