zmp-cli 3.15.13 → 3.15.15
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.
- package/build/index.js +1 -1
- package/config/index.js +1 -1
- package/create/index.js +1 -1
- package/create/utils/generate-app-config.js +1 -1
- package/create/utils/generate-npm-scripts.js +1 -1
- package/create/utils/get-options.js +1 -1
- package/create/utils/npm-scripts.js +1 -1
- package/deploy/index.js +1 -1
- package/deploy/utils/get-options.js +1 -1
- package/deploy/utils/request-upload.js +1 -1
- package/deploy/utils/upload-app.js +1 -1
- package/index.js +1 -1
- package/login/index.js +1 -1
- package/login/utils/get-options.js +1 -1
- package/login/utils/zalo-login.js +1 -1
- package/migrate/icons/update-icon-v3.js +1 -1
- package/migrate/index.js +1 -1
- package/migrate/utils/get-options.js +1 -1
- package/migrate/utils/migrate-react.js +1 -1
- package/package.json +11 -1
- package/start/index.js +1 -1
- package/sync/index-to-app-config.js +1 -1
- package/sync/index.js +1 -1
- package/utils/axios.js +1 -1
- package/utils/check-update.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/env.js +1 -1
- package/utils/error.js +1 -1
- package/utils/find-files-by-ext.js +1 -1
- package/utils/find-free-port.js +1 -1
- package/utils/fs-extra.js +1 -1
- package/utils/generate-pages-map.js +1 -1
- package/utils/get-app-info.js +1 -1
- package/utils/get-current-project.js +1 -1
- package/utils/get-ip.js +1 -1
- package/utils/get-latest-version.js +1 -1
- package/utils/log.js +1 -1
- package/utils/node-blob.js +1 -1
- package/utils/resumable.d.js +1 -1
- package/utils/resumable.js +1 -1
- package/utils/spinner.js +1 -1
- package/utils/tunnel.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x331d(){const _0x13c49f=['Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','zmp-framework','10364YzZpkT','1278603orqcOT','other','344025YmCEhM','52nRyRod','445ckciKC','Version\x201\x20=>\x20Version\x202','inquirer','zmp-ui','iconsv3','9732VauspJ','Other','migrateVersion','resolve','then','6WerWol','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','8TCAQGU','670428WlstbU','2343330jJcajP','18599WJoHeH','list'];_0x331d=function(){return _0x13c49f;};return _0x331d();}const _0x2d26df=_0x2eb4;(function(_0x2c48ea,_0x44fe83){const _0x34fbd6=_0x2eb4,_0x584612=_0x2c48ea();while(!![]){try{const _0x4c085a=parseInt(_0x34fbd6(0xb1))/0x1*(-parseInt(_0x34fbd6(0xad))/0x2)+parseInt(_0x34fbd6(0xa7))/0x3+parseInt(_0x34fbd6(0xb7))/0x4*(-parseInt(_0x34fbd6(0xb2))/0x5)+parseInt(_0x34fbd6(0xa4))/0x6*(parseInt(_0x34fbd6(0xa9))/0x7)+parseInt(_0x34fbd6(0xa6))/0x8*(parseInt(_0x34fbd6(0xae))/0x9)+parseInt(_0x34fbd6(0xa8))/0xa+parseInt(_0x34fbd6(0xb0))/0xb;if(_0x4c085a===_0x44fe83)break;else _0x584612['push'](_0x584612['shift']());}catch(_0x57f1b2){_0x584612['push'](_0x584612['shift']());}}}(_0x331d,0x2415f));const e=require(_0x2d26df(0xb4)),r=[{'type':_0x2d26df(0xaa),'name':_0x2d26df(0xa1),'message':'What\x20version\x20do\x20you\x20want\x20to\x20migrate?','choices':[{'name':_0x2d26df(0xb3),'value':'v1tov2'},{'name':_0x2d26df(0xab),'value':'iconsv3'}]},{'type':'list','name':'uiFramework','message':_0x2d26df(0xa5),'when':_0x380501=>_0x2d26df(0xb6)===_0x380501['migrateVersion'],'choices':[{'name':_0x2d26df(0xac),'value':_0x2d26df(0xac)},{'name':'zmp-ui','value':_0x2d26df(0xb5)},{'name':_0x2d26df(0xb8),'value':_0x2d26df(0xaf)}]}];function _0x2eb4(_0x20b9fb,_0x50f187){const _0x331d5e=_0x331d();return _0x2eb4=function(_0x2eb44b,_0x3abe59){_0x2eb44b=_0x2eb44b-0xa1;let _0x44ad33=_0x331d5e[_0x2eb44b];return _0x44ad33;},_0x2eb4(_0x20b9fb,_0x50f187);}module['exports']=function(){const _0x5913ba=_0x2d26df;return e['prompt'](r)[_0x5913ba(0xa3)](_0x5ecaa2=>Promise[_0x5913ba(0xa2)](_0x5ecaa2));};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x465a(_0xf6a891,_0x3719e5){const _0x484c75=_0x484c();return _0x465a=function(_0x465af0,_0x28a1bb){_0x465af0=_0x465af0-0x1e6;let _0x59455a=_0x484c75[_0x465af0];return _0x59455a;},_0x465a(_0xf6a891,_0x3719e5);}const _0x1f65bf=_0x465a;(function(_0x3cd555,_0x92386b){const _0x139070=_0x465a,_0x4aa08a=_0x3cd555();while(!![]){try{const _0x1132d1=-parseInt(_0x139070(0x1ef))/0x1+-parseInt(_0x139070(0x1ff))/0x2+parseInt(_0x139070(0x1f7))/0x3+parseInt(_0x139070(0x1f5))/0x4+-parseInt(_0x139070(0x1fc))/0x5+parseInt(_0x139070(0x1fd))/0x6*(parseInt(_0x139070(0x1ee))/0x7)+parseInt(_0x139070(0x1f2))/0x8*(parseInt(_0x139070(0x1e8))/0x9);if(_0x1132d1===_0x92386b)break;else _0x4aa08a['push'](_0x4aa08a['shift']());}catch(_0x25fd95){_0x4aa08a['push'](_0x4aa08a['shift']());}}}(_0x484c,0x5a92c));const e=require(_0x1f65bf(0x1e9)),i=require(_0x1f65bf(0x1fa)),t=require(_0x1f65bf(0x1e6)),s=require(_0x1f65bf(0x1ea)),r=require('../icons/update-icon-v3');async function a(_0x386f89){const _0x358dde=_0x1f65bf;let _0x1f1aa9=e(_0x386f89);i[_0x358dde(0x1eb)](t[_0x358dde(0x1f6)](_0x386f89['cwd'],_0x358dde(0x1f1)),_0x1f1aa9),i[_0x358dde(0x1fb)](t[_0x358dde(0x1e7)](__dirname,_0x358dde(0x1f8)),t[_0x358dde(0x1e7)](_0x386f89[_0x358dde(0x1ec)],_0x358dde(0x1f4))),await s[_0x358dde(0x1ed)](_0x358dde(0x1fe),!0x0);}async function n(_0x4da82d){const _0x4fed50=_0x1f65bf;switch(_0x4da82d['migrateVersion']){case _0x4fed50(0x1f3):await a(_0x4da82d);break;case _0x4fed50(0x1f9):await r(_0x4da82d);}}module[_0x1f65bf(0x1f0)]=n;function _0x484c(){const _0x11c2a0=['../../utils/fs-extra','copyFileAsync','3459365JHSmoN','1238196OKdvlQ','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev','719020NIuLfw','path','resolve','7454214HmECbJ','../templates/v2/generate-index.react','exec-sh','writeFileSync','cwd','promise','7mgfJJj','589781HPKMOI','exports','index.html','8NMjdmj','v1tov2','vite.config.js','1735468HcqziX','join','1631019CkuBva','../templates/v2/vite.config.js','iconsv3'];_0x484c=function(){return _0x11c2a0;};return _0x484c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zmp-cli",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.15",
|
|
4
4
|
"description": "ZMP command line utility (CLI)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"human-readable-ids": "^1.0.4",
|
|
46
46
|
"inquirer": "8.0.0",
|
|
47
47
|
"jsonwebtoken": "^8.5.1",
|
|
48
|
+
"koa-router": "~13.0.1",
|
|
48
49
|
"localtunnel": "^2.0.2",
|
|
49
50
|
"lodash": "^4.17.20",
|
|
50
51
|
"log-symbols": "^3.0.0",
|
|
@@ -76,5 +77,14 @@
|
|
|
76
77
|
"xmlhttprequest": "^1.8.0",
|
|
77
78
|
"zip-local": "^0.3.4",
|
|
78
79
|
"zmp-cli-core": "~1.0.11"
|
|
80
|
+
},
|
|
81
|
+
"overrides": {
|
|
82
|
+
"chii": {
|
|
83
|
+
"koa-router": "~13.0.1"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"resolutions": {
|
|
87
|
+
"strip-ansi": "6.0.0",
|
|
88
|
+
"koa-router": "~13.0.1"
|
|
79
89
|
}
|
|
80
90
|
}
|
package/start/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0xf5f32a=_0x406d;(function(_0x5a26c9,_0x8dbf75){const _0x5d5f3a=_0x406d,_0x13a4d4=_0x5a26c9();while(!![]){try{const _0x12b5ce=parseInt(_0x5d5f3a(0x1e3))/0x1*(-parseInt(_0x5d5f3a(0x1eb))/0x2)+-parseInt(_0x5d5f3a(0x1d1))/0x3+parseInt(_0x5d5f3a(0x1c4))/0x4*(-parseInt(_0x5d5f3a(0x1c1))/0x5)+parseInt(_0x5d5f3a(0x1ce))/0x6*(-parseInt(_0x5d5f3a(0x20d))/0x7)+parseInt(_0x5d5f3a(0x1f9))/0x8*(parseInt(_0x5d5f3a(0x1d4))/0x9)+-parseInt(_0x5d5f3a(0x1bb))/0xa+parseInt(_0x5d5f3a(0x1e7))/0xb;if(_0x12b5ce===_0x8dbf75)break;else _0x13a4d4['push'](_0x13a4d4['shift']());}catch(_0x1fdfc5){_0x13a4d4['push'](_0x13a4d4['shift']());}}}(_0x2ac4,0x2560b));function _0x406d(_0x557820,_0x58f888){const _0x2ac416=_0x2ac4();return _0x406d=function(_0x406d38,_0x2636a9){_0x406d38=_0x406d38-0x1ab;let _0x66e8ad=_0x2ac416[_0x406d38];return _0x66e8ad;},_0x406d(_0x557820,_0x58f888);}const e=require(_0xf5f32a(0x1ab)),r=require(_0xf5f32a(0x1e1)),t=require(_0xf5f32a(0x206)),i=require(_0xf5f32a(0x20c)),o=require(_0xf5f32a(0x20b)),n=require(_0xf5f32a(0x1b8)),{hri:s}=require(_0xf5f32a(0x1ad)),{startLocal:a,startDevice:p}=require(_0xf5f32a(0x1c2)),l=require('../config'),c=require('../utils/env'),{errorExit:d}=require(_0xf5f32a(0x1e9)),u=require(_0xf5f32a(0x1cc)),f=require(_0xf5f32a(0x1fd)),{openTunnel:g}=require(_0xf5f32a(0x1ee)),$=r(_0xf5f32a(0x1ec));function _0x2ac4(){const _0x2a2073=['writeFileSync','chii','httpServer','appConfig','549580McmNXz','/src/app.js','devices','stdout','green','isArray','6220McPQuX','zmp-cli-core','createServer','388nEuohX','Chromium-based','vite','Error\x20starting\x20project','data','cwd','reverse','Can\x20not\x20start\x20remote\x20debug\x20server','../utils/fs-extra','generate','60TzIFvq','child_process','stringify','47427MnHBOD','/?env=TESTING_LOCAL&clientIp=http://','join','117KdIADx','start','appId','random','env','\x20browser.','https://zalo.me/app/link/zapps/','/frame','listJS','blue','\x20in\x20','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','parse','ora','bold','29746RScckV','adb','existsSync','text/javascript','6152025QEHgei','appConfigJson','../utils/error','frame','12wOUtOH','Starting\x20mini\x20app...','previewOnZalo','../utils/tunnel','stderr','info','exit','config','red','localhost','mode','server','yellow','error','34600XUPgVo','listen','text','filename','../utils/find-free-port','deviceMode','findIndex','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','/target.js\x27;\x20document.body.appendChild(script);\x20})()','spawn','stop','Trying\x20reverse\x20socket\x20connection','readFileSync','path','iosHostName','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','toString','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','log-symbols','qrcode-terminal','64743jgXJrt','chalk','ios','human-readable-ids','port','logger','remote-debug-script','printUrls','hr.config.json','exports','push','address','adb\x20reverse\x20error:\x20'];_0x2ac4=function(){return _0x2a2073;};return _0x2ac4();}module[_0xf5f32a(0x1b3)]=async(_0x4e6962={},_0x3f7f4d)=>{const _0xd174=_0xf5f32a;let _0x41eb79;_0x3f7f4d||(_0x3f7f4d={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$[_0xd174(0x1d5)]();let _0x3cffd6=_0x4e6962['cwd']||process[_0xd174(0x1c9)](),_0x323f10=_0x4e6962[_0xd174(0x1d6)]||c['getEnv'](l[_0xd174(0x1d8)]['appId']),_0x97c3c2=_0x4e6962[_0xd174(0x1ed)],_0x1311c7=_0x4e6962[_0xd174(0x1ac)],_0x528a39=_0x4e6962[_0xd174(0x207)],_0x3b82fe=_0x4e6962[_0xd174(0x1ea)],_0x12849c=_0x1311c7?_0x528a39:_0xd174(0x1f4),_0x8e7fb4=_0x4e6962[_0xd174(0x1ae)],_0x5d3f04=_0x8e7fb4-0x2,_0x255429=_0x4e6962[_0xd174(0x1e8)]||require((_0x41eb79=l[_0xd174(0x1fc)][_0xd174(0x1ba)],t[_0xd174(0x1d3)](_0x3cffd6,_0x41eb79))),_0x3b7f20=_0x4e6962[_0xd174(0x1fe)];try{let _0x51510d,_0x263ef9,_0x494680;if(_0x97c3c2){let _0x2f1108=t['join'](_0x3cffd6,_0xd174(0x1b2)),_0x4358e4={'id':_0xd174(0x1b0),'innerHTML':_0xd174(0x1df)+_0x12849c+':'+_0x5d3f04+_0xd174(0x201),'type':_0xd174(0x1e6)};if(u[_0xd174(0x1e5)](_0x2f1108)){let _0x6c265a=u[_0xd174(0x205)](_0x2f1108),_0x5458bb=JSON[_0xd174(0x1e0)](_0x6c265a),_0x13211a=_0x5458bb[_0xd174(0x1dc)];Array[_0xd174(0x1c0)](_0x13211a)||(_0x13211a=[]);let _0x103588=_0x13211a[_0xd174(0x1ff)](_0x2ce3d7=>_0xd174(0x1b0)===_0x2ce3d7['id']);_0x103588<=0x0||_0x13211a['splice'](_0x103588,0x1),_0x13211a[_0xd174(0x1b4)](_0x4358e4),_0x5458bb[_0xd174(0x1dc)]=_0x13211a,u['writeFileSync'](_0x2f1108,JSON['stringify'](_0x5458bb,void 0x0,0x4));}else u[_0xd174(0x1b7)](_0x2f1108,JSON[_0xd174(0x1d0)]({'listCSS':[],'listJS':[{'src':_0xd174(0x1bc),'type':'module','async':!0x0},_0x4358e4]},void 0x0,0x4));}if(_0x3b7f20){_0x51510d=s[_0xd174(0x1d7)](),_0x263ef9=await f(),n[_0xd174(0x1d5)]({'port':_0x263ef9});let _0x31be4f=await g(_0x263ef9);_0x494680=await p({'appId':_0x323f10,'chiiUrl':_0x31be4f,'cwd':_0x3cffd6,'subdomain':_0x51510d,'mode':_0x4e6962[_0xd174(0x1f5)]});}else{if(_0x494680=await a({'cwd':_0x3cffd6,'appConfig':_0x255429,'config':{'host':'0.0.0.0','port':_0x3b82fe?_0x8e7fb4-0x1:_0x8e7fb4},'hmr':_0x97c3c2?{'host':_0x12849c,'protocol':'ws'}:void 0x0,'mode':_0x4e6962[_0xd174(0x1f5)]}),_0x3b82fe&&!_0x97c3c2){let _0x1c4c25=await _0x494680[_0xd174(0x1c6)][_0xd174(0x1c3)]({'configFile':!0x1,'root':__dirname+_0xd174(0x1db),'server':{'port':_0x494680['app'][_0xd174(0x1b9)][_0xd174(0x1b5)]()['port']+0x1,'strictPort':!0x0,'open':!0x0}});$[_0xd174(0x203)](),await _0x1c4c25[_0xd174(0x1fa)](),(0x0,_0x1c4c25[_0xd174(0x1f2)][_0xd174(0x1af)][_0xd174(0x1f0)])(e[_0xd174(0x1bf)](_0xd174(0x208))),_0x1c4c25[_0xd174(0x1b1)]();}else $['stop'](),(0x0,_0x494680[_0xd174(0x1f6)][_0xd174(0x1f2)][_0xd174(0x1af)][_0xd174(0x1f0)])(e['green'](_0xd174(0x208))),_0x494680[_0xd174(0x1f6)][_0xd174(0x1b1)]();}let _0x23d99e=_0x494680['app'];if(_0x97c3c2)try{n[_0xd174(0x1d5)]({'port':_0x5d3f04}),_0x3f7f4d[_0xd174(0x1fb)](e['green'](o[_0xd174(0x1f0)]+'\x20'+e[_0xd174(0x1e2)]('Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:'+_0x5d3f04))),_0x1311c7||require('child_process')[_0xd174(0x202)](_0xd174(0x1e4),['reverse','tcp:'+_0x5d3f04,'tcp:'+_0x5d3f04])['stderr']['on']('data',function(_0x4e89ff){const _0x5982f6=_0xd174;_0x3f7f4d[_0x5982f6(0x1f8)](_0x4e89ff[_0x5982f6(0x209)]());});}catch(_0x1796ab){_0x3f7f4d['text'](o[_0xd174(0x1f0)]+'\x20'+e[_0xd174(0x1f3)](_0xd174(0x1cb)));}if($[_0xd174(0x203)](),_0x97c3c2){let _0x5a2c65='https://zalo.me/app/link/zapps/'+_0x323f10+_0xd174(0x1d2)+_0x12849c+':'+_0x23d99e[_0xd174(0x1f2)]['server'][_0xd174(0x1ae)];i[_0xd174(0x1cd)](_0x5a2c65,{'small':!0x0},function(_0x40703e){const _0x2ee338=_0xd174;if(_0x3f7f4d[_0x2ee338(0x1fb)](e[_0x2ee338(0x1bf)](o['info']+'\x20'+e[_0x2ee338(0x1e2)](_0x2ee338(0x20a)+_0x12849c+':'+_0x23d99e[_0x2ee338(0x1f2)][_0x2ee338(0x1f6)]['port']))),_0x3f7f4d[_0x2ee338(0x1fb)](e['green'](o[_0x2ee338(0x1f0)]+'\x20'+e[_0x2ee338(0x1e2)](_0x2ee338(0x204)))),_0x1311c7){let _0xd2c4ec=o[_0x2ee338(0x1f0)]+'\x20'+e[_0x2ee338(0x1e2)](_0x2ee338(0x200)+_0x40703e);_0x3f7f4d[_0x2ee338(0x1fb)](_0xd2c4ec);}else{let _0x2908b3=require('child_process')[_0x2ee338(0x202)](_0x2ee338(0x1e4),[_0x2ee338(0x1ca),'tcp:'+_0x23d99e[_0x2ee338(0x1f2)]['server']['port'],'tcp:'+_0x23d99e[_0x2ee338(0x1f2)]['server'][_0x2ee338(0x1ae)]]);_0x2908b3[_0x2ee338(0x1ef)]['on']('data',function(_0x2e2fe7){const _0x20b0ce=_0x2ee338;_0x3f7f4d[_0x20b0ce(0x1f8)](_0x2e2fe7[_0x20b0ce(0x209)]());}),_0x2908b3['on'](_0x2ee338(0x1f1),function(_0x488da6){const _0xe5f99f=_0x2ee338;if(0x0!==_0x488da6)throw Error(_0xe5f99f(0x1b6)+_0x488da6);{let _0x3b8c9f=o['info']+'\x20'+e[_0xe5f99f(0x1e2)](_0xe5f99f(0x200)+_0x40703e);_0x3f7f4d['text'](_0x3b8c9f),require(_0xe5f99f(0x1cf))['spawn'](_0xe5f99f(0x1e4),[_0xe5f99f(0x1bd)])[_0xe5f99f(0x1be)]['on'](_0xe5f99f(0x1c8),function(_0x32c353){const _0x502d08=_0xe5f99f;_0x3f7f4d[_0x502d08(0x1fb)](''+e[_0x502d08(0x1f7)](_0x32c353[_0x502d08(0x209)]()));});}});}});}if(_0x3b7f20){let _0x8fff39=_0x23d99e[_0xd174(0x1b9)][_0xd174(0x1b5)]()['port'],_0x1df0d6=await g(_0x8fff39,_0x51510d),_0x143cf5=_0xd174(0x1da)+_0x323f10+'/?env=TESTING_LOCAL&clientIp='+_0x1df0d6;i[_0xd174(0x1cd)](_0x143cf5,{'small':!0x0},function(_0x3fb0c1){const _0xaad5e7=_0xd174;let _0x2d7392=o[_0xaad5e7(0x1f0)]+'\x20'+e[_0xaad5e7(0x1e2)](_0xaad5e7(0x200)+_0x3fb0c1);_0x3f7f4d[_0xaad5e7(0x1fb)](_0x2d7392),_0x3f7f4d[_0xaad5e7(0x1fb)](o['info']+'\x20'+e[_0xaad5e7(0x1e2)]('To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:'+_0x263ef9+_0xaad5e7(0x1de)+e[_0xaad5e7(0x1bf)]('Google\x20Chrome')+'\x20or\x20a\x20'+e[_0xaad5e7(0x1dd)](_0xaad5e7(0x1c5))+_0xaad5e7(0x1d9)));});}return await new Promise(()=>{});}catch(_0x2a0e99){$['stop'](),_0x3f7f4d[_0xd174(0x1f8)](_0xd174(0x1c7)),d(_0x2a0e99);return;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4a9a7=_0x4dba;function _0x4dba(_0x2b548a,_0x1fc9d9){const _0xc705d7=_0xc705();return _0x4dba=function(_0x4dbacf,_0x5760fa){_0x4dbacf=_0x4dbacf-0x157;let _0x340e24=_0xc705d7[_0x4dbacf];return _0x340e24;},_0x4dba(_0x2b548a,_0x1fc9d9);}(function(_0x5ad2a6,_0x14620b){const _0x51060d=_0x4dba,_0x2515bf=_0x5ad2a6();while(!![]){try{const _0xf8b72=-parseInt(_0x51060d(0x180))/0x1+-parseInt(_0x51060d(0x182))/0x2+-parseInt(_0x51060d(0x18c))/0x3+parseInt(_0x51060d(0x188))/0x4+-parseInt(_0x51060d(0x168))/0x5+parseInt(_0x51060d(0x15f))/0x6+parseInt(_0x51060d(0x17a))/0x7;if(_0xf8b72===_0x14620b)break;else _0x2515bf['push'](_0x2515bf['shift']());}catch(_0x42c87b){_0x2515bf['push'](_0x2515bf['shift']());}}}(_0xc705,0x4f70e));const e=require(_0x4a9a7(0x17e)),t=require('fs'),{axiosClient:r}=require(_0x4a9a7(0x189));async function s(_0x262316,{outputDir:_0x1e13f7,rootElement:_0x38d5a0}){const _0x5b143a=_0x4a9a7;let _0x452dfe=[],_0x952900=[],_0x49ad8f=[],_0x3d64b4='';try{let _0x14f298=new e()[_0x5b143a(0x181)](_0x262316,_0x5b143a(0x165)),_0x40eb52=[],_0x18031b=[];for(let _0x4f268a of _0x14f298[_0x5b143a(0x162)](_0x5b143a(0x160))){let _0x33f644=_0x4f268a[_0x5b143a(0x17c)](_0x5b143a(0x16f)),_0x3848ec=_0x4f268a[_0x5b143a(0x17c)]('type'),_0x2e4805=_0x4f268a[_0x5b143a(0x17c)](_0x5b143a(0x18d)),_0x432fcb=_0x4f268a[_0x5b143a(0x17d)];try{if(_0x432fcb)_0x18031b['push'](_0x4f268a[_0x5b143a(0x18a)]);else{let _0x237774=_0x33f644;if(_0x33f644['includes']('://')){let _0x2cb1b1=_0x33f644['substring'](_0x33f644[_0x5b143a(0x185)]('/')+0x1);_0x2cb1b1=_0x5b143a(0x16e)+_0x2cb1b1;let _0x18db2b=await r({'method':'get','url':_0x33f644,'responseType':_0x5b143a(0x15a)}),_0x4e5129=t[_0x5b143a(0x177)](_0x1e13f7+'/'+_0x2cb1b1);_0x18db2b['data'][_0x5b143a(0x176)](_0x4e5129),await new Promise((_0x3657f5,_0x2f7e26)=>{const _0x4b42ce=_0x5b143a;_0x4e5129['on']('finish',_0x3657f5),_0x4e5129['on'](_0x4b42ce(0x161),_0x2f7e26);}),_0x237774=_0x2cb1b1;}if(_0x5b143a(0x175)===_0x3848ec&&!_0x237774[_0x5b143a(0x18b)](_0x5b143a(0x187))){let _0x36d648=_0x33f644[_0x5b143a(0x164)](0x0,-0x3)[_0x5b143a(0x167)]('.module.js');t[_0x5b143a(0x16b)](_0x237774,_0x36d648),_0x237774=_0x36d648;}(_0x2e4805?_0x49ad8f:_0x952900)[_0x5b143a(0x15c)](_0x237774);}}catch(_0x460793){console[_0x5b143a(0x179)]('\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!',_0x33f644),console['error'](_0x460793[_0x5b143a(0x159)]);}}for(let _0x56059c of(_0x14f298['getElementsByTagName'](_0x5b143a(0x158))[_0x5b143a(0x15e)](_0x45f258=>{const _0x5452e7=_0x5b143a;_0x45f258[_0x5452e7(0x17d)]&&_0x40eb52[_0x5452e7(0x15c)](_0x45f258[_0x5452e7(0x18a)]);}),_0x14f298[_0x5b143a(0x162)]('link'))){let _0x43f4eb=_0x56059c['getAttribute']('rel'),_0x5a378b=_0x56059c[_0x5b143a(0x17c)](_0x5b143a(0x184));try{if(_0x5b143a(0x178)===_0x43f4eb){let _0x96c13b=_0x5a378b;if(_0x5a378b[_0x5b143a(0x186)](_0x5b143a(0x174))){_0x96c13b=_0x5a378b[_0x5b143a(0x171)](_0x5a378b['lastIndexOf']('/')+0x1),_0x96c13b='cdn.'+_0x96c13b;let _0x447979=await r({'method':_0x5b143a(0x15b),'url':_0x5a378b,'responseType':_0x5b143a(0x15a)}),_0x4ca36b=t[_0x5b143a(0x177)](_0x1e13f7+'/'+_0x96c13b);_0x447979[_0x5b143a(0x169)]['pipe'](_0x4ca36b),await new Promise((_0xa0adf1,_0xcd923)=>{const _0x52bf45=_0x5b143a;_0x4ca36b['on'](_0x52bf45(0x16a),_0xa0adf1),_0x4ca36b['on'](_0x52bf45(0x161),_0xcd923);});}_0x452dfe[_0x5b143a(0x15c)](_0x96c13b);}}catch(_0x2e5427){console['error'](_0x5b143a(0x172),_0x5a378b),console['error'](_0x2e5427[_0x5b143a(0x159)]);}}if(_0x14f298[_0x5b143a(0x162)](_0x5b143a(0x157))[_0x5b143a(0x15e)](_0x40d113=>{const _0x1700fe=_0x5b143a;_0x40eb52['push'](_0x40d113[_0x1700fe(0x18a)]);}),_0x38d5a0&&_0x5b143a(0x183)!==_0x38d5a0){let _0xf57330='<'+_0x38d5a0+'\x20/>';_0x38d5a0[_0x5b143a(0x16d)]('#')&&(_0xf57330=_0x5b143a(0x166)+_0x38d5a0[_0x5b143a(0x171)](0x1)+'\x22\x20/>'),_0x38d5a0[_0x5b143a(0x16d)]('.')&&(_0xf57330=_0x5b143a(0x15d)+_0x38d5a0['substring'](0x1)+'\x22\x20/>'),_0x38d5a0[_0x5b143a(0x16d)]('<')&&(_0xf57330=_0x38d5a0),_0x18031b['unshift'](_0xf57330);}_0x3d64b4+=_0x40eb52[_0x5b143a(0x173)](_0x2ecae0=>_0x5b143a(0x16c)+_0x2ecae0['replaceAll']('`','\x5c`')+'`;')[_0x5b143a(0x17b)]('\x0a')+'\x0a'+_0x18031b['map'](_0x5f0f63=>'document.body.innerHTML\x20+=\x20`'+_0x5f0f63[_0x5b143a(0x17f)]('`','\x5c`')+'`;')[_0x5b143a(0x17b)]('\x0a'),_0x952900[_0x5b143a(0x170)](_0x5b143a(0x163));}catch(_0x3747fb){console[_0x5b143a(0x161)](_0x3747fb[_0x5b143a(0x159)]);}return{'listCSS':_0x452dfe,'listSyncJS':_0x952900,'listAsyncJS':_0x49ad8f,'inlineJS':_0x3d64b4};}module['exports']={'generateListResourcesFromIndex':s};function _0xc705(){const _0xe07cd6=['document.head.innerHTML\x20+=\x20`','startsWith','cdn.','src','unshift','substring','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!','map','://','module','pipe','createWriteStream','stylesheet','warn','9749950dVQnSq','join','getAttribute','innerHTML','dom-parser','replaceAll','337318vAAqUM','parseFromString','1219656UaCmFe','#app','href','lastIndexOf','includes','module.js','1728504qaGgPL','../utils/axios','outerHTML','endsWith','1260327rLvzvN','async','meta','style','message','stream','get','push','<div\x20class=\x22','forEach','2396910eCIVff','script','error','getElementsByTagName','inline.js','slice','text/html','<div\x20id=\x22','concat','2659080LUfvKF','data','finish','rename'];_0xc705=function(){return _0xe07cd6;};return _0xc705();}
|
package/sync/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3cb155=_0x3a47;(function(_0x4cc5de,_0x32d3d1){const _0x33d228=_0x3a47,_0x1c5e65=_0x4cc5de();while(!![]){try{const _0x26c314=-parseInt(_0x33d228(0xdd))/0x1*(parseInt(_0x33d228(0xde))/0x2)+-parseInt(_0x33d228(0xe2))/0x3*(-parseInt(_0x33d228(0xd7))/0x4)+parseInt(_0x33d228(0xe9))/0x5+parseInt(_0x33d228(0xd4))/0x6+parseInt(_0x33d228(0xe0))/0x7*(parseInt(_0x33d228(0xed))/0x8)+-parseInt(_0x33d228(0xe3))/0x9+parseInt(_0x33d228(0xd2))/0xa*(parseInt(_0x33d228(0xe6))/0xb);if(_0x26c314===_0x32d3d1)break;else _0x1c5e65['push'](_0x1c5e65['shift']());}catch(_0x36dad6){_0x1c5e65['push'](_0x1c5e65['shift']());}}}(_0x59e4,0x86567));function _0x59e4(){const _0x4f5c52=['statusStart','exports','3230395FWxXwR','../utils/fs-extra','green','app_config_not_found','8CPoTAv','statusDone','cwd','(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)','stringify','dirname','30920vCdfFd','\x20💪','495570jclPKS','../utils/error','bold','4wuluna','readFileSync','path','text','../config','filename','9UQYrTl','203306JTiCjx','chalk','392392SymjWl','/inline.js','1427334WEJDIo','7063416qDPIAu','writeFileSync','error_msg','3520TzPpuq'];_0x59e4=function(){return _0x4f5c52;};return _0x59e4();}function _0x3a47(_0x4492cb,_0x2e812c){const _0x59e443=_0x59e4();return _0x3a47=function(_0x3a47f0,_0x2f5e10){_0x3a47f0=_0x3a47f0-0xcf;let _0x323f1d=_0x59e443[_0x3a47f0];return _0x323f1d;},_0x3a47(_0x4492cb,_0x2e812c);}const t=require(_0x3cb155(0xd9)),e=require(_0x3cb155(0xdf)),r=require(_0x3cb155(0xea)),i=require(_0x3cb155(0xdb)),{errorExit:n}=require(_0x3cb155(0xd5)),{generateListResourcesFromIndex:a}=require('./index-to-app-config'),o=e['gray'](_0x3cb155(0xcf)),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};module[_0x3cb155(0xe8)]=async(_0x11ea9a={},_0x24f94f=s)=>{const _0x127543=_0x3cb155;let _0x3be7bf;_0x24f94f[_0x127543(0xe7)]('Synchronization\x20configuration\x20'+o);let _0x1075f6=process[_0x127543(0xef)](),{source:_0x88cfd0,rootElement:_0x1d3d3e}=_0x11ea9a,_0x115511=i[_0x127543(0xdc)]['appConfig'],_0x41fbc9=_0x5784dd=>t['join'](_0x1075f6,_0x5784dd);try{_0x3be7bf=require(_0x41fbc9(_0x115511));}catch(_0x1f8dd8){n(Error(i[_0x127543(0xe5)][_0x127543(0xec)]));}let _0x2e1df4=r[_0x127543(0xd8)](_0x88cfd0)['toString'](),_0x293a97=t[_0x127543(0xd1)](_0x88cfd0),{listCSS:_0x3bcae7,listSyncJS:_0x2910b3,listAsyncJS:_0xc8041b,inlineJS:_0x4166d5}=await a(_0x2e1df4,{'outputDir':_0x293a97,'rootElement':_0x1d3d3e});Object['assign'](_0x3be7bf,{'listCSS':_0x3bcae7,'listSyncJS':_0x2910b3,'listAsyncJS':_0xc8041b}),_0x4166d5&&r[_0x127543(0xe4)](_0x41fbc9(_0x293a97+_0x127543(0xe1)),_0x4166d5);let _0x4e76ee=JSON[_0x127543(0xd0)](_0x3be7bf,null,0x2);r[_0x127543(0xe4)](_0x41fbc9(_0x115511),_0x4e76ee),_0x24f94f[_0x127543(0xee)](e[_0x127543(0xd6)][_0x127543(0xeb)]('Configuration\x20synchronization\x20completed!')+_0x127543(0xd3)),_0x24f94f[_0x127543(0xda)]({'listCSS':_0x3bcae7,'listSyncJS':_0x2910b3,'listAsyncJS':_0xc8041b});};
|
package/utils/axios.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x59d7(_0xf68dbf,_0x292662){const _0x279d9e=_0x279d();return _0x59d7=function(_0x59d735,_0x2d564e){_0x59d735=_0x59d735-0x166;let _0x57bedb=_0x279d9e[_0x59d735];return _0x57bedb;},_0x59d7(_0xf68dbf,_0x292662);}const _0x3966a1=_0x59d7;(function(_0x2da963,_0x342b31){const _0x642e0b=_0x59d7,_0x3e53b1=_0x2da963();while(!![]){try{const _0x47f541=parseInt(_0x642e0b(0x16c))/0x1+-parseInt(_0x642e0b(0x170))/0x2+-parseInt(_0x642e0b(0x16e))/0x3+parseInt(_0x642e0b(0x16f))/0x4+-parseInt(_0x642e0b(0x166))/0x5+parseInt(_0x642e0b(0x169))/0x6+-parseInt(_0x642e0b(0x167))/0x7*(-parseInt(_0x642e0b(0x16d))/0x8);if(_0x47f541===_0x342b31)break;else _0x3e53b1['push'](_0x3e53b1['shift']());}catch(_0x185378){_0x3e53b1['push'](_0x3e53b1['shift']());}}}(_0x279d,0x684de));const {ProxyAgent:e}=require(_0x3966a1(0x168)),t=require(_0x3966a1(0x16a)),r=new e(),o=t['create']({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});function _0x279d(){const _0x1d8616=['exports','589560CZBVMz','208168QOfLTR','71181XZfhXc','2159740vmSjUa','1071348qmKcTO','2673470GxUGfY','21siLoIE','proxy-agent','1882602SkkuGU','axios'];_0x279d=function(){return _0x1d8616;};return _0x279d();}module[_0x3966a1(0x16b)]={'agent':r,'axiosClient':o};
|
package/utils/check-update.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x263449=_0x5239;function _0x5239(_0x220171,_0x408fb4){const _0x35e62e=_0x35e6();return _0x5239=function(_0x5239de,_0x473976){_0x5239de=_0x5239de-0x170;let _0x7fb913=_0x35e62e[_0x5239de];return _0x7fb913;},_0x5239(_0x220171,_0x408fb4);}(function(_0x65fe45,_0x4e6241){const _0x4f90df=_0x5239,_0x4c32b6=_0x65fe45();while(!![]){try{const _0x3f50cf=parseInt(_0x4f90df(0x170))/0x1*(-parseInt(_0x4f90df(0x192))/0x2)+-parseInt(_0x4f90df(0x17e))/0x3*(parseInt(_0x4f90df(0x178))/0x4)+-parseInt(_0x4f90df(0x185))/0x5*(-parseInt(_0x4f90df(0x190))/0x6)+-parseInt(_0x4f90df(0x18f))/0x7*(parseInt(_0x4f90df(0x189))/0x8)+-parseInt(_0x4f90df(0x180))/0x9+parseInt(_0x4f90df(0x17d))/0xa+parseInt(_0x4f90df(0x179))/0xb;if(_0x3f50cf===_0x4e6241)break;else _0x4c32b6['push'](_0x4c32b6['shift']());}catch(_0x37ad98){_0x4c32b6['push'](_0x4c32b6['shift']());}}}(_0x35e6,0xaa2ca));const e=require(_0x263449(0x18b)),r=require(_0x263449(0x191)),t=require(_0x263449(0x177)),a=require(_0x263449(0x17a)),i=require(_0x263449(0x174));async function s(){const _0x18e103=_0x263449;a[_0x18e103(0x186)](_0x18e103(0x188)),await new Promise((_0x476d3d,_0x33cc24)=>{const _0x246208=_0x18e103;r[_0x246208(0x184)]('https://registry.npmjs.org/zmp-cli/latest')['then'](_0xef7e3=>{const _0x486813=_0x246208;let _0x2239b8=_0xef7e3[_0x486813(0x183)][_0x486813(0x172)][_0x486813(0x18a)]('.')['map'](_0x2c6776=>parseInt(_0x2c6776,0xa)),_0x527bcc=t[_0x486813(0x172)][_0x486813(0x18a)]('.')[_0x486813(0x181)](_0x488d43=>parseInt(_0x488d43,0xa)),_0x29cb43=!0x1,_0x51d3b0=!0x1;_0x2239b8[_0x486813(0x182)]((_0x9a68bb,_0x42935c)=>{!_0x51d3b0&&(_0x2239b8[_0x42935c]>_0x527bcc[_0x42935c]?_0x29cb43=!0x0:_0x2239b8[_0x42935c]<_0x527bcc[_0x42935c]&&(_0x51d3b0=!0x0));}),_0x476d3d(_0x29cb43);})[_0x246208(0x175)](_0x218366=>{const _0x7cfd3a=_0x246208;_0x33cc24(_0x218366),a['error'](_0x7cfd3a(0x187)),_0x218366&&i['error'](_0x218366[_0x7cfd3a(0x18c)]||_0x218366),process[_0x7cfd3a(0x18e)](0x1);});})?(a[_0x18e103(0x17b)]('Update\x20available'),i['text']('\x0a'+e[_0x18e103(0x173)]+'\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.',!0x0),i['text'](e[_0x18e103(0x173)]+_0x18e103(0x18d),!0x0),i[_0x18e103(0x193)](_0x18e103(0x171),!0x0),process[_0x18e103(0x18e)](0x1)):a[_0x18e103(0x17c)](_0x18e103(0x17f));}function _0x35e6(){const _0x52806d=['All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','10773207UUvdSH','map','forEach','data','get','5XMgXEW','start','Error\x20checking\x20update','Checking\x20for\x20available\x20updates...','9329160kXKlSI','split','log-symbols','stderr','\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:','exit','7EIgswz','1304106sOOVjq','axios','422EqTjRu','text','1706LFUSvQ','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','version','warning','./log','catch','exports','../package.json','100SYmIzQ','29335493kNJapx','./spinner','error','done','5946290FlqnWx','7041zyNXkv'];_0x35e6=function(){return _0x52806d;};return _0x35e6();}module[_0x263449(0x176)]=s;
|
package/utils/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';var _0x3def46=_0x1e48;function _0x2918(){var _0x22e88d=['16jftADX','767568jYAiYb','261422bBGNot','mini.123c.vn','1686792gtzfgM','30xIDHRM','12tzUqgH','exports','8501103MEHApo','3253859NxneDX','415151ZmsdZA','1310DbZMpg','760936ftAlSR'];_0x2918=function(){return _0x22e88d;};return _0x2918();}(function(_0x4b2b40,_0x3d8a87){var _0x2a8666=_0x1e48,_0x46e7ab=_0x4b2b40();while(!![]){try{var _0x1f6c32=-parseInt(_0x2a8666(0xa2))/0x1+parseInt(_0x2a8666(0x98))/0x2*(-parseInt(_0x2a8666(0x9c))/0x3)+-parseInt(_0x2a8666(0x9a))/0x4+parseInt(_0x2a8666(0x9b))/0x5*(-parseInt(_0x2a8666(0xa4))/0x6)+parseInt(_0x2a8666(0x9f))/0x7*(-parseInt(_0x2a8666(0xa3))/0x8)+-parseInt(_0x2a8666(0x9e))/0x9+parseInt(_0x2a8666(0xa1))/0xa*(parseInt(_0x2a8666(0xa0))/0xb);if(_0x1f6c32===_0x3d8a87)break;else _0x46e7ab['push'](_0x46e7ab['shift']());}catch(_0x4f90c5){_0x46e7ab['push'](_0x46e7ab['shift']());}}}(_0x2918,0x91b30));function _0x1e48(_0x12bd3e,_0x5e141f){var _0x291857=_0x2918();return _0x1e48=function(_0x1e480e,_0x4860e0){_0x1e480e=_0x1e480e-0x98;var _0x3e8520=_0x291857[_0x1e480e];return _0x3e8520;},_0x1e48(_0x12bd3e,_0x5e141f);}module[_0x3def46(0x9d)]={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':_0x3def46(0x99)}};
|
package/utils/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0xa6c4(_0x590500,_0x2ff376){const _0x57d629=_0x57d6();return _0xa6c4=function(_0xa6c4cc,_0x32f791){_0xa6c4cc=_0xa6c4cc-0x71;let _0x4156f5=_0x57d629[_0xa6c4cc];return _0x4156f5;},_0xa6c4(_0x590500,_0x2ff376);}function _0x57d6(){const _0x210211=['envfile','./fs-extra','12924hBLlQU','740778aSCfkV','255DBbqqT','5070864rrPzAZ','readFileSync','390jlrUXH','7clXaDI','240507wcSGfk','71836nYfvYS','env','10511120wHyNtm','utf8','38nuKWXD','15714lhedQl','root_env','30052mYFqKs','existsSync','writeFileSync'];_0x57d6=function(){return _0x210211;};return _0x57d6();}const _0x1c85f3=_0xa6c4;(function(_0x1a742c,_0x1ea236){const _0x435297=_0xa6c4,_0x3aa89e=_0x1a742c();while(!![]){try{const _0x54f6b0=-parseInt(_0x435297(0x7c))/0x1*(parseInt(_0x435297(0x80))/0x2)+parseInt(_0x435297(0x75))/0x3+-parseInt(_0x435297(0x77))/0x4+-parseInt(_0x435297(0x76))/0x5*(parseInt(_0x435297(0x81))/0x6)+parseInt(_0x435297(0x7a))/0x7*(parseInt(_0x435297(0x7e))/0x8)+parseInt(_0x435297(0x7b))/0x9*(-parseInt(_0x435297(0x79))/0xa)+parseInt(_0x435297(0x83))/0xb*(parseInt(_0x435297(0x74))/0xc);if(_0x54f6b0===_0x1ea236)break;else _0x3aa89e['push'](_0x3aa89e['shift']());}catch(_0x49e1a0){_0x3aa89e['push'](_0x3aa89e['shift']());}}}(_0x57d6,0xa9a1e));const e=require(_0x1c85f3(0x73)),t=require('../config'),{parse:r,stringify:n}=require(_0x1c85f3(0x72));module['exports']={'getEnv':function(_0x56203d){const _0x5f38a8=_0x1c85f3;let _0x21d992=process[_0x5f38a8(0x7d)][_0x56203d];if(_0x21d992)return _0x21d992;let _0x3345b9=t[_0x5f38a8(0x82)]();if(e[_0x5f38a8(0x84)](_0x3345b9))return r(e[_0x5f38a8(0x78)](_0x3345b9,_0x5f38a8(0x7f)))[_0x56203d];},'setEnv':function(_0x1e66a1,_0x189960){const _0x36de20=_0x1c85f3;let _0x14dc9b=t[_0x36de20(0x82)](),_0x510f8d=r(e[_0x36de20(0x78)](_0x14dc9b,'utf8'));_0x510f8d[_0x1e66a1]=_0x189960,e[_0x36de20(0x71)](_0x14dc9b,n(_0x510f8d));}};
|
package/utils/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5c094e=_0xd347;(function(_0x5dba66,_0x2a138e){const _0x7772d=_0xd347,_0x39ad69=_0x5dba66();while(!![]){try{const _0x4cc359=parseInt(_0x7772d(0x7f))/0x1*(parseInt(_0x7772d(0x8b))/0x2)+-parseInt(_0x7772d(0x88))/0x3+-parseInt(_0x7772d(0x8a))/0x4+-parseInt(_0x7772d(0x82))/0x5+parseInt(_0x7772d(0x8f))/0x6*(-parseInt(_0x7772d(0x86))/0x7)+parseInt(_0x7772d(0x87))/0x8*(parseInt(_0x7772d(0x93))/0x9)+parseInt(_0x7772d(0x85))/0xa*(parseInt(_0x7772d(0x80))/0xb);if(_0x4cc359===_0x2a138e)break;else _0x39ad69['push'](_0x39ad69['shift']());}catch(_0x4114a6){_0x39ad69['push'](_0x39ad69['shift']());}}}(_0x6413,0x391d9));function _0x6413(){const _0x4d4bd9=['150WGgAaT','exit','error_code','stderr','174087eRiXaI','243293knuyNq','77KJGBWD','Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.','1072225hgqBsP','message','../utils/log','1557010OxGxFu','92827srubUg','16wIHHpE','1393068ndeBCb','permission_denied','510460pORAUU','2oFFAuj','exports','error_msg','zmp-cli-core'];_0x6413=function(){return _0x4d4bd9;};return _0x6413();}const {TranslatableError:e}=require(_0x5c094e(0x8e)),r=require('../config'),s=require(_0x5c094e(0x84));function _0xd347(_0x37bd52,_0x427fcc){const _0x641302=_0x6413();return _0xd347=function(_0xd3472b,_0x157b16){_0xd3472b=_0xd3472b-0x7f;let _0x20d4e6=_0x641302[_0xd3472b];return _0x20d4e6;},_0xd347(_0x37bd52,_0x427fcc);}module[_0x5c094e(0x8c)]={'handleError':function(_0x54bcb5){const _0xf8ec20=_0x5c094e;if(_0x54bcb5===r[_0xf8ec20(0x91)][_0xf8ec20(0x89)])return r[_0xf8ec20(0x8d)]['permission_denied'];},'errorExit':function(_0x3ecf35){const _0x4d042d=_0x5c094e;_0x3ecf35 instanceof e?s['error']({'msg.folder-existed':'The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','msg.please-install-vite':_0x4d042d(0x81)}[_0x3ecf35[_0x4d042d(0x83)]]):s['error'](_0x3ecf35[_0x4d042d(0x92)]||_0x3ecf35),process[_0x4d042d(0x90)](0x1);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x47da45=_0x433d;function _0x5558(){var _0x207668=['lastIndexOf','exports','1506211GFIFtU','tsx','push','1597707jwVbxW','26459928MknujZ','isDirectory','85hbzcoT','149356Umsjhl','join','substr','path','1109212icQwJt','vue','2672rGNNEP','9647850VYTvtA','jsx','33103eBQGSu'];_0x5558=function(){return _0x207668;};return _0x5558();}(function(_0x1f4203,_0x389cfe){var _0x581b20=_0x433d,_0x2ff44d=_0x1f4203();while(!![]){try{var _0x2fddb1=-parseInt(_0x581b20(0x135))/0x1+-parseInt(_0x581b20(0x140))/0x2+parseInt(_0x581b20(0x138))/0x3+parseInt(_0x581b20(0x13c))/0x4*(-parseInt(_0x581b20(0x13b))/0x5)+parseInt(_0x581b20(0x130))/0x6+-parseInt(_0x581b20(0x132))/0x7*(parseInt(_0x581b20(0x12f))/0x8)+parseInt(_0x581b20(0x139))/0x9;if(_0x2fddb1===_0x389cfe)break;else _0x2ff44d['push'](_0x2ff44d['shift']());}catch(_0x1d5439){_0x2ff44d['push'](_0x2ff44d['shift']());}}}(_0x5558,0xc4a5e));function _0x433d(_0x3b0aaa,_0x100eec){var _0x55586e=_0x5558();return _0x433d=function(_0x433da0,_0x52333d){_0x433da0=_0x433da0-0x12f;var _0x5d0845=_0x55586e[_0x433da0];return _0x5d0845;},_0x433d(_0x3b0aaa,_0x100eec);}const e=require('fs'),s=require(_0x47da45(0x13f));module[_0x47da45(0x134)]=function t(_0x1b0f33,_0x4c6834=[_0x47da45(0x131),_0x47da45(0x136),_0x47da45(0x141)]){var _0x4046db=e['readdirSync'](_0x1b0f33),_0x416a1a=[];return _0x4046db['forEach'](function(_0x4f6560){var _0x11a7a4=_0x433d,_0x35038e=s[_0x11a7a4(0x13d)](_0x1b0f33,_0x4f6560);if(e['statSync'](_0x35038e)[_0x11a7a4(0x13a)]())_0x416a1a=[..._0x416a1a,...t(_0x35038e,_0x4c6834)];else{let _0x3490e7=_0x4f6560[_0x11a7a4(0x13e)](_0x4f6560[_0x11a7a4(0x133)]('.')+0x1),_0x2c3f62=_0x4f6560[_0x11a7a4(0x13e)](0x0,_0x4f6560[_0x11a7a4(0x133)]('.'));_0x4c6834['includes'](_0x3490e7)&&_0x416a1a[_0x11a7a4(0x137)]({'fileName':_0x2c3f62,'ext':_0x3490e7,'folderPath':_0x1b0f33});}}),_0x416a1a;};
|
package/utils/find-free-port.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3e3e(){const _0x4026c9=['1378590UorWih','1211830xOzAHj','9004930zNfTUO','12318496BPEMYy','createServer','exports','3VVvoYy','listen','8028bWUBho','7TdttrV','address','65hUZOto','590FbvrFc','3690372ybxVYi','net','129198USfnGs','close'];_0x3e3e=function(){return _0x4026c9;};return _0x3e3e();}const _0x36d59b=_0x4849;(function(_0x1654cf,_0x575ad8){const _0x23db9d=_0x4849,_0x57d854=_0x1654cf();while(!![]){try{const _0x110beb=-parseInt(_0x23db9d(0x96))/0x1+parseInt(_0x23db9d(0x95))/0x2*(parseInt(_0x23db9d(0x8a))/0x3)+parseInt(_0x23db9d(0x91))/0x4+-parseInt(_0x23db9d(0x8f))/0x5*(parseInt(_0x23db9d(0x93))/0x6)+parseInt(_0x23db9d(0x8d))/0x7*(parseInt(_0x23db9d(0x98))/0x8)+parseInt(_0x23db9d(0x8c))/0x9*(-parseInt(_0x23db9d(0x90))/0xa)+-parseInt(_0x23db9d(0x97))/0xb;if(_0x110beb===_0x575ad8)break;else _0x57d854['push'](_0x57d854['shift']());}catch(_0x36dab7){_0x57d854['push'](_0x57d854['shift']());}}}(_0x3e3e,0xc08cb));function _0x4849(_0x10175c,_0x11890b){const _0x3e3ef8=_0x3e3e();return _0x4849=function(_0x484928,_0x5999d2){_0x484928=_0x484928-0x89;let _0x1b68b6=_0x3e3ef8[_0x484928];return _0x1b68b6;},_0x4849(_0x10175c,_0x11890b);}const e=require(_0x36d59b(0x92));module[_0x36d59b(0x89)]=async function(){return new Promise(_0x57d427=>{const _0x249c27=_0x4849;let _0x1ae920=e[_0x249c27(0x99)]();_0x1ae920[_0x249c27(0x8b)](0x0,()=>{const _0x32def9=_0x249c27;let _0x4fbe0b=_0x1ae920[_0x32def9(0x8e)]()['port'];_0x1ae920[_0x32def9(0x94)](()=>_0x57d427(_0x4fbe0b));});});};
|
package/utils/fs-extra.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3ca0d3=_0x3003;function _0x3003(_0x59c27f,_0x34002f){const _0x32aa61=_0x32aa();return _0x3003=function(_0x300305,_0x2b94f9){_0x300305=_0x300305-0x174;let _0x57a0ac=_0x32aa61[_0x300305];return _0x57a0ac;},_0x3003(_0x59c27f,_0x34002f);}(function(_0x5182dd,_0x1b2ede){const _0x5e0d35=_0x3003,_0x53ef57=_0x5182dd();while(!![]){try{const _0x1ceb64=-parseInt(_0x5e0d35(0x17d))/0x1+-parseInt(_0x5e0d35(0x18d))/0x2+parseInt(_0x5e0d35(0x175))/0x3+parseInt(_0x5e0d35(0x178))/0x4+-parseInt(_0x5e0d35(0x182))/0x5*(-parseInt(_0x5e0d35(0x189))/0x6)+parseInt(_0x5e0d35(0x181))/0x7+-parseInt(_0x5e0d35(0x18c))/0x8*(-parseInt(_0x5e0d35(0x185))/0x9);if(_0x1ceb64===_0x1b2ede)break;else _0x53ef57['push'](_0x53ef57['shift']());}catch(_0x23acb1){_0x53ef57['push'](_0x53ef57['shift']());}}}(_0x32aa,0xa7199));const e=require('fs'),i=require(_0x3ca0d3(0x18b)),n={'createReadStream':_0xf04c3b=>e['createReadStream'](_0xf04c3b),'unlinkSync':_0x1f723e=>e['unlinkSync'](_0x1f723e),'existsSync':_0x5752df=>e['existsSync'](_0x5752df),'readdirSync':_0x52e479=>e[_0x3ca0d3(0x174)](_0x52e479),'mkdirSync'(_0x1c175e){const _0x1242f6=_0x3ca0d3;if(e[_0x1242f6(0x188)](_0x1c175e)){e[_0x1242f6(0x18e)](_0x1c175e);return;}_0x1c175e['split'](i['sep'])[_0x1242f6(0x187)]((_0x117db8,_0x790839)=>{const _0x31b639=_0x1242f6;if(!_0x117db8)return;let _0x19df03=_0x1c175e[_0x31b639(0x17b)](i['sep'])[_0x31b639(0x17c)](0x0,_0x790839+0x1)[_0x31b639(0x17a)](i[_0x31b639(0x17e)]);e['existsSync'](_0x19df03)||e[_0x31b639(0x18e)](_0x19df03);});},'readFileSync':(_0x3b96be,_0x470cc5='utf8')=>e[_0x3ca0d3(0x18f)](_0x3b96be,_0x470cc5),'writeFileSync':(_0x214563,_0xd605da='')=>(e[_0x3ca0d3(0x188)](i[_0x3ca0d3(0x186)](_0x214563))||n['mkdirSync'](i['dirname'](_0x214563)),e['writeFileSync'](_0x214563,_0xd605da)),'writeFileAsync':(_0x246f01,_0x59a3d0='')=>(e[_0x3ca0d3(0x188)](i[_0x3ca0d3(0x186)](_0x246f01))||n['mkdirSync'](i[_0x3ca0d3(0x186)](_0x246f01)),new Promise((_0x1b1693,_0x58789d)=>{const _0x2dbe8e=_0x3ca0d3;e[_0x2dbe8e(0x184)](_0x246f01,_0x59a3d0,_0x10bf73=>{_0x10bf73?_0x58789d():_0x1b1693();});})),'copyFileSync'(_0x46c662,_0xe31b7d){const _0x212692=_0x3ca0d3;e[_0x212692(0x188)](i[_0x212692(0x186)](_0xe31b7d))||n[_0x212692(0x18e)](i[_0x212692(0x186)](_0xe31b7d)),e[_0x212692(0x18a)](_0x46c662,_0xe31b7d);},'copyFileAsync':(_0x31ab7d,_0x4ff7df)=>(e[_0x3ca0d3(0x188)](i[_0x3ca0d3(0x186)](_0x4ff7df))||n['mkdirSync'](i['dirname'](_0x4ff7df)),new Promise((_0x636208,_0x19eb32)=>{const _0x463584=_0x3ca0d3;e[_0x463584(0x180)](_0x31ab7d,_0x4ff7df,_0x47ee2e=>{_0x47ee2e?_0x19eb32(_0x47ee2e):_0x636208();});})),'removeDirSync'(_0x61c387){const _0x20302d=_0x3ca0d3;if(e['existsSync'](_0x61c387)){let _0x57d87b=e[_0x20302d(0x174)](_0x61c387);_0x57d87b[_0x20302d(0x17f)]>0x0&&_0x57d87b['forEach'](function(_0x170646){const _0x1d6738=_0x20302d;e[_0x1d6738(0x177)](_0x61c387+'/'+_0x170646)[_0x1d6738(0x176)]()?n['removeDirSync'](_0x61c387+'/'+_0x170646):e[_0x1d6738(0x179)](_0x61c387+'/'+_0x170646);}),e[_0x20302d(0x183)](_0x61c387);}}};module['exports']=n;function _0x32aa(){const _0x477383=['10169544pyWBip','1481182MERrPm','mkdirSync','readFileSync','readdirSync','1897728LLsjem','isDirectory','statSync','290052HrXUvF','unlinkSync','join','split','slice','1136708SNxxtl','sep','length','copyFile','465843uJUSzY','4405qISpcW','rmdirSync','writeFile','9QSmGHl','dirname','forEach','existsSync','3534PrpmVF','copyFileSync','path'];_0x32aa=function(){return _0x477383;};return _0x32aa();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x8ee7(_0x3ff5f3,_0x5a12a3){const _0x1264dc=_0x1264();return _0x8ee7=function(_0x8ee7fb,_0x3b982b){_0x8ee7fb=_0x8ee7fb-0x199;let _0x1cbc00=_0x1264dc[_0x8ee7fb];return _0x1cbc00;},_0x8ee7(_0x3ff5f3,_0x5a12a3);}const _0x325ba5=_0x8ee7;function _0x1264(){const _0x4fb15e=['pages','383580SAGrYE','./find-files-by-ext','1934280GRDtRW','1198550sDjjGk','path','normalize-path','join','resolve','309tGblEy','4481658OlhVmj','map','658661bsogSY','exports','1530487KzDNFP','3974XaAiwv','\x22\x20:\x20()\x20=>\x20import(\x22','8CNVQpv','sep','9KEjgcq','src'];_0x1264=function(){return _0x4fb15e;};return _0x1264();}(function(_0x5144f1,_0x1b6c95){const _0x2cc135=_0x8ee7,_0x136116=_0x5144f1();while(!![]){try{const _0x3926d3=parseInt(_0x2cc135(0x1a7))/0x1+-parseInt(_0x2cc135(0x1aa))/0x2*(-parseInt(_0x2cc135(0x1a4))/0x3)+parseInt(_0x2cc135(0x19e))/0x4+-parseInt(_0x2cc135(0x19c))/0x5+-parseInt(_0x2cc135(0x1a5))/0x6+-parseInt(_0x2cc135(0x1a9))/0x7*(parseInt(_0x2cc135(0x1ac))/0x8)+-parseInt(_0x2cc135(0x199))/0x9*(-parseInt(_0x2cc135(0x19f))/0xa);if(_0x3926d3===_0x1b6c95)break;else _0x136116['push'](_0x136116['shift']());}catch(_0x2952ca){_0x136116['push'](_0x136116['shift']());}}}(_0x1264,0x679ff));const e=require(_0x325ba5(0x1a0)),r=require(_0x325ba5(0x1a1)),t=require(_0x325ba5(0x19d));module[_0x325ba5(0x1a8)]=_0x59083f=>{const _0x462838=_0x325ba5;let _0x2e2752=e[_0x462838(0x1a3)](_0x59083f,_0x462838(0x19a)+e[_0x462838(0x1ad)]+_0x462838(0x19b)),_0x51ce30=t(_0x2e2752)[_0x462838(0x1a6)](({fileName:_0x3d6952,folderPath:_0x170195,ext:_0x5efae7})=>{const _0x1fb692=_0x462838;let _0x3f1c7e=r(e[_0x1fb692(0x1a2)](_0x170195,_0x3d6952)['replace'](''+_0x2e2752+e[_0x1fb692(0x1ad)],'')),_0xc4640e=r(e['join'](_0x170195,_0x3d6952+'.'+_0x5efae7));return'\x22'+_0x3f1c7e+_0x1fb692(0x1ab)+_0xc4640e+'\x22)';});return'{'+_0x51ce30['join'](',')+'}';};
|
package/utils/get-app-info.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x30d4b1=_0x44f9;(function(_0x15282e,_0x35a22e){const _0x457146=_0x44f9,_0x55c6b5=_0x15282e();while(!![]){try{const _0x6b471d=parseInt(_0x457146(0x184))/0x1+-parseInt(_0x457146(0x193))/0x2*(parseInt(_0x457146(0x18e))/0x3)+parseInt(_0x457146(0x196))/0x4+-parseInt(_0x457146(0x186))/0x5*(-parseInt(_0x457146(0x190))/0x6)+parseInt(_0x457146(0x18d))/0x7*(parseInt(_0x457146(0x191))/0x8)+-parseInt(_0x457146(0x187))/0x9+-parseInt(_0x457146(0x189))/0xa;if(_0x6b471d===_0x35a22e)break;else _0x55c6b5['push'](_0x55c6b5['shift']());}catch(_0x3da271){_0x55c6b5['push'](_0x55c6b5['shift']());}}}(_0x4643,0x99bc3));function _0x4643(){const _0x13f344=['535294rPGsQG','get','stringify','1898948sEMuGx','permission_denied','exports','err','path','?appId=','env','./axios','data','503227yjgdnl','no-cache','789190zeuJkz','1251666WtKMOZ','../utils/env','8010800uOLacW','token','error_msg','Bearer\x20','679QGqEbN','3iiuaQP','getEnv','6ofqkcZ','57872VLwVwj','getAppInfo'];_0x4643=function(){return _0x13f344;};return _0x4643();}const r=require('../config'),e=require(_0x30d4b1(0x188)),{axiosClient:i}=require(_0x30d4b1(0x182));function _0x44f9(_0xa6d23e,_0x2f38ec){const _0x4643ef=_0x4643();return _0x44f9=function(_0x44f97c,_0x1f7b52){_0x44f97c=_0x44f97c-0x17f;let _0x4aea7f=_0x4643ef[_0x44f97c];return _0x4aea7f;},_0x44f9(_0xa6d23e,_0x2f38ec);}module[_0x30d4b1(0x198)]=async function(_0x360a40){const _0x153295=_0x30d4b1;let _0x4f81d0=''+r['api_domain']+r[_0x153295(0x17f)][_0x153295(0x192)]+_0x153295(0x180)+_0x360a40,_0x54a9cf=e[_0x153295(0x18f)](r[_0x153295(0x181)][_0x153295(0x18a)]),_0x1eb95c=await i[_0x153295(0x194)](_0x4f81d0,{'headers':{'cache-control':_0x153295(0x185),'Authorization':_0x153295(0x18c)+_0x54a9cf},'withCredentials':!0x0}),_0x54f6a4=_0x1eb95c[_0x153295(0x183)];if(_0x54f6a4&&_0x54f6a4[_0x153295(0x199)]>=0x0)return _0x54f6a4[_0x153295(0x183)];if(_0x54f6a4[_0x153295(0x199)]===r['error_code'][_0x153295(0x197)])throw Error(r[_0x153295(0x18b)][_0x153295(0x197)]);throw Error(JSON[_0x153295(0x195)](_0x1eb95c[_0x153295(0x183)]));};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0xd224(){const _0x3ae5bb=['../config','filename','10SrzrjH','5239OKVjyZ','zmp','153171YUwJaR','package.json','2531725ztipkN','309020RrUyeE','257718JDyjEw','14xRyDNi','40plShjB','9rqamqO','exports','6555021ycPLvp','zmpConfig','resolve','316786wGCtnS','2dQPZCQ','7128wQEFkU'];_0xd224=function(){return _0x3ae5bb;};return _0xd224();}function _0x23fc(_0x3c97e4,_0x486a9b){const _0xd224e6=_0xd224();return _0x23fc=function(_0x23fc0e,_0x54dae9){_0x23fc0e=_0x23fc0e-0xb4;let _0x30f521=_0xd224e6[_0x23fc0e];return _0x30f521;},_0x23fc(_0x3c97e4,_0x486a9b);}const _0x29e98a=_0x23fc;(function(_0x570b2a,_0xbf7a59){const _0x3175e5=_0x23fc,_0x37b3be=_0x570b2a();while(!![]){try{const _0x3cb324=-parseInt(_0x3175e5(0xba))/0x1*(-parseInt(_0x3175e5(0xbb))/0x2)+parseInt(_0x3175e5(0xb5))/0x3*(-parseInt(_0x3175e5(0xc5))/0x4)+-parseInt(_0x3175e5(0xc4))/0x5+-parseInt(_0x3175e5(0xc6))/0x6*(-parseInt(_0x3175e5(0xc7))/0x7)+parseInt(_0x3175e5(0xb4))/0x8*(-parseInt(_0x3175e5(0xc2))/0x9)+parseInt(_0x3175e5(0xbf))/0xa*(parseInt(_0x3175e5(0xb7))/0xb)+-parseInt(_0x3175e5(0xbc))/0xc*(-parseInt(_0x3175e5(0xc0))/0xd);if(_0x3cb324===_0xbf7a59)break;else _0x37b3be['push'](_0x37b3be['shift']());}catch(_0x3458c7){_0x37b3be['push'](_0x37b3be['shift']());}}}(_0xd224,0x6543c));const e=require(_0x29e98a(0xbd)),r=require('path');module[_0x29e98a(0xb6)]=_0x2c88de=>{const _0x2a461e=_0x29e98a;let _0x466e89;try{_0x466e89=require(r[_0x2a461e(0xb9)](_0x2c88de,e[_0x2a461e(0xbe)][_0x2a461e(0xb8)]));}catch(_0x405b07){}if(!_0x466e89)try{_0x466e89=require(r[_0x2a461e(0xb9)](_0x2c88de,_0x2a461e(0xc3)))[_0x2a461e(0xc1)];}catch(_0x2f9238){}if(_0x466e89)return{'cwd':_0x2c88de,..._0x466e89||{}};};
|
package/utils/get-ip.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x2db9(){const _0x1925eb=['10941246BQTDZj','20402000Cedhxw','keys','232493BflJvA','184tBlHdv','245riWyPI','6bnBHDv','create','13866zzcdIn','IPv4','8413136HVMdHi','address','8226428VcgySg','exports','family','1576YOULSl'];_0x2db9=function(){return _0x1925eb;};return _0x2db9();}const _0x5408b0=_0x497c;(function(_0x1cc1ff,_0x1b3d9b){const _0x8b2714=_0x497c,_0x43a243=_0x1cc1ff();while(!![]){try{const _0x22c926=-parseInt(_0x8b2714(0x1b9))/0x1+parseInt(_0x8b2714(0x1ba))/0x2*(parseInt(_0x8b2714(0x1be))/0x3)+-parseInt(_0x8b2714(0x1b5))/0x4*(parseInt(_0x8b2714(0x1bb))/0x5)+parseInt(_0x8b2714(0x1bc))/0x6*(-parseInt(_0x8b2714(0x1b2))/0x7)+parseInt(_0x8b2714(0x1b0))/0x8+-parseInt(_0x8b2714(0x1b6))/0x9+parseInt(_0x8b2714(0x1b7))/0xa;if(_0x22c926===_0x1b3d9b)break;else _0x43a243['push'](_0x43a243['shift']());}catch(_0x4f71a3){_0x43a243['push'](_0x43a243['shift']());}}}(_0x2db9,0xd5781));const {networkInterfaces:e}=require('os');function _0x497c(_0x55f9a2,_0xa57381){const _0x2db94d=_0x2db9();return _0x497c=function(_0x497c70,_0x1ea418){_0x497c70=_0x497c70-0x1af;let _0x2d94f3=_0x2db94d[_0x497c70];return _0x2d94f3;},_0x497c(_0x55f9a2,_0xa57381);}module[_0x5408b0(0x1b3)]=function(){const _0x12281b=_0x5408b0;let _0xd05c87=e(),_0x3439a5=Object[_0x12281b(0x1bd)](null);for(let _0x39e495 of Object[_0x12281b(0x1b8)](_0xd05c87))for(let _0x24d75a of _0xd05c87[_0x39e495])_0x12281b(0x1af)!==_0x24d75a[_0x12281b(0x1b4)]||_0x24d75a['internal']||(_0x3439a5[_0x39e495]||(_0x3439a5[_0x39e495]=[]),_0x3439a5[_0x39e495]['push'](_0x24d75a[_0x12281b(0x1b1)]));return _0x3439a5;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x50735e=_0x9493;(function(_0x41f9fb,_0x4c8ace){const _0x3276f2=_0x9493,_0x1006cb=_0x41f9fb();while(!![]){try{const _0x2dda3c=parseInt(_0x3276f2(0xf2))/0x1*(parseInt(_0x3276f2(0xe3))/0x2)+-parseInt(_0x3276f2(0xf4))/0x3+-parseInt(_0x3276f2(0xf3))/0x4+-parseInt(_0x3276f2(0xf1))/0x5+-parseInt(_0x3276f2(0xeb))/0x6+parseInt(_0x3276f2(0xe5))/0x7+-parseInt(_0x3276f2(0xea))/0x8*(-parseInt(_0x3276f2(0xe9))/0x9);if(_0x2dda3c===_0x4c8ace)break;else _0x1006cb['push'](_0x1006cb['shift']());}catch(_0x5b39eb){_0x1006cb['push'](_0x1006cb['shift']());}}}(_0x1f71,0xc588a));function _0x1f71(){const _0x464bc5=['16109144lKfdkN','9117036YsxXxP','get','permission_denied','?appId=','err','data','1740430xavMEu','6774vJvNoQ','1502104HVxOwU','3037329BKsErN','error_msg','./axios','374rbCbcM','no-cache','5489946EMuSPF','../config','stringify','api_domain','9VLbpiu'];_0x1f71=function(){return _0x464bc5;};return _0x1f71();}function _0x9493(_0x122735,_0x3e8190){const _0x1f7168=_0x1f71();return _0x9493=function(_0x94938,_0x160bde){_0x94938=_0x94938-0xe1;let _0xf8aeb3=_0x1f7168[_0x94938];return _0xf8aeb3;},_0x9493(_0x122735,_0x3e8190);}const r=require(_0x50735e(0xe6)),{axiosClient:e}=require(_0x50735e(0xe2));module['exports']=async function(_0x3c3678){const _0x4315e7=_0x50735e;let _0x22a2ff=''+r[_0x4315e7(0xe8)]+r['path']['getLatestVersion']+_0x4315e7(0xee)+_0x3c3678,_0x460a06=await e[_0x4315e7(0xec)](_0x22a2ff,{'headers':{'cache-control':_0x4315e7(0xe4)}}),_0x5384ae=_0x460a06[_0x4315e7(0xf0)];if(_0x5384ae&&_0x5384ae[_0x4315e7(0xef)]>=0x0)return _0x5384ae[_0x4315e7(0xf0)];if(_0x5384ae['err']===r['error_code'][_0x4315e7(0xed)])throw Error(r[_0x4315e7(0xe1)]['permission_denied']);throw Error(JSON[_0x4315e7(0xe7)](_0x460a06[_0x4315e7(0xf0)]));};
|
package/utils/log.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x3830(){const _0x5746cc=['3909717XTMXYN','8bOuWKK','5EbbFNy','308916YliCej','bold','13685770wVNwMW','181017KtOizf','error','4042316SGEqli','log','49hWhZYl','chalk','exports','318944qlcWkP','3344784uXtLdG'];_0x3830=function(){return _0x5746cc;};return _0x3830();}const _0x31b2ca=_0x1699;(function(_0xa4d4c6,_0x364e54){const _0x15cc11=_0x1699,_0x2408cf=_0xa4d4c6();while(!![]){try{const _0x2d67e1=-parseInt(_0x15cc11(0x10e))/0x1*(parseInt(_0x15cc11(0x118))/0x2)+-parseInt(_0x15cc11(0x117))/0x3+parseInt(_0x15cc11(0x110))/0x4+parseInt(_0x15cc11(0x119))/0x5*(parseInt(_0x15cc11(0x116))/0x6)+parseInt(_0x15cc11(0x112))/0x7*(-parseInt(_0x15cc11(0x115))/0x8)+parseInt(_0x15cc11(0x11a))/0x9+parseInt(_0x15cc11(0x10d))/0xa;if(_0x2d67e1===_0x364e54)break;else _0x2408cf['push'](_0x2408cf['shift']());}catch(_0x557940){_0x2408cf['push'](_0x2408cf['shift']());}}}(_0x3830,0xa23f1));function _0x1699(_0x40f722,_0x356d02){const _0x38300b=_0x3830();return _0x1699=function(_0x16999a,_0x47e148){_0x16999a=_0x16999a-0x10d;let _0x19a50f=_0x38300b[_0x16999a];return _0x19a50f;},_0x1699(_0x40f722,_0x356d02);}const o=require(_0x31b2ca(0x113));module[_0x31b2ca(0x114)]={'text'(_0x29072c,_0x55959c,_0x5735c4){const _0x38fa44=_0x31b2ca;_0x5735c4&&_0x55959c?console[_0x38fa44(0x111)](o[_0x5735c4][_0x38fa44(0x11b)](_0x29072c)):_0x5735c4?console[_0x38fa44(0x111)](o[_0x5735c4](_0x29072c)):_0x55959c?console[_0x38fa44(0x111)](o[_0x38fa44(0x11b)](_0x29072c)):console[_0x38fa44(0x111)](_0x29072c);},'error'(_0x232774){const _0x4b71bc=_0x31b2ca;console[_0x4b71bc(0x10f)](o['red'](_0x232774));}};
|
package/utils/node-blob.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1f2b92=_0x4223;(function(_0x58f546,_0x5d4be0){const _0x230efb=_0x4223,_0x359e83=_0x58f546();while(!![]){try{const _0x115841=parseInt(_0x230efb(0x174))/0x1*(-parseInt(_0x230efb(0x170))/0x2)+-parseInt(_0x230efb(0x16f))/0x3*(parseInt(_0x230efb(0x17b))/0x4)+parseInt(_0x230efb(0x16c))/0x5*(parseInt(_0x230efb(0x164))/0x6)+-parseInt(_0x230efb(0x180))/0x7*(parseInt(_0x230efb(0x171))/0x8)+parseInt(_0x230efb(0x173))/0x9*(parseInt(_0x230efb(0x176))/0xa)+parseInt(_0x230efb(0x17a))/0xb*(-parseInt(_0x230efb(0x165))/0xc)+parseInt(_0x230efb(0x16d))/0xd*(parseInt(_0x230efb(0x17c))/0xe);if(_0x115841===_0x5d4be0)break;else _0x359e83['push'](_0x359e83['shift']());}catch(_0x3d984f){_0x359e83['push'](_0x359e83['shift']());}}}(_0x302d,0xe77ca));function _0x4223(_0x3178cc,_0x1b63a5){const _0x302df4=_0x302d();return _0x4223=function(_0x4223a9,_0x55df5b){_0x4223a9=_0x4223a9-0x164;let _0x339cf3=_0x302df4[_0x4223a9];return _0x339cf3;},_0x4223(_0x3178cc,_0x1b63a5);}const e=Symbol(_0x1f2b92(0x16b)),t=Symbol(_0x1f2b92(0x169));class r{get[_0x1f2b92(0x179)](){const _0x280ab6=_0x1f2b92;return this[t]?0x0:this[_0x280ab6(0x17e)][_0x280ab6(0x166)];}get['type'](){return this[e];}get[_0x1f2b92(0x17d)](){return this[t];}[_0x1f2b92(0x16a)](){const _0x3f58c5=_0x1f2b92;let _0x502d66,_0x3b206f=this[_0x3f58c5(0x179)],_0x52d6a1=arguments[0x0],_0x620edb=arguments[0x1];_0x502d66=void 0x0===_0x52d6a1?0x0:_0x52d6a1<0x0?Math[_0x3f58c5(0x167)](_0x3b206f+_0x52d6a1,0x0):Math[_0x3f58c5(0x175)](_0x52d6a1,_0x3b206f);let _0x45d27c=Math[_0x3f58c5(0x167)]((void 0x0===_0x620edb?_0x3b206f:_0x620edb<0x0?Math['max'](_0x3b206f+_0x620edb,0x0):Math[_0x3f58c5(0x175)](_0x620edb,_0x3b206f))-_0x502d66,0x0),_0x2a23ac=this[_0x3f58c5(0x17e)]['slice'](_0x502d66,_0x502d66+_0x45d27c),_0xab9b5a=new r([],{'type':arguments[0x2]});return _0xab9b5a[_0x3f58c5(0x17e)]=_0x2a23ac,_0xab9b5a[t]=this[t],_0xab9b5a;}['close'](){this[t]=!0x0;}constructor(){const _0x46f60e=_0x1f2b92;Object[_0x46f60e(0x172)](this,Symbol[_0x46f60e(0x17f)],{'value':_0x46f60e(0x183),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),this[t]=!0x1,this[e]='';let _0x2b0170=arguments[0x0],_0x1ab7c3=arguments[0x1],_0x202df8=[];if(_0x2b0170){let _0x4f444c=Number(_0x2b0170[_0x46f60e(0x166)]);for(let _0x4e3c3a=0x0;_0x4e3c3a<_0x4f444c;_0x4e3c3a++){let _0x22de99,_0x539546=_0x2b0170[_0x4e3c3a];_0x539546 instanceof Buffer?_0x22de99=_0x539546:_0x22de99=ArrayBuffer[_0x46f60e(0x178)](_0x539546)?Buffer[_0x46f60e(0x16e)](_0x539546[_0x46f60e(0x17e)],_0x539546['byteOffset'],_0x539546['byteLength']):_0x539546 instanceof ArrayBuffer?Buffer[_0x46f60e(0x16e)](_0x539546):_0x539546 instanceof r?_0x539546[_0x46f60e(0x17e)]:Buffer[_0x46f60e(0x16e)](_0x46f60e(0x182)==typeof _0x539546?_0x539546:String(_0x539546)),_0x202df8[_0x46f60e(0x184)](_0x22de99);}}this[_0x46f60e(0x17e)]=Buffer[_0x46f60e(0x181)](_0x202df8);let _0x260305=_0x1ab7c3&&void 0x0!==_0x1ab7c3[_0x46f60e(0x16b)]&&String(_0x1ab7c3[_0x46f60e(0x16b)])['toLowerCase']();_0x260305&&!/[^\u0020-\u007E]/[_0x46f60e(0x168)](_0x260305)&&(this[e]=_0x260305);}}function _0x302d(){const _0x446f12=['test','closed','slice','type','25205yxByvr','3512314GgebOq','from','1882302GtgkpS','846pAKJVy','214576XENLFT','defineProperty','1686564pWAUUH','2111lXEeqB','min','80MkOHjA','BlobPrototype','isView','size','11UcHLvJ','8MMiHrD','42eecfaY','isClosed','buffer','toStringTag','42yygUOj','concat','string','Blob','push','2070XkSYAN','9503088wUdHzv','length','max'];_0x302d=function(){return _0x446f12;};return _0x302d();}Object[_0x1f2b92(0x172)](r['prototype'],Symbol[_0x1f2b92(0x17f)],{'value':_0x1f2b92(0x177),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),module['exports']=r;
|
package/utils/resumable.d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x571a(_0x105497,_0xa936a){var _0x35c503=_0x35c5();return _0x571a=function(_0x571a45,_0x1347f6){_0x571a45=_0x571a45-0x15c;var _0x191939=_0x35c503[_0x571a45];return _0x191939;},_0x571a(_0x105497,_0xa936a);}(function(_0x28a343,_0x400e04){var _0x373e0e=_0x571a,_0x342a7d=_0x28a343();while(!![]){try{var _0x371e60=parseInt(_0x373e0e(0x164))/0x1+parseInt(_0x373e0e(0x15c))/0x2+-parseInt(_0x373e0e(0x15e))/0x3*(parseInt(_0x373e0e(0x163))/0x4)+-parseInt(_0x373e0e(0x161))/0x5+-parseInt(_0x373e0e(0x162))/0x6+-parseInt(_0x373e0e(0x160))/0x7+parseInt(_0x373e0e(0x15d))/0x8*(parseInt(_0x373e0e(0x15f))/0x9);if(_0x371e60===_0x400e04)break;else _0x342a7d['push'](_0x342a7d['shift']());}catch(_0x288886){_0x342a7d['push'](_0x342a7d['shift']());}}}(_0x35c5,0x1c468));function _0x35c5(){var _0x50e02d=['40BzhCBU','160739rjcZVT','166602SxpCdt','3459008BNDtcu','64050ApOijA','9naFSQL','1343811jcrbJF','621210tWEgBu','185310rtECTd'];_0x35c5=function(){return _0x50e02d;};return _0x35c5();}
|