zmp-cli 3.15.12 → 3.15.13

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 +2 -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 _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
+ 'use strict';const _0x50dfcf=_0x415a;(function(_0x5f15f1,_0x1086dc){const _0x1d5b99=_0x415a,_0x36a181=_0x5f15f1();while(!![]){try{const _0x2225f4=parseInt(_0x1d5b99(0x165))/0x1*(-parseInt(_0x1d5b99(0x163))/0x2)+parseInt(_0x1d5b99(0x15c))/0x3+parseInt(_0x1d5b99(0x16c))/0x4*(-parseInt(_0x1d5b99(0x174))/0x5)+-parseInt(_0x1d5b99(0x167))/0x6*(-parseInt(_0x1d5b99(0x175))/0x7)+parseInt(_0x1d5b99(0x16a))/0x8*(parseInt(_0x1d5b99(0x15e))/0x9)+-parseInt(_0x1d5b99(0x172))/0xa+-parseInt(_0x1d5b99(0x169))/0xb*(parseInt(_0x1d5b99(0x16e))/0xc);if(_0x2225f4===_0x1086dc)break;else _0x36a181['push'](_0x36a181['shift']());}catch(_0x23b396){_0x36a181['push'](_0x36a181['shift']());}}}(_0x4619,0xece95));const e=require(_0x50dfcf(0x166)),r=[{'type':_0x50dfcf(0x173),'name':_0x50dfcf(0x170),'message':_0x50dfcf(0x16b),'choices':[{'name':_0x50dfcf(0x171),'value':_0x50dfcf(0x15d)},{'name':_0x50dfcf(0x161),'value':'iconsv3'}]},{'type':'list','name':_0x50dfcf(0x15b),'message':_0x50dfcf(0x16d),'when':_0x580b4d=>_0x50dfcf(0x162)===_0x580b4d['migrateVersion'],'choices':[{'name':_0x50dfcf(0x176),'value':'zmp-framework'},{'name':_0x50dfcf(0x15f),'value':_0x50dfcf(0x15f)},{'name':_0x50dfcf(0x16f),'value':'other'}]}];function _0x4619(){const _0x44d1be=['686320pZkmWi','list','100moqgXU','21moortp','zmp-framework','uiFramework','3501954hddHew','v1tov2','321435MyYuYo','zmp-ui','exports','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','iconsv3','26jIsaqv','prompt','58792tFMMos','inquirer','725694psstSw','resolve','2643993sMuTQi','392qWbJru','What\x20version\x20do\x20you\x20want\x20to\x20migrate?','247304fVjrxR','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','12UWmYze','Other','migrateVersion','Version\x201\x20=>\x20Version\x202'];_0x4619=function(){return _0x44d1be;};return _0x4619();}function _0x415a(_0x2ad768,_0x14e3c7){const _0x461917=_0x4619();return _0x415a=function(_0x415a75,_0x184ec0){_0x415a75=_0x415a75-0x15b;let _0x2b255e=_0x461917[_0x415a75];return _0x2b255e;},_0x415a(_0x2ad768,_0x14e3c7);}module[_0x50dfcf(0x160)]=function(){const _0x129907=_0x50dfcf;return e[_0x129907(0x164)](r)['then'](_0x411374=>Promise[_0x129907(0x168)](_0x411374));};
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x144e34=_0x49e1;(function(_0x46e496,_0x2f0f39){const _0x254bc4=_0x49e1,_0x389d79=_0x46e496();while(!![]){try{const _0x5d4acd=parseInt(_0x254bc4(0x12f))/0x1*(-parseInt(_0x254bc4(0x144))/0x2)+parseInt(_0x254bc4(0x140))/0x3+-parseInt(_0x254bc4(0x138))/0x4*(parseInt(_0x254bc4(0x13f))/0x5)+-parseInt(_0x254bc4(0x130))/0x6*(-parseInt(_0x254bc4(0x146))/0x7)+parseInt(_0x254bc4(0x134))/0x8*(-parseInt(_0x254bc4(0x135))/0x9)+parseInt(_0x254bc4(0x141))/0xa*(-parseInt(_0x254bc4(0x131))/0xb)+parseInt(_0x254bc4(0x13d))/0xc;if(_0x5d4acd===_0x2f0f39)break;else _0x389d79['push'](_0x389d79['shift']());}catch(_0x39ffd8){_0x389d79['push'](_0x389d79['shift']());}}}(_0x5e2e,0xb73fe));function _0x49e1(_0xf2058,_0x57026e){const _0x5e2ee8=_0x5e2e();return _0x49e1=function(_0x49e149,_0x6736e3){_0x49e149=_0x49e149-0x12f;let _0x272804=_0x5e2ee8[_0x49e149];return _0x272804;},_0x49e1(_0xf2058,_0x57026e);}const e=require(_0x144e34(0x13a)),i=require('../../utils/fs-extra'),t=require('path'),s=require(_0x144e34(0x132)),r=require(_0x144e34(0x142));async function a(_0x32edf7){const _0x137afe=_0x144e34;let _0x1eaaf9=e(_0x32edf7);i[_0x137afe(0x143)](t[_0x137afe(0x139)](_0x32edf7[_0x137afe(0x145)],'index.html'),_0x1eaaf9),i[_0x137afe(0x13b)](t[_0x137afe(0x13c)](__dirname,'../templates/v2/vite.config.js'),t[_0x137afe(0x13c)](_0x32edf7['cwd'],'vite.config.js')),await s['promise']('npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev',!0x0);}async function n(_0xcea022){const _0xc9e913=_0x144e34;switch(_0xcea022[_0xc9e913(0x136)]){case _0xc9e913(0x137):await a(_0xcea022);break;case _0xc9e913(0x13e):await r(_0xcea022);}}function _0x5e2e(){const _0x5226db=['cwd','1526eiNwzc','3925inlebq','12102nnpjml','11GNGeMl','exec-sh','exports','56dovPOy','404343korPiA','migrateVersion','v1tov2','36048DrngpH','join','../templates/v2/generate-index.react','copyFileAsync','resolve','20153868wJNrJN','iconsv3','5ECcFcI','1666116QkmEJn','7173510RdpInc','../icons/update-icon-v3','writeFileSync','450OIYaFv'];_0x5e2e=function(){return _0x5226db;};return _0x5e2e();}module[_0x144e34(0x133)]=n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-cli",
3
- "version": "3.15.12",
3
+ "version": "3.15.13",
4
4
  "description": "ZMP command line utility (CLI)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  "body-parser": "^1.19.0",
24
24
  "browser-sync": "^2.26.14",
25
25
  "chalk": "^4.1.2",
26
- "chii": "^1.9.0",
26
+ "chii": "^1.15.3",
27
27
  "clear": "^0.1.0",
28
28
  "cli-progress": "^3.9.0",
29
29
  "clui": "^0.3.6",
package/start/index.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x4303d1=_0x237b;function _0x237b(_0x1da5b3,_0xe4fbf3){const _0x1f4fe5=_0x1f4f();return _0x237b=function(_0x237b30,_0x1e1c89){_0x237b30=_0x237b30-0xfe;let _0x509ab7=_0x1f4fe5[_0x237b30];return _0x509ab7;},_0x237b(_0x1da5b3,_0xe4fbf3);}(function(_0x49f4c5,_0x410ccb){const _0x814d9=_0x237b,_0x5de292=_0x49f4c5();while(!![]){try{const _0x13619b=-parseInt(_0x814d9(0x105))/0x1+parseInt(_0x814d9(0x11b))/0x2+parseInt(_0x814d9(0x12b))/0x3*(-parseInt(_0x814d9(0x15e))/0x4)+-parseInt(_0x814d9(0x14b))/0x5*(-parseInt(_0x814d9(0x11f))/0x6)+-parseInt(_0x814d9(0x14f))/0x7*(-parseInt(_0x814d9(0x159))/0x8)+-parseInt(_0x814d9(0x11c))/0x9*(-parseInt(_0x814d9(0x15d))/0xa)+parseInt(_0x814d9(0x12f))/0xb;if(_0x13619b===_0x410ccb)break;else _0x5de292['push'](_0x5de292['shift']());}catch(_0x5abd64){_0x5de292['push'](_0x5de292['shift']());}}}(_0x1f4f,0xe1833));function _0x1f4f(){const _0x13f902=['frame','exit','reverse','toString','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','Starting\x20mini\x20app...','bold','iosHostName','800450abNoMk','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','text/javascript','printUrls','35xQBeBk','appConfigJson','/target.js\x27;\x20document.body.appendChild(script);\x20})()','\x20browser.','getEnv','log-symbols','text','random','app','\x20in\x20','1916760KytgeD','appId','adb\x20reverse\x20error:\x20','push','11810HBOaJR','136684LVSCot','../utils/fs-extra','httpServer','mode','human-readable-ids','Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:','adb','previewOnZalo','hr.config.json','1717537yytdbt','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','../utils/find-free-port','parse','createServer','tcp:','splice','stderr','error','address','ora','vite','green','logger','/frame','Google\x20Chrome','red','To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:','child_process','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','listJS','blue','2005196IxVzCw','747NForAU','stringify','Can\x20not\x20start\x20remote\x20debug\x20server','6IKxDzY','data','yellow','findIndex','info','listen','remote-debug-script','start','exports','devices','/?env=TESTING_LOCAL&clientIp=','../utils/error','75PGIPHF','/src/app.js','isArray','filename','11405075rpYfXt','generate','cwd','Error\x20starting\x20project','server','path','../utils/tunnel','join','/?env=TESTING_LOCAL&clientIp=http://','appConfig','env','stop','chalk','Chromium-based','0.0.0.0','port','spawn','../utils/env','zmp-cli-core','config'];_0x1f4f=function(){return _0x13f902;};return _0x1f4f();}const e=require(_0x4303d1(0x13b)),r=require(_0x4303d1(0x10f)),t=require(_0x4303d1(0x134)),i=require('qrcode-terminal'),o=require(_0x4303d1(0x154)),n=require('chii'),{hri:s}=require(_0x4303d1(0x100)),{startLocal:a,startDevice:p}=require(_0x4303d1(0x141)),l=require('../config'),c=require(_0x4303d1(0x140)),{errorExit:d}=require(_0x4303d1(0x12a)),u=require(_0x4303d1(0x15f)),f=require(_0x4303d1(0x107)),{openTunnel:g}=require(_0x4303d1(0x135)),$=r(_0x4303d1(0x148));module[_0x4303d1(0x127)]=async(_0xbedd22={},_0x76fc04)=>{const _0x289ade=_0x4303d1;let _0x28318d;_0x76fc04||(_0x76fc04={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$['start']();let _0x582445=_0xbedd22[_0x289ade(0x131)]||process[_0x289ade(0x131)](),_0x470013=_0xbedd22['appId']||c[_0x289ade(0x153)](l[_0x289ade(0x139)][_0x289ade(0x15a)]),_0x27c24f=_0xbedd22[_0x289ade(0x103)],_0x9e9b2c=_0xbedd22['ios'],_0x19f8a9=_0xbedd22[_0x289ade(0x14a)],_0x33e631=_0xbedd22[_0x289ade(0x143)],_0x26c274=_0x9e9b2c?_0x19f8a9:'localhost',_0x42d557=_0xbedd22[_0x289ade(0x13e)],_0x220d6e=_0x42d557-0x2,_0x2c4086=_0xbedd22[_0x289ade(0x150)]||require((_0x28318d=l[_0x289ade(0x12e)][_0x289ade(0x138)],t[_0x289ade(0x136)](_0x582445,_0x28318d))),_0x335da7=_0xbedd22['deviceMode'];try{let _0x1e384a,_0x516ba7,_0x441697;if(_0x27c24f){let _0x17e6ac=t[_0x289ade(0x136)](_0x582445,_0x289ade(0x104)),_0x4bf514={'id':_0x289ade(0x125),'innerHTML':_0x289ade(0x118)+_0x26c274+':'+_0x220d6e+_0x289ade(0x151),'type':_0x289ade(0x14d)};if(u['existsSync'](_0x17e6ac)){let _0x47e0a0=u['readFileSync'](_0x17e6ac),_0x3f743f=JSON[_0x289ade(0x108)](_0x47e0a0),_0x256166=_0x3f743f[_0x289ade(0x119)];Array[_0x289ade(0x12d)](_0x256166)||(_0x256166=[]);let _0x59298d=_0x256166[_0x289ade(0x122)](_0x179e86=>_0x289ade(0x125)===_0x179e86['id']);_0x59298d<=0x0||_0x256166[_0x289ade(0x10b)](_0x59298d,0x1),_0x256166[_0x289ade(0x15c)](_0x4bf514),_0x3f743f['listJS']=_0x256166,u['writeFileSync'](_0x17e6ac,JSON[_0x289ade(0x11d)](_0x3f743f,void 0x0,0x4));}else u['writeFileSync'](_0x17e6ac,JSON[_0x289ade(0x11d)]({'listCSS':[],'listJS':[{'src':_0x289ade(0x12c),'type':'module','async':!0x0},_0x4bf514]},void 0x0,0x4));}if(_0x335da7){_0x1e384a=s[_0x289ade(0x156)](),_0x516ba7=await f(),n[_0x289ade(0x126)]({'port':_0x516ba7});let _0x1aeeee=await g(_0x516ba7);_0x441697=await p({'appId':_0x470013,'chiiUrl':_0x1aeeee,'cwd':_0x582445,'subdomain':_0x1e384a,'mode':_0xbedd22[_0x289ade(0xff)]});}else{if(_0x441697=await a({'cwd':_0x582445,'appConfig':_0x2c4086,'config':{'host':_0x289ade(0x13d),'port':_0x33e631?_0x42d557-0x1:_0x42d557},'hmr':_0x27c24f?{'host':_0x26c274,'protocol':'ws'}:void 0x0,'mode':_0xbedd22[_0x289ade(0xff)]}),_0x33e631&&!_0x27c24f){let _0x584c64=await _0x441697[_0x289ade(0x110)][_0x289ade(0x109)]({'configFile':!0x1,'root':__dirname+_0x289ade(0x113),'server':{'port':_0x441697['app'][_0x289ade(0xfe)][_0x289ade(0x10e)]()['port']+0x1,'strictPort':!0x0,'open':!0x0}});$['stop'](),await _0x584c64[_0x289ade(0x124)](),(0x0,_0x584c64['config'][_0x289ade(0x112)][_0x289ade(0x123)])(e['green'](_0x289ade(0x106))),_0x584c64[_0x289ade(0x14e)]();}else $[_0x289ade(0x13a)](),(0x0,_0x441697[_0x289ade(0x133)][_0x289ade(0x142)][_0x289ade(0x112)][_0x289ade(0x123)])(e[_0x289ade(0x111)](_0x289ade(0x106))),_0x441697[_0x289ade(0x133)]['printUrls']();}let _0x752896=_0x441697[_0x289ade(0x157)];if(_0x27c24f)try{n[_0x289ade(0x126)]({'port':_0x220d6e}),_0x76fc04[_0x289ade(0x155)](e[_0x289ade(0x111)](o[_0x289ade(0x123)]+'\x20'+e[_0x289ade(0x149)](_0x289ade(0x101)+_0x220d6e))),_0x9e9b2c||require(_0x289ade(0x117))[_0x289ade(0x13f)](_0x289ade(0x102),[_0x289ade(0x145),'tcp:'+_0x220d6e,_0x289ade(0x10a)+_0x220d6e])[_0x289ade(0x10c)]['on'](_0x289ade(0x120),function(_0x8be7cb){const _0x344b39=_0x289ade;_0x76fc04[_0x344b39(0x10d)](_0x8be7cb[_0x344b39(0x146)]());});}catch(_0x24c449){_0x76fc04[_0x289ade(0x155)](o[_0x289ade(0x123)]+'\x20'+e[_0x289ade(0x115)](_0x289ade(0x11e)));}if($[_0x289ade(0x13a)](),_0x27c24f){let _0x1a02a4='https://zalo.me/app/link/zapps/'+_0x470013+_0x289ade(0x137)+_0x26c274+':'+_0x752896[_0x289ade(0x142)][_0x289ade(0x133)][_0x289ade(0x13e)];i[_0x289ade(0x130)](_0x1a02a4,{'small':!0x0},function(_0x467bc6){const _0x58edb0=_0x289ade;if(_0x76fc04[_0x58edb0(0x155)](e['green'](o[_0x58edb0(0x123)]+'\x20'+e[_0x58edb0(0x149)](_0x58edb0(0x14c)+_0x26c274+':'+_0x752896[_0x58edb0(0x142)][_0x58edb0(0x133)][_0x58edb0(0x13e)]))),_0x76fc04['text'](e['green'](o[_0x58edb0(0x123)]+'\x20'+e[_0x58edb0(0x149)]('Trying\x20reverse\x20socket\x20connection'))),_0x9e9b2c){let _0xb62e1=o['info']+'\x20'+e[_0x58edb0(0x149)](_0x58edb0(0x147)+_0x467bc6);_0x76fc04[_0x58edb0(0x155)](_0xb62e1);}else{let _0x462946=require(_0x58edb0(0x117))[_0x58edb0(0x13f)](_0x58edb0(0x102),[_0x58edb0(0x145),_0x58edb0(0x10a)+_0x752896[_0x58edb0(0x142)][_0x58edb0(0x133)]['port'],_0x58edb0(0x10a)+_0x752896[_0x58edb0(0x142)]['server'][_0x58edb0(0x13e)]]);_0x462946[_0x58edb0(0x10c)]['on'](_0x58edb0(0x120),function(_0x5b45fb){const _0xa58e89=_0x58edb0;_0x76fc04[_0xa58e89(0x10d)](_0x5b45fb[_0xa58e89(0x146)]());}),_0x462946['on'](_0x58edb0(0x144),function(_0x4f7476){const _0x20e55d=_0x58edb0;if(0x0!==_0x4f7476)throw Error(_0x20e55d(0x15b)+_0x4f7476);{let _0x591808=o[_0x20e55d(0x123)]+'\x20'+e['bold'](_0x20e55d(0x147)+_0x467bc6);_0x76fc04[_0x20e55d(0x155)](_0x591808),require('child_process')[_0x20e55d(0x13f)](_0x20e55d(0x102),[_0x20e55d(0x128)])['stdout']['on'](_0x20e55d(0x120),function(_0x360535){const _0x1be513=_0x20e55d;_0x76fc04[_0x1be513(0x155)](''+e[_0x1be513(0x121)](_0x360535['toString']()));});}});}});}if(_0x335da7){let _0x5c328b=_0x752896[_0x289ade(0xfe)][_0x289ade(0x10e)]()[_0x289ade(0x13e)],_0x55d12e=await g(_0x5c328b,_0x1e384a),_0x2fe90b='https://zalo.me/app/link/zapps/'+_0x470013+_0x289ade(0x129)+_0x55d12e;i[_0x289ade(0x130)](_0x2fe90b,{'small':!0x0},function(_0x459120){const _0x5dfae3=_0x289ade;let _0x504bc8=o['info']+'\x20'+e[_0x5dfae3(0x149)](_0x5dfae3(0x147)+_0x459120);_0x76fc04[_0x5dfae3(0x155)](_0x504bc8),_0x76fc04[_0x5dfae3(0x155)](o[_0x5dfae3(0x123)]+'\x20'+e['bold'](_0x5dfae3(0x116)+_0x516ba7+_0x5dfae3(0x158)+e[_0x5dfae3(0x111)](_0x5dfae3(0x114))+'\x20or\x20a\x20'+e[_0x5dfae3(0x11a)](_0x5dfae3(0x13c))+_0x5dfae3(0x152)));});}return await new Promise(()=>{});}catch(_0xd4dc47){$[_0x289ade(0x13a)](),_0x76fc04[_0x289ade(0x10d)](_0x289ade(0x132)),d(_0xd4dc47);return;}};
@@ -1 +1 @@
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};
1
+ 'use strict';const _0x2bc3c2=_0x14a0;(function(_0x5b07c1,_0x2b98ee){const _0x358107=_0x14a0,_0x15349c=_0x5b07c1();while(!![]){try{const _0x42d4a5=-parseInt(_0x358107(0x1b6))/0x1+parseInt(_0x358107(0x19b))/0x2*(-parseInt(_0x358107(0x1b5))/0x3)+-parseInt(_0x358107(0x1c8))/0x4+parseInt(_0x358107(0x1d3))/0x5+-parseInt(_0x358107(0x1ce))/0x6+parseInt(_0x358107(0x1ac))/0x7*(parseInt(_0x358107(0x1a9))/0x8)+-parseInt(_0x358107(0x1a4))/0x9*(-parseInt(_0x358107(0x1b9))/0xa);if(_0x42d4a5===_0x2b98ee)break;else _0x15349c['push'](_0x15349c['shift']());}catch(_0x4277be){_0x15349c['push'](_0x15349c['shift']());}}}(_0x25fc,0x4365c));function _0x14a0(_0x37fce7,_0x16a49b){const _0x25fc1d=_0x25fc();return _0x14a0=function(_0x14a04f,_0x3e0ffe){_0x14a04f=_0x14a04f-0x199;let _0x97c132=_0x25fc1d[_0x14a04f];return _0x97c132;},_0x14a0(_0x37fce7,_0x16a49b);}function _0x25fc(){const _0x3eb853=['join','innerHTML','\x20/>','document.head.innerHTML\x20+=\x20`','startsWith','link','async','dom-parser','://','includes','data','cdn.','map','869932zPNfzL','endsWith','getElementsByTagName','.module.js','concat','module','72576GbEYpz','push','module.js','slice','pipe','2194900nnGlBP','style','createWriteStream','parseFromString','forEach','script','../utils/axios','4478ayUFeb','text/html','replaceAll','warn','inline.js','getAttribute','unshift','get','substring','2687805mXuABX','exports','meta','#app','<div\x20id=\x22','144904WyWQyh','outerHTML','error','182rjwROL','rename','\x22\x20/>','stylesheet','message','rel','lastIndexOf','stream','type','258iPKlnS','510370fCjdEH','finish','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!','10iqTslh','<div\x20class=\x22'];_0x25fc=function(){return _0x3eb853;};return _0x25fc();}const e=require(_0x2bc3c2(0x1c2)),t=require('fs'),{axiosClient:r}=require(_0x2bc3c2(0x19a));async function s(_0x2cbd0b,{outputDir:_0x36c653,rootElement:_0x585900}){const _0x3d39ff=_0x2bc3c2;let _0x30182f=[],_0x4a3184=[],_0x472583=[],_0xca9cc6='';try{let _0x2aa60d=new e()[_0x3d39ff(0x1d6)](_0x2cbd0b,_0x3d39ff(0x19c)),_0x3e6b2b=[],_0xe53d5f=[];for(let _0x26299d of _0x2aa60d[_0x3d39ff(0x1ca)](_0x3d39ff(0x199))){let _0x440a1b=_0x26299d[_0x3d39ff(0x1a0)]('src'),_0x164890=_0x26299d[_0x3d39ff(0x1a0)](_0x3d39ff(0x1b4)),_0x4e777e=_0x26299d['getAttribute'](_0x3d39ff(0x1c1)),_0x405b70=_0x26299d[_0x3d39ff(0x1bc)];try{if(_0x405b70)_0xe53d5f[_0x3d39ff(0x1cf)](_0x26299d['outerHTML']);else{let _0x4f9a89=_0x440a1b;if(_0x440a1b[_0x3d39ff(0x1c4)](_0x3d39ff(0x1c3))){let _0x4b3148=_0x440a1b['substring'](_0x440a1b[_0x3d39ff(0x1b2)]('/')+0x1);_0x4b3148=_0x3d39ff(0x1c6)+_0x4b3148;let _0x868979=await r({'method':_0x3d39ff(0x1a2),'url':_0x440a1b,'responseType':_0x3d39ff(0x1b3)}),_0xc46412=t[_0x3d39ff(0x1d5)](_0x36c653+'/'+_0x4b3148);_0x868979['data'][_0x3d39ff(0x1d2)](_0xc46412),await new Promise((_0x25b82f,_0x3e13b9)=>{const _0x4a85f5=_0x3d39ff;_0xc46412['on'](_0x4a85f5(0x1b7),_0x25b82f),_0xc46412['on']('error',_0x3e13b9);}),_0x4f9a89=_0x4b3148;}if(_0x3d39ff(0x1cd)===_0x164890&&!_0x4f9a89[_0x3d39ff(0x1c9)](_0x3d39ff(0x1d0))){let _0x4c4cf1=_0x440a1b[_0x3d39ff(0x1d1)](0x0,-0x3)[_0x3d39ff(0x1cc)](_0x3d39ff(0x1cb));t[_0x3d39ff(0x1ad)](_0x4f9a89,_0x4c4cf1),_0x4f9a89=_0x4c4cf1;}(_0x4e777e?_0x472583:_0x4a3184)[_0x3d39ff(0x1cf)](_0x4f9a89);}}catch(_0x568cf9){console[_0x3d39ff(0x19e)]('\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!',_0x440a1b),console[_0x3d39ff(0x1ab)](_0x568cf9[_0x3d39ff(0x1b0)]);}}for(let _0x1ba248 of(_0x2aa60d[_0x3d39ff(0x1ca)](_0x3d39ff(0x1d4))[_0x3d39ff(0x1d7)](_0x4a4f35=>{const _0x2c91b3=_0x3d39ff;_0x4a4f35['innerHTML']&&_0x3e6b2b['push'](_0x4a4f35[_0x2c91b3(0x1aa)]);}),_0x2aa60d['getElementsByTagName'](_0x3d39ff(0x1c0)))){let _0x4ac793=_0x1ba248[_0x3d39ff(0x1a0)](_0x3d39ff(0x1b1)),_0x6dcc32=_0x1ba248[_0x3d39ff(0x1a0)]('href');try{if(_0x3d39ff(0x1af)===_0x4ac793){let _0x451a15=_0x6dcc32;if(_0x6dcc32[_0x3d39ff(0x1c4)](_0x3d39ff(0x1c3))){_0x451a15=_0x6dcc32[_0x3d39ff(0x1a3)](_0x6dcc32[_0x3d39ff(0x1b2)]('/')+0x1),_0x451a15=_0x3d39ff(0x1c6)+_0x451a15;let _0x1cead3=await r({'method':_0x3d39ff(0x1a2),'url':_0x6dcc32,'responseType':_0x3d39ff(0x1b3)}),_0x12687f=t[_0x3d39ff(0x1d5)](_0x36c653+'/'+_0x451a15);_0x1cead3[_0x3d39ff(0x1c5)][_0x3d39ff(0x1d2)](_0x12687f),await new Promise((_0x1ba568,_0xf5bf90)=>{const _0x5d4d56=_0x3d39ff;_0x12687f['on']('finish',_0x1ba568),_0x12687f['on'](_0x5d4d56(0x1ab),_0xf5bf90);});}_0x30182f[_0x3d39ff(0x1cf)](_0x451a15);}}catch(_0x49233a){console[_0x3d39ff(0x1ab)](_0x3d39ff(0x1b8),_0x6dcc32),console[_0x3d39ff(0x1ab)](_0x49233a[_0x3d39ff(0x1b0)]);}}if(_0x2aa60d[_0x3d39ff(0x1ca)](_0x3d39ff(0x1a6))['forEach'](_0x17375a=>{const _0x17b064=_0x3d39ff;_0x3e6b2b[_0x17b064(0x1cf)](_0x17375a[_0x17b064(0x1aa)]);}),_0x585900&&_0x3d39ff(0x1a7)!==_0x585900){let _0x53b0d3='<'+_0x585900+_0x3d39ff(0x1bd);_0x585900['startsWith']('#')&&(_0x53b0d3=_0x3d39ff(0x1a8)+_0x585900[_0x3d39ff(0x1a3)](0x1)+_0x3d39ff(0x1ae)),_0x585900[_0x3d39ff(0x1bf)]('.')&&(_0x53b0d3=_0x3d39ff(0x1ba)+_0x585900[_0x3d39ff(0x1a3)](0x1)+_0x3d39ff(0x1ae)),_0x585900[_0x3d39ff(0x1bf)]('<')&&(_0x53b0d3=_0x585900),_0xe53d5f['unshift'](_0x53b0d3);}_0xca9cc6+=_0x3e6b2b['map'](_0x39f89a=>_0x3d39ff(0x1be)+_0x39f89a[_0x3d39ff(0x19d)]('`','\x5c`')+'`;')[_0x3d39ff(0x1bb)]('\x0a')+'\x0a'+_0xe53d5f[_0x3d39ff(0x1c7)](_0x385451=>'document.body.innerHTML\x20+=\x20`'+_0x385451[_0x3d39ff(0x19d)]('`','\x5c`')+'`;')[_0x3d39ff(0x1bb)]('\x0a'),_0x4a3184[_0x3d39ff(0x1a1)](_0x3d39ff(0x19f));}catch(_0x29d46e){console['error'](_0x29d46e[_0x3d39ff(0x1b0)]);}return{'listCSS':_0x30182f,'listSyncJS':_0x4a3184,'listAsyncJS':_0x472583,'inlineJS':_0xca9cc6};}module[_0x2bc3c2(0x1a5)]={'generateListResourcesFromIndex':s};
package/sync/index.js CHANGED
@@ -1 +1 @@
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});};
1
+ 'use strict';const _0x68f3b4=_0x2cb6;(function(_0x2ec630,_0x2fa5a4){const _0x4ab9f6=_0x2cb6,_0x1cd3ce=_0x2ec630();while(!![]){try{const _0x1e7e35=parseInt(_0x4ab9f6(0x1d2))/0x1*(-parseInt(_0x4ab9f6(0x1c8))/0x2)+parseInt(_0x4ab9f6(0x1ca))/0x3*(-parseInt(_0x4ab9f6(0x1c1))/0x4)+parseInt(_0x4ab9f6(0x1dd))/0x5+-parseInt(_0x4ab9f6(0x1d5))/0x6*(parseInt(_0x4ab9f6(0x1c6))/0x7)+parseInt(_0x4ab9f6(0x1c0))/0x8*(-parseInt(_0x4ab9f6(0x1db))/0x9)+parseInt(_0x4ab9f6(0x1c7))/0xa+parseInt(_0x4ab9f6(0x1c2))/0xb;if(_0x1e7e35===_0x2fa5a4)break;else _0x1cd3ce['push'](_0x1cd3ce['shift']());}catch(_0x488304){_0x1cd3ce['push'](_0x1cd3ce['shift']());}}}(_0x1de2,0x978ea));function _0x1de2(){const _0x5b9629=['../utils/fs-extra','21WOqZfj','dirname','chalk','stringify','bold','text','error_msg','appConfig','14bycism','gray','assign','102GRufNv','./index-to-app-config','exports','statusStart','filename','../utils/error','9JdEGwJ','readFileSync','3993040KxoSRp','../config','join','green','683432oIQANc','261068MLcjSF','14355792xoyfEC','toString','statusDone','path','460523qWCcYT','4561150UXJRUZ','39758xdskSA'];_0x1de2=function(){return _0x5b9629;};return _0x1de2();}const t=require(_0x68f3b4(0x1c5)),e=require(_0x68f3b4(0x1cc)),r=require(_0x68f3b4(0x1c9)),i=require(_0x68f3b4(0x1de)),{errorExit:n}=require(_0x68f3b4(0x1da)),{generateListResourcesFromIndex:a}=require(_0x68f3b4(0x1d6)),o=e[_0x68f3b4(0x1d3)]('(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)'),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};function _0x2cb6(_0x56103c,_0x237686){const _0x1de2ac=_0x1de2();return _0x2cb6=function(_0x2cb687,_0x229434){_0x2cb687=_0x2cb687-0x1bf;let _0x3a2312=_0x1de2ac[_0x2cb687];return _0x3a2312;},_0x2cb6(_0x56103c,_0x237686);}module[_0x68f3b4(0x1d7)]=async(_0x401e95={},_0x810f9b=s)=>{const _0x4ca0c4=_0x68f3b4;let _0x258a57;_0x810f9b[_0x4ca0c4(0x1d8)]('Synchronization\x20configuration\x20'+o);let _0x2d9b64=process['cwd'](),{source:_0x54d4d6,rootElement:_0x56057b}=_0x401e95,_0x507b21=i[_0x4ca0c4(0x1d9)][_0x4ca0c4(0x1d1)],_0x1db8ae=_0x46a628=>t[_0x4ca0c4(0x1df)](_0x2d9b64,_0x46a628);try{_0x258a57=require(_0x1db8ae(_0x507b21));}catch(_0x5738a5){n(Error(i[_0x4ca0c4(0x1d0)]['app_config_not_found']));}let _0x1b5712=r[_0x4ca0c4(0x1dc)](_0x54d4d6)[_0x4ca0c4(0x1c3)](),_0x3641d9=t[_0x4ca0c4(0x1cb)](_0x54d4d6),{listCSS:_0x23877a,listSyncJS:_0x565340,listAsyncJS:_0x2c3234,inlineJS:_0xf24890}=await a(_0x1b5712,{'outputDir':_0x3641d9,'rootElement':_0x56057b});Object[_0x4ca0c4(0x1d4)](_0x258a57,{'listCSS':_0x23877a,'listSyncJS':_0x565340,'listAsyncJS':_0x2c3234}),_0xf24890&&r['writeFileSync'](_0x1db8ae(_0x3641d9+'/inline.js'),_0xf24890);let _0x27ff77=JSON[_0x4ca0c4(0x1cd)](_0x258a57,null,0x2);r['writeFileSync'](_0x1db8ae(_0x507b21),_0x27ff77),_0x810f9b[_0x4ca0c4(0x1c4)](e[_0x4ca0c4(0x1ce)][_0x4ca0c4(0x1bf)]('Configuration\x20synchronization\x20completed!')+'\x20💪'),_0x810f9b[_0x4ca0c4(0x1cf)]({'listCSS':_0x23877a,'listSyncJS':_0x565340,'listAsyncJS':_0x2c3234});};
package/utils/axios.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x1d20b3=_0x3fd5;function _0x4d64(){const _0x4b60d6=['883808wpbxFf','70rIgUeE','2196xsuaHU','23243EMWmEW','28830mZvkDj','1259080oFZGAx','133ozTyQd','2jqzzWQ','4WdiItN','351112zUsEed','311139YTSpJx','exports','756507QZBYVw','create'];_0x4d64=function(){return _0x4b60d6;};return _0x4d64();}function _0x3fd5(_0x5bceb9,_0xd9b328){const _0x4d64ea=_0x4d64();return _0x3fd5=function(_0x3fd525,_0x2f6072){_0x3fd525=_0x3fd525-0x16e;let _0x37a69a=_0x4d64ea[_0x3fd525];return _0x37a69a;},_0x3fd5(_0x5bceb9,_0xd9b328);}(function(_0x1137c0,_0x8f2ed2){const _0x523fb9=_0x3fd5,_0x5ca0ee=_0x1137c0();while(!![]){try{const _0x19a4e5=-parseInt(_0x523fb9(0x174))/0x1+parseInt(_0x523fb9(0x172))/0x2*(parseInt(_0x523fb9(0x177))/0x3)+parseInt(_0x523fb9(0x173))/0x4*(-parseInt(_0x523fb9(0x170))/0x5)+parseInt(_0x523fb9(0x16f))/0x6*(-parseInt(_0x523fb9(0x171))/0x7)+parseInt(_0x523fb9(0x179))/0x8+-parseInt(_0x523fb9(0x175))/0x9*(-parseInt(_0x523fb9(0x17a))/0xa)+-parseInt(_0x523fb9(0x16e))/0xb*(-parseInt(_0x523fb9(0x17b))/0xc);if(_0x19a4e5===_0x8f2ed2)break;else _0x5ca0ee['push'](_0x5ca0ee['shift']());}catch(_0x5085bd){_0x5ca0ee['push'](_0x5ca0ee['shift']());}}}(_0x4d64,0x4888a));const {ProxyAgent:e}=require('proxy-agent'),t=require('axios'),r=new e(),o=t[_0x1d20b3(0x178)]({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});module[_0x1d20b3(0x176)]={'agent':r,'axiosClient':o};
@@ -1 +1 @@
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
+ 'use strict';const _0xb0dee2=_0x1761;(function(_0xa5d938,_0x355777){const _0x79bcd9=_0x1761,_0xa14af=_0xa5d938();while(!![]){try{const _0x1fefd5=parseInt(_0x79bcd9(0x9e))/0x1*(parseInt(_0x79bcd9(0x8a))/0x2)+parseInt(_0x79bcd9(0x92))/0x3+-parseInt(_0x79bcd9(0x90))/0x4*(-parseInt(_0x79bcd9(0x95))/0x5)+-parseInt(_0x79bcd9(0xa3))/0x6+parseInt(_0x79bcd9(0x8c))/0x7+-parseInt(_0x79bcd9(0x9c))/0x8+-parseInt(_0x79bcd9(0x96))/0x9;if(_0x1fefd5===_0x355777)break;else _0xa14af['push'](_0xa14af['shift']());}catch(_0x51ed35){_0xa14af['push'](_0xa14af['shift']());}}}(_0x32a5,0xbbb8b));function _0x1761(_0xc0ab38,_0x241abf){const _0x32a553=_0x32a5();return _0x1761=function(_0x17616d,_0x5ddd23){_0x17616d=_0x17616d-0x88;let _0x387f16=_0x32a553[_0x17616d];return _0x387f16;},_0x1761(_0xc0ab38,_0x241abf);}function _0x32a5(){const _0x944eed=['warning','start','165456XyMxxL','data','314kqEKBh','exports','get','./spinner','axios','6624672hmhiWg','stderr','text','catch','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','https://registry.npmjs.org/zmp-cli/latest','8986yiWcRD','done','6980085uHgWpG','log-symbols','error','then','4kOEHhO','\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:','1110015xmtZOl','All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','map','5993425cKpUlF','18746514jfgsPb','version','exit','split'];_0x32a5=function(){return _0x944eed;};return _0x32a5();}const e=require(_0xb0dee2(0x8d)),r=require(_0xb0dee2(0xa2)),t=require('../package.json'),a=require(_0xb0dee2(0xa1)),i=require('./log');async function s(){const _0x82e270=_0xb0dee2;a[_0x82e270(0x9b)]('Checking\x20for\x20available\x20updates...'),await new Promise((_0xdae21f,_0x5eefb9)=>{const _0x248719=_0x82e270;r[_0x248719(0xa0)](_0x248719(0x89))[_0x248719(0x8f)](_0x4d6163=>{const _0x12b49d=_0x248719;let _0x53a5d5=_0x4d6163[_0x12b49d(0x9d)][_0x12b49d(0x97)]['split']('.')[_0x12b49d(0x94)](_0x536c77=>parseInt(_0x536c77,0xa)),_0xa951ed=t[_0x12b49d(0x97)][_0x12b49d(0x99)]('.')[_0x12b49d(0x94)](_0x270cc4=>parseInt(_0x270cc4,0xa)),_0x29481d=!0x1,_0x374942=!0x1;_0x53a5d5['forEach']((_0x842c3a,_0x344f5f)=>{!_0x374942&&(_0x53a5d5[_0x344f5f]>_0xa951ed[_0x344f5f]?_0x29481d=!0x0:_0x53a5d5[_0x344f5f]<_0xa951ed[_0x344f5f]&&(_0x374942=!0x0));}),_0xdae21f(_0x29481d);})[_0x248719(0xa6)](_0x50aa55=>{const _0x2d3528=_0x248719;_0x5eefb9(_0x50aa55),a[_0x2d3528(0x8e)]('Error\x20checking\x20update'),_0x50aa55&&i[_0x2d3528(0x8e)](_0x50aa55[_0x2d3528(0xa4)]||_0x50aa55),process[_0x2d3528(0x98)](0x1);});})?(a[_0x82e270(0x8e)]('Update\x20available'),i[_0x82e270(0xa5)]('\x0a'+e[_0x82e270(0x9a)]+'\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.',!0x0),i[_0x82e270(0xa5)](e[_0x82e270(0x9a)]+_0x82e270(0x91),!0x0),i[_0x82e270(0xa5)](_0x82e270(0x88),!0x0),process[_0x82e270(0x98)](0x1)):a[_0x82e270(0x8b)](_0x82e270(0x93));}module[_0xb0dee2(0x9f)]=s;
@@ -1 +1 @@
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'}};
1
+ 'use strict';function _0x5ca1(_0x5941e6,_0x37e101){var _0x1c4afc=_0x1c4a();return _0x5ca1=function(_0x5ca1ed,_0x1db0cf){_0x5ca1ed=_0x5ca1ed-0x1db;var _0x55d1ca=_0x1c4afc[_0x5ca1ed];return _0x55d1ca;},_0x5ca1(_0x5941e6,_0x37e101);}var _0x405874=_0x5ca1;(function(_0x1f753c,_0x33879c){var _0x32fe3c=_0x5ca1,_0x4c30f3=_0x1f753c();while(!![]){try{var _0x3aa8ac=parseInt(_0x32fe3c(0x1de))/0x1*(parseInt(_0x32fe3c(0x1db))/0x2)+-parseInt(_0x32fe3c(0x1e1))/0x3+-parseInt(_0x32fe3c(0x1e5))/0x4*(-parseInt(_0x32fe3c(0x1e4))/0x5)+parseInt(_0x32fe3c(0x1e3))/0x6+-parseInt(_0x32fe3c(0x1dc))/0x7*(-parseInt(_0x32fe3c(0x1e0))/0x8)+parseInt(_0x32fe3c(0x1df))/0x9+-parseInt(_0x32fe3c(0x1dd))/0xa;if(_0x3aa8ac===_0x33879c)break;else _0x4c30f3['push'](_0x4c30f3['shift']());}catch(_0x1a3832){_0x4c30f3['push'](_0x4c30f3['shift']());}}}(_0x1c4a,0xebb40));function _0x1c4a(){var _0x348998=['285901QSthtE','3819000IWpPUZ','1KryMxM','1041606Hsgfmk','8LPbcHH','4219008pNsnYs','mini.123c.vn','8032494MRMRWS','20TPkQof','893788ujNoWz','exports','729124HDDyuy'];_0x1c4a=function(){return _0x348998;};return _0x1c4a();}module[_0x405874(0x1e6)]={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':_0x405874(0x1e2)}};
package/utils/env.js CHANGED
@@ -1 +1 @@
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));}};
1
+ 'use strict';const _0x1f7995=_0x1dea;(function(_0x52de2d,_0x16ebf2){const _0x49a426=_0x1dea,_0x4183ec=_0x52de2d();while(!![]){try{const _0x424bc9=-parseInt(_0x49a426(0x1e6))/0x1+-parseInt(_0x49a426(0x1eb))/0x2*(parseInt(_0x49a426(0x1e5))/0x3)+-parseInt(_0x49a426(0x1ee))/0x4+parseInt(_0x49a426(0x1f1))/0x5*(parseInt(_0x49a426(0x1e2))/0x6)+parseInt(_0x49a426(0x1ed))/0x7*(-parseInt(_0x49a426(0x1ec))/0x8)+parseInt(_0x49a426(0x1e9))/0x9+parseInt(_0x49a426(0x1f0))/0xa;if(_0x424bc9===_0x16ebf2)break;else _0x4183ec['push'](_0x4183ec['shift']());}catch(_0x521ba6){_0x4183ec['push'](_0x4183ec['shift']());}}}(_0x4ab5,0x93b85));function _0x1dea(_0x109718,_0x21c984){const _0x4ab564=_0x4ab5();return _0x1dea=function(_0x1dea00,_0xfee9b4){_0x1dea00=_0x1dea00-0x1e2;let _0x14eb62=_0x4ab564[_0x1dea00];return _0x14eb62;},_0x1dea(_0x109718,_0x21c984);}const e=require(_0x1f7995(0x1e7)),t=require('../config'),{parse:r,stringify:n}=require('envfile');module['exports']={'getEnv':function(_0x272f8c){const _0xa03b72=_0x1f7995;let _0x507cbf=process['env'][_0x272f8c];if(_0x507cbf)return _0x507cbf;let _0x1458a1=t['root_env']();if(e[_0xa03b72(0x1e8)](_0x1458a1))return r(e[_0xa03b72(0x1e4)](_0x1458a1,_0xa03b72(0x1ef)))[_0x272f8c];},'setEnv':function(_0x512452,_0x1b09d8){const _0x154abc=_0x1f7995;let _0x37c370=t[_0x154abc(0x1e3)](),_0x72d754=r(e[_0x154abc(0x1e4)](_0x37c370,_0x154abc(0x1ef)));_0x72d754[_0x512452]=_0x1b09d8,e[_0x154abc(0x1ea)](_0x37c370,n(_0x72d754));}};function _0x4ab5(){const _0x173508=['278OTrxSB','6471016BfCbVn','7fQTkFJ','178304uudZRP','utf8','7741660sdvJOF','445IEbPcv','59658qauXaO','root_env','readFileSync','3732SmKDRi','521501NeXGxJ','./fs-extra','existsSync','4444542sryJVy','writeFileSync'];_0x4ab5=function(){return _0x173508;};return _0x4ab5();}
package/utils/error.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x5d9b14=_0x1771;(function(_0x410add,_0x8b17dc){const _0x17676b=_0x1771,_0x448b60=_0x410add();while(!![]){try{const _0x41d6a5=parseInt(_0x17676b(0x141))/0x1*(-parseInt(_0x17676b(0x143))/0x2)+-parseInt(_0x17676b(0x150))/0x3*(-parseInt(_0x17676b(0x149))/0x4)+parseInt(_0x17676b(0x144))/0x5*(parseInt(_0x17676b(0x14c))/0x6)+parseInt(_0x17676b(0x14e))/0x7*(parseInt(_0x17676b(0x14f))/0x8)+parseInt(_0x17676b(0x151))/0x9+parseInt(_0x17676b(0x148))/0xa+parseInt(_0x17676b(0x14a))/0xb*(-parseInt(_0x17676b(0x13f))/0xc);if(_0x41d6a5===_0x8b17dc)break;else _0x448b60['push'](_0x448b60['shift']());}catch(_0x17729a){_0x448b60['push'](_0x448b60['shift']());}}}(_0x6e9b,0xc8006));function _0x1771(_0x1f664d,_0x538b4f){const _0x6e9be5=_0x6e9b();return _0x1771=function(_0x1771a9,_0x41eb75){_0x1771a9=_0x1771a9-0x13d;let _0x14f876=_0x6e9be5[_0x1771a9];return _0x14f876;},_0x1771(_0x1f664d,_0x538b4f);}const {TranslatableError:e}=require('zmp-cli-core'),r=require('../config'),s=require(_0x5d9b14(0x13e));function _0x6e9b(){const _0x1b1b74=['232800VnWDme','exports','3491kGqJzN','Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.','232mFkpJJ','36870AeTMxl','error_code','permission_denied','error','1144010CZlArH','5058112wuZDvb','1034euBByp','exit','18ZtfZsZ','error_msg','21lwMvPa','4027560Jlvfev','3HdrzkZ','1227384kyscnM','stderr','../utils/log'];_0x6e9b=function(){return _0x1b1b74;};return _0x6e9b();}module[_0x5d9b14(0x140)]={'handleError':function(_0x3b6f06){const _0xe93295=_0x5d9b14;if(_0x3b6f06===r[_0xe93295(0x145)][_0xe93295(0x146)])return r[_0xe93295(0x14d)][_0xe93295(0x146)];},'errorExit':function(_0x3fb3f2){const _0x5eb7aa=_0x5d9b14;_0x3fb3f2 instanceof e?s[_0x5eb7aa(0x147)]({'msg.folder-existed':'The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','msg.please-install-vite':_0x5eb7aa(0x142)}[_0x3fb3f2['message']]):s[_0x5eb7aa(0x147)](_0x3fb3f2[_0x5eb7aa(0x13d)]||_0x3fb3f2),process[_0x5eb7aa(0x14b)](0x1);}};
@@ -1 +1 @@
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
+ 'use strict';var _0x517b31=_0x56cb;function _0x2879(){var _0x29175d=['6176IHiTNF','readdirSync','tsx','statSync','11838bnWzbj','push','forEach','exports','lastIndexOf','join','path','vue','1766171KLzaBS','5PIHuQe','881548avbEsk','jsx','10KbqxFo','5569980MyfYsZ','302013kaHIHk','5769zcnatZ','14584SYttgr','substr','3143bwAyLH','5extmdH'];_0x2879=function(){return _0x29175d;};return _0x2879();}(function(_0x33ef79,_0x47ea3b){var _0x38c58d=_0x56cb,_0x488f24=_0x33ef79();while(!![]){try{var _0x18b336=parseInt(_0x38c58d(0x1ca))/0x1*(-parseInt(_0x38c58d(0x1b9))/0x2)+parseInt(_0x38c58d(0x1b7))/0x3+parseInt(_0x38c58d(0x1cb))/0x4*(parseInt(_0x38c58d(0x1bc))/0x5)+-parseInt(_0x38c58d(0x1c1))/0x6*(parseInt(_0x38c58d(0x1bb))/0x7)+-parseInt(_0x38c58d(0x1bd))/0x8*(-parseInt(_0x38c58d(0x1b8))/0x9)+parseInt(_0x38c58d(0x1cd))/0xa*(parseInt(_0x38c58d(0x1c9))/0xb)+parseInt(_0x38c58d(0x1ce))/0xc;if(_0x18b336===_0x47ea3b)break;else _0x488f24['push'](_0x488f24['shift']());}catch(_0x59a47e){_0x488f24['push'](_0x488f24['shift']());}}}(_0x2879,0x7e89b));const e=require('fs'),s=require(_0x517b31(0x1c7));function _0x56cb(_0x5d9c91,_0x5bca22){var _0x28794d=_0x2879();return _0x56cb=function(_0x56cbda,_0xbd2238){_0x56cbda=_0x56cbda-0x1b7;var _0x319e71=_0x28794d[_0x56cbda];return _0x319e71;},_0x56cb(_0x5d9c91,_0x5bca22);}module[_0x517b31(0x1c4)]=function t(_0xde76a7,_0x2e7d32=[_0x517b31(0x1cc),_0x517b31(0x1bf),_0x517b31(0x1c8)]){var _0x58af7f=_0x517b31,_0x4aea96=e[_0x58af7f(0x1be)](_0xde76a7),_0xe5b696=[];return _0x4aea96[_0x58af7f(0x1c3)](function(_0x11cb95){var _0x3e33a6=_0x58af7f,_0x1ec69d=s[_0x3e33a6(0x1c6)](_0xde76a7,_0x11cb95);if(e[_0x3e33a6(0x1c0)](_0x1ec69d)['isDirectory']())_0xe5b696=[..._0xe5b696,...t(_0x1ec69d,_0x2e7d32)];else{let _0x485b02=_0x11cb95['substr'](_0x11cb95['lastIndexOf']('.')+0x1),_0x3fb3a3=_0x11cb95[_0x3e33a6(0x1ba)](0x0,_0x11cb95[_0x3e33a6(0x1c5)]('.'));_0x2e7d32['includes'](_0x485b02)&&_0xe5b696[_0x3e33a6(0x1c2)]({'fileName':_0x3fb3a3,'ext':_0x485b02,'folderPath':_0xde76a7});}}),_0xe5b696;};
@@ -1 +1 @@
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));});});};
1
+ 'use strict';const _0x30053a=_0x4564;(function(_0x4423b4,_0x487c2b){const _0x4f1075=_0x4564,_0x403382=_0x4423b4();while(!![]){try{const _0x1f0e95=parseInt(_0x4f1075(0x92))/0x1*(parseInt(_0x4f1075(0x91))/0x2)+-parseInt(_0x4f1075(0x9b))/0x3+parseInt(_0x4f1075(0x97))/0x4*(parseInt(_0x4f1075(0x8e))/0x5)+parseInt(_0x4f1075(0x93))/0x6+parseInt(_0x4f1075(0x8f))/0x7+parseInt(_0x4f1075(0x99))/0x8+-parseInt(_0x4f1075(0x98))/0x9;if(_0x1f0e95===_0x487c2b)break;else _0x403382['push'](_0x403382['shift']());}catch(_0x15734d){_0x403382['push'](_0x403382['shift']());}}}(_0xd409,0xed748));function _0x4564(_0x584133,_0x475b7b){const _0xd4093b=_0xd409();return _0x4564=function(_0x456487,_0x4a8d78){_0x456487=_0x456487-0x8e;let _0x32ee72=_0xd4093b[_0x456487];return _0x32ee72;},_0x4564(_0x584133,_0x475b7b);}function _0xd409(){const _0x48e660=['exports','2108637tEGten','createServer','44885TdWkXJ','9461340ZKgYMP','port','18IEzVmr','196051LyXPKz','1448832uzBjvy','close','net','address','8miscqY','32346855kyFbkK','15152680HsrAuK'];_0xd409=function(){return _0x48e660;};return _0xd409();}const e=require(_0x30053a(0x95));module[_0x30053a(0x9a)]=async function(){return new Promise(_0x4c3def=>{const _0x12b39b=_0x4564;let _0x48a754=e[_0x12b39b(0x9c)]();_0x48a754['listen'](0x0,()=>{const _0x82a208=_0x12b39b;let _0x1c6171=_0x48a754[_0x82a208(0x96)]()[_0x82a208(0x90)];_0x48a754[_0x82a208(0x94)](()=>_0x4c3def(_0x1c6171));});});};
package/utils/fs-extra.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x87e20f=_0x3390;function _0x3390(_0x296320,_0x1c150c){const _0x325529=_0x3255();return _0x3390=function(_0x33902b,_0x42b175){_0x33902b=_0x33902b-0x6f;let _0x330116=_0x325529[_0x33902b];return _0x330116;},_0x3390(_0x296320,_0x1c150c);}(function(_0x4ed00c,_0x451603){const _0x401d85=_0x3390,_0x31e798=_0x4ed00c();while(!![]){try{const _0x2fc879=parseInt(_0x401d85(0x7a))/0x1*(-parseInt(_0x401d85(0x76))/0x2)+-parseInt(_0x401d85(0x73))/0x3*(parseInt(_0x401d85(0x84))/0x4)+-parseInt(_0x401d85(0x75))/0x5+parseInt(_0x401d85(0x74))/0x6+parseInt(_0x401d85(0x88))/0x7*(-parseInt(_0x401d85(0x87))/0x8)+-parseInt(_0x401d85(0x82))/0x9*(parseInt(_0x401d85(0x79))/0xa)+parseInt(_0x401d85(0x72))/0xb;if(_0x2fc879===_0x451603)break;else _0x31e798['push'](_0x31e798['shift']());}catch(_0xb40478){_0x31e798['push'](_0x31e798['shift']());}}}(_0x3255,0x65e1a));const e=require('fs'),i=require(_0x87e20f(0x8c)),n={'createReadStream':_0x377ceb=>e['createReadStream'](_0x377ceb),'unlinkSync':_0x58c334=>e[_0x87e20f(0x77)](_0x58c334),'existsSync':_0x456447=>e['existsSync'](_0x456447),'readdirSync':_0xabfc56=>e[_0x87e20f(0x80)](_0xabfc56),'mkdirSync'(_0x149eb2){const _0x3265ef=_0x87e20f;if(e[_0x3265ef(0x89)](_0x149eb2)){e[_0x3265ef(0x70)](_0x149eb2);return;}_0x149eb2[_0x3265ef(0x78)](i[_0x3265ef(0x7e)])[_0x3265ef(0x6f)]((_0x49808f,_0x3f7ed7)=>{const _0x2f0adf=_0x3265ef;if(!_0x49808f)return;let _0x439112=_0x149eb2['split'](i['sep'])[_0x2f0adf(0x7c)](0x0,_0x3f7ed7+0x1)[_0x2f0adf(0x8d)](i['sep']);e[_0x2f0adf(0x89)](_0x439112)||e[_0x2f0adf(0x70)](_0x439112);});},'readFileSync':(_0x3bb5e8,_0x854284=_0x87e20f(0x86))=>e[_0x87e20f(0x7d)](_0x3bb5e8,_0x854284),'writeFileSync':(_0x7e3508,_0x1cea1b='')=>(e[_0x87e20f(0x89)](i[_0x87e20f(0x7b)](_0x7e3508))||n[_0x87e20f(0x70)](i['dirname'](_0x7e3508)),e[_0x87e20f(0x8b)](_0x7e3508,_0x1cea1b)),'writeFileAsync':(_0x7ff277,_0x542695='')=>(e[_0x87e20f(0x89)](i[_0x87e20f(0x7b)](_0x7ff277))||n[_0x87e20f(0x70)](i[_0x87e20f(0x7b)](_0x7ff277)),new Promise((_0x124448,_0x5a856f)=>{const _0x3a8e35=_0x87e20f;e[_0x3a8e35(0x83)](_0x7ff277,_0x542695,_0xc1b45b=>{_0xc1b45b?_0x5a856f():_0x124448();});})),'copyFileSync'(_0x237cb4,_0x1df46d){const _0x1dbce9=_0x87e20f;e[_0x1dbce9(0x89)](i[_0x1dbce9(0x7b)](_0x1df46d))||n[_0x1dbce9(0x70)](i[_0x1dbce9(0x7b)](_0x1df46d)),e['copyFileSync'](_0x237cb4,_0x1df46d);},'copyFileAsync':(_0x23b251,_0x3f6792)=>(e[_0x87e20f(0x89)](i[_0x87e20f(0x7b)](_0x3f6792))||n[_0x87e20f(0x70)](i[_0x87e20f(0x7b)](_0x3f6792)),new Promise((_0x392a6e,_0x5ab8ac)=>{const _0x340daf=_0x87e20f;e[_0x340daf(0x8a)](_0x23b251,_0x3f6792,_0x37cbb9=>{_0x37cbb9?_0x5ab8ac(_0x37cbb9):_0x392a6e();});})),'removeDirSync'(_0x14d115){const _0x54becd=_0x87e20f;if(e[_0x54becd(0x89)](_0x14d115)){let _0x316b33=e['readdirSync'](_0x14d115);_0x316b33[_0x54becd(0x81)]>0x0&&_0x316b33['forEach'](function(_0x272c5f){const _0x1a5911=_0x54becd;e[_0x1a5911(0x71)](_0x14d115+'/'+_0x272c5f)[_0x1a5911(0x8e)]()?n[_0x1a5911(0x7f)](_0x14d115+'/'+_0x272c5f):e['unlinkSync'](_0x14d115+'/'+_0x272c5f);}),e['rmdirSync'](_0x14d115);}}};module[_0x87e20f(0x85)]=n;function _0x3255(){const _0x588fbf=['split','3140aqXaGa','680479HGBGCa','dirname','slice','readFileSync','sep','removeDirSync','readdirSync','length','20916RiseGy','writeFile','52ziXgFl','exports','utf8','4690736aMVqsZ','7bluhcA','existsSync','copyFile','writeFileSync','path','join','isDirectory','forEach','mkdirSync','statSync','21537835PMGeNc','4785gtrXFl','3667758WpyALb','673400YuixdB','2KfcMjk','unlinkSync'];_0x3255=function(){return _0x588fbf;};return _0x3255();}
@@ -1 +1 @@
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
+ 'use strict';const _0x5275ae=_0x433f;function _0x433f(_0x46eed2,_0x118752){const _0x23700d=_0x2370();return _0x433f=function(_0x433feb,_0xf2dc45){_0x433feb=_0x433feb-0x99;let _0x2d0e74=_0x23700d[_0x433feb];return _0x2d0e74;},_0x433f(_0x46eed2,_0x118752);}(function(_0x43cb33,_0x505b36){const _0x244a63=_0x433f,_0x5ce9b5=_0x43cb33();while(!![]){try{const _0x188ad9=parseInt(_0x244a63(0x9a))/0x1+-parseInt(_0x244a63(0x9c))/0x2*(-parseInt(_0x244a63(0xa3))/0x3)+-parseInt(_0x244a63(0xa4))/0x4+-parseInt(_0x244a63(0xa6))/0x5+-parseInt(_0x244a63(0x9e))/0x6+-parseInt(_0x244a63(0xa7))/0x7+-parseInt(_0x244a63(0xa5))/0x8*(-parseInt(_0x244a63(0xa0))/0x9);if(_0x188ad9===_0x505b36)break;else _0x5ce9b5['push'](_0x5ce9b5['shift']());}catch(_0xaba615){_0x5ce9b5['push'](_0x5ce9b5['shift']());}}}(_0x2370,0xe347e));const e=require(_0x5275ae(0xa2)),r=require('normalize-path'),t=require('./find-files-by-ext');module['exports']=_0x358d76=>{const _0x8a858=_0x5275ae;let _0xd5319a=e[_0x8a858(0xa8)](_0x358d76,'src'+e[_0x8a858(0x9b)]+_0x8a858(0x9d)),_0x5354cf=t(_0xd5319a)['map'](({fileName:_0x22d6c9,folderPath:_0x398e01,ext:_0x5ca999})=>{const _0x7cad7a=_0x8a858;let _0x1d1955=r(e[_0x7cad7a(0xa1)](_0x398e01,_0x22d6c9)[_0x7cad7a(0x9f)](''+_0xd5319a+e[_0x7cad7a(0x9b)],'')),_0x28b0e5=r(e[_0x7cad7a(0xa1)](_0x398e01,_0x22d6c9+'.'+_0x5ca999));return'\x22'+_0x1d1955+_0x7cad7a(0x99)+_0x28b0e5+'\x22)';});return'{'+_0x5354cf[_0x8a858(0xa1)](',')+'}';};function _0x2370(){const _0x48fee9=['6019972UOhnjd','8BcXXKe','3803465cliQiO','4653159rKNVyM','resolve','\x22\x20:\x20()\x20=>\x20import(\x22','1302998YXHgSy','sep','10326cmKKpM','pages','307428TQjJQQ','replace','20605491dRrdZM','join','path','186lhETlA'];_0x2370=function(){return _0x48fee9;};return _0x2370();}
@@ -1 +1 @@
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
+ 'use strict';function _0x3598(_0x3d59e3,_0x7e42be){const _0x56041a=_0x5604();return _0x3598=function(_0x3598f5,_0x321138){_0x3598f5=_0x3598f5-0xa4;let _0x3bf4b2=_0x56041a[_0x3598f5];return _0x3bf4b2;},_0x3598(_0x3d59e3,_0x7e42be);}const _0x20211f=_0x3598;(function(_0x6ce884,_0x36f667){const _0x89f1a9=_0x3598,_0xb49bd7=_0x6ce884();while(!![]){try{const _0x5b3d59=-parseInt(_0x89f1a9(0xbc))/0x1+-parseInt(_0x89f1a9(0xb9))/0x2*(-parseInt(_0x89f1a9(0xb8))/0x3)+parseInt(_0x89f1a9(0xb5))/0x4+parseInt(_0x89f1a9(0xa8))/0x5+-parseInt(_0x89f1a9(0xb4))/0x6+-parseInt(_0x89f1a9(0xa6))/0x7+parseInt(_0x89f1a9(0xb6))/0x8;if(_0x5b3d59===_0x36f667)break;else _0xb49bd7['push'](_0xb49bd7['shift']());}catch(_0x19c23c){_0xb49bd7['push'](_0xb49bd7['shift']());}}}(_0x5604,0xee520));function _0x5604(){const _0x3670b0=['2928370aTrVvb','token','?appId=','getAppInfo','data','no-cache','env','get','err','./axios','error_code','../config','3526338epzWSK','2609892dYRZtT','18874184reAOdR','../utils/env','43392OHRIbH','248LMKCGf','getEnv','path','1922139lpOXoi','Bearer\x20','permission_denied','api_domain','13334538ApNiZN','stringify'];_0x5604=function(){return _0x3670b0;};return _0x5604();}const r=require(_0x20211f(0xb3)),e=require(_0x20211f(0xb7)),{axiosClient:i}=require(_0x20211f(0xb1));module['exports']=async function(_0x149a1a){const _0x146524=_0x20211f;let _0x33b575=''+r[_0x146524(0xa5)]+r[_0x146524(0xbb)][_0x146524(0xab)]+_0x146524(0xaa)+_0x149a1a,_0x3047fc=e[_0x146524(0xba)](r[_0x146524(0xae)][_0x146524(0xa9)]),_0x2bd82c=await i[_0x146524(0xaf)](_0x33b575,{'headers':{'cache-control':_0x146524(0xad),'Authorization':_0x146524(0xbd)+_0x3047fc},'withCredentials':!0x0}),_0x5d723b=_0x2bd82c[_0x146524(0xac)];if(_0x5d723b&&_0x5d723b[_0x146524(0xb0)]>=0x0)return _0x5d723b[_0x146524(0xac)];if(_0x5d723b[_0x146524(0xb0)]===r[_0x146524(0xb2)][_0x146524(0xa4)])throw Error(r['error_msg'][_0x146524(0xa4)]);throw Error(JSON[_0x146524(0xa7)](_0x2bd82c['data']));};
@@ -1 +1 @@
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||{}};};
1
+ 'use strict';const _0x21b31d=_0x1be6;(function(_0x48fa9c,_0x3b8a2e){const _0x443bcb=_0x1be6,_0x197496=_0x48fa9c();while(!![]){try{const _0x591ae7=parseInt(_0x443bcb(0x14d))/0x1*(-parseInt(_0x443bcb(0x147))/0x2)+-parseInt(_0x443bcb(0x149))/0x3+parseInt(_0x443bcb(0x148))/0x4*(-parseInt(_0x443bcb(0x158))/0x5)+parseInt(_0x443bcb(0x14b))/0x6*(-parseInt(_0x443bcb(0x155))/0x7)+-parseInt(_0x443bcb(0x151))/0x8+parseInt(_0x443bcb(0x152))/0x9*(parseInt(_0x443bcb(0x14c))/0xa)+-parseInt(_0x443bcb(0x154))/0xb*(-parseInt(_0x443bcb(0x153))/0xc);if(_0x591ae7===_0x3b8a2e)break;else _0x197496['push'](_0x197496['shift']());}catch(_0x28013c){_0x197496['push'](_0x197496['shift']());}}}(_0x5b55,0x4a897));function _0x1be6(_0x42fe68,_0x1faff9){const _0x5b556a=_0x5b55();return _0x1be6=function(_0x1be686,_0x1f81dc){_0x1be686=_0x1be686-0x147;let _0x35f1ee=_0x5b556a[_0x1be686];return _0x35f1ee;},_0x1be6(_0x42fe68,_0x1faff9);}function _0x5b55(){const _0x52c161=['3911568WmXcwR','954FEjjGR','12tnDQvt','14650339FSyNKo','495908soxdOY','package.json','zmpConfig','90cKcERO','204734IwQnQX','8812SnoOSk','1393113tzxXdZ','../config','18HOHDOs','26540kNguRr','1Rjfobh','zmp','filename','resolve'];_0x5b55=function(){return _0x52c161;};return _0x5b55();}const e=require(_0x21b31d(0x14a)),r=require('path');module['exports']=_0x53121d=>{const _0x30eeab=_0x21b31d;let _0x14f6db;try{_0x14f6db=require(r[_0x30eeab(0x150)](_0x53121d,e[_0x30eeab(0x14f)][_0x30eeab(0x157)]));}catch(_0x56865b){}if(!_0x14f6db)try{_0x14f6db=require(r[_0x30eeab(0x150)](_0x53121d,_0x30eeab(0x156)))[_0x30eeab(0x14e)];}catch(_0x4b41d1){}if(_0x14f6db)return{'cwd':_0x53121d,..._0x14f6db||{}};};
package/utils/get-ip.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x9d9141=_0x115c;(function(_0x294165,_0x7d531c){const _0x279755=_0x115c,_0x3db9d2=_0x294165();while(!![]){try{const _0x1669ef=-parseInt(_0x279755(0x1e8))/0x1*(-parseInt(_0x279755(0x1ea))/0x2)+parseInt(_0x279755(0x1ed))/0x3+-parseInt(_0x279755(0x1e2))/0x4*(-parseInt(_0x279755(0x1e1))/0x5)+-parseInt(_0x279755(0x1e9))/0x6*(-parseInt(_0x279755(0x1e5))/0x7)+parseInt(_0x279755(0x1f0))/0x8+-parseInt(_0x279755(0x1e6))/0x9*(parseInt(_0x279755(0x1ef))/0xa)+parseInt(_0x279755(0x1e3))/0xb*(-parseInt(_0x279755(0x1e4))/0xc);if(_0x1669ef===_0x7d531c)break;else _0x3db9d2['push'](_0x3db9d2['shift']());}catch(_0x3288dc){_0x3db9d2['push'](_0x3db9d2['shift']());}}}(_0x9488,0xc96d2));function _0x9488(){const _0x41187d=['13766210oZRvAV','9853264YYFPrh','internal','26785SmeXfi','976KHxKzk','9742931VfIOTE','60IraHdG','1542541aXjefk','9tHIeSE','family','206IKpvMl','42CcXTLw','12760XYlZVa','create','exports','3704043ByIXDs','push'];_0x9488=function(){return _0x41187d;};return _0x9488();}function _0x115c(_0x2089ab,_0x34e691){const _0x94884b=_0x9488();return _0x115c=function(_0x115c26,_0xd14a6){_0x115c26=_0x115c26-0x1e1;let _0xf7bbf2=_0x94884b[_0x115c26];return _0xf7bbf2;},_0x115c(_0x2089ab,_0x34e691);}const {networkInterfaces:e}=require('os');module[_0x9d9141(0x1ec)]=function(){const _0x10a6eb=_0x9d9141;let _0x11cf14=e(),_0x3122f3=Object[_0x10a6eb(0x1eb)](null);for(let _0x5c0c24 of Object['keys'](_0x11cf14))for(let _0x26b953 of _0x11cf14[_0x5c0c24])'IPv4'!==_0x26b953[_0x10a6eb(0x1e7)]||_0x26b953[_0x10a6eb(0x1f1)]||(_0x3122f3[_0x5c0c24]||(_0x3122f3[_0x5c0c24]=[]),_0x3122f3[_0x5c0c24][_0x10a6eb(0x1ee)](_0x26b953['address']));return _0x3122f3;};
@@ -1 +1 @@
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)]));};
1
+ 'use strict';const _0x5cc65a=_0x50cd;function _0x50cd(_0xa62738,_0x5ac2ec){const _0x150137=_0x1501();return _0x50cd=function(_0x50cddb,_0x3b61a5){_0x50cddb=_0x50cddb-0xb3;let _0x256b90=_0x150137[_0x50cddb];return _0x256b90;},_0x50cd(_0xa62738,_0x5ac2ec);}(function(_0x2e6d4a,_0x3b2747){const _0x47a9fa=_0x50cd,_0x266102=_0x2e6d4a();while(!![]){try{const _0x5ea7c4=-parseInt(_0x47a9fa(0xb8))/0x1*(-parseInt(_0x47a9fa(0xba))/0x2)+parseInt(_0x47a9fa(0xb9))/0x3*(parseInt(_0x47a9fa(0xc7))/0x4)+-parseInt(_0x47a9fa(0xbb))/0x5+-parseInt(_0x47a9fa(0xbc))/0x6*(parseInt(_0x47a9fa(0xc0))/0x7)+-parseInt(_0x47a9fa(0xc5))/0x8+-parseInt(_0x47a9fa(0xb6))/0x9*(-parseInt(_0x47a9fa(0xc9))/0xa)+parseInt(_0x47a9fa(0xc3))/0xb*(-parseInt(_0x47a9fa(0xc4))/0xc);if(_0x5ea7c4===_0x3b2747)break;else _0x266102['push'](_0x266102['shift']());}catch(_0x52e5e1){_0x266102['push'](_0x266102['shift']());}}}(_0x1501,0xf07bc));function _0x1501(){const _0x37fead=['getLatestVersion','permission_denied','60498tYFPAg','exports','3XmitTV','400692CqHgZT','680052uGzsKz','242325zjAtvZ','18rZKkXC','?appId=','path','../config','3361736dSDySD','./axios','error_msg','3725854JaGJjR','12SJtpIa','4827080PdynNs','api_domain','16oMVAaB','stringify','2770kAKCxB','no-cache','error_code','data'];_0x1501=function(){return _0x37fead;};return _0x1501();}const r=require(_0x5cc65a(0xbf)),{axiosClient:e}=require(_0x5cc65a(0xc1));module[_0x5cc65a(0xb7)]=async function(_0x1305fd){const _0x4a855f=_0x5cc65a;let _0x536e6e=''+r[_0x4a855f(0xc6)]+r[_0x4a855f(0xbe)][_0x4a855f(0xb4)]+_0x4a855f(0xbd)+_0x1305fd,_0x487f02=await e['get'](_0x536e6e,{'headers':{'cache-control':_0x4a855f(0xca)}}),_0x3c1518=_0x487f02[_0x4a855f(0xb3)];if(_0x3c1518&&_0x3c1518['err']>=0x0)return _0x3c1518['data'];if(_0x3c1518['err']===r[_0x4a855f(0xcb)]['permission_denied'])throw Error(r[_0x4a855f(0xc2)][_0x4a855f(0xb5)]);throw Error(JSON[_0x4a855f(0xc8)](_0x487f02[_0x4a855f(0xb3)]));};
package/utils/log.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x1b266d=_0x169b;function _0x169b(_0x1c746c,_0x560d7e){const _0x441a48=_0x441a();return _0x169b=function(_0x169b2e,_0x140f61){_0x169b2e=_0x169b2e-0xed;let _0x35598e=_0x441a48[_0x169b2e];return _0x35598e;},_0x169b(_0x1c746c,_0x560d7e);}(function(_0x1a3fac,_0x15ddf2){const _0x18a132=_0x169b,_0x36e00a=_0x1a3fac();while(!![]){try{const _0x12fa9c=-parseInt(_0x18a132(0xf5))/0x1+parseInt(_0x18a132(0xed))/0x2+parseInt(_0x18a132(0xf9))/0x3*(parseInt(_0x18a132(0xf3))/0x4)+-parseInt(_0x18a132(0xfa))/0x5*(-parseInt(_0x18a132(0xf0))/0x6)+parseInt(_0x18a132(0xfb))/0x7*(-parseInt(_0x18a132(0xf4))/0x8)+-parseInt(_0x18a132(0xf1))/0x9*(parseInt(_0x18a132(0xf2))/0xa)+-parseInt(_0x18a132(0xf7))/0xb;if(_0x12fa9c===_0x15ddf2)break;else _0x36e00a['push'](_0x36e00a['shift']());}catch(_0x242606){_0x36e00a['push'](_0x36e00a['shift']());}}}(_0x441a,0x4b743));function _0x441a(){const _0x47d66c=['6129VMBPaM','7970GOcXbl','36DBPgFt','72MbzSAj','86965yetkXA','error','544984TqaGVK','log','184125kwatQh','130825UtyVWg','260267bRblSm','red','1017858FTqGWm','bold','exports','60OPOWLF'];_0x441a=function(){return _0x47d66c;};return _0x441a();}const o=require('chalk');module[_0x1b266d(0xef)]={'text'(_0x19e730,_0x48808f,_0x7b00d7){const _0x55c7ff=_0x1b266d;_0x7b00d7&&_0x48808f?console[_0x55c7ff(0xf8)](o[_0x7b00d7][_0x55c7ff(0xee)](_0x19e730)):_0x7b00d7?console[_0x55c7ff(0xf8)](o[_0x7b00d7](_0x19e730)):_0x48808f?console['log'](o[_0x55c7ff(0xee)](_0x19e730)):console[_0x55c7ff(0xf8)](_0x19e730);},'error'(_0x41d4e1){const _0x544f6a=_0x1b266d;console[_0x544f6a(0xf6)](o[_0x544f6a(0xfc)](_0x41d4e1));}};
@@ -1 +1 @@
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
+ 'use strict';const _0x5611e6=_0x53e1;(function(_0x4c4f56,_0x46a1fa){const _0x297185=_0x53e1,_0x2716c5=_0x4c4f56();while(!![]){try{const _0x4c68db=-parseInt(_0x297185(0x15e))/0x1+-parseInt(_0x297185(0x16e))/0x2*(parseInt(_0x297185(0x15b))/0x3)+parseInt(_0x297185(0x158))/0x4*(-parseInt(_0x297185(0x159))/0x5)+parseInt(_0x297185(0x155))/0x6*(-parseInt(_0x297185(0x14e))/0x7)+-parseInt(_0x297185(0x15f))/0x8+parseInt(_0x297185(0x14f))/0x9+parseInt(_0x297185(0x16b))/0xa*(parseInt(_0x297185(0x166))/0xb);if(_0x4c68db===_0x46a1fa)break;else _0x2716c5['push'](_0x2716c5['shift']());}catch(_0x3cb575){_0x2716c5['push'](_0x2716c5['shift']());}}}(_0x4a92,0x7cefc));const e=Symbol(_0x5611e6(0x150)),t=Symbol(_0x5611e6(0x163));class r{get[_0x5611e6(0x161)](){const _0x10855e=_0x5611e6;return this[t]?0x0:this[_0x10855e(0x156)][_0x10855e(0x162)];}get['type'](){return this[e];}get[_0x5611e6(0x15d)](){return this[t];}['slice'](){const _0x5d8d23=_0x5611e6;let _0x4ef42d,_0xebc362=this[_0x5d8d23(0x161)],_0x31bc18=arguments[0x0],_0x4391b3=arguments[0x1];_0x4ef42d=void 0x0===_0x31bc18?0x0:_0x31bc18<0x0?Math[_0x5d8d23(0x154)](_0xebc362+_0x31bc18,0x0):Math[_0x5d8d23(0x160)](_0x31bc18,_0xebc362);let _0xb20f65=Math[_0x5d8d23(0x154)]((void 0x0===_0x4391b3?_0xebc362:_0x4391b3<0x0?Math[_0x5d8d23(0x154)](_0xebc362+_0x4391b3,0x0):Math['min'](_0x4391b3,_0xebc362))-_0x4ef42d,0x0),_0x18d9ae=this[_0x5d8d23(0x156)][_0x5d8d23(0x15c)](_0x4ef42d,_0x4ef42d+_0xb20f65),_0x1de89f=new r([],{'type':arguments[0x2]});return _0x1de89f[_0x5d8d23(0x156)]=_0x18d9ae,_0x1de89f[t]=this[t],_0x1de89f;}[_0x5611e6(0x16a)](){this[t]=!0x0;}constructor(){const _0x4c062f=_0x5611e6;Object['defineProperty'](this,Symbol[_0x4c062f(0x167)],{'value':_0x4c062f(0x152),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),this[t]=!0x1,this[e]='';let _0x5ad776=arguments[0x0],_0x33f494=arguments[0x1],_0x125a0c=[];if(_0x5ad776){let _0x552579=Number(_0x5ad776[_0x4c062f(0x162)]);for(let _0x4ec8b=0x0;_0x4ec8b<_0x552579;_0x4ec8b++){let _0x1a8330,_0x503c24=_0x5ad776[_0x4ec8b];_0x503c24 instanceof Buffer?_0x1a8330=_0x503c24:_0x1a8330=ArrayBuffer[_0x4c062f(0x157)](_0x503c24)?Buffer[_0x4c062f(0x153)](_0x503c24[_0x4c062f(0x156)],_0x503c24[_0x4c062f(0x16d)],_0x503c24[_0x4c062f(0x165)]):_0x503c24 instanceof ArrayBuffer?Buffer['from'](_0x503c24):_0x503c24 instanceof r?_0x503c24['buffer']:Buffer['from'](_0x4c062f(0x169)==typeof _0x503c24?_0x503c24:String(_0x503c24)),_0x125a0c[_0x4c062f(0x168)](_0x1a8330);}}this[_0x4c062f(0x156)]=Buffer[_0x4c062f(0x15a)](_0x125a0c);let _0x23dded=_0x33f494&&void 0x0!==_0x33f494[_0x4c062f(0x150)]&&String(_0x33f494[_0x4c062f(0x150)])['toLowerCase']();_0x23dded&&!/[^\u0020-\u007E]/['test'](_0x23dded)&&(this[e]=_0x23dded);}}function _0x4a92(){const _0x3a7523=['max','3732NRNuxW','buffer','isView','344152dCwqfD','5dddmLD','concat','12zICghQ','slice','isClosed','655552uJXUvU','6549544vrtTgo','min','size','length','closed','defineProperty','byteLength','23414303KHiESp','toStringTag','push','string','close','10RywPCC','prototype','byteOffset','129522JHAPCr','2527bRiLEY','3843324ttmEiz','type','BlobPrototype','Blob','from'];_0x4a92=function(){return _0x3a7523;};return _0x4a92();}function _0x53e1(_0x3534a4,_0x2d0a6c){const _0x4a9283=_0x4a92();return _0x53e1=function(_0x53e170,_0x450ca5){_0x53e170=_0x53e170-0x14e;let _0x872d08=_0x4a9283[_0x53e170];return _0x872d08;},_0x53e1(_0x3534a4,_0x2d0a6c);}Object[_0x5611e6(0x164)](r[_0x5611e6(0x16c)],Symbol[_0x5611e6(0x167)],{'value':_0x5611e6(0x151),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),module['exports']=r;
@@ -1 +1 @@
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();}
1
+ 'use strict';function _0x5c9a(){var _0x1eb232=['4SkCFpS','1890030jWvUCR','5933QoIlbl','293704wfOVWH','6520COqASt','40HViGxY','5082SZciTP','136895YwKwjE','2559150hjNafc','2458359Vldxxj'];_0x5c9a=function(){return _0x1eb232;};return _0x5c9a();}function _0x1f73(_0x11e445,_0x437c30){var _0x5c9a2e=_0x5c9a();return _0x1f73=function(_0x1f7326,_0x191f0d){_0x1f7326=_0x1f7326-0xac;var _0x5a2b24=_0x5c9a2e[_0x1f7326];return _0x5a2b24;},_0x1f73(_0x11e445,_0x437c30);}(function(_0xc6433f,_0x3188ec){var _0x40d8c1=_0x1f73,_0xb10c6=_0xc6433f();while(!![]){try{var _0xaad0b=-parseInt(_0x40d8c1(0xb2))/0x1+-parseInt(_0x40d8c1(0xb3))/0x2+parseInt(_0x40d8c1(0xb1))/0x3+parseInt(_0x40d8c1(0xb0))/0x4*(-parseInt(_0x40d8c1(0xad))/0x5)+parseInt(_0x40d8c1(0xae))/0x6+-parseInt(_0x40d8c1(0xac))/0x7*(-parseInt(_0x40d8c1(0xb4))/0x8)+parseInt(_0x40d8c1(0xaf))/0x9*(-parseInt(_0x40d8c1(0xb5))/0xa);if(_0xaad0b===_0x3188ec)break;else _0xb10c6['push'](_0xb10c6['shift']());}catch(_0x4237f8){_0xb10c6['push'](_0xb10c6['shift']());}}}(_0x5c9a,0x5baa1));